/* ============================================================
   BSPORTS体育 · 夜赛档案室 — 共享样式 /assets/site.css
   ============================================================ */

:root {
  --ink: #0B1511;
  --turf: #1F5C3A;
  --turf-bright: #3FAE6A;
  --card-red: #D7263D;
  --card-yellow: #F2C94C;
  --paper: #F4EFE4;
  --cool: #EDF2F0;
  --graphite: #26312B;
  --mist: #A9C3B4;
  --slate: #5F7A85;
  --glass: rgba(255, 255, 255, 0.10);

  --font-display: "Barlow Condensed", "Oswald", "Arial Narrow", "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-num: ui-monospace, "SF Mono", "IBM Plex Mono", Menlo, Consolas, "Courier New", monospace;

  --shell: 1240px;
  --gutter: clamp(16px, 4vw, 48px);
  --header-h: 92px;

  --muted: rgba(244, 239, 228, 0.66);
  --line: rgba(169, 195, 180, 0.24);
  --link: var(--turf-bright);
  --tag-red: #EE7183;
  --tag-green: #63CE8B;

  --radius: 18px;
  --radius-lg: 28px;
}

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

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

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: clamp(16px, 1.05vw, 17.5px);
  line-height: 1.85;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

:focus-visible {
  outline: 2px solid var(--turf-bright);
  outline-offset: 3px;
  border-radius: 6px;
}

::selection { background: var(--turf-bright); color: #07130D; }

/* 主内容让开固定头 */
main { padding-top: clamp(92px, 10vw, 118px); }

/* ---------- 工具类 ---------- */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 50%;
  z-index: 200;
  transform: translate(-50%, -180%);
  padding: 0.6rem 1.1rem;
  border-radius: 999px;
  background: var(--turf-bright);
  color: #06130C;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: transform 0.2s ease;
}
.skip-link:focus-visible { transform: translate(-50%, 0); }

/* ---------- 阅读进度 ---------- */
.read-progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 3px;
  z-index: 120;
  background: rgba(169, 195, 180, 0.14);
  pointer-events: none;
}
.read-progress__bar {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--turf-bright) 0%, var(--card-yellow) 100%);
  transition: transform 0.09s linear;
}

/* ---------- 品牌锁定 ---------- */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  flex: none;
  min-width: 0;
}
.brand__mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 50%;
  border: 1.5px solid rgba(244, 239, 228, 0.44);
}
.brand__mark::before {
  content: "";
  position: absolute;
  top: 3px;
  bottom: 3px;
  left: 50%;
  width: 1px;
  background: rgba(244, 239, 228, 0.22);
}
.brand__circle {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--turf-bright);
  box-shadow: 0 0 0 3px rgba(63, 174, 106, 0.18);
}
.brand__text { display: block; min-width: 0; }
.brand__name {
  display: block;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 15px;
  line-height: 1.12;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.brand__sub {
  display: block;
  margin-top: 2px;
  font-family: var(--font-num);
  font-size: 9.5px;
  letter-spacing: 0.24em;
  color: var(--mist);
  white-space: nowrap;
}
.brand--footer .brand__mark { width: 40px; height: 40px; }
.brand--footer .brand__name { font-size: 17px; }

/* ---------- 头部 ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 12px clamp(10px, 2.4vw, 26px) 0;
}
.header-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(10px, 1.6vw, 22px);
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding: 8px 8px 8px 16px;
  border-radius: 999px;
  background: rgba(11, 21, 17, 0.80);
  border: 1px solid rgba(169, 195, 180, 0.22);
  box-shadow: 0 20px 46px -30px rgba(0, 0, 0, 0.95);
  -webkit-backdrop-filter: blur(16px) saturate(1.15);
  backdrop-filter: blur(16px) saturate(1.15);
  transition: padding 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}
.site-header[data-scrolled="true"] .header-shell {
  padding: 4px 6px 4px 14px;
  background: rgba(11, 21, 17, 0.94);
  border-color: rgba(63, 174, 106, 0.34);
}

/* 导航（移动端为底部胶囊） */
.site-nav {
  position: fixed;
  left: 50%;
  bottom: calc(14px + env(safe-area-inset-bottom, 0px));
  z-index: 110;
  width: min(560px, calc(100% - 24px));
  padding: 10px;
  border-radius: 26px;
  background: rgba(11, 21, 17, 0.96);
  border: 1px solid rgba(169, 195, 180, 0.28);
  box-shadow: 0 26px 60px -26px rgba(0, 0, 0, 0.95);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 140%);
  transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 0.22s ease, visibility 0.22s ease;
}
.site-nav[data-open="true"] {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
.site-nav__list {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 2px;
}
.site-nav__item { display: block; }
.site-nav__link {
  display: block;
  padding: 0.7rem 0.9rem;
  border-radius: 14px;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--paper);
  opacity: 0.86;
  transition: background 0.18s ease, opacity 0.18s ease, color 0.18s ease;
}
.site-nav__link:hover { opacity: 1; background: rgba(255, 255, 255, 0.08); }
.site-nav__link[aria-current="page"] {
  opacity: 1;
  color: var(--paper);
  background: rgba(63, 174, 106, 0.18);
  box-shadow: inset 0 0 0 1px rgba(63, 174, 106, 0.42);
}
.nav-cta {
  display: inline-flex;
  width: 100%;
  justify-content: center;
  margin-top: 8px;
}
.header-cta { display: none; }

