/* ==========================================================================
   DINO HOCKEY MANAGER — Godot 4 dark mode × vintage CRT accents
   Flat panels, visible-but-subtle borders, phosphor/amber/cyan pops
   ========================================================================== */

:root {
  /* ---- Godot 4-ish dark neutrals ---- */
  --bg-0:         #16181d;    /* deepest (body) */
  --bg-1:         #1d2026;    /* main panel */
  --bg-2:         #252930;    /* lifted / hover */
  --bg-3:         #2f343c;    /* interactive */
  --stroke:       #3a404a;    /* visible border */
  --stroke-soft:  #282c33;    /* internal divider */

  /* ---- Ink ---- */
  --ink:          #d8dce1;
  --ink-dim:      #8b9099;
  --ink-faint:    #5a616b;
  --cream:        #ece6d0;

  /* ---- Vintage CRT brights ---- */
  --phosphor:     #7fff6a;    /* P1 terminal green — primary accent */
  --cyan:         #4ce1ff;    /* Amiga / CGA cyan */
  --amber:        #ffb627;    /* amber CRT */
  --magenta:      #ff5fbf;    /* hot pink */
  --coral:        #ff6b6b;    /* CRT error red */
  --godot:        #4fa2dc;    /* signature Godot blue */
  --yellow:       #ffe94a;

  /* ---- Legacy aliases (JS inline styles reference these) ---- */
  --rad:          var(--phosphor);
  --ice:          var(--cyan);
  --ice-deep:     var(--godot);
  --gold:         var(--amber);
  --purple:       var(--magenta);
  --blood:        var(--coral);
  --bone:         var(--cream);
  --bg-deep:      var(--bg-0);
  --bg-panel:     var(--bg-1);
  --bg-panel-2:   var(--bg-2);
  --bg-elev:      var(--bg-3);

  --font-display: 'Bebas Neue', 'Inter', system-ui, sans-serif;
  --font-head:    'Inter', system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', monospace;

  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bot: env(safe-area-inset-bottom, 0px);

  --topbar-h: 52px;
  --tabbar-h: 60px;

  --radius-xs: 3px;
  --radius-sm: 4px;
  --radius-md: 6px;
}

* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }

html, body {
  height: 100%;
  width: 100%;
  overflow: hidden;
  background: var(--bg-0);
  color: var(--ink);
  font-family: var(--font-head);
  font-weight: 500;
  user-select: none;
  -webkit-user-select: none;
  overscroll-behavior: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Display elements use Bebas Neue — single weight, condensed all-caps feel */
.logo, .hd-date, .hero-team-name, .matchup-abbr,
.draft-title, .modal-title, .ms-div-name, .conf-header,
.leader-avatar, .launch-logo, .lobby-code-value, .fd-title,
.hd-team, .fd-onclock-team {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.03em;
}
/* Dial letter-spacing per element */
.logo            { letter-spacing: 0.08em; }
.lobby-code-value { letter-spacing: 0.2em; }
.hd-date         { letter-spacing: 0.04em; }
.matchup-abbr    { letter-spacing: 0.06em; }
.hd-team         { letter-spacing: 0.05em; }
.hero-team-name  { letter-spacing: 0.04em; }

.hidden { display: none !important; }

button {
  font-family: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
  touch-action: manipulation;
}

/* ==========================================================================
   APP SHELL
   ========================================================================== */

#app {
  display: flex;
  flex-direction: column;
  height: 100dvh;
  width: 100vw;
  max-width: 500px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  background: var(--bg-0);
  border-left: 1px solid var(--stroke-soft);
  border-right: 1px solid var(--stroke-soft);
}

/* ----- TOP BAR ----- */
#topbar {
  flex: 0 0 auto;
  height: calc(var(--topbar-h) + var(--safe-top));
  padding-top: var(--safe-top);
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  align-items: center;
  background: var(--bg-1);
  border-bottom: 1px solid var(--stroke);
  z-index: 50;
  position: relative;
}

.tb-left { padding-left: 14px; }
.tb-center { text-align: center; }
.tb-right { padding-right: 14px; text-align: right; }

.logo {
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 1;
  letter-spacing: 2px;
  color: var(--phosphor);
}

.season-label {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--ink);
  text-transform: uppercase;
}

.tick-label {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--amber);
  letter-spacing: 1px;
  margin-top: 1px;
}

.icon-btn {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  background: var(--bg-2);
  border: 1px solid var(--stroke);
  color: var(--ink);
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.icon-btn:active { transform: scale(0.94); background: var(--bg-3); }

/* ----- MAIN ----- */
#main {
  flex: 1 1 auto;
  overflow: hidden;
  position: relative;
}

.view {
  position: absolute;
  inset: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 14px 14px calc(14px + var(--tabbar-h) + var(--safe-bot)) 14px;
  -webkit-overflow-scrolling: touch;
  opacity: 0;
  pointer-events: none;
  transform: translateY(4px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}
.view.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* ----- TAB BAR ----- */
#tabbar {
  flex: 0 0 auto;
  height: calc(var(--tabbar-h) + var(--safe-bot));
  padding-bottom: var(--safe-bot);
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  background: var(--bg-1);
  border-top: 1px solid var(--stroke);
  z-index: 50;
  position: relative;
}

.tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: var(--ink-faint);
  transition: color 0.12s ease;
  position: relative;
}
.tab-icon { font-size: 16px; line-height: 1; }
.tab-icon-svg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 16px;
  color: currentColor;
}
.tab-icon-svg svg { display: block; }
.tab-badge {
  position: absolute;
  top: 6px;
  right: 50%;
  margin-right: -16px;
  min-width: 14px;
  height: 14px;
  padding: 0 4px;
  border-radius: 7px;
  background: var(--coral);
  color: #0b1006;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  line-height: 14px;
  text-align: center;
}
.tab-label {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}
.tab.active { color: var(--phosphor); }
.tab.active::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 2px;
  background: var(--phosphor);
}
.tab:active { transform: scale(0.94); }

/* ==========================================================================
   REUSABLE COMPONENTS
   ========================================================================== */

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 16px 0 8px 0;
}
.section-head:first-child { margin-top: 0; }

.section-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--ink-dim);
  text-transform: uppercase;
}
.section-action {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--cyan);
  letter-spacing: 1px;
}

/* Card */
.card {
  background: var(--bg-1);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-md);
  padding: 12px;
  position: relative;
}
.card.glow {
  background: var(--bg-1);
  border: 1px solid var(--stroke);
  border-left: 2px solid var(--phosphor);
}

