/* ============================================================
   /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, h6,
p, figure, blockquote, dl, dd, ul, ol, pre {
  margin: 0;
}

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

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

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

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

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

/* ---------- 2. 变量 ---------- */
:root {
  --void: #060A16;
  --panel: #0D1329;
  --card: #151D3D;
  --line: #2A3459;
  --violet: #7A5CFF;
  --cyan: #2EE6D6;
  --gold: #F6C453;
  --paper: #F3EEE2;
  --muted: #A5AECF;
  --flame: #FF6B4A;

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

  --dur: 200ms;
  --dur-fast: 160ms;
  --ease: cubic-bezier(.4, 0, .2, 1);
  --gut: clamp(1.1rem, 4vw, 2.4rem);
  --pad-y: clamp(2.4rem, 6vw, 5rem);
  --shadow-hard: 8px 8px 0 rgba(42, 52, 89, .55);
}

/* ---------- 3. 基础排版 ---------- */
body {
  min-height: 100vh;
  background: var(--void);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(42, 52, 89, .30) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(42, 52, 89, .30) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(130% 95% at 50% -10%, #000 25%, transparent 88%);
  mask-image: radial-gradient(130% 95% at 50% -10%, #000 25%, transparent 88%);
}

main,
.site-header,
.site-footer { position: relative; z-index: 1; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -.01em;
  color: var(--paper);
}

h1 { font-size: clamp(2.2rem, 5.5vw, 4.6rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.6rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.5rem); }

p { color: var(--muted); }

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
}

#main-content {
  display: block;
  scroll-margin-top: 96px;
}

#main-content:focus { outline: none; }

/* ---------- 4. 布局与网格 ---------- */
.wrap {
  width: min(1240px, calc(100% - var(--gut) * 2));
  margin-inline: auto;
}

.grid { display: grid; gap: clamp(1rem, 2vw, 1.6rem); }
.grid--12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--auto { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.blueprint-grid {
  background-image:
    linear-gradient(to right, rgba(42, 52, 89, .35) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(42, 52, 89, .35) 1px, transparent 1px);
  background-size: 64px 64px;
}

.section {
  position: relative;
  padding: var(--pad-y) 0;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
  margin-bottom: clamp(1.4rem, 3vw, 2.4rem);
  border-bottom: 2px solid var(--line);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.4vw, 2.6rem);
}

.section-note {
  font-size: .86rem;
  color: var(--muted);
  max-width: 46ch;
}

.divider {
  display: block;
  height: 2px;
  border: 0;
  margin: clamp(1.6rem, 4vw, 3rem) 0;
  background: linear-gradient(90deg, var(--cyan), var(--line) 42%, transparent);
}

/* ---------- 5. 文字工具 ---------- */
.num,
.mono {
  font-family: var(--font-num);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}

.num { color: var(--gold); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-num);
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--cyan);
}

.annot {
  font-size: 12px;
  letter-spacing: .16em;
  color: var(--muted);
  writing-mode: vertical-rl;
}

.annot--rot { writing-mode: horizontal-tb; transform: rotate(-90deg); transform-origin: left top; }

.prose {
  max-width: 68ch;
  color: var(--muted);
}

.prose p + p { margin-top: 1rem; }
.prose h2, .prose h3 { margin: 2rem 0 .8rem; color: var(--paper); }
.prose strong { color: var(--paper); font-weight: 700; }
.prose a { color: var(--cyan); border-bottom: 1px solid rgba(46, 230, 214, .45); }
.prose a:hover { color: var(--gold); border-color: var(--gold); }
.prose ul { margin: 1rem 0 0; }
.prose ul li { position: relative; padding-left: 1.2rem; }
.prose ul li + li { margin-top: .45rem; }
.prose ul li::before {
  content: "";
  position: absolute;
  left: 0; top: .78em;
  width: 8px; height: 2px;
  background: var(--violet);
}

