:root {
  color-scheme: dark;
  --bg-abyss: #071019;
  --surface-1: #0D1826;
  --surface-2: #132234;
  --surface-3: #1B2E45;
  --gold: #DFA844;
  --gold-bright: #F5CA69;
  --gold-dim: rgba(223, 168, 68, 0.16);
  --cyan: #38BDF8;
  --cyan-dim: rgba(56, 189, 248, 0.14);
  --special: #C8A2FF;
  --special-dim: rgba(200, 162, 255, 0.15);
  --super: #FF7B47;
  --danger: #F43F5E;
  --text-primary: #ECF3FA;
  --text-secondary: #9BB0C6;
  --text-muted: #647B94;
  --line: rgba(135, 178, 218, 0.16);
  --line-strong: rgba(135, 178, 218, 0.31);
  --mono: "JetBrains Mono", "Cascadia Mono", Consolas, monospace;
  font: 14px/1.5 "PingFang SC", "Microsoft YaHei UI", "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body {
  margin: 0;
  min-width: 290px;
  min-height: 100vh;
  color: var(--text-primary);
  background:
    radial-gradient(ellipse at 68% 0, #0e2238 0%, transparent 58%),
    linear-gradient(rgba(120, 172, 220, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 172, 220, 0.045) 1px, transparent 1px), var(--bg-abyss);
  background-size: auto, 48px 48px, 48px 48px, auto;
  background-attachment: fixed;
}
h1, h2, h3, p { margin: 0; }
h1 { font-size: clamp(26px, 3.2vw, 36px); font-weight: 750; line-height: 1.15; letter-spacing: .03em; }
h2 { font-size: 17px; }
h3 { font-size: 14px; }
small { font-size: 11px; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button, .button, select {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  min-height: 35px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 6px;
  background: var(--surface-2); color: var(--text-primary); cursor: pointer; transition: background .16s, border-color .16s, color .16s;
}
button:hover:not(:disabled), .button:hover, select:hover { background: var(--surface-3); border-color: var(--line-strong); }
button:disabled, .button[aria-disabled=true] { opacity: .46; cursor: default; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
input[type=search], .dialog input[type=text] {
  width: 100%; min-width: 0; min-height: 38px; padding: 7px 12px; color: var(--text-primary);
  background: #0a1420; border: 1px solid var(--line-strong); border-radius: 6px;
}
input::placeholder { color: var(--text-secondary); }
.gold {
  color: #20170d; font-weight: 750; border-color: #efbd64; background: linear-gradient(180deg, #edbe62, #cf9735);
  box-shadow: inset 0 1px rgba(255,255,255,.28), 0 5px 16px rgba(145, 90, 20, .15);
}
.gold:hover:not(:disabled), .button.gold:hover { color: #211709; border-color: var(--gold-bright); background: linear-gradient(180deg, #f8d07d, #dfa844); }
.danger { color: #ff91a4; }
.danger:hover:not(:disabled) { background: rgba(244,63,94,.12); border-color: rgba(244,63,94,.5); }
.text-button { min-height: 27px; padding: 2px 6px; background: transparent; border-color: transparent; color: var(--text-secondary); font-size: 11px; }
.icon-button { min-width: 34px; padding: 2px 8px; font-size: 21px; line-height: 1; }
.mono, .tier, .num { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.muted { color: var(--text-secondary); }
.empty { padding: 14px; color: var(--text-secondary); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.ship-icon { width: 20px; height: 20px; flex: 0 0 auto; display: inline-block; vertical-align: middle; }
.inline-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.tier { color: var(--gold-bright); }
.tier.super { color: var(--super); }

.masthead { position: sticky; inset-block-start: 0; z-index: 4; background: rgba(8,17,28,.93); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.masthead-inner {
  max-width: 1560px; min-height: 64px; padding: 8px 27px; margin: auto;
  display: flex; align-items: center; gap: 13px;
}
.brand { display: flex; align-items: center; gap: 8px; white-space: nowrap; font-size: 17px; font-weight: 740; letter-spacing: .035em; }
.brand-mark { width: 34px; height: 34px; fill: none; stroke: var(--gold); stroke-width: 1.25; }
.brand-mark circle:nth-child(2) { stroke-opacity: .38; }
.header-meta { display: flex; align-items: center; gap: 8px; }
.realm, .badge {
  display: inline-flex; align-items: center; gap: 5px; width: max-content;
  padding: 3px 7px; border: 1px solid var(--line); border-radius: 4px; white-space: nowrap; font-size: 11px;
}
.realm { color: var(--gold-bright); border-color: rgba(223,168,68,.34); background: var(--gold-dim); letter-spacing: .08em; }
.status-button { min-height: 27px; padding: 3px 7px; font-size: 11px; color: var(--text-secondary); white-space: nowrap; }
.status-dot { display: inline-block; width: 6px; height: 6px; flex: 0 0 auto; border-radius: 50%; background: var(--text-muted); }
.status-dot.ready, .status-dot.port { background: var(--cyan); box-shadow: 0 0 6px var(--cyan-dim); }
.status-dot.stats { background: #68c6ad; }
.status-dot.demo { background: var(--gold); }
.tabs { display: flex; gap: 3px; margin: auto; padding: 3px; border: 1px solid var(--line); border-radius: 7px; background: #09131f; white-space: nowrap; }
.tabs a { padding: 6px 13px; border: 1px solid transparent; border-radius: 5px; color: var(--text-secondary); font-size: 13px; }
.tabs a:hover { background: var(--surface-2); }
.tabs a[aria-current=page] { color: var(--gold-bright); background: var(--gold-dim); border-color: rgba(223,168,68,.32); }
.commander { text-align: left; min-width: 160px; justify-content: flex-start; padding: 4px 9px; }
.commander-icon { width: 27px; height: 27px; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 4px; color: var(--cyan); background: #102135; }
.commander-copy { flex: 1; display: grid; line-height: 1.35; }
.commander-copy strong { max-width: 190px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 12px; }
.commander-copy small { color: var(--text-secondary); display: flex; align-items: center; gap: 5px; }

.workspace { width: min(1512px, calc(100% - 64px)); margin: 18px auto 36px; }
.view-head { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.kicker { color: var(--gold); font-size: 11px; letter-spacing: .19em; font-weight: 600; margin-bottom: 4px; }
.view-summary { color: var(--text-secondary); text-align: right; font-size: 12px; }
.solo-layout, .division-work { display: grid; grid-template-columns: 350px minmax(0, 1fr); align-items: start; gap: 18px; }
.solo-main, .division-layout { display: grid; gap: 18px; min-width: 0; }
.panel {
  min-width: 0; border: 1px solid var(--line); border-radius: 8px;
  background: var(--surface-1); box-shadow: inset 0 1px rgba(191,224,255,.035), 0 12px 30px #040a1233;
}
.panel-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px; padding: 11px 16px; border-bottom: 1px solid var(--line); }
.panel-head h2 { display: flex; align-items: center; gap: 8px; }
.panel-head h2::before { content: ""; width: 3px; height: 13px; border-radius: 1px; background: var(--gold); }
.controls-body { padding: 1px 15px 6px; }
.filter-group { padding: 7px 0; border-bottom: 1px solid var(--line); }
.filter-group:last-child { border-bottom: 0; }
.group-head { display: flex; align-items: center; justify-content: space-between; min-height: 22px; gap: 5px; margin-bottom: 5px; }
.group-head h3 { font-size: 12px; }
.chip-grid { display: grid; gap: 5px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.chip-grid.levels { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.chip-grid.nations { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.chip-grid .chip { justify-content: center; min-width: 0; }
.chip { min-height: 27px; padding: 2px 5px; gap: 3px; font-size: 11px; color: var(--text-secondary); background: #101e2d; }
.chip .ship-icon { width: 14px; height: 14px; }
.chip[aria-pressed=true] { color: var(--gold-bright); background: var(--gold-dim); border-color: rgba(223,168,68,.42); }
.chip[aria-pressed=true] .chip-count { color: #e4c88d; }
.chip-count { font-size: 10px; color: var(--text-secondary); }
.chip.unavailable { color: #8a9eb3; border-color: transparent; background: #0e1a28; }
.chip.unavailable[aria-pressed=true] { border-color: rgba(223,168,68,.27); color: #c5b28a; }
.tier.super, .chip.super { color: var(--super); }
.chip-presets { display: flex; gap: 4px; margin-top: 5px; }
.chip-presets .chip { min-height: 24px; padding-inline: 8px; }
.category-dot { width: 6px; height: 6px; border-radius: 50%; display: inline-block; background: #92aabc; margin-right: 2px; }
.category-dot.premium { background: var(--gold); }
.category-dot.special { background: var(--special); }
.category.premium { color: var(--gold-bright); border-color: #dfa84444; background: var(--gold-dim); }
.category.special { color: var(--special); border-color: #c8a2ff44; background: var(--special-dim); }
.category.techtree { color: var(--text-secondary); }
.option-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; min-height: 28px; gap: 5px; }
.option-row + .option-row { margin-top: 1px; }
.check { display: inline-flex; align-items: center; gap: 7px; cursor: pointer; font-size: 12px; }
.check input { appearance: none; width: 27px; height: 15px; flex-shrink: 0; margin: 0; border: 1px solid var(--line-strong); background: #0a1420; border-radius: 10px; cursor: pointer; }
.check input::after { content: ""; display: block; width: 9px; height: 9px; margin: 2px; border-radius: 50%; background: var(--text-secondary); transition: transform .16s; }
.check input:checked { border-color: #dfa84488; background: var(--gold-dim); }
.check input:checked::after { background: var(--gold-bright); transform: translateX(12px); }
.controls-foot { padding: 11px 15px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 6px; color: var(--text-secondary); font-size: 11px; }
.controls-foot strong { color: var(--gold-bright); font-size: 21px; }
.controls-foot button { font-size: 11px; min-height: 30px; }

.stage {
  position: relative; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(ellipse at 50% 46%, #172f46 0%, transparent 59%),
    linear-gradient(rgba(120, 172, 220, .048) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 172, 220, .048) 1px, transparent 1px), #0c1826;
  background-size: auto, 32px 32px, 32px 32px, auto;
  border-color: rgba(135,178,218,.26);
}
.framed::before, .framed::after { content: ""; position: absolute; inset: 9px; z-index: -1; pointer-events: none; }
.framed::before {
  background: linear-gradient(var(--gold), var(--gold)) top left / 8px 1px,
    linear-gradient(var(--gold), var(--gold)) top left / 1px 8px,
    linear-gradient(var(--gold), var(--gold)) bottom right / 8px 1px,
    linear-gradient(var(--gold), var(--gold)) bottom right / 1px 8px; background-repeat: no-repeat; opacity: .6;
}
.framed::after {
  background: linear-gradient(var(--gold), var(--gold)) top right / 8px 1px,
    linear-gradient(var(--gold), var(--gold)) top right / 1px 8px,
    linear-gradient(var(--gold), var(--gold)) bottom left / 8px 1px,
    linear-gradient(var(--gold), var(--gold)) bottom left / 1px 8px; background-repeat: no-repeat; opacity: .6;
}
.stage-header { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 5px; align-items: center; padding: 17px 22px 10px; color: var(--text-secondary); }
.stage-header h2 { color: var(--text-primary); }
.stage-status { color: var(--cyan); border-color: #38bdf83d; background: var(--cyan-dim); letter-spacing: .06em; }
.stage-status.result-ready { color: var(--gold-bright); border-color: #dfa84466; background: var(--gold-dim); }
.stage-content {
  position: relative; display: grid; justify-items: center; align-content: center; gap: 11px;
  min-height: 420px; padding: 16px 18px 25px; text-align: center;
}
.stage-content h3 { font-size: 23px; letter-spacing: .045em; }
.stage-content .stage-note { color: var(--text-secondary); max-width: 51ch; font-size: 13px; }
.stage-gold { min-height: 49px; padding: 10px 24px; font-size: 15px; letter-spacing: .035em; }
.stage-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; }
.key-hint { display: inline-flex; gap: 7px; align-items: center; color: var(--text-secondary); font-size: 11px; }
kbd { border: 1px solid var(--line-strong); border-radius: 4px; padding: 1px 6px; background: #0a1420; color: var(--text-primary); font-family: var(--mono); }
.radar {
  width: min(195px, 65vw); aspect-ratio: 1; position: relative; display: grid; place-items: center; margin: 0 0 2px; border-radius: 50%;
  background:
    linear-gradient(90deg, transparent calc(50% - .5px), #38bdf844 50%, transparent calc(50% + .5px)),
    linear-gradient(transparent calc(50% - .5px), #38bdf844 50%, transparent calc(50% + .5px)),
    repeating-radial-gradient(circle, transparent 0 22px, #4abdf83c 23px 24px);
  border: 1px solid #65cafa50; box-shadow: 0 0 27px #38bdf813, inset 0 0 30px #38bdf818;
}
.radar::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: conic-gradient(from 25deg, transparent 0deg 270deg, #38bdf800 275deg, #38bdf83d 357deg, #72ccf17a 360deg);
  animation: sweep 8s linear infinite;
}
.radar::after {
  content: ""; width: 7px; height: 7px; position: absolute; top: 24%; right: 28%;
  border-radius: 50%; background: var(--cyan); box-shadow: 0 0 8px #38bdf8;
}
.radar .ship-icon { width: 31px; height: 31px; color: #8bd1f3; filter: drop-shadow(0 0 8px #38bdf86c); }
.radar b { position: absolute; top: -19px; color: var(--text-secondary); font: 10px var(--mono); }
@keyframes sweep { to { transform: rotate(360deg); } }
.ship-visual { position: relative; display: grid; place-items: center; width: min(100%, 560px); height: 196px; min-height: 0; overflow: hidden; }
.ship-visual > .ship-icon { grid-area: 1 / 1; width: 94px; height: 94px; color: #6b9fbf; filter: drop-shadow(0 0 22px #38bdf829); }
.ship-visual img {
  position: absolute; inset: 0; width: 100%; height: 100%; max-width: 100%; max-height: 100%;
  object-fit: contain; object-position: center; pointer-events: none;
  filter: drop-shadow(0 10px 14px #020508ad);
}
.ship-visual.has-image > .ship-icon { visibility: hidden; }
.stage-content.revealed { background: radial-gradient(ellipse at 50% 35%, #dfa84413, transparent 54%); }
.result-name { display: flex; align-items: center; justify-content: center; gap: 9px; flex-wrap: wrap; }
.result-name .tier { font-size: 23px; }
.result-meta { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; align-items: center; }
.stats-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 1px; padding: 1px; border: 1px solid var(--line); border-radius: 6px; background: var(--line); }
.stats-strip span { background: #0c1725; padding: 5px 9px; color: var(--text-secondary); font-size: 11px; }
.stats-strip strong { color: var(--text-primary); }
.slot { min-height: 110px; display: grid; align-content: center; justify-items: center; gap: 8px; overflow: hidden; }
.slot-name { display: inline-flex; align-items: center; justify-content: center; gap: 6px; color: var(--gold-bright); }
.slot-name strong { font-size: 24px; color: var(--text-primary); }

.history-list { padding: 11px 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.history-list .empty { padding: 4px 3px; font-size: 12px; }
.history-chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 4px 3px 8px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 5px; font-size: 11px; }
.history-chip .icon-button { font-size: 16px; min-height: 23px; min-width: 23px; }

.roster-body { padding: 11px 15px 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.member { flex: 1 1 176px; max-width: 310px; padding: 9px 10px; border: 1px solid var(--line); border-radius: 6px; background: #0c1724; }
.member.selected { border-color: #38bdf84d; background: #112335; }
.member label { color: var(--text-primary); }
.member p { margin: 4px 0 6px; font-size: 11px; color: var(--text-secondary); }
.member-icons { display: flex; flex-wrap: wrap; gap: 4px; }
.member-icons .chip { min-height: 26px; min-width: 29px; }
.segmented { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; }
.common-tiers { padding: 10px 0 1px; color: var(--text-secondary); font-size: 12px; }
.tier-list { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.common-tier { padding: 2px 6px; color: #9bdfff; border: 1px solid #38bdf856; border-radius: 4px; background: var(--cyan-dim); }
.division-stage-body { min-height: 420px; padding: 13px 15px 18px; display: grid; gap: 14px; align-content: center; }
.banner { justify-self: center; text-align: center; max-width: 100%; padding: 8px 20px; background: linear-gradient(90deg, #dfa8440b, #dfa84423, #dfa8440b); border-block: 1px solid #dfa8445e; color: var(--gold-bright); font-size: 14px; letter-spacing: .05em; }
.banner strong { font-size: 19px; }
.division-cards { display: grid; gap: 8px; grid-template-columns: repeat(auto-fit, minmax(min(175px, 100%), 1fr)); }
.division-card { display: grid; justify-items: center; align-content: start; gap: 7px; min-width: 0; padding: 11px 8px; background: #101d2ce8; border: 1px solid var(--line-strong); border-radius: 6px; text-align: center; }
.division-card .ship-visual { width: 100%; height: 118px; }
.division-card .ship-visual .ship-icon { width: 48px; height: 48px; }
.division-card .result-name { gap: 5px; }
.division-card .result-name .tier { font-size: 14px; }
.division-card .result-name h3, .division-card .slot-name strong { font-size: 15px; overflow-wrap: anywhere; }
.division-card .stats-strip span { padding: 3px 5px; }
.division-card button { min-height: 29px; font-size: 11px; }
.division-card .stage-actions { gap: 4px; }
.stage-hint { width: min(580px, 100%); margin: 0 auto; text-align: center; padding: 18px; color: var(--text-secondary); }

#port-view { padding: 15px 17px; }
.port-top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-bottom: 12px; }
.field { display: inline-flex; align-items: center; gap: 6px; color: var(--text-secondary); font-size: 12px; }
.port-search { flex: 1 1 230px; }
.port-filters { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 9px; }
.port-tabs { display: flex; flex-wrap: wrap; gap: 4px; }
.table-wrap { max-width: 100%; overflow: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; white-space: nowrap; font-size: 12px; }
th { padding: 8px 9px; background: #112031; color: var(--text-secondary); font-weight: 600; }
td { padding: 6px 9px; border-bottom: 1px solid var(--line); }
tbody tr:nth-child(even) { background: #11203159; }
tbody tr:hover { background: #17314b63; }
.port-summary { margin: 11px 0 6px; color: var(--text-secondary); font-size: 11px; }
.thumbnail { width: 63px; height: 34px; }
.thumbnail > .ship-icon { width: 19px; height: 19px; filter: none; }
.table-action { min-height: 26px; font-size: 11px; padding: 3px 7px; }
.table-name { font-weight: 700; }

.dialog {
  width: min(660px, calc(100vw - 28px)); max-height: 86dvh; padding: 0; overflow: auto; border: 1px solid var(--line-strong);
  border-radius: 8px; color: var(--text-primary); background: var(--surface-1); box-shadow: 0 16px 85px #000b;
}
.dialog.accounts { width: min(800px, calc(100vw - 28px)); }
.dialog::backdrop { background: #02070cbb; backdrop-filter: blur(4px); }
.dialog-head, .dialog-foot { padding: 12px 16px; display: flex; align-items: center; gap: 7px; background: #101e2e; }
.dialog-head { position: sticky; top: 0; z-index: 1; border-bottom: 1px solid var(--line); justify-content: space-between; }
.dialog-foot { flex-wrap: wrap; border-top: 1px solid var(--line); }
.dialog-body { padding: 15px 16px; }
.account-methods { display: grid; gap: 10px; }
.account-method { padding: 11px; border: 1px solid var(--line); border-radius: 6px; background: #101e2e; }
.account-method p { margin: 3px 0 8px; color: var(--text-secondary); font-size: 12px; }
.nickname-method { border-color: var(--line-strong); }
.account-method summary { cursor: pointer; color: var(--text-secondary); }
.notice-line { padding: 8px 12px; color: var(--text-secondary); font-size: 12px; }
#share-status { margin-bottom: 8px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface-1); }
.port-notice { padding-inline: 16px; }
.search-results { margin-top: 5px; display: grid; gap: 4px; }
.search-results button { justify-content: space-between; text-align: left; }
.saved-head { display: flex; align-items: center; justify-content: space-between; margin: 14px 0 7px; }
.saved-player { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; padding: 8px 0; gap: 6px; border-top: 1px solid var(--line); }
.saved-player p { margin-top: 3px; color: var(--text-secondary); font-size: 11px; }
.saved-player .inline-actions button { min-height: 29px; font-size: 11px; }
.badge.port { color: #8cdcff; background: var(--cyan-dim); }
.badge.stats { color: #99e2cf; }
.badge.demo { color: var(--gold-bright); }
.toast { position: fixed; z-index: 9; right: 17px; bottom: 17px; max-width: calc(100% - 34px); padding: 9px 13px; display: flex; align-items: center; gap: 9px; background: #14283b; border: 1px solid #38bdf857; border-radius: 7px; box-shadow: 0 10px 35px #0008; }
.toast.error { border-color: #f43f5e73; }

@media (max-width: 1080px) {
  .masthead-inner { padding-inline: 15px; gap: 8px; }
  .brand { font-size: 15px; }
  .brand-mark { width: 29px; height: 29px; }
  .tabs a { padding-inline: 7px; }
  .workspace { width: calc(100% - 36px); }
}
@media (max-width: 850px) {
  .masthead-inner { flex-wrap: wrap; }
  .commander { margin-left: auto; }
  .tabs { order: 1; width: 100%; }
  .tabs a { flex: 1; text-align: center; }
  .division-work { grid-template-columns: 1fr; }
  .solo-layout { grid-template-columns: 308px minmax(0, 1fr); gap: 11px; }
}
@media (max-width: 670px) {
  .header-meta { gap: 4px; }
  .commander { min-width: 35px; }
  .commander-copy strong { max-width: 108px; }
  .commander-icon { display: none; }
  .masthead-inner { padding-inline: 10px; }
  .workspace { width: calc(100% - 22px); margin-top: 19px; }
  .solo-layout { grid-template-columns: 1fr; }
  .solo-main { order: -1; }
  .stage-content { min-height: 380px; }
  .view-head { margin-bottom: 12px; }
  .view-summary { max-width: 42%; }
}
@media (max-width: 435px) {
  .brand { font-size: 13px; }
  .brand-mark { width: 24px; height: 24px; }
  .commander-copy small { display: none; }
  .header-meta .status-button { padding-inline: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .radar::before { animation: none; }
}