/* Hero tile */
.hero-tile {
  background: var(--bg-1);
  border: 1px solid var(--stroke);
  border-left: 2px solid var(--phosphor);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  margin-bottom: 14px;
  position: relative;
}

.hero-team-name {
  font-family: var(--font-display);
  font-size: 34px;
  color: var(--cream);
  letter-spacing: 1.5px;
  line-height: 1;
  margin-bottom: 4px;
}
.hero-record {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-dim);
  letter-spacing: 1.2px;
  margin-bottom: 12px;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 8px;
}
.hero-stat {
  padding: 6px 0;
  border-left: 2px solid var(--stroke);
  padding-left: 10px;
}
.hero-stat-label {
  font-size: 9px;
  letter-spacing: 1.5px;
  color: var(--ink-faint);
  text-transform: uppercase;
  margin-bottom: 2px;
}
.hero-stat-value {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 700;
  color: var(--phosphor);
}
.hero-stat.alt .hero-stat-value { color: var(--cyan); }
.hero-stat.gold .hero-stat-value { color: var(--amber); }

/* Game tile */
.game-tile {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  background: var(--bg-1);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  margin-bottom: 6px;
}
.game-team {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.5px;
}
.game-team.away { text-align: left; }
.game-team.home { text-align: right; }
.game-team.muted { color: var(--ink-faint); }
.game-score {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 15px;
  color: var(--cream);
  min-width: 56px;
  text-align: center;
  padding: 3px 8px;
  background: var(--bg-0);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-xs);
}
.game-vs {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-faint);
  letter-spacing: 1.5px;
  min-width: 56px;
  text-align: center;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: transform 0.08s ease, background 0.12s ease;
  border: 1px solid transparent;
}
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--phosphor);
  color: #0b1006;
  border: 1px solid var(--phosphor);
}
.btn-primary:active { background: #6fe65a; }
.btn:disabled,
.btn[disabled] {
  background: var(--bg-2);
  color: var(--ink-faint);
  border-color: var(--stroke-soft);
  cursor: default;
  pointer-events: none;
}
.btn-secondary {
  background: var(--bg-2);
  color: var(--ink);
  border: 1px solid var(--stroke);
}
.btn-secondary:active { background: var(--bg-3); }
.btn-ghost {
  background: transparent;
  color: var(--ink-dim);
  border: 1px solid var(--stroke);
}
.btn-danger {
  background: rgba(255, 107, 107, 0.12);
  color: var(--coral);
  border: 1px solid var(--coral);
}
.btn-full { width: 100%; }

/* Player row */
.player-row {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  background: var(--bg-1);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-sm);
  margin-bottom: 4px;
  transition: background 0.1s ease;
}
.player-row:active { background: var(--bg-2); }

.player-num {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 12px;
  color: var(--ink-faint);
  text-align: center;
}
.player-main { min-width: 0; }
.player-name {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: 0.2px;
}
.player-meta {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-dim);
  letter-spacing: 0.6px;
  margin-top: 2px;
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.player-pos {
  display: inline-block;
  padding: 1px 5px;
  background: transparent;
  border: 1px solid var(--stroke);
  border-radius: var(--radius-xs);
  font-weight: 700;
  font-size: 9px;
  color: var(--ink-dim);
}
.player-pos.F { border-left: 2px solid rgba(127,255,106,0.45); }
.player-pos.D { border-left: 2px solid rgba(76,225,255,0.45); }
.player-pos.G { border-left: 2px solid rgba(255,182,39,0.55); }

.player-ovr {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 18px;
  min-width: 34px;
  text-align: right;
  color: var(--cream);
}
.player-ovr.elite { color: var(--phosphor); }
.player-ovr.great { color: var(--cream); }
.player-ovr.good  { color: var(--ink); }
.player-ovr.avg   { color: var(--ink-dim); }
.player-ovr.low   { color: var(--ink-faint); }

.archetype-tag {
  display: inline-block;
  padding: 1px 6px;
  background: rgba(255,95,191,0.1);
  border: 1px solid rgba(255,95,191,0.35);
  border-radius: var(--radius-xs);
  color: var(--magenta);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* Potential stars (1–5). Archetypes stay silent; this is the surfaced potential signal. */
.pot-stars {
  display: inline-flex;
  align-items: center;
  letter-spacing: 0.5px;
  font-size: 10px;
  font-family: var(--font-mono);
  line-height: 1;
  padding: 1px 4px;
  border-radius: var(--radius-xs);
  color: var(--ink-faint);
}
.pot-stars.pot-1 { color: var(--ink-faint); }
.pot-stars.pot-2 { color: var(--ink-dim); }
.pot-stars.pot-3 { color: var(--cream); }
.pot-stars.pot-4 { color: var(--cyan); }
.pot-stars.pot-5 {
  color: var(--amber);
  text-shadow: 0 0 6px rgba(255,182,39,0.35);
}

/* League table */
.table {
  width: 100%;
  background: var(--bg-1);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.table-row {
  display: grid;
  grid-template-columns: 24px 1fr 30px 30px 30px 40px;
  gap: 8px;
  align-items: center;
  padding: 9px 12px;
  border-bottom: 1px solid var(--stroke-soft);
  font-family: var(--font-mono);
  font-size: 12px;
}
.table-row:last-child { border-bottom: none; }
.table-row.header {
  background: var(--bg-2);
  color: var(--ink-faint);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.2px;
  padding: 7px 12px;
  text-transform: uppercase;
}
.table-row.me {
  background: rgba(127,255,106,0.06);
  box-shadow: inset 2px 0 0 var(--phosphor);
}
.table-row .t-rank { color: var(--ink-faint); text-align: center; }
.table-row .t-name {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.table-row.me .t-name { color: var(--phosphor); font-weight: 700; }
.table-row .t-num { text-align: center; color: var(--ink-dim); }
.table-row .t-pts { text-align: center; color: var(--cream); font-weight: 700; }

/* Trade screen */
.trade-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 12px;
}
.trade-side {
  background: var(--bg-1);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  min-height: 72px;
}
.trade-panel.empty .trade-side {
  min-height: 54px;
}
.trade-side-header {
  font-size: 10px;
  letter-spacing: 1.5px;
  color: var(--ink-dim);
  text-transform: uppercase;
  margin-bottom: 8px;
  display: flex;
  justify-content: space-between;
}
.trade-side.target .trade-side-header { color: var(--cyan); }
.trade-slot {
  padding: 6px 10px;
  background: transparent;
  border: 1px dashed var(--stroke-soft);
  border-radius: var(--radius-xs);
  margin-bottom: 3px;
  font-size: 10px;
  color: var(--ink-faint);
  text-align: center;
  min-height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-style: italic;
  opacity: 0.7;
}
.trade-slot.filled {
  border-style: solid;
  background: var(--bg-2);
  color: var(--ink);
  font-family: var(--font-head);
  font-style: normal;
  opacity: 1;
  text-align: left;
  justify-content: space-between;
  min-height: 36px;
  font-size: 11px;
}
.trade-fairness {
  padding: 10px 12px;
  background: var(--bg-1);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-sm);
  text-align: center;
  margin-bottom: 10px;
}
.fairness-bar {
  height: 5px;
  background: var(--bg-0);
  border: 1px solid var(--stroke);
  border-radius: 2px;
  overflow: hidden;
  margin-top: 8px;
  position: relative;
}
.fairness-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--coral), var(--amber), var(--phosphor));
  transition: width 0.3s ease;
}
.fairness-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--ink-dim);
}

