body {
  --bg:#08111b;
  --surface:#101c28;
  --ivory:#f4f7fd;
  --gold:#ffda08;
  --muted:#c9d1dd;
  --line:#445366;
  --success:#78f5ad;
  --automatons:#ff6866;
  --illuminate:#c093ff;
  --terminids:#ffce37;
  background:linear-gradient(#13253a, #080f18 570px);
}

body .unified-header {
  background:#0a1421;
  border-color:#3c536e;
}
body .unified-header .unified-navigation>a {
  color:var(--ivory);
  font:700 17px/1 Command,'Arial Narrow',sans-serif;
  text-transform:none;
}
body .unified-header .unified-refresh {
  border-color:var(--gold);
  border-radius:8px;
  font:700 15px/1 Command,'Arial Narrow',sans-serif;
  text-transform:none;
}
.unified-wordmark { font-size:38px; }
.unified-command { color:var(--ivory); }
@media (min-width:1280px) {
  body .unified-header { gap:clamp(22px,4vw,68px); padding-inline:2.4vw; }
  body .unified-header .unified-navigation { gap:clamp(16px,2.2vw,36px); }
  body .unified-header .unified-refresh { padding-inline:16px; }
  .unified-command, .unified-clock { font-size:12px; }
}

body[data-view=overview] {
  --body-size:14px;
  --secondary-size:11px;
  --heading-size:21px;
  --planet-size:17px;
  --value-size:24px;
  --edge:#546a82;
}
body[data-view=overview] #main { padding-top:0; }
body[data-view=overview] #overview-content { gap:16px 14px; }
body[data-view=overview] #overview-content :is(.front-summary,.station,.opportunities,.comms-preview) {
  grid-area:auto;
  --muted:#d4dce9;
  --faint:#b9c6d6;
}

