/* Phase A — ESPN-style shell (extends style.css dark theme) */

/* --- Visual layer: spotlight, grain, glass chrome, motion --- */

html::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(
      ellipse 110% 75% at 50% -12%,
      rgba(29, 155, 240, 0.22),
      rgba(29, 155, 240, 0.08) 38%,
      transparent 72%
    ),
    radial-gradient(
      ellipse 120% 80% at 50% 100%,
      rgba(0, 0, 0, 0.5),
      transparent 55%
    ),
    radial-gradient(
      ellipse 100% 100% at 50% 50%,
      transparent 30%,
      rgba(0, 0, 0, 0.4) 100%
    );
}

html::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 180px 180px;
}

.game-page-wash {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.game-page-wash::before,
.game-page-wash::after {
  content: "";
  position: absolute;
  width: 75vmin;
  height: 75vmin;
  border-radius: 50%;
  filter: blur(56px);
  opacity: 0.28;
}

.game-page-wash::before {
  top: -18%;
  left: -18%;
  background: var(--game-away-color, #2f3336);
}

.game-page-wash::after {
  bottom: -18%;
  right: -18%;
  background: var(--game-home-color, #2f3336);
}

body.slate-mlb .app-main::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.11;
  background-image:
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 11px,
      rgba(29, 155, 240, 0.14) 11px,
      rgba(29, 155, 240, 0.14) 12px
    ),
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 11px,
      rgba(29, 155, 240, 0.14) 11px,
      rgba(29, 155, 240, 0.14) 12px
    );
}

.app-section-divider {
  height: 1px;
  border: none;
  margin: 1.35rem 0 1.15rem;
  background: linear-gradient(
    90deg,
    transparent,
    color-mix(in srgb, var(--border) 85%, var(--text) 5%) 20%,
    color-mix(in srgb, var(--border) 85%, var(--text) 5%) 80%,
    transparent
  );
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.85rem;
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  font-size: 0.72rem;
  color: var(--text);
  white-space: nowrap;
}

.hero-chip-muted {
  color: var(--muted);
}

.hero-chip-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.hero-chip-dot-ev {
  background: var(--positive);
}

.hero-chip-dot-ok {
  background: var(--positive);
}

.sport-pill-icon {
  width: 0.9em;
  height: 0.9em;
  margin-right: 0.3em;
  vertical-align: -0.12em;
  flex-shrink: 0;
}

.empty-state-icon {
  width: 28px;
  height: 28px;
  margin: 0 auto 0.65rem;
  color: var(--muted);
  display: block;
}

.empty-state-card .empty-cta {
  margin-top: 0.65rem;
}

.best-bets-empty-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.25rem 1rem;
  background: var(--surface);
  border: 1px dashed var(--border);
  border-radius: 12px;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.news-empty-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.5rem 1rem;
  background: var(--surface);
  border: 1px dashed var(--border);
  border-radius: 12px;
  color: var(--muted);
  font-size: 0.88rem;
}

@keyframes card-enter {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.game-card,
.glance-card,
.home-link-card,
.best-bet-card {
  animation: card-enter 0.3s ease-out both;
}

.game-list .game-card:nth-child(1) { animation-delay: 0ms; }
.game-list .game-card:nth-child(2) { animation-delay: 40ms; }
.game-list .game-card:nth-child(3) { animation-delay: 80ms; }
.game-list .game-card:nth-child(4) { animation-delay: 120ms; }
.game-list .game-card:nth-child(5) { animation-delay: 160ms; }
.game-list .game-card:nth-child(6) { animation-delay: 200ms; }
.game-list .game-card:nth-child(7) { animation-delay: 240ms; }
.game-list .game-card:nth-child(8) { animation-delay: 280ms; }
.game-list .game-card:nth-child(n + 9) { animation-delay: 320ms; }

.best-bets-strip .best-bet-card:nth-child(2) { animation-delay: 50ms; }
.best-bets-strip .best-bet-card:nth-child(3) { animation-delay: 100ms; }
.best-bets-strip .best-bet-card:nth-child(4) { animation-delay: 150ms; }
.best-bets-strip .best-bet-card:nth-child(5) { animation-delay: 200ms; }

@media (prefers-reduced-motion: reduce) {
  .game-card,
  .glance-card,
  .home-link-card,
  .best-bet-card {
    animation: none;
  }
}

.app-shell {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 0 2.5rem;
  min-height: 100vh;
  position: relative;
  z-index: 1;
}

.app-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  width: 100%;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur)) saturate(1.35);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(1.35);
  border-bottom: 1px solid color-mix(in srgb, var(--border) 70%, var(--accent) 30%);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.22);
  padding: 0.85rem var(--app-gutter);
}

