:root {
  --ink: #082052;
  --paper: #f7fbff;
  --panel: #ffffff;
  --panel-2: #f2f8fc;
  --blue: #073c87;
  --blue-2: #0b5bb4;
  --green: #008248;
  --red: #c1121f;
  --gold: #d99a16;
  --orange: #f59e0b;
  --gray: #8a929d;
  --line: #c9d6e5;
  --muted: #5f6b7a;
  --soft: #edf5ff;
}

/* Betfair volume reference replaces the retired R12.2 odds-tracking display. */
.exchange-volume-chart.is-empty{min-height:210px}.exchange-volume-empty{display:flex;min-height:128px;align-items:center;justify-content:center;flex-direction:column;gap:8px;color:#b9c9d6;text-align:center}.exchange-volume-empty strong{color:#f4f8fc;font-size:15px}.exchange-volume-empty span{color:#91a6ba;font-size:11px}.exchange-volume-note{margin:8px 3px 0;color:#8299ad!important;font-size:10px;line-height:1.6;text-align:center}.r122-tracking-model-note{margin:14px 0 0;padding:10px 12px;border:1px solid #294157;border-radius:9px;background:#0d2033;color:#91a6ba;font-size:11px;line-height:1.6}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Avenir Next", "PingFang SC", "Microsoft YaHei", sans-serif;
  background:
    radial-gradient(circle at 10% 0%, rgba(217, 154, 22, 0.08), transparent 28%),
    linear-gradient(90deg, rgba(7, 60, 135, 0.04) 1px, transparent 1px),
    linear-gradient(rgba(7, 60, 135, 0.04) 1px, transparent 1px),
    var(--paper);
  background-size: 28px 28px;
}

.shell {
  width: min(1480px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 18px 0 56px;
}

.sticky-board {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 0 0 10px;
  background:
    linear-gradient(90deg, rgba(7, 60, 135, 0.06) 1px, transparent 1px),
    linear-gradient(rgba(7, 60, 135, 0.06) 1px, transparent 1px),
    var(--paper);
  background-size: 28px 28px;
  box-shadow: 0 12px 22px rgba(8, 32, 82, 0.08);
}

.hero {
  display: grid;
  grid-template-columns: 1fr 210px;
  gap: 18px;
  align-items: stretch;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  border: 1px solid var(--line);
  border-top: 5px solid var(--blue);
  box-shadow: 0 10px 28px rgba(8, 32, 82, 0.08);
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 4px;
  font-family: Georgia, "Songti SC", serif;
  font-size: 28px;
  line-height: 1;
  color: var(--ink);
}

h2 {
  margin-bottom: 0;
  font-family: Georgia, "Songti SC", serif;
  font-size: 26px;
}

h3 {
  margin-bottom: 12px;
}

.subline {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 13px;
}

.hero-panel {
  display: grid;
  align-content: center;
  gap: 3px;
  padding: 10px 12px;
  background: linear-gradient(135deg, #fff7dc, #f3c862);
  color: var(--ink);
  border: 1px solid #e0b14f;
  border-radius: 6px;
}

.hero-panel span,
.hero-panel small {
  font-weight: 800;
}

.hero-panel strong {
  font-size: 28px;
  line-height: 1;
}

.tabs {
  display: flex;
  gap: 8px;
  margin: 10px 0 0;
  overflow-x: auto;
}

.tab,
.ghost {
  border: 1px solid var(--blue);
  border-radius: 6px;
  background: var(--panel);
  color: var(--ink);
  min-height: 40px;
  padding: 0 18px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 2px 0 rgba(7, 60, 135, 0.15);
}

.tab.active {
  background: var(--blue);
  color: white;
  box-shadow: inset 0 -3px 0 var(--gold);
}

.controls {
  display: flex;
  gap: 12px;
  align-items: end;
  margin-bottom: 18px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: 8px;
}

label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

input,
select {
  height: 40px;
  min-width: 220px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: white;
  color: var(--ink);
  font: inherit;
  font-weight: 700;
}

.sub-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 12px;
}

.sub-tab {
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid var(--blue);
  border-radius: 999px;
  background: white;
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.sub-tab.active {
  background: var(--blue);
  color: white;
  box-shadow: inset 0 -3px 0 var(--gold);
}

.panel {
  display: none;
  padding: 18px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 36px rgba(8, 32, 82, 0.08);
}

.active-panel {
  display: block;
}


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

.pill,
.model-chip,
.result-pill {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border: 1px solid var(--line);
  background: #f7fbff;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
}

.match-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
}

.match-grid.compact {
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
}

.match-card {
  padding: 14px;
  background: white;
  border: 1px solid var(--line);
  border-left: 4px solid var(--blue);
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(8, 32, 82, 0.06);
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.match-card:hover {
  transform: translateY(-2px);
  border-color: var(--blue);
  box-shadow: 0 12px 28px rgba(8, 32, 82, 0.12);
}

.match-card.no-model:hover {
  border-color: var(--gold);
}

.match-card.finished {
  background: linear-gradient(180deg, #ffffff, var(--panel-2));
  border-left-color: var(--green);
}

.match-meta,
.card-foot {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.teams {
  display: grid;
  grid-template-columns: 1fr 70px 1fr;
  align-items: center;
  gap: 8px;
  margin: 16px 0;
  text-align: center;
}

.teams strong {
  font-size: 20px;
}

.teams b {
  padding: 8px 0;
  background: var(--blue);
  color: white;
  font-size: 20px;
  border-radius: 4px;
}

.status-done {
  color: var(--green);
}

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

.day-block {
  margin-bottom: 24px;
}

.day-block h3 {
  display: inline-block;
  margin: 0 0 10px;
  padding: 5px 10px;
  background: var(--blue);
  color: white;
  border-radius: 4px;
}

.trend-wrap {
  max-height: 72vh;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff7dd;
}

.trend-table {
  width: 100%;
  min-width: 1180px;
  border-collapse: collapse;
  font-size: 14px;
  font-weight: 900;
}

.trend-table th,
.trend-table td {
  height: 34px;
  padding: 6px 8px;
  border: 1px solid #d7e2ef;
  text-align: center;
  white-space: nowrap;
}

.trend-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: var(--blue);
  color: white;
}

.trend-table tbody tr:hover td {
  filter: brightness(0.96);
}

.trend-table tbody tr.is-clickable {
  cursor: pointer;
}

.trend-table td:nth-child(n + 6):nth-child(-n + 13) {
  background: #fff5d6;
}

.bucket-cell.active-bucket {
  background: #fff200 !important;
  color: var(--red);
  font-size: 18px;
}

.home-cell {
  background: #eaf2ff !important;
  color: var(--blue);
}

.score-cell {
  background: var(--blue) !important;
  color: white;
  font-size: 17px;
}

.away-cell {
  background: #e9f8f0 !important;
  color: var(--green);
}

.trend-table td:nth-child(14) {
  background: #f2f2f2;
}

.trend-table .mono {
  font-variant-numeric: tabular-nums;
}

.is-upcoming .score-cell {
  color: rgba(255, 255, 255, 0.65);
}

.stat-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.draw-rates {
  margin-bottom: 12px;
}

.draw-rate-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  font-size: 13px;
  font-weight: 900;
}

.draw-rate-table th,
.draw-rate-table td {
  height: 30px;
  padding: 5px 8px;
  border: 1px solid var(--line);
  text-align: center;
}

.draw-rate-table th {
  background: var(--blue);
  color: white;
}

.draw-rate-table .current-row td {
  background: #fff5d6;
  color: var(--red);
}

.stat-title-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.stat-title-line h3 {
  margin-bottom: 0;
}

.mini-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  background: #fff5d6;
  border: 1px solid #e7c468;
  border-radius: 999px;
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
}

.historical-score-panel {
  margin-bottom: 18px;
}

.historical-score-table {
  display: grid;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  overflow-x: auto;
}

.hist-head,
.hist-row {
  display: grid;
  grid-template-columns: 90px repeat(4, minmax(120px, 1fr));
  min-width: 620px;
}

.hist-head span,
.hist-row span,
.hist-row strong {
  min-height: 34px;
  padding: 7px 10px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 900;
}

.hist-head span {
  background: var(--blue);
  color: white;
}

.hist-row strong {
  background: #fff5d6;
  color: var(--red);
  font-size: 16px;
}

.hist-row:nth-child(odd) span {
  background: #f5f9fd;
}

.bars,
.score-table,
.review-table {
  display: grid;
  gap: 8px;
}

.bar-row {
  display: grid;
  grid-template-columns: 56px 1fr 36px 56px;
  gap: 10px;
  align-items: center;
  padding: 8px;
  background: white;
  border: 1px solid var(--line);
  font-weight: 800;
  border-radius: 6px;
}

.bar-track {
  height: 16px;
  background: #dfe8f2;
  border: 1px solid #b8c9dd;
  border-radius: 999px;
  overflow: hidden;
}

.bar-track i {
  display: block;
  height: 100%;
  background: var(--gold);
}

.score-table {
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
}

.score-table div {
  display: grid;
  gap: 5px;
  padding: 12px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.score-table strong {
  color: var(--blue);
  font-size: 22px;
}

.review-record-table tr.focus-model td {
  background: #fff0b8 !important;
  box-shadow: inset 0 2px 0 rgba(194, 138, 26, 0.24), inset 0 -2px 0 rgba(194, 138, 26, 0.24);
}

.sp-radar-model {
  display: grid;
  gap: 10px;
  margin: 12px 0;
  padding: 14px;
  border: 1px solid rgba(217, 154, 22, 0.45);
  border-radius: 8px;
  background: linear-gradient(180deg, #fff9eb, #ffffff);
}

.sp-radar-model.detail {
  margin: 0;
}

.sp-radar-model > div:first-child {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.sp-radar-model span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 950;
}

.sp-radar-model strong {
  color: var(--ink);
  font-size: 16px;
  font-weight: 950;
}

.sp-radar-trends,
.sp-radar-flags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sp-radar-flags span {
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(12, 57, 112, 0.08);
  color: var(--ink);
}

.sp-radar-model p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.65;
}

.consistency-panel {
  border-color: rgba(12, 74, 146, 0.28);
  background: linear-gradient(135deg, #f7fbff, #ffffff);
}

.consistency-head {
  display: flex;
  align-items: end;
  gap: 12px;
  margin: 8px 0 10px;
}

.consistency-head strong {
  color: var(--ink);
  font-family: Georgia, "Songti SC", serif;
  font-size: 52px;
  line-height: 0.9;
}

.consistency-head em {
  color: var(--gold);
  font-style: normal;
  font-weight: 950;
}

.triad-panel {
  background:
    linear-gradient(135deg, rgba(12, 74, 146, 0.08), transparent 42%),
    #ffffff;
}

.triad-score,
.odds-math-head,
.input-scoreline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 8px 0 12px;
}

.triad-score strong,
.input-scoreline strong {
  color: var(--ink);
  font-family: Georgia, "Songti SC", serif;
  font-size: 46px;
  line-height: 1;
}

.triad-score em,
.odds-math-head em,
.input-scoreline em {
  color: var(--muted);
  font-style: normal;
  font-weight: 950;
}

.triad-grid,
.odds-math-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.triad-grid article,
.odds-math-grid article {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbff;
}

.triad-grid div,
.input-scoreline div {
  overflow: hidden;
  height: 8px;
  border-radius: 999px;
  background: rgba(12, 57, 112, 0.1);
}

.triad-grid div b,
.input-scoreline div i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold), var(--blue));
}

.triad-grid strong,
.odds-math-grid strong {
  display: block;
  margin: 8px 0 4px;
  color: var(--ink);
  font-weight: 950;
}

.triad-grid p,
.odds-math-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.55;
}

.odds-math-panel {
  border-color: rgba(217, 154, 22, 0.34);
  background: linear-gradient(180deg, #fffaf0, #ffffff);
}

.odds-math-head strong {
  color: var(--ink);
  font-family: Georgia, "Songti SC", serif;
  font-size: 34px;
  line-height: 1;
}

.odds-math-head b {
  padding: 6px 9px;
  border: 1px solid rgba(217, 154, 22, 0.45);
  border-radius: 999px;
  background: #fff8e6;
  color: var(--ink);
  font-size: 12px;
  font-weight: 950;
}

.odds-math-grid em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 850;
}

.odds-math-grid article {
  position: relative;
}
.odds-math-grid article b {
  display: inline-block;
  margin-top: 3px;
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 950;
  line-height: 1.5;
}
.odds-math-grid article b.value-strong { background: #dcfce7; color: #166534; }
.odds-math-grid article b.value-weak  { background: #fef9c3; color: #854d0e; }
.odds-math-grid article b.value-none  { background: #f3f4f6; color: #6b7280; }

.odds-math-value {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(217, 154, 22, 0.3);
  border-radius: 8px;
  background: #fffcf5;
  font-size: 13px;
}
.odds-math-value span {
  color: var(--muted);
  font-weight: 850;
}
.odds-math-value span strong {
  display: inline;
  margin: 0;
  font-family: Georgia, "Songti SC", serif;
  font-size: 16px;
  color: var(--ink);
}
.odds-math-value .value-badge-strong {
  padding: 2px 8px;
  border-radius: 999px;
  background: #dcfce7;
  color: #166534;
  font-size: 11px;
  font-weight: 950;
}
.odds-math-value .value-badge-weak {
  padding: 2px 8px;
  border-radius: 999px;
  background: #fef9c3;
  color: #854d0e;
  font-size: 11px;
  font-weight: 950;
}
.odds-math-value .value-badge-none {
  padding: 2px 8px;
  border-radius: 999px;
  background: #f3f4f6;
  color: #6b7280;
  font-size: 11px;
  font-weight: 950;
}

.goal-prob-list {
  display: grid;
  gap: 9px;
  margin-top: 12px;
}

.goal-prob-row {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) 60px;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-weight: 900;
}

.goal-prob-row div {
  overflow: hidden;
  height: 12px;
  border-radius: 999px;
  background: rgba(12, 57, 112, 0.08);
}

.goal-prob-row i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: rgba(12, 74, 146, 0.48);
}

.goal-prob-row.active {
  color: var(--ink);
}

.goal-prob-row.active i {
  background: linear-gradient(90deg, var(--gold), var(--blue));
}

.decision-gate-panel {
  border-color: rgba(12, 74, 146, 0.28);
  background: linear-gradient(135deg, #f8fbff, #ffffff);
}

.decision-gate-panel.hot {
  border-color: rgba(0, 147, 83, 0.34);
}

.decision-gate-panel.warm {
  border-color: rgba(217, 154, 22, 0.44);
}

.decision-gate-panel.cold {
  border-color: rgba(198, 18, 35, 0.24);
}

.decision-gate-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 10px 0;
}

.decision-gate-head strong {
  color: var(--ink);
  font-size: 30px;
  font-weight: 950;
}

.decision-gate-head em {
  width: 54px;
  height: 54px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: var(--blue);
  color: white;
  font-family: Georgia, "Songti SC", serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 950;
}

.decision-gate-head b {
  color: var(--muted);
  font-size: 13px;
  font-weight: 950;
}

.decision-gate-bar {
  overflow: hidden;
  height: 10px;
  border-radius: 999px;
  background: rgba(12, 57, 112, 0.1);
}

.decision-gate-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold), var(--blue));
}

.decision-gate-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.decision-gate-notes span,
.gate-badge,
.attribution-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #f8fbff;
  color: var(--ink);
  font-size: 12px;
  font-weight: 950;
  white-space: nowrap;
}

.gate-badge.hot,
.attribution-badge.good {
  border-color: rgba(0, 147, 83, 0.26);
  background: #f2fbf6;
  color: var(--green);
}

.gate-badge.warm,
.gate-badge.watch,
.attribution-badge.mid,
.attribution-badge.pending,
.attribution-badge.postponed,
.attribution-badge.rescheduled {
  border-color: rgba(217, 154, 22, 0.42);
  background: #fff8e6;
  color: var(--gold);
}

.gate-badge.cold,
.attribution-badge.high,
.attribution-badge.suspended {
  border-color: rgba(198, 18, 35, 0.22);
  background: rgba(198, 18, 35, 0.07);
  color: var(--red);
}

.attribution-badge.void {
  border-color: rgba(91, 105, 123, 0.24);
  background: #f2f5f8;
  color: var(--muted);
}

.attribution-badge + em {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 850;
  line-height: 1.45;
}

.input-check-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.input-check-grid article {
  display: grid;
  gap: 6px;
  min-height: 104px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbff;
}

.input-check-grid article.ready {
  border-color: rgba(0, 147, 83, 0.28);
  background: #f2fbf6;
}

.input-check-grid article.pending {
  border-color: rgba(217, 154, 22, 0.38);
  background: #fff8e6;
}

.input-check-grid b {
  color: var(--gold);
  font-size: 11px;
  font-weight: 950;
}

.input-check-grid strong {
  color: var(--ink);
  font-size: 15px;
  font-weight: 950;
}

.input-check-grid em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 850;
  line-height: 1.45;
}

.input-scoreline div {
  flex: 1 1 220px;
}

.model-notice {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 30;
  transform: translate(-50%, 16px);
  max-width: min(420px, calc(100vw - 32px));
  padding: 12px 16px;
  border: 1px solid #e5c55f;
  border-radius: 999px;
  background: #fff8d9;
  color: var(--ink);
  font-weight: 950;
  text-align: center;
  box-shadow: 0 14px 36px rgba(8, 32, 82, 0.18);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.model-notice.show {
  transform: translate(-50%, 0);
  opacity: 1;
}

.review-cards {
  margin-bottom: 16px;
}

.review-subnav {
  display: inline-flex;
  gap: 8px;
  padding: 6px;
  margin-bottom: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
}

.review-subnav button {
  min-height: 38px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: var(--blue);
  cursor: pointer;
  font: inherit;
  font-weight: 950;
}

.review-subnav button.active {
  background: var(--blue);
  color: white;
  box-shadow: inset 0 -3px 0 var(--gold);
}

.review-filterbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 0 0 14px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(10, 68, 138, 0.08), rgba(244, 177, 31, 0.08)),
    white;
}

.review-filterbar div {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
}

.review-filterbar span {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 900;
}

.review-filterbar strong {
  color: var(--blue);
  font-size: 1.08rem;
}

.review-filterbar em {
  color: var(--gold-dark);
  font-style: normal;
  font-weight: 950;
}

.review-filterbar select {
  min-width: 150px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--blue);
  font-weight: 950;
}

.combined-stats-filterbar {
  align-items: stretch;
}

.combined-stats-filterbar section {
  display: flex;
  flex: 1 1 0;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-width: 0;
}

.combined-stats-filterbar section + section {
  padding-left: 14px;
  border-left: 1px solid rgba(14, 76, 146, 0.14);
}

.combined-stats-filterbar select {
  flex: 0 0 190px;
}

@media (max-width: 860px) {
  .combined-stats-filterbar {
    flex-direction: column;
  }

  .combined-stats-filterbar section {
    width: 100%;
  }

  .combined-stats-filterbar section + section {
    padding-top: 12px;
    padding-left: 0;
    border-top: 1px solid rgba(14, 76, 146, 0.14);
    border-left: 0;
  }

  .combined-stats-filterbar select {
    flex-basis: 180px;
  }
}

.attribution-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.attribution-strip article {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
}

.attribution-strip span,
.attribution-strip em {
  display: block;
  color: var(--muted);
  font-style: normal;
  font-weight: 900;
}

.attribution-strip strong {
  display: block;
  margin: 6px 0;
  color: var(--ink);
  font-family: Georgia, "Songti SC", serif;
  font-size: 32px;
  line-height: 1;
}

.version-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  padding: 3px 8px;
  border: 1px solid var(--blue);
  border-radius: 999px;
  background: white;
  color: var(--blue);
  font-size: 12px;
  font-weight: 950;
}

.review-summary-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  font-size: 13px;
  font-weight: 900;
}

.review-summary-table th,
.review-summary-table td {
  height: 30px;
  padding: 5px 8px;
  border: 1px solid var(--line);
  text-align: center;
}

.review-summary-table th {
  background: var(--blue);
  color: white;
}

.review-summary-table td:nth-child(2) {
  color: var(--red);
  font-size: 15px;
}

.review-head,
.review-row {
  display: grid;
  grid-template-columns: 1.5fr 1.3fr 0.6fr 0.5fr 0.5fr;
  gap: 8px;
  padding: 10px;
  background: white;
  border: 1px solid var(--line);
  align-items: center;
}

.review-head {
  background: var(--blue);
  color: white;
  font-weight: 900;
}

.review-record-wrap {
  max-height: 70vh;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.review-record-wrap.compact {
  max-height: 68vh;
}

.review-record-table {
  width: 100%;
  min-width: 1540px;
  border-collapse: collapse;
  font-size: 12px;
  font-weight: 800;
}

.review-record-table th,
.review-record-table td {
  min-height: 34px;
  padding: 7px 8px;
  border: 1px solid var(--line);
  text-align: center;
  vertical-align: middle;
}

.review-record-table th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: var(--blue);
  color: white;
}

.review-record-table td:nth-child(-n + 8) {
  background: #f5f7fa;
}

.review-record-table td:nth-child(n + 9):nth-child(-n + 16) {
  background: #fff5d6;
}

.review-record-table td:nth-child(n + 17):nth-child(-n + 20) {
  background: #eaf7f0;
}

.review-record-table .text-cell {
  min-width: 260px;
  text-align: left;
  line-height: 1.45;
  white-space: normal;
}

.review-record-table .pick-cell {
  color: var(--ink);
  font-size: 16px;
  font-weight: 900;
}

.review-record-table .actual-cell {
  color: var(--red);
  font-size: 14px;
  font-weight: 950;
}

.review-record-table .actual-cell.lifecycle-postponed,
.review-record-table .actual-cell.lifecycle-rescheduled {
  color: var(--gold);
}

.review-record-table .actual-cell.lifecycle-void {
  color: var(--muted);
}

.review-record-table .empty-cell {
  height: 72px;
  background: #f8fbff;
  color: var(--muted);
  font-size: 14px;
  letter-spacing: 0;
}

.review-record-table tfoot td {
  position: sticky;
  left: 0;
  padding: 14px 16px;
  background: #fff8d9;
  color: var(--ink);
  text-align: left;
  white-space: normal;
  box-shadow: inset 0 2px 0 rgba(8, 32, 82, 0.12);
}

.review-record-table tfoot strong {
  margin-right: 10px;
  color: var(--red);
}

.review-record-table tfoot span {
  display: inline-block;
  margin: 4px 8px 4px 0;
  padding: 5px 9px;
  border: 1px solid #e5c55f;
  border-radius: 999px;
  background: white;
  font-weight: 900;
}

.ticket-table {
  min-width: 900px;
}

.diagnostic-table {
  min-width: 1040px;
}

.ticket-table td:nth-child(-n + 4),
.diagnostic-table td:nth-child(-n + 4) {
  background: #f5f7fa;
}

.ticket-table td:nth-child(n + 5),
.diagnostic-table td:nth-child(n + 5) {
  background: #fff5d6;
}

.diagnostic-table td:nth-child(n + 5) {
  background: #eaf7f0;
}

.ticket-table td b,
.diagnostic-table td b {
  display: inline-block;
  margin-right: 8px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 950;
}

.ticket-table th:nth-child(4),
.ticket-table td:nth-child(4),
.diagnostic-table th:nth-child(4),
.diagnostic-table td:nth-child(4) {
  width: 190px;
  max-width: 190px;
}

.match-name-cell {
  white-space: normal;
}

.review-match-link {
  display: inline-flex;
  max-width: 100%;
  padding: 4px 8px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 950;
  line-height: 1.25;
  text-align: left;
  white-space: normal;
}

.review-match-link:hover {
  border-color: rgba(12, 74, 146, 0.28);
  background: rgba(12, 74, 146, 0.08);
  color: var(--blue);
}

.good {
  color: var(--green);
}

.bad {
  color: var(--red);
}

.empty-mark {
  color: var(--muted);
}

.market-closed {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 58px;
  border: 1px solid rgba(92, 108, 133, 0.2);
  border-radius: 999px;
  padding: 4px 10px;
  background: #eef2f6;
  color: #5c6c85;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.empty {
  color: var(--muted);
  font-weight: 800;
}

.data-loading-panel {
  display: grid;
  place-items: center;
  min-height: 220px;
  border: 1px solid rgba(12, 74, 146, 0.14);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(238, 245, 253, 0.72));
  color: var(--navy);
  text-align: center;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.72);
}

.data-loading-panel div {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 14px;
}

.data-loading-panel span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--gold);
  animation: dataPulse 0.9s ease-in-out infinite;
}

.data-loading-panel span:nth-child(2) {
  animation-delay: 0.12s;
}

.data-loading-panel span:nth-child(3) {
  animation-delay: 0.24s;
}

.data-loading-panel strong {
  display: block;
  font-size: 20px;
  margin-bottom: 8px;
}

.data-loading-panel p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.league-chronicle-loading {
  margin-top: 14px;
}

.league-chronicle-loading .data-loading-panel {
  min-height: 180px;
}

.site-activity-indicator {
  position: fixed;
  z-index: 12000;
  top: max(12px, env(safe-area-inset-top));
  left: 50%;
  display: flex;
  align-items: center;
  gap: 9px;
  max-width: calc(100vw - 28px);
  padding: 10px 15px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(5, 39, 86, 0.94);
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
  box-shadow: 0 12px 30px rgba(5, 39, 86, 0.24);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -14px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.site-activity-indicator.active {
  opacity: 1;
  transform: translate(-50%, 0);
}

.site-activity-indicator i {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  border: 2px solid rgba(255, 255, 255, 0.34);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: siteActivitySpin 0.72s linear infinite;
}

@keyframes siteActivitySpin {
  to { transform: rotate(360deg); }
}

@keyframes dataPulse {
  0%, 100% {
    opacity: 0.35;
    transform: translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateY(-5px);
  }
}

@media (max-width: 880px) {
  .shell {
    width: min(100vw - 18px, 1480px);
    padding-top: 10px;
  }

  .hero,
  .stat-layout,
  .draw-rates,
  .review-cards {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 26px;
  }

  .controls,
  .section-head {
    align-items: stretch;
    flex-direction: column;
  }

  input,
  select {
    min-width: 0;
    width: 100%;
  }

  .review-head,
  .review-row {
    grid-template-columns: 1fr;
  }
}

/* 2026 control-room redesign */
:root {
  --ink: #101510;
  --paper: #f3efe5;
  --panel: #fffdf6;
  --panel-2: #f4ead8;
  --blue: #124c43;
  --blue-2: #0f766e;
  --green: #118a4e;
  --red: #b42318;
  --gold: #c28a1a;
  --orange: #d97706;
  --gray: #807b70;
  --line: #d9cab2;
  --muted: #6d665b;
  --soft: #f7f1e4;
  --charcoal: #18201b;
  --grass: #0f6b45;
  --chalk: #fffaf0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  color: var(--ink);
  font-family: "Trebuchet MS", "PingFang SC", "Microsoft YaHei", sans-serif;
  background:
    linear-gradient(90deg, rgba(16, 21, 16, 0.05) 1px, transparent 1px),
    linear-gradient(rgba(16, 21, 16, 0.04) 1px, transparent 1px),
    linear-gradient(135deg, #efe4cf 0%, #f8f3e9 42%, #e9f2e4 100%);
  background-size: 34px 34px, 34px 34px, auto;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(115deg, transparent 0 43%, rgba(15, 107, 69, 0.12) 43% 44%, transparent 44% 100%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.18) 0 1px, transparent 1px 7px);
}

.shell {
  width: min(1540px, calc(100vw - 32px));
  padding: 18px 0 64px;
  overflow-x: hidden;
}

.sticky-board {
  padding-bottom: 12px;
  background:
    linear-gradient(90deg, rgba(243, 239, 229, 0), rgba(243, 239, 229, 0.96) 14%, rgba(243, 239, 229, 0.96) 86%, rgba(243, 239, 229, 0));
  box-shadow: 0 16px 30px rgba(24, 32, 27, 0.08);
}

.hero {
  position: relative;
  overflow: hidden;
  grid-template-columns: minmax(0, 1fr) minmax(190px, 260px);
  min-height: 168px;
  padding: 24px;
  background:
    linear-gradient(100deg, rgba(24, 32, 27, 0.95), rgba(15, 107, 69, 0.92)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.12) 0 1px, transparent 1px 88px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-top: 0;
  border-radius: 8px;
  color: var(--chalk);
  box-shadow: 0 18px 44px rgba(24, 32, 27, 0.22);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 12px;
  pointer-events: none;
  border: 1px solid rgba(255, 250, 240, 0.3);
  border-radius: 6px;
}

.hero-copy {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
}

.eyebrow {
  color: #efbd4a;
  font-size: 11px;
  letter-spacing: 0.08em;
}

h1,
h2,
h3 {
  font-family: Georgia, "Songti SC", serif;
  letter-spacing: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 10px;
  color: var(--chalk);
  font-size: clamp(34px, 5vw, 68px);
  line-height: 0.98;
  overflow-wrap: anywhere;
}

h2 {
  color: var(--charcoal);
  font-size: 28px;
  line-height: 1.15;
}

.subline {
  max-width: 820px;
  color: rgba(255, 250, 240, 0.78);
  font-size: 15px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.hero-panel {
  position: relative;
  z-index: 1;
  align-self: end;
  min-height: 122px;
  padding: 18px;
  background: rgba(255, 250, 240, 0.96);
  border: 1px solid rgba(239, 189, 74, 0.8);
  border-radius: 8px;
  color: var(--charcoal);
  box-shadow: inset 0 -4px 0 rgba(194, 138, 26, 0.28);
}

.hero-panel strong {
  color: var(--red);
  font-size: 38px;
}

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

.signal-strip div {
  min-height: 72px;
  padding: 12px 14px;
  background: rgba(255, 253, 246, 0.92);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(24, 32, 27, 0.07);
}

.signal-strip [data-signal-page] {
  cursor: pointer;
  outline: none;
  transform-origin: center;
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease;
}

.signal-strip [data-signal-page]:hover,
.signal-strip [data-signal-page]:focus-visible {
  transform: translateY(-3px);
  border-color: var(--blue-2);
  background: #ffffff;
  box-shadow: 0 16px 34px rgba(8, 32, 82, 0.14);
}

.signal-strip [data-signal-page]::before {
  content: "进入";
  position: absolute;
  right: 14px;
  top: 12px;
  color: rgba(7, 60, 135, 0.42);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0.08em;
  opacity: 0;
  transition: opacity 0.18s ease;
}

.signal-strip [data-signal-page]:hover::before,
.signal-strip [data-signal-page]:focus-visible::before {
  opacity: 1;
}

.signal-strip span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.signal-strip strong {
  display: block;
  margin-top: 6px;
  color: var(--charcoal);
  font-family: Georgia, "Songti SC", serif;
  font-size: 30px;
  line-height: 1;
}

.tabs {
  gap: 6px;
  padding: 7px;
  background: rgba(255, 253, 246, 0.82);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.tab,
.ghost {
  min-height: 42px;
  border-color: transparent;
  border-radius: 6px;
  background: transparent;
  box-shadow: none;
  color: var(--muted);
  white-space: nowrap;
}

.tab.active {
  background: var(--charcoal);
  color: var(--chalk);
  box-shadow: inset 0 -3px 0 var(--gold);
}

.panel {
  padding: 22px;
  background: rgba(255, 253, 246, 0.94);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(24, 32, 27, 0.1);
  max-width: 100%;
  overflow-x: hidden;
}

.section-head {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.pill,
.model-chip,
.result-pill,
.mini-pill {
  border-radius: 999px;
  border-color: #cdbb9b;
  background: #fff7df;
  color: var(--charcoal);
}

.match-grid {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
}

.match-card {
  position: relative;
  min-height: 192px;
  padding: 16px;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 0;
  border-radius: 8px;
  box-shadow: 0 10px 26px rgba(24, 32, 27, 0.08);
}

.match-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--grass), var(--gold));
}

.match-card.finished::before {
  background: linear-gradient(90deg, var(--green), #9ca36b);
}

.match-card.is-live::before {
  background: linear-gradient(90deg, #c91123, var(--gold));
}

.match-card:hover {
  transform: translateY(-3px);
  border-color: #bda982;
  box-shadow: 0 16px 34px rgba(24, 32, 27, 0.14);
}

.match-meta,
.card-foot {
  color: var(--muted);
}

.teams {
  grid-template-columns: minmax(0, 1fr) 74px minmax(0, 1fr);
  min-height: 82px;
}

.teams strong {
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 23px;
  line-height: 1.15;
}

.teams b {
  background: var(--charcoal);
  border-radius: 6px;
  font-family: Georgia, "Songti SC", serif;
}

.card-deep-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  color: var(--grass);
  font-size: 12px;
  font-weight: 950;
}

.trend-wrap,
.draw-rate-table,
.historical-score-table,
.review-record-wrap,
.review-summary-table {
  border-radius: 8px;
  border-color: var(--line);
  background: var(--panel);
}

.trend-table thead th,
.draw-rate-table th,
.hist-head span,
.review-summary-table th,
.review-record-table th {
  background: var(--charcoal);
}

.trend-table {
  font-size: 13px;
}

.bucket-cell.active-bucket {
  background: #f4c430 !important;
  color: var(--red);
}

.score-table {
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
}

.score-table div {
  min-height: 100px;
  border-color: var(--line);
  background: linear-gradient(180deg, #fffdf6, #f6eedf);
}

.score-table strong {
  color: var(--charcoal);
  font-family: Georgia, "Songti SC", serif;
  font-size: 30px;
}

.review-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 10px;
}

.review-metric {
  min-height: 104px;
  padding: 14px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.review-metric span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.review-metric strong {
  display: block;
  margin: 8px 0 4px;
  color: var(--charcoal);
  font-family: Georgia, "Songti SC", serif;
  font-size: 30px;
}

.confidence-backtest-metric {
  --confidence-accent: var(--blue);
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, color-mix(in srgb, var(--confidence-accent) 7%, #ffffff), #ffffff 58%);
}

.confidence-backtest-metric::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--confidence-accent);
}

.confidence-backtest-metric span {
  color: var(--confidence-accent);
}

.confidence-backtest-metric.grade-a {
  --confidence-accent: #008b5c;
}

.confidence-backtest-metric.grade-b {
  --confidence-accent: #1768b5;
}

.confidence-backtest-metric.grade-c {
  --confidence-accent: #c47f00;
}

.confidence-backtest-metric.grade-d {
  --confidence-accent: #c23a49;
}

.match-drawer {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
}

.match-drawer.open {
  display: block;
}

.drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(16, 21, 16, 0.44);
}

.drawer-panel {
  position: absolute;
  top: 14px;
  right: 14px;
  bottom: 14px;
  width: min(560px, calc(100vw - 28px));
  overflow: auto;
  padding: 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(16, 21, 16, 0.32);
}

.drawer-close {
  position: sticky;
  top: 0;
  left: 100%;
  z-index: 1;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--charcoal);
  color: var(--chalk);
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

.drawer-kicker {
  color: var(--gold);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.drawer-title {
  margin: 8px 0 12px;
  color: var(--charcoal);
  font-size: 34px;
}

.drawer-scoreline {
  display: grid;
  grid-template-columns: 1fr 88px 1fr;
  align-items: center;
  gap: 10px;
  min-height: 94px;
  padding: 12px;
  background: #f5eddf;
  border: 1px solid var(--line);
  border-radius: 8px;
  text-align: center;
}

.drawer-scoreline strong {
  overflow-wrap: anywhere;
  font-size: 22px;
}

.drawer-scoreline b {
  padding: 10px 8px;
  background: var(--charcoal);
  border-radius: 6px;
  color: var(--chalk);
  font-family: Georgia, "Songti SC", serif;
  font-size: 24px;
}

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

.drawer-tile,
.drawer-section {
  padding: 12px;
  background: #fffaf0;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.drawer-tile span,
.drawer-section span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.drawer-tile strong {
  display: block;
  margin-top: 6px;
  font-size: 18px;
}

.drawer-section {
  margin-top: 10px;
}

.drawer-section p {
  margin: 8px 0 0;
  line-height: 1.65;
}

.drawer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.drawer-actions button {
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid var(--charcoal);
  border-radius: 6px;
  background: var(--charcoal);
  color: var(--chalk);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}

.drawer-actions button.secondary {
  background: transparent;
  color: var(--charcoal);
}

@media (max-width: 900px) {
  .shell {
    width: min(100vw - 18px, 1540px);
  }

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

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

  .panel {
    padding: 16px;
  }

  .drawer-panel {
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100vw;
    max-height: 86vh;
    border-radius: 8px 8px 0 0;
  }
}

@media (max-width: 560px) {
  body,
  .shell,
  .sticky-board,
  .hero,
  .panel {
    max-width: 100%;
  }

  body {
    overflow-x: hidden;
  }

  .hero {
    min-height: 0;
    padding: 14px;
  }

  h1 {
    font-size: 28px;
    line-height: 1.08;
  }

  .subline {
    font-size: 13px;
  }

  .hero-panel {
    min-height: 104px;
  }

  .hero-panel strong {
    font-size: 32px;
  }

  h2 {
    font-size: 25px;
  }

  .signal-strip,
  .drawer-grid {
    grid-template-columns: 1fr;
  }

  .teams,
  .drawer-scoreline {
    grid-template-columns: 1fr;
  }

  .teams b,
  .drawer-scoreline b {
    justify-self: center;
    width: min(120px, 100%);
  }
}

/* Blue technical skin and full match page */
:root {
  --ink: #082052;
  --paper: #f7fbff;
  --panel: #ffffff;
  --panel-2: #f2f8fc;
  --blue: #073c87;
  --blue-2: #0b5bb4;
  --green: #008248;
  --red: #c1121f;
  --gold: #d99a16;
  --orange: #f59e0b;
  --gray: #8a929d;
  --line: #c9d6e5;
  --muted: #5f6b7a;
  --soft: #edf5ff;
  --charcoal: #082052;
  --grass: #0b5bb4;
  --chalk: #f7fbff;
}

body {
  background:
    linear-gradient(90deg, rgba(7, 60, 135, 0.05) 1px, transparent 1px),
    linear-gradient(rgba(7, 60, 135, 0.05) 1px, transparent 1px),
    linear-gradient(135deg, #f7fbff 0%, #edf5ff 48%, #fff8e6 100%);
  background-size: 28px 28px, 28px 28px, auto;
}

body::before {
  background:
    linear-gradient(110deg, transparent 0 38%, rgba(11, 91, 180, 0.08) 38% 39%, transparent 39% 100%),
    linear-gradient(70deg, transparent 0 62%, rgba(217, 154, 22, 0.08) 62% 63%, transparent 63% 100%);
}

.sticky-board {
  background:
    linear-gradient(90deg, rgba(247, 251, 255, 0), rgba(247, 251, 255, 0.96) 14%, rgba(247, 251, 255, 0.96) 86%, rgba(247, 251, 255, 0));
}

.hero {
  background:
    linear-gradient(110deg, rgba(8, 32, 82, 0.96), rgba(7, 60, 135, 0.94)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.12) 0 1px, transparent 1px 78px);
  box-shadow: 0 18px 44px rgba(8, 32, 82, 0.18);
}

.hero-panel,
.signal-strip div,
.panel,
.match-card,
.match-page-tile,
.match-page-section {
  background: rgba(255, 255, 255, 0.94);
  border-color: var(--line);
}

.signal-strip div,
.match-card,
.match-page-tile,
.match-page-section {
  box-shadow: 0 10px 28px rgba(8, 32, 82, 0.08);
}

.match-card::before {
  background: linear-gradient(90deg, var(--blue), var(--gold));
}

.tabs {
  background: rgba(255, 255, 255, 0.9);
}

.tab.active,
.trend-table thead th,
.draw-rate-table th,
.hist-head span,
.review-summary-table th,
.review-record-table th,
.teams b {
  background: var(--blue);
}

.match-card:hover,
.match-page-section:hover {
  border-color: var(--blue-2);
  box-shadow: 0 16px 34px rgba(8, 32, 82, 0.14);
}

.detail-panel {
  padding: 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.96);
}

.is-detail-page .sticky-board {
  display: none;
}

.sporttery-mode .sticky-board {
  display: none;
}

.model-intro-mode .sticky-board {
  display: none;
}

.model-stats-mode .sticky-board {
  display: none;
}

.odds-map-mode .sticky-board {
  display: none;
}

.site-locks-mode .sticky-board {
  display: none;
}

.about-site-mode .sticky-board {
  display: none;
}

.is-detail-page .shell {
  padding-top: 0;
}

.sporttery-mode .shell {
  padding-top: 22px;
}

.site-locks-mode .shell {
  padding-top: 22px;
}

.model-intro-mode .shell {
  padding-top: 22px;
}

.model-stats-mode .shell {
  padding-top: 22px;
}

.odds-map-mode .shell {
  padding-top: 22px;
}

.about-site-mode .shell {
  padding-top: 22px;
}

.is-detail-page .detail-panel {
  margin-top: 0;
}

.sporttery-mode #sporttery-pool {
  margin-top: 0;
}

.site-locks-mode #site-locks {
  margin-top: 0;
}

