/* Dark arcade theme, mobile-first. (App name lives in config.js.) */
:root {
  --bg: #0b0e14;
  --bg2: #121826;
  --card: #171f31;
  --edge: #263048;
  --ink: #e8ecf4;
  --muted: #8b95ab;
  --accent: #8b5cf6;
  --accent2: #22d3ee;
  --win: #34d399;
  --loss: #f87171;
  --gold: #fbbf24;
  --radius: 14px;
  font-size: 16px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  display: flex; flex-direction: column; min-height: 100dvh;
  -webkit-font-smoothing: antialiased;
}
#app { flex: 1; width: 100%; max-width: 760px; margin: 0 auto; padding: 12px; }
.hidden { display: none !important; }
.muted { color: var(--muted); font-size: .85em; font-weight: 400; }
h1, h2 { letter-spacing: .02em; }
.card {
  background: var(--card); border: 1px solid var(--edge);
  border-radius: var(--radius); padding: 16px; margin-top: 16px;
}

.screen { display: none; }
/* opacity-only: a transform here would make the screen the containing block
   for position:fixed children (the draft room's bottom bar / roster sheet) */
.screen.active { display: block; animation: screenfade .25s ease; }
@keyframes screenfade { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadein { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; } }

/* ---- Home ---- */
.home-hero { text-align: center; padding: 36px 0 20px; }
.logo { font-size: 56px; filter: drop-shadow(0 0 18px rgba(139, 92, 246, .6)); }
.home-hero h1 {
  font-size: clamp(2rem, 8vw, 3rem); font-weight: 900; margin-top: 6px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.tag { color: var(--muted); margin-top: 8px; }
.home-actions { display: grid; gap: 12px; margin-top: 24px; }
.btn {
  border: 1px solid var(--edge); border-radius: var(--radius);
  background: var(--bg2); color: var(--ink); cursor: pointer;
  padding: 14px 18px; font-size: 1rem; font-weight: 700;
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  transition: transform .08s ease, box-shadow .15s ease;
}
.btn:active { transform: scale(.98); }
.btn-primary { background: linear-gradient(135deg, #6d28d9, #8b5cf6); border-color: #7c3aed; }
.btn-primary:hover { box-shadow: 0 0 24px rgba(139, 92, 246, .35); }
.btn-secondary:hover { box-shadow: 0 0 18px rgba(34, 211, 238, .2); }
.btn-ghost { background: transparent; border-color: transparent; color: var(--muted); }
.btn-title { font-size: 1.1rem; }
.btn-sub { font-size: .78rem; font-weight: 400; color: rgba(232, 236, 244, .75); }
.slot-picker { text-align: center; margin-top: 16px; }
.slot-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 10px; }
.slot-grid button {
  padding: 12px; border-radius: 10px; border: 1px solid var(--edge);
  background: var(--bg2); color: var(--ink); font-weight: 700; cursor: pointer;
}
.slot-grid button:hover { border-color: var(--accent); }
.lb-list { list-style: none; margin-top: 10px; }
.lb-list li {
  display: flex; justify-content: space-between; gap: 8px;
  padding: 7px 4px; border-bottom: 1px solid var(--edge); font-size: .92rem;
}
.lb-list li:last-child { border-bottom: 0; }
.lb-list .lb-handle { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.how p { color: var(--muted); line-height: 1.5; margin-top: 8px; font-size: .92rem; }

/* ---- Draft room ---- */
.draft-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 6px 0; }
.pick-indicator { font-weight: 800; font-size: .95rem; }
.pick-indicator .onclock { color: var(--accent2); }
.clock { font-variant-numeric: tabular-nums; color: var(--gold); font-weight: 800; }
.btn-mini {
  background: var(--bg2); color: var(--ink); border: 1px solid var(--edge);
  border-radius: 10px; padding: 8px 12px; font-weight: 700; cursor: pointer; font-size: .85rem;
}
.pick-strip {
  display: flex; gap: 6px; overflow-x: auto; padding: 6px 0; scrollbar-width: none;
}
.pick-strip::-webkit-scrollbar { display: none; }
.chip {
  flex: 0 0 auto; background: var(--bg2); border: 1px solid var(--edge);
  border-radius: 999px; padding: 4px 10px; font-size: .75rem; white-space: nowrap;
  animation: fadein .3s ease;
}
.chip b { color: var(--accent2); }
.chip.user b { color: var(--gold); }
.chip.latest { border-color: var(--accent2); box-shadow: 0 0 10px rgba(34, 211, 238, .35); }
.chip.skip-hint { color: var(--muted); border-style: dashed; cursor: pointer; }
.pick-indicator .selects { color: var(--accent2); animation: fadein .25s ease; }
.pool li.just-picked { animation: pickout .55s ease forwards; }
@keyframes pickout { to { opacity: 0; transform: translateX(40px); } }
.draft-body { display: grid; grid-template-columns: 1fr; gap: 12px; }
.pool-controls { display: grid; gap: 8px; margin-bottom: 8px; }
#search {
  width: 100%; padding: 10px 12px; border-radius: 10px;
  border: 1px solid var(--edge); background: var(--bg2); color: var(--ink);
}
.pos-tabs { display: flex; gap: 6px; }
.pos-tabs button {
  flex: 1; padding: 8px 0; border-radius: 8px; border: 1px solid var(--edge);
  background: var(--bg2); color: var(--muted); font-weight: 700; cursor: pointer;
}
.pos-tabs button.on { color: var(--ink); border-color: var(--accent); background: rgba(139, 92, 246, .15); }
.pool { list-style: none; max-height: 52dvh; overflow-y: auto; border: 1px solid var(--edge); border-radius: var(--radius); }
.pool li {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px;
  border-bottom: 1px solid var(--edge); background: var(--card);
}
.pool li:last-child { border-bottom: 0; }
.pool .adp { color: var(--muted); font-variant-numeric: tabular-nums; width: 44px; font-size: .8rem; }
.pool .pname { flex: 1; font-weight: 600; font-size: .95rem; }
.pool .ptag { color: var(--muted); font-size: .78rem; }
.pos-QB { color: #f472b6; } .pos-RB { color: #34d399; } .pos-WR { color: #60a5fa; } .pos-TE { color: #fbbf24; }
.pool .draft-btn {
  background: linear-gradient(135deg, #6d28d9, #8b5cf6); color: #fff; border: 0;
  padding: 8px 14px; border-radius: 8px; font-weight: 800; cursor: pointer;
}
.pool .draft-btn:disabled { background: var(--bg2); color: var(--muted); cursor: default; }
.roster-pane h2 { font-size: 1rem; margin-bottom: 6px; }
.roster { list-style: none; }
.roster li {
  display: flex; gap: 10px; padding: 7px 10px; border-bottom: 1px solid var(--edge); font-size: .9rem;
}
.roster li:last-child { border-bottom: 0; }
.roster .slot { width: 42px; color: var(--muted); font-weight: 700; font-size: .78rem; }
.roster .empty { color: var(--muted); font-style: italic; }
/* ---- Draft room bottom bar (v1.8): board + roster, big tap targets ---- */
.draft-bottombar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 31;
  display: flex; gap: 10px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(to top, var(--bg) 72%, transparent);
}
/* the bar lives inside #screen-draft, so it only exists in the draft room */
.bb-btn {
  flex: 1; padding: 14px 0; border-radius: 14px;
  border: 1px solid var(--edge); background: var(--bg2); color: var(--ink);
  font: inherit; font-size: 1rem; font-weight: 800; cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 0, 0, .45);
}
.bb-btn.bb-roster { background: linear-gradient(135deg, #6d28d9, #8b5cf6); color: #fff; border: 0; }
#screen-draft { padding-bottom: 76px; } /* keep the pool's tail clear of the bar */

@media (max-width: 700px) {
  .draft-body { grid-template-columns: 1fr; }
  .roster-pane {
    position: fixed; inset: auto 0 0 0; background: var(--bg2);
    border-top: 1px solid var(--edge); border-radius: 16px 16px 0 0;
    padding: 14px 14px calc(76px + env(safe-area-inset-bottom, 0px)); max-height: 55dvh; overflow-y: auto;
    transform: translateY(100%); transition: transform .22s ease; z-index: 30;
  }
  .roster-pane.open { transform: translateY(0); }
}
@media (min-width: 701px) {
  .draft-body { grid-template-columns: 1fr 260px; }
  /* roster is a static sidebar on wide screens — the board button owns the bar */
  .bb-btn.bb-roster { display: none; }
}

/* ---- Reveal ---- */
.reveal-wrap { text-align: center; padding-top: 30px; }
.ticker { margin: 20px auto; max-width: 420px; min-height: 220px; }
.ticker .trow {
  display: flex; justify-content: space-between; gap: 8px; padding: 8px 12px;
  border-bottom: 1px solid var(--edge); font-size: .92rem; animation: fadein .3s ease;
  font-variant-numeric: tabular-nums;
}
.ticker .trow .wl { font-weight: 900; width: 20px; }
.ticker .trow.w .wl { color: var(--win); }
.ticker .trow.l .wl { color: var(--loss); }
.ticker .trow.playoff { background: rgba(139, 92, 246, .12); border-radius: 8px; }
.reveal-record { font-size: 1.4rem; font-weight: 900; margin: 12px 0; min-height: 1.6em; }

/* ---- Story card ---- */
.story-card { text-align: center; }
.story-finish { font-size: 1.5rem; font-weight: 900; margin: 6px 0; }
.story-finish.champ { color: var(--gold); text-shadow: 0 0 24px rgba(251, 191, 36, .45); }
.story-record { font-size: 2.4rem; font-weight: 900; font-variant-numeric: tabular-nums; }
.story-emoji { font-size: 1.05rem; letter-spacing: 2px; margin: 8px 0; word-break: break-all; }
.story-beat { color: var(--muted); font-style: italic; margin: 10px 0; }
.story-players { display: grid; gap: 8px; margin-top: 12px; text-align: left; }
.story-players .sp { background: var(--bg2); border-radius: 10px; padding: 10px 12px; font-size: .9rem; }
.story-players .sp b { display: block; }
.story-players .delta-up { color: var(--win); } .story-players .delta-down { color: var(--loss); }
.story-standings { margin-top: 14px; font-size: .85rem; text-align: left; }
.story-standings summary { cursor: pointer; color: var(--muted); }
.story-standings table { width: 100%; border-collapse: collapse; margin-top: 8px; }
.story-standings td, .story-standings th { padding: 4px 6px; border-bottom: 1px solid var(--edge); text-align: left; }
.story-standings tr.me { color: var(--accent2); font-weight: 700; }
.share-row { display: flex; gap: 10px; margin-top: 14px; }
.share-row .btn { flex: 1; }
.submit-row { display: flex; gap: 8px; margin-top: 10px; }
.submit-row input {
  flex: 1; padding: 10px 12px; border-radius: 10px;
  border: 1px solid var(--edge); background: var(--bg2); color: var(--ink);
}
#submit-msg { margin-top: 8px; min-height: 1.2em; }

/* ---- Modals (settings, team inspector) ---- */
.modal {
  position: fixed; inset: 0; z-index: 50; display: flex; align-items: center;
  justify-content: center; background: rgba(4, 6, 10, .72); padding: 16px;
}
.modal-card { width: 100%; max-width: 440px; max-height: 86dvh; overflow-y: auto; margin-top: 0; }
.center { text-align: center; }
.setting-row {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  margin-top: 14px; font-weight: 700; font-size: .92rem;
}
.seg { display: flex; gap: 6px; flex-wrap: nowrap; }
.seg-wrap { flex-wrap: wrap; justify-content: flex-end; max-width: 240px; }
.seg button {
  padding: 8px 12px; border-radius: 8px; border: 1px solid var(--edge);
  background: var(--bg2); color: var(--muted); font-weight: 700; cursor: pointer; font-size: .85rem;
}
.seg button.on { color: var(--ink); border-color: var(--accent); background: rgba(139, 92, 246, .15); }
#settings-modal .btn-primary { width: 100%; margin-top: 8px; }
#settings-modal .share-row { margin-top: 18px; }
.roster-edit {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px;
}
.rc-row {
  display: flex; align-items: center; gap: 6px; background: var(--bg2);
  border: 1px solid var(--edge); border-radius: 8px; padding: 6px 8px;
}
.rc-row .rc-label { flex: 1; font-size: .74rem; font-weight: 800; }
.rc-row button {
  width: 24px; height: 24px; border-radius: 6px; border: 1px solid var(--edge);
  background: var(--card); color: var(--ink); font-weight: 800; cursor: pointer; line-height: 1;
}
.rc-row button:disabled { opacity: .3; cursor: default; }
.rc-row .rc-count { width: 16px; text-align: center; font-weight: 800; font-variant-numeric: tabular-nums; }
.set-summary { margin-top: 8px; font-size: .78rem; }
@media (max-width: 420px) { .roster-edit { grid-template-columns: repeat(2, 1fr); } }

/* ---- Draft board grid ---- */
.head-btns { display: flex; gap: 6px; }
.format-badge { color: var(--muted); font-size: .75rem; font-weight: 700; margin-top: 2px; }
.board-wrap { margin: 8px 0; }
.board-grid {
  display: grid; gap: 3px; overflow-x: auto; padding-bottom: 6px;
  grid-auto-rows: minmax(34px, auto);
}
.board-grid .bh {
  background: var(--bg2); border: 1px solid var(--edge); border-radius: 6px;
  font-size: .68rem; font-weight: 800; padding: 4px; text-align: center; cursor: pointer;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 74px;
}
.board-grid .bh.me { color: var(--accent2); border-color: var(--accent2); }
.board-grid .bc {
  border-radius: 6px; font-size: .64rem; padding: 3px 4px; min-width: 74px;
  overflow: hidden; line-height: 1.25; border: 1px solid transparent;
}
.board-grid .bc .bp { display: block; font-weight: 700; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; }
.board-grid .bc.empty { background: var(--bg2); opacity: .35; }
.board-grid .bc.user-pick { outline: 1px solid var(--gold); }
.bc.c-QB { background: rgba(244, 114, 182, .18); } .bc.c-RB { background: rgba(52, 211, 153, .16); }
.bc.c-WR { background: rgba(96, 165, 250, .16); } .bc.c-TE { background: rgba(251, 191, 36, .16); }
.board-grid .rl { font-size: .62rem; color: var(--muted); display: flex; align-items: center; justify-content: center; min-width: 22px; }

/* ---- Team inspector ---- */
.inspector-roster { list-style: none; margin-top: 10px; }
.inspector-roster li {
  display: flex; gap: 8px; align-items: baseline; padding: 7px 2px;
  border-bottom: 1px solid var(--edge); font-size: .88rem;
}
.inspector-roster li:last-child { border-bottom: 0; }
.inspector-roster .ir-round { width: 34px; color: var(--muted); font-size: .74rem; }
.inspector-roster .ir-name { flex: 1; font-weight: 600; }
.inspector-roster .ir-val { font-size: .74rem; font-weight: 700; }
.val-reach { color: var(--loss); } .val-value { color: var(--win); } .val-fair { color: var(--muted); }
#btn-close-inspector { width: 100%; margin-top: 12px; }

/* ---- League page ---- */
.league-grid { display: grid; gap: 10px; margin-top: 14px; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.league-team { background: var(--card); border: 1px solid var(--edge); border-radius: var(--radius); padding: 10px; cursor: pointer; }
.league-team.me { border-color: var(--accent2); }
.league-team h3 { font-size: .85rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.league-team .lt-line { color: var(--muted); font-size: .74rem; margin: 4px 0 6px; }
.league-team .lt-finish { color: var(--gold); font-size: .72rem; font-weight: 800; }
.league-team ul { list-style: none; font-size: .72rem; line-height: 1.5; }
.league-team li { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.story-timeline { color: var(--muted); font-size: .78rem; margin-top: 10px; font-variant-numeric: tabular-nums; }
.alt-banner {
  background: rgba(139, 92, 246, .18); border: 1px solid var(--accent);
  border-radius: 8px; padding: 6px 10px; font-size: .8rem; font-weight: 700; margin-bottom: 10px;
}

footer {
  max-width: 760px; margin: 24px auto 0; padding: 16px 14px 28px;
  color: var(--muted); font-size: .72rem; line-height: 1.5; text-align: center;
  border-top: 1px solid var(--edge); width: 100%;
}
body.hide-footer footer { display: none; }
.foot-links { margin-top: 8px; }
.foot-links .dot { margin: 0 8px; }
.foot-links a, .foot-links .linklike {
  color: var(--accent2); text-decoration: none; background: none; border: 0;
  font: inherit; cursor: pointer; padding: 0;
}
.foot-links a:hover, .foot-links .linklike:hover { text-decoration: underline; }
.privacy-body { text-align: left; font-size: .88rem; line-height: 1.55; }
.privacy-body p { margin-bottom: 10px; }
.privacy-body a { color: var(--accent2); }

/* ---- Season recap (story screen) ---- */
.recap { margin-top: 16px; }
.recap h2 { font-size: 1rem; }
.recap h3 {
  font-size: .8rem; margin: 12px 0 4px; color: var(--muted);
  text-transform: uppercase; letter-spacing: .05em;
}
.rcp-item {
  background: var(--card); border: 1px solid var(--edge); border-radius: 10px;
  padding: 8px 10px; margin-top: 6px; font-size: .88rem;
}
.rcp-item.me { border-color: var(--accent2); }
.rcp-top { display: flex; justify-content: space-between; gap: 8px; }
.rcp-name { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rcp-pts { font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.rcp-item .muted { margin-top: 2px; }

/* ---- Season log (story screen) ---- */
.week-log { margin-top: 16px; }
.week-log h2 { font-size: 1rem; }
.wl-share { width: 100%; margin: 8px 0 10px; }
.week-log .wl-hint { color: var(--muted); font-size: .78rem; margin: 4px 0 8px; }
.wl-rows { border: 1px solid var(--edge); border-radius: var(--radius); overflow: hidden; }
.wl-item { border-bottom: 1px solid var(--edge); }
.wl-item:last-child { border-bottom: 0; }
.wl-row {
  display: flex; align-items: center; gap: 8px; width: 100%;
  padding: 10px 12px; background: var(--card); color: var(--ink);
  border: 0; font: inherit; font-size: .9rem; text-align: left; cursor: pointer;
  font-variant-numeric: tabular-nums;
}
.wl-row:hover { background: var(--bg2); }
.wl-row.playoff { background: rgba(139, 92, 246, .12); }
.wl-row.pbye { color: var(--muted); font-style: italic; cursor: default; }
.wl-row .wl-mark { font-weight: 900; width: 18px; }
.wl-row.w .wl-mark { color: var(--win); }
.wl-row.l .wl-mark { color: var(--loss); }
.wl-row .wl-opp { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wl-row .wl-score { color: var(--muted); }
.wl-row .wl-chev { color: var(--muted); font-size: .8rem; transition: transform .15s ease; }
.wl-item.open > .wl-row { background: var(--bg2); }
.wl-item.open > .wl-row .wl-chev { transform: rotate(90deg); }

/* Inline top-performers panel (first tap) */
.wl-panel {
  padding: 10px 12px 12px; background: var(--bg2);
  border-top: 1px solid var(--edge); animation: fadein .18s ease;
}
.tp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tp-col { min-width: 0; }
.tp-head {
  font-size: .74rem; font-weight: 800; color: var(--muted);
  text-transform: uppercase; letter-spacing: .04em; margin-bottom: 6px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.tp-row {
  display: flex; align-items: baseline; gap: 5px;
  padding: 4px 0; border-bottom: 1px solid var(--edge);
  font-size: .82rem; font-variant-numeric: tabular-nums;
}
.tp-row:last-child { border-bottom: 0; }
.tp-nm {
  flex: 1; min-width: 0; font-weight: 600;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.tp-pos { font-size: .72rem; font-weight: 800; }
.tp-pts { font-weight: 800; margin-left: auto; }
.tp-empty { color: var(--muted); font-size: .78rem; font-style: italic; padding: 4px 0; }
.btn-boxscore {
  display: block; width: 100%; margin-top: 10px; padding: 11px 10px;
  background: var(--card); color: var(--accent2);
  border: 1px solid var(--edge); border-radius: 10px;
  font: inherit; font-size: .82rem; font-weight: 700; cursor: pointer;
}
.btn-boxscore:hover { background: var(--bg); }

/* ---- Matchup modal ---- */
#matchup-score { margin-top: 4px; font-weight: 700; }
#matchup-score.w { color: var(--win); } #matchup-score.l { color: var(--loss); }
.mu-scoreline {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: center;
  margin-top: 12px; padding: 8px 12px; background: var(--bg2); border-radius: 10px;
}
.mu-scoreline .side { min-width: 0; }
.mu-scoreline .side.opp { text-align: right; }
.mu-scoreline .who {
  font-size: .72rem; color: var(--muted); font-weight: 700;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.mu-scoreline .tot { font-size: 1.35rem; font-weight: 900; font-variant-numeric: tabular-nums; }
.mu-scoreline .side.winner .tot { color: var(--win); }
.mu-scoreline .dash { color: var(--muted); }
.h2h { margin-top: 8px; }
.h2h-row {
  display: grid; grid-template-columns: 1fr 40px 1fr; gap: 6px;
  padding: 7px 0; border-bottom: 1px solid var(--edge); align-items: start;
}
.h2h-row:last-child { border-bottom: 0; }
.h2h-slot { text-align: center; color: var(--muted); font-size: .66rem; font-weight: 800; padding-top: 3px; }
.h2h-cell { min-width: 0; }
.h2h-cell.right { text-align: right; }
.h2h-cell .nm { font-weight: 600; font-size: .82rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.h2h-cell .meta { font-size: .74rem; color: var(--muted); }
.h2h-cell .meta .pts { font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; }
.h2h-cell .mu-note { margin-left: 0; margin-top: 2px; font-size: .7rem; }
.vs { color: var(--muted); font-size: .92em; }
.sub-flag { color: var(--accent2); font-size: .82em; font-weight: 700; white-space: nowrap; }
.st { font-size: .78em; font-weight: 800; letter-spacing: .04em; }
.st-bye { color: var(--muted); }
.st-out { color: var(--loss); }
.st-dnp { color: var(--muted); }
.mu-week-head { margin-top: 14px; font-weight: 800; font-size: .88rem; color: var(--accent2); }
.mu-block { margin-top: 12px; }
.mu-block h3 {
  font-size: .76rem; color: var(--muted); text-transform: uppercase;
  letter-spacing: .05em; margin-bottom: 4px;
}
.mu-item { padding: 6px 2px; border-bottom: 1px solid var(--edge); }
.mu-item:last-child { border-bottom: 0; }
.mu-line { display: flex; gap: 8px; align-items: baseline; }
.mu-line .slot { width: 40px; color: var(--muted); font-size: .72rem; font-weight: 700; }
.mu-line .nm { flex: 1; font-weight: 600; font-size: .88rem; }
.mu-line .pts { font-variant-numeric: tabular-nums; font-weight: 800; font-size: .88rem; }
.mu-note { color: var(--muted); font-size: .76rem; font-style: italic; margin-left: 48px; }
.mu-bench .mu-line .nm { font-weight: 400; color: var(--muted); }
#btn-close-matchup { width: 100%; margin-top: 12px; }
