/* LAX FAQS — Broadcast Design System */

:root {
  /* Stage */
  --bg-0: #07090c;
  --bg-1: #0a0d12;
  --bg-2: #11151c;
  --bg-3: #171c25;
  --bg-4: #1d2330;
  --bg-5: #252c3b;
  --line: #252c3b;
  --line-2: #313a4d;
  --line-glow: #3b4661;

  /* Ink */
  --fg: #f4f5f7;
  --fg-dim: #9aa3b2;
  --fg-dimmer: #5b6473;
  --fg-faint: #3a4252;

  /* Accents */
  --red: #E10600;
  --red-soft: #ff2d20;
  --yellow: #FFD400;
  --yellow-soft: #ffe24a;
  --blue: #3DA9FC;
  --green: #16C474;
  --loss: #FF3B30;
  --tie: #B98AFF;

  /* Type */
  --f-chyron: "Saira Condensed", "Barlow Condensed", "Oswald", "Helvetica Neue", sans-serif;
  --f-body: "Inter", "Helvetica Neue", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, monospace;

  --r-card: 6px;
  --r-chip: 3px;
  --r-tag: 2px;
}

html, body {
  background: var(--bg-0);
  color: var(--fg);
  font-family: var(--f-body);
  margin: 0;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "tnum" 1, "ss01" 1;
}

* { box-sizing: border-box; }

/* ============== Stage ============== */
.bcast-stage {
  background: radial-gradient(ellipse at top, #0e1320 0%, var(--bg-0) 60%);
  min-height: 100%;
  color: var(--fg);
  font-family: var(--f-body);
}

/* ============== Chyron type ============== */
.chyron {
  font-family: var(--f-chyron);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1;
}
.chyron-700 { font-weight: 700; }
.chyron-800 { font-weight: 800; }
.num {
  font-family: var(--f-chyron);
  font-feature-settings: "tnum" 1;
  font-variant-numeric: tabular-nums;
}
.mono { font-family: var(--f-mono); }

/* ============== Top ticker bar ============== */
.bc-top {
  display: flex;
  align-items: stretch;
  background: linear-gradient(180deg, #0c1118 0%, #070a0f 100%);
  border-bottom: 1px solid var(--line);
  height: 56px;
  position: relative;
  z-index: 10;
}
.bc-top::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -3px;
  height: 2px;
  background: linear-gradient(90deg, var(--red) 0%, var(--red) 20%, transparent 20%, transparent 22%, var(--yellow) 22%, var(--yellow) 30%, transparent 30%);
}

.bc-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 18px 0 14px;
  border-right: 1px solid var(--line);
  cursor: pointer;
}
.bc-shield {
  background: var(--red);
  color: white;
  font-family: var(--f-chyron);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.04em;
  padding: 7px 9px 6px;
  line-height: 1;
  border-radius: 2px;
  position: relative;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.06), 0 2px 6px rgba(225,6,0,0.35);
}
.bc-shield::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--yellow);
}
.bc-logo-text {
  display: flex; flex-direction: column; gap: 2px;
}
.bc-logo-text .title {
  font-family: var(--f-chyron);
  font-weight: 700; font-size: 15px;
  letter-spacing: 0.08em; line-height: 1;
}
.bc-logo-text .sub {
  font-size: 9px; color: var(--fg-dim);
  letter-spacing: 0.18em; text-transform: uppercase;
}

.bc-nav {
  display: flex; align-items: stretch;
  flex: 1;
}
.bc-nav-item {
  display: flex; align-items: center;
  padding: 0 16px;
  font-family: var(--f-chyron);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-dim);
  border-right: 1px solid var(--line);
  cursor: pointer;
  position: relative;
  transition: color 0.12s;
}
.bc-nav-item:hover { color: var(--fg); background: rgba(255,255,255,0.02); }
.bc-nav-item.active { color: var(--fg); }
.bc-nav-item.active::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px; background: var(--yellow);
}
.bc-nav-item .caret { margin-left: 6px; opacity: 0.5; font-size: 9px; }

