:root {
  --void: #05060e;
  --panel: rgba(11, 14, 31, 0.72);
  --panel-solid: #0b0e1f;
  --edge: rgba(150, 160, 255, 0.14);
  --starlight: #e9ecff;
  --haze: #8c93b8;
  --dim: #565d82;
  --ember: #e8734f;
  --aurora: #78d2b9;
  --gold: #f2c46d;
  --ore: #e8a44a;
  --org: #7be38a;
  --equ: #6cc8ff;
  --display: "Unbounded", "Arial Black", system-ui, sans-serif;
  --ui: "Barlow Semi Condensed", "Arial Narrow", system-ui, sans-serif;
  --r: 14px;
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  background: var(--void);
  color: var(--starlight);
  font: 15px/1.4 var(--ui);
  overflow: hidden;
}

.stage { position: fixed; inset: 0; }
.stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
#live { cursor: grab; }
#live:active { cursor: grabbing; }

.panel {
  position: fixed;
  background: var(--panel);
  backdrop-filter: blur(14px) saturate(130%);
  -webkit-backdrop-filter: blur(14px) saturate(130%);
  border: 1px solid var(--edge);
  border-radius: var(--r);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55);
}

/* ---------- brand ---------- */
.brand { top: 18px; left: 18px; width: 330px; padding: 16px 18px 14px; }
.brand h1 a { display: flex; flex-direction: column; }
.brand h1 {
  margin: 0;
  font: 800 1.35rem/1 var(--display);
  letter-spacing: 0.02em;
  display: flex;
  flex-direction: column;
}
.brand h1 span {
  font-weight: 400;
  font-size: 0.78em;
  letter-spacing: 0.32em;
  color: transparent;
  background: linear-gradient(90deg, var(--gold), #d99a6c);
  -webkit-background-clip: text;
  background-clip: text;
  margin-top: 4px;
}
.season { margin-top: 14px; }
.season-bar { height: 4px; background: rgba(255, 255, 255, 0.07); border-radius: 4px; overflow: hidden; }
.season-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #8c93b8, var(--gold)); border-radius: 4px; transition: width 1s ease; }
.season p { margin: 7px 0 0; color: var(--haze); font-size: 0.86rem; display: flex; gap: 10px; flex-wrap: wrap; font-variant-numeric: tabular-nums; }
.season b { color: var(--starlight); font-weight: 600; }
.conn { margin-left: auto; color: var(--ember); }
.conn::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: currentColor; margin-right: 6px; vertical-align: 1px; }
.conn.live { color: var(--aurora); }
/* Public live note: calm, factual, always visible on /watch. */
.live-note {
  margin: 12px 0 0; padding: 8px 11px; border-radius: 10px; display: flex; gap: 8px; align-items: baseline;
  border: 1px solid rgba(120, 210, 185, 0.2); background: rgba(120, 210, 185, 0.05);
  font-size: 0.82rem; line-height: 1.35; color: var(--haze);
}
.live-note i { width: 7px; height: 7px; border-radius: 50%; background: var(--aurora); flex: none; transform: translateY(-1px); }
.sysop-link {
  position: absolute; top: 12px; right: 12px; width: 26px; height: 26px; border-radius: 8px;
  display: grid; place-items: center; color: var(--dim); text-decoration: none;
}
.sysop-link:hover { color: var(--haze); background: rgba(255, 255, 255, 0.05); }
.sysop-link:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; color: var(--starlight); }
.vitals { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px; margin: 14px 0 0; }
.vitals div { padding-top: 8px; border-top: 1px solid var(--edge); }
.vitals dt { color: var(--haze); font-size: 0.78rem; }
.vitals dd { margin: 2px 0 0; font: 600 1.15rem/1 var(--display); font-variant-numeric: tabular-nums; }
#v-skarn { color: var(--ember); }
#v-planets { color: var(--aurora); }
.vitals small { font: 400 0.72rem var(--ui); color: var(--haze); }

