:root {
  color-scheme: light;
  --ink: #101820;
  --ink-soft: #23303b;
  --muted: #66727c;
  --paper: #f7f3e8;
  --panel: rgba(255, 255, 255, 0.94);
  --line: rgba(18, 31, 42, 0.14);
  --pitch: #0d6b3c;
  --pitch-dark: #063b27;
  --gold: #d6a648;
  --red: #c24032;
  --blue: #1c6fae;
  --green: #15855d;
  --shadow: 0 18px 40px rgba(8, 18, 25, 0.18);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 50% 0, rgba(248, 214, 111, 0.18), transparent 28%),
    linear-gradient(180deg, #06110c 0, #0f281b 360px, #eef1ec 820px),
    var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button,
select,
input,
textarea,
a {
  font: inherit;
}

button,
.ghost {
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--ink);
  border-radius: 7px;
  min-height: 36px;
  padding: 0 12px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

button:hover,
.ghost:hover {
  border-color: rgba(214, 166, 72, 0.8);
}

.icon-btn {
  width: 36px;
  padding: 0;
}

.hero {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  color: #fff;
  background-image: url("/assets/stadium-night.png");
  background-size: cover;
  background-position: center;
  isolation: isolate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 230px;
  background:
    linear-gradient(0deg, rgba(9, 29, 20, 0.98), rgba(9, 29, 20, 0.05)),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.11) 0 2px, transparent 2px 92px);
  pointer-events: none;
  z-index: 1;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 49.8%, rgba(255, 255, 255, 0.22) 50%, rgba(255, 255, 255, 0.06) 50.2%),
    repeating-linear-gradient(90deg, transparent 0 9.4%, rgba(255, 255, 255, 0.08) 9.4% 9.7%, transparent 9.7% 18.8%);
  mix-blend-mode: screen;
  opacity: 0.48;
  pointer-events: none;
  z-index: 1;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 74% 13%, rgba(255, 231, 154, 0.34), transparent 23%),
    radial-gradient(circle at 38% 58%, rgba(19, 128, 78, 0.38), transparent 36%),
    linear-gradient(90deg, rgba(3, 10, 14, 0.9) 0%, rgba(5, 18, 23, 0.7) 43%, rgba(8, 24, 27, 0.3) 100%);
  z-index: 0;
}

.topbar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px 0;
  gap: 18px;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ball-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.78);
  border-radius: 50%;
  background: radial-gradient(circle, #fff 0 19%, #111 20% 26%, #fff 27% 100%);
  color: transparent;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.08);
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  font-size: 28px;
  line-height: 1;
  letter-spacing: 0;
}

.topbar p {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.top-actions,
.button-row,
.review-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.top-actions .ghost,
.top-actions button {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  border-radius: 999px;
  border: 1px solid var(--line);
  padding: 0 8px;
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

.top-actions .chip,
.hero .chip {
  color: rgba(255, 255, 255, 0.86);
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.12);
}

.chip.good {
  color: #d8fff0;
  border-color: rgba(99, 229, 169, 0.5);
}

.chip.bad {
  color: #ffe0a3;
  border-color: rgba(255, 207, 114, 0.55);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: 18px;
  max-width: 1220px;
  margin: 82px auto 0;
  padding: 0 28px 88px;
}

.call-card,
.ticket-card {
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(8, 31, 23, 0.84), rgba(7, 20, 22, 0.62)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 74px);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.call-card {
  padding: 28px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #f2c55a;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  font-weight: 800;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}

.eyebrow.dark {
  color: #0b7b4a;
}

.call-card h2 {
  margin-top: 12px;
  max-width: 820px;
  font-size: clamp(38px, 6vw, 78px);
  line-height: 0.95;
  letter-spacing: 0;
}

.call-card p {
  max-width: 760px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 17px;
  line-height: 1.55;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 24px;
}

.hero-stat {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.1);
}

.hero-stat strong {
  display: block;
  font-size: 28px;
  line-height: 1.05;
}

.hero-stat span {
  display: block;
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
}

.ticket-card {
  min-height: 340px;
  padding: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 243, 229, 0.96)),
    repeating-linear-gradient(0deg, transparent 0 34px, rgba(12, 112, 66, 0.08) 34px 36px);
  color: var(--ink);
  position: relative;
}

