:root {
  color-scheme: light;
  --bg: #f5f7f4;
  --paper: #ffffff;
  --ink: #17231f;
  --muted: #65706b;
  --line: #dce2dc;
  --accent: #0f766e;
  --accent-strong: #0a5e59;
  --gold: #c98b2d;
  --red: #b84a3a;
  --blue: #286ea8;
  --green: #287b4d;
  --cyan: #06b6d4;
  --sky: #1d9bf0;
  --orange: #f97316;
  --sun: #facc15;
  --pink: #e84d8a;
  --violet: #7c3aed;
  --shadow: 0 18px 50px rgba(18, 35, 31, 0.08);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(15, 118, 110, 0.08), transparent 290px),
    var(--bg);
  color: var(--ink);
  font-family:
    "Inter",
    "Segoe UI",
    "Microsoft YaHei",
    Arial,
    sans-serif;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.app-shell {
  width: min(1480px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 24px 0 40px;
}

.topbar,
.control-band,
.dashboard-grid,
.insight-grid,
.movement-grid,
.dialog-head,
.dialog-actions {
  display: flex;
}

.topbar {
  align-items: stretch;
  justify-content: space-between;
  gap: 16px;
}

.brand-block,
.status-strip,
.panel,
.notice,
.source-dialog {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.brand-block {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 320px;
  padding: 18px 20px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--ink);
  color: white;
  font-weight: 800;
}

.eyebrow {
  margin: 0 0 4px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 0;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.05;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: 18px;
  line-height: 1.2;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 6px;
  font-size: 17px;
}

.status-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(130px, 1fr));
  min-width: 460px;
  overflow: hidden;
}

.status-item {
  padding: 16px 18px;
  border-left: 1px solid var(--line);
}

.status-item:first-child {
  border-left: 0;
}

.status-label {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 12px;
}

.status-item strong {
  font-size: 18px;
}

.control-band {
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 16px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.segmented,
.toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
}

.segment,
.tool-button,
.plain-button,
.primary-button {
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--paper);
  color: var(--ink);
  min-height: 38px;
}

.segment {
  min-width: 104px;
  padding: 0 14px;
  color: var(--muted);
}

.segment.active {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
  font-weight: 800;
}

.tool-button {
  display: inline-grid;
  place-items: center;
  width: 38px;
  padding: 0 11px;
  font-weight: 800;
}

.tool-button.wide {
  width: auto;
  min-width: 96px;
}

.tool-button.secondary {
  border-color: rgba(15, 118, 110, 0.35);
  color: var(--accent-strong);
}

.notice {
  margin-top: 16px;
  padding: 13px 16px;
  color: #3d4a45;
  line-height: 1.55;
}

.notice.empty {
  border-color: rgba(201, 139, 45, 0.5);
  background: #fff9ec;
}

.dashboard-grid {
  align-items: flex-start;
  gap: 16px;
  margin-top: 16px;
}

.panel {
  padding: 18px;
}

.match-panel {
  position: sticky;
  top: 16px;
  width: 360px;
  max-height: calc(100vh - 32px);
  overflow: auto;
}

.main-panel {
  min-width: 0;
  flex: 1;
}

.panel-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
}

.panel-heading.tight {
  margin-bottom: 12px;
}

.panel-note {
  margin: -4px 0 12px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.count-pill,
.mini-status,
.risk-chip,
.signal-chip,
.change-pill {
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #f7faf7;
  color: var(--muted);
  white-space: nowrap;
}

.count-pill,
.mini-status {
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 800;
}

.match-list {
  display: grid;
  gap: 10px;
}

.match-card {
  width: 100%;
  min-height: 108px;
  padding: 14px;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfcfb;
  transition:
    border-color 0.16s ease,
    background 0.16s ease,
    transform 0.16s ease;
}

.match-card:hover,
.match-card.active {
  border-color: rgba(15, 118, 110, 0.6);
  background: #eef8f5;
}

.match-card.active {
  transform: translateX(2px);
}

.match-meta,
.team-line,
.odds-row,
.prediction-row,
.movement-row,
.source-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.match-meta {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 12px;
}

.team-line {
  font-weight: 800;
  line-height: 1.3;
}

.vs {
  color: var(--muted);
  font-weight: 700;
}

.quick-signal {
  display: inline-block;
  margin-top: 12px;
  padding: 5px 8px;
  border-radius: 6px;
  background: rgba(40, 110, 168, 0.1);
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
}

.empty-list {
  min-height: 210px;
  display: grid;
  place-items: center;
  padding: 20px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  text-align: center;
  line-height: 1.55;
}

.hero-panel {
  overflow: hidden;
  padding: 0;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
}

.scoreboard {
  position: relative;
  min-height: 250px;
  padding: 24px;
  background:
    linear-gradient(135deg, rgba(29, 155, 240, 0.96) 0%, rgba(20, 184, 166, 0.96) 42%, rgba(249, 115, 22, 0.95) 100%),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.12) 0 1px, transparent 1px 56px);
  color: white;
}

.scoreboard::after {
  content: "";
  position: absolute;
  inset: 22px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 7px;
  pointer-events: none;
}

.scoreboard-content {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 202px;
  align-content: space-between;
}

.kickoff-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
}

.kickoff-line span {
  padding: 6px 9px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

.teams-large {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 14px;
  align-items: center;
}

.team-box {
  min-width: 0;
}

.team-box.away {
  text-align: right;
}

.team-name {
  overflow-wrap: anywhere;
  font-size: clamp(25px, 3.5vw, 44px);
  font-weight: 900;
  line-height: 1;
  text-shadow: 0 8px 24px rgba(10, 30, 24, 0.24);
}

.team-sub {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
}

.versus-large {
  color: white;
  font-weight: 900;
  padding: 9px 10px;
  border-radius: 999px;
  background: rgba(23, 35, 31, 0.24);
}

.signal-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.signal-chip {
  padding: 7px 10px;
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.18);
  color: white;
  font-size: 12px;
  font-weight: 800;
}

.signal-chip.strong {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.28);
  box-shadow: 0 10px 24px rgba(18, 35, 31, 0.15);
}

.match-metrics {
  display: grid;
  align-content: stretch;
  gap: 1px;
  background: var(--line);
}

.metric-tile {
  display: grid;
  align-content: center;
  min-height: 88px;
  padding: 18px;
  background: #fbfcfb;
}

.metric-tile span {
  color: var(--muted);
  font-size: 12px;
}

.metric-tile strong {
  margin-top: 8px;
  font-size: 25px;
  line-height: 1.1;
}

