@import url('./escale.css');
:root{--ink:#213c32;--muted:#6f7868;--paper:#f6f0e3;--line:#ded8c6;--gold:#bd683d;--teal:#2a5140;--night:#142e28;--white:#fffcf3}
.topbar{height:80px}.topbar nav button{font-size:12px}.skip{top:10px;transform:translateY(-200%)}.skip:focus{transform:translateY(0)}.intro{max-width:1500px}.hero{min-height:680px}.hero:after{background:linear-gradient(90deg,#10271fea,#10271f9c 47%,#10271f10 85%)}.hero-copy{max-width:680px;padding:70px 60px}.hero h1{font-size:clamp(48px,5.5vw,83px);line-height:.98;letter-spacing:-2px}.hero h1 em{font-size:.32em;letter-spacing:.1px;line-height:1.5;max-width:440px;margin-top:23px}.hero .eyebrow{color:#e8b78a}.hero-copy p{max-width:430px}.hero-meta{margin:27px 0}.intro-note{font-size:12px!important}.gold{background:#e0ab6d;border-color:#e0ab6d}.intro-footer{gap:30px;justify-content:initial}.intro-footer>div{flex:1}.time-note{font-size:12px;color:var(--muted);line-height:1.6;margin:0 4px 25px}.game{padding-top:25px}.game-title h1{font-size:27px}.game-title h1 span{font-size:13px}.game-title .eyebrow{font-size:9px}.progress-line i{width:20px}.chapter-count{font:italic 40px Georgia;color:#bda586}.play-layout{grid-template-columns:minmax(0,1fr) 310px}.mission{background:#fffcf5}.mission h2{font-size:25px}.mission p{font-size:13px}.mission .step-number{font-size:14px;letter-spacing:1px;font-family:Arial,sans-serif;margin:3px 0 18px}.mission-actions button{min-height:42px}.mission .chapter-title{font-family:Georgia,serif;font-size:13px;color:#8a6548;margin:0 0 10px}.scene-meta h2{font-size:23px}.scene-frame{box-shadow:0 14px 40px #1c322622}.scene-frame>img{animation:reveal .5s ease}.scene-caption{font-size:10px}.scene-travel{margin:12px 0}.scene-travel button{font-size:11px}.reconstruction{font-size:9px;letter-spacing:1px;text-transform:uppercase;color:#756750}.evidence-ribbon{display:flex;gap:8px;overflow:auto;padding:12px 0;margin-top:4px}.evidence-ribbon button{flex:0 0 auto;text-align:left;max-width:250px;padding:11px 14px;font-size:12px;border-color:#d6cfba;background:#fffaf0}.evidence-ribbon button small{display:block;font-size:9px;letter-spacing:.6px;color:#80745f;margin-bottom:4px}.evidence-ribbon .read{border-color:#88a08b;background:#edf1e5}.bag-strip{background:#eae8dc}.bag-label small{font-size:9px!important}.hero-footer{position:absolute;right:28px;bottom:25px;color:#f4e3c2;z-index:1;font-size:10px;letter-spacing:1.8px;text-transform:uppercase}.film-mark{position:absolute;right:35px;top:30px;z-index:1;color:#fff5dc;border:1px solid #fff5dc55;width:60px;height:60px;display:grid;place-items:center;border-radius:50%;font-family:Georgia;font-size:26px}.chapter-welcome{font:21px/1.7 Georgia,serif;color:#34493b}.chapter-welcome .speaker{font:10px Arial,sans-serif;letter-spacing:1.5px;color:#98734d;margin-bottom:17px}.mission-docs{display:flex;flex-wrap:wrap;gap:7px;margin:16px 0}.mission-docs button{font-size:11px;text-align:left;padding:8px 10px}.mission-docs button.read{background:#e9efe4;border-color:#9dab94}.type-badge{display:inline-block;font-size:9px;letter-spacing:.8px;text-transform:uppercase;padding:5px 8px;background:#e9e3d3;color:#6b5941;border-radius:4px;margin-bottom:16px}.type-badge.history{background:#dde9df;color:#2e533d}.document-text{font-size:15px;line-height:1.9;white-space:pre-line}.source-links{border-top:1px solid var(--line);padding-top:16px;margin-top:20px;font-size:12px;line-height:1.7}.source-links a{display:block;color:#365f47;margin:8px 0;overflow-wrap:anywhere}.source-card{padding:18px 0;border-bottom:1px solid var(--line)}.source-card h3{font:19px Georgia;margin:0 0 6px}.source-card p{font-size:12px;color:var(--muted);margin:7px 0}.source-card a{font-size:12px;overflow-wrap:anywhere}.source-card small{font-size:10px}.chapter-list{display:grid;gap:10px}.chapter-link{display:grid;grid-template-columns:85px minmax(0,1fr) auto;text-align:left;gap:15px;align-items:center;padding:10px}.chapter-link img{width:85px;aspect-ratio:16/9;object-fit:cover;border-radius:4px}.chapter-link strong{font:17px Georgia}.chapter-link small{display:block;font-size:10px;margin-top:5px;color:var(--muted)}.chapter-link .done-badge{font-size:12px;color:var(--teal)}.chapter-actions{display:flex;flex-wrap:wrap;gap:8px}.chapter-actions button{font-size:12px}.scene-gallery{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:20px 0}.scene-gallery button{padding:0;overflow:hidden;text-align:left}.scene-gallery img{width:100%;display:block}.scene-gallery span{display:block;padding:12px;font-size:12px}#puzzle{width:min(1040px,calc(100% - 24px));max-height:94dvh}#puzzle-body{padding:24px}.puzzle-intro{font-size:14px;color:#5c6c5c;line-height:1.8;max-width:860px}.puzzle-tools{display:flex;gap:8px;flex-wrap:wrap;border-top:1px solid var(--line);padding-top:15px;margin-top:25px;justify-content:space-between}.puzzle-tools>div{display:flex;gap:8px;flex-wrap:wrap}.puzzle-tools button{font-size:12px}.puzzle-error{font-size:13px;color:#9e3f29;line-height:1.6;padding:12px;background:#f4e6d9;border-radius:5px;display:none}.puzzle-error:not(:empty){display:block}.puzzle-status{font-size:11px;color:#728066;margin:12px 0}.worksheet{border:1px solid var(--line);background:#fffdf7;border-radius:8px;padding:20px;margin-top:18px}.worksheet>h3{font:20px Georgia}.match-grid{display:grid;gap:10px}.match-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(210px,1fr);gap:20px;align-items:center;padding:12px;border-bottom:1px solid #e5dfce;font-size:13px;line-height:1.6}.match-row select,.calc-input,.writing-field textarea,.allocate-field input{border:1px solid #bdc4b3;background:white;color:var(--ink);padding:12px;border-radius:6px;font:inherit;min-width:0;width:100%}.match-row select{font-size:12px;max-width:100%;white-space:normal}.order-list{list-style:none;margin:0;padding:0;display:grid;gap:9px}.order-row{display:flex;align-items:center;gap:12px;background:white;border:1px solid var(--line);border-radius:7px;padding:12px}.order-row .order-num{font:italic 26px Georgia;color:#a58a65;min-width:26px}.order-row>span:nth-child(2){flex:1;font-size:13px;line-height:1.5}.order-buttons{display:flex;gap:5px}.order-buttons button{padding:5px 12px;min-height:38px}.order-row.dragging{opacity:.4}.vars{display:flex;gap:9px;flex-wrap:wrap;margin:15px 0}.vars span{font:12px monospace;padding:8px;border-radius:4px;background:#e8e8dc}.calc-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.calc-field label{display:block;font-size:12px;margin:0 0 7px;line-height:1.5}.calc-field output{display:block;font-size:10px;color:#748269;margin-top:6px}.writing-field{margin:20px 0}.writing-field label{display:block;font-size:14px;line-height:1.6;margin-bottom:8px}.writing-field textarea{min-height:150px;resize:vertical;line-height:1.8;font-size:14px}.word-count{font-size:10px;color:var(--muted);display:block;margin-top:5px}.ref-checks{display:grid;gap:9px;margin:14px 0}.ref-checks label{font-size:12px;display:flex;align-items:center;gap:8px;line-height:1.6}.ref-checks input{width:18px;height:18px;accent-color:#31563e}.route-network{width:100%;height:auto;max-height:270px;display:block;background:#efe6d1;border-radius:7px}.route-nodes{display:flex;gap:8px;flex-wrap:wrap;margin:15px 0}.route-nodes button{font-size:12px}.route-built{padding:15px;border:1px dashed #a1b091;border-radius:6px;min-height:60px;line-height:1.8;font-size:13px}.route-summary{display:flex;justify-content:space-between;align-items:center;margin:12px 0;font-size:12px}.allocation-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.allocate-field{padding:15px;background:#f0eddf;border-radius:8px}.allocate-field label{display:block;font-size:13px;margin-bottom:7px}.allocate-field small{display:block;font-size:10px;margin-bottom:12px;color:var(--muted)}.workshop-callout{margin:18px 0;padding:18px;border:1px solid #bdc8b1;border-radius:7px;background:#edf0e3;font-size:13px;line-height:1.7}.workshop-callout button{margin-top:8px}.workshop-reading{font:16px/1.9 Georgia;white-space:pre-line}.workshop-questions{font-size:14px;line-height:1.9;padding-left:22px}.workshop-questions li{margin-bottom:12px}.chapter-summary{font-size:13px;line-height:1.8;color:var(--muted)}.film-screen{position:relative;background:#0b1711;min-height:340px;border-radius:9px;overflow:hidden;isolation:isolate}.film-screen img{width:100%;aspect-ratio:16/9;object-fit:cover;display:block;opacity:.72}.film-screen:after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#08170ef5,transparent 85%);z-index:0;pointer-events:none}.film-caption{position:absolute;left:5%;bottom:7%;right:5%;color:#fff8e8;z-index:1;max-height:80%;overflow:auto}.film-caption small{font-size:10px;letter-spacing:2px;color:#e3bb84}.film-caption h2{font-size:31px;margin:10px 0}.film-caption p{font-size:13px;line-height:1.7;margin:8px 0;max-width:720px}.film-controls{display:flex;align-items:center;justify-content:center;gap:9px;margin:15px 0;flex-wrap:wrap}.film-controls button{font-size:12px}.film-controls span{font-size:12px}.final-hero{position:relative;overflow:hidden;border-radius:10px;min-height:440px;background:#132b22;color:white;padding:55px;margin-bottom:25px}.final-hero>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.5}.final-hero>div{position:relative;z-index:1;max-width:650px}.final-hero h1{font:53px/1.1 Georgia}.final-hero .eyebrow{color:#e0ba8a}.final-hero p{font-size:15px;color:#e9ecdd}.final-layout{display:grid;grid-template-columns:minmax(0,1fr) 285px;gap:25px}.final-card{padding:24px;background:#fffaf0;border:1px solid var(--line);border-radius:9px}.final-card h2{font:25px Georgia}.final-card button{display:block;width:100%;margin:10px 0;font-size:12px}.final-card p{font-size:12px;color:var(--muted)}.file-row.selected{background:#e7eedf}.file-sidebar{background:#e9e7da}.file-sidebar button[aria-current=page]{background:#d6dfca}.file-toolbar{background:#f0ecde}.file-status{background:#f0ecde}.map-layout{background:linear-gradient(35deg,#e9e1c8,#f7f1e3);padding:20px;border-radius:9px}.garden-layout{background:#e9edda;padding:20px;border-radius:9px}.map-heading{font:italic 24px Georgia;text-align:center;margin-bottom:20px}.checkpoint-list{padding-left:20px;font-size:13px;line-height:1.8}.info-line{font-size:11px;color:var(--muted);line-height:1.7}.lab-saved{color:#356348}.timeline-record{display:flex;gap:16px;padding:12px 0;border-bottom:1px solid var(--line);font-size:12px;line-height:1.6}.timeline-record b{min-width:85px;color:#9b623d}.document-image{max-height:500px;object-fit:cover}.guide-print{font-size:12px}.puzzle-object{display:flex;align-items:center;gap:20px;padding:25px;background:#eee7d4;border-radius:8px;margin:20px 0}.puzzle-object .symbol{font:52px Georgia;color:#b17b43}.puzzle-object p{margin:0;font-size:14px}.file-content{white-space:pre-wrap;font-size:13px;line-height:1.8;overflow-wrap:anywhere}.keep{font-size:11px;color:#627358}
@media(max-width:1100px){.play-layout{grid-template-columns:minmax(0,1fr) 265px}.mission h2{font-size:22px}.hero-copy{padding:55px 40px}.hero{min-height:640px}.final-layout{grid-template-columns:1fr 240px}}
@media(max-width:850px){.play-layout{grid-template-columns:1fr}.mission{display:block}.mission-actions{display:flex;flex-wrap:wrap;padding-top:18px}.mission-actions .primary{flex:1}.hero-copy{max-width:620px}.mission .step-number{display:block;margin-bottom:8px}.final-layout{grid-template-columns:1fr}.final-card button{display:inline-block;width:auto;margin-right:5px}.topbar{gap:15px}.final-hero{padding:40px}.match-row{gap:10px}.progress-line i{width:14px}}
@media(max-width:560px){.topbar{height:73px;padding:0 12px}.topbar nav button{font-size:10px;padding:6px}.brand{letter-spacing:1px;font-size:9px}.hero{min-height:690px}.hero-copy{padding:210px 24px 35px}.hero h1{font-size:53px}.hero h1 em{font-size:.34em}.hero:after{background:linear-gradient(0deg,#10271ff7,#10271fba 65%,#10271f20)}.hero-copy p{font-size:14px}.film-mark{right:22px;top:22px;width:48px;height:48px;font-size:22px}.hero-footer{display:none}.intro-footer{gap:16px;flex-direction:column}.intro-footer strong{margin-bottom:3px}.game-title h1{font-size:23px}.game-title h1 span{font-size:11px;max-width:200px;line-height:1.4}.progress-line{gap:3px}.progress-line i{width:9px}.progress-label{font-size:9px}.scene-meta h2{font-size:18px}.scene-meta button{font-size:9px}.scene-caption{font-size:9px;flex-wrap:wrap}.scene-caption details{max-width:100%;width:100%;font-size:11px}.evidence-ribbon{gap:6px}.evidence-ribbon button{max-width:205px;font-size:11px;padding:9px}.mission h2{font-size:24px}.mission p{font-size:13px}.chapter-link{grid-template-columns:68px 1fr auto;gap:9px}.chapter-link img{width:68px}.chapter-link strong{font-size:14px}.chapter-link small{font-size:9px}.scene-gallery{gap:8px}.scene-gallery span{font-size:10px;padding:9px}.chapter-welcome{font-size:18px}.puzzle-intro{font-size:13px}#puzzle-body{padding:16px}.worksheet{padding:13px}.match-row{grid-template-columns:1fr;gap:7px;padding:10px 0;font-size:12px}.match-row select{font-size:12px;padding:11px}.calc-grid,.allocation-grid{grid-template-columns:1fr}.order-row{padding:9px;gap:8px}.order-row>span:nth-child(2){font-size:12px}.order-row .order-num{font-size:21px;min-width:20px}.order-buttons button{min-width:36px;padding:4px 8px}.puzzle-tools{gap:9px}.puzzle-tools>div{width:100%}.puzzle-tools .primary{flex:1}.writing-field label{font-size:13px}.writing-field textarea{font-size:13px}.workshop-reading{font-size:15px}.film-screen{min-height:380px}.film-screen img{height:380px;aspect-ratio:auto}.film-caption{left:6%;right:6%;bottom:6%}.film-caption h2{font-size:26px}.film-caption p{font-size:12px}.final-hero{padding:30px 24px;min-height:460px}.final-hero h1{font-size:40px}.final-hero p{font-size:14px}.final-card{padding:20px}.final-card button{display:block;width:100%}.map-layout,.garden-layout{padding:12px}.mission-docs button{font-size:10px}.puzzle-object{padding:17px;gap:12px}.timeline-record{font-size:11px}.timeline-record b{min-width:73px}.type-badge{font-size:8px}}
.file-main{min-width:0;background:#fffdf8}select:focus-visible{outline:3px solid #bd683d;outline-offset:3px}.import-label{display:block;margin:20px 0;font-size:13px}.import-label input{display:block;max-width:100%;margin-top:10px}.bag-card label{display:flex;gap:10px;align-items:center}.bag-card input{width:20px;height:20px;accent-color:#315741}.bag-card p{font-size:12px;line-height:1.7;margin:10px 0}.document-image{width:100%;height:auto;border-radius:8px;margin-bottom:18px}.scene-travel button[aria-current=location]{background:#dce5d2;border-color:#8ca47e}
@media(max-width:360px){.topbar{gap:5px}.topbar nav{gap:0}.topbar nav button{padding:6px 4px}.brand{gap:7px}.brand b{font-size:35px}.brand small{font-size:6px;letter-spacing:.8px}.hero h1{font-size:46px}.game-title h1{font-size:21px}}
.scene-travel button[aria-current=location]{color:#213c32}
#toast{visibility:hidden;background:#244737}#toast.visible{visibility:visible}.skip{visibility:hidden}.skip:focus{visibility:visible}