/* Team pills */
.team-pills {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 10px;
  scrollbar-width: none;
}
.team-pills::-webkit-scrollbar { display: none; }
.team-pill {
  flex: 0 0 auto;
  padding: 7px 12px;
  background: var(--bg-1);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-sm);
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  white-space: nowrap;
  color: var(--ink-dim);
}
.team-pill.active {
  background: var(--bg-2);
  color: var(--ink);
  border-color: var(--ink-dim);
  box-shadow: inset 0 -2px 0 var(--cyan);
}

/* Draft screen */
.draft-header {
  background: var(--bg-1);
  border: 1px solid var(--stroke);
  border-left: 2px solid var(--amber);
  border-radius: var(--radius-md);
  padding: 14px;
  margin-bottom: 12px;
  text-align: center;
}
.draft-title {
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--amber);
  letter-spacing: 1.5px;
  line-height: 1;
  margin-bottom: 4px;
}
.draft-sub {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-dim);
  letter-spacing: 1.5px;
}
.draft-pick-indicator {
  margin-top: 10px;
  padding: 6px 12px;
  background: var(--bg-0);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-xs);
  font-family: var(--font-mono);
  font-size: 12px;
  display: inline-block;
  color: var(--phosphor);
}
.draft-pick-indicator.waiting { color: var(--ink-dim); }

.draft-filters {
  display: flex;
  gap: 4px;
  margin-bottom: 10px;
}
.filter-pill {
  flex: 1;
  padding: 7px 0;
  background: var(--bg-1);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-xs);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--ink-dim);
  text-align: center;
}
.filter-pill.active {
  background: var(--bg-2);
  color: var(--cyan);
  border-color: var(--cyan);
}

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.72);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  z-index: 200;
  opacity: 1;
  transition: opacity 0.18s ease;
}
.modal-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}
.modal-card {
  width: 100%;
  max-width: 500px;
  background: var(--bg-1);
  border-top: 1px solid var(--stroke);
  border-top-left-radius: var(--radius-md);
  border-top-right-radius: var(--radius-md);
  padding: 16px 16px calc(16px + var(--safe-bot)) 16px;
  max-height: 85vh;
  overflow-y: auto;
  transform: translateY(0);
  transition: transform 0.25s ease;
  position: relative;
}
.modal-overlay.hidden .modal-card { transform: translateY(100%); }
.modal-card::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 3px;
  background: var(--stroke);
  border-radius: 2px;
}
.modal-title {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--cream);
  letter-spacing: 1px;
  margin-top: 8px;
  margin-bottom: 2px;
  line-height: 1;
}
.modal-sub {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-dim);
  letter-spacing: 1px;
  margin-bottom: 12px;
}
.modal-actions {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}
.modal-actions .btn { flex: 1; }

.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin: 10px 0;
}
.stat-box {
  background: var(--bg-2);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-xs);
  padding: 8px;
  text-align: center;
}
.stat-box-label {
  font-size: 9px;
  letter-spacing: 1.5px;
  color: var(--ink-faint);
  text-transform: uppercase;
  margin-bottom: 2px;
}
.stat-box-value {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}

.attribute-bar {
  display: grid;
  grid-template-columns: 60px 1fr 30px;
  gap: 10px;
  align-items: center;
  padding: 5px 0;
}
.attr-label {
  font-size: 10px;
  letter-spacing: 1.2px;
  color: var(--ink-dim);
  text-transform: uppercase;
}
.attr-bar-track {
  height: 5px;
  background: var(--bg-0);
  border: 1px solid var(--stroke);
  border-radius: 2px;
  overflow: hidden;
}
.attr-bar-fill {
  height: 100%;
  background: var(--cyan);
}
.attr-value {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--cream);
  text-align: right;
}

/* Toast */
.toast {
  position: fixed;
  bottom: calc(var(--tabbar-h) + var(--safe-bot) + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(0);
  padding: 9px 14px;
  background: var(--bg-1);
  border: 1px solid var(--phosphor);
  border-left: 3px solid var(--phosphor);
  border-radius: var(--radius-xs);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--phosphor);
  text-transform: uppercase;
  z-index: 300;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.toast.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(6px);
}

/* Empty state */
.empty {
  text-align: center;
  padding: 32px 16px;
  color: var(--ink-faint);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 1px;
}

/* Divider */
.divider {
  height: 1px;
  background: var(--stroke);
  margin: 14px 0;
}

/* Utility */
.row { display: flex; align-items: center; gap: 10px; }
.row-between { display: flex; align-items: center; justify-content: space-between; }
.mt-8  { margin-top: 8px; }
.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }
.mb-8  { margin-bottom: 8px; }
.mb-12 { margin-bottom: 12px; }
.text-dim   { color: var(--ink-dim); }
.text-faint { color: var(--ink-faint); }
.text-mono  { font-family: var(--font-mono); }
.text-rad   { color: var(--phosphor); }
.text-ice   { color: var(--cyan); }
.text-gold  { color: var(--amber); }
.text-blood { color: var(--coral); }

/* ==========================================================================
   V2 ADDITIONS — cap bars, series cards, picks, tags, FA sliders
   ========================================================================== */

/* Cap bar */
.cap-card {
  background: var(--bg-1);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  margin-bottom: 12px;
}
.cap-bar {
  height: 6px;
  background: var(--bg-0);
  border: 1px solid var(--stroke);
  border-radius: 2px;
  overflow: hidden;
}
.cap-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--phosphor), var(--amber) 85%, var(--coral));
  transition: width 0.3s ease;
}
.cap-fill.over { background: var(--coral); }

