/* Wiki v7: only the high-contrast dark palette is available. */
html[data-theme="dark"]{color-scheme:dark;background-color:#080f24}
html[data-theme="dark"] body{background:linear-gradient(180deg,#07152c,#0a1731 65%,#070f22);color:#f2f6ff}
html[data-theme="dark"] .bg-layer{background:radial-gradient(ellipse at 85% 0%,rgba(19,104,166,.15),transparent 55%),radial-gradient(ellipse at 15% 100%,rgba(88,56,174,.13),transparent 50%)}
html[data-theme="dark"] .wiki-sidebar{scrollbar-color:#385b93 transparent}
html[data-theme="dark"] .wiki-header,html[data-theme="dark"] .sidebar-brand,html[data-theme="dark"] .wiki-quicklink,html[data-theme="dark"] .counter-item{box-shadow:0 14px 36px rgba(0,7,30,.25);backdrop-filter:blur(18px)}
html[data-theme="dark"] .wiki-search input,html[data-theme="dark"] button,html[data-theme="dark"] select,html[data-theme="dark"] textarea{color-scheme:dark}
html[data-theme="dark"] .crystal-theme-toggle{display:none!important}
@media(max-width:720px){html[data-theme="dark"] .wiki-header{padding-inline:clamp(16px,4vw,26px)}html[data-theme="dark"] .wiki-main{min-width:0;max-width:100%}}
/* Fade the Wiki mascot illustration so its former square crop cannot be seen. */
html[data-theme="dark"] .wiki-hero-decoration{max-width:285px!important;width:27%!important;right:-1%!important;bottom:-18px!important;opacity:.52!important;mask-image:radial-gradient(ellipse 68% 65% at 55% 53%,#000 45%,transparent 100%)!important;-webkit-mask-image:radial-gradient(ellipse 68% 65% at 55% 53%,#000 45%,transparent 100%)!important}
@media(max-width:800px){html[data-theme="dark"] .wiki-hero-decoration{max-width:180px!important;width:28%!important;opacity:.2!important}}