.insight-grid {
  gap: 16px;
  margin-top: 16px;
}

.insight-grid > .panel {
  flex: 1;
  min-width: 0;
}

.odds-table {
  display: grid;
  gap: 10px;
}

.odds-row,
.prediction-row,
.movement-row {
  min-height: 56px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfcfb;
}

.market-label,
.prediction-label,
.movement-label {
  min-width: 0;
}

.market-label strong,
.prediction-label strong,
.movement-label strong {
  display: block;
  margin-bottom: 3px;
}

.market-label span,
.prediction-label span,
.movement-label span {
  color: var(--muted);
  font-size: 12px;
}

.prediction-label span {
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.odds-number {
  text-align: right;
}

.odds-number strong {
  display: block;
  font-size: 22px;
}

.bar-track {
  position: relative;
  height: 8px;
  min-width: 110px;
  overflow: hidden;
  border-radius: 999px;
  background: #e6ece8;
}

.bar-fill {
  height: 100%;
  border-radius: inherit;
  background: var(--accent);
}

.bar-fill.gold {
  background: var(--gold);
}

.bar-fill.blue {
  background: var(--blue);
}

.prediction-stack {
  display: grid;
  gap: 10px;
}

.prediction-row.primary {
  min-height: 86px;
  background: #edf8f5;
  border-color: rgba(15, 118, 110, 0.4);
}

.score-combo-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 12px;
  align-items: center;
  min-height: 98px;
}

.outcome-combo-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 12px;
  align-items: center;
  min-height: 96px;
}

.score-combo-row .main-score-value,
.outcome-combo-row .main-outcome-value {
  grid-column: 2;
  grid-row: 1;
}

.score-backups,
.outcome-backups {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border-radius: 10px;
  background: rgba(15, 118, 110, 0.07);
}

.score-backups > span,
.outcome-backups > span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}

.score-backups em,
.outcome-backups em {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 5px 8px;
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  font-style: normal;
}

.score-backups em strong,
.outcome-backups em strong {
  font-size: 16px;
  line-height: 1;
}

.score-backups em small,
.outcome-backups em small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
}

.prediction-value {
  text-align: right;
  font-weight: 900;
}

.prediction-value strong {
  display: block;
  font-size: 21px;
}

.prediction-value span {
  color: var(--muted);
  font-size: 12px;
}

.movement-panel {
  margin-top: 16px;
}

.news-panel {
  margin-top: 16px;
  overflow: hidden;
  border-color: rgba(29, 155, 240, 0.22);
}

.movement-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.movement-card {
  min-height: 172px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfcfb;
}

.movement-card h3 {
  font-size: 15px;
}

.movement-card-wide {
  grid-column: 1 / -1;
  min-height: 0;
  background: linear-gradient(135deg, #ffffff, #fff7ed);
}

.movement-row {
  margin-top: 10px;
}

.change-pill {
  padding: 5px 8px;
  font-size: 12px;
  font-weight: 900;
}

.change-pill.up {
  color: var(--green);
  border-color: rgba(40, 123, 77, 0.35);
  background: rgba(40, 123, 77, 0.08);
}

.change-pill.down {
  color: var(--red);
  border-color: rgba(184, 74, 58, 0.35);
  background: rgba(184, 74, 58, 0.08);
}

.risk-chip.low {
  color: var(--green);
  border-color: rgba(40, 123, 77, 0.35);
}

.risk-chip.mid {
  color: var(--gold);
  border-color: rgba(201, 139, 45, 0.45);
}

.risk-chip.high {
  color: var(--red);
  border-color: rgba(184, 74, 58, 0.35);
}

.source-dialog {
  width: min(620px, calc(100vw - 28px));
  padding: 0;
}

.source-dialog::backdrop {
  background: rgba(23, 35, 31, 0.42);
}

.source-dialog form {
  padding: 20px;
}

.dialog-head {
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 18px;
}

.field {
  display: grid;
  gap: 7px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.field input,
.field select {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--ink);
  background: var(--paper);
}

.checkbox-line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  color: var(--ink);
}

.schema-box {
  margin-top: 16px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f7faf7;
}

.schema-box strong {
  display: block;
  margin-bottom: 8px;
}

.schema-box code {
  display: block;
  max-height: 122px;
  overflow: auto;
  color: #34443e;
  font-size: 12px;
  line-height: 1.5;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.dialog-actions {
  justify-content: flex-end;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
}

.plain-button,
.primary-button {
  min-width: 88px;
  padding: 0 16px;
}

.primary-button {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
  font-weight: 900;
}

html {
  scroll-behavior: smooth;
}

.mobile-hero-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  min-height: 250px;
  margin-top: 16px;
  overflow: hidden;
  border: 1px solid rgba(220, 226, 220, 0.9);
  border-radius: var(--radius);
  background: var(--ink);
  box-shadow: var(--shadow);
}

.hero-art {
  width: 100%;
  height: 100%;
  min-height: 250px;
  object-fit: cover;
}

.hero-copy {
  display: grid;
  align-content: center;
  gap: 12px;
  padding: 24px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(239, 248, 245, 0.94)),
    var(--paper);
}

.hero-copy h2 {
  font-size: clamp(24px, 4vw, 40px);
  line-height: 1.05;
}

.hero-copy p {
  margin-bottom: 0;
  color: #405049;
  line-height: 1.55;
}

.hero-mini-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.hero-mini-grid span {
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.74);
}

.hero-mini-grid strong,
.hero-mini-grid small {
  display: block;
}

.hero-mini-grid strong {
  overflow: hidden;
  font-size: 18px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-mini-grid small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 11px;
}

.home-fixtures {
  margin-top: 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.home-fixtures-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.match-dock {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.fixture-chip {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 82px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfcfb;
  color: var(--ink);
  text-align: left;
  transition:
    background 0.16s ease,
    border-color 0.16s ease,
    transform 0.16s ease;
}

.fixture-chip.active,
.fixture-chip:hover {
  border-color: rgba(15, 118, 110, 0.58);
  background: #edf8f5;
}

.fixture-chip.active {
  transform: translateY(-1px);
}

.fixture-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.96), rgba(201, 139, 45, 0.9));
  color: white;
  font-size: 13px;
  font-weight: 900;
}

.fixture-main {
  min-width: 0;
}

.fixture-main strong,
.fixture-main small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fixture-main strong {
  margin-bottom: 5px;
  font-size: 14px;
}

