/* =========================================================
   非凡体育 · 共享样式表 /assets/site.css
   夜间转播控制台视觉体系：深墨蓝底 + 荧光青通道 + 电光橙连看
   ========================================================= */

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

html { -webkit-text-size-adjust: 100%; }

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

ul, ol { padding: 0; list-style: none; }

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

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

button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }

/* ---------- 2. 设计令牌 ---------- */
:root {
  --ink-900: #0A1424;
  --ink-800: #12233B;
  --line: #1E3555;
  --aqua: #2BE8D0;
  --amber: #FF7A2F;
  --foot: #35D07F;
  --basket: #FF9E3D;
  --tennis: #E8FF4D;
  --paper: #E9F0F7;
  --muted: #93A7BF;
  --alert: #FF5C68;
  --raise: #1B3A5C;

  --radius-lg: 26px;
  --radius-md: 18px;
  --pill: 999px;

  --shell: 1320px;
  --font-sans: "PingFang SC", "Hiragino Sans GB", "Source Han Sans SC",
               "Noto Sans SC", "Microsoft YaHei", system-ui, -apple-system,
               "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  --font-num: "DIN Condensed", "Barlow Condensed", "Roboto Condensed",
              "Arial Narrow", "PingFang SC", system-ui, sans-serif;
}

/* ---------- 3. 基础排版 ---------- */
html { background: var(--ink-900); }