/* ---------- 6. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6em;
  padding: .82rem 1.35rem;
  border: 2px solid var(--line);
  background: var(--card);
  color: var(--paper);
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .02em;
  cursor: pointer;
  box-shadow: 5px 5px 0 rgba(42, 52, 89, .85);
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease), background var(--dur) var(--ease),
    color var(--dur) var(--ease);
}

.btn:hover {
  border-color: var(--cyan);
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 rgba(46, 230, 214, .28);
}

.btn:active {
  transform: translate(1px, 1px);
  box-shadow: 2px 2px 0 rgba(42, 52, 89, .9);
}

.btn--solid {
  background: linear-gradient(120deg, var(--violet), #3A28A8 90%);
  border-color: #9A86FF;
  color: #FFFFFF;
}

.btn--solid:hover { border-color: var(--cyan); box-shadow: 8px 8px 0 rgba(46, 230, 214, .32); }

.btn--gold {
  background: linear-gradient(120deg, var(--gold), #D69A22 90%);
  border-color: #FFE39B;
  color: #101425;
}

.btn--gold:hover { border-color: var(--cyan); box-shadow: 8px 8px 0 rgba(46, 230, 214, .32); }

/* ---------- 7. 徽标 / 状态标签 ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .22rem .55rem;
  border: 1px solid var(--line);
  background: rgba(21, 29, 61, .85);
  font-family: var(--font-num);
  font-size: .68rem;
  letter-spacing: .12em;
  color: var(--muted);
  white-space: nowrap;
}

.tag--home { border-color: var(--violet); color: #B9A8FF; }
.tag--away { border-color: var(--cyan); color: var(--cyan); }
.tag--live { border-color: var(--flame); color: var(--flame); }

/* ---------- 8. 卡片 / 数据块 ---------- */
.card {
  position: relative;
  padding: clamp(1.1rem, 2vw, 1.6rem);
  border: 2px solid var(--line);
  background: var(--card);
  box-shadow: var(--shadow-hard);
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease);
}

.card:hover {
  border-color: var(--cyan);
  transform: translate(-3px, -3px);
  box-shadow: 11px 11px 0 rgba(46, 230, 214, .18);
}

.card-title {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  color: var(--paper);
  margin-bottom: .5rem;
}

.card-text { font-size: .95rem; color: var(--muted); }

.stat { display: flex; flex-direction: column; gap: .25rem; }

.stat-value {
  font-family: var(--font-num);
  font-variant-numeric: tabular-nums;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1;
  color: var(--gold);
}

.stat-label {
  font-size: 12px;
  letter-spacing: .16em;
  color: var(--muted);
}

/* ---------- 9. 图片容器基础规则 ---------- */
.media-frame {
  position: relative;
  display: block;
  overflow: hidden;
  border: 2px solid var(--line);
  background-color: var(--card);
  background-image: linear-gradient(135deg, #0F1733 0%, #1A2450 55%, #2A1F57 100%);
  aspect-ratio: 16 / 9;
  box-shadow: var(--shadow-hard);
}

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

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .55;
  background-image:
    linear-gradient(to right, rgba(46, 230, 214, .12) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(122, 92, 255, .12) 1px, transparent 1px);
  background-size: 48px 48px;
}

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

/* ---------- 10. 横向滑轨（轮次轴 / 时间线） ---------- */
.rail {
  display: flex;
  gap: .75rem;
  overflow-x: auto;
  padding-bottom: .7rem;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  cursor: grab;
}

.rail > * {
  flex: 0 0 auto;
  scroll-snap-align: start;
}

.rail[data-dragging] { cursor: grabbing; user-select: none; }

.rail::-webkit-scrollbar { height: 6px; }
.rail::-webkit-scrollbar-track { background: rgba(42, 52, 89, .4); }
.rail::-webkit-scrollbar-thumb { background: var(--line); }
.rail::-webkit-scrollbar-thumb:hover { background: var(--violet); }

/* ---------- 11. 面包屑 ---------- */
.breadcrumb {
  padding-top: 1.2rem;
  font-family: var(--font-num);
  font-size: .72rem;
  letter-spacing: .12em;
  color: var(--muted);
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
}

.breadcrumb li + li::before {
  content: "/";
  margin-right: .5rem;
  color: var(--line);
}

.crumb-link { transition: color var(--dur-fast) var(--ease); }
.crumb-link:hover { color: var(--cyan); }

/* ============================================================
   12. 头部命令栏
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  isolation: isolate;
  background: rgba(6, 10, 22, .94);
  border-bottom: 2px solid var(--line);
  color: var(--paper);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(60% 150% at 10% -40%, rgba(122, 92, 255, .34), transparent 70%),
    radial-gradient(50% 130% at 90% -50%, rgba(46, 230, 214, .20), transparent 70%);
}

.header-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(.8rem, 2vw, 2rem);
  padding: .72rem 0;
  transition: padding var(--dur) var(--ease);
}

.site-header[data-compact] .header-inner { padding: .34rem 0; }

/* 品牌 */
.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  flex: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: none;
  border: 2px solid var(--line);
  background: linear-gradient(140deg, var(--violet), #221A55 72%);
  color: #FFFFFF;
  font-family: var(--font-num);
  font-size: .8rem;
  letter-spacing: .06em;
  box-shadow: 4px 4px 0 rgba(46, 230, 214, .28);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.brand:hover .brand-mark {
  border-color: var(--cyan);
  box-shadow: 6px 6px 0 rgba(46, 230, 214, .45);
}

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

.brand-name {
  font-family: var(--font-display);
  font-size: 1.14rem;
  font-weight: 800;
  letter-spacing: .02em;
  color: var(--paper);
}

.brand-name b { color: var(--cyan); font-weight: 800; }

.brand-sub {
  font-size: 11px;
  letter-spacing: .18em;
  color: var(--muted);
}

/* 导航 */
.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(.4rem, 1.2vw, 1.2rem);
  min-width: 0;
}

