/* ==========================================================================
   /assets/site.css — 中欧体育 赛前数据中枢 共享样式
   设计骨架：左侧数据轴轨道 + 右侧横向正文层级
   ========================================================================== */

/* ---------- reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  background: #F7F5F0;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body,
h1, h2, h3, h4, h5, h6,
p, ul, ol, li, figure, figcaption,
blockquote, dl, dt, dd { margin: 0; padding: 0; }

ul, ol { list-style: none; }

img, svg, video, canvas { display: block; max-width: 100%; height: auto; }

button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }

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

table { border-collapse: collapse; width: 100%; }

/* ---------- tokens ---------- */
:root {
  --ink: #111318;
  --paper: #F7F5F0;
  --blue: #0B3D91;
  --orange: #FF4D2E;
  --sand: #D6A75C;
  --stack: #E8E3DA;
  --panel: #1B2233;
  --muted: #6B7280;
  --verify: #0E7A54;
  --grid: #C9D3E8;

  --rail-w: 268px;
  --gutter: clamp(18px, 3.6vw, 52px);
  --maxw: 1180px;

  --line: 1px solid var(--ink);
  --hairline: 1px solid var(--grid);

  --font-head: Impact, "Haettenschweiler", "Arial Narrow Bold", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-body: "PingFang SC", "Hiragino Sans GB", "Source Han Sans SC", "Noto Sans CJK SC", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "Courier New", monospace;

  --ease: cubic-bezier(.2, .7, .3, 1);
  --dur: 160ms;
}

/* ---------- base typography ---------- */
body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--paper);
  padding-left: var(--rail-w);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: .01em;
  text-transform: uppercase;
}

h1 { font-size: clamp(38px, 6.4vw, 88px); }
h2 { font-size: clamp(30px, 4.2vw, 64px); }
h3 { font-size: clamp(22px, 2.6vw, 40px); }
h4 { font-size: clamp(19px, 1.8vw, 28px); }

p { max-width: 68ch; }

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
}

#main-content {
  display: block;
  scroll-margin-top: 24px;
  outline: none;
}

/* ==========================================================================
   HEADER — 侧边数据轴
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: var(--rail-w);
  z-index: 80;
}

.skip-link {
  position: fixed;
  top: -70px;
  left: 14px;
  z-index: 200;
  padding: 10px 18px;
  background: var(--orange);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  border: 1px solid var(--ink);
  transition: top var(--dur) var(--ease);
}
.skip-link:focus {
  top: 14px;
}

.brand-rail {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--ink);
  color: var(--paper);
  border-right: 1px solid var(--ink);
}

/* --- 品牌蓝顶区 --- */
.rail-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 22px 20px 20px;
  background: var(--blue);
  border-bottom: 3px solid var(--sand);
}

.brand {
  display: block;
  min-width: 0;
}

.brand-name {
  position: relative;
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 29px;
  line-height: 1.04;
  letter-spacing: .02em;
  color: #fff;
}
.brand-name::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  height: 3px;
  width: 0;
  background: var(--orange);
  transition: width var(--dur) var(--ease);
}
.brand:hover .brand-name::after,
.brand:focus-visible .brand-name::after { width: 100%; }

.brand-tag {
  display: block;
  margin-top: 9px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(247, 245, 240, .74);
}

/* --- 移动按钮 --- */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border: 1px solid rgba(247, 245, 240, .5);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.nav-toggle:hover { border-color: var(--sand); background: rgba(214, 167, 92, .14); }

.nav-toggle-bars {
  position: relative;
  width: 18px;
  height: 12px;
  flex: none;
}
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: #fff;
  transition: transform var(--dur) var(--ease), top var(--dur) var(--ease);
}
.nav-toggle-bars::before { top: 0; }
.nav-toggle-bars::after { top: 10px; }

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-5px) rotate(-45deg); }

/* --- 轨道主体 --- */
.rail-body {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 18px 0 22px;
  overflow-y: auto;
  background-image: linear-gradient(180deg, rgba(11, 61, 145, .3), rgba(17, 19, 24, 0) 42%);
}

.rail-meter {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 20px;
}
.rail-meter-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .18em;
  color: rgba(247, 245, 240, .48);
}
.rail-meter-track {
  position: relative;
  flex: 1 1 auto;
  height: 3px;
  background: rgba(201, 211, 232, .22);
  overflow: hidden;
}
.rail-meter-fill {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 120ms linear;
}

.rail-label {
  padding: 0 20px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--sand);
  max-width: none;
}

.rail-nav { display: block; }

.rail-list { display: flex; flex-direction: column; }

.rail-item { border-top: 1px solid rgba(201, 211, 232, .14); }
.rail-item:last-child { border-bottom: 1px solid rgba(201, 211, 232, .14); }

.rail-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 20px;
  border-left: 3px solid transparent;
  color: rgba(247, 245, 240, .86);
  font-size: 15px;
  font-weight: 600;
  transition: background var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              color var(--dur) var(--ease);
}
.rail-link:hover {
  background: rgba(11, 61, 145, .55);
  border-left-color: var(--sand);
  color: #fff;
}
.rail-link[aria-current="page"] {
  background: rgba(247, 245, 240, .07);
  border-left-color: var(--orange);
  color: #fff;
}
.rail-link[aria-current="page"] .rail-index { color: var(--orange); }