.ticket-card::before,
.ticket-card::after {
  content: "";
  position: absolute;
  top: 70px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(9, 29, 20, 0.98);
}

.ticket-card::before {
  left: -9px;
}

.ticket-card::after {
  right: -9px;
}

.ticket-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-bottom: 1px dashed rgba(18, 31, 42, 0.24);
  padding-bottom: 14px;
}

.ticket-top strong {
  color: var(--red);
  font-size: 22px;
  letter-spacing: 0;
}

.ticket-main {
  padding: 18px 0;
}

.ticket-main strong {
  display: block;
  font-size: 30px;
  line-height: 1.05;
}

.ticket-main span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.45;
}

.ticket-line {
  border-top: 1px dashed rgba(18, 31, 42, 0.24);
  padding: 12px 0 0;
  margin-top: 12px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.45;
}

.page-shell {
  position: relative;
  z-index: 3;
  max-width: 1220px;
  margin: -62px auto 0;
  padding: 0 28px 34px;
}

.matchday-section,
.analysis-panel,
.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.matchday-section {
  padding: 18px;
}

.section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.section-title.compact {
  align-items: start;
}

.section-title h2,
.section-head h2 {
  font-size: 20px;
  line-height: 1.15;
}

.date-strip {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 10px;
  margin-bottom: 12px;
}

.date-pill {
  min-width: 78px;
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fbfcfd;
  cursor: pointer;
  color: var(--muted);
}

.date-pill.active {
  color: #fff;
  background: var(--pitch-dark);
  border-color: var(--pitch-dark);
}

.candidate-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.candidate-card {
  position: relative;
  min-height: 310px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.96), rgba(255,255,255,0.9)),
    repeating-linear-gradient(90deg, rgba(13,107,60,0.08) 0 24px, rgba(255,255,255,0.08) 24px 48px);
}

.candidate-card.selected {
  border-color: rgba(214, 166, 72, 0.9);
  box-shadow: inset 0 0 0 2px rgba(214, 166, 72, 0.22);
}

.candidate-top {
  padding: 12px;
  color: #fff;
  background: linear-gradient(135deg, var(--pitch-dark), var(--pitch));
}

.candidate-top h3 {
  font-size: 18px;
  line-height: 1.2;
}

.candidate-top span {
  display: block;
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
}

.candidate-body {
  padding: 12px;
}

.candidate-bet {
  font-size: 14px;
  font-weight: 780;
}

.candidate-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin: 12px 0;
}

.metric {
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 8px;
  background: #fff;
}

.metric strong {
  display: block;
  font-size: 18px;
}

.metric span {
  color: var(--muted);
  font-size: 11px;
}

.candidate-card p {
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.45;
}

.reject {
  margin-top: 10px;
  color: var(--red);
  font-weight: 700;
}

.analysis-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: 14px;
  margin-top: 14px;
}

.analysis-panel {
  padding: 16px;
}

.factor-network {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  position: relative;
}

.factor-node {
  min-height: 132px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background:
    linear-gradient(180deg, #fff, #f8fbf7);
}

.factor-node strong {
  display: block;
  font-size: 15px;
}

.factor-node span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.factor-node.positive {
  border-left: 5px solid var(--green);
}

.factor-node.negative {
  border-left: 5px solid var(--red);
}

.factor-node.neutral {
  border-left: 5px solid var(--gold);
}

.method-list {
  display: grid;
  gap: 10px;
}

.method-item {
  border-left: 4px solid var(--pitch);
  padding: 8px 0 8px 10px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.45;
}

.method-item strong {
  color: var(--ink);
}

.evidence-panel {
  margin-top: 14px;
}

.source-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.source-list a {
  display: block;
  min-height: 54px;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 10px;
  color: var(--ink);
  background: #fff;
  text-decoration: none;
  font-size: 13px;
  line-height: 1.35;
}

.source-list span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
}

