/* ==========================================================
   火狐体育赛场 · 共享站点样式 /assets/site.css
   深色转播控制台体系：暗底高亮、比分条、刻度框、荧光状态点
   ========================================================== */

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

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

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

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

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

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

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

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

[hidden] { display: none !important; }

/* ---------- 2. 变量 ---------- */
:root {
  --ink-900: #0B0E12;
  --ink-800: #10141A;
  --ink-700: #161B22;
  --ink-600: #1D242E;

  --line-600: #3D4A5C;
  --line-400: #2A3340;

  --paper: #E8E2D6;
  --steel: #9AA7B8;

  --fox: #FF4D1C;
  --fox-warm: #FF8A3D;
  --fox-soft: rgba(255, 77, 28, 0.12);

  --live: #2DE1C2;
  --live-soft: rgba(45, 225, 194, 0.14);
  --amber: #FFD166;
  --link: #1F6FEB;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 26px;
  --radius-pill: 999px;

  --shell: 1360px;
  --gutter: clamp(16px, 4vw, 40px);

  --font-display: "Barlow Condensed", "Oswald", "Noto Sans SC", "PingFang SC", sans-serif;
  --font-body: "Inter", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: "JetBrains Mono", "Roboto Mono", "SFMono-Regular", Consolas, monospace;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --fast: 180ms;
}

/* ---------- 3. 页面基底 ---------- */
body {
  min-height: 100vh;
  background:
    radial-gradient(1200px 640px at 84% -12%, rgba(255, 77, 28, 0.10), transparent 62%),
    radial-gradient(900px 560px at -8% 28%, rgba(31, 111, 235, 0.08), transparent 60%),
    var(--ink-900);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--fox); color: #170906; }

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

/* ---------- 4. 中文排版 ---------- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0.015em;
  text-transform: uppercase;
  color: var(--paper);
}

h1 { font-size: clamp(34px, 5.6vw, 64px); }
h2 { font-size: clamp(28px, 4.2vw, 46px); }
h3 { font-size: clamp(20px, 2.4vw, 27px); }
h4 { font-size: clamp(17px, 1.8vw, 21px); }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

strong { color: var(--paper); font-weight: 700; }

a:not([class]) {
  color: var(--link);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

a:not([class]):hover { color: var(--fox-warm); }

.text-mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
}

.text-dim { color: var(--steel); }
.text-live { color: var(--live); }
.text-amber { color: var(--amber); }

/* ---------- 5. 布局容器 ---------- */
.wrap {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(40px, 6vw, 84px); }
.section--tight { padding-block: clamp(24px, 3.4vw, 46px); }

.stack > * + * { margin-top: clamp(14px, 2vw, 22px); }

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

.rule {
  height: 1px;
  border: 0;
  background: linear-gradient(90deg, var(--line-600), var(--line-400) 45%, transparent);
  margin-block: clamp(20px, 3vw, 36px);
}

/* ---------- 6. 跳过链接 ---------- */
.skip-link {
  position: absolute;
  left: 50%;
  top: 8px;
  transform: translate(-50%, -180%);
  z-index: 120;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  background: var(--fox);
  color: #170906;
  font-weight: 700;
  font-size: 15px;
  white-space: nowrap;
  transition: transform var(--fast) var(--ease);
}

.skip-link:focus { transform: translate(-50%, 0); }

/* ---------- 7. 头部 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  padding: 12px clamp(10px, 3vw, 28px) 4px;
  background: linear-gradient(180deg, rgba(11, 14, 18, 0.97) 0%, rgba(11, 14, 18, 0.82) 62%, rgba(11, 14, 18, 0) 100%);
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  z-index: 130;
  background: linear-gradient(90deg, var(--fox), var(--amber) 55%, var(--live));
  transition: width 90ms linear;
}

.header-shell {
  position: relative;
  max-width: var(--shell);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.6vw, 20px);
  padding: 8px 10px 8px 12px;
  background: rgba(22, 27, 34, 0.86);
  border: 1px solid var(--line-400);
  border-radius: var(--radius-pill);
  backdrop-filter: blur(12px);
  transition: border-color var(--fast) var(--ease), box-shadow var(--fast) var(--ease);
}

.site-header[data-scrolled] .header-shell {
  border-color: var(--line-600);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45);
}

/* 品牌浮岛 */
.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 4px 10px 4px 4px;
  border-radius: var(--radius-pill);
  flex: 0 0 auto;
  transition: background var(--fast) var(--ease);
}

.brand-mark:hover { background: rgba(232, 226, 214, 0.05); }

.brand-glyph {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--fox), var(--fox-warm));
  color: #170906;
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 0 0 1px rgba(255, 138, 61, 0.4) inset;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--paper);
}