/* Player row badges */
.injury-tag {
  display: inline-block;
  padding: 1px 5px;
  background: rgba(255,107,107,0.12);
  border: 1px solid rgba(255,107,107,0.4);
  border-radius: var(--radius-xs);
  color: var(--coral);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.minor-tag {
  display: inline-block;
  padding: 1px 5px;
  background: rgba(139,144,153,0.15);
  border: 1px solid rgba(139,144,153,0.4);
  border-radius: var(--radius-xs);
  color: var(--ink-dim);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.contract-tag {
  display: inline-block;
  padding: 1px 5px;
  background: var(--bg-0);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-xs);
  color: var(--ink-dim);
  font-size: 9px;
  font-weight: 700;
  font-family: var(--font-mono);
  letter-spacing: 0.3px;
}
.contract-tag.exp {
  color: var(--amber);
  border-color: rgba(255,182,39,0.4);
}

/* OVR delta arrows */
.delta {
  display: inline-block;
  padding: 0 4px;
  font-size: 10px;
  font-weight: 700;
  font-family: var(--font-mono);
  border-radius: 2px;
  margin-left: 4px;
  vertical-align: middle;
}
.delta.up   { color: var(--phosphor); }
.delta.down { color: var(--coral); }

/* Trade selected rows */
.player-row.selected-give {
  background: rgba(127,255,106,0.08);
  border-color: rgba(127,255,106,0.4);
}
.player-row.selected-get {
  background: rgba(76,225,255,0.08);
  border-color: rgba(76,225,255,0.4);
}
.trade-side.give .trade-side-header { color: var(--ink); }
.trade-side.give .trade-side-header span:first-child { border-left: 2px solid var(--phosphor); padding-left: 6px; }
.trade-side.get  .trade-side-header { color: var(--ink); }
.trade-side.get  .trade-side-header span:first-child { border-left: 2px solid var(--cyan); padding-left: 6px; }

/* Calmer trade section labels */
.trade-label {
  display: inline-flex;
  align-items: center;
  padding-left: 8px;
  border-left: 2px solid var(--stroke);
  color: var(--ink-dim);
}
.trade-label.give-label { border-left-color: var(--phosphor); }
.trade-label.get-label  { border-left-color: var(--cyan); }

/* Picks grid */
.picks-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
  margin-bottom: 8px;
}
.pick-chip {
  background: var(--bg-1);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-xs);
  padding: 6px 4px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.3;
  cursor: pointer;
  transition: background 0.1s ease;
}
.pick-chip:active { background: var(--bg-2); }
.pick-chip.selected {
  background: rgba(127,255,106,0.12);
  border-color: var(--phosphor);
}
.pick-chip .pick-year {
  color: var(--amber);
  font-weight: 700;
  font-size: 11px;
}
.pick-chip .pick-round {
  color: var(--cream);
  font-weight: 700;
}
.pick-chip .pick-orig {
  color: var(--ink-faint);
  font-size: 8px;
  margin-top: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Playoff series cards */
.series-card {
  background: var(--bg-1);
  border: 1px solid var(--stroke);
  border-left: 2px solid var(--cyan);
  border-radius: var(--radius-md);
  padding: 12px;
  margin-bottom: 6px;
}
.series-card.done {
  border-left-color: var(--amber);
  opacity: 0.85;
}
.series-header {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 1.5px;
  color: var(--ink-dim);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.series-teams {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.series-team {
  display: grid;
  grid-template-columns: 24px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 6px 8px;
  background: var(--bg-0);
  border: 1px solid var(--stroke-soft);
  border-radius: var(--radius-xs);
}
.series-team.lead {
  border-left: 2px solid var(--phosphor);
  background: rgba(127,255,106,0.04);
}
.series-seed {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-faint);
  text-align: center;
  font-weight: 700;
}
.series-name {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.series-wins {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 700;
  color: var(--cream);
  min-width: 20px;
  text-align: right;
}
.series-team.lead .series-wins { color: var(--phosphor); }
.series-last {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--stroke-soft);
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-faint);
  letter-spacing: 0.3px;
  text-align: center;
}

/* ==========================================================================
   TEAM TAB — line builder
   ========================================================================== */

.sub-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  background: var(--bg-0);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-sm);
  padding: 3px;
  margin: 14px 0 10px;
}
.sub-tab {
  padding: 9px 0;
  background: transparent;
  border: none;
  color: var(--ink-dim);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: var(--radius-xs);
  transition: background 0.12s ease, color 0.12s ease;
}
.sub-tab.active {
  background: var(--bg-2);
  color: var(--phosphor);
  box-shadow: inset 0 -2px 0 var(--phosphor);
}
.sub-tab:active { transform: scale(0.97); }

.lineup-box {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.lineup-row {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 8px;
  align-items: stretch;
}
.line-num {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--ink-faint);
  background: var(--bg-1);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-xs);
  line-height: 1;
}
.line-slots {
  display: grid;
  gap: 4px;
}
.line-slots.forwards { grid-template-columns: 1fr 1fr 1fr; }
.line-slots.defense  { grid-template-columns: 1fr 1fr; }
.line-slots.goalies  { grid-template-columns: 1fr 1fr; }

.lineup-slot {
  position: relative;
  background: var(--bg-1);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-sm);
  padding: 8px 8px 10px;
  cursor: pointer;
  transition: background 0.1s ease, border-color 0.1s ease, transform 0.08s ease;
  min-height: 70px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.lineup-slot:active { transform: scale(0.97); background: var(--bg-2); }
.lineup-slot.selected {
  border-color: var(--phosphor);
  background: rgba(127,255,106,0.06);
  box-shadow: 0 0 0 1px var(--phosphor) inset;
}
.lineup-slot.empty {
  background: transparent;
  border-style: dashed;
  border-color: var(--stroke-soft);
  opacity: 0.6;
}
.lineup-slot.injured::after {
  content: '';
  position: absolute;
  top: 4px; right: 4px;
  width: 6px; height: 6px;
  background: var(--coral);
  border-radius: 50%;
}
.slot-label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 1.2px;
  color: var(--ink-faint);
  text-transform: uppercase;
  margin-bottom: 3px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.slot-inj {
  color: var(--coral);
  font-weight: 700;
  font-size: 8px;
}
.slot-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  color: var(--cream);
  letter-spacing: 0.3px;
  line-height: 1.1;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.slot-meta {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--ink-faint);
  letter-spacing: 0.3px;
}
.slot-ovr {
  position: absolute;
  bottom: 6px;
  right: 8px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 15px;
}
.slot-ovr.elite { color: var(--phosphor); }
.slot-ovr.great { color: var(--cream); }
.slot-ovr.good  { color: var(--ink); }
.slot-ovr.avg   { color: var(--ink-dim); }
.slot-ovr.low   { color: var(--ink-faint); }
.slot-empty {
  color: var(--ink-faint);
  text-align: center;
  font-family: var(--font-mono);
  font-size: 16px;
  margin-top: 10px;
}