.app-topbar .app-nav-row,
.app-topbar .sport-pills {
  width: 100%;
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .app-topbar,
  .live-ticker,
  .ticker-placeholder,
  .headline-ticker {
    background: var(--surface);
    box-shadow: none;
  }
}

.app-brand {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.app-brand span {
  color: var(--accent);
}

.app-nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
}

.app-nav-links {
  display: flex;
  gap: 0.75rem;
  font-size: 0.8rem;
}

.app-nav-links a {
  color: var(--muted);
  text-decoration: none;
}

.app-nav-links a:hover,
.app-nav-links a.active {
  color: var(--accent);
}

.sport-pills {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.15rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.sport-pills::-webkit-scrollbar {
  display: none;
}

.sport-pill {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.sport-pill-active {
  border-color: var(--accent);
  background: rgba(29, 155, 240, 0.12);
  color: var(--accent);
}

.sport-pill-disabled {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

.ticker-placeholder,
.news-placeholder {
  width: 100%;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur)) saturate(1.35);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(1.35);
  border-bottom: 1px solid color-mix(in srgb, var(--border) 70%, var(--accent) 30%);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.18);
  padding: 0.55rem var(--app-gutter);
  font-size: 0.78rem;
  color: var(--muted);
  text-align: center;
}

.live-ticker {
  width: 100%;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur)) saturate(1.35);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(1.35);
  border-bottom: 1px solid color-mix(in srgb, var(--border) 70%, var(--accent) 30%);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.18);
  overflow: hidden;
  position: sticky;
  top: 0;
  z-index: 15;
}

.ticker-viewport {
  overflow: hidden;
  overflow-y: hidden;
}

.ticker-track {
  display: flex;
  gap: 0.5rem;
  padding: 0.5rem var(--app-gutter);
  width: max-content;
  will-change: transform;
}

@property --ticker-border-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

.ticker-item {
  --ticker-border-width: 2px;
  --ticker-border-flow: 14s;
  --ticker-border-angle: 0deg;
  position: relative;
  isolation: isolate;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.7rem;
  border-radius: 7px;
  border: none;
  background: transparent;
  color: var(--text);
  text-decoration: none;
  font-size: 0.75rem;
  white-space: nowrap;
  overflow: hidden;
}

