﻿:root {
  --bg: #f5f7fb;
  --panel: #ffffff;
  --ink: #14213d;
  --muted: #667085;
  --line: #d9e1ec;
  --green: #12a166;
  --blue: #2563eb;
  --orange: #f59e0b;
  --red: #e5484d;
  --dark: #0b1220;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.75;
}

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

.top-note {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
}

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

.top-note .wrap,
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.top-note .wrap {
  min-height: 36px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
}

.site-header .wrap {
  min-height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 800;
}

.logo-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--green), var(--blue));
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: #344054;
  font-size: 15px;
}

.nav a:hover,
.nav a.active {
  color: var(--blue);
}

.hero {
  padding: 64px 0 42px;
  background:
    linear-gradient(135deg, rgba(11, 18, 32, 0.9), rgba(20, 33, 61, 0.72)),
    url("https://images.unsplash.com/photo-1517927033932-b3d18e61fb3a?auto=format&fit=crop&w=1800&q=80") center / cover;
  color: #fff;
}

.crumb {
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.hero h1 {
  max-width: 900px;
  margin: 0 0 12px;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.12;
}

.hero p {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 17px;
}

.page {
  padding: 30px 0 60px;
}

.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
  align-items: start;
}

.block,
.side-block,
.match-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.block {
  margin-bottom: 20px;
  padding: 26px;
}

.block h2,
.side-block h3 {
  margin: 0 0 14px;
  line-height: 1.35;
}

.block p {
  margin-top: 0;
  color: #3f4d63;
}

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

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

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

.metric strong {
  display: block;
  margin-top: 4px;
  font-size: 22px;
}

.vs-card {
  display: grid;
  grid-template-columns: 1fr 190px 1fr;
  gap: 16px;
  align-items: center;
  margin-top: 24px;
}

.team,
.score-box {
  min-height: 150px;
  display: grid;
  place-items: center;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
}

.flag {
  font-size: 46px;
}

.team strong {
  display: block;
  margin-top: 8px;
  font-size: 22px;
}

.rank {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.score {
  color: #fff;
  font-size: 46px;
  font-weight: 900;
}

.badge {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 999px;
  color: #fff;
  background: var(--green);
  font-size: 12px;
  font-weight: 700;
}

.prob-row {
  margin: 14px 0;
}

.prob-head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
  font-weight: 700;
}

.bar {
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: #ecf1f7;
}

.fill {
  height: 100%;
  border-radius: inherit;
}

.fill.home {
  background: var(--green);
}

.fill.draw {
  background: var(--orange);
}

.fill.away {
  background: var(--blue);
}

table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
}

th,
td {
  padding: 13px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

th {
  background: #f1f5fb;
}

tr:last-child td {
  border-bottom: 0;
}

.highlight {
  color: var(--green);
  font-weight: 800;
}

.toc {
  display: grid;
  gap: 8px;
  padding: 14px;
  border-radius: 8px;
  background: #f8fbff;
}

.toc a {
  color: var(--blue);
}

.faq-item {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.faq-item:last-child {
  border-bottom: 0;
}

.faq-q {
  font-weight: 800;
}

.faq-a {
  margin-top: 4px;
  color: var(--muted);
}

.side-block {
  margin-bottom: 18px;
  padding: 20px;
}

.side-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.side-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.side-list li:last-child {
  border-bottom: 0;
}

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

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

.match-card {
  padding: 20px;
}

.match-card h3 {
  margin: 8px 0;
}

.site-footer {
  padding: 34px 0;
  color: rgba(255, 255, 255, 0.72);
  background: var(--dark);
  text-align: center;
}

.site-footer a {
  color: #fff;
}

@media (max-width: 900px) {
  .site-header .wrap,
  .top-note .wrap {
    display: block;
    padding: 10px 0;
  }

  .nav {
    margin-top: 10px;
    flex-wrap: wrap;
    gap: 14px;
  }

  .layout,
  .summary-grid,
  .match-grid,
  .vs-card {
    grid-template-columns: 1fr;
  }

  .score-box {
    min-height: 110px;
  }
}

