:root {
  /* Design tokens extracted from nosebleedsportsmedia.com */
  color-scheme: light;
  --paper: #f7f2e8;
  --paper-strong: #fffaf1;
  --ink: #11100d;
  --muted: #5d5850;
  --subtle: #8f887e;
  --line: #ded7ca;
  --line-strong: #cfc5b6;
  --surface: #fffaf1;
  --surface-soft: #efe6d7;
  --canvas: #f7f2e8;
  --black: #11100d;
  --black-soft: #201e19;
  --red: #b11318;
  --red-dark: #8f0f14;
  --red-soft: #f7e5e2;
  --league-accent: #b11318;
  --green: #0b6b4f;
  --amber: #a46634;
  --blue: #1e3a5f;
  --shadow: 0 1px 2px rgba(17, 16, 13, 0.06);
  --font-body: "Inter", Arial, Helvetica, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  --font-display: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  --font-serif: Georgia, "Times New Roman", serif;
  font-family: var(--font-body);
}

.pill-delayed {
  justify-self: start;
  margin: 0 14px 2px;
  padding: 6px 10px;
  border: 1px solid var(--red);
  border-radius: 3px;
  background: var(--red-soft);
  color: var(--red-dark);
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.pulse-live {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 6px;
  border-radius: 50%;
  background: var(--red);
  animation: pulse 1.3s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.55;
    transform: scale(0.85);
  }

  50% {
    opacity: 1;
    transform: scale(1.2);
  }
}

.skeleton {
  min-height: 36px;
  overflow: hidden;
  border-radius: 7px;
  background: linear-gradient(90deg, #efe6d7 0%, #f8f3e9 45%, #efe6d7 90%);
  background-size: 220% 100%;
  animation: shimmer 1.25s linear infinite;
}

@keyframes shimmer {
  to {
    background-position: -220% 0;
  }
}

.pick-record {
  display: grid;
  gap: 3px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface-soft);
}

.pick-record strong {
  font-size: 1rem;
}

.pick-record span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.pick-won {
  border-left: 4px solid var(--green);
}

.pick-lost {
  border-left: 4px solid var(--red);
}

.pick-push {
  border-left: 4px solid var(--amber);
}

.line-move {
  display: inline-block;
  margin-left: 5px;
  font-size: 0.74rem;
  font-weight: 900;
}

.line-move.up {
  color: var(--green);
}

.line-move.down {
  color: var(--red);
}

.league-pill.active,
.league-tab.is-active {
  border-color: var(--league-accent);
  background: var(--league-accent);
}

.league-tab.is-active .league-tab-icon {
  color: var(--league-accent);
}

.score-row {
  position: relative;
}

.score-row.live::before {
  content: "";
  position: absolute;
  left: -8px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--red);
}

.score-row.final .winner {
  color: var(--ink);
  font-weight: 900;
}

.score-row.final .loser {
  color: var(--subtle);
  font-weight: 800;
}

