:root {
  --bg: #f3f6fb;
  --paper: #ffffff;
  --ink: #102033;
  --muted: #677489;
  --navy: #081a2d;
  --navy-2: #102a45;
  --blue: #1769ff;
  --sky: #24a8ff;
  --green: #10b981;
  --orange: #f59e0b;
  --red: #ef4444;
  --purple: #7c3aed;
  --line: #e5ebf3;
  --soft: #f7f9fc;
  --shadow: 0 18px 50px rgba(13, 32, 57, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", Arial, sans-serif;
  line-height: 1.58;
}

body.has-forecast-ad {
  padding-bottom: 112px;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.container {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  color: #fff;
  background: rgba(8, 26, 45, 0.96);
  box-shadow: 0 12px 30px rgba(4, 15, 30, 0.24);
  backdrop-filter: blur(14px);
}

.market-strip {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.74);
}

.strip-grid {
  display: grid;
  grid-template-columns: repeat(4, auto);
  justify-content: space-between;
  gap: 16px;
  min-height: 34px;
  align-items: center;
  white-space: nowrap;
  overflow: auto;
}

.nav {
  display: flex;
  min-height: 70px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand,
.nav-links,
.hero-actions,
.board-top,
.mini-metrics,
.match-meta,
.teams-line,
.pick-row,
.section-head,
.date-switch,
.footer-grid {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-size: 22px;
  font-weight: 900;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--green));
  box-shadow: 0 10px 26px rgba(23, 105, 255, 0.36);
}

.nav-links {
  gap: 6px;
  font-size: 15px;
}

.nav-links a {
  padding: 9px 13px;
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 700;
}

.nav-links a:hover,
.nav-pill {
  background: rgba(255, 255, 255, 0.12);
}

.nav-toggle {
  display: none;
  border: 0;
  border-radius: 6px;
  padding: 8px 12px;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.competition-strip {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(6, 17, 31, 0.42);
}

.competition-strip-inner {
  display: flex;
  min-height: 42px;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  white-space: nowrap;
}

.competition-strip a {
  border-radius: 999px;
  padding: 6px 12px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 13px;
  font-weight: 900;
}

.competition-strip a:hover,
.competition-strip a.is-active {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
}

.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: var(--navy);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 74% 28%, rgba(23, 105, 255, 0.32), transparent 28%),
    linear-gradient(90deg, rgba(6, 17, 31, 0.95), rgba(7, 21, 37, 0.7), rgba(6, 17, 31, 0.88)),
    url("stadium-hero.png") center / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 120px;
  background: linear-gradient(180deg, rgba(243, 246, 251, 0), var(--bg));
}

.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 410px;
  gap: 48px;
  align-items: center;
  min-height: 620px;
  padding: 82px 0 126px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-text {
  max-width: 720px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  padding: 0 20px;
  font-weight: 900;
}

.button.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--sky));
  box-shadow: 0 14px 30px rgba(23, 105, 255, 0.36);
}

.button.ghost {
  border: 1px solid rgba(255, 255, 255, 0.34);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.button.block {
  width: 100%;
}

.forecast-board,
.predict-card,
.panel,
.match-detail-card,
.model-panel,
.model-output,
.recap-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.forecast-board {
  padding: 22px;
  color: var(--ink);
}

.board-top {
  justify-content: space-between;
  color: var(--muted);
  font-weight: 800;
}

.board-top strong {
  color: var(--blue);
}

.board-score {
  margin: 24px 0 18px;
  padding: 22px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--navy), var(--blue));
}

.board-score strong {
  display: block;
  font-size: 44px;
  line-height: 1;
}

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

.mini-metrics div {
  padding: 12px 8px;
  border-radius: 8px;
  background: var(--soft);
  text-align: center;
}

.mini-metrics b {
  display: block;
  color: var(--navy);
  font-size: 22px;
}

.mini-metrics span,
.signal-row span,
.match-meta,
.predict-card p,
.right-rail p,
.model-panel p,
.recap-grid p,
.update-time {
  color: var(--muted);
}

.signal-stack {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.signal-row,
.model-factor {
  display: grid;
  grid-template-columns: 78px 1fr 34px;
  gap: 10px;
  align-items: center;
  font-size: 13px;
}

.signal-row i,
.model-factor i {
  height: 8px;
  border-radius: 999px;
  background: #e8eef6;
  overflow: hidden;
}

.signal-row em,
.model-factor em {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green), var(--blue));
}

.signal-row em.warn,
.model-factor em.warn {
  background: linear-gradient(90deg, var(--orange), var(--blue));
}

.model-factor em.danger {
  background: linear-gradient(90deg, var(--red), var(--orange));
}

.factor-radar {
  display: grid;
  place-items: center;
}

.factor-radar.compact {
  margin-top: 14px;
}

.factor-radar.large {
  min-width: 250px;
}

.factor-radar-svg {
  display: block;
  width: min(100%, 280px);
  height: auto;
  overflow: visible;
}

.factor-radar.compact .factor-radar-svg {
  width: min(100%, 230px);
}

.radar-grid {
  fill: rgba(23, 105, 255, 0.025);
  stroke: rgba(15, 35, 75, 0.16);
  stroke-width: 1;
}

.radar-axis {
  stroke: rgba(15, 35, 75, 0.16);
  stroke-width: 1;
}

.radar-shape {
  fill: rgba(23, 105, 255, 0.24);
  stroke: var(--blue);
  stroke-width: 3;
  stroke-linejoin: round;
  filter: drop-shadow(0 10px 18px rgba(23, 105, 255, 0.16));
}

.radar-point {
  fill: #fff;
  stroke: var(--blue);
  stroke-width: 2.5;
}

.radar-node {
  cursor: help;
  outline: none;
}

.radar-node:hover .radar-point,
.radar-node:focus .radar-point {
  fill: var(--blue);
  stroke: #fff;
}