.model-intro-mode #model-intro {
  margin-top: 0;
}

.model-stats-mode #model-stats {
  margin-top: 0;
}

.odds-map-mode #odds-map {
  margin-top: 0;
}

.about-site-mode #about-site {
  margin-top: 0;
}

.match-page-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 18px;
  background: #f2f8fc;
  border-bottom: 1px solid var(--line);
}

.match-page-toolbar button,
.match-page-actions button {
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid var(--blue);
  border-radius: 6px;
  background: var(--blue);
  color: white;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}

.match-page-toolbar span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.match-page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(460px, 0.42fr);
  gap: 14px;
  padding: 12px 22px;
  align-items: center;
  background:
    linear-gradient(120deg, rgba(8, 32, 82, 0.96), rgba(11, 91, 180, 0.92)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.11) 1px, transparent 1px);
  background-size: auto, 34px 34px;
  color: white;
}

.match-page-hero > *,
.match-page-columns > *,
.match-page-summary,
.match-page-toolbar > * {
  min-width: 0;
}

.match-page-hero h2 {
  margin: 0 0 6px;
  color: white;
  font-size: clamp(26px, 3.25vw, 42px);
  line-height: 1.05;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.match-page-hero p {
  display: -webkit-box;
  max-width: 900px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  line-height: 1.45;
  overflow-wrap: anywhere;
  word-break: break-all;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.match-page-summary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-self: center;
  gap: 8px;
  align-items: center;
  min-height: 0;
  padding: 9px 10px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-bottom: 4px solid var(--gold);
  border-radius: 8px;
  color: var(--ink);
}

.match-page-summary > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 11px;
  border-radius: 7px;
  background: #0b4a9a;
  color: var(--gold);
  font-size: 14px;
  font-weight: 950;
  letter-spacing: 0;
  white-space: nowrap;
}

.summary-lock {
  display: grid;
  gap: 4px;
}

.summary-lock strong {
  overflow-wrap: anywhere;
  font-family: Georgia, "Songti SC", serif;
  font-size: 20px;
  line-height: 1.05;
}

.summary-lock em {
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}

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

.summary-grid div {
  display: grid;
  gap: 3px;
  min-height: 40px;
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #f7fbff;
}

.summary-grid small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
}

.summary-grid b {
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.18;
}

.match-page-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 18px 24px 0;
}

.match-page-tile {
  min-height: 92px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.match-page-tile span,
.match-page-section > span {
  display: block;
  color: var(--gold);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.match-page-tile strong {
  display: block;
  margin-top: 8px;
  color: var(--ink);
  font-family: Georgia, "Songti SC", serif;
  font-size: 26px;
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.prediction-audit-correction {
  display: grid;
  grid-template-columns: minmax(210px, 0.8fr) minmax(0, 2fr);
  gap: 18px;
  margin: 18px 24px 0;
  padding: 18px 20px;
  border: 1px solid rgba(217, 154, 22, 0.42);
  border-left: 5px solid var(--gold);
  border-radius: 10px;
  background: linear-gradient(135deg, #fffaf0, #fffdf8);
  box-shadow: 0 10px 26px rgba(115, 83, 21, 0.08);
}

.prediction-audit-correction span {
  color: #a46400;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.08em;
}

.prediction-audit-correction h3 {
  margin: 5px 0 0;
  color: var(--ink);
  font-size: 18px;
}

.prediction-audit-correction p {
  align-self: center;
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.match-mode-switch {
  display: inline-flex;
  gap: 6px;
  margin: 18px 24px 0;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 10px 24px rgba(8, 32, 82, 0.07);
}

.match-mode-switch button {
  min-height: 38px;
  padding: 0 18px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-weight: 950;
}

.match-mode-switch button.active {
  background: var(--blue);
  color: white;
  box-shadow: inset 0 -3px 0 var(--gold);
}

@media (max-width: 680px) {
  .prediction-audit-correction {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-inline: 14px;
  }
}

.match-mode-panel[hidden] {
  display: none;
}

.quick-decision-board {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 18px 24px 0;
}

.quick-decision-board article {
  min-width: 0;
  min-height: 142px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  box-shadow: 0 10px 28px rgba(8, 32, 82, 0.08);
}

.quick-decision-board article.quick-main-card {
  border-color: rgba(217, 154, 22, 0.42);
  background:
    linear-gradient(135deg, rgba(255, 248, 230, 0.98), rgba(255, 255, 255, 0.98)),
    linear-gradient(90deg, var(--gold), transparent);
}

.quick-decision-board article.quick-main-card.hot {
  border-color: rgba(0, 147, 83, 0.28);
  background: linear-gradient(180deg, #f2fbf6, #ffffff);
}

.quick-decision-board article.quick-main-card.cold {
  border-color: rgba(198, 18, 35, 0.22);
  background: linear-gradient(180deg, rgba(198, 18, 35, 0.06), #ffffff);
}

.quick-decision-board span,
.quick-reason-card > span,
.quick-risk-card > span {
  display: block;
  color: var(--gold);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.06em;
}

.quick-decision-board strong {
  display: block;
  margin: 10px 0 8px;
  color: var(--ink);
  font-family: Georgia, "Songti SC", serif;
  font-size: 28px;
  line-height: 1.06;
  overflow-wrap: anywhere;
}

.quick-decision-board p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.55;
}

.quick-reason-card {
  background: linear-gradient(180deg, #ffffff, #f8fbff);
}

.quick-risk-card {
  background: #fff8e6;
}

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

.quick-risk-grid div {
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(217, 154, 22, 0.38);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
}

.quick-risk-grid b {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.quick-risk-grid strong {
  display: block;
  margin-top: 5px;
  color: var(--ink);
  font-size: 18px;
  overflow-wrap: anywhere;
}

.match-page-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  gap: 14px;
  padding: 18px 24px 0;
}

.match-page-section {
  margin: 14px 24px 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.match-page-columns .match-page-section {
  margin: 0;
}

.match-page-section.primary {
  background: linear-gradient(180deg, #ffffff, #edf5ff);
}

.match-page-section.decision-panel {
  background: #fff8d9;
}

.decision-grid,
.filter-board-grid {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

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

.decision-grid article,
.filter-board-grid div {
  min-width: 0;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
}

.decision-grid small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 950;
}

.decision-grid strong {
  display: block;
  margin-top: 5px;
  color: var(--blue);
  font-size: 18px;
  font-weight: 950;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.filter-board,
.upgrade-board {
  background: linear-gradient(180deg, #ffffff, #f5f9ff);
}

.upgrade-board {
  background: linear-gradient(180deg, #ffffff, #fff8d9);
}

.final-action-line {
  margin: 12px 0 0;
  padding: 10px 12px;
  border: 1px solid rgba(183, 36, 36, 0.2);
  border-radius: 8px;
  background: #fff7f7;
  color: var(--ink);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.final-action-line b {
  color: #9d1f1f;
}

.universal-model-panel {
  position: relative;
  display: grid;
  gap: 18px;
  padding: 18px;
  overflow: hidden;
  border: 1px solid rgba(7, 60, 135, 0.28);
  border-radius: 22px;
  background:
    radial-gradient(circle at 90% 0%, rgba(217, 154, 22, 0.13), transparent 28%),
    linear-gradient(135deg, rgba(5, 29, 66, 0.98), rgba(8, 67, 132, 0.96));
  color: #ffffff;
  box-shadow: 0 22px 54px rgba(8, 32, 82, 0.28);
}

.universal-model-panel::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, #d99a16 0 18%, #0a4a94 18% 74%, #bd2336 74% 88%, #0b2a52 88% 100%);
  content: "";
}

.universal-model-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 0.58fr);
  gap: 18px 26px;
  align-items: center;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 17px;
  background:
    radial-gradient(circle at 100% 0%, rgba(217, 154, 22, 0.18), transparent 32%),
    linear-gradient(125deg, #071f43 0%, #0a468f 68%, #092f64 100%);
  color: #ffffff;
  box-shadow: 0 16px 34px rgba(7, 42, 91, 0.22);
}

.universal-model-identity {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.universal-model-identity > span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: max-content;
  color: #f6c647;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.universal-model-identity > span i {
  width: 22px;
  height: 3px;
  border-radius: 999px;
  background: #f6c647;
  box-shadow: 0 0 16px rgba(246, 198, 71, 0.52);
}

.universal-model-identity > strong {
  color: #ffffff;
  font-family: "Avenir Next", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: clamp(25px, 3vw, 38px);
  font-weight: 950;
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.universal-model-identity > small {
  color: rgba(225, 236, 249, 0.66);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.04em;
}

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

.universal-model-metrics div {
  display: grid;
  gap: 5px;
  min-width: 0;
  padding: 13px 10px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.07);
  text-align: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.universal-model-metrics div.is-lock {
  border-color: rgba(246, 198, 71, 0.34);
  background: rgba(217, 154, 22, 0.15);
}

.universal-model-metrics b {
  color: #fff;
  font-family: Georgia, "Songti SC", serif;
  font-size: 24px;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.universal-model-metrics small {
  color: rgba(225, 236, 249, 0.68);
  font-size: 10px;
  font-weight: 900;
  white-space: nowrap;
}

.universal-model-head > em {
  grid-column: 1 / -1;
  margin-top: 2px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(231, 239, 250, 0.8);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
  line-height: 1.7;
}

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

.universal-model-grid article {
  min-width: 0;
  padding: 13px;
  border: 1px solid rgba(7, 60, 135, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
}

.universal-model-grid small {
  display: block;
  margin-bottom: 6px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 950;
}

.v4-process-map {
  display: grid;
  gap: 12px;
}

.v4-phase {
  display: grid;
  grid-template-columns: minmax(128px, 0.26fr) minmax(0, 1fr);
  gap: 14px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 28px rgba(4, 20, 46, 0.22);
}

.v4-technical-audit > summary { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 22px clamp(20px, 4vw, 42px); cursor: pointer; color: #fff; background: #092e65; }
.v4-technical-audit > summary span { color: #63e1c7; font-weight: 900; letter-spacing: .12em; }
.v4-technical-audit > summary strong { font-size: 20px; }
.v4-audit-toggle { justify-self: end; padding: 7px 12px; border: 1px solid rgba(99, 225, 199, .55); border-radius: 999px; color: #dffcf5; font-style: normal; font-weight: 900; }
.v4-audit-toggle i { font-style: normal; }
.v4-audit-toggle .is-open { display: none; }
.v4-technical-audit[open] .v4-audit-toggle .is-closed { display: none; }
.v4-technical-audit[open] .v4-audit-toggle .is-open { display: inline; }

@media (max-width: 720px) {
  .v4-technical-audit > summary { grid-template-columns: 1fr auto; gap: 5px 10px; }
  .v4-technical-audit > summary span { grid-column: 1 / -1; }
  .v4-audit-toggle { align-self: center; padding: 6px 10px; font-size: 13px; }
}

.v4-phase-head {
  display: flex;
  align-self: center;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 5px 4px;
}

.v4-phase-head > span {
  display: grid;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(246, 198, 71, 0.32);
  border-radius: 11px;
  background: rgba(217, 154, 22, 0.16);
  color: #f8d67c;
  font-family: Georgia, "Songti SC", serif;
  font-size: 15px;
  font-weight: 950;
}

.v4-phase-head div {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.v4-phase-head small {
  color: rgba(225, 236, 249, 0.62);
  font-size: 9px;
  font-weight: 950;
  letter-spacing: 0.11em;
}

.v4-phase-head strong {
  color: #ffffff;
  font-size: 16px;
  font-weight: 950;
  line-height: 1.2;
}

.universal-model-panel .v4-phase-head p {
  margin: 0;
  color: rgba(231, 239, 250, 0.74);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.5;
}

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

.v4-step-grid article {
  position: relative;
  display: grid;
  gap: 10px;
  align-content: start;
  min-width: 0;
  min-height: 0;
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-left: 3px solid #7fb0e8;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.09);
  box-shadow: 0 7px 18px rgba(4, 20, 46, 0.18);
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.v4-step-grid article:hover {
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(4, 20, 46, 0.28);
}

.v4-step-grid article.is-missing {
  border-style: dashed;
  border-left-style: solid;
  border-left-color: rgba(231, 239, 250, 0.45);
  background: rgba(255, 255, 255, 0.05);
}

.v4-step-title {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
}

.v4-step-title span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 11px;
  font-weight: 950;
  font-variant-numeric: tabular-nums;
}

.v4-step-grid article.is-missing .v4-step-title span {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(231, 239, 250, 0.6);
}

.v4-step-title strong {
  min-width: 0;
  color: #ffffff;
  font-size: 13px;
  font-weight: 950;
  line-height: 1.35;
}

.v4-step-title em {
  padding: 4px 6px;
  border-radius: 999px;
  background: rgba(184, 42, 56, 0.22);
  color: #ffb9c1;
  font-size: 8px;
  font-style: normal;
  font-weight: 950;
  letter-spacing: 0.08em;
}

.universal-model-grid p {
  margin: 0;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.universal-model-panel .v4-step-grid p {
  margin: 0;
  color: #e7effb;
  font-size: 12px;
  font-weight: 780;
  line-height: 1.68;
  overflow-wrap: anywhere;
}

.v4-phase-simulation .v4-phase-head > span {
  border-color: rgba(39, 148, 127, 0.38);
  background: rgba(39, 148, 127, 0.22);
  color: #8fe6cf;
}

.v4-phase-simulation .v4-step-grid article {
  border-left-color: #3eb59b;
}

.v4-phase-gate {
  border-color: rgba(255, 255, 255, 0.16);
  background: linear-gradient(100deg, rgba(184, 42, 56, 0.16), rgba(255, 255, 255, 0.06) 42%);
}

.v4-phase-gate .v4-phase-head > span {
  border-color: rgba(184, 42, 56, 0.4);
  background: rgba(184, 42, 56, 0.22);
  color: #ffc0c7;
}

.v4-phase-gate .v4-step-grid article {
  border-left-color: #e06a76;
}

.v4-phase-final {
  border-color: rgba(246, 198, 71, 0.3);
  background: linear-gradient(110deg, rgba(217, 154, 22, 0.16), rgba(255, 255, 255, 0.06) 42%);
}

.v4-phase-final .v4-phase-head > span {
  border-color: rgba(246, 198, 71, 0.38);
  background: rgba(217, 154, 22, 0.2);
  color: #f8d67c;
}

.v4-phase-final .v4-step-grid {
  grid-template-columns: 1fr;
}

.v4-step-grid article.is-final {
  border: 1px solid rgba(246, 198, 71, 0.34);
  border-left: 4px solid #f0b82d;
  background:
    radial-gradient(circle at 100% 0%, rgba(246, 198, 71, 0.15), transparent 34%),
    linear-gradient(125deg, #082550 0%, #0a468f 100%);
  box-shadow: 0 14px 30px rgba(7, 42, 91, 0.22);
}

.v4-step-grid article.is-final .v4-step-title span {
  background: #f0b82d;
  color: #082550;
}

.v4-step-grid article.is-final .v4-step-title strong,
.universal-model-panel .v4-step-grid article.is-final p {
  color: #fff;
}

.v4-step-grid article.is-final .v4-step-title em {
  background: rgba(246, 198, 71, 0.18);
  color: #f8d67c;
}

.filter-board-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.filter-board-grid div {
  color: var(--ink);
  line-height: 1.5;
  font-weight: 850;
}

.filter-board-grid b {
  color: var(--blue);
}

.match-page-section.lock {
  background: #fff8e6;
}

.match-page-section p {
  margin: 12px 0 0;
  color: var(--ink);
  line-height: 1.72;
}

.match-page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 18px 24px 24px;
}

.match-page-actions button.secondary {
  background: white;
  color: var(--blue);
}

@media (max-width: 900px) {
  .match-page-hero,
  .match-page-columns {
    grid-template-columns: 1fr;
  }

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

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

  .filter-board-grid,
  .universal-model-grid,
  .v4-step-grid,
  .quick-risk-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .universal-model-panel .universal-model-head,
  .v4-phase {
    grid-template-columns: 1fr;
  }

  .v4-phase-head {
    align-items: center;
    padding: 0;
  }
}

@media (max-width: 760px) {
  .r15-review-verdict { grid-template-columns: 1fr; }
  .r15-review-verdict ul { grid-template-columns: 1fr; }
  .r15-comparison-panel > div { grid-template-columns: 1fr; }
  .r15-challenger-queue { grid-template-columns: 1fr; }
  .r15-comparison-panel > header,
  .r15-league-breakdown > header { align-items: start; flex-direction: column; gap: 5px; }
  .v4-phase .v4-step-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .match-page-hero,
  .match-page-grid,
  .match-page-columns,
  .quick-decision-board,
  .sporttery-research-grid {
    padding-right: 14px;
    padding-left: 14px;
  }

  .match-page-grid,
  .decision-grid,
  .filter-board-grid,
  .universal-model-grid,
  .v4-step-grid,
  .quick-decision-board,
  .sporttery-research-grid,
  .quick-risk-grid,
  .summary-grid {
    grid-template-columns: 1fr;
  }

  .match-mode-switch {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-right: 14px;
    margin-left: 14px;
  }

  .match-page-hero h2 {
    font-size: 24px;
    line-height: 1.12;
  }

  .match-page-hero p,
  .match-page-toolbar span {
    display: none;
  }

  .match-page-hero p,
  .match-page-toolbar span {
    overflow-wrap: anywhere;
    word-break: break-all !important;
  }

  .match-page-section {
    margin-right: 14px;
    margin-left: 14px;
  }

  .universal-model-panel {
    gap: 12px;
    padding: 11px;
    border-radius: 17px;
  }

  .universal-model-head {
    gap: 15px;
    padding: 18px 15px;
    border-radius: 14px;
  }

  .universal-model-identity > strong {
    font-size: 24px;
  }

  .universal-model-metrics {
    gap: 6px;
  }

  .universal-model-metrics div {
    padding: 11px 5px;
  }

  .universal-model-metrics b {
    font-size: 21px;
  }

  .universal-model-metrics small {
    font-size: 9px;
  }

  .v4-process-map {
    gap: 9px;
  }

  .v4-phase {
    gap: 11px;
    padding: 11px;
    border-radius: 14px;
  }

  .v4-step-grid article {
    padding: 13px;
  }
}

/* Experience polish without changing the blue/gold tone */
.shell {
  max-width: 1540px;
}

.hero,
.panel,
.signal-strip div,
.tabs {
  backdrop-filter: blur(10px);
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto 24px 18px 24px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(217, 154, 22, 0.8), transparent);
  opacity: 0.75;
}

.hero-panel {
  box-shadow: inset 0 -4px 0 rgba(217, 154, 22, 0.26), 0 14px 34px rgba(8, 32, 82, 0.12);
}

.signal-strip div {
  position: relative;
  overflow: hidden;
}

.signal-strip div::after {
  content: "";
  position: absolute;
  right: 12px;
  bottom: 10px;
  width: 46px;
  height: 28px;
  border-right: 1px solid rgba(11, 91, 180, 0.18);
  border-bottom: 1px solid rgba(11, 91, 180, 0.18);
  transform: skewX(-18deg);
}

.section-head {
  margin-bottom: 18px;
}

.day-lane {
  display: grid;
  gap: 12px;
}

.signal-detail-panel {
  padding: 18px;
}

.signal-page-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7fbff;
}

.signal-page-toolbar button {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--blue);
  border-radius: 6px;
  background: white;
  color: var(--ink);
  font: inherit;
  font-size: 12px;
  font-weight: 950;
  cursor: pointer;
}

.signal-page-toolbar button:hover {
  background: var(--blue);
  color: white;
}

.signal-page-toolbar span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.signal-page-head {
  align-items: flex-end;
  padding-bottom: 14px;
  border-bottom: 1px dashed rgba(7, 60, 135, 0.22);
}

.signal-page-head p:not(.eyebrow) {
  max-width: 760px;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.7;
}

.signal-page-list {
  margin-top: 18px;
}

#today-grid {
  display: block;
}

.day-lane + .day-lane {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px dashed rgba(7, 60, 135, 0.24);
}

.day-lane-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 44px;
  padding: 0 4px;
}

.day-lane-head div {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.day-lane-head span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.day-lane-head strong {
  color: var(--ink);
  font-family: Georgia, "Songti SC", serif;
  font-size: 24px;
}

.day-lane-head em {
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff8e6;
  color: var(--ink);
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.day-lane .match-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(285px, 1fr));
  gap: 14px;
  align-items: stretch;
}

.match-card {
  display: grid;
  grid-template-rows: auto 1fr auto auto auto auto;
  min-height: 276px;
  isolation: isolate;
}

.match-card::after {
  content: "";
  position: absolute;
  inset: 5px 0 auto;
  height: 1px;
  background: linear-gradient(90deg, rgba(7, 60, 135, 0.22), transparent 62%);
}

.match-issue {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 24px;
  border-radius: 999px;
  background: #edf5ff;
  color: var(--blue);
}

.match-card-insight {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 8px;
  row-gap: 2px;
  align-items: center;
  margin: 2px 0 14px;
  padding: 10px 11px;
  border: 1px solid rgba(201, 214, 229, 0.82);
  border-radius: 8px;
  background: linear-gradient(180deg, #f8fbff, #ffffff);
}

.match-live-status {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px 9px;
  align-items: center;
  margin: 0 0 10px;
  padding: 9px 10px;
  border: 1px solid rgba(201, 214, 229, 0.86);
  border-radius: 8px;
  background:
    linear-gradient(110deg, rgba(7, 60, 135, 0.06), transparent 55%),
    #ffffff;
}

.match-live-status span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 950;
}

.match-live-status span::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #9aa8b7;
}

.match-live-status strong {
  color: var(--ink);
  font-family: Georgia, "Songti SC", serif;
  font-size: 22px;
  line-height: 1;
  font-weight: 950;
  text-align: right;
  white-space: nowrap;
}

.match-live-status em {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
  font-weight: 850;
}

.match-live-status.countdown {
  border-color: rgba(217, 154, 22, 0.34);
  background:
    linear-gradient(110deg, rgba(217, 154, 22, 0.12), transparent 62%),
    #fffdf7;
}

.match-live-status.countdown span::before {
  background: var(--gold);
}

.match-live-status.live {
  border-color: rgba(201, 17, 35, 0.32);
  background:
    linear-gradient(110deg, rgba(201, 17, 35, 0.12), transparent 62%),
    #fff8f8;
}

.match-live-status.live span::before {
  background: #c91123;
  box-shadow: 0 0 0 0 rgba(201, 17, 35, 0.44);
  animation: livePulse 1.25s infinite;
}

.match-live-status.finished {
  border-color: rgba(0, 145, 90, 0.28);
  background:
    linear-gradient(110deg, rgba(0, 145, 90, 0.1), transparent 62%),
    #f7fffb;
}

.match-live-status.finished span::before {
  background: var(--green);
}

@keyframes livePulse {
  70% {
    box-shadow: 0 0 0 8px rgba(201, 17, 35, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(201, 17, 35, 0);
  }
}

.match-card-insight strong,
.match-card-insight em {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.match-card-insight strong {
  color: var(--ink);
  font-size: 13px;
  font-weight: 950;
}

.match-card-insight em {
  grid-column: 2;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 850;
}

.match-live-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin: -2px 0 12px;
}

.match-live-strip span {
  display: grid;
  gap: 2px;
  min-width: 0;
  padding: 7px 8px;
  border: 1px solid rgba(201, 214, 229, 0.82);
  border-radius: 7px;
  background: rgba(248, 251, 255, 0.78);
}

.match-live-strip span.ready {
  border-color: rgba(41, 155, 103, 0.32);
  background: rgba(237, 250, 244, 0.82);
}

.match-live-strip span.watch {
  border-color: rgba(217, 154, 22, 0.35);
  background: rgba(255, 247, 223, 0.86);
}

.match-live-strip span.hot {
  border-color: rgba(201, 17, 35, 0.28);
  background: rgba(255, 240, 240, 0.82);
}

.match-live-strip span.closed,
.match-live-strip span.pending {
  color: var(--muted);
}

.match-live-strip b,
.match-live-strip strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.match-live-strip b {
  color: var(--muted);
  font-size: 10px;
  font-weight: 950;
}

.match-live-strip strong {
  color: var(--ink);
  font-size: 12px;
  font-weight: 950;
}

.status-dot {
  grid-row: span 2;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 4px rgba(193, 18, 31, 0.1);
}

.status-dot.done {
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(0, 130, 72, 0.11);
}

.card-deep-link {
  justify-self: start;
  padding: 5px 0;
  border-bottom: 1px solid rgba(11, 91, 180, 0.28);
}

.match-card:hover .card-deep-link {
  color: var(--red);
  border-bottom-color: rgba(193, 18, 31, 0.34);
}

.match-page-toolbar {
  position: sticky;
  top: 0;
  z-index: 12;
}

.match-page-hero {
  position: relative;
  overflow: hidden;
}

.match-page-hero::after {
  content: "";
  position: absolute;
  right: 18px;
  bottom: 12px;
  width: 92px;
  height: 22px;
  border-right: 1px solid rgba(255, 255, 255, 0.24);
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
  transform: skewX(-22deg);
}

.match-page-section {
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.match-page-section:hover {
  transform: translateY(-1px);
}

.match-page-section.lock {
  position: relative;
  border-color: #e2bf67;
  box-shadow: 0 16px 34px rgba(217, 154, 22, 0.12);
}

.match-page-section.lock::before {
  content: "FINAL";
  position: absolute;
  right: 14px;
  top: 12px;
  color: rgba(217, 154, 22, 0.32);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.2em;
}

.review-summary-grid {
  margin-bottom: 18px;
}

.review-metric {
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.review-metric:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(8, 32, 82, 0.12);
}

.review-record-table tbody tr:hover td {
  background: #edf5ff !important;
}

.review-record-table tbody tr:hover td:nth-child(n + 8):nth-child(-n + 15) {
  background: #fff2c8 !important;
}

@media (max-width: 900px) {
  .day-lane-head {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .day-lane-head {
    min-height: 0;
  }

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

  .match-live-strip {
    grid-template-columns: 1fr;
  }

  .match-card-insight strong,
  .match-card-insight em {
    white-space: normal;
  }

}

.path-head {
  align-items: flex-end;
}

.path-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 18px;
  align-items: stretch;
  margin-bottom: 16px;
  padding: 18px;
  border: 1px solid rgba(7, 60, 135, 0.34);
  border-radius: 8px;
  background:
    linear-gradient(120deg, rgba(8, 32, 82, 0.96), rgba(7, 60, 135, 0.9)),
    var(--blue);
  color: white;
  overflow: hidden;
  position: relative;
}

.path-hero::before {
  content: "";
  position: absolute;
  inset: 14px 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  transform: skewX(-18deg);
  pointer-events: none;
}

.path-hero-copy {
  position: relative;
  z-index: 1;
}

.path-hero h3 {
  margin-bottom: 10px;
  font-family: Georgia, "Songti SC", serif;
  font-size: 34px;
  line-height: 1.08;
}

.path-hero p:not(.eyebrow) {
  max-width: 780px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
  line-height: 1.75;
}

.path-hero-meter {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  gap: 6px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom: 4px solid var(--gold);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 0 26px rgba(255, 255, 255, 0.05);
}

.path-hero-meter span,
.path-hero-meter em {
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.74);
}

.path-hero-meter strong {
  color: #fff2bf;
  font-family: Georgia, "Songti SC", serif;
  font-size: 46px;
  line-height: 1;
}

.path-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.path-summary article,
.contender-card,
.path-table-card,
.path-group,
.team-path-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
}

.path-summary article {
  display: grid;
  gap: 5px;
  min-height: 96px;
  padding: 14px;
  position: relative;
  overflow: hidden;
}

.path-summary article::after {
  content: "";
  position: absolute;
  right: 12px;
  bottom: 10px;
  width: 42px;
  height: 24px;
  border-right: 1px solid rgba(217, 154, 22, 0.26);
  border-bottom: 1px solid rgba(217, 154, 22, 0.26);
  transform: skewX(-20deg);
}

.path-summary span,
.team-path-top span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.path-summary strong {
  font-family: Georgia, "Songti SC", serif;
  font-size: 33px;
  line-height: 1;
}

.path-summary em {
  color: var(--ink);
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.contender-board {
  margin-bottom: 18px;
}

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

.contender-card {
  display: grid;
  gap: 8px;
  min-height: 158px;
  padding: 16px;
  border-top: 4px solid var(--blue);
  box-shadow: 0 12px 28px rgba(8, 32, 82, 0.08);
}

.contender-card.rank-1 {
  border-top-color: var(--gold);
  background: linear-gradient(180deg, #fff8e4, #ffffff);
}

.rank-label {
  color: var(--gold);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.12em;
}

.contender-card strong {
  font-family: Georgia, "Songti SC", serif;
  font-size: 25px;
}

.contender-card em,
.contender-card b {
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.contender-card em {
  color: var(--muted);
}

.title-gauge {
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: #e7eef8;
}

.title-gauge i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--gold));
}

.path-table-card {
  padding: 16px;
}

.path-group-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.path-group {
  display: grid;
  gap: 10px;
  padding: 12px;
  background:
    linear-gradient(90deg, rgba(7, 60, 135, 0.035) 1px, transparent 1px),
    linear-gradient(rgba(7, 60, 135, 0.035) 1px, transparent 1px),
    #ffffff;
  background-size: 22px 22px;
}

.path-group-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 30px;
}

.path-group-head strong {
  color: var(--blue);
  font-family: Georgia, "Songti SC", serif;
  font-size: 22px;
}

.path-group-head span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.team-path-card {
  padding: 10px;
  box-shadow: 0 8px 18px rgba(8, 32, 82, 0.05);
}

.team-path-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.team-path-top div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.team-path-top strong {
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 15px;
  font-weight: 950;
}

.team-path-top em {
  flex: 0 0 auto;
  padding: 4px 7px;
  border: 1px solid rgba(217, 154, 22, 0.34);
  border-radius: 999px;
  background: #fff8e6;
  color: var(--ink);
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}

.path-mini-chart {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 5px;
  align-items: end;
  min-height: 98px;
}

.path-mini-stage {
  display: grid;
  grid-template-rows: 62px auto auto;
  gap: 3px;
  align-items: end;
  min-width: 0;
  text-align: center;
}

.path-mini-stage i {
  justify-self: center;
  width: 100%;
  max-width: 18px;
  border-radius: 5px 5px 2px 2px;
  background: linear-gradient(180deg, var(--gold), var(--blue));
}

.path-mini-stage em,
.path-mini-stage b {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
}

.path-mini-stage em {
  color: var(--muted);
}

.path-mini-stage b {
  color: var(--ink);
}

@media (max-width: 1100px) {
  .path-summary,
  .contender-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 720px) {
  .path-hero {
    grid-template-columns: 1fr;
  }

  .path-summary,
  .contender-grid,
  .path-group-grid {
    grid-template-columns: 1fr;
  }

  .path-hero h3 {
    font-size: 27px;
  }

  .path-table-card {
    padding: 12px;
  }
}

.standings-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.standings-summary article,
.standing-group,
.third-race,
.standings-board {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.95);
}

.standings-summary article {
  display: grid;
  gap: 5px;
  min-height: 94px;
  padding: 14px;
  position: relative;
  overflow: hidden;
}

.standings-summary article::after {
  content: "";
  position: absolute;
  right: 12px;
  bottom: 10px;
  width: 42px;
  height: 24px;
  border-right: 1px solid rgba(217, 154, 22, 0.26);
  border-bottom: 1px solid rgba(217, 154, 22, 0.26);
  transform: skewX(-20deg);
}

.standings-summary span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.standings-summary strong {
  font-family: Georgia, "Songti SC", serif;
  font-size: 32px;
  line-height: 1;
}

.standings-summary em {
  color: var(--ink);
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.third-race,
.standings-board {
  padding: 16px;
  margin-bottom: 18px;
}

.third-race-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}

.third-chip {
  display: grid;
  gap: 4px;
  min-height: 74px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7fbff;
}

.third-chip.alive {
  border-color: rgba(217, 154, 22, 0.48);
  background: #fff8e6;
}

.third-chip.outside {
  opacity: 0.74;
}

.third-chip span {
  color: var(--gold);
  font-size: 11px;
  font-weight: 950;
}

.third-chip strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
}

.third-chip em {
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
  font-weight: 850;
}

.path-simulation {
  padding: 16px;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff, #f7fbff);
}

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

.path-simulation-grid article {
  display: grid;
  gap: 10px;
  min-height: 168px;
  padding: 14px;
  border: 1px solid #d8e4f2;
  border-radius: 8px;
  background: #fffdf6;
}

.path-simulation-grid article > span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 950;
}

.path-simulation-grid article > strong {
  color: var(--ink);
  font-size: 20px;
  font-weight: 950;
}

.path-stage-bars {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  align-items: end;
  gap: 6px;
  min-height: 86px;
}

.path-mini-stage {
  display: grid;
  align-items: end;
  gap: 4px;
  min-width: 0;
  height: 86px;
}

.path-mini-stage i {
  display: block;
  min-height: 4px;
  border-radius: 999px 999px 2px 2px;
  background: linear-gradient(180deg, #d99a16, #0c4a92);
}

.path-mini-stage em,
.path-mini-stage b {
  overflow: hidden;
  color: var(--muted);
  font-size: 10px;
  font-style: normal;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.path-bubble-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.path-bubble-line b,
.path-bubble-line span {
  min-height: 28px;
  padding: 5px 9px;
  border-radius: 999px;
  background: #eef5ff;
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
}

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

.standing-group {
  overflow: hidden;
  box-shadow: 0 12px 26px rgba(8, 32, 82, 0.06);
  transform-origin: center;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}

.standing-group:hover {
  animation: card-wobble 0.34s ease both;
  border-color: rgba(7, 60, 135, 0.42);
  box-shadow: 0 18px 36px rgba(8, 32, 82, 0.14);
}

@keyframes card-wobble {
  0% {
    transform: translateY(0) rotate(0deg);
  }

  35% {
    transform: translateY(-4px) rotate(-0.25deg);
  }

  70% {
    transform: translateY(-3px) rotate(0.18deg);
  }

  100% {
    transform: translateY(-3px) rotate(0deg);
  }
}

.standing-group-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: 0 14px;
  background: linear-gradient(90deg, var(--blue), #114f9e);
  color: white;
}

.standing-group-head strong {
  font-family: Georgia, "Songti SC", serif;
  font-size: 24px;
}

.standing-group-head span {
  font-size: 12px;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.78);
}

.standing-table {
  display: grid;
  min-width: 0;
}

.standing-row {
  display: grid;
  grid-template-columns: 42px minmax(112px, 1.5fr) repeat(4, 34px) 58px 42px 44px 86px;
  align-items: center;
  min-height: 48px;
  padding: 0 10px;
  border-top: 1px solid var(--line);
  gap: 6px;
  font-size: 12px;
  font-weight: 850;
}

.standing-row-head {
  min-height: 34px;
  background: #edf5ff;
  color: var(--muted);
  font-size: 11px;
  font-weight: 950;
}

.standing-row.direct {
  background: linear-gradient(90deg, rgba(0, 130, 72, 0.1), #ffffff 38%);
}

.standing-row.third {
  background: linear-gradient(90deg, rgba(217, 154, 22, 0.14), #ffffff 42%);
}

.standing-row.watch {
  background: linear-gradient(90deg, rgba(7, 60, 135, 0.08), #ffffff 40%);
}

.standing-row:not(.standing-row-head) {
  transition: background 0.16s ease, transform 0.16s ease;
}

.standing-row:not(.standing-row-head):hover {
  background: #edf5ff;
  transform: translateX(2px);
}

.standing-rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #edf5ff;
  color: var(--blue);
  font-weight: 950;
}

.standing-row.direct .standing-rank {
  background: var(--green);
  color: white;
}

.standing-row.third .standing-rank {
  background: var(--gold);
  color: white;
}

.standing-team {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.standing-team strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
}

.standing-team em {
  color: var(--muted);
  font-size: 10px;
  font-style: normal;
  font-weight: 850;
}

.standing-points {
  color: var(--red);
  font-family: Georgia, "Songti SC", serif;
  font-size: 20px;
  font-weight: 950;
}

.form-dots {
  display: inline-flex;
  gap: 3px;
  align-items: center;
}

.form-dots i,
.form-dots span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  font-size: 9px;
  font-style: normal;
  font-weight: 950;
}

.form-dots i.w {
  background: var(--green);
  color: white;
}

.form-dots i.d {
  background: var(--gold);
  color: white;
}

.form-dots i.l {
  background: var(--red);
  color: white;
}

.form-dots span {
  width: auto;
  padding: 0 6px;
  border-radius: 999px;
  background: #edf5ff;
  color: var(--muted);
}

.knockout-hero-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 560px;
  gap: 18px;
  align-items: stretch;
  margin-bottom: 18px;
  padding: 20px;
  border: 1px solid rgba(7, 60, 135, 0.3);
  border-radius: 10px;
  background:
    linear-gradient(120deg, rgba(7, 60, 135, 0.94), rgba(11, 91, 180, 0.88)),
    var(--blue);
  color: white;
  box-shadow: 0 18px 40px rgba(8, 32, 82, 0.18);
}

.knockout-hero-card h3 {
  margin-bottom: 8px;
  font-family: Georgia, "Songti SC", serif;
  font-size: 34px;
  line-height: 1.1;
}

.knockout-hero-card p:not(.eyebrow) {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 850;
  line-height: 1.8;
}

.knockout-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.knockout-hero-stats article {
  display: grid;
  align-content: center;
  gap: 5px;
  min-height: 116px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom: 4px solid var(--gold);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
}

.knockout-hero-stats span,
.knockout-hero-stats em {
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  font-style: normal;
  font-weight: 850;
}

.knockout-hero-stats strong {
  overflow: hidden;
  color: #fff;
  font-family: Georgia, "Songti SC", serif;
  font-size: 28px;
  line-height: 1.05;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.knockout-bracket-shell {
  overflow-x: auto;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 251, 255, 0.94)),
    var(--panel);
  box-shadow: 0 18px 38px rgba(8, 32, 82, 0.08);
}

.knockout-bracket {
  display: grid;
  grid-template-columns: 300px 280px 260px 240px 240px;
  gap: 18px;
  min-width: 1360px;
}

.knockout-round {
  display: grid;
  gap: 12px;
  align-content: start;
}

.knockout-round-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 42px;
  padding: 0 12px;
  border-radius: 8px;
  background: linear-gradient(90deg, var(--blue), #155ba7);
  color: white;
}

.knockout-round-head strong {
  font-size: 15px;
  font-weight: 950;
}

.knockout-round-head span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 850;
}

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

.knockout-round.r16 .knockout-round-list {
  padding-top: 38px;
  gap: 32px;
}

.knockout-round.qf .knockout-round-list {
  padding-top: 92px;
  gap: 86px;
}

.knockout-round.sf .knockout-round-list {
  padding-top: 194px;
  gap: 188px;
}

.knockout-round.final .knockout-round-list {
  padding-top: 404px;
}

.knockout-card {
  position: relative;
  display: grid;
  gap: 9px;
  min-height: 128px;
  padding: 11px;
  border: 1px solid #b9cce5;
  border-left: 4px solid var(--blue);
  border-radius: 9px;
  background: #ffffff;
  box-shadow: 0 12px 24px rgba(8, 32, 82, 0.08);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}

.knockout-card::after {
  content: "";
  position: absolute;
  right: -20px;
  top: 50%;
  width: 18px;
  border-top: 2px solid rgba(7, 60, 135, 0.28);
}

.knockout-round.final .knockout-card::after {
  display: none;
}

.knockout-card.actionable {
  cursor: pointer;
}

.knockout-card.actionable:hover {
  transform: translateY(-3px);
  border-color: rgba(217, 154, 22, 0.72);
  box-shadow: 0 18px 34px rgba(8, 32, 82, 0.16);
}

.knockout-card.finished {
  border-left-color: var(--green);
  background: linear-gradient(180deg, #ffffff, #f3fff8);
}

.knockout-card.pending {
  border-left-color: #9fb2c8;
  background: linear-gradient(180deg, #ffffff, #f6f9fc);
}

.knockout-card-meta,
.knockout-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.knockout-card-meta span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 25px;
  border-radius: 999px;
  background: #edf5ff;
  color: var(--blue);
  font-weight: 950;
}

.knockout-card-meta em,
.knockout-card-foot em {
  overflow: hidden;
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.knockout-card-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 52px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
}

.knockout-card-body > strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border-radius: 8px;
  background: var(--blue);
  color: #fff;
  font-family: Georgia, "Songti SC", serif;
  font-size: 18px;
  line-height: 1;
}

.knockout-team {
  display: grid;
  justify-items: center;
  gap: 5px;
  min-width: 0;
}

.knockout-team em {
  font-size: 20px;
  font-style: normal;
  line-height: 1;
}

.knockout-team b {
  max-width: 100%;
  overflow: hidden;
  color: var(--ink);
  font-size: 16px;
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.knockout-team.pending b {
  color: #8a97a8;
}

.knockout-team.winner b {
  color: var(--green);
}

.knockout-card-foot span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 950;
}

@media (max-width: 1180px) {
  .third-race-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

  .knockout-hero-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .standings-summary {
    grid-template-columns: 1fr;
  }

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

  .standings-board,
  .third-race {
    padding: 12px;
  }

  .standing-group {
    overflow-x: auto;
  }

  .standing-row {
    min-width: 720px;
  }

  .knockout-hero-card {
    padding: 14px;
  }

  .knockout-hero-card h3 {
    font-size: 27px;
  }

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

  .knockout-bracket-shell {
    padding: 12px;
  }
}

/* Home portal */
.home-screen {
  min-height: 100vh;
  padding: 28px;
  overflow: hidden;
}

.home-mode .dashboard-shell {
  display: none;
}

.dashboard-mode .home-screen {
  display: none;
}

.home-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 480px);
  grid-template-rows: auto 1fr auto auto;
  gap: 22px 30px;
  align-items: center;
  width: min(1320px, calc(100vw - 56px));
  min-height: calc(100vh - 56px);
  margin: 0 auto;
}

.home-topbar {
  grid-column: 1 / -1;
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid rgba(7, 60, 135, 0.14);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 12px 34px rgba(8, 32, 82, 0.08);
  backdrop-filter: blur(10px);
}

.home-topbar strong {
  color: var(--blue);
  font-size: 14px;
  font-weight: 950;
  letter-spacing: 0.16em;
}

.home-topbar nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.language-switcher {
  position: relative;
  display: inline-block;
  flex: 0 0 auto;
}

.language-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 86px;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  color: white;
  background: rgba(5, 30, 75, 0.46);
  font: 800 12px/1 system-ui, sans-serif;
  cursor: pointer;
}

.language-toggle:hover,
.language-toggle:focus-visible,
.language-menu button:focus-visible {
  outline: 2px solid rgba(247, 213, 109, 0.72);
  outline-offset: 1px;
}

.language-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 120;
  min-width: 132px;
  padding: 6px;
  border: 1px solid #c9d8ed;
  border-radius: 12px;
  background: white;
  box-shadow: 0 14px 34px rgba(4, 24, 58, 0.22);
}

.language-menu[hidden] {
  display: none;
}

.language-menu button {
  display: block;
  width: 100%;
  padding: 9px 10px;
  border: 0;
  border-radius: 8px;
  color: #17345f;
  background: transparent;
  font: 800 13px/1.2 system-ui, sans-serif;
  text-align: left;
  cursor: pointer;
}

.language-menu button:hover,
.language-menu button.active {
  color: #08285d;
  background: #fff2bd;
}

.language-switcher[aria-busy="true"] {
  opacity: 0.72;
}

@media (max-width: 760px) {
  .home-topbar .language-switcher {
    order: 2;
    margin-left: auto;
  }

  .language-toggle {
    min-width: 82px;
    min-height: 34px;
  }
}

.home-topbar nav span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 950;
}

.home-brand {
  position: relative;
  z-index: 1;
  max-width: 620px;
  align-self: end;
}

.home-brand h1 {
  margin-bottom: 14px;
  color: var(--ink);
  font-family: Georgia, "Songti SC", serif;
  font-size: clamp(46px, 5vw, 72px);
  line-height: 1.02;
}

.home-brand p:not(.eyebrow) {
  max-width: 560px;
  color: var(--muted);
  font-size: 18px;
  font-weight: 850;
  line-height: 1.7;
}

.home-scope {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.home-scope span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(7, 60, 135, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--blue);
  font-size: 13px;
  font-weight: 950;
}

.home-entry {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 14px;
  align-self: stretch;
  min-height: 330px;
  padding: 30px;
  overflow: hidden;
  border: 1px solid rgba(7, 60, 135, 0.32);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(8, 32, 82, 0.98), rgba(7, 60, 135, 0.94)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.11) 0 1px, transparent 1px 82px);
  color: white;
  cursor: pointer;
  font: inherit;
  text-align: left;
  box-shadow: 0 24px 70px rgba(8, 32, 82, 0.24);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.home-entry::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  transform: skewX(-16deg);
  pointer-events: none;
}

.home-entry::after {
  content: "";
  position: absolute;
  right: 26px;
  bottom: 24px;
  width: 132px;
  height: 72px;
  border-right: 2px solid rgba(217, 154, 22, 0.75);
  border-bottom: 2px solid rgba(217, 154, 22, 0.75);
  transform: skewX(-20deg);
  pointer-events: none;
}

.home-entry:hover {
  transform: translateY(-4px);
  border-color: rgba(217, 154, 22, 0.8);
  box-shadow: 0 30px 82px rgba(8, 32, 82, 0.32);
}

.home-entry:focus-visible {
  outline: 3px solid rgba(217, 154, 22, 0.9);
  outline-offset: 4px;
}

.home-entry-kicker {
  color: #ffd77b;
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

.home-entry strong {
  max-width: 350px;
  color: white;
  font-family: Georgia, "Songti SC", serif;
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1.08;
}

.home-entry small {
  max-width: 320px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 850;
  line-height: 1.65;
}

.home-entry em {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(255, 215, 123, 0.7);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff3cf;
  font-style: normal;
  font-weight: 950;
}

.home-entry i {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 26px;
  height: 2px;
  background: linear-gradient(90deg, rgba(255, 215, 123, 0.95), transparent);
}

.home-status-row {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.home-status-row article {
  min-height: 76px;
  padding: 14px;
  border: 1px solid rgba(7, 60, 135, 0.14);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 34px rgba(8, 32, 82, 0.07);
}

.home-status-row span {
  display: block;
  margin-bottom: 7px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 950;
}

.home-status-row strong {
  color: var(--ink);
  font-size: 17px;
  font-weight: 950;
}

.home-module-grid {
  grid-column: 1 / -1;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.home-module {
  display: grid;
  gap: 7px;
  min-height: 132px;
  padding: 16px;
  border: 1px solid rgba(7, 60, 135, 0.16);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 16px 42px rgba(8, 32, 82, 0.08);
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

.home-module:hover {
  transform: translateY(-3px);
  border-color: rgba(7, 60, 135, 0.34);
  box-shadow: 0 20px 48px rgba(8, 32, 82, 0.13);
}

.home-module.live {
  border-color: rgba(217, 154, 22, 0.42);
  background: linear-gradient(135deg, rgba(255, 248, 230, 0.86), rgba(255, 255, 255, 0.78));
}

.home-module.accent {
  background: linear-gradient(135deg, rgba(237, 245, 255, 0.88), rgba(255, 255, 255, 0.78));
}

.home-module span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 950;
}

.home-module strong {
  color: var(--ink);
  font-size: 20px;
  font-weight: 950;
}

.home-module em {
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
  font-weight: 900;
}

.home-orbit {
  position: absolute;
  left: 4%;
  bottom: 19%;
  display: grid;
  gap: 10px;
  width: 360px;
  padding: 18px;
  border: 1px solid rgba(7, 60, 135, 0.16);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.48);
  box-shadow: 0 18px 48px rgba(8, 32, 82, 0.08);
}

.home-orbit span {
  display: block;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(7, 60, 135, 0.16), rgba(217, 154, 22, 0.38));
}

.home-orbit span:nth-child(2) {
  width: 72%;
}

.home-orbit span:nth-child(3) {
  width: 52%;
}

.home-orbit b {
  position: absolute;
  right: 18px;
  top: 16px;
  color: rgba(8, 32, 82, 0.16);
  font-family: Georgia, "Songti SC", serif;
  font-size: 56px;
  line-height: 1;
}

@media (max-width: 1180px) {
  .home-module-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .home-screen {
    padding: 18px;
  }

  .home-shell {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    width: min(100%, 560px);
    min-height: calc(100vh - 36px);
  }

  .home-topbar {
    align-items: flex-start;
    flex-direction: column;
    height: auto;
    padding: 12px;
  }

  .home-topbar nav {
    justify-content: flex-start;
  }

  .home-brand h1 {
    font-size: 44px;
  }

  .home-entry {
    min-height: 260px;
  }

  .home-entry strong {
    font-size: 34px;
  }

  .home-status-row {
    grid-template-columns: 1fr;
  }

  .home-module-grid {
    grid-template-columns: 1fr;
    margin-top: 0;
  }

  .home-orbit {
    position: relative;
    left: auto;
    bottom: auto;
    width: 100%;
  }
}

/* Dark product-style homepage */
.home-screen {
  min-height: 100vh;
  padding: 0;
  overflow: visible;
  background: #f5f7fb;
}

.home-screen .home-topbar {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  min-height: 68px;
  padding: 0 clamp(22px, 7vw, 128px);
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0;
  background: #162b46;
  color: rgba(255, 255, 255, 0.86);
  box-shadow: none;
  backdrop-filter: none;
}

.home-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
}

.home-logo span {
  font-size: 19px;
}

.home-logo strong {
  color: #eef5ff;
  font-size: 17px;
  font-weight: 950;
  letter-spacing: 0;
}

.home-screen .home-topbar nav {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 8px;
  justify-content: center;
}

.home-screen .home-topbar nav button,
.home-top-actions button {
  min-height: 40px;
  padding: 0 15px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 900;
}

.home-screen .home-topbar nav button.active {
  background: rgba(217, 154, 22, 0.28);
  color: #f7d56d;
}

.home-screen .home-topbar nav button:hover,
.home-top-actions button:hover {
  background: rgba(255, 255, 255, 0.08);
  color: white;
}

.home-top-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
}