.nav-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: clamp(.1rem, .8vw, .8rem);
}

.nav-link {
  display: inline-flex;
  align-items: baseline;
  gap: .45rem;
  padding: .45rem .6rem;
  border-bottom: 2px solid transparent;
  font-size: .92rem;
  font-weight: 600;
  color: var(--muted);
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease),
    background var(--dur) var(--ease);
}

.nav-index {
  font-family: var(--font-num);
  font-size: .68rem;
  letter-spacing: .04em;
  color: var(--violet);
  transition: color var(--dur) var(--ease);
}

.nav-link:hover {
  color: var(--paper);
  border-color: var(--cyan);
  background: rgba(46, 230, 214, .07);
}

.nav-link:hover .nav-index { color: var(--cyan); }

.nav-link[aria-current="page"] {
  color: var(--gold);
  border-color: var(--gold);
  background: rgba(246, 196, 83, .09);
}

.nav-link[aria-current="page"] .nav-index { color: var(--gold); }

.nav-cta {
  flex: none;
  display: inline-flex;
  align-items: center;
  padding: .5rem .9rem;
  border: 2px solid var(--violet);
  background: rgba(122, 92, 255, .16);
  font-size: .82rem;
  font-weight: 700;
  color: var(--paper);
  box-shadow: 3px 3px 0 rgba(122, 92, 255, .38);
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease), color var(--dur) var(--ease);
}

.nav-cta:hover {
  background: var(--violet);
  border-color: var(--cyan);
  color: #FFFFFF;
  box-shadow: 5px 5px 0 rgba(46, 230, 214, .4);
}

/* 状态面板 */
.header-status {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .3rem .7rem;
  border-left: 2px solid var(--line);
  font-family: var(--font-num);
  font-size: .72rem;
  letter-spacing: .08em;
  white-space: nowrap;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 3px rgba(46, 230, 214, .18);
  animation: statusPulse 2.4s var(--ease) infinite;
}

@keyframes statusPulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(46, 230, 214, .18); }
  50% { box-shadow: 0 0 0 8px rgba(46, 230, 214, 0); }
}

.status-item { display: inline-flex; align-items: baseline; gap: .35rem; }
.status-key { color: var(--muted); }
.status-val { color: var(--gold); }

/* 阅读进度 */
.scroll-progress {
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--violet), var(--cyan) 68%, var(--gold));
  transition: transform 120ms linear;
}

/* 移动按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: .55rem;
  padding: .5rem .7rem;
  border: 2px solid var(--line);
  background: var(--card);
  color: var(--paper);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  cursor: pointer;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}

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

.nav-toggle-lines { display: grid; gap: 3px; width: 18px; }

.nav-toggle-lines i {
  display: block;
  height: 2px;
  background: var(--cyan);
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-lines i:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-lines i:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-lines i:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* 跳转链接 */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -140%;
  z-index: 120;
  padding: .7rem 1.1rem;
  border: 2px solid #101425;
  background: var(--gold);
  color: #101425;
  font-weight: 700;
  transition: top var(--dur-fast) var(--ease);
}

.skip-link:focus { top: .6rem; }

/* ============================================================
   13. 页脚
   ============================================================ */
.site-footer {
  position: relative;
  margin-top: clamp(3rem, 8vw, 6rem);
  border-top: 2px solid var(--line);
  background: var(--panel);
  color: var(--muted);
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(70% 120% at 88% -20%, rgba(122, 92, 255, .18), transparent 70%),
    radial-gradient(60% 110% at 4% 110%, rgba(46, 230, 214, .10), transparent 72%);
}

.footer-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: clamp(1.6rem, 3vw, 3rem);
  padding: clamp(2.4rem, 5vw, 4rem) 0;
}

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

.brand--footer { margin-bottom: 1rem; }

.footer-note {
  max-width: 34ch;
  font-size: .9rem;
  line-height: 1.7;
  color: var(--muted);
}

