/* ==========================================================================
   斗球指南 · 共享外壳样式 /assets/site.css
   战术控制台外壳：纵向时间轴轨道 + 状态栏页脚
   ========================================================================== */

/* ---------- 1. 变量 ---------- */
:root {
  --night-900: #071226;
  --night-700: #0E2A52;
  --violet-600: #2B2350;
  --lime-400: #C7FF3F;
  --mint-200: #DFFFB0;
  --steel-500: #7D8797;
  --warm-100: #F8F5EC;
  --ink-900: #11161D;
  --cyan-500: #35D6C4;
  --orange-500: #FF7A45;

  --edge: rgba(125, 135, 151, 0.28);
  --edge-strong: rgba(125, 135, 151, 0.45);

  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --radius-pill: 999px;

  --rail-w: 108px;
  --topbar-h: 62px;

  --font-display: "PingFang SC", "Hiragino Sans GB", "Source Han Sans SC",
    "Noto Sans SC", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "PingFang SC", "Hiragino Sans GB", "Source Han Sans SC",
    "Noto Sans SC", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas,
    "Liberation Mono", monospace;

  --ease: cubic-bezier(0.2, 0.7, 0.3, 1);
}

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

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-900);
  background-color: var(--warm-100);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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, video, canvas {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
}

button {
  font: inherit;
  color: inherit;
}

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--lime-400);
  outline-offset: 3px;
  border-radius: 8px;
}

/* ---------- 3. 中文排版基调 ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: 0.01em;
}

.prose {
  max-width: 68ch;
  font-size: 17px;
  line-height: 1.8;
  color: var(--ink-900);
}

.prose p + p {
  margin-top: 1em;
}

.prose ul,
.prose ol {
  padding-left: 1.4em;
  list-style: disc;
  margin-top: 0.8em;
}

.prose ol {
  list-style: decimal;
}

.prose h2 {
  margin-top: 1.8em;
  font-size: 30px;
}

.prose h3 {
  margin-top: 1.5em;
  font-size: 22px;
}

/* ---------- 4. 布局容器 ---------- */
.container {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 56px);
}

/* ---------- 5. 跳转链接 ---------- */
.skip-link {
  position: fixed;
  top: -120px;
  left: 14px;
  z-index: 200;
  display: inline-block;
  padding: 11px 20px;
  border-radius: var(--radius-pill);
  background: var(--lime-400);
  color: var(--night-900);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: top 0.2s var(--ease);
}

.skip-link:focus,
.skip-link:focus-visible {
  top: 14px;
}

/* ---------- 6. 头部 ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 70;
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: var(--rail-w);
  padding: 18px 10px 14px;
  background:
    radial-gradient(120% 55% at 50% 0%, rgba(53, 214, 196, 0.14), transparent 62%),
    linear-gradient(180deg, var(--night-900) 0%, #0A1B36 46%, var(--violet-600) 100%);
  border-right: 1px solid rgba(125, 135, 151, 0.24);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
}

.site-header::-webkit-scrollbar {
  display: none;
}

/* 滚动进度 */
.scroll-meter {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 120;
  height: 3px;
  background: rgba(125, 135, 151, 0.16);
  pointer-events: none;
}

.scroll-meter__bar {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--cyan-500), var(--lime-400));
  transform: scaleX(0);
  transform-origin: 0 50%;
  will-change: transform;
}

/* 品牌 */
.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  color: var(--warm-100);
}

.brand__mark {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid rgba(199, 255, 63, 0.6);
  background: radial-gradient(circle at 50% 38%, rgba(199, 255, 63, 0.24), rgba(199, 255, 63, 0.04) 72%);
  color: var(--lime-400);
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease);
}

.brand:hover .brand__mark,
.brand:focus-visible .brand__mark {
  transform: rotate(-8deg) scale(1.05);
  border-color: var(--lime-400);
}

.brand__mark svg {
  width: 22px;
  height: 22px;
}

.brand__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}

.brand__name {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.08em;
}

.brand__tag {
  font-family: var(--font-mono);
  font-size: 9px;
  line-height: 1.2;
  letter-spacing: 0.16em;
  color: var(--steel-500);
}