.score-row:active {
  transform: translateY(1px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.app-shell {
  min-height: 100vh;
  padding-bottom: 34px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  min-height: 58px;
  padding: 0 clamp(14px, 3vw, 28px);
  background: var(--paper-strong);
  color: var(--ink);
  border-bottom: 1px solid var(--line-strong);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 190px;
  color: var(--ink);
  text-decoration: none;
}

.brand img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 5px;
  background: var(--black-soft);
}

.brand span {
  display: grid;
  line-height: 1.05;
}

.brand strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.brand small {
  color: var(--red);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.topbar-title {
  display: none;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-align: center;
}

.primary-nav,
.topbar-actions,
.league-tabs,
.detail-tabs,
.mobile-nav {
  display: flex;
  align-items: center;
}

.primary-nav {
  justify-content: center;
  min-width: 0;
  height: 58px;
}

.nav-pill,
.ghost-button,
.follow-button,
.profile-button,
.detail-tab,
.league-tab,
.mobile-nav button {
  border: 0;
  background: transparent;
  color: var(--ink);
}

.nav-pill {
  height: 58px;
  padding: 0 16px;
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-bottom: 3px solid transparent;
}

.nav-pill:hover,
.nav-pill.is-active {
  color: var(--ink);
  border-bottom-color: var(--red);
}

.topbar-actions {
  justify-content: flex-end;
  gap: 8px;
}

.ghost-button,
.follow-button {
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid var(--ink);
  border-radius: 3px;
  background: var(--paper-strong);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 0.84rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.topbar .ghost-button {
  border-color: var(--ink);
  background: transparent;
  color: var(--ink);
}

.ghost-button:hover,
.follow-button:hover,
.league-tab:hover,
.detail-tab:hover {
  background: var(--surface-soft);
}

.ghost-button:hover,
.follow-button:hover {
  border-color: var(--red);
  color: var(--red);
}

.topbar .ghost-button:hover {
  background: var(--surface-soft);
}

.follow-button.is-following {
  border-color: var(--red);
  background: var(--red);
  color: var(--paper-strong);
}

.profile-button {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper-strong);
  font-size: 0.78rem;
  font-weight: 900;
}

.signal-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 7px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  background: transparent;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.signal-chip span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
}

.score-dock {
  background: var(--canvas);
  border-bottom: 1px solid var(--line);
}

.scorebar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px clamp(14px, 3vw, 28px) 8px;
}

.scorebar-head strong {
  font-size: 1.15rem;
  font-weight: 900;
}

.scorebar-head span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.league-tabs {
  gap: 10px;
  overflow-x: auto;
  max-width: 1280px;
  margin: 0 auto;
  padding: 8px clamp(14px, 3vw, 28px) 12px;
  scrollbar-width: none;
}

.league-tabs::-webkit-scrollbar {
  display: none;
}

.league-tab {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 6px 14px 6px 8px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  background: var(--paper-strong);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.league-tab-icon,
.league-list-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-size: 0.58rem;
  font-weight: 900;
}

.league-tab.is-active {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper-strong);
}

.league-tab.is-active .league-tab-icon {
  background: var(--paper-strong);
  color: var(--ink);
}

.score-strip {
  display: grid;
  gap: 14px;
  width: min(760px, 100%);
  margin: 0 auto;
  padding: 0 14px 18px;
}

@media (min-width: 931px) {
  .score-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    width: min(980px, 100%);
  }
}