/* Swap hint */
.swap-hint {
  padding: 7px 10px;
  margin: 0 0 8px;
  border-radius: var(--radius-xs);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.6px;
  text-align: center;
  background: var(--bg-1);
  border: 1px solid var(--stroke-soft);
  color: var(--ink-dim);
  transition: color 0.15s ease, border-color 0.15s ease;
}
.swap-hint.active {
  color: var(--phosphor);
  border-color: rgba(127,255,106,0.35);
  background: rgba(127,255,106,0.04);
}
.swap-hint.ghost {
  opacity: 0.7;
}

/* Bench rows when a slot is selected — nudge the user */
.bench-row.highlightable {
  cursor: pointer;
  border-color: rgba(127,255,106,0.35);
}
.bench-row.highlightable:active {
  background: rgba(127,255,106,0.08);
}

.scratch-tag {
  display: inline-block;
  padding: 1px 5px;
  background: rgba(255,182,39,0.1);
  border: 1px solid rgba(255,182,39,0.35);
  border-radius: var(--radius-xs);
  color: var(--amber);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

/* ==========================================================================
   RINK (HOME) — polished hub
   ========================================================================== */

/* Date band at top */
.home-dateband {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: center;
  background: var(--bg-1);
  border: 1px solid var(--stroke);
  border-left: 2px solid var(--phosphor);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  margin-bottom: 10px;
}
.hd-left {
  text-align: center;
  padding-right: 12px;
  border-right: 1px solid var(--stroke-soft);
  min-width: 70px;
}
.hd-dow {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--ink-faint);
}
.hd-date {
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 1;
  color: var(--phosphor);
  letter-spacing: 1.5px;
  margin: 2px 0;
}
.hd-year {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-dim);
  letter-spacing: 1px;
}
.hd-right { min-width: 0; }
.hd-team {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1;
  color: var(--cream);
  letter-spacing: 1px;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hd-meta {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-dim);
  letter-spacing: 0.8px;
  margin-bottom: 2px;
}
.hd-phase {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--ink-faint);
  letter-spacing: 1.2px;
}

/* Calendar strip */
.cal-strip {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-bottom: 12px;
}
.cal-day {
  background: var(--bg-1);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-xs);
  padding: 6px 2px 18px;
  text-align: center;
  position: relative;
  min-height: 50px;
}
.cal-day.outside {
  background: transparent;
  border-style: dashed;
  border-color: var(--stroke-soft);
  opacity: 0.3;
}
.cal-day.past { opacity: 0.55; }
.cal-day.today {
  background: var(--bg-2);
  border-color: var(--phosphor);
  box-shadow: 0 0 0 1px var(--phosphor) inset;
}
.cal-dow {
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.8px;
  color: var(--ink-faint);
  margin-bottom: 2px;
}
.cal-num {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  color: var(--cream);
  line-height: 1;
}
.cal-day.today .cal-num { color: var(--phosphor); }
.cal-day.past .cal-num { color: var(--ink-dim); }
.cal-dot {
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--cyan);
}
.cal-day.played .cal-dot { background: var(--ink-faint); }
.cal-day.today .cal-dot { background: var(--phosphor); }

/* Matchup card */
.matchup-card {
  background: var(--bg-1);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-md);
  padding: 14px 14px 16px;
  margin-bottom: 8px;
  position: relative;
}
.matchup-card.empty {
  text-align: center;
  padding: 22px;
}
.matchup-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.matchup-label {
  font-family: var(--font-head);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--ink-dim);
  text-transform: uppercase;
}
.matchup-when {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1.5px;
  color: var(--amber);
  font-weight: 700;
}
.matchup-body {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 10px;
  align-items: center;
}
.matchup-team {
  text-align: center;
  min-width: 0;
}
.matchup-team.me .matchup-abbr { color: var(--phosphor); }
.matchup-team.me .matchup-name { color: var(--cream); }
.matchup-abbr {
  font-family: var(--font-display);
  font-size: 38px;
  line-height: 1;
  letter-spacing: 2px;
  color: var(--ink);
  margin-bottom: 4px;
}
.matchup-name {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-dim);
  letter-spacing: 0.3px;
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 3px;
}
.matchup-record {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-faint);
  letter-spacing: 0.5px;
}
.matchup-vs {
  text-align: center;
  padding: 0 4px;
}
.matchup-vs-at {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--ink-dim);
  line-height: 1;
}
.matchup-vs-loc {
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 1.5px;
  color: var(--ink-faint);
  margin-top: 3px;
}

/* Last result strip */
.last-result {
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 7px 12px;
  background: var(--bg-1);
  border: 1px solid var(--stroke);
  border-left-width: 2px;
  border-radius: var(--radius-xs);
  margin-bottom: 12px;
  font-size: 11px;
}
.last-result.win  { border-left-color: var(--phosphor); }
.last-result.loss { border-left-color: var(--coral); }
.lr-tag {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 1px;
  padding: 2px 6px;
  border-radius: 2px;
  background: var(--bg-0);
}
.last-result.win .lr-tag  { color: var(--phosphor); }
.last-result.loss .lr-tag { color: var(--coral); }
.lr-score {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--cream);
}
.lr-opp {
  font-family: var(--font-head);
  color: var(--ink-dim);
  font-size: 11px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.lr-date {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-faint);
  letter-spacing: 0.5px;
}

/* Team Leader card */
.leader-card {
  background: var(--bg-1);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-md);
  padding: 10px 12px;
  margin-top: 10px;
  margin-bottom: 10px;
}
.leader-header {
  margin-bottom: 8px;
}
.leader-body {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
}
.leader-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--bg-2);
  border: 1px solid var(--stroke);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--phosphor);
  letter-spacing: 1px;
}
.leader-main { min-width: 0; }
.leader-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  color: var(--cream);
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.leader-sub {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-faint);
  letter-spacing: 0.3px;
  margin-top: 2px;
}
.leader-stats {
  display: flex;
  gap: 6px;
}
.ls {
  text-align: center;
  min-width: 26px;
}
.ls-n {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 14px;
  color: var(--ink);
  line-height: 1;
}
.ls.primary .ls-n { color: var(--phosphor); }
.ls-l {
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.8px;
  color: var(--ink-faint);
  margin-top: 2px;
}

