/* ==========================================================================
   赛事通体育 · 共享站点样式  /assets/site.css
   夜场墨黑底 + 荧光青锚点 + 信号橙状态
   ========================================================================== */

/* ---------- 1. 设计令牌 ---------- */
:root {
  --ink-900: #04120F;
  --ink-800: #0A241E;
  --ink-700: #123B31;
  --ink-600: #1B5145;

  --paper: #E9FFF9;
  --mint: #7CF7D4;
  --mint-mid: #2ED3AE;
  --mint-dim: #00B894;
  --signal: #FF6B2C;
  --amber: #FFC857;
  --muted: #8FA8A2;
  --danger: #FF4D5E;

  --line: rgba(124, 247, 212, 0.16);
  --line-strong: rgba(124, 247, 212, 0.36);
  --line-soft: rgba(233, 255, 249, 0.08);
  --glass: rgba(10, 36, 30, 0.62);
  --glass-soft: rgba(10, 36, 30, 0.42);

  --font-sans: "Noto Sans SC", "HarmonyOS Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", "DIN Alternate", ui-monospace, "SFMono-Regular", "Cascadia Mono", "Roboto Mono", "Courier New", monospace;

  --header-h: 72px;
  --shell-max: 1440px;
  --gutter: clamp(16px, 4vw, 48px);

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;

  --ease: cubic-bezier(.2, .8, .2, 1);
  --dur: 200ms;
  --dur-fast: 160ms;
}

@media (max-width: 640px) {
  :root { --header-h: 64px; }
}

/* ---------- 2. Reset 与基础排版 ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: var(--ink-900);
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
}

body {
  margin: 0;
  min-height: 100vh;
  padding-top: var(--header-h);
  color: var(--paper);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  font-weight: 400;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd, pre { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, picture, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
table { border-collapse: collapse; width: 100%; }
hr { border: 0; height: 1px; background: var(--line); margin: 0; }
strong, b { font-weight: 700; }
::selection { background: var(--mint); color: var(--ink-900); }

/* ---------- 3. 背景：夜间球场灯光层 ---------- */
body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

body::before {
  background:
    radial-gradient(1400px 720px at 10% -14%, rgba(0, 184, 148, 0.24), transparent 62%),
    radial-gradient(1000px 800px at 94% -8%, rgba(124, 247, 212, 0.13), transparent 58%),
    radial-gradient(900px 640px at 52% 118%, rgba(255, 107, 44, 0.10), transparent 64%),
    linear-gradient(180deg, #061A15 0%, #04120F 46%, #04120F 100%);
}

body::after {
  background-image:
    linear-gradient(rgba(124, 247, 212, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 247, 212, 0.045) 1px, transparent 1px);
  background-size: 100% 96px, 96px 100%;
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 68%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 68%);
  opacity: 0.55;
}

body > * { position: relative; z-index: 1; }

/* ---------- 4. 排版工具 ---------- */
.display {
  font-size: clamp(2.6rem, 6vw, 5.6rem);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.04em;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mint);
}

.eyebrow::before {
  content: "";
  width: 20px;
  height: 1px;
  background: currentColor;
  flex: none;
}

.section-head {
  display: grid;
  gap: 12px;
  margin-bottom: clamp(20px, 3vw, 36px);
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.section-sub {
  max-width: 68ch;
  font-size: 15.5px;
  line-height: 1.8;
  color: rgba(233, 255, 249, 0.72);
}

.prose {
  max-width: 68ch;
  font-size: 16.5px;
  line-height: 1.8;
  color: rgba(233, 255, 249, 0.82);
}

.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(1.4rem, 2.4vw, 2rem); font-weight: 800; letter-spacing: -0.02em; color: var(--paper); }
.prose h3 { font-size: 1.15rem; font-weight: 700; color: var(--paper); }
.prose a { color: var(--mint); border-bottom: 1px solid var(--line-strong); }
.prose a:hover { border-bottom-color: var(--mint); }
.prose ul { list-style: none; display: grid; gap: 0.6em; }
.prose ul li { position: relative; padding-left: 20px; }
.prose ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.78em;
  width: 8px;
  height: 1px;
  background: var(--mint);
}

