/* 🎥 Live page only (live.html = index.html + body.live-mode; scripts/build-live.mjs adds this file after styles.css).
   Moved out of styles.css unchanged (#66), so the main page doesn't load it and the live overlay's rules sit in one file. */
/* #72: the last live-only rules from styles.css, kept first here so the cascade order is unchanged. */
.live-mode #statsCarousel { display: none !important; }
body.live-mode .room-select { display: none; }
.live-table tbody tr:nth-child(even) > :is(td, th) { background-color: var(--row-alt); }
/* ✨ halo switch (live page only, live.mjs, left of 🖥️ ⚙️ Settings): on = gold, off = muted. Off hides the halos and the gold shine. */
.controls .lv-halo-btn { margin-right: 0.35rem; border: 1px solid var(--border); border-radius: 0; padding: 0.15rem 0.45rem; background: transparent; cursor: pointer; }
.controls .lv-halo-btn[aria-pressed="false"] { opacity: 0.5; filter: grayscale(1); }
.controls .lv-halo-btn[aria-pressed="true"] { background: color-mix(in srgb, #ffc107 22%, transparent); color: inherit; box-shadow: 0 0 0 2px rgba(255, 193, 7, 0.35); }
.lv-nohalo .lv-gl, .lv-nohalo .lv-shn { display: none; }
.live-mode #analyzeBtn,
.live-mode #copyLinkBtn,
.live-mode .dice-group,
.live-mode #clearNamesBtn,
.live-mode .cache-row,
.live-mode .fresh-label,
.live-mode #freshEta,
.live-mode #statsPanel,
.live-mode #rkPosSection,
.live-mode #ranksTableSection,
.live-mode #distPills,
.live-mode #statsPublic,
.live-mode #ranksMeta,
.live-mode .footer-row, .live-mode .foot-opts { display: none !important; }
.live-mode #nameTokens { pointer-events: none; }
.live-mode .name-token.live-dim { opacity: 0.35; filter: grayscale(0.8); }
.live-mode .name-token.live-lit { opacity: 1; box-shadow: 0 0 0 2px rgba(198, 40, 40, 0.6); }
.live-mode #namesInput { opacity: 0.4; }

.live-feed { margin: 0.5rem 0 0.75rem; }
.live-state:empty { display: none; } /* owner t550u: no title above the table once kills arrive */
.live-state { font-size: 0.9rem; color: var(--dim); margin-bottom: 0.35rem; }
.live-state.err { color: #e0453a; }
.live-state .live-dot { color: #e53935; animation: liveBlink 1.2s ease-in-out infinite; }
@keyframes liveBlink { 50% { opacity: 0.25; } }
/* Owner 2026-10-26: the feed's sizing tokens live on #liveFeed, so the table AND the bars around it all read the
   same widths — when the name column shrinks or grows, the bars follow it. --lv-u = one emoji unit (parked with
   the meters), --lv-ez = line height, --lv-fe = emoji (t564u "300%" size), --lv-fa = iVi number, --lv-fm = name,
   --lv-nm = name column, --lv-tm = time column. */
#liveFeed {
  --lv-fe: 1.5rem; --lv-u: 2.1rem; --lv-ez: 2.8rem; --lv-fa: 1.87rem; --lv-fm: 1.45rem; --lv-nm: 14.36rem; --lv-tm: 3.2rem; /* owner 2026-10-25: the name column absorbed the removed weapon column (10rem + 4.15rem), so the overlay keeps its width; owner 2026-10-26: halved, then +50% (not back to the old 19.15rem) */
  --lv-n: 6; /* emoji units per line (live.mjs sets it from LIVE_COLS; parked with the meters) */
  --lv-iw: calc(var(--lv-fa) * 2.4 + 0.5rem); /* t564u: 4 tabular digits of room */
}
/* Owner 2026-10-26: the bars follow the table width — the death-line wrap, the Recharge metric, and the DPM block
   all take the table's own width calc. The death line itself keeps its draining percentage, now resolved against
   the wrap instead of the whole feed. */
#liveDeathLineWrap, #liveFeed > .live-metric, #liveDps { width: calc(var(--lv-tm) + var(--lv-nm) + var(--lv-iw)); }
.live-table {
  /* Owner t575u overlay (replaces the t557u–t572u two-player rows that flipped A/B; t550u: no ❯ / K/D / titles,
     themed background): one player per line, fixed grid of 8 lines — the latest killer above, the tracked player
     on the centre line, the last 6 victims below. Every line = [⏱️][name][iVi][inf/zerg%] (owner 2026-10-25: the
     emoji meters are parked, one plain cell instead), one shared order, so the numbers line up down the whole overlay. */
  border-collapse: collapse; table-layout: fixed; max-width: none;
  width: calc(var(--lv-tm) + var(--lv-nm) + var(--lv-iw));
  font-size: 0.85rem; font-variant-numeric: tabular-nums;
  background: var(--panel); /* owner t550u: the feed had no background (theme variable: light + dark) */
}
col.lv-c-time { width: var(--lv-tm); }
col.lv-c-nm { width: var(--lv-nm); }
col.lv-c-iv { width: var(--lv-iw); }
/* Owner 2026-10-25: the parked emoji meters' column is gone; the inf/zerg cell
   is the pair in square brackets, in the weapon's small dim style. */
/* Zebra on the victim lines only (each line is its own <tbody>). */
.live-table tbody.lv-vic:nth-of-type(even) > tr > td { background-color: var(--row-alt); }
.live-table td { position: relative; border: 1px solid var(--border); padding: 0 0.3rem; line-height: 1.25; height: var(--lv-ez); white-space: nowrap; overflow: hidden; }
.lv-ev { border-left: 3px solid transparent; }
.lv-ev.lv-kill { border-left-color: #43a047; }
.lv-ev.lv-death { border-left-color: #e53935; }
/* The centre line (the tracked player): an accent tint and accent rules above and below, so it reads apart from killer and victims. */
.live-table tbody.lv-me > tr > td { background-color: color-mix(in srgb, var(--accent) 13%, var(--panel)); } /* owner 2026-10-26: no accent frame around the centre row — the thick blue top/bottom border is removed, the tint stays */
/* owner 2026-10-26: the centre row keeps the transparent left edge from .lv-ev — no accent bar */
/* Owner t562u "juice" (stream overlay): all short, transforms/shadows only, so the overlay never changes size.
   New victim line: drops in with a small scale pop + a green flash; new killer line: swaps in with a red flash.
   Upset (winner's iVi percentile ≥ 50 points below the loser's, live.mjs UPSET_GAP): gold flash + a short shake. */
/* 2026-10-24 (CPU): the flash is a tinted layer over each cell that fades out (opacity only, no repaint per frame);
   it was an animated inset box-shadow, repainted on every frame. Same colours and times. */
.lv-ev.lv-new > tr > td { animation: lvPop 0.42s cubic-bezier(0.34, 1.56, 0.64, 1); }
/* Owner 2026-10-26: victim rows slide down from under the centre row. Killer drop disabled 2026-10-29
   (redesign pending): killer rows pop in with the base rule; upset rows keep only the shake. */
.lv-ev.lv-new.lv-vic > tr > td { animation: lvVicSlide 0.45s ease-out; }
.lv-ev.lv-new.lv-vic.lv-upset > tr > td { animation: lvVicSlide 0.45s ease-out, lvShake 0.4s ease-in-out 0.45s; }
.lv-ev.lv-new.lv-atk.lv-upset > tr > td { animation: lvShake 0.4s ease-in-out 0.6s; }
.lv-ev.lv-new > tr > td::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; background: rgba(67, 160, 71, 0.32); animation: lvFlash 0.8s ease-out; }
.lv-ev.lv-new.lv-death > tr > td::after { background: rgba(229, 57, 53, 0.28); }
.lv-ev.lv-new.lv-upset > tr > td::after { background: rgba(255, 193, 7, 0.4); animation-duration: 1.1s; }
@keyframes lvPop { from { opacity: 0; transform: translateY(-0.6rem) scale(0.96); } 70% { opacity: 1; } to { opacity: 1; transform: none; } }
@keyframes lvVicSlide { from { opacity: 0; transform: translateY(-100%); } to { opacity: 1; transform: none; } }
@keyframes lvFlash { from { opacity: 1; } to { opacity: 0; } }
@keyframes lvShake { 20% { transform: translateX(-3px); } 40% { transform: translateX(3px); } 60% { transform: translateX(-2px); } 80% { transform: translateX(2px); } }
/* Owner 2026-10-26: a kill only dims the killer line — the old killer stays at 15% until the next death replaces it. */
.lv-ev.lv-dim > tr > td { opacity: 0.15; }
@media (prefers-reduced-motion: reduce) { .lv-ev.lv-new > tr > td, .lv-ev.lv-new > tr > td::after, .live-state .live-dot { animation: none !important; } }
.lv-time { font-size: 0.72rem; color: var(--dim); vertical-align: middle; text-align: right; padding: 0 0.25rem !important; /* fixed column: "59m 59s" fits, nothing shifts */ }
/* Owner t546u: no skill graph in Live (the main page keeps it). */
.live-mode #chartSection { display: none !important; }
/* Owner t550u: no 📊 distribution chart in Live either (the main page keeps it). */
.live-mode #distSection,
.live-mode #weaponsSection { display: none !important; } /* owner t550u: no 📊 chart and no 🏆 Auraxium weapons in LIVE */
/* Name (faction colour, cut with … at the end), iVi number, then the five emoji units — every line the same. */
.lv-nm { cursor: help; text-align: center; } /* owner 2026-10-26: the name sits centered on live */
.lv-pn { display: flex; align-items: center; min-width: 0; font-size: var(--lv-fm); line-height: 1.25; } /* owner 2026-10-26: 1.1 clipped descenders (g/q/y lost a few pixels inside the overflow-hidden name box) — 1.25 clears the font's natural descent */
.live-table .lv-name { display: inline-block; min-width: 0; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.live-table .lv-pn .poop-mark { flex: none; }
.lv-ivc { text-align: right; padding: 0 0.3rem 0 0 !important; }
.lv-iv { line-height: 1; font-size: var(--lv-fa); font-variant-numeric: tabular-nums; }
.lv-ivc > .lv-iv { display: inline-block; width: 4ch; font-variant-numeric: tabular-nums; text-align: right; }
/* Owner t567u: no iVi = an empty (hollow, t589u) ⚔️ in the same box. */
.lv-iv.lv-nil { display: inline-flex; align-items: center; }
.lv-ems { padding: 0 !important; }
.lv-row { display: flex; height: var(--lv-ez); }
/* Five equal units, one-size emoji fill meters (owner t564u). */
.lv-u { position: relative; flex: none; width: var(--lv-u); height: 100%; text-align: center; }
/* Fill meter: the hollow emoji with the solid one on top, shown from the bottom up to --f (p0 = empty, p50 = bottom half, p100 = full). */
.lv-fl { display: flex; align-items: center; justify-content: center; }
/* Owner 2026-10-24 (CPU): a meter is three pictures drawn ONCE per size by live-sprites.mjs (rules in <style id="lvSprites">,
   class lv-x<i> per emoji) instead of three text copies run through SVG filters on every frame:
   lv-b = the black outline ring (t579u/t581u) + the hollow empty part (t589u: dark greyscale 18% inside a light inner ring),
   lv-s = the solid, full-colour emoji inside the lv-sw window, which shows the bottom --f % of the ink (t564u),
   lv-gl = the tier halo (t568u), lv-shn = the gold tier's shine (a strip of frames, inside the solid picture).
   --sw/--sh = picture size, --it/--ih = ink top/height, --gp = halo margin.
   The fill moves the window down and the picture back up (transforms, set by live.mjs's 30 fps ticker). */
.lv-em { position: relative; display: block; flex: none; width: var(--sw, 1.2em); height: var(--sh, 1.2em); font-size: var(--lv-fe); line-height: 1; }
.lv-em > i, .lv-sw > i, .lv-s > i { position: absolute; display: block; background: no-repeat 0 0 / 100% 100%; }
.lv-shn { inset: 0; }
.lv-b { inset: 0; }
.lv-gl { inset: calc(-1 * var(--gp, 0px)); }
.lv-sw { left: 0; right: 0; top: var(--it, 0px); height: var(--ih, 100%); overflow: hidden; transform: translateY(calc(var(--ih, 0px) * (100 - var(--f, 0)) / 100)); }
.lv-s { left: 0; width: 100%; top: calc(-1 * var(--it, 0px)); height: var(--sh, 100%); transform: translateY(calc(var(--ih, 0px) * (var(--f, 0) - 100) / 100)); }
/* No canvas (never seen): plain emojis, flat. */
.lv-nosprite .lv-em { width: auto; height: auto; }
.lv-nosprite .lv-em::before { content: attr(data-e); }
/* Owner t584u: hover value box (live.mjs), fixed and click-through, so it never moves the overlay. */
.lv-tip { position: fixed; z-index: 50; pointer-events: none; padding: 0.15rem 0.45rem; border-radius: 0; background: rgba(0, 0, 0, 0.88); color: #fff; font-size: 0.85rem; white-space: nowrap; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.5); }
.lv-tip[hidden] { display: none; }
[data-tip] { cursor: help; }
/* Owner t568u glow tiers (live.mjs glowTier, same value as the fill): TOP (91+) gold, HIGH (71–90) blue, AVERAGE (51–70)
   green, 50 and below / no value none. Owner 2026-10-24 "clear differentiations between ranks", drawn at 30 fps
   (live.mjs LIVE_FPS / BEAT / TIER_MOTION / SHINE; ?fps=60): green = a thin steady rim, blue = a wide halo that flares
   on the beat, gold = a double halo that flares harder and swells + a light band sweeping across the emoji (replaced
   the ✦ star). Between beats nothing moves, so no frames are drawn.
   The halos and the shine are pictures (live-sprites.mjs); the ticker only changes their opacity, size and frame.
   Nothing here moves or resizes the table. When a line appears (t578u/t588u) the emojis fill 0 → level over 10 s and
   the halo fades in over the last 20%. */
.lv-g2 > .lv-em > .lv-gl, .lv-g3 > .lv-em > .lv-gl { will-change: opacity, transform; }
@property --f { syntax: "<number>"; inherits: true; initial-value: 0; }
/* Owner 2026-10-25: no weapon icon — the weapon's name under the player name (small, dim) and a small custom headshot
   mark after it (a head with a bullet in one side and out the other; inline SVG in live.mjs, no asset). The name cell
   is two lines tall inside the fixed line height; the weapon line is always rendered (empty when unknown) so the
   names stay lined up across lines. */
.lv-nm2 { display: flex; flex-direction: column; justify-content: center; align-items: center; height: 100%; min-width: 0; }
.lv-wn { display: block; min-height: 0.9em; font-size: 0.72rem; line-height: 1.2; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* Owner 2026-10-26: the centre line stacks its latest kill's weapon (small, dim) above the bounty count (⚰️×N / 💰×N) — bigger, so it reads. */
.live-table tbody.lv-me .lv-wn { font-size: 1rem; line-height: 1.1; }
.live-table tbody.lv-me .lv-wn.lv-wn-weapon { font-size: 0.72rem; }
.lv-hs2 { flex: none; width: 0.85em; height: 0.85em; color: var(--err); }
.lv-hs2 svg { display: block; width: 100%; height: 100%; }
/* Owner t561u: LIVE is a PC stream overlay. Big screens (1920) get everything 1.3× bigger for readability. */
@media (min-width: 1600px) {
  #liveFeed { --lv-fe: 1.95rem; --lv-u: 2.75rem; --lv-ez: 3.65rem; --lv-fa: 2.43rem; --lv-fm: 1.9rem; --lv-nm: 18.59rem; --lv-tm: 4rem; }
  .live-table { font-size: 1.1rem; }
  .lv-time { font-size: 0.95rem; }
}
/* Phones (t561u: not a target; it only must not break — sideways scroll is fine).
   Owner 2026-10-25: with the emoji columns gone the table is narrower than the
   phone, so on phones it stretches to 100% and the name column takes whatever
   is left — names actually fit instead of truncating at 8.78rem. Desktop keeps
   the fixed overlay size (a stream overlay never changes size). */
@media (max-width: 600px) {
  #liveFeed { --lv-fe: 1.15rem; --lv-u: 1.6rem; --lv-ez: 2.4rem; --lv-fa: 1.58rem; --lv-fm: 1.12rem; --lv-nm: 6.59rem; --lv-tm: 2.4rem; }
  .live-table { font-size: 0.72rem; width: 100%; }
  #liveDeathLineWrap, #liveFeed > .live-metric, #liveDps { width: auto; } /* phones: the table is 100%, so the bars fill the feed like it does */
  col.lv-c-nm { width: auto; } /* fixed layout: the auto column absorbs the leftover */
  .lv-time { font-size: 0.6rem; padding: 0 0.1rem !important; }
}
.live-feed { overflow-x: auto; }

/* Owner 2026-10-25: online pill in the DPM row — green online, red offline, grey until the first signal. */
.live-online { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.7rem; font-weight: 400; padding: 0.15rem 0.5rem; border: 1px solid var(--dim); border-radius: 0; white-space: nowrap; }
.live-online i { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--dim); }
.live-online[data-state="online"] i { background: #4caf50; }
.live-online[data-state="offline"] i { background: var(--err); }
/* Owner 2026-10-25: imaginary DPS under the feed — a counter that jumps on kills/assists and drains down. */
.live-dps { margin-top: 0.5rem; font-size: 1.3rem; }
/* Owner 2026-10-25: cashed-out runs history — small, dim, under the DPM line. */
.live-cash-hist { margin-top: 0.25rem; font-size: 0.72rem; color: var(--dim); background: var(--panel); padding: 0.25rem 0.5rem; }
.live-cash-hist:empty { padding: 0; }
/* Owner 2026-10-25: while the observed player is dead, the killed list and their own name sit at 50% — a new kill
   brings them back to full. The killer line above stays full (it is the new information); iVi and inf/zerg stay full
   so the banked run stays readable. */
.live-table.lv-dim-names tbody.lv-vic .lv-nm, .live-table.lv-dim-names tbody.lv-me .lv-nm { opacity: 0.5; }
/* Owner 2026-10-25: adjustable DPM decay τ — small, dim, under the DPM line (symbols only, no words to translate). */
.live-dpm-tau { margin-top: 0.25rem; font-size: 0.72rem; color: var(--dim); }
.live-dpm-tau input { width: 4rem; background: var(--panel); color: var(--text); border: 1px solid var(--border); border-radius: 0; padding: 0.1rem 0.3rem; font: inherit; }
.live-dpm-tau button { background: none; border: 1px solid var(--border); color: var(--text); border-radius: 0; padding: 0.1rem 0.5rem; margin-left: 0.25rem; cursor: pointer; font: inherit; }
#liveDpmTau { display: none; } /* owner 2026-10-26: τ locked at 60, adjuster hidden */
/* Owner 2026-10-26: session trace-back line — small, dim, under the DPM block. */
.live-session { margin-top: 0.25rem; font-size: 0.72rem; color: var(--dim); }
/* Owner 2026-11-08: live session values — raw, no rounding — same size as the session line. */
.live-sess-vals { margin-top: 0.25rem; font-size: 0.72rem; color: var(--dim); }
.live-sess-vals .live-metric { margin-right: 0.75rem; }
.live-sess-vals:empty { display: none; }
/* Owner 2026-11-08: the per-value picker — small checkboxes, same size as the session line. */
.live-sess-pick { margin-top: 0.25rem; font-size: 0.72rem; color: var(--dim); }
.live-sess-pick label { margin-left: 0.5rem; cursor: pointer; white-space: nowrap; }
.live-sess-pick input { accent-color: var(--text); }
.live-share { margin-top: 0.25rem; font-size: 0.72rem; background: none; border: 1px solid var(--border); color: var(--text); border-radius: 0; padding: 0.1rem 0.5rem; cursor: pointer; font: inherit; }
#liveStreamCard { display: none; }
.live-stream-card { margin-top: 0.5rem; background: var(--panel); border: 1px solid var(--border); border-radius: 0; padding: 0.5rem 0.75rem; }
.live-stream-kd { font-size: 1.4rem; font-weight: 600; }
.live-stream-session { margin-top: 0.25rem; font-size: 0.85rem; color: var(--dim); }
body.live-stream #liveStreamCard { display: block; }
.live-dbg { margin-top: 0.25rem; font-size: 0.72rem; color: var(--dim); font-family: monospace; white-space: pre-line; overflow-wrap: anywhere; } /* owner 2026-10-26: the medians + their inputs under the meter, plain debug text, copyable at stream end */
.lv-time .lv-em { display: block; } /* owner 2026-10-26: the left-slot emoji lines stack, small like the old stopwatch */
.live-table tbody.lv-me .lv-time .lv-em { width: auto; height: auto; font-size: 0.72rem; }
/* Owner 2026-10-26: the death run timer on the top line — a red gradient edge on the killer name's border,
   draining over the median combat time. The killer row only lives for the run (a kill clears it), so the edge
   is the run; the name cell is position: relative, so the edge sits inside it without moving the name. */
.live-death-line { height: 3px; width: 0%; background: linear-gradient(90deg, #ff1744, #ff5252, #b71c1c); border-radius: 0; } /* owner 2026-10-26: slot lines are text, not emoji-meter sprites — sized to their text at the dim size, so a two-digit count fits the fixed time column (2.4rem on phones) instead of clipping at the cell edge */

.live-show-tactical { margin-top: 0.25rem; font-size: 0.72rem; color: var(--dim); }
body.live-stream > :not(#liveFeed) { display: none; } /* owner 2026-10-26: no header, no footer, no controls — the overlay is only the live section */
body.live-stream { background: #00ff00 !important; -webkit-text-stroke: 3px #000; paint-order: stroke fill; } /* owner 2026-10-26: pure chromakey green + a true vector outline on every glyph, so the overlay reads over gameplay; !important so the mode beats the dark main-page background; no shadows (owner 2026-10-26); 3px (was 2px) so the keyer cuts a cleaner edge on small text */
body.live-stream #liveDpsVal:not(.live-dps-warm) { -webkit-text-stroke: 4px #000; paint-order: stroke fill; } /* the counter is the hero glyph: a heavier stroke; the tiny warm-up line keeps the body stroke so it stays readable */
body.live-stream #liveDps > .live-metric:first-child { display: flex; flex-direction: column; } /* owner 2026-10-26: in overlay mode the DPM counter sits BELOW the bar */
body.live-stream #liveDpsLabel { order: 1; }
body.live-stream #liveDps > .live-metric:first-child .live-bar { order: 2; }
body.live-stream #liveDpsVal { order: 3; }
body.live-stream #liveState, body.live-stream #liveDpmTau, body.live-stream #liveCashHist, body.live-stream #liveShare, body.live-stream #liveStreamBtn, body.live-stream #liveSession, body.live-stream #liveSessVals, body.live-stream #liveSessPick { display: none; } /* owner 2026-10-26: stream shows the names list + DPM block + the card; no button back — the switch button hides with the rest */
/* Owner 2026-10-28: the voice lines panel is settings UI, never overlay content. */
body.live-stream #liveVoiceLines { display: none; }

/* Owner 2026-10-28: voice lines panel — collapsed by default (advanced users only), one prefilled field per tier. */
.live-voice-lines { margin-top: 0.25rem; font-size: 0.72rem; color: var(--dim); }
.live-voice-lines label { display: block; margin-top: 0.15rem; }
.live-voice-lines input { background: var(--panel); color: var(--text); border: 1px solid var(--border); border-radius: 0; padding: 0.1rem 0.3rem; font: inherit; margin-left: 0.25rem; }

/* Owner 2026-11-06: OBS clip trigger — Σ iVi threshold (hand-editable) + OBS connection. Setup UI, never overlay content. */
body.live-stream #liveObsClip { display: none; }
.live-obs-clip { margin-top: 0.5rem; font-size: 0.85rem; display: flex; flex-wrap: wrap; gap: 0.25rem 0.5rem; align-items: center; }
.live-obs-clip input[type="number"] { width: 5rem; background: var(--panel); color: var(--text); border: 1px solid var(--border); border-radius: 0; padding: 0.1rem 0.3rem; font: inherit; }
.live-obs-clip input[type="text"], .live-obs-clip input[type="password"] { background: var(--panel); color: var(--text); border: 1px solid var(--border); border-radius: 0; padding: 0.1rem 0.3rem; font: inherit; }
#liveObsClipUrl { width: 11rem; }
#liveObsClipPassword { width: 9rem; }
.live-obs-clip-status { color: var(--dim); font-size: 0.72rem; }
.live-obs-clip-hint { width: 100%; font-size: 0.72rem; color: var(--dim); }
/* Owner 2026-10-30: overlay launcher — the Windows line for this page's overlay, copyable. Setup UI, never overlay content. */
body.live-stream #liveLaunch { display: none; }
.live-launch { margin-top: 0.5rem; font-size: 0.85rem; }
.live-launch label { display: block; margin-bottom: 0.25rem; }
.live-launch-row { display: flex; gap: 0.25rem; align-items: center; }
.live-launch-row .live-share { margin-top: 0; }
.live-launch-cmd { flex: 1; min-width: 0; background: var(--panel); color: var(--text); border: 1px solid var(--border); border-radius: 0; padding: 0.25rem 0.4rem; font-family: monospace; font-size: 0.8rem; }
.live-launch-browser[aria-pressed="true"] { border-color: var(--accent); background: var(--grid); }
.live-launch-hint { margin-top: 0.25rem; font-size: 0.8rem; color: var(--dim); }

body.live-stream #liveDps .live-metric:last-child { display: none; } /* online pill: meters + session only */
body.live-stream .live-table, body.live-stream .live-stream-card, body.live-stream .live-bar { background: transparent; } /* owner 2026-10-26: chromakey — every background drops out (table panel, card panel, bar tracks) so the body's green shows through and only text + bars survive the key */
body.live-stream .live-table tbody.lv-vic:nth-of-type(even) > tr > td { background-color: transparent; } /* zebra rows too */
body.live-stream .live-table tbody.lv-me > tr > td { background-color: transparent; } /* owner 2026-10-26: the centre row's accent tint drops out too — no box behind your own name on the key */
/* Owner 2026-10-28: in stream mode dims are colors, never opacity — an
   opacity dim blends the glyph with the green behind it, so the green
   bleeds through the letters themselves. Names dim to var(--dim) instead
   of 50%, the old killer row to var(--dim) instead of 15%; iVi cells keep
   the dim-names scope (names only, like the base rule). */
body.live-stream .live-table.lv-dim-names tbody.lv-vic .lv-nm, body.live-stream .live-table.lv-dim-names tbody.lv-me .lv-nm { opacity: 1; color: var(--dim); }
body.live-stream .lv-ev.lv-dim > tr > td { opacity: 1; color: var(--dim); }
.live-dps #liveDpsVal { font-weight: 600; font-variant-numeric: tabular-nums; }
.live-dps #liveDpsVal.live-dps-warm { font-size: 0.72rem; font-weight: 400; color: var(--dim); }
.live-dps #liveDpsVal .live-dps-warm-n { font-size: 1rem; font-weight: 600; color: var(--text); }
/* Owner 2026-10-26: DPM row as stacked meter lines — DPM glows and grows
   with the shown value, hold/combat bars shrink as their seconds fall.
   No width transition: bars move frame-for-frame with the numbers. */
.live-metric { margin-bottom: 0.15rem; }
.live-bar { height: 6px; margin-top: 0.15rem; background: var(--grid); border-radius: 0; overflow: hidden; }
/* Owner 2026-10-26: DPM track is fat (12 px); hold/combat tracks stay thin (6 px). */
.live-bar-fat { height: 12px; position: relative; overflow: visible; } /* owner 2026-10-26: the ticks stick out of the bar, so the fat track must not clip them (the fill keeps its own pill radius) */
/* Owner 2026-10-26: dynamic-scale nudges — avg/p90 marks riding the fat DPM track, centred on their value, above the fill. */
.live-dpm-tick { position: absolute; top: -3px; bottom: -3px; width: 3px; transform: translateX(-50%); background: #000; border-radius: 0; } /* owner 2026-10-26: nudges stand out — pitch black, bolder, sticking out of the bar up and down */
.live-bar-fill { height: 100%; width: 0%; background: var(--dim); border-radius: 0; }
.live-bar-dpm { background: linear-gradient(90deg, #7c4dff, #00b0ff, #00e676, #ffea00, #ff9100, #ff1744); box-shadow: 0 0 8px var(--accent); }
.live-bar-hold { background: linear-gradient(90deg, #0d47a1, #1976d2, #64b5f6); } /* owner 2026-10-26: Recharge is blue — a green bar would key out over the chromakey background */

/* 🏴 Capture tags (owner 2026-10-30; live-caps.mjs): latest base captures on this server, outfit tags only. */
.live-caps { margin-top: 0.35rem; font-size: 0.72rem; color: var(--dim); line-height: 1.4; }
.live-caps .lc-head { font-weight: 700; }
.live-caps b { color: var(--text, #eee); }
.live-caps .lc-zone, .live-caps .lc-cred { opacity: 0.75; }
.live-caps .lc-fac { font-weight: 700; }
.live-caps .lc-fac.vs { color: #b05cff; } .live-caps .lc-fac.nc { color: #3d8cff; } .live-caps .lc-fac.tr { color: #ff4d4d; }
.live-caps .lc-new { animation: lcPop 0.9s ease-out 1, lcGlow 2.4s ease-in-out 2; transform-origin: left center; }
@keyframes lcPop { 0% { opacity: 0; transform: translateX(-8px) scale(0.9); } 60% { opacity: 1; transform: scale(1.04); } 100% { transform: none; } }
@keyframes lcGlow { 50% { text-shadow: 0 0 8px rgba(255, 210, 90, 0.9); } }
@media (prefers-reduced-motion: reduce) { .live-caps .lc-new { animation: none; } }
/* 🚐 Forward spawns under each capture (forward-spawns.mjs): spawn points per side, last 10 min. */
.live-caps .lc-sp { padding-left: 0.8rem; opacity: 0.9; }
.live-caps .fspawn .vs { color: #b05cff; } .live-caps .fspawn .nc { color: #3d8cff; } .live-caps .fspawn .tr { color: #ff4d4d; }
.live-caps .fspawn span { font-weight: 700; }
.live-caps .fspawn .fspn { font-weight: 400; font-variant-numeric: tabular-nums; }
.live-caps .fspawn .fspx, .live-caps .fspawn .fspsep { font-weight: 400; opacity: 0.7; }
body.live-stream #liveCaps { display: none; }
