:root {
  --pacers-blue: #002d62;
  --pacers-yellow: #fdbb30;
  --pacers-slate: #1f4e88;
  --ink: #0f172a;
  --panel: #ffffff;
  --line: #d8e3f8;
  --danger: #be123c;
  --success: #0f766e;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Source Sans 3", "Helvetica Neue", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 5%, rgba(253, 187, 48, 0.2) 0, transparent 22%),
    radial-gradient(circle at 85% 18%, rgba(0, 45, 98, 0.14) 0, transparent 18%),
    radial-gradient(circle at top left, #ffffff 0%, #f2f5ff 38%, #e4ebfb 100%);
}

.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(125deg, #001f46 0%, #002d62 50%, #1f4e88 100%);
  border-bottom: 6px solid var(--pacers-yellow);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: rgba(253, 187, 48, 0.2);
}

.hero::before {
  width: 340px;
  height: 340px;
  top: -120px;
  right: -80px;
}

.hero::after {
  width: 260px;
  height: 260px;
  bottom: -100px;
  left: -80px;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    65deg,
    rgba(255, 255, 255, 0.04) 0,
    rgba(255, 255, 255, 0.04) 12px,
    transparent 12px,
    transparent 24px
  );
}

.hero__content {
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
  padding: 3rem 1.25rem;
}

.hero__brand {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.hero-logo {
  width: 92px;
  height: 92px;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.35));
}

.eyebrow {
  margin: 0;
  font-family: Oswald, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--pacers-yellow);
}

h1,
h2,
h3 {
  font-family: Oswald, sans-serif;
  letter-spacing: 0.02em;
  margin: 0;
}

h1 {
  margin-top: 0.18rem;
  font-size: clamp(2rem, 6vw, 3.6rem);
  line-height: 1;
}

.subtitle {
  margin: 0.55rem 0;
  max-width: 780px;
  font-size: 1.06rem;
}

.as-of {
  margin: 0;
  font-size: 0.92rem;
  opacity: 0.9;
}

main {
  max-width: 1240px;
  margin: 0 auto;
  padding: 1.15rem;
  display: grid;
  gap: 1rem;
}

.dashboard-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(320px, 0.95fr) minmax(520px, 1.25fr);
  align-items: start;
}

.left-column {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.panel-draft {
  align-self: start;
}

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1rem;
  box-shadow: 0 8px 24px rgba(0, 45, 98, 0.08);
  position: relative;
}

.panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  border-radius: 16px 16px 0 0;
  background: linear-gradient(90deg, var(--pacers-yellow), var(--pacers-slate));
}

.subhead {
  margin-top: 0.8rem;
  margin-bottom: 0.45rem;
  font-size: 1.15rem;
}

.section-note {
  margin: 0.35rem 0 0.8rem;
  color: #334155;
}

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

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

th,
td {
  padding: 0.58rem;
  border-bottom: 1px solid #e2e8f0;
  text-align: left;
}

th {
  background: #eff4ff;
  color: #0b2447;
  font-weight: 700;
}

.draft-table th:first-child,
.draft-table td:first-child {
  width: 54px;
  text-align: center;
}

tr.pacers-row {
  background: linear-gradient(90deg, rgba(253, 187, 48, 0.15) 0%, rgba(253, 187, 48, 0.06) 100%);
}