/* Staged Modern detail pages share the overview's hero and command framing. */
body[data-view=fronts] #main,
body[data-view=dispatches] #main,
body[data-view=archive] #main { padding-top:0; }
.page-hero {
  min-height:clamp(126px,10vw,164px);
  margin:0 calc(-1 * clamp(16px,1.1vw,24px)) 14px;
  padding:20px clamp(24px,3.65vw,58px);
  background-position: right 48%;
}
.page-hero h1 { font-size:clamp(29px,2.5vw,40px); }
.page-hero p { color:#dce5ef; }
body[data-view=fronts] #fronts-content { gap:14px; }
body[data-view=fronts] .front-report {
  overflow:hidden;
  border:1px solid color-mix(in srgb,var(--faction-color) 55%,#34465b);
  border-top:3px solid var(--faction-color);
  border-radius:10px;
  background:linear-gradient(145deg,rgba(18,31,46,.96),rgba(8,17,27,.96));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.035);
}
body[data-view=fronts] .front-report-heading { padding:13px 14px; }
body[data-view=fronts] .front-row { border-top:1px solid rgba(151,171,193,.18); }
body[data-view=fronts] .front-toggle-line { border-top:1px solid rgba(151,171,193,.12); }
body[data-view=dispatches] .page-intro,
body[data-view=archive] .page-intro {
  align-items:center;
  gap:14px 24px;
  padding:0 2px 12px;
}
body[data-view=dispatches] .page-intro p,
body[data-view=archive] .page-intro p { max-width:820px; font-size:13px; line-height:1.55; }
body[data-view=dispatches] .page-intro>.technical,
body[data-view=archive] .page-intro>.technical { text-align:right; color:#aab8c8; }
body[data-view=dispatches] #dispatches-content .transmission {
  margin:0 0 10px;
  border:1px solid #3b526c;
  border-left:3px solid #86b9f4;
  border-radius:9px;
  background:linear-gradient(115deg,rgba(18,35,54,.97),rgba(10,20,32,.94));
}
body[data-view=dispatches] #dispatches-content .transmission-meta .channel { color:#a9ccf6; }
body[data-view=dispatches] #dispatches-content .transmission-body h3 { color:var(--ivory); }
body[data-view=dispatches] #dispatches-content .transmission-body p { color:#d0d9e5; }
body[data-view=archive] .archive-record {
  overflow:hidden;
  margin:0;
  border:1px solid #455b72;
  border-left:6px solid #f2b451;
  border-radius:9px;
  background:linear-gradient(145deg,rgba(18,31,46,.97),rgba(9,18,28,.96));
}
body[data-view=archive] #archive-content { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; align-items:start; }
body[data-view=archive] .archive-record[data-outcome=victory] { border-left-color:#64efa6; }
body[data-view=archive] .archive-record[data-outcome=defeat] { border-left-color:#ff6a68; }
body[data-view=archive] .archive-record[data-outcome=unknown] { border-left-color:#f2b451; }
body[data-view=archive] .archive-record>summary { justify-content:flex-start; padding:14px 16px; }
body[data-view=archive] .archive-record>summary::after { content:'+'; display:grid; place-items:center; flex:none; width:28px; height:28px; margin-left:auto; border:1px solid #75869a; border-radius:50%; color:#ffda08; font:700 20px/1 Command,'Arial Narrow',sans-serif; }
body[data-view=archive] .archive-record[open]>summary::after { content:'−'; }
body[data-view=archive] .archive-record[open]>summary { background:rgba(255,218,8,.055); }
body[data-view=archive] .archive-title { font-size:clamp(21px,2vw,28px); }
body[data-view=archive] .archive-identity { display:flex; flex-wrap:wrap; justify-content:flex-start; align-items:center; gap:3px 14px; width:100%; }
body[data-view=archive] .archive-identity>.archive-meta:first-child,
body[data-view=archive] .archive-identity>.archive-meta:last-child { flex-basis:100%; }
body[data-view=archive] .archive-identity>.archive-title { min-width:0; max-width:min(40ch,100%); }
body[data-view=archive] .archive-result { display:inline-flex; align-items:center; justify-content:center; gap:8px; height:38px; min-width:154px; padding:0 12px 0 4px; border:2px solid currentColor; border-radius:4px; font:700 18px/1 Command,'Arial Narrow',sans-serif; letter-spacing:.06em; white-space:nowrap; }
body[data-view=archive] .archive-result.victory { color:#82ffb4!important; border-color:#82ffb4; background:linear-gradient(135deg,rgba(38,148,91,.48),rgba(12,54,39,.94)); box-shadow:inset 0 0 0 1px rgba(130,255,180,.24); }
body[data-view=archive] .archive-result.defeat { color:#ff8381!important; border-color:#ff7775; background:linear-gradient(135deg,rgba(163,53,55,.48),rgba(57,21,28,.96)); box-shadow:inset 0 0 0 1px rgba(255,119,117,.24); }
body[data-view=archive] .archive-result.unknown { color:#ffd276!important; border-color:#ffc45d; background:linear-gradient(135deg,rgba(158,112,35,.46),rgba(58,43,21,.96)); box-shadow:inset 0 0 0 1px rgba(255,196,93,.24); }
body[data-view=archive] .archive-emblem { width:34px; height:34px; flex:none; overflow:visible; }
body[data-view=archive] .archive-emblem .laurel-stem { fill:none; stroke:currentColor; stroke-width:1.6; stroke-linecap:round; }
body[data-view=archive] .archive-emblem .laurel-leaves { fill:currentColor; stroke:currentColor; stroke-width:.45; }
body[data-view=archive] .archive-emblem .insignia-ring { fill:rgba(5,14,22,.9); stroke:currentColor; stroke-width:1.5; }
body[data-view=archive] .archive-emblem .insignia-symbol { fill:currentColor; stroke:none; }
body[data-view=archive] .archive-emblem .insignia-detail { fill:none; stroke:#101c28; stroke-width:1.4; stroke-linecap:round; stroke-linejoin:round; }
body[data-view=archive] .archive-result.unknown .archive-emblem text { fill:currentColor; font:700 24px/1 sans-serif; }
body[data-view=archive] .archive-content { border-top-color:#3a4d61; }
body[data-view=archive] .archive-content>.order-brief { color:#d1d9e5; }
body[data-view=archive] .archive-objectives li { border-bottom-color:rgba(151,171,193,.18); }
body[data-view=archive] .archive-result.good { color:var(--success)!important; }
body[data-view=archive] .archive-result.failure { color:var(--automatons)!important; }
body[data-view=archive] #retry-archive { margin:8px 0; }
@media(max-width:650px) {
  .page-hero { min-height:116px; margin-inline:-12px; padding:18px 20px; }
  body[data-view=fronts] #fronts-content { gap:12px; }
  body[data-view=dispatches] .page-intro,
  body[data-view=archive] .page-intro { align-items:flex-start; flex-direction:column; gap:5px; }
  body[data-view=dispatches] #dispatches-content .transmission { gap:10px; padding:14px; }
  body[data-view=archive] .archive-record>summary { padding:13px 12px; gap:9px; }
  body[data-view=archive] #archive-content { grid-template-columns:minmax(0,1fr); }
  body[data-view=archive] .archive-identity { gap:4px 8px; }
  body[data-view=archive] .archive-record>summary::after { width:25px; height:25px; }
  body[data-view=archive] .archive-result { height:36px; min-width:145px; gap:6px; padding-inline:3px 9px; font-size:18px; }
  body[data-view=archive] .archive-emblem { width:32px; height:32px; }
  body[data-view=archive] .archive-content { padding:0 12px 14px; }
  body[data-view=archive] .archive-objectives li { align-items:flex-start; }
}
.command-hero {
  grid-column:1/-1;
  margin:0 calc(-1 * clamp(16px,1.1vw,24px)) -16px;
  min-height:clamp(155px,9.7vw,200px);
  padding:24px clamp(26px,3.65vw,64px);
  background:
    linear-gradient(90deg,#0d1725 4%,rgba(13,23,37,.82) 23%,transparent 58%),
    linear-gradient(0deg,#0e1926,transparent 28%),
    url('/assets/v2-backgrounds/helldivers-2-video-1920x1080-15526.webp') right 48% / 82% auto no-repeat,
    #0d1725;
}
.command-hero h1 { font-size:clamp(31px,2.5vw,44px); }
.command-hero p { margin-top:5px; font:12px/1.5 var(--mono); }
.command-hero p span { margin-inline:.75em; }

body[data-view=overview] #overview-content #directive[data-order-state=active] {
  display:grid;
  grid-template-columns:minmax(0,35fr) minmax(0,65fr);
  grid-template-rows:auto minmax(0,1fr) auto;
  align-items:stretch;
  grid-column:1/-1;
  gap:0 16px;
  border:0;
  background:none;
  isolation:isolate;
}
body[data-view=overview] #directive[data-order-state=active] #order-content { display:contents; }
body[data-view=overview] #overview-content #directive[data-order-state=active]::before {
  content:'';
  grid-area:1/1/4/2;
  border:1px solid var(--gold);
  border-radius:12px;
  background:
    linear-gradient(100deg,rgba(13,23,34,.98),rgba(12,27,43,.91)),
    url('/assets/super-earth-logo-header.png') right 40% / 45% auto no-repeat;
  box-shadow:inset 0 0 0 2px #65551b;
  pointer-events:none;
}
body[data-view=overview] #main #overview-content #directive[data-order-state=active] .module-heading.priority {
  grid-area:1/1/2/2;
  min-height:44px;
  padding:0 13px 0 0;
  border:0;
  background:none;
}
#directive[data-order-state=active] .directive-heading {
  min-height:43px;
  padding:4px 39px 4px 18px;
  background:linear-gradient(100deg,#ffe43a,#ffcb00);
  border-radius:12px 0 14px 0;
  clip-path:polygon(0 0,100% 0,91% 100%,0 100%);
}
#directive[data-order-state=active] .command-insignia { width:31px; height:31px; filter:brightness(0); }
#directive[data-order-state=active] .directive-eyebrow { display:none; }
body[data-view=overview] #directive[data-order-state=active] .module-heading h2 { color:#111520; font-size:24px; }
body[data-view=overview] #directive[data-order-state=active] .order-state {
  color:#45ffad;
  background:#071724;
  border:1px solid #31c98e;
  border-radius:7px;
  padding:5px 9px;
}
body[data-view=overview] #main #directive[data-order-state=active] .directive-summary {
  grid-area:2/1/4/2;
  display:flex;
  flex-direction:column;
  align-self:stretch;
  min-width:0;
  padding:10px 20px 16px;
  border:0;
  background:none;
}
body[data-view=overview] #main #directive .directive-summary .order-title { color:var(--ivory); font-size:34px; margin-bottom:2px; }
body[data-view=overview] #main #directive .directive-summary>.order-brief { font-size:clamp(15px,1.17vw,20px); line-height:1.25; color:var(--ivory); }
body[data-view=overview] #directive .directive-summary .order-meta { border:0; padding:0; margin:16px 0; }
#directive .order-meta>div {
  border:1px solid #3d5e7a;
  border-radius:8px;
  padding:8px 12px;
  background:linear-gradient(#152b40,#10202f);
}
body[data-view=overview] #directive .briefing-button {
  width:100%;
  min-height:42px;
  margin-top:auto;
  border:1px solid var(--gold);
  border-radius:8px;
  background:#22251b;
  text-align:center;
  font:700 18px/1.2 Command,sans-serif;
  text-transform:none;
}
body[data-view=overview] #directive .briefing-button:hover { background:#35341b; }
#directive .directive-objectives {
  grid-area:1/2/3/3;
  background:linear-gradient(#111d2a,#0a1420);
  border:1px solid #8694a4;
  border-radius:12px;
  padding:4px 16px;
}
body[data-view=overview] #directive .objective-list .objective {
  display:grid;
  background:none;
  grid-template-columns:auto minmax(0,1fr);
  align-items:baseline;
  gap:0 18px;
  padding:7px 0;
}
#directive .objective > :not(.objective-bottom,.objective-forecasts) { grid-column:1/-1; }
body[data-view=overview] #directive .objective-list .objective:last-child { border-bottom:0; }
body[data-view=overview] #directive .objective-top {
  grid-template-columns:42px minmax(0,1fr) auto;
  gap:3px 13px;
}
body[data-view=overview] #directive .objective-index {
  grid-area:1/1/3/2;
  justify-self:start;
  min-width:32px;
  border:1px solid #778b9d;
  border-radius:7px;
  color:var(--ivory);
}
body[data-view=overview] #directive .objective h3 { grid-area:1/2/2/3; line-height:1.05; }
body[data-view=overview] #directive .objective-tally { grid-area:2/2/3/3; max-width:none; }
body[data-view=overview] #directive .objective-tally strong { font:700 23px/1 Command,sans-serif; }
body[data-view=overview] #directive .objective-percentage { grid-area:1/3/3/4; }
body[data-view=overview] #directive .objective .instrument { height:8px; margin:6px 0 3px; border-radius:5px; background:#404d5b; }
#directive .instrument::after { transform:skewX(-18deg); opacity:.8; }
body[data-view=overview] #directive .objective-forecasts { display:flex; justify-content:space-between; flex-wrap:wrap; gap:2px 8px; }
body[data-view=overview] #directive .objective-forecasts p { margin:0; }
body[data-view=overview] #directive .objective-forecasts { margin:0; }
body[data-view=overview] #directive .objective .front-details { margin:3px 0 0; padding-top:0; }
body[data-view=overview] #directive .objective .front-details summary { padding:1px 0; }
#directive .overview-metrics {
  grid-area:3/2/4/3;
  display:grid;
  grid-template-columns:4fr 1fr;
  gap:9px;
  margin-top:8px;
  min-width:0;
}
body[data-view=overview] #directive .overview-metrics #order-deployment {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:9px;
  margin:0;
  padding:0;
  border:0;
  background:none;
}
body[data-view=overview] #directive .overview-metrics :is(.metric,#galactic-modifier) {
  border:1px solid #456386;
  border-radius:8px;
  background:linear-gradient(#152b40,#0e1c2b);
  padding:8px 10px;
}
body[data-view=overview] #directive .overview-metrics #order-deployment .metric {
  position:relative;
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding-left:42px;
}
#directive .overview-metrics [data-faction=automatons] { --metric-icon:url('/galaxy-map/icons/automatons.png'); }
#directive .overview-metrics [data-faction=illuminate] { --metric-icon:url('/galaxy-map/icons/illuminate.png'); }
#directive .overview-metrics [data-faction=terminids] { --metric-icon:url('/galaxy-map/icons/terminids.png'); }
#directive .overview-metrics .metric[data-faction]::before {
  content:'';
  position:absolute;
  top:11px;
  left:10px;
  width:23px;
  height:23px;
  mask:var(--metric-icon) center/contain no-repeat;
  background:var(--faction-color);
}
#directive .overview-metrics .metric-primary::before {
  content:'▥';
  position:absolute;
  top:9px;
  left:12px;
  font:24px/1 Command,sans-serif;
  color:#94d0ff;
}
body[data-view=overview] #directive .overview-metrics .metric-primary .metric-label::before { content:none; }
body[data-view=overview] #directive .overview-metrics .metric-value { font-size:clamp(15px,1.5vw,26px); }
body[data-view=overview] #directive .overview-metrics .metric-label { font-size:10px; }
body[data-view=overview] #directive .overview-metrics .metric-detail { font-size:9px; }
body[data-view=overview] #directive .overview-metrics #galactic-modifier { display:block; }
body[data-view=overview] #directive .overview-metrics #galactic-modifier-heading { font:10px/1.4 var(--mono); color:#d4f7d9; }
#directive .overview-metrics .galactic-modifier-reading { display:block; }
#directive .overview-metrics #galactic-modifier-value { display:block; font-size:23px; }
#directive .overview-metrics #explain-galactic-modifier { min-height:24px; text-align:left; padding:2px 0; }