/* ---------- 5. 布局壳与网格 ---------- */
.shell {
  width: 100%;
  max-width: var(--shell-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(48px, 7vw, 104px); }
.section--tight { padding-block: clamp(32px, 4vw, 56px); }

.grid {
  display: grid;
  gap: clamp(14px, 1.6vw, 24px);
  grid-template-columns: minmax(0, 1fr);
}

/* ---------- 6. 跳转链接 ---------- */
.skip-link {
  position: absolute;
  left: 16px;
  top: 8px;
  z-index: 220;
  padding: 10px 18px;
  border-radius: var(--r-sm);
  background: var(--mint);
  color: var(--ink-900);
  font-size: 14px;
  font-weight: 700;
  transform: translateY(-180%);
  transition: transform var(--dur-fast) var(--ease);
}

.skip-link:focus,
.skip-link:focus-visible {
  transform: translateY(0);
  outline: 2px solid var(--ink-900);
  outline-offset: 2px;
}

/* ---------- 7. 框架式页头 ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(4, 18, 15, 0.78);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--line);
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.site-header[data-elevated="true"] {
  background: rgba(4, 18, 15, 0.94);
  border-bottom-color: var(--line-strong);
}

.site-header__frame {
  display: flex;
  align-items: stretch;
  height: 100%;
  width: 100%;
}

/* 品牌块 */
.site-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
  padding-inline: clamp(16px, 3vw, 28px);
  border-right: 1px solid var(--line);
  transition: background-color var(--dur-fast) var(--ease);
}

.site-brand:hover { background: rgba(124, 247, 212, 0.05); }
.site-brand:focus-visible { outline: 2px solid var(--mint); outline-offset: -3px; }

.site-brand__mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 10px;
  background: linear-gradient(145deg, #A6FFE4 0%, var(--mint) 42%, var(--mint-mid) 100%);
  color: var(--ink-900);
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
  box-shadow: 0 0 0 1px rgba(124, 247, 212, 0.45), 0 10px 24px -10px rgba(124, 247, 212, 0.85);
}

.site-brand__text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1.18;
  min-width: 0;
}

.site-brand__name {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: var(--paper);
  white-space: nowrap;
}

.site-brand__tag {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.13em;
  color: var(--muted);
  white-space: nowrap;
}

/* ---------- 8. 导航 ---------- */
.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  min-width: 0;
  padding-inline: clamp(8px, 1.4vw, 20px);
}

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

.nav__item { display: flex; }

.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border-radius: var(--r-sm);
  font-size: 14px;
  font-weight: 500;
  color: rgba(233, 255, 249, 0.7);
  white-space: nowrap;
  transition: color var(--dur-fast) var(--ease), background-color var(--dur-fast) var(--ease);
}

.nav__link:hover {
  color: var(--paper);
  background: rgba(124, 247, 212, 0.08);
}

.nav__link:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 2px;
}

.nav__link[aria-current="page"] {
  color: var(--mint);
  background: rgba(124, 247, 212, 0.1);
  font-weight: 700;
}

.nav__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 3px;
  height: 2px;
  border-radius: 2px;
  background: var(--mint);
}

.nav__aside { display: none; }

/* 操作区 */
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
  padding-inline: clamp(12px, 2.4vw, 24px);
  border-left: 1px solid var(--line);
}

.header-status {
  display: none;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--muted);
  white-space: nowrap;
}

.header-status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 0 0 rgba(255, 107, 44, 0.6);
  animation: signal-pulse 2.4s var(--ease) infinite;
}

@keyframes signal-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 107, 44, 0.55); }
  50% { box-shadow: 0 0 0 6px rgba(255, 107, 44, 0); }
}

/* 汉堡按钮 */
.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: rgba(18, 59, 49, 0.6);
  color: var(--paper);
  font-size: 13px;
  font-weight: 600;
  transition: border-color var(--dur-fast) var(--ease), background-color var(--dur-fast) var(--ease);
}

.nav-toggle:hover { border-color: var(--mint); background: rgba(124, 247, 212, 0.12); }
.nav-toggle:focus-visible { outline: 2px solid var(--mint); outline-offset: 2px; }

.nav-toggle__bars {
  position: relative;
  display: block;
  width: 16px;
  height: 10px;
  flex: none;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform var(--dur) var(--ease), top var(--dur) var(--ease);
}

.nav-toggle__bars::before { top: 0; }
.nav-toggle__bars::after { top: 8px; }

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

/* 滚动进度条 */
.site-header__progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 2px;
  border-radius: 0 2px 2px 0;
  background: linear-gradient(90deg, var(--mint) 0%, var(--mint-dim) 55%, var(--signal) 100%);
  transform: scaleX(0);
  transform-origin: 0 50%;
  pointer-events: none;
  z-index: 3;
  will-change: transform;
}