.ops-grid {
  display: grid;
  grid-template-columns: minmax(230px, 0.75fr) minmax(420px, 1.25fr) minmax(300px, 1fr);
  gap: 14px;
  margin-top: 14px;
}

.workbench {
  display: grid;
  grid-template-columns: minmax(520px, 1.5fr) minmax(320px, 1fr) minmax(320px, 1fr);
  gap: 14px;
  margin-top: 14px;
}

.panel {
  padding: 14px;
  min-width: 0;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.leaderboard {
  display: grid;
  gap: 10px;
}

.model-card {
  border: 1px solid var(--line);
  border-left: 5px solid var(--blue);
  border-radius: 8px;
  padding: 10px;
  background: #fbfcfd;
}

.model-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.model-name {
  font-weight: 750;
}

.model-provider {
  color: var(--muted);
  font-size: 12px;
}

.model-money {
  font-size: 23px;
  line-height: 1.1;
  margin-top: 8px;
}

.mini-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-top: 10px;
}

.mini-stats span {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 6px;
  font-size: 12px;
  color: var(--muted);
}

.mini-stats strong {
  display: block;
  color: var(--ink);
  font-size: 13px;
}

.slate {
  display: grid;
  gap: 10px;
}

.fixture-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  overflow: hidden;
}

.fixture-main {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  padding: 12px;
}

.fixture-title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-weight: 760;
}

.fixture-meta {
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
}

.risk-meter {
  min-width: 112px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 3px;
  align-self: center;
}

.risk-meter span {
  height: 30px;
  border-radius: 4px;
  background: #e6ebf1;
}

.risk-meter span:nth-child(1) { background: var(--blue); }
.risk-meter span:nth-child(2) { background: var(--green); }
.risk-meter span:nth-child(3) { background: var(--gold); }
.risk-meter span:nth-child(4) { background: var(--red); }
.risk-meter span:nth-child(5) { background: #7b3fb3; }

.context-list {
  border-top: 1px solid var(--line);
  padding: 10px 12px;
  color: var(--muted);
  font-size: 12px;
}

.context-list div + div {
  margin-top: 5px;
}

.tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-bottom: 12px;
}

.tab {
  color: var(--muted);
}

.tab.active {
  background: var(--pitch-dark);
  border-color: var(--pitch-dark);
  color: #fff;
}

.tab-body {
  display: none;
}

.tab-body.active {
  display: block;
}

.label,
label {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: 12px;
}

select,
input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #ffffff;
  color: var(--ink);
  min-height: 36px;
  padding: 8px 10px;
}

textarea {
  min-height: 252px;
  resize: vertical;
  line-height: 1.45;
}

