/* ==========================================================================
   九游赛场 · 共享样式 /assets/site.css
   夜场转播室基调：墨黑绿底 + 荧光青信号色 + 琥珀/橙燃状态色
   ========================================================================== */

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

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

ul, ol { list-style: none; }

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

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

a { color: inherit; }

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

/* ---------- 2. Tokens ---------- */
:root {
  --c-void: #05130F;
  --c-panel: #0B241C;
  --c-lift: #123A2C;
  --c-cyan: #2BE8B8;
  --c-cyan-soft: #8DFFE2;
  --c-amber: #FFB627;
  --c-orange: #FF7A45;
  --c-text: #F2F7F4;
  --c-muted: #A8C0B6;
  --c-line: #4A6B5E;
  --c-line-soft: rgba(74, 107, 94, 0.42);

  --rail-w: 88px;
  --rail-w-open: 208px;
  --ticker-h: 44px;
  --dock-h: 56px;
  --pad-x: 64px;

  --font-display: "Barlow Condensed", "Oswald", "Archivo Narrow", "Source Han Sans SC", "Noto Sans SC", "PingFang SC", sans-serif;
  --font-body: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;

  --shadow-1: 0 1px 2px rgba(0, 0, 0, 0.45);
  --shadow-2: 0 12px 32px rgba(0, 0, 0, 0.5);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- 3. Base ---------- */
body {
  min-height: 100vh;
  padding-left: var(--rail-w);
  padding-bottom: var(--dock-h);
  background:
    radial-gradient(1200px 620px at 10% -12%, rgba(43, 232, 184, 0.075), transparent 62%),
    radial-gradient(900px 520px at 92% 6%, rgba(255, 182, 39, 0.05), transparent 66%),
    var(--c-void);
  color: var(--c-text);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: 0.005em;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.5;
  background-image: radial-gradient(rgba(242, 247, 244, 0.035) 1px, transparent 1px);
  background-size: 4px 4px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-transform: uppercase;
}

p { max-width: 68ch; }

::selection { background: var(--c-cyan); color: #04140F; }

:focus-visible {
  outline: 2px solid var(--c-cyan);
  outline-offset: 2px;
  border-radius: 2px;
}

/* ---------- 4. 主容器与栅格 ---------- */
#main-content {
  display: block;
  position: relative;
  z-index: 2;
  padding: 8px var(--pad-x) 0;
  max-width: 1440px;
  margin: 0 auto;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
}

.bleed {
  margin-left: calc(var(--pad-x) * -1);
  margin-right: calc(var(--pad-x) * -1);
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

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

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

.rule {
  height: 1px;
  border: 0;
  background: var(--c-line-soft);
}

/* ---------- 5. 文本层级 ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-cyan);
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--c-line-soft);
  margin-bottom: 28px;
}

.section-head__title {
  font-size: clamp(22px, 2.4vw, 32px);
  color: var(--c-text);
}

.section-head__meta {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-muted);
  white-space: nowrap;
}

.num {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 1.25em;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
  color: var(--c-cyan);
}

.annotation {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--c-muted);
}

.tag {
  display: inline-block;
  padding: 3px 9px;
  border: 1px solid var(--c-line);
  border-radius: 2px;
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-muted);
}

/* ---------- 6. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.btn--cyan { background: var(--c-cyan); border-color: var(--c-cyan); color: #04140F; }
.btn--cyan:hover { background: var(--c-cyan-soft); border-color: var(--c-cyan-soft); }

.btn--amber { background: transparent; border-color: var(--c-amber); color: var(--c-amber); }
.btn--amber:hover { background: var(--c-amber); color: #231500; }

.btn--ghost { background: transparent; border-color: var(--c-line); color: var(--c-text); }
.btn--ghost:hover { border-color: var(--c-cyan); color: var(--c-cyan); }

/* ---------- 7. 状态色 ---------- */
.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 8px;
  border: 1px solid currentColor;
  border-radius: 2px;
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 160ms ease, border-color 160ms ease;
}

.status--done { color: var(--c-amber); }
.status--loan { color: var(--c-orange); }
.status--free { color: var(--c-cyan); }

/* ---------- 8. 面板 ---------- */
.panel {
  padding: 24px;
  border: 1px solid var(--c-line-soft);
  border-radius: 2px;
  background: var(--c-panel);
  box-shadow: var(--shadow-1);
}

.panel--lift { background: var(--c-lift); }

/* ---------- 9. Skip link ---------- */
.skip-link {
  position: fixed;
  left: 12px;
  top: -120px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 2px;
  background: var(--c-cyan);
  color: #04140F;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: top 160ms var(--ease);
}

.skip-link:focus { top: 12px; }

/* ---------- 10. Header / 即时比分带 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 70;
  height: var(--ticker-h);
}

.ticker {
  display: flex;
  align-items: center;
  gap: 20px;
  height: var(--ticker-h);
  padding: 0 20px 0 16px;
  background: linear-gradient(180deg, rgba(18, 58, 44, 0.97), rgba(11, 36, 28, 0.99));
  border-bottom: 1px solid var(--c-line);
  box-shadow: var(--shadow-1);
}

.ticker__lead {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 0 0 auto;
  padding-right: 20px;
  border-right: 1px solid var(--c-line-soft);
  height: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--c-text);
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 1px;
  background: var(--c-cyan);
  color: #04140F;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  line-height: 1;
}

.brand__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.brand:hover .brand__name { color: var(--c-cyan); }

.ticker__window {
  font-size: 12px;
  color: var(--c-muted);
  white-space: nowrap;
  max-width: none;
}

.ticker__window .num { font-size: 13px; }

.ticker__viewport {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent);
  mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent);
}

.ticker__track {
  display: flex;
  align-items: center;
  gap: 34px;
  width: max-content;
}

.ticker__track[data-marquee] {
  animation: ticker-scroll 42s linear infinite;
}

.ticker__viewport:hover .ticker__track[data-marquee] { animation-play-state: paused; }

@keyframes ticker-scroll {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

.ticker__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--c-muted);
  white-space: nowrap;
}

.ticker__league {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-cyan);
}

.ticker__vs { color: var(--c-line); }

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

.ticker__score,
.ticker__min {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.ticker__score { color: var(--c-text); }
.ticker__min { color: var(--c-amber); font-size: 11.5px; }

.ticker__cta { flex: 0 0 auto; padding: 8px 14px; font-size: 13px; }

/* ---------- 11. 侧边轨道导航 ---------- */
.rail {
  position: fixed;
  left: 0;
  top: var(--ticker-h);
  bottom: 0;
  z-index: 65;
  width: var(--rail-w);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px 0 20px;
  overflow: hidden;
  background: linear-gradient(180deg, #0B241C, #05130F 72%);
  border-right: 1px solid var(--c-line);
  transition: width 220ms var(--ease), box-shadow 220ms var(--ease);
}

.rail:hover,
.rail:focus-within {
  width: var(--rail-w-open);
  box-shadow: var(--shadow-2);
}

.rail__list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.rail__link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  height: 52px;
  padding-left: 32px;
  color: var(--c-muted);
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
  transition: color 160ms ease, background 160ms ease;
}

.rail__icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  color: currentColor;
}

