/* ============================================================
   GODMODE client — screen layouts over the godmode.css system.
   One 1920×1080 stage, scaled to the window by js/fit.js.
   ============================================================ */

body { overflow: hidden; }

.hidden { display: none !important; }

/* ================================================== title screen */

#screen-title .center {
  position: absolute; inset: 0; z-index: 10;
  display: flex; flex-direction: column; align-items: center;
  padding-top: 208px;
}
#screen-title .tagline {
  margin-top: 34px;
  font-family: var(--f-ui); font-weight: 500; font-size: 24px;
  letter-spacing: .52em; text-transform: uppercase; color: var(--dim);
  text-indent: .52em;
}
#screen-title .menu { margin-top: 96px; display: flex; flex-direction: column; gap: 22px; width: 480px; }
#screen-title .menu .btn { width: 100%; }
#screen-title .foot {
  position: absolute; bottom: 34px; left: 0; right: 0; z-index: 10;
  display: flex; justify-content: space-between; padding: 0 48px;
  font-family: var(--f-data); font-size: 14px; color: var(--steel-d);
}
/* welcome-screen planet backdrop — the same space.jpg the game console shows,
   carried up brighter so it reads as the hero image behind the wordmark */
#screen-title .bg-planet {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: url(../assets/bg/space.jpg) center / cover no-repeat;
  opacity: .5;
}
#screen-title .halo {
  position: absolute; top: 96px; left: 50%; transform: translateX(-50%);
  width: 980px; height: 460px; z-index: 5; pointer-events: none; opacity: .5;
}

/* starfield: a scatter of static pin-lights that breathe slowly, plus two
   shooting stars that sweep the sky on a long, offset cycle so they read as
   occasional — not a constant rain. Pure CSS, sits above the planet backdrop
   and below the wordmark (z 1). */
