/* Shared biome and story system. Content remains readable without JavaScript. */
.pixel-world body>div[aria-hidden=true].lg\:hidden{height:0!important}
.scroll-story .journey-stage{padding-top:0}.scroll-story .journey-chapter{padding:40px 0 65px;border-bottom:1px solid var(--border);margin-bottom:30px;animation:none}.scroll-story .journey-chapter:first-child{padding-top:0}.scroll-story .journey-content{min-width:0}.mobile-story-guide{display:none!important}.scroll-story .journey-stage>.journey-guide{margin-top:30px}.scroll-story .journey-chapter:target{scroll-margin-top:100px}@media(max-width:767px){.scroll-story .journey-stage>.journey-guide{display:none}.scroll-story .mobile-story-guide{display:flex!important;margin:0 0 30px}.scroll-story .journey-chapter{padding:25px 0 40px}.scroll-story .journey-stage{display:block}.scroll-story .journey-speech{min-height:90px}.scroll-story{margin-top:30px}}
.pixel-world{--story-accent:#637d4e;--story-ink:#243b36;--story-paper:#f8faf2;--story-wash:#e5edd8;--story-night:#152323;--story-glow:#c6dcb4}
.pixel-world[data-biome=cherry]{--story-accent:#995773;--story-ink:#422c3b;--story-paper:#fff9fb;--story-wash:#f4e4eb;--story-night:#281d30;--story-glow:#e6a8c6;--biome-art:url(cherry-canopy.webp)}
.pixel-world[data-biome=jungle]{--story-accent:#416c47;--story-ink:#203d2f;--story-paper:#f5faef;--story-wash:#dfeacf;--story-night:#12271f;--story-glow:#a4ce80;--biome-art:url(biome-jungle.webp)}
.pixel-world[data-biome=taiga]{--story-accent:#426c73;--story-ink:#243e45;--story-paper:#f4faf8;--story-wash:#dce9e8;--story-night:#14272e;--story-glow:#b2d3cf;--biome-art:url(biome-taiga.webp)}
.pixel-world[data-biome=frozen]{--story-accent:#496f93;--story-ink:#253b54;--story-paper:#f5faff;--story-wash:#dceaf6;--story-night:#16263c;--story-glow:#b1d7f4;--biome-art:url(biome-frozen.webp)}
.pixel-world[data-biome=meadow]{--story-accent:#63783b;--story-ink:#36402c;--story-paper:#fffdf2;--story-wash:#eaf0d2;--story-night:#222b1d;--story-glow:#e6d789;--biome-art:url(biome-meadow.webp)}
.pixel-world[data-biome=cave]{--story-accent:#487b62;--story-ink:#273e3a;--story-paper:#f3f8ef;--story-wash:#dce9df;--story-night:#122626;--story-glow:#c4d898;--biome-art:url(biome-cave.webp)}
.pixel-world[data-biome=nether]{--story-accent:#9b523e;--story-ink:#4b2d29;--story-paper:#fff5ea;--story-wash:#f0dfd2;--story-night:#2d1b24;--story-glow:#ffc182}
.pixel-world[data-biome=end]{--story-accent:#795ca4;--story-ink:#372d4d;--story-paper:#faf6ff;--story-wash:#e9e0f1;--story-night:#1b1730;--story-glow:#d3b7ef}
.pixel-world[data-biome=flowers]{--story-accent:#977044;--story-ink:#463826;--story-paper:#fffaf0;--story-wash:#f1e9d7;--story-night:#29221f;--story-glow:#edd2a3;--biome-art:url(biome-meadow.webp)}
.pixel-world[data-biome]{--background:var(--story-wash);--surface:var(--story-paper);--foreground:var(--story-ink);--border:color-mix(in srgb,var(--story-accent) 42%,white);--muted:#505c61;--red-text:var(--story-accent)}
.pixel-world[data-biome].dark{--background:var(--story-night);--surface:color-mix(in srgb,var(--story-night) 82%,white);--foreground:#f2f2ec;--border:color-mix(in srgb,var(--story-glow) 32%,var(--story-night));--muted:#c6cbd0;--red-text:var(--story-glow)}
.pixel-world main{color:var(--foreground)}.pixel-world main p{line-height:1.7}.pixel-world a:focus-visible,.pixel-world button:focus-visible,.pixel-world summary:focus-visible,.pixel-world select:focus-visible{outline:3px solid var(--story-accent);outline-offset:5px}.dark.pixel-world :focus-visible{outline-color:var(--story-glow)}
.biome-main{padding:0 0 90px!important;max-width:none!important}.biome-hero{min-height:520px;position:relative;isolation:isolate;overflow:hidden;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:70px 24px;background:linear-gradient(180deg,var(--story-wash),var(--background))}.biome-hero h1{font:600 clamp(42px,5.6vw,78px)/1.08 Pixelify;max-width:850px;margin:22px 0;color:var(--foreground)}.biome-hero>p{max-width:650px;margin:0 0 25px;font-size:19px}.biome-hero .eyebrow{color:var(--red-text)}.biome-scenery{position:absolute;inset:0;z-index:-1;background-image:var(--biome-art);background-size:100% 100%;background-position:center;opacity:.8}.dark .biome-hero{background:radial-gradient(ellipse at 50% 10%,color-mix(in srgb,var(--story-accent) 40%,var(--story-night)),var(--story-night))}.dark .biome-scenery{filter:brightness(.65);opacity:.65}.biome-hero:after{content:'';position:absolute;inset:0;pointer-events:none;z-index:-1;background:linear-gradient(90deg,transparent,var(--background) 30%,var(--background) 70%,transparent);opacity:.6}
.journey{max-width:1180px;margin:50px auto 80px;padding:0 30px;scroll-margin-top:105px}.journey-tools{display:flex;flex-wrap:wrap;align-items:center;gap:20px;padding:22px 0;border-top:1px solid var(--border);border-bottom:1px solid var(--border)}.journey-tools label{flex:1;min-width:200px;font-size:12px;text-transform:uppercase;letter-spacing:1px}.chapter-select{display:block;width:100%;padding:12px 14px;margin-top:8px;border:1px solid var(--border);background:var(--surface);color:var(--foreground);font-size:16px}.chapter-count{font-size:13px;margin:0}.chapter-progress{display:block;width:100%;height:5px;appearance:none;border:0}.chapter-progress::-webkit-progress-bar{background:var(--border)}.chapter-progress::-webkit-progress-value{background:var(--story-accent);transition:width .4s}.dark .chapter-progress::-webkit-progress-value{background:var(--story-glow)}
.journey-stage{display:grid;grid-template-columns:260px minmax(0,1fr);gap:45px;align-items:start;padding:45px 0}.journey-guide{position:sticky;top:110px;display:flex;flex-direction:column;align-items:center;gap:10px;padding:0;border:0;background:none;min-width:0}.journey-guide img{width:170px;height:185px;object-fit:contain;filter:drop-shadow(0 12px 15px #0002)}.journey-guide>div{position:relative;border-radius:25px;border:1px solid var(--border);background:var(--surface);padding:20px;max-width:300px;box-shadow:0 5px 0 #0000000b}.journey-guide>div:before{content:'';position:absolute;top:-8px;left:45%;width:14px;height:14px;background:var(--surface);transform:rotate(45deg);border-top:1px solid var(--border);border-left:1px solid var(--border)}.guide-caption{font:11px Arial,sans-serif;text-transform:uppercase;letter-spacing:1px;color:var(--muted)}.journey-speech{font:19px/1.5 Pixelify!important;min-height:110px;margin:10px 0 0!important}.journey-chapter{max-width:760px;scroll-margin-top:105px;animation:chapter-arrive .45s both}.journey-chapter h1,.journey-chapter h2{font:600 clamp(29px,3vw,43px)/1.15 Pixelify;margin:15px 0 24px;color:var(--foreground)}.journey-chapter h3{font:500 25px/1.25 Pixelify;margin:30px 0 12px}.journey-chapter p{font-size:17px;margin:0 0 22px}.journey-chapter a,.source-prose a{color:var(--red-text);text-underline-offset:4px}.journey-chapter>section>div>div>span:first-child,.journey-chapter>header>div>span{font-size:12px;color:var(--muted)}.journey-chapter img{max-width:100%;height:auto;border-radius:8px}.journey-chapter ul,.journey-chapter ol{padding-left:24px;margin:20px 0}.journey-chapter li{margin:9px 0;line-height:1.7}.journey-chapter table{width:100%;border-collapse:collapse;display:block;overflow-x:auto}.journey-chapter td,.journey-chapter th{padding:12px;border:1px solid var(--border)}.journey-chapter blockquote{border-left:4px solid var(--story-accent);padding:20px;font-size:24px;line-height:1.5}.journey.reading-all .journey-chapter{padding:35px 0;border-bottom:1px solid var(--border)}.journey-controls{display:flex;justify-content:space-between;gap:18px;border-top:1px solid var(--border);padding-top:25px}.journey button:disabled{opacity:.4;cursor:default}.journey:not(.enhanced) .journey-tools,.journey:not(.enhanced) .journey-controls{display:none}.journey-chapter [hidden]{display:none!important}.source-question{padding:20px 0;border-bottom:1px solid var(--border)}.source-question summary{cursor:pointer;line-height:1.5;font-weight:600}.source-question p{padding-top:15px}.source-question[open] summary{color:var(--red-text)}
.faq-adventure{max-width:900px;margin:45px auto 80px;padding:0 25px}.faq-adventure .journey-guide{position:relative;top:auto;flex-direction:row;justify-content:center;margin-bottom:35px}.faq-adventure .journey-guide>div{max-width:480px}.faq-adventure .journey-guide>div:before{left:-8px;top:50%;transform:rotate(-45deg)}#question-search{width:100%;padding:16px;margin:12px 0;border:1px solid var(--border);background:var(--surface);color:var(--foreground);font-size:17px}.official-questions .source-question{padding:24px 0}.official-questions p{font-size:17px;line-height:1.7}.official-questions a{color:var(--red-text)}.official-event{max-width:1000px;margin:70px auto;padding:30px}.official-event p{max-width:750px}.official-event h2{font:40px/1.2 Pixelify}.official-event img{max-width:100%;height:auto}.official-season{border-top:2px solid var(--border);padding-top:40px}
html[data-biome=meadow] .adventure-intro,html[data-biome=flowers] .adventure-intro,html[data-biome=frozen] .world-hero{background-image:var(--biome-art);background-size:100% 100%;background-repeat:no-repeat}.page-chapter-guide{max-width:820px;margin:35px auto;padding:0 25px}.page-chapter-guide .journey-guide{position:relative;top:auto;flex-direction:row;justify-content:center}.page-chapter-guide .journey-guide>div{max-width:480px}.page-chapter-guide .journey-guide>div:before{left:-8px;top:50%;transform:rotate(-45deg)}
.pixel-world .navbar-shell{background:var(--surface)!important;backdrop-filter:none!important}.pixel-world .navbar-shell .nav-link{font-size:15px!important}.pixel-world nav>div.hidden{gap:17px!important}.pixel-world .site-footer{background:radial-gradient(ellipse at 50% 0,#49375b,#151526 75%)!important;color:#f2edf8!important}.pixel-world .site-footer a{color:#f2edf8!important}.site-footer .footer-theme select{background:#29243b!important;color:#fff!important;border:1px solid #a18db9}.pixel-world #study .section-intro,.pixel-world #study>div>p{color:var(--foreground)!important}.pixel-world .primary-action{background:#29394c!important;color:#fff!important}.pixel-world .secondary-action{background:var(--surface)!important;color:var(--foreground)!important}.pixel-world .primary-action,.pixel-world .secondary-action{line-height:1.3!important;min-height:44px;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box}.pixel-world .story-chapters article{border:0;box-shadow:none;background:none;padding:30px 0;border-bottom:1px solid var(--border)}
@keyframes chapter-arrive{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}
@media(max-width:767px){.biome-hero{min-height:420px;padding:50px 25px}.biome-hero h1{font-size:42px}.biome-hero>p{font-size:17px}.biome-scenery{opacity:.35}.journey{padding:0 20px;margin-top:28px}.journey-stage{display:flex;flex-direction:column;gap:25px;padding-top:25px}.journey-guide{position:relative;top:auto;flex-direction:row;gap:10px;align-items:center;width:100%}.journey-guide img{width:88px;height:110px;flex-shrink:0}.journey-guide>div{max-width:none;flex:1;padding:16px}.journey-guide>div:before{left:-8px;top:45%;transform:rotate(-45deg)}.journey-speech{font-size:17px!important;min-height:100px}.guide-caption{font-size:9px}.journey-chapter p{font-size:16px}.journey-chapter h1,.journey-chapter h2{font-size:32px}.journey-controls button{font-size:14px;padding:12px}.journey-tools{gap:12px}.journey-tools label{flex-basis:100%}.chapter-count{margin-left:auto}.faq-adventure .journey-guide img{width:85px}.faq-adventure .journey-guide>div{padding:15px}.official-event{padding:20px}.navbar-shell{padding-left:16px!important;padding-right:16px!important}.pixel-world .dimension-heading h1{font-size:45px!important}.pixel-world .dimension-heading p{font-size:17px}.pixel-world .dimension-inventory{width:100%;box-sizing:border-box}.pixel-world .form-panel{box-sizing:border-box;max-width:calc(100% - 32px)}.pixel-world .form-grid{grid-template-columns:minmax(0,1fr)}.pixel-world input,.pixel-world select{max-width:100%;box-sizing:border-box;font-size:16px}.journey-chapter{width:100%;min-width:0}.journey-chapter *{overflow-wrap:anywhere}.pixel-world .hero-center>p{overflow-wrap:normal}}
@media(prefers-reduced-motion:reduce){.journey-chapter{animation:none}.chapter-progress::-webkit-progress-value{transition:none}}
/* These theme tokens supersede the earlier page-specific overrides. */
html.pixel-world[data-biome]:not(.dark){--background:var(--story-wash);--surface:var(--story-paper);--foreground:var(--story-ink);--border:color-mix(in srgb,var(--story-accent) 42%,white);--muted:#505c61;--red-text:var(--story-accent)}
html.pixel-world[data-biome].dark{--background:var(--story-night);--surface:color-mix(in srgb,var(--story-night) 82%,white);--foreground:#f2f2ec;--border:color-mix(in srgb,var(--story-glow) 32%,var(--story-night));--muted:#c6cbd0;--red-text:var(--story-glow)}
.pixel-world .world-hero{background-color:var(--background)!important}.pixel-world[data-biome=frozen] .world-hero{background-image:linear-gradient(90deg,transparent,var(--background) 35%,var(--background) 65%,transparent),var(--biome-art)!important;background-size:100% 100%!important}.pixel-world[data-biome=frozen] .world-hero h1,.pixel-world[data-biome=frozen] .world-hero p{color:var(--foreground)!important;text-shadow:none!important}
.pixel-world[data-biome=nether]{--biome-art:url(biome-nether.webp)}.pixel-world[data-biome=end]{--biome-art:url(biome-end.webp)}.pixel-world[data-biome=flowers]{--biome-art:url(biome-flowers.webp)}
.dimension-sky:before{content:'';position:absolute;inset:0;background-image:var(--biome-art);background-size:100% 100%;z-index:1;opacity:.8}.dimension-sky i{display:none}.dimension-heading{max-width:700px}.pixel-world[data-biome=flowers] .adventure-intro{background-image:linear-gradient(90deg,transparent,var(--background) 30%,var(--background) 70%,transparent),var(--biome-art);padding:75px 25px!important}.pixel-world[data-biome=meadow] .adventure-intro{background-image:linear-gradient(90deg,transparent,var(--background) 30%,var(--background) 70%,transparent),var(--biome-art);padding:75px 25px!important}
.pixel-world #fairness .journey-speech,.pixel-world #get-started .journey-speech{color:var(--foreground)!important}.pixel-world #get-started .page-chapter-guide{margin-bottom:45px}.pixel-world #home .hero-photos-left img,.pixel-world #home .hero-photos-right img{border-radius:0}.pixel-world main img:not(.hero-center img){max-width:100%}
.journey-tools .read-all{font-size:15px;padding:13px 18px}.journey-controls{position:relative}.journey-chapter:not([hidden]){contain:layout style}.source-question summary{min-height:30px}.pixel-world .chapter-select{font-family:Arial,sans-serif!important;text-transform:none;letter-spacing:0}.pixel-world .form-note{color:var(--muted)!important}.pixel-world .season-banner .eyebrow{color:#fff0b9!important}
@media(max-width:767px){.pixel-world[data-biome=frozen] .world-hero h1{font-size:48px!important}.pixel-world[data-biome=flowers] .adventure-intro,.pixel-world[data-biome=meadow] .adventure-intro{padding:50px 22px!important}.journey-tools .read-all{font-size:13px}.journey .chapter-select{font-size:16px}.dimension-sky:before{opacity:.4}.page-chapter-guide{padding:0 16px}.page-chapter-guide .journey-guide img{width:85px}.pixel-world #get-started .journey-speech{font-size:17px!important}}