.score-section,
.panel,
.news-section {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.score-section {
  overflow: hidden;
}

.score-section-head,
.section-head,
.pick-meta,
.odd-row,
.heat-row,
.news-meta,
.watch-item,
.meta-item,
.line-score-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.score-section-head {
  min-height: 54px;
  padding: 14px 16px 10px;
}

.score-section-head h2,
.section-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.score-section-head button {
  border: 0;
  background: transparent;
  color: var(--red);
  font-family: var(--font-display);
  font-size: 0.84rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.score-list {
  display: grid;
}

.score-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(108px, 150px);
  gap: 14px;
  width: 100%;
  min-height: 94px;
  padding: 12px 16px;
  border: 0;
  border-top: 1px solid var(--line);
  border-left: 3px solid transparent;
  border-radius: 0;
  background: var(--surface);
  color: var(--ink);
  text-align: left;
}

.score-card:hover,
.score-card.is-selected {
  background: var(--paper);
  border-left-color: var(--red);
}

.score-teams {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.score-row {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 30px;
  color: var(--muted);
}

.score-row.is-winner,
.score-row.is-winner .team-label,
.score-row.is-winner .score-value {
  color: var(--ink);
  font-weight: 900;
}

.team-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 5px;
  background: var(--team-color, #201e19);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 900;
}

.team-label {
  min-width: 0;
  overflow: hidden;
  font-size: 0.98rem;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.score-value {
  color: var(--ink);
  font-size: 1.15rem;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

.score-game-meta {
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 9px;
  min-width: 0;
}

.score-status,
.status-chip,
.market-chip,
.count-pill,
.record-pill,
.tag,
.movement {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  border-radius: 999px;
  padding: 3px 8px;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.score-status.live,
.status-chip.live {
  background: var(--red);
  color: #fff;
}

.score-status.final,
.status-chip.final {
  background: var(--surface-soft);
  color: var(--muted);
}

.score-status.soon,
.status-chip.soon {
  background: #e9edf3;
  color: var(--blue);
}

.score-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 92px;
  min-height: 30px;
  padding: 5px 12px;
  border: 1px solid var(--ink);
  border-radius: 3px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 0.84rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.workspace {
  display: grid;
  grid-template-columns: minmax(190px, 232px) minmax(0, 1fr) minmax(280px, 340px);
  gap: 16px;
  width: min(1280px, 100%);
  margin: 0 auto;
  padding: 16px clamp(14px, 3vw, 28px) 34px;
}

.left-rail,
.right-rail,
.main-column {
  display: grid;
  align-content: start;
  gap: 16px;
  min-width: 0;
}

.rail-panel,
.odds-panel,
.picks-panel,
.standings-panel {
  padding: 14px;
}

.section-head {
  min-height: 40px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.section-head.roomy {
  margin-bottom: 0;
  padding: 18px 18px 12px;
}

.kicker {
  display: block;
  margin-bottom: 4px;
  color: var(--red);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.league-list,
.watch-list,
.alert-list,
.odds-list,
.picks-list,
.heat-list {
  display: grid;
  gap: 8px;
}

.league-list button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 44px;
  padding: 8px 2px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font-weight: 800;
  text-align: left;
}

.league-list button span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.league-list button.is-active {
  color: var(--red-dark);
}

.watch-item,
.alert-item,
.odds-card,
.pick-card,
.heat-card {
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
}

.watch-item,
.alert-item {
  padding: 10px;
}

.watch-item strong,
.alert-item strong {
  font-size: 0.86rem;
}

.watch-item small,
.alert-item small,
.empty-state {
  color: var(--muted);
  font-size: 0.82rem;
}

.compact-panel {
  box-shadow: none;
}

.live-panel {
  overflow: hidden;
  padding: 0;
}

.live-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 18px;
  border-bottom: 1px solid var(--line);
}

.live-header h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.12;
  text-transform: uppercase;
}

.matchup-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(128px, 180px) minmax(0, 1fr);
  gap: 10px;
  align-items: stretch;
  padding: 18px 18px 14px;
}

.team-card {
  display: grid;
  align-content: start;
  justify-items: center;
  min-width: 0;
  min-height: 0;
  padding: 8px;
  border: 0;
  background: var(--surface);
  text-align: center;
}

.team-identity {
  display: grid;
  justify-items: center;
  gap: 8px;
}

.team-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 8px;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 900;
}

.team-name {
  display: grid;
  gap: 3px;
}

.team-name strong {
  font-size: 0.95rem;
  font-weight: 900;
}

.team-name span,
.leader-list span,
.meta-item span,
.table-note {
  color: var(--muted);
  font-size: 0.82rem;
}

.team-score {
  margin-top: 12px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 3.7rem;
  font-weight: 400;
  line-height: 0.95;
  font-variant-numeric: tabular-nums;
}

.leader-list {
  display: grid;
  gap: 6px;
  width: 100%;
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  text-align: left;
}

.leader-list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.82rem;
}

.game-state {
  display: grid;
  align-content: center;
  gap: 12px;
  min-width: 0;
  padding: 8px 4px;
  background: var(--surface);
  color: var(--ink);
  text-align: center;
}

.status-stack {
  display: grid;
  justify-items: center;
  gap: 4px;
  min-height: 54px;
}

.status-stack strong {
  font-size: 1rem;
  font-weight: 900;
}

.status-stack small {
  color: var(--muted);
  font-size: 0.78rem;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
}

.probability-label {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
}

.probability-bar {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #eee6da;
}

.probability-bar span {
  display: block;
  width: 50%;
  height: 100%;
  background: var(--red);
  transition: width 180ms ease;
}

.game-visual {
  display: none;
}

.meta-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0 18px 14px;
}