body[data-view=overview] #main #overview-content :is(.front-summary,.station,.opportunities,.comms-preview) {
  border:1px solid var(--edge);
  border-radius:12px;
  background:linear-gradient(135deg,var(--card-color),#0a1320);
  box-shadow:inset 0 1px 3px var(--edge);
}
body[data-view=overview] #overview-content .front-summary { --edge:#a06477; --card-color:#241e2a; }
body[data-view=overview] #overview-content .station { --edge:#5caa93; --card-color:#082a24; }
body[data-view=overview] #main #overview-content section.opportunities {
  --edge:#8e70bc;
  --card-color:#221c37;
  background-color:var(--card-color);
  background-image:linear-gradient(180deg,#201931 36%,rgba(25,23,41,.68) 59%,rgba(9,14,27,.32)),
    url('/assets/v2-backgrounds/helldivers-2-1920x1080-27107.webp');
  background-position:center,center bottom;
  background-size:100% 100%,auto 62%;
  background-repeat:no-repeat;
}
body[data-view=overview] #overview-content .comms-preview { --edge:#528dc6; --card-color:#0d2944; }
body[data-view=overview] #overview-content :is(.front-summary,.station,.opportunities,.comms-preview)>.section-heading {
  height:auto;
  min-height:42px;
  padding:8px 16px;
  border-radius:11px 11px 0 0;
  border-color:var(--edge);
  background:color-mix(in srgb,var(--edge) 22%,transparent);
}
body[data-view=overview] #overview-content .console-section>.section-heading h2 { color:var(--ivory); white-space:normal; }
body[data-view=overview] #overview-content .console-section>.section-heading h2::before {
  content:var(--heading-mark);
  display:inline-block;
  position:static;
  width:auto;
  height:auto;
  margin-right:9px;
  background:none;
  color:var(--edge);
}
.front-summary { --heading-mark:'◎'; }
.station { --heading-mark:'✥'; }
.opportunities { --heading-mark:'⊕'; }
.comms-preview { --heading-mark:'◉'; }
body[data-view=overview] #overview-fronts .front-sector { padding:9px clamp(7px,.9vw,15px); }
body[data-view=overview] #overview-fronts .front-brief { padding:5px 0; gap:2px; }
body[data-view=overview] #overview-fronts .front-brief .technical { margin-top:1px; line-height:1.35; }
body[data-view=overview] #overview-fronts .warfront-countdown { margin-top:0; line-height:1.3; }
body[data-view=overview] #overview-fronts .faction-title { gap:4px; }
body[data-view=overview] #overview-fronts .front-brief-right { font-size:18px; }
body[data-view=overview] #overview-fronts .front-brief-right span { display:inline; margin-left:5px; }
body[data-view=overview] #overview-fronts .front-brief .instrument { margin:0; opacity:.75; height:2px; }
body[data-view=overview] .station .station-location { padding:10px 16px; background:none; }
body[data-view=overview] .station .station-action { padding:5px 0; }
body[data-view=overview] .station .subtle-note { padding:5px 16px; }
body[data-view=overview] .station .action-head { gap:2px 8px; }
body[data-view=overview] .station .action-head h3 { font-size:15px; }
body[data-view=overview] .station .station-action details { margin:1px 0 0; }
body[data-view=overview] .station .station-action summary { padding:1px 0; }
body[data-view=overview] .station .station-action .instrument { margin:4px 0; }
body[data-view=overview] .comms-preview .preview-transmission { padding:6px 14px; gap:1px; }
body[data-view=overview] .preview-transmission .transmission-meta { margin:0 0 2px; gap:3px 8px; }
body[data-view=overview] .preview-transmission .transmission-body h3 { margin-bottom:1px; }
body[data-view=overview] .preview-transmission .transmission-body p { line-height:1.25; -webkit-line-clamp:2; }
body[data-view=overview] .preview-transmission .transmission-body>a { margin-top:2px; }
.command-footer {
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:6px 22px;
  margin-inline:calc(-1 * clamp(16px,1.1vw,24px));
  padding:6px clamp(16px,2vw,34px);
  border-top:1px solid #293b50;
  background:#0b1521;
  color:var(--ivory);
}
body:is([data-view=overview],[data-view=sesi]) .command-footer { padding:6px clamp(16px,2vw,34px); font:11px/1.5 var(--mono); }
.command-footer img { object-fit:contain; }
.command-footer p span { margin-inline:5px; color:var(--muted); }
.footer-uplink { margin-left:auto; }
.footer-uplink::before { content:''; display:inline-block; width:8px; height:8px; margin-right:8px; border-radius:50%; background:#adbac9; }
.footer-uplink[data-state=live]::before { background:#39ed9d; }
.footer-uplink:is([data-state=error],[data-state=stale])::before { background:#ffbb61; }

@media (min-width:1200px) {
  body:is([data-view=overview],[data-view=sesi]) .command-shell { padding-inline:24px; }
  body:is([data-view=overview],[data-view=sesi]) .unified-header,.command-hero,.command-footer { margin-inline:-24px; }
  body[data-view=overview] #overview-content { grid-template-columns:minmax(0,33fr) minmax(0,22fr) minmax(0,21fr) minmax(0,22fr); }
}
@media (max-width:1040px) {
  body[data-view=overview] #overview-content #directive[data-order-state=active] { grid-template-columns:minmax(0,1fr); grid-template-rows:auto; }
  body[data-view=overview] #overview-content #directive[data-order-state=active]::before { grid-area:1/1/3/2; }
  body[data-view=overview] #main #overview-content #directive[data-order-state=active] .module-heading.priority { grid-area:1/1; }
  body[data-view=overview] #main #directive[data-order-state=active] .directive-summary { grid-area:2/1; }
  #directive .directive-objectives { grid-area:3/1; margin-top:9px; }
  #directive .overview-metrics { grid-area:4/1; }
}
@media (max-width:620px) {
  .command-hero { background-size:auto,auto,cover,auto; }
  body[data-view=overview] #directive .overview-metrics #order-deployment .metric { padding-left:36px; }
  body[data-view=overview] #directive .objective-list .objective { grid-template-columns:minmax(0,1fr); }
  .command-hero p { font-size:10px; }
  .command-hero p span { margin-inline:.3em; }
  #directive .overview-metrics { grid-template-columns:minmax(0,1fr); }
  body[data-view=overview] #directive .overview-metrics #order-deployment { grid-template-columns:repeat(2,minmax(0,1fr)); }
  body[data-view=overview] #directive .objective-top { grid-template-columns:30px minmax(0,1fr); gap:4px 8px; }
  body[data-view=overview] #directive .objective-percentage { grid-area:3/2; justify-self:start; }
  .footer-uplink { margin-left:0; }
}
@media (max-width:480px) {
  .command-hero,.command-footer { margin-inline:-12px; }
  .command-hero { padding-inline:20px; }
  #directive[data-order-state=active] .directive-heading { padding:4px 25px 4px 10px; gap:6px; }
  body[data-view=overview] #directive[data-order-state=active] .module-heading h2 { font-size:21px; }
}

.display-modes {
  display:flex;
  flex:none;
  border:1px solid #4b6077;
  border-radius:5px;
  background:#0c1a29;
}
.display-modes a {
  display:grid;
  place-items:center;
  min-height:30px;
  padding-inline:8px;
  color:var(--ivory);
  font:700 12px/1 Command,'Arial Narrow',sans-serif;
}
.display-modes a + a { border-left:1px solid #4b6077; }
.display-modes a:hover { color:var(--gold); }
.display-modes a[aria-current=page] {
  color:var(--gold);
  background:#302b15;
  box-shadow:inset 0 -2px var(--gold);
}
.display-modes a:focus-visible { position:relative; z-index:1; outline-offset:2px; }
body[data-view=overview] .liberation-method { border-top:1px solid #445366; padding:2px 0; }
body[data-view=overview] .liberation-method summary { font-size:10px; }
.liberation-method p { padding:0 4px 6px; font:12px/1.5 var(--mono); color:var(--muted); }
body[data-view=overview] #overview-fronts .warfront-countdown[data-state=losing_ground] { color:var(--automatons); }

@media (min-width:1280px) and (max-width:1499px) {
  .unified-command { display:none; }
}
@media (min-width:901px) and (max-width:1100px) {
  body .unified-header .unified-navigation { gap:10px; }
  body .unified-header .unified-navigation>a { font-size:15px; }
  .unified-refresh>span { display:none; }
}
@media (max-width:900px) {
  .display-modes a { min-height:38px; }
}
@media (max-width:520px) {
  body .unified-header {
    display:grid;
    grid-template-columns:minmax(0,1fr) auto auto;
    grid-template-rows:44px 40px;
    column-gap:8px;
    row-gap:0;
    height:89px;
    padding-block:2px;
  }
  body .unified-header .unified-tools { display:contents; }
  body .unified-header .unified-brand { grid-area:1/1; }
  body .unified-header .unified-refresh { grid-area:1/2; }
  body .unified-header .unified-menu-toggle { grid-area:1/3; }
  .display-modes { grid-area:2/1; justify-self:start; }
  .unified-clock { grid-area:2/2/3/4; }
  body .unified-header .unified-navigation { max-height:calc(100dvh - 89px); }
  .unified-menu-backdrop { top:89px; }
}

/* Keep the skip target in keyboard order and outside the visual layout. */
.skip-link:not(:focus-visible) {
  top:0;
  width:1px;
  height:1px;
  padding:0;
  overflow:hidden;
  clip-path:inset(50%);
  white-space:nowrap;
  pointer-events:none;
}
.skip-link:focus-visible { top:10px; }