body {
  background-color: var(--ink-900);
  background-image:
    radial-gradient(120% 88% at 12% 0%, rgba(43, 232, 208, 0.10), transparent 60%),
    radial-gradient(70% 78% at 95% 2%, rgba(255, 122, 47, 0.09), transparent 58%);
  background-repeat: no-repeat;
  color: var(--paper);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.75;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, .h1 {
  font-size: clamp(2.25rem, 6.2vw, 4.5rem);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -0.01em;
}

h2, .h2 {
  font-size: clamp(1.55rem, 3.4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.005em;
}

h3, .h3 {
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  font-weight: 700;
  line-height: 1.3;
}

p { line-height: 1.78; }

::selection { background: rgba(43, 232, 208, 0.28); color: #061420; }

/* ---------- 4. 无障碍 ---------- */
.skip-link {
  position: fixed;
  top: 0; left: 50%;
  z-index: 200;
  transform: translate(-50%, -180%);
  padding: 12px 22px;
  border-radius: var(--pill);
  background: var(--aqua);
  color: #06231F;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: transform 0.18s ease;
}
.skip-link:focus { transform: translate(-50%, 12px); }

:focus-visible {
  outline: 2px solid var(--aqua);
  outline-offset: 3px;
  border-radius: 10px;
}

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

/* ---------- 5. 悬浮胶囊头部 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  padding-top: 14px;
}

.header-shell {
  width: min(100% - 32px, 1360px);
  margin-inline: auto;
}

.header-bar {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px 11px 16px;
  border-radius: var(--pill);
  background: rgba(18, 35, 59, 0.74);
  border: 1px solid rgba(30, 53, 85, 0.95);
  box-shadow: 0 20px 44px -30px rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  transition: background 0.24s ease, box-shadow 0.24s ease;
}

.site-header[data-scrolled] .header-bar {
  background: rgba(10, 20, 36, 0.92);
  box-shadow: 0 26px 56px -30px rgba(0, 0, 0, 1);
}

/* 品牌 */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  padding: 3px 4px 3px 2px;
}

.brand-mark {
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  border-radius: 9px;
  background: conic-gradient(from 205deg, var(--aqua), var(--amber) 52%, var(--aqua));
  box-shadow: 0 0 0 1px rgba(43, 232, 208, 0.3), 0 0 18px rgba(43, 232, 208, 0.32);
}

.brand-text {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

/* 栏目浮岛 */
.nav-dock {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1 1 auto;
  min-width: 0;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-pill {
  display: block;
  padding: 8px 14px;
  border-radius: var(--pill);
  border: 1px solid transparent;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

.nav-pill:hover { color: var(--paper); background: rgba(27, 58, 92, 0.55); }

.nav-pill[aria-current="page"] {
  color: var(--paper);
  background: var(--raise);
  border-color: rgba(43, 232, 208, 0.62);
  box-shadow: 0 0 0 3px rgba(43, 232, 208, 0.10);
}

/* 右侧工具区 */
.dock-tools {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px 7px 12px;
  border-radius: var(--pill);
  border: 1px solid rgba(43, 232, 208, 0.28);
  background: rgba(43, 232, 208, 0.07);
  color: var(--paper);
  font-size: 13px;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: border-color 0.18s ease, background-color 0.18s ease;
}
.status-chip:hover { border-color: rgba(43, 232, 208, 0.62); background: rgba(43, 232, 208, 0.13); }

.status-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--aqua);
  box-shadow: 0 0 0 4px rgba(43, 232, 208, 0.16);
  animation: signal-breathe 2.4s ease-in-out infinite;
}

@keyframes signal-breathe {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

/* 按钮族 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--pill);
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.2;
  white-space: nowrap;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}
.btn:active { transform: translateY(1px); }

.btn-accent {
  background: var(--amber);
  color: #0A1424;
  box-shadow: 0 12px 26px -16px rgba(255, 122, 47, 0.95);
}
.btn-accent:hover { background: #FF9455; }

.btn-ghost {
  border-color: var(--line);
  background: rgba(27, 58, 92, 0.36);
  color: var(--paper);
}
.btn-ghost:hover { border-color: rgba(43, 232, 208, 0.55); color: var(--aqua); }

.btn-quiet {
  border-color: transparent;
  color: var(--aqua);
  padding-inline: 6px;
}
.btn-quiet:hover { color: #7FF6E6; }

/* 滚动进度条 */
.scroll-meter {
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 4px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--aqua), var(--amber));
  transform: scaleX(0);
  transform-origin: left center;
  opacity: 0.9;
}

/* 移动端按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  padding: 8px 15px;
  border-radius: var(--pill);
  border: 1px solid var(--line);
  background: rgba(27, 58, 92, 0.42);
  color: var(--paper);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: border-color 0.18s ease;
}
.nav-toggle:hover { border-color: rgba(43, 232, 208, 0.5); }

.nav-toggle-bars {
  position: relative;
  width: 16px;
  height: 10px;
  flex: 0 0 auto;
}
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--aqua);
  transition: transform 0.18s ease;
}
.nav-toggle-bars::before { top: 0; }
.nav-toggle-bars::after { bottom: 0; }

.site-header[data-open] .nav-toggle-bars::before { transform: translateY(4px) rotate(45deg); }
.site-header[data-open] .nav-toggle-bars::after { transform: translateY(-4px) rotate(-45deg); }

/* ---------- 6. 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(64px, 9vw, 140px);
  background: var(--ink-800);
  border-top: 1px solid var(--line);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, var(--aqua), rgba(43, 232, 208, 0) 46%, var(--amber));
  opacity: 0.72;
}

.footer-inner {
  width: min(100% - 40px, var(--shell));
  margin-inline: auto;
  padding: clamp(40px, 6vw, 72px) 0 26px;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(240px, 1.15fr) 2fr;
  gap: clamp(28px, 5vw, 72px);
  padding-bottom: clamp(28px, 4vw, 46px);
  border-bottom: 1px solid var(--line);
}

.footer-brand .brand { margin-bottom: 14px; }

.footer-tagline {
  max-width: 26em;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.footer-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 7px 14px;
  border-radius: var(--pill);
  border: 1px solid rgba(43, 232, 208, 0.26);
  background: rgba(43, 232, 208, 0.07);
  color: var(--paper);
  font-size: 13px;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.footer-col-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
}
.footer-col-title::before {
  content: "";
  width: 14px;
  height: 2px;
  border-radius: 2px;
  background: var(--aqua);
  flex: 0 0 auto;
}

.footer-links li + li { margin-top: 9px; }

.footer-links a {
  display: inline-block;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  color: var(--paper);
  font-size: 14px;
  transition: color 0.18s ease, border-color 0.18s ease;
}
.footer-links a:hover { color: var(--aqua); border-color: rgba(43, 232, 208, 0.6); }

.footer-mid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  padding: clamp(26px, 4vw, 40px) 0;
  border-bottom: 1px solid var(--line);
}

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

.contact-item {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 14px;
}

.contact-label {
  flex: 0 0 auto;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.contact-value {
  color: var(--paper);
  font-variant-numeric: tabular-nums;
  word-break: break-all;
}

.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--pill);
  border: 1px solid var(--line);
  background: rgba(27, 58, 92, 0.4);
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.02em;
  transition: color 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}
.copy-btn:hover { color: var(--aqua); border-color: rgba(43, 232, 208, 0.55); }
.copy-btn[data-copied] {
  color: var(--aqua);
  border-color: rgba(43, 232, 208, 0.8);
  background: rgba(43, 232, 208, 0.12);
}

.footer-note {
  max-width: 42em;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.85;
}

.footer-legal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 22px;
  color: var(--muted);
  font-size: 13px;
}

.footer-legal-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-legal-links a {
  color: var(--muted);
  text-decoration: underline;
  text-decoration-color: rgba(147, 167, 191, 0.4);
  text-underline-offset: 3px;
  transition: color 0.18s ease, text-decoration-color 0.18s ease;
}
.footer-legal-links a:hover { color: var(--aqua); text-decoration-color: rgba(43, 232, 208, 0.7); }

/* ---------- 7. 通用布局与组件 ---------- */
.wrap {
  width: min(100% - 40px, var(--shell));
  margin-inline: auto;
}

.section { padding: clamp(48px, 7vw, 96px) 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--aqua);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--aqua);
  flex: 0 0 auto;
}