.fixture-main small {
  color: var(--muted);
  font-size: 12px;
}

.fixture-score {
  padding: 7px 8px;
  border-radius: 7px;
  background: #17231f;
  color: white;
  font-weight: 900;
}

.schedule-calendar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.calendar-day {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfcfb;
}

.calendar-day-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 12px;
  background: #17231f;
  color: white;
}

.calendar-day-head strong {
  font-size: 18px;
}

.calendar-day-head span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 800;
}

.calendar-games {
  display: grid;
}

.calendar-game {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) minmax(96px, 0.74fr);
  align-items: center;
  gap: 10px;
  min-height: 76px;
  padding: 11px 12px;
  border: 0;
  border-top: 1px solid var(--line);
  background: white;
  color: var(--ink);
  text-align: left;
}

.calendar-game:first-child {
  border-top: 0;
}

.calendar-game.active,
.calendar-game:hover {
  background: #edf8f5;
}

.calendar-time {
  display: grid;
  place-items: center;
  min-height: 38px;
  border-radius: 7px;
  background: #eef8f5;
  color: var(--accent-strong);
  font-size: 14px;
  font-weight: 900;
}

.calendar-teams,
.calendar-pick {
  min-width: 0;
}

.calendar-teams strong,
.calendar-teams small,
.calendar-meta,
.calendar-meta em,
.calendar-pick strong,
.calendar-pick small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.calendar-teams strong {
  margin-bottom: 5px;
  font-size: 14px;
}

.calendar-teams small {
  color: var(--muted);
  font-size: 12px;
}

.calendar-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 6px;
}

.calendar-meta em {
  max-width: 100%;
  padding: 3px 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #f7faf7;
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
  line-height: 1.2;
  white-space: nowrap;
}

.calendar-meta em:first-child {
  border-color: rgba(15, 118, 110, 0.28);
  background: #eef8f5;
  color: var(--accent-strong);
  font-weight: 900;
}

.calendar-pick {
  padding: 8px;
  border-radius: 7px;
  background: #f7faf7;
  text-align: right;
}

.calendar-pick strong {
  color: var(--accent-strong);
  font-size: 13px;
}

.calendar-pick small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.calendar-pick.pending strong {
  color: var(--gold);
}

.pending-detail {
  display: grid;
  gap: 10px;
  padding: 20px;
  background: #fff9ec;
}

.pending-detail h2 {
  font-size: 26px;
}

.pending-detail p {
  margin-bottom: 0;
  color: var(--muted);
}

.pending-badge {
  width: max-content;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(201, 139, 45, 0.14);
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
}