.short-textarea {
  min-height: 82px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.controls-panel select,
.controls-panel input,
.controls-panel textarea,
.controls-panel button {
  margin-bottom: 10px;
}

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

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

th,
td {
  text-align: left;
  border-bottom: 1px solid var(--line);
  padding: 9px 8px;
  font-size: 13px;
  vertical-align: top;
}

th {
  color: var(--muted);
  font-weight: 650;
  background: #fbfcfd;
}

.status {
  font-weight: 700;
}

.status.won,
.profit.positive {
  color: var(--green);
}

.status.lost,
.profit.negative {
  color: var(--red);
}

.status.open {
  color: var(--blue);
}

.profit {
  font-weight: 740;
}

.settle-grid {
  display: grid;
  grid-template-columns: 1fr 78px 78px auto;
  gap: 10px;
  align-items: end;
  margin-bottom: 10px;
}

.reviews {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

.review-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  background: #fbfcfd;
  color: var(--muted);
  font-size: 13px;
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  max-width: 420px;
  background: var(--ink);
  color: #fff;
  border-radius: 8px;
  padding: 12px 14px;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 10;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1180px) {
  .hero-grid,
  .analysis-layout,
  .ops-grid,
  .workbench {
    grid-template-columns: 1fr;
  }

  .candidate-grid,
  .factor-network,
  .source-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  textarea {
    min-height: 180px;
  }
}

@media (max-width: 720px) {
  .topbar {
    align-items: flex-start;
    padding: 16px 14px 0;
  }

  .hero {
    min-height: 760px;
  }

  .hero-grid {
    padding: 0 14px 90px;
    margin-top: 42px;
  }

  .call-card,
  .ticket-card,
  .matchday-section,
  .analysis-panel,
  .panel {
    padding: 12px;
  }

  .call-card h2 {
    font-size: 40px;
  }

  .hero-stats,
  .candidate-grid,
  .factor-network,
  .source-list,
  .fixture-main,
  .settle-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .page-shell {
    margin-top: -46px;
    padding-left: 14px;
    padding-right: 14px;
  }

  .top-actions {
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .risk-meter {
    width: 100%;
  }
}

/* Stadium refresh */
:root {
  --ink: #10130f;
  --ink-soft: #2f352f;
  --muted: #687068;
  --paper: #edf3e7;
  --panel: rgba(255, 255, 250, 0.95);
  --line: rgba(20, 38, 25, 0.15);
  --pitch: #147545;
  --pitch-dark: #06371f;
  --pitch-light: #35a96b;
  --gold: #f0c95a;
  --red: #d84335;
  --blue: #216bb6;
  --green: #168a55;
  --shadow: 0 22px 55px rgba(8, 21, 14, 0.2);
}

body {
  background:
    linear-gradient(180deg, #06150d 0, #12391f 420px, #eaf1e7 900px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 84px);
}

button,
.ghost,
select,
input,
textarea {
  border-radius: 6px;
}

.hero {
  min-height: 700px;
  background-position: center bottom;
}

.hero::before {
  background:
    linear-gradient(90deg, transparent 0 49.7%, rgba(255, 255, 255, 0.28) 49.7% 50.3%, transparent 50.3%),
    repeating-linear-gradient(90deg, transparent 0 9.6%, rgba(255, 255, 255, 0.11) 9.6% 9.85%, transparent 9.85% 19.2%),
    radial-gradient(ellipse at 50% 104%, transparent 0 21%, rgba(255, 255, 255, 0.22) 21.3% 21.8%, transparent 22.1%);
  opacity: 0.58;
}

.hero-shade {
  background:
    linear-gradient(180deg, rgba(0, 5, 7, 0.28) 0, rgba(0, 5, 7, 0.08) 36%, rgba(4, 20, 12, 0.8) 100%),
    linear-gradient(90deg, rgba(2, 8, 8, 0.9), rgba(5, 20, 15, 0.62) 48%, rgba(5, 20, 15, 0.22));
}

.topbar {
  max-width: 1280px;
  margin: 0 auto;
}

.brand-lockup {
  min-width: 0;
}

.ball-mark {
  width: 42px;
  height: 42px;
  border-color: rgba(255, 255, 255, 0.88);
  box-shadow:
    0 0 0 5px rgba(20, 117, 69, 0.34),
    0 0 34px rgba(240, 201, 90, 0.42);
}

h1 {
  font-size: 31px;
  text-transform: uppercase;
}

.topbar p {
  color: rgba(255, 255, 255, 0.82);
}

.hero-grid {
  grid-template-columns: minmax(0, 1.2fr) minmax(330px, 0.52fr);
  margin-top: 74px;
}

.call-card,
.ticket-card,
.matchday-section,
.analysis-panel,
.panel {
  border-radius: 8px;
}

.scoreboard-card {
  position: relative;
  overflow: hidden;
  border-color: rgba(240, 201, 90, 0.38);
  background:
    linear-gradient(180deg, rgba(3, 24, 16, 0.88), rgba(5, 33, 20, 0.72)),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 7px);
}

.scoreboard-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  pointer-events: none;
}

.call-card h2 {
  max-width: 880px;
  color: #fff7d4;
  font-size: clamp(48px, 7.4vw, 94px);
  text-shadow:
    0 3px 0 rgba(0, 0, 0, 0.2),
    0 0 22px rgba(240, 201, 90, 0.28);
}

.call-card p {
  max-width: 860px;
  color: rgba(255, 255, 255, 0.88);
}

.hero-stat {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.06));
  border-color: rgba(255, 255, 255, 0.2);
}