.radar-label {
  fill: var(--navy);
  font-size: 11px;
  font-weight: 900;
  text-anchor: middle;
  dominant-baseline: middle;
}

.radar-score-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.radar-score-row span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  border-radius: 7px;
  padding: 8px 9px;
  color: var(--muted);
  background: rgba(15, 35, 75, 0.05);
  font-size: 12px;
  font-weight: 800;
}

.radar-score-row b {
  color: var(--navy);
  font-size: 14px;
}

.factor-tip {
  position: relative;
  cursor: help;
  outline: none;
}

.factor-tip::after {
  content: attr(data-tip);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  z-index: 30;
  width: min(310px, calc(100vw - 34px));
  border: 1px solid rgba(23, 105, 255, 0.18);
  border-radius: 8px;
  padding: 10px 12px;
  color: #fff;
  background: rgba(8, 26, 45, 0.96);
  box-shadow: 0 16px 36px rgba(4, 15, 30, 0.2);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.65;
  white-space: normal;
  text-align: left;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 6px);
  transition: opacity 0.16s ease, transform 0.16s ease;
}

.factor-tip::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: calc(100% + 4px);
  z-index: 31;
  width: 10px;
  height: 10px;
  background: rgba(8, 26, 45, 0.96);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 6px) rotate(45deg);
  transition: opacity 0.16s ease, transform 0.16s ease;
}

.factor-tip:hover::after,
.factor-tip:focus::after,
.factor-tip:hover::before,
.factor-tip:focus::before {
  opacity: 1;
  transform: translate(-50%, 0);
}

.factor-radar-panel {
  display: grid;
  grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  margin: 18px 0 20px;
  border: 1px solid rgba(23, 105, 255, 0.12);
  border-radius: 8px;
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(23, 105, 255, 0.08), rgba(9, 180, 255, 0.04)),
    #fff;
}

.factor-radar-list {
  display: grid;
  gap: 11px;
}

.factor-radar-list div {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 36px;
  gap: 10px;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.factor-radar-list i {
  position: relative;
  display: block;
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(15, 35, 75, 0.1);
}

.factor-radar-list em {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--sky));
}

.factor-radar-list em.warn {
  background: linear-gradient(90deg, var(--orange), var(--blue));
}

.factor-radar-list b {
  color: var(--navy);
  text-align: right;
}

.quick-filter {
  position: relative;
  z-index: 4;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: -54px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow);
}

.filter-chip,
.date-switch button,
.date-switch a,
.calendar-grid button,
.calendar-grid a {
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--muted);
  background: #fff;
  cursor: pointer;
  font-weight: 800;
}

.filter-chip {
  padding: 9px 14px;
}

.filter-chip.is-active,
.date-switch button.is-active,
.date-switch a.is-active,
.calendar-grid button.is-active,
.calendar-grid a.is-active {
  border-color: var(--blue);
  color: #fff;
  background: var(--blue);
}

.prediction-hub {
  padding: 58px 0 64px;
}

.section-head {
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.section-head.compact {
  align-items: center;
}

.section-head h2 {
  margin: 0;
  color: var(--navy);
  font-size: 30px;
  line-height: 1.18;
}

.date-switch {
  gap: 6px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.date-switch button,
.date-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 58px;
  padding: 7px 12px;
}

.hub-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 22px;
  align-items: start;
}

.prediction-list {
  display: grid;
  gap: 14px;
}

.predict-card {
  padding: 22px;
  box-shadow: none;
}

.predict-card.prime {
  border-color: rgba(23, 105, 255, 0.26);
  box-shadow: var(--shadow);
}

.predict-card[hidden] {
  display: none;
}

.match-meta {
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
}

.league,
.badge {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  border-radius: 999px;
  padding: 0 10px;
  color: #fff;
  background: var(--blue);
}

.league.green {
  background: var(--green);
}

.league.orange {
  background: var(--orange);
}

.league.purple {
  background: var(--purple);
}

.badge {
  color: var(--blue);
  background: rgba(23, 105, 255, 0.1);
}

.badge.hot {
  color: var(--green);
  background: rgba(16, 185, 129, 0.12);
}

.badge.danger {
  color: var(--red);
  background: rgba(239, 68, 68, 0.11);
}

.teams-line {
  justify-content: space-between;
  gap: 14px;
  margin: 16px 0;
}

a.teams-line {
  display: flex;
}

.teams-line strong {
  color: var(--navy);
  font-size: 23px;
}

.teams-line span {
  color: var(--muted);
  font-weight: 900;
}

.pick-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}

.pick-row div {
  padding: 13px;
  border-radius: 8px;
  background: var(--soft);
}

.pick-row small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.pick-row b {
  display: block;
  margin-top: 3px;
  color: var(--navy);
  font-size: 18px;
}

.pick-row .score {
  color: var(--green);
  font-size: 28px;
  line-height: 1;
}

.pick-row .score.danger {
  color: var(--orange);
}

.factor-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 16px;
}

.factor-grid span {
  padding: 8px;
  border-radius: 6px;
  color: var(--muted);
  background: #fbfcfe;
  text-align: center;
  font-size: 13px;
  font-weight: 800;
}

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

.card-actions a,
.inline-detail {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  padding: 0 12px;
  color: var(--blue);
  background: rgba(23, 105, 255, 0.08);
  font-size: 13px;
  font-weight: 900;
}

.prob-mini,
.detail-prob-grid,
.live-prediction-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 14px 0;
}

.prob-mini span,
.detail-prob-grid span,
.live-prediction-strip span {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px;
  color: var(--muted);
  background: #fbfcfe;
  font-size: 12px;
  font-weight: 800;
}

.prob-mini b,
.detail-prob-grid b,
.live-prediction-strip b {
  display: block;
  margin-top: 2px;
  color: var(--navy);
  font-size: 15px;
}

.live-supplement {
  margin: 14px 0;
  border: 1px solid rgba(16, 185, 129, 0.24);
  border-radius: 8px;
  padding: 14px;
  background:
    linear-gradient(135deg, rgba(16, 185, 129, 0.09), rgba(23, 105, 255, 0.07)),
    #fbfcfe;
}

