@import 'revision-v006.css';
.economy-chain .chain-resource-icons{display:flex;justify-content:center;align-items:center;gap:3px;height:43px;margin-bottom:7px;min-height:0;padding:0;background:none;border:0}.chain-resource-icons img{width:36px;height:36px;object-fit:contain;filter:drop-shadow(0 2px 4px #0008)}@media(max-width:650px){.chain-resource-icons img{width:26px;height:26px}.economy-chain .chain-resource-icons{height:32px;gap:1px}.downloads-link{font-size:10px}}
.return-updates{max-width:560px;margin:22px auto 30px;color:#d5d1bf;font:16px/1.8 Georgia,serif;text-align:center}#hear-opening.narration-resume{position:fixed;bottom:24px;right:24px;z-index:30;box-shadow:0 4px 24px #0008}#hear-opening[hidden],.wallpaper-brand[hidden]{display:none}
.downloads-link{font-size:12px;letter-spacing:.02em;text-decoration:none;color:#f0d99e;border-bottom:1px solid #d7bb7266;padding:8px 0;white-space:nowrap}.masthead{gap:clamp(9px,1.3vw,24px)}
.power-choices{gap:14px;margin-top:32px}.power-choices button{font:clamp(18px,1.65vw,27px)/1.25 Georgia,serif;padding:15px 24px;color:#efe5cf;border:1px solid #bc9d6060;background:linear-gradient(115deg,#10201ecc,#0b131299);border-radius:2px;box-shadow:inset 0 0 0 3px #c2a3690c;text-align:center}.power-choices button[aria-pressed=true]{color:#ffe9b5;border-color:#d3b572;box-shadow:inset 0 0 0 3px #c2a36922,0 8px 28px #0004;background:linear-gradient(115deg,#44351fd9,#18231de6)}
#hear-opening{padding:8px 14px;background:#101b1866;color:#edddbe;border:1px solid #d9bd7955;font-size:11px}
.together-section{position:relative;isolation:isolate;padding:110px 7%;background:#101b18;overflow:hidden;min-height:690px;display:flex;align-items:center}.together-section>.scene-art{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2;opacity:.52}.together-section:before{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#081410f2,#08141080 65%,#08141029)}.together-content{max-width:1000px}.together-section h2,.wallpapers-section h2{font:clamp(34px,4.1vw,64px)/1.12 Georgia,serif;max-width:700px}.together-lead{max-width:590px;line-height:1.8;color:#e4decb;margin:25px 0 38px}.together-columns{display:grid;grid-template-columns:1fr 1fr;gap:50px;max-width:880px}.together-columns h3{font:27px Georgia,serif;color:#f6dfb1;margin-bottom:14px}.together-columns p{font-size:14px;line-height:1.85;color:#d5d7cd}.preview-note{max-width:740px;font-size:12px;line-height:1.7;color:#bec5bb;margin-top:35px}
.wallpapers-section{padding:90px 6%;background:radial-gradient(ellipse at top,#26392d,#101b18 55%);border-block:1px solid #c4aa7326}.wallpaper-intro{max-width:720px;line-height:1.8;color:#bdc6bc;margin:23px 0 35px}.wallpaper-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px}.wallpaper-grid button{position:relative;padding:0;border:1px solid #ceb68044;background:#17221d;color:#eadcb9;text-align:left;overflow:hidden}.wallpaper-grid img{display:block;width:100%;aspect-ratio:16/10;object-fit:cover;transition:transform .5s}.wallpaper-grid button:hover img{transform:scale(1.03)}.wallpaper-grid .wallpaper-name{display:block;padding:12px 14px;font:15px Georgia,serif}.wallpaper-mini-mark{position:absolute;bottom:56px;right:14px;text-align:center;font:14px/1 Georgia,serif;letter-spacing:.05em;color:#fff0ca;text-shadow:0 1px 6px #000}.wallpaper-mini-mark em{display:block;font-size:10px;line-height:1.15}.wallpaper-mini-mark span{display:block}
#wallpaper-viewer{width:min(1200px,95vw);padding:0;background:#0d1814}.wallpaper-stage{position:relative;min-height:180px;display:grid;place-items:center}.wallpaper-stage img{width:100%;max-height:73svh;object-fit:contain;display:block}.wallpaper-brand{position:absolute;right:4%;bottom:7%;width:36%;color:#fff0cb;text-align:center;filter:drop-shadow(0 3px 6px #000);font-family:Georgia,serif;line-height:.96;font-size:clamp(28px,4.6vw,67px);letter-spacing:.04em}.wallpaper-brand span{display:block}.wallpaper-brand em{font-size:.43em;display:block;line-height:1.2}.wallpaper-brand small{font:9px/2.6 Georgia,serif;letter-spacing:.23em;display:block;border-top:1px solid #ddc795aa;margin:15px auto 0;width:93%}.wallpaper-toolbar{padding:22px 28px;display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap}.wallpaper-toolbar h3{font:23px Georgia,serif}.wallpaper-toolbar p{font-size:12px;color:#c4c8bd;line-height:1.7;margin-top:8px}.wallpaper-toolbar button,.wallpaper-pack{background:linear-gradient(#9d7a37,#513c19);border:1px solid #ddc486;color:#fff0cb;padding:13px 24px;font:15px Georgia,serif;text-align:center}.wallpaper-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px}.wallpaper-pack{display:inline-block;text-decoration:none}.wallpaper-help{font-size:12px;color:#c0c8bd;line-height:1.8;max-width:680px;margin-top:20px}#wallpaper-status{font-size:12px;margin:0 28px 20px;color:#e7d8b2}.power-choices button:focus-visible,.wallpaper-grid button:focus-visible{outline:3px solid #ffe6a0;outline-offset:4px}
@media(max-width:1000px){.wallpaper-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.together-section{padding:85px 6%}.power-choices button{padding:13px 17px}}
@media(max-width:650px){.together-section{padding:70px 25px}.together-columns{grid-template-columns:1fr;gap:28px}.together-section>.scene-art{object-position:60% center}.wallpapers-section{padding:65px 20px}.wallpaper-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.wallpaper-grid .wallpaper-name{font-size:13px;padding:10px;min-height:48px}.wallpaper-mini-mark{font-size:11px;bottom:65px;right:8px}.wallpaper-brand{font-size:clamp(20px,5vw,34px);width:41%}.wallpaper-brand small{font-size:5px;letter-spacing:.13em;margin-top:8px}.wallpaper-toolbar{padding:20px}.power-choices{flex-wrap:nowrap;gap:10px}.power-choices button{font-size:18px;padding:14px 16px;flex:1}}
@media(prefers-reduced-motion:reduce){.wallpaper-grid img{transition:none}}
.economy-chain .chain-resource-icons{height:58px}.chain-resource-icons .chain-workshop-icon{width:64px;height:54px}@media(max-width:650px){.economy-chain .chain-resource-icons{height:44px}.chain-resource-icons .chain-workshop-icon{width:48px;height:42px}}

.scene-entry{display:inline-flex;align-items:center;justify-content:center;font:clamp(18px,1.5vw,23px) Georgia,serif;padding:17px 24px;margin-top:22px;border:1px solid #c7aa72;background:linear-gradient(130deg,#294c3de8,#0d211ce8);box-shadow:inset 0 0 0 3px #b18a4233;color:#f7e4bd;border-radius:3px;text-align:center}.freedom-steam{margin-top:25px}@media(max-width:760px){.scene-entry{font-size:18px;padding:16px 20px}}
/* Compact navigation keeps every control reachable without covering the film. */
@media(max-width:760px){
 html{scroll-padding-top:112px}
 .masthead{height:108px;display:grid;grid-template-columns:minmax(58px,1fr) repeat(4,44px);grid-template-rows:48px 34px;gap:5px;padding:8px max(12px,env(safe-area-inset-right)) 8px max(12px,env(safe-area-inset-left));background:#0d1917f5}
 .masthead .small-mark{grid-column:1;grid-row:1;width:72px;max-width:100%;margin:0}
 .masthead #language-open{grid-column:2;grid-row:1;width:44px;height:44px;min-width:0;padding:0}
 .masthead #sound-toggle{grid-column:3;grid-row:1;width:44px;height:44px}
 .masthead #motion-toggle{grid-column:4;grid-row:1;width:44px;height:44px}
 .masthead #menu-toggle{grid-column:5;grid-row:1;width:44px;height:44px}
 .masthead .downloads-link{grid-column:1/3;grid-row:2;justify-self:start;font-size:11px;line-height:1.2;white-space:normal;max-width:100%;padding:8px 0}
 .masthead .steam-link{grid-column:3/6;grid-row:2;justify-self:end;font-size:11px;line-height:1.2;white-space:normal;max-width:100%;text-align:end;margin:0}
 .masthead nav{top:108px;max-height:calc(100svh - 108px);overflow:auto}
 .hero{padding-top:calc(var(--scene-media-height) + 108px)}
 .hero>.ambient-video,.hero>.shade{top:108px}
 .economy-chain{grid-template-columns:minmax(0,1fr) 18px minmax(0,1fr) 18px minmax(0,1fr);gap:4px}
 .economy-chain>div{min-width:0}.economy-chain [data-chain-name]{font-size:clamp(13px,3.8vw,18px);line-height:1.25;overflow-wrap:anywhere}
 .chain-resource-icons img{width:24px;height:26px;min-width:0}.chain-resource-icons .chain-workshop-icon{width:48px;height:42px}
 .chain-bottom button,.film-chapters button,.nation-buttons button{min-height:44px}.chain-bottom button{min-width:44px}
 .scene-entry{max-width:100%;line-height:1.3;overflow-wrap:anywhere}
 .wallpaper-toolbar{display:grid;grid-template-columns:1fr;gap:14px}.wallpaper-toolbar .wallpaper-pack{width:100%;min-height:46px}
 .wallpaper-grid .wallpaper-name{overflow-wrap:anywhere}.together-columns h3{font-size:24px;line-height:1.3}
 dialog{max-width:calc(100vw - 20px);max-height:calc(100svh - 24px);overflow:auto}.close-dialog{min-width:44px;min-height:44px}
 footer{padding-bottom:max(30px,env(safe-area-inset-bottom))}
 .steam-finale>div{min-width:0;width:100%}.journey-invitation{min-width:0;max-width:100%;width:100%}.journey-invitation span{white-space:normal;overflow-wrap:anywhere}
 .power-choices,.diplomacy-tabs{flex-wrap:wrap}.power-choices button{min-width:0}
 .scene-content{min-width:0}.native-terrain-ring{max-width:100%}
}
@media(pointer:coarse){.power-choices button,.film-chapters button,.nation-buttons button{min-height:44px}.gallery-arrow,.close-dialog{min-width:44px;min-height:44px}}
/* The current language is the focus of its control, at every screen size. */
.masthead #language-open{justify-content:center;text-align:center;font-size:14px;font-weight:600;line-height:1;letter-spacing:.035em;min-height:40px}
.masthead #language-open span{display:block;text-align:center;line-height:1}
.hero-copyright{margin:12px 0 0;color:#f3e5c5;font-size:11px;line-height:1.5;letter-spacing:.025em;text-align:center;text-shadow:0 1px 4px #000}
.hero-copyright span[translate="no"]{direction:ltr;unicode-bidi:isolate;display:inline-block}
#hero-beat-number{direction:ltr;unicode-bidi:isolate;display:inline-block}
@media(max-width:760px){.masthead #language-open{font-size:15px}.hero-copyright{font-size:10px;margin-top:10px}dialog h2{padding-inline-end:44px}}
@media(min-width:761px) and (max-width:900px) and (orientation:portrait){
 .hero{padding-top:calc(var(--scene-media-height) + 75px)}.hero>.ambient-video,.hero>.shade{top:75px}
 .scene .scene-content,.scene .scene-content.right{padding:32px 44px 22px}
 .economy-chain{max-width:580px}.chain-bottom button{width:44px;height:44px}
 .scene .scene-copy{max-width:660px}.scene h2{max-width:660px}
}