.hero-stat strong {
  color: #fff7d4;
}

.ticket-card {
  color: #111810;
  border-color: rgba(240, 201, 90, 0.6);
  background:
    linear-gradient(180deg, rgba(255, 252, 238, 0.98), rgba(235, 245, 226, 0.97)),
    repeating-linear-gradient(90deg, rgba(20, 117, 69, 0.12) 0 18px, rgba(255, 255, 255, 0.1) 18px 36px);
}

.ticket-top {
  color: #5a5f52;
}

.ticket-top strong {
  color: var(--red);
}

.ticket-main strong {
  color: var(--pitch-dark);
  font-size: 32px;
}

.page-shell {
  max-width: 1280px;
  margin-top: -84px;
}

.matchday-section,
.analysis-panel,
.panel {
  background:
    linear-gradient(180deg, rgba(255, 255, 248, 0.97), rgba(243, 249, 238, 0.95));
  border-color: rgba(20, 58, 31, 0.16);
}

.pitch-board {
  position: relative;
  overflow: hidden;
}

.pitch-board::before {
  content: "";
  position: absolute;
  inset: 58px 18px 18px;
  border: 1px solid rgba(20, 117, 69, 0.13);
  background:
    linear-gradient(90deg, transparent 0 49.8%, rgba(20, 117, 69, 0.16) 49.8% 50.2%, transparent 50.2%),
    repeating-linear-gradient(90deg, rgba(20, 117, 69, 0.06) 0 54px, rgba(255, 255, 255, 0.08) 54px 108px);
  pointer-events: none;
}

.pitch-board > * {
  position: relative;
}

.section-title h2,
.section-head h2 {
  font-size: 22px;
}

.date-pill.active {
  background: linear-gradient(135deg, var(--pitch-dark), var(--pitch));
}

.candidate-grid {
  gap: 14px;
}

.candidate-card {
  min-height: 326px;
  border-color: rgba(15, 62, 31, 0.18);
  background:
    linear-gradient(180deg, rgba(255, 255, 250, 0.96), rgba(243, 249, 238, 0.92));
}

.candidate-card.selected {
  border-color: rgba(240, 201, 90, 0.95);
  box-shadow:
    inset 0 0 0 2px rgba(240, 201, 90, 0.24),
    0 16px 32px rgba(20, 67, 38, 0.18);
}

.candidate-top {
  background:
    linear-gradient(135deg, rgba(4, 55, 31, 0.96), rgba(19, 117, 69, 0.95)),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.08) 0 1px, transparent 1px 16px);
}

.candidate-card.selected .candidate-top {
  background:
    linear-gradient(135deg, #6c1110, #d84335 48%, #f0c95a 120%);
}

.candidate-bet {
  color: var(--pitch-dark);
  font-size: 15px;
}

.metric {
  background: rgba(255, 255, 255, 0.82);
}

.reject {
  color: var(--pitch-dark);
}

.candidate-card.selected .reject {
  color: var(--red);
}

.factor-node,
.method-item,
.source-list a,
.model-card,
.fixture-card,
.review-card {
  background: rgba(255, 255, 255, 0.78);
}

.factor-node {
  min-height: 142px;
}

.method-item {
  border-left-color: var(--red);
  border-radius: 0 6px 6px 0;
  padding: 10px 10px 10px 12px;
}

.source-list a:hover {
  border-color: rgba(216, 67, 53, 0.45);
}

.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(420px, 1.05fr);
  gap: 14px;
  margin-top: 14px;
}