.detail-live-supplement {
  margin: 20px 0;
}

.live-supplement-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.live-supplement-head strong {
  color: var(--green);
  font-size: 15px;
}

.live-supplement-head span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.live-supplement p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.live-prediction-strip.compact {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 8px 0;
}

.live-driver-list {
  display: grid;
  gap: 6px;
  margin: 10px 0 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 13px;
}

.right-rail {
  display: grid;
  gap: 16px;
}

.panel {
  padding: 20px;
  box-shadow: none;
}

.panel h3,
.model-panel h3,
.reason-list h3 {
  margin: 0 0 14px;
  color: var(--navy);
  font-size: 21px;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.calendar-grid button,
.calendar-grid a {
  padding: 10px 6px;
  line-height: 1.35;
  text-align: center;
}

.calendar-grid span,
.calendar-grid small {
  font-size: 12px;
  opacity: 0.8;
}

.rank-panel ol {
  display: grid;
  gap: 13px;
  margin: 0;
  padding-left: 22px;
}

.rank-panel li {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.rank-panel li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.rank-panel b,
.rank-panel span {
  display: block;
}

.rank-panel span {
  color: var(--muted);
  font-size: 13px;
}

.vip-panel {
  color: #fff;
  border: 0;
  background: linear-gradient(145deg, var(--navy), var(--navy-2));
}

.vip-panel h3,
.vip-panel p {
  color: #fff;
}

.vip-panel p {
  opacity: 0.75;
  margin: 0 0 16px;
}

.detail-band {
  padding: 64px 0;
  background: #fff;
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 22px;
  align-items: start;
}

.match-detail-card {
  padding: 24px;
  box-shadow: none;
}

.detail-scoreline {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 18px;
  align-items: center;
  text-align: center;
}

.detail-scoreline > div {
  display: grid;
  gap: 9px;
  justify-items: center;
}

.crest {
  display: grid;
  width: 60px;
  height: 60px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  font-weight: 900;
}

.crest.blue {
  background: var(--blue);
}

.crest.red {
  background: var(--red);
}

.vs-block b {
  color: var(--navy);
  font-size: 26px;
}

.vs-block span {
  color: var(--muted);
  font-size: 13px;
}

.recommend-box {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 24px 0;
}

.recommend-box div {
  padding: 16px;
  border-radius: 8px;
  background: var(--soft);
}

.recommend-box small {
  display: block;
  color: var(--muted);
}

.recommend-box strong {
  color: var(--navy);
  font-size: 21px;
}

.recommend-box .risk {
  color: var(--green);
}

.reason-list {
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.reason-list ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.model-panel {
  padding: 22px;
  box-shadow: none;
}

.model-panel .model-factor {
  margin-bottom: 14px;
}

.model-panel p {
  margin: 18px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.model-lab {
  padding: 64px 0;
  background: var(--bg);
}

.model-lab-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 22px;
  align-items: start;
}

.model-lab h2 {
  margin: 0;
  color: var(--navy);
  font-size: 30px;
  line-height: 1.18;
}

.model-lead {
  max-width: 780px;
  margin: 12px 0 20px;
  color: var(--muted);
}

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

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

.model-form input {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 8px 10px;
  color: var(--ink);
  background: #fff;
  font: inherit;
  font-weight: 800;
}

.model-output {
  padding: 22px;
  box-shadow: none;
}

.model-output h3 {
  margin: 0 0 14px;
  color: var(--navy);
  font-size: 21px;
}

.output-pick {
  padding: 18px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--navy), var(--blue));
}

.output-pick small {
  display: block;
  opacity: 0.78;
}

.output-pick strong {
  display: block;
  margin-top: 4px;
  font-size: 30px;
  line-height: 1.1;
}

.prob-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin: 12px 0;
}

.prob-grid div {
  padding: 12px;
  border-radius: 8px;
  background: var(--soft);
}

.prob-grid span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.prob-grid b {
  display: block;
  color: var(--navy);
  font-size: 23px;
}

.model-summary {
  display: grid;
  gap: 8px;
}

.model-summary p {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.model-summary b {
  color: var(--navy);
  text-align: right;
}

.recap {
  padding: 60px 0 78px;
}

.text-link {
  color: var(--blue);
  font-weight: 900;
}

.recap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.recap-grid article {
  padding: 22px;
  box-shadow: none;
}

.recap-grid span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.recap-grid strong {
  display: block;
  margin: 8px 0;
  color: var(--green);
  font-size: 30px;
}

.recap-grid p {
  margin: 0;
}

.site-footer {
  padding: 42px 0;
  color: rgba(255, 255, 255, 0.72);
  background: var(--navy);
}

.live-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(6, 17, 31, 0.95), rgba(7, 21, 37, 0.78), rgba(6, 17, 31, 0.9)),
    url("stadium-hero.png") center / cover no-repeat;
}

.live-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 90px;
  background: linear-gradient(180deg, rgba(243, 246, 251, 0), var(--bg));
}

.live-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 42px;
  align-items: center;
  min-height: 470px;
  padding: 72px 0 112px;
}

.live-hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(34px, 4.6vw, 58px);
  line-height: 1.08;
}

.live-hero p {
  max-width: 700px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 17px;
}

.live-tabs {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  margin-top: -48px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
  overflow-x: auto;
  scrollbar-width: thin;
}

.live-tabs a {
  display: inline-flex;
  min-width: 88px;
  min-height: 54px;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 9px 14px;
  color: var(--muted);
  background: #fff;
  font-weight: 900;
  line-height: 1.15;
  text-align: center;
  white-space: nowrap;
}

.live-tabs a small {
  margin-top: 4px;
  font-size: 11px;
  font-weight: 800;
  color: inherit;
  opacity: 0.72;
}

