/* V4.4 — native action scenes and a journal that grows with the player. */
.chapter-layout{grid-template-columns:220px minmax(0,1fr);gap:40px;align-items:center}
.chapter-list button{min-height:105px;padding:22px 9px 22px 4px}
.chapter-list button>span:nth-child(2){font-size:22px}
.chapter-panel{display:grid;grid-template-columns:minmax(0,390px) minmax(0,1fr);gap:36px;align-items:center}
.chapter-film{margin:0;width:100%;min-width:0}
.chapter-screen{position:relative;aspect-ratio:3/4;overflow:hidden;background:#c6cdb9;border:1px solid #62735c66;box-shadow:0 12px 30px #263d3817}
#chapter-video{display:block;width:100%;height:100%;object-fit:contain}
#chapter-play{position:absolute;right:12px;bottom:12px;width:42px;height:42px;display:grid;place-items:center;background:#eee9d7e8;color:#263d38;border:1px solid #263d3855;font-size:23px;backdrop-filter:blur(6px)}
#chapter-play:hover{background:#fff8e5}
.chapter-film figcaption{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px;color:#5c6a5c;font-size:9px;letter-spacing:.05em;line-height:1.5}
.chapter-story{min-width:0}
.chapter-explanation{padding:0;margin:0}
.chapter-explanation h3{font-size:35px;line-height:1.13;margin-bottom:22px}
.chapter-explanation .eyebrow{font-size:9px;letter-spacing:.12em;line-height:1.65;margin-bottom:18px}
.chapter-explanation>p:last-child{font-size:14px;line-height:1.9}
.chapter-beats{grid-template-columns:1fr;gap:0;margin-top:27px;border-bottom:0;padding:0}
.chapter-beats span{padding:13px 0;border-top:1px solid #526d5b40;font-size:12px;gap:14px}
.chapter-beats b{font-size:10px}
.scene-invite{font-size:10px;color:#687462;margin-top:25px;letter-spacing:.03em}
.bestiary-layout{grid-template-columns:minmax(0,1fr) minmax(0,465px);gap:100px;align-items:start}
.bestiary-copy{padding-top:24px}
.bestiary-copy h2{font-size:clamp(40px,4.3vw,62px);max-width:560px}
.bestiary-copy>p{max-width:520px;font-size:15px}
.journal-steps{margin-top:38px;display:grid}
.journal-step{display:grid;grid-template-columns:34px 1fr 24px;gap:14px;text-align:left;padding:22px 0;border-top:1px solid #c7d2ba33;color:#b2c4b5;transition:color .2s,background .2s}
.journal-step:last-child{border-bottom:1px solid #c7d2ba33}
.journal-step[aria-pressed=true]{color:#edcf90;background:linear-gradient(90deg,#d3b7770d,transparent)}
.journal-step>span:last-child{opacity:0;padding-top:5px;font-size:22px}.journal-step[aria-pressed=true]>span:last-child{opacity:1}
.journal-number{font:16px var(--serif);padding-top:5px}
.journal-step strong{display:block;font:24px/1.25 var(--serif);color:inherit;font-weight:normal}
html[lang=zh-CN] .journal-step strong{font-family:var(--zh-serif)}
.journal-step small{display:block;font-size:12px;line-height:1.8;color:#b1c2b2;max-width:360px;margin-top:10px}
.bestiary-copy .bestiary-note{margin-top:30px;font-size:11px}
.creature-tabs{display:flex;flex-direction:row;margin-top:13px;gap:20px}
.creature-tabs button{flex:1;display:flex;gap:7px;min-height:50px;padding:14px 0;border-bottom:1px solid #c7d2ba40}
.creature-tabs button>span:nth-child(2){font-size:18px}
.creature-tabs button>span:first-child{font-size:11px}
.creature-tabs button>span:last-child{display:none}
.journal-gallery{min-width:0}
.journal-meta{display:flex;justify-content:space-between;align-items:center;gap:14px;font-size:9px;line-height:1.5;letter-spacing:.09em;color:#b9c5ab;margin-bottom:14px;min-height:27px}
.journal-meta>span:last-child{white-space:nowrap;color:#d3b777}
.journal-page{display:block;width:100%;height:auto;box-shadow:0 15px 40px #0c25234a;aspect-ratio:2/3;object-fit:contain;background:#d4d2b8}
.journal-caption{border-top:1px solid #c7d2ba33;margin-top:24px;padding-top:18px}
.journal-caption>p:first-child{font-size:9px;letter-spacing:.12em;color:#d3b777;margin:0 0 10px}
.journal-caption h3{font:28px var(--serif);margin:0 0 12px}
.journal-caption>p:last-child{font-size:13px;color:#bdcbb6;line-height:1.85;margin:0}
.folio-disclaimer{font-size:10px;color:#8fa897;margin:18px 0 0;line-height:1.6}
.edition-switch{display:flex;gap:8px;margin-top:13px}
.edition-switch[hidden]{display:none}
.edition-switch button{padding:10px 14px;min-height:40px;font-size:11px;color:#a8bcae;border:1px solid #c7d2ba33;flex:1}
.edition-switch button[aria-pressed=true]{color:#edcf90;border-color:#d3b777}
.fish-register{display:grid;grid-template-columns:1fr 1.6fr;gap:65px;border-top:1px solid #c7d2ba40;margin-top:65px;padding-top:35px;align-items:center}
.fish-register .eyebrow{font-size:9px;color:#c8b17c;letter-spacing:.1em;margin:0 0 16px}
.fish-register h3{font:27px var(--serif);margin:0 0 12px}
.fish-register-copy>p:last-child{font-size:12px;color:#a8bcae;line-height:1.8;max-width:360px;margin:0}
.fish-register-specimens{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}
.fish-register-specimens>div{min-width:0;text-align:center}
.fish-register-specimens img{width:100%;height:90px;object-fit:contain;filter:drop-shadow(0 4px 3px #111b1c40)}
.fish-register-specimens span{display:block;color:#c4cfb9;font-size:10px;line-height:1.6;min-height:32px}
.skin-paths{display:grid;grid-template-columns:repeat(3,1fr);gap:45px;margin:45px 0 35px}
.skin-paths article{border-top:1px solid var(--line);padding-top:22px}
.skin-paths .eyebrow{font-size:9px;color:var(--red);letter-spacing:.12em;margin:0 0 15px}
.skin-paths h3{font:24px/1.3 var(--serif);margin:0 0 12px}
.skin-paths article>p:last-child{font-size:12px;line-height:1.85;color:var(--muted);max-width:360px;margin:0}
.skin-layout{border-bottom:0;padding-top:40px}
.skin-reward{padding:16px 19px;border-left:2px solid var(--red);background:#ded7b746;margin-top:22px}
.skin-reward .eyebrow{font-size:9px;letter-spacing:.08em;color:var(--red);margin:0 0 7px}
.skin-details .skin-reward .skin-unlock{margin:0;min-height:0;font-size:14px;line-height:1.7;color:#263d38}
.skin-tabs{margin-top:22px}
.skin-details>p:not(.eyebrow){min-height:0}
button:focus-visible{outline:2px solid #ba7340;outline-offset:5px}
@media(max-width:1150px){
 .chapter-layout{grid-template-columns:185px 1fr;gap:24px}.chapter-panel{grid-template-columns:minmax(0,330px) minmax(0,1fr);gap:25px}.chapter-list button>span:nth-child(2){font-size:20px}.chapter-explanation h3{font-size:30px}.chapter-explanation>p:last-child{font-size:13px}.chapter-beats{margin-top:20px}.chapter-beats span{padding:11px 0}.scene-invite{margin-top:18px}.bestiary-layout{gap:55px;grid-template-columns:1fr minmax(0,420px)}.bestiary-copy>p{font-size:14px}.journal-step strong{font-size:22px}.journal-step{padding:18px 0}.creature-tabs{gap:12px}.creature-tabs button>span:nth-child(2){font-size:16px}.fish-register{gap:30px}.skin-paths{gap:28px}
}
@media(max-width:900px){
 .chapter-layout{grid-template-columns:1fr}.chapter-list{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.chapter-list button{display:flex;flex-direction:column;gap:7px;min-height:70px;text-align:center;padding:10px 2px;border-bottom:1px solid #526d5b40}.chapter-list button>span:nth-child(2),.chapter-list button small,.chapter-list button .chapter-arrow{display:none}.chapter-list .mobile-chapter-name{display:block;font-size:12px}.chapter-panel{grid-template-columns:minmax(0,360px) 1fr;gap:35px}.bestiary-layout{gap:35px;grid-template-columns:1fr 1fr}.bestiary-copy{padding-top:0}.bestiary-copy h2{font-size:39px}.journal-step{gap:8px;grid-template-columns:24px 1fr 16px}.journal-step strong{font-size:19px}.journal-step small{font-size:11px}.journal-steps{margin-top:24px}.creature-tabs button>span:first-child{display:none}.creature-tabs button>span:nth-child(2){font-size:15px}.journal-meta{font-size:8px}.fish-register{grid-template-columns:1fr}.fish-register-copy>p:last-child{max-width:600px}.fish-register-specimens img{height:95px}
}
@media(max-width:650px){
 .chapter-layout{display:block}.chapter-list{gap:3px;margin-bottom:24px;width:100%}.chapter-list button{min-height:67px}.chapter-list .mobile-chapter-name{font-size:10px}.chapter-panel{display:flex;flex-direction:column;gap:26px}.chapter-film{width:100%;max-width:400px}.chapter-screen{width:100%}.chapter-story{width:100%}.chapter-explanation h3{font-size:30px;margin-bottom:14px}.chapter-explanation .eyebrow{margin-bottom:10px}.chapter-explanation>p:last-child{font-size:13px}.chapter-beats{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:22px}.chapter-beats span{display:flex;flex-direction:column;align-items:flex-start;gap:6px;font-size:11px}.chapter-beats b{margin:0}.scene-invite{display:none}.chapter-film figcaption{font-size:8px}
 .bestiary-layout{display:flex;flex-direction:column;gap:30px}.bestiary-copy{width:100%}.bestiary-copy h2{font-size:39px;margin-bottom:20px}.bestiary-copy>p{font-size:13px;line-height:1.9}.journal-step{grid-template-columns:27px 1fr 20px;gap:10px;padding:18px 0}.journal-step strong{font-size:22px}.journal-step small{font-size:12px;line-height:1.8}.journal-gallery{width:100%;max-width:440px;align-self:center}.creature-tabs{display:flex;gap:16px}.creature-tabs button{min-height:48px;justify-content:center}.creature-tabs button>span:nth-child(2){font-size:18px}.creature-tabs button:last-child{grid-column:auto}.bestiary-copy .bestiary-note{font-size:11px;margin-top:25px}.journal-meta{font-size:9px}.journal-caption h3{font-size:27px}.journal-caption>p:last-child{font-size:12px}.fish-register{margin-top:38px;padding-top:28px;gap:20px}.fish-register h3{font-size:26px}.fish-register-specimens{grid-template-columns:repeat(3,minmax(0,1fr));gap:15px 8px}.fish-register-specimens img{height:72px}.fish-register-specimens span{font-size:11px;min-height:0}
 .skin-paths{grid-template-columns:1fr;margin:30px 0;gap:22px}.skin-paths article{padding-top:18px}.skin-paths h3{font-size:24px;margin-bottom:9px}.skin-paths article>p:last-child{max-width:none}.skin-layout{padding-top:20px;gap:20px}.skin-art>img{height:260px}.skin-art{min-height:260px}.skin-details h3{font-size:31px}.skin-reward{padding:13px 15px;margin-top:18px}.skin-details .skin-reward .skin-unlock{font-size:13px}
}

/* V4.4.1 — full Chinese type coverage and shared alignment rules. */
html[lang=zh-CN]{--serif:var(--zh-serif);line-break:strict;word-break:normal}
html[lang=zh-CN] :is(h1,h2,h3,.journal-step strong){font-family:var(--zh-serif);font-weight:600;font-style:normal;letter-spacing:.025em;text-wrap:balance}
html[lang=zh-CN] .section :is(h2,h3){line-height:1.4}
html[lang=zh-CN] .eyebrow{letter-spacing:.12em;line-height:1.6}
html[lang=zh-CN] :is(.chapter-list button,.creature-tabs button){font-family:var(--zh-serif)}
html[lang=zh-CN] :is(.section-head>p,.chapter-explanation>p:last-child,.bestiary-copy>p,.files-heading>div>p,.story-section>div>p){line-height:1.9;text-wrap:pretty}
html[lang=zh-CN] :is(.section-head h2,.files-heading h2){font-size:clamp(30px,3.25vw,46px)}
html[lang=zh-CN] .story-section h2{font-size:clamp(29px,3vw,40px);max-width:18em}
html[lang=zh-CN] .story-section .story-last{font-style:normal}
.section-head{align-items:start}
.section-head>p{padding-top:34px}
.files-compact .files-heading{align-items:start}
.files-heading>div+div{padding-top:32px}
.files-heading h2{max-width:none}
.files-heading .eyebrow{margin-bottom:16px}
.chapter-layout{grid-template-columns:228px minmax(0,1fr);gap:32px;align-items:stretch}
.chapter-list{display:grid;grid-template-rows:repeat(5,minmax(0,1fr));align-content:stretch}
.chapter-list button{grid-template-columns:24px minmax(0,1fr) 16px;column-gap:10px;min-height:100px;padding:20px 8px}
.chapter-list button>span:nth-child(2){font-size:22px;line-height:1.35;min-width:0}
html[lang=zh-CN] .chapter-list button>span:nth-child(2){white-space:nowrap;font-weight:500;letter-spacing:0}
.chapter-list small{line-height:1.5;margin-top:7px;letter-spacing:.03em}
.chapter-panel{grid-template-columns:minmax(0,440px) minmax(0,1fr);gap:32px;align-items:start}
.chapter-story{border-top:1px solid var(--line);padding-top:24px}
.chapter-explanation h3{font-size:34px;margin-bottom:18px;text-wrap:balance}
.chapter-explanation .eyebrow{margin-bottom:16px}
.chapter-explanation>p:last-child{max-width:32em}
.chapter-beats{margin-top:32px}
.chapter-beats span{min-height:48px;display:grid;grid-template-columns:24px 1fr;align-items:baseline}
.chapter-film figcaption{margin-top:14px;min-height:24px}
.chapter-number{font-variant-numeric:tabular-nums}
@media(min-width:1001px) and (max-width:1150px){
 .chapter-layout{grid-template-columns:204px minmax(0,1fr);gap:24px}
 .chapter-panel{grid-template-columns:minmax(0,360px) minmax(0,1fr);gap:24px}
 .chapter-list button{padding:16px 6px;min-height:96px}
 .chapter-list button>span:nth-child(2){font-size:20px}
 .chapter-explanation h3{font-size:29px}.chapter-story{padding-top:20px}
}
@media(max-width:1000px){
 .chapter-layout{grid-template-columns:1fr;gap:24px}
 .chapter-list{grid-template-columns:repeat(5,minmax(0,1fr));grid-template-rows:1fr;gap:6px}
 .chapter-list button{display:flex;min-height:72px;padding:12px 3px;gap:7px}
 .chapter-list button>span:nth-child(2),.chapter-list button small,.chapter-list button .chapter-arrow{display:none}
 .chapter-list .mobile-chapter-name{display:block;font-family:var(--sans);font-size:11px}
 .chapter-panel{grid-template-columns:minmax(0,360px) minmax(0,1fr);gap:30px}
 .chapter-story{padding-top:20px}
}
@media(max-width:700px){
 .section-head>p,.files-heading>div+div{padding-top:0}
 html[lang=zh-CN] :is(.section-head h2,.files-heading h2){font-size:32px}
 html[lang=zh-CN] .story-section h2{font-size:29px;max-width:none}
 .files-heading .eyebrow{margin-bottom:14px}
}
@media(max-width:650px){
 .chapter-list{gap:3px}.chapter-list button{min-height:68px;padding:10px 2px}
 .chapter-list .mobile-chapter-name{font-size:10px}
 .chapter-panel{gap:24px}.chapter-story{padding-top:20px}
 .chapter-explanation h3{font-size:28px;margin-bottom:14px}
 .chapter-beats{margin-top:22px}.chapter-beats span{display:flex;align-items:flex-start;min-height:0}
 html[lang=zh-CN] .bestiary-copy h2{font-size:37px}
 html[lang=zh-CN] .skin-paths h3{font-size:23px}
}

/* V4.4.2 (kept in V4.4.3) - one line of cultural background per skin. */
.skin-details>p.skin-inspo{display:flex;flex-direction:column;gap:6px;margin:14px 0 0;padding-top:12px;border-top:1px dashed var(--line);font:italic 14px/1.7 var(--serif);color:#4b5a50;min-height:0}
.skin-inspo-label{font:600 9px/1 var(--sans);font-style:normal;letter-spacing:.12em;color:var(--red)}
html[lang='zh-CN'] .skin-details>p.skin-inspo{font-style:normal}
@media(max-width:700px){.skin-details>p.skin-inspo{font-size:13px}}

/* Compact navigation retains the same links and bilingual labels. */
#nav-toggle{display:none}
@media(max-width:700px){
 header{position:relative;z-index:30}
 #nav-toggle{display:inline-flex;min-height:44px;align-items:center;padding:8px}
 header .main-nav{position:absolute;top:100%;left:0;right:0;z-index:30;display:none;gap:0;padding:8px 6%;background:var(--paper,#e8e4ce);border-bottom:1px solid var(--ink);box-shadow:0 8px 14px #0002}
 header.nav-open .main-nav{display:grid}
 header .main-nav a{display:block;padding:13px 8px;min-height:44px;font-size:15px;line-height:1.4}
}