.bc-session {
  display: flex; align-items: center; gap: 10px;
  padding: 0 14px;
  border-left: 1px solid var(--line);
  font-size: 12px;
  color: var(--fg-dim);
}
.bc-session .avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--bg-4);
  overflow: hidden;
  object-fit: cover;
  border: 1px solid var(--line-2);
}
.bc-session .name { color: var(--fg); font-weight: 500; }
.bc-session .exit {
  font-family: var(--f-chyron);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--fg-dimmer);
  text-transform: uppercase;
  cursor: pointer;
}
.bc-session .exit:hover { color: var(--yellow); }

/* Sub-ticker (live scoreboard strip below top nav, used on home) */
.bc-ticker {
  display: flex; align-items: stretch;
  height: 38px;
  background: #060a0f;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  position: relative;
}
.bc-ticker-label {
  background: var(--red);
  color: white;
  font-family: var(--f-chyron);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.18em;
  display: flex; align-items: center;
  padding: 0 12px;
  position: relative;
}
.bc-ticker-label::after {
  content: ""; position: absolute; right: -10px; top: 0; bottom: 0;
  width: 14px; background: var(--red); transform: skewX(-18deg);
}
.bc-ticker-track {
  display: flex; align-items: center; gap: 0;
  overflow: hidden;
  flex: 1;
  padding-left: 18px;
  mask-image: linear-gradient(90deg, transparent 0, #000 24px, #000 calc(100% - 60px), transparent 100%);
}
.bc-ticker-item {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 0 20px;
  font-family: var(--f-chyron);
  font-size: 12px;
  letter-spacing: 0.05em;
  white-space: nowrap;
  border-right: 1px solid var(--line);
  height: 38px;
}
.bc-ticker-item .tm { color: var(--fg); font-weight: 600; }
.bc-ticker-item .sc { color: var(--yellow); font-weight: 800; font-size: 14px; }
.bc-ticker-item .dim { color: var(--fg-dim); font-size: 10px; letter-spacing: 0.14em; }

/* ============== Cards ============== */
.card {
  background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg-1) 100%);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  position: relative;
  overflow: hidden;
}
.card.glow { box-shadow: 0 0 0 1px var(--line), 0 8px 24px rgba(0,0,0,0.4); }
.card-hd {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.02) 0%, transparent 100%);
}
.card-hd-title {
  font-family: var(--f-chyron);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.card-hd-title .accent {
  background: var(--red);
  color: white;
  padding: 4px 7px 3px;
  margin-right: 9px;
  font-size: 11px;
  letter-spacing: 0.16em;
  border-radius: 2px;
}
.card-hd-meta {
  font-family: var(--f-chyron);
  font-size: 10px; letter-spacing: 0.18em;
  color: var(--fg-dim); text-transform: uppercase;
}

/* Chip / pill / badge */
.chip {
  display: inline-flex; align-items: center; gap: 5px;
  font-family: var(--f-chyron);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 4px 7px 3px;
  border-radius: var(--r-chip);
  background: var(--bg-4);
  color: var(--fg-dim);
  border: 1px solid var(--line-2);
}
.chip.red { background: var(--red); color: white; border-color: transparent; }
.chip.yellow { background: var(--yellow); color: #1a1300; border-color: transparent; }
.chip.green { background: var(--green); color: #02180c; border-color: transparent; }
.chip.blue { background: var(--blue); color: #03182a; border-color: transparent; }
.chip.outline { background: transparent; }
.chip.ghost { background: rgba(255,255,255,0.04); border-color: var(--line); }

.dot { width: 7px; height: 7px; border-radius: 50%; display: inline-block; }
.dot.live { background: var(--green); box-shadow: 0 0 0 2px rgba(22,196,116,0.18); animation: livePulse 1.6s ease-in-out infinite; }
@keyframes livePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(22,196,116,0.6); }
  50% { box-shadow: 0 0 0 5px rgba(22,196,116,0); }
}

/* Tables — broadcast stat graphic */
.stat-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--f-body);
  font-size: 13px;
}
.stat-table thead th {
  font-family: var(--f-chyron);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-dim);
  text-align: left;
  padding: 9px 12px 9px;
  border-bottom: 1px solid var(--line);
  background: #0b1017;
}
.stat-table tbody td {
  padding: 11px 12px;
  border-bottom: 1px solid #1a2030;
  vertical-align: middle;
}
.stat-table tbody tr:hover td { background: rgba(255,255,255,0.025); }
.stat-table .num-cell {
  font-family: var(--f-chyron);
  font-weight: 700;
  font-size: 15px;
  font-variant-numeric: tabular-nums;
}
.stat-table .rank {
  font-family: var(--f-chyron);
  font-weight: 800;
  font-size: 18px;
  color: var(--fg-dimmer);
  font-variant-numeric: tabular-nums;
  width: 32px;
}
.stat-table .rank.top { color: var(--yellow); }
.stat-table tr.you td { background: rgba(255,212,0,0.04); }
.stat-table tr.you td:first-child { border-left: 2px solid var(--yellow); }