.team-cell {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

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

.odds-viz-wrap {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 0.8rem;
  align-items: center;
  margin-bottom: 0.8rem;
}

.odds-ring {
  width: 160px;
  height: 160px;
  border-radius: 999px;
  background: conic-gradient(var(--success) var(--keep-angle, 0deg), #fecdd3 0);
  display: grid;
  place-items: center;
}

.odds-ring__inner {
  width: 112px;
  height: 112px;
  border-radius: 999px;
  background: #fff;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 0.4rem;
}

.odds-ring__label {
  margin: 0;
  font-size: 0.75rem;
  color: #475569;
}

.odds-ring__value {
  margin: 0;
  font-family: Oswald, sans-serif;
  font-size: 1.95rem;
  line-height: 1;
}

.odds-grid {
  display: grid;
  gap: 0.8rem;
}

.odds-card {
  border-radius: 14px;
  padding: 0.82rem;
  border: 1px solid transparent;
}

.odds-card.keep {
  background: #ecfdf5;
  border-color: #a7f3d0;
}

.odds-card.send {
  background: #fff1f2;
  border-color: #fecdd3;
}

.big-pct {
  margin: 0.26rem 0;
  font-size: 1.95rem;
  font-family: Oswald, sans-serif;
}

.muted {
  margin: 0;
  color: #475569;
}

.games {
  display: grid;
  gap: 0.22rem;
  grid-template-columns: 1fr;
  max-height: 270px;
  overflow-y: auto;
  padding-right: 0.15rem;
}

.game-item {
  border: 1px solid #c9dbfb;
  background: linear-gradient(130deg, #f8fbff 0%, #ffffff 100%);
  border-radius: 12px;
  padding: 0.28rem 0.42rem;
}

.game-item.key-game {
  border-color: #facc15;
  background: linear-gradient(130deg, #fff9db 0%, #fffbeb 100%);
}

.game-heading {
  display: flex;
  align-items: center;
  gap: 0.36rem;
  font-size: 0.8rem;
  margin: 0;
}

.game-logo {
  width: 15px;
  height: 15px;
  object-fit: contain;
}

.badge {
  display: inline-block;
  background: #e2e8f0;
  color: #0f172a;
  border-radius: 999px;
  padding: 0.12rem 0.55rem;
  font-size: 0.75rem;
  font-weight: 700;
}

.key-badge {
  background: #facc15;
  color: #111827;
}

.game-item p {
  margin: 0.12rem 0 0;
  font-size: 0.78rem;
}

.leader-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.highlight-wrap {
  margin-top: 0.8rem;
}

.highlight-wrap h3 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.highlight-frame {
  border: 1px solid #c9dbfb;
  background: #eef4ff;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.highlight-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.leader-card {
  border: 1px solid #dbeafe;
  border-radius: 12px;
  background: #f9fbff;
  padding: 0.68rem;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 0.68rem;
  align-items: center;
}

.leader-photo {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  object-fit: cover;
  background: #eef2ff;
  border: 1px solid #c9d6f2;
}

.stat-chip {
  display: inline-block;
  border-radius: 999px;
  background: #dbeafe;
  color: #1e3a8a;
  font-weight: 700;
  font-size: 0.72rem;
  padding: 0.12rem 0.46rem;
}

.leader-name {
  margin: 0.2rem 0 0;
  font-weight: 700;
}

.leader-statline {
  margin: 0;
  font-weight: 700;
  color: #1e3a8a;
}

.result-loss {
  color: #15803d;
  font-weight: 700;
}

.result-win {
  color: #b91c1c;
  font-weight: 700;
}

.small {
  margin: 0.2rem 0 0;
  color: #475569;
  font-size: 0.92rem;
}

.status-banner {
  margin: 0.35rem 0 0.65rem;
  padding: 0.45rem 0.6rem;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 700;
}

.status-banner-disabled {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

.status-banner-stale {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fcd34d;
}

.status-banner-live {
  background: #dbeafe;
  color: #1e3a8a;
  border: 1px solid #93c5fd;
}

.sources ul {
  margin: 0.5rem 0 0;
  padding-left: 1rem;
}

.sources li {
  margin: 0.4rem 0;
}

a {
  color: #0a3a7a;
}

@media (max-width: 980px) {
  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .odds-viz-wrap {
    grid-template-columns: 1fr;
    justify-items: start;
  }
}

@media (max-width: 700px) {
  .hero__content {
    padding: 2.25rem 1rem;
  }

  .hero__brand {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-logo {
    width: 72px;
    height: 72px;
  }

  .panel {
    padding: 0.85rem;
  }

  .leader-card {
    grid-template-columns: 48px 1fr;
  }

  .leader-photo {
    width: 48px;
    height: 48px;
  }

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

@media (max-width: 768px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  main {
    padding: 0.9rem 0.75rem;
  }

  .dashboard-grid,
  .panel,
  .odds-viz-wrap,
  .odds-grid,
  .leader-grid,
  .leader-card {
    min-width: 0;
  }

  .panel {
    border-radius: 14px;
  }

  .table-wrap {
    width: 100%;
    max-width: 100%;
  }

  table {
    min-width: 640px;
  }

  th,
  td {
    padding: 0.5rem;
    font-size: 0.92rem;
  }

  .team-cell,
  .game-heading {
    flex-wrap: wrap;
  }

  .odds-viz-wrap {
    gap: 0.7rem;
  }

  .odds-ring {
    width: 140px;
    height: 140px;
  }

  .odds-ring__inner {
    width: 96px;
    height: 96px;
  }

  .odds-ring__value,
  .big-pct {
    font-size: 1.7rem;
  }

  .games {
    max-height: 250px;
  }
}

@media (max-width: 480px) {
  .hero__content {
    padding: 2rem 0.85rem;
  }

  main {
    padding: 0.75rem 0.55rem;
  }

  .panel {
    padding: 0.75rem;
  }

  .subhead {
    font-size: 1.05rem;
  }

  table {
    min-width: 560px;
  }

  th,
  td {
    font-size: 0.86rem;
  }
}
