.journey-modes{display:flex;justify-content:center;gap:8px;margin:15px auto 25px;padding:5px;border:1px solid #bfa76c50;border-radius:9px;background:#0c2927;max-width:490px}.journey-modes button{border:0;background:transparent;color:#b7c5b5;min-height:56px;flex:1;border-radius:5px;font-size:17px}.journey-modes button small{display:block;font-size:11px;font-weight:400;margin-top:5px;letter-spacing:1px}.journey-modes button.active{background:#e8d5a3;color:#233e35;box-shadow:0 3px 10px #0003}
.story-home{max-width:1260px;margin:auto;padding:0 36px 35px}.journey-hero{isolation:isolate;position:relative;min-height:490px;border:1px solid #d7b87760;border-radius:12px;overflow:hidden;display:flex;align-items:center;box-shadow:0 20px 50px #061b1955}.journey-hero-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2;object-position:50% 52%}.journey-hero:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#092724e8,#09272488 45%,transparent 85%);z-index:-1}.journey-hero-copy{padding:52px;max-width:670px}.story-eyebrow{font:11px Georgia,'PingFang SC',serif;letter-spacing:2px;color:#d9ba79}.journey-hero h1{font:46px/1.45 'Songti SC','STSong',serif;letter-spacing:3px;margin:20px 0;color:#fff3d4;text-shadow:0 2px 15px #0005}.journey-hero p{color:#e5e3cc;font-size:15px;line-height:1.9;margin:0 0 27px}.journey-actions{display:flex;gap:12px;flex-wrap:wrap;align-items:center}.journey-actions .primary{background:#e4c78b;border-color:#f1dcad;color:#263e34;padding:14px 23px;box-shadow:0 3px 0 #7e6d43}.story-ghost{background:#12373255;color:#f6eac9;border:1px solid #e9d19a80;border-radius:5px;min-height:48px;padding:10px 17px}.journey-footnote{display:block;color:#c2cdbd;font-size:11px;margin-top:23px;line-height:1.8}.story-section-heading{display:flex;justify-content:space-between;align-items:end;gap:16px;margin:35px 0 20px}.story-section-heading h2{font:24px 'Songti SC',serif;margin:9px 0 0;letter-spacing:1px}.story-section-heading>span{font-size:12px;color:#aabca9}.chapter-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:1fr;gap:20px}.chapter-card{display:flex;flex-direction:column;min-width:0;border:1px solid #b59f6350;background:#102f2a;border-radius:9px;overflow:hidden}.chapter-card>img{width:100%;aspect-ratio:1.9;object-fit:cover;display:block}.chapter-copy{padding:20px;display:flex;flex-direction:column;flex:1;min-width:0}.chapter-copy .story-eyebrow{display:flex;justify-content:space-between;align-items:center;font-size:10px}.chapter-copy b{font:11px 'PingFang SC',sans-serif;letter-spacing:0;background:#d6bd7520;padding:4px 7px;border-radius:3px}.chapter-copy h3{font:25px 'Songti SC',serif;letter-spacing:3px;margin:17px 0 8px;color:#f3e4c1}.chapter-copy p{font-size:13px;color:#bac8b4;margin-bottom:12px}.chapter-copy small{font-size:11px;color:#9eaf9a}.chapter-link{display:flex;justify-content:space-between;align-items:center;width:100%;background:none;border:0;border-top:1px solid #cdb27530;color:#dcc590;margin-top:auto;padding:15px 0 0;min-height:44px;font-size:13px}.cast-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.cast-card{display:flex;align-items:center;text-align:left;padding:12px;gap:13px;border:1px solid #bcab7335;background:#183b32;color:#eedeb8;border-radius:9px;min-width:0}.cast-card img{height:65px;width:65px;border-radius:50%;object-fit:cover;border:1px solid #cfb67b}.cast-card strong{display:block;font:19px 'Songti SC',serif;margin-bottom:7px}.cast-card small{color:#aabea6;font-size:11px}.cast-card>b{margin-left:auto;color:#bca369}.story-save-note{text-align:center;color:#91a58e;font-size:11px;margin:28px 0 0;line-height:1.8}
.chapter-preview>img{display:block;width:100%;aspect-ratio:1.9;object-fit:cover;border-radius:6px;margin:0 0 22px}.chapter-preview p{font-size:15px;line-height:1.9}.chapter-preview .story-eyebrow,.story-dialogue .story-eyebrow{color:#826633}.chapter-theme{color:#7e683f}.story-dialogue{display:flex;align-items:flex-start;gap:20px;padding:13px 0}.story-dialogue>img{width:100px;height:100px;object-fit:cover;border-radius:9px;border:1px solid #b1975b;flex-shrink:0}.story-dialogue h3{font:23px 'Songti SC',serif;margin:7px 0 10px}.story-dialogue p{line-height:1.9;font-size:15px;margin:0;color:#4a4d38}.intro-scene{position:relative;margin:0 0 10px}.intro-scene img{width:100%;height:210px;object-fit:cover;border-radius:6px;display:block}.intro-scene>span{position:absolute;bottom:15px;left:17px;color:#fff4d3;text-shadow:0 1px 6px #000;font:20px 'Songti SC',serif;letter-spacing:3px}.intro-controls{display:flex;justify-content:flex-end;gap:10px;align-items:center;margin-top:20px}.intro-controls>span{margin-right:auto;font-size:12px;color:#7f805f}.story-journal>h3{border-top:1px solid #b6a16b60;padding-top:20px;margin-top:20px}
body.story-game .tabletop,body.story-game .tabletop:has(.delivery-bar){height:auto;min-height:0;grid-template-rows:auto 64px minmax(440px,58vh) auto auto;padding-bottom:25px}.story-panel{background:#0d2e28;border:1px solid #bca36870;border-radius:8px;padding:14px 20px;color:#efe1bc}.story-panel-top{display:flex;gap:15px;align-items:center;font-size:12px;color:#c5ba91}.story-panel-top>strong{margin-left:auto;font-weight:400}.story-panel-top>button{background:transparent;border:1px solid #a9945c60;border-radius:4px;color:#d4c59f;font-size:12px;min-height:36px;padding:5px 10px}.story-progress{height:3px;background:#64775455;margin:9px 0 15px}.story-progress>span{display:block;height:100%;background:#dac386}.lesson-copy{display:flex;align-items:center;gap:15px}.lesson-copy>img{width:64px;height:64px;object-fit:cover;border:1px solid #d1b981;border-radius:50%}.lesson-copy>div{flex:1}.lesson-copy span{font-size:11px;color:#bbbf9a}.lesson-copy h2{font:20px 'Songti SC',serif;margin:6px 0}.lesson-copy p{font-size:13px;line-height:1.8;color:#bccbb4;margin:0}.lesson-guidance{display:flex;align-items:center;gap:15px;margin:12px 0 0;padding:9px 12px;background:#65885d22;border-radius:5px}.lesson-guidance p{margin:0;flex:1;font-size:12px;color:#e4d8ad;line-height:1.7}.lesson-guidance button{min-height:40px;flex-shrink:0;font-size:12px;background:#ddc28a;border:1px solid #efd7a4;color:#203e32;padding:8px 12px;border-radius:4px}.lesson-checklist{margin-top:10px;font-size:12px;color:#a7b99e}.lesson-checklist summary{cursor:pointer;padding:6px 0}.lesson-checklist ol{display:flex;flex-wrap:wrap;gap:12px 20px;list-style:none;padding:0}.lesson-checklist li{display:flex;gap:6px}.lesson-checklist li.done{color:#e4cd8c}.lesson-checklist p{line-height:1.8;font-size:11px;margin-bottom:0}.story-highlight{outline:3px solid #ffe09b!important;outline-offset:4px}.story-game .turn-strip{padding:0;max-width:800px;width:100%;justify-self:center}.story-game .opponents{display:grid;grid-template-columns:1fr 1fr}.story-game .personal{min-height:175px}.story-game .action-area{margin-top:12px}.story-game .merchant-chip .character-chip{width:36px;height:36px;object-fit:cover;border-radius:50%}
.story-result{max-width:960px;margin:20px auto 50px;padding:0 24px}.story-result-art{position:relative;border-radius:10px 10px 0 0;overflow:hidden}.story-result-art>img{width:100%;height:330px;object-fit:cover;display:block}.story-result-art>div{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:end;padding:30px;background:linear-gradient(transparent,#082922dd)}.story-result-art h1{font:32px/1.5 'Songti SC',serif;margin:12px 0 0;color:#fff1c9}.story-result-copy{background:#f0e5c8;color:#3f4936;padding:25px 32px;border-radius:0 0 10px 10px}.result-lessons{display:flex;flex-wrap:wrap;list-style:none;gap:14px 25px;padding:15px 0;font-size:13px}.story-result-copy>p{font-size:12px;line-height:1.8;color:#75765d;margin:22px 0 0}
@media(max-width:899px){.story-home{padding:0 20px 30px}.journey-hero{min-height:420px}.journey-hero-copy{padding:35px}.journey-hero h1{font-size:38px}.chapter-grid,.cast-grid{gap:12px}.chapter-copy{padding:15px}.cast-card{gap:8px;padding:9px}.cast-card img{width:45px;height:45px}.cast-card small{font-size:10px}.cast-card>b{display:none}body.story-game .tabletop,body.story-game .tabletop:has(.delivery-bar){display:flex;flex-direction:column;height:auto;gap:14px}.story-game .personal{min-height:0}.story-game .turn-strip{flex-shrink:0}.story-panel{padding:13px}.story-game .action-area{margin:0}.story-game .play-surface{flex-shrink:0}.story-game .lesson-copy h2{font-size:18px}}
@media(max-width:599px){.journey-modes{margin:8px auto 18px;max-width:calc(100% - 24px)}.story-home>.journey-modes{max-width:100%}.journey-modes button{font-size:15px;min-height:54px}.journey-modes button small{font-size:10px}.story-home{padding:0 14px 25px}.journey-hero{min-height:420px}.journey-hero:after{background:linear-gradient(0deg,#092724f5,#09272475 65%,#09272422)}.journey-hero-image{object-position:55% center}.journey-hero-copy{padding:28px 23px;align-self:flex-end}.journey-hero h1{font-size:32px;letter-spacing:2px}.journey-hero p{font-size:13px}.journey-actions{gap:10px}.journey-actions button{font-size:13px}.journey-footnote{font-size:10px}.story-section-heading{align-items:start;flex-direction:column;gap:10px;margin:28px 0 16px}.story-section-heading h2{font-size:22px}.chapter-grid,.cast-grid{grid-template-columns:1fr}.chapter-card{display:grid;grid-template-columns:36% 1fr}.chapter-card>img{height:100%;min-height:190px;aspect-ratio:auto}.chapter-copy .story-eyebrow{letter-spacing:1px}.chapter-copy h3{font-size:22px;margin-top:14px}.chapter-copy p{font-size:12px}.chapter-copy small{font-size:10px}.chapter-link{margin-top:10px;padding-top:10px}.cast-card{padding:12px;gap:15px}.cast-card img{width:57px;height:57px}.cast-card small{font-size:12px}.cast-card>b{display:block}.story-dialogue{gap:13px}.story-dialogue>img{width:66px;height:66px}.story-dialogue h3{font-size:21px}.story-dialogue p{font-size:14px}.intro-scene img{height:160px}.intro-controls{flex-wrap:wrap}.intro-controls button{font-size:12px;padding:10px 12px}.story-panel-top{font-size:11px;gap:8px}.story-panel-top>button{font-size:11px}.lesson-copy{align-items:flex-start;gap:11px}.lesson-copy>img{width:48px;height:48px}.lesson-copy p{font-size:12px}.lesson-guidance{align-items:stretch;flex-direction:column;gap:9px}.lesson-guidance button{align-self:flex-end}.story-result{padding:0 12px}.story-result-art>img{height:230px}.story-result-art>div{padding:22px}.story-result-art h1{font-size:26px}.story-result-copy{padding:18px}.story-game .merchant-chip strong{font-size:11px}.story-game .merchant-chip{gap:6px}.story-game .merchant-chip .crest{display:none}}

.story-task-return{display:block;width:100%;text-align:left;background:#193c31;color:#dfca91;border:1px solid #9c8b5650;border-radius:5px 5px 0 0;min-height:36px;font-size:12px;padding:8px 14px;margin-bottom:5px}.story-panel{scroll-margin-top:15px}

/* Chapter three uses the full board, with a public commission rather than steps. */
.challenge-objective{padding:12px 18px}.challenge-objective h2{font:20px 'Songti SC',serif;margin:8px 0}.challenge-objective p{font-size:12px;line-height:1.6;margin:6px 0;color:#c6cfb6}.challenge-competitors{display:flex;gap:30px;margin:12px 0}.challenge-competitors>div{flex:1}.challenge-competitors strong{font-size:13px}.challenge-competitors strong>span{margin-left:12px;color:#e1c88b}.challenge-materials{display:flex;gap:18px;margin-top:8px;font-size:12px}.challenge-materials b{color:#f2e6c7}.challenge-materials .fulfilled b{color:#bddd8c}.challenge-objective>.primary{min-height:40px;margin-top:6px}.challenge-outcome{font-weight:bold;font-size:16px!important;color:#55421f!important}.challenge-game .opponents{grid-template-columns:repeat(2,minmax(0,1fr))}
html[data-layout=phone] #modal .challenge-objective{color:#efe1bc;background:#163b30}html[data-layout=phone] .challenge-competitors{gap:14px;margin:8px 0}html[data-layout=phone] .challenge-materials{gap:10px;font-size:11px}html[data-layout=phone] .challenge-objective .challenge-advice{font-size:11px}html[data-layout=phone] .challenge-objective h2{font-size:17px}
@media(min-width:900px){
 .challenge-game>.challenge-objective{display:grid;grid-template-columns:215px minmax(0,1fr) 210px;align-items:center;gap:16px;padding:10px 16px}
 .challenge-game>.challenge-objective>h2,.challenge-game>.challenge-objective>p{display:none}
 .challenge-game>.challenge-objective .story-panel-top{flex-wrap:wrap;gap:8px}
 .challenge-game>.challenge-objective .story-panel-top>strong{margin-left:0}
 .challenge-game>.challenge-objective .challenge-competitors{margin:0;gap:20px}
 .challenge-game>.challenge-objective .challenge-materials{gap:12px}
 .challenge-game>.challenge-objective>.primary{font-size:12px;margin:0}
}
#modal .challenge-objective h2{color:#efe1bc}
.chapter-card.locked{filter:saturate(.48)}.chapter-card.locked>img{opacity:.58}.chapter-copy b{white-space:nowrap}.chapter-link.locked{color:#a6aa96}.chapter-locked h3{margin:14px 0 8px;color:#4d4b35}
.chapter-section{margin-top:35px}
@media(max-width:599px){.chapter-section{margin-top:28px}}

/* Chapter three opens on the blocked harbor before the mentor explains cards. */
.story-observed-port .port-tile{outline:3px solid #d5aa56;outline-offset:5px}