.live-tabs a.is-active {
  border-color: var(--blue);
  color: #fff;
  background: var(--blue);
}

.live-watch-hero {
  background:
    linear-gradient(90deg, rgba(5, 18, 34, 0.96), rgba(8, 30, 52, 0.76), rgba(5, 18, 34, 0.92)),
    url("stadium-hero.png") center / cover no-repeat;
}

.live-tv-hero {
  background:
    radial-gradient(circle at 78% 22%, rgba(16, 185, 129, 0.26), transparent 28%),
    linear-gradient(90deg, rgba(4, 13, 25, 0.98), rgba(5, 21, 39, 0.76), rgba(4, 13, 25, 0.94)),
    url("stadium-hero.png") center / cover no-repeat;
}

.live-tv-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 440px;
  gap: 48px;
  align-items: center;
  min-height: 560px;
  padding: 78px 0 128px;
}

.live-title-card {
  display: grid;
  gap: 22px;
  align-content: center;
}

.on-air-badge {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(16, 185, 129, 0.42);
  border-radius: 999px;
  padding: 8px 13px;
  color: #d8fff2;
  background: rgba(16, 185, 129, 0.16);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.08em;
}

.on-air-badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 6px rgba(16, 185, 129, 0.14);
}

.live-title-card h1 {
  max-width: 720px;
  margin: 0;
  color: #fff;
  font-size: clamp(46px, 7vw, 86px);
  line-height: 0.98;
}

.live-quick-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 150px));
  gap: 10px;
}

.live-quick-stats span {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 9px;
  padding: 13px;
  color: rgba(255, 255, 255, 0.68);
  background: rgba(255, 255, 255, 0.08);
  font-size: 13px;
  font-weight: 900;
}

.live-quick-stats b {
  display: block;
  color: #fff;
  font-size: 30px;
  line-height: 1;
}

.tv-screen {
  position: relative;
  display: grid;
  gap: 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 18px;
  padding: 22px;
  color: #fff;
  background:
    linear-gradient(145deg, rgba(8, 26, 45, 0.92), rgba(4, 13, 25, 0.92)),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 7px);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.34);
  overflow: hidden;
}

.tv-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0 42%, rgba(255, 255, 255, 0.12) 48%, transparent 56%);
  pointer-events: none;
}

.tv-screen-top,
.tv-screen-teams {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.tv-screen-top span {
  color: #d8fff2;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.08em;
}

.tv-screen-top b {
  border-radius: 999px;
  padding: 5px 9px;
  color: var(--navy);
  background: #fff;
  font-size: 12px;
}

.tv-screen-score {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 138px;
  place-items: center;
  border-radius: 14px;
  color: #fff;
  background:
    radial-gradient(circle at 50% 0, rgba(255, 255, 255, 0.18), transparent 38%),
    linear-gradient(135deg, var(--blue), var(--green));
  font-size: clamp(52px, 8vw, 88px);
  font-weight: 950;
  line-height: 1;
}

.tv-screen-teams strong {
  min-width: 0;
  color: #fff;
  font-size: 18px;
}

.tv-screen-teams span {
  color: rgba(255, 255, 255, 0.42);
  font-weight: 900;
}

.tv-screen small {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, 0.68);
}

.tv-platform-hub {
  position: relative;
  z-index: 4;
  margin-top: -56px;
  border: 1px solid rgba(15, 35, 75, 0.08);
  border-radius: 14px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow);
}

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

.tv-section-title span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 10px;
  color: #fff;
  background: var(--navy);
  font-weight: 950;
}

.tv-section-title h2 {
  flex: 1;
  margin: 0;
  color: var(--navy);
  font-size: 26px;
}

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

.tv-platform-card {
  position: relative;
  display: grid;
  min-height: 172px;
  align-content: start;
  gap: 8px;
  border-radius: 13px;
  padding: 14px;
  color: var(--ink);
  background:
    linear-gradient(145deg, rgba(23, 105, 255, 0.08), rgba(16, 185, 129, 0.08)),
    #f7faff;
  overflow: hidden;
}

.tv-platform-card.primary-platform {
  color: #fff;
  background:
    radial-gradient(circle at 80% 16%, rgba(255, 255, 255, 0.24), transparent 24%),
    linear-gradient(145deg, var(--navy), var(--blue));
}

.tv-platform-card::after {
  content: "";
  position: absolute;
  right: -34px;
  bottom: -42px;
  width: 110px;
  height: 110px;
  border: 18px solid rgba(23, 105, 255, 0.12);
  border-radius: 50%;
}

.tv-platform-card small {
  position: relative;
  z-index: 1;
  color: inherit;
  opacity: 0.62;
  font-size: 11px;
  font-weight: 950;
}

.tv-platform-card .platform-mark {
  position: relative;
  z-index: 1;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  font-size: 21px;
}

.tv-platform-card strong {
  position: relative;
  z-index: 1;
  color: inherit;
  font-size: 20px;
  line-height: 1.1;
}

.tv-platform-card em {
  position: relative;
  z-index: 1;
  color: inherit;
  opacity: 0.68;
  font-size: 12px;
  font-style: normal;
  line-height: 1.45;
}

.tv-platform-card b {
  position: relative;
  z-index: 1;
  align-self: end;
  width: fit-content;
  margin-top: auto;
  border-radius: 999px;
  padding: 6px 10px;
  color: #fff;
  background: var(--blue);
  font-size: 12px;
}

.tv-platform-card.primary-platform b {
  color: var(--navy);
  background: #fff;
}

.tv-tabs {
  margin-top: 18px;
}

.tv-watch-section {
  padding: 34px 0 74px;
}

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

.tv-match-card {
  display: grid;
  gap: 14px;
  border: 1px solid rgba(15, 35, 75, 0.1);
  border-radius: 14px;
  padding: 16px;
  background:
    linear-gradient(180deg, #fff, #f8fbff);
  box-shadow: 0 14px 34px rgba(13, 32, 57, 0.08);
}

.tv-match-card.live {
  border-color: rgba(16, 185, 129, 0.38);
  box-shadow: 0 18px 42px rgba(16, 185, 129, 0.1);
}

.tv-match-card.finished {
  opacity: 0.84;
}

.tv-match-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
}