/* Mini standings card */
.mini-standings-card {
  background: var(--bg-1);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-md);
  padding: 10px 12px;
  margin-bottom: 10px;
}
.ms-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--stroke-soft);
}
.ms-title {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.ms-div-name {
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--cyan);
  letter-spacing: 1.5px;
  line-height: 1;
}
.ms-conf {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--ink-faint);
  letter-spacing: 1px;
}
.ms-dots {
  display: flex;
  gap: 5px;
}
.ms-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--stroke);
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}
.ms-dot.active {
  background: var(--cyan);
  transform: scale(1.3);
}
.ms-dot:active { transform: scale(0.9); }
.ms-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  animation: msFadeIn 0.3s ease;
}
@keyframes msFadeIn {
  from { opacity: 0; transform: translateY(3px); }
  to { opacity: 1; transform: translateY(0); }
}
.ms-row {
  display: grid;
  grid-template-columns: 22px 1fr auto auto;
  gap: 8px;
  align-items: center;
  padding: 5px 4px;
  font-family: var(--font-mono);
  font-size: 11px;
  border-radius: 2px;
}
.ms-row.me {
  background: rgba(127,255,106,0.06);
  box-shadow: inset 2px 0 0 var(--phosphor);
  padding-left: 8px;
}
.ms-rank {
  color: var(--ink-faint);
  text-align: center;
  font-size: 10px;
}
.ms-name {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 12px;
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ms-row.me .ms-name {
  color: var(--phosphor);
  font-weight: 700;
}
.ms-rec {
  color: var(--ink-faint);
  font-size: 10px;
  letter-spacing: 0.3px;
}
.ms-pts {
  color: var(--cream);
  font-weight: 700;
  min-width: 24px;
  text-align: right;
}
.ms-row.me .ms-pts { color: var(--phosphor); }

/* Quick links */
.quick-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-top: 12px;
  margin-bottom: 8px;
}
.quick-link {
  background: var(--bg-1);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-sm);
  padding: 12px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--ink);
  font-family: var(--font-head);
  font-weight: 600;
  transition: background 0.1s ease, border-color 0.1s ease;
}
.quick-link:active {
  background: var(--bg-2);
  border-color: var(--phosphor);
  transform: scale(0.97);
}
.ql-icon {
  font-size: 16px;
  color: var(--phosphor);
  line-height: 1;
}
.ql-label {
  font-size: 10px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--ink-dim);
}

/* Offers (inbox) view */
.offers-empty {
  background: var(--bg-1);
  border: 1px solid var(--stroke);
  border-left: 2px solid var(--cyan);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  text-align: left;
}
.offers-empty-title {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 6px;
  letter-spacing: 0.2px;
}
.offers-empty-sub {
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.6;
  color: var(--ink-dim);
  letter-spacing: 0.1px;
}
/* Team code card on lobby */
.team-code-card {
  margin-top: 10px;
  padding: 10px 12px;
  background: var(--bg-0);
  border: 1px solid var(--stroke);
  border-left: 3px solid var(--amber);
  border-radius: var(--radius-xs);
  cursor: pointer;
  transition: background 0.12s ease;
}
.team-code-card:active { background: var(--bg-2); }
.tc-label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 1px;
  color: var(--amber);
  margin-bottom: 6px;
  text-transform: uppercase;
}
.tc-value {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 4px;
  color: var(--cream);
  line-height: 1;
  margin-bottom: 4px;
  text-align: center;
}
.tc-hint {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--ink-faint);
  letter-spacing: 0.5px;
  text-align: center;
}
.team-code-input { letter-spacing: 4px !important; font-size: 22px !important; }
.modal-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--ink-dim);
  margin-bottom: 6px;
  text-transform: uppercase;
}

/* Dev/menu identity block */
.dm-identity {
  background: var(--bg-0);
  border: 1px solid var(--stroke);
  border-left: 3px solid var(--phosphor);
  border-radius: var(--radius-xs);
  padding: 10px 12px;
  margin: 10px 0 14px;
}
.dm-identity-label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 1.5px;
  color: var(--phosphor);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.dm-identity-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 3px 0;
  font-family: var(--font-mono);
  font-size: 11px;
}
.dm-identity-row span { color: var(--ink-dim); }
.dm-identity-row b { color: var(--cream); letter-spacing: 2px; font-weight: 700; }
.dm-identity-hint {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--ink-faint);
  margin-top: 8px;
  line-height: 1.4;
}
.dm-section-label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 1.5px;
  color: var(--ink-faint);
  margin: 10px 0 4px;
}

/* Offer cards (inbox) */
.offer-card {
  background: var(--bg-1);
  border: 1px solid var(--stroke);
  border-left: 2px solid var(--cyan);
  border-radius: var(--radius-sm);
  padding: 12px;
  margin-bottom: 8px;
}
.offer-header {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--stroke-soft);
}
.offer-dir {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--ink-faint);
}
.offer-team {
  flex: 1;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--cream);
  font-size: 14px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.offer-when {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-faint);
}
.offer-body { display: flex; flex-direction: column; gap: 8px; }
.offer-leg {
  background: var(--bg-0);
  border-radius: var(--radius-xs);
  padding: 8px 10px;
}
.offer-leg-label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 1.2px;
  color: var(--ink-dim);
  margin-bottom: 4px;
}
.offer-assets {
  font-family: var(--font-head);
  font-size: 12px;
  line-height: 1.6;
  color: var(--ink);
  display: flex;
  flex-wrap: wrap;
  gap: 4px 0;
}
.offer-asset {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 6px;
  background: var(--bg-1);
  border: 1px solid var(--stroke);
  border-radius: 2px;
  margin-right: 4px;
  font-size: 11px;
}
.offer-asset.pick {
  border-left: 2px solid var(--amber);
  color: var(--amber);
  font-family: var(--font-mono);
}
.offer-ovr {
  font-family: var(--font-mono);
  font-weight: 700;
}
.offer-gone {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--coral);
  font-style: italic;
}
.offer-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 10px;
}
.offer-pending-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1.5px;
  color: var(--amber);
  font-weight: 700;
}

/* Conference header */
.conf-header {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 2px;
  color: var(--cream);
  padding: 8px 0 4px;
  border-bottom: 1px solid var(--stroke);
  margin-top: 14px;
  margin-bottom: 6px;
}
.conf-header.east { color: var(--cyan); }
.conf-header.west { color: var(--amber); }

/* Awards grid */
.awards-grid {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: 6px;
}
.award-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 7px 10px;
  background: var(--bg-1);
  border: 1px solid var(--stroke);
  border-left: 2px solid var(--amber);
  border-radius: var(--radius-xs);
}
.award-label {
  font-family: var(--font-head);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--ink-dim);
  text-transform: uppercase;
}
.award-who {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  color: var(--cream);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.award-extra {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--phosphor);
  white-space: nowrap;
}

