:root {
  --blue: #1a6dff;
  --blue-dark: #0e4ed1;
  --blue-soft: #e8f1ff;
  --navy: #0b1d3a;
  --navy-2: #132a52;
  --gold: #c9a227;
  --gold-soft: #f8efd4;
  --bg: #f4f7fb;
  --card: #ffffff;
  --text: #1c2434;
  --muted: #5c6778;
  --line: #dce4ef;
  --ok: #128a4c;
  --danger: #c62828;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(11, 29, 58, 0.08);
  --header-h: 72px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.85;
  font-size: 16px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.4; color: var(--navy); margin: 0 0 14px; }
h1 { font-size: 2rem; }
h2 { font-size: 1.5rem; padding-left: 12px; border-left: 4px solid var(--blue); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 16px; }
ul, ol { margin: 0 0 18px; padding-left: 1.3em; }
li { margin: 0 0 8px; }
table { width: 100%; border-collapse: collapse; background: #fff; margin: 0 0 20px; }
th, td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
th { background: var(--blue-soft); color: var(--navy); }
.skip {
  position: absolute; left: -999px; top: 8px;
}
.skip:focus { left: 8px; background: #fff; padding: 8px 12px; z-index: 1000; }

.topbar {
  background: var(--navy);
  color: #d7e4ff;
  font-size: 13px;
  padding: 7px 0;
}
.topbar-inner, .header-inner, .wrap, .footer-inner {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}
.topbar-inner { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.topbar a { color: #fff; }

.site-header {
  position: sticky; top: 0; z-index: 80;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  min-height: var(--header-h);
  display: flex; align-items: center; gap: 18px;
}
.logo {
  display: flex; align-items: center; gap: 10px; color: var(--navy); font-weight: 800; flex: 0 0 auto;
}
.logo img { width: 42px; height: 42px; border-radius: 10px; object-fit: cover; }
.logo:hover { text-decoration: none; }
.logo span { font-size: 18px; letter-spacing: .04em; }

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  cursor: pointer;
  position: relative;
  z-index: 90;
}
.nav-toggle span {
  display: block; width: 20px; height: 2px; background: var(--navy); margin: 5px auto;
  transition: .2s ease;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.site-nav { display: flex; gap: 4px; flex: 1; }
.site-nav a {
  color: var(--text);
  padding: 8px 12px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
}
.site-nav a:hover, .site-nav a.is-active { background: var(--blue-soft); color: var(--blue-dark); text-decoration: none; }
.header-cta { display: flex; gap: 8px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 42px; padding: 0 18px; border-radius: 10px;
  background: var(--blue); color: #fff; font-weight: 700; border: 0; cursor: pointer;
}
.btn:hover { background: var(--blue-dark); text-decoration: none; }
.btn-ghost { background: var(--blue-soft); color: var(--blue-dark); }
.btn-gold { background: linear-gradient(90deg, #e8c35a, #c9a227); color: #3a2a00; }
.btn-wide { width: 100%; }

.hero {
  background:
    linear-gradient(120deg, rgba(11,29,58,.92), rgba(26,109,255,.72)),
    url("/sports-football.jpg") center/cover no-repeat;
  color: #fff;
  padding: 56px 0 48px;
}
.hero h1, .hero h2 { color: #fff; border: 0; padding: 0; }
.hero p { color: #e7eeff; max-width: 720px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 28px; align-items: center; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; margin: 22px 0 8px; }
.hero-note { font-size: 13px; opacity: .9; }
.hero-card {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 18px;
  padding: 16px;
  backdrop-filter: blur(6px);
}
.hero-card img { border-radius: 12px; width: 100%; max-height: 280px; object-fit: cover; object-position: top; }

.crumbs { font-size: 13px; color: var(--muted); margin: 18px 0; }
.crumbs a { color: var(--muted); }

.layout { display: grid; grid-template-columns: 1fr 280px; gap: 28px; padding: 28px 0 56px; }
.layout.single { grid-template-columns: 1fr; max-width: 860px; margin: 0 auto; }
.article {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 32px 36px;
}
.article img.shot { border-radius: 12px; border: 1px solid var(--line); margin: 8px 0 18px; }
.lead { font-size: 18px; color: #2a3448; }
.toc {
  background: #f8fbff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 18px;
  margin: 0 0 24px;
}
.toc h2 { font-size: 16px; border: 0; padding: 0; margin-bottom: 8px; }
.toc ol { margin: 0; }
.side {
  position: sticky; top: 92px; align-self: start;
  display: flex; flex-direction: column; gap: 14px;
}
.side-card {
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px;
  box-shadow: var(--shadow);
}
.side-card h2, .side-card h3 { font-size: 16px; border: 0; padding: 0; }
.side-card a { display: block; padding: 6px 0; border-bottom: 1px dashed var(--line); }
.side-card a:last-child { border: 0; }

.grid-3, .grid-4, .grid-2 { display: grid; gap: 16px; margin: 0 0 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px; box-shadow: var(--shadow);
}
.card h3 { margin-bottom: 8px; }
.card img { border-radius: 10px; margin-bottom: 10px; width: 100%; object-fit: cover; }
.partner img, .provider img {
  width: 100%; height: 92px; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 8px;
}
.partner p, .provider p { font-size: 13px; color: var(--muted); margin: 8px 0 0; text-align: center; }

.steps { counter-reset: step; list-style: none; padding: 0; }
.steps li {
  position: relative;
  padding: 12px 12px 12px 54px;
  background: #f8fbff;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute; left: 12px; top: 14px;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--blue); color: #fff; display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 14px;
}

.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; margin: 0 0 10px;
}
.faq summary { cursor: pointer; font-weight: 700; color: var(--navy); }
.faq p { margin: 8px 0 4px; }

.form {
  display: grid; gap: 12px; max-width: 460px; margin: 0 auto;
}
label { font-weight: 600; font-size: 14px; }
input[type="text"], input[type="password"], input[type="email"] {
  width: 100%; min-height: 46px; border: 1px solid var(--line); border-radius: 10px; padding: 0 12px; font-size: 16px;
}
.form-row { display: flex; justify-content: space-between; align-items: center; font-size: 14px; }
.auth-box {
  background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 28px; box-shadow: var(--shadow);
}
.auth-hero {
  background: linear-gradient(160deg, #0b1d3a, #1a6dff);
  color: #fff; padding: 36px 0 28px; text-align: center;
}
.auth-hero h1 { color: #fff; }
.auth-hero p { color: #dce8ff; }
.auth-hero a { color: #fff; text-decoration: underline; }
.nav-mask {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(11, 29, 58, .46);
  z-index: 70;
}
.nav-mask.is-open { display: block; }

.notice {
  background: var(--gold-soft); border-left: 4px solid var(--gold); padding: 12px 14px; border-radius: 8px; margin: 0 0 18px;
}
.error-page { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 40px 16px; }
.error-page .code { font-size: 72px; font-weight: 900; color: var(--blue); line-height: 1; }

.site-footer {
  background: var(--navy); color: #c9d6ee; padding: 36px 0 18px;
}
.site-footer a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 20px; margin-bottom: 24px; }
.site-footer h3 { color: #fff; font-size: 15px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 0 0 8px; }
.copy { border-top: 1px solid rgba(255,255,255,.12); padding-top: 14px; font-size: 13px; }

.ads-wrap {
  position: sticky;
  top: var(--header-h);
  z-index: 70;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 6px 16px rgba(11, 29, 58, 0.06);
}
#ads {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 8px 14px;
  background: transparent;
  margin: 0 auto;
  padding: 10px 12px 8px;
  width: min(var(--max), calc(100% - 16px));
}
#ads > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 70px;
  box-sizing: border-box;
}
#ads figure { margin: 0; }
#ads img {
  width: 65px;
  height: 65px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 6px 18px rgba(24,24,24,0.12);
  transition: transform 180ms ease, box-shadow 180ms ease;
  display: block;
  border: none;
  background: linear-gradient(135deg,#fff,#fff);
}
#ads a {
  display: inline-block;
  text-decoration: none;
  border-radius: 15px;
}
#ads img:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 10px 24px rgba(24,24,24,0.18);
}
#ads figcaption,
#ads .caption {
  height: 15px;
  font-size: 11px;
  color: #666;
  text-align: center;
  max-width: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-top: 4px;
}

@media (max-width: 980px) {
  .hero-grid, .layout, .footer-grid, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .side { position: static; }
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed; inset: 0 0 0 auto; width: min(82vw, 340px);
    background: #fff; flex-direction: column; padding: 84px 18px 24px;
    box-shadow: -12px 0 30px rgba(0,0,0,.12);
    transform: translateX(110%);
    transition: transform .22s ease;
    z-index: 91;
  }
  .site-nav.is-open { transform: none; }
  .header-cta { display: none; }
  .article { padding: 20px 16px 28px; }
  h1 { font-size: 1.55rem; }
}
@media (max-width: 640px) {
  .grid-2 { grid-template-columns: 1fr; }
  .hero { padding: 36px 0; }
}