/* Manager headshot */
.mug {
  background: var(--bg-4);
  background-size: cover;
  background-position: center top;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}
.mug.round { border-radius: 50%; }
.mug::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.4) 100%);
  pointer-events: none;
}
.mug-init {
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-chyron);
  font-weight: 800;
  color: var(--fg-dim);
  letter-spacing: 0.04em;
}

/* Stat overlay block (lower-third style) */
.lower-third {
  position: relative;
  background: linear-gradient(90deg, var(--bg-3) 0%, var(--bg-2) 100%);
  border-left: 3px solid var(--red);
  padding: 12px 14px;
}
.lower-third .label {
  font-family: var(--f-chyron);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--yellow);
  text-transform: uppercase;
}
.lower-third .value {
  font-family: var(--f-chyron);
  font-weight: 800;
  font-size: 28px;
  margin-top: 4px;
  line-height: 1;
}

/* Big score block (scoreboard) */
.bigscore {
  font-family: var(--f-chyron);
  font-weight: 800;
  font-size: 96px;
  line-height: 0.85;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

/* W/L badge */
.wl {
  display: inline-flex;
  width: 22px; height: 22px;
  align-items: center; justify-content: center;
  font-family: var(--f-chyron);
  font-weight: 800;
  font-size: 12px;
  border-radius: 2px;
}
.wl.W { background: rgba(22,196,116,0.16); color: var(--green); border: 1px solid rgba(22,196,116,0.35); }
.wl.L { background: rgba(255,59,48,0.14); color: var(--loss); border: 1px solid rgba(255,59,48,0.35); }
.wl.T { background: rgba(185,138,255,0.12); color: var(--tie); border: 1px solid rgba(185,138,255,0.35); }

/* Tabs */
.tabs {
  display: flex; align-items: stretch;
  border-bottom: 1px solid var(--line);
  gap: 0;
}
.tab {
  padding: 12px 16px;
  font-family: var(--f-chyron);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-dim);
  cursor: pointer;
  position: relative;
  border-right: 1px solid var(--line);
}
.tab:hover { color: var(--fg); }
.tab.active { color: var(--fg); background: rgba(255,212,0,0.04); }
.tab.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px;
  height: 2px; background: var(--yellow);
}

/* Section label */
.section-label {
  display: flex; align-items: center; gap: 12px;
  margin: 8px 0 14px;
}
.section-label .block {
  background: var(--red);
  color: white;
  font-family: var(--f-chyron);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.18em;
  padding: 5px 8px 4px;
  border-radius: 2px;
}
.section-label .text {
  font-family: var(--f-chyron);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.section-label .rule {
  flex: 1; height: 1px; background: var(--line);
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--f-chyron);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 9px 14px;
  background: var(--bg-3);
  color: var(--fg);
  border: 1px solid var(--line-2);
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.12s;
}
.btn:hover { border-color: var(--yellow); color: var(--yellow); }
.btn.primary { background: var(--red); border-color: var(--red); color: white; }
.btn.primary:hover { background: var(--red-soft); border-color: var(--red-soft); color: white; }
.btn.ghost { background: transparent; }
.btn.lg { padding: 12px 18px; font-size: 13px; }
.btn.sm { padding: 6px 10px; font-size: 10px; }