.picks-panel,
.review-panel {
  grid-column: span 1;
}

.model-card {
  border-left-width: 6px;
  background:
    linear-gradient(180deg, #ffffff, #f3faee);
}

.model-name {
  font-size: 18px;
}

.model-money {
  color: var(--pitch-dark);
  font-size: 36px;
  font-weight: 850;
}

.mini-stats span {
  background: #fff;
}

.fixture-card {
  background:
    linear-gradient(180deg, #ffffff, #f7fbf3);
}

.risk-meter span {
  height: 24px;
}

table {
  min-width: 760px;
}

th {
  background: #eef6e8;
}

@media (max-width: 1180px) {
  .hero-grid,
  .analysis-layout,
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .topbar {
    gap: 12px;
  }

  .top-actions {
    justify-content: flex-start;
  }

  h1 {
    font-size: 24px;
  }

  .hero {
    min-height: 900px;
  }

  .call-card h2 {
    font-size: 44px;
    line-height: 0.98;
  }

  .ticket-main strong {
    font-size: 26px;
  }

  .page-shell {
    margin-top: -58px;
  }
}

/* Chinese broadcast redesign */
body {
  background:
    radial-gradient(circle at 50% -8%, rgba(255, 215, 91, 0.34), transparent 23%),
    linear-gradient(180deg, #030a09 0, #082018 360px, #0d3b25 650px, #e8f0e3 940px);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", Inter, ui-sans-serif, system-ui, sans-serif;
}

.hero {
  min-height: 735px;
  background-position: center bottom;
}

.hero::before {
  background:
    linear-gradient(90deg, transparent 0 49.65%, rgba(255, 255, 255, 0.35) 49.65% 50.35%, transparent 50.35%),
    radial-gradient(ellipse at 50% 98%, transparent 0 18%, rgba(255, 255, 255, 0.28) 18.4% 19%, transparent 19.4%),
    repeating-linear-gradient(90deg, transparent 0 9.7%, rgba(255, 255, 255, 0.13) 9.7% 10%, transparent 10% 19.4%);
  opacity: 0.64;
}

.hero-shade {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.16), rgba(4, 16, 12, 0.78)),
    linear-gradient(90deg, rgba(0, 7, 8, 0.94), rgba(4, 30, 22, 0.75) 44%, rgba(4, 30, 22, 0.22)),
    radial-gradient(circle at 80% 14%, rgba(255, 210, 84, 0.42), transparent 24%);
}

.topbar {
  padding-top: 24px;
}

.brand-lockup {
  align-items: center;
}

.ball-mark {
  width: 46px;
  height: 46px;
  background:
    radial-gradient(circle at 50% 50%, #ffffff 0 18%, #07130d 19% 26%, #ffffff 27% 46%, #111 47% 52%, #ffffff 53%);
  box-shadow:
    0 0 0 5px rgba(255, 255, 255, 0.1),
    0 0 0 9px rgba(216, 67, 53, 0.28),
    0 0 38px rgba(255, 215, 91, 0.6);
}

h1 {
  font-size: 34px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.topbar p {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 650;
}

.top-actions .chip,
.top-actions .ghost,
.top-actions button {
  min-height: 34px;
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(5, 20, 16, 0.48);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.hero-grid {
  grid-template-columns: minmax(0, 1.18fr) minmax(350px, 0.48fr);
  gap: 20px;
  max-width: 1290px;
  margin-top: 72px;
}

.scoreboard-card {
  min-height: 430px;
  padding: 34px;
  border-color: rgba(255, 215, 91, 0.58);
  background:
    linear-gradient(180deg, rgba(1, 18, 14, 0.95), rgba(6, 43, 28, 0.84)),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.07) 0 1px, transparent 1px 8px);
  box-shadow:
    0 26px 70px rgba(0, 0, 0, 0.34),
    inset 0 0 0 1px rgba(255, 255, 255, 0.09),
    inset 0 0 80px rgba(255, 215, 91, 0.07);
}

.scoreboard-card::before {
  content: "爆冷主屏";
  position: absolute;
  right: 24px;
  top: 22px;
  color: rgba(255, 255, 255, 0.32);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.2em;
  writing-mode: vertical-rl;
}

.eyebrow {
  color: #ffd95b;
  text-transform: none;
  letter-spacing: 0.12em;
  font-size: 13px;
}

.call-card h2 {
  max-width: 920px;
  margin-top: 20px;
  color: #fff4c2;
  font-size: clamp(50px, 6.2vw, 88px);
  font-weight: 950;
  line-height: 0.92;
  word-break: keep-all;
  overflow-wrap: normal;
  text-shadow:
    0 4px 0 rgba(0, 0, 0, 0.36),
    0 0 28px rgba(255, 215, 91, 0.3);
}

.call-card p {
  max-width: 900px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
  font-weight: 560;
  line-height: 1.72;
}

.hero-stats {
  margin-top: 28px;
  gap: 12px;
}

.hero-stat {
  min-height: 84px;
  padding: 14px;
  border-color: rgba(255, 215, 91, 0.22);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.05));
}

