/* 196体育共享样式 /assets/site.css */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 88% -10%, rgba(0,229,255,.10), transparent 34%),
    radial-gradient(circle at -8% 8%, rgba(255,77,28,.12), transparent 32%),
    var(--ink);
  color: #E8EDF8;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}
:root {
  --ink: #080D1A;
  --black: #02040A;
  --white: #FFFFFF;
  --gray: #A8B0C2;
  --brand: #FF4D1C;
  --brand-soft: #FF7A45;
  --cyan: #00E5FF;
  --gold: #FFC857;
  --panel: #121A33;
  --line: #1B2440;
  --font-display: "Arial Narrow", "Arial Black", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-body: system-ui, -apple-system, "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-num: ui-monospace, "SFMono-Regular", "Cascadia Mono", "Roboto Mono", "Noto Sans Mono", monospace;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 24px 70px rgba(0,0,0,.42);
}
img, svg, video { max-width: 100%; height: auto; display: block; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4, h5, h6 {
  margin: 0 0 .55em;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -.035em;
}
ul, ol { margin-top: 0; }
:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}
.container {
  width: calc(100% - 32px);
  max-width: 1180px;
  margin-inline: auto;
}
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 200;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  background: var(--brand);
  color: var(--white);
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  transition: top .2s ease;
}
.skip-link:focus { top: 14px; }

/* 头部：悬浮胶囊导航 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  padding: 12px 0 10px;
  background: linear-gradient(180deg, rgba(8,13,26,.98), rgba(8,13,26,.78) 72%, rgba(8,13,26,0));
}
.header-shell {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  background: rgba(2,4,10,.88);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 18px 50px rgba(0,0,0,.38);
  backdrop-filter: blur(16px);
  transition: border-color .25s ease, background .25s ease;
}
.site-header[data-scrolled] .header-shell {
  background: rgba(2,4,10,.96);
  border-color: rgba(255,77,28,.42);
}
.site-header[data-scrolled] .brand-tagline { opacity: 0; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  min-height: 44px;
  color: var(--white);
  text-decoration: none;
}
.brand-mark {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 5px rgba(255,77,28,.14), 0 0 22px rgba(255,77,28,.8);
}
.brand-copy { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.06rem;
  letter-spacing: -.03em;
}
.brand-tagline {
  color: var(--gray);
  font-size: .68rem;
  letter-spacing: .08em;
  transition: opacity .2s ease;
}
.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  margin-left: auto;
  padding: 0 12px;
  color: var(--white);
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line);
  border-radius: 999px;
}
.nav-toggle-label { font-size: .85rem; font-weight: 800; }
.nav-toggle-bars { display: inline-flex; flex-direction: column; gap: 4px; width: 18px; }
.nav-toggle-bars i {
  display: block;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bars i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars i:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
  gap: 12px;
  min-width: 0;
}
.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 10px;
  color: var(--gray);
  border-radius: 999px;
  text-decoration: none;
  font-size: .9rem;
  white-space: nowrap;
  transition: color .2s ease, background .2s ease, box-shadow .2s ease;
}
.nav-link:hover {
  color: var(--white);
  background: rgba(255,255,255,.06);
}
.nav-link[aria-current="page"] {
  color: var(--cyan);
  background: rgba(0,229,255,.10);
  box-shadow: inset 0 0 0 1px rgba(0,229,255,.32);
}
.header-actions { display: flex; align-items: center; gap: 8px; }
.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  color: var(--white);
  background: var(--brand);
  border-radius: 999px;
  text-decoration: none;
  font-weight: 900;
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(255,77,28,.28);
  transition: background .2s ease, transform .2s ease;
}
.header-cta:hover { background: var(--brand-soft); transform: translateY(-1px); }

/* 通用布局与排版 */
.section { padding: clamp(48px, 8vw, 96px) 0; }
.section-head {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: clamp(24px, 4vw, 48px);
}
.eyebrow {
  color: var(--brand);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.section-title {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  line-height: 1.04;
}
.section-lead {
  max-width: 68ch;
  margin: 0;
  color: var(--gray);
  font-size: 1.05rem;
}
.grid { display: grid; gap: 24px; }
.grid--7-5 { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.grid--8-4 { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); }
.grid--4-8 { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
.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)); }
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
  margin: clamp(24px, 4vw, 48px) 0;
}

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 900;
  transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  color: var(--white);
  background: var(--brand);
  box-shadow: 0 10px 30px rgba(255,77,28,.28);
}
.btn-primary:hover { background: var(--brand-soft); }
.btn-ghost {
  color: var(--white);
  background: rgba(255,255,255,.03);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: rgba(0,229,255,.45); color: var(--cyan); }
.btn-live {
  color: var(--ink);
  background: var(--cyan);
  box-shadow: 0 10px 30px rgba(0,229,255,.22);
}
.btn-live:hover { background: #7DF3FF; }

/* 标签与卡片 */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  padding: 3px 10px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.tag--brand { color: var(--brand); background: rgba(255,77,28,.08); border-color: rgba(255,77,28,.42); }
.tag--cyan { color: var(--cyan); background: rgba(0,229,255,.08); border-color: rgba(0,229,255,.42); }
.tag--gold { color: var(--gold); background: rgba(255,200,87,.08); border-color: rgba(255,200,87,.42); }
.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.paper-card {
  position: relative;
  padding: clamp(18px, 2.6vw, 28px);
  background:
    linear-gradient(145deg, rgba(18,26,51,.96), rgba(2,4,10,.96));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 10px 10px 0 rgba(2,4,10,.62), var(--shadow);
}
.paper-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255,255,255,.04);
  border-radius: inherit;
  pointer-events: none;
}