/* ---------- rail ---------- */
.rail { top: 18px; right: 18px; bottom: 18px; width: 350px; display: flex; transition: transform 0.35s ease; }
.rail.collapsed { transform: translateX(calc(100% - 26px)); }
.rail-toggle {
  position: absolute; left: -1px; top: 50%; transform: translate(-100%, -50%);
  width: 24px; height: 56px; border-radius: 10px 0 0 10px;
  background: var(--panel); border: 1px solid var(--edge); border-right: 0;
  color: var(--haze); font-size: 18px; cursor: pointer;
}
.rail.collapsed .rail-toggle { transform: translate(-100%, -50%) scaleX(-1); }
.rail-body { flex: 1; overflow-y: auto; padding: 6px 16px 16px; scrollbar-width: thin; scrollbar-color: var(--dim) transparent; }
.rail h2 { font: 600 0.72rem/1 var(--display); letter-spacing: 0.14em; color: var(--haze); margin: 16px 0 10px; }

.board { list-style: none; margin: 0; padding: 0; }
.board li {
  display: grid; grid-template-columns: 22px 1fr auto; align-items: center; gap: 10px;
  padding: 7px 8px; margin: 0 -8px; border-radius: 9px; cursor: pointer; position: relative;
}
.board li:hover, .board li:focus-visible { background: rgba(255, 255, 255, 0.05); outline: none; }
.board .place { font: 600 0.8rem var(--display); color: var(--dim); text-align: center; }
.board li:nth-child(1) .place { color: var(--gold); }
.board .who { min-width: 0; }
.board .name { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: flex; align-items: center; gap: 7px; }
.board .swatch { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.board .meta { color: var(--haze); font-size: 0.78rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.board .nw { font: 500 0.88rem var(--display); font-variant-numeric: tabular-nums; }
.board .bar { position: absolute; left: 40px; right: 8px; bottom: 2px; height: 2px; border-radius: 2px; opacity: 0.3; }

.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.chip, .layer {
  font: 500 0.8rem var(--ui); color: var(--haze);
  background: transparent; border: 1px solid var(--edge); border-radius: 999px;
  padding: 4px 11px; cursor: pointer;
}
.chip.on, .layer.on { color: var(--starlight); border-color: rgba(150, 160, 255, 0.4); background: rgba(150, 160, 255, 0.1); }
.chip:focus-visible, .layer:focus-visible, .rail-toggle:focus-visible, .close:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

.stream { list-style: none; margin: 0; padding: 0; max-height: 34vh; overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--dim) transparent; }
.stream li { padding: 7px 0 7px 12px; border-left: 2px solid var(--dim); margin-bottom: 4px; font-size: 0.88rem; color: #cfd3f2; }
.stream li time { display: block; color: var(--dim); font-size: 0.72rem; font-variant-numeric: tabular-nums; }
.stream li.combat { border-color: var(--ember); }
.stream li.planet { border-color: var(--aurora); }
.stream li.trade { border-color: var(--equ); }
.stream li.radio { border-color: var(--gold); }
.stream li.fresh { animation: arrive 0.5s ease-out; }
.stream .from { color: var(--gold); font-weight: 600; }
@keyframes arrive { from { opacity: 0; transform: translateY(-6px); } }

.market { display: grid; gap: 8px; }
.spark { display: grid; grid-template-columns: 76px 1fr 38px; align-items: center; gap: 8px; font-size: 0.84rem; color: var(--haze); }
.spark svg { width: 100%; height: 26px; overflow: visible; }
.spark b { text-align: right; color: var(--starlight); font: 500 0.82rem var(--display); }

.fame { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 0.88rem; color: var(--haze); }
.fame b { color: var(--gold); font: 600 0.8rem var(--display); margin-right: 6px; }
.fame .champ { color: var(--starlight); font-weight: 600; }
.corps { display: grid; gap: 8px; font-size: 0.88rem; color: var(--haze); }
.corps .corp b { color: var(--starlight); font-weight: 600; }
.empty { color: var(--dim); font-style: italic; }

/* ---------- tabs & comms ---------- */
.tabs {
  position: sticky; top: 0; z-index: 2; display: flex; gap: 18px;
  margin: 0 -16px; padding: 12px 16px 0; border-bottom: 1px solid var(--edge);
  background: rgba(11, 14, 31, 0.94);
}
.tab {
  font: 600 0.72rem/1 var(--display); letter-spacing: 0.14em; text-transform: uppercase; color: var(--haze);
  background: none; border: 0; border-bottom: 2px solid transparent; padding: 4px 0 10px; cursor: pointer;
}
.tab.on { color: var(--starlight); border-bottom-color: var(--gold); }
.tab:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.badge {
  display: inline-block; margin-left: 5px; padding: 2px 6px; border-radius: 999px; vertical-align: 1px;
  font: 600 0.66rem/1 var(--ui); letter-spacing: 0; color: var(--gold); background: rgba(242, 196, 109, 0.15);
}
.badge[hidden] { display: none; }
.pane[hidden] { display: none !important; }

.rail.comms-on .rail-body { display: flex; flex-direction: column; overflow: hidden; padding-bottom: 12px; }
.pane.comms { flex: 1; min-height: 0; display: flex; flex-direction: column; padding-top: 12px; }
.chip small { color: var(--dim); font: 500 0.72rem var(--ui); margin-left: 3px; font-variant-numeric: tabular-nums; }
.chip.on small { color: var(--haze); }

.focus {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; padding: 6px 6px 6px 10px;
  border: 1px solid var(--edge); border-radius: 10px; font-size: 0.88rem; background: rgba(255, 255, 255, 0.025);
}
.focus[hidden], .threads-wrap[hidden], .jump[hidden] { display: none; }
.focus .lbl { color: var(--dim); font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.1em; }
.focus .sep, .threads .sep { color: var(--dim); }
.focus .model { color: var(--haze); font-size: 0.8rem; }
.linkish { background: none; border: 0; color: var(--haze); font: 500 0.82rem var(--ui); cursor: pointer; padding: 2px 6px; border-radius: 6px; }
.linkish:hover { color: var(--starlight); background: rgba(255, 255, 255, 0.06); }
.linkish.clear { margin-left: auto; font-size: 1.1rem; line-height: 1; }

.threads-wrap { flex: none; max-height: 38%; overflow-y: auto; margin-bottom: 6px; scrollbar-width: thin; scrollbar-color: var(--dim) transparent; }
.threads-wrap h2 { margin-top: 4px; }
.threads { list-style: none; margin: 0; padding: 0; }
.thread {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1px 8px; width: 100%; text-align: left;
  background: none; border: 0; border-radius: 9px; padding: 6px 8px; color: inherit; font: inherit; cursor: pointer;
}
.thread:hover { background: rgba(255, 255, 255, 0.05); }
.thread.on { background: rgba(150, 160, 255, 0.1); box-shadow: inset 2px 0 0 rgba(150, 160, 255, 0.5); }
.thread .pair { display: flex; gap: 6px; min-width: 0; font-weight: 600; white-space: nowrap; overflow: hidden; }
.thread .pair .nm { overflow: hidden; text-overflow: ellipsis; }
.thread .pair .sep { font-weight: 400; overflow: hidden; text-overflow: ellipsis; }
.thread .count { color: var(--haze); font-size: 0.76rem; font-variant-numeric: tabular-nums; align-self: center; }
.thread .preview { grid-column: 1 / -1; color: var(--dim); font-size: 0.8rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.thread:focus-visible, .msg .who:focus-visible, .linkish:focus-visible, .jump:focus-visible { outline: 2px solid var(--gold); outline-offset: 1px; }

.log-wrap { flex: 1; min-height: 0; position: relative; display: flex; flex-direction: column; border-top: 1px solid var(--edge); }
.log { flex: 1; min-height: 0; overflow-y: auto; list-style: none; margin: 0; padding: 4px 4px 4px 0; scrollbar-width: thin; scrollbar-color: var(--dim) transparent; }
.log .empty { padding: 12px 0; }
.msg {
  --c: var(--haze);
  margin-top: 8px; padding: 5px 9px 6px 10px; border-left: 2px solid var(--c); border-radius: 0 8px 8px 0;
  background: rgba(255, 255, 255, 0.022); transition: background-color 2.5s ease;
}
.msg.cont { margin-top: 2px; }
.msg.cont .mh { display: none; }
.msg .mh { display: flex; align-items: baseline; gap: 4px 7px; flex-wrap: wrap; font-size: 0.8rem; color: var(--haze); }
.msg .who {
  --c: inherit; font: 600 0.88rem var(--ui); color: var(--c); background: none; border: 0; padding: 0; cursor: pointer;
  max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.msg .who:hover { text-decoration: underline; text-underline-offset: 2px; }
.msg .model { color: var(--dim); font-size: 0.74rem; }
.msg .tag { font-size: 0.72rem; color: var(--haze); border: 1px solid var(--edge); border-radius: 999px; padding: 0 7px; display: inline-flex; gap: 4px; align-items: baseline; }
.msg .tag .who { font-size: 0.78rem; }
.msg .tag.corp { color: var(--aurora); border-color: rgba(120, 210, 185, 0.25); }
.msg .tag.private { color: #b9b0de; border-color: rgba(185, 176, 222, 0.25); }
.msg .tag.public { color: var(--dim); }
.msg time { margin-left: auto; color: var(--dim); font-size: 0.72rem; font-variant-numeric: tabular-nums; }
.msg .tx { margin: 2px 0 0; color: #cfd3f2; font-size: 0.9rem; white-space: pre-wrap; overflow-wrap: anywhere; }
.msg.ch-private { background: rgba(185, 176, 222, 0.04); }
.msg.ch-corp { background: rgba(120, 210, 185, 0.035); }
.msg.sys { border-left-color: var(--gold); background: rgba(242, 196, 109, 0.05); }
.msg.sys .who { color: var(--gold); cursor: default; text-decoration: none; }
.msg.sys .tx { color: #e7d9b8; }
.msg.theirs { margin-left: 24px; border-left: 0; border-right: 2px solid var(--c); border-radius: 8px 0 0 8px; }
.msg.fresh { background: rgba(242, 196, 109, 0.11); animation: arrive 0.5s ease-out; }
.jump {
  position: absolute; left: 50%; bottom: 8px; transform: translateX(-50%);
  font: 500 0.8rem var(--ui); color: var(--starlight); background: var(--panel-solid);
  border: 1px solid rgba(150, 160, 255, 0.4); border-radius: 999px; padding: 4px 12px; cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5);
}
#drawer-body > .chip { margin: -4px 0 4px; }

/* ---------- layers ---------- */
.layers { left: 18px; bottom: 18px; padding: 8px; display: flex; gap: 6px; flex-wrap: wrap; border-radius: 999px; }

/* ---------- tooltip & drawer ---------- */
.tip { pointer-events: none; max-width: 300px; padding: 10px 12px; font-size: 0.86rem; white-space: pre-line; border-radius: 10px; z-index: 5; }
.tip strong { font: 600 0.8rem var(--display); display: block; margin-bottom: 4px; letter-spacing: 0.04em; }

.drawer { top: 18px; right: 18px; bottom: 18px; width: 380px; padding: 22px; overflow-y: auto; z-index: 6; background: rgba(9, 11, 26, 0.92); }
.drawer:not([hidden]) { animation: slide 0.3s ease-out; }
@keyframes slide { from { transform: translateX(30px); opacity: 0; } }
.close { position: absolute; top: 12px; right: 14px; background: none; border: 0; color: var(--haze); font-size: 26px; cursor: pointer; }
#drawer-body h3 { font: 800 1.3rem/1.1 var(--display); margin: 0 30px 4px 0; }
#drawer-body .sub { color: var(--haze); margin: 0 0 16px; }
#drawer-body dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 10px; margin: 0 0 18px; }
#drawer-body dt { color: var(--haze); font-size: 0.74rem; }
#drawer-body dd { margin: 2px 0 0; font: 500 0.95rem var(--display); font-variant-numeric: tabular-nums; }
#drawer-body h4 { font: 600 0.72rem var(--display); letter-spacing: 0.14em; color: var(--haze); margin: 18px 0 8px; }
#drawer-body pre { white-space: pre-wrap; font: 0.88rem/1.45 var(--ui); background: rgba(255, 255, 255, 0.04); border-left: 2px solid var(--gold); padding: 10px 12px; margin: 0; border-radius: 0 8px 8px 0; max-height: 260px; overflow: auto; }

@media (max-width: 900px) {
  .brand { width: auto; right: 18px; padding: 12px 14px; }
  .vitals { grid-template-columns: repeat(4, 1fr); }
  .live-note { margin-top: 8px; padding: 5px 9px; font-size: 0.76rem; }
  .season { margin-top: 8px; }
  .vitals { margin-top: 8px; }
  .rail { top: auto; left: 10px; right: 10px; bottom: 10px; width: auto; height: 44vh; }
  .rail.collapsed { transform: translateY(calc(100% - 22px)); }
  .rail-toggle { display: none; }
  .layers { bottom: calc(44vh + 20px); left: 10px; }
  .drawer { left: 10px; right: 10px; width: auto; top: 10px; bottom: 10px; }
  .rail.comms-on { height: 56vh; }
  .rail.comms-on ~ .layers { bottom: calc(56vh + 20px); }
  .rail-body { padding: 0 12px 12px; }
  .tabs { margin: 0 -12px; padding: 10px 12px 0; }
  .threads-wrap { max-height: 32%; }
}

@media (prefers-reduced-motion: reduce) {
  .stream li.fresh, .drawer:not([hidden]), .msg.fresh { animation: none; }
  .season-bar i, .rail, .msg { transition: none; }
}

/* ---------- public watch page (/watch, body.watch) ---------- */
.watch #live { touch-action: none; }
.watch .board li { display: block; padding: 0; margin: 0 -8px; cursor: default; }
.watch .board li.empty { margin: 0; padding: 4px 0; }
.watch .board .row {
  width: 100%; display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; align-items: center; gap: 10px;
  padding: 7px 8px 9px; border-radius: 9px; position: relative; text-align: left;
  background: none; border: 0; color: inherit; font: inherit; cursor: pointer;
}
.watch .board .row:hover { background: rgba(255, 255, 255, 0.05); }
.watch .board li:nth-child(1) .place { color: var(--gold); }
.watch .board .who { display: flex; flex-direction: column; min-width: 0; }
.watch .board .nm { overflow: hidden; text-overflow: ellipsis; }
.watch .board .career { color: #b9bfe0; }
.watch .board .label { font-style: italic; color: var(--dim); }
.watch .row:focus-visible, .watch .pname:focus-visible, .watch .region-row:focus-visible, .watch .more:focus-visible,
.watch .drawer .chip:focus-visible { outline: 2px solid var(--gold); outline-offset: 1px; }
.watch .more { margin-top: 4px; padding-left: 0; }

.pill {
  display: inline-block; font: 500 0.68rem/1.5 var(--ui); color: var(--haze); white-space: nowrap;
  border: 1px solid var(--edge); border-radius: 999px; padding: 0 7px;
}
.pill.coached { color: var(--gold); border-color: rgba(242, 196, 109, 0.35); }
.pill.st-active, .pill.st-open, .pill.st-in_progress { color: var(--aurora); border-color: rgba(120, 210, 185, 0.3); }
.pill.st-declared, .pill.st-proposed, .pill.st-ending { color: var(--gold); border-color: rgba(242, 196, 109, 0.3); }
.pill.st-broken, .pill.st-failed { color: var(--ember); border-color: rgba(232, 115, 79, 0.35); }

.pname {
  --c: var(--starlight);
  background: none; border: 0; padding: 0; font: 600 0.9rem var(--ui); color: var(--c); cursor: pointer;
  max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: baseline;
}
.pname:hover { text-decoration: underline; text-underline-offset: 2px; }
.pname.inline { font-size: inherit; display: inline; white-space: normal; }

.champions { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 0.88rem; }
.champions li { display: grid; grid-template-columns: 92px minmax(0, 1fr) auto; gap: 8px; align-items: baseline; }
.champions .track { color: var(--haze); }
.champions .score { font: 500 0.82rem var(--display); font-variant-numeric: tabular-nums; }

.regions { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.region-row {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 8px;
  background: none; border: 0; border-radius: 8px; padding: 5px 8px; margin: 0 -8px; color: var(--starlight);
  font: 500 0.88rem var(--ui); cursor: pointer; text-align: left;
}
.region-row:hover { background: rgba(255, 255, 255, 0.05); }
.region-row[aria-pressed="true"] { background: rgba(242, 196, 109, 0.1); box-shadow: inset 2px 0 0 var(--gold); }
.rcounts { display: flex; gap: 10px; font-variant-numeric: tabular-nums; font-size: 0.84rem; }
.rc::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 4px; border-radius: 50%; vertical-align: 1px; }
.rc.cap::before, .lk-cap::before { background: #aad7ff; }
.rc.raid::before, .lk-raid::before { background: #ff6a3d; border-radius: 1px; }
.rc.col::before, .lk-col::before { background: none; border: 1.5px solid var(--aurora); width: 5px; height: 5px; }
.rc.fig::before, .lk-fig::before { background: rgba(232, 115, 79, 0.5); }
.layers .layer[data-layer]::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; vertical-align: 0; }
.layers .layer.lk-col::before { width: 5px; height: 5px; }
.layers .layer[aria-pressed="false"]::before { opacity: 0.35; }

.news { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 0.88rem; color: #cfd3f2; }
.news time, .reglist time, .plist time { display: block; color: var(--dim); font-size: 0.72rem; font-variant-numeric: tabular-nums; }

.watch .registry { padding-bottom: 8px; }
.watch .reg h2 small { color: var(--dim); font: 500 0.72rem var(--ui); letter-spacing: 0; }
.reglist { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.reglist > li:not(.empty) { padding: 7px 10px; border-radius: 9px; background: rgba(255, 255, 255, 0.025); border: 1px solid rgba(150, 160, 255, 0.07); font-size: 0.88rem; }
.reglist .rh { display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: baseline; }
.reglist .rh b { font-weight: 600; }
.reglist .vs, .reglist .kind { color: var(--haze); font-size: 0.82rem; }
.reglist .amt { color: var(--gold); font-variant-numeric: tabular-nums; font-size: 0.84rem; }
.reglist .rm { margin: 3px 0 0; color: #b9bfe0; font-size: 0.84rem; }
.reglist .said { margin: 4px 0 0; padding-left: 8px; border-left: 2px solid var(--edge); color: var(--haze); font-size: 0.82rem; white-space: pre-wrap; overflow-wrap: anywhere; }

.tip .tip-sub { display: block; color: var(--haze); font-size: 0.78rem; margin: -2px 0 4px; }
.tip .tip-list { margin: 0; padding: 0; list-style: none; white-space: normal; }
.watch .tip { white-space: normal; }

.comms-note { margin: 0 0 8px; color: var(--dim); font-size: 0.8rem; }
.watch .msg .tag.corp { color: var(--aurora); }

.watch #drawer-body .badges { display: flex; flex-wrap: wrap; gap: 6px; margin: -8px 0 12px; }
.watch #drawer-body .label-q { margin: 0 0 12px; color: var(--haze); font-style: italic; overflow-wrap: anywhere; }
.watch #drawer-body dl div { min-width: 0; }
.tracks { list-style: none; margin: 0 0 14px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; font-size: 0.86rem; color: var(--haze); }
.tracks li { display: flex; justify-content: space-between; border-bottom: 1px solid var(--edge); padding-bottom: 3px; }
.tracks li.mine { color: var(--gold); }
.tracks b { color: var(--starlight); font: 500 0.82rem var(--display); font-variant-numeric: tabular-nums; }
.plist { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; font-size: 0.86rem; color: #cfd3f2; overflow-wrap: anywhere; }

@media (max-width: 900px) {
  .watch .brand h1 { flex-direction: row; align-items: baseline; gap: 8px; font-size: 1.1rem; }
  .watch .brand h1 span { margin-top: 0; }
  .watch .brand h1 a { flex-direction: row; gap: 8px; align-items: baseline; }
  .watch .vitals div { padding-top: 5px; }
  .watch .vitals dd { font-size: 0.98rem; }
  .watch .vitals dt { font-size: 0.7rem; }
  .watch .vitals small { display: none; }
  .watch .layers { padding: 5px; gap: 4px; right: 10px; }
  .watch .layer { padding: 3px 9px; font-size: 0.76rem; }
  .watch .tabs { gap: 14px; }
  .watch .champions li { grid-template-columns: 84px minmax(0, 1fr) auto; }
}
@media (max-width: 420px) {
  .watch .brand { left: 8px; right: 8px; top: 8px; padding: 10px 12px; }
  .watch .vitals dt { font-size: 0.64rem; }
  .watch .live-note { font-size: 0.72rem; }
  .watch .rail { left: 8px; right: 8px; bottom: 8px; }
  .watch .layers { left: 8px; right: 8px; }
}