/* ---------- 9. 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(64px, 9vw, 120px);
  border-top: 1px solid var(--line);
  background:
    radial-gradient(900px 420px at 6% 0%, rgba(0, 184, 148, 0.16), transparent 62%),
    radial-gradient(760px 400px at 96% 14%, rgba(255, 107, 44, 0.08), transparent 66%),
    linear-gradient(180deg, rgba(10, 36, 30, 0.72) 0%, #04120F 82%);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, var(--mint) 0%, rgba(124, 247, 212, 0.1) 40%, rgba(255, 107, 44, 0.7) 100%);
}

.site-footer__inner {
  max-width: var(--shell-max);
  margin-inline: auto;
  padding: clamp(36px, 5vw, 64px) var(--gutter) 0;
}

.site-footer__top {
  display: grid;
  gap: clamp(32px, 4vw, 56px);
  padding-bottom: clamp(32px, 4vw, 48px);
}

.footer-brand__link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  border-radius: var(--r-sm);
}

.footer-brand__link:focus-visible { outline: 2px solid var(--mint); outline-offset: 4px; }

.footer-brand__mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 12px;
  background: linear-gradient(145deg, #A6FFE4 0%, var(--mint) 45%, var(--mint-mid) 100%);
  color: var(--ink-900);
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
}

.footer-brand__name {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--paper);
}

.footer-brand__statement {
  max-width: 34ch;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(233, 255, 249, 0.66);
}

.footer-brand__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding: 7px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(10, 36, 30, 0.6);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: rgba(233, 255, 249, 0.72);
}

.footer-brand__dot {
  width: 6px;
  height: 6px;
  flex: none;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 8px 1px rgba(255, 107, 44, 0.6);
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 40px);
  align-content: start;
}

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

.footer-col__title {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mint);
  padding-bottom: 10px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.footer-col__list {
  display: grid;
  gap: 10px;
}

.footer-link {
  display: inline-block;
  font-size: 14px;
  color: rgba(233, 255, 249, 0.72);
  transition: color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}

.footer-link:hover { color: var(--mint); transform: translateX(2px); }
.footer-link:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; border-radius: 3px; }

.footer-meta {
  display: grid;
  gap: 10px;
}

.footer-meta__item {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.footer-meta__key {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.9;
  color: var(--muted);
}

.footer-meta__val {
  font-size: 13.5px;
  line-height: 1.7;
  color: rgba(233, 255, 249, 0.8);
  word-break: break-word;
}

.footer-note {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed var(--line-soft);
  font-size: 12px;
  line-height: 1.75;
  color: var(--muted);
}

.site-footer__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 28px;
  padding-block: 20px 24px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}

.footer-copy { letter-spacing: 0.02em; }

.footer-icp {
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
}

/* ---------- 10. 按钮体系 ---------- */
.btn {
  --btn-bg: transparent;
  --btn-fg: var(--paper);
  --btn-bd: var(--line-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid var(--btn-bd);
  border-radius: 10px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background-color var(--dur-fast) var(--ease),
    border-color var(--dur-fast) var(--ease),
    color var(--dur-fast) var(--ease),
    transform var(--dur-fast) var(--ease),
    box-shadow var(--dur-fast) var(--ease);
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; }

.btn--primary {
  --btn-bg: var(--mint);
  --btn-bd: var(--mint);
  --btn-fg: var(--ink-900);
  box-shadow: 0 12px 28px -16px rgba(124, 247, 212, 0.9);
}

.btn--primary:hover {
  --btn-bg: #A6FFE4;
  --btn-bd: #A6FFE4;
  box-shadow: 0 16px 34px -16px rgba(124, 247, 212, 1);
}

.btn--ghost {
  --btn-bg: rgba(124, 247, 212, 0.06);
  --btn-bd: var(--line-strong);
  --btn-fg: var(--paper);
}

.btn--ghost:hover {
  --btn-bg: rgba(124, 247, 212, 0.15);
  --btn-bd: var(--mint);
}

.btn--signal {
  --btn-bg: var(--signal);
  --btn-bd: var(--signal);
  --btn-fg: #12100C;
}

.btn--signal:hover {
  --btn-bg: #FF8347;
  --btn-bd: #FF8347;
}

.btn--sm {
  min-height: 38px;
  padding: 0 15px;
  font-size: 13px;
  border-radius: 9px;
}

.btn--block { width: 100%; }

/* ---------- 11. 芯片与徽标 ---------- */
.chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(10, 36, 30, 0.62);
  color: rgba(233, 255, 249, 0.78);
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1;
  transition: border-color var(--dur-fast) var(--ease), background-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}

.chip:hover {
  border-color: var(--line-strong);
  color: var(--paper);
  background: rgba(124, 247, 212, 0.1);
}

.chip:focus-visible { outline: 2px solid var(--mint); outline-offset: 2px; }

.chip[aria-pressed="true"],
.chip.is-active {
  background: var(--mint);
  border-color: var(--mint);
  color: var(--ink-900);
  font-weight: 700;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.6;
}

