/* Cloud Dancer and the Atmospheric palette informed the soft whites and blue grays.
   The deeper navy surfaces and warm gold are the game’s screen colors. */
:root {
  color-scheme:dark;
  --ink:#0b1628; --panel:#101e33; --surface:#162841; --raised:#243b57; --line:#354a65;
  --ivory:#f2f1eb; --muted:#b6c7d9; --brass:#dcbd83; --gold:#f0d59c; --brass-edge:#897856;
  --serif:Georgia,'Times New Roman',serif;
  --sans:'Segoe UI',system-ui,sans-serif; --bar:56px; --dial:102px; --edge:16px;
}
body {color:var(--ivory);font:14px/1.45 var(--sans)}
[hidden]{display:none!important}
button,select{font:inherit;color:var(--ivory);border:1px solid var(--line);background:var(--surface);border-radius:5px;padding:6px 10px}
button:hover:not(:disabled),button:focus-visible,select:focus-visible{background:var(--raised)}
button:focus-visible,a:focus-visible,select:focus-visible,summary:focus-visible,[role=slider]:focus-visible{outline:2px solid var(--gold);outline-offset:3px}
a{color:#e5c98b;text-underline-offset:3px}
.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
#game-bar{z-index:6;display:flex;align-items:stretch;justify-content:normal;gap:10px;padding:0 var(--edge) 0 calc(var(--dial) + 2 * var(--edge));height:var(--bar);background:#101d31f7;border-bottom:1px solid var(--brass-edge);pointer-events:auto}
#game-bar nav{display:flex;align-items:stretch;gap:0}
#directions{justify-content:space-around;flex:1;min-width:0}
#game-bar button{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:0 clamp(5px,1vw,18px);white-space:nowrap;background:transparent;border:0;border-bottom:3px solid transparent;border-radius:0;font:clamp(14px,1.3vw,21px) var(--serif);color:var(--ivory)}
#game-bar button:hover{background:var(--raised)}
#game-bar button[aria-expanded=true]{color:var(--gold);border-bottom-color:var(--gold);background:var(--raised)}
#game-bar .utilities{margin:10px 0;border-left:1px solid var(--line);padding-left:6px}
#game-bar .utilities button{font:14px var(--sans)}
.seal{display:inline-block;flex:none;width:1.55em;height:1.55em;background:url('assets/interface/seals.png') no-repeat 0 50%/800% 100%}
.s-P{background-position:0% 50%}.s-E{background-position:14.286% 50%}.s-C{background-position:28.571% 50%}.s-M{background-position:42.857% 50%}.s-J{background-position:57.143% 50%}.s-T{background-position:71.429% 50%}.s-settings{background-position:85.714% 50%}.s-menu{background-position:100% 50%}
/* These two sheet cells have detached strokes below row 50 of 64. */
.seal:is(.s-M,.s-J){clip-path:inset(0 0 25% 0)}
#instruments{position:fixed;z-index:7;left:var(--edge);top:7px;display:flex;flex-direction:column;align-items:flex-start;gap:2px;pointer-events:none;font-variant-numeric:tabular-nums}
.sun-clock{width:var(--dial);height:var(--dial);position:relative;cursor:crosshair;touch-action:none;pointer-events:auto;color:var(--ivory);border-radius:50%;background:url('assets/interface/daylight-dial.webp') center/contain no-repeat;user-select:none;font:600 12px var(--serif);filter:drop-shadow(0 2px 3px #03081788)}
.sun-clock>span:not(.sun-arm),.sun-clock output{position:absolute;transform:translate(-50%,-50%);pointer-events:none}
.sun-clock .north{left:50%;top:15%}.sun-clock .south{left:50%;top:85%}.sun-clock .east{left:86%;top:50%}.sun-clock .west{left:14%;top:50%}
.sun-clock output{left:50%;top:66%;color:var(--ivory);font:bold 15px var(--serif);background:var(--ink);padding:0 3px;border-radius:2px}
.sun-arm{position:absolute;left:calc(50% - 1px);top:20%;height:30%;border-left:2px solid var(--brass);transform-origin:bottom;transform:rotate(var(--bearing,22deg));pointer-events:none}
.sun-arm span{position:absolute;left:-5px;top:-4px;width:8px;height:8px;border-radius:50%;background:#ffd87e;box-shadow:0 0 6px #ffe99c}
.instrument-readouts{display:grid;grid-template-columns:auto auto;align-items:center;gap:1px 3px;padding:3px 4px;background:#101d31f5;border:1px solid var(--brass-edge);border-radius:5px;pointer-events:auto}
.calendar{grid-column:1/-1;text-align:center}
.kicker{font:600 10px/1.35 var(--sans);letter-spacing:.13em;text-transform:uppercase;color:var(--brass)}
.calendar strong{font:600 12px/16px var(--serif);white-space:nowrap;display:block}
.light-modes{display:flex;border-left:1px solid var(--line);padding-left:3px}
.instrument-readouts button{font:600 11px/1 var(--sans);min-height:23px;padding:3px 5px;border:0;background:transparent;color:var(--muted)}
#campaign-pause{color:var(--gold)}
.instrument-readouts button:hover{background:var(--raised)}
.light-modes button[aria-pressed=true]{background:var(--gold);color:var(--ink)}

.glyph { width:20px; height:20px; display:inline-block; vertical-align:middle; flex:none; color:inherit }
.game-panel {
  position:fixed; z-index:4; top:calc(var(--bar) + 12px); right:var(--edge); width:clamp(355px,30vw,460px);
  max-height:calc(100dvh - var(--bar) - 68px); overflow:auto; overscroll-behavior:contain;
  color:var(--ivory); background:var(--panel); border:1px solid var(--brass-edge); border-radius:9px;
  padding:19px; box-shadow:0 14px 44px #02081180; scrollbar-color:#586e8b var(--ink); scrollbar-width:thin;
  font:15px/1.45 var(--sans); font-variant-numeric:tabular-nums;
}
.game-panel h2,.game-panel h3 {font-family:var(--serif);font-weight:500;color:var(--ivory);margin:0;line-height:1.12;text-wrap:balance}
.game-panel h2 {font-size:clamp(26px,2.1vw,35px)} .game-panel h3 {font-size:23px}
.game-panel p {color:var(--ivory);margin:8px 0}
.panel-heading,.panel-name,.research-heading,.section-label,.panel-tabs button,.project-link,.detail-path,.epoch-picker,.unlock>span,.unlock-inline,.setting-line label {
  display:flex;align-items:center;
}
.panel-heading {justify-content:space-between;gap:10px}.panel-name,.research-heading {gap:11px;min-width:0}
.panel-name .seal {width:40px;height:40px}.subhead {margin-top:4px;font:13px/1.3 var(--sans);color:var(--muted)}
.close-panel,.epoch-picker button {display:grid;place-items:center;flex:none;padding:0;width:34px;height:34px;background:transparent;border-color:var(--line);color:var(--ivory)}
.close-panel .glyph {width:16px;height:16px}
.panel-tabs {display:flex;margin:15px 0 14px;gap:3px;border-bottom:1px solid var(--line)}
.panel-tabs button {border:0;border-bottom:2px solid transparent;background:none;border-radius:0;gap:7px;padding:8px 13px;color:var(--muted);font:600 14px var(--sans)}
.panel-tabs .glyph,.section-label .glyph,.unlock .glyph,.unlock-inline .glyph {width:16px;height:16px}
.panel-tabs button[aria-pressed=true]{border-color:var(--gold);color:#f0d898;background:var(--raised)}
.kicker,.section-label,.atlas-labels,.fact dt,.tree-node small,.detail-path {font-family:var(--sans)}
.section-label,.kicker,.atlas-labels {font-size:11px;font-weight:700;line-height:1.4;text-transform:uppercase;letter-spacing:.1em;color:var(--brass)}
.section-label {gap:7px}.game-panel>.section-label {margin:18px 0 8px}
.objective {overflow:hidden;border:1px solid var(--line);border-radius:6px;background:var(--surface)}
.goal-scene,.route-goal {background-image:linear-gradient(90deg,#0b172be8,#11213c73 53%,transparent),var(--scene);background-position:center;background-size:cover}
.goal-scene {min-height:clamp(94px,9.5vw,134px);display:flex;flex-direction:column;align-items:start;justify-content:space-between;padding:13px 14px}
.goal-scene .section-label {color:#ffdf97;text-shadow:0 1px 4px #07111d}
.goal-scene h3 {max-width:76%;font-size:clamp(24px,2.2vw,37px);line-height:1.02;color:#fff4d7;text-shadow:0 2px 5px #07111d,0 0 12px var(--ink)}
.objective p {margin:0;padding:10px 14px;color:var(--ivory);font-size:14px;line-height:1.45;border-top:1px solid var(--line)}
.overview-next,.study-card {margin:14px 0 0;padding:13px 14px;border:1px solid var(--line);border-radius:6px;background:var(--surface)}
.research-shortcut {display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;text-align:left;background:transparent;padding:0;border:0}
.research-shortcut>.glyph {width:16px;color:var(--brass)}.research-heading .kicker{font-size:11px;letter-spacing:.09em}
.research-heading h3 {font-size:clamp(21px,1.8vw,29px);margin:2px 0}
.project-medal,.node-medal,.atlas-emblem {display:grid;place-items:center;flex:none;background:var(--raised);border:1px solid var(--brass-edge);color:#e9c783}
.project-medal {width:42px;height:42px;border-radius:50%}.project-medal>.glyph {width:24px;height:24px}
.etching {display:inline-block;flex:none;width:30px;height:24px;background:url('assets/interface/discovery-art.webp') no-repeat 0 50%/1300% 100%}
.unlock-inline {gap:7px;color:var(--muted);font-size:13px;margin:9px 0}.unlock-inline b{color:#f1e6c9;font-weight:600}
.unlock {margin:12px 0;background:var(--raised);border-left:2px solid var(--brass);padding:8px 11px}
.unlock span {gap:6px;color:var(--brass);font-size:12px}.unlock strong {display:block;font:600 16px/1.35 var(--sans);color:#fbedd0;margin-top:2px}
.project-status {display:block;color:var(--muted);font-size:13px;margin:4px 0}.spark-total{display:block;color:var(--muted);font-size:12px;font-variant-numeric:tabular-nums}
progress {display:block;appearance:none;width:100%;height:5px;border:0;border-radius:5px;overflow:hidden;background:var(--line);margin:5px 0 2px}
progress::-webkit-progress-bar{background:var(--line)}progress::-webkit-progress-value{background:#ddbd75}progress::-moz-progress-bar{background:#ddbd75}
.game-panel .primary,.game-panel .secondary {display:flex;align-items:center;justify-content:center;gap:8px;width:100%;margin-top:10px;padding:8px 12px;min-height:36px;border:1px solid var(--brass-edge);font:600 14px/1.35 var(--sans);color:var(--ivory);background:var(--raised)}
.game-panel .primary {background:var(--gold);color:var(--ink);border-color:#edd6a0}.game-panel .primary:hover{background:#efdaa5}
.primary .glyph,.secondary .glyph {width:17px;height:17px}
.facts {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin:6px 0 0}
.fact {display:flex;align-items:flex-start;gap:8px;background:var(--surface);border:1px solid var(--line);border-radius:4px;padding:9px;min-width:0}
.fact>.glyph {color:var(--brass);width:16px;height:16px;margin-top:2px}.fact dt {color:var(--muted);font-size:12px}.fact dd{margin:2px 0 0;font:600 16px/1.25 var(--sans);color:var(--ivory)}.study-facts dd{font-size:14px}
.game-panel details {margin-top:13px}.game-panel summary {cursor:pointer;color:#e0c48c}.field-notes {border-top:1px solid var(--line);font-size:14px;padding-top:10px}
.relatives {margin:14px 0}.relatives>div:last-child {display:flex;flex-wrap:wrap;gap:5px;margin-top:6px}
.project-link,.optional {gap:6px;border:1px solid var(--line);color:#e9d5a1;padding:5px 8px;background:var(--surface);font:500 13px/1.35 var(--sans);border-radius:4px}
.panel-tabs .atlas-open {margin-left:auto;align-self:center;background:var(--gold);color:var(--ink);border-radius:4px;border:1px solid #e7ce97;padding:5px 9px;min-height:31px}.panel-tabs .atlas-open:hover {background:#f1dba2;color:var(--ink)}
.objective p strong {color:#f1d493}.milestone-link {border:0;padding:0;background:none;color:#e4c988;text-align:left;font:600 14px var(--sans);text-decoration:underline;text-underline-offset:3px}.back-to-paths{display:none}
.project-link .glyph,.optional .glyph {width:15px;height:15px}.project-link .etching {width:23px;height:18px}.field-notes .project-link {display:inline-flex;margin:4px}
#knowledge-atlas {z-index:5;left:max(calc(var(--dial) + 2 * var(--edge) + 12px),calc((100vw - 1610px)/2));right:max(var(--edge),calc((100vw - 1610px)/2));width:auto;max-height:calc(100dvh - var(--bar) - 64px);padding:19px 21px}
.atlas-header {padding-bottom:13px;border-bottom:1px solid var(--line)}
.atlas-emblem {width:36px;height:36px;transform:rotate(45deg);border-radius:5px;margin:0 7px}.atlas-emblem .glyph {transform:rotate(-45deg)}
.atlas-columns {display:grid;grid-template-columns:minmax(0,2.7fr) minmax(220px,.95fr);gap:18px}.atlas-routes {min-width:0}
.epoch-picker {gap:6px;margin:14px 0}.epoch-picker .section-label {margin-right:5px}.epoch-picker select {font:600 15px var(--sans);color:#f1dfab;max-width:68%;height:34px}
.epoch-picker .glyph {width:16px;height:16px}
.atlas-detail {min-width:0;border-left:1px solid var(--line);padding:14px 0 0 15px}.detail-path {font-size:13px;gap:6px;color:var(--brass)}.detail-path .seal {width:22px;height:22px}
.atlas-detail .study-card {margin-top:8px}.atlas-detail .fact{display:block}.atlas-detail .facts {margin-top:8px}
.utility-panel h3 {margin:17px 0 8px;font-size:21px}.utility-panel .menu-tiles {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin:8px 0}
.menu-tiles a {display:flex;align-items:center;gap:9px;padding:12px 9px;min-height:46px;border:1px solid var(--line);background:var(--surface);border-radius:5px;color:var(--ivory);text-decoration:none;font:600 14px/1.3 var(--sans)}
.menu-tiles a:hover {background:var(--raised);border-color:var(--brass-edge)}.menu-tiles .glyph,.setting-line .glyph,#sky-layers .glyph {color:var(--brass);width:18px;height:18px}
.setting-line,.setting-line label {display:flex;align-items:center;gap:10px}.setting-line {justify-content:space-between;border:1px solid var(--line);background:var(--surface);border-radius:5px;padding:9px 11px}
#testing-tools #terrain-menu,#settings-panel #sky-layers{position:static;max-width:none;background:none;border:0;display:block;padding:0;color:var(--ivory);pointer-events:auto}
#settings-panel #sky-layers summary {font:500 21px var(--serif);padding:6px 0;color:var(--ivory)}#sky-layers summary .glyph {margin:0 4px}
#settings-panel #sky-layers fieldset{border:0;padding:5px 0}
#settings-panel #sky-layers label {display:flex;align-items:center;gap:9px;padding:9px;border-bottom:1px solid var(--line);font:14px var(--sans)}#sky-layers label input {margin-left:auto}
#testing-tools #qingdao-panel{background:var(--surface);max-height:none}
.menu-command{display:flex;align-items:center;gap:9px;width:100%;min-height:44px;margin-top:8px;text-align:left}
#testing-tools>summary{min-height:40px;align-content:center}
#tile-inspector{bottom:60px;left:var(--edge);max-width:min(330px,65vw);padding:7px 12px;background:#101d31f2;border:1px solid var(--brass-edge);border-radius:5px;z-index:2}
#tile-inspector summary{cursor:pointer;font:16px var(--serif);color:var(--ivory)}#tile-inspector details[open] summary{margin-bottom:6px}
#tile-inspector p{font-size:12px}#tile-inspector a{color:var(--brass)}#shelf-alert{position:fixed;bottom:60px;left:50%;transform:translateX(-50%);z-index:6;max-width:min(90vw,480px);border-color:#d9a66d}
footer{z-index:2;background:#101d31f5;border-color:var(--line);padding:7px var(--edge);gap:6px}footer button{padding:4px 9px;font-size:12px}footer small{font-size:11px}#pin,#moon-name{z-index:1}
.paired :is(#instruments,#game-bar,.game-panel,#shelf-alert){display:none!important}

@media(max-width:1250px) and (min-width:761px){
  #knowledge-atlas {left:var(--edge);top:calc(var(--dial) + 57px);max-height:calc(100dvh - var(--dial) - 69px)}
  .atlas-columns{grid-template-columns:minmax(0,2.7fr) minmax(210px,.9fr);gap:12px}.atlas-detail{padding-left:12px}
}
@media(max-width:1080px){
  :root{--dial:84px;--edge:10px;--bar:48px}
  #game-bar{gap:3px}#game-bar button{gap:4px}#game-bar .utilities button span{display:none}
  .game-panel{padding:16px}
}
@media(min-width:761px) and (max-width:900px){.atlas-columns{grid-template-columns:1fr}.atlas-detail{border:0;border-top:1px solid var(--line);padding:12px 0}}
@media(max-width:900px){
  .back-to-paths{display:inline-flex;align-items:center;gap:6px;margin-top:8px;padding:5px 8px;font-size:13px}.back-to-paths .glyph{width:14px;height:14px}
}
@media(max-width:760px){
  :root{--dial:68px;--bar:43px;--edge:8px}
  #game-bar{padding-left:80px;padding-right:3px;gap:2px}#directions{overflow-x:auto;justify-content:space-around;scrollbar-width:thin}
  #game-bar #directions button{flex:1 0 31px;font-size:16px;padding:0 4px}#game-bar #directions button span{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden}
  #game-bar .utilities{padding:0;margin:5px 0}#game-bar .utilities button{padding:0 5px}
  .sun-clock{font-size:9px}.sun-clock output{font-size:11px}
  .game-panel,#knowledge-atlas{top:calc(var(--dial) + 62px);max-height:calc(100dvh - var(--dial) - 109px);padding:14px}
  .game-panel{width:min(380px,calc(100vw - 16px))}#knowledge-atlas{left:var(--edge);right:var(--edge);width:auto}

  .atlas-columns{grid-template-columns:1fr;gap:12px}.atlas-detail{border-left:0;border-top:1px solid var(--line);padding:12px 0}
  .goal-scene{min-height:103px}.goal-scene h3{font-size:28px}
  footer{padding:5px 8px;flex-wrap:nowrap}footer small{display:none}footer button{padding:5px 7px}#tile-inspector{bottom:45px}
  body:has(#tile-details[open]) #tile-inspector{z-index:5;max-height:45dvh;overflow:auto}
}
@media(max-height:560px) and (min-width:761px){#knowledge-atlas{top:58px;left:150px;max-height:calc(100dvh - 68px)}}
@media(prefers-reduced-motion:no-preference){.game-panel:not([hidden]){animation:panel-in .14s ease-out}@keyframes panel-in{from{opacity:.8;translate:0 3px}to{opacity:1;translate:0 0}}}
#game-bar nav{flex-wrap:nowrap}
@media(min-width:610px) and (max-width:760px){#game-bar #directions button{flex-direction:column;gap:1px}#game-bar #directions button span{position:static;width:auto;height:auto;clip-path:none;font:600 10px var(--sans)}#directions .seal{width:19px;height:19px}}

/* The city keeps its population, output and workplaces together at map scale. */
#game-bar button {font-family:var(--sans);font-size:clamp(14px,1.05vw,17px);font-weight:600}
#game-bar button[aria-expanded=true] {background:linear-gradient(0deg,#253953,transparent)}
.sun-clock {background-color:#192e4a;background-blend-mode:luminosity;border:1px solid #bfa26b}
#pin {pointer-events:auto;display:flex;gap:5px;align-items:center;background:var(--ink);color:var(--gold);border:1px solid var(--brass-edge);border-radius:4px;padding:4px 8px}
#pin .glyph {width:14px;height:14px}
#city-panel {width:clamp(395px,33vw,520px);padding:0;border-color:#53647c}
.city-panorama {min-height:clamp(135px,11vw,180px);position:relative;display:flex;align-items:flex-end;padding:18px 21px;background:linear-gradient(0deg,#0c192bee,transparent 80%),linear-gradient(90deg,#102039a6,transparent 65%),var(--city-scene) 50% 54%/cover}
.city-panorama .close-panel {position:absolute;right:12px;top:12px;background:#0c1b30d9;color:var(--ivory)}
.city-panorama h2 {font-size:clamp(32px,2.8vw,48px);letter-spacing:-.025em;margin:3px 0;color:var(--ivory)}
.city-kicker,.city-location,.site-state,.city-backline>button,.return-site,.city-entry {display:inline-flex;align-items:center;gap:7px}
.city-kicker {font:700 11px/1.4 var(--sans);letter-spacing:.13em;text-transform:uppercase;color:var(--gold)}
.city-location {color:#e4eaf2;font-variant-numeric:tabular-nums;font-size:12px}
.city-kicker .glyph,.city-location .glyph,.city-backline .glyph,.site-state .glyph,.return-site .glyph {width:15px;height:15px}
.city-tabs {display:flex;padding:0 20px;gap:16px;background:var(--ink);border-bottom:1px solid var(--line)}
.city-tabs button {background:none;border:0;border-bottom:2px solid transparent;border-radius:0;padding:10px 3px;font:600 14px var(--sans);color:var(--muted)}
.city-tabs button[aria-pressed=true] {color:var(--gold);border-bottom-color:var(--gold)}
.city-body {padding:0 20px 16px}.city-body>p {padding-top:14px}
.city-section {padding:15px 0;border-bottom:1px solid var(--line)}.city-section:last-child{border:0;padding-bottom:0}
.city-section-title {display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:8px}
.city-section-title h3 {font-size:20px}.city-section-title>span {color:var(--muted);font-size:12px}
.census {display:flex;align-items:baseline;gap:9px}.census>strong{font:500 34px/1.1 var(--serif);color:var(--ivory)}.census>span {font-size:13px;color:var(--muted)}
.census-bar {display:flex;height:6px;gap:3px;margin:9px 0 6px;border-radius:3px;overflow:hidden}
.census-bar i:nth-child(1),.census-key>div:nth-child(1)::before{background:#dfc083}
.census-bar i:nth-child(2),.census-key>div:nth-child(2)::before{background:#8baecf}
.census-bar i:nth-child(3),.census-key>div:nth-child(3)::before{background:#67768f}
.census-key {display:grid;grid-template-columns:repeat(3,1fr);gap:4px}
.census-key>div{display:grid;grid-template-columns:7px 1fr;column-gap:6px;align-items:center}
.census-key>div::before{content:'';width:6px;height:6px;border-radius:50%}
.census-key span {font-size:12px;color:var(--muted)}.census-key b{grid-column:2;font-size:14px;font-weight:600}
.city-inventory {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin-top:11px}
.city-inventory>div {display:grid;grid-template-columns:auto 1fr;align-items:center;gap:3px 5px;padding:0 8px;border-left:1px solid var(--line);min-width:0}
.city-inventory>div:first-child {border:0;padding-left:0}.city-inventory>div:last-child{padding-right:0}
.city-inventory .glyph {width:15px;height:15px;color:var(--brass)}.city-inventory span {font-size:12px;color:var(--muted)}
.city-inventory strong,.city-inventory small {grid-column:1/-1}.city-inventory strong{font:600 clamp(16px,1.28vw,21px)/1.25 var(--sans);overflow-wrap:anywhere}
.city-inventory small{color:var(--muted);font-size:12px}
.facility-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
.facility-button {display:flex;align-items:center;gap:8px;min-width:0;min-height:58px;padding:8px 9px;text-align:left;color:var(--ivory);background:var(--surface);border:1px solid var(--line);border-radius:5px}
.facility-button:hover,.facility-button:focus-visible {border-color:var(--brass);background:var(--raised)}
.facility-icon {width:32px;height:32px;display:grid;place-items:center;color:var(--gold);background:#213751;border-radius:6px;flex:none}
.facility-icon .glyph{width:19px;height:19px}.facility-button>span:nth-child(2){flex:1;min-width:0}
.facility-button strong,.facility-button small {display:block}.facility-button strong {font:600 14px/1.25 var(--sans)}
.facility-button small{font:12px/1.25 var(--sans);color:var(--muted);margin-top:3px}.facility-button>.glyph{width:13px;height:13px;color:var(--brass)}
.city-backline {display:flex;align-items:center;justify-content:space-between;padding:13px 18px;background:var(--ink);border-bottom:1px solid var(--line)}
.city-backline>button:first-child,.return-site{background:none;border:0;color:var(--gold);padding:5px 0;font:600 14px var(--sans)}
.site-title {display:flex;align-items:center;gap:14px;padding:24px 20px 10px}.site-title .facility-icon{width:56px;height:56px}.site-title .glyph {width:32px;height:32px}
.site-title h2 {margin-top:4px}.site-state {color:var(--brass);font-size:13px;margin:3px 20px}
#city-panel .site-description {margin:8px 20px 18px;color:var(--ivory);font-size:15px}
.site-info {margin:0 20px 20px}.site-info>div {display:grid;grid-template-columns:minmax(105px,.8fr) 1.2fr;gap:12px;border-top:1px solid var(--line);padding:11px 0}
.site-info dt {color:var(--muted)}.site-info dd {margin:0;text-align:right;color:var(--ivory);font-weight:600}
#city-panel>.primary {width:calc(100% - 40px);margin:0 20px 20px}
.city-entry {width:100%;min-height:58px;margin-top:18px;padding:12px 14px;text-align:left;font:22px var(--serif);color:var(--ivory);border:1px solid var(--brass-edge);background:linear-gradient(90deg,#122239eb,#10203970),var(--city-scene) 50% 55%/cover}
.city-entry .glyph {color:var(--brass)}
@media(max-width:760px) {
  #city-panel{width:min(430px,calc(100vw - 16px))}
  .city-panorama{min-height:120px}.city-body{padding-inline:14px}.city-tabs{padding-inline:14px}.facility-button{gap:6px;padding:7px}
}
@media(max-width:385px){.facility-grid{grid-template-columns:1fr}.city-inventory{grid-template-columns:repeat(2,1fr);row-gap:12px}.city-inventory>div:nth-child(3){border:0;padding-left:0}}
.site-recipe {margin:12px 20px 15px;padding:12px 14px;background:var(--surface);border-left:2px solid var(--brass);border-radius:3px}
.site-recipe h3 {font-size:18px}
.recipe-flow {display:grid;grid-template-columns:1fr 18px 1fr;align-items:center;gap:8px;margin:10px 0}
.recipe-flow .glyph {color:var(--brass);width:16px}.recipe-flow small,.site-recipe>span {color:var(--muted);font-size:12px}
.recipe-flow strong {display:block;color:var(--ivory);font:600 15px/1.35 var(--sans)}.site-recipe+.site-info{margin-top:14px}
.city-section .field-notes[open] .facility-grid {margin-top:9px}

.work-orders {background:var(--surface);border:1px solid var(--line);padding:14px;margin:15px 20px;border-radius:6px}
.work-orders h3{font-size:20px}.work-orders label {display:grid;gap:4px;color:var(--muted);font-size:13px;margin-top:10px}
.work-orders h4{margin:14px 0 6px;color:var(--ivory);font:600 15px var(--sans)}
.work-stock{display:flex;flex-wrap:wrap;gap:8px 16px;border-block:1px solid var(--line);padding:8px 0}
.work-stock>div{display:grid;gap:2px}.work-stock span{color:var(--muted);font-size:12px;text-transform:capitalize}
.work-stock strong{color:var(--ivory);font:600 18px var(--sans);font-variant-numeric:tabular-nums}
.site-title {padding:13px 20px;background:linear-gradient(90deg,#101d31 12%,#101d31dd 54%,#101d3155),var(--city-scene) center 52%/cover;border-bottom:1px solid var(--brass-edge)}
.site-title .site-state{margin:3px 0 0;color:var(--gold)}.site-title .facility-icon .glyph{width:32px;height:32px}
.city-backline{padding-block:7px}.site-recipe{margin-block:12px 8px}.recipe-flow{margin-block:5px}
.work-output{margin:10px 20px}.work-output .production-readout{margin:0 0 5px;color:var(--gold);font-weight:600}
.stock-heading{display:flex;align-items:baseline;justify-content:space-between;padding:5px 0}.stock-heading h4{margin:0;font:600 16px var(--sans)}.stock-heading>span{color:var(--muted);font:13px var(--sans)}
.work-stock{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.work-stock>div{grid-template-columns:auto 1fr;align-items:center;column-gap:7px}
.work-stock .glyph{grid-row:span 2;width:27px;height:27px;color:var(--brass)}.work-stock strong{grid-column:2}
.work-output label{display:grid;gap:4px;margin-block:6px}.work-output select{max-width:100%}
.work-orders select{max-width:100%;width:100%}.work-buttons {display:flex;align-items:stretch;gap:6px;margin-top:8px}
.work-orders .work-buttons button{margin:0;width:auto;flex:1}.production-readout{display:flex;align-items:center;gap:8px;color:var(--gold);margin-top:12px}
.city-inventory{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.city-inventory>div{border:none;padding:0}.city-inventory span{text-transform:capitalize}
.facility-icon {width:40px;height:40px}.facility-icon .glyph {width:26px;height:26px}
#game-bar #directions .seal{width:clamp(30px,2.8vw,46px);height:clamp(30px,2.8vw,46px)}
#game-bar #directions button{padding-inline:clamp(4px,.5vw,10px)}

/* Facility menus share the same inventory symbols as their production recipes. */
#city-panel{width:clamp(430px,35vw,560px)}
#city-panel .facility-grid{grid-template-columns:repeat(auto-fit,minmax(min(170px,100%),1fr))}
.facility-button{min-height:74px;gap:9px;padding:7px}.facility-button strong{font-size:16px}.facility-button small{font-size:12px}
.facility-icon{width:49px;height:49px;background:linear-gradient(135deg,#35495b,#1c2b3e);border:1px solid #766d55;border-radius:10px}
.facility-icon .glyph{width:35px;height:35px}.facility-button>.glyph{width:16px;height:16px}
.facility-button.plan-locked{background:#162130;border-color:#384b60;color:#b8c5d2}.plan-locked .facility-icon{color:#a6b4c1;background:#253140;border-color:#455361}
.site-title .facility-icon{width:70px;height:70px;padding:6px;border-radius:14px}.site-title .facility-icon .glyph{width:47px;height:47px}
.site-title{padding:12px 20px}.site-title h2{font-size:34px}.site-title .site-state{font-size:14px}
.city-backline .close-panel,.city-backline>button:first-child,.city-tabs button,.work-buttons button,.work-orders select{min-height:44px}
.site-recipe{padding:10px 13px;border:1px solid #48546a;border-top:2px solid #bf9e60;border-radius:6px;background:linear-gradient(110deg,#202f44,#18273c)}
.recipe-heading{display:flex;justify-content:space-between;align-items:baseline;gap:8px}.recipe-heading small,.recipe-process small{font:13px var(--sans);color:var(--muted)}
.recipe-process{display:grid;grid-template-columns:minmax(0,2fr) 19px minmax(0,1fr);align-items:center;gap:7px;margin-top:5px}
.recipe-items{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.recipe-item{display:inline-flex;align-items:center;gap:5px;font:500 14px/1.12 var(--sans);text-transform:capitalize}
.recipe-item i{display:grid;place-items:center;width:30px;height:34px;color:var(--brass)}.recipe-item .glyph{width:29px;height:29px}
.recipe-item b{font-weight:700}.recipe-plus,.recipe-process>.glyph{color:var(--brass)}.recipe-result .recipe-item{color:#f3d9a2}
.other-recipes{margin:8px 20px}.other-recipes summary{cursor:pointer;color:var(--gold)}
.city-inventory .glyph{width:28px;height:28px}.work-stock .glyph{width:35px;height:35px}.work-stock strong{font-size:21px}.work-stock span{font-size:13px}
.work-orders .work-buttons .glyph{width:22px;height:22px}
.facility-masthead{display:grid;grid-template-columns:36px minmax(0,1fr) 40px;align-items:center;gap:5px;padding:9px 9px 9px 5px;border-bottom:1px solid var(--brass-edge);
  background:linear-gradient(90deg,#132339 12%,#132339e8 53%,#13233977),var(--city-scene) center 51%/cover}
.facility-masthead .site-title{padding:0;border:0;background:none;gap:10px}.facility-masthead .site-title h2{margin:1px 0}
.facility-masthead .close-panel,.facility-up{width:100%;min-height:44px}.facility-up{padding:3px;border:0;background:transparent;color:var(--gold)}
.facility-icon .etching{width:44px;height:38px}.site-title .facility-icon .etching{width:64px;height:53px}
.facility-masthead .site-title .facility-icon{background:#283a4ce6}.city-kicker{overflow-wrap:anywhere}
@media(max-width:760px){#city-panel{width:min(475px,calc(100vw - 16px))}.work-orders{margin-inline:14px}}
@media(max-width:650px){#game-bar #directions .seal{width:26px;height:26px}}
@media(max-width:410px){.facility-button strong{font-size:15px}.site-title,.city-body{padding-inline:14px}.site-recipe,.work-output,.site-info{margin-inline:14px}.recipe-process{gap:4px}.recipe-process .recipe-items{gap:3px}.recipe-item{gap:2px}}

/* The field overview keeps the end condition, local milestones and next order in one scan. */
#direction-panel:has(.direction-hero) {
  padding:0; width:clamp(390px,32vw,478px); background:#111f32;
}
.direction-hero {
  position:relative; isolation:isolate; min-height:142px; display:flex; flex-direction:column;
  justify-content:space-between; gap:18px; padding:13px 20px 17px; border-bottom:1px solid var(--brass-edge);
  background:linear-gradient(90deg,#0a172ae6 0%,#0a172a88 46%,transparent 86%),
    linear-gradient(0deg,#0a172af0,transparent 70%),var(--scene) center 48%/cover;
}
.direction-hero .close-panel {position:absolute;top:9px;right:9px;min-width:42px;min-height:42px;background:#101b2bda;border-color:#a49678a0}
.direction-identity {display:flex;align-items:center;gap:9px;padding-right:40px}
.direction-identity .seal {width:34px;height:34px;filter:drop-shadow(0 1px 2px #08101b)}
.direction-identity h2 {font:600 15px/1.2 var(--sans);color:#fff4db;text-shadow:0 1px 4px #0b1726}
.hero-objective .kicker {color:#f0cf91;letter-spacing:.14em}
.hero-objective h3 {font-size:clamp(30px,2.35vw,38px);line-height:1.04;max-width:100%;text-wrap:balance;color:#fff5df;text-shadow:0 1px 5px #07111d;margin-top:3px}
.direction-hero+.panel-tabs {margin:0;padding:0 14px;background:#12243a}
.direction-hero+.panel-tabs button {min-height:42px}
.direction-hero+.panel-tabs .atlas-open {border:0;color:var(--brass);background:none}
.direction-body {padding:0 20px 10px}
.direction-body :is(.direction-targets,.direction-progress) {padding:15px 0;border-bottom:1px solid var(--line)}
.brief-caption {display:flex;align-items:baseline;justify-content:space-between;gap:8px}
.direction-body .brief-caption h3 {font:600 16px/1.25 var(--sans);color:var(--ivory)}
.brief-caption strong {font:600 15px/1 var(--sans);color:var(--gold)}
.brief-caption strong span {font-weight:400;color:var(--muted)}
.field-research-meter {margin:13px 0 6px;height:7px}
.direction-progress .foundation-summary {display:flex;align-items:center;gap:6px;font-size:13px;color:var(--muted);margin:8px 0 0}
.foundation-summary .glyph {height:16px;width:16px;color:var(--brass)}
.direction-targets dl {display:flex;margin:10px 0 0}
.direction-targets dl>div {flex:1;min-width:0;display:flex;flex-direction:column-reverse;justify-content:flex-end;padding-right:8px}
.direction-targets dl>div+div {border-left:1px solid var(--line);padding-left:12px}
.direction-targets dd {margin:0;color:#f0d69e;font:500 clamp(23px,1.8vw,29px)/1.08 var(--serif)}
.direction-targets dt {color:#e1e7ee;font:500 13px/1.25 var(--sans);margin-top:4px}
.direction-targets p {margin:10px 0 0;color:var(--muted);font-size:12px;line-height:1.35}
.direction-progress ol {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;list-style:none;margin:12px -2px 0;padding:0}
.direction-progress li {position:relative;display:flex;flex-direction:column;align-items:center;gap:6px;text-align:center;color:#b0bdd0;font:500 12px/1.2 var(--sans);padding:0 2px}
.direction-progress li:not(:first-child)::before {content:"";position:absolute;right:calc(50% + 17px);top:17px;width:calc(100% - 34px);border-top:1px solid #516078}
.direction-progress li.done::before,.direction-progress li.up-next::before {border-color:#a88b55}
.step-medal {position:relative;display:grid;place-items:center;width:35px;height:35px;border:1px solid #465a72;border-radius:50%;background:#172a41}
.step-medal>.glyph {width:21px;height:21px}.step-medal>.etching {width:28px;height:23px}
.step-medal i {position:absolute;right:-3px;bottom:-3px;display:grid;place-items:center;border-radius:50%;color:#f4d99e;background:#14283a}
.step-medal i .glyph{width:14px;height:14px}
.direction-progress .done,.direction-progress .up-next {color:#f2deb2}
.done .step-medal {border-color:#a78b59;background:#263244}
.up-next .step-medal {border:2px solid #edcf8d;box-shadow:0 0 0 2px #d8b87d1a}
.order-button {display:flex;align-items:center;gap:12px;width:100%;margin-top:18px;padding:11px 13px;text-align:left;color:#f5e6c5;border:1px solid #988459;border-radius:4px;background:linear-gradient(105deg,#304356,#203248)}
.order-button:hover:not(:disabled),.order-button:focus-visible{background:#354a60;border-color:var(--gold)}
.command-symbol{flex:none;color:var(--gold)}.command-symbol .glyph{width:33px;height:33px}.command-symbol .etching{width:40px;height:32px}
.command-text{flex:1;min-width:0}.command-text strong,.command-text span{display:block}
.command-text strong {font:600 19px/1.15 var(--sans)}.command-text span{font:400 14px/1.3 var(--sans);color:#d7e1ea;margin-top:4px}
.order-button>.glyph,.open-chart>.glyph:last-child,.study-site>.glyph:last-child{margin-left:auto;width:17px;height:17px}
.direction-progress li>button{position:relative;display:flex;align-items:center;flex-direction:column;gap:6px;width:100%;min-height:54px;padding:0;border:0;background:transparent;color:inherit;font:inherit}
.direction-progress li>button:hover:not(:disabled){background:transparent;color:#fff1ce}.direction-progress li>button:hover .step-medal{border-color:var(--gold)}
.direction-identity h2{font-size:18px}.hero-objective h3{display:flex;gap:10px;align-items:baseline}
.hero-objective .glyph{width:19px;height:19px;color:var(--gold)}
.direction-targets dl {margin:0}.direction-targets dd{font-size:clamp(26px,2vw,34px)}
.direction-progress li,.direction-targets dt{font-size:14px}
.open-chart,.study-site {width:100%;display:flex;align-items:center;gap:10px;text-align:left;min-height:47px;padding:9px 0;border:0;border-bottom:1px solid var(--line);border-radius:0;background:transparent;color:var(--ivory);font:600 15px var(--sans)}
.open-chart>.glyph:first-child,.study-site>.glyph:first-child{width:24px;height:24px;color:var(--brass)}.open-chart .seal{width:30px;height:30px}
.screen-bar{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:1px 10px;background:var(--ink);border-bottom:1px solid var(--line)}
.screen-bar .close-panel,.screen-back{min-height:44px}.screen-bar .close-panel{border:0;width:44px}
.screen-back{display:inline-flex;align-items:center;gap:4px;min-width:44px;max-width:100%;text-align:left;font:600 15px/1.22 var(--sans);color:var(--gold);border:0;background:transparent;padding:6px}
.screen-back .glyph{width:19px;height:19px}
#direction-panel:has(.study-face){padding:0}
.painted-icon,.portrait-face{display:inline-block;flex:none;width:2.3em;height:2.3em;background-repeat:no-repeat;vertical-align:middle}
.detail-art{width:28px;height:28px;border-radius:50%;vertical-align:middle}
.spark-meter .detail-art,.reward-plate strong .detail-art{width:27px;height:27px}
.reward-plate strong .detail-art{margin-right:7px;vertical-align:-4px}
.signature-cost small,.material-lot{display:inline-flex;align-items:center;gap:4px}
.signature-cost small .detail-art,.material-lot .detail-art,.material-lot>.glyph{width:22px;height:22px}
.study-need .painted-icon{width:30px;height:30px;border-radius:50%}
.fact>.painted-icon,.fact>.scholar-portrait{width:32px;height:32px;border-radius:50%}
.work-stock .detail-art{grid-row:span 2;width:34px;height:34px}
.recipe-item>.detail-art{width:32px;height:32px}
.facility-icon>.painted-icon,.inspector-emblem>.painted-icon,.step-medal>.painted-icon{width:100%;height:100%;border-radius:inherit}
.project-link>.painted-icon{width:26px;height:26px;border-radius:50%}
.study-face{display:flex;align-items:center;gap:12px;padding:18px 16px;border-bottom:1px solid #615643;background:linear-gradient(120deg,#1d2c39,#101c28)}
.game-panel .study-face h3{margin:0;color:#fff2d9;font:500 clamp(27px,2.1vw,38px)/1.06 var(--serif)}
.study-face>div>span{display:block;margin-top:6px;color:#c8d0d8;font:500 14px/1.3 var(--sans)}
.study-known .glyph{color:var(--brass);width:19px;height:19px}
.research-controls{display:flex;align-items:center;gap:8px}
.spark-meter{min-width:0;flex:1}
.spark-meter>div{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:4px 7px;align-items:center}
.spark-meter .glyph{width:22px;height:22px;color:var(--gold)}
.spark-meter b{grid-area:1/3;color:var(--gold);font:650 15px var(--sans);font-variant-numeric:tabular-nums}
.spark-meter .spark-total{grid-area:1/2;color:var(--ivory);font:650 clamp(14px,1.15vw,18px)/1.3 var(--sans);overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.spark-meter progress{grid-area:2/1/3/4;height:9px;border:1px solid #817156;background:#2d3949;margin:1px 0;border-radius:3px}
.spark-meter progress::-webkit-progress-bar{background:#2d3949}.spark-meter progress::-webkit-progress-value{background:linear-gradient(90deg,#b37b43,#eed398)}
.study-pause{width:44px;height:44px;display:grid;place-items:center;color:var(--gold);border-color:#8a795c}.study-pause .glyph{width:22px;height:22px}
.reward-plate{margin:16px 0 10px;border:1px solid #8d7959;border-radius:4px;overflow:hidden;background:#111e2b}
.reward-art{display:grid;place-items:center;background:radial-gradient(ellipse at 50% 72%,#27343b,#0d1a26);height:clamp(118px,19vh,208px);overflow:hidden}
.reward-art>.painted-icon{width:auto;height:100%;aspect-ratio:1;mask-image:linear-gradient(90deg,transparent,#000 9% 91%,transparent)}
.reward-art img{width:100%;height:100%;object-fit:cover}
.reward-plate figcaption{padding:9px 12px 10px;text-align:center;border-top:1px solid #695d48}
.reward-plate strong{display:block;font:600 clamp(22px,1.7vw,29px)/1.14 var(--serif);color:var(--ivory)}
.reward-plate strong .glyph{width:21px;height:21px;color:var(--gold);vertical-align:-1px;margin-right:7px}
.reward-plate figcaption>span,.reward-plate small{display:block;margin-top:4px;color:#d1d7da;font:500 15px/1.35 var(--sans)}
.study-post,.signature-cost>div,.study-prereqs{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.study-post{justify-content:space-between;margin:8px 0;color:var(--ivory);font:500 15px/1.3 var(--sans)}
.study-post>span,.host-link,.rank-token{display:inline-flex;align-items:center;gap:7px}
.host-link{min-height:44px;border:0;background:transparent;padding:2px;color:var(--gold);font:inherit;text-decoration:underline;text-underline-offset:3px}
.study-post .painted-icon{width:42px;height:42px;border-radius:50%}
.study-post .glyph,.rank-token .glyph{width:19px;height:19px;color:var(--brass);flex:none}
.signature-cost{margin:9px 0 12px;padding-block:9px;border-block:1px solid #655a49;font:600 15px/1.4 var(--sans)}
.signature-cost small{margin-left:auto;color:var(--muted);font:500 14px var(--sans)}
.rank-token{margin-top:5px;color:var(--ivory);font-weight:500}.rank-token.signed{color:var(--gold)}
.scholar-portrait{position:relative;display:inline-grid;flex:none;width:48px;height:48px;place-items:center}
.portrait-face{width:100%;height:100%;border-radius:50%;border:1px solid #897654}
.rank-marks{position:absolute;bottom:-1px;left:50%;transform:translateX(-50%);background:#11202c;color:#f4d398;font:9px/1.15 var(--sans);letter-spacing:1px;padding:1px 3px;border-radius:5px;white-space:nowrap}
.portrait-picker{flex-wrap:wrap}.portrait-picker select{min-height:42px;max-width:100%}
#portrait-preview{display:flex;justify-content:space-around;gap:7px;margin:8px 0 16px}
#portrait-preview>span{display:grid;justify-items:center;gap:5px;color:var(--ivory);font:500 14px var(--sans)}
#portrait-preview .scholar-portrait{width:54px;height:54px}
.study-prereqs{gap:5px 10px;margin-top:9px;color:var(--ivory);font:500 15px/1.4 var(--sans)}
.study-prereqs>span:first-child{color:var(--muted)}
.study-need{display:flex;align-items:baseline;gap:5px}.study-need+.study-need{margin-top:3px}.study-need .glyph{width:15px;height:15px;align-self:center;color:var(--brass)}
.research-sheet .study-known,.research-sheet .study-blocker{margin:10px 0 0;color:var(--gold);font:500 15px/1.35 var(--sans)}
.study-known{display:flex;align-items:center;gap:6px}
.research-sheet .primary,.research-sheet .secondary{min-height:44px}
.study-materials{margin-top:13px}
.study-materials h4{margin:0 0 5px;color:var(--ivory);font:600 15px/1.35 var(--sans)}
.study-materials dl{margin:0}.study-materials dl>div{display:flex;align-items:baseline;justify-content:space-between;gap:9px;font:500 14px/1.35 var(--sans)}
.study-materials dd{margin:0;color:var(--muted);text-align:right}
.plan-name,.study-field{padding:2px 0;background:transparent;border:0;color:var(--brass);font:inherit;text-align:left;text-decoration:underline;text-underline-offset:3px}
.plan-name{min-height:38px}
.inspector-body .research-next{margin:14px 0 0;padding:12px 0 0;border-top:1px solid var(--line);color:var(--ivory);font:500 15px/1.45 var(--sans)}
.research-next span{color:var(--muted);margin-right:4px}
.inspector-body>.open-chart{margin-top:8px}
#city-panel>.facility-research{width:calc(100% - 40px);margin:10px 20px 16px}
.site-info.build-resources{margin-block:12px}.build-resources small,.build-resources small strong{font:400 13px/1.35 var(--sans);color:var(--muted)}
.earned-links {margin-top:8px}
.direction-body .field-notes {margin:0;padding:0;border-top:0;border-bottom:1px solid var(--line)}
.direction-body .field-notes summary {padding:11px 0;min-height:41px;color:#d2dce8;font:500 14px/1.35 var(--sans)}
.direction-body .field-notes[open] {padding-bottom:10px}.direction-body .field-notes:last-child{border-bottom:0}
@media(max-width:760px){
  #direction-panel:has(.direction-hero){width:min(420px,calc(100vw - 2 * var(--edge)))}
  .direction-hero{min-height:118px;padding:11px 15px 14px;gap:11px}
  .direction-body {padding-inline:14px}.direction-hero+.panel-tabs {padding-inline:8px}
}
@media(max-height:760px) {
  .direction-hero{min-height:106px;gap:9px;padding-block:10px 12px}.direction-body :is(.direction-targets,.direction-progress){padding-block:11px}
  .direction-progress ol{margin-top:9px}.direction-order{margin-top:11px}
}
@media(max-width:370px) {
  .direction-targets dl>div+div{padding-left:7px}.direction-targets dt,.direction-progress li{font-size:12px}
}
.game-panel{--city-scene:url('assets/interface/city-at-dusk.webp')}
body[data-city-epoch="0"] .game-panel{--city-scene:url('assets/interface/city-early-settlements.webp')}
body[data-city-epoch="1"] .game-panel{--city-scene:url('assets/interface/city-early-states.webp')}
