/* Shared site navigation. Scoped rules override the original sidebar layout. */
.workspace{margin-left:0}.site-header{position:sticky;top:0;z-index:40;display:flex;align-items:center;gap:24px;padding:14px max(24px,calc((100vw - 1360px)/2));background:#111d18;border-bottom:1px solid var(--line)}.site-header .brand{flex-shrink:0;font-size:1.05rem;gap:10px}.site-header .brandmark{width:32px;height:38px;font-size:1.5rem}.site-header .brand small{font-size:.55rem;letter-spacing:1px}.site-header nav{display:flex;flex-direction:row;align-items:center;gap:3px;flex:1}.site-header summary,.site-header nav>a,.header-search{font-size:.9rem;color:var(--muted);padding:12px 10px;border-radius:5px;cursor:pointer;min-height:44px}.site-header details{position:relative}.site-header summary{list-style:none;white-space:nowrap}.site-header summary::-webkit-details-marker{display:none}.site-header summary::after{content:'⌄';margin-left:8px;font-size:.8em}.site-header .active-section>summary,.site-header a.active-section,.site-header [aria-current=page]{color:var(--gold);background:#253329}.site-header details[open]>summary,.site-header summary:hover{background:var(--panel2);color:var(--text)}.nav-popover{display:flex;flex-direction:column;gap:2px}.site-header .nav-popover{position:absolute;top:calc(100% + 8px);left:0;min-width:240px;max-width:320px;background:var(--panel);border:1px solid var(--line);border-radius:8px;padding:10px;box-shadow:0 16px 40px #0008}.nav-popover a,.nav-popover button{display:block;text-align:left;font-size:.9rem;padding:12px;border-radius:4px;color:var(--text);min-height:44px;white-space:normal}.nav-popover a:hover{background:var(--panel2);color:var(--gold)}.site-header .account-menu .nav-popover{right:0;left:auto}.account-identity{padding:10px 12px;margin:0;border-bottom:1px solid var(--line);overflow-wrap:anywhere;font-size:.8rem}.header-search{border:1px solid var(--line);white-space:nowrap}.context-bar{max-width:1350px;margin:auto;padding:12px 42px;display:flex;justify-content:space-between;gap:16px;font-size:.75rem;color:var(--muted)}#account-status{text-align:right}.mobile-menu-trigger{display:none}#navigation-drawer{inset:0 0 0 auto;width:min(92vw,390px);height:100dvh;max-height:100dvh;max-width:100vw;margin:0;padding:22px;border-radius:0;border:0;border-left:1px solid var(--line);background:var(--bg);overflow:auto}#navigation-drawer::backdrop{background:#000a}#navigation-drawer nav{display:flex;flex-direction:column;gap:8px}#navigation-drawer summary{cursor:pointer;padding:12px;min-height:48px;font-weight:600}#navigation-drawer .nav-popover{border-left:1px solid var(--line);margin:0 0 8px 14px;padding-left:8px}#navigation-drawer .active-section>summary{color:var(--gold)}#navigation-drawer [aria-current=page]{background:#253329;color:var(--gold)}.drawer-open{overflow:hidden}.drawer-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.drawer-heading h2{margin:0}.drawer-note{font-size:.8rem;margin-top:20px}.breadcrumbs{display:block;margin-bottom:24px}.breadcrumbs ol{display:flex;flex-wrap:wrap;gap:8px;list-style:none;margin:0;padding:0;color:var(--muted);font-size:.85rem}.breadcrumbs li{display:flex;align-items:center;gap:8px}.breadcrumbs li+li::before{content:'›';color:var(--muted)}.breadcrumbs a{padding:5px 0;font-size:inherit;display:inline;min-height:32px}.section-navigation{display:flex;flex-direction:row;flex-wrap:wrap;gap:8px;margin:20px 0}.section-navigation button{min-height:44px}.subnav{display:flex;flex-wrap:wrap!important;overflow:visible!important}.subnav button{min-height:44px}.panel[id],.dungeon-bosses[id],[data-section-anchor]{scroll-margin-top:110px}.dashboard-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.dashboard-grid>.panel{margin-bottom:0}.dashboard-grid .panel p:last-child{margin-bottom:0}.dashboard-list{display:grid;gap:12px}.dashboard-row{display:flex;gap:16px;justify-content:space-between;align-items:center;padding:12px 0;border-bottom:1px solid var(--line)}.dashboard-row:last-child{border:0}.dashboard-row small{display:block}.dashboard-row>div{min-width:0}.dashboard-row a{overflow-wrap:anywhere}.dashboard-wide{grid-column:1/-1}.search-group{margin-top:28px}.search-group h2{font-size:1.3rem;border-bottom:1px solid var(--line);padding-bottom:10px}.search-group .search-result{display:grid;grid-template-columns:auto minmax(0,1fr);gap:8px 16px;padding:14px 4px}.search-result small{grid-column:2}.search-result strong{overflow-wrap:anywhere}.search-coverage{margin-top:16px;font-size:.85rem}.home-search{display:flex;gap:10px;margin:24px 0 32px;max-width:700px}.home-search label{flex:1}.home-search input{margin:0}.home-search button{align-self:end;min-height:46px}.home-grid .home-card{min-width:0}.page-heading h1{overflow-wrap:anywhere}footer{gap:16px;flex-wrap:wrap}main{padding-top:20px}details>summary{min-height:44px}a:focus-visible,summary:focus-visible,button:focus-visible{outline:2px solid var(--gold);outline-offset:3px}.site-header [hidden],[hidden]{display:none!important}
@media(max-width:1099px){.site-header{gap:12px;padding:12px 20px}.site-header #desktop-navigation,.site-header #account-header{display:none}.site-header .brand{margin-right:auto}.mobile-menu-trigger{display:inline-flex}.context-bar{padding:12px 24px}.site-header .brand small{display:none}}
@media(max-width:600px){.site-header{padding:10px 14px;gap:8px}.site-header .brand{font-size:.95rem;letter-spacing:1.5px}.site-header .brandmark{width:28px;height:34px}.header-search{padding:10px}.mobile-menu-trigger{padding:10px}.context-bar{padding:10px 18px;font-size:.7rem}.dashboard-grid{grid-template-columns:1fr}.dashboard-wide{grid-column:auto}main{padding:20px 18px}.home-search{gap:8px}.dashboard-row{align-items:start;flex-wrap:wrap}.breadcrumbs{margin-bottom:18px}.section-navigation{gap:6px}.section-navigation button{padding:10px 12px}.subnav{gap:6px}.search-group .search-result{grid-template-columns:1fr}.search-result small{grid-column:1}.home-grid{grid-template-columns:1fr}.site-header .nav-popover{position:static}}

@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}}
#main:focus{outline:none}.site-header{gap:16px}.site-header nav{min-width:0}.home-card:focus-visible{outline:2px solid var(--gold);outline-offset:4px}

.home-search label{margin-bottom:0}