.badge--live { background: rgba(255, 107, 44, 0.16); color: var(--signal); border: 1px solid rgba(255, 107, 44, 0.42); }
.badge--mint { background: rgba(124, 247, 212, 0.14); color: var(--mint); border: 1px solid rgba(124, 247, 212, 0.36); }
.badge--amber { background: rgba(255, 200, 87, 0.14); color: var(--amber); border: 1px solid rgba(255, 200, 87, 0.34); }

/* ---------- 12. Bento 模块基座 ---------- */
.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(16px, 2vw, 24px);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: linear-gradient(160deg, rgba(18, 59, 49, 0.74) 0%, rgba(10, 36, 30, 0.88) 100%);
  transition:
    transform var(--dur) var(--ease),
    border-color var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease);
}

.tile:hover,
.tile:focus-within {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: 0 28px 52px -34px rgba(124, 247, 212, 0.6), inset 0 1px 0 rgba(233, 255, 249, 0.09);
}

.tile--glass {
  background: rgba(10, 36, 30, 0.44);
  -webkit-backdrop-filter: blur(14px) saturate(130%);
  backdrop-filter: blur(14px) saturate(130%);
  box-shadow: inset 0 1px 0 rgba(233, 255, 249, 0.1);
}

.tile--accent { border-color: rgba(255, 107, 44, 0.42); }
.tile--accent:hover { border-color: var(--signal); }

/* ---------- 13. 数据统计 ---------- */
.stat { display: grid; gap: 4px; }

.stat__value {
  font-family: var(--font-mono);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  color: var(--mint);
}

.stat__label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--muted);
}

/* ---------- 14. 图片容器基础规则 ---------- */
.media-frame {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background:
    radial-gradient(120% 90% at 18% 0%, rgba(124, 247, 212, 0.18), transparent 60%),
    linear-gradient(160deg, #0A241E 0%, #04120F 100%);
}

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

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 18, 15, 0) 46%, rgba(4, 18, 15, 0.74) 100%);
  pointer-events: none;
}

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

/* ---------- 15. 面包屑 ---------- */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
}

.breadcrumbs__link {
  color: rgba(233, 255, 249, 0.7);
  transition: color var(--dur-fast) var(--ease);
}

.breadcrumbs__link:hover { color: var(--mint); }
.breadcrumbs__link:focus-visible { outline: 2px solid var(--mint); outline-offset: 2px; border-radius: 3px; }

.breadcrumbs__sep {
  font-family: var(--font-mono);
  color: rgba(143, 168, 162, 0.5);
}

.breadcrumbs__current {
  color: var(--mint);
  font-weight: 600;
}

/* ---------- 16. 焦点与可访问性 ---------- */
:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 2px;
}

@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;
    scroll-behavior: auto !important;
  }

  .tile:hover,
  .tile:focus-within,
  .btn:hover,
  .footer-link:hover { transform: none; }
}

/* ---------- 17. 响应式 ---------- */
@media (min-width: 560px) {
  .header-actions__cta { display: inline-flex; }
}

@media (max-width: 1079px) {
  .header-actions__member { display: none; }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 95;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 18px;
    padding: 18px var(--gutter) 26px;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    background: rgba(6, 26, 21, 0.98);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line-strong);
    box-shadow: 0 34px 64px -44px rgba(0, 0, 0, 0.95);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition:
      opacity var(--dur) var(--ease),
      transform var(--dur) var(--ease),
      visibility 0s linear var(--dur);
  }

  .nav[data-open="true"] {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition:
      opacity var(--dur) var(--ease),
      transform var(--dur) var(--ease),
      visibility 0s;
  }

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

  .nav__link {
    min-height: 50px;
    padding: 0 16px;
    border: 1px solid transparent;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    color: rgba(233, 255, 249, 0.82);
  }

  .nav__link[aria-current="page"] {
    border-color: var(--line-strong);
    background: rgba(124, 247, 212, 0.1);
  }

  .nav__link[aria-current="page"]::after { display: none; }

  .nav__aside {
    display: grid;
    gap: 12px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
  }

  .nav__status {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.08em;
    color: var(--muted);
  }

  .nav__actions {
    display: grid;
    gap: 8px;
  }
}

@media (max-width: 700px) {
  .site-brand__tag { display: none; }
  .footer-brand__statement { max-width: none; }
}

@media (min-width: 720px) {
  .footer-nav { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 900px) {
  .site-footer__top {
    grid-template-columns: minmax(240px, 0.92fr) minmax(0, 2fr);
    align-items: start;
  }
}

@media (min-width: 1080px) {
  .nav-toggle { display: none; }
  .nav__aside { display: none; }
  .header-actions { gap: 12px; }
}

@media (min-width: 1280px) {
  .header-status { display: inline-flex; }
}

@media (min-width: 1200px) {
  .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)); }
}