/* Inputs */
.input {
  background: var(--bg-1);
  border: 1px solid var(--line);
  color: var(--fg);
  padding: 9px 12px;
  border-radius: 4px;
  font-family: var(--f-body);
  font-size: 13px;
  outline: none;
}
.input:focus { border-color: var(--yellow); }

/* Page layout helpers */
.page { padding: 22px 28px; max-width: 100%; }
.page-h {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.page-h .eyebrow {
  font-family: var(--f-chyron);
  font-size: 10px;
  letter-spacing: 0.24em;
  color: var(--yellow);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.page-h h1 {
  font-family: var(--f-chyron);
  font-weight: 800;
  font-size: 44px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin: 0;
  line-height: 0.9;
}

/* ============== Manager card rollover ============== */
.mgr-card {
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.22s ease;
  position: relative;
}
.mgr-card .mgr-card-photo {
  transition: filter 0.3s ease, transform 0.3s ease;
  transform: translateZ(0);
}
.mgr-card .mgr-card-shade {
  background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,0.6) 65%, rgba(0,0,0,1) 92%, #0b0e13 100%);
  transition: background 0.3s ease;
}
.mgr-card .mgr-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,212,0,0) 0%, rgba(255,212,0,0.06) 100%);
  opacity: 0;
  transition: opacity 0.22s ease;
  pointer-events: none;
}
.mgr-card .mgr-card-stripe {
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 3px; background: var(--yellow);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}
.mgr-card .mgr-card-rank {
  transition: transform 0.18s ease, background 0.18s ease;
}
.mgr-card:hover {
  transform: translateY(-4px);
  /* soft feathered glow + thin halo, no sharp ring */
  border-color: rgba(255,212,0,0.55) !important;
  box-shadow:
    0 0 0 1px rgba(255,212,0,0.18),
    0 0 32px rgba(255,212,0,0.22),
    0 14px 32px rgba(0,0,0,0.5);
}
.mgr-card:hover .mgr-card-photo {
  filter: brightness(1.08) contrast(1.05) saturate(1.1);
}
.mgr-card:hover .mgr-card-shade {
  background: linear-gradient(180deg, transparent 22%, rgba(0,0,0,0.65) 60%, rgba(0,0,0,1) 92%, #0b0e13 100%);
}
.mgr-card:hover .mgr-card-overlay { opacity: 1; }
.mgr-card:hover .mgr-card-stripe { transform: scaleX(1); }
.mgr-card:hover .mgr-card-rank {
  background: var(--yellow) !important;
  color: #1a1300 !important;
  border-color: var(--yellow) !important;
  transform: scale(1.06);
}

/* ============== Favorite Player card rollover ============== */
.fp-card {
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.22s ease;
}
.fp-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255,212,0,0.5) !important;
  box-shadow: 0 0 0 1px rgba(255,212,0,0.15), 0 8px 22px rgba(0,0,0,0.4);
}
.fp-card:hover .fp-logo-bg {
  opacity: 0.32 !important;
  transform: scale(1.06);
}
.alum-row {
  transition: background 0.18s ease, padding 0.18s ease, border-color 0.18s ease;
  border-left: 2px solid transparent;
}
.alum-row:hover {
  background: rgba(255,212,0,0.04);
  padding-left: 8px;
  border-left-color: var(--yellow);
}
/* ============== Hall of Records museum display case ============== */
.hof-display .section-label .block {
  background: #f5d77a !important;
  color: #1a0e02 !important;
}
.hof-display .section-label .text {
  color: #f5d77a !important;
  text-shadow: 0 0 12px rgba(255,180,60,0.35);
}
.hof-display .section-label .rule {
  background: rgba(255,180,60,0.25) !important;
}
.hof-display .card {
  background: linear-gradient(180deg, #1a140c 0%, #100c08 100%) !important;
  border-color: rgba(255,180,60,0.28) !important;
}
.hof-display .card-hd {
  background: linear-gradient(180deg, #2a1c0c 0%, transparent 100%) !important;
  border-bottom-color: rgba(255,180,60,0.32) !important;
}
.hof-display .card-hd-title {
  color: #f5d77a !important;
  text-shadow: 0 0 10px rgba(255,180,60,0.3);
}
.hof-display .card-hd-title .accent {
  background: #f5d77a !important;
  color: #1a0e02 !important;
}
.hof-display .card-hd-meta {
  color: rgba(255,200,100,0.55) !important;
}
.hof-display .stat-table thead th {
  background: #0c0806 !important;
  color: rgba(255,200,100,0.55) !important;
  border-bottom-color: rgba(255,180,60,0.25) !important;
}
.hof-display .stat-table tbody td {
  border-bottom-color: rgba(255,180,60,0.08) !important;
}
.hof-display .stat-table tbody tr:hover td {
  background: rgba(255,180,60,0.04) !important;
}
.hof-display .stat-table .rank.top {
  color: #f5d77a !important;
}

/* ============== Vault page rollovers ============== */
.medallion {
  cursor: pointer;
}
.medallion:hover {
  transform: translateY(-3px) rotate(-1.5deg);
  box-shadow: 0 18px 50px rgba(0,0,0,0.8), 0 0 32px rgba(255,180,60,0.3), inset 0 4px 18px rgba(255,224,160,0.4), inset 0 -10px 24px rgba(40,24,8,0.55) !important;
}
.bcast-stage [data-vault-row] {
  transition: transform 0.18s ease, border-color 0.2s ease, box-shadow 0.22s ease, background 0.22s ease;
}
.bcast-stage [data-vault-row]:hover {
  transform: translateX(3px);
  border-color: rgba(255,212,0,0.55) !important;
  box-shadow: 0 0 20px rgba(255,180,60,0.18) !important;
  background: linear-gradient(90deg, rgba(255,212,0,0.1) 0%, rgba(255,180,60,0.03) 100%) !important;
}
.bcast-stage [data-vault-card] {
  transition: transform 0.2s ease, border-color 0.22s ease, box-shadow 0.25s ease;
}
.bcast-stage [data-vault-card]:hover {
  transform: translateY(-3px);
  border-color: rgba(255,212,0,0.6) !important;
  box-shadow: 0 12px 28px rgba(0,0,0,0.7), 0 0 24px rgba(255,180,60,0.2), inset 0 1px 0 rgba(255,220,150,0.12) !important;
}

/* Trading card hover */
.bcast-stage [data-card-trade],
.bcast-stage [data-tcard] {
  transition: transform 0.22s ease, box-shadow 0.25s ease;
}
.bcast-stage [data-card-trade]:hover,
.bcast-stage [data-tcard]:hover {
  transform: rotate(0deg) translateY(-6px) scale(1.04) !important;
  box-shadow: 0 16px 40px rgba(0,0,0,0.85), inset 0 2px 0 rgba(255,255,255,0.4) !important;
  z-index: 5;
}

/* Bracket card hover */
.bcast-stage [data-bracket-game],
.bcast-stage [data-bracket-card] {
  transition: transform 0.18s ease, box-shadow 0.22s ease;
}
.bcast-stage [data-bracket-game]:hover,
.bcast-stage [data-bracket-card]:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.6), 0 0 28px rgba(255,212,0,0.22) !important;
}