.ticker-item::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: conic-gradient(
    from var(--ticker-border-angle),
    var(--away-color, #2f3336) 0deg,
    var(--away-color, #2f3336) 42deg,
    color-mix(in srgb, var(--away-color, #2f3336) 35%, transparent) 58deg,
    transparent 74deg,
    color-mix(in srgb, var(--home-color, #2f3336) 35%, transparent) 90deg,
    var(--home-color, #2f3336) 106deg,
    var(--home-color, #2f3336) 148deg,
    color-mix(in srgb, var(--home-color, #2f3336) 35%, transparent) 164deg,
    transparent 180deg,
    color-mix(in srgb, var(--away-color, #2f3336) 35%, transparent) 196deg,
    var(--away-color, #2f3336) 212deg,
    var(--away-color, #2f3336) 254deg,
    color-mix(in srgb, var(--away-color, #2f3336) 35%, transparent) 270deg,
    transparent 286deg,
    color-mix(in srgb, var(--home-color, #2f3336) 35%, transparent) 302deg,
    var(--home-color, #2f3336) 318deg,
    var(--home-color, #2f3336) 360deg
  );
  animation: ticker-border-flow var(--ticker-border-flow) linear infinite;
  z-index: 0;
}

.ticker-item::after {
  content: "";
  position: absolute;
  inset: var(--ticker-border-width);
  border-radius: calc(7px - var(--ticker-border-width));
  background: var(--bg);
  z-index: 1;
}

.ticker-item > * {
  position: relative;
  z-index: 2;
}

.ticker-item-live {
  --ticker-border-flow: 11s;
}

.ticker-item-live::before {
  filter: brightness(1.08);
}

.live-ticker.ticker-paused .ticker-item::before {
  animation-play-state: paused;
}

@keyframes ticker-border-flow {
  to {
    --ticker-border-angle: 360deg;
  }
}

.ticker-item:hover::after {
  background: color-mix(in srgb, var(--bg) 92%, var(--accent) 8%);
}

.ticker-sport {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--accent);
  text-transform: uppercase;
}

.ticker-teams {
  font-weight: 600;
}

.ticker-score {
  font-weight: 700;
  color: var(--accent);
}

.ticker-meta {
  color: var(--muted);
  font-size: 0.7rem;
}

.ticker-empty {
  display: block;
  padding: 0.55rem 1rem;
  font-size: 0.78rem;
  color: var(--muted);
  text-align: center;
}

body.slate-mlb .app-main {
  position: relative;
  isolation: isolate;
}

body.slate-mlb .app-main > * {
  position: relative;
  z-index: 1;
}

.app-main {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 1.15rem var(--app-gutter) 2rem;
  box-sizing: border-box;
}

.app-section-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 0.65rem;
}

.refresh-line {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.refresh-line.ok {
  color: var(--positive);
}

.home-hero {
  margin-bottom: 1.25rem;
}

.home-hero h1 {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  margin-bottom: 0.35rem;
}

.home-hero p {
  color: var(--muted);
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  max-width: 52rem;
}

.home-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 0.75rem;
}

.sandbox-main {
  max-width: 36rem;
}

.sandbox-intro h1 {
  margin-bottom: 0.35rem;
}

.sandbox-lead {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.sandbox-auth-note {
  font-size: 0.85rem;
  color: var(--muted);
}

.sandbox-hub {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1.5rem;
}

.sandbox-card {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  gap: 0.15rem 0.75rem;
  padding: 0.9rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  text-decoration: none;
}

.sandbox-card:hover {
  border-color: var(--accent);
}

.sandbox-card-title {
  font-weight: 600;
  grid-column: 1;
}

.sandbox-card-desc {
  grid-column: 1;
  font-size: 0.85rem;
  color: var(--muted);
}

.sandbox-card .arrow {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  color: var(--accent);
  font-weight: 700;
}

.sandbox-actions {
  margin-top: 0.5rem;
}

.nav-sandbox {
  font-weight: 600;
}

.home-link-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  text-decoration: none;
}

.home-link-card:hover {
  border-color: var(--accent);
}

.home-link-card .arrow {
  color: var(--accent);
  font-weight: 700;
}

.news-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.news-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.75rem 0.9rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  text-decoration: none;
}

.news-item:hover {
  border-color: var(--accent);
}

.news-title {
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.35;
}

.news-meta {
  font-size: 0.72rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.news-loading,
.news-empty {
  font-size: 0.85rem;
  color: var(--muted);
  padding: 0.5rem 0;
}

.slate-note {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.slate-advance-banner {
  font-size: 0.85rem;
  color: var(--text);
  background: color-mix(in srgb, var(--accent, #3b82f6) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent, #3b82f6) 35%, transparent);
  border-radius: 8px;
  padding: 0.65rem 0.85rem;
  margin-bottom: 1rem;
}

.team-name-block {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.team-record {
  font-size: 0.72rem;
  color: var(--muted);
  line-height: 1.2;
}

.game-card-series,
.matchup-series {
  font-size: 0.78rem;
  color: var(--muted);
  margin: 0 0 0.45rem;
  text-align: center;
}

.matchup-series {
  margin-bottom: 0.75rem;
}

/* Team color band on game cards */
.game-card {
  position: relative;
  overflow: hidden;
}

.game-card-color-band {
  height: 5px;
  margin: -0.05rem -0.05rem 0.55rem;
  border-radius: 10px 10px 0 0;
  background: linear-gradient(
    90deg,
    var(--away-color, #2f3336) 0%,
    var(--away-color, #2f3336) 30%,
    color-mix(in srgb, var(--away-color, #2f3336) 45%, var(--home-color, #2f3336) 55%) 50%,
    var(--home-color, #2f3336) 70%,
    var(--home-color, #2f3336) 100%
  );
  box-shadow: 0 0 18px color-mix(in srgb, var(--away-color, #000) 35%, transparent),
    0 0 18px color-mix(in srgb, var(--home-color, #000) 35%, transparent);
}

.game-card-live {
  border-color: color-mix(in srgb, var(--positive) 45%, var(--border));
}

.game-card-live .game-card-color-band {
  animation: band-glow 2.4s ease-in-out infinite;
}

@keyframes band-glow {
  0%,
  100% {
    filter: brightness(1);
  }
  50% {
    filter: brightness(1.25);
  }
}

.badge-pulse {
  animation: live-pulse 1.8s ease-in-out infinite;
}

@keyframes live-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(0, 186, 124, 0.35);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(0, 186, 124, 0);
  }
}

.watch-btn {
  position: absolute;
  top: 0.45rem;
  right: 0.45rem;
  z-index: 2;
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: 1.1rem;
  cursor: pointer;
  line-height: 1;
  padding: 0.15rem 0.25rem;
}

.watch-btn.watched {
  color: #ffd400;
  text-shadow: 0 0 8px rgba(255, 212, 0, 0.45);
}

.model-lean-chip {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.2rem 0.45rem;
  border-radius: 4px;
  margin-bottom: 0.45rem;
  background: var(--bg);
  border: 1px solid var(--border);
}

.model-lean-chip.chip-low {
  border-color: #f4212e;
  color: #ff7a85;
}

.model-lean-chip.chip-medium {
  border-color: #ffd400;
  color: #ffd400;
}

.model-lean-chip.chip-high {
  border-color: var(--positive);
  color: #3dd68c;
}

.game-card-preview {
  font-size: 0.72rem;
  color: var(--muted);
  margin-top: 0.5rem;
  line-height: 1.35;
}

.line-move {
  font-size: 0.65rem;
  margin-left: 0.2rem;
}

.line-move.up {
  color: #3dd68c;
}

.line-move.down {
  color: #ff7a85;
}

/* Skeleton loaders */
.skeleton-card {
  pointer-events: none;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.85rem;
  background: var(--surface);
}

.skeleton-band,
.skeleton-row {
  background: linear-gradient(
    90deg,
    var(--border) 0%,
    color-mix(in srgb, var(--border) 60%, var(--text) 8%) 50%,
    var(--border) 100%
  );
  background-size: 200% 100%;
  animation: shimmer 1.2s ease-in-out infinite;
  border-radius: 6px;
}

.skeleton-band {
  height: 5px;
  margin-bottom: 0.75rem;
}

.skeleton-row {
  height: 14px;
  margin-bottom: 0.5rem;
}

.skeleton-row.short {
  width: 55%;
}

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

.empty-state-card {
  text-align: center;
  padding: 2rem 1rem;
  background: var(--surface);
  border: 1px dashed var(--border);
  border-radius: 12px;
}

.empty-state-card h3 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.empty-state-card p {
  color: var(--muted);
  font-size: 0.88rem;
}

.empty-cta a {
  color: var(--accent);
}

/* Home glance + best bets */
.glance-card {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  padding: 0.85rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 1rem;
}

.glance-card.glance-muted {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.glance-stat {
  text-align: center;
}

.glance-num {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
}

.glance-lbl {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
}

.best-bets-strip {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
  margin-bottom: 1.25rem;
  -webkit-overflow-scrolling: touch;
}

.home-picks-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

@media (max-width: 768px) {
  .home-picks-grid {
    grid-template-columns: 1fr;
  }
}

.home-picks-col-title {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.home-picks-col-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.home-props-fill-btn--compact {
  padding: 0.3rem 0.65rem;
  font-size: 0.72rem;
}

.home-picks-list .best-prop-card {
  display: flex;
  align-items: stretch;
  gap: 0.35rem;
  padding: 0;
  overflow: hidden;
}

.home-picks-list .best-prop-card-link {
  flex: 1;
  min-width: 0;
  display: block;
  padding: 0.65rem 0.75rem;
  text-decoration: none;
  color: inherit;
}

.home-prop-add-btn {
  flex-shrink: 0;
  align-self: center;
  margin-right: 0.45rem;
  padding: 0.35rem 0.55rem;
  border: 1px solid rgba(29, 155, 240, 0.45);
  border-radius: 999px;
  background: rgba(29, 155, 240, 0.12);
  color: #7ac4ff;
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

.home-prop-add-btn:hover {
  background: rgba(29, 155, 240, 0.22);
}

.best-prop-rank {
  font-size: 0.72rem;
  color: #7ac4ff;
}

.home-picks-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.home-picks-list .best-bet-card,
.home-picks-list .best-bets-empty-card {
  min-width: 0;
  width: 100%;
}

.home-props-tools {
  margin-bottom: 1.25rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
}

.home-props-tools-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.home-props-tools-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.home-props-select {
  flex: 1;
  min-width: 8rem;
  padding: 0.45rem 0.6rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
}

.home-props-fill-btn {
  padding: 0.45rem 0.9rem;
  border: none;
  border-radius: 999px;
  background: #1d9bf0;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

.home-props-fill-btn:hover {
  filter: brightness(1.08);
}

.home-props-tools-note {
  margin: 0.5rem 0 0;
  font-size: 0.75rem;
  color: var(--muted);
}

.best-bet-card {
  flex: 0 0 auto;
  min-width: 10.5rem;
  padding: 0.65rem 0.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  text-decoration: none;
  color: var(--text);
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.best-bet-card:hover {
  border-color: var(--positive);
}

.best-bet-team {
  font-weight: 700;
  font-size: 0.9rem;
}

.best-bet-meta {
  font-size: 0.68rem;
  color: var(--muted);
}

.best-bet-edge {
  font-size: 0.72rem;
  color: var(--positive);
  font-weight: 600;
}

.best-bets-empty {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.headline-ticker {
  width: 100%;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur)) saturate(1.35);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(1.35);
  border-bottom: 1px solid color-mix(in srgb, var(--border) 70%, var(--accent) 30%);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  padding: 0.4rem var(--app-gutter);
  overflow: hidden;
  box-sizing: border-box;
}

.headline-ticker-link {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: var(--text);
  font-size: 0.75rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.headline-ticker-label {
  flex: 0 0 auto;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
  font-size: 0.62rem;
}

.headline-ticker-text {
  overflow: hidden;
  text-overflow: ellipsis;
}

.game-list-compact .game-card {
  padding: 0.65rem;
}

.matchup-header-wrap {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  padding-bottom: 0.25rem;
}

.matchup-header-wrap .matchup-band {
  margin: 0 0 0.65rem;
  border-radius: 12px 12px 0 0;
}

.matchup-header-wrap .matchup-grid {
  padding: 0 0.75rem 0.5rem;
}

@media (min-width: 900px) {
  .glance-card {
    grid-template-columns: repeat(4, 1fr);
    padding: 1rem 1.15rem;
  }

  .slate-header h1 {
    font-size: 1.45rem;
  }

  .matchup-board {
    gap: 0.85rem;
  }
}

@media (max-width: 640px) {
  .glance-card {
    grid-template-columns: repeat(2, 1fr);
  }

  .game-list:not(.game-list-compact) {
    grid-template-columns: 1fr;
  }
}

.slate-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.slate-header h1 {
  font-size: 1.25rem;
}

.slate-date {
  font-size: 0.8rem;
  color: var(--muted);
}

.slate-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.5rem 0.75rem;
  margin-bottom: 0.75rem;
}

.slate-date-field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.75rem;
  color: var(--muted);
}

.slate-date-field input[type="date"] {
  font: inherit;
  padding: 0.35rem 0.5rem;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
}

.slate-source-badge {
  font-size: 0.72rem;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
  align-self: center;
}

.slate-subnav {
  font-size: 0.8rem;
  margin-bottom: 0.75rem;
}

.slate-subnav a {
  color: var(--accent);
  text-decoration: none;
}

.game-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  gap: 0.75rem;
  align-items: stretch;
}

.game-list.game-list-compact {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.game-list.game-list-compact .game-card {
  max-width: none;
}

.game-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.15s;
  box-sizing: border-box;
}

.game-card:hover {
  border-color: var(--accent);
}

.game-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.65rem;
  font-size: 0.75rem;
  color: var(--muted);
}

.status-badge {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.badge-scheduled {
  background: rgba(113, 118, 123, 0.2);
  color: var(--muted);
}

.badge-live {
  background: rgba(244, 33, 46, 0.15);
  color: #f4212e;
}

.badge-final {
  background: rgba(113, 118, 123, 0.25);
  color: var(--text);
}

.badge-default {
  background: rgba(113, 118, 123, 0.15);
  color: var(--muted);
}

.game-card-matchup {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.5rem;
}

.team-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  text-align: center;
  min-width: 0;
}

.team-side.away {
  align-items: flex-start;
  text-align: left;
}

.team-side.home {
  align-items: flex-end;
  text-align: right;
}

.team-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.team-name {
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
}

.team-score {
  font-size: 1.25rem;
  font-weight: 700;
}

.game-card-at {
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 600;
}

.empty-state,
.error-state {
  text-align: center;
  padding: 2.5rem 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.error-state {
  color: #f4212e;
}

/* Game detail */
.matchup-header {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem 1rem;
  margin-bottom: 1rem;
}

.matchup-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.75rem;
}

.matchup-center {
  text-align: center;
  min-width: 5.5rem;
}

.matchup-center .status-badge {
  margin-bottom: 0.35rem;
}

.matchup-time {
  font-size: 0.8rem;
  color: var(--muted);
}

.matchup-team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

.matchup-team .team-logo {
  width: 56px;
  height: 56px;
}

.matchup-team h2 {
  font-size: 0.95rem;
  font-weight: 700;
  text-align: center;
}

.matchup-score {
  font-size: 1.5rem;
  font-weight: 700;
}

.matchup-board {
  display: grid;
  grid-template-columns: 1fr minmax(9.5rem, 1.15fr) 1fr;
  gap: 0.55rem;
  margin-bottom: 1rem;
  align-items: start;
}

.team-market-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

.team-market-col.away {
  align-items: flex-start;
}

.team-market-col.home {
  align-items: flex-end;
}

.team-market-logo {
  width: 48px;
  height: 48px;
}

.team-market-name {
  font-size: 0.82rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.2;
}

.team-last5 {
  width: 100%;
  margin-top: 0.1rem;
  padding: 0.45rem 0.4rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.team-last5-title {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin: 0 0 0.35rem;
}

.team-market-col.away .team-last5-title {
  text-align: left;
}

.team-market-col.home .team-last5-title {
  text-align: right;
}

.team-last5-empty {
  margin: 0;
  font-size: 0.68rem;
  color: var(--muted);
}

.team-market-col.away .team-last5-empty {
  text-align: left;
}

.team-market-col.home .team-last5-empty {
  text-align: right;
}

.team-last5-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.22rem;
}

.team-last5-row {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.68rem;
  line-height: 1.2;
}

.team-market-col.home .team-last5-row {
  justify-content: flex-end;
}

.last5-result {
  font-weight: 700;
  min-width: 0.85rem;
}

.last5-win .last5-result {
  color: var(--positive);
}

.last5-loss .last5-result {
  color: #ff7a85;
}

.last5-score {
  font-variant-numeric: tabular-nums;
}

.last5-opp {
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 5.5rem;
}

.market-stat-card {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.55rem 0.5rem;
  text-align: center;
}

.market-stat-card.market-pick-low {
  border-color: #f4212e;
  background: #2a1215;
  box-shadow: 0 0 0 1px rgba(244, 33, 46, 0.3);
}

.market-stat-card.market-pick-medium {
  border-color: #ffd400;
  background: #2a2410;
  box-shadow: 0 0 0 1px rgba(255, 212, 0, 0.28);
}

.market-stat-card.market-pick-high {
  border-color: var(--positive);
  background: var(--ev-bg);
  box-shadow: 0 0 0 1px rgba(0, 186, 124, 0.25);
}

.market-stat-card.market-pick-low .stat-value {
  color: #ff7a85;
}

.market-stat-card.market-pick-medium .stat-value {
  color: #ffd400;
}

.market-stat-card.market-pick-high .stat-value {
  color: #3dd68c;
}

.stat-label {
  display: block;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin-bottom: 0.2rem;
}

.stat-value {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
}

.model-center-col {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.85rem 0.65rem;
  text-align: center;
}

.model-center-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.model-pick {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.2rem;
}

.model-win,
.model-runs,
.model-edge {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 0.25rem;
}

.model-empty {
  font-size: 0.85rem;
  color: var(--muted);
}

.lines-updated {
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--muted);
  margin-left: 0.35rem;
}

.insights-refresh-link {
  float: right;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  color: var(--accent);
  text-decoration: none;
}

.model-body p,
.parlays-body p {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.model-body strong,
.parlays-body strong {
  color: var(--text);
}

.parlay-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.65rem 0.75rem;
  margin-bottom: 0.5rem;
}

.parlay-card p {
  margin-top: 0.35rem;
  font-size: 0.8rem;
}

.detail-footnote {
  font-size: 0.8rem;
  margin-top: 0.5rem;
}

.detail-footnote a {
  color: var(--accent);
}

.detail-section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1rem;
  margin-bottom: 0.75rem;
}

.detail-section h2 {
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
}

.detail-section p {
  font-size: 0.85rem;
  color: var(--muted);
}

.section-sub {
  margin-bottom: 0.75rem;
}

.model-explanation-body {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.explain-summary {
  font-size: 0.9rem;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.explain-prob-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.explain-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.explain-block h3 {
  font-size: 0.82rem;
  margin-bottom: 0.35rem;
  color: var(--text);
}

.explain-list {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.45;
}

.explain-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.78rem;
}

.explain-table th,
.explain-table td {
  border-bottom: 1px solid var(--border);
  padding: 0.35rem 0.4rem;
  text-align: left;
}

.explain-edge-home {
  color: var(--positive);
}

.explain-edge-away {
  color: var(--accent);
}

.explain-footnote {
  font-size: 0.75rem;
  color: var(--muted);
  font-style: italic;
}

.explain-legend {
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 0.45rem;
}

.disclaimer-small {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 1rem;
  line-height: 1.4;
}

@media (max-width: 640px) {
  .matchup-board {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
  }

  .team-market-col.away,
  .team-market-col.home {
    align-items: center;
  }

  .game-card-matchup .team-side.away,
  .game-card-matchup .team-side.home {
    align-items: center;
    text-align: center;
  }

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

/* --- NTG Sports intro splash --- */

html.ntg-splash-pending {
  overflow: hidden;
}

html.ntg-splash-pending .app-shell {
  opacity: 0;
  pointer-events: none;
}

html.ntg-splash-active {
  overflow: hidden;
}

.ntg-splash {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  overflow: hidden;
}

.ntg-splash--out {
  animation: ntg-splash-exit 0.65s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  pointer-events: none;
}

.ntg-splash__stage {
  position: relative;
  width: min(88vw, 380px);
  aspect-ratio: 4 / 2.85;
}

.ntg-splash__arcs {
  position: absolute;
  inset: -8% -6%;
  width: 112%;
  height: 116%;
  pointer-events: none;
}

.ntg-splash__arc {
  fill: none;
  stroke-linecap: round;
  stroke-width: 5;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}

.ntg-splash__arc--top {
  stroke: url(#ntg-arc-grad-top);
  animation: ntg-arc-draw 1.2s cubic-bezier(0.4, 0, 0.2, 1) 0.08s forwards;
}

.ntg-splash__arc--bottom {
  stroke: url(#ntg-arc-grad-bottom);
  animation: ntg-arc-draw 1.2s cubic-bezier(0.4, 0, 0.2, 1) 0.2s forwards;
}

.ntg-splash__logo-wrap {
  position: absolute;
  inset: 10% 0 8%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  z-index: 2;
}

.ntg-splash__wordmark {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: min(28vw, 118px);
  filter: drop-shadow(0 8px 24px rgba(29, 120, 255, 0.15));
}

.ntg-splash__letter-img {
  height: 100%;
  width: auto;
  display: block;
  opacity: 0;
  will-change: transform, opacity;
}

.ntg-splash__letter-img--n {
  margin-right: -1.15rem;
  animation: ntg-letter-n 0.85s cubic-bezier(0.22, 1, 0.36, 1) 1.2s forwards;
}

.ntg-splash__letter-img--t {
  position: relative;
  z-index: 3;
  margin: 0 -0.65rem;
  animation: ntg-letter-t 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.45s forwards;
}

.ntg-splash__letter-img--g {
  margin-left: -1.05rem;
  animation: ntg-letter-g 0.85s cubic-bezier(0.22, 1, 0.36, 1) 1.2s forwards;
}

.ntg-splash__sports {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.38em;
  text-indent: 0.38em;
  color: #f0f3f5;
  opacity: 0;
  animation: ntg-sports-in 0.55s ease-out 1.85s forwards;
}

.ntg-splash__sports-line {
  flex: 1;
  max-width: 2.75rem;
  height: 2px;
  background: linear-gradient(90deg, transparent, #2b8cff 35%, #2b8cff 65%, transparent);
  opacity: 0.9;
}

.ntg-splash__glow {
  position: absolute;
  inset: 15% 10%;
  border-radius: 50%;
  background: radial-gradient(
    ellipse at center,
    rgba(29, 120, 255, 0.35),
    transparent 68%
  );
  opacity: 0;
  animation: ntg-glow-pulse 1s ease-in-out 2.5s 1;
  pointer-events: none;
}

.ntg-splash--reduced .ntg-splash__arc,
.ntg-splash--reduced .ntg-splash__glow {
  animation: none;
  opacity: 0;
}

.ntg-splash--reduced .ntg-splash__letter-img,
.ntg-splash--reduced .ntg-splash__sports {
  animation: ntg-logo-simple 0.55s ease-out 0.15s forwards;
}

@keyframes ntg-arc-draw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes ntg-letter-n {
  from {
    opacity: 0;
    transform: translateX(-140%) scale(0.88);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes ntg-letter-g {
  from {
    opacity: 0;
    transform: translateX(140%) scale(0.88);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes ntg-letter-t {
  from {
    opacity: 0;
    transform: translateY(-60%) scale(0.4);
  }
  70% {
    opacity: 1;
    transform: translateY(5%) scale(1.05);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes ntg-sports-in {
  from {
    opacity: 0;
    transform: translateY(8px);
    letter-spacing: 0.55em;
  }
  to {
    opacity: 1;
    transform: translateY(0);
    letter-spacing: 0.38em;
  }
}

@keyframes ntg-logo-simple {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes ntg-glow-pulse {
  0%,
  100% {
    opacity: 0;
    transform: scale(0.92);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
}

@keyframes ntg-splash-exit {
  to {
    opacity: 0;
    transform: scale(1.06);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ntg-splash--out {
    animation-duration: 0.35s;
  }
}

.prediction-detail {
  margin-top: 1.25rem;
  padding: 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
}

.prediction-detail .sub {
  font-weight: 400;
  color: var(--muted);
  font-size: 0.85em;
}

.prediction-note {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0.35rem 0 0.75rem;
}

.prediction-drivers {
  margin: 0 0 0.75rem 1.1rem;
  padding: 0;
  font-size: 0.9rem;
  line-height: 1.45;
}

.feature-table-wrap summary {
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--muted);
}

.feature-table {
  width: 100%;
  margin-top: 0.5rem;
  font-size: 0.82rem;
  border-collapse: collapse;
}

.feature-table th,
.feature-table td {
  text-align: left;
  padding: 0.35rem 0.5rem;
  border-bottom: 1px solid var(--border);
}

.feature-table th {
  font-weight: 500;
  color: var(--muted);
  width: 55%;
}

/* Player props + prop parlay slip */
.props-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.props-body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.props-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 0.75rem;
}

.prop-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.85rem;
}

.prop-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

.prop-score {
  background: rgba(29, 155, 240, 0.18);
  color: #8ecbff;
  border-radius: 999px;
  padding: 0.15rem 0.55rem;
  font-size: 0.85rem;
  font-weight: 600;
}

.prop-card-line {
  margin: 0.35rem 0;
  font-size: 0.92rem;
}

.prop-card-meta,
.prop-card-factors {
  margin: 0.25rem 0 0;
  font-size: 0.82rem;
  color: var(--muted);
}

.prop-card-factors {
  padding-left: 1rem;
}

.prop-card-actions,
.props-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.5rem;
}

.btn-add-prop,
.btn-ghost {
  border: 1px solid var(--border);
  background: transparent;
  color: inherit;
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-size: 0.82rem;
  cursor: pointer;
}

.btn-add-prop:hover,
.btn-ghost:hover {
  border-color: rgba(29, 155, 240, 0.55);
}

.props-table-wrap {
  overflow-x: auto;
}

.props-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.props-table th,
.props-table td {
  padding: 0.45rem 0.5rem;
  border-bottom: 1px solid var(--border);
  text-align: left;
}

.props-all-lines summary {
  cursor: pointer;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.props-empty,
.props-disclaimer {
  color: var(--muted);
}

.prop-slip-toggle {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 1200;
  border: none;
  border-radius: 999px;
  padding: 0.65rem 1rem;
  background: #1d9bf0;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.prop-slip-panel {
  position: fixed;
  right: 1rem;
  bottom: 4.5rem;
  z-index: 1200;
  width: min(360px, calc(100vw - 2rem));
  max-height: min(70vh, 520px);
  overflow: auto;
  background: rgba(22, 24, 28, 0.96);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.85rem;
  display: none;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}

.prop-slip-panel--open {
  display: block;
}

.prop-slip-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.prop-slip-close {
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: 1.25rem;
  cursor: pointer;
}

.prop-slip-leg {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
}

.prop-slip-leg-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  font-size: 0.85rem;
}

.prop-slip-remove {
  border: none;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 1.1rem;
}

.prop-slip-meta,
.prop-slip-empty {
  font-size: 0.82rem;
  color: var(--muted);
}

.prop-slip-totals {
  margin-top: 0.75rem;
}

.prop-skip-tag,
.prop-skip-note {
  display: inline-block;
  margin-left: 0.35rem;
  font-size: 0.72rem;
  color: #ff7a85;
}

.prop-row-skip {
  opacity: 0.72;
}

.prop-hit-rates {
  font-size: 0.78rem;
  color: var(--muted);
  white-space: nowrap;
}

.hit-rate-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
}

.hit-rate-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  padding: 0.12rem 0.4rem;
  border-radius: 999px;
  font-size: 0.72rem;
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
  white-space: nowrap;
}

.hit-rate-lbl {
  font-weight: 600;
  opacity: 0.85;
}

.hit-rate-chip.hit-rate-low {
  background: rgba(255, 193, 77, 0.14);
  color: #ffc14d;
}

.hit-rate-chip.hit-rate-medium {
  background: rgba(122, 196, 255, 0.14);
  color: #7ac4ff;
}

.hit-rate-chip.hit-rate-high {
  background: rgba(88, 214, 141, 0.16);
  color: #58d68d;
}

.hit-rate-chip.hit-rate-red {
  background: rgba(255, 122, 133, 0.14);
  color: #ff7a85;
}

.line-strength {
  display: inline-block;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
}

.line-strength-strong {
  background: rgba(88, 214, 141, 0.18);
  color: #58d68d;
}

.line-strength-moderate {
  background: rgba(122, 196, 255, 0.16);
  color: #7ac4ff;
}

.line-strength-weak {
  background: rgba(255, 122, 133, 0.14);
  color: #ff9aa3;
}

.prop-line-insight,
.best-bet-insight {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.72rem;
  color: var(--muted);
  line-height: 1.35;
  white-space: normal;
}

.prop-line-strength .prop-line-insight {
  margin-top: 0.2rem;
  max-width: 14rem;
}

.best-bet-form {
  display: block;
  margin-top: 0.35rem;
}

.best-bet-strength {
  display: block;
  margin-top: 0.35rem;
}

.best-bet-insight {
  margin-top: 0.25rem;
}

.prop-card-strength {
  margin: 0.35rem 0 0;
  font-size: 0.78rem;
}

.prop-slip-warn {
  margin-bottom: 0.5rem;
  padding: 0.5rem;
  border-radius: 8px;
  background: rgba(255, 122, 133, 0.12);
  font-size: 0.78rem;
  color: #ff9aa3;
}

.pb-build-badge {
  margin-top: 1.5rem;
  font-size: 0.68rem;
  color: var(--muted);
  opacity: 0.65;
}