.meta-item {
  min-height: 62px;
  padding: 10px;
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.meta-item strong {
  display: block;
  margin-bottom: 4px;
  font-size: 0.86rem;
}

.detail-tabs {
  gap: 0;
  overflow-x: auto;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.detail-tab {
  min-height: 44px;
  padding: 10px 14px;
  border-bottom: 3px solid transparent;
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.detail-tab.is-active {
  color: var(--black);
  border-bottom-color: var(--red);
}

.detail-panel {
  min-height: 280px;
  padding: 16px 18px 18px;
}

.gamecast-list {
  display: grid;
}

.play-item {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) minmax(72px, auto);
  gap: 12px;
  align-items: start;
  min-height: 62px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.play-time {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.play-body strong {
  display: block;
  margin-bottom: 3px;
  font-size: 0.94rem;
}

.play-body span {
  color: var(--muted);
  font-size: 0.84rem;
}

.impact-badge {
  justify-self: end;
  min-width: 62px;
  padding: 5px 8px;
  border-radius: 999px;
  background: #e8efe2;
  color: var(--green);
  font-size: 0.74rem;
  font-weight: 900;
  text-align: center;
}

.box-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  min-width: 0;
}

.box-grid > * {
  min-width: 0;
  max-width: 100%;
}

.provider-team-box {
  display: grid;
  gap: 10px;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 7px;
}

table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  background: var(--surface);
}

th,
td {
  padding: 10px 11px;
  border-bottom: 1px solid var(--line);
  text-align: right;
  white-space: nowrap;
}

th:first-child,
td:first-child {
  text-align: left;
}

thead th {
  color: var(--muted);
  background: var(--surface-soft);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

tbody tr:last-child td {
  border-bottom: 0;
}

.line-score-head {
  margin-bottom: 8px;
}

.line-score-head h3 {
  margin: 0;
  font-size: 1rem;
}

.markets-grid,
.selected-picks-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.market-card,
.selected-pick {
  min-height: 112px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
}

.market-card span,
.selected-pick span {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.market-card strong,
.selected-pick strong {
  display: block;
  margin: 8px 0 6px;
  font-size: 1.08rem;
}

.market-card small,
.selected-pick small {
  color: var(--muted);
}

.market-card a {
  color: var(--blue);
  font-weight: 900;
  text-decoration: none;
}

.prediction-card {
  border-color: #c9d2de;
  background: #eef1f5;
}

.news-section {
  overflow: hidden;
}

.news-grid {
  display: block;
  padding: 0 18px 18px;
}

.headline-list {
  display: grid;
}

.headline-row {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.headline-row:last-child {
  border-bottom: 0;
}

.headline-mark {
  position: relative;
  width: 18px;
  height: 18px;
  margin-top: 2px;
}

.headline-mark::before,
.headline-mark::after {
  content: "";
  position: absolute;
  left: 3px;
  width: 14px;
  height: 2px;
  border-radius: 2px;
  background: var(--line-strong);
}

.headline-mark::before {
  top: 5px;
}

.headline-mark::after {
  top: 11px;
}

.headline-row h3 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
}

.headline-row p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.35;
}

.news-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
}

.news-thumb {
  min-height: 120px;
  background: #e5dccb;
}

.news-body {
  display: grid;
  gap: 9px;
  padding: 12px;
}

.news-body h3,
.news-body p {
  margin: 0;
}

.tag {
  background: var(--red-soft);
  color: var(--red-dark);
}

.odds-card,
.pick-card,
.heat-card {
  min-width: 0;
  padding: 12px;
}

.odds-card {
  display: grid;
  gap: 8px;
  overflow: hidden;
}

.odds-card > *,
.odd-row {
  max-width: 100%;
  min-width: 0;
  width: 100%;
}

.market-chip {
  background: #e9edf3;
  color: var(--blue);
}

.movement.up {
  background: #e8efe2;
  color: var(--green);
}

.movement.down {
  background: #f3e4d7;
  color: var(--amber);
}

.odd-row strong {
  min-width: 0;
  overflow: hidden;
  font-size: 0.92rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.odd-row span {
  min-width: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.82rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pick-card {
  display: grid;
  gap: 10px;
}

.pick-meta span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 850;
}

.confidence {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #eee6da;
}

.confidence span {
  display: block;
  height: 100%;
  background: var(--red);
}

.record-pill,
.count-pill {
  background: var(--surface-soft);
  color: var(--muted);
}

.heat-card {
  display: grid;
  gap: 9px;
}

.heat-meter {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #eee6da;
}

.heat-meter span {
  display: block;
  height: 100%;
  background: var(--red);
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 70;
  max-width: min(340px, calc(100vw - 36px));
  padding: 12px 14px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--paper-strong);
  box-shadow: 0 8px 24px rgba(17, 16, 13, 0.22);
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
  pointer-events: none;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.mobile-nav {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 60;
  display: none;
  justify-content: space-around;
  height: 66px;
  padding: 6px 8px 7px;
  border-top: 1px solid var(--line);
  background: rgba(255, 250, 241, 0.98);
  box-shadow: 0 -2px 10px rgba(17, 16, 13, 0.08);
}

.bottom-nav,
.mobile-nav {
  padding-bottom: calc(7px + env(safe-area-inset-bottom));
}

.mobile-nav button {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 4px;
  min-width: 58px;
  color: var(--subtle);
  font-size: 0.7rem;
  font-weight: 800;
}

.mobile-nav button.is-active,
.mobile-nav button:hover {
  color: var(--ink);
}

.nav-icon {
  position: relative;
  display: block;
  width: 24px;
  height: 22px;
}

.home-icon::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 9px;
  width: 16px;
  height: 11px;
  border-radius: 3px 3px 2px 2px;
  background: currentColor;
}

.home-icon::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 4px;
  width: 14px;
  height: 14px;
  background: currentColor;
  transform: rotate(45deg);
}

.scores-icon::before,
.scores-icon::after,
.more-icon::before,
.more-icon::after {
  content: "";
  position: absolute;
  background: currentColor;
}

.scores-icon::before {
  inset: 2px 5px;
  border: 2px solid currentColor;
  border-radius: 3px;
  background: transparent;
}

.scores-icon::after {
  left: 11px;
  top: 3px;
  width: 2px;
  height: 16px;
}

.watch-icon::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 3px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: currentColor;
  clip-path: polygon(25% 8%, 90% 50%, 25% 92%);
}

