/* ============================================================
   冠军体育希洪 · 共享样式表 /assets/site.css
   午夜球场数据实验室 × 看台热浪
   ============================================================ */

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

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

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

ul, ol { list-style: none; }

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

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

button, input, select, textarea { font: inherit; color: inherit; }

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

table { border-collapse: collapse; border-spacing: 0; }

:focus-visible {
  outline: 3px solid #C8102E;
  outline-offset: 2px;
  border-radius: 8px;
}

.site-header :focus-visible,
.site-footer :focus-visible,
.section--night :focus-visible {
  outline-color: #00E5FF;
}

/* ---------- 2. 设计令牌 ---------- */
:root {
  --red: #C8102E;
  --red-deep: #8A0A1F;
  --red-glow: rgba(200, 16, 46, .34);
  --white: #FFFFFF;
  --mist: #F4F6F9;
  --navy: #0B1F3A;
  --navy-2: #16294A;
  --cyan: #00E5FF;
  --cyan-soft: #7CE0FF;
  --ink: #101820;
  --slate: #6B7A90;
  --line: #E0E6EF;
  --on-night: rgba(255, 255, 255, .72);

  --font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
    "Source Han Sans SC", "Noto Sans SC", system-ui, -apple-system,
    "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas,
    "Liberation Mono", "Courier New", monospace;

  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-pill: 999px;

  --gutter: 24px;
  --maxw: 1240px;
  --header-h: 78px;

  --shadow-card: 0 8px 24px rgba(11, 31, 58, .12);
  --shadow-float: 0 20px 48px rgba(11, 31, 58, .20);

  --ease: cubic-bezier(.22, .8, .24, 1);
}

/* ---------- 3. 基础排版 ---------- */
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-weight: 900;
  line-height: 1.16;
  letter-spacing: -.015em;
  color: inherit;
}

h1 { font-size: clamp(32px, 5.2vw, 56px); }
h2 { font-size: clamp(24px, 3.2vw, 32px); }
h3 { font-size: 22px; line-height: 1.3; }
h4 { font-size: 17px; line-height: 1.4; }

strong, b { font-weight: 800; }

code, kbd, samp { font-family: var(--font-mono); font-size: .94em; }

/* ---------- 4. 跳至主内容 ---------- */
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  background: var(--red);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .02em;
  box-shadow: var(--shadow-float);
  transform: translateY(-180%);
  transition: transform .22s var(--ease);
}

.skip-link:focus { transform: translateY(0); }
.skip-link:focus-visible { outline-color: var(--navy); }

/* ---------- 5. 页头 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: var(--navy);
  color: #fff;
  transition: box-shadow .3s var(--ease), background-color .3s var(--ease);
}

.site-header[data-scrolled="true"] {
  box-shadow: 0 16px 40px rgba(11, 31, 58, .34);
}

.header-band {
  height: 5px;
  background: repeating-linear-gradient(
    90deg,
    var(--red) 0 22px,
    rgba(255, 255, 255, .92) 22px 30px
  );
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  padding: 14px clamp(16px, 3vw, 40px);
  min-height: var(--header-h);
}

/* 品牌 */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  flex: 0 1 auto;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  flex: 0 0 auto;
}

.brand-mark i {
  display: block;
  width: 5px;
  height: 30px;
  border-radius: 3px;
  background: var(--red);
}

.brand-mark i:nth-child(2),
.brand-mark i:nth-child(4) {
  height: 22px;
  background: rgba(255, 255, 255, .88);
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.brand-name {
  font-size: 20px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: .02em;
  color: #fff;
  white-space: nowrap;
}

.brand-tagline {
  font-size: 12px;
  line-height: 1.2;
  letter-spacing: .1em;
  color: rgba(255, 255, 255, .56);
  white-space: nowrap;
}

/* 导航 */
.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  min-width: 0;
}

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

.nav-list a {
  display: block;
  padding: 9px 14px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 600;
  color: rgba(255, 255, 255, .76);
  white-space: nowrap;
  transition: color .2s var(--ease), background-color .2s var(--ease),
    box-shadow .2s var(--ease);
}

.nav-list a:hover {
  color: #fff;
  background: rgba(255, 255, 255, .1);
}

.nav-list a[aria-current="page"] {
  color: #fff;
  background: var(--red);
  box-shadow: inset 0 0 0 1px rgba(0, 229, 255, .5);
}