.footer-coord {
  margin-top: .9rem;
  font-family: var(--font-num);
  font-size: 11px;
  letter-spacing: .18em;
  color: var(--line);
}

.footer-title {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: 1rem;
  font-family: var(--font-display);
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .2em;
  color: var(--paper);
}

.footer-title::after {
  content: "";
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, var(--line), transparent);
}

.footer-list li + li { margin-top: .55rem; }

.footer-list a {
  display: inline-block;
  font-size: .92rem;
  color: var(--muted);
  border-bottom: 1px solid transparent;
  transition: color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease),
    padding-left var(--dur-fast) var(--ease);
}

.footer-list a:hover {
  color: var(--paper);
  border-color: var(--cyan);
  padding-left: .35rem;
}

/* 联系方式 */
.contact-list { font-size: .9rem; }

.contact-key {
  font-family: var(--font-num);
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--line);
  margin-top: .9rem;
}

.contact-key:first-child { margin-top: 0; }

.contact-val {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
  color: var(--paper);
  word-break: break-all;
  transition: color var(--dur-fast) var(--ease);
}

.contact-val:hover { color: var(--gold); }

.contact-text { color: inherit; }

.copy-btn {
  padding: .18rem .5rem;
  border: 1px solid var(--line);
  background: rgba(21, 29, 61, .9);
  font-family: var(--font-num);
  font-size: .68rem;
  letter-spacing: .1em;
  color: var(--muted);
  cursor: pointer;
  transition: color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease),
    background var(--dur-fast) var(--ease);
}

.copy-btn:hover,
.copy-btn[data-copied="true"] {
  border-color: var(--cyan);
  color: var(--cyan);
  background: rgba(46, 230, 214, .1);
}

.copy-status {
  font-family: var(--font-num);
  font-size: .68rem;
  letter-spacing: .1em;
  color: var(--cyan);
  min-height: 1em;
}

.footer-base {
  position: relative;
  border-top: 2px solid var(--line);
  background: rgba(6, 10, 22, .6);
}

.footer-base-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .6rem;
  padding: 1rem 0;
  font-family: var(--font-num);
  font-size: .72rem;
  letter-spacing: .1em;
}

.footer-legal { color: var(--muted); }
.footer-icp { color: var(--gold); }

/* ============================================================
   14. 响应式
   ============================================================ */
@media (max-width: 1240px) {
  .header-status .status-item--sm { display: none; }
  .nav-list { gap: .1rem; }
  .nav-link { padding: .45rem .42rem; font-size: .86rem; }
  .nav-index { font-size: .62rem; }
}

@media (max-width: 1080px) {
  .header-inner { grid-template-columns: auto minmax(0, 1fr) auto; gap: .8rem; }
  .brand-sub { display: none; }
  .nav-cta { padding: .45rem .7rem; font-size: .76rem; }
}

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

  .header-inner {
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: .6rem;
    padding: .6rem 0;
  }

  .brand-sub { display: block; }

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

  .header-status {
    display: flex;
    border-left: 0;
    padding: .3rem 0;
  }

  .header-status .status-key { display: none; }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: block;
    padding: .5rem 0 1rem;
    border-bottom: 2px solid var(--cyan);
    background: var(--panel);
    box-shadow: 0 14px 0 rgba(6, 10, 22, .45);
    max-height: calc(100vh - 70px);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease),
      visibility var(--dur) var(--ease);
  }

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

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0 var(--gut);
  }

  .nav-link {
    justify-content: flex-start;
    padding: .9rem .3rem;
    border-bottom: 1px solid var(--line);
    border-left: 3px solid transparent;
    font-size: 1rem;
  }

  .nav-link:hover { background: rgba(46, 230, 214, .06); }

  .nav-link[aria-current="page"] {
    border-left-color: var(--gold);
    border-bottom-color: var(--line);
    padding-left: .8rem;
    background: rgba(246, 196, 83, .08);
  }

  .nav-cta {
    display: flex;
    justify-content: center;
    margin: 1rem var(--gut) 0;
  }

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

@media (max-width: 760px) {
  .grid--2,
  .grid--3,
  .grid--12 { grid-template-columns: minmax(0, 1fr); }

  .brand-mark { width: 36px; height: 36px; font-size: .72rem; }
  .brand-name { font-size: 1rem; }

  .footer-inner { grid-template-columns: minmax(0, 1fr); }
  .footer-base-inner { justify-content: flex-start; }
}

@media (max-width: 420px) {
  .brand-sub { display: none; }
  .nav-toggle-text { display: none; }
}

/* ---------- 15. 动效偏好 ---------- */
@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;
  }

  .card:hover,
  .btn:hover { transform: none; }
}
