/* Shared pointer/keyboard focus and compact navigation. */
html body :is(h1,h2,h3,h4)[tabindex="-1"]:focus{outline:none;box-shadow:none}
html[data-navigation-input="keyboard"] body :is(h1,h2,h3,h4)[tabindex="-1"]:focus{outline:2px solid #defa82;outline-offset:5px;border-radius:3px}
html body header #header-list377{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:5px!important;align-items:stretch!important}
html body header #header-list377>a,html body header #header-list377>.nav-group379>summary{min-height:44px!important;font-size:.875rem!important;padding:6px 3px!important;word-break:normal;overflow-wrap:normal;line-height:1.2!important}
html body header #header-list377 .nav-panel379{grid-template-columns:repeat(2,minmax(0,1fr))!important;max-height:min(60svh,480px);padding:10px;gap:6px;scrollbar-width:thin;scrollbar-color:#617454 #101b15}
html body header #header-list377 .nav-panel379>a{min-height:44px;font-size:.9375rem!important;line-height:1.35!important}
html body header #header-list377 .nav-panel379>a:first-child{grid-column:1/-1;color:#defa82;background:#263c28}
@media(min-width:1101px){html body header .desktop-nav383 .nav-more340>div{width:460px;max-height:min(65svh,560px)}}

html body header #header-list377>.nav-group379,html body header #header-list377>.nav-group379>summary{height:100%;box-sizing:border-box}

/* Programmatic destinations may be sections as well as headings. */
html body [data-navigation-target430]:focus{outline:none;box-shadow:none}
html[data-navigation-input="keyboard"] body [data-navigation-target430]:focus{outline:2px solid #defa82;outline-offset:5px;border-radius:3px}

/* Three clear destinations share one compact row. */
html body header #header-list377{grid-template-columns:minmax(0,.85fr) minmax(0,1.45fr) minmax(0,.8fr)!important;gap:6px!important}
html body header #header-list377>*{grid-column:auto;min-width:0}
html body header #header-list377>a,html body header #header-list377>.nav-group379>summary{min-height:46px!important;border-radius:10px!important;background:#17271e!important;border:1px solid #435745!important;font-weight:600;box-shadow:none!important;transition:background-color .16s ease,border-color .16s ease}
html body header #header-list377>a[aria-current="page"],html body header #header-list377>.nav-group379[data-active379="true"]>summary{background:#263b25!important;border-color:#c9ed78!important;color:#e1fa96!important;box-shadow:inset 0 -2px #d8fa86!important}
html body header #header-list377>a:active,html body header #header-list377>.nav-group379>summary:active{background:#30432b!important}
html body header #header-list377 .nav-panel379>a:first-child{grid-column:auto;background:transparent;color:inherit}
@media(prefers-reduced-motion:reduce){html body header #header-list377>a,html body header #header-list377>.nav-group379>summary{transition:none!important}}

/* Shorter mobile header with unchanged 44px touch targets. */
@media(max-width:1100px){
 html body header.has-toolbar372{row-gap:4px!important;column-gap:8px!important;padding:4px max(16px,env(safe-area-inset-right)) 4px max(16px,env(safe-area-inset-left))!important}
 html body header.has-toolbar372 .wordmark-main{font-size:clamp(22px,5.8vw,27px)!important}
 html body header.has-toolbar372 .wordmark-sub{font-size:clamp(10px,2.6vw,12px)!important}
 html body header.has-toolbar372>.tools{gap:5px!important}
 html body header.has-toolbar372 .tools>#sound,html body header.has-toolbar372 .tools>#language,html body header.has-toolbar372 .tools>#view-menu377>summary{height:44px!important;min-height:44px!important;border-radius:9px!important}
 html body header.has-toolbar372 .tools>#sound,html body header.has-toolbar372 .tools>#view-menu377>summary{width:44px!important;min-width:44px!important;font-size:20px!important}
 html body header.has-toolbar372 .tools>#language{width:52px!important;min-width:52px!important;font-size:15px!important}
 html body header #header-list377>a,html body header #header-list377>.nav-group379>summary{min-height:44px!important;padding:5px 3px!important;border-radius:9px!important}
}

@media(max-width:1100px){
 html body header.has-toolbar372.has-section-menu:has(.layout-switch361){padding-bottom:4px!important}
 html body header #header-list377{padding-top:0!important;padding-bottom:0!important}
}

/* The menu opens four categories, with one expanded list at a time. */
html body header #header-list377 .nav-panel379,html body header .desktop-nav383 .nav-more340>div{display:grid;grid-template-columns:minmax(0,1fr)!important;gap:6px!important}
html body header .nav-subgroup434{min-width:0;border:1px solid #3d5141;border-radius:9px;background:#17271e}
html body header .nav-subgroup434>summary{display:flex;align-items:center;justify-content:space-between;min-height:44px;padding:10px 12px;list-style:none;cursor:pointer;font:600 .9375rem/1.35 system-ui;color:#e3ebdf}
html body header .nav-subgroup434>summary::-webkit-details-marker{display:none}
html body header .nav-subgroup434>summary::after{content:'+';font-size:20px;color:#d9ef9d;margin-left:10px}
html body header .nav-subgroup434[open]>summary::after{content:'−'}
html body header .nav-subgroup434:has(a[aria-current="page"])>summary{color:#defa82}
html body header .nav-subgroup434>div{display:grid;gap:3px;padding:0 5px 5px}
html body header .nav-subgroup434:not([open])>div{display:none!important}
html body header #header-list377 .nav-panel379 .nav-subgroup434 a,html body header .desktop-nav383 .nav-subgroup434 a{display:flex;align-items:center;min-height:44px;padding:8px 10px!important;border-radius:6px;background:#1c2e22;font-size:.9375rem!important;line-height:1.35;white-space:normal}
html body header .nav-subgroup434>summary:focus-visible{outline:2px solid #defa82;outline-offset:2px}
@media(max-width:760px){
 #home.hero-restored359{grid-template-columns:minmax(0,1fr) minmax(132px,43%)}
 #home.hero-restored359 .hero-art.hero-character359{height:clamp(190px,29svh,244px)}
}
@media(max-width:360px){#home.hero-restored359{grid-template-columns:minmax(0,1fr) 132px}}

html body header .nav-more340:not([open])>div,html body header .nav-group379:not([open])>.nav-panel379{display:none!important}

/* Classic anchors already reserve the measured header through section scroll-margin. */
html:not(.mobile-pages360){scroll-padding-top:0!important}

/* Compact rows share one touch grid; feedback never changes layout. */
@media(max-width:1100px){
 html body header.has-toolbar372{row-gap:2px!important;padding-top:2px!important;padding-bottom:2px!important}
 html body header.has-toolbar372.has-section-menu:has(.layout-switch361){padding-bottom:2px!important}
 html body header.has-toolbar372 .wordmark-main{font-size:clamp(22px,5.5vw,25px)!important}
 html body header.has-toolbar372 .wordmark-sub{font-size:clamp(10px,2.5vw,11px)!important}
 html body header #header-list377 .nav-panel379{padding:6px;gap:4px!important;top:calc(100% + 6px);border-radius:12px}
 html body header #header-list377 .nav-panel379 .motion-preference{min-height:44px;margin:2px 0 0;padding:8px 12px;border-radius:8px}
}
html body header .nav-subgroup434{border-color:#354b3b;background:#17271e;border-radius:8px;transition:background-color .16s ease,border-color .16s ease}
html body header .nav-subgroup434>summary{box-sizing:border-box;min-height:44px;padding:9px 12px;font-size:.875rem;line-height:1.4}
html body header .nav-subgroup434[open]{border-color:#7b965e;background:#1b2c21}
html body header .nav-subgroup434[open]>summary{color:#e1fa96}
html body header .nav-subgroup434>summary::after{font-weight:400;font-size:19px;line-height:1}
html body header #header-list377 .nav-panel379 .nav-subgroup434 a,
html body header .desktop-nav383 .nav-subgroup434 a{box-sizing:border-box;min-height:44px;padding:8px 10px!important;text-decoration:none;transition:background-color .16s ease,color .16s ease}
html body header .nav-subgroup434 a[aria-current="page"]{background:#2c4128!important;color:#e1fa96;box-shadow:inset 2px 0 #d8fa86}
@keyframes nav-content436{from{opacity:.4;transform:translateY(-3px)}to{opacity:1;transform:translateY(0)}}
html body header .nav-subgroup434[open]>div{animation:nav-content436 .16s ease-out both}
@media(hover:hover) and (pointer:fine){html body header .nav-subgroup434>summary:hover{background:#22382a;border-radius:8px}html body header .nav-subgroup434 a:hover{background:#2c4128!important;color:#f2ffe6}}
html body header #header-list377 :is(a,summary):active{transform:translateY(1px);color:#e1fa96}
html.reduced-motion body header :is(.nav-subgroup434,.nav-subgroup434>div,.nav-subgroup434 a,#header-list377 a,#header-list377 summary){animation:none!important;transition:none!important;transform:none!important}
@media(prefers-reduced-motion:reduce){html body header :is(.nav-subgroup434,.nav-subgroup434>div,.nav-subgroup434 a,#header-list377 a,#header-list377 summary){animation:none!important;transition:none!important;transform:none!important}}

/* site437: calmer inactive tabs and explicit, localized view choices. */
html body header #header-list377>a:not([aria-current=page]),
html body header #header-list377>.nav-group379:not([open])>summary{
 background:#142219!important;border-color:#344838!important;
}
html body header #view-menu377 .view-options377{
 display:flex;flex-direction:column;align-items:stretch;
 width:min(224px,calc(100vw - 96px));padding:10px;gap:4px;box-sizing:border-box;
}
html body header #view-menu377:not([open])>.view-options377{display:none!important}
html body header #view-menu377 .view-caption437{
 margin:2px 8px 6px;color:#b9c5b6;font-family:inherit;font-weight:600;font-size:12px;line-height:1.4;
}
html body header #view-menu377 .view-options377>button{
 width:100%;min-height:44px;justify-content:flex-start;gap:12px;padding:8px 10px;
 font-family:inherit;font-weight:500;font-size:14px;line-height:1.35;text-align:start;
}
html body header #view-menu377 .view-icon437{width:24px;flex:none;text-align:center;font-size:22px}
html body header #view-menu377 .view-label437{font-size:14px;line-height:1.35}
@media(max-width:760px){
 html body #home.hero-restored359{padding-top:14px!important;row-gap:6px!important}
}

/* site439 test: one quiet navigation rail; keep full touch targets. */
html body header #header-list377{gap:0!important;border-bottom:1px solid #344838}
html body header #header-list377>a,
html body header #header-list377>.nav-group379>summary,
html body header #header-list377>a:not([aria-current=page]),
html body header #header-list377>.nav-group379:not([open])>summary{
 min-height:44px!important;border:0!important;border-radius:0!important;
 background:transparent!important;box-shadow:none!important;padding:6px 8px!important;
}
html body header #header-list377>a[aria-current=page],
html body header #header-list377>.nav-group379[data-active379=true]>summary,
html body header #header-list377>.nav-group379[open]>summary{
 background:transparent!important;border-color:transparent!important;color:#e1fa96!important;box-shadow:inset 0 -2px #d8fa86!important;
}
@media(hover:hover){html body header #header-list377>a:hover,
 html body header #header-list377>.nav-group379>summary:hover{background:#1b2c21!important}}

/* site442: a compact navigation list; nested details do not inherit outer summary styles. */
html body header .nav-quick440{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;padding-bottom:6px;border-bottom:1px solid #354b3b}
html body header .nav-quick440>a{display:flex;align-items:center;justify-content:flex-start;box-sizing:border-box;min-height:44px;padding:8px 10px!important;border:0;border-radius:4px;background:transparent;color:#edf4e7;font:600 .9375rem/1.35 system-ui;text-align:start;text-decoration:none}
html body header .nav-quick440>a[aria-current="page"]{color:#e1fa96;background:#263b25}
html body header :is(#header-list377 .nav-panel379,.desktop-nav383 .nav-more340>div){box-sizing:border-box;padding:10px!important;gap:2px!important;overscroll-behavior:contain;scroll-padding-block:10px}
html body header :is(#header-list377,.desktop-nav383) .nav-subgroup434{border:0;border-bottom:1px solid #354b3b;border-radius:0;background:transparent;box-shadow:none}
html body header :is(#header-list377,.desktop-nav383) .nav-subgroup434>summary{display:flex;align-items:center;justify-content:space-between;box-sizing:border-box;min-height:44px;padding:8px 10px!important;border:0;border-radius:4px;background:transparent;color:#edf4e7;font:600 .9375rem/1.35 system-ui;white-space:normal;list-style:none}
html body header :is(#header-list377,.desktop-nav383) .nav-subgroup434>summary::after{content:'+'!important;display:block;font:400 20px/1 system-ui;color:#d8fa86;flex:none;margin-left:12px;transform:none!important}
html body header :is(#header-list377,.desktop-nav383) .nav-subgroup434[open]>summary::after{content:'−'!important}
html body header :is(#header-list377,.desktop-nav383) .nav-subgroup434>div{grid-template-columns:minmax(0,1fr)!important;padding:0 0 6px 10px;gap:0}
html body header :is(#header-list377,.desktop-nav383) .nav-subgroup434>div>a{box-sizing:border-box;min-height:44px;padding:8px 10px!important;background:transparent;color:#d8e1d4;font:400 .9375rem/1.35 system-ui;border-radius:4px;white-space:normal;text-decoration:none}
html body header :is(#header-list377 .nav-panel379,.desktop-nav383 .nav-more340>div)>a.nav-play440{display:flex;align-items:center;justify-content:center;box-sizing:border-box;min-height:44px;margin-top:6px;padding:8px 12px!important;border:0;border-radius:5px;background:#d8fa86!important;color:#142014!important;font:700 .9375rem/1.35 system-ui;text-decoration:none;box-shadow:none}
html body header :is(#header-list377 .nav-panel379,.desktop-nav383 .nav-more340>div)>.motion-preference{box-sizing:border-box;min-height:44px;width:100%;margin:6px 0 0;padding:8px 10px!important;border:0;border-top:1px solid #354b3b;border-radius:0;background:transparent;color:#b7c2b7;font:400 .875rem/1.35 system-ui;text-align:start;white-space:normal}
html body header .nav-quick440>a:focus-visible,html body header .nav-play440:focus-visible{outline:2px solid #defa82;outline-offset:2px}
@media(min-width:1101px){html body header .desktop-nav383 .nav-more340>div{width:320px;max-width:calc(100vw - 24px);max-height:min(70svh,560px)}}
@media(hover:hover){html body header :is(#header-list377,.desktop-nav383) :is(.nav-quick440>a,.nav-subgroup434>summary,.nav-subgroup434>div>a):hover{background:#263b25;color:#f5f6f2}}