.hero-stat strong {
  color: #ffd95b;
  font-size: 34px;
}

.hero-stat span {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
}

.ticket-card {
  min-height: 430px;
  padding: 22px;
  border: 1px solid rgba(255, 215, 91, 0.72);
  background:
    linear-gradient(180deg, rgba(255, 250, 225, 0.98), rgba(236, 245, 226, 0.96)),
    repeating-linear-gradient(135deg, rgba(20, 117, 69, 0.09) 0 14px, rgba(255, 255, 255, 0.06) 14px 28px);
  box-shadow:
    0 24px 58px rgba(0, 0, 0, 0.28),
    inset 0 0 0 1px rgba(255, 255, 255, 0.55);
}

.ticket-top {
  color: #5c5a49;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.ticket-top strong {
  color: #d84335;
  font-size: 28px;
}

.ticket-main strong {
  color: #06371f;
  font-size: 36px;
  font-weight: 950;
}

.ticket-main span,
.ticket-line {
  color: #374136;
  font-weight: 560;
}

.page-shell {
  max-width: 1290px;
  margin-top: -76px;
}

.matchday-section,
.analysis-panel,
.panel {
  border-color: rgba(14, 69, 37, 0.18);
  background:
    linear-gradient(180deg, rgba(255, 255, 248, 0.98), rgba(239, 248, 232, 0.96));
  box-shadow: 0 18px 42px rgba(8, 37, 21, 0.15);
}

.section-title h2,
.section-head h2 {
  font-size: 24px;
  font-weight: 900;
}

.section-title > div {
  min-width: 0;
}

#dateSelect {
  flex: 0 0 220px;
  width: 220px;
}

.pitch-board {
  padding: 22px;
}

.pitch-board::before {
  inset: 66px 22px 22px;
  border-color: rgba(20, 117, 69, 0.2);
  background:
    radial-gradient(ellipse at 50% 50%, transparent 0 22%, rgba(20, 117, 69, 0.16) 22.3% 22.9%, transparent 23.2%),
    linear-gradient(90deg, transparent 0 49.8%, rgba(20, 117, 69, 0.18) 49.8% 50.2%, transparent 50.2%),
    repeating-linear-gradient(90deg, rgba(20, 117, 69, 0.08) 0 58px, rgba(255, 255, 255, 0.06) 58px 116px);
}

.date-pill {
  min-width: 86px;
  font-weight: 800;
}