.tv-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius: 999px;
  padding: 5px 9px;
  color: var(--green);
  background: rgba(16, 185, 129, 0.1);
  font-size: 12px;
  font-weight: 950;
}

.tv-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

.tv-match-head b,
.tv-match-head time {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.tv-match-head b {
  text-align: center;
}

.tv-scoreboard {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.tv-team {
  display: grid;
  gap: 8px;
  justify-items: start;
  min-width: 0;
}

.tv-team.away {
  justify-items: end;
  text-align: right;
}

.tv-team span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--blue);
  font-weight: 950;
}

.tv-team.away span {
  background: var(--red);
}

.tv-team strong {
  min-width: 0;
  color: var(--navy);
  font-size: 20px;
  line-height: 1.18;
}

.tv-score {
  min-width: 82px;
  border-radius: 13px;
  padding: 14px 10px;
  color: #fff;
  background: var(--navy);
  text-align: center;
  font-size: 26px;
  font-weight: 950;
}

.tv-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tv-actions a {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  border-radius: 8px;
  padding: 0 12px;
  color: var(--blue);
  background: rgba(23, 105, 255, 0.08);
  font-size: 13px;
  font-weight: 950;
}

.tv-actions .watch-primary {
  color: #fff;
  background: var(--blue);
}

.live-box-section {
  position: relative;
  z-index: 4;
  border: 1px solid rgba(15, 35, 75, 0.12);
  border-radius: 16px;
  padding: clamp(22px, 4vw, 40px);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 46px rgba(13, 32, 57, 0.1);
}

.live-box-section + .live-box-section {
  margin-top: 24px;
}

.live-box-heading {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 22px;
}

.live-box-heading > span {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 12px;
  color: #fff;
  background: var(--navy);
  font-weight: 950;
}

.live-box-heading h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.08;
}

.live-box-heading p {
  max-width: 760px;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.live-box-list {
  display: grid;
  gap: 16px;
}

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

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

.live-box-card {
  position: relative;
  display: grid;
  gap: 10px;
  border: 1px solid rgba(15, 35, 75, 0.1);
  border-radius: 14px;
  padding: 22px;
  color: var(--ink);
  background: #f6f8fc;
  overflow: hidden;
}

.live-box-card::after {
  content: "";
  position: absolute;
  right: -34px;
  bottom: -44px;
  width: 118px;
  height: 118px;
  border-radius: 50%;
  background: rgba(23, 105, 255, 0.06);
}

.platform-box-card {
  min-height: 230px;
  align-content: start;
}

.platform-box-card.is-featured {
  border-color: rgba(23, 105, 255, 0.2);
  background:
    linear-gradient(145deg, rgba(23, 105, 255, 0.1), rgba(16, 185, 129, 0.08)),
    #f6f8fc;
}

.platform-box-card .platform-mark,
.platform-box-card .box-kicker,
.platform-box-card strong,
.platform-box-card p,
.platform-box-card small,
.platform-box-card .box-tags,
.platform-box-card em {
  position: relative;
  z-index: 1;
}

.box-kicker {
  color: var(--blue);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.06em;
}

.platform-box-card strong {
  color: var(--navy);
  font-size: 30px;
  line-height: 1.1;
}

.platform-box-card p {
  margin: 0;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.7;
}

.platform-box-card small {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.box-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.box-tags b {
  border-radius: 999px;
  padding: 5px 9px;
  color: var(--blue);
  background: rgba(23, 105, 255, 0.08);
  font-size: 12px;
}

.platform-box-card em {
  width: fit-content;
  margin-top: auto;
  border-radius: 8px;
  padding: 8px 12px;
  color: #fff;
  background: var(--blue);
  font-size: 13px;
  font-style: normal;
  font-weight: 950;
}

.match-box-card {
  min-height: 230px;
}

.match-box-card.live {
  border-color: rgba(16, 185, 129, 0.28);
  background:
    linear-gradient(145deg, rgba(16, 185, 129, 0.1), rgba(23, 105, 255, 0.04)),
    #f6f8fc;
}

.match-box-card.finished {
  opacity: 0.84;
}

.match-box-top,
.match-box-scoreboard,
.box-actions {
  position: relative;
  z-index: 1;
}

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

.match-box-top time {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.match-box-league {
  position: relative;
  z-index: 1;
  color: var(--blue);
  font-size: 13px;
  font-weight: 950;
}

.match-box-scoreboard {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.match-box-team {
  display: grid;
  gap: 9px;
  min-width: 0;
}

.match-box-team.away {
  justify-items: end;
  text-align: right;
}

.match-box-team span {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--blue);
  font-weight: 950;
}

.match-box-team.away span {
  background: var(--red);
}

.match-box-team strong {
  color: var(--navy);
  font-size: 20px;
  line-height: 1.18;
}

.match-box-score {
  min-width: 82px;
  border-radius: 13px;
  padding: 14px 10px;
  color: #fff;
  background: var(--navy);
  text-align: center;
  font-size: 26px;
  font-weight: 950;
}

.match-box-note {
  position: relative;
  z-index: 1;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.box-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.box-actions a {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  border-radius: 8px;
  padding: 0 12px;
  color: var(--blue);
  background: rgba(23, 105, 255, 0.08);
  font-size: 13px;
  font-weight: 950;
}

.box-actions .watch-primary {
  color: #fff;
  background: var(--blue);
}

.live-watch-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 42px;
  align-items: center;
  min-height: 500px;
  padding: 76px 0 112px;
}

.live-now-panel {
  display: grid;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 10px;
  padding: 22px;
  color: #fff;
  background: rgba(8, 26, 45, 0.82);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(10px);
}

.live-now-panel > span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.live-now-panel strong {
  font-size: 24px;
  line-height: 1.2;
}

.live-now-panel small {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.55;
}

.live-now-score {
  display: grid;
  min-height: 78px;
  place-items: center;
  border-radius: 9px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--green));
  font-size: 34px;
  font-weight: 950;
}

.live-now-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.live-now-stats div {
  border-radius: 8px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.1);
  text-align: center;
}