.brand-tagline {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--steel);
}

/* 栏目胶囊 */
.nav-pill {
  margin-inline: auto;
  padding: 4px;
  border-radius: var(--radius-pill);
  background: rgba(11, 14, 18, 0.62);
  border: 1px solid rgba(61, 74, 92, 0.5);
}

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

.nav-link {
  display: inline-flex;
  align-items: center;
  padding: 9px 15px;
  border-radius: var(--radius-pill);
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--steel);
  white-space: nowrap;
  transition: color var(--fast) var(--ease), background var(--fast) var(--ease);
}

.nav-link:hover { color: var(--paper); background: var(--fox-soft); }

.nav-link[aria-current="page"] {
  color: #170906;
  background: linear-gradient(120deg, var(--fox), var(--fox-warm));
  font-weight: 700;
}

/* 右侧工具带 */
.header-aside {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.utility-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.utility-link {
  display: inline-block;
  padding: 6px 9px;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--steel);
  transition: color var(--fast) var(--ease);
}

.utility-link:hover { color: var(--live); }

.header-cta {
  display: inline-flex;
  align-items: center;
  padding: 11px 20px;
  border-radius: var(--radius-pill);
  background: linear-gradient(120deg, var(--fox), var(--fox-warm));
  color: #170906;
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
  transition: transform var(--fast) var(--ease), box-shadow var(--fast) var(--ease);
}

.header-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(255, 77, 28, 0.32);
}

/* 汉堡按钮 */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--line-600);
  background: rgba(11, 14, 18, 0.6);
}

.nav-toggle:hover { border-color: var(--fox); }

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--paper);
  transition: transform 220ms var(--ease), opacity 220ms var(--ease), background 220ms var(--ease);
}

.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before,
.nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }

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

/* ---------- 8. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  padding: 13px 24px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: transform var(--fast) var(--ease), background var(--fast) var(--ease), border-color var(--fast) var(--ease);
}

.btn-primary {
  background: linear-gradient(120deg, var(--fox), var(--fox-warm));
  color: #170906;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(255, 77, 28, 0.3);
}

.btn-ghost {
  background: rgba(232, 226, 214, 0.04);
  border-color: var(--line-600);
  color: var(--paper);
}

.btn-ghost:hover {
  transform: translateY(-2px);
  border-color: var(--live);
  color: var(--live);
}

.btn-quiet {
  padding: 10px 18px;
  background: transparent;
  border-color: var(--line-400);
  color: var(--steel);
  font-weight: 500;
  font-size: 14px;
}

.btn-quiet:hover { color: var(--paper); border-color: var(--steel); }

/* ---------- 9. 标记与面板 ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 13px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-400);
  background: rgba(232, 226, 214, 0.04);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  color: var(--steel);
  white-space: nowrap;
}

.pill-mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  color: var(--paper);
}

.pill-live {
  border-color: rgba(45, 225, 194, 0.42);
  background: var(--live-soft);
  color: var(--live);
  font-weight: 700;
}

.pill-live::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--live);
  box-shadow: 0 0 0 0 rgba(45, 225, 194, 0.55);
  animation: live-pulse 2.4s var(--ease) infinite;
}

@keyframes live-pulse {
  0% { box-shadow: 0 0 0 0 rgba(45, 225, 194, 0.5); }
  70% { box-shadow: 0 0 0 8px rgba(45, 225, 194, 0); }
  100% { box-shadow: 0 0 0 0 rgba(45, 225, 194, 0); }
}

.panel {
  position: relative;
  padding: clamp(18px, 2.4vw, 30px);
  border-radius: var(--radius-md);
  background: linear-gradient(160deg, rgba(22, 27, 34, 0.92), rgba(11, 14, 18, 0.92));
  border: 1px solid var(--line-400);
}

.panel-line { border-left: 2px solid var(--fox); border-radius: 0 var(--radius-md) var(--radius-md) 0; }

/* ---------- 10. 章节头与面包屑 ---------- */
.section-head {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: clamp(20px, 3vw, 34px);
  max-width: 72ch;
}

.section-index {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 13px;
  letter-spacing: 0.24em;
  color: var(--fox);
}

.section-title { margin: 0; }

.section-lede {
  margin: 0;
  color: var(--steel);
  font-size: 16.5px;
  line-height: 1.78;
  max-width: 64ch;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-block: 0 clamp(18px, 2.6vw, 28px);
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  color: var(--steel);
}

.breadcrumb li { display: inline-flex; align-items: center; gap: 8px; }
.breadcrumb li + li::before { content: "/"; color: var(--line-600); }
.breadcrumb a { color: var(--steel); transition: color var(--fast) var(--ease); }
.breadcrumb a:hover { color: var(--fox-warm); }
.breadcrumb [aria-current="page"] { color: var(--paper); }