.lede {
  max-width: 34em;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.7;
}

.prose {
  max-width: 40em;
  font-size: 17px;
  line-height: 1.8;
}
.prose p + p { margin-top: 1.1em; }

.muted { color: var(--muted); }

.num {
  font-family: var(--font-num);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  line-height: 0.95;
}

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

.col-4 { grid-column: span 4; }
.col-5 { grid-column: span 5; }
.col-6 { grid-column: span 6; }
.col-7 { grid-column: span 7; }
.col-8 { grid-column: span 8; }
.col-12 { grid-column: span 12; }

.card {
  padding: clamp(20px, 2.6vw, 30px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--ink-800);
}

.card--tight {
  padding: 16px 20px;
  border-radius: var(--radius-md);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--pill);
  border: 1px solid var(--line);
  background: rgba(27, 58, 92, 0.35);
  color: var(--paper);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.chip-foot   { border-color: rgba(53, 208, 127, 0.45); color: var(--foot);   background: rgba(53, 208, 127, 0.08); }
.chip-basket { border-color: rgba(255, 158, 61, 0.45); color: var(--basket); background: rgba(255, 158, 61, 0.08); }
.chip-tennis { border-color: rgba(232, 255, 77, 0.40); color: var(--tennis); background: rgba(232, 255, 77, 0.07); }
.chip-live   { border-color: rgba(43, 232, 208, 0.50); color: var(--aqua);   background: rgba(43, 232, 208, 0.08); }

.band {
  display: block;
  width: 56px;
  height: 4px;
  border-radius: 4px;
  background: var(--aqua);
}
.band-foot   { background: var(--foot); }
.band-basket { background: var(--basket); }
.band-tennis { background: var(--tennis); }

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
}
.breadcrumb li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.breadcrumb li + li::before {
  content: "/";
  color: var(--line);
}
.breadcrumb a:hover { color: var(--aqua); }
.breadcrumb [aria-current="page"] { color: var(--paper); }

/* ---------- 8. 图片与数据图层容器 ---------- */
.media-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(150deg, #12233B 0%, #0A1424 72%);
}

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(43, 232, 208, 0.075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(43, 232, 208, 0.075) 1px, transparent 1px);
  background-size: 32px 32px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 86%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 86%);
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ratio-16-9 { aspect-ratio: 16 / 9; }
.ratio-4-3  { aspect-ratio: 4 / 3; }
.ratio-1-1  { aspect-ratio: 1 / 1; }
.ratio-3-4  { aspect-ratio: 3 / 4; }

/* ---------- 9. 响应式 ---------- */
@media (max-width: 1240px) {
  .nav-pill { padding: 8px 11px; font-size: 13.5px; }
  .btn { padding: 9px 15px; font-size: 13.5px; }
  .status-chip { padding: 6px 12px; font-size: 12.5px; }
}

@media (max-width: 1120px) {
  .btn-ghost { display: none; }
}

@media (max-width: 1000px) {
  .status-chip-text { display: none; }
  .status-chip { padding: 9px 11px; gap: 0; }
}

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }

  .nav-dock {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 14px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    background: rgba(10, 20, 36, 0.97);
    box-shadow: 0 34px 64px -32px rgba(0, 0, 0, 1);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    max-height: calc(100vh - 150px);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s linear;
  }

  .site-header[data-open] .nav-dock {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .nav-pill {
    padding: 12px 16px;
    border-radius: var(--radius-md);
    font-size: 15px;
    color: var(--paper);
    background: rgba(27, 58, 92, 0.28);
  }

  .dock-tools {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    margin-left: 0;
  }

  .status-chip { justify-content: center; padding: 11px 14px; }
  .status-chip-text { display: inline; }

  .dock-tools .btn { width: 100%; padding: 12px 18px; font-size: 14px; }
  .btn-ghost { display: inline-flex; }

  .scroll-meter { left: 20px; right: 20px; }
}

@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr; }
  .footer-mid { grid-template-columns: 1fr; }
  .col-4, .col-5, .col-6, .col-7, .col-8 { grid-column: span 12; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .footer-cols { grid-template-columns: 1fr; gap: 22px; }
  .footer-legal { flex-direction: column; align-items: flex-start; }
  .contact-item { align-items: flex-start; }
}

/* ---------- 10. 降低动态效果 ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .status-dot { animation: none; opacity: 1; }
  html { scroll-behavior: auto; }
}