/* 移动开关 */
.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(244, 239, 228, 0.26);
  background: rgba(255, 255, 255, 0.04);
  color: var(--paper);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.nav-toggle:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(63, 174, 106, 0.6); }
.nav-toggle__label { font-size: 0.74rem; }
.nav-toggle__bars {
  position: relative;
  display: block;
  width: 14px;
  height: 10px;
}
.nav-toggle__bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle__bars span:nth-child(1) { top: 0; }
.nav-toggle__bars span:nth-child(2) { top: 4.25px; }
.nav-toggle__bars span:nth-child(3) { top: 8.5px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { transform: translateY(4.25px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) { transform: translateY(-4.25px) rotate(-45deg); }

@media (min-width: 1081px) {
  .site-header { padding-top: 16px; }
  .header-shell { padding: 8px 8px 8px 20px; gap: clamp(14px, 1.8vw, 26px); }
  .site-nav {
    position: static;
    display: flex;
    align-items: center;
    gap: 6px;
    width: auto;
    margin-inline: auto;
    padding: 0;
    background: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: none;
  }
  .site-nav__list { flex-direction: row; align-items: center; gap: 2px; }
  .site-nav__link {
    padding: 0.52rem 0.78rem;
    border-radius: 999px;
    font-size: 0.83rem;
  }
  .site-nav__link[aria-current="page"] {
    color: var(--ink);
    background: var(--paper);
    box-shadow: none;
    font-weight: 700;
  }
  .site-nav__link[aria-current="page"]:hover { background: var(--paper); }
  .nav-cta { display: none; }
  .header-cta { display: inline-flex; }
  .nav-toggle { display: none; }
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.62rem 1.05rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.2;
  white-space: nowrap;
  transition: transform 0.18s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--turf-bright); color: #06130C; }
.btn--primary:hover { background: #4FC87D; }
.btn--ghost { border-color: rgba(244, 239, 228, 0.34); color: var(--paper); }
.btn--ghost:hover { border-color: var(--paper); background: rgba(255, 255, 255, 0.08); }
.btn--paper { background: var(--paper); color: var(--graphite); }
.btn--paper:hover { background: #FFFFFF; }
.btn--red { background: var(--card-red); color: #FFFFFF; }
.btn--red:hover { background: #E23A50; }
.btn--block { display: flex; width: 100%; }

/* ---------- 页脚 ---------- */
.site-footer {
  position: relative;
  overflow: hidden;
  margin-top: clamp(48px, 6vw, 96px);
  padding: clamp(48px, 7vw, 92px) var(--gutter) calc(26px + env(safe-area-inset-bottom, 0px));
  background: var(--ink);
  color: var(--paper);
  border-top: 1px solid rgba(169, 195, 180, 0.18);
}
.site-footer::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -150px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  border: 1px solid rgba(169, 195, 180, 0.16);
  pointer-events: none;
}
.site-footer::after {
  content: "";
  position: absolute;
  top: 0;
  right: 128px;
  width: 1px;
  height: 100%;
  background: linear-gradient(180deg, transparent, rgba(169, 195, 180, 0.14), transparent);
  pointer-events: none;
}
.footer-shell {
  position: relative;
  z-index: 1;
  max-width: var(--shell);
  margin-inline: auto;
}
.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(26px, 4vw, 64px);
}
.footer-claim {
  margin-top: 18px;
  max-width: 22em;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(21px, 2.6vw, 30px);
  line-height: 1.24;
  letter-spacing: -0.02em;
  color: var(--paper);
}
.footer-marks {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 22px;
}
.mark {
  display: inline-block;
  width: 10px;
  height: 14px;
  border-radius: 2px;
  flex: none;
}
.mark--green { background: var(--turf-bright); }
.mark--yellow { background: var(--card-yellow); }
.mark--red { background: var(--card-red); }
.footer-marks__text {
  margin-left: 6px;
  font-family: var(--font-num);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--mist);
}
.footer-heading {
  margin-bottom: 16px;
  font-family: var(--font-num);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--mist);
}
.footer-nav__list li + li { margin-top: 2px; }
.footer-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.3rem 0;
  font-size: 0.92rem;
  color: rgba(244, 239, 228, 0.82);
  transition: color 0.18s ease, transform 0.18s ease;
}
.footer-nav__link::before {
  content: "";
  width: 0;
  height: 1px;
  background: var(--turf-bright);
  transition: width 0.2s ease;
}
.footer-nav__link:hover { color: var(--paper); transform: translateX(2px); }
.footer-nav__link:hover::before { width: 12px; }
.footer-nav__link[aria-current="page"] { color: var(--turf-bright); }

.contact-list li {
  display: flex;
  gap: 10px;
  padding: 0.34rem 0;
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(169, 195, 180, 0.12);
}
.contact-list__key {
  flex: none;
  width: 3.2em;
  padding-top: 0.35em;
  font-family: var(--font-num);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: var(--mist);
}
.contact-list__val {
  min-width: 0;
  color: rgba(244, 239, 228, 0.92);
  overflow-wrap: anywhere;
}
.footer-cta { margin-top: 20px; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 28px;
  margin-top: clamp(30px, 5vw, 56px);
  padding-top: 18px;
  border-top: 1px solid rgba(169, 195, 180, 0.16);
  font-size: 0.78rem;
  color: rgba(244, 239, 228, 0.6);
}
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5em;
}
.footer-legal a {
  color: rgba(244, 239, 228, 0.78);
  border-bottom: 1px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease;
}
.footer-legal a:hover { color: var(--turf-bright); border-color: currentColor; }
.footer-copy { color: rgba(244, 239, 228, 0.62); }
.footer-dot { opacity: 0.4; }
.footer-icp {
  font-family: var(--font-num);
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  color: rgba(244, 239, 228, 0.55);
}