/* 比分带 */
.score-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(220px, 1fr);
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 10px;
  scrollbar-color: var(--brand) transparent;
}
.score-card {
  min-width: 220px;
  padding: 16px;
  background: linear-gradient(145deg, rgba(18,26,51,.98), rgba(2,4,10,.98));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.score-team {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--white);
  font-weight: 900;
}
.score-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 8px;
  color: var(--gray);
  font-size: .8rem;
}
.score-num {
  color: var(--cyan);
  font-family: var(--font-num);
  font-size: 1.9rem;
  line-height: 1;
  letter-spacing: -.04em;
}
.score-card:hover .score-num { animation: scorePulse .85s ease; }
@keyframes scorePulse {
  0% { color: var(--cyan); text-shadow: 0 0 0 transparent; }
  45% { color: var(--white); text-shadow: 0 0 18px var(--cyan); }
  100% { color: var(--cyan); text-shadow: 0 0 0 transparent; }
}

/* 图片容器 */
.media-frame {
  position: relative;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media-frame--wide { aspect-ratio: 16 / 9; }
.media-frame--portrait { aspect-ratio: 3 / 4; }
.media-frame--square { aspect-ratio: 1 / 1; }
.media-caption {
  margin-top: 10px;
  color: var(--gray);
  font-size: .84rem;
  line-height: 1.5;
}

/* 面包屑与正文 */
.breadcrumbs { margin: 18px 0; }
.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.breadcrumb-item {
  color: var(--gray);
  font-size: .88rem;
}
.breadcrumb-item + .breadcrumb-item::before {
  content: "/";
  margin-right: 8px;
  color: var(--line);
}
.breadcrumb-link {
  color: var(--gray);
  text-decoration: none;
}
.breadcrumb-link:hover { color: var(--cyan); }
.breadcrumb-current { color: var(--white); }
.article-body {
  max-width: 72ch;
  color: #DDE3F0;
}
.article-body h2,
.article-body h3 {
  margin-top: 1.6em;
  color: var(--white);
  letter-spacing: -.025em;
}
.article-body p { margin: 0 0 1.1em; }
.article-body a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }
.article-body ul,
.article-body ol { padding-left: 1.25em; }
.article-body li { margin: .35em 0; }
.article-body blockquote {
  margin: 1.4em 0;
  padding-left: 1em;
  border-left: 3px solid var(--brand);
  color: var(--gray);
}
.article-body code {
  padding: .15em .4em;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-family: var(--font-num);
  font-size: .92em;
}

/* 滚动显现 */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* 页脚：展览说明牌层次 */
.site-footer {
  margin-top: clamp(64px, 10vw, 120px);
  background: var(--black);
  border-top: 1px solid var(--line);
  color: var(--gray);
}
.footer-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.6fr);
  gap: clamp(28px, 5vw, 64px);
  padding: clamp(48px, 7vw, 84px) 0;
}
.footer-brand { min-width: 0; }
.footer-logo {
  display: inline-flex;
  align-items: center;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.45rem;
  letter-spacing: -.035em;
  text-decoration: none;
}
.footer-logo::before {
  content: "";
  width: 10px;
  height: 10px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 18px rgba(255,77,28,.9);
}
.footer-tagline {
  margin: 10px 0 0;
  color: var(--white);
  font-weight: 900;
}
.footer-contact {
  margin: 14px 0 0;
  color: var(--gray);
}
.footer-note {
  margin: 8px 0 0;
  color: #7C879E;
  font-size: .9rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.footer-col { min-width: 0; }
.footer-heading {
  margin: 0 0 14px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: .95rem;
  font-weight: 900;
  letter-spacing: .02em;
}
.footer-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-link {
  color: var(--gray);
  text-decoration: none;
  font-size: .92rem;
  transition: color .2s ease;
}
.footer-link:hover { color: var(--cyan); }
.footer-bottom {
  background: rgba(255,255,255,.015);
  border-top: 1px solid var(--line);
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
}
.footer-legal {
  margin: 0;
  color: #7C879E;
  font-size: .82rem;
}
.legal-list {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* 响应式 */
@media (max-width: 960px) {
  .header-shell {
    flex-wrap: wrap;
    border-radius: 22px;
  }
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding-top: 12px;
  }
  .site-nav[data-open] { display: flex; }
  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }
  .nav-link {
    justify-content: space-between;
    min-height: 44px;
    padding: 0 14px;
    border-radius: 14px;
  }
  .header-actions { padding-top: 4px; }
  .header-cta { width: 100%; }
  .grid--7-5,
  .grid--8-4,
  .grid--4-8 { grid-template-columns: 1fr; }
  .grid--3,
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-shell { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .container { width: calc(100% - 20px); }
  .grid--2,
  .grid--3,
  .grid--4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .score-strip { grid-auto-columns: minmax(200px, 82%); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
}
