/* The document is a game screen; original engine styles remain only as fallback. */
:root{--scene:#131a1d;--surface:#202b30;--muted:#adb7ba;--light:#f8f7f2;--accent:#bf4935;--gold:#edba65;--ink:#20292d;--paper:#fff;--red:#a73629;--green:#30735b}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--scene);color:var(--light);font:17px/1.6 'PT Sans',Arial,sans-serif}button,input,textarea{font:inherit}button{touch-action:manipulation}button:disabled{opacity:.45;cursor:not-allowed}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid var(--gold);outline-offset:4px}[hidden]{display:none!important}
.ndg-nav{max-width:none;padding:12px max(24px,calc((100vw - 1400px)/2));background:#0d1316;border-bottom:1px solid #ffffff1a;font-size:15px}.ndg-nav a{color:#d7dfe2;text-decoration:none}.ndg-nav a:hover{color:#fff}.ndg-nav a:first-child{letter-spacing:.04em}.ndg-hall{max-width:1200px;margin:64px auto;background:#202b30;color:#f8f7f2;border-top:1px solid #536067;padding:36px}.ndg-hall h2{font-size:36px}.ndg-hall details{background:#152025}.ndg-hall summary{color:#e6c088;font:700 16px/1.5 'PT Sans',sans-serif;letter-spacing:0;text-transform:none}.ndg-hall .ndg-meta{color:#c0c8ca}.ndg-hall .ndg-comment{background:#131c20;border-color:var(--gold)}.ndg-hall button{background:#bf4935;border-radius:4px}.ndg-hall li{border-color:#465258}.ndg-result{color:var(--ink);max-width:900px;border-color:var(--accent);border-radius:8px}.ndg-result h2{font-size:30px}
.eyebrow{font:700 13px/1.4 'PT Sans',sans-serif;letter-spacing:.16em;text-transform:uppercase;color:var(--gold);margin:0 0 14px}.primary,.secondary,.text-button,.game-shell button,.cinema button,.ending button{border-radius:4px;border:1px solid #647278;cursor:pointer;padding:10px 15px;font:700 16px/1.35 'PT Sans',Arial,sans-serif;min-height:44px}.primary{background:var(--accent)!important;color:#fff!important;border-color:var(--accent)!important}.primary:hover{background:#a63827!important}.secondary{background:#172126;color:#fff;border-color:#d3d6d5}.text-button{background:transparent!important;border:0!important;text-decoration:underline;text-underline-offset:4px}.small-print{font-size:14px;color:#bdc5c6}.landing-language{position:absolute;top:28px;right:32px}.lang{display:flex;position:static;border:1px solid #707e83;margin:0}.lang button{min-height:36px;min-width:40px;padding:4px 10px;border:0;background:transparent;color:#e8ecec;font:700 14px 'PT Sans',sans-serif}.lang button.on{background:var(--accent);color:white}
.landing-hero{position:relative;min-height:min(800px,calc(100svh - 48px));overflow:hidden;display:flex;align-items:center;padding:72px max(32px,calc((100vw - 1200px)/2)) 90px}.hero-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;filter:grayscale(1);opacity:.65}.hero-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(9,16,20,.97),rgba(9,16,20,.77) 48%,rgba(9,16,20,.16)),linear-gradient(0deg,#131a1d,transparent 30%)}.landing-copy{position:relative;width:min(700px,100%);z-index:1}.landing h1{font:600 clamp(44px,6.5vw,86px)/1.07 'Barlow Condensed',sans-serif;letter-spacing:-.02em;margin:20px 0;color:#fff;text-transform:none}.landing .lead{font:400 clamp(22px,2.3vw,30px)/1.4 Georgia,serif;color:#e6cfa9}.landing-copy>p:not(.eyebrow):not(.lead){max-width:600px}.landing-actions{display:flex;flex-wrap:wrap;gap:14px;margin-top:30px}.landing-actions button{padding:15px 22px}.hero-source{position:absolute;bottom:24px;right:32px;max-width:420px;font-size:12px;text-align:right}.hero-source a,.archive-caption a{color:#cbd0d1}.landing-brief{max-width:1200px;margin:40px auto 70px;display:grid;grid-template-columns:1fr 1.4fr;gap:80px;padding:24px}.landing h2{font:500 40px/1.15 'Barlow Condensed',sans-serif;margin:0}.landing-brief p{margin-top:0}.landing-archives{max-width:1200px;margin:auto;display:grid;grid-template-columns:1fr 1fr;gap:32px;padding:0 24px}.landing-archives figure{margin:0}.landing-archives img{width:100%;height:300px;object-fit:cover;object-position:center 35%;filter:grayscale(1)}.landing-archives figcaption{font-size:14px;padding:12px 0}.landing-archives a{color:#c8d0d2}.archive-credits{max-width:1152px;margin:42px auto;color:#bac4c8;font-size:15px;padding:20px 0;border-top:1px solid #546067}.archive-credits summary{font:700 16px/1.4 'PT Sans',sans-serif;text-transform:none;letter-spacing:0;color:#e7bb77}.archive-credits a{color:#e7bb77}.archive-credits li{margin:10px 0}
body[data-screen=cinema] .ndg-nav{display:none}.cinema{position:relative;min-height:100svh;overflow:hidden;isolation:isolate;background:#080d10;display:flex;flex-direction:column;justify-content:space-between;padding:28px 5vw}.cinema-photo{position:absolute;inset:0;z-index:-3;width:100%;height:100%;object-fit:cover;object-position:center 35%;filter:grayscale(1);animation:archive-drift 10s ease-out both}.cinema-shade{position:absolute;inset:0;z-index:-2;background:linear-gradient(90deg,#061016cf,transparent 85%),linear-gradient(0deg,#061016 2%,#061016b0 28%,#06101644 70%,#061016a0)}.cinema-top{display:flex;justify-content:space-between;align-items:center;gap:16px;font-family:'Barlow Condensed';letter-spacing:.08em}.cinema-top button{background:#0a131ccc;color:#fff}.cinema-copy{padding:6vh 0 3vh;max-width:950px;animation:scene-enter .9s ease both}.cinema-year{font:700 clamp(30px,5vw,64px)/1 'Barlow Condensed',sans-serif;color:var(--gold);letter-spacing:.08em;margin:0 0 28px}.cinema-copy h1{font:500 clamp(38px,6vw,78px)/1.12 'Barlow Condensed',sans-serif;max-width:1000px;margin:0 0 30px;color:#fff;text-transform:none}.cinema-copy>p:last-child{font:400 clamp(20px,2.2vw,28px)/1.55 Georgia,serif;max-width:840px}.archive-caption{font-size:12px;max-width:680px;margin:20px 0}.cinema-controls{display:flex;gap:12px;flex-wrap:wrap;justify-content:flex-end}.cinema-controls button{color:#f8f7f2;background:#15252e}.scene-progress{display:flex;gap:10px;margin-top:26px}.scene-progress span{height:3px;flex:1;background:#77818a55}.scene-progress .seen{background:var(--gold)}.cinema.is-paused .cinema-photo{animation-play-state:paused}@keyframes archive-drift{from{transform:scale(1)}to{transform:scale(1.065)}}@keyframes scene-enter{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:translateY(0)}}
.game-shell{max-width:1500px;margin:auto;padding:24px 28px 30px}.game-heading{display:flex;align-items:center;justify-content:space-between;gap:24px}.game-heading h1{font:500 29px/1.2 'Barlow Condensed',sans-serif;text-transform:none;letter-spacing:0;margin:0;color:#f8f7f2}.game-heading .eyebrow{margin-bottom:5px}.game-header-actions{display:flex;align-items:center;gap:18px}.plan-timeline{display:flex;margin:24px 0 18px;border-bottom:1px solid #4c5960;gap:35px;font-size:13px;color:#9eaaae}.plan-timeline>span{padding:0 0 12px;display:flex;gap:10px}.plan-timeline b{font-weight:normal}.plan-timeline .current{color:var(--gold);border-bottom:3px solid var(--gold)}.plan-timeline .past{color:#bac2c3}.goals{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:#4b565a;border:1px solid #4b565a;margin-bottom:24px}.goals>div{background:#1d282e;padding:13px 20px;display:grid;grid-template-columns:1fr auto;align-items:baseline;column-gap:10px}.goals span{font-size:14px;color:#d2dbde}.goals strong{font:500 27px 'Barlow Condensed',sans-serif;grid-row:span 2}.goals small{font-size:12px;color:#aab7be}
.play-layout{display:grid;grid-template-columns:165px minmax(380px,1fr) 330px;gap:24px;align-items:start}.sector-nav{display:flex;flex-direction:column;gap:3px;position:sticky;top:20px}.sector-nav button{background:transparent;color:#bbc8cd;border:0;text-align:left;padding:11px 8px;display:flex;align-items:center;gap:10px;font-size:15px;font-weight:400}.sector-nav button span{font-size:12px;color:#93a1a7}.sector-nav button.active{background:#334047;color:#fff;border-left:3px solid var(--gold);padding-left:5px}.sector-nav button.active span{color:var(--gold)}.sector-nav button:hover{background:#26343b}.decision-panel{background:#f8f7f2;border-radius:6px;overflow:hidden;color:#222c30;min-width:0}.sector-photo{margin:0;position:relative;height:170px;overflow:hidden;background:#1d2a30}.sector-photo img{width:100%;height:100%;object-fit:cover;object-position:center 34%;filter:grayscale(1);opacity:.85}.sector-photo figcaption{position:absolute;bottom:0;left:0;right:0;padding:20px 14px 8px;background:linear-gradient(transparent,#061016e8);font-size:11px}.sector-photo a{color:#fff;text-decoration:none}.decision-content{padding:26px 30px 30px}.decision-content .eyebrow{color:#9c3e29;font-size:12px;margin-bottom:10px}.decision-content h2{font:500 31px/1.2 'Barlow Condensed',sans-serif;text-transform:none;margin:0 0 14px}.sector-intro{font-size:17px;line-height:1.5;margin:0 0 24px;color:#4b575b}.decision-content h3{font:700 18px/1.4 'PT Sans',sans-serif;margin:24px 0 6px;color:#253138}
.result-line{display:flex;justify-content:space-between;align-items:center;gap:16px;border-bottom:1px solid #d2d5d2;padding:12px 0;font-size:16px}.result-line strong{font:500 25px/1.3 'Barlow Condensed',sans-serif;white-space:nowrap}.result-line small{display:block;font-size:14px;font-weight:normal;color:#60696c;margin-top:4px;max-width:480px}.allocation{padding:18px 0;border-bottom:1px solid #d2d5d2;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px;align-items:center;scroll-margin:35px}.allocation-label{font-weight:700;font-size:17px}.allocation p{font-size:14px;line-height:1.45;color:#5b6467;margin:5px 0 0}.stepper{display:grid;grid-template-columns:42px 40px 42px;gap:3px;align-items:center}.stepper button{font-size:24px;font-weight:normal;line-height:1;background:#e9e9e2;color:#26343a;border:1px solid #899397;min-height:42px;padding:0}.stepper button:hover{background:#c84d35;color:white}.stepper output{text-align:center;font:500 23px 'Barlow Condensed',sans-serif;min-width:0}.stepper small{font-size:12px;margin-left:2px}.choices{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:22px 0}.game-shell .choice{display:flex;flex-direction:column;text-align:left;align-items:start;justify-content:start;gap:9px;white-space:normal;padding:16px;background:#fff;color:#29363c;border:1px solid #9aa3a5;min-width:0}.choice strong{font-size:17px}.choice span{font-weight:normal;font-size:14px;line-height:1.5}.choice em{font-size:13px;font-style:normal;margin-top:auto;color:#7a4025}.game-shell .choice.selected{border:2px solid #ad412b;padding:15px;background:#fff3df}.explain{font-size:15px;line-height:1.55;padding:14px 16px;background:#e9edeb;border-left:3px solid #7b929b;margin:18px 0}.explain.danger{border-color:#b63c29;background:#f7e4df;color:#76291b}.explain.success{border-color:#33765e;background:#e2efe7;color:#21513e}.game-shell details{padding:16px 0;color:#41525c}.game-shell summary{font:700 15px/1.5 'PT Sans',sans-serif;letter-spacing:0;text-transform:none;color:#4d626d}.context-note p{font-size:15px}.living-sector{padding-bottom:4px}.living-sector h3{margin-bottom:0}.issue-link{display:block;text-align:left;background:none;color:#76291b;border:0!important;text-decoration:underline;width:100%;padding:8px 0!important}
.guide{background:#25343b;color:#e6eeee;border-radius:6px;padding:24px;position:sticky;top:20px;border-top:4px solid var(--gold);font-size:16px;line-height:1.55}.guide-heading{display:flex;gap:8px;align-items:start;justify-content:space-between}.guide-heading>span:last-child{font-size:12px;white-space:nowrap}.guide .eyebrow{font-size:11px;letter-spacing:.12em;margin:0}.guide progress{width:100%;height:4px;accent-color:var(--gold);margin:16px 0}.guide h2{font:500 26px/1.25 'Barlow Condensed',sans-serif;color:#fff;margin:7px 0 15px}.guide p{margin:12px 0}.guide .alternatives{border-top:1px solid #637078;margin-top:20px;padding-top:4px}.guide h3{font-size:15px;font-weight:700;color:var(--gold);margin:13px 0 8px}.guide .alternatives p{font-size:15px;color:#cfdbde}.guide .explain{background:#15232a;color:#d9e3e5;font-size:14px;border-color:#80959d;padding:10px 12px}.guide-feedback{background:#15232a;font-size:14px;padding:10px 12px;border-radius:3px}.guide-feedback.done{border-left:3px solid #8fc8a8}.checkpoint{color:#b5dfbd;font-size:14px}.guide-actions{display:flex;gap:9px;margin:18px 0 6px}.guide button{background:#17272e;color:#eef3f4;border-color:#83939b}.guide .text-button{font-size:13px;padding:8px 0;min-height:35px}.guide-actions .primary{flex:1}.guide.quiet{border-top-color:#5a717a}.spotlight{position:relative;outline:3px solid #d29125;outline-offset:7px;background-color:#fff7e5!important;border-radius:3px;box-shadow:0 0 0 8px #e6b35e22}.choices.spotlight{background:transparent!important}.resource-strip{position:sticky;bottom:0;background:#0e1b23f5;backdrop-filter:blur(12px);border:1px solid #567078;border-bottom:3px solid #b59b66;border-radius:6px;display:flex;align-items:center;justify-content:center;gap:26px;padding:12px 16px;margin:24px 0;z-index:12;box-shadow:0 -10px 24px #0002}.resource-strip>strong{font-size:13px;color:#cbd6d9}.resource-strip>span{display:flex;gap:10px;align-items:center;font-size:14px;color:#d2dcdf}.resource-strip b{font:500 22px 'Barlow Condensed',sans-serif;color:#fff}.resource-strip .negative,.resource-strip .negative b{color:#ffa896}.journal,.advanced{border-top:1px solid #4a5c66}.journal>div{font-size:14px;color:#ccd9dd;padding:20px 0}.journal .r{color:#f3b9a8}.journal .g{color:#abcfbc}.journal .y{color:#dfc18e}.advanced{color:#d7e0e3!important}.advanced .params,.advanced .varrow{font-size:14px;color:#d7e0e3;gap:10px}.advanced .grpttl{color:#e5c791;font-size:14px}.advanced .varrow span{color:#b9c7cc}.advanced input{color:#222;background:#fff;font-size:15px;padding:4px}.advanced .params{grid-template-columns:repeat(3,1fr)}.advanced summary,.journal summary{color:#beced3}.advanced button{background:#24363f;color:#fff;margin:20px 0}
.modal-bg,.report-backdrop{position:fixed;inset:0;background:#071016db;z-index:70;display:flex;align-items:center;justify-content:center;padding:24px}.modal,.plan-report{background:#faf9f3;color:#253038;border:0;border-top:5px solid #b5442f;border-radius:6px;max-width:650px;max-height:90svh;overflow:auto;padding:30px;box-shadow:0 30px 80px #0008}.modal h3{background:none;padding:0;margin:0 0 18px;color:#922c20;font:500 26px/1.25 'Barlow Condensed',sans-serif;text-transform:none;letter-spacing:0}.modal .body{font:400 17px/1.6 'PT Sans',sans-serif;padding:0}.modal .body b{font-family:inherit;letter-spacing:0}.modal .foot{padding:20px 0 0}.plan-report h2{font:500 35px/1.2 'Barlow Condensed',sans-serif}.plan-report .eyebrow{color:#9b3f2b}.plan-report button{margin-top:10px}.ending{max-width:1200px;margin:50px auto;display:grid;grid-template-columns:300px 1fr;gap:45px;padding:24px}.ending-photo img{width:100%;height:100%;max-height:700px;object-fit:cover;filter:grayscale(1)}.ending .endt{text-align:left;padding:0;min-width:0}.ending h1{font:500 44px/1.2 'Barlow Condensed',sans-serif;color:#fff;margin:14px 0 20px}.final-results{margin:25px 0}.final-results .result-line{border-color:#59666d}.ending .archive-credits{margin:28px 0}.ending .ndg-result{margin:32px 0;padding:24px}.ending .ndg-result h2{color:#252d31}
@media(min-width:1600px){.landing-hero{min-height:800px}.decision-content{padding:32px 36px}.play-layout{grid-template-columns:175px minmax(400px,1fr) 350px}}
@media(max-width:1150px){.game-shell{padding:20px}.play-layout{grid-template-columns:minmax(360px,1fr) 310px;gap:20px}.sector-nav{position:static;grid-column:1/-1;display:flex;flex-direction:row;flex-wrap:wrap;border-bottom:1px solid #43565f;padding-bottom:10px}.sector-nav button{white-space:nowrap;min-height:38px;padding:8px}.sector-nav button span{display:none}.sector-nav button.active{border-left:0;border-bottom:2px solid var(--gold);padding:8px}.goals>div{padding:12px}.goals strong{font-size:23px}.goals span{font-size:13px}.resource-strip{gap:16px}.guide{padding:20px}.decision-content{padding:24px}.landing-brief{gap:35px}}
@media(max-width:760px){body{font-size:16px}.ndg-nav{padding:10px 18px;gap:12px}.ndg-nav a:first-child{width:auto}.landing-hero{padding:95px 24px 80px;min-height:730px}.hero-shade{background:linear-gradient(90deg,#091014ef,#091014a8),linear-gradient(0deg,#131a1d,transparent 80%)}.landing-language{top:20px;right:24px}.landing-copy h1{font-size:57px}.landing .lead{font-size:23px}.landing-actions{display:grid}.hero-source{font-size:11px;right:24px;left:24px;bottom:20px}.landing-brief{grid-template-columns:1fr;gap:25px;margin:25px 0}.landing h2{font-size:34px}.landing-archives{gap:18px}.landing-archives img{height:200px}.landing-archives figcaption{font-size:12px}.archive-credits{margin:30px 24px}.ndg-hall{margin:40px 16px;padding:24px}.cinema{padding:20px 24px;min-height:100svh}.cinema-copy{padding:5vh 0 0}.cinema-copy h1{font-size:43px;margin:18px 0}.cinema-copy>p:last-child{font-size:21px}.cinema-year{font-size:31px;margin:0}.cinema-top{font-size:14px}.cinema-skip{font-size:13px!important;max-width:150px}.cinema-controls{justify-content:start;gap:7px}.cinema-controls button{font-size:14px;padding:8px 12px}.archive-caption{font-size:11px}.game-shell{padding:18px 14px}.game-heading{align-items:start;gap:12px}.game-heading h1{font-size:24px}.game-heading .eyebrow{font-size:11px}.game-header-actions{gap:8px;flex-direction:column}.game-header-actions>.primary{font-size:13px;padding:8px 10px}.plan-timeline{gap:0;justify-content:space-between;margin-top:18px}.plan-timeline>span{display:block;font-size:12px}.plan-timeline b{display:block}.goals{grid-template-columns:1fr 1fr}.goals>div{padding:12px}.goals strong{font-size:25px}.play-layout{display:flex;flex-direction:column;gap:18px}.sector-nav{width:100%;flex-wrap:nowrap;overflow-x:auto;margin:0;padding:0 0 10px}.sector-nav button{flex:0 0 auto}.guide{position:static;width:100%;order:2;padding:20px}.guide h2{font-size:24px}.guide .alternatives{margin-top:12px}.guide .alternatives p{font-size:14px}.decision-panel{order:3;width:100%}.guide.quiet{order:4}.decision-content{padding:24px 20px}.decision-content h2{font-size:29px}.sector-photo{height:145px}.choices{gap:10px}.game-shell .choice{padding:12px}.game-shell .choice.selected{padding:11px}.choice strong{font-size:16px}.choice span{font-size:13px}.allocation{gap:10px}.allocation-label{font-size:16px}.allocation p{font-size:13px}.stepper{grid-template-columns:36px 32px 36px}.stepper button{min-height:40px}.stepper output{font-size:21px}.resource-strip{gap:6px;padding:10px 7px;flex-wrap:wrap;justify-content:space-around;margin:18px -4px}.resource-strip>strong{display:none}.resource-strip>span{font-size:11px;display:block;text-align:center;line-height:1.2}.resource-strip b{display:block;font-size:22px}.advanced .params{grid-template-columns:1fr}.advanced .varrow{display:block}.advanced .varrow label{display:flex;justify-content:space-between}.ending{grid-template-columns:1fr;margin-top:0;gap:25px;padding:18px}.ending-photo{height:180px}.ending-photo img{height:100%;object-position:center 40%}.ending h1{font-size:36px}.ending .ndg-result{padding:20px}.modal-bg,.report-backdrop{padding:16px}.modal,.plan-report{padding:24px}.plan-report h2{font-size:30px}.spotlight{outline-offset:4px}}
@media(max-width:390px){.landing-copy h1{font-size:48px}.landing-archives{grid-template-columns:1fr}.choices{grid-template-columns:1fr}.allocation{grid-template-columns:1fr}.stepper{justify-self:end}.cinema-copy h1{font-size:36px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation:none!important;transition:none!important}.cinema-photo{transform:none}}

.author-credit{max-width:1100px;margin:28px auto;padding:0 24px;color:#c5ced2;font-size:14px}.ending .author-credit{padding:0}.decision-panel,.guide{scroll-margin-top:20px}

.guide-jump{color:#f3d7a8;background:#18242b;border-color:#c99850!important;width:100%}.mobile-step-nav{display:none}@media(max-width:760px){.mobile-step-nav{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid #c8c9bf;padding-top:20px;margin-top:24px}.mobile-step-nav p{width:100%;font-size:14px;margin:0}.mobile-step-nav .text-button{color:var(--ink)}}