.rail__label {
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 180ms var(--ease), transform 180ms var(--ease);
}

.rail:hover .rail__label,
.rail:focus-within .rail__label { opacity: 1; transform: none; }

.rail__link:hover {
  color: var(--c-cyan-soft);
  background: rgba(43, 232, 184, 0.06);
}

.rail__link[aria-current="page"] { color: var(--c-cyan); }

.rail__link[aria-current="page"]::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  bottom: 11px;
  width: 3px;
  border-radius: 0 2px 2px 0;
  background: var(--c-cyan);
}

.rail__foot {
  padding: 0 32px;
  font-size: 11px;
  line-height: 1.6;
  letter-spacing: 0.04em;
  color: var(--c-muted);
  opacity: 0;
  transition: opacity 180ms var(--ease);
}

.rail:hover .rail__foot,
.rail:focus-within .rail__foot { opacity: 1; }

/* ---------- 12. 移动导航按钮 / 遮罩 ---------- */
.nav-toggle {
  position: fixed;
  left: 0;
  top: calc(50% - 30px);
  z-index: 80;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 46px;
  height: 60px;
  padding: 0;
  border: 1px solid var(--c-line);
  border-left: 0;
  border-radius: 0 10px 10px 0;
  background: var(--c-lift);
  color: var(--c-cyan);
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease;
}