/* History row */
.history-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  border-bottom: 1px solid var(--stroke-soft);
}
.history-row:last-child { border-bottom: none; }

/* Collapsible sections (trade view) */
.collapse-section {
  margin-top: 14px;
}
.collapse-header {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 10px 0 8px;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--stroke);
  text-align: left;
  cursor: pointer;
}
.collapse-header:active { opacity: 0.7; }
.collapse-arrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-dim);
  transition: transform 0.18s ease;
  transform: rotate(0deg);
  width: 10px;
  text-align: center;
}
.collapse-arrow.open { transform: rotate(90deg); }
.collapse-title {
  flex: 1;
}

/* Trade filter pill row (per team) */
.trade-filter-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
  margin: 8px 0 10px;
  background: var(--bg-0);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-sm);
  padding: 3px;
}
.trade-filter-pill {
  padding: 7px 0;
  background: transparent;
  border: none;
  color: var(--ink-dim);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  border-radius: var(--radius-xs);
}
.trade-filter-pill.active {
  background: var(--bg-2);
  color: var(--ink);
  box-shadow: inset 0 -2px 0 var(--cyan);
}
.trade-filter-pill:active { transform: scale(0.96); }

.slot-line-name {
  font-weight: 600;
  font-size: 11px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Trade value bars (EA NHL style) — no animation, just fill */
.tv-bars {
  background: var(--bg-1);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  margin: -4px 0 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tv-row {
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 10px;
  align-items: center;
}
.tv-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--ink-dim);
}
.tv-label.give { color: var(--phosphor); }
.tv-label.get  { color: var(--cyan); }
.tv-track {
  height: 8px;
  background: var(--bg-0);
  border: 1px solid var(--stroke);
  border-radius: 2px;
  overflow: hidden;
}
.tv-fill {
  height: 100%;
  /* no transition — discrete updates per pick */
}
.tv-fill.give { background: var(--phosphor); }
.tv-fill.get  { background: var(--cyan); }

/* Range inputs in FA modal */
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  background: var(--bg-0);
  border: 1px solid var(--stroke);
  border-radius: 2px;
  outline: none;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  background: var(--phosphor);
  border: 1px solid var(--phosphor);
  border-radius: 50%;
  cursor: pointer;
}
input[type="range"]::-moz-range-thumb {
  width: 16px;
  height: 16px;
  background: var(--phosphor);
  border: 1px solid var(--phosphor);
  border-radius: 50%;
  cursor: pointer;
}

/* List entrance */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.stagger > * { animation: fadeInUp 0.22s ease both; }
.stagger > *:nth-child(1)  { animation-delay: 0.02s; }
.stagger > *:nth-child(2)  { animation-delay: 0.04s; }
.stagger > *:nth-child(3)  { animation-delay: 0.06s; }
.stagger > *:nth-child(4)  { animation-delay: 0.08s; }
.stagger > *:nth-child(5)  { animation-delay: 0.10s; }
.stagger > *:nth-child(6)  { animation-delay: 0.12s; }
.stagger > *:nth-child(7)  { animation-delay: 0.14s; }
.stagger > *:nth-child(8)  { animation-delay: 0.16s; }
.stagger > *:nth-child(9)  { animation-delay: 0.18s; }
.stagger > *:nth-child(10) { animation-delay: 0.20s; }

/* ==========================================================================
   SETUP · LAUNCH · LOBBY · FANTASY DRAFT
   ========================================================================== */
#setup {
  position: fixed;
  inset: 0;
  background: var(--bg-0);
  overflow-y: auto;
  overflow-x: hidden;
  padding: calc(var(--safe-top) + 20px) 18px calc(var(--safe-bot) + 20px);
  z-index: 100;
}

/* --- LAUNCH --- */
.launch-wrap {
  max-width: 500px;
  margin: 0 auto;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 32px;
  padding: 20px 4px;
}
.launch-brand {
  text-align: center;
  padding: 30px 0;
}
.launch-logo {
  font-size: 54px;
  color: var(--phosphor);
  letter-spacing: 4px;
  line-height: 1;
  margin-bottom: 10px;
}
.launch-subtitle {
  font-size: 14px;
  font-weight: 600;
  color: var(--cream);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.launch-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-dim);
  letter-spacing: 1px;
}
.launch-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.launch-btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 16px 20px;
  background: var(--bg-1);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-md);
  color: var(--ink);
  text-align: left;
  width: 100%;
  cursor: pointer;
  transition: background 0.12s ease, border-color 0.12s ease, transform 0.08s ease;
}
.launch-btn:active { transform: scale(0.98); }
.launch-btn.primary {
  background: var(--phosphor);
  color: #0b1006;
  border-color: var(--phosphor);
}
.launch-btn.primary:active { background: #6fe65a; }
.launch-btn.ghost {
  background: transparent;
  border-color: var(--stroke-soft);
}
.launch-btn-title {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.4px;
  margin-bottom: 3px;
}
.launch-btn-sub {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 400;
  opacity: 0.7;
  letter-spacing: 0.2px;
}
.launch-footer {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-faint);
  letter-spacing: 1px;
}

/* --- JOIN MODAL --- */
.join-code-input {
  width: 100%;
  background: var(--bg-0);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-sm);
  padding: 14px 12px;
  color: var(--phosphor);
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 6px;
  text-align: center;
  text-transform: uppercase;
  margin: 14px 0 10px;
  outline: none;
}
.join-code-input:focus { border-color: var(--phosphor); }
.join-status {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--coral);
  min-height: 16px;
  padding: 4px 0 8px;
  text-align: center;
  letter-spacing: 0.3px;
}
.member-row.unclaimed {
  cursor: pointer;
  transition: background 0.1s ease;
}
.member-row.unclaimed:active {
  background: rgba(255,182,39,0.08);
}
.unclaimed-list { max-height: 320px; overflow-y: auto; }
.fd-onclock.waiting.human {
  border-left-color: var(--magenta);
  background: rgba(255,95,191,0.06);
}
.fd-onclock.waiting.human .fd-onclock-label {
  color: var(--magenta);
}