.rail-index {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  color: rgba(214, 167, 92, .92);
  flex: none;
}

.rail-text { position: relative; }
.rail-text::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -3px;
  height: 1px;
  background: var(--sand);
  transition: right var(--dur) var(--ease);
}
.rail-link:hover .rail-text::after { right: 0; }

.rail-foot {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px 20px 0;
  border-top: 1px solid rgba(201, 211, 232, .14);
}

.rail-status {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 12px;
  line-height: 1.65;
  color: rgba(247, 245, 240, .64);
  max-width: none;
}

.status-dot {
  flex: none;
  width: 7px;
  height: 7px;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--verify);
  box-shadow: 0 0 0 3px rgba(14, 122, 84, .24);
}

.rail-cta {
  width: 100%;
  justify-content: center;
  font-size: 14px;
  min-height: 42px;
}

.brand-rail .btn-primary {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}
.brand-rail .btn-primary:hover {
  background: var(--sand);
  border-color: var(--sand);
  color: var(--ink);
  box-shadow: 4px 4px 0 rgba(255, 77, 46, .9);
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1.2;
  text-align: center;
  transition: background var(--dur) var(--ease),
              color var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              transform var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
}
.btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 var(--sand);
}
.btn:active { transform: translate(0, 0); box-shadow: none; }

.btn-primary {
  background: var(--blue);
  color: var(--paper);
  border-color: var(--blue);
}
.btn-primary:hover { box-shadow: 4px 4px 0 var(--orange); }

.btn-accent {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
}
.btn-accent:hover { box-shadow: 4px 4px 0 var(--ink); }

.btn-ghost {
  background: transparent;
  color: var(--paper);
  border-color: rgba(247, 245, 240, .5);
}
.btn-ghost:hover {
  transform: none;
  background: rgba(214, 167, 92, .14);
  border-color: var(--sand);
  box-shadow: none;
}

/* ==========================================================================
   LAYOUT
   ========================================================================== */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap-wide { max-width: 1420px; }

.section { padding-block: clamp(48px, 7vw, 96px); }
.section-tight { padding-block: clamp(28px, 4vw, 52px); }

.grid {
  display: grid;
  gap: clamp(16px, 2vw, 28px);
}
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }

/* ---------- breadcrumbs ---------- */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding-block: 20px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.breadcrumbs li { display: flex; align-items: center; gap: 10px; }
.breadcrumbs li + li::before { content: "／"; color: var(--grid); }
.breadcrumbs a {
  color: var(--ink);
  border-bottom: 1px solid var(--sand);
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.breadcrumbs a:hover { border-bottom-color: var(--orange); }
.breadcrumbs [aria-current="page"] {
  color: var(--muted);
  border-bottom: 0;
}

/* ==========================================================================
   SURFACES & TAGS
   ========================================================================== */
.panel {
  position: relative;
  background: var(--paper);
  border: var(--line);
  box-shadow: 8px 8px 0 var(--stack);
  padding: clamp(20px, 2.4vw, 32px);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.panel-dark {
  background: var(--panel);
  color: var(--paper);
  border-color: var(--ink);
  box-shadow: 8px 8px 0 rgba(17, 19, 24, .35);
}
.panel-blue {
  background: var(--blue);
  color: var(--paper);
  border-color: var(--blue);
  box-shadow: 8px 8px 0 var(--sand);
}
.panel-hover:hover {
  transform: translate(-2px, -2px);
  box-shadow: 10px 10px 0 var(--sand), inset 0 0 0 1px var(--ink);
}

.label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  max-width: none;
}
.label-sand { color: var(--sand); }
.label-paper { color: rgba(247, 245, 240, .68); }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border: 1px solid currentColor;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  line-height: 1.6;
}
.tag-verify { color: var(--verify); }
.tag-accent { color: var(--orange); }
.tag-sand { color: var(--sand); }
.tag-ink { color: var(--ink); }

/* ==========================================================================
   DATA BLOCKS
   ========================================================================== */
.stat { display: flex; flex-direction: column; gap: 6px; }

.stat-value {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(40px, 5.4vw, 64px);
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--blue);
  font-variant-numeric: tabular-nums;
}
.stat-value-lg {
  font-size: clamp(56px, 8.6vw, 96px);
  color: var(--ink);
}
.stat-value-accent { color: var(--orange); }
.stat-value-paper { color: var(--paper); }

.stat-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  max-width: none;
}

/* ==========================================================================
   BANDS & DIVIDERS
   ========================================================================== */
.band { position: relative; background: var(--paper); }
.band-dark { background: var(--ink); color: var(--paper); }
.band-blue { background: var(--blue); color: var(--paper); }
.band-sand { background: var(--stack); color: var(--ink); }

.slash {
  height: 4px;
  background: linear-gradient(90deg,
    var(--blue) 0 46%,
    var(--sand) 46% 76%,
    var(--orange) 76% 100%);
}
.slash-thin { height: 2px; }