.home-top-actions span {
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  font-weight: 850;
}

.home-top-actions button {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
}

.home-top-actions button.login {
  border: 0;
  border-radius: 999px;
  background: #d99a16;
  color: #10233e;
}

.home-hero {
  min-height: 690px;
  padding: 96px clamp(22px, 7vw, 128px) 92px;
  background:
    radial-gradient(circle at 76% 78%, rgba(190, 62, 104, 0.24), transparent 26%),
    radial-gradient(circle at 16% 8%, rgba(19, 91, 152, 0.32), transparent 34%),
    linear-gradient(135deg, #09233d 0%, #091b33 52%, #1b1329 100%);
  color: white;
}

.home-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 520px);
  gap: clamp(42px, 7vw, 96px);
  align-items: center;
  width: min(1320px, 100%);
  margin: 0 auto;
}

.home-copy {
  display: grid;
  gap: 26px;
}

.home-badge {
  display: inline-flex;
  align-items: center;
  width: max-content;
  min-height: 30px;
  padding: 0 15px;
  border-radius: 999px;
  background: rgba(217, 154, 22, 0.22);
  color: #e7bc43;
  font-size: 13px;
  font-weight: 950;
}

.home-copy h1 {
  max-width: 680px;
  margin: 0;
  color: #f8fbff;
  font-family: "Avenir Next", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: clamp(46px, 5.4vw, 78px);
  font-weight: 950;
  line-height: 1.08;
}

.home-copy h1 strong {
  display: block;
  color: #d9b64a;
  font: inherit;
}

.home-copy p {
  max-width: 640px;
  margin: 0;
  color: rgba(232, 239, 248, 0.78);
  font-size: 18px;
  font-weight: 750;
  line-height: 1.8;
}

.home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.home-actions button {
  min-height: 50px;
  padding: 0 22px;
  border: 0;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.08);
  color: white;
  cursor: pointer;
  font: inherit;
  font-weight: 950;
}

.home-actions button:first-child {
  background: #d99a16;
  color: #10233e;
}

.home-actions button.secondary {
  background: rgba(255, 255, 255, 0.08);
}

.home-countdown-card {
  position: relative;
  isolation: isolate;
  display: grid;
  align-content: center;
  gap: 24px;
  min-height: 286px;
  padding: clamp(28px, 3.6vw, 50px);
  overflow: hidden;
  border: 1px solid rgba(187, 202, 222, 0.19);
  border-radius: 24px;
  background:
    radial-gradient(circle at 94% 112%, rgba(121, 45, 91, 0.28), transparent 42%),
    linear-gradient(145deg, rgba(29, 48, 72, 0.78), rgba(31, 32, 55, 0.92));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 26px 90px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(18px);
  cursor: pointer;
}

.home-countdown-card:focus-visible {
  outline: 3px solid rgba(217, 154, 22, 0.8);
  outline-offset: 4px;
}

.home-countdown-card::before {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: -1;
  border-radius: 25px;
  background:
    linear-gradient(110deg, rgba(255, 255, 255, 0.07), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 48%);
  opacity: 0.8;
}

.home-countdown-card::after {
  content: "";
  position: absolute;
  right: -54px;
  bottom: -80px;
  width: 240px;
  height: 190px;
  border-radius: 999px;
  background: rgba(217, 154, 22, 0.12);
  filter: blur(22px);
  z-index: -1;
}

.home-countdown-kicker {
  color: rgba(220, 229, 242, 0.58);
  font-size: 20px;
  font-weight: 850;
}

.home-countdown-card strong {
  display: flex;
  align-items: center;
  gap: 20px;
  min-width: 0;
  color: white;
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 850;
  line-height: 1.18;
  letter-spacing: 0;
}

.home-countdown-card strong small {
  color: rgba(220, 229, 242, 0.58);
  font-size: 26px;
  font-weight: 750;
}

.home-countdown-card .team-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  font-size: 17px;
  line-height: 1;
}

.home-countdown-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.home-countdown-grid div {
  display: grid;
  place-items: center;
  min-height: 116px;
  padding: 16px 10px 18px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 17px;
  background:
    linear-gradient(145deg, rgba(99, 108, 130, 0.64), rgba(76, 72, 96, 0.76));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.home-countdown-grid b {
  color: white;
  font-size: clamp(42px, 4.4vw, 58px);
  font-variant-numeric: tabular-nums;
  font-weight: 850;
  line-height: 1;
}

.home-countdown-grid small {
  margin-top: 10px;
  color: rgba(236, 241, 248, 0.72);
  font-size: 16px;
  font-weight: 850;
}

.home-upcoming {
  padding: 76px clamp(22px, 7vw, 128px) 34px;
  background:
    radial-gradient(circle at 10% 4%, rgba(217, 154, 22, 0.08), transparent 28%),
    linear-gradient(180deg, #f7f9fc 0%, #f3f6fa 100%);
}

.home-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  width: min(1320px, 100%);
  margin: 0 auto 30px;
}

.home-section-head span {
  color: #8c98ab;
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

.home-section-head h2 {
  margin: 8px 0 0;
  color: #09233d;
  font-family: "Avenir Next", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 34px;
  font-weight: 950;
}

.home-section-head button,
.home-section-head .home-section-link {
  min-height: 40px;
  border: 0;
  background: transparent;
  color: #09233d;
  cursor: pointer;
  font: inherit;
  font-weight: 950;
  text-decoration: none;
}

.home-upcoming .home-section-head > div {
  position: relative;
  padding-left: 18px;
}

.home-upcoming .home-section-head > div::before {
  position: absolute;
  top: 2px;
  bottom: 2px;
  left: 0;
  width: 4px;
  border-radius: 999px;
  background: #d99a16;
  content: "";
}

.home-upcoming .home-section-head span {
  color: #9b711a;
  letter-spacing: 0.14em;
}

.home-upcoming .home-section-head button,
.home-upcoming .home-section-head .home-section-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(9, 35, 61, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 8px 24px rgba(8, 32, 82, 0.05);
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.home-upcoming .home-section-head button:hover,
.home-upcoming .home-section-head .home-section-link:hover {
  border-color: rgba(217, 154, 22, 0.55);
  background: #fff;
  transform: translateX(3px);
}

.home-upcoming-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  width: min(1320px, 100%);
  margin: 0 auto;
}

.home-match-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
  min-height: 236px;
  padding: 24px 24px 18px;
  overflow: hidden;
  border: 1px solid rgba(32, 67, 108, 0.10);
  border-radius: 20px;
  background:
    radial-gradient(circle at 90% 0%, rgba(31, 78, 137, 0.06), transparent 34%),
    #fff;
  color: #09233d;
  cursor: pointer;
  text-align: left;
  box-shadow: 0 18px 42px rgba(8, 32, 82, 0.075);
  isolation: isolate;
  transition: border-color 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}

.home-match-card::before {
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, #d99a16 0 26%, #0b438a 26% 100%);
  content: "";
}

.home-match-card:hover {
  border-color: rgba(11, 67, 138, 0.26);
  transform: translateY(-5px);
  box-shadow: 0 26px 58px rgba(8, 32, 82, 0.14);
}

.home-match-card.is-live::before {
  background: linear-gradient(90deg, #d12035 0 38%, #0b438a 38% 100%);
}

.home-match-card.pending-result::before {
  background: linear-gradient(90deg, #d99a16 0 48%, #6f7d91 48% 100%);
}

.home-match-card.finished::before {
  background: linear-gradient(90deg, #00875a 0 46%, #0b438a 46% 100%);
}

.home-match-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.home-match-card .home-match-league {
  width: max-content;
  max-width: 65%;
  padding: 6px 11px;
  border-radius: 999px;
  background: #edf2f8;
  color: #294563;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.02em;
}

.home-match-card .home-match-date {
  color: #8c98ab;
  font-size: 13px;
  font-style: normal;
  font-weight: 850;
  white-space: nowrap;
}

.home-match-fixture {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  min-height: 86px;
  padding: 18px 0 14px;
}

.home-match-card .home-match-team {
  min-width: 0;
  color: #09233d;
  font-size: clamp(20px, 1.45vw, 27px);
  font-weight: 950;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.home-match-card .home-match-team-away {
  text-align: right;
}

.home-match-card .home-match-versus {
  display: grid;
  width: 42px;
  height: 34px;
  place-items: center;
  border-radius: 10px;
  background: #0b438a;
  color: #fff;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0.12em;
  box-shadow: 0 8px 18px rgba(11, 67, 138, 0.2);
}

.home-match-countdown {
  display: grid;
  grid-template-columns: minmax(72px, auto) minmax(90px, 1fr) minmax(110px, auto);
  align-items: center;
  gap: 12px;
  min-height: 54px;
  padding: 10px 12px;
  border: 1px solid #dce5ef;
  border-radius: 12px;
  background:
    linear-gradient(90deg, rgba(217, 154, 22, 0.12), transparent 42%),
    #f6f9fc;
}

.home-match-countdown small,
.home-match-countdown em {
  color: #687a91;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
  line-height: 1.35;
}

.home-match-countdown strong {
  display: block;
  color: #bd1929;
  font-size: 19px;
  font-variant-numeric: tabular-nums;
  font-weight: 950;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}

.home-match-countdown em {
  text-align: right;
}

.home-match-card.pending-result .home-match-countdown strong,
.home-match-card.pending-result .home-match-countdown small {
  color: #b87c00;
}

.home-match-card.finished .home-match-countdown strong,
.home-match-card.finished .home-match-countdown small {
  color: #00875a;
}

.home-match-card.is-live .home-match-countdown {
  border-color: rgba(209, 32, 53, 0.24);
  background:
    linear-gradient(90deg, rgba(209, 32, 53, 0.10), transparent 48%),
    #fff8f8;
}

.home-match-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 14px;
}

.home-match-footer b,
.home-match-footer span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0;
  background: transparent;
  color: #718099;
  font-size: 12px;
  font-weight: 900;
}

.home-match-footer b i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d99a16;
  box-shadow: 0 0 0 4px rgba(217, 154, 22, 0.12);
}

.home-match-footer span {
  color: #31587f;
}

.home-match-footer span i {
  font-size: 14px;
  font-style: normal;
  transition: transform 0.18s ease;
}

.home-match-card:hover .home-match-footer span i {
  transform: translate(2px, -2px);
}

.home-match-card.is-live .home-match-footer b i {
  background: #d12035;
  box-shadow: 0 0 0 4px rgba(209, 32, 53, 0.12);
  animation: pulse 1.4s ease-in-out infinite;
}

.home-match-card.finished .home-match-footer b i {
  background: #00875a;
  box-shadow: 0 0 0 4px rgba(0, 135, 90, 0.12);
}

@media (max-width: 1120px) {
  .home-upcoming .home-upcoming-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .home-upcoming {
    padding: 34px 14px 22px;
  }

  .home-upcoming .home-section-head {
    margin-bottom: 20px;
  }

  .home-upcoming .home-section-head > div {
    padding-left: 13px;
  }

  .home-upcoming .home-section-head button,
  .home-upcoming .home-section-head .home-section-link {
    min-height: 34px;
    padding: 0 11px;
  }

  .home-upcoming .home-upcoming-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .home-upcoming .home-match-card {
    align-items: stretch;
    min-height: 0;
    padding: 18px 16px 14px;
    border-radius: 17px;
  }

  .home-match-fixture {
    grid-template-columns: minmax(0, 1fr) 38px minmax(0, 1fr);
    gap: 10px;
    min-height: 74px;
    padding: 14px 0 12px;
  }

  .home-match-card .home-match-team {
    grid-column: auto;
    font-size: 20px;
  }

  .home-match-card .home-match-versus {
    width: 38px;
    height: 30px;
    border-radius: 9px;
  }

  .home-match-countdown {
    grid-template-columns: auto 1fr;
    min-height: 0;
    padding: 10px 11px;
  }

  .home-match-countdown strong {
    grid-column: auto;
    font-size: 17px;
    text-align: right;
  }

  .home-match-countdown em {
    grid-column: 1 / -1;
    text-align: left;
  }

  .home-match-footer {
    padding-top: 12px;
  }
}

.home-products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding: 26px clamp(22px, 7vw, 128px) 72px;
  background: #f5f7fb;
}

.home-products article {
  display: grid;
  gap: 8px;
  min-height: 126px;
  padding: 18px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: white;
}

.home-products span {
  color: #d99a16;
  font-size: 12px;
  font-weight: 950;
}

.home-products strong {
  color: #09233d;
  font-size: 19px;
  font-weight: 950;
}

.home-products em {
  color: #718099;
  font-size: 13px;
  font-style: normal;
  font-weight: 850;
}

.home-research-lab {
  padding: 36px clamp(22px, 7vw, 128px) 86px;
  background: #f5f7fb;
}

.home-research-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  width: min(1320px, 100%);
  margin: 0 auto;
}