.nav-toggle:hover { background: #17432F; }

.nav-toggle__bars {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 18px;
}

.nav-toggle__bars span {
  display: block;
  height: 1.5px;
  background: currentColor;
  transition: transform 200ms var(--ease), opacity 160ms ease;
}

.nav-toggle__label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-header[data-open] .nav-toggle__bars span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.site-header[data-open] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.site-header[data-open] .nav-toggle__bars span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

.nav-scrim {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  opacity: 0;
  pointer-events: none;
  background: rgba(5, 19, 15, 0.62);
  transition: opacity 220ms var(--ease);
}

.site-header[data-open] .nav-scrim { opacity: 1; pointer-events: auto; }

/* ---------- 13. 底部订阅胶囊 ---------- */
.sub-dock {
  position: fixed;
  left: var(--rail-w);
  right: 0;
  bottom: 0;
  z-index: 70;
  height: var(--dock-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 24px;
  background: linear-gradient(90deg, rgba(18, 58, 44, 0.97), rgba(11, 36, 28, 0.98));
  border-top: 1px solid var(--c-line);
  box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.45);
}

.sub-dock__text {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: var(--c-text);
  max-width: none;
}

.sub-dock__dot {
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--c-cyan);
  box-shadow: 0 0 0 4px rgba(43, 232, 184, 0.14);
  animation: dock-pulse 2.4s ease-in-out infinite;
}

@keyframes dock-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

/* ---------- 14. Footer ---------- */
.site-footer {
  position: relative;
  z-index: 2;
  margin-top: 96px;
  padding: 56px var(--pad-x) calc(var(--dock-h) + 28px);
  background: linear-gradient(180deg, #0B241C, #05130F);
  border-top: 1px solid var(--c-line);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 32px;
  max-width: 1280px;
  margin: 0 auto;
}

.footer__brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-text);
}

.footer__brand-mark::before {
  content: "";
  width: 10px;
  height: 10px;
  background: var(--c-cyan);
  transform: rotate(45deg);
}

.footer__tag {
  margin-top: 14px;
  font-size: 13.5px;
  color: var(--c-muted);
  max-width: 34ch;
}

.footer__note {
  margin-top: 10px;
  font-size: 12px;
  color: var(--c-muted);
  opacity: 0.75;
  max-width: 34ch;
}

.footer__col-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-cyan);
  margin-bottom: 16px;
}

.footer__list {
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 13.5px;
  color: var(--c-muted);
}

.footer__list a {
  color: var(--c-muted);
  text-decoration: none;
  transition: color 160ms ease;
}

.footer__list a:hover { color: var(--c-cyan-soft); }

.footer__list--contact { gap: 12px; }

.footer__list--contact li { line-height: 1.6; }

.footer__k {
  display: block;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-line);
  margin-bottom: 2px;
}

.footer__compliance {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 24px;
  max-width: 1280px;
  margin: 44px auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--c-line-soft);
  font-size: 12px;
  color: var(--c-muted);
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer__legal a {
  color: var(--c-muted);
  text-decoration: none;
  transition: color 160ms ease;
}

.footer__legal a:hover { color: var(--c-cyan); }

.footer__icp {
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
  max-width: none;
}

.footer__copy {
  margin-left: auto;
  max-width: none;
}

/* ---------- 15. 面包屑 ---------- */
.breadcrumb {
  padding-top: 20px;
  font-size: 12.5px;
  color: var(--c-muted);
}

.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.breadcrumb__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb__item::after {
  content: "/";
  color: var(--c-line);
}

.breadcrumb__item:last-child::after { content: ""; }

.breadcrumb__item a {
  color: var(--c-muted);
  text-decoration: none;
  transition: color 160ms ease;
}

.breadcrumb__item a:hover { color: var(--c-cyan); }

.breadcrumb__item[aria-current="page"] { color: var(--c-text); }

/* ---------- 16. 可展开内容组 ---------- */
.expandable {
  border-top: 1px solid var(--c-line-soft);
}

.expandable:last-child { border-bottom: 1px solid var(--c-line-soft); }

.expandable__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 18px 4px;
  border: 0;
  background: none;
  color: var(--c-text);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: color 160ms ease;
}

.expandable__trigger:hover { color: var(--c-cyan-soft); }

.expandable__trigger[aria-expanded="true"] { color: var(--c-cyan); }

.expandable__label { max-width: 62ch; }

.expandable__chev {
  position: relative;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  border: 1px solid var(--c-line);
  border-radius: 50%;
  transition: transform 220ms var(--ease), border-color 160ms ease;
}

.expandable__chev::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 7px;
  width: 4px;
  height: 4px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
}