.forecast-board {
  display: grid;
  align-content: stretch;
  gap: 10px;
  padding: 14px;
  background:
    linear-gradient(180deg, #fff7ed, #eff6ff 58%, #ffffff);
  border-left: 1px solid var(--line);
}

.headline-pair {
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  gap: 10px;
}

.headline-card,
.outcome-pill,
.odds-snapshot > div,
.support-metrics > div {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
}

.headline-card {
  min-height: 116px;
  padding: 14px;
  box-shadow: 0 12px 26px rgba(18, 35, 31, 0.08);
}

.headline-card.score {
  border-color: rgba(249, 115, 22, 0.3);
  background: linear-gradient(135deg, #fff7ed, #fff1c6);
}

.headline-card.pick {
  border-color: rgba(29, 155, 240, 0.28);
  background: linear-gradient(135deg, #eff6ff, #ecfeff);
}

.headline-card span,
.headline-card small,
.outcome-pill span,
.odds-snapshot span,
.support-metrics span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.headline-card .headline-context {
  display: block;
  margin-top: 6px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
}

.headline-card strong {
  display: block;
  margin: 8px 0 6px;
  line-height: 1;
  letter-spacing: 0;
}

.headline-card.score strong {
  color: var(--orange);
  font-size: 42px;
}

.headline-card.pick strong {
  color: var(--sky);
  font-size: 25px;
  line-height: 1.08;
}

.forecast-section-label {
  color: var(--violet);
  font-size: 12px;
  font-weight: 900;
}

.ai-brief {
  display: grid;
  gap: 7px;
  padding: 12px;
  border: 1px solid rgba(124, 58, 237, 0.18);
  border-radius: var(--radius);
  background: linear-gradient(135deg, #faf5ff, #eff6ff);
}

.ai-brief span,
.detail-disclaimer,
.news-info-card span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.ai-brief strong {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.5;
}

.ai-brief small {
  color: var(--violet);
  font-size: 12px;
  line-height: 1.45;
}

.outcome-strip,
.odds-snapshot,
.support-metrics {
  display: grid;
  gap: 8px;
}

.outcome-strip {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.outcome-pill {
  padding: 11px;
}

.outcome-pill strong {
  display: block;
  margin-top: 6px;
  color: var(--ink);
  font-size: 22px;
}

.outcome-pill.hot {
  border-color: rgba(232, 77, 138, 0.34);
  background: linear-gradient(135deg, #fff1f2, #fdf2f8);
}

.outcome-pill.hot strong {
  color: var(--pink);
}

.odds-snapshot {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.odds-snapshot > div,
.support-metrics > div {
  padding: 10px;
}

.odds-snapshot strong,
.support-metrics strong {
  display: block;
  margin-top: 5px;
  font-size: 20px;
}

.odds-snapshot strong {
  color: var(--blue);
}

.support-metrics {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.detail-disclaimer {
  padding: 10px 12px;
  border: 1px solid rgba(184, 74, 58, 0.18);
  border-radius: var(--radius);
  background: #fff7ed;
  color: #854d0e;
  line-height: 1.5;
}

.detail-news-panel {
  grid-column: 1 / -1;
  padding: 18px;
  background:
    linear-gradient(135deg, #ffffff, #f8fbff 45%, #fff7ed);
}

.detail-news-head,
.news-source-line,
.news-impact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.detail-news-head {
  margin-bottom: 12px;
}

.detail-news-head.compact {
  align-items: flex-start;
  margin-bottom: 10px;
}

.detail-news-head h3 {
  margin: 0;
  font-size: 19px;
}

.detail-news-head > span {
  padding: 7px 10px;
  border-radius: 999px;
  background: #ecfeff;
  color: #0e7490;
  font-size: 12px;
  font-weight: 900;
}

.news-headline {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 18px;
}

.detail-news-panel p {
  margin-bottom: 12px;
  color: #3d4a45;
  line-height: 1.65;
}

.news-info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 12px 0;
}

.news-info-card {
  display: grid;
  gap: 7px;
  min-height: 108px;
  padding: 12px;
  border: 1px solid rgba(29, 155, 240, 0.18);
  border-radius: var(--radius);
  background: white;
}

.news-info-card:nth-child(2) {
  border-color: rgba(249, 115, 22, 0.22);
  background: #fff7ed;
}

.news-info-card:nth-child(3) {
  border-color: rgba(184, 74, 58, 0.16);
  background: #fff1f2;
}

.news-info-card strong {
  color: var(--ink);
  font-size: 13px;
  line-height: 1.55;
}

.news-impact {
  margin: 12px 0;
  padding: 12px;
  border: 1px solid rgba(249, 115, 22, 0.28);
  border-radius: var(--radius);
  background: #fff7ed;
}

.news-impact span {
  color: var(--orange);
  font-size: 12px;
  font-weight: 900;
}

.news-impact strong {
  text-align: right;
  color: var(--ink);
  font-size: 14px;
}

.detail-news-panel ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.55;
}

.news-source-line {
  margin-top: 14px;
  color: var(--muted);
  font-size: 12px;
}

.news-source-line a {
  color: var(--sky);
  font-weight: 900;
  text-decoration: none;
}

#marketPanel {
  border-top: 4px solid var(--blue);
}

#forecastPanel {
  border-top: 4px solid var(--accent);
}

#movementPanel {
  border-top: 4px solid var(--gold);
}

.odds-number strong {
  color: var(--blue);
}

.prediction-row.primary .prediction-value strong {
  color: var(--accent-strong);
}

.prediction-row.primary {
  box-shadow: inset 0 0 0 1px rgba(15, 118, 110, 0.08);
}

.mobile-bottom-nav {
  display: none;
}

.mobile-back-button {
  display: none;
}

@media (max-width: 1040px) {
  .topbar,
  .dashboard-grid,
  .insight-grid {
    flex-direction: column;
  }

  .brand-block,
  .status-strip,
  .match-panel {
    width: 100%;
    min-width: 0;
  }

  .match-panel {
    position: static;
    max-height: none;
  }

  .match-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-inner,
  .mobile-hero-card,
  .movement-grid {
    grid-template-columns: 1fr;
  }

  .hero-art {
    max-height: 280px;
  }
}

@media (max-width: 720px) {
  .app-shell {
    width: min(100% - 20px, 1480px);
    padding-top: 10px;
  }

  .control-band,
  .segmented,
  .toolbar {
    align-items: stretch;
    flex-wrap: wrap;
  }

  .segment,
  .tool-button.wide {
    flex: 1;
    min-width: 0;
  }

  .status-strip {
    grid-template-columns: 1fr;
  }

  .status-item,
  .status-item:first-child {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .status-item:first-child {
    border-top: 0;
  }

  .match-list {
    grid-template-columns: 1fr;
  }

  .teams-large {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .team-box.away {
    text-align: left;
  }

  .versus-large {
    display: none;
  }

  .odds-row,
  .prediction-row,
  .movement-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .odds-number,
  .prediction-value {
    width: 100%;
    text-align: left;
  }

  .bar-track {
    width: 100%;
  }
}

@media (max-width: 720px) {
  body:not(.detail-open) .control-band,
  body:not(.detail-open) .notice,
  body:not(.detail-open) .dashboard-grid,
  body:not(.detail-open) .mobile-bottom-nav {
    display: none;
  }

  body.detail-open .mobile-hero-card,
  body.detail-open .home-fixtures,
  body.detail-open .control-band,
  body.detail-open .notice,
  body.detail-open .mobile-bottom-nav {
    display: none;
  }

  body.detail-open .dashboard-grid {
    display: block;
    margin-top: 8px;
  }

  body.detail-open .match-panel {
    display: none;
  }

  body.detail-open .mobile-back-button {
    position: sticky;
    top: 0;
    z-index: 8;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 46px;
    margin-top: 8px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.95);
    color: var(--accent-strong);
    font-weight: 900;
    box-shadow: 0 10px 26px rgba(18, 35, 31, 0.08);
    backdrop-filter: blur(12px);
  }

  body {
    padding-bottom: calc(18px + env(safe-area-inset-bottom, 0px));
    background:
      radial-gradient(circle at 18% 0%, rgba(201, 139, 45, 0.16), transparent 220px),
      linear-gradient(180deg, rgba(15, 118, 110, 0.12), transparent 300px),
      var(--bg);
    -webkit-font-smoothing: antialiased;
  }

  .app-shell {
    width: min(100% - 14px, 1480px);
    padding: 8px 0 18px;
  }

  .topbar {
    gap: 8px;
  }

  .brand-block {
    min-height: 78px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 10px 28px rgba(18, 35, 31, 0.06);
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  h1 {
    font-size: 22px;
    line-height: 1.12;
  }

  h2 {
    font-size: 17px;
  }

  .status-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    min-width: 0;
    box-shadow: 0 10px 28px rgba(18, 35, 31, 0.05);
  }

  .status-item,
  .status-item:first-child {
    min-width: 0;
    padding: 10px 8px;
    border-top: 0;
    border-left: 1px solid var(--line);
    text-align: center;
  }

  .status-item:first-child {
    border-left: 0;
  }

  .status-label {
    margin-bottom: 4px;
    font-size: 11px;
  }

  .status-item strong {
    display: block;
    overflow: hidden;
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mobile-hero-card {
    min-height: 0;
    margin-top: 8px;
    box-shadow: 0 18px 36px rgba(18, 35, 31, 0.11);
  }

  .hero-art {
    min-height: 168px;
    max-height: 178px;
    object-position: 45% center;
  }

  .hero-copy {
    gap: 9px;
    padding: 14px;
  }

  .hero-copy h2 {
    font-size: 25px;
  }

  .hero-copy p {
    font-size: 13px;
  }

  .hero-mini-grid {
    gap: 6px;
  }

  .hero-mini-grid span {
    padding: 9px 7px;
  }

  .hero-mini-grid strong {
    font-size: 14px;
  }

  .control-band {
    position: sticky;
    top: 0;
    z-index: 5;
    margin-top: 8px;
    padding: 8px;
    border-color: rgba(220, 226, 220, 0.9);
    background: rgba(245, 247, 244, 0.94);
    box-shadow: 0 10px 26px rgba(18, 35, 31, 0.08);
    backdrop-filter: blur(12px);
  }

  .segmented {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .toolbar {
    width: 100%;
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) minmax(0, 1fr);
  }

  .segment,
  .tool-button {
    min-height: 42px;
  }

  .segment {
    padding: 0 6px;
    font-size: 13px;
  }

  .tool-button {
    width: 44px;
  }

  .tool-button.wide {
    width: auto;
    font-size: 13px;
  }

  .notice {
    margin-top: 8px;
    padding: 11px 12px;
    font-size: 13px;
    box-shadow: 0 10px 28px rgba(18, 35, 31, 0.05);
  }

  .dashboard-grid {
    gap: 10px;
    margin-top: 10px;
  }

  .panel {
    padding: 13px;
    box-shadow: 0 12px 28px rgba(18, 35, 31, 0.06);
  }

  .panel-heading {
    margin-bottom: 10px;
  }

  .match-panel {
    overflow: hidden;
  }

  .match-list {
    display: flex;
    gap: 9px;
    margin: 0 -13px;
    padding: 0 13px 4px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .match-list::-webkit-scrollbar {
    display: none;
  }

  .match-card {
    flex: 0 0 min(82vw, 310px);
    min-height: 116px;
    scroll-snap-align: start;
  }

  .match-card.active {
    transform: none;
  }

  .quick-signal {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .main-panel {
    display: grid;
    gap: 10px;
  }

  .scoreboard {
    min-height: 210px;
    padding: 17px;
  }

  .scoreboard::after {
    inset: 12px;
  }

  .scoreboard-content {
    min-height: 176px;
  }

  .team-name {
    font-size: clamp(25px, 11vw, 38px);
  }

  .team-sub {
    margin-top: 7px;
  }

  .signal-line {
    gap: 6px;
  }

  .signal-chip {
    max-width: 100%;
    padding: 6px 8px;
    overflow: hidden;
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .detail-news-panel {
    padding: 14px;
  }

  .detail-news-head,
  .news-impact,
  .news-source-line {
    align-items: flex-start;
    flex-direction: column;
  }

  .news-impact strong {
    text-align: left;
  }

  .match-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .metric-tile {
    min-height: 82px;
    padding: 11px 8px;
  }

  .metric-tile strong {
    overflow-wrap: anywhere;
    font-size: 20px;
  }

  .insight-grid {
    gap: 10px;
    margin-top: 0;
  }

  .odds-row,
  .prediction-row,
  .movement-row {
    gap: 8px;
    min-height: 0;
    padding: 11px;
  }

  .prediction-row.primary {
    min-height: 0;
  }

  .prediction-value strong {
    font-size: 21px;
  }

  .movement-panel {
    margin-top: 0;
  }

  .movement-card {
    min-height: 0;
    padding: 12px;
  }

  .source-dialog {
    width: min(100% - 18px, 620px);
    max-height: min(86vh, 720px);
    overflow: auto;
  }

  .source-dialog form {
    padding: 15px;
  }

  .mobile-bottom-nav {
    position: fixed;
    right: 8px;
    bottom: max(8px, env(safe-area-inset-bottom, 0px));
    left: 8px;
    z-index: 10;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    padding: 7px;
    border: 1px solid rgba(220, 226, 220, 0.94);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 16px 38px rgba(18, 35, 31, 0.18);
    backdrop-filter: blur(14px);
  }

  .mobile-bottom-nav a {
    display: grid;
    place-items: center;
    min-height: 42px;
    border-radius: 7px;
    color: var(--ink);
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
  }

  .mobile-bottom-nav a:active,
  .mobile-bottom-nav a:focus-visible {
    background: #eef8f5;
    color: var(--accent-strong);
    outline: none;
  }
}

@media (max-width: 720px) {
  .hero-svg {
    min-height: 168px;
  }

  .home-fixtures {
    margin-top: 8px;
    padding: 13px;
    box-shadow: 0 12px 28px rgba(18, 35, 31, 0.06);
  }

  .home-fixtures-head {
    margin-bottom: 9px;
  }

  .match-dock {
    display: flex;
    gap: 9px;
    margin: 0 -13px;
    padding: 0 13px 4px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .match-dock::-webkit-scrollbar {
    display: none;
  }

  .fixture-chip {
    flex: 0 0 min(88vw, 340px);
    grid-template-columns: 44px minmax(0, 1fr) auto;
    min-height: 82px;
    scroll-snap-align: start;
  }

  .fixture-icon {
    width: 44px;
    height: 44px;
    font-size: 12px;
  }

  .fixture-chip.active {
    transform: none;
  }

  .forecast-board {
    border-top: 1px solid var(--line);
    border-left: 0;
    padding: 12px;
  }

  .headline-pair {
    grid-template-columns: 1fr;
  }

  .headline-card {
    min-height: 0;
    padding: 13px;
  }

  .headline-card.score strong {
    font-size: 40px;
  }

  .headline-card.pick strong {
    font-size: 23px;
  }

  .outcome-strip,
  .odds-snapshot,
  .support-metrics,
  .news-info-grid {
    grid-template-columns: 1fr;
  }

  .outcome-pill,
  .odds-snapshot > div,
  .support-metrics > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }

  .outcome-pill strong,
  .odds-snapshot strong,
  .support-metrics strong {
    margin-top: 0;
  }

  .news-info-card {
    min-height: 0;
  }

  #marketPanel,
  #forecastPanel,
  #movementPanel {
    scroll-margin-top: 86px;
  }
}

@media (max-width: 720px) {
  .schedule-calendar {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .calendar-day-head {
    padding: 10px 11px;
  }

  .calendar-game {
    grid-template-columns: 46px minmax(0, 1fr) minmax(88px, 0.72fr);
    gap: 8px;
    min-height: 72px;
    padding: 10px;
  }

  .calendar-time {
    min-height: 36px;
    font-size: 13px;
  }

  .calendar-teams strong {
    font-size: 13px;
  }

  .calendar-meta {
    gap: 4px;
  }

  .calendar-meta em {
    padding: 2px 5px;
    font-size: 10px;
  }

  .calendar-pick {
    padding: 7px;
  }

  .calendar-pick strong {
    font-size: 12px;
  }

  .calendar-pick small {
    font-size: 11px;
  }

  .pending-detail {
    padding: 16px;
  }
}


/* V24 visual upgrade: AI data cockpit style */
body {
  background:
    linear-gradient(180deg, rgba(12, 18, 22, 0.06), transparent 320px),
    repeating-linear-gradient(90deg, rgba(0, 230, 118, 0.035) 0 1px, transparent 1px 64px),
    #f4f6f3;
}

.brand-block {
  border-color: rgba(0, 230, 118, 0.24);
  background:
    linear-gradient(135deg, #0f121d 0%, #171a25 58%, #1e2337 100%);
  color: #f8fafc;
  box-shadow: 0 20px 54px rgba(15, 18, 29, 0.2);
}

.brand-copy h1,
.brand-copy p,
.brand-kicker span,
.stat strong,
.stat span {
  color: inherit;
}

.brand-kicker span,
.brand-mark,
.count-pill,
.mini-status,
.calendar-pick.ready,
.signal-chip.strong {
  box-shadow: 0 0 18px rgba(0, 230, 118, 0.16);
}

.brand-mark {
  border: 1px solid rgba(0, 230, 118, 0.45);
  background: linear-gradient(135deg, #00e676, #00b0ff 58%, #fffd00);
  color: #07111a;
}

.status-strip {
  border-color: rgba(23, 26, 37, 0.12);
  background: rgba(255, 255, 255, 0.9);
}

.control-band,
.notice,
.panel,
.source-dialog {
  border-color: rgba(15, 18, 29, 0.1);
  box-shadow: 0 16px 42px rgba(15, 18, 29, 0.08);
}

.segmented button.active,
.primary-action {
  background: linear-gradient(135deg, #0f766e, #00a884);
  box-shadow: 0 12px 24px rgba(15, 118, 110, 0.22);
}

.mobile-hero-card {
  border-color: rgba(0, 230, 118, 0.22);
  background:
    linear-gradient(135deg, rgba(15, 18, 29, 0.9), rgba(22, 27, 44, 0.82)),
    var(--paper);
  color: #f8fafc;
}

.mobile-hero-card h2,
.mobile-hero-card p,
.hero-metric strong,
.hero-metric span {
  color: inherit;
}

.hero-metric {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
}

.home-fixtures .panel-heading,
.calendar-day-head {
  background: linear-gradient(135deg, #111827, #1e2337);
  color: #f8fafc;
}

.calendar-day-head {
  border-radius: var(--radius) var(--radius) 0 0;
}

.calendar-day-head strong,
.calendar-day-head span {
  color: #f8fafc;
}

.calendar-day {
  overflow: hidden;
  border-color: rgba(17, 24, 39, 0.12);
  background: #ffffff;
}

.calendar-game {
  border-left: 3px solid transparent;
  background: #ffffff;
}

.calendar-game.active,
.calendar-game:hover {
  border-left-color: #00e676;
  background: linear-gradient(90deg, rgba(0, 230, 118, 0.08), #ffffff 62%);
}

.calendar-time {
  color: #03695f;
  background: #e9fbf5;
}

.calendar-pick.ready {
  border: 1px solid rgba(0, 230, 118, 0.18);
  background: linear-gradient(135deg, #f0fff8, #ecfeff);
}

.hero-panel {
  border-color: rgba(0, 230, 118, 0.28);
  background: #0f121d;
  box-shadow: 0 24px 70px rgba(15, 18, 29, 0.24);
}

.hero-inner {
  background:
    linear-gradient(135deg, #0f121d 0%, #141824 58%, #20162b 100%);
}

.scoreboard {
  background:
    linear-gradient(135deg, rgba(15, 18, 29, 0.98), rgba(20, 24, 36, 0.96) 52%, rgba(35, 21, 45, 0.96)),
    repeating-linear-gradient(90deg, rgba(0, 230, 118, 0.1) 0 1px, transparent 1px 58px);
}

.scoreboard::after {
  border-color: rgba(0, 230, 118, 0.3);
  box-shadow: inset 0 0 28px rgba(0, 230, 118, 0.08);
}

.kickoff-line span {
  border-color: rgba(0, 230, 118, 0.2);
  background: rgba(0, 230, 118, 0.08);
  color: #dffcf0;
}

.team-name {
  color: #ffffff;
  text-shadow: 0 0 24px rgba(0, 230, 118, 0.12), 0 8px 24px rgba(0, 0, 0, 0.3);
}

.team-sub {
  color: rgba(248, 250, 252, 0.72);
}

.versus-large {
  border: 1px solid rgba(255, 214, 0, 0.26);
  background: rgba(255, 214, 0, 0.1);
  color: #fffd00;
}

.signal-chip {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
}

.signal-chip.strong {
  border-color: rgba(0, 230, 118, 0.5);
  background: linear-gradient(135deg, rgba(0, 230, 118, 0.22), rgba(0, 176, 255, 0.16));
  color: #ffffff;
}

.forecast-board {
  border-left-color: rgba(0, 230, 118, 0.18);
  background:
    linear-gradient(180deg, rgba(20, 24, 36, 0.98), rgba(15, 18, 29, 0.98));
}

.headline-card,
.outcome-pill,
.support-metrics > div,
.ai-brief,
.detail-disclaimer {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.06);
  color: #f8fafc;
  box-shadow: none;
}

.headline-card.score {
  border-color: rgba(255, 214, 0, 0.28);
  background: linear-gradient(135deg, rgba(255, 214, 0, 0.16), rgba(255, 111, 0, 0.12));
}

.headline-card.pick {
  border-color: rgba(0, 230, 118, 0.3);
  background: linear-gradient(135deg, rgba(0, 230, 118, 0.16), rgba(0, 176, 255, 0.12));
}

.headline-card span,
.headline-card small,
.headline-card .headline-context,
.outcome-pill span,
.support-metrics span,
.ai-brief span,
.ai-brief small,
.detail-disclaimer {
  color: rgba(248, 250, 252, 0.72);
}

.headline-card.score strong {
  color: #fffd00;
}

.headline-card.pick strong,
.outcome-pill.hot strong {
  color: #00e676;
}

.outcome-pill strong,
.support-metrics strong,
.ai-brief strong {
  color: #ffffff;
}

.outcome-pill.hot {
  border-color: rgba(0, 230, 118, 0.45);
  background: linear-gradient(135deg, rgba(0, 230, 118, 0.16), rgba(0, 176, 255, 0.1));
}

.forecast-section-label {
  color: #fffd00;
}

.detail-disclaimer {
  border-color: rgba(255, 214, 0, 0.2);
  background: rgba(255, 214, 0, 0.07);
}

#marketPanel,
#forecastPanel,
#movementPanel,
.news-panel {
  background: rgba(255, 255, 255, 0.96);
}

#marketPanel {
  border-top-color: #00b0ff;
}

#forecastPanel {
  border-top-color: #00e676;
}

#movementPanel {
  border-top-color: #fffd00;
}

.news-panel {
  border-top: 4px solid #ff6d00;
}

.odds-row,
.prediction-row,
.movement-card,
.movement-row {
  border-color: rgba(15, 18, 29, 0.1);
  background: #ffffff;
}

.prediction-row.primary {
  border-color: rgba(0, 230, 118, 0.3);
  background: linear-gradient(135deg, #edfff6, #ecfeff);
  box-shadow: inset 0 0 0 1px rgba(0, 230, 118, 0.12);
}

.prediction-row.primary .prediction-value strong {
  color: #008f5a;
}

.bar-fill {
  background: linear-gradient(90deg, #00e676, #00b0ff);
}

.bar-fill.gold {
  background: linear-gradient(90deg, #fffd00, #ff6d00);
}

.bar-fill.blue {
  background: linear-gradient(90deg, #00b0ff, #7c3aed);
}

.movement-card-wide {
  border-color: rgba(255, 109, 0, 0.16);
  background: linear-gradient(135deg, #ffffff, #fff8ed);
}

.detail-news-panel {
  border: 1px solid rgba(15, 18, 29, 0.08);
  border-radius: var(--radius);
  background: linear-gradient(135deg, #ffffff, #f7fbff 50%, #fffaf0);
}

.news-info-card {
  border-color: rgba(15, 18, 29, 0.08);
  box-shadow: 0 10px 22px rgba(15, 18, 29, 0.04);
}

.news-info-card:first-child {
  border-top: 3px solid #00b0ff;
}

.news-info-card:nth-child(2) {
  border-top: 3px solid #ff6d00;
}

.news-info-card:nth-child(3) {
  border-top: 3px solid #e84d8a;
}

@media (max-width: 720px) {
  body {
    background:
      linear-gradient(180deg, rgba(15, 18, 29, 0.08), transparent 310px),
      repeating-linear-gradient(90deg, rgba(0, 230, 118, 0.03) 0 1px, transparent 1px 48px),
      #f4f6f3;
  }

  .brand-block {
    background: linear-gradient(135deg, #0f121d, #1c2234);
  }

  .scoreboard {
    min-height: 232px;
  }

  .forecast-board {
    border-top: 1px solid rgba(0, 230, 118, 0.18);
  }

  .headline-card.score strong {
    font-size: 38px;
  }

  .headline-card.pick strong {
    font-size: 22px;
  }

  .calendar-game.active,
  .calendar-game:hover {
    border-left-color: #00e676;
    background: #f7fffb;
  }
}


/* V25 homepage simplification */
.mobile-hero-card {
  grid-template-columns: 1fr;
  min-height: 0;
}

.mobile-hero-card .hero-art {
  display: block;
  min-height: 0;
  aspect-ratio: 16 / 9;
}

.brand-mark {
  font-size: 19px;
  letter-spacing: 0;
}

@media (max-width: 720px) {
  .mobile-hero-card {
    margin-top: 14px;
  }

  .mobile-hero-card .hero-art {
    aspect-ratio: 16 / 9;
    max-height: 300px;
  }
}


/* V26 detail simplification: remove bulky match header */
.hero-inner.compact-detail {
  display: block;
  background: linear-gradient(180deg, #0f121d, #141824);
}

.hero-inner.compact-detail .forecast-board {
  border-left: 0;
  padding: 16px;
}

.match-context-strip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.055);
}

.match-context-strip span {
  color: #00e676;
  font-size: 12px;
  font-weight: 900;
}

.match-context-strip strong {
  color: #ffffff;
  font-size: 16px;
  font-weight: 900;
}

.match-context-strip em {
  color: rgba(248, 250, 252, 0.72);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

@media (max-width: 720px) {
  .hero-inner.compact-detail .forecast-board {
    padding: 13px;
  }

  .match-context-strip {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .match-context-strip strong {
    font-size: 18px;
  }
}

/* V27 clarity pass: explain terms, reduce repeated numbers, and separate primary vs secondary predictions */
.support-metrics.compact-metrics {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.support-metrics.compact-metrics > div {
  min-height: 0;
  padding: 8px 9px;
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.045);
}

.support-metrics.compact-metrics span {
  font-size: 11px;
}

.support-metrics.compact-metrics strong {
  margin-top: 3px;
  font-size: 16px;
}

.support-metrics.compact-metrics small {
  display: block;
  margin-top: 3px;
  color: rgba(248, 250, 252, 0.56);
  font-size: 10px;
  font-weight: 800;
}

.odds-row.market-prob-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 12px;
  min-height: 0;
  padding: 12px;
}

.market-prob-row .market-label strong {
  margin-bottom: 4px;
  font-size: 16px;
}

.market-prob-row .market-label span {
  font-size: 11px;
}

.market-prob-row .odds-number strong {
  color: #1f77b4;
  font-size: 24px;
  line-height: 1;
}

.market-prob-row .bar-track {
  grid-column: 1 / -1;
  width: 100%;
  min-width: 0;
  height: 6px;
}

.prediction-row.secondary {
  min-height: 0;
  padding: 6px 10px;
  gap: 8px;
  align-items: center;
  border-color: rgba(15, 18, 29, 0.08);
  background: #ffffff;
  border-radius: 12px;
}

.prediction-row.secondary .prediction-label strong {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.1;
}

.prediction-row.secondary .prediction-label span {
  display: none;
}

.prediction-row.secondary .prediction-value strong {
  color: var(--ink);
  font-size: 19px;
  line-height: 1;
}

.prediction-row.secondary .prediction-value span {
  font-size: 10px;
  line-height: 1.1;
}

.prediction-row.bold-prediction {
  min-height: 0;
  padding: 8px 10px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-color: rgba(255, 109, 0, 0.32);
  background: linear-gradient(135deg, #fff7ed 0%, #fff1f2 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 109, 0, 0.08);
}

.prediction-row.bold-prediction .prediction-label strong {
  color: #c2410c;
  font-size: 14px;
  line-height: 1.1;
}

.prediction-row.bold-prediction .prediction-label span {
  max-width: 560px;
  color: #854d0e;
  font-size: 11px;
  line-height: 1.2;
  white-space: normal;
}

.prediction-row.bold-prediction .prediction-value strong {
  color: #ff6d00;
  font-size: 20px;
  line-height: 1;
}

.prediction-row.bold-prediction .prediction-value span {
  color: #9a3412;
  font-size: 10px;
  line-height: 1.1;
}

.movement-card {
  min-height: 0;
}

.movement-row.compact-change {
  align-items: flex-start;
  margin-top: 8px;
}

.movement-row.compact-change .movement-label strong {
  font-size: 18px;
}

.movement-bar {
  width: 100%;
  min-width: 0;
  height: 6px;
  margin-top: 12px;
}

#movementPanel .panel-heading h2 {
  letter-spacing: 0;
}

@media (max-width: 720px) {
  .support-metrics.compact-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .support-metrics.compact-metrics > div {
    display: block;
    padding: 7px;
  }

  .support-metrics.compact-metrics strong {
    font-size: 14px;
  }

  .support-metrics.compact-metrics small {
    font-size: 9px;
  }

  .odds-row.market-prob-row {
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 11px 12px;
  }

  .market-prob-row .odds-number strong {
    font-size: 22px;
  }

  .prediction-row.secondary {
    padding: 6px 10px;
  }

  .score-combo-row,
  .outcome-combo-row {
    min-height: 96px;
    padding: 12px;
  }

  .score-backups,
  .outcome-backups {
    gap: 5px;
    padding: 5px;
  }

  .score-backups em,
  .outcome-backups em {
    padding: 5px 6px;
  }

  .score-backups em strong,
  .outcome-backups em strong {
    font-size: 15px;
  }

  .prediction-row.bold-prediction {
    padding: 7px 10px;
    gap: 8px;
  }

  .prediction-row.bold-prediction .prediction-value {
    text-align: right;
  }
}

/* V28 rolling mode: completed matches and AI review */
.calendar-game.completed {
  border-left-color: #ff6d00;
  background: linear-gradient(90deg, rgba(255, 109, 0, 0.08), #ffffff 62%);
}

.calendar-game.completed .calendar-time {
  color: #b45309;
  background: #fff7ed;
}

.calendar-pick.finished {
  border-color: rgba(255, 109, 0, 0.24);
  background: linear-gradient(135deg, #fff7ed, #fffaf0);
  color: #9a3412;
}

.calendar-pick.finished strong {
  color: #9a3412;
}

.calendar-game.awaiting-result {
  border-left-color: #f59e0b;
  background: linear-gradient(90deg, rgba(245, 158, 11, 0.08), #ffffff 62%);
}

.calendar-game.awaiting-result .calendar-time {
  color: #92400e;
  background: #fffbeb;
}

.calendar-pick.awaiting {
  border: 1px solid rgba(245, 158, 11, 0.28);
  background: linear-gradient(135deg, #fffbeb, #fff7ed);
  color: #92400e;
}

.calendar-pick.awaiting strong {
  color: #92400e;
}

.match-card.completed {
  border-color: rgba(255, 109, 0, 0.24);
  background: linear-gradient(135deg, #fffaf0, #ffffff);
}

.match-card.awaiting-result {
  border-color: rgba(245, 158, 11, 0.24);
  background: linear-gradient(135deg, #fffbeb, #ffffff);
}

.completed-detail .headline-card.result-card {
  border-color: rgba(255, 109, 0, 0.3);
  background: linear-gradient(135deg, rgba(255, 214, 0, 0.15), rgba(255, 109, 0, 0.13));
}

.completed-detail .headline-card.review-card {
  border-color: rgba(0, 230, 118, 0.34);
  background: linear-gradient(135deg, rgba(0, 230, 118, 0.17), rgba(0, 176, 255, 0.12));
}

.completed-detail .headline-card.result-card strong {
  color: #fffd00;
}

.completed-detail .headline-card.review-card strong {
  color: #00e676;
}

.result-review-row {
  border-color: rgba(255, 109, 0, 0.28);
  background: linear-gradient(135deg, #fff7ed, #fffaf0);
}

.result-review-row .prediction-value strong {
  color: #c2410c;
}

.review-summary-row {
  align-items: flex-start;
}

.review-summary-row .prediction-label span {
  display: block;
  max-width: 520px;
  color: rgba(18, 35, 31, 0.78);
  line-height: 1.45;
  white-space: normal;
}

@media (max-width: 720px) {
  .review-summary-row {
    grid-template-columns: 1fr;
  }

  .review-summary-row .prediction-value {
    text-align: left;
  }
}

.compliance-note {
  display: grid;
  gap: 6px;
  margin: 0 auto 12px;
  max-width: 1060px;
  padding: 14px 16px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 14px;
  color: #55615f;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
}

.compliance-note strong {
  color: #0b6b60;
  font-size: 13px;
}

.compliance-note span {
  font-size: 12px;
  line-height: 1.55;
}

.site-footer {
  display: flex;
  justify-content: center;
  margin: 0 auto 88px;
  max-width: 1060px;
  padding: 0 16px;
  color: rgba(85, 97, 95, 0.86);
  font-size: 12px;
  line-height: 1.5;
}

.site-footer a {
  color: inherit;
  text-decoration: none;
}

.site-footer a:hover {
  color: #0b6b60;
  text-decoration: underline;
}

/* V35 compact bold-score card */
.prediction-row.bold-prediction {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  min-height: 84px;
  padding: 13px 14px;
  gap: 8px 14px;
  border-radius: 14px;
  border-color: rgba(255, 109, 0, 0.28);
  background:
    linear-gradient(135deg, rgba(255, 247, 237, 0.96), rgba(255, 241, 242, 0.9)),
    #fff7ed;
  box-shadow: inset 0 0 0 1px rgba(255, 109, 0, 0.07);
}

.prediction-row.bold-prediction .prediction-label strong {
  margin-bottom: 6px;
  color: #c2410c;
  font-size: 18px;
  line-height: 1.12;
}

.prediction-row.bold-prediction .prediction-label span {
  display: block;
  max-width: 100%;
  color: #8a4b0b;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.3;
}

.prediction-row.bold-prediction .prediction-value {
  min-width: 86px;
  text-align: right;
}

.prediction-row.bold-prediction .prediction-value strong {
  color: #ff6d00;
  font-size: 32px;
  line-height: 0.95;
}

.prediction-row.bold-prediction .prediction-value span {
  display: block;
  margin-top: 6px;
  color: #9a3412;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.12;
}

@media (max-width: 720px) {
  .prediction-row.bold-prediction {
    min-height: 74px;
    padding: 11px 12px;
    gap: 6px 10px;
  }

  .prediction-row.bold-prediction .prediction-label strong {
    font-size: 17px;
  }

  .prediction-row.bold-prediction .prediction-label span {
    font-size: 11px;
  }

  .prediction-row.bold-prediction .prediction-value strong {
    font-size: 29px;
  }
}