@media (max-width: 900px) {
  .footer-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
  .site-footer::after { display: none; }
}
@media (max-width: 600px) {
  .footer-top { grid-template-columns: minmax(0, 1fr); }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

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

.section { padding-block: clamp(44px, 7vw, 104px); }

.section--ink {
  background: var(--ink);
  color: var(--paper);
  --muted: rgba(244, 239, 228, 0.66);
  --line: rgba(169, 195, 180, 0.24);
  --link: var(--turf-bright);
  --tag-red: #EE7183;
  --tag-green: #63CE8B;
}
.section--paper {
  background: var(--paper);
  color: var(--graphite);
  --muted: #5C6B62;
  --line: rgba(38, 49, 43, 0.16);
  --link: var(--turf);
  --tag-red: #B01B30;
  --tag-green: #1F5C3A;
}
.section--cool {
  background: var(--cool);
  color: var(--graphite);
  --muted: #54655D;
  --line: rgba(38, 49, 43, 0.14);
  --link: var(--turf);
  --tag-red: #B01B30;
  --tag-green: #1F5C3A;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(12px, 2vw, 32px);
  margin-bottom: clamp(24px, 3.4vw, 48px);
}
.section-head__aside {
  font-family: var(--font-num);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--muted);
}

/* 左索引右内容 */
.layout-rail {
  display: grid;
  grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: start;
}
.rail {
  position: sticky;
  top: calc(var(--header-h) + 16px);
  padding-left: 16px;
  border-left: 1px solid var(--line);
}
.rail__list li + li { margin-top: 10px; }
.rail__link {
  display: block;
  font-size: 0.86rem;
  color: var(--muted);
  transition: color 0.18s ease;
}
.rail__link:hover { color: var(--link); }
.rail__link[aria-current] { color: var(--link); font-weight: 700; }

@media (max-width: 860px) {
  .layout-rail { grid-template-columns: minmax(0, 1fr); }
  .rail { position: static; }
}