/* 主导航 */
.nav {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.nav__list {
  display: flex;
  flex-direction: column;
  gap: 3px;
  list-style: none;
}

.nav__item {
  margin: 0;
}

.nav__link {
  position: relative;
  display: block;
  padding: 9px 6px 9px 13px;
  border-radius: var(--radius-sm);
  color: rgba(248, 245, 236, 0.6);
  text-decoration: none;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}

.nav__index {
  display: block;
  font-family: var(--font-mono);
  font-size: 9px;
  line-height: 1.4;
  letter-spacing: 0.1em;
  color: rgba(125, 135, 151, 0.72);
  transition: color 0.2s var(--ease);
}

.nav__label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.01em;
}

.nav__link:hover {
  background: rgba(199, 255, 63, 0.08);
  color: var(--warm-100);
}

.nav__link:hover .nav__index {
  color: var(--lime-400);
}

.nav__link[aria-current="page"] {
  background: rgba(199, 255, 63, 0.1);
  color: var(--lime-400);
}

.nav__link[aria-current="page"] .nav__index {
  color: rgba(199, 255, 63, 0.78);
}

.nav__link[aria-current="page"]::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 50%;
  width: 3px;
  height: 16px;
  border-radius: 2px;
  background: var(--lime-400);
  transform: translateY(-50%);
}

/* 头部工具区 */
.header-utility {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px dashed rgba(125, 135, 151, 0.3);
}