/* --- LOBBY --- */
.lobby-wrap {
  max-width: 500px;
  margin: 0 auto;
  padding: 4px;
}
.lobby-code-card {
  background: var(--bg-1);
  border: 1px solid var(--stroke);
  border-left: 3px solid var(--phosphor);
  border-radius: var(--radius-md);
  padding: 18px 16px;
  text-align: center;
  margin-bottom: 18px;
}
.lobby-code-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--ink-dim);
  margin-bottom: 8px;
}
.lobby-code-value {
  font-size: 42px;
  color: var(--phosphor);
  letter-spacing: 8px;
  line-height: 1;
  margin-bottom: 8px;
  font-variant-numeric: tabular-nums;
}
.lobby-code-hint {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-faint);
  letter-spacing: 0.5px;
}
.lobby-code-value {
  cursor: pointer;
  transition: color 0.15s ease, transform 0.1s ease;
}
.lobby-code-value:active {
  transform: scale(0.97);
  color: var(--cream);
}
.lobby-code-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 14px;
}
.lobby-code-actions .btn {
  padding: 10px 0;
  font-size: 11px;
  letter-spacing: 1px;
}

.lobby-section {
  margin-bottom: 16px;
}
.lobby-section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.lobby-host-badge {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--phosphor);
  background: rgba(127,255,106,0.1);
  border: 1px solid rgba(127,255,106,0.35);
  padding: 3px 7px;
  border-radius: var(--radius-xs);
}
.lobby-status {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  color: var(--phosphor);
  letter-spacing: 1px;
}

.team-edit {
  background: var(--bg-1);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-sm);
  padding: 12px;
}
.team-name-input {
  width: 100%;
  background: var(--bg-0);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-xs);
  padding: 10px 12px;
  color: var(--cream);
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.2px;
  outline: none;
  margin-bottom: 10px;
}
.team-name-input:focus { border-color: var(--phosphor); }
.color-picker {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 6px;
  margin-bottom: 10px;
}
.color-swatch {
  aspect-ratio: 1;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.1s ease, border-color 0.1s ease;
}
.color-swatch:active { transform: scale(0.9); }
.color-swatch.active {
  border-color: var(--ink);
  box-shadow: 0 0 0 2px var(--bg-0), 0 0 0 3px var(--ink);
}
.team-division {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-faint);
  letter-spacing: 0.8px;
  text-align: center;
  padding-top: 6px;
  border-top: 1px solid var(--stroke-soft);
}

.member-list {
  background: var(--bg-1);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-sm);
  overflow: hidden;
  max-height: 260px;
  overflow-y: auto;
}
.member-row {
  display: grid;
  grid-template-columns: 16px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 8px 12px;
  border-bottom: 1px solid var(--stroke-soft);
}
.member-row:last-child { border-bottom: none; }
.member-row.me {
  background: rgba(127,255,106,0.06);
  box-shadow: inset 2px 0 0 var(--phosphor);
}
.member-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.member-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.member-row.me .member-name { color: var(--cream); font-weight: 700; }
.member-badge {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--ink-faint);
}
.member-row.me .member-badge { color: var(--phosphor); }

.lobby-begin {
  margin-top: 8px;
  text-align: left;
}

/* --- FANTASY DRAFT --- */
.fd-wrap {
  max-width: 500px;
  margin: 0 auto;
  padding: 4px;
}
.fd-header {
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--stroke);
}
.fd-title {
  font-size: 22px;
  color: var(--phosphor);
  letter-spacing: 2px;
  margin-bottom: 8px;
}
.fd-progress-bar {
  height: 4px;
  background: var(--bg-0);
  border: 1px solid var(--stroke);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 4px;
}
.fd-progress-fill {
  height: 100%;
  background: var(--phosphor);
  transition: width 0.3s ease;
}
.fd-progress-text {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-dim);
  letter-spacing: 0.5px;
}

.fd-onclock {
  background: var(--bg-1);
  border: 1px solid var(--stroke);
  border-left: 3px solid var(--cyan);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  margin-bottom: 10px;
}
.fd-onclock.you {
  border-left-color: var(--phosphor);
  background: rgba(127,255,106,0.05);
}
.fd-onclock-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--ink-dim);
  margin-bottom: 4px;
}
.fd-onclock.you .fd-onclock-label {
  color: var(--phosphor);
}
.fd-onclock-team {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.5px;
  line-height: 1;
  margin-bottom: 4px;
}
.fd-onclock-pick {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-faint);
  letter-spacing: 0.5px;
}

.fd-actions {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
}

.fd-split {
  margin-bottom: 12px;
}
.fd-roster {
  background: var(--bg-1);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
}
.fd-roster .section-title {
  margin-bottom: 8px;
}
.fd-roster-cols {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
}
.fd-rc {
  min-width: 0;
}
.fd-rc-head {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  color: var(--ink-faint);
  letter-spacing: 1px;
  margin-bottom: 4px;
}
.fd-rc-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  padding: 2px 0;
}
.fd-rc-name {
  font-weight: 500;
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding-right: 4px;
}
.fd-rc-ovr {
  font-family: var(--font-mono);
  font-weight: 700;
}
.fd-rc-empty {
  font-family: var(--font-mono);
  color: var(--ink-faint);
  font-size: 10px;
}

.fd-recent {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-bottom: 6px;
}

/* Horizontal recent-pick strip shown during the fantasy draft */
.fd-recent-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
  margin: 10px 0 8px;
}
.fd-recent-chip {
  background: var(--bg-1);
  border: 1px solid var(--stroke);
  border-top: 2px solid var(--ink-faint);
  border-radius: var(--radius-xs);
  padding: 5px 6px 6px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.frc-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--ink-faint);
}
.frc-ovr { font-weight: 700; font-size: 10px; }
.frc-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 11px;
  color: var(--cream);
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.frc-meta {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 9px;
}
.fd-recent-row {
  display: grid;
  grid-template-columns: 36px 1fr auto auto;
  gap: 8px;
  align-items: center;
  padding: 4px 8px;
  background: var(--bg-1);
  border: 1px solid var(--stroke-soft);
  border-radius: var(--radius-xs);
  font-size: 11px;
}
.fd-recent-overall {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 10px;
  color: var(--ink-faint);
}
.fd-recent-name {
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.fd-recent-ovr {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 12px;
}
.fd-recent-team {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--ink-faint);
  letter-spacing: 0.3px;
  max-width: 90px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Compact player rows inside the fantasy draft to fit more prospects on screen */
.fd-wrap .player-row {
  padding: 6px 10px;
  margin-bottom: 3px;
}
.fd-wrap .player-row .player-name {
  font-size: 13px;
  margin-bottom: 1px;
}
.fd-wrap .player-row .player-meta {
  font-size: 9px;
  margin-top: 0;
  gap: 6px;
}
.fd-wrap .player-row .player-ovr {
  font-size: 15px;
}
.fd-wrap .player-row .player-num {
  font-size: 11px;
}

.fd-pool-row.pickable {
  cursor: pointer;
}
.fd-pool-row.pickable:active {
  background: var(--bg-2);
  border-color: var(--phosphor);
}