.nav-utility {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-left: 26px;
  border-left: 1px solid rgba(255, 255, 255, .16);
}

/* 移动端按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, .3);
  background: rgba(255, 255, 255, .04);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .04em;
  transition: border-color .2s var(--ease), color .2s var(--ease),
    background-color .2s var(--ease);
}

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

.nav-toggle-bars {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 18px;
}

.nav-toggle-bars i {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .24s var(--ease);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars i:first-child {
  transform: translateY(3px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars i:last-child {
  transform: translateY(-3px) rotate(-45deg);
}

.nav-toggle-label { line-height: 1; }

/* 滚动进度线 */
.scroll-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  overflow: hidden;
  background: rgba(255, 255, 255, .1);
}

.scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--red), var(--cyan));
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform .1s linear;
}

/* ---------- 6. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: .02em;
  text-align: center;
  cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease),
    border-color .2s var(--ease), transform .2s var(--ease),
    box-shadow .2s var(--ease);
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 8px 22px var(--red-glow);
}

.btn--primary:hover { background: var(--red-deep); }

.btn--ghost {
  background: rgba(255, 255, 255, .04);
  border-color: rgba(255, 255, 255, .3);
  color: #fff;
}

.btn--ghost:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: rgba(0, 229, 255, .08);
}

.btn--outline {
  background: transparent;
  border-color: var(--red);
  color: var(--red);
}

.btn--outline:hover { background: var(--red); color: #fff; }

.btn--night { background: var(--navy); color: #fff; }
.btn--night:hover { background: var(--navy-2); }

.btn--cyan {
  background: var(--cyan);
  color: var(--navy);
  box-shadow: 0 8px 22px rgba(0, 229, 255, .28);
}

/* ---------- 7. 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: auto;
  background: var(--navy);
  color: var(--on-night);
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: -160px;
  height: 340px;
  pointer-events: none;
  background: radial-gradient(
    60% 100% at 50% 100%,
    rgba(0, 229, 255, .16),
    transparent 72%
  );
}

.footer-stripe {
  height: 6px;
  background: repeating-linear-gradient(
    90deg,
    var(--red) 0 26px,
    rgba(255, 255, 255, .92) 26px 34px
  );
}

.footer-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding: clamp(40px, 5vw, 64px) var(--gutter) 28px;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(200px, 1fr) minmax(0, 2.2fr);
  gap: clamp(28px, 4vw, 64px);
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}

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

.footer-logo {
  font-size: 22px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: .02em;
  color: #fff;
}

.footer-tagline {
  margin-top: 8px;
  font-size: 13px;
  letter-spacing: .08em;
  color: rgba(255, 255, 255, .55);
}

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

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

.footer-col-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .04em;
  color: #fff;
}

.footer-col-title::before {
  content: "";
  flex: 0 0 auto;
  width: 14px;
  height: 3px;
  border-radius: 2px;
  background: var(--cyan);
}

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

.footer-col-list a {
  font-size: 14px;
  color: rgba(255, 255, 255, .68);
  transition: color .2s var(--ease), padding-left .2s var(--ease);
}

.footer-col-list a:hover { color: var(--cyan); padding-left: 4px; }

.footer-contact {
  padding: 26px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.footer-contact-line {
  font-size: 13.5px;
  letter-spacing: .02em;
  color: rgba(255, 255, 255, .68);
}

.footer-contact-line + .footer-contact-line { margin-top: 6px; }

.footer-note {
  margin-top: 10px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, .45);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 22px;
}

.footer-legal,
.footer-copy {
  font-size: 12.5px;
  letter-spacing: .04em;
  color: rgba(255, 255, 255, .45);
}

.footer-legal { font-family: var(--font-mono); }

.to-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: var(--radius-pill);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  transition: border-color .2s var(--ease), color .2s var(--ease),
    background-color .2s var(--ease);
}

.to-top::before {
  content: "↑";
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1;
}

.to-top:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: rgba(0, 229, 255, .08);
}

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

.container--wide { max-width: 1440px; }

.section { padding: clamp(44px, 6vw, 84px) 0; }
.section--tight { padding-top: clamp(24px, 3vw, 40px); padding-bottom: clamp(24px, 3vw, 40px); }
.section--mist { background: var(--mist); }
.section--night {
  background: var(--navy);
  color: rgba(255, 255, 255, .78);
}

.section--night h1,
.section--night h2,
.section--night h3,
.section--night h4 { color: #fff; }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: clamp(24px, 3vw, 40px);
}

.section-head p { max-width: 62ch; }

.section-title { font-size: clamp(26px, 3.4vw, 40px); }

/* ---------- 9. 栅格 ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
}

.col-1 { grid-column: span 1; }
.col-2 { grid-column: span 2; }
.col-3 { grid-column: span 3; }
.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-9 { grid-column: span 9; }
.col-10 { grid-column: span 10; }
.col-11 { grid-column: span 11; }
.col-12 { grid-column: span 12; }

/* ---------- 10. 文本组件 ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--red);
}

.chapter-rule {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--slate);
}

.chapter-rule::before {
  content: "";
  flex: 0 0 auto;
  width: 46px;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--red) 0 62%, var(--cyan) 62% 100%);
}

.section--night .chapter-rule { color: rgba(255, 255, 255, .5); }
.section--night .eyebrow { color: var(--cyan); }

.lede {
  max-width: 58ch;
  font-size: clamp(16px, 1.9vw, 19px);
  line-height: 1.72;
  color: var(--slate);
}

.section--night .lede { color: rgba(255, 255, 255, .7); }

.prose { max-width: 68ch; }
.prose p + p { margin-top: 16px; }

.prose ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 16px 0;
}

.prose li {
  position: relative;
  padding-left: 20px;
}

.prose li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .78em;
  width: 9px;
  height: 2px;
  border-radius: 2px;
  background: var(--red);
}

.note {
  font-size: 13px;
  line-height: 1.7;
  letter-spacing: .02em;
  color: var(--slate);
}

.section--night .note { color: rgba(255, 255, 255, .55); }

.divider {
  height: 1px;
  border: 0;
  margin: 0;
  background: var(--line);
}

/* ---------- 11. 卡片 ---------- */
.card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 2.4vw, 28px);
}