.header-utility__version {
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(199, 255, 63, 0.3);
  background: rgba(199, 255, 63, 0.1);
  color: var(--lime-400);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.header-utility__link {
  padding: 2px 4px;
  border-radius: 6px;
  border-bottom: 1px solid transparent;
  color: rgba(248, 245, 236, 0.62);
  font-size: 11px;
  line-height: 1.4;
  text-decoration: none;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.header-utility__link:hover {
  color: var(--lime-400);
  border-bottom-color: currentColor;
}

/* 导航开关（桌面隐藏） */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(199, 255, 63, 0.42);
  background: rgba(199, 255, 63, 0.1);
  color: var(--lime-400);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.nav-toggle:hover {
  background: rgba(199, 255, 63, 0.2);
}

.nav-toggle__bars {
  display: inline-flex;
  flex-direction: column;
  gap: 3px;
}

.nav-toggle__bars span {
  display: block;
  width: 14px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transform-origin: 50% 50%;
  transition: transform 0.2s var(--ease);
}

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

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

.nav-toggle__text {
  display: inline-block;
  min-width: 2em;
}

/* ---------- 7. 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(48px, 7vw, 96px);
  padding: clamp(26px, 4vw, 44px) clamp(20px, 4vw, 56px) 22px;
  background:
    radial-gradient(85% 55% at 12% 0%, rgba(43, 35, 80, 0.95), transparent 66%),
    radial-gradient(70% 50% at 92% 12%, rgba(14, 42, 82, 0.7), transparent 70%),
    linear-gradient(180deg, var(--night-900) 0%, #08182E 56%, #050D1B 100%);
  color: var(--warm-100);
  border-top: 1px solid rgba(199, 255, 63, 0.3);
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  right: -6%;
  bottom: -58%;
  width: min(680px, 86vw);
  height: min(680px, 86vw);
  border-radius: 50%;
  border: 1px solid rgba(199, 255, 63, 0.14);
  box-shadow:
    inset 0 0 0 1px rgba(53, 214, 196, 0.08),
    0 0 0 1px rgba(53, 214, 196, 0.05);
  pointer-events: none;
}

.footer__status {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  max-width: 1200px;
  margin-inline: auto;
}

.footer__pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(125, 135, 151, 0.35);
  background: rgba(248, 245, 236, 0.05);
  color: rgba(248, 245, 236, 0.82);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.footer__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime-400);
  box-shadow: 0 0 0 3px rgba(199, 255, 63, 0.18);
}

.footer__pill--mint {
  color: var(--mint-200);
  border-color: rgba(223, 255, 176, 0.38);
}

.footer__pill--link {
  color: var(--lime-400);
  border-color: rgba(199, 255, 63, 0.5);
  background: rgba(199, 255, 63, 0.08);
  transition: background-color 0.2s var(--ease);
}

.footer__pill--link:hover {
  background: rgba(199, 255, 63, 0.2);
}

.footer__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1.3fr;
  gap: clamp(20px, 3vw, 44px);
  max-width: 1200px;
  margin: clamp(22px, 4vw, 36px) auto 0;
  padding-top: clamp(20px, 3vw, 32px);
  border-top: 1px solid rgba(125, 135, 151, 0.22);
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--warm-100);
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-decoration: none;
}

.footer__logo::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--lime-400);
  box-shadow: 0 0 0 4px rgba(199, 255, 63, 0.14);
}

.footer__desc {
  max-width: 34ch;
  color: rgba(248, 245, 236, 0.68);
  font-size: 14px;
  line-height: 1.75;
}

.footer__version {
  color: var(--cyan-500);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__col-title {
  color: var(--steel-500);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  list-style: none;
}

.footer__link {
  display: inline-block;
  padding-bottom: 1px;
  border-bottom: 1px solid transparent;
  color: rgba(248, 245, 236, 0.78);
  font-size: 14px;
  line-height: 1.5;
  text-decoration: none;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.footer__link:hover {
  color: var(--lime-400);
  border-bottom-color: rgba(199, 255, 63, 0.6);
  transform: translateX(2px);
}

.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__contact-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: none;
}

.footer__contact-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.footer__label {
  color: var(--steel-500);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
}

.footer__value {
  color: rgba(248, 245, 236, 0.86);
  font-size: 13.5px;
  line-height: 1.5;
  word-break: break-all;
}

.footer__value--mono {
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
}

.copy-btn {
  align-self: flex-start;
  margin-top: 4px;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(53, 214, 196, 0.45);
  background: rgba(53, 214, 196, 0.1);
  color: var(--cyan-500);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.copy-btn:hover {
  background: rgba(53, 214, 196, 0.24);
}

.copy-btn.is-copied {
  border-color: var(--lime-400);
  background: var(--lime-400);
  color: var(--night-900);
}

.footer__bottom {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 22px;
  max-width: 1200px;
  margin: clamp(22px, 4vw, 34px) auto 0;
  padding-top: 16px;
  border-top: 1px solid rgba(125, 135, 151, 0.22);
  color: rgba(125, 135, 151, 0.95);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
}

.footer__copy {
  color: rgba(248, 245, 236, 0.6);
}

.footer__legal {
  color: var(--steel-500);
}

/* ---------- 8. 通用按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background-color 0.2s var(--ease),
    border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn--primary {
  background: var(--lime-400);
  color: var(--night-900);
}

.btn--primary:hover {
  background: var(--mint-200);
}

.btn--ghost {
  border-color: rgba(248, 245, 236, 0.35);
  background: transparent;
  color: var(--warm-100);
}

.btn--ghost:hover {
  border-color: var(--lime-400);
  color: var(--lime-400);
}

.btn--dark {
  background: var(--night-900);
  color: var(--warm-100);
}

.btn--dark:hover {
  background: var(--night-700);
}

/* ---------- 9. 面包屑 ---------- */
.breadcrumb {
  color: var(--steel-500);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
}

.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
}

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

.breadcrumb__item + .breadcrumb__item::before {
  content: "/";
  color: rgba(125, 135, 151, 0.6);
}

.breadcrumb__link {
  border-bottom: 1px solid transparent;
  color: var(--steel-500);
  text-decoration: none;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.breadcrumb__link:hover {
  color: var(--cyan-500);
  border-bottom-color: currentColor;
}

.breadcrumb__current {
  color: var(--ink-900);
  font-weight: 600;
}

/* ---------- 10. 小标签 ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--steel-500);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--lime-400);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border: 1px solid rgba(125, 135, 151, 0.35);
  border-radius: var(--radius-pill);
  background: rgba(125, 135, 151, 0.08);
  color: var(--steel-500);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease),
    border-color 0.2s var(--ease);
}

.tag:hover {
  border-color: var(--cyan-500);
  color: var(--cyan-500);
}

.tag--lime {
  border-color: var(--lime-400);
  background: var(--lime-400);
  color: var(--night-900);
}

.tag--mint {
  border-color: rgba(223, 255, 176, 0.6);
  background: rgba(223, 255, 176, 0.16);
  color: #4c6a12;
}

.tag--cyan {
  border-color: rgba(53, 214, 196, 0.55);
  background: rgba(53, 214, 196, 0.12);
  color: #0b6b62;
}

/* ---------- 11. 图片容器基础规则 ---------- */
.media-frame {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid var(--edge);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(14, 42, 82, 0.96), rgba(43, 35, 80, 0.94) 58%, rgba(7, 18, 38, 0.98));
}

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(248, 245, 236, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(248, 245, 236, 0.08) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: 0.32;
  pointer-events: none;
}

.media-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-frame--wide {
  aspect-ratio: 21 / 9;
}

.media-frame--tall {
  aspect-ratio: 4 / 5;
}

.media-frame--square {
  aspect-ratio: 1 / 1;
}

.media-frame__caption {
  position: absolute;
  left: 16px;
  bottom: 14px;
  z-index: 2;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: rgba(7, 18, 38, 0.72);
  color: rgba(248, 245, 236, 0.82);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
}

/* ---------- 12. 外壳响应式 ---------- */
@media (min-width: 1024px) {
  body {
    padding-left: var(--rail-w);
  }
}

@media (max-width: 1023px) {
  body {
    padding-top: var(--topbar-h);
  }

  .site-header {
    top: 0;
    left: 0;
    right: 0;
    bottom: auto;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    width: auto;
    min-height: var(--topbar-h);
    padding: 9px 14px;
    background: linear-gradient(180deg, rgba(7, 18, 38, 0.99), rgba(7, 18, 38, 0.93));
    border-right: 0;
    border-bottom: 1px solid rgba(125, 135, 151, 0.24);
    overflow: visible;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
  }

  .brand {
    order: 1;
    flex-direction: row;
    align-items: center;
    gap: 10px;
  }

  .brand__mark {
    width: 34px;
    height: 34px;
  }

  .brand__mark svg {
    width: 19px;
    height: 19px;
  }

  .brand__text {
    align-items: flex-start;
  }

  .brand__name {
    font-size: 15px;
  }

  .brand__tag {
    font-size: 9px;
  }

  .header-utility {
    order: 2;
    flex-direction: row;
    align-items: center;
    gap: 0;
    margin: 0 0 0 auto;
    padding: 0;
    border-top: 0;
  }

  .header-utility__link {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
    order: 3;
    margin-left: 2px;
  }

  .nav {
    position: fixed;
    top: var(--topbar-h);
    left: 0;
    right: 0;
    z-index: 80;
    display: none;
    max-height: calc(100vh - var(--topbar-h));
    max-height: calc(100dvh - var(--topbar-h));
    padding: 14px 14px 22px;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: linear-gradient(180deg, #071226 0%, #0E2A52 100%);
    border-bottom: 1px solid rgba(199, 255, 63, 0.35);
    box-shadow: 0 24px 48px rgba(3, 8, 18, 0.55);
  }

  .nav[data-open="true"] {
    display: block;
  }

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

  .nav__link {
    padding: 12px 12px 12px 14px;
    border: 1px solid rgba(125, 135, 151, 0.22);
    border-radius: 14px;
    background: rgba(248, 245, 236, 0.04);
    color: rgba(248, 245, 236, 0.82);
  }

  .nav__link[aria-current="page"] {
    border-color: rgba(199, 255, 63, 0.6);
    background: rgba(199, 255, 63, 0.12);
    color: var(--lime-400);
  }

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

  .nav__index {
    font-size: 10px;
  }

  .nav__label {
    font-size: 14px;
  }

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

  .footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 639px) {
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

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

  .media-frame--wide {
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 420px) {
  .nav__list {
    grid-template-columns: 1fr;
  }

  .brand__tag {
    display: none;
  }
}

/* ---------- 13. 动效偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .btn:hover,
  .footer__link:hover,
  .brand:hover .brand__mark {
    transform: none;
  }

  .scroll-meter__bar {
    will-change: auto;
  }
}