/* ---------- 网格 ---------- */
.grid { display: grid; gap: clamp(16px, 2.4vw, 28px); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.grid--split-rev { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }

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

/* ---------- 排版 ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(44px, 7vw, 104px);
  line-height: 0.94;
  letter-spacing: -0.02em;
  margin: 0;
}
.h2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(28px, 4vw, 56px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 0;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-num);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: currentColor;
  flex: none;
}
.num {
  font-family: var(--font-num);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}
.prose {
  max-width: 34em;
  font-size: clamp(16px, 1.03vw, 17.5px);
  line-height: 1.85;
}
.prose p + p { margin-top: 1.05em; }
.prose strong { font-weight: 700; }
.prose em { font-style: normal; color: var(--link); }
.prose a {
  color: var(--link);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.prose ul, .prose ol { margin-top: 1em; padding-left: 1.2em; }
.prose ul { list-style: square; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: 0.4em; }
.rule {
  height: 1px;
  margin-block: clamp(24px, 4vw, 48px);
  background: var(--line);
  border: 0;
}
.stack > * + * { margin-top: var(--stack, 1.15rem); }

/* ---------- 面包屑 ---------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5em;
  padding-block: 14px;
  font-family: var(--font-num);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--muted);
}
.breadcrumb a { transition: color 0.18s ease; }
.breadcrumb a:hover { color: var(--link); }
.breadcrumb__sep { opacity: 0.5; }
.breadcrumb [aria-current] { color: inherit; }

/* ---------- 卡片 / 玻璃 / 标签 / 数字 ---------- */
.card {
  padding: clamp(18px, 2.4vw, 28px);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
.card:hover {
  transform: translateY(-2px);
  border-color: rgba(63, 174, 106, 0.46);
}
.card--solid {
  background: var(--cool);
  color: var(--graphite);
  --line: rgba(38, 49, 43, 0.14);
  --muted: #54655D;
  --link: var(--turf);
  --tag-red: #B01B30;
  --tag-green: #1F5C3A;
  border-color: rgba(38, 49, 43, 0.12);
}
.card--solid:hover { border-color: rgba(31, 92, 58, 0.42); }

.glass {
  border-radius: var(--radius-lg);
  background: var(--glass);
  border: 1px solid rgba(255, 255, 255, 0.14);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  padding: 0.22em 0.58em;
  border-radius: 6px;
  font-family: var(--font-num);
  font-size: 11px;
  letter-spacing: 0.08em;
  line-height: 1.5;
  background: rgba(169, 195, 180, 0.16);
  color: inherit;
}
.tag--green { background: rgba(63, 174, 106, 0.16); color: var(--tag-green); }
.tag--red { background: rgba(215, 38, 61, 0.16); color: var(--tag-red); }
.tag--yellow { background: var(--card-yellow); color: #21190A; }

.stat { display: block; }
.stat__value {
  display: block;
  font-family: var(--font-num);
  font-weight: 600;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.stat__label {
  display: block;
  margin-top: 8px;
  font-family: var(--font-num);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- 图片容器基础规则 ---------- */
.media {
  position: relative;
  overflow: hidden;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(135deg, #16281E 0%, #0B1511 100%);
}
.media--wide { aspect-ratio: 21 / 9; }
.media--tall { aspect-ratio: 4 / 5; }
.media--square { aspect-ratio: 1 / 1; }
.media__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.media__cap {
  margin-top: 10px;
  font-family: var(--font-num);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.media--pitch::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 50%, transparent 0 21%, rgba(169, 195, 180, 0.3) 21% 21.5%, transparent 21.5%),
    linear-gradient(90deg, transparent calc(50% - 0.5px), rgba(169, 195, 180, 0.24) calc(50% - 0.5px), rgba(169, 195, 180, 0.24) calc(50% + 0.5px), transparent calc(50% + 0.5px)),
    radial-gradient(circle at 50% 50%, rgba(63, 174, 106, 0.16), transparent 62%);
}

/* ---------- 滚动显现 ---------- */
[data-reveal] {
  transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.2, 0.7, 0.2, 1);
}
html[data-js="on"] [data-reveal]:not(.is-visible) {
  opacity: 0;
  transform: translateY(var(--reveal-y, 16px));
}

/* ---------- 响应式微调 ---------- */
@media (max-width: 1080px) {
  main { padding-top: clamp(86px, 15vw, 104px); }
}
@media (max-width: 480px) {
  .header-shell { padding-left: 12px; border-radius: 22px; }
  .brand__mark { width: 30px; height: 30px; }
  .brand__name { font-size: 14px; }
  .brand__sub { font-size: 9px; letter-spacing: 0.2em; }
}

/* ---------- 无障碍动效偏好 ---------- */
@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;
  }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .read-progress__bar { transition: none; }
  .btn:hover, .card:hover, .footer-nav__link:hover { transform: none; }
}