.card--mist {
  background: var(--mist);
  border-color: transparent;
}

.card--night {
  background: var(--navy-2);
  border-color: rgba(255, 255, 255, .1);
  color: rgba(255, 255, 255, .76);
}

.card--night h3,
.card--night h4 { color: #fff; }

.card--score {
  border: 2px solid var(--red);
  border-radius: 26px;
  overflow: hidden;
}

.card--score::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 22px;
  height: 22px;
  pointer-events: none;
  background: linear-gradient(135deg, transparent 0 50%, var(--red) 50% 100%);
}

.card--float { box-shadow: var(--shadow-card); }

/* ---------- 12. 比分与数据 ---------- */
.score {
  display: inline-flex;
  align-items: baseline;
  gap: .12em;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(44px, 8vw, 88px);
  line-height: .9;
  letter-spacing: -.03em;
  color: var(--ink);
}

.score--red { color: var(--red); }

.score--invert {
  padding: .05em .16em .1em;
  border-radius: 16px;
  background: var(--red);
  color: #fff;
}

.score-unit {
  font-size: .3em;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--slate);
}

.metric {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.metric-value {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(26px, 3.4vw, 40px);
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--ink);
}

.metric-label {
  font-size: 12.5px;
  letter-spacing: .06em;
  color: var(--slate);
}

.metric--red .metric-value { color: var(--red); }
.metric--cyan .metric-value { color: var(--cyan); }
.metric--outline .metric-value {
  color: transparent;
  -webkit-text-stroke: 2px var(--red);
}

.section--night .metric-value,
.card--night .metric-value { color: #fff; }
.section--night .metric-label,
.card--night .metric-label { color: rgba(255, 255, 255, .55); }
.card--night .metric--cyan .metric-value { color: var(--cyan); }

.stat-bar {
  position: relative;
  height: 10px;
  border-radius: var(--radius-pill);
  background: var(--line);
  overflow: hidden;
}

.stat-bar > span {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--red), var(--red-deep));
  transform: scaleX(var(--value, .5));
  transform-origin: 0 50%;
  transition: transform .6s var(--ease);
}

.section--night .stat-bar,
.card--night .stat-bar { background: rgba(255, 255, 255, .14); }

.card--night .stat-bar > span,
.section--night .stat-bar > span {
  background: linear-gradient(90deg, var(--cyan), var(--red));
}

.data-table {
  width: 100%;
  font-size: 14px;
}

.data-table th {
  padding: 12px;
  text-align: left;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
  color: var(--slate);
  border-bottom: 1px solid var(--line);
}

.data-table td {
  padding: 13px 12px;
  border-bottom: 1px solid var(--line);
}