/* Playbook hover */
.bcast-stage [data-pb-tab]:hover {
  background: linear-gradient(90deg, #1a140c 0%, #14100a 100%) !important;
  border-left-color: rgba(245,215,122,0.55) !important;
}
.bcast-stage [data-pb-card]:hover {
  transform: translateX(2px);
  border-color: rgba(245,215,122,0.5) !important;
  box-shadow: 0 4px 18px rgba(0,0,0,0.65), 0 0 22px rgba(245,215,122,0.12), inset 0 1px 0 rgba(255,220,150,0.08) !important;
}

/* ============== Nav dropdowns ============== */
.bc-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: -1px;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-top: 2px solid var(--yellow);
  min-width: 160px;
  z-index: 20;
  padding: 4px 0;
}
.bc-dropdown a {
  display: block;
  padding: 9px 14px;
  font-family: var(--f-chyron);
  font-size: 12px;
  letter-spacing: 0.1em;
  font-weight: 600;
  color: var(--fg-dim);
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}
.bc-dropdown a:hover {
  color: var(--fg);
  background: rgba(255,255,255,0.03);
}
.bc-dropdown a.bc-drop-active {
  color: var(--yellow);
  background: rgba(255,212,0,0.05);
}

/* ============== Utility: links reset ============== */
a { color: inherit; }