.expandable__trigger[aria-expanded="true"] .expandable__chev {
  transform: rotate(180deg);
  border-color: var(--c-cyan);
}

.expandable__panel {
  padding: 0 4px 22px;
  animation: panel-in 220ms var(--ease) both;
}

.expandable__panel[hidden] { display: none; }

@keyframes panel-in {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: none; }
}

/* ---------- 17. 坐标索引 ---------- */
.index-rail {
  position: sticky;
  top: calc(var(--ticker-h) + 24px);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.index-rail__link {
  padding: 6px 0 6px 14px;
  border-left: 1px solid var(--c-line-soft);
  font-size: 12.5px;
  color: var(--c-muted);
  text-decoration: none;
  transition: color 160ms ease, border-color 160ms ease;
}

.index-rail__link:hover { color: var(--c-text); }

.index-rail__link[aria-current="true"] {
  padding-left: 13px;
  border-left: 2px solid var(--c-cyan);
  color: var(--c-cyan);
}

/* ---------- 18. 图片容器基础规则 ---------- */
.figure-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--c-line-soft);
  border-radius: 2px;
  background:
    linear-gradient(150deg, #123A2C 0%, #0B241C 52%, #05130F 100%);
}

.figure-frame--rail { aspect-ratio: 3 / 4; }
.figure-frame--wide { aspect-ratio: 16 / 9; }

.figure-frame__img,
.figure-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.06);
}

.figure-frame__num {
  position: absolute;
  right: 12px;
  bottom: 2px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(48px, 7vw, 104px);
  line-height: 0.8;
  letter-spacing: -0.02em;
  color: rgba(43, 232, 184, 0.22);
  pointer-events: none;
}

.figure-frame__abbr {
  position: absolute;
  left: 12px;
  top: 12px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-cyan);
}

/* ---------- 19. 滚动显现 ---------- */
.reveal { transition: opacity 200ms var(--ease), transform 200ms var(--ease); }

html[data-reveal="on"] .reveal {
  opacity: 0;
  transform: translateY(8px);
}

html[data-reveal="on"] .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- 20. 响应式 ---------- */
@media (max-width: 1024px) {
  :root { --pad-x: 24px; }

  body { padding-left: 0; }

  .nav-toggle { display: flex; }

  .nav-scrim { display: block; }

  .rail {
    top: 0;
    bottom: 0;
    z-index: 75;
    width: 264px;
    padding: 76px 0 24px;
    transform: translateX(-100%);
    box-shadow: var(--shadow-2);
    transition: transform 240ms var(--ease);
  }

  .rail:hover,
  .rail:focus-within {
    width: 264px;
    box-shadow: var(--shadow-2);
  }

  .rail__label,
  .rail__foot { opacity: 1; transform: none; }

  .site-header[data-open] .rail { transform: none; }

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

  .footer__inner { grid-template-columns: 1fr 1fr; gap: 32px 24px; }

  .sub-dock {
    left: 16px;
    right: 16px;
    bottom: 12px;
    height: auto;
    padding: 10px 12px 10px 16px;
    border: 1px solid var(--c-line);
    border-radius: 28px;
    box-shadow: var(--shadow-2);
  }

  body { padding-bottom: 88px; }

  .site-footer { padding-bottom: calc(var(--dock-h) + 56px); }
}

@media (max-width: 900px) {
  .ticker__window { display: none; }
}

@media (max-width: 640px) {
  body { font-size: 15.5px; }

  .span-3, .span-4, .span-5, .span-6 { grid-column: span 12; }

  .ticker { gap: 12px; padding: 0 12px; }
  .ticker__lead { padding-right: 12px; gap: 10px; }
  .brand__name { font-size: 15px; }
  .ticker__cta { padding: 7px 10px; font-size: 12px; }
  .ticker__track { gap: 24px; }

  .section-head { flex-direction: column; align-items: flex-start; gap: 8px; }

  .footer__inner { grid-template-columns: 1fr; }

  .footer__copy { margin-left: 0; }

  .sub-dock__text { font-size: 12.5px; }
}

/* ---------- 21. 可访问性偏好 ---------- */
@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;
  }

  .reveal,
  html[data-reveal="on"] .reveal {
    opacity: 1 !important;
    transform: none !important;
  }

  .ticker__track[data-marquee] {
    animation: none !important;
    transform: none !important;
  }

  .ticker__viewport {
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .sub-dock__dot { animation: none !important; }
}