.live-now-stats b {
  display: block;
  font-size: 22px;
}

.live-now-stats span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  font-weight: 800;
}

.live-platform-hub {
  position: relative;
  z-index: 3;
  margin-top: -46px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow);
}

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

.live-platform-card {
  position: relative;
  display: grid;
  min-height: 150px;
  align-content: start;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 14px;
  color: var(--ink);
  background: var(--soft);
  overflow: hidden;
}

.live-platform-card.primary-platform {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(145deg, var(--navy), var(--blue));
}

.live-platform-card::after {
  content: "";
  position: absolute;
  right: -26px;
  bottom: -32px;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: rgba(23, 105, 255, 0.12);
}

.live-platform-card.primary-platform::after {
  background: rgba(255, 255, 255, 0.14);
}

.platform-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: var(--blue);
  font-weight: 950;
}

.primary-platform .platform-mark {
  color: var(--navy);
  background: #fff;
}

.live-platform-card strong,
.live-platform-card small,
.live-platform-card em {
  position: relative;
  z-index: 1;
}

.live-platform-card strong {
  color: inherit;
  font-size: 17px;
}

.live-platform-card small {
  color: inherit;
  opacity: 0.68;
  line-height: 1.45;
}

.live-platform-card em {
  margin-top: auto;
  color: var(--blue);
  font-size: 13px;
  font-style: normal;
  font-weight: 900;
}

.primary-platform em {
  color: #fff;
}

.live-watch-tabs {
  margin-top: 18px;
}

.live-watch-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 22px;
  align-items: start;
  padding: 34px 0 72px;
}

.watch-list {
  display: grid;
  gap: 14px;
}

.watch-match-card {
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 18px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(13, 32, 57, 0.08);
}

.watch-match-card.live {
  border-color: rgba(16, 185, 129, 0.34);
  box-shadow: 0 14px 34px rgba(16, 185, 129, 0.1);
}

.watch-match-card.finished {
  opacity: 0.86;
}

.watch-card-time {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.watch-card-time b {
  border-radius: 999px;
  padding: 3px 9px;
  color: var(--green);
  background: rgba(16, 185, 129, 0.12);
}

.watch-match-card.finished .watch-card-time b {
  color: var(--muted);
  background: #edf1f6;
}

.watch-scoreline {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  margin: 16px 0 10px;
}

.watch-scoreline strong {
  min-width: 0;
  color: var(--navy);
  font-size: 22px;
}

.watch-scoreline strong:last-child {
  text-align: right;
}

.watch-scoreline span {
  min-width: 74px;
  border-radius: 8px;
  padding: 8px 10px;
  color: #fff;
  background: var(--navy);
  text-align: center;
  font-size: 20px;
  font-weight: 950;
}

.watch-card-meta {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

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

.watch-actions a {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  border-radius: 7px;
  padding: 0 12px;
  color: var(--blue);
  background: rgba(23, 105, 255, 0.08);
  font-size: 13px;
  font-weight: 900;
}

.watch-actions .watch-primary {
  color: #fff;
  background: var(--blue);
}

.live-guide-panel ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.65;
}

.live-focus {
  padding-top: 34px;
}

.live-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 22px;
  align-items: start;
  padding: 34px 0 70px;
}

.live-list {
  display: grid;
  gap: 14px;
}

.live-match-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(13, 32, 57, 0.08);
}

.live-match-card.live {
  border-color: rgba(16, 185, 129, 0.34);
}

.live-match-card.finished {
  opacity: 0.88;
}

.live-card-top,
.live-card-actions,
.live-scoreline {
  display: flex;
  align-items: center;
}

.live-card-top {
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.live-card-top b {
  border-radius: 999px;
  padding: 3px 9px;
  color: var(--green);
  background: rgba(16, 185, 129, 0.12);
}

.live-match-card.finished .live-card-top b {
  color: var(--muted);
  background: #edf1f6;
}

.live-scoreline {
  justify-content: space-between;
  gap: 14px;
  margin: 16px 0;
}

.live-scoreline strong {
  min-width: 0;
  color: var(--navy);
  font-size: 22px;
}

.live-scoreline span {
  min-width: 70px;
  border-radius: 8px;
  padding: 8px 10px;
  color: #fff;
  background: var(--navy);
  text-align: center;
  font-size: 20px;
  font-weight: 900;
}

.live-match-card p {
  margin: 0;
  color: var(--muted);
}

.live-card-actions {
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.live-card-actions a {
  min-height: 34px;
  border-radius: 6px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  color: var(--blue);
  background: rgba(23, 105, 255, 0.08);
  font-size: 13px;
  font-weight: 900;
}

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

.live-platform-list a {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: var(--soft);
  display: grid;
  gap: 3px;
}

.live-platform-list a.is-active {
  border-color: rgba(23, 105, 255, 0.28);
  background: rgba(23, 105, 255, 0.08);
}

.live-platform-list strong {
  color: var(--navy);
}

.live-platform-list span {
  color: var(--muted);
  font-size: 12px;
}

.referee-factor-card {
  border-color: rgba(197, 31, 43, 0.18);
}

.referee-factor-summary,
.referee-factor-impact {
  margin: 12px 0 0;
  border-radius: 8px;
  padding: 12px;
  line-height: 1.75;
}

.referee-factor-summary {
  color: var(--navy);
  background: linear-gradient(135deg, rgba(197, 31, 43, 0.08), rgba(31, 92, 166, 0.08));
}

.referee-factor-impact {
  color: #7b1d26;
  background: rgba(197, 31, 43, 0.08);
}

.article-recap-grid article a {
  display: grid;
  gap: 5px;
}

.article-recap-grid article a span {
  color: var(--muted);
}

.article-list-hero .forecast-board,
.article-detail-hero .forecast-board {
  background: rgba(255, 255, 255, 0.96);
}

.article-page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 18px;
  align-items: start;
  padding: 42px 0 70px;
}

.article-list-main {
  display: grid;
  gap: 16px;
}

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

.qms-article-card {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 12px;
  min-height: 246px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--blue);
  border-radius: 8px;
  padding: 18px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(13, 32, 57, 0.08);
}