*::-webkit-scrollbar { width: 8px; height: 8px; }
*::-webkit-scrollbar-track { background: transparent; }
*::-webkit-scrollbar-thumb { background: var(--bg-4); border-radius: 4px; }
*::-webkit-scrollbar-thumb:hover { background: var(--line-2); }

/* ============== Hamburger (mobile only, hidden on desktop) ============== */
.bc-hamburger {
  display: none;
  background: transparent;
  border: 1px solid var(--line-2);
  border-radius: 3px;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  padding: 0;
  margin-left: auto;
}
.bc-hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--fg);
  transition: transform 0.18s, opacity 0.18s;
}
.bc-hamburger.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.bc-hamburger.is-open span:nth-child(2) { opacity: 0; }
.bc-hamburger.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ============== Top nav: mobile breakpoint ============== */
@media (max-width: 880px) {
  /* Allow the bar to wrap if items don't fit, but force a single top row */
  .bc-top {
    height: 56px;
    position: sticky;
    top: 0;
    flex-wrap: nowrap;
  }
  /* Logo: drop the sub-text to save space */
  .bc-logo { padding: 0 10px; gap: 8px; border-right: 1px solid var(--line); flex-shrink: 0; }
  .bc-logo-text .sub { display: none; }
  .bc-logo-text .title { font-size: 13px; }
  .bc-shield { font-size: 14px; padding: 5px 7px 4px; }

  /* Show the hamburger */
  .bc-hamburger {
    display: flex;
    margin-left: auto;
    margin-right: 8px;
    flex-shrink: 0;
  }

  /* Hide nav by default; slide down when open */
  .bc-nav {
    display: none;
    position: absolute;
    top: 56px;
    left: 0; right: 0;
    flex-direction: column;
    background: linear-gradient(180deg, #0c1118 0%, #070a0f 100%);
    border-bottom: 2px solid var(--yellow);
    box-shadow: 0 8px 24px rgba(0,0,0,0.6);
    z-index: 30;
    max-height: calc(100vh - 56px);
    overflow-y: auto;
    flex: 0 0 auto;
  }
  .bc-nav.bc-nav-open { display: flex; }
  .bc-nav-item {
    border-right: none;
    border-bottom: 1px solid var(--line);
    padding: 14px 18px;
    width: 100%;
    align-items: flex-start;
  }
  .bc-nav-item .caret { float: right; }

  /* Dropdowns become inline accordions inside the mobile nav */
  .bc-nav .bc-dropdown {
    position: static !important;
    border: none;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: rgba(255,255,255,0.02);
    margin-top: 8px;
    min-width: 0;
    width: 100%;
  }
  .bc-nav .bc-dropdown a {
    padding-left: 24px;
    font-size: 11px;
  }

  /* Session: compact (hide manager name text, keep avatar) */
  .bc-session { padding: 0 10px; border-left: 1px solid var(--line); gap: 6px; flex-shrink: 0; }
  .bc-session-text { display: none !important; }
  .bc-session .avatar { width: 32px; height: 32px; }
}

@media (max-width: 480px) {
  .bc-logo-text .title { font-size: 12px; letter-spacing: 0.06em; }
  .bc-shield { font-size: 13px; padding: 4px 6px 3px; }
  .bc-top { height: 52px; }
  .bc-nav { top: 52px; }
}

/* ============== Yahoo Fantasy attribution (required by API agreement) ============== */
.bc-attribution {
  padding: 14px 20px;
  margin-top: 24px;
  border-top: 1px solid var(--line);
  background: var(--bg-1);
  font-family: var(--f-chyron);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-dim);
  text-align: center;
}
.bc-attribution a {
  color: var(--yellow);
  text-decoration: none;
  font-weight: 700;
}
.bc-attribution a:hover { text-decoration: underline; }