#screen-title .bg-stars {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background-repeat: no-repeat;
  background-image:
    radial-gradient(1.4px 1.4px at 12% 22%, #cfefff 40%, transparent),
    radial-gradient(1.2px 1.2px at 78% 14%, #bfe4ff 40%, transparent),
    radial-gradient(1px 1px   at 34% 68%, #9fd4ff 40%, transparent),
    radial-gradient(1.6px 1.6px at 62% 40%, #ffffff 45%, transparent),
    radial-gradient(1px 1px   at 88% 58%, #a8d8ff 40%, transparent),
    radial-gradient(1.2px 1.2px at 24% 84%, #d6f0ff 40%, transparent),
    radial-gradient(1px 1px   at 52% 12%, #bfe4ff 40%, transparent),
    radial-gradient(1.3px 1.3px at 6% 54%, #e6f6ff 40%, transparent),
    radial-gradient(1px 1px   at 70% 78%, #9fd4ff 40%, transparent),
    radial-gradient(1.1px 1.1px at 44% 30%, #ffffff 40%, transparent);
  animation: star-breathe 6.5s ease-in-out infinite;
}
@keyframes star-breathe { 0%, 100% { opacity: .55; } 50% { opacity: .9; } }

/* the two shooting stars — each a tiny distant dot (the bright head) with a
   short fading tail trailing behind it. The element lies along its travel axis
   (rotate 150deg → points down-left), the bright dot at the leading +x end, so
   translateX carries the head forward and the tail always drags behind. Each
   idles invisible off the far corner for the rest of a long, offset cycle so a
   pass is a rare event, not a constant rain. */
#screen-title .bg-stars::before,
#screen-title .bg-stars::after {
  content: ""; position: absolute; top: -4%; left: 88%;
  width: 46px; height: 1.5px; border-radius: 1px; opacity: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(180,222,255,.35) 78%, #eaf6ff 100%);
  box-shadow: 0 0 4px .5px rgba(200,232,255,.6);
  transform: rotate(150deg) translateX(0);
  will-change: transform, opacity;
}
#screen-title .bg-stars::before { animation: star-shoot 11s ease-in 3s infinite; }
#screen-title .bg-stars::after  { top: 6%; left: 96%; width: 38px; animation: star-shoot 17s ease-in 9s infinite; }
@keyframes star-shoot {
  0%   { opacity: 0; transform: rotate(150deg) translateX(0); }
  2.5% { opacity: .7; }
  13%  { opacity: 0; transform: rotate(150deg) translateX(135vmax); }
  100% { opacity: 0; transform: rotate(150deg) translateX(135vmax); }
}
@media (prefers-reduced-motion: reduce) {
  #screen-title .bg-stars { animation: none; }
  #screen-title .bg-stars::before,
  #screen-title .bg-stars::after { animation: none; }
}

/* ================================================== game console */

.console { position: absolute; inset: 0; z-index: 10; display: flex; flex-direction: column; gap: 14px; padding: 20px 28px; }

.topbar { height: 92px; flex: 0 0 92px; display: flex; align-items: center; padding: 0 32px; gap: 40px; }
.topbar .year { font-family: var(--f-display); font-weight: 700; font-size: 40px; letter-spacing: .08em; color: var(--cyan); text-shadow: 0 0 18px rgba(94,200,247,.45); }
.topbar .spacer { flex: 1; }
.topbar .chip { cursor: pointer; }
.ph { display: flex; align-items: center; gap: 18px; }
.ph .gauge { width: 74px; height: 74px; }
.ph .g-val { font-size: 22px; }

.grid-metrics { display: flex; gap: 14px; }
.grid-metrics .metric { flex: 1; }
.grid-markets { display: flex; gap: 14px; }
.market { flex: 1; height: 86px; display: flex; align-items: center; padding: 0 22px; gap: 18px; }
.market .m-label { position: static; }
.market .m-value { font-size: 26px; }
.market .spark { top: 8px; bottom: 8px; opacity: .55; }

.mid { flex: 1; display: flex; gap: 16px; min-height: 0; }

.nodes { width: 600px; flex: 0 0 600px; padding: 24px 28px; display: flex; flex-direction: column; overflow: hidden; }
.node-row { display: flex; flex-direction: column; padding: 13px 0; border-bottom: 1px solid rgba(46,91,138,.16); }
.node-row:last-child { border-bottom: 0; }
.node-name { font-family: var(--f-ui); font-weight: 600; font-size: 21px; letter-spacing: .06em; }
.node-stats { font-family: var(--f-data); font-size: 14px; color: var(--dim); margin-top: 4px; padding-left: 19px; }

/* mini live map — a preview of the same choropleth openMap() shows full-screen;
   the whole .nodes plate is already click-to-open (data-act="map-open" above) */
.mini-map-wrap { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.mini-map { flex: 1; width: 100%; min-height: 0; }
.mini-map .mini-country { stroke: rgba(46,91,138,.35); stroke-width: .6; transition: fill-opacity .15s; }
.nodes--clickable:hover .mini-map .mini-country { fill-opacity: .85; }
.mini-map-loading {
  flex: 1; display: flex; align-items: center; justify-content: center;
  font-family: var(--f-ui); font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--dim);
}
.mini-map-legend { display: flex; gap: 16px; margin-top: 10px; font-family: var(--f-data); font-size: 12px; color: var(--dim); }
.mini-map-legend .row { display: flex; align-items: center; gap: 6px; }
.mini-map-legend .sw { width: 9px; height: 9px; border-radius: 2px; }

/* event card / interlude / report share this plate */
.card { flex: 1; padding: 30px 40px; display: flex; flex-direction: column; min-width: 0; }
.card-head { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.card-title { font-family: var(--f-ui); font-weight: 700; font-size: 40px; letter-spacing: .04em; text-transform: uppercase; color: var(--cyan); text-shadow: 0 0 22px rgba(94,200,247,.35); margin-top: 16px; }
.card-body { margin-top: 18px; max-width: 1180px; overflow-y: auto; font-size: 23px; line-height: 1.6; }
.card-actions { margin-top: auto; padding-top: 20px; display: flex; gap: 22px; }
.card-actions .action { flex: 1; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
/* Card option labels are full sentences by design (min-height accounts for
   2-3 lines) — this is the one button that WANTS to wrap, so it opts back
   out of the base .btn nowrap rule (see godmode.css). */
.card-actions .btn { width: 100%; min-height: 96px; font-size: 20px; line-height: 1.35; padding: 18px 28px; white-space: normal; }
.discard { align-self: center; font-family: var(--f-ui); font-size: 15px; letter-spacing: .12em; text-transform: uppercase; color: var(--steel-d); cursor: pointer; background: none; border: 0; }
.discard:hover { color: var(--bad); }
.discard-note { align-self: center; font-family: var(--f-ui); font-size: 15px; letter-spacing: .12em; text-transform: uppercase; color: var(--steel-d); }

/* consequence deltas + newswire */
.deltas { font-family: var(--f-data); font-size: 17px; color: var(--cyan); margin-top: 16px; }
.wire { margin-top: 22px; }
.wire-item { display: flex; gap: 14px; margin-top: 10px; }
.wire-item .rg { font-family: var(--f-ui); font-weight: 600; font-size: 15px; letter-spacing: .1em; text-transform: uppercase; color: var(--cyan); white-space: nowrap; }

/* one highlighted, mechanically-meaningful headline — pinned above the wire */
.news-flag {
  display: flex; align-items: center; gap: 16px;
  margin: 4px 0 18px; padding: 13px 18px;
  border-left: 3px solid var(--cyan);
  background: linear-gradient(90deg, rgba(94,200,247,.14), rgba(94,200,247,.02));
  box-shadow: inset 0 0 0 1px rgba(94,200,247,.22);
}
.news-flag .nf-icon { font-size: 26px; line-height: 1; color: var(--cyan); text-shadow: 0 0 12px currentColor; }
.news-flag .nf-body { display: flex; flex-direction: column; gap: 3px; }
.news-flag .nf-tag { font-family: var(--f-ui); font-weight: 700; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--cyan); }
.news-flag .nf-text { font-family: var(--f-body); font-size: 18px; line-height: 1.45; color: var(--text); }
/* warning = amber/danger, echo = red reckoning, foreshadow keeps the cyan default */
.news-flag--warning { border-left-color: var(--warn); background: linear-gradient(90deg, rgba(255,180,84,.15), rgba(255,180,84,.02)); box-shadow: inset 0 0 0 1px rgba(255,180,84,.28); }
.news-flag--warning .nf-icon, .news-flag--warning .nf-tag { color: var(--warn); }
.news-flag--echo { border-left-color: var(--bad); background: linear-gradient(90deg, rgba(255,107,97,.15), rgba(255,107,97,.02)); box-shadow: inset 0 0 0 1px rgba(255,107,97,.28); }
.news-flag--echo .nf-icon, .news-flag--echo .nf-tag { color: var(--bad); }

/* report rows */
.report-rows { margin-top: 22px; max-width: 900px; }
.report-rows .readout td { font-size: 19px; padding: 10px 0; }

.panel-x { margin-left: auto; }

/* world feed + controls */
.feed { height: 66px; flex: 0 0 66px; display: flex; align-items: center; gap: 26px; padding: 0 26px; }
.feed .lbl { white-space: nowrap; }
.feed-text { flex: 1; font-family: var(--f-body); font-size: 17px; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.controls { height: 58px; flex: 0 0 58px; display: flex; gap: 14px; align-items: center; }
.controls .btn { height: 52px; }
.controls .spacer { flex: 1; }

/* ================================================== overlays */

.overlay {
  position: absolute; inset: 0; z-index: 40;
  background: rgba(4, 7, 13, .97);
  display: flex; flex-direction: column; gap: 18px; padding: 26px 32px;
}
.ov-head { display: flex; align-items: center; gap: 28px; }
.ov-title { font-family: var(--f-display); font-weight: 700; font-size: 40px; letter-spacing: .1em; text-transform: uppercase; color: var(--steel-l); }
.ov-title .yr, .ov-title .cyan { color: var(--cyan); text-shadow: 0 0 18px rgba(94,200,247,.5); }
.ov-head .spacer { flex: 1; }
.ov-sub { font-family: var(--f-ui); font-size: 19px; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.ov-sub.hot { color: var(--good); }

/* war room grid */
.wr-grid { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: 1fr 1fr; gap: 18px; min-height: 0; }
.domain { padding: 22px 26px; display: flex; flex-direction: column; min-height: 0; }
.domain .d-title { font-family: var(--f-ui); font-weight: 700; font-size: 25px; letter-spacing: .07em; text-transform: uppercase; color: var(--cyan); }
.domain .d-advisor { margin-top: 6px; font-family: var(--f-body); font-size: 17px; color: var(--text); }
.domain .d-role { font-family: var(--f-ui); font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); margin-top: 2px; }
.domain .readout { margin-top: 12px; flex: 1; }
.domain .readout td { padding: 5px 0; font-size: 16px; }
.domain .btn { margin-top: 12px; width: 100%; }
.domain .hand { position: absolute; top: 14px; right: 18px; font-size: 30px; z-index: 3; filter: drop-shadow(0 0 10px rgba(99,230,165,.8)); }
.domain--hot { background: linear-gradient(160deg, rgba(99,230,165,.75), var(--edge) 45%, rgba(99,230,165,.5)); }
.domain--hot::before { background: linear-gradient(172deg, #0F2416 0%, #0B1322 40%, #081020 100%); }

/* advisor desk */
.desk-body { flex: 1; display: flex; gap: 18px; min-height: 0; }
.profile { width: 560px; flex: 0 0 560px; padding: 30px 34px; display: flex; flex-direction: column; overflow: hidden; }
.avatar {
  width: 128px; height: 128px; margin-bottom: 20px;
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
  background:
    radial-gradient(circle at 50% 34%, rgba(94,200,247,.5) 0%, rgba(94,200,247,.12) 46%, transparent 70%),
    linear-gradient(180deg, #14263E, #0A1424);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-display); font-weight: 900; font-size: 46px; color: var(--cyan);
  text-shadow: 0 0 22px rgba(94,200,247,.8);
  box-shadow: inset 0 0 0 1px var(--edge-bright);
}
.p-name { font-family: var(--f-ui); font-weight: 700; font-size: 34px; letter-spacing: .04em; color: var(--text); }
.p-role { font-family: var(--f-ui); font-weight: 600; font-size: 17px; letter-spacing: .18em; text-transform: uppercase; color: var(--cyan); margin-top: 6px; }
.p-since { font-family: var(--f-data); font-size: 14px; color: var(--dim); margin-top: 8px; }
.p-bio { margin-top: 18px; }

.consult { flex: 1; padding: 26px 30px; display: flex; flex-direction: column; min-width: 0; }
.chat { flex: 1; margin-top: 16px; overflow-y: auto; display: flex; flex-direction: column; gap: 16px; padding-right: 18px; }
.msg { max-width: 82%; padding: 14px 20px; flex-shrink: 0; }
.msg .who { font-family: var(--f-ui); font-weight: 600; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 6px; }
.msg--you { align-self: flex-end; }
.msg--you .who { color: var(--cyan); text-align: right; }
.msg--adv .who { color: var(--dim); }
.msg--pitch { box-shadow: inset 0 0 0 1px rgba(99,230,165,.35); }
.msg--pitch .who { color: var(--good); }
.ask-row { margin-top: 18px; display: flex; gap: 14px; align-items: stretch; }
.ask-input { flex: 1; }
.ask-input input {
  width: 100%; height: 58px; padding: 0 22px;
  background: transparent; border: 0; outline: none;
  font-family: var(--f-body); font-size: 18px; color: var(--text);
}
.ask-input input::placeholder { color: var(--dim); font-style: italic; }

/* candidate picker */
.cands { flex: 1; display: flex; flex-direction: column; gap: 18px; min-height: 0; overflow-y: auto; }
.cand { padding: 24px 30px; display: flex; align-items: center; gap: 30px; flex-shrink: 0; }
.cand .c-info { flex: 1; min-width: 0; }
.cand .c-name { font-family: var(--f-ui); font-weight: 700; font-size: 26px; color: var(--cyan); }
.cand .c-role { font-family: var(--f-ui); font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); margin-top: 2px; }
.cand .c-bio { margin-top: 10px; }

/* history */
.hist-list { flex: 1; overflow-y: auto; padding-right: 20px; }
.hist-item { padding: 14px 4px; border-bottom: 1px solid rgba(46,91,138,.16); }
.hist-item .h-head { font-family: var(--f-ui); font-weight: 600; font-size: 20px; letter-spacing: .04em; }
.hist-item .h-head .h-year { font-family: var(--f-data); color: var(--cyan); margin-right: 14px; }
.hist-item .h-choice { font-family: var(--f-body); font-size: 16px; color: var(--dim); margin-top: 5px; padding-left: 4px; }

/* leaderboard */
.lb-stats {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  font-family: var(--f-data); font-size: 13px; color: var(--dim);
  padding: 0 30px 14px;
}
.lb-stats b { color: var(--cyan); font-weight: 700; }
.lb-stats-sep { color: var(--steel-d); }
.lb-list { flex: 1; overflow-y: auto; padding-right: 20px; display: flex; flex-direction: column; gap: 2px; }
.lb-row { display: flex; align-items: flex-start; gap: 18px; padding: 14px 4px; border-bottom: 1px solid rgba(46,91,138,.16); }
.lb-rank { font-family: var(--f-data); font-size: 20px; color: var(--dim); min-width: 44px; flex-shrink: 0; padding-top: 2px; }
.lb-main { flex: 1; min-width: 0; }
.lb-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.lb-name { font-family: var(--f-ui); font-weight: 700; font-size: 20px; letter-spacing: .04em; text-transform: uppercase; color: var(--cyan); }
.lb-score { font-family: var(--f-data); font-weight: 700; font-size: 24px; }
.lb-score.good { color: var(--good); }
.lb-score.bad { color: var(--bad); }
.lb-sub { font-family: var(--f-body); font-size: 15px; color: var(--dim); margin-top: 4px; }
.lb-detail { font-family: var(--f-data); font-size: 13px; color: var(--dim); margin-top: 3px; opacity: .8; }

/* solutions */
.sol-panel { width: 860px; margin: auto; padding: 40px 48px; display: flex; flex-direction: column; max-height: 820px; }
.sol-list { margin-top: 24px; display: flex; flex-direction: column; gap: 16px; overflow-y: auto; }
.sol-row { display: flex; align-items: center; gap: 24px; padding: 8px 0; border-bottom: 1px solid rgba(46,91,138,.16); }
.sol-row .s-name { flex: 1; font-family: var(--f-ui); font-weight: 600; font-size: 21px; letter-spacing: .08em; text-transform: uppercase; }
.sol-row .s-due { font-family: var(--f-data); font-size: 15px; color: var(--good); }

/* finale */
.fin-nick { margin-top: 20px; display: flex; align-items: center; gap: 14px; }
.fin-nick input {
  flex: 1; height: 52px; padding: 0 20px;
  background: transparent; border: 0; outline: none;
  font-family: var(--f-body); font-size: 16px; color: var(--text);
}
.fin-nick input::placeholder { color: var(--dim); font-style: italic; }
.fin-nick-done { margin-top: 20px; font-family: var(--f-ui); font-size: 15px; letter-spacing: .06em; color: var(--good); }
.fin { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
/* One screen, no scroll (2026-07-14): was a single stacked column that
   overflowed max-height and clipped the action buttons under `overflow:
   hidden`; a plain overflow-y:auto fix worked but read as an odd first use
   of scroll on a finale that should read as a single tableau. Two columns
   (narrative+score on the left, stats+advisors on the right) use the
   panel's already-generous width instead of stacking everything vertically,
   plus trimmed font sizes/spacing throughout -- fits comfortably within
   90vh on a 720px-tall viewport without scrolling. */
/* overflow-y:auto (not hidden): a run with a full cabinet + epilogue can push
   the two columns past 90vh, and hidden clipped the action buttons off the
   bottom of the frame. Now the panel scrolls within its chamfer instead. */
.fin-panel { width: 1360px; max-width: 94vw; max-height: 90vh; padding: 24px 48px; display: flex; flex-direction: column; overflow-y: auto; overflow-x: hidden; }
.fin-body { display: grid; grid-template-columns: 1.1fr 1fr; gap: 0 48px; align-items: start; }
.fin-col--main { min-width: 0; }
.fin-col--side { min-width: 0; padding-top: 2px; }
.fin-tag { font-family: var(--f-ui); font-weight: 700; font-size: 15px; letter-spacing: .26em; text-transform: uppercase; }
.fin-title { font-family: var(--f-display); font-weight: 900; font-size: 32px; letter-spacing: .03em; text-transform: uppercase; color: var(--steel-l); margin-top: 6px; }
.fin-title .yr { color: var(--cyan); text-shadow: 0 0 20px rgba(94,200,247,.5); }
.fin-blurb { margin-top: 10px; }
.fin-after { margin-top: 6px; color: var(--dim); }
.score-row { display: flex; align-items: center; gap: 22px; margin-top: 12px; flex-wrap: wrap; }
.score-num { font-family: var(--f-data); font-weight: 700; font-size: 36px; }
.score-num small { font-size: 18px; color: var(--dim); font-weight: 400; }
.tier { font-family: var(--f-ui); font-weight: 700; font-size: 15px; letter-spacing: .16em; text-transform: uppercase; color: var(--warn); }
.numbers { display: flex; gap: 44px; margin-top: 22px; padding: 18px 28px; flex-wrap: wrap; }
.numbers--fin { gap: 10px 20px; padding: 10px 16px; margin-top: 0; }
.numbers .n { display: flex; flex-direction: column; gap: 6px; }
.numbers .n .k { font-family: var(--f-ui); font-weight: 600; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--dim); }
.numbers .n .v { font-family: var(--f-data); font-size: 18px; color: var(--text); }
.numbers--fin .n .v { font-size: 14px; }
.numbers--fin .n { gap: 3px; }
.fin-adv-head { margin-top: 8px; }
.reveal-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 3px 14px; margin-top: 8px; }
.rv { display: flex; align-items: center; gap: 6px; border-bottom: 1px solid rgba(46,91,138,.18); padding: 4px 0; min-width: 0; }
.rv .who { flex: 1; min-width: 0; display: flex; flex-direction: column; font-family: var(--f-body); font-size: 12px; color: var(--text); line-height: 1.25; }
.rv .who-name, .rv .who small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rv .who small { display: block; font-size: 9px; color: var(--dim); }
.rv .type { flex: 0 0 auto; font-family: var(--f-ui); font-weight: 700; font-size: 9px; letter-spacing: .08em; text-transform: uppercase; color: var(--cyan); }
.rv .type.fool { color: var(--bad); }
.fin-actions { display: flex; flex-wrap: wrap; gap: 14px 22px; margin-top: 14px; }

/* toast — transient error notice */
#toast {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
  z-index: 95; padding: 14px 28px;
  font-family: var(--f-ui); font-size: 17px; letter-spacing: .06em;
  color: var(--bad); background: rgba(20, 8, 8, .92);
  box-shadow: inset 0 0 0 1px rgba(255,107,97,.45);
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  opacity: 0; pointer-events: none; transition: opacity .25s;
}
#toast.show { opacity: 1; }

/* ================================================== news ticker */

.feed { cursor: pointer; }
.feed:hover .feed-text { color: #fff; }
.feed-viewport { flex: 1; overflow: hidden; min-width: 0; }
.feed-track {
  display: inline-flex; gap: 70px; white-space: nowrap;
  font-family: var(--f-body); font-size: 17px; color: var(--text);
  will-change: transform;
  animation: ticker-scroll var(--ticker-dur, 40s) linear infinite;
}
.feed:hover .feed-track { animation-play-state: paused; }
@keyframes ticker-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ================================================== newswire overlay */

.news-list { flex: 1; overflow-y: auto; padding-right: 20px; display: flex; flex-direction: column; gap: 26px; }
.news-year { }
.news-year .ny-head { font-family: var(--f-display); font-weight: 700; font-size: 26px; letter-spacing: .1em; color: var(--cyan); text-shadow: 0 0 14px rgba(94,200,247,.4); margin-bottom: 14px; }
.news-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.news-item { display: flex; gap: 0; overflow: hidden; }
.news-item .n-art { width: 220px; flex: 0 0 220px; align-self: stretch; }
.news-item .n-art svg,
.news-item .n-art img { width: 100%; height: 100%; display: block; object-fit: cover; }
.news-item .n-body { padding: 16px 20px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.news-item .n-tag { font-family: var(--f-ui); font-weight: 600; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--dim); }
.news-item .n-headline { font-family: var(--f-body); font-size: 17px; line-height: 1.45; color: var(--text); }

/* ================================================== tutorial */

#tutorial-root { position: absolute; inset: 0; z-index: 70; pointer-events: none; }
#tutorial-root.active { pointer-events: auto; }
.tut-hole {
  position: absolute;
  box-shadow: 0 0 0 4000px rgba(3, 5, 10, .82);
  outline: 1px solid rgba(94, 200, 247, .8);
  outline-offset: 3px;
  border-radius: 2px;
  transition: all .3s ease;
}
/* Multi-target steps (2+ spotlit elements at once): a single box-shadow
   cutout can't punch two holes without each one re-darkening the other's, so
   these steps mask a full-stage dim rect instead and draw the cyan outline
   separately per hole. See tutRender(). */
.tut-dim { position: absolute; inset: 0; }
.tut-hole-outline {
  position: absolute;
  outline: 1px solid rgba(94, 200, 247, .8);
  outline-offset: 3px;
  border-radius: 2px;
}
.tut-hole.tut-center { box-shadow: 0 0 0 4000px rgba(3, 5, 10, .88); outline: none; }
.tut-pop {
  position: absolute; width: 560px; padding: 28px 34px;
  display: flex; flex-direction: column; gap: 12px;
}
.tut-pop .t-step { font-family: var(--f-data); font-size: 13px; color: var(--dim); }
.tut-pop .t-title { font-family: var(--f-ui); font-weight: 700; font-size: 27px; letter-spacing: .06em; text-transform: uppercase; color: var(--cyan); text-shadow: 0 0 16px rgba(94,200,247,.4); }
.tut-pop .t-text { font-family: var(--f-body); font-size: 17px; line-height: 1.55; color: var(--text); }
.tut-pop .t-actions { display: flex; flex-wrap: wrap; gap: 10px 14px; margin-top: 10px; align-items: center; }
.tut-pop .t-skip { margin-left: auto; font-family: var(--f-ui); font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: var(--steel-d); cursor: pointer; background: none; border: 0; white-space: nowrap; flex-shrink: 0; }
.tut-pop .t-skip:hover { color: var(--bad); }

/* ================================================== cinematic intro */

#intro-root { position: absolute; inset: 0; z-index: 80; display: none; }
#intro-root.active { display: block; }

/* looping background video — drop assets/intro.mp4 to enable; until then the
   space backdrop shows through as a placeholder */
.intro-bg { position: absolute; inset: 0; overflow: hidden; background: #02040A; }
.intro-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0; transition: opacity 1.6s ease;
}
.intro-video.show { opacity: 1; }
/* video freezes on its opaque last frame; the briefing types over that frame.
   There is no image backdrop — only the video over the solid dark .intro-bg,
   so nothing can bleed through around it. */
.intro-scan {
  position: absolute; inset: 0; pointer-events: none; opacity: .45;
  background: repeating-linear-gradient(0deg,
    rgba(94,200,247,.05) 0 1px, transparent 1px 4px);
}
.intro-vign {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 72% 72% at 50% 46%,
    transparent 38%, rgba(2,4,10,.86) 100%);
}
.intro-stage {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column;
  /* strict top-down flow: text → "take command" button → "skip" link, each
     one below the last, scrollable. Centering was what let the button and
     the (formerly absolute) skip link overlap the briefing text. */
  justify-content: flex-start; overflow-y: auto;
  padding: 40px 200px;
}
.intro-tag {
  font-family: var(--f-data); font-size: 18px; letter-spacing: .28em;
  text-transform: uppercase; color: var(--cyan);
  text-shadow: 0 0 14px rgba(94,200,247,.6); margin-bottom: 28px;
}
.intro-tag::before {
  content: ""; display: inline-block; width: 9px; height: 9px;
  margin-right: 14px; vertical-align: 1px; background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan); animation: intro-blink 1.1s steps(1) infinite;
}
.intro-text {
  font-family: var(--f-data); font-size: 25px; line-height: 1.72;
  color: #C6E9FF; text-shadow: 0 0 10px rgba(94,200,247,.35);
  max-width: 1200px; white-space: pre-wrap; min-height: 430px; cursor: pointer;
}
.intro-caret {
  display: inline-block; width: .6em; height: 1.02em; margin-left: .02em;
  vertical-align: -2px; background: #C6E9FF;
  box-shadow: 0 0 10px rgba(94,200,247,.7);
  animation: intro-blink 1s steps(1) infinite;
}
@keyframes intro-blink { 0%,50% { opacity: 1; } 50.01%,100% { opacity: 0; } }
/* lives INSIDE .intro-text (block after the typed span) so it can only ever
   sit below the last line of text — impossible to overlap it */
.intro-actions { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; }
/* pinned at the top of the briefing, stays put while the text scrolls — an
   opaque chip so text passing under it on scroll stays legible (sticky, not
   absolute, so it reserves its own space and the text starts below it) */
.intro-skip {
  position: sticky; top: 0; z-index: 5; align-self: flex-end;
  margin-bottom: 10px; padding: 8px 16px;
  font-family: var(--f-ui); font-size: 15px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--steel-d);
  background: rgba(2, 4, 10, .93); border: 1px solid rgba(46, 91, 138, .5);
  box-shadow: 0 2px 16px rgba(2, 4, 10, .85); cursor: pointer;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}
.intro-skip:hover { color: var(--cyan); border-color: rgba(94, 200, 247, .6); }

/* ================================================== LLM key modal */

.modal-wrap {
  position: absolute; inset: 0; z-index: 60;
  background: rgba(3, 5, 10, .8);
  display: flex; align-items: flex-start; justify-content: center;
  overflow-y: auto; padding: 5vh 24px;
}
/* margin:auto centers the plate when it fits, and lets tall content scroll the
   overlay (rather than an inner scrollbox) so the chamfered plate can grow to
   fit the whole story — its background is drawn to the plate's full height. */
.modal-wrap > * { margin: auto; }
.modal { position: relative; width: 720px; padding: 42px 52px; display: flex; flex-direction: column; gap: 16px; }
.modal .m-close {
  position: absolute; top: 20px; right: 22px; z-index: 2;
  width: 38px; height: 38px; padding: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  background: transparent; border: 1px solid rgba(94,200,247,.28);
  color: var(--dim); font-family: var(--f-ui); font-size: 17px; line-height: 1;
  transition: color .15s ease, border-color .15s ease, background .15s ease;
}
.modal .m-close:hover {
  color: var(--cyan); border-color: rgba(94,200,247,.7);
  background: rgba(94,200,247,.08);
}

/* clickable headlines → full-story modal */
.news-item--click { cursor: pointer; transition: filter .12s ease, transform .12s ease; }
.news-item--click:hover { filter: brightness(1.18); transform: translateY(-1px); }
.news-item--click .n-more { margin-top: 8px; font-family: var(--f-ui); font-weight: 600; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; color: var(--cyan); opacity: .0; transition: opacity .12s ease; }
.news-item--click:hover .n-more { opacity: .9; }
.wire-item--click { cursor: pointer; border-left: 2px solid transparent; padding-left: 8px; margin-left: -10px; transition: border-color .12s ease, background .12s ease; }
.wire-item--click:hover { border-left-color: var(--cyan); background: rgba(94,200,247,.06); }

.article-modal { width: 860px; gap: 14px; }
.article-modal .art-masthead { font-family: var(--f-ui); font-weight: 700; font-size: 15px; letter-spacing: .22em; text-transform: uppercase; color: var(--cyan); }
.article-modal .art-masthead .yr { color: var(--dim); }
.article-modal .art-hero { height: 220px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--edge-bright); }
.article-modal .art-hero img { width: 100%; height: 100%; object-fit: cover; }
.article-modal .art-title { font-family: var(--f-ui); font-weight: 700; font-size: 32px; line-height: 1.15; letter-spacing: .02em; color: var(--text); }
.article-modal .art-body { display: flex; flex-direction: column; gap: 14px; }
.article-modal .art-p { font-size: 19px; line-height: 1.65; }
.art-dots::after { content: ""; animation: art-dots 1.2s steps(4, end) infinite; }
@keyframes art-dots { 0% { content: ""; } 25% { content: "."; } 50% { content: ".."; } 75% { content: "..."; } }
.modal .m-title { font-family: var(--f-ui); font-weight: 700; font-size: 30px; letter-spacing: .08em; text-transform: uppercase; color: var(--cyan); text-shadow: 0 0 16px rgba(94,200,247,.4); }
.modal .m-input { margin-top: 6px; }
.modal .m-input input {
  width: 100%; height: 58px; padding: 0 22px;
  background: transparent; border: 0; outline: none;
  font-family: var(--f-data); font-size: 16px; color: var(--text);
}
.modal .m-input input::placeholder { color: var(--steel-d); }
.modal .m-note { font-family: var(--f-data); font-size: 13px; color: var(--dim); line-height: 1.6; }
.modal .m-actions { display: flex; flex-wrap: wrap; gap: 10px 16px; margin-top: 8px; }

/* settings gear on the title screen */
.title-gear { cursor: pointer; }
.title-gear:hover { color: var(--cyan); }

/* ================================================== advisor portraits */

.d-head { display: flex; gap: 14px; align-items: center; margin-top: 10px; }
.d-portrait {
  width: 58px; height: 76px; flex: 0 0 58px;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
  box-shadow: inset 0 0 0 1px var(--edge-bright);
  background: #0A1424;
}
.d-portrait img, .avatar img, .c-portrait img, .rv-portrait img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.domain .d-advisor { margin-top: 0; }
.domain .d-role { margin-top: 2px; }

.avatar { width: 148px; height: 196px; }

.c-portrait {
  width: 92px; height: 120px; flex: 0 0 92px;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  box-shadow: inset 0 0 0 1px var(--edge);
  background: #0A1424;
}

.rv-portrait {
  width: 26px; height: 34px; flex: 0 0 26px;
  clip-path: polygon(5px 0, 100% 0, 100% calc(100% - 5px), calc(100% - 5px) 100%, 0 100%, 0 5px);
  background: #0A1424;
}

/* ================================================== LLM status indicator */

.chip--on {
  background: rgba(99, 230, 165, .1); color: var(--good);
  box-shadow: inset 0 0 0 1px rgba(99, 230, 165, .55), 0 0 14px rgba(99, 230, 165, .35);
  text-shadow: 0 0 10px rgba(99, 230, 165, .8);
  cursor: pointer;
}
.chip--off {
  background: rgba(124, 141, 176, .06); color: var(--steel-d);
  box-shadow: inset 0 0 0 1px rgba(78, 94, 112, .5);
  cursor: pointer;
}
.chip--off:hover { color: var(--dim); }
.chip--foot { font-size: 12px; padding: 3px 10px; }

/* ================================================== language toggle */

.lang-toggle { display: inline-flex; align-items: center; gap: 4px; }
.lang-opt {
  cursor: pointer; color: var(--steel-d); font-size: 12px; letter-spacing: .04em;
  transition: color .15s ease;
}
.lang-opt:hover { color: var(--dim); }
.lang-opt--on { color: var(--cyan); text-shadow: 0 0 10px rgba(94, 200, 247, .6); }
.lang-sep { color: var(--steel-d); font-size: 11px; }

/* ================================================== "science behind it" ribbon */

.ribbon {
  position: absolute; top: 74px; right: -78px; z-index: 30;
  transform: rotate(45deg);
  width: 400px; padding: 13px 0; text-align: center;
  font-family: var(--f-ui); font-weight: 600; font-size: 18px;
  letter-spacing: .3em; text-transform: uppercase; text-indent: .3em;
  text-decoration: none; color: #EAF7FF;
  background: linear-gradient(180deg, rgba(23, 54, 88, .95) 0%, rgba(12, 28, 52, .95) 100%);
  border-top: 1px solid rgba(94, 200, 247, .9);
  border-bottom: 1px solid rgba(94, 200, 247, .45);
  box-shadow: 0 0 22px rgba(94, 200, 247, .45), inset 0 0 18px rgba(94, 200, 247, .18);
  text-shadow: 0 0 12px rgba(94, 200, 247, .95);
  transition: filter .15s ease;
}
.ribbon::before, .ribbon::after {
  content: "///"; font-size: 13px; letter-spacing: .1em;
  color: rgba(94, 200, 247, .75); vertical-align: 1px;
}
.ribbon::before { margin-right: 18px; }
.ribbon::after { margin-left: 6px; }
.ribbon:hover { filter: brightness(1.35) drop-shadow(0 0 10px rgba(94, 200, 247, .6)); }

/* ================================================== global space backdrop */

.stage::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  pointer-events: none;
  background: url(../assets/bg/space.jpg) center / cover no-repeat;
  opacity: .16;
}

/* ================================================== title logo (vector w/ globe) */

#screen-title .title-logo {
  margin: 14px 0 6px;
  filter: drop-shadow(0 0 28px rgba(94, 200, 247, .28));
}

/* ================================================== detail chart overlay */

.plate-click { cursor: pointer; transition: filter .12s ease; }
.plate-click:hover { filter: brightness(1.25); }

.chart-panel { flex: 1; min-height: 0; padding: 24px 30px; display: flex; }
.chart-box { position: relative; flex: 1; }
.chart-box svg { width: 100%; height: 100%; display: block; }
.ch-tick { font-family: var(--f-data); font-size: 17px; fill: var(--dim); }
.chart-tip {
  position: absolute; z-index: 5; pointer-events: none;
  display: flex; align-items: baseline; gap: 8px;
  padding: 8px 14px; white-space: nowrap;
  background: rgba(8, 14, 26, .95);
  box-shadow: inset 0 0 0 1px var(--edge-bright), 0 4px 18px rgba(0,0,0,.5);
  clip-path: polygon(7px 0, 100% 0, 100% calc(100% - 7px), calc(100% - 7px) 100%, 0 100%, 0 7px);
}
.chart-tip .t-year { font-family: var(--f-ui); font-weight: 700; font-size: 16px; color: var(--text); }
.chart-tip .t-val { font-family: var(--f-data); font-weight: 700; font-size: 18px; }
.chart-tip .t-unit { font-family: var(--f-data); font-size: 12px; color: var(--dim); }

/* ================================================== trusted advisors (gold) */

.d-portrait.trusted, .c-portrait.trusted, .rv-portrait.trusted {
  box-shadow: inset 0 0 0 2px #E8C15A, 0 0 16px rgba(232, 193, 90, .55);
}
.avatar.trusted {
  box-shadow: inset 0 0 0 2px #E8C15A, 0 0 34px rgba(232, 193, 90, .5);
}
.trusted-mark {
  color: #E8C15A; text-shadow: 0 0 10px rgba(232, 193, 90, .8);
  font-size: .82em; margin-left: 4px;
}

/* ================================================== LLM provider picker */

.prov-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.prov-tab {
  flex: 1 1 auto; min-width: 120px; padding: 11px 14px;
  background: rgba(11, 19, 34, .8); border: 0; cursor: pointer;
  font-family: var(--f-ui); font-weight: 600; font-size: 15px;
  letter-spacing: .06em; color: var(--dim);
  box-shadow: inset 0 0 0 1px var(--edge);
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
  transition: color .12s, box-shadow .12s;
}
.prov-tab:hover { color: var(--text); }
.prov-tab.active {
  color: #EAF7FF;
  box-shadow: inset 0 0 0 1px var(--edge-bright), 0 0 12px rgba(94, 200, 247, .35);
  background: linear-gradient(180deg, #1A3A5F, #12294a);
}
.prov-endpoint {
  display: grid; grid-template-columns: auto 1fr; gap: 4px 14px;
  margin-top: 4px; padding: 12px 16px;
  background: rgba(8, 14, 26, .6); box-shadow: inset 0 0 0 1px var(--edge);
  font-family: var(--f-data); font-size: 13px;
}
.prov-endpoint .pe-k { color: var(--dim); text-transform: uppercase; letter-spacing: .12em; }
.prov-endpoint .pe-v { color: var(--text); }

/* ================================================== advisor mood (cabinet politics) */

.mood {
  display: inline-flex; align-items: center; gap: 7px; margin-top: 6px;
  font-family: var(--f-ui); font-weight: 600; font-size: 13px;
  letter-spacing: .1em; text-transform: uppercase;
}
.mood-dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor;
  box-shadow: 0 0 7px currentColor; flex: 0 0 8px; }
.mood-good { color: var(--good); }
.mood-cyan { color: var(--cyan); }
.mood-dim  { color: var(--dim); }
.mood-warn { color: var(--warn); }
.mood-bad  { color: var(--bad); }
.mood-gold { color: #E8C15A; }
.mood-bar {
  display: inline-block; width: 52px; height: 5px; margin-left: 4px;
  background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px var(--edge);
}
.mood-fill { display: block; height: 100%; }
.mf-good { background: var(--good); } .mf-cyan { background: var(--cyan); }
.mf-dim { background: var(--steel-m); } .mf-warn { background: var(--warn); }
.mf-bad { background: var(--bad); }

/* ================================================== cabinet blocs & rivalries */

.rel-line {
  margin-top: 5px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  font-family: var(--f-ui); font-weight: 600; font-size: 12px;
  letter-spacing: .08em; text-transform: uppercase;
}
.rel-ally  { color: var(--good); }
.rel-rival { color: var(--bad); }
.rel-sep   { color: var(--steel-d); }
.fin-epilogue {
  margin-top: 10px; padding: 8px 14px;
  font-family: var(--f-body); font-size: 13px; color: var(--text); line-height: 1.4;
  background: rgba(94, 200, 247, .05);
  box-shadow: inset 0 0 0 1px var(--edge);
  clip-path: polygon(7px 0, 100% 0, 100% calc(100% - 7px), calc(100% - 7px) 100%, 0 100%, 0 7px);
}

/* ================================================== cabinet crisis card */

.chip--cabinet {
  background: rgba(255, 180, 84, .1); color: var(--warn);
  box-shadow: inset 0 0 0 1px rgba(255, 180, 84, .45);
}
#card:has(.chip--cabinet) { box-shadow: inset 0 0 0 1px rgba(255,180,84,.35), 0 0 30px rgba(255,180,84,.08); }

/* ================================================== world map overlay */

.nodes--clickable { cursor: pointer; transition: box-shadow .15s; }
.nodes--clickable:hover { box-shadow: inset 0 0 0 1px var(--edge-bright), 0 0 20px rgba(94,200,247,.12); }
.nodes-map-hint {
  font-family: var(--f-ui); font-weight: 600; font-size: 12px; letter-spacing: .1em;
  color: var(--cyan); text-transform: none;
}

.map-overlay { background: #04070d; } /* opaque: globe canvas is transparent */
.map-tabs { margin-left: 8px; }
.map-body { flex: 1; display: flex; gap: 18px; min-height: 0; }
.map-wrap {
  flex: 1; position: relative; display: flex; flex-direction: column;
  min-width: 0; padding: 16px;
}
#map-slot { flex: 1; min-height: 0; position: relative; overflow: hidden; }
#world-svg { position: relative; z-index: 1; width: 100%; height: 100%; display: block; }
.country { stroke: #67d4ff; stroke-width: .45; stroke-opacity: .55; transition: filter .12s; }
.country:not(.has) { stroke-opacity: .25; }
.country.has { cursor: pointer; }
.country.has:hover {
  stroke-width: 1.1; stroke-opacity: 1;
  filter: brightness(1.6) drop-shadow(0 0 6px rgba(160,225,255,.9));
}
/* faint grid + scanlines around the map — keeps it on-brand with the console */
#map-slot::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(rgba(94,200,247,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(94,200,247,.045) 1px, transparent 1px);
  background-size: 64px 64px;
}
#map-slot::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 2;
  background: repeating-linear-gradient(0deg, rgba(94,200,247,.03) 0 1px, transparent 1px 4px);
}

.map-legend {
  display: flex; align-items: center; gap: 12px; margin-top: 10px;
  font-family: var(--f-data); font-size: 13px; color: var(--dim);
}
.map-legend .ml-bar {
  flex: 1; max-width: 320px; height: 10px;
  box-shadow: inset 0 0 0 1px var(--edge);
}
.map-layers-legend { gap: 18px; margin-top: 6px; font-size: 12px; flex-wrap: wrap; }

.map-info-slot { width: 340px; flex: 0 0 340px; }
.map-info {
  padding: 24px 28px;
  background: var(--surface-panel, rgba(11,19,34,.6));
  box-shadow: inset 0 0 0 1px var(--edge);
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
}
.map-info .mi-name {
  font-family: var(--f-ui); font-weight: 700; font-size: 26px;
  letter-spacing: .04em; color: var(--cyan); margin-bottom: 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
}
.map-info .mi-close { padding: 2px 10px; font-size: 15px; }
.map-info .readout td { font-size: 17px; padding: 9px 0; }
.map-info--empty { color: var(--dim); font-family: var(--f-body); font-size: 17px; }

.stab-panel {
  margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--edge);
}
.stab-title {
  font-family: var(--f-ui); font-size: 14px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--dim); margin-bottom: 10px;
}
.stab-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.stab-panel--active .stab-status { color: var(--warn); font-family: var(--f-body); font-size: 16px; }