/* ==========================================================================
   MEDIA CONTAINERS
   ========================================================================== */
.media {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--panel);
  border: var(--line);
  isolation: isolate;
}
.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 240ms var(--ease);
}
.media-hover:hover img { transform: scale(1.02); }

.media-16x9 { aspect-ratio: 16 / 9; }
.media-4x3  { aspect-ratio: 4 / 3; }
.media-1x1  { aspect-ratio: 1 / 1; }
.media-3x4  { aspect-ratio: 3 / 4; }
.media-21x9 { aspect-ratio: 21 / 9; }

.media-tint::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(140deg,
    rgba(11, 61, 145, .46) 0%,
    rgba(17, 19, 24, .06) 46%,
    rgba(255, 77, 46, .16) 100%);
}

.media-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 16px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(247, 245, 240, .72);
  background:
    linear-gradient(135deg, rgba(214, 167, 92, .2), rgba(11, 61, 145, .55)),
    repeating-linear-gradient(90deg, rgba(201, 211, 232, .16) 0 1px, transparent 1px 22px),
    repeating-linear-gradient(0deg, rgba(201, 211, 232, .12) 0 1px, transparent 1px 22px),
    var(--panel);
}

.media-caption {
  display: block;
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--muted);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  position: relative;
  background: var(--ink);
  color: var(--paper);
  padding-block: clamp(44px, 6vw, 78px) 0;
  margin-top: clamp(40px, 6vw, 80px);
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg,
    var(--blue) 0 54%,
    var(--sand) 54% 78%,
    var(--orange) 78% 100%);
}

.footer-grid {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: grid;
  grid-template-columns: 1.4fr 2.4fr 1.2fr;
  gap: clamp(28px, 4vw, 52px);
  align-items: start;
}

.footer-brand { display: flex; flex-direction: column; }

.footer-mark {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1;
  letter-spacing: .02em;
  color: var(--paper);
  max-width: none;
}

.footer-tag {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--sand);
  max-width: none;
}

.footer-hours {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(247, 245, 240, .66);
  max-width: 34ch;
}

.footer-cta { margin-top: 20px; align-self: flex-start; }

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 36px);
}

.footer-col { min-width: 0; }

.footer-col-title {
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 1px solid rgba(201, 211, 232, .2);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--sand);
  max-width: none;
}

.footer-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-list a {
  position: relative;
  display: inline-block;
  font-size: 15px;
  color: rgba(247, 245, 240, .8);
  transition: color var(--dur) var(--ease);
}
.footer-list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  height: 1px;
  width: 0;
  background: var(--sand);
  transition: width var(--dur) var(--ease);
}
.footer-list a:hover { color: #fff; }
.footer-list a:hover::after { width: 100%; }

.footer-list-plain li {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(247, 245, 240, .7);
  word-break: break-word;
}

.footer-base {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  margin-top: clamp(36px, 5vw, 62px);
  padding-inline: var(--gutter);
  padding-block: 20px 26px;
  border-top: 1px solid rgba(201, 211, 232, .18);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 28px;
}

.footer-legal {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  color: rgba(247, 245, 240, .5);
  max-width: none;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (min-width: 1024px) and (max-width: 1279px) {
  :root { --rail-w: 226px; }
}

@media (max-width: 1023px) {
  body {
    padding-left: 0;
    padding-top: 66px;
  }

  #main-content { scroll-margin-top: 84px; }

  .site-header {
    top: 0;
    left: 0;
    right: 0;
    bottom: auto;
    width: auto;
  }

  .brand-rail {
    height: auto;
    max-height: 100vh;
    border-right: 0;
  }

  .rail-top {
    align-items: center;
    min-height: 66px;
    padding: 0 16px;
    border-bottom-width: 2px;
  }

  .brand-name { font-size: 21px; }
  .brand-name::after { display: none; }
  .brand-tag { margin-top: 3px; font-size: 9px; letter-spacing: .14em; }

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

  .rail-body {
    display: none;
    flex: none;
    gap: 12px;
    max-height: calc(100vh - 66px);
    padding: 14px 0 20px;
    overflow-y: auto;
    background-image: none;
    border-top: 1px solid rgba(201, 211, 232, .16);
  }
  .rail-body[data-open] { display: flex; }

  .rail-meter { padding: 0 16px; }

  .rail-label { padding: 0 16px; }

  .rail-link { padding: 12px 16px; font-size: 15px; }

  .rail-foot {
    margin-top: 6px;
    padding: 16px 16px 0;
    border-top: 1px solid rgba(201, 211, 232, .16);
  }

  .rail-status { font-size: 12px; }

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

@media (max-width: 980px) {
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-cta { align-self: stretch; }
}

@media (max-width: 900px) {
  .grid-3,
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  body { font-size: 16px; }

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

  .footer-nav { grid-template-columns: minmax(0, 1fr); }

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

  .btn { width: 100%; }
  .rail-cta { width: 100%; }
  .footer-cta { width: 100%; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }

  .btn:hover,
  .panel-hover:hover,
  .media-hover:hover img { transform: none; }
}