.picks-icon::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 3px;
  width: 14px;
  height: 16px;
  border: 2px solid currentColor;
  border-radius: 3px;
}

.picks-icon::after {
  content: "";
  position: absolute;
  left: 9px;
  top: 7px;
  width: 8px;
  height: 2px;
  background: currentColor;
  box-shadow: 0 5px 0 currentColor;
}

.more-icon::before {
  left: 4px;
  top: 5px;
  width: 16px;
  height: 2px;
  box-shadow:
    0 6px 0 currentColor,
    0 12px 0 currentColor;
}

@media (max-width: 1180px) {
  .workspace {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
  }

  .left-rail {
    display: none;
  }
}

@media (max-width: 930px) {
  .topbar {
    grid-template-columns: auto 1fr auto;
  }

  .topbar-title {
    display: block;
  }

  .primary-nav {
    display: none;
  }

  .brand {
    min-width: 0;
  }

  .brand span {
    display: none;
  }

  .workspace {
    grid-template-columns: 1fr;
  }

  .right-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .standings-panel {
    grid-column: 1 / -1;
  }

  .matchup-grid {
    grid-template-columns: 1fr 112px 1fr;
  }

  .meta-grid,
  .markets-grid,
  .selected-picks-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 660px) {
  .app-shell {
    padding-bottom: 78px;
  }

  .topbar {
    min-height: 58px;
    padding: 0 12px;
  }

  .topbar-actions {
    gap: 6px;
  }

  .signal-chip,
  .topbar .ghost-button {
    display: none;
  }

  .profile-button {
    width: 32px;
    height: 32px;
  }

  .scorebar-head {
    display: none;
  }

  .league-tabs {
    padding: 10px 12px;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
  }

  .league-tab {
    min-height: 36px;
    padding-right: 13px;
  }

  .score-strip {
    width: 100%;
    gap: 12px;
    padding: 12px 0;
  }

  .score-section {
    border-right: 0;
    border-left: 0;
    border-radius: 8px;
  }

  .score-card {
    grid-template-columns: minmax(0, 1fr) 112px;
    gap: 10px;
    min-height: 86px;
    padding: 11px 14px;
  }

  .team-label {
    font-size: 0.96rem;
  }

  .score-value {
    font-size: 1.08rem;
  }

  .score-action {
    min-width: 88px;
  }

  .workspace {
    padding: 0 0 20px;
  }

  .main-column,
  .right-rail {
    gap: 12px;
  }

  .right-rail,
  .meta-grid,
  .markets-grid,
  .selected-picks-grid {
    grid-template-columns: 1fr;
  }

  .panel,
  .news-section {
    border-right: 0;
    border-left: 0;
    border-radius: 8px;
  }

  .live-header {
    padding: 16px 18px;
  }

  .live-header h1 {
    font-size: 1.24rem;
  }

  .follow-button {
    min-height: 32px;
    padding: 6px 10px;
  }

  .matchup-grid {
    grid-template-columns: minmax(0, 1fr) 82px minmax(0, 1fr);
    gap: 4px;
    padding: 16px 12px 12px;
  }

  .team-logo {
    width: 44px;
    height: 44px;
    font-size: 0.72rem;
  }

  .team-score {
    font-size: 3.1rem;
  }

  .leader-list {
    display: none;
  }

  .status-stack small {
    display: none;
  }

  .probability-label {
    display: none;
  }

  .detail-panel {
    padding: 14px;
  }

  .play-item {
    grid-template-columns: 1fr;
  }

  .impact-badge {
    justify-self: start;
  }

  .mobile-nav {
    display: flex;
  }

  .toast {
    right: 12px;
    bottom: 76px;
  }
}

