/* Project Outbreak — tactical interface system. */
@font-face{font-family:Rajdhani;src:url('assets/fonts/rajdhani-400.ttf') format('truetype');font-weight:400;font-display:swap}
@font-face{font-family:Rajdhani;src:url('assets/fonts/rajdhani-500.ttf') format('truetype');font-weight:500;font-display:swap}
@font-face{font-family:Rajdhani;src:url('assets/fonts/rajdhani-600.ttf') format('truetype');font-weight:600;font-display:swap}
@font-face{font-family:Rajdhani;src:url('assets/fonts/rajdhani-700.ttf') format('truetype');font-weight:700;font-display:swap}
@font-face{font-family:Teko;src:url('assets/fonts/teko-500.ttf') format('truetype');font-weight:500;font-display:swap}
@font-face{font-family:Teko;src:url('assets/fonts/teko-600.ttf') format('truetype');font-weight:600;font-display:swap}
:root{--ui-font:'Rajdhani',sans-serif;--display-font:'Teko',sans-serif;--bg:#080c0f;--panel:#12191e;--line:#ffffff24;--muted:#aab5bc;--text:#edf1f3;--green:#d7f72f;--amber:#ff783d;--accent:#d7f72f;--blue:#89b9d4;--positive:#b1dbc9;--negative:#ff9c7a;--grid:linear-gradient(#acc2d008 1px,transparent 1px),linear-gradient(90deg,#acc2d008 1px,transparent 1px);--dots:radial-gradient(#b9d0de32 .8px,transparent .9px)}
body{background:radial-gradient(ellipse at 24% 0,#23374480,transparent 55%),#080c0f;color:var(--text);font:500 16px/1.5 var(--ui-font);background-attachment:fixed}
body:before{background:var(--grid);background-size:80px 80px;opacity:.6}
/* Retire legacy font stacks without changing map labels or generated artwork. */
body :is(button,select,label,small,strong,span,b,summary,time,kbd,p,li,div.eyebrow){font-family:var(--ui-font)!important}
body :is(h1,h2,h3,h4){font-family:var(--display-font)!important;font-weight:500;letter-spacing:.6px}
body p{color:#bac4ca}
button,select{border-radius:0;box-shadow:none;letter-spacing:.7px}
button{font-weight:600;transition:background 140ms,color 140ms,border-color 140ms}
button:hover:not(:disabled){border-color:#eff4f5}
button:focus-visible,summary:focus-visible,select:focus-visible{outline:2px solid var(--accent);outline-offset:4px}
button:disabled{cursor:not-allowed}
.ui-icon{width:20px;height:20px;display:inline-block;vertical-align:middle;flex-shrink:0}
[data-icon]{display:inline-flex;align-items:center;justify-content:center}
.primary{background:var(--accent);color:#111608;border-color:var(--accent);box-shadow:none}
.primary:hover{background:#f0f5e1}
.eyebrow{color:var(--accent);font-size:12px;font-weight:600;letter-spacing:1.8px}
.command-heading{border-color:var(--line);min-height:92px;padding-block:8px 14px;margin-bottom:12px}
.command-heading h1{font-size:29px;letter-spacing:1px}
.command-heading .eyebrow{font-size:11px}
.command-heading .sim-date strong{font-family:var(--display-font)!important;font-size:30px;letter-spacing:1px;line-height:1}
.command-heading .game-nav button{display:flex;align-items:center;justify-content:center;gap:7px;font-size:13px;letter-spacing:.4px;background:#ffffff04}
.command-heading .game-nav .ui-icon{width:15px;height:15px}
.command-heading .game-nav #open-cure-lab{color:var(--accent);border-color:#d7f72f66}
.command-heading .game-nav #open-cure-lab:hover{background:var(--accent);color:#101608}
.playback #playback-toggle{background:var(--accent)}
.playback .ui-icon{width:17px;height:17px}
#speed-toggle>span .ui-icon{width:15px}
.population-metrics,.treasury{background:#11191dc7;border-color:var(--line)}
.population-card,.treasury-item{padding:11px 17px;border-color:#ffffff16}
.population-card label,.treasury-item label{font-size:11px;letter-spacing:1.1px;color:#b6c1c8}
.population-card strong{font-size:32px;line-height:1.15;font-weight:700;letter-spacing:-.6px;margin:5px 0}
.population-card small,.treasury-item small{font-size:11px;color:#94a4ae}
.population-card.infected strong{color:var(--accent)}
.population-card.dead strong{color:var(--negative)}
.population-card.healthy strong{color:#c5d5de}
.treasury-item strong{font-size:27px;font-weight:600;line-height:1.2;font-variant-numeric:tabular-nums;color:#e1e8ed}
#reserve-balance{color:var(--accent)}
.treasury-item strong.positive{color:var(--positive)}
.treasury-item strong.negative{color:var(--negative)}
.treasury-detail{font:500 12px var(--ui-font);color:#a4b1b9;border-color:#ffffff15;padding:8px 17px}
.view-tabs{gap:0;padding-block:12px}
.view-tabs button{display:flex;align-items:center;gap:9px;border-bottom:2px solid transparent;background:transparent;font-size:13px;padding:10px 17px;color:#b8c1c7;font-weight:600}
.view-tabs .ui-icon{width:16px;height:16px}
.view-tabs button[aria-pressed=true]{background:linear-gradient(#c8e0ef20,#c8e0ef05);border-color:#e7eff3;color:white;box-shadow:none}
.view-tabs button.whole-uk{background:var(--accent);color:#142008;margin-right:9px}
.view-tabs button:hover{background:#e2eaf0;color:#11191f}
.map-context,.map-intel{background:linear-gradient(110deg,#11191ef2,#10171de6);border:1px solid #a8becb2b;backdrop-filter:blur(12px)}
.map-context h2{font-size:34px;line-height:1;letter-spacing:.8px}
.map-context>p{font-size:14px;line-height:1.5;color:#bac6cd}
.map-context>label,#selected-node{font-family:var(--ui-font);font-size:11px;color:#9ab6c7}
.map-context select{font:500 16px var(--ui-font);background:#080e13;border-color:#ffffff30;padding:9px}
.map-context .region h3{font-size:25px}
.map-context .region-grid span{font-size:10px}
.map-context .region-grid b{font-size:20px}
.map-context .eyebrow{font-size:10px;letter-spacing:1.4px}
.map-intel .panel-head h2{font-size:21px}
.map-intel .panel-head>span{font-size:10px;letter-spacing:.6px}
.map-intel .brief h3{font-size:26px}
.map-intel .brief p,.rating-item p{font-size:13px;line-height:1.5}
.map-intel .progress-note,.cure-forecast small{font-size:12px;line-height:1.5}
.cure-forecast{background:#d7f72f09;border-color:var(--accent);padding:11px}
.cure-forecast b{font-size:20px;font-weight:600;color:var(--accent)}
.cure-forecast span{font-size:16px}
.rating-item>span{font-size:13px;font-weight:600}
.rating-item b{font-size:20px;color:var(--text)}
progress{accent-color:var(--accent)}progress::-webkit-progress-value{background:var(--accent)}
.rating-item progress::-webkit-progress-value{background:var(--blue)}
.traffic-hud,.map-layers summary,.layer-options{background:#111a20ed;border-color:#ffffff35;box-shadow:none}
.map-layers summary{font:600 13px var(--ui-font)}
.layer-options label{font-size:16px}
.layer-options p{font-size:12px}
.layer-options input{accent-color:var(--accent)}
.map-controls button{background:#0b1219e8;border-color:#ffffff40;font-size:12px}
.map-controls .whole-uk{background:var(--accent);color:#111a08}
.news-brand strong{font-weight:700}.news-item{font-size:15px}.news-item b{font-size:12px;font-weight:700}.breaking-label{background:var(--accent);border-color:#9bac24}

/* Response decisions: a readable command grid with explicit operational state. */
.policy-panel{border-top:1px solid #ffffff2b;padding-top:10px}
.policy-panel>.panel-head{padding:16px 0 0;align-items:center}
.policy-panel>.panel-head h2{font-size:32px;line-height:1;letter-spacing:1.2px}
.policy-panel>.panel-head>span{font-size:12px;color:#90aab9;letter-spacing:1.2px}
.policy-panel .intro{font-size:16px;padding:6px 0 20px;color:#a8b7c1}
#policies{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.policy{margin:0;padding:21px;min-height:300px;border:1px solid #ffffff27;background:linear-gradient(130deg,#222d3580,transparent 60%),#11171c;display:flex;flex-direction:column;overflow:hidden}
.policy:before{content:'';position:absolute;right:15px;top:18px;width:80px;height:42px;background:var(--dots);background-size:6px 6px;opacity:.4;pointer-events:none}
.policy[data-status=queued]{border-top-color:var(--accent)}
.policy-top{display:flex;gap:12px;align-items:center;position:relative;padding-right:0}
.policy-symbol{display:flex;align-items:center;justify-content:center;width:44px;height:44px;border:1px solid #ffffff2b;background:#95b2c512;color:#c4d3dc;flex-shrink:0}
.policy-symbol .ui-icon{width:24px;height:24px}
.policy-heading{min-width:0;flex:1}
.policy-code{display:block;font-size:10px;letter-spacing:1.8px;color:#8198a7;margin-bottom:5px}
.policy h3{font-size:27px;line-height:1.05;letter-spacing:.7px;max-width:none;margin:0}
.policy .delay{position:relative;color:#b8cc91;font-size:11px;font-weight:600;white-space:nowrap;text-align:right;padding:4px 7px;background:#a8c66b10;border:1px solid #a8c66b35;max-width:none;margin:0;letter-spacing:.4px}
.policy[data-status=queued] .delay{color:var(--accent);background:#d7f72f13;border-color:#d7f72f50}
.policy p{font-size:15px;line-height:1.5;min-height:46px;margin:17px 0;color:#b9c4cc}
.policy-choice{font:600 18px/1.25 var(--ui-font);letter-spacing:.2px;gap:14px;padding:13px 14px;border:1px solid #cedce24d;background:#070c10;color:#f1f4f6;min-height:52px;margin-top:auto}
.policy-choice:after{content:'↗';font:22px var(--ui-font);color:var(--accent)}
.policy-choice:hover:not(:disabled){background:#e6edef;border-color:#e6edef;color:#10181c}
.policy-choice:hover:not(:disabled):after{color:#10181c}
.policy:focus-within{background:#1a252d;color:var(--text);border-color:#d7f72f80}
.policy:focus-within p,.policy:focus-within small{color:#b9c4cc}
.policy-current{display:grid;grid-template-columns:1fr auto;gap:8px;padding:12px 0 10px;margin:0;border-bottom:1px solid #ffffff1c;color:#ced9df;font:500 14px var(--ui-font)}
.policy-current b{font-size:18px;color:var(--accent);font-weight:600}
.policy small{display:block;font-size:13px;line-height:1.5;color:#a8bac7;margin:10px 0 0}

/* Dialogs share the same sharp command-surface treatment. */
dialog{padding:30px;margin:auto;max-height:92svh;overflow:auto;background:linear-gradient(125deg,#22313c77,transparent 65%),#0d1318;border:1px solid #8ca2b95c;border-top:3px solid var(--accent);box-shadow:0 24px 100px #0009;scrollbar-width:thin;scrollbar-color:#53616b #0d1318}
dialog::backdrop{background:#03080cd9;backdrop-filter:blur(9px)}
dialog .eyebrow{font-size:12px;font-weight:600;letter-spacing:1.7px;margin-right:44px;color:var(--accent)}
dialog h2{font-size:44px;line-height:1.06;letter-spacing:.8px;margin:12px 44px 14px 0}
dialog p,dialog li{font-size:16px;line-height:1.55;color:#b7c4cc}
dialog .close{width:34px;height:34px;display:flex;align-items:center;justify-content:center;padding:8px;color:#c5d0d7;border-color:#ffffff35;background:#ffffff05}
dialog .close .ui-icon{width:14px;height:14px}
dialog .close:hover{background:#ecf1f4;color:#11171c}
.dialog-section-label{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #ffffff20;padding-top:18px;margin:24px 0 14px;font-size:13px;text-transform:uppercase;letter-spacing:1.4px;color:#ecf0f2}
.dialog-section-label span{font-size:11px;color:#829aa8}
.dialog-section-label .ui-icon{width:15px;height:15px;margin-right:6px}
#policy-options-dialog{width:min(1080px,94vw);max-width:1080px}
#policy-options{gap:12px;margin:22px 0;grid-template-columns:1fr 1fr}
.policy-option{position:relative;padding:20px;gap:0;border-color:#ffffff2f;background:#141d24;min-width:0}
.option-topline{display:flex!important;align-items:center;justify-content:space-between;width:100%;margin-bottom:14px;color:#899eab!important;font-size:11px!important;letter-spacing:1.5px!important;text-transform:uppercase!important}
.option-status{color:inherit!important;font-size:11px!important;letter-spacing:.7px!important}
.policy-option strong{font:600 23px/1.15 var(--ui-font)!important;color:#f0f4f5;margin-bottom:14px}
.policy-option .option-cost{font:600 20px var(--ui-font);color:var(--accent);padding-block:8px;border-block:1px solid #ffffff20;width:100%;margin-bottom:12px}
.policy-option span{font:500 15px/1.5 var(--ui-font);color:#afc1cd}
.policy-option .option-benefit{color:#d7e4eb;margin-bottom:10px;font-size:16px}
.policy-option:disabled{background:#d7f72f0b;border-color:#d7f72f80;opacity:1}
.policy-option:disabled strong{color:var(--accent)}
.policy-option:hover:not(:disabled){background:#25343e;border-color:#eff4f7}
.policy-option-note{font-size:13px;line-height:1.5;border-color:#ffffff23}

/* Cure lab: programme telemetry and a four-column upgrade matrix. */
#cure-dialog{width:min(1160px,95vw);max-width:1160px}
#cure-dialog>p{max-width:960px}
.cure-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:0;margin:22px 0 14px;background:#0a1015;border:1px solid #ffffff26}
.lab-stat{padding:16px;border-right:1px solid #ffffff22;min-width:0}
.lab-stat:last-child{border:0}
.lab-stat label{display:block;font-size:11px;font-weight:600;letter-spacing:1.3px;text-transform:uppercase;color:#94a9b7}
.lab-stat strong{display:block;color:var(--accent);font-size:29px;font-weight:600;line-height:1.1;margin:6px 0}
.lab-stat small{display:block;font-size:12px;color:#b6c4ce}
.lab-progress{display:grid;grid-template-columns:1fr 1fr;gap:22px;padding:14px 0}
.lab-progress label{display:flex;justify-content:space-between;font-size:13px;letter-spacing:.9px;text-transform:uppercase;margin-bottom:8px}
.lab-progress b{color:var(--accent);font-size:16px}
.lab-progress progress{display:block;width:100%;height:5px;background:#ffffff1b;border:0;border-radius:0}
.lab-progress progress::-webkit-progress-bar{background:#ffffff1b}
.lab-progress progress::-webkit-progress-value{background:var(--accent)}
.lab-note{font-size:13px!important;color:#8fa8b9!important}
#skill-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.skill-card{position:relative;padding:20px 17px 17px;background:linear-gradient(150deg,#28425130,transparent 65%),#111a21;border:1px solid #ffffff2b;min-width:0;overflow:hidden}
.skill-card:before{content:'';position:absolute;top:16px;right:16px;width:50px;height:54px;background:var(--dots);background-size:6px 6px;opacity:.45;pointer-events:none}
.skill-icon{color:#bfd1dd;margin:12px 0 14px}
.skill-icon .ui-icon{width:40px;height:40px}
.skill-rank{font:600 11px var(--ui-font);letter-spacing:1px;color:#97aebc;display:flex;justify-content:space-between;align-items:center;gap:8px}
.rank-segments{display:flex;gap:3px}
.rank-segments i{width:17px;height:5px;background:#ffffff26}
.rank-segments i.filled{background:var(--accent)}
.skill-card h3{font-size:28px;line-height:1.05;margin:0 0 8px;letter-spacing:.5px}
.skill-card p{font-size:15px;line-height:1.4;min-height:64px;color:#a4b8c5}
.skill-benefit{padding:16px 0;margin-top:auto;font:500 14px/1.5 var(--ui-font);color:#a4b8c5}
.skill-benefit b{display:block;font-size:22px;font-weight:600;color:#e5edf1;margin-bottom:3px}
.skill-benefit small{display:block;font-size:13px;color:#acbdc7}
.skill-card button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;margin-top:0;background:var(--accent);border-color:var(--accent);color:#151d06;font-size:14px;letter-spacing:.2px;padding:10px 6px;min-height:56px;line-height:1.2}
.skill-card button b{font-size:18px;font-weight:700}
.skill-card button:disabled{background:#ffffff08;color:#a0adb7;border-color:#ffffff29;opacity:1}
.skill-card[data-max=true]{border-color:#d7f72f60}

/* Chance cards: incident briefing alongside explicit response trade-offs. */
#chance-dialog{width:min(1080px,95vw);max-width:1080px;padding:0;border-top-color:var(--accent)}
#chance-dialog[data-category=crisis]{border-top-color:var(--amber)}
.chance-topbar{display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid #ffffff28;padding:15px 26px;background:#070d12}
#chance-kind{margin:0;font-size:12px;letter-spacing:1px;color:var(--accent)}
#chance-dialog[data-category=crisis] #chance-kind{color:var(--amber)}
#chance-kind:before{content:'CHANCE CARD / '}
.fictional-event{font-size:10px;letter-spacing:1px;color:#8fa3b1;margin:0;white-space:nowrap}
.chance-layout{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr)}
.chance-briefing{position:relative;padding:30px 28px;background-image:var(--grid);background-size:45px 45px;border-right:1px solid #ffffff22;min-width:0}
.chance-symbol{color:var(--accent);width:64px;height:64px;display:flex;align-items:center;justify-content:center;border:1px solid #ffffff35;background:#bdd8e20a;margin-bottom:25px}
.chance-symbol .ui-icon{width:33px;height:33px}
#chance-dialog[data-category=crisis] .chance-symbol{color:var(--amber)}
#chance-dialog h2{font-size:38px;line-height:1.03;letter-spacing:.6px;margin:0 0 16px}
#chance-body{font-size:16px;line-height:1.55;color:#b7c8d3}
.chance-incident{font:500 14px/1.5 var(--ui-font);color:#ffc2a3;background:#ff783d0e;border-color:var(--amber);padding:12px;margin:22px 0 0}
.chance-response{padding:26px;min-width:0;background:#111a21}
.chance-response .dialog-section-label{margin:22px 0 12px;padding:0;border:0;color:#c9d4dc}
.chance-position{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:12px;background:transparent;border:0;border-bottom:1px solid #ffffff28;padding:0 0 18px;margin:0;font:500 14px var(--ui-font)}
.chance-position label{display:block;text-transform:uppercase;font-size:10px;letter-spacing:.6px;color:#96adbb}
.chance-position b{display:block;font-size:23px;line-height:1.2;color:#edf3f6;margin-top:5px;font-weight:600;white-space:nowrap}
#chance-options{gap:10px;margin:0}
#chance-options button{padding:15px 16px;background:#070e14;border:1px solid #ffffff38;text-transform:none;letter-spacing:0}
#chance-options button:hover:not(:disabled){background:#263642;border-color:#eff6fa}
.chance-option-header{display:flex!important;align-items:start;gap:12px;margin:0!important}
#chance-options .option-number{font-size:12px;color:#839aa8;line-height:1.6;margin-top:0}
#chance-options strong{font:600 19px/1.25 var(--ui-font)!important;color:#f0f4f6}
#chance-options .choice-effects{display:flex;flex-wrap:wrap;gap:5px;margin-top:11px}
#chance-options .effect-chip{margin:0;padding:3px 7px;border:1px solid #ffffff1e;background:#ffffff04;color:#a9c2d1;font:500 13px/1.4 var(--ui-font)}
#chance-options .effect-chip.positive{color:#b1dbc9;background:#a5e4c509}
#chance-options .effect-chip.negative{color:#ffb899;background:#ff783d0a}
#chance-options .effect-chip.cash{color:var(--accent)}
#chance-options button:disabled{opacity:.4}
.chance-note{padding:15px 26px;margin:0;border-top:1px solid #ffffff23;background:#0a1117;font-size:12px!important;color:#8da3b1;line-height:1.5!important}
.restart-actions button{font-size:15px;min-height:42px}
#policy-confirm .policy-broadcast-note{color:var(--accent);font-size:14px;padding-top:18px}
#ratings-dialog h3{font-size:27px;color:var(--accent)}
#guide{max-width:760px}

/* Splash and Virus preview keep their established assets and mode colours. */
body:has(.splash:not([hidden])){background:radial-gradient(ellipse at 16% 65%,#56151c33,transparent 50%),radial-gradient(ellipse at 75% 35%,#24445566,transparent 55%),#070c10}
.splash-heading h1{font-size:clamp(42px,4vw,72px);line-height:.95;letter-spacing:2px}
.splash-top .brand>span:not(.brand-mark){font-weight:600;letter-spacing:.8px}
.mode-card{--accent:#ef4e4e;background:radial-gradient(ellipse at 65% 30%,#6d19294a,transparent 65%),#121014;box-shadow:none}
.mode-card.response-card{--accent:#d7f72f;background:radial-gradient(ellipse at 25% 30%,#30556d73,transparent 65%),#0d151b}
.mode-card:before{background:var(--dots);background-size:7px 7px;opacity:.35;mask-image:linear-gradient(0deg,transparent 15%,black 70%)}
.mode-card:hover{box-shadow:none;transform:none}
.mode-badge{box-shadow:none;font-weight:600}
.mode-title{font-family:var(--display-font)!important;letter-spacing:1.6px;font-size:clamp(39px,3vw,58px)}
.mode-action{box-shadow:none;font-weight:600}
.response-card .mode-action{background:var(--accent);box-shadow:none}
.mode-description{font-size:18px}
.mode-rule{height:4px;box-shadow:none}
.mode-modules svg,.mode-modules>span{background:#c7dce611;border-color:#ffffff24}
#virus-preview{--accent:#f24e4b;--green:#f24e4b;background:linear-gradient(125deg,#4c1d2466,transparent),#100e12;border-color:#f24e4b6b;border-top-color:#f24e4b}
#virus-preview .primary{background:#ef4541;color:white}
#virus-preview .eyebrow{color:#ff6d68}

@media(min-width:1701px){.command-heading .game-nav button{padding-inline:11px}.map-context{width:280px}.map-intel{width:305px}.map-controls{right:350px}}
@media(max-width:1700px){.command-heading h1{font-size:27px}.command-heading .game-nav button{padding-inline:9px;font-size:12px;gap:5px}.command-heading .game-nav .ui-icon{width:13px;height:13px}}
@media(max-width:1500px){.command-heading{grid-template-columns:minmax(0,1fr) 210px minmax(0,1fr)}.command-actions{grid-column:1/-1;justify-self:stretch;width:auto}.command-heading h1{font-size:26px}}
@media(max-width:1100px){#policies{grid-template-columns:repeat(2,minmax(0,1fr))}.policy{padding:18px}.policy h3{font-size:26px}#skill-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.skill-card p{min-height:0}.skill-card h3{font-size:30px}.skill-icon{margin:14px 0}.chance-layout{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr)}.chance-briefing{padding:25px 22px}.chance-response{padding:22px}.chance-position b{font-size:20px}}
@media(max-width:800px){.command-heading{grid-template-columns:1fr}.command-heading .game-nav button{font-size:13px}.map-context{background:#101a22}.map-context>p{font-size:13px}.policy-panel>.panel-head h2{font-size:29px}.chance-layout{grid-template-columns:1fr}.chance-briefing{border-right:0;border-bottom:1px solid #ffffff23;padding:22px}.chance-symbol{float:left;width:42px;height:42px;margin:0 14px 12px 0}.chance-symbol .ui-icon{width:23px;height:23px}#chance-dialog h2{font-size:32px;padding-top:4px}#chance-body{clear:both}.chance-response{padding:22px}.chance-position b{font-size:24px}.chance-topbar{padding:13px 20px;gap:10px}.fictional-event{font-size:9px}.lab-stat{padding:12px}.lab-stat strong{font-size:24px}.dialog-section-label span{font-size:10px}.view-tabs button{font-size:12px;padding:10px 13px}}
@media(max-width:600px){.command-heading .game-nav button{flex-direction:column;gap:5px;min-height:52px;font-size:11px}.command-heading .game-nav .ui-icon{width:17px;height:17px}.command-heading h1{font-size:26px}.population-card strong{font-size:26px}.population-card label{font-size:10px}.treasury-item strong{font-size:24px}.population-card,.treasury-item{padding:10px}.treasury-detail{font-size:11px}.policy-panel>.panel-head>span{font-size:9px;max-width:100px;text-align:right}.policy-panel .intro{font-size:15px}#policies,#policy-options{grid-template-columns:1fr}.policy{min-height:0;padding:18px}.policy h3{font-size:29px}.policy p{min-height:0}.policy small{font-size:14px}.policy-choice{font-size:19px}dialog{padding:22px;width:94vw;max-height:92svh}dialog h2{font-size:35px}dialog p,dialog li{font-size:16px}#cure-dialog,#policy-options-dialog,#ratings-dialog{padding:22px;margin:auto}#chance-dialog{padding:0;margin:auto}.cure-summary{grid-template-columns:1fr 1fr}.lab-stat:nth-child(2){border-right:0}.lab-stat:nth-child(-n+2){border-bottom:1px solid #ffffff22}.lab-stat strong{font-size:27px}.lab-progress{grid-template-columns:1fr;gap:16px}#skill-grid{grid-template-columns:1fr}.skill-card{padding:20px}.skill-card p{font-size:16px}.skill-icon .ui-icon{width:34px;height:34px}.skill-card button{font-size:15px}.skill-benefit b{font-size:24px}.skill-benefit small{font-size:14px}.dialog-section-label{gap:10px}.dialog-section-label span{text-align:right;max-width:115px}.chance-topbar{align-items:start;gap:8px}.fictional-event{max-width:68px;white-space:normal;text-align:right}#chance-kind{font-size:11px;letter-spacing:.5px}.chance-position{gap:8px}.chance-position label{font-size:9px}.chance-position b{font-size:21px}.chance-note{padding:14px 22px}.chance-response,#chance-options button{padding:17px}#chance-options strong{font-size:19px}#chance-options .effect-chip{font-size:13px}.mode-title{font-size:43px}.splash-heading h1{font-size:45px}.splash-heading .eyebrow{font-size:12px}.mode-description{font-size:18px}}
@media(prefers-reduced-motion:reduce){button,.mode-card,.mode-art{transition:none!important}}

.lab-rate{display:block;font-size:13px;color:#9ab0bf;margin-top:6px}
.map-layers summary .ui-icon,.map-controls .ui-icon{width:14px;height:14px;margin-right:5px}
.news-brand{width:150px}.news-brand strong{font-size:16px}.news-brand small{letter-spacing:1.6px}
@media(max-width:800px){.news-brand{width:126px}.news-brand strong{font-size:14px}}
@media(max-width:540px){.news-brand{width:112px}.news-brand strong{font-size:12px}}
.splash .mode-title{font-family:var(--display-font)!important;font-weight:500}