.data-table tbody tr:nth-child(even) { background: var(--mist); }

.data-table .num {
  font-family: var(--font-mono);
  font-weight: 700;
}

.index-list { display: flex; flex-direction: column; }

.index-list li {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.index-list .index-no {
  flex: 0 0 auto;
  min-width: 3.2em;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .06em;
  color: var(--slate);
}

.index-list a {
  font-weight: 700;
  color: var(--ink);
  transition: color .2s var(--ease);
}

.index-list a:hover { color: var(--red); }

.index-list .index-meta {
  margin-left: auto;
  font-size: 12.5px;
  color: var(--slate);
  white-space: nowrap;
}

/* ---------- 13. 状态与标签 ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  background: var(--mist);
  color: var(--slate);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
}

.badge--live { background: var(--red); color: #fff; }
.badge--night { background: var(--navy-2); color: var(--cyan); }
.badge--outline {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--slate);
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: #fff;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: border-color .2s var(--ease), background-color .2s var(--ease),
    color .2s var(--ease);
}

.chip:hover { border-color: var(--red); color: var(--red); }

.chip[aria-pressed="true"] {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

/* ---------- 14. 图片容器 ---------- */
.media-frame {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--navy-2);
  isolation: isolate;
}

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

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(11, 31, 58, .18) 0%,
    rgba(11, 31, 58, .62) 100%
  );
  transition: opacity .5s var(--ease);
}

.media-frame--wide { aspect-ratio: 16 / 9; }
.media-frame--tall { aspect-ratio: 4 / 5; }
.media-frame--square { aspect-ratio: 1 / 1; }
.media-frame--bare::after { display: none; }

/* ---------- 15. 面包屑与标签页 ---------- */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 10px;
  padding: 18px 0;
  font-size: 13px;
  color: var(--slate);
}

.breadcrumbs > * + *::before {
  content: "/";
  margin-right: 10px;
  font-family: var(--font-mono);
  color: var(--line);
}

.breadcrumbs a { color: var(--slate); transition: color .2s var(--ease); }
.breadcrumbs a:hover { color: var(--red); }

.tabs { width: 100%; }

.tab-list {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 5px;
  border-radius: var(--radius-pill);
  background: var(--mist);
}

.tab {
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 800;
  color: var(--slate);
  transition: background-color .2s var(--ease), color .2s var(--ease);
}

.tab:hover { color: var(--ink); }

.tab[aria-selected="true"] {
  background: var(--red);
  color: #fff;
}

.tab-panel { padding-top: 24px; }
.tab-panel[hidden] { display: none; }

.section--night .tab-list { background: rgba(255, 255, 255, .08); }
.section--night .tab { color: rgba(255, 255, 255, .7); }
.section--night .tab:hover { color: #fff; }

/* ---------- 16. 响应式 ---------- */
@media (max-width: 1100px) and (min-width: 901px) {
  .nav-list a { padding: 9px 10px; font-size: 14px; }
  .nav-utility { padding-left: 16px; gap: 8px; }
  .site-nav { gap: 16px; }
}

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

  .header-inner {
    gap: 12px;
    padding: 12px 18px;
  }

  .brand-name { font-size: 18px; }
  .brand-tagline { font-size: 11px; }

  .nav-toggle { display: inline-flex; }

  .site-nav {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 95;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, .14);
    background: var(--navy-2);
    box-shadow: var(--shadow-float);
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(calc(100% + 40px));
    transition: transform .32s var(--ease), opacity .24s var(--ease),
      visibility .32s var(--ease);
  }

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

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

  .nav-list a {
    padding: 14px 16px;
    border-radius: 16px;
    font-size: 16px;
  }

  .nav-list a[aria-current="page"] { box-shadow: none; }

  .nav-utility {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-top: 14px;
    padding: 14px 0 0;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, .14);
  }

  .nav-utility .btn { justify-content: center; }

  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 20px; }
}

@media (max-width: 820px) {
  .grid { grid-template-columns: minmax(0, 1fr); }
  .grid > [class*="col-"] { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .brand-mark i { width: 4px; height: 24px; }
  .brand-mark i:nth-child(2),
  .brand-mark i:nth-child(4) { height: 18px; }
  .brand-tagline { display: none; }

  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
  .scroll-progress { height: 2px; }
}

/* ---------- 17. 减弱动效 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }

  .btn:hover { transform: none; }
  .site-nav { transform: none !important; }
}