.qms-article-card::after {
  content: "";
  position: absolute;
  right: -48px;
  top: -52px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: rgba(23, 105, 255, 0.08);
}

.article-card-topline,
.article-card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.article-card-topline span {
  color: var(--blue);
}

.qms-article-card h3 {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--navy);
  font-size: 21px;
  line-height: 1.28;
}

.qms-article-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--muted);
}

.article-card-action {
  position: relative;
  z-index: 1;
  align-self: end;
  justify-self: start;
  border-radius: 7px;
  padding: 8px 12px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--sky));
  font-size: 13px;
  font-weight: 900;
}

.article-detail-layout {
  grid-template-columns: minmax(0, 1fr) 330px;
}

.qms-article-detail {
  display: grid;
  gap: 20px;
}

.article-summary-grid {
  margin-bottom: 0;
}

.qms-article-body {
  display: grid;
  gap: 14px;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.9;
}

.qms-article-body h3 {
  margin: 16px 0 0;
  border-left: 4px solid var(--blue);
  border-radius: 6px;
  padding: 8px 12px;
  color: var(--navy);
  background: rgba(23, 105, 255, 0.08);
  font-size: 20px;
}

.qms-article-body p {
  margin: 0;
}

.match-analysis-embed {
  margin-top: 22px;
}

.article-model-sync {
  border: 1px solid rgba(23, 105, 255, 0.14);
  border-radius: 8px;
  padding: 14px 16px;
  background:
    linear-gradient(135deg, rgba(23, 105, 255, 0.1), rgba(9, 180, 255, 0.06)),
    #fff;
}

.article-model-sync strong {
  display: block;
  margin-bottom: 6px;
  color: var(--navy);
  font-size: 15px;
}

.article-model-sync p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.back-link-qms {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 14px;
  border-radius: 999px;
  padding: 6px 12px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.12);
  font-size: 13px;
  font-weight: 900;
}

.forecast-ad {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  width: 100%;
  padding: 12px max(60px, calc((100vw - 1200px) / 2 + 48px)) 12px max(16px, calc((100vw - 1200px) / 2));
  border-top: 1px solid rgba(118, 177, 255, 0.32);
  background:
    linear-gradient(90deg, rgba(7, 17, 34, 0.98), rgba(8, 37, 76, 0.98) 48%, rgba(10, 22, 39, 0.98)),
    #071122;
  box-shadow: 0 -22px 58px rgba(4, 15, 30, 0.34);
  display: flex;
  gap: 10px;
  align-items: stretch;
  overflow-x: auto;
  backdrop-filter: blur(12px);
}

.forecast-ad.is-hidden {
  display: none;
}

.forecast-ad a {
  min-height: 88px;
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr) auto;
  flex: 1 0 min(430px, calc(50vw - 20px));
  gap: 14px;
  align-items: center;
  min-width: 0;
  border: 1px solid rgba(147, 196, 255, 0.22);
  border-radius: 8px;
  padding: 10px 14px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04)),
    rgba(255, 255, 255, 0.06);
  transition: transform 0.16s ease, background 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.forecast-ad a:hover {
  transform: translateY(-2px);
  border-color: rgba(84, 170, 255, 0.72);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 14px 36px rgba(23, 105, 255, 0.16);
}

.forecast-ad a::after {
  content: "立即进入";
  display: inline-grid;
  min-width: 74px;
  min-height: 38px;
  place-items: center;
  border-radius: 8px;
  color: #06111f;
  background: linear-gradient(135deg, #fff, #bfe0ff);
  font-size: 13px;
  font-weight: 900;
}

.forecast-ad img {
  width: 118px;
  height: 68px;
  object-fit: cover;
  border-radius: 8px;
}

.forecast-ad span {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.forecast-ad strong {
  overflow: hidden;
  font-size: 16px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.forecast-ad small {
  color: rgba(255, 255, 255, 0.72);
  overflow: hidden;
  font-size: 12px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ad-spot {
  width: min(1200px, calc(100% - 32px));
  margin: 18px auto;
  border: 1px solid rgba(23, 105, 255, 0.18);
  border-radius: 10px;
  padding: 12px;
  background:
    linear-gradient(135deg, rgba(239, 246, 255, 0.92), rgba(255, 255, 255, 0.98)),
    #fff;
  box-shadow: 0 16px 44px rgba(7, 28, 65, 0.08);
}

.ad-spot-article,
.ad-spot-analysis,
.ad-spot-page-bottom {
  width: 100%;
  margin: 18px 0;
}

.ad-spot-page-bottom {
  width: min(1200px, calc(100% - 32px));
  margin: 28px auto 8px;
}

.ad-spot-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 900;
}

.ad-spot-head span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.ad-spot-head span::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #1769ff;
  box-shadow: 0 0 0 5px rgba(23, 105, 255, 0.12);
}

.ad-spot-head small {
  color: var(--muted);
}

.ad-spot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 10px;
}

.ad-spot-card {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  min-height: 96px;
  border: 1px solid rgba(10, 32, 63, 0.1);
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--navy);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(242, 248, 255, 0.92)),
    #fff;
}

.ad-spot-card.no-image {
  grid-template-columns: minmax(0, 1fr) auto;
}

.ad-spot-card img {
  width: 128px;
  height: 74px;
  border-radius: 7px;
  object-fit: cover;
}