@media (max-width: 420px) {
  .score-card {
    grid-template-columns: minmax(0, 1fr) 96px;
  }

  .score-action {
    min-width: 78px;
    padding-right: 8px;
    padding-left: 8px;
    font-size: 0.76rem;
  }

  .score-row {
    grid-template-columns: 30px minmax(0, 1fr) auto;
    gap: 8px;
  }

  .team-mark {
    width: 26px;
    height: 26px;
    font-size: 0.58rem;
  }

  .team-label {
    font-size: 0.9rem;
  }
}

.team-mark,
.team-logo {
  position: relative;
  overflow: hidden;
}

.mark-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 2px;
  box-sizing: border-box;
  background: var(--surface);
  border-radius: inherit;
}

.compact-table table {
  min-width: 0;
  width: 100%;
}

.compact-table th,
.compact-table td {
  padding: 8px 7px;
  font-size: 0.85rem;
  font-variant-numeric: tabular-nums;
}

.book-compare {
  margin-top: 16px;
}

.book-cell {
  display: flex;
  align-items: center;
  gap: 8px;
}

.book-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-width: 30px;
  height: 22px;
  padding: 0 5px;
  border-radius: 4px;
  background: var(--book-color, var(--ink));
  color: #fffaf1;
  font-family: var(--font-display);
  font-size: 0.66rem;
  letter-spacing: 0.05em;
}

.book-link {
  color: var(--ink);
  text-decoration: none;
}

.book-link:hover {
  color: var(--red);
}
