/* V4.3 — actions, habitats and six selected skins. */
.chapter-layout{grid-template-columns:270px minmax(0,1fr);gap:48px;align-items:start}
.chapter-list{padding-top:0}
.chapter-list button{padding:24px 12px 24px 8px;min-height:105px}
.chapter-list button>span:nth-child(2){font-size:23px;line-height:1.12}
.chapter-list small{font-size:11px;letter-spacing:.04em}
.chapter-panel{display:flex;flex-direction:column;gap:0;min-width:0}
.chapter-explanation{align-self:stretch;max-width:none;min-height:0;margin:0;padding:0 0 24px}
.chapter-explanation .eyebrow{font-size:10px;letter-spacing:.15em;margin-bottom:12px}
.chapter-explanation h3{font-size:36px;line-height:1.14;margin:0 0 12px}
.chapter-explanation>p:last-child{font-size:14px;line-height:1.75;max-width:690px;min-height:50px}
.chapter-picture{width:100%;max-width:none;height:auto!important;aspect-ratio:900/560;margin:0;box-shadow:none;isolation:isolate;border:1px solid #657e694a;background:#dce1ca}
.chapter-picture svg{width:100%;height:100%;display:block}
.scene-label{font:500 14px 'Avenir Next',-apple-system,'PingFang SC',sans-serif;letter-spacing:2px;fill:#35544b}
.scene-label.red{fill:#a33528}.scene-label.gold{fill:#86652a}.scene-label.light{fill:#e5dbbc}
[data-zone='2'] .scene-label{fill:#f4e5c0}[data-zone='4'] .scene-label.gold{fill:#e4bf70}
.chapter-beats{display:grid;grid-template-columns:repeat(3,1fr);width:100%;padding:19px 0 17px;border-bottom:1px solid #526d5b40;gap:10px}
.chapter-beats span{font-size:13px;line-height:1.4;color:#344d42;display:flex;align-items:center;gap:10px}
.chapter-beats b{color:#a13c29;font-size:10px;font-weight:500;letter-spacing:.07em}
.chapter-caption{display:flex;justify-content:space-between;align-items:center;width:100%;gap:15px;padding-top:12px;color:#5d7162;font-size:9px;letter-spacing:.07em}
#chapter-depth{font:italic 15px var(--serif);white-space:nowrap}
.bestiary-layout{grid-template-columns:1fr 1.05fr;gap:80px;align-items:center}
.bestiary-copy h2{font-size:clamp(38px,4vw,56px);margin-bottom:22px}
.bestiary-copy>p{max-width:460px;font-size:15px;line-height:1.85}
.creature-tabs{margin-top:30px}
.creature-tabs button{padding:16px 0;min-height:64px;grid-template-columns:28px 1fr 24px;gap:12px}
.creature-tabs button>span:nth-child(2){font-size:25px;line-height:1.15}
.creature-tabs button>span:first-child{font-size:14px}
.folio-inner{min-height:580px}
.folio img{height:355px;padding:30px 60px 0 30px}
.folio[data-specimen='clown'] img,.folio[data-specimen='shrimp'] img{padding:8px 4px 0 0;transform:scale(1.14)}
.folio-title{font-size:38px;top:73px;right:28px}
.folio-bottom{position:relative;background:#e9dfc2}
.folio-bottom .specimen-role{font-size:9px;letter-spacing:.14em;color:#9b4f32;margin-bottom:8px}
.folio-bottom h3{font-size:29px;margin-bottom:11px}
.folio-bottom p{font-size:13px;line-height:1.75}
.bestiary-copy .bestiary-note{font-size:11px;max-width:430px}
.skin-layout{grid-template-columns:1fr 1.1fr;gap:70px;padding-block:42px}
.skin-art>img{width:100%;max-width:460px;height:440px}
.skin-tabs{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:24px}
.skin-tabs button{padding:8px 10px 12px;display:flex;justify-content:flex-start;gap:0;min-height:120px;transition:background .2s,border-color .2s}
.skin-tabs img{height:87px;width:100%;object-fit:contain}
.skin-tabs span{font-size:12px;line-height:1.3;margin-top:7px}
.skin-tabs button:hover{background:#d7cba725}
.skin-tabs button[aria-selected=true]{background:#d7cba744;box-shadow:inset 0 0 0 3px var(--paper),inset 0 0 0 4px #ac392936}
.skin-details h3{font-size:38px}
.skin-details>p:not(.eyebrow){font-size:14px;min-height:49px}
.skin-details .skin-unlock{font-size:12px;min-height:0;margin-top:20px}
.preview-note{font-size:10px;color:#718074;background:var(--paper);padding:16px;text-align:center;letter-spacing:.1em;border-top:1px solid var(--line)}
.shoal-drift{animation:shoalDrift 8s ease-in-out infinite alternate}.tao-drift{animation:taoDrift 6s ease-in-out infinite alternate}.rival-drift{animation:rivalDrift 8s ease-in-out infinite alternate}.rain-drift{animation:rainDrift 4s ease-in-out infinite alternate}.blast-pulse{transform-origin:510px 252px;animation:blastPulse 4s ease-in-out infinite}.parry-pulse{animation:parryPulse 3s ease-in-out infinite}
@keyframes shoalDrift{to{transform:translate(14px,6px)}}@keyframes taoDrift{to{transform:translate(7px,-9px)}}@keyframes rivalDrift{to{transform:translate(-10px,12px)}}@keyframes rainDrift{to{transform:translate(-5px,20px)}}@keyframes blastPulse{50%{opacity:.4;transform:scale(1.09)}}@keyframes parryPulse{50%{opacity:.25}}
.paused .chapter-picture *{animation-play-state:paused!important}
@media(prefers-reduced-motion:reduce){.chapter-picture *{animation:none!important}}
@media(max-width:1100px){.chapter-layout{grid-template-columns:225px minmax(0,1fr);gap:30px}.chapter-list button>span:nth-child(2){font-size:21px}.chapter-explanation h3{font-size:31px}.bestiary-layout{gap:40px}.folio{padding:14px}.folio-inner{min-height:530px}.folio img{height:310px}.skin-layout{gap:35px}}
@media(max-width:760px){
 .chapter-layout{display:flex;gap:22px}.chapter-list{display:flex;flex-direction:row;overflow-x:auto;gap:0;border-bottom:1px solid var(--line);width:100%;padding-bottom:0;scroll-snap-type:x proximity}.chapter-list button{display:grid;grid-template-columns:20px minmax(0,1fr);flex:0 0 155px;min-height:78px;border:0!important;border-top:1px solid var(--line)!important;padding:11px 12px 11px 5px;scroll-snap-align:start}.chapter-list button:last-child{grid-column:auto}.chapter-list button>span:nth-child(2){font-size:17px;line-height:1.16;overflow-wrap:normal}.chapter-list button[aria-selected=true]{box-shadow:inset 0 -2px var(--red)}.chapter-list small{font-size:10px;margin-top:5px}.chapter-number{font-size:17px}.chapter-explanation{padding-bottom:20px;margin:0;min-height:0}.chapter-explanation h3{font-size:29px}.chapter-explanation .eyebrow{font-size:9px;letter-spacing:.1em}.chapter-explanation>p:last-child{font-size:13px;line-height:1.75;min-height:0}.chapter-picture{aspect-ratio:900/680}.chapter-picture svg{object-fit:contain}.scene-label{font-size:18px;letter-spacing:1px}.chapter-beats{padding:15px 0;gap:7px}.chapter-beats span{font-size:11px;display:block;line-height:1.5}.chapter-beats b{display:block;font-size:9px;margin-bottom:3px}.chapter-caption{font-size:8px;line-height:1.5;letter-spacing:.03em;gap:8px}#chapter-depth{font-size:13px}.bestiary-layout{grid-template-columns:1fr;gap:30px}.bestiary-copy h2{font-size:39px}.bestiary-copy>p{font-size:14px}.creature-tabs{margin-top:24px;display:grid;grid-template-columns:1fr 1fr;column-gap:20px}.creature-tabs button{min-height:60px;padding:14px 0;grid-template-columns:18px 1fr 14px;gap:5px}.creature-tabs button>span:nth-child(2){font-size:19px}.creature-tabs button>span:first-child{font-size:12px}.creature-tabs button>span:last-child{font-size:17px}.creature-tabs button:last-child{grid-column:1/-1}.folio-inner{min-height:450px}.folio img{height:275px;padding:28px 36px 0 16px}.folio-title{font-size:28px;right:20px;top:68px}.folio-bottom h3{font-size:26px}.folio-bottom p{font-size:12px}.bestiary-copy .bestiary-note{font-size:11px}.skin-layout{grid-template-columns:1fr;gap:22px;padding-block:25px}.skin-art{min-height:240px}.skin-art>img{height:290px;width:90%;max-width:360px}.skin-details h3{font-size:33px}.skin-details>p:not(.eyebrow){font-size:13px;min-height:0}.skin-tabs{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:21px}.skin-tabs button{padding:7px 5px 12px;min-height:100px}.skin-tabs img{height:70px}.skin-tabs span{font-size:11px}.skin-details .skin-unlock{font-size:12px}
}
.mobile-chapter-name{display:none}
@media(max-width:760px){
 .chapter-list{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:3px;overflow:visible;border-bottom:0;scroll-snap-type:none}.chapter-list button{display:flex;flex-direction:column;justify-content:center;gap:8px;min-height:75px;padding:8px 2px;min-width:0;width:auto;border-bottom:1px solid var(--line)!important}.chapter-list button>span:nth-child(2),.chapter-list small{display:none}.chapter-list .chapter-number{font-size:17px}.chapter-list .mobile-chapter-name{display:block!important;font-size:11px;line-height:1.2;text-align:center;white-space:nowrap}.chapter-list button .chapter-arrow{display:none!important}.chapter-picture{aspect-ratio:900/560}.scene-label{display:none}
}