.ad-spot-card span {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.ad-spot-card strong {
  overflow: hidden;
  font-size: 17px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ad-spot-card small {
  display: -webkit-box;
  overflow: hidden;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.ad-spot-card b {
  display: inline-grid;
  min-width: 62px;
  min-height: 36px;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, #1769ff, #35a7ff);
  font-size: 13px;
}

.forecast-ad-close {
  position: absolute;
  top: 10px;
  right: max(14px, calc((100vw - 1200px) / 2));
  z-index: 2;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
  cursor: pointer;
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
}

.footer-grid {
  justify-content: space-between;
  gap: 24px;
}

.footer-brand {
  color: #fff;
}

.footer-grid p {
  max-width: 540px;
  margin: 12px 0 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 940px) {
  body.has-forecast-ad {
    padding-bottom: 116px;
  }

  .strip-grid {
    grid-template-columns: repeat(4, max-content);
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    inset: 104px 16px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    border-radius: 8px;
    padding: 10px;
    background: var(--navy);
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: flex;
  }

  .hero-layout,
  .live-hero-grid,
  .live-tv-grid,
  .live-watch-hero-grid,
  .hub-grid,
  .live-layout,
  .live-watch-layout,
  .article-page-layout,
  .article-detail-layout,
  .detail-grid,
  .model-lab-grid {
    grid-template-columns: 1fr;
  }

  .forecast-ad {
    padding: 8px 52px 8px 12px;
    gap: 8px;
    scroll-snap-type: x mandatory;
  }

  .forecast-ad a {
    flex: 0 0 min(88vw, 420px);
    min-height: 72px;
    grid-template-columns: 82px minmax(0, 1fr) auto;
    scroll-snap-align: start;
  }

  .forecast-ad img {
    width: 82px;
    height: 54px;
  }

  .forecast-ad a::after {
    min-width: 50px;
    min-height: 30px;
    font-size: 12px;
    content: "进入";
  }

  .ad-spot {
    width: min(100% - 24px, 1200px);
    margin: 14px auto;
    padding: 10px;
  }

  .ad-spot-page-bottom {
    margin: 20px auto 4px;
  }

  .ad-spot-card {
    grid-template-columns: 86px minmax(0, 1fr) auto;
    min-height: 78px;
    gap: 10px;
  }

  .ad-spot-card.no-image {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .ad-spot-card img {
    width: 86px;
    height: 58px;
  }

  .ad-spot-card strong {
    font-size: 15px;
  }

  .ad-spot-card small {
    font-size: 12px;
    -webkit-line-clamp: 1;
  }

  .ad-spot-card b {
    min-width: 44px;
    min-height: 30px;
    font-size: 12px;
  }

  .forecast-ad-close {
    top: 8px;
    right: 8px;
    width: 32px;
    height: 32px;
  }

  .hero-layout {
    min-height: auto;
    padding-top: 58px;
  }

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

  .qms-article-grid {
    grid-template-columns: 1fr;
  }

  .live-platform-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .tv-platform-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .platform-box-list,
  .match-box-list {
    grid-template-columns: 1fr;
  }

  .factor-radar-panel {
    grid-template-columns: 1fr;
  }

  .factor-radar.large {
    min-width: 0;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 22px, 1200px);
  }

  .hero h1 {
    font-size: 34px;
  }

  .hero-text {
    font-size: 16px;
  }

  .quick-filter {
    margin-top: -42px;
  }

  .filter-chip {
    flex: 1 1 calc(50% - 8px);
  }

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

  .date-switch,
  .date-switch button,
  .date-switch a {
    width: 100%;
  }

  .pick-row,
  .factor-grid,
  .prob-mini,
  .detail-prob-grid,
  .live-prediction-strip,
  .recommend-box,
  .model-form,
  .recap-grid {
    grid-template-columns: 1fr;
  }

  .live-watch-hero-grid {
    min-height: auto;
    padding: 48px 0 88px;
  }

  .live-tv-grid {
    min-height: auto;
    padding: 48px 0 92px;
  }

  .live-title-card h1 {
    font-size: 48px;
  }

  .live-quick-stats {
    grid-template-columns: repeat(3, 1fr);
  }

  .tv-screen-score {
    min-height: 104px;
    font-size: 54px;
  }

  .live-platform-hub {
    width: min(100% - 22px, 1200px);
    margin-top: -38px;
    padding: 14px;
  }

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

  .tv-platform-hub {
    width: min(100% - 22px, 1200px);
    margin-top: -40px;
    padding: 14px;
  }

  .tv-platform-grid {
    grid-template-columns: 1fr;
  }

  .live-platform-card {
    min-height: 112px;
  }

  .tv-platform-card {
    min-height: 124px;
  }

  .watch-scoreline {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .watch-scoreline strong:last-child {
    text-align: center;
  }

  .tv-scoreboard {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .tv-team,
  .tv-team.away {
    justify-items: center;
    text-align: center;
  }

  .tv-match-head {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .live-box-section {
    width: min(100% - 22px, 1200px);
    padding: 20px;
  }

  .live-box-heading {
    flex-direction: column;
  }

  .platform-box-card strong {
    font-size: 28px;
  }

  .match-box-scoreboard {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .match-box-team,
  .match-box-team.away {
    justify-items: center;
    text-align: center;
  }

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

  .factor-radar-panel {
    padding: 14px;
  }

  .factor-radar-list div {
    grid-template-columns: 64px minmax(0, 1fr) 32px;
  }

  .factor-tip::after {
    width: min(280px, calc(100vw - 44px));
    font-size: 11px;
  }

  .article-page-layout {
    padding-top: 30px;
  }

  .qms-article-card,
  .match-detail-card {
    padding: 16px;
  }

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

  .live-scoreline {
    align-items: stretch;
    flex-direction: column;
  }

  .teams-line span {
    align-self: center;
  }

  .detail-scoreline {
    grid-template-columns: 1fr;
  }

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