.home-research-grid article {
  display: grid;
  gap: 10px;
  min-height: 154px;
  padding: 18px;
  border: 1px solid #dce7f3;
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(246, 250, 255, 0.92));
  box-shadow: 0 18px 42px rgba(8, 32, 82, 0.07);
}

.home-research-grid article::before {
  content: "";
  width: 42px;
  height: 4px;
  border-radius: 999px;
  background: #d99a16;
}

.home-research-grid span {
  color: #657389;
  font-size: 12px;
  font-weight: 950;
}

.home-research-grid strong {
  color: #09233d;
  font-family: Georgia, "Songti SC", serif;
  font-size: 30px;
  line-height: 1.1;
}

.home-research-grid em {
  color: #718099;
  font-size: 13px;
  font-style: normal;
  font-weight: 850;
  line-height: 1.45;
}

@media (max-width: 1120px) {
  .home-screen .home-topbar {
    align-items: flex-start;
    flex-direction: column;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .home-screen .home-topbar nav {
    justify-content: flex-start;
  }

  .home-hero-inner,
  .home-upcoming-grid,
  .home-products,
  .home-research-grid {
    grid-template-columns: 1fr;
  }

  .home-products,
  .home-research-grid {
    width: auto;
  }
}
/* Persistent global navigation */
.home-topbar {
  position: relative;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  min-height: 68px;
  padding: 0 clamp(22px, 7vw, 128px);
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0;
  background: #162b46;
  color: rgba(255, 255, 255, 0.86);
  box-shadow: none;
  backdrop-filter: none;
}

.dashboard-mode .home-topbar {
  position: sticky;
  top: 0;
}

.home-topbar nav {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 8px;
  justify-content: center;
}

.home-topbar nav button,
.home-top-actions button {
  min-height: 40px;
  padding: 0 15px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 900;
}

.home-topbar nav button.active {
  background: rgba(217, 154, 22, 0.28);
  color: #f7d56d;
}

.home-topbar nav button:hover,
.home-top-actions button:hover {
  background: rgba(255, 255, 255, 0.08);
  color: white;
}

.home-screen {
  min-height: calc(100vh - 68px);
}

.home-hero {
  min-height: 690px;
}

@media (max-width: 1120px) {
  .home-topbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .home-topbar nav {
    justify-content: flex-start;
  }
}

.pool-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 10px 28px rgba(8, 32, 82, 0.06);
}

.pool-toolbar span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.pool-toolbar strong {
  color: var(--blue);
  font-size: 15px;
}

.pool-view-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: -2px 0 16px;
}

.pool-view-tabs button {
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 950;
}

.pool-view-tabs button.active {
  border-color: rgba(7, 60, 135, 0.72);
  background: var(--blue);
  color: white;
}

.goal-track-filters {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
}

.goal-track-filters .goal-track-month-select {
  margin-left: 0;
}

.goal-track-month-select {
  width: auto;
  min-width: 0;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--muted);
  font: inherit;
  font-size: 12px;
  font-weight: 950;
  cursor: pointer;
}

.goal-track-month-select.active {
  border-color: rgba(7, 60, 135, 0.72);
  background: var(--blue);
  color: white;
}

.goal-track-view-tabs {
  display: flex;
  align-items: center;
  gap: 24px;
  margin: -4px 0 14px;
  border-bottom: 1px solid var(--line);
}

.goal-track-view-tabs button {
  position: relative;
  padding: 10px 2px 9px;
  border: none;
  background: none;
  color: var(--muted);
  font: inherit;
  font-size: 15px;
  font-weight: 950;
  cursor: pointer;
  transition: color 0.15s;
}

.goal-track-view-tabs button::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: transparent;
  transition: background 0.15s;
}

.goal-track-view-tabs button:hover,
.goal-track-view-tabs button:focus-visible {
  color: var(--blue);
}

.goal-track-view-tabs button.active {
  color: var(--blue);
}

.goal-track-view-tabs button.active::after {
  background: var(--blue);
}

.goal-track-table {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.55);
  overflow: hidden;
}

.goal-track-header {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 14px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(7, 60, 135, 0.1);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(246, 249, 253, 0.72));
}

.goal-track-header .pool-view-tabs {
  margin: 0;
}

