html { scroll-behavior: smooth; }
.wiki-page { background: #0a0a0a; }
.wiki-page .wiki-hero { padding-top: 10rem; padding-bottom: 4rem; }
.wiki-page .wiki-hero .container { z-index: 1; }
.wiki-page .wiki-hero .mbr-overlay { opacity: .93; background: #0a0a0a; }
.wiki-page .wiki-hero h1 { color: #fff; font-size: clamp(2rem,4vw,3.4rem); font-weight: 800; line-height: 1.2; margin-bottom: 18px; }
.wiki-page .wiki-hero p { color: #b9b7b0; max-width: 650px; font-size: 1rem; line-height: 1.8; margin-bottom: 0; }
.wiki-page .wiki-breadcrumb { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; color: #9b9689; font-size: .82rem; }
.wiki-page .wiki-breadcrumb a { color: #ffb62c; }
.wiki-page .wiki-label { display: inline-block; padding: 5px 14px; background: #ffaa0015; border: 1px solid #ffaa0040; border-radius: 30px; color: #ffc253; letter-spacing: .1em; font-size: .68rem; font-weight: 700; margin-bottom: 20px; }
.wiki-page .wiki-body { padding: 4rem 0 5rem; background: #0a0a0a; }
.wiki-page .wiki-heading { text-align: center; margin-bottom: 36px; }
.wiki-page .wiki-heading h2 { color: #fff; font-size: clamp(1.5rem,2.7vw,2rem); font-weight: 700; line-height: 1.4; }
.wiki-page .wiki-heading p { color: #aaa49b; font-size: .95rem; line-height: 1.7; margin-top: 12px; }
.wiki-page .wiki-modes { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 28px; max-width: 960px; margin: 0 auto; }
.wiki-page .wiki-mode { display: flex; flex-direction: column; align-items: center; min-width: 0; padding: 22px 32px 30px; border: 1px solid #ffaa0038; background: radial-gradient(ellipse at 50% 25%,#ffaa000c,transparent 65%),#080808; border-radius: 18px; text-align: center; text-decoration: none; transition: transform .25s,border-color .25s,box-shadow .25s; }
.wiki-page .wiki-mode:hover { transform: translateY(-5px); border-color: #ffaa00; box-shadow: 0 12px 40px #ffaa0019; }
.wiki-page .wiki-mode:focus-visible, .wiki-page .wiki-button:focus-visible, .wiki-page .wiki-toc a:focus-visible { outline: 3px solid #ffaa00; outline-offset: 4px; }
.wiki-page .wiki-mode-art { display: flex; align-items: center; justify-content: center; width: 100%; height: 190px; overflow: hidden; }
.wiki-page .wiki-mode img { width: 100%; max-width: 370px; height: auto; transform: translateY(-12%); }
.wiki-page .wiki-mode h3 { margin-top: 8px; color: #fff; font-size: 1.4rem; font-weight: 700; }
.wiki-page .wiki-mode p { color: #aaa49b; font-size: .9rem; line-height: 1.8; margin: 12px 0 24px; }
.wiki-page .wiki-button { display: inline-flex; justify-content: center; align-items: center; gap: 18px; border: 1px solid #ffaa00; background: #ffaa00; color: #291900; padding: 11px 22px; border-radius: 9px; font-size: .86rem; font-weight: 700; text-decoration: none; margin-top: auto; }
.wiki-page .wiki-button:hover { background: #ffbc39; color: #291900; }
.wiki-page .wiki-layout { display: grid; grid-template-columns: 235px minmax(0,1fr); gap: 32px; }
.wiki-page .wiki-sidebar { position: sticky; top: 100px; align-self: start; }
.wiki-page .wiki-toc { border: 1px solid #ffffff12; border-radius: 12px; padding: 22px; background: #080808; }
.wiki-page .wiki-toc summary { color: #eee8dc; cursor: pointer; font-size: .85rem; font-weight: 700; }
.wiki-page .wiki-toc nav { display: grid; gap: 6px; margin-top: 18px; }
.wiki-page .wiki-toc a { padding: 7px 0; color: #aaa49b; font-size: .82rem; line-height: 1.6; }
.wiki-page .wiki-toc a:hover { color: #ffaa00; }
.wiki-page .wiki-switch { display: flex; gap: 8px; margin-bottom: 18px; flex-wrap: wrap; }
.wiki-page .wiki-switch a { color: #b1aa9c; padding: 7px 13px; border: 1px solid #ffffff1c; border-radius: 8px; font-size: .78rem; }
.wiki-page .wiki-switch a[aria-current] { color: #ffc252; background: #ffaa0010; border-color: #ffaa0048; }
.wiki-page .wiki-panel { padding: 30px 32px; margin-bottom: 20px; border: 1px solid #ffffff12; background: #050505; border-radius: 15px; scroll-margin-top: 100px; }
.wiki-page .wiki-panel h2 { color: #ffb725; font-size: 1.45rem; font-weight: 700; line-height: 1.4; margin: 0 0 18px; }
.wiki-page .wiki-panel h3 { color: #f2eee5; font-size: 1.1rem; font-weight: 600; margin: 24px 0 12px; }
.wiki-page .wiki-panel p, .wiki-page .wiki-panel li { color: #b8b3a9; font-size: .94rem; line-height: 1.9; }
.wiki-page .wiki-panel p:last-child { margin-bottom: 0; }
.wiki-page .wiki-panel a { color: #ffbc42; text-decoration: underline; text-underline-offset: 4px; }
.wiki-page .wiki-status { border-left: 3px solid #ffaa00; background: #ffaa000a; padding: 14px 18px; margin-bottom: 20px; color: #bcb095; font-size: .86rem; line-height: 1.8; border-radius: 0 9px 9px 0; }
.wiki-page .wiki-back { display: inline-block; color: #ffaa00; font-size: .85rem; margin-top: 12px; }
html[data-theme="light"] .wiki-page .wiki-mode, html[data-theme="light"] .wiki-page .wiki-toc, html[data-theme="light"] .wiki-page .wiki-panel { background: #fff; border-color: #e8dfce; }
html[data-theme="light"] .wiki-page .wiki-mode:hover { border-color: #ba7b00; }
html[data-theme="light"] .wiki-page .wiki-label { color: #845500; background: #fff2d3; border-color: #e7cb90; }
html[data-theme="light"] .wiki-page .wiki-panel h2 { color: #986000 !important; }
html[data-theme="light"] .wiki-page .wiki-panel a, html[data-theme="light"] .wiki-page .wiki-back, html[data-theme="light"] .wiki-page .wiki-breadcrumb a { color: #8a5900; }
html[data-theme="light"] .wiki-page .wiki-toc summary { color: #3e382d; }
html[data-theme="light"] .wiki-page .wiki-toc a { color: #625541; }
html[data-theme="light"] .wiki-page .wiki-switch a { color: #625541; border-color: #e3d9c6; }
html[data-theme="light"] .wiki-page .wiki-switch a[aria-current] { color: #825300; background: #fff2d3; border-color: #dcb96d; }
html[data-theme="light"] .wiki-page .wiki-status { color: #735b2d; background: #fff4da; }
@media (max-width: 767px) { .wiki-page .wiki-hero { padding-top: 8rem; padding-bottom: 3rem; } .wiki-page .wiki-body { padding: 2.5rem 0 3rem; } .wiki-page .wiki-modes, .wiki-page .wiki-layout { grid-template-columns: 1fr; } .wiki-page .wiki-sidebar { position: static; } .wiki-page .wiki-panel { padding: 24px 20px; } .wiki-page .wiki-mode { padding: 16px 24px 28px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .wiki-page .wiki-mode { transition: none; } .wiki-page .wiki-mode:hover { transform: none; } }