/* ---------- 11. 媒体框景 ---------- */
.media-frame {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  border: 1px solid var(--line-400);
  background:
    linear-gradient(150deg, var(--ink-700) 0%, var(--ink-900) 92%);
}

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

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(180deg, rgba(232, 226, 214, 0.045) 0 1px, transparent 1px 4px),
    radial-gradient(120% 90% at 50% 110%, rgba(255, 77, 28, 0.16), transparent 55%);
  opacity: 0.7;
}

.media-frame--banner { aspect-ratio: 21 / 9; }
.media-frame--square { aspect-ratio: 1 / 1; }
.media-frame--tall { aspect-ratio: 3 / 4; }

.media-frame__tag {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: rgba(11, 14, 18, 0.82);
  border: 1px solid var(--line-600);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--paper);
}

/* ---------- 12. 显现动效 ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 520ms var(--ease), transform 520ms var(--ease);
}

[data-reveal="in"] {
  opacity: 1;
  transform: none;
}

/* ---------- 13. 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(64px, 9vw, 120px);
  background: linear-gradient(180deg, rgba(22, 27, 34, 0.9), var(--ink-800) 70%);
  border-top: 1px solid var(--line-400);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, var(--fox), var(--fox-warm) 28%, rgba(45, 225, 194, 0.5) 58%, transparent 88%);
}

.footer-shell {
  max-width: var(--shell);
  margin-inline: auto;
  padding: clamp(40px, 6vw, 72px) var(--gutter) 26px;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2.1fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}

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

.footer-glyph {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--fox), var(--fox-warm));
  color: #170906;
  font-family: var(--font-mono);
  font-size: 17px;
  font-weight: 700;
}

.footer-brandline {
  margin: 0;
  max-width: 30ch;
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--steel);
}

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

.footer-col { display: flex; flex-direction: column; gap: 12px; }

.footer-col-title {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--fox);
  margin: 0;
}

.footer-links { display: flex; flex-direction: column; gap: 9px; }

.footer-links a {
  display: inline-block;
  font-size: 15px;
  color: var(--steel);
  transition: color var(--fast) var(--ease), transform var(--fast) var(--ease);
}

.footer-links a:hover { color: var(--paper); transform: translateX(3px); }

.footer-links--contact { gap: 12px; }

.footer-contact-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--line-600);
}

.footer-value {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--paper);
  word-break: break-word;
}

.footer-note {
  margin: clamp(28px, 4vw, 46px) 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--line-400);
  font-size: 14px;
  line-height: 1.75;
  color: var(--steel);
  max-width: 74ch;
}

.footer-bottom {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line-400);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.footer-legal,
.footer-meta {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  color: var(--steel);
}

.footer-meta { color: var(--line-600); }
.footer-meta [data-year] { color: var(--amber); }

/* ---------- 14. 响应式 ---------- */
@media (max-width: 1180px) {
  .utility-list { display: none; }
}

@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; order: 2; margin-left: auto; }

  .header-shell {
    flex-wrap: wrap;
    border-radius: 24px;
    padding: 10px;
    gap: 10px;
  }

  .brand-mark { order: 1; }
  .nav-pill { order: 3; }
  .header-aside { order: 4; }

  .nav-pill,
  .header-aside { display: none; width: 100%; }

  .site-header[data-open] .nav-pill,
  .site-header[data-open] .header-aside { display: flex; }

  .nav-pill {
    margin-inline: 0;
    padding: 0;
    background: transparent;
    border: 0;
  }

  .nav-list { flex-direction: column; align-items: stretch; gap: 2px; width: 100%; }

  .nav-link {
    width: 100%;
    border-radius: 12px;
    padding: 13px 14px;
    font-size: 15.5px;
  }

  .header-aside {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--line-400);
  }

  .utility-list { display: flex; flex-wrap: wrap; gap: 6px; }

  .utility-link {
    font-size: 12px;
    border: 1px solid var(--line-400);
    border-radius: var(--radius-pill);
    padding: 6px 12px;
  }

  .header-cta { justify-content: center; padding: 13px 20px; }

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

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

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

  .grid-12 { grid-template-columns: 1fr; }
  .grid-12 > * { grid-column: 1 / -1 !important; }

  .footer-columns { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .btn { width: 100%; }
  .btn-quiet { width: auto; }
}

@media (max-width: 420px) {
  .brand-tagline { display: none; }
  .brand-glyph { width: 34px; height: 34px; font-size: 13px; }
}

/* ---------- 15. 无障碍与降级 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

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

  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
}

@media print {
  .site-header,
  .site-footer,
  .scroll-progress { display: none !important; }
  body { background: #fff; color: #111; }
}