.goal-track-heading {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  margin-left: auto;
  color: var(--ink);
  font-size: 15px;
  font-weight: 950;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.goal-track-heading::before {
  content: "";
  width: 3px;
  height: 15px;
  border-radius: 999px;
  background: linear-gradient(180deg, #f0b82d, #d99a16);
  box-shadow: 0 0 8px rgba(217, 154, 22, 0.35);
}

.goal-track-maximize {
  min-height: 34px;
  padding: 0 16px;
  border: 1px solid rgba(7, 60, 135, 0.55);
  border-radius: 999px;
  background: linear-gradient(180deg, #0a4a94, #073568);
  color: #ffffff;
  font: inherit;
  font-size: 13px;
  font-weight: 950;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 6px 14px rgba(7, 42, 91, 0.18);
}

.goal-track-maximize:hover {
  background: linear-gradient(180deg, #0b56ac, #083b78);
}

.goal-track-table .trend-wrap {
  border: 0;
  border-radius: 0;
}

.sporttery-omission-page { display: grid; gap: 18px; }
/* 二级导航切换依赖 hidden 属性真正隐藏内容区；display:grid 会覆盖 UA 默认
   [hidden]{display:none}，因此必须显式强制，否则三个视图会纵向堆叠在一起。 */
[hidden] { display: none !important; }
.omission-hero { display: flex; justify-content: space-between; gap: 24px; min-width: 0; padding: 26px 28px; overflow: hidden; border-radius: 14px; color: #fff; background: radial-gradient(circle at 85% 15%, rgba(240,184,45,.25), transparent 28%), linear-gradient(135deg, #062a55, #084781); box-shadow: 0 18px 38px rgba(7,42,91,.18); }
.omission-hero > div { min-width: 0; }
.omission-hero h2 { margin: 4px 0 8px; color: #fff; font-family: Georgia, "Noto Serif SC", serif; font-size: clamp(24px, 3vw, 38px); }
.omission-hero p { max-width: 650px; margin: 0; color: rgba(255,255,255,.76); line-height: 1.7; white-space: normal; overflow-wrap: anywhere; }
.omission-hero aside { min-width: 210px; padding: 16px 18px; border: 1px solid rgba(255,255,255,.17); border-radius: 12px; background: rgba(255,255,255,.08); }
.omission-hero aside span, .omission-hero aside em { display: block; color: rgba(255,255,255,.65); font-size: 12px; font-style: normal; }
.omission-hero aside strong { display: block; margin: 8px 0; color: #f7d56d; font-size: 18px; }
.omission-scope { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255,255,255,.82); }
.omission-scope > span { margin-right: 4px; color: var(--ink); font-size: 13px; font-weight: 950; }
.omission-scope button { min-height: 34px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--muted); font: inherit; font-size: 12px; font-weight: 950; cursor: pointer; }
.omission-scope button.active { border-color: var(--blue); color: #fff; background: var(--blue); }
.omission-scope em { margin-left: auto; color: var(--muted); font-size: 12px; font-style: normal; }
.omission-table-panels { min-width: 0; }
.omission-table-panel[hidden] { display: none !important; }
.omission-section, .omission-detail { padding: 20px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.78); box-shadow: 0 12px 30px rgba(8,32,82,.06); }
.omission-section > header, .omission-detail > header { display: flex; justify-content: space-between; align-items: end; gap: 14px; margin-bottom: 16px; }
.omission-section header span, .omission-detail header span { color: var(--gold); font-size: 11px; font-weight: 950; letter-spacing: .12em; text-transform: uppercase; }
.omission-section h3, .omission-detail h3 { margin: 3px 0 0; color: var(--ink); font-size: 20px; }
.omission-section header em, .omission-detail header em { color: var(--muted); font-size: 12px; font-style: normal; }
.omission-highlights { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.omission-highlights button { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; padding: 15px; text-align: left; border: 1px solid rgba(217,154,22,.3); border-radius: 10px; background: linear-gradient(135deg, #fffdf8, #fff8e5); cursor: pointer; }
.omission-highlights span { color: var(--ink); font-weight: 900; }
.omission-highlights strong { grid-row: span 2; align-self: center; color: #b45309; font-size: 24px; }
.omission-highlights em { color: var(--muted); font-size: 11px; font-style: normal; }
.omission-heatmap-wrap { overflow-x: auto; }
.omission-heatmap-scroll-note { display: none; }
.omission-heatmap { width: 100%; min-width: 720px; border-collapse: separate; border-spacing: 5px; }
.omission-heatmap th { padding: 7px; color: var(--muted); font-size: 12px; }
.omission-cell { width: 100%; min-height: 54px; border: 0; border-radius: 8px; color: #17324f; background: #edf3f8; cursor: pointer; }
.omission-cell strong, .omission-cell span { display: block; }
.omission-cell strong { font-size: 17px; }
.omission-cell span { margin-top: 2px; font-size: 10px; opacity: .72; }
.omission-cell:hover, .omission-cell:focus-visible { outline: 2px solid rgba(7,60,135,.42); outline-offset: 2px; }
.omission-cell.selected { outline: 3px solid var(--blue); outline-offset: 2px; box-shadow: 0 0 0 4px rgba(7,60,135,.12); }
.omission-cell.raised { background: #e8f1d8; color: #49651d; }
.omission-cell.high { background: #fff0bd; color: #8a5a00; }
.omission-cell.very-high { background: #ffd4a8; color: #9a3f05; }
.omission-cell.extreme { background: #bb2d3b; color: #fff; box-shadow: 0 5px 12px rgba(187,45,59,.25); }
.omission-legend { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; color: var(--muted); font-size: 11px; }
.omission-metrics { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.omission-metrics > div { padding: 13px; border-radius: 9px; background: #f4f7fa; }
.omission-metrics span, .omission-metrics strong { display: block; }
.omission-metrics span { color: var(--muted); font-size: 11px; }
.omission-metrics strong { margin-top: 6px; color: var(--blue); font-size: 18px; }
.omission-reference { display: flex; gap: 24px; margin: 14px 0; padding: 11px 14px; border-left: 3px solid var(--gold); background: #fffaf0; color: #735315; font-size: 12px; font-weight: 850; }
.omission-history > span { display: block; margin-bottom: 8px; color: var(--muted); font-size: 12px; font-weight: 900; }
.omission-history div { display: flex; flex-wrap: wrap; gap: 6px; }
.omission-history i { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 7px; background: #eef2f6; color: var(--muted); font-style: normal; font-size: 12px; font-weight: 900; }
.omission-history i.hit { color: #fff; background: var(--blue); }
.omission-followup { display: grid; grid-template-columns: minmax(190px, 1.4fr) repeat(3, 1fr); gap: 8px; margin-top: 16px; }
.omission-followup h4, .omission-followup > div { margin: 0; padding: 13px; border-radius: 9px; background: #f4f7fa; }
.omission-followup h4 { color: var(--ink); font-size: 13px; }
.omission-followup span, .omission-followup strong, .omission-followup em { display: block; }
.omission-followup span, .omission-followup em { color: var(--muted); font-size: 10px; font-style: normal; }
.omission-followup strong { margin: 4px 0; color: var(--blue); font-size: 18px; }
.omission-detail-modal { position: fixed; inset: 0; z-index: 1200; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(4, 24, 52, .48); backdrop-filter: blur(5px); }
.omission-detail-modal[hidden] { display: none !important; }
body.omission-modal-open { overflow: hidden; }
.omission-modal-backdrop { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; border: 0; background: transparent; cursor: default; }
.omission-modal-shell { position: relative; z-index: 1; width: min(1080px, calc(100vw - 48px)); max-height: min(820px, calc(100vh - 48px)); overflow: auto; border: 1px solid var(--line); border-radius: 14px; background: var(--panel, #fff); box-shadow: 0 26px 80px rgba(3, 24, 53, .28); }
.omission-detail { margin: 0; }
.omission-detail-actions { display: flex; align-items: center; gap: 14px; }
.omission-modal-close { display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--muted); font-size: 24px; line-height: 1; cursor: pointer; }
.omission-modal-close:hover, .omission-modal-close:focus-visible { border-color: var(--blue); color: var(--blue); outline: 2px solid rgba(7,60,135,.18); outline-offset: 2px; }
.omission-detail > p { margin: 14px 0 0; color: var(--muted); font-size: 11px; }
@media (max-width: 820px) { .omission-hero { flex-direction: column; padding: 21px; } .omission-hero aside { min-width: 0; } .omission-highlights { grid-template-columns: 1fr 1fr; } .omission-metrics { grid-template-columns: repeat(3, 1fr); } .omission-followup { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .omission-highlights { grid-template-columns: 1fr; } .omission-metrics { grid-template-columns: repeat(2, 1fr); } .omission-scope em { width: 100%; margin-left: 0; } .omission-detail-modal { padding: 10px; } .omission-modal-shell { width: calc(100vw - 20px); max-height: calc(100vh - 20px); } .omission-detail-actions { gap: 8px; } .omission-detail-actions > em { max-width: 108px; text-align: right; } }

.league-chronicle-toolbar {
  margin: 0 0 18px;
}

.league-chip-group {
  margin-bottom: 12px;
}

.league-chip-group:last-child {
  margin-bottom: 0;
}

.league-chip-label {
  display: block;
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 950;
}

.league-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.league-chip {
  padding: 7px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--muted);
  font: inherit;
  font-size: 12px;
  font-weight: 950;
  cursor: pointer;
}

.league-chip:hover,
.league-chip:focus-visible {
  border-color: rgba(7, 60, 135, 0.72);
  color: var(--blue);
}

.league-chip.active {
  border-color: rgba(7, 60, 135, 0.72);
  background: var(--blue);
  color: white;
}

.league-chip .chip-cup {
  display: inline-block;
  margin-right: 5px;
  padding: 0 5px;
  border-radius: 4px;
  background: var(--gold);
  color: #fff;
  font-style: normal;
  font-size: 10px;
  line-height: 15px;
}

.chronicle-type-badge {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--gold);
  color: #fff;
  font-size: 11px;
  font-weight: 950;
  vertical-align: middle;
}

.chronicle-league-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.chronicle-league-head h3 {
  margin: 0;
  font-size: 20px;
}

.chronicle-league-head p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.chronicle-season {
  color: var(--gold);
  font-weight: 950;
}

.chronicle-source {
  color: var(--muted);
  font-size: 11px;
}

.chronicle-block {
  margin: 0 0 22px;
}

.chronicle-block h3 {
  margin: 0 0 10px;
  font-size: 15px;
}

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

.chronicle-standings,
.chronicle-rounds {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.chronicle-standings th,
.chronicle-standings td,
.chronicle-rounds th,
.chronicle-rounds td {
  padding: 7px 9px;
  border-bottom: 1px solid var(--line);
  text-align: center;
  white-space: nowrap;
}

.chronicle-standings th,
.chronicle-rounds th {
  color: var(--muted);
  font-size: 11px;
  font-weight: 950;
}

.chronicle-standings .team-cell,
.chronicle-rounds .team-cell {
  text-align: left;
  font-weight: 800;
}

.chronicle-team-link {
  padding: 2px 0;
  border: 0;
  border-bottom: 1px solid transparent;
  background: transparent;
  color: var(--blue);
  font: inherit;
  font-weight: 950;
  cursor: pointer;
}

.chronicle-team-link:hover,
.chronicle-team-link:focus-visible {
  border-bottom-color: var(--gold);
  color: #0a55a4;
  outline: none;
}

.chronicle-team-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(2, 20, 53, 0.68);
  backdrop-filter: blur(6px);
}

.chronicle-team-dialog {
  width: min(880px, 100%);
  max-height: 90dvh;
  overflow: hidden;
  border: 1px solid rgba(164, 196, 231, 0.95);
  border-radius: 20px;
  background: #f8fbff;
  box-shadow: 0 28px 80px rgba(0, 24, 68, 0.35);
}

.chronicle-team-dialog > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 24px;
  color: #fff;
  background: linear-gradient(135deg, #06275d, #0b4b91);
}

.chronicle-team-dialog > header span { color: #69efd2; font-size: 11px; font-weight: 950; letter-spacing: .1em; }
.chronicle-team-dialog > header h2 { margin: 4px 0; font: 950 30px/1.1 Georgia, "Songti SC", serif; }
.chronicle-team-dialog > header p { margin: 0; color: #c9daf0; font-size: 12px; }
.chronicle-team-close { width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; background: rgba(255,255,255,.08); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; }
.chronicle-team-body { max-height: calc(90dvh - 112px); overflow-y: auto; padding: 18px; }
.chronicle-team-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.chronicle-team-metrics article { display: grid; gap: 4px; padding: 14px; border: 1px solid #c8d8eb; border-radius: 12px; background: #fff; }
.chronicle-team-metrics span { color: #65758a; font-size: 12px; font-weight: 900; }
.chronicle-team-metrics strong { color: #06265b; font: 950 25px/1 Georgia, serif; }
.chronicle-team-metrics small { color: #748297; font-size: 10px; }
.chronicle-team-profile { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.chronicle-team-profile article, .chronicle-team-rounds { padding: 15px; border: 1px solid #c8d8eb; border-radius: 12px; background: linear-gradient(145deg, #fff, #eef6ff); }
.chronicle-team-profile h3, .chronicle-team-rounds h3 { margin: 0 0 8px; color: #0b4b91; font-size: 14px; }
.chronicle-team-profile p { margin: 0 0 8px; color: #53647a; font-size: 12px; line-height: 1.65; }
.chronicle-team-profile p:last-child { margin-bottom: 0; }
.chronicle-team-profile small { display: block; color: #8794a6; }
.team-data-missing { color: #748297 !important; }
.chronicle-team-rounds { margin-top: 12px; background: #fff; }
.chronicle-team-rounds ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.chronicle-team-rounds li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: 9px; background: #edf4fc; }
.chronicle-team-rounds li div { display: grid; gap: 2px; }
.chronicle-team-rounds li b { color: #b77a00; font-size: 10px; }
.chronicle-team-rounds li strong { color: #082b63; font-size: 13px; }
.chronicle-team-rounds li span { color: #68778b; font-size: 11px; text-align: right; }

@media (max-width: 700px) {
  .chronicle-team-modal { align-items: end; padding: 0; }
  .chronicle-team-dialog { width: 100%; max-height: 94dvh; border-radius: 20px 20px 0 0; }
  .chronicle-team-dialog > header { padding: 18px; }
  .chronicle-team-dialog > header h2 { font-size: 25px; }
  .chronicle-team-body { max-height: calc(94dvh - 100px); padding: 12px; }
  .chronicle-team-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chronicle-team-profile { grid-template-columns: 1fr; }
  .chronicle-team-rounds li { align-items: flex-start; flex-direction: column; }
  .chronicle-team-rounds li span { text-align: left; }
}

.chronicle-odds {
  color: var(--muted);
  font-size: 11px;
  white-space: normal;
  min-width: 180px;
}

.process-toggle {
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--blue);
  font: inherit;
  font-size: 11px;
  font-weight: 900;
  cursor: pointer;
}

.process-toggle.active {
  border-color: rgba(7, 60, 135, 0.72);
  background: var(--blue);
  color: white;
}

.process-row > td {
  background: rgba(7, 60, 135, 0.035);
  text-align: left;
}

.process-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 8px;
  margin-bottom: 8px;
}

.process-stat {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 6px;
  align-items: center;
  padding: 6px 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.8);
  font-size: 11px;
}

.process-stat b {
  color: var(--muted);
}

.process-stat i {
  font-style: normal;
  font-weight: 950;
}

.process-events {
  margin: 8px 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 12px;
}

.process-source {
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
}

.process-source:hover {
  text-decoration: underline;
}

.note-card {
  padding: 10px 12px;
  margin-bottom: 10px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.8);
}

.note-head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 4px;
}

.note-category {
  color: var(--blue);
  font-size: 12px;
  font-weight: 950;
}

.note-team {
  color: var(--muted);
  font-size: 12px;
}

.evidence-badge {
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 950;
}

.evidence-verified {
  background: rgba(22, 163, 74, 0.12);
  color: #15803d;
}

.evidence-inferred {
  background: rgba(202, 138, 4, 0.14);
  color: #a16207;
}

.evidence-missing {
  background: rgba(148, 163, 184, 0.16);
  color: #64748b;
}

.note-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.65;
}

.note-sources {
  margin-top: 6px;
  font-size: 11px;
  color: var(--muted);
}

.note-sources a {
  color: var(--blue);
  text-decoration: none;
}

.note-sources a:hover {
  text-decoration: underline;
}

.sporttery-card {
  border-left-color: var(--gold);
}

.sporttery-card.is-live {
  border-left-color: #c91123;
}

.sporttery-card.is-live .match-card-insight {
  border-color: rgba(201, 17, 35, 0.24);
  background:
    linear-gradient(110deg, rgba(201, 17, 35, 0.1), transparent 62%),
    #fffafa;
}

.sporttery-card.is-live .match-card-insight strong {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 9px;
  border-radius: 999px;
  color: #fff;
  background: #c91123;
  box-shadow: 0 4px 12px rgba(201, 17, 35, 0.2);
  font-variant-numeric: tabular-nums;
}

.sporttery-card .match-card-insight em {
  color: var(--muted);
  font-size: 12px;
}

.sporttery-detail-link {
  color: inherit;
  font-weight: 900;
  text-decoration: none;
}

.sporttery-detail-link:hover,
.sporttery-detail-link:focus-visible {
  color: var(--blue);
  text-decoration: underline;
}

.sporttery-detail-odds {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.sporttery-detail-odds.compact {
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
}

.sporttery-detail-odds article {
  display: grid;
  gap: 4px;
  min-height: 64px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(247, 251, 255, 0.92), rgba(255, 248, 230, 0.48));
}

.sporttery-detail-odds small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.sporttery-detail-odds strong {
  color: var(--ink);
  font-family: Georgia, "Songti SC", serif;
  font-size: 24px;
  line-height: 1;
}

.sporttery-detail-odds p {
  margin: 0;
  color: var(--muted);
  font-weight: 850;
}

.sporttery-research-panel {
  border-color: rgba(7, 60, 135, 0.32);
  background:
    linear-gradient(135deg, rgba(247, 251, 255, 0.98), rgba(255, 248, 230, 0.72));
}

.sporttery-research-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}

.sporttery-research-grid article {
  display: grid;
  gap: 6px;
  min-height: 74px;
  padding: 13px;
  border: 1px solid rgba(7, 60, 135, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
}

.sporttery-research-grid small,
.sporttery-data-panel summary {
  color: var(--muted);
  font-size: 12px;
  font-weight: 950;
}

.sporttery-research-grid strong {
  color: var(--ink);
  font-family: Georgia, "Songti SC", serif;
  font-size: 22px;
  line-height: 1.1;
}

.sporttery-risk-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sporttery-risk-list em {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 7px 11px;
  border: 1px solid rgba(217, 154, 22, 0.35);
  border-radius: 999px;
  background: #fff8e6;
  color: var(--ink);
  font-style: normal;
  font-weight: 900;
}

.sporttery-data-panel {
  display: block;
}

.sporttery-data-panel summary {
  cursor: pointer;
  list-style: none;
}

.sporttery-data-panel summary::-webkit-details-marker {
  display: none;
}

.sporttery-data-panel summary::after {
  content: "展开";
  float: right;
  padding: 3px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  font-size: 12px;
}

.sporttery-data-panel[open] summary::after {
  content: "收起";
}

.sporttery-data-panel .match-page-columns {
  padding: 14px 0 0;
}

.sporttery-data-stack {
  display: grid;
  gap: 12px;
  padding-top: 12px;
}

.sporttery-data-stack > section {
  display: grid;
  gap: 10px;
}

.sporttery-data-stack > section > span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 950;
}

.model-intro-panel {
  overflow: hidden;
  padding: 0;
  background: rgba(255, 255, 255, 0.96);
}

.model-stats-panel {
  overflow: hidden;
  padding: 0 0 22px;
  background: rgba(255, 255, 255, 0.96);
}

.site-locks-panel {
  overflow: hidden;
  padding: 0 0 22px;
  background: rgba(255, 255, 255, 0.96);
}

.model-intro-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 28px;
  align-items: stretch;
  padding: 34px;
  background:
    linear-gradient(115deg, rgba(8, 32, 82, 0.98), rgba(7, 60, 135, 0.94)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.1) 0 1px, transparent 1px 86px);
  color: white;
}

.model-stats-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 28px;
  align-items: stretch;
  padding: 34px;
  background:
    linear-gradient(115deg, rgba(8, 32, 82, 0.98), rgba(7, 60, 135, 0.94)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 78px);
  color: white;
}

.panel-hero {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  min-width: 0;
  padding: 22px 26px;
  margin-bottom: 20px;
  overflow: hidden;
  border-radius: 12px;
  color: #fff;
  background: radial-gradient(circle at 88% 20%, rgba(240, 184, 45, 0.22), transparent 30%), linear-gradient(115deg, #062a55, #084781);
  box-shadow: 0 14px 30px rgba(7, 42, 91, 0.16);
}
.panel-hero > div { min-width: 0; }
.panel-hero h2 {
  margin: 4px 0 8px;
  color: #fff;
  font-family: Georgia, "Noto Serif SC", serif;
  font-size: clamp(22px, 2.6vw, 32px);
}
.panel-hero p {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.7;
  overflow-wrap: anywhere;
}
.panel-hero .eyebrow { color: rgba(255, 255, 255, 0.6); }

.site-locks-hero {
  margin-bottom: 22px;
}

.site-locks-list {
  display: grid;
  gap: 14px;
  padding: 0 22px 22px;
}

.site-lock-card {
  cursor: pointer;
  border: 1px solid rgba(7, 60, 135, 0.18);
  border-radius: 8px;
  padding: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(238, 245, 253, 0.92)),
    repeating-linear-gradient(90deg, rgba(7, 60, 135, 0.06) 0 1px, transparent 1px 46px);
  box-shadow: 0 14px 34px rgba(8, 32, 82, 0.08);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.site-lock-card:hover {
  border-color: rgba(217, 154, 22, 0.72);
  box-shadow: 0 18px 42px rgba(8, 32, 82, 0.14);
  transform: translateY(-2px) rotate(-0.25deg);
}

.site-lock-head,
.site-lock-meta,
.site-lock-picks {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.site-lock-head span,
.site-lock-meta span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.site-lock-head h3 {
  margin: 4px 0 0;
  color: var(--ink);
  font-size: 24px;
}

.site-lock-head b {
  border: 1px solid rgba(7, 60, 135, 0.35);
  border-radius: 999px;
  padding: 6px 12px;
  color: var(--blue);
  background: rgba(255, 255, 255, 0.78);
}

.site-lock-meta {
  justify-content: flex-start;
  margin-top: 12px;
}

.site-lock-meta span {
  border-radius: 999px;
  padding: 5px 10px;
  background: rgba(7, 60, 135, 0.08);
}

.site-lock-picks {
  justify-content: flex-start;
  margin-top: 14px;
}

.site-lock-picks strong,
.site-lock-picks span {
  border-radius: 6px;
  padding: 8px 10px;
  color: var(--ink);
  font-weight: 950;
  background: rgba(255, 244, 211, 0.9);
}

.site-lock-card p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 850;
  line-height: 1.7;
}

.model-stats-hero::after {
  content: "";
  position: absolute;
  right: 28px;
  bottom: 24px;
  width: 220px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold));
}

.model-intro-hero::after {
  content: "";
  position: absolute;
  right: 28px;
  bottom: 24px;
  width: 190px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold));
}

.model-intro-hero h2 {
  margin-bottom: 12px;
  color: white;
  font-size: 44px;
}

.model-stats-hero h2 {
  margin-bottom: 12px;
  color: white;
  font-size: 44px;
}

.model-intro-hero p {
  max-width: 860px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.8;
}

.model-stats-hero p {
  max-width: 900px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.8;
}

.model-intro-hero aside {
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 -4px 0 rgba(217, 154, 22, 0.85);
}

.model-stats-hero aside {
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 -4px 0 rgba(217, 154, 22, 0.85);
}

.model-intro-hero aside span,
.model-intro-hero aside em {
  color: rgba(255, 255, 255, 0.72);
  font-style: normal;
  font-weight: 900;
}

.model-stats-hero aside span,
.model-stats-hero aside em {
  color: rgba(255, 255, 255, 0.72);
  font-style: normal;
  font-weight: 900;
}

.model-intro-hero aside strong {
  color: #f7d56d;
  font-family: Georgia, "Songti SC", serif;
  font-size: 58px;
  line-height: 1;
}

.model-intro-hero aside small {
  display: inline-flex;
  width: fit-content;
  margin-top: 4px;
  padding: 5px 9px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.model-stats-hero aside strong {
  color: #f7d56d;
  font-family: Georgia, "Songti SC", serif;
  font-size: 38px;
  line-height: 1.1;
}

.global-stats-cards {
  padding: 22px 22px 0;
}

.r15-backtest-entry {
  margin: 22px;
}

.r15-backtest-launch {
  --r15-green: #1fd19a;
  position: relative;
  display: grid;
  grid-template-columns: 86px minmax(240px, 1fr) minmax(180px, 0.8fr) auto;
  gap: 20px;
  align-items: center;
  width: 100%;
  min-height: 118px;
  padding: 20px 22px;
  overflow: hidden;
  border: 1px solid #153b68;
  border-radius: 10px;
  background:
    linear-gradient(90deg, rgba(31, 209, 154, 0.08) 1px, transparent 1px) 0 0 / 36px 36px,
    linear-gradient(0deg, rgba(31, 209, 154, 0.06) 1px, transparent 1px) 0 0 / 36px 36px,
    #071e3b;
  color: #ffffff;
  text-align: left;
  box-shadow: 0 12px 28px rgba(7, 30, 59, 0.14);
  cursor: pointer;
}

.r15-backtest-launch::after {
  content: "FORMAL ONLY";
  position: absolute;
  top: 10px;
  right: 12px;
  color: rgba(31, 209, 154, 0.48);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.r15-launch-index {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border: 1px solid rgba(31, 209, 154, 0.62);
  border-radius: 50%;
  color: var(--r15-green);
  font-family: Georgia, "Songti SC", serif;
  font-size: 28px;
  font-weight: 900;
  box-shadow: inset 0 0 0 7px rgba(31, 209, 154, 0.06);
}

.r15-launch-copy {
  display: grid;
  gap: 4px;
}

.r15-launch-copy b,
.r15-launch-copy em,
.r15-launch-copy small {
  font-style: normal;
}

.r15-launch-copy > b {
  color: var(--r15-green);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.08em;
}

.r15-launch-copy strong {
  color: #ffffff;
  font-family: Georgia, "Songti SC", serif;
  font-size: 34px;
  line-height: 1;
}

.r15-launch-copy strong small {
  margin-left: 6px;
  color: rgba(255, 255, 255, 0.72);
  font-family: inherit;
  font-size: 15px;
}

.r15-launch-copy em {
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  font-weight: 800;
}

.r15-launch-progress,
.r15-ledger-track {
  display: block;
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.r15-launch-progress i,
.r15-ledger-track i {
  display: block;
  width: var(--r15-progress, 0%);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #1fd19a, #8af0c8);
  box-shadow: 0 0 16px rgba(31, 209, 154, 0.46);
  transition: width 420ms ease;
}

.r15-launch-action {
  padding: 11px 14px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 6px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 950;
  white-space: nowrap;
}

.r15-backtest-launch:hover {
  border-color: rgba(31, 209, 154, 0.84);
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(7, 30, 59, 0.2);
}

.r15-backtest-dialog {
  width: min(1600px, calc(100vw - 36px));
  height: min(980px, 94vh);
}

.r15-backtest-dialog header {
  background:
    linear-gradient(90deg, rgba(31, 209, 154, 0.08) 1px, transparent 1px) 0 0 / 36px 36px,
    linear-gradient(115deg, #061b35, #0a315d);
}

.r15-backtest-dialog header > div > span {
  color: #63e0b5;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.1em;
}

.r15-backtest-body {
  padding: 20px;
}

.r15-ledger-loading {
  display: grid;
  place-items: center;
  gap: 12px;
  min-height: 360px;
  color: #557089;
  background: #f5f8fb;
}

.r15-ledger-loading i {
  width: 44px;
  height: 44px;
  border: 4px solid #cfe0ea;
  border-top-color: #14916d;
  border-radius: 50%;
  animation: r15-ledger-spin 0.8s linear infinite;
}

.r15-ledger-loading b { color: #071e3b; font-size: 18px; }
.r15-ledger-loading span { font-size: 12px; font-weight: 800; }

@keyframes r15-ledger-spin { to { transform: rotate(360deg); } }

.r15-sample-ledger {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(420px, 1.2fr);
  gap: 24px;
  align-items: center;
  padding: 22px;
  border: 1px solid #cbdbe9;
  border-radius: 8px;
  background: #ffffff;
}

.r15-sample-ledger > div:first-child {
  display: grid;
  gap: 4px;
}

.r15-sample-ledger span,
.r15-sample-ledger em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 850;
}

.r15-sample-ledger strong {
  color: #071e3b;
  font-family: Georgia, "Songti SC", serif;
  font-size: 38px;
  line-height: 1;
}

.r15-sample-ledger strong small {
  margin-left: 4px;
  color: #557089;
  font-size: 18px;
}

.r15-ledger-track {
  background: #e5eef5;
}

.r15-sample-ledger dl {
  display: flex;
  gap: 10px;
  margin: 0;
}

.r15-sample-ledger dl div {
  min-width: 82px;
  padding: 10px 12px;
  border-left: 2px solid #1fd19a;
  background: #f4faf8;
}

.r15-sample-ledger dt {
  color: #557089;
  font-size: 10px;
  font-weight: 900;
}

.r15-sample-ledger dd {
  margin: 3px 0 0;
  color: #071e3b;
  font-size: 20px;
  font-weight: 950;
}

.r15-daily-review-launch {
  position: relative;
  display: grid;
  grid-template-columns: minmax(170px, 0.55fr) minmax(320px, 1.5fr) minmax(220px, 0.8fr) auto;
  gap: 16px;
  align-items: center;
  width: 100%;
  margin-top: 14px;
  padding: 16px 18px;
  overflow: hidden;
  border: 1px solid #c6972b;
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(255, 211, 105, 0.05) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(120deg, #0a274a, #0d3c6b);
  color: #ffffff;
  text-align: left;
  box-shadow: 0 12px 26px rgba(7, 30, 59, 0.12);
  cursor: pointer;
}

.r15-daily-review-launch::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: #e2ab31;
}

.r15-daily-review-launch span,
.r15-daily-review-launch em,
.r15-daily-review-launch b,
.r15-daily-review-launch i {
  font-style: normal;
}

.r15-daily-review-launch span {
  color: #f1c85d;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.08em;
}

.r15-daily-review-launch strong {
  color: #ffffff;
  font-family: Georgia, "Songti SC", serif;
  font-size: 20px;
  line-height: 1.2;
}

.r15-daily-review-launch em {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 850;
}

.r15-daily-review-launch > b {
  padding: 10px 13px;
  border: 1px solid rgba(241, 200, 93, 0.54);
  border-radius: 6px;
  color: #ffe7a6;
  font-size: 12px;
  font-weight: 950;
  white-space: nowrap;
}

.r15-daily-review-launch:hover {
  border-color: #f1c85d;
  transform: translateY(-1px);
  box-shadow: 0 16px 32px rgba(7, 30, 59, 0.18);
}

.r15-audit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.r15-audit-metric {
  position: relative;
  min-height: 148px;
  padding: 18px;
  overflow: hidden;
  border: 1px solid #cfdeeb;
  border-radius: 8px;
  background: linear-gradient(145deg, #ffffff, #f4f9fc);
}

.r15-audit-metric::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: #1a9d77;
}

.r15-audit-metric > span,
.r15-audit-metric > b,
.r15-audit-metric > em {
  display: block;
}

.r15-verdict {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid #dce7ee;
  font-size: 10px;
}

.r15-verdict i { color: #557089; font-style: normal; font-weight: 900; }
.r15-verdict b { color: #9a5a00; }
.r15-audit-metric.verdict-promising .r15-verdict b { color: #087052; }
.r15-audit-metric.verdict-frozen { border-color: #efc4c9; }
.r15-audit-metric.verdict-frozen::before { background: #bd3949; }

.r15-review-verdict,
.r15-comparison-panel,
.r15-league-breakdown {
  margin-top: 14px;
  border: 1px solid #cbdbe9;
  border-radius: 8px;
  background: #fff;
}

.r15-review-verdict {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 22px;
  padding: 18px 20px;
  border-left: 5px solid #d49a16;
  background: linear-gradient(120deg, #fffaf0, #fff);
}

.r15-review-verdict > div { display: grid; gap: 5px; }
.r15-review-verdict span,
.r15-comparison-panel header span,
.r15-league-breakdown header span { color: #8c650a; font-size: 10px; font-weight: 950; letter-spacing: .08em; }
.r15-review-verdict strong { color: #071e3b; font: 900 22px/1.2 Georgia, "Songti SC", serif; }
.r15-review-verdict em { color: #657789; font-size: 11px; font-style: normal; font-weight: 800; }
.r15-review-verdict ul { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin: 0; padding: 0; list-style: none; }
.r15-review-verdict li { padding: 8px 10px; border: 1px solid #eadbb7; border-radius: 5px; color: #6e5a29; font-size: 11px; font-weight: 800; }
.r15-review-verdict li b { display: block; color: #172f48; }

.r15-comparison-panel > header,
.r15-league-breakdown > header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  padding: 14px 16px 10px;
  border-bottom: 1px solid #dce7ee;
}
.r15-comparison-panel header div,
.r15-league-breakdown header div { display: grid; gap: 2px; }
.r15-comparison-panel header strong,
.r15-league-breakdown header strong { color: #102d49; font-size: 16px; }
.r15-comparison-panel header em,
.r15-league-breakdown header em { color: #697b8c; font-size: 10px; font-style: normal; font-weight: 800; }
.r15-comparison-panel > div { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 12px; }
.r15-comparison-card { display: grid; gap: 5px; padding: 13px; border: 1px solid #d9e4eb; border-radius: 6px; background: #f7fafc; }
.r15-comparison-card span { color: #547087; font-size: 10px; font-weight: 950; }
.r15-comparison-card strong { color: #0b3558; font: 900 20px Georgia, serif; }
.r15-comparison-card em { color: #6a7c8c; font-size: 10px; font-style: normal; font-weight: 800; }
.r15-comparison-card.missing { border-style: dashed; background: #faf8f4; }
.r15-comparison-card.missing strong { color: #8b6b31; }

.r15-league-breakdown > div { overflow-x: auto; }
.r15-league-breakdown table { width: 100%; min-width: 850px; border-collapse: collapse; }
.r15-league-breakdown th,
.r15-league-breakdown td { padding: 11px 13px; border-bottom: 1px solid #e2eaf0; text-align: left; }
.r15-league-breakdown th { color: #607589; font-size: 10px; }
.r15-league-breakdown td { vertical-align: top; }
.r15-league-breakdown td > strong,
.r15-league-breakdown td > b,
.r15-league-breakdown td > span,
.r15-league-breakdown td > small { display: block; }
.r15-league-breakdown td > small { margin-top: 3px; color: #7b8995; font-size: 9px; }
.r15-league-breakdown td > b { color: #0c3152; font-size: 14px; }
.r15-league-breakdown td > span { color: #557089; font-size: 10px; }
.r15-mini-verdict { display: inline-block; margin-top: 5px; padding: 3px 6px; border-radius: 3px; color: #8b6100; background: #fff0c9; font-size: 9px; font-style: normal; font-weight: 950; }
.r15-mini-verdict.frozen { color: #9d2435; background: #fde8eb; }
.r15-mini-verdict.promising { color: #087052; background: #ddf5ec; }

.r15-challenger-queue {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 14px;
}
.r15-challenger-queue > div { position: relative; display: grid; gap: 6px; padding: 15px 16px; overflow: hidden; border: 1px solid #bfd5e5; border-radius: 7px; background: linear-gradient(145deg, #0a294b, #0c3e69); }
.r15-challenger-queue > div::after { content: ""; position: absolute; inset: auto -20px -34px auto; width: 100px; height: 100px; border: 1px solid rgba(99, 224, 181, .22); border-radius: 50%; }
.r15-challenger-queue span { color: #63e0b5; font: 900 9px ui-monospace, monospace; letter-spacing: .1em; }
.r15-challenger-queue strong { color: #fff; font: 900 16px Georgia, "Songti SC", serif; }
.r15-challenger-queue em { position: relative; z-index: 1; color: rgba(255,255,255,.7); font-size: 10px; font-style: normal; font-weight: 800; line-height: 1.55; }

.r15-audit-metric > span {
  color: #1a765d;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  font-weight: 900;
}

.r15-audit-metric > strong {
  display: block;
  margin: 12px 0 3px;
  color: #071e3b;
  font-family: Georgia, "Songti SC", serif;
  font-size: 38px;
  line-height: 1;
}

.r15-audit-metric > strong small {
  color: #557089;
  font-size: 20px;
}

.r15-audit-metric > b {
  color: #0e6b52;
  font-size: 13px;
}

.r15-audit-metric > em {
  margin-top: 8px;
  color: #6d7f8f;
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
}

.r15-scope-note {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 14px;
  padding: 11px 14px;
  border: 1px solid #cfe5dd;
  border-radius: 6px;
  background: #f1faf7;
}

.r15-scope-note b {
  margin-right: 4px;
  color: #0e5f49;
}

.r15-scope-note span {
  padding: 4px 8px;
  border: 1px solid #b9ddcf;
  border-radius: 999px;
  color: #286e5a;
  font-size: 11px;
  font-weight: 900;
}

.r15-ledger-table-wrap {
  margin-top: 14px;
}

.r15-ledger-toolbar {
  margin-top: 0;
}

.r15-ledger-scroll {
  max-height: 440px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.r15-backtest-table {
  min-width: 1320px;
}

.r15-backtest-table tbody tr.r15-row-released > td {
  background: #f1faf6;
  border-top-color: #b9ddcf;
  border-bottom-color: #b9ddcf;
}

.r15-backtest-table tbody tr.r15-row-released > td:first-child {
  box-shadow: inset 5px 0 0 #14916d;
}

.r15-backtest-table tbody tr.r15-row-released:hover > td {
  background: #e5f7ef !important;
}

.r15-backtest-table tbody tr.r15-row-released .review-match-link {
  color: #073f35;
  font-weight: 950;
}

.r15-backtest-table td:first-child > strong,
.r15-backtest-table td:first-child > small {
  display: block;
}

.r15-backtest-table td:first-child > small {
  margin-top: 3px;
  color: #718398;
  font-size: 9px;
}

.r15-release-flag {
  display: inline-block;
  margin: 0 8px 4px 0;
  padding: 3px 7px;
  border: 1px solid #8acbb5;
  border-radius: 3px;
  background: #d9f4e9;
  color: #076d50;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
  font-weight: 950;
  letter-spacing: 0.06em;
  vertical-align: middle;
}

.r15-row-observe {
  color: #5f7183;
}

.r15-market-result {
  display: grid;
  grid-template-columns: minmax(60px, 1fr) auto;
  gap: 3px 6px;
  align-items: center;
  min-width: 112px;
}

.r15-market-result.released {
  position: relative;
  margin: -5px;
  padding: 8px 9px;
  border: 1px solid #63bea1;
  border-radius: 7px;
  background: linear-gradient(135deg, #e8f8f2 0%, #f7fcfa 72%);
  box-shadow: inset 4px 0 0 #14916d, 0 4px 12px rgba(20, 145, 109, 0.1);
}

.r15-market-result.released b {
  color: #064f3b;
  font-size: 13px;
  font-weight: 950;
}

.r15-market-result.released span {
  justify-self: end;
  padding: 3px 7px;
  border-radius: 999px;
  background: #117f61;
  color: #ffffff;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
  letter-spacing: 0.04em;
}

.r15-market-result.released.grade-a {
  border-color: #d9a628;
  background: linear-gradient(135deg, #fff7dc 0%, #f7fcfa 78%);
  box-shadow: inset 4px 0 0 #d89b09, 0 5px 14px rgba(216, 155, 9, 0.14);
}

.r15-market-result.released.grade-a span {
  background: #0b4f91;
  box-shadow: 0 0 0 2px rgba(216, 155, 9, 0.2);
}

.r15-market-result.released em {
  color: #0d7256;
  letter-spacing: 0.02em;
}

.r15-market-result b {
  color: #122c46;
  font-size: 12px;
}

.r15-market-result span {
  color: #557089;
  font-size: 10px;
  font-weight: 900;
}

.r15-market-result em {
  grid-column: 1 / -1;
  width: max-content;
  padding: 2px 6px;
  border-radius: 999px;
  font-size: 10px;
  font-style: normal;
  font-weight: 950;
}

.r15-market-result.hit em,
.r15-sample-status.counted {
  background: #dff6ed;
  color: #087052;
}

.r15-market-result.miss em {
  background: #fde8ea;
  color: #ae2637;
}

.r15-market-result.pending em,
.r15-sample-status.pending {
  background: #edf2f6;
  color: #5d6f80;
}

.r15-sample-status.observe {
  background: #fff1d8;
  color: #976000;
}

.r15-sample-status {
  display: inline-block;
  margin-bottom: 4px;
  padding: 3px 7px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 950;
}

.r15-backtest-table td:last-child small {
  display: block;
  color: #6d7f8f;
  font-size: 10px;
}

.r15-daily-review-modal {
  z-index: 1140;
}

.r15-daily-review-dialog {
  width: min(1700px, calc(100vw - 36px));
  height: min(980px, 94vh);
}

.r15-daily-review-dialog header {
  background:
    linear-gradient(90deg, rgba(241, 200, 93, 0.07) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(115deg, #071c38, #0b3e70);
}

.r15-daily-review-dialog header > div > span {
  color: #f1c85d;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.1em;
}

.r15-daily-review-body {
  padding: 20px;
}

.r15-daily-overview {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.r15-daily-overview article {
  position: relative;
  min-height: 112px;
  padding: 15px;
  overflow: hidden;
  border: 1px solid #cfdeeb;
  border-radius: 8px;
  background: linear-gradient(145deg, #ffffff, #f5f9fc);
}

.r15-daily-overview article::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: #245f96;
}

.r15-daily-overview article.is-hit::before {
  background: #1a9d77;
}

.r15-daily-overview span,
.r15-daily-overview em {
  display: block;
  color: #63788d;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}

.r15-daily-overview strong {
  display: block;
  margin: 8px 0 4px;
  color: #071e3b;
  font-family: Georgia, "Songti SC", serif;
  font-size: 32px;
  line-height: 1;
}

.r15-daily-overview strong small {
  color: #557089;
  font-size: 17px;
}

.r15-daily-rule {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 12px;
  padding: 11px 14px;
  border: 1px solid #dfd2a9;
  border-radius: 7px;
  background: #fffaf0;
}

.r15-daily-rule b {
  margin-right: 4px;
  color: #76510c;
}

.r15-daily-rule span {
  padding: 4px 8px;
  border: 1px solid #e4d5a4;
  border-radius: 999px;
  color: #7a611e;
  font-size: 11px;
  font-weight: 900;
}

.r15-daily-table-wrap {
  margin-top: 12px;
}

.r15-daily-toolbar {
  margin-top: 0;
}

.r15-daily-scroll {
  max-height: 600px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.r15-daily-table {
  min-width: 1480px;
}

.r15-daily-table th:nth-child(4),
.r15-daily-table td:nth-child(4) {
  min-width: 560px;
}

.r15-daily-table td > strong,
.r15-daily-table td > small {
  display: block;
}

.r15-daily-table td > strong {
  color: #102c4a;
  font-size: 15px;
}

.r15-daily-table td > small {
  margin-top: 3px;
  color: #718398;
  font-size: 10px;
}

.r15-daily-match-list {
  display: grid;
  gap: 7px;
}

.r15-daily-match {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 9px 10px;
  border: 1px solid #d8e3ec;
  border-left: 4px solid #8fa2b4;
  border-radius: 7px;
  background: #ffffff;
  text-align: left;
}

.r15-daily-match.hit {
  border-left-color: #14916d;
  background: #f4fbf8;
}

.r15-daily-match.partial {
  border-left-color: #d39a1c;
  background: #fffbf0;
}

.r15-daily-match.miss {
  border-left-color: #c83f4e;
  background: #fff7f7;
}

.r15-daily-match > div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.r15-daily-match > div > span,
.r15-daily-match > div > small,
.r15-daily-match aside small {
  color: #708398;
  font-size: 10px;
  font-weight: 850;
}

.r15-daily-match .review-match-link {
  width: max-content;
  max-width: 100%;
  padding: 0;
  border: 0;
  font-size: 12px;
}

.r15-daily-match aside {
  display: grid;
  gap: 4px;
  justify-items: end;
}

.r15-daily-match aside b {
  color: #102c4a;
  font-size: 13px;
}

.r15-daily-match aside em {
  padding: 3px 7px;
  border-radius: 999px;
  background: #edf2f6;
  color: #5d6f80;
  font-size: 10px;
  font-style: normal;
  font-weight: 950;
}

.r15-daily-match.hit aside em {
  background: #dff6ed;
  color: #087052;
}

.r15-daily-match.partial aside em {
  background: #fff0c9;
  color: #8d6200;
}

.r15-daily-match.miss aside em {
  background: #fde8ea;
  color: #ae2637;
}

.r15-double-overview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.r15-double-overview article {
  min-height: 96px;
  padding: 14px 16px;
  border: 1px solid #d5e1ec;
  border-radius: 8px;
  background: linear-gradient(145deg, #f7fbff, #eef5fa);
}

.r15-double-overview article.is-hit {
  border-color: #a9ddca;
  background: linear-gradient(145deg, #f4fcf8, #e8f7f0);
}

.r15-double-overview span,
.r15-double-overview em {
  display: block;
  color: #63788d;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}

.r15-double-overview strong {
  display: block;
  margin: 8px 0 4px;
  color: #071e3b;
  font-family: Georgia, "Songti SC", serif;
  font-size: 25px;
  line-height: 1;
}

.r15-double-overview strong small {
  color: #557089;
  font-size: 14px;
}

.r15-double-ticket-shell {
  margin-top: 12px;
  padding: 0 0 2px;
  border: 1px solid #d4e1ec;
  border-radius: 8px;
  background: #f8fbfd;
}

.r15-double-day-list {
  display: grid;
  gap: 12px;
  padding: 12px;
}

.r15-double-day {
  padding: 12px;
  border: 1px solid #cbdbe8;
  border-radius: 8px;
  background: #ffffff;
}

.r15-double-day > header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 10px;
}

.r15-double-day > header div {
  display: grid;
  gap: 2px;
}

.r15-double-day > header span {
  color: #63788d;
  font-size: 10px;
  font-weight: 900;
}

.r15-double-day > header strong {
  color: #0d2f51;
  font-size: 17px;
}

.r15-double-day > header em {
  color: #63788d;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}

.r15-double-ticket-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.r15-double-ticket {
  padding: 11px;
  border: 1px solid #c9d8e6;
  border-left: 4px solid #50769c;
  border-radius: 7px;
  background: linear-gradient(145deg, #ffffff, #f5f9fc);
}

.r15-double-ticket.hit {
  border-left-color: #14916d;
  background: #f2fbf7;
}

.r15-double-ticket.miss {
  border-left-color: #c83f4e;
  background: #fff7f7;
}

.r15-double-ticket header {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: flex-start;
  margin-bottom: 8px;
}

.r15-double-ticket header div {
  display: grid;
  gap: 3px;
}

.r15-double-ticket header span,
.r15-double-ticket header strong {
  color: #607a91;
  font-size: 10px;
  font-weight: 900;
}

.r15-double-ticket header strong {
  color: #0c3457;
  font-size: 14px;
}

.r15-double-ticket header em {
  padding: 3px 6px;
  border-radius: 999px;
  background: #e9f0f6;
  color: #557089;
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
  white-space: nowrap;
}

.r15-double-ticket.hit header em {
  background: #dff6ed;
  color: #087052;
}

.r15-double-ticket.miss header em {
  background: #fde8ea;
  color: #ae2637;
}

.r15-double-legs {
  display: grid;
  gap: 7px;
}

.r15-double-leg {
  display: grid;
  gap: 3px;
  padding: 8px;
  border: 1px solid #d9e4ec;
  border-radius: 6px;
  background: #ffffff;
}

.r15-double-leg > span,
.r15-double-leg > small {
  color: #718398;
  font-size: 10px;
  font-weight: 850;
}

.r15-double-leg > b {
  color: #173d61;
  font-size: 13px;
}

.r15-double-leg .review-match-link {
  width: max-content;
  max-width: 100%;
  padding: 0;
  border: 0;
  font-size: 12px;
}

.r15-double-empty {
  padding: 20px 12px;
  color: #718398;
  font-size: 12px;
  text-align: center;
}

@media (max-width: 900px) {
  .r15-backtest-launch {
    grid-template-columns: 66px 1fr;
  }

  .r15-launch-index {
    width: 60px;
    height: 60px;
    font-size: 22px;
  }

  .r15-launch-progress,
  .r15-launch-action {
    grid-column: 1 / -1;
  }

  .r15-sample-ledger {
    grid-template-columns: 1fr;
  }

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

  .r15-daily-review-launch {
    grid-template-columns: 1fr 1fr;
  }

  .r15-daily-review-launch > b {
    justify-self: end;
  }

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

  .r15-double-overview,
  .r15-double-ticket-list {
    grid-template-columns: 1fr;
  }

  .r15-double-day > header {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 600px) {
  .r15-backtest-entry {
    margin: 18px 0;
  }

  .r15-backtest-launch {
    gap: 12px;
    padding: 16px;
  }

  .r15-launch-copy strong {
    font-size: 28px;
  }

  .r15-backtest-modal,
  .r15-daily-review-modal {
    padding: 0;
  }

  .r15-backtest-dialog,
  .r15-daily-review-dialog {
    width: 100vw;
    height: 100vh;
    max-height: none;
    border: 0;
    border-radius: 0;
  }

  .r15-backtest-body {
    padding: 12px;
  }

  .r15-daily-review-launch {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .r15-daily-review-launch > b {
    justify-self: start;
  }

  .r15-daily-review-body {
    padding: 12px;
  }

  .r15-daily-overview {
    grid-template-columns: 1fr;
  }

  .r15-sample-ledger dl {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .r15-sample-ledger dl div {
    min-width: 0;
    padding: 8px;
  }

  .r15-audit-grid {
    grid-template-columns: 1fr;
  }
}

.global-stats-table {
  width: 100%;
  padding: 0;
}

.global-stats-table-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 16px;
  padding: 14px 16px;
  border: 1px solid rgba(207, 221, 239, 0.95);
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
  background: linear-gradient(180deg, #f8fbff, #eef5ff);
}

.global-stats-toolbar-summary {
  display: grid;
  flex: 1 1 auto;
  gap: 3px;
  min-width: 230px;
}

.global-stats-table-toolbar span,
.global-stats-table-toolbar strong {
  display: block;
}

.global-stats-table-toolbar span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 950;
}

.global-stats-table-toolbar strong {
  color: var(--ink);
  font-size: 16px;
  font-weight: 950;
  letter-spacing: 0;
}

.global-stats-table-toolbar .global-stats-sort-note {
  color: #557089;
  font-size: 11px;
  font-style: normal;
  font-weight: 850;
}

.global-stats-scope-note {
  color: var(--blue);
  font-size: 11px;
  font-style: normal;
  font-weight: 950;
}

#global-stats-cards > .global-stats-scope-note {
  margin: 7px 0 0;
}

.global-stats-toolbar-actions {
  display: flex;
  flex: 0 1 auto;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 10px;
  min-width: 0;
}

.global-stats-toolbar-filter {
  display: grid;
  gap: 4px;
}

.global-stats-toolbar-filter span {
  color: #557089;
  font-size: 10px;
  font-weight: 950;
  line-height: 1;
}

.global-stats-toolbar-filter select {
  width: clamp(132px, 11vw, 180px);
  height: 38px;
  padding: 0 32px 0 10px;
  border: 1px solid rgba(174, 198, 226, 0.98);
  border-radius: 6px;
  background: #ffffff;
  color: var(--blue);
  font: inherit;
  font-size: 13px;
  font-weight: 950;
  cursor: pointer;
}

.global-stats-table-toolbar button {
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid var(--blue);
  border-radius: 6px;
  background: var(--blue);
  color: white;
  font-weight: 950;
  cursor: pointer;
  white-space: nowrap;
}

.global-stats-table-toolbar button span {
  color: #ffffff;
  font-size: 14px;
  font-weight: 950;
  line-height: 1;
  text-shadow: 0 1px 1px rgba(0, 20, 55, 0.35);
}

.global-stats-table-toolbar button:hover {
  background: #063879;
}

.goal-trend-toolbar {
  margin-top: 0;
}

.goal-trend-toolbar + .trend-wrap {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.review-record-wrap.compact.global-stats-wrap {
  height: 72vh;
  height: clamp(620px, calc(100dvh - 170px), 980px);
  max-height: none;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.global-stats-pagination {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) auto minmax(120px, 1fr);
  align-items: center;
  gap: 18px;
  padding: 14px 18px;
  border: 1px solid rgba(174, 198, 226, 0.9);
  border-top: 0;
  border-radius: 0 0 10px 10px;
  background: linear-gradient(180deg, rgba(248, 251, 255, 0.98), rgba(237, 245, 255, 0.98));
  box-shadow: 0 12px 28px rgba(15, 57, 105, 0.08);
}

.stats-page-range { display: flex; align-items: baseline; gap: 8px; }
.stats-page-range span { color: var(--blue); font-size: 16px; font-weight: 950; }
.stats-page-range em,
.global-stats-pagination > strong { color: #647d98; font-size: 11px; font-style: normal; font-weight: 850; }
.global-stats-pagination > strong { justify-self: end; }
.stats-page-controls,
.stats-page-numbers { display: flex; align-items: center; justify-content: center; gap: 6px; }
.global-stats-pagination button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  padding: 0 10px;
  border: 1px solid rgba(150, 180, 216, 0.9);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--blue);
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}
.global-stats-pagination button:hover:not(:disabled) { transform: translateY(-1px); border-color: var(--blue); }
.global-stats-pagination button.is-current { border-color: var(--blue); background: var(--blue); color: #fff; box-shadow: 0 5px 14px rgba(12, 67, 139, 0.22); }
.global-stats-pagination button:disabled { cursor: default; opacity: 0.38; }
.stats-page-direction { gap: 6px; }
.stats-page-gap { padding: 0 2px; color: #7890aa; font-weight: 900; }

@media (max-width: 680px) {
  .global-stats-pagination { grid-template-columns: 1fr; gap: 10px; padding: 12px; }
  .stats-page-range,
  .global-stats-pagination > strong { justify-self: center; }
  .stats-page-direction span { display: none; }
}

@media (max-width: 860px) {
  .global-stats-table-toolbar {
    display: grid;
    gap: 9px;
    padding: 12px;
  }

  .global-stats-toolbar-summary {
    min-width: 0;
  }

  .global-stats-toolbar-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)) 44px;
    align-items: end;
    gap: 6px;
    width: 100%;
  }

  .global-stats-toolbar-filter select {
    width: 100%;
    min-width: 0;
    padding-right: 22px;
    padding-left: 7px;
    font-size: 12px;
  }

  .global-stats-table-toolbar button {
    width: 44px;
    padding-right: 12px;
    padding-left: 12px;
  }

  .global-stats-table-toolbar button span {
    font-size: 0;
  }

  .global-stats-table-toolbar button span::after {
    content: "⤢";
    font-size: 20px;
    line-height: 1;
  }

  .global-stats-table-toolbar .global-stats-sort-note {
    display: none;
  }

  .review-record-wrap.compact.global-stats-wrap {
    height: 70vh;
    height: clamp(520px, calc(100dvh - 150px), 780px);
  }
}

.global-stats-record-table {
  min-width: 1140px;
}

.global-stats-record-table th:nth-child(4),
.global-stats-record-table td:nth-child(4) {
  min-width: 150px;
  max-width: 175px;
}

.global-stats-record-table th:nth-child(5),
.global-stats-record-table td:nth-child(5) {
  width: 88px;
  min-width: 88px;
  max-width: 88px;
}

.global-stats-record-table td:nth-child(-n + 7) {
  background: #f5f7fa;
}

.global-stats-record-table td:nth-child(n + 8):nth-child(-n + 12) {
  background: #fff5d6;
}

.global-stats-external-market {
  text-align: center;
}

.global-stats-market-button,
.global-stats-market-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 54px;
  min-height: 28px;
  box-sizing: border-box;
  padding: 4px 9px;
  border: 1px solid rgba(12, 115, 106, 0.28);
  border-radius: 999px;
  color: #08745a;
  background: rgba(12, 115, 106, 0.08);
  font-size: 10px;
  font-weight: 950;
  line-height: 1;
  white-space: nowrap;
}

.global-stats-market-button {
  cursor: pointer;
}

.global-stats-market-button:hover,
.global-stats-market-button:focus-visible {
  border-color: #0c736a;
  background: #0c736a;
  color: #fff;
  outline: none;
  box-shadow: 0 4px 12px rgba(12, 115, 106, 0.22);
}

.global-stats-market-status {
  border-color: rgba(114, 128, 121, 0.2);
  color: #8a9790;
  background: rgba(114, 128, 121, 0.08);
}

.global-stats-market-status.pending {
  border-color: rgba(228, 169, 52, 0.25);
  color: #9a6a10;
  background: rgba(228, 169, 52, 0.1);
}

.stats-kickoff-cell strong,
.stats-kickoff-cell small {
  display: block;
  white-space: nowrap;
}

.stats-kickoff-cell strong {
  color: #0b315e;
  font-size: 12px;
  font-weight: 950;
}

.stats-kickoff-cell small {
  margin-top: 4px;
  color: #557089;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
  font-weight: 900;
}

.global-stats-modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(8, 32, 82, 0.58);
}

.global-stats-dialog {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  box-sizing: border-box;
  width: min(1880px, calc(100vw - 36px));
  height: min(980px, 94vh);
  overflow: hidden;
  border: 1px solid rgba(207, 221, 239, 0.98);
  border-radius: 8px;
  background: white;
  box-shadow: 0 30px 80px rgba(8, 32, 82, 0.32);
}

.global-stats-dialog header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 18px 22px;
  background: linear-gradient(115deg, rgba(8, 32, 82, 0.99), rgba(7, 60, 135, 0.96));
  color: white;
}

.global-stats-dialog header span,
.global-stats-dialog header em {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  font-style: normal;
  font-weight: 900;
}

.global-stats-dialog header strong {
  display: block;
  margin: 5px 0;
  color: white;
  font-size: 22px;
  font-weight: 950;
  line-height: 1.25;
  letter-spacing: 0;
}

.global-stats-dialog header button {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: white;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.global-stats-dialog-body {
  min-height: 0;
  overflow: auto;
  background: #f4f8fd;
}

.global-stats-record-table-expanded {
  min-width: 1680px;
  font-size: 13px;
}

.global-stats-record-table-expanded th,
.global-stats-record-table-expanded td {
  padding: 9px 10px;
}

.global-stats-market-modal {
  position: fixed;
  inset: 0;
  z-index: 1120;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(8, 32, 82, 0.58);
  backdrop-filter: blur(3px);
}

.global-stats-market-dialog {
  width: min(760px, calc(100vw - 36px));
  max-height: min(780px, 90vh);
  overflow: hidden;
  border: 1px solid #c8d8e4;
  border-radius: 16px;
  background: #f6fafc;
  box-shadow: 0 30px 80px rgba(8, 32, 82, 0.32);
}

.global-stats-market-dialog > header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 18px 22px;
  color: #fff;
  background: linear-gradient(120deg, #082852, #0c736a);
}

.global-stats-market-dialog > header div {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.global-stats-market-dialog > header span {
  color: #f0c36a;
  font: 900 10px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .14em;
}

.global-stats-market-dialog > header strong {
  overflow: hidden;
  color: #fff;
  font: 700 22px/1.2 Georgia, "Songti SC", serif;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.global-stats-market-dialog > header em {
  color: rgba(231, 245, 244, 0.76);
  font-size: 10px;
  font-style: normal;
}

.global-stats-market-dialog > header button {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, .4);
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, .12);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.global-stats-market-dialog-body {
  max-height: calc(min(780px, 90vh) - 76px);
  overflow: auto;
  padding: 16px;
}

.global-stats-market-intro {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 12px;
  padding: 10px 12px;
  border: 1px solid #b9e2d3;
  border-radius: 10px;
  color: #44655e;
  background: #eefbf5;
}

.global-stats-market-intro span {
  flex: 0 0 auto;
  padding: 4px 8px;
  border-radius: 999px;
  color: #fff;
  background: #0c736a;
  font-size: 10px;
  font-weight: 950;
}

.global-stats-market-intro p,
.global-stats-market-note {
  margin: 0;
  font-size: 11px;
  line-height: 1.55;
}

.global-stats-market-panel {
  margin-bottom: 12px;
  overflow: hidden;
  border: 1px solid #d6e2e7;
  border-radius: 12px;
  background: #fff;
}

.global-stats-market-panel > header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: end;
  padding: 12px 14px;
  border-bottom: 1px solid #e5edf0;
  background: #f5f9f8;
}

.global-stats-market-panel > header div {
  display: grid;
  gap: 4px;
}

.global-stats-market-panel > header small {
  color: #0c736a;
  font: 900 9px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .13em;
}

.global-stats-market-panel > header strong {
  color: #0b3e58;
  font-size: 14px;
}

.global-stats-market-panel > header em {
  color: #7b8983;
  font-size: 9px;
  font-style: normal;
}

.global-stats-market-outcomes,
.global-stats-market-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: #d6e2e7;
}

.global-stats-market-outcome,
.global-stats-market-metrics article {
  display: grid;
  gap: 5px;
  min-width: 0;
  padding: 14px;
  background: #fff;
}

.global-stats-market-outcome span,
.global-stats-market-metrics span,
.global-stats-market-facts dt {
  color: #73827c;
  font-size: 10px;
  font-weight: 900;
}

.global-stats-market-outcome strong,
.global-stats-market-metrics strong {
  color: #0b3e58;
  font: 700 25px/1 Georgia, "Songti SC", serif;
}

.global-stats-market-outcome em,
.global-stats-market-metrics em {
  overflow: hidden;
  color: #82918b;
  font-size: 9px;
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.global-stats-market-outcome.home { box-shadow: inset 0 3px 0 #0c736a; }
.global-stats-market-outcome.draw { box-shadow: inset 0 3px 0 #e4a934; }
.global-stats-market-outcome.away { box-shadow: inset 0 3px 0 #547aa5; }

.global-stats-market-empty {
  grid-column: 1 / -1;
  padding: 18px 14px;
  color: #7b8983;
  font-size: 11px;
}

.global-stats-market-metrics {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.global-stats-market-metrics article.is-empty {
  grid-column: 1 / -1;
}

.global-stats-market-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 12px;
}

.global-stats-market-facts div {
  display: grid;
  gap: 4px;
  padding: 10px;
  border: 1px solid #d6e2e7;
  border-radius: 9px;
  background: #fff;
}

.global-stats-market-facts dd {
  margin: 0;
  color: #0b3e58;
  font-size: 12px;
  font-weight: 950;
}

.global-stats-market-note {
  color: #73827c;
}

@media (max-width: 760px) {
  .global-stats-market-modal {
    padding: 10px;
  }

  .global-stats-market-dialog {
    width: 100%;
    max-height: 94dvh;
    border-radius: 14px;
  }

  .global-stats-market-dialog-body {
    max-height: calc(94dvh - 76px);
    padding: 12px;
  }

  .global-stats-market-dialog > header {
    padding: 15px 16px;
  }

  .global-stats-market-dialog > header strong {
    font-size: 18px;
  }

  .global-stats-market-outcomes,
  .global-stats-market-metrics,
  .global-stats-market-facts {
    grid-template-columns: 1fr;
  }

  .global-stats-market-facts {
    gap: 6px;
  }
}

.goal-trend-dialog-body {
  padding: 0;
}

.trend-table-expanded {
  min-width: 1500px;
  background: var(--panel);
  font-size: 14px;
}

.trend-table-expanded th,
.trend-table-expanded td {
  height: 42px;
  padding: 8px 12px;
}

.odds-map-panel {
  overflow: hidden;
  padding: 0 0 22px;
  background: rgba(255, 255, 255, 0.96);
}

.odds-map-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 28px;
  align-items: stretch;
  padding: 34px;
  background:
    radial-gradient(circle at 82% 28%, rgba(217, 154, 22, 0.2), transparent 30%),
    linear-gradient(115deg, rgba(8, 32, 82, 0.98), rgba(7, 60, 135, 0.94));
  color: white;
}

.odds-map-hero::after {
  content: "";
  position: absolute;
  right: 28px;
  bottom: 24px;
  width: 240px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold));
}

.odds-map-hero h2 {
  margin-bottom: 12px;
  color: white;
  font-size: 44px;
}

.odds-map-hero p {
  max-width: 900px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.8;
}

.odds-map-hero aside {
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 -4px 0 rgba(217, 154, 22, 0.85);
}

.odds-map-hero aside span,
.odds-map-hero aside em {
  color: rgba(255, 255, 255, 0.72);
  font-style: normal;
  font-weight: 900;
}

.odds-map-hero aside strong {
  color: #f7d56d;
  font-family: Georgia, "Songti SC", serif;
  font-size: 42px;
  line-height: 1.1;
}

.odds-map-subnav {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(150px, 1fr));
  gap: 6px;
  margin: 18px 22px 0;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7fbff;
}

.odds-map-subnav button {
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: transparent;
  color: var(--muted);
  font-size: 14px;
  font-weight: 950;
  cursor: pointer;
}

.odds-map-subnav button.active {
  border-color: rgba(217, 154, 22, 0.7);
  background: var(--blue);
  color: white;
  box-shadow: inset 0 -3px 0 var(--gold);
}

.odds-map-pre-view .odds-backtest {
  display: none;
}

.odds-map-backtest-view .odds-backtest {
  display: block;
}

.odds-map-cards {
  padding: 22px 22px 0;
}

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

.odds-radar-summary article,
.odds-radar-summary > button {
  position: relative;
  overflow: hidden;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, white, #f7fbff);
  box-shadow: 0 14px 28px rgba(8, 32, 82, 0.07);
  color: inherit;
  text-align: left;
}

.odds-radar-summary article::after,
.odds-radar-summary > button::after {
  content: "";
  position: absolute;
  right: -18px;
  bottom: -30px;
  width: 86px;
  height: 86px;
  border: 1px solid rgba(217, 154, 22, 0.35);
  transform: rotate(18deg);
}

.odds-radar-summary span,
.odds-radar-summary em,
.odds-radar-summary small {
  display: block;
  color: var(--muted);
  font-style: normal;
  font-weight: 900;
}

.odds-radar-summary > button {
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.odds-radar-summary > button:hover,
.odds-radar-summary > button:focus-visible {
  z-index: 1;
  border-color: rgba(217, 154, 22, 0.8);
  outline: none;
  box-shadow: 0 18px 34px rgba(8, 32, 82, 0.13), 0 0 0 3px rgba(217, 154, 22, 0.16);
  transform: translateY(-2px);
}

.odds-radar-summary small {
  margin-top: 10px;
  color: var(--blue);
  font-size: 11px;
  letter-spacing: 0.02em;
}

.odds-radar-summary strong {
  display: block;
  margin: 8px 0 4px;
  color: var(--ink);
  font-family: Georgia, "Songti SC", serif;
  font-size: 42px;
  line-height: 1;
}

.odds-spotlight-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.odds-spotlight-card {
  padding: 18px;
  border: 1px solid rgba(217, 154, 22, 0.55);
  border-radius: 8px;
  background: linear-gradient(180deg, #fffaf0, white);
  box-shadow: 0 14px 30px rgba(8, 32, 82, 0.08);
}

.odds-spotlight-card span,
.odds-spotlight-card em {
  color: var(--gold);
  font-style: normal;
  font-weight: 950;
}

.odds-spotlight-card strong {
  display: block;
  margin: 8px 0 10px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 950;
}

.odds-spotlight-card p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.65;
}

.odds-backtest {
  padding: 0 22px;
  margin-top: 18px;
}

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

.sp-backtest-grid article {
  display: grid;
  gap: 7px;
  min-height: 138px;
  padding: 16px;
  border: 1px solid rgba(118, 151, 190, 0.24);
  border-radius: 8px;
  background:
    radial-gradient(circle at 100% 0%, rgba(217, 154, 22, 0.08), transparent 44%),
    linear-gradient(180deg, #101e31 0%, #0a1728 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.sp-backtest-grid span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 950;
}

.sp-backtest-grid strong {
  color: #f4f7fb;
  font-family: Georgia, "Songti SC", serif;
  font-size: 32px;
  line-height: 1;
}

.sp-backtest-grid em {
  color: var(--gold);
  font-style: normal;
  font-weight: 950;
}

.sp-backtest-grid p {
  margin: 0;
  color: #93a4ba;
  font-size: 12px;
  font-weight: 850;
  line-height: 1.5;
}

.odds-score-source {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}

.odds-backtest-detail-btn {
  min-width: 64px;
  min-height: 32px;
  border: 1px solid rgba(7, 60, 135, 0.35);
  border-radius: 6px;
  background: #f8fbff;
  color: var(--blue);
  font-weight: 950;
  cursor: pointer;
}

.odds-backtest-detail-btn:hover {
  border-color: var(--gold);
  background: var(--blue);
  color: white;
}

.odds-backtest-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(8, 32, 82, 0.5);
}

.odds-backtest-dialog {
  width: min(860px, 100%);
  max-height: min(88vh, 760px);
  overflow: auto;
  border: 1px solid rgba(207, 221, 239, 0.95);
  border-radius: 8px;
  background: white;
  box-shadow: 0 26px 70px rgba(8, 32, 82, 0.28);
}

.odds-backtest-dialog header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 24px;
  background: linear-gradient(115deg, rgba(8, 32, 82, 0.98), rgba(7, 60, 135, 0.94));
  color: white;
}

.odds-backtest-dialog header span,
.odds-backtest-dialog header em {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  font-style: normal;
  font-weight: 900;
}

.odds-backtest-dialog header strong {
  display: block;
  margin: 7px 0;
  color: white;
  font-family: Georgia, "Songti SC", serif;
  font-size: 34px;
  line-height: 1.15;
}

.odds-backtest-dialog header button {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: white;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.odds-backtest-dialog-grid,
.odds-backtest-status-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 18px 24px 0;
}

.odds-backtest-dialog-grid article {
  min-height: 116px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbff;
}

.odds-backtest-dialog-grid span,
.odds-backtest-dialog-grid em {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.odds-backtest-dialog-grid strong {
  display: block;
  margin: 7px 0;
  color: var(--ink);
  font-size: 18px;
  font-weight: 950;
  line-height: 1.35;
}

.odds-backtest-status-grid span {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #f8fbff;
  color: var(--muted);
  text-align: center;
  font-weight: 950;
}

.odds-backtest-status-grid .hit {
  border-color: rgba(28, 132, 90, 0.35);
  background: #edf9f4;
  color: #116846;
}

.odds-backtest-status-grid .miss {
  border-color: rgba(184, 54, 54, 0.3);
  background: #fff2f2;
  color: #9f2f2f;
}

.odds-backtest-status-grid .pending {
  border-color: rgba(217, 154, 22, 0.36);
  background: #fff8e6;
  color: #9b6400;
}

.odds-backtest-notes {
  display: grid;
  gap: 10px;
  padding: 18px 24px;
}

.odds-backtest-notes p {
  margin: 0;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--ink);
  font-weight: 850;
  line-height: 1.65;
}

.odds-backtest-dialog footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 0 24px 22px;
}

.odds-backtest-dialog footer button {
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid var(--blue);
  border-radius: 6px;
  background: var(--blue);
  color: white;
  font-weight: 950;
  cursor: pointer;
}

.odds-backtest-dialog footer button.secondary {
  background: white;
  color: var(--blue);
}

.odds-signal-list {
  display: grid;
  gap: 12px;
  padding: 18px 24px;
}

.odds-signal-row {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
}

.odds-signal-row-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.odds-signal-row-head span,
.odds-signal-row-head em {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.odds-signal-row-head strong {
  display: block;
  margin: 5px 0;
  color: var(--ink);
  font-size: 20px;
  font-weight: 950;
}

.odds-signal-row-head button {
  min-height: 34px;
  padding: 0 12px;
  flex: 0 0 auto;
  border: 1px solid var(--blue);
  border-radius: 6px;
  background: var(--blue);
  color: white;
  font-weight: 950;
  cursor: pointer;
}

.odds-signal-flags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 12px;
}

.odds-signal-flags span {
  padding: 5px 9px;
  border-radius: 999px;
  background: #fff4d4;
  color: #885700;
  font-size: 11px;
  font-weight: 950;
}

.odds-signal-row ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.odds-signal-row li {
  padding: 10px;
  border: 1px solid rgba(207, 221, 239, 0.9);
  border-radius: 6px;
  background: white;
}

.odds-signal-row li b,
.odds-signal-row li span,
.odds-signal-row li em {
  display: block;
  font-size: 12px;
  font-style: normal;
  line-height: 1.55;
}

.odds-signal-row li b { color: var(--ink); }
.odds-signal-row li span { color: var(--blue); font-weight: 900; }
.odds-signal-row li em { color: var(--muted); font-weight: 850; }

.odds-signal-empty {
  padding: 30px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
  text-align: center;
  font-weight: 900;
}

@media (max-width: 720px) {
  .odds-signal-row-head {
    display: grid;
  }

  .odds-signal-row-head button {
    width: 100%;
  }

  .odds-signal-row ul {
    grid-template-columns: 1fr;
  }
}

.odds-map-table {
  padding: 0 22px;
}

.odds-map-wrap {
  max-height: 680px;
  margin-top: 18px;
}

.odds-map-record-table {
  min-width: 1180px;
}

.odds-map-record-table th:nth-child(6),
.odds-map-record-table td:nth-child(6) {
  min-width: 360px;
}

.odds-map-record-table th:nth-child(8),
.odds-map-record-table td:nth-child(8),
.odds-map-record-table th:nth-child(9),
.odds-map-record-table td:nth-child(9),
.odds-map-record-table th:nth-child(10),
.odds-map-record-table td:nth-child(10) {
  min-width: 150px;
}

.market-metric {
  display: inline-flex;
  min-width: 92px;
  justify-content: center;
  padding: 6px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #f8fbff;
  color: var(--ink);
  font-weight: 950;
}

.market-metric.hot {
  border-color: rgba(217, 154, 22, 0.5);
  background: #fff8e6;
  color: var(--gold);
}

.market-metric.cold {
  border-color: rgba(198, 18, 35, 0.22);
  background: rgba(198, 18, 35, 0.07);
  color: var(--red);
}

.market-metric.muted {
  color: var(--muted);
}

.trend-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  margin: 3px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  color: var(--ink);
  font-size: 12px;
  font-weight: 950;
  white-space: nowrap;
}

.trend-chip b {
  color: inherit;
}

.trend-chip.hot {
  border-color: rgba(205, 16, 35, 0.28);
  background: rgba(205, 16, 35, 0.08);
  color: var(--red);
}

.trend-chip.cold {
  border-color: rgba(0, 145, 85, 0.28);
  background: rgba(0, 145, 85, 0.08);
  color: var(--green);
}

.trend-chip.flat,
.trend-chip.muted {
  color: var(--muted);
}

.about-site-panel {
  overflow: hidden;
  padding: 0 0 24px;
  background: rgba(255, 255, 255, 0.96);
}

.about-site-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  align-items: stretch;
  padding: 36px;
  background:
    linear-gradient(115deg, rgba(8, 32, 82, 0.98), rgba(7, 60, 135, 0.94)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 78px);
  color: white;
}

.about-site-hero::after {
  content: "";
  position: absolute;
  right: 34px;
  bottom: 26px;
  width: 260px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold));
}

.about-site-hero h2 {
  margin-bottom: 12px;
  color: white;
  font-size: 46px;
}

.about-site-hero p {
  max-width: 920px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 17px;
  font-weight: 850;
  line-height: 1.85;
}

.about-site-hero aside {
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 -4px 0 rgba(217, 154, 22, 0.85);
}

.about-site-hero aside span,
.about-site-hero aside em {
  color: rgba(255, 255, 255, 0.72);
  font-style: normal;
  font-weight: 900;
}

.about-site-hero aside strong {
  color: #f7d56d;
  font-family: Georgia, "Songti SC", serif;
  font-size: 42px;
  line-height: 1.1;
}

.about-mission-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 14px;
  padding: 22px 22px 0;
}

.about-mission-card {
  position: relative;
  overflow: hidden;
  min-height: 230px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, white, #f7fbff);
  box-shadow: 0 14px 32px rgba(8, 32, 82, 0.08);
}

.about-mission-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--blue), var(--gold));
}

.about-mission-card::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -52px;
  width: 136px;
  height: 136px;
  border: 1px solid rgba(217, 154, 22, 0.28);
  transform: rotate(18deg);
}

.about-mission-card.primary {
  background:
    linear-gradient(145deg, rgba(8, 32, 82, 0.98), rgba(11, 91, 180, 0.93)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: auto, 36px 36px;
  color: white;
}

.about-mission-card span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 11px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--blue);
  font-size: 13px;
  font-weight: 950;
}

.about-mission-card.primary span {
  background: rgba(255, 255, 255, 0.12);
  color: #f7d56d;
}

.about-mission-card h3 {
  margin: 18px 0 12px;
  color: var(--ink);
  font-family: Georgia, "Songti SC", serif;
  font-size: 28px;
}

.about-mission-card.primary h3 {
  color: white;
}

.about-mission-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 850;
  line-height: 1.8;
}

.about-mission-card.primary p {
  color: rgba(255, 255, 255, 0.8);
}

.about-section-band {
  margin: 22px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #f7fbff, white);
  box-shadow: 0 16px 32px rgba(8, 32, 82, 0.07);
}

.about-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.about-section-head h3 {
  margin: 0;
  color: var(--ink);
  font-family: Georgia, "Songti SC", serif;
  font-size: 32px;
}

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

.about-flow article {
  position: relative;
  min-height: 150px;
  padding: 18px;
  border: 1px solid rgba(198, 214, 233, 0.9);
  border-radius: 8px;
  background: white;
}

.about-flow article::before {
  content: "";
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 2px;
  background: var(--gold);
}

.about-flow b {
  display: block;
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 950;
}

.about-flow span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 850;
  line-height: 1.65;
}

.about-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 0 22px;
}

.about-split section {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 14px 32px rgba(8, 32, 82, 0.07);
}

.about-split section > span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: #fff5d8;
  color: var(--gold);
  font-size: 13px;
  font-weight: 950;
}

.about-split h3 {
  margin: 16px 0 10px;
  color: var(--ink);
  font-family: Georgia, "Songti SC", serif;
  font-size: 28px;
}

.about-split p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 850;
  line-height: 1.8;
}

.about-source-list,
.about-version-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.about-source-list i,
.about-version-row b {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #f7fbff;
  color: var(--ink);
  font-style: normal;
  font-size: 13px;
  font-weight: 950;
}

.about-version-row b:last-child {
  border-color: rgba(217, 154, 22, 0.55);
  background: #fff8e5;
  color: var(--gold);
}

.about-note {
  margin: 22px 22px 0;
  padding: 22px 24px;
  border: 1px solid rgba(217, 154, 22, 0.6);
  border-radius: 8px;
  background: linear-gradient(90deg, #fff8e5, white);
}

.about-note strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 950;
}

.about-note p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 850;
  line-height: 1.8;
}

.about-disclaimer {
  margin: 14px 22px 0;
  padding: 24px 26px;
  border: 1px solid rgba(205, 16, 35, 0.24);
  border-left: 5px solid var(--gold);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(255, 248, 229, 0.95), rgba(255, 255, 255, 0.96)),
    linear-gradient(180deg, rgba(205, 16, 35, 0.04), transparent);
  box-shadow: 0 14px 32px rgba(8, 32, 82, 0.07);
}

.about-disclaimer strong {
  display: block;
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 24px;
  font-weight: 950;
}

.about-disclaimer strong::before {
  content: "!";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-right: 10px;
  border-radius: 6px;
  background: var(--gold);
  color: var(--ink);
  font-family: Georgia, "Songti SC", serif;
  font-size: 20px;
  line-height: 1;
}

.about-disclaimer p {
  margin: 0;
  color: #47566d;
  font-size: 16px;
  font-weight: 850;
  line-height: 1.85;
}

.model-version-timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding: 22px;
}

.model-version-timeline article,
.model-contract-grid section {
  position: relative;
  overflow: hidden;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 14px 32px rgba(8, 32, 82, 0.08);
}

.model-version-timeline article::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--blue), var(--gold));
}

.model-version-timeline article.current {
  background: linear-gradient(180deg, #fffaf0, white);
  border-color: rgba(217, 154, 22, 0.7);
}

.model-version-timeline span,
.model-contract-grid span {
  display: inline-flex;
  align-items: center;
  width: max-content;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--blue);
  font-size: 13px;
  font-weight: 950;
}

.model-version-timeline article.current span {
  background: var(--blue);
  color: white;
  box-shadow: inset 0 -3px 0 var(--gold);
}

.model-version-timeline h3 {
  margin: 16px 0 10px;
  color: var(--ink);
  font-family: Georgia, "Songti SC", serif;
  font-size: 26px;
}

.model-version-timeline p,
.model-contract-grid p {
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 850;
  line-height: 1.75;
}

.model-version-timeline ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.model-version-timeline li {
  position: relative;
  padding-left: 18px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.55;
}

.model-version-timeline li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}

.model-contract-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 0 22px 22px;
}

.model-decision-flow {
  margin: 0 22px 22px;
  padding: 22px;
  border: 1px solid #d6e3f0;
  border-radius: 10px;
  background: linear-gradient(180deg, #f9fbff, #ffffff);
}

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

.model-flow-grid article {
  min-height: 162px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(8, 32, 82, 0.06);
}

.model-flow-grid span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 950;
}

.model-flow-grid strong {
  display: block;
  margin: 8px 0;
  color: var(--ink);
  font-size: 17px;
  font-weight: 950;
}

.model-flow-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.65;
}

@media (max-width: 760px) {
  .model-decision-flow {
    margin: 0 12px 20px;
    padding: 16px;
  }

  .model-decision-flow .about-section-head {
    display: grid;
    justify-content: stretch;
    gap: 4px;
    margin-bottom: 14px;
    padding-bottom: 12px;
  }

  .model-decision-flow .about-section-head h3 {
    font-size: 26px;
    line-height: 1.25;
  }

  .model-flow-grid {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: min(82vw, 420px);
    gap: 12px;
    margin-right: -16px;
    padding: 2px 16px 12px 0;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-padding-inline: 0 16px;
    scroll-snap-type: inline mandatory;
    scrollbar-color: var(--gold) #e7eef7;
    scrollbar-width: thin;
  }

  .model-flow-grid article {
    min-height: 0;
    padding: 18px;
    scroll-snap-align: start;
  }

  .model-flow-grid strong {
    font-size: 19px;
    line-height: 1.45;
  }

  .model-flow-grid p {
    font-size: 14px;
    line-height: 1.75;
  }
}

.model-contract-grid strong {
  display: block;
  margin: 14px 0 8px;
  color: var(--ink);
  font-size: 22px;
  font-weight: 950;
}

.model-contract-grid p {
  margin: 0;
}

.model-evidence-stack {
  padding: 22px;
  margin: 0 22px 24px;
  border: 1px solid #d6e3f0;
  border-radius: 10px;
  background: #ffffff;
}

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

.model-evidence-grid article {
  display: grid;
  gap: 8px;
  min-height: 148px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #fffaf0, #ffffff);
}

.model-evidence-grid span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 950;
}

.model-evidence-grid strong {
  color: var(--ink);
  font-size: 17px;
  font-weight: 950;
}

.model-evidence-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.6;
}

@media (max-width: 960px) {
  .model-intro-hero,
  .model-stats-hero,
  .site-locks-hero,
  .odds-map-hero,
  .about-site-hero,
  .model-version-timeline,
  .model-contract-grid,
  .model-evidence-grid,
  .odds-radar-summary,
  .odds-spotlight-grid,
  .sp-backtest-grid,
  .odds-backtest-dialog-grid,
  .odds-backtest-status-grid,
  .triad-grid,
  .odds-math-grid,
  .path-simulation-grid,
  .about-mission-grid,
  .about-flow,
  .about-split {
    grid-template-columns: 1fr;
  }

  .model-intro-hero h2,
  .model-stats-hero h2,
  .site-locks-hero h2,
  .odds-map-hero h2,
  .about-site-hero h2 {
    font-size: 36px;
  }
}

/* ── 动画关键帧 ── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.5; }
}
@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
@keyframes countUp {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.92); }
  to   { opacity: 1; transform: scale(1); }
}
.animate-in { animation: fadeInUp 0.5s ease both; }
.animate-in-fast { animation: fadeInUp 0.35s ease both; }
.animate-in-scale { animation: scaleIn 0.45s ease both; }
.animate-delay-1  { animation-delay: 0.05s; }
.animate-delay-2  { animation-delay: 0.12s; }
.animate-delay-3  { animation-delay: 0.20s; }
.animate-delay-4  { animation-delay: 0.28s; }
.animate-delay-5  { animation-delay: 0.36s; }
.animate-delay-6  { animation-delay: 0.44s; }
.animate-delay-7  { animation-delay: 0.52s; }
.animate-delay-8  { animation-delay: 0.60s; }
.animate-delay-9  { animation-delay: 0.68s; }
.animate-delay-10 { animation-delay: 0.76s; }

/* ── 骨架屏 ── */
.skeleton {
  background: linear-gradient(90deg, #edf2f7 25%, #f7fafc 50%, #edf2f7 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s ease infinite;
  border-radius: 6px;
  color: transparent !important;
  user-select: none;
  pointer-events: none;
}
.skeleton-card { height: 120px; border-radius: 8px; }
.skeleton-line { height: 14px; margin-bottom: 8px; width: 60%; }
.skeleton-line.wide { width: 85%; }
.skeleton-line.narrow { width: 40%; }
.skeleton-block { height: 200px; border-radius: 8px; margin-bottom: 14px; }

/* ── 图表容器 ── */
.chart-container {
  position: relative; width: 100%; min-height: 240px;
  margin: 14px 0 20px; padding: 14px;
  background: white; border: 1px solid var(--line); border-radius: 8px;
  box-shadow: 0 4px 12px rgba(8, 32, 82, 0.06);
}
.chart-container.compact { min-height: 180px; padding: 10px; }
.chart-container canvas { width: 100% !important; }

/* 统计账本必须贴齐页面最外框；放在文件末尾覆盖移动端通用 .panel 内边距。 */
.model-stats-panel.active-panel {
  padding-right: 0 !important;
  padding-left: 0 !important;
}

.model-stats-panel.active-panel > #global-stats-table.global-stats-table,
.model-stats-panel.active-panel > #global-stats-table .global-stats-table-toolbar,
.model-stats-panel.active-panel > #global-stats-table .global-stats-wrap {
  width: 100% !important;
  max-width: none !important;
  margin-right: 0 !important;
  margin-left: 0 !important;
}

.model-stats-panel.active-panel > #global-stats-table.global-stats-table {
  padding-right: 0 !important;
  padding-left: 0 !important;
}

.model-quality-workbench { margin: 22px; }
.model-quality-modal {
  z-index: 1110;
  align-items: center;
  justify-items: center;
}
.model-quality-dialog {
  width: min(1600px, calc(100vw - 36px));
  height: min(980px, 94vh);
}
.model-quality-dialog > header {
  background:
    linear-gradient(90deg, rgba(101, 239, 208, .07) 1px, transparent 1px) 0 0 / 36px 36px,
    linear-gradient(115deg, #061b35, #0a315d);
}
.model-quality-dialog > header > div > span {
  color: #63e0b5;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .1em;
}
.model-quality-dialog-body { padding: 20px; }
.model-quality-dialog-body > [data-model-quality-modal-content] > .model-quality-shell {
  margin: 0;
  box-shadow: none;
}
.model-quality-ledger-loading {
  min-height: 360px;
  border-radius: 8px;
}
.model-quality-ledger-loading.is-error i {
  display: grid;
  place-items: center;
  border-color: #d9aeb6;
  border-top-color: #b22e43;
  color: #b22e43;
  font-style: normal;
  font-weight: 950;
  animation: none;
}
.model-quality-ledger-loading button {
  padding: 9px 14px;
  border: 1px solid #9fc2e7;
  border-radius: 999px;
  color: #082f66;
  background: #fff;
  font-weight: 900;
  cursor: pointer;
}
.model-quality-launch {
  --quality-mint: #65efd0;
  position: relative;
  display: grid;
  grid-template-columns: 76px minmax(220px, 1fr) minmax(120px, .7fr) auto;
  gap: 18px;
  align-items: center;
  width: 100%;
  min-height: 112px;
  padding: 18px 22px;
  overflow: hidden;
  border: 1px solid #153b68;
  border-radius: 10px;
  color: #fff;
  text-align: left;
  background:
    linear-gradient(90deg, rgba(101, 239, 208, .07) 1px, transparent 1px) 0 0 / 36px 36px,
    linear-gradient(0deg, rgba(101, 239, 208, .05) 1px, transparent 1px) 0 0 / 36px 36px,
    #071e3b;
  box-shadow: 0 12px 28px rgba(7, 30, 59, .14);
  cursor: pointer;
}
.model-quality-launch-index { display: grid; place-items: center; width: 68px; height: 68px; border: 1px solid rgba(101, 239, 208, .62); border-radius: 50%; color: var(--quality-mint); font-family: Georgia, "Songti SC", serif; font-size: 22px; font-weight: 900; box-shadow: inset 0 0 0 7px rgba(101, 239, 208, .06); }
.model-quality-launch-copy { display: grid; gap: 4px; }
.model-quality-launch-copy em { color: var(--quality-mint); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px; font-style: normal; font-weight: 900; letter-spacing: .14em; }
.model-quality-launch-copy strong { font-family: Georgia, "Songti SC", serif; font-size: 25px; }
.model-quality-launch-copy small { color: #b9cbe0; font-size: 13px; font-weight: 700; }
.model-quality-launch-rule { height: 8px; border-radius: 999px; background: linear-gradient(90deg, #20d1a0, #80f1d6); box-shadow: 0 0 18px rgba(101, 239, 208, .18); }
.model-quality-launch-action { min-width: 176px; padding: 12px 14px; border: 1px solid rgba(185, 203, 224, .42); border-radius: 8px; font-size: 14px; font-weight: 900; text-align: center; }
.model-quality-launch:hover, .model-quality-launch:focus-visible { border-color: var(--quality-mint); box-shadow: 0 14px 34px rgba(7, 30, 59, .22); }
.model-quality-launch + .model-quality-shell, .model-quality-launch + .quality-loading { margin-top: 14px; }
.model-quality-shell { overflow: hidden; border: 1px solid #a9c4e4; border-radius: 18px; background: #f7fbff; box-shadow: 0 14px 34px rgba(5, 43, 96, .08); }
.model-quality-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; padding: 22px 24px; color: #fff; background: linear-gradient(125deg, #061f49, #0c4b96); }
.model-quality-header > div:first-child { display: grid; gap: 5px; }
.model-quality-header span { color: #60f0ca; font-size: 12px; font-weight: 900; letter-spacing: .16em; }
.model-quality-header strong { font-size: 25px; }
.model-quality-header em { color: #cfe0f5; font-style: normal; }
.quality-closure-grid, .quality-market-grid { display: grid; gap: 12px; padding: 18px 20px 0; }
.quality-closure-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.quality-market-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.quality-closure-grid article, .quality-market-grid article { display: grid; gap: 6px; min-width: 0; padding: 16px; border: 1px solid #c8d8eb; border-radius: 14px; background: #fff; }
.quality-closure-grid article.open { border-left: 5px solid #d4384f; background: #fff7f8; }
.quality-closure-grid article.closed { border-left: 5px solid #15976d; background: #f3fff9; }
.quality-closure-grid span, .quality-market-grid span { color: #65758a; font-weight: 800; }
.quality-closure-grid strong, .quality-market-grid strong { color: #06265b; font-size: 28px; }
.quality-market-grid strong small { font-size: 15px; }
.quality-closure-grid em, .quality-market-grid em { color: #68778b; font-style: normal; }
.quality-market-grid b { color: #0b4b91; font-size: 13px; }
.quality-opening-coverage { margin: 18px 20px 0; overflow: hidden; border: 1px solid #9fc2e7; border-radius: 14px; background: #fff; }
.quality-opening-coverage > header { display: flex; justify-content: space-between; gap: 14px; padding: 15px 16px; color: #fff; background: #082f66; }
.quality-opening-coverage > header div { display: grid; gap: 3px; }
.quality-opening-coverage > header span { color: #65efd0; font-size: 10px; font-weight: 900; letter-spacing: .14em; }
.quality-opening-coverage > header strong { font-size: 18px; }
.quality-opening-coverage > header em { color: #cfe0f5; font-size: 12px; font-style: normal; }
.quality-opening-stages { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); gap: 1px; background: #dce8f5; }
.quality-opening-stages article { display: grid; gap: 5px; padding: 13px 10px; background: #fff; }
.quality-opening-stages span { color: #65758a; font-size: 11px; font-weight: 800; }
.quality-opening-stages strong { color: #06265b; font-size: 22px; }
.quality-opening-stages small { font-size: 11px; }
.quality-opening-stages em { color: #0b7b63; font-size: 12px; font-style: normal; font-weight: 900; }
.quality-opening-coverage > footer { display: flex; flex-wrap: wrap; gap: 8px 14px; padding: 12px 16px; color: #66768b; font-size: 12px; }
.quality-opening-coverage > footer b { color: #b22e43; }
.quality-opening-coverage > footer em { margin-left: auto; font-style: normal; }
.quality-value-research { margin: 18px 20px 0; overflow: hidden; border: 1px solid #8db8df; border-radius: 14px; background: #fff; }
.quality-value-research > header { display: flex; justify-content: space-between; gap: 16px; padding: 17px 18px; color: #fff; background: linear-gradient(120deg, #061f49, #0d568c); }
.quality-value-research > header div { display: grid; gap: 4px; }
.quality-value-research > header span { color: #65efd0; font: 900 10px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .14em; }
.quality-value-research > header strong { font-size: 20px; }
.quality-value-research > header em { align-self: end; color: #d3e4f5; font-size: 11px; font-style: normal; }
.quality-value-flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr) auto) minmax(0, 1fr); gap: 8px; align-items: stretch; padding: 14px; background: #eef6fc; }
.quality-value-flow > i { align-self: center; color: #6a91b5; font-size: 17px; font-style: normal; }
.quality-value-flow article { display: grid; gap: 4px; min-width: 0; padding: 11px; border: 1px solid #c6d8e8; border-top: 4px solid #8da4b9; border-radius: 9px; background: #fff; }
.quality-value-flow article.ready { border-top-color: #15976d; }
.quality-value-flow article.blocked { border-top-color: #c84055; background: #fff7f8; }
.quality-value-flow article > b { color: #0d8b70; font-size: 10px; }
.quality-value-flow article > span { color: #082f66; font-size: 12px; font-weight: 900; }
.quality-value-flow article > em { color: #68798b; font-size: 9px; font-style: normal; line-height: 1.35; }
.quality-value-summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; padding: 0 14px 14px; }
.quality-value-summary article { display: grid; gap: 4px; padding: 12px; border: 1px solid #d3e0ed; border-radius: 10px; background: #f9fcff; }
.quality-value-summary span { color: #67798b; font-size: 10px; font-weight: 900; }
.quality-value-summary strong { color: #06265b; font-size: 22px; }
.quality-value-summary em { color: #65768a; font-size: 10px; font-style: normal; }
.quality-value-tables { display: grid; grid-template-columns: .9fr 1.1fr; gap: 12px; padding: 0 14px 14px; }
.quality-value-tables > section { min-width: 0; overflow: hidden; border: 1px solid #d3e0ed; border-radius: 10px; }
.quality-value-tables > section > header { display: flex; justify-content: space-between; gap: 10px; padding: 11px 12px; border-bottom: 1px solid #dce7f1; background: #f4f9fd; }
.quality-value-tables > section > header strong { color: #082f66; font-size: 13px; }
.quality-value-tables > section > header em { color: #6a7b8d; font-size: 9px; font-style: normal; }
.quality-value-tables > section > div { max-height: 310px; overflow: auto; }
.quality-value-tables table { width: 100%; min-width: 480px; border-collapse: collapse; font-size: 10px; }
.quality-value-tables th, .quality-value-tables td { padding: 9px 10px; border-bottom: 1px solid #e5edf5; text-align: right; white-space: nowrap; }
.quality-value-tables th:first-child, .quality-value-tables td:first-child { text-align: left; }
.quality-value-tables th { position: sticky; top: 0; color: #526b84; background: #f8fbfe; }
.quality-value-tables td { color: #294764; }
.quality-value-tables td.positive { color: #08745a; font-weight: 900; }
.quality-value-tables td.negative { color: #b22e43; font-weight: 900; }
.quality-shrinkage-diagnostic { margin: 0 14px 14px; overflow: hidden; border: 1px solid #b9cadb; border-radius: 12px; background: linear-gradient(145deg, #f8fbfd, #edf4f8); box-shadow: inset 4px 0 0 #b22e43; }
.quality-shrinkage-diagnostic.candidate { box-shadow: inset 4px 0 0 #0b8b69; }
.quality-shrinkage-diagnostic > header { display: flex; justify-content: space-between; gap: 16px; padding: 13px 15px; border-bottom: 1px solid #d4e0e9; background: rgba(255,255,255,.72); }
.quality-shrinkage-diagnostic > header div { display: grid; gap: 3px; }
.quality-shrinkage-diagnostic > header span { color: #8b3342; font: 900 9px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .12em; }
.quality-shrinkage-diagnostic.candidate > header span { color: #08745a; }
.quality-shrinkage-diagnostic > header strong { color: #082f66; font-size: 15px; }
.quality-shrinkage-diagnostic > header em { align-self: end; color: #65788c; font-size: 10px; font-style: normal; }
.quality-shrinkage-equation { display: flex; flex-wrap: wrap; gap: 7px; align-items: baseline; justify-content: center; padding: 14px 16px 10px; color: #425d77; font: 800 12px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; }
.quality-shrinkage-equation b { color: #8aa0b3; }
.quality-shrinkage-equation strong { display: inline-grid; place-items: center; min-width: 42px; padding: 4px 7px; border-radius: 6px; color: #fff; background: #082f66; font-size: 15px; }
.quality-shrinkage-summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; padding: 0 12px 12px; }
.quality-shrinkage-summary article { display: grid; gap: 3px; padding: 10px; border: 1px solid #d3e0e8; border-radius: 8px; background: rgba(255,255,255,.8); }
.quality-shrinkage-summary span { color: #6b7c8d; font-size: 9px; font-weight: 900; }
.quality-shrinkage-summary strong { color: #082f66; font-size: 19px; }
.quality-shrinkage-summary strong.positive { color: #08745a; }
.quality-shrinkage-summary strong.negative { color: #b22e43; }
.quality-shrinkage-summary small { font-size: 10px; }
.quality-shrinkage-summary em { color: #738395; font-size: 9px; font-style: normal; }
.quality-shrinkage-verdict { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; margin: 0 12px 12px; padding: 11px 12px; border: 1px solid #e2c8cd; border-radius: 8px; background: #fff7f8; }
.quality-shrinkage-diagnostic.candidate .quality-shrinkage-verdict { border-color: #b9dfd3; background: #f2fff9; }
.quality-shrinkage-verdict b { color: #8c3040; font-size: 12px; }
.quality-shrinkage-diagnostic.candidate .quality-shrinkage-verdict b { color: #08745a; }
.quality-shrinkage-verdict span { color: #294764; font-size: 11px; font-weight: 800; }
.quality-shrinkage-verdict em { grid-column: 1 / -1; color: #6c7d8e; font-size: 9px; font-style: normal; }
.quality-shrinkage-table { max-height: 300px; overflow: auto; border-top: 1px solid #d5e0e8; background: rgba(255,255,255,.78); }
.quality-shrinkage-table table { width: 100%; min-width: 650px; border-collapse: collapse; font-size: 10px; }
.quality-shrinkage-table th, .quality-shrinkage-table td { padding: 9px 11px; border-bottom: 1px solid #e5edf3; text-align: right; white-space: nowrap; }
.quality-shrinkage-table th:first-child, .quality-shrinkage-table td:first-child { text-align: left; }
.quality-shrinkage-table th { position: sticky; top: 0; color: #526b84; background: #f5f9fc; }
.quality-shrinkage-table td:first-child { display: grid; gap: 1px; }
.quality-shrinkage-table td small { color: #8392a0; font-size: 8px; }
.quality-shrinkage-table td strong { color: #173f6a; font-size: 10px; }
.quality-shrinkage-table td.positive { color: #08745a; font-weight: 900; }
.quality-shrinkage-table td.negative { color: #b22e43; font-weight: 900; }
.quality-value-gate { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; padding: 13px 16px; border-top: 1px solid #edd1d6; color: #7a3440; background: #fff6f7; }
.quality-value-gate.ready { color: #07664d; background: #f1fff9; }
.quality-value-gate b { font: 900 10px/1.3 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .1em; }
.quality-value-gate span { font-size: 12px; font-weight: 900; }
.quality-value-gate em { grid-column: 1 / -1; color: #6e7782; font-size: 10px; font-style: normal; }
.quality-market-structure { margin: 18px 20px 0; overflow: hidden; border: 1px solid #183b5d; border-radius: 16px; background: #f5f7f2; box-shadow: 0 18px 38px rgba(7, 31, 51, .12); }
.market-structure-header { display: flex; justify-content: space-between; gap: 18px; padding: 18px 20px; color: #f4f0e6; background: radial-gradient(circle at 85% 5%, rgba(243, 185, 75, .22), transparent 32%), linear-gradient(125deg, #071d31, #123d5c 62%, #0b665c); }
.market-structure-header div { display: grid; gap: 5px; }
.market-structure-header span, .market-structure-volume > header span, .market-structure-research-grid > section > header span, .market-structure-ledger > header span { color: #f0c36a; font: 900 10px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .15em; }
.market-structure-header strong { font: 700 22px/1.15 Georgia, "Songti SC", serif; letter-spacing: -.02em; }
.market-structure-header em { align-self: end; max-width: 310px; color: #c9e1df; font-size: 11px; font-style: normal; line-height: 1.45; }
.market-structure-notice { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 12px 20px; border-bottom: 1px solid #d8dfdc; color: #52645e; background: #edf2ed; font-size: 11px; }
.market-structure-notice b { color: #0a665d; font-size: 10px; letter-spacing: .12em; }
.market-structure-notice strong { padding: 5px 9px; border-radius: 999px; color: #865b0c; background: #fff0c8; font-size: 10px; white-space: nowrap; }
.market-structure-sources { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #cbd8d3; }
.market-structure-source-card { display: grid; gap: 5px; min-width: 0; padding: 15px 16px; background: #fffdf8; }
.market-structure-source-card span { color: #67746f; font-size: 10px; font-weight: 900; letter-spacing: .08em; }
.market-structure-source-card strong { color: #0b3e58; font: 700 28px/1 Georgia, "Songti SC", serif; }
.market-structure-source-card b { color: #31566c; font-size: 11px; }
.market-structure-source-card em { color: #7d8984; font-size: 10px; font-style: normal; }
.market-structure-source-card.source-r12_2 { box-shadow: inset 0 4px 0 #0c736a; }
.market-structure-source-card.source-polymarket { box-shadow: inset 0 4px 0 #e4a934; }
.market-structure-source-card.source-ticai { box-shadow: inset 0 4px 0 #547aa5; }
.market-structure-counts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; padding: 14px 16px; background: #f5f7f2; }
.market-structure-counts article { display: grid; gap: 4px; padding: 11px 12px; border: 1px solid #d5dfda; border-radius: 10px; background: rgba(255,255,255,.82); }
.market-structure-counts span { color: #718079; font-size: 10px; font-weight: 900; }
.market-structure-counts strong { color: #0b3e58; font: 700 23px/1 Georgia, "Songti SC", serif; }
.market-structure-counts em { color: #73827c; font-size: 10px; font-style: normal; }
.market-structure-temporal { margin: 0 16px 14px; overflow: hidden; border: 1px solid #c8d9df; border-radius: 12px; background: #f4f8f7; }
.market-structure-temporal > header, .market-structure-temporal-scale > header, .market-structure-temporal-ledger > header { display: flex; justify-content: space-between; gap: 12px; padding: 13px 14px; border-bottom: 1px solid #dfe7e2; background: #edf5f3; }
.market-structure-temporal > header div, .market-structure-temporal-scale > header div, .market-structure-temporal-ledger > header div { display: grid; gap: 4px; }
.market-structure-temporal > header span, .market-structure-temporal-scale > header span, .market-structure-temporal-ledger > header span { color: #e0a935; font: 900 10px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .14em; }
.market-structure-temporal > header strong, .market-structure-temporal-scale > header strong, .market-structure-temporal-ledger > header strong { color: #0b3e58; font-size: 15px; }
.market-structure-temporal > header em, .market-structure-temporal-scale > header em, .market-structure-temporal-ledger > header em { align-self: end; color: #788a84; font-size: 9px; font-style: normal; }
.market-structure-temporal-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; padding: 10px; }
.market-structure-temporal-cards article { display: grid; gap: 4px; min-width: 0; padding: 10px; border: 1px solid #d5e0dc; border-radius: 9px; background: #fff; }
.market-structure-temporal-cards span { color: #738079; font-size: 9px; font-weight: 900; }
.market-structure-temporal-cards strong { color: #0b3e58; font: 700 21px/1 Georgia, "Songti SC", serif; }
.market-structure-temporal-cards strong small { margin-left: 2px; font: inherit; }
.market-structure-temporal-cards em { color: #7d8984; font-size: 9px; font-style: normal; line-height: 1.4; }
.market-structure-temporal-cards.paper-ledger-summary { grid-template-columns: minmax(0, 1fr); }
.market-structure-temporal-cards.paper-ledger-summary article { grid-column: 1 / -1; }
.market-structure-temporal-cards.paper-ledger-summary article strong { font-size: 28px; }
.paper-ledger-pagination { margin: 0 10px 10px; border-top: 1px solid rgba(174, 198, 226, 0.9); border-radius: 8px; }
.market-structure-temporal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 0 10px 10px; }
.market-structure-temporal-grid > section, .market-structure-temporal-scale, .market-structure-temporal-ledger { min-width: 0; overflow: hidden; border: 1px solid #d5e0dc; border-radius: 9px; background: #fffdf8; }
.market-structure-temporal-grid > section > header, .market-structure-temporal-scale > header, .market-structure-temporal-ledger > header { display: flex; justify-content: space-between; gap: 10px; padding: 10px 11px; border-bottom: 1px solid #e2eae5; background: #f8faf6; }
.market-structure-temporal-grid > section > header div { display: grid; gap: 3px; }
.market-structure-temporal-grid > section > header span { color: #e0a935; font: 900 9px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .12em; }
.market-structure-temporal-grid > section > header strong { color: #0b3e58; font-size: 12px; }
.market-structure-temporal-grid > section > header em { align-self: end; color: #7d8984; font-size: 8px; font-style: normal; }
.market-structure-temporal-scale { margin: 0 10px 10px; }
.market-structure-temporal-ledger { margin: 0 10px 10px; }
.market-structure-temporal-ledger .market-structure-table table { min-width: 1160px; }
.market-structure-temporal-ledger td { vertical-align: top; }
.market-structure-temporal-ledger td details { margin-top: 5px; }
.market-structure-temporal-ledger td summary { color: #0b7368; cursor: pointer; font-size: 9px; font-weight: 900; }
.market-structure-temporal-pagination { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 12px; border-top: 1px solid #e2eae5; color: #73827c; background: #f8faf6; font-size: 10px; }
.market-structure-temporal-pagination > div { display: flex; align-items: center; gap: 8px; }
.market-structure-temporal-pagination button { padding: 5px 9px; border: 1px solid #c8d9d2; border-radius: 6px; color: #0b665d; background: #fff; font-size: 10px; font-weight: 800; cursor: pointer; }
.market-structure-temporal-pagination button:disabled { color: #9aa8a1; background: #f1f4f1; cursor: default; }
.market-structure-temporal-pagination b { color: #395c68; font-size: 10px; }
.market-structure-temporal-ledger-note { margin: 0; padding: 0 12px 10px; color: #788880; font-size: 9px; line-height: 1.5; }
.market-structure-temporal-timeline { display: grid; grid-template-columns: repeat(2, minmax(180px, 1fr)); gap: 5px; width: min(620px, 75vw); max-height: 230px; margin-top: 5px; overflow: auto; white-space: normal; }
.market-structure-temporal-timeline article { display: grid; gap: 3px; padding: 7px; border: 1px solid #dbe6e2; border-radius: 6px; background: #f7faf8; }
.market-structure-temporal-timeline time, .market-structure-temporal-timeline strong { color: #21475b; font-size: 9px; }
.market-structure-temporal-timeline span, .market-structure-temporal-timeline em, .market-structure-temporal-timeline > span { color: #6d7f78; font-size: 8px; font-style: normal; line-height: 1.4; }
.market-structure-temporal-omitted { grid-column: 1 / -1; padding: 5px; color: #75847d; font-size: 8px; }
.market-structure-temporal > footer { padding: 9px 12px; border-top: 1px solid #dfe7e2; color: #687a73; background: #edf4f2; font-size: 9px; line-height: 1.5; }
.market-structure-paper-ledger > footer { padding: 9px 12px; border-top: 1px solid #dfe7e2; color: #687a73; background: #edf4f2; font-size: 9px; line-height: 1.55; }
.market-structure-temporal-loading { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 10px; padding: 14px; border: 1px dashed #b8cbc4; border-radius: 8px; color: #5d7269; background: #fff; font-size: 11px; }
.market-structure-temporal-loading.is-error { border-color: #d7aab0; color: #8d3442; background: #fff7f8; }
.market-structure-temporal-loading button { padding: 6px 10px; border: 1px solid #a9c9bf; border-radius: 999px; color: #0b665d; background: #fff; font-size: 10px; font-weight: 900; cursor: pointer; }
.market-structure-research-grid { display: grid; grid-template-columns: 1.25fr .95fr; gap: 12px; padding: 0 16px 14px; }
.market-structure-research-grid > section, .market-structure-volume, .market-structure-ledger { min-width: 0; overflow: hidden; border: 1px solid #d3dfdb; border-radius: 12px; background: #fffdf8; }
.market-structure-research-grid > section > header, .market-structure-volume > header, .market-structure-ledger > header { display: flex; justify-content: space-between; gap: 12px; padding: 13px 14px; border-bottom: 1px solid #dfe7e2; background: #f8faf6; }
.market-structure-research-grid > section > header div, .market-structure-volume > header div, .market-structure-ledger > header div { display: grid; gap: 4px; }
.market-structure-research-grid > section > header strong, .market-structure-volume > header strong, .market-structure-ledger > header strong { color: #0b3e58; font-size: 14px; }
.market-structure-research-grid > section > header em, .market-structure-volume > header em, .market-structure-ledger > header em { align-self: end; color: #7b8983; font-size: 9px; font-style: normal; }
.market-structure-table { overflow: auto; }
.market-structure-table table { width: 100%; min-width: 590px; border-collapse: collapse; font-size: 10px; }
.market-structure-table th, .market-structure-table td { padding: 9px 10px; border-bottom: 1px solid #e6ece8; text-align: right; white-space: nowrap; }
.market-structure-table th:first-child, .market-structure-table td:first-child { text-align: left; }
.market-structure-table th { color: #698078; background: #f7faf6; font-size: 9px; }
.market-structure-table td { color: #3d5d68; }
.market-structure-table td strong, .market-structure-table td small { display: block; }
.market-structure-table td strong { color: #0b3e58; }
.market-structure-table td small { margin-top: 2px; color: #8b9892; font-size: 8px; }
.market-structure-volume { margin: 0 16px 14px; }
.market-structure-volume-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 12px; padding: 12px; }
.market-structure-volume-grid > section { min-width: 0; overflow: hidden; border: 1px solid #dbe4df; border-radius: 9px; }
.market-structure-volume-grid > section > header { display: flex; justify-content: space-between; gap: 10px; padding: 10px 11px; border-bottom: 1px solid #e2eae5; background: #f8faf6; }
.market-structure-volume-grid > section > header strong { color: #0b3e58; font-size: 12px; }
.market-structure-volume-grid > section > header em { color: #7d8984; font-size: 9px; font-style: normal; }
.market-structure-volume-foot { display: flex; gap: 10px; margin: 0 12px 12px; padding: 10px 12px; border-left: 3px solid #e4a934; color: #65766f; background: #fff9e9; font-size: 10px; line-height: 1.5; }
.market-structure-volume-foot b { flex: 0 0 auto; color: #8a620d; }
.market-structure-ledger { margin: 0 16px 14px; }
.market-structure-ledger .market-structure-table table { min-width: 780px; }
.market-structure-gate { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; padding: 13px 17px; border-top: 1px solid #e2cfa4; color: #7d5a13; background: #fff8e6; }
.market-structure-gate b { font: 900 10px/1.3 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .1em; }
.market-structure-gate span { color: #6e6650; font-size: 11px; font-weight: 800; }
.market-structure-gate em { grid-column: 1 / -1; color: #8a8068; font-size: 9px; font-style: normal; }
.quality-cohort-panel { margin: 18px 20px; border: 1px solid #c8d8eb; border-radius: 14px; background: #fff; }
.quality-cohort-panel > header { display: flex; justify-content: space-between; gap: 16px; padding: 16px; border-bottom: 1px solid #dbe6f3; }
.quality-cohort-panel > header div { display: grid; gap: 4px; }
.quality-cohort-panel > header span { color: #0c8b70; font-size: 11px; font-weight: 900; letter-spacing: .13em; }
.quality-cohort-panel > header strong { color: #06265b; font-size: 18px; }
.quality-cohort-panel > header em { color: #68778b; font-style: normal; }
.quality-cohort-panel > div { overflow-x: auto; }
.quality-cohort-panel table { width: 100%; min-width: 720px; border-collapse: collapse; }
.quality-cohort-panel th, .quality-cohort-panel td { padding: 12px 14px; border-bottom: 1px solid #e1eaf4; text-align: left; }
.quality-cohort-panel td strong, .quality-cohort-panel td small { display: block; }
.quality-cohort-panel td small { color: #728095; }
.quality-cohort-status { display: inline-block; border-radius: 999px; padding: 5px 9px; font-size: 12px; font-weight: 900; }
.quality-cohort-status.ready { color: #07664d; background: #d9faef; }
.quality-cohort-status.observe { color: #875b00; background: #fff0c5; }
.quality-track-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 0 20px 18px; }
.quality-track-grid article { display: grid; gap: 7px; padding: 16px; border: 1px solid #c8d8eb; border-radius: 14px; background: linear-gradient(145deg, #fff, #eff6ff); }
.quality-track-grid span { color: #0a8d70; font-size: 11px; font-weight: 900; letter-spacing: .1em; }
.quality-track-grid strong { color: #06265b; font-size: 17px; }
.quality-track-grid b { color: #0b4b91; font-size: 12px; }
.quality-track-grid em { color: #66768b; font-size: 13px; font-style: normal; line-height: 1.6; }
.quality-lifecycle-panel { margin: 0 20px 18px; overflow: hidden; border: 1px solid #9fc2e7; border-radius: 14px; background: #061f49; }
.quality-lifecycle-panel > header { display: grid; gap: 4px; padding: 15px 16px; border-bottom: 1px solid rgba(101,239,208,.22); color: #fff; }
.quality-lifecycle-panel > header span { color: #65efd0; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 10px; font-weight: 900; letter-spacing: .14em; }
.quality-lifecycle-panel > header strong { font-family: Georgia, "Songti SC", serif; font-size: 18px; }
.quality-lifecycle-panel > div { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; padding: 12px; }
.quality-lifecycle-panel article { display: grid; gap: 6px; padding: 14px; border: 1px solid rgba(159,194,231,.3); border-radius: 10px; color: #dce9f7; background: rgba(255,255,255,.06); }
.quality-lifecycle-panel article span { color: #65efd0; font-size: 11px; font-weight: 900; }
.quality-lifecycle-panel article strong { color: #fff; font-size: 17px; }
.quality-lifecycle-panel article b { font-size: 12px; }
.quality-lifecycle-panel article em { color: #b9cbe0; font-size: 12px; font-style: normal; }
.quality-lifecycle-empty { grid-column: 1 / -1; }
.model-quality-shell > footer { display: flex; justify-content: space-between; gap: 14px; padding: 0 20px 18px; color: #637287; font-size: 12px; }
.quality-loading { display: flex; justify-content: space-between; gap: 12px; padding: 18px 20px; border: 1px solid #c8d8eb; border-radius: 14px; background: #f7fbff; color: #173e73; }

@media (max-width: 760px) {
  .model-quality-workbench { margin: 18px 0; }
  .model-quality-modal { align-items: center; padding: 12px; }
  .model-quality-dialog { width: 100%; height: 94dvh; border-radius: 20px 20px 0 0; }
  .model-quality-dialog-body { padding: 12px; }
  .model-quality-launch { grid-template-columns: 58px 1fr; gap: 12px; min-height: 0; padding: 16px; }
  .model-quality-launch-index { width: 52px; height: 52px; font-size: 17px; }
  .model-quality-launch-copy strong { font-size: 20px; }
  .model-quality-launch-rule { grid-column: 1 / -1; height: 6px; }
  .model-quality-launch-action { grid-column: 1 / -1; width: 100%; min-width: 0; }
  .model-quality-header { align-items: stretch; flex-direction: column; }
  .quality-closure-grid, .quality-market-grid { grid-template-columns: 1fr; }
  .quality-opening-coverage { margin-right: 12px; margin-left: 12px; }
  .quality-opening-coverage > header { flex-direction: column; }
  .quality-opening-stages { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .quality-opening-coverage > footer em { width: 100%; margin-left: 0; }
  .quality-market-structure { margin-right: 12px; margin-left: 12px; }
  .market-structure-header, .market-structure-notice, .market-structure-research-grid > section > header, .market-structure-volume > header, .market-structure-ledger > header { flex-direction: column; }
  .market-structure-header strong { font-size: 19px; }
  .market-structure-header em, .market-structure-research-grid > section > header em, .market-structure-volume > header em, .market-structure-ledger > header em { align-self: auto; }
  .market-structure-notice { grid-template-columns: 1fr; gap: 6px; }
  .market-structure-notice strong { justify-self: start; }
  .market-structure-sources, .market-structure-counts { grid-template-columns: 1fr; }
  .market-structure-temporal { margin-right: 10px; margin-left: 10px; }
  .market-structure-temporal > header, .market-structure-temporal-grid > section > header, .market-structure-temporal-scale > header, .market-structure-temporal-ledger > header { flex-direction: column; }
  .market-structure-temporal > header em, .market-structure-temporal-grid > section > header em, .market-structure-temporal-scale > header em, .market-structure-temporal-ledger > header em { align-self: auto; }
  .market-structure-temporal-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .market-structure-temporal-grid { grid-template-columns: 1fr; }
  .market-structure-temporal-scale, .market-structure-temporal-ledger { margin-right: 10px; margin-left: 10px; }
  .market-structure-temporal-pagination { align-items: flex-start; flex-direction: column; }
  .market-structure-temporal-pagination > div { width: 100%; justify-content: space-between; }
  .market-structure-temporal-timeline { grid-template-columns: 1fr; width: min(320px, 70vw); }
  .market-structure-research-grid, .market-structure-volume-grid { grid-template-columns: 1fr; padding-right: 10px; padding-left: 10px; }
  .market-structure-volume, .market-structure-ledger { margin-right: 10px; margin-left: 10px; }
  .market-structure-volume-foot, .market-structure-gate { grid-template-columns: 1fr; }
  .market-structure-gate em { grid-column: auto; }
  .quality-value-research { margin-right: 12px; margin-left: 12px; }
  .quality-value-research > header { flex-direction: column; }
  .quality-value-research > header em { align-self: auto; }
  .quality-value-flow { grid-template-columns: 1fr; }
  .quality-value-flow > i { justify-self: center; transform: rotate(90deg); }
  .quality-value-summary, .quality-value-tables, .quality-shrinkage-summary { grid-template-columns: 1fr; }
  .quality-shrinkage-diagnostic > header { flex-direction: column; }
  .quality-shrinkage-diagnostic > header em { align-self: auto; }
  .quality-shrinkage-verdict { grid-template-columns: 1fr; }
  .quality-shrinkage-verdict em { grid-column: auto; }
  .quality-track-grid { grid-template-columns: 1fr; }
  .quality-lifecycle-panel { margin-right: 12px; margin-left: 12px; }
  .quality-lifecycle-panel > div { grid-template-columns: 1fr; }
  .model-quality-shell > footer { flex-direction: column; }
}

@media (max-width: 600px) {
  .model-quality-modal { padding: 0; }
  .model-quality-dialog {
    width: 100vw;
    height: 100vh;
    max-height: none;
    border: 0;
    border-radius: 0;
  }
}
/* Match intelligence report: editorial pre-match dossier, not a generic card grid. */
.match-intelligence-report {
  --intel-ink: #06255a;
  --intel-blue: #0a4699;
  --intel-gold: #dfa00a;
  margin: 24px 0;
  color: var(--intel-ink);
  border: 1px solid #b7cbe5;
  border-radius: 26px;
  overflow: hidden;
  background: linear-gradient(145deg, #fffdf7 0%, #f6f9fe 54%, #edf4fc 100%);
  box-shadow: 0 24px 54px rgba(4, 37, 83, .12);
}

.intelligence-report-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 170px;
  gap: 30px;
  padding: 34px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px) 0 0 / 42px 42px,
    linear-gradient(0deg, rgba(255,255,255,.055) 1px, transparent 1px) 0 0 / 42px 42px,
    linear-gradient(125deg, #041d45, #0b438b 72%, #115cb1);
}

.intelligence-report-head > div:first-child > span,
.intelligence-story > span,
.evidence-ledger-head > span,
.intelligence-team > span {
  color: #f0b522;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .14em;
}

.intelligence-report-head h3 { margin: 10px 0 12px; font-family: "Songti SC", "STSong", serif; font-size: clamp(30px, 4vw, 52px); line-height: 1.05; }
.intelligence-report-head h3 i { margin: 0 8px; color: #f0b522; font-size: .42em; font-style: normal; letter-spacing: .18em; }
.intelligence-report-head p { max-width: 760px; margin: 0; color: #dce8f8; font-size: 16px; line-height: 1.8; }
.intelligence-quality { align-self: center; padding: 20px; text-align: center; border: 1px solid rgba(255,255,255,.26); border-radius: 50% 50% 46% 54%; background: rgba(1,21,51,.38); }
.intelligence-quality small, .intelligence-quality span { display: block; color: #d8e7fa; font-size: 11px; }
.intelligence-quality strong { display: block; margin: 4px 0; color: #ffd15a; font-family: Georgia, serif; font-size: 35px; }
.intelligence-quality.insufficient strong { color: #ff8a8a; }

.intelligence-dossiers { display: grid; grid-template-columns: 1fr 90px 1fr; gap: 18px; align-items: stretch; padding: 28px 34px 12px; }
.intelligence-team { padding: 24px; border-top: 4px solid var(--intel-blue); background: rgba(255,255,255,.78); box-shadow: 0 10px 28px rgba(16,61,112,.08); }
.intelligence-team.away { border-top-color: var(--intel-gold); }
.intelligence-team h4 { margin: 7px 0 18px; font-family: "Songti SC", "STSong", serif; font-size: 30px; }
.intelligence-team p { margin: 15px 0 0; color: #52637a; line-height: 1.7; }
.intelligence-stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.intelligence-stat-grid div { padding: 10px 6px; text-align: center; border-left: 1px solid #d3dfed; }
.intelligence-stat-grid small, .intelligence-stat-grid strong { display: block; }
.intelligence-stat-grid small { color: #6b788a; font-size: 11px; }
.intelligence-stat-grid strong { margin-top: 4px; font-family: Georgia, serif; font-size: 20px; }
.intelligence-versus { display: flex; flex-direction: column; align-items: center; justify-content: center; color: #6d7c91; }
.intelligence-versus b { color: var(--intel-blue); font-family: Georgia, serif; font-size: 30px; }
.intelligence-versus span { font-size: 11px; }

.intelligence-story-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; padding: 18px 34px 30px; }
.intelligence-story { min-height: 180px; padding: 23px; border: 1px solid #c4d3e6; background: rgba(255,255,255,.66); }
.intelligence-story:nth-child(2), .intelligence-story:nth-child(3) { transform: translateY(12px); }
.intelligence-story h4, .evidence-ledger-head h4 { margin: 7px 0 10px; font-family: "Songti SC", "STSong", serif; font-size: 24px; }
.intelligence-story p { margin: 0; color: #43566e; line-height: 1.8; }

.intelligence-evidence-ledger { padding: 30px 34px; color: #fff; background: #061f47; }
.evidence-ledger-head > span { color: #6cf0d4; }
.evidence-ledger-head h4 { color: #fff; }
.evidence-ledger-columns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,.16); }
.evidence-ledger-columns article { padding: 20px; background: #092a5e; }
.evidence-ledger-columns article.missing { background: #3b2932; }
.evidence-ledger-columns b { color: #ffd15a; }
.evidence-ledger-columns p { color: #e5edf8; line-height: 1.65; }
.evidence-ledger-columns small { color: #cbb9bd; }

.intelligence-source-drawer { padding: 0 34px; }
.intelligence-source-drawer summary { display: flex; justify-content: space-between; gap: 16px; padding: 22px 0; cursor: pointer; font-weight: 800; }
.intelligence-source-drawer summary span { color: #68778c; font-size: 12px; font-weight: 600; }
.intelligence-source-drawer > div { display: grid; gap: 8px; padding-bottom: 24px; }
.intelligence-source-drawer a { display: flex; justify-content: space-between; gap: 20px; padding: 13px 15px; color: var(--intel-ink); border: 1px solid #d3deeb; text-decoration: none; background: #fff; }
.intelligence-source-drawer a small { color: #68778c; }

@media (max-width: 700px) {
  .match-intelligence-report { margin: 14px 0; border-radius: 20px; }
  .intelligence-report-head { grid-template-columns: 1fr; gap: 18px; padding: 25px 20px; }
  .intelligence-report-head h3 { font-size: 34px; }
  .intelligence-report-head h3 i { display: block; margin: 8px 0; }
  .intelligence-report-head p { font-size: 14px; }
  .intelligence-quality { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 3px 14px; border-radius: 14px; text-align: left; }
  .intelligence-quality strong { grid-row: 1 / 3; grid-column: 2; font-size: 30px; }
  .intelligence-dossiers { grid-template-columns: 1fr; padding: 18px 15px 5px; }
  .intelligence-versus { min-height: 35px; flex-direction: row; gap: 8px; }
  .intelligence-versus b { font-size: 22px; }
  .intelligence-team { padding: 18px; }
  .intelligence-team h4 { font-size: 27px; }
  .intelligence-stat-grid { grid-template-columns: repeat(2, 1fr); }
  .intelligence-story-grid { grid-template-columns: 1fr; padding: 14px 15px 22px; }
  .intelligence-story { min-height: 0; padding: 19px; }
  .intelligence-story:nth-child(2), .intelligence-story:nth-child(3) { transform: none; }
  .evidence-ledger-columns { grid-template-columns: 1fr; }
  .intelligence-evidence-ledger { padding: 24px 15px; }
  .intelligence-source-drawer { padding: 0 15px; }
  .intelligence-source-drawer summary, .intelligence-source-drawer a { align-items: flex-start; flex-direction: column; }
}

/* R12.2 odds tracking: dark audit console, aligned with the match detail shell. */
.r122-tracking-panel{--track-line:#294157;--track-muted:#91a6ba;--track-ink:#f4f8fc;overflow:hidden;padding:26px!important;color:var(--track-ink)!important;border:1px solid #23394e!important;background:radial-gradient(circle at 85% 0,rgba(42,107,142,.13),transparent 34%),linear-gradient(145deg,#0b1b2d,#091626)!important;box-shadow:inset 0 1px rgba(255,255,255,.035)}
.r122-tracking-head{display:grid;grid-template-columns:minmax(0,1fr) minmax(230px,290px);align-items:start;gap:28px}.r122-tracking-head>div:first-child>span{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:10px;font-weight:800;letter-spacing:.2em;color:#73c6df!important}.r122-tracking-head h3{margin:7px 0 6px;color:#fff!important;font-family:"Songti SC","STSong",serif;font-size:25px}.r122-tracking-head p{max-width:680px;margin:0;color:#a9b9c8!important;font-size:13px;line-height:1.65}
.r122-tracking-status{box-sizing:border-box;padding:15px 17px;border:1px solid #304a60!important;border-left:3px solid #72879a!important;border-radius:12px;background:#10253a!important}.r122-tracking-status small,.r122-tracking-status span{display:block;color:#93a8ba!important;font-size:11px;letter-spacing:0}.r122-tracking-status strong{display:block;margin:5px 0;color:#f5f8fb!important;font-size:17px}.r122-tracking-status.strengthened{border-left-color:#35d093!important}.r122-tracking-status.weakened{border-left-color:#f5a340!important}.r122-tracking-status.danger{border-left-color:#ff6666!important}.r122-tracking-status.recovered{border-left-color:#53aee5!important}
.r122-tracking-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;margin:22px 0 18px;overflow:hidden;border:1px solid #294157;border-radius:12px;background:#294157}.r122-tracking-summary article{min-width:0;padding:14px 16px!important;border:0!important;border-radius:0!important;background:#102237!important}.r122-tracking-summary small,.r122-tracking-summary span{display:block;color:#91a6ba!important;font-size:11px}.r122-tracking-summary strong{display:block;overflow:hidden;margin:5px 0 2px;color:#f4f8fc!important;font-size:17px;text-overflow:ellipsis;white-space:nowrap}.r122-tracking-summary article:nth-child(3) strong{color:#7fd5ea!important}
.r122-tracking-direct{overflow:hidden;border:1px solid #294157;border-radius:12px;background:#0d2033}.r122-tracking-direct>header{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;padding:15px 17px;border-bottom:1px solid #294157}.r122-tracking-direct>header small,.r122-tracking-chart>header small{display:block;color:#73c6df!important;font-size:10px;font-weight:800;letter-spacing:.12em}.r122-tracking-direct>header strong,.r122-tracking-chart>header strong{display:block;margin-top:4px;color:#f4f8fc!important;font-size:17px}.r122-tracking-direct>header p,.r122-tracking-chart>header p{margin:0;color:#91a6ba!important;font-size:11px}.r122-tracking-direct>div{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:#294157}.r122-tracking-direct article{padding:15px 17px!important;border:0!important;border-radius:0!important;background:#102237!important}.r122-tracking-direct article span,.r122-tracking-direct article small{display:block;color:#91a6ba!important;font-size:11px}.r122-tracking-direct article strong{display:block;margin:6px 0;color:#fff!important;font-size:17px}.r122-tracking-direct article strong i{margin:0 5px;color:#60788e;font-style:normal}.r122-tracking-direct article.home{box-shadow:inset 0 3px #ff7968}.r122-tracking-direct article.draw{box-shadow:inset 0 3px #bb9cff}.r122-tracking-direct article.away{box-shadow:inset 0 3px #61c5e8}.r122-tracking-direct>footer{display:flex;align-items:center;gap:12px;padding:13px 17px;color:#b8c7d3}.r122-tracking-direct>footer b{flex:none;color:#7fd5ea}.r122-tracking-direct>footer span{font-size:12px}
.r122-tracking-chart{padding:0 14px 9px;border:1px solid #294157;border-radius:12px;background:#0d2033}.r122-tracking-chart>header{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;padding:15px 3px 4px}.r122-tracking-chart svg{display:block;width:100%;height:210px}.r122-tracking-chart path{fill:none;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}.r122-tracking-chart path.home{stroke:#ff7968}.r122-tracking-chart path.draw{stroke:#bb9cff}.r122-tracking-chart path.away{stroke:#61c5e8}.r122-tracking-chart circle{stroke:#0d2033;stroke-width:2}.r122-tracking-chart circle.home{fill:#ff7968}.r122-tracking-chart circle.draw{fill:#bb9cff}.r122-tracking-chart circle.away{fill:#61c5e8}.r122-tracking-chart .grid-line{stroke:#294157;stroke-width:1}.r122-tracking-chart .grid-line.zero{stroke:#7890a4;stroke-dasharray:5 5}.r122-tracking-chart .axis-label,.r122-tracking-chart .time-label{fill:#8299ad;font-size:10px}.r122-tracking-legend{display:flex;justify-content:center;gap:20px;font-size:11px}.r122-tracking-chart span:before{content:"";display:inline-block;width:17px;height:3px;margin:0 5px 3px 0;border-radius:2px;background:currentColor}.r122-tracking-chart span.home{color:#ff7968!important}.r122-tracking-chart span.draw{color:#bb9cff!important}.r122-tracking-chart span.away{color:#61c5e8!important}
.r122-tracking-chart.no-change path.home{stroke-width:10}.r122-tracking-chart.no-change path.draw{stroke-width:7}.r122-tracking-chart.no-change path.away{stroke-width:4}.r122-tracking-chart.no-change circle.home{stroke-width:7}.r122-tracking-chart.no-change circle.draw{stroke-width:4}.r122-tracking-chart.no-change circle.away{stroke-width:2}
.r122-tracking-timeline{position:relative;display:flex;gap:18px;overflow-x:auto;margin-top:16px;padding:10px 2px 15px;scrollbar-color:#34536c #0a1828;scroll-snap-type:x proximity}.r122-tracking-timeline:before{content:"";position:absolute;top:25px;right:16px;left:16px;height:1px;background:#3b566d}.r122-tracking-node{position:relative;flex:0 0 360px;scroll-snap-align:start}.r122-tracking-node:only-child{flex-basis:min(680px,100%)}.r122-tracking-marker{position:relative;z-index:1;display:flex;align-items:center;gap:9px;height:34px;color:#a9bac9!important;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11px}.r122-tracking-marker i{box-sizing:border-box;width:14px;height:14px;border:3px solid #0b1b2d;border-radius:50%;background:#8394a4;box-shadow:0 0 0 2px #6e8598}.r122-tracking-node.strengthened .r122-tracking-marker i{background:#35d093;box-shadow:0 0 0 2px #24946d}.r122-tracking-node.weakened .r122-tracking-marker i{background:#f5a340;box-shadow:0 0 0 2px #b87325}.r122-tracking-node.danger .r122-tracking-marker i{background:#ff6666;box-shadow:0 0 0 2px #bd4141}.r122-tracking-node.recovered .r122-tracking-marker i{background:#53aee5;box-shadow:0 0 0 2px #327eaa}
.r122-tracking-card{box-sizing:border-box;min-height:278px;padding:18px!important;border:1px solid #2a4358!important;border-top:3px solid #6f8496!important;border-radius:13px!important;background:linear-gradient(155deg,#132a40,#0e2134)!important;box-shadow:0 14px 28px rgba(0,0,0,.18)!important}.r122-tracking-node.strengthened .r122-tracking-card{border-top-color:#35d093!important}.r122-tracking-node.weakened .r122-tracking-card{border-top-color:#f5a340!important}.r122-tracking-node.danger .r122-tracking-card{border-top-color:#ff6666!important}.r122-tracking-node.recovered .r122-tracking-card{border-top-color:#53aee5!important}.r122-tracking-card header{display:grid;grid-template-columns:1fr auto;gap:4px 12px}.r122-tracking-card header span{font-size:10px;color:#8fa5b8!important}.r122-tracking-card header strong{grid-column:1;color:#fff!important;font-size:17px}.r122-tracking-card header em{grid-column:2;grid-row:1/3;align-self:center;padding:5px 8px;border:1px solid #345066;border-radius:999px;background:#172f44!important;color:#b9c9d6!important;font-size:10px;font-style:normal}.r122-tracking-reason{min-height:40px;margin:12px 0;color:#bdcbd7!important;font-size:12px;line-height:1.65}
.r122-tracking-probabilities{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.r122-tracking-probabilities span{padding:9px 10px;border:1px solid #294359;border-radius:8px;background:#0b1d30!important;color:#8fa5b8!important;font-size:10px}.r122-tracking-probabilities b,.r122-tracking-probabilities small{display:block;margin-top:3px;color:#f4f8fc!important}.r122-tracking-probabilities b{font-size:15px}.r122-tracking-probabilities small{color:#8da4b7!important}.r122-tracking-picks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:12px 0}.r122-tracking-node:only-child .r122-tracking-picks{grid-template-columns:repeat(4,minmax(0,1fr))}.r122-tracking-picks span{font-size:10px;color:#8fa5b8!important}.r122-tracking-picks b{display:block;overflow:hidden;margin-top:3px;color:#eaf1f7!important;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.r122-tracking-card details{margin-top:11px;padding-top:10px;border-top:1px solid #294257}.r122-tracking-card summary{cursor:pointer;color:#7fd5ea!important;font-size:11px;font-weight:800}.r122-tracking-detail p{margin:8px 0;color:#aebdca!important;font-size:11px;line-height:1.55}.r122-tracking-loading{margin-top:8px;color:#8fa5b8!important;font-size:12px}
@media(max-width:760px){.r122-tracking-panel{padding:19px 15px!important}.r122-tracking-head{grid-template-columns:1fr;gap:16px}.r122-tracking-status{width:100%}.r122-tracking-summary{grid-template-columns:1fr 1fr}.r122-tracking-summary article{padding:12px!important}.r122-tracking-summary strong{font-size:15px}.r122-tracking-direct>header,.r122-tracking-direct>footer,.r122-tracking-chart>header{align-items:flex-start;flex-direction:column}.r122-tracking-direct>div{grid-template-columns:1fr}.r122-tracking-direct article{padding:12px 15px!important}.r122-tracking-chart svg{height:180px}.r122-tracking-timeline{display:block;overflow:visible;padding:0 0 0 19px}.r122-tracking-timeline:before{top:8px;right:auto;bottom:8px;left:6px;width:1px;height:auto}.r122-tracking-node,.r122-tracking-node:only-child{display:grid;grid-template-columns:1fr;margin:14px 0}.r122-tracking-marker{height:25px;margin-left:-19px;font-size:10px}.r122-tracking-card{min-height:0;padding:15px!important}.r122-tracking-node:only-child .r122-tracking-picks,.r122-tracking-picks{grid-template-columns:1fr 1fr}}
/* On narrow screens the audit cards stay in one swipeable row instead of stacking vertically. */
@media(max-width:760px){.r122-tracking-timeline{display:flex;overflow-x:auto;overflow-y:hidden;gap:12px;margin-top:16px;padding:10px 2px 15px}.r122-tracking-timeline:before{top:25px;right:16px;bottom:auto;left:16px;width:auto;height:1px}.r122-tracking-node,.r122-tracking-node:only-child{display:block;flex:0 0 min(86vw,360px);margin:0}.r122-tracking-marker{height:34px;margin-left:0;font-size:10px}.r122-tracking-card{min-height:278px;padding:15px!important}}

.polymarket-volume-panel{--poly-line:#294157;--poly-muted:#91a6ba;--poly-ink:#f4f8fc;overflow:hidden;padding:26px!important;color:var(--poly-ink)!important;border:1px solid #23394e!important;background:radial-gradient(circle at 85% 0,rgba(42,107,142,.13),transparent 34%),linear-gradient(145deg,#0b1b2d,#091626)!important;box-shadow:inset 0 1px rgba(255,255,255,.035)}
.polymarket-volume-head{display:grid;grid-template-columns:minmax(0,1fr) minmax(230px,290px);align-items:start;gap:28px}.polymarket-volume-head>div:first-child>span{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:10px;font-weight:800;letter-spacing:.16em;color:#73c6df!important}.polymarket-volume-head h3{margin:7px 0 6px;color:#fff!important;font-family:"Songti SC","STSong",serif;font-size:25px}.polymarket-volume-head p{max-width:720px;margin:0;color:#a9b9c8!important;font-size:13px;line-height:1.65}.polymarket-volume-status{box-sizing:border-box;padding:15px 17px;border:1px solid #304a60!important;border-left:3px solid #53aee5!important;border-radius:12px;background:#10253a!important}.polymarket-volume-status small,.polymarket-volume-status span{display:block;color:#93a8ba!important;font-size:11px}.polymarket-volume-status strong{display:block;margin:5px 0;color:#f5f8fb!important;font-size:17px}.polymarket-volume-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;margin:22px 0 18px;overflow:hidden;border:1px solid #294157;border-radius:12px;background:#294157}.polymarket-volume-summary article{min-width:0;padding:14px 16px!important;border:0!important;border-radius:0!important;background:#102237!important}.polymarket-volume-summary small,.polymarket-volume-summary span{display:block;color:#91a6ba!important;font-size:11px}.polymarket-volume-summary strong{display:block;overflow:hidden;margin:5px 0 2px;color:#f4f8fc!important;font-size:17px;text-overflow:ellipsis;white-space:nowrap}.polymarket-volume-summary article:nth-child(2) strong{color:#bb9cff!important}.polymarket-volume-summary article:nth-child(3) strong{color:#61c5e8!important}.polymarket-volume-chart{margin-top:14px;padding:0 14px 9px;border:1px solid #294157;border-radius:12px;background:#0d2033}.polymarket-volume-chart>header{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;padding:15px 3px 4px}.polymarket-volume-chart>header small{display:block;color:#73c6df!important;font-size:10px;font-weight:800;letter-spacing:.12em}.polymarket-volume-chart>header strong{display:block;margin-top:4px;color:#f4f8fc!important;font-size:17px}.polymarket-volume-chart>header p{margin:0;color:#91a6ba!important;font-size:11px}.polymarket-volume-chart svg{display:block;width:100%;height:210px}.polymarket-volume-chart path{fill:none;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}.polymarket-volume-chart path.home{stroke:#ff7968}.polymarket-volume-chart path.draw{stroke:#bb9cff}.polymarket-volume-chart path.away{stroke:#61c5e8}.polymarket-volume-chart circle{stroke:#0d2033;stroke-width:2}.polymarket-volume-chart circle.home{fill:#ff7968}.polymarket-volume-chart circle.draw{fill:#bb9cff}.polymarket-volume-chart circle.away{fill:#61c5e8}.polymarket-volume-chart .grid-line{stroke:#294157;stroke-width:1}.polymarket-volume-chart .grid-line.zero{stroke:#7890a4;stroke-dasharray:5 5}.polymarket-volume-chart .axis-label,.polymarket-volume-chart .time-label{fill:#8299ad;font-size:10px}.polymarket-volume-legend{display:flex;justify-content:center;gap:20px;font-size:11px}.polymarket-volume-legend span:before{content:"";display:inline-block;width:17px;height:3px;margin:0 5px 3px 0;border-radius:2px;background:currentColor}.polymarket-volume-legend span.home{color:#ff7968!important}.polymarket-volume-legend span.draw{color:#bb9cff!important}.polymarket-volume-legend span.away{color:#61c5e8!important}.polymarket-volume-empty{display:flex;min-height:150px;align-items:center;justify-content:center;flex-direction:column;gap:8px;color:#b9c9d6;text-align:center}.polymarket-volume-empty strong{color:#f4f8fc;font-size:15px}.polymarket-volume-empty span{color:#91a6ba;font-size:11px}.polymarket-volume-table-wrap{overflow-x:auto;margin-top:14px;border:1px solid #294157;border-radius:12px;background:#0d2033}.polymarket-volume-table{width:100%;min-width:650px;border-collapse:collapse;font-size:11px}.polymarket-volume-table th,.polymarket-volume-table td{padding:11px 13px;border-bottom:1px solid #243b50;text-align:right;white-space:nowrap}.polymarket-volume-table th:first-child,.polymarket-volume-table td:first-child{text-align:left}.polymarket-volume-table th{color:#73c6df;font-size:10px;font-weight:800}.polymarket-volume-table td{color:#d9e4ec}.polymarket-volume-table td small{margin-left:4px;color:#91a6ba}.polymarket-volume-table tbody tr:last-child td{border-bottom:0}.polymarket-volume-table tbody tr:hover{background:#132b41}.polymarket-volume-table td:nth-child(2){color:#ffb0a6}.polymarket-volume-table td:nth-child(3){color:#d3c2ff}.polymarket-volume-table td:nth-child(4){color:#a8e2f4}.polymarket-volume-table td[colspan]{padding:24px;text-align:center;color:#91a6ba}
@media(max-width:760px){.polymarket-volume-panel{padding:19px 15px!important}.polymarket-volume-head{grid-template-columns:1fr;gap:16px}.polymarket-volume-status{width:100%}.polymarket-volume-summary{grid-template-columns:1fr 1fr}.polymarket-volume-summary article{padding:12px!important}.polymarket-volume-summary strong{font-size:15px}.polymarket-volume-chart>header{align-items:flex-start;flex-direction:column}.polymarket-volume-chart svg{height:180px}.polymarket-volume-table{min-width:620px}}

/* Combined volume and ratio chart refinements. */
.polymarket-volume-chart svg{height:250px}
.polymarket-volume-chart path.volume{stroke-width:3.5}
.polymarket-volume-chart path.ratio{stroke-width:2;stroke-dasharray:7 5;opacity:.8}
.polymarket-volume-chart circle.volume{r:4}
.polymarket-volume-chart circle.ratio{r:3;opacity:.82}
.polymarket-volume-chart .axis-label.right{fill:#73c6df}
.polymarket-volume-focus{outline:none}
.polymarket-volume-focus .hover-target{fill:transparent;cursor:crosshair;pointer-events:all}
.polymarket-volume-focus .focus-line{stroke:#dceaf4;stroke-width:1;stroke-dasharray:3 4;opacity:0;pointer-events:none}
.polymarket-volume-focus .focus-point{opacity:0;stroke:#f8fbfd;stroke-width:2;pointer-events:none}
.polymarket-volume-focus .focus-point.home{fill:#ff7968}.polymarket-volume-focus .focus-point.draw{fill:#bb9cff}.polymarket-volume-focus .focus-point.away{fill:#61c5e8}
.polymarket-volume-focus:hover .focus-line,.polymarket-volume-focus:focus .focus-line{opacity:.8}
.polymarket-volume-focus:hover .focus-point,.polymarket-volume-focus:focus .focus-point{opacity:1}
.polymarket-volume-tooltip{opacity:0;pointer-events:none;transform-box:fill-box;transform-origin:center}
.polymarket-volume-focus:hover .polymarket-volume-tooltip,.polymarket-volume-focus:focus .polymarket-volume-tooltip{opacity:1}
.polymarket-volume-tooltip rect{fill:#0d2639;stroke:#5a849a;stroke-width:1;filter:drop-shadow(0 6px 14px rgba(4,25,40,.28))}
.polymarket-volume-tooltip text{font-family:ui-monospace,SFMono-Regular,Menlo,monospace}
.polymarket-volume-tooltip .tooltip-time{fill:#fff;font-size:11px;font-weight:850}
.polymarket-volume-tooltip .tooltip-caption{fill:#a9c2d0;font-size:8px;font-weight:700}
.polymarket-volume-tooltip .tooltip-divider{stroke:#42677b;stroke-width:1;opacity:.72}
.polymarket-volume-tooltip .tooltip-swatch.home{fill:#ff7968}.polymarket-volume-tooltip .tooltip-swatch.draw{fill:#bb9cff}.polymarket-volume-tooltip .tooltip-swatch.away{fill:#61c5e8}
.polymarket-volume-tooltip .tooltip-row-label{font-size:9px;font-weight:850}.polymarket-volume-tooltip .tooltip-row-label.home{fill:#ffada2}.polymarket-volume-tooltip .tooltip-row-label.draw{fill:#d4c1ff}.polymarket-volume-tooltip .tooltip-row-label.away{fill:#a6e8f8}
.polymarket-volume-tooltip .tooltip-row-value{fill:#f4f8fb;font-size:9px;font-weight:750}
.polymarket-volume-tooltip .tooltip-row-delta{fill:#8faebe;font-size:8px}
.polymarket-volume-tooltip .tooltip-total{fill:#a9c2d0;font-size:8px;font-weight:750}.polymarket-volume-tooltip .tooltip-total tspan{fill:#fff;font-size:9px;font-weight:850}
.polymarket-volume-legend{display:flex;align-items:center;justify-content:center;gap:20px;flex-wrap:wrap;font-size:11px}
.polymarket-volume-legend>div{display:flex;align-items:center;gap:14px}
.polymarket-volume-style-legend{color:#91a6ba}
.polymarket-volume-style-legend span:before{height:0!important;margin-bottom:3px!important;border-top:2px solid currentColor;border-radius:0;background:transparent!important}
.polymarket-volume-style-legend span.dashed:before{border-top-style:dashed}
@media(max-width:760px){.polymarket-volume-chart svg{height:220px}.polymarket-volume-legend{gap:12px}.polymarket-volume-legend>div{gap:10px}}
.polymarket-profile-block{margin:18px 0 14px;padding:16px;border:1px solid #294157;border-radius:12px;background:#0d2033}.polymarket-profile-block-head,.polymarket-companion-block>header{display:flex;align-items:flex-end;justify-content:space-between;gap:18px}.polymarket-profile-block-head small,.polymarket-companion-block>header small{display:block;color:#73c6df;font-size:10px;font-weight:800;letter-spacing:.12em}.polymarket-profile-block-head strong,.polymarket-companion-block>header strong{display:block;margin-top:4px;color:#f4f8fc;font-size:17px}.polymarket-profile-block-head p,.polymarket-companion-block>header p{max-width:650px;margin:0;color:#91a6ba;font-size:11px;line-height:1.6}.polymarket-market-availability{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:14px;padding:12px 14px;border:1px solid #345066;border-left:3px solid #53aee5;border-radius:10px;background:#102237}.polymarket-market-availability small{display:block;color:#73c6df;font-size:9px;font-weight:800;letter-spacing:.12em}.polymarket-market-availability strong{display:block;margin-top:4px;color:#f4f8fc;font-size:14px}.polymarket-market-availability p{max-width:680px;margin:0;color:#a9b9c8;font-size:11px;line-height:1.55;text-align:right}.polymarket-market-availability.no-market{border-left-color:#f0b84b;background:linear-gradient(135deg,rgba(78,57,23,.5),#102237)}.polymarket-market-availability.no-market small,.polymarket-market-availability.no-market strong{color:#ffd27b}.polymarket-market-availability.unmatched{border-left-color:#bb9cff}.polymarket-market-availability.error{border-left-color:#ff7968}.polymarket-profile-outcomes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:14px}.polymarket-profile-outcome{padding:13px 14px;border:1px solid #294157;border-top:3px solid #8299ad;border-radius:10px;background:#102237}.polymarket-profile-outcome.home{border-top-color:#ff7968}.polymarket-profile-outcome.draw{border-top-color:#bb9cff}.polymarket-profile-outcome.away{border-top-color:#61c5e8}.polymarket-profile-outcome small,.polymarket-profile-outcome em{display:block;color:#91a6ba;font-size:10px;font-style:normal}.polymarket-profile-outcome strong{display:block;margin:5px 0;color:#f4f8fc;font-size:24px}.polymarket-profile-outcome span{color:#7fd5ea;font-size:11px}.polymarket-profile-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;margin-top:10px;border:1px solid #294157;border-radius:10px;overflow:hidden;background:#294157}.polymarket-profile-metrics article{min-width:0;padding:12px 13px;background:#102237}.polymarket-profile-metrics small,.polymarket-profile-metrics span{display:block;color:#91a6ba;font-size:10px;line-height:1.5}.polymarket-profile-metrics strong{display:block;overflow:hidden;margin:4px 0;color:#f4f8fc;font-size:16px;text-overflow:ellipsis;white-space:nowrap}.polymarket-profile-metrics article:last-child strong{color:#7fd5ea}.polymarket-companion-block{margin-top:14px;padding-top:14px;border-top:1px solid #294157}.polymarket-companion-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:12px}.polymarket-companion-card{padding:12px 13px;border:1px solid #294157;border-radius:10px;background:#102237}.polymarket-companion-card header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.polymarket-companion-card header small{display:block;color:#91a6ba;font-size:10px}.polymarket-companion-card header strong{display:block;margin-top:3px;color:#f4f8fc;font-size:16px}.polymarket-companion-card header em{padding:4px 6px;border:1px solid #345066;border-radius:999px;color:#91a6ba;font-size:9px;font-style:normal;white-space:nowrap}.polymarket-companion-outcomes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin:10px 0}.polymarket-companion-outcomes span{display:flex;justify-content:space-between;gap:8px;padding:7px 8px;border-radius:7px;background:#0b1d30;color:#91a6ba;font-size:10px}.polymarket-companion-outcomes strong{color:#f4f8fc}.polymarket-companion-card footer{display:flex;flex-wrap:wrap;gap:10px;color:#91a6ba;font-size:10px}.polymarket-companion-empty{display:flex;min-height:74px;align-items:center;justify-content:center;flex-direction:column;gap:5px;padding:10px;border:1px dashed #345066;border-radius:9px;color:#91a6ba;text-align:center}.polymarket-companion-empty strong{color:#c8d6e0;font-size:12px}.polymarket-companion-empty span{font-size:10px;line-height:1.5}@media(max-width:760px){.polymarket-profile-block{padding:13px}.polymarket-profile-block-head,.polymarket-companion-block>header{align-items:flex-start;flex-direction:column;gap:8px}.polymarket-market-availability{align-items:flex-start;flex-direction:column;gap:7px}.polymarket-market-availability p{text-align:left}.polymarket-profile-outcomes{grid-template-columns:1fr}.polymarket-profile-metrics{grid-template-columns:1fr 1fr}.polymarket-profile-metrics article{padding:10px}.polymarket-companion-grid{grid-template-columns:1fr}.polymarket-companion-card header em{font-size:8px}}
.polymarket-companion-charts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:12px}.polymarket-companion-chart{min-width:0;padding:13px 14px;border:1px solid #294157;border-radius:10px;background:linear-gradient(145deg,rgba(20,48,72,.8),rgba(11,29,48,.92))}.polymarket-companion-chart>header{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin-bottom:13px}.polymarket-companion-chart>header small{display:block;color:#73c6df;font-size:10px;font-weight:800;letter-spacing:.1em}.polymarket-companion-chart>header strong{display:block;margin-top:4px;color:#f4f8fc;font-size:15px}.polymarket-companion-chart>header>span{color:#91a6ba;font-size:10px;text-align:right}.polymarket-companion-chart-axis{display:flex;justify-content:space-between;padding:0 1px 5px;color:#71879a;font-size:9px}.polymarket-companion-chart-row{padding:10px 0;border-top:1px solid rgba(60,88,110,.58)}.polymarket-companion-chart-row-head{display:flex;align-items:center;gap:7px;margin-bottom:6px}.polymarket-companion-chart-row-head strong{min-width:48px;color:#f4f8fc;font-size:14px}.polymarket-companion-chart-row-head span{padding:3px 5px;border:1px solid #345066;border-radius:999px;color:#7fd5ea;font-size:9px}.polymarket-companion-chart-row-head small{margin-left:auto;color:#91a6ba;font-size:10px}.polymarket-companion-chart-bar{display:flex;overflow:hidden;height:14px;border-radius:999px;background:#0a1a2b;box-shadow:inset 0 0 0 1px rgba(255,255,255,.05)}.polymarket-companion-chart-bar i{display:block;height:100%;transition:width 220ms ease}.polymarket-companion-chart-bar i.first{background:linear-gradient(90deg,#ff7968,#ffad76)}.polymarket-companion-chart-bar i.second{background:linear-gradient(90deg,#55badd,#8bd7eb)}.polymarket-companion-chart-labels{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:7px}.polymarket-companion-chart-labels span{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:5px;min-width:0;color:#91a6ba;font-size:10px}.polymarket-companion-chart-labels i{width:7px;height:7px;border-radius:50%;background:#ff7968}.polymarket-companion-chart-labels span.second i{background:#61c5e8}.polymarket-companion-chart-labels b{overflow:hidden;font-weight:600;text-overflow:ellipsis;white-space:nowrap}.polymarket-companion-chart-labels strong{color:#f4f8fc;font-size:11px}.polymarket-companion-chart-meta{display:block;margin-top:6px;color:#71879a;font-size:9px}.polymarket-companion-chart .polymarket-companion-empty{min-height:88px}.polymarket-companion-chart .polymarket-companion-empty strong{color:#c8d6e0}.polymarket-companion-chart .polymarket-companion-empty span{color:#91a6ba}@media(max-width:760px){.polymarket-companion-charts{grid-template-columns:1fr}.polymarket-companion-chart>header{align-items:flex-start;flex-direction:column}.polymarket-companion-chart>header>span{text-align:left}.polymarket-companion-chart-labels{gap:5px}.polymarket-companion-chart-labels span{font-size:9px}}
.polymarket-profile-outcome-volume{display:block!important;margin-top:7px;color:#f4f8fc!important;font-size:12px!important;font-weight:700}.polymarket-profile-outcome-change{display:block;margin-top:3px;color:#7fd5ea!important;font-size:10px!important}.polymarket-profile-benchmarks{display:grid;gap:4px;margin-top:10px;padding-top:9px;border-top:1px solid #294157}.polymarket-profile-benchmarks span{display:grid;grid-template-columns:38px 52px minmax(0,1fr);align-items:baseline;gap:6px;color:#c8d6e0;font-size:10px}.polymarket-profile-benchmarks span small{color:#91a6ba;font-size:10px}.polymarket-profile-benchmarks span b{color:#f4f8fc;font-size:11px}.polymarket-profile-benchmarks span em{color:#91a6ba;font-size:10px;font-style:normal;text-align:right}.polymarket-profile-benchmarks span.empty{display:block;color:#91a6ba;font-size:10px}

/* Polymarket market-intelligence additions. */
.polymarket-probability-chart{margin-top:14px;padding:14px;border:1px solid #294157;border-radius:10px;background:linear-gradient(145deg,rgba(20,48,72,.78),rgba(11,29,48,.94))}.polymarket-probability-chart>header{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:10px}.polymarket-probability-chart>header small{display:block;color:#73c6df;font-size:10px;font-weight:800;letter-spacing:.1em}.polymarket-probability-chart>header strong{display:block;margin-top:4px;color:#f4f8fc;font-size:15px}.polymarket-probability-chart>header p{max-width:620px;margin:0;color:#91a6ba;font-size:10px;line-height:1.55;text-align:right}.polymarket-probability-chart svg{display:block;width:100%;height:208px;overflow:visible}.polymarket-probability-chart .grid-line{stroke:#294157;stroke-width:1}.polymarket-probability-chart .grid-line.zero{stroke:#7891a3;stroke-dasharray:4 4}.polymarket-probability-chart .axis-label,.polymarket-probability-chart .time-label{fill:#91a6ba;font-size:9px}.polymarket-probability-chart path.probability{fill:none;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}.polymarket-probability-chart path.probability.home{stroke:#ff7968}.polymarket-probability-chart path.probability.draw{stroke:#bb9cff}.polymarket-probability-chart path.probability.away{stroke:#61c5e8}.polymarket-probability-chart circle.probability{stroke:#f4f8fc;stroke-width:1.5}.polymarket-probability-chart circle.probability.home{fill:#ff7968}.polymarket-probability-chart circle.probability.draw{fill:#bb9cff}.polymarket-probability-chart circle.probability.away{fill:#61c5e8}.polymarket-probability-caption{display:flex;align-items:center;gap:14px;margin-top:-5px;color:#91a6ba;font-size:9px}.polymarket-probability-caption strong{margin-left:auto;color:#f4f8fc;font-size:10px}.polymarket-probability-note{color:#91a6ba;font-size:10px}.polymarket-probability-empty{display:flex;min-height:116px;align-items:center;justify-content:center;flex-direction:column;gap:5px;margin-top:14px;padding:14px;border:1px dashed #345066;border-radius:10px;color:#91a6ba;text-align:center}.polymarket-probability-empty strong{color:#c8d6e0;font-size:12px}.polymarket-probability-empty span{font-size:10px;line-height:1.5}.polymarket-pulse-strip{display:flex;align-items:center;gap:15px;margin-top:10px;padding:8px 10px;border:1px solid #294157;border-radius:8px;background:#0b1d30;color:#b8c8d4;font-size:10px}.polymarket-pulse-strip span{display:inline-flex;align-items:center;gap:5px}.polymarket-pulse-strip i{display:inline-block;width:7px;height:7px;border-radius:50%;background:#ff7968}.polymarket-pulse-strip i.draw{background:#bb9cff}.polymarket-pulse-strip i.away{background:#61c5e8}.polymarket-pulse-strip small{margin-left:auto;color:#71879a;font-size:9px}@media(max-width:760px){.polymarket-probability-chart>header{align-items:flex-start;flex-direction:column;gap:7px}.polymarket-probability-chart>header p{text-align:left}.polymarket-probability-chart svg{height:190px}.polymarket-probability-caption{flex-wrap:wrap}.polymarket-probability-caption strong{width:100%;margin-left:0}.polymarket-pulse-strip{align-items:flex-start;flex-wrap:wrap;gap:8px 14px}.polymarket-pulse-strip small{width:100%;margin-left:0}.polymarket-profile-metrics{grid-template-columns:1fr 1fr}}
.polymarket-profile-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.polymarket-profile-metrics article:nth-last-child(-n+2) strong{color:#7fd5ea}

/* Polymarket validity and interval trade pulse. */
.polymarket-validity-card,.polymarket-trade-pulse-card{margin-top:12px;padding:13px 14px;border:1px solid #294157;border-radius:10px;background:linear-gradient(145deg,rgba(20,48,72,.72),rgba(11,29,48,.9))}.polymarket-validity-card{border-left:3px solid #54c7e8}.polymarket-validity-card.thin{border-left-color:#f0b84b}.polymarket-validity-card.unavailable{border-left-color:#ff7968}.polymarket-validity-card>header,.polymarket-trade-pulse-card>header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.polymarket-validity-card>header small,.polymarket-trade-pulse-card>header small{display:block;color:#73c6df;font-size:10px;font-weight:800;letter-spacing:.1em}.polymarket-validity-card>header strong,.polymarket-trade-pulse-card>header strong{display:block;margin-top:4px;color:#f4f8fc;font-size:15px}.polymarket-validity-card>header p,.polymarket-trade-pulse-card>header span{margin:4px 0 0;color:#91a6ba;font-size:10px}.polymarket-validity-card>header>span,.polymarket-trade-pulse-card>header>span{padding:4px 7px;border:1px solid #345066;border-radius:999px;color:#91a6ba;font-size:9px;white-space:nowrap}.polymarket-validity-grid,.polymarket-trade-pulse-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;margin-top:11px;border:1px solid #294157;border-radius:8px;overflow:hidden;background:#294157}.polymarket-validity-grid article,.polymarket-trade-pulse-grid article{min-width:0;padding:9px 10px;background:#102237}.polymarket-validity-grid small,.polymarket-trade-pulse-grid small,.polymarket-validity-grid span,.polymarket-trade-pulse-grid span{display:block;color:#91a6ba;font-size:9px;line-height:1.45}.polymarket-validity-grid strong,.polymarket-trade-pulse-grid strong{display:block;overflow:hidden;margin:3px 0;color:#f4f8fc;font-size:14px;text-overflow:ellipsis;white-space:nowrap}.polymarket-validity-card.readable .polymarket-validity-grid article:first-child strong{color:#73d7b1}.polymarket-validity-card.thin .polymarket-validity-grid article:first-child strong{color:#ffd27b}.polymarket-validity-card.unavailable .polymarket-validity-grid article:first-child strong{color:#ff9a8f}.polymarket-validity-books{display:grid;grid-template-columns:auto repeat(3,minmax(0,1fr));align-items:center;gap:8px;margin-top:9px;color:#91a6ba;font-size:9px}.polymarket-validity-books>small{color:#71879a}.polymarket-validity-books span{display:flex;align-items:center;justify-content:space-between;gap:5px;min-width:0;padding:5px 7px;border-radius:6px;background:#0b1d30}.polymarket-validity-books i,.polymarket-trade-pulse-outcomes i{width:7px;height:7px;flex:0 0 auto;border-radius:50%;background:#ff7968}.polymarket-validity-books i.draw,.polymarket-trade-pulse-outcomes i.draw{background:#bb9cff}.polymarket-validity-books i.away,.polymarket-trade-pulse-outcomes i.away{background:#61c5e8}.polymarket-validity-books b{color:#c8d6e0;font-size:9px}.polymarket-validity-books em{color:#f4f8fc;font-size:9px;font-style:normal}.polymarket-validity-note,.polymarket-trade-pulse-card>p{margin:9px 0 0;color:#71879a;font-size:9px;line-height:1.5}.polymarket-trade-pulse-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.polymarket-trade-pulse-grid strong{color:#7fd5ea}.polymarket-trade-pulse-outcomes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-top:9px}.polymarket-trade-pulse-outcomes span{display:flex;align-items:center;gap:6px;min-width:0;padding:7px 8px;border-radius:7px;background:#0b1d30}.polymarket-trade-pulse-outcomes b{color:#c8d6e0;font-size:10px}.polymarket-trade-pulse-outcomes em{overflow:hidden;margin-left:auto;color:#f4f8fc;font-size:9px;font-style:normal;text-align:right;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:760px){.polymarket-validity-card>header,.polymarket-trade-pulse-card>header{flex-direction:column;gap:7px}.polymarket-validity-card>header>span,.polymarket-trade-pulse-card>header>span{align-self:flex-start}.polymarket-validity-grid{grid-template-columns:1fr 1fr}.polymarket-validity-grid article:last-child{grid-column:1/-1}.polymarket-validity-books{grid-template-columns:1fr 1fr}.polymarket-validity-books>small{grid-column:1/-1}.polymarket-trade-pulse-grid{grid-template-columns:1fr 1fr}.polymarket-trade-pulse-outcomes{grid-template-columns:1fr}.polymarket-trade-pulse-outcomes em{white-space:normal}}