.date-pill.active {
  background: linear-gradient(135deg, #06371f, #14804c 70%, #ffd95b 160%);
}

.candidate-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.candidate-card {
  min-height: 352px;
  background:
    linear-gradient(180deg, rgba(255, 255, 250, 0.94), rgba(239, 248, 232, 0.9));
  box-shadow: 0 12px 26px rgba(15, 56, 32, 0.1);
}

.candidate-card.selected {
  transform: translateY(-4px);
  border-color: rgba(255, 217, 91, 0.98);
  box-shadow:
    0 20px 42px rgba(216, 67, 53, 0.2),
    inset 0 0 0 2px rgba(255, 217, 91, 0.34);
}

.candidate-top {
  min-height: 96px;
  background:
    linear-gradient(135deg, #06371f, #147545),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.1) 0 1px, transparent 1px 20px);
}

.candidate-card.selected .candidate-top {
  background:
    linear-gradient(135deg, #6c1110, #d84335 55%, #ffd95b 145%);
}

.candidate-top h3 {
  font-size: 19px;
  font-weight: 900;
}

.candidate-top span {
  color: rgba(255, 255, 255, 0.84);
  font-weight: 700;
}

.candidate-bet {
  color: #06371f;
  font-size: 17px;
  font-weight: 950;
}

.candidate-metrics {
  gap: 8px;
}

.metric {
  padding: 9px 8px;
  background: rgba(255, 255, 255, 0.86);
}

.metric strong {
  color: #0c4d2d;
}

.candidate-card.selected .metric strong {
  color: #d84335;
}

.reject {
  display: inline-flex;
  margin-top: 12px;
  border-top: 1px solid rgba(14, 69, 37, 0.16);
  padding-top: 10px;
  color: #0c4d2d;
}

.candidate-card.selected .reject {
  color: #d84335;
}

.analysis-layout {
  grid-template-columns: minmax(0, 1.25fr) minmax(330px, 0.75fr);
}

.factor-node {
  min-height: 150px;
  background:
    linear-gradient(180deg, #ffffff, #f3faee);
}

.factor-node strong,
.method-item strong {
  font-weight: 900;
}

.method-item {
  background: linear-gradient(90deg, rgba(216, 67, 53, 0.08), rgba(255, 255, 255, 0.55));
}

.source-list a {
  background: linear-gradient(180deg, #ffffff, #f6fbf2);
  font-weight: 850;
}

.dashboard-grid {
  grid-template-columns: minmax(280px, 0.64fr) minmax(440px, 1.08fr);
  gap: 16px;
}

.model-card {
  border-left-color: #d84335 !important;
  background:
    linear-gradient(135deg, #0b2418, #125436);
  color: #fff;
}

.model-provider,
.model-money,
.mini-stats strong {
  color: #fff4c2;
}

.model-money {
  font-size: 42px;
}

.mini-stats span {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.82);
}

.fixture-card {
  background:
    linear-gradient(180deg, #ffffff, #f5fbef);
}

.risk-meter span {
  height: 22px;
  border-radius: 2px;
}

th {
  color: #39503f;
  background: #e6f2df;
  font-weight: 900;
}

td {
  color: #1f2d22;
}

.review-card {
  background:
    linear-gradient(180deg, #ffffff, #f7fbf3);
  line-height: 1.55;
}

@media (max-width: 1260px) {
  .hero-grid,
  .analysis-layout,
  .dashboard-grid {
    grid-template-columns: 1fr;
  }

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

  .date-strip {
    max-width: 100%;
    overflow-x: auto;
    overscroll-behavior-x: contain;
  }
}

@media (max-width: 720px) {
  .hero {
    min-height: 980px;
  }

  .hero-grid {
    margin-top: 42px;
    gap: 14px;
  }

  h1 {
    font-size: 27px;
  }

  .scoreboard-card {
    min-height: auto;
    padding: 22px;
  }

  .scoreboard-card::before {
    display: none;
  }

  .call-card h2 {
    font-size: 48px;
    word-break: keep-all;
  }

  .call-card p {
    font-size: 15px;
    line-height: 1.62;
  }

  .hero-stats,
  .candidate-grid {
    grid-template-columns: 1fr;
  }

  .section-title {
    align-items: stretch;
    flex-direction: column;
  }

  #dateSelect {
    width: 100%;
    flex-basis: auto;
  }

  .ticket-card {
    min-height: auto;
  }
}
