/* ==========================================================
   火狐体育官方（中国） — 全站共享样式
   ========================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --cream: #F7F1E3;
  --ink-dark: #2E1E12;
  --flame: #FF5A00;
  --deep-blue: #0A1A2A;
  --silver: #C0C0C0;
  --neon: #39FF14;
  --white: #FFFFFF;
  --graphite: #404040;
  --amber: #FFBF00;

  --font-headline: Impact, "Bebas Neue", "Arial Narrow", sans-serif;
  --font-body: Inter, -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  --font-data: "Roboto Mono", "SFMono-Regular", Consolas, "Courier New", monospace;

  --size-hero: clamp(2rem, 5vw, 4rem);
  --size-section: clamp(1.5rem, 3vw, 2.5rem);
  --size-card-title: clamp(1.1rem, 1.6vw, 1.5rem);
  --size-body: clamp(0.9rem, 1.2vw, 1.1rem);
  --size-sm: 0.85rem;
  --size-xs: 0.72rem;

  --radius-xs: 6px;
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 10px rgba(46, 30, 18, 0.08);
  --shadow-md: 0 10px 28px rgba(46, 30, 18, 0.12);
  --shadow-flame: 0 6px 22px rgba(255, 90, 0, 0.3);

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-8: 3rem;
  --space-10: 4rem;

  --sidebar-width: 296px;
  --content-max: 1280px;

  --ease-out: cubic-bezier(0.19, 1, 0.22, 1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: var(--size-body);
  line-height: 1.75;
  color: var(--ink-dark);
  background-color: var(--cream);
  background-image: radial-gradient(rgba(255, 90, 0, 0.04) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

h1, h2, h3, h4 {
  font-family: var(--font-headline);
  font-weight: 700;
  line-height: 1.15;
  color: var(--ink-dark);
  letter-spacing: 0.03em;
}

h1 { font-size: var(--size-hero); }
h2 { font-size: var(--size-section); }
h3 { font-size: var(--size-card-title); }

p { margin-bottom: var(--space-4); }

a {
  color: var(--flame);
  text-decoration: none;
  transition: color 0.25s var(--ease-out), border-color 0.25s var(--ease-out), background-color 0.25s var(--ease-out);
}

a:hover {
  color: var(--amber);
  text-decoration: underline;
  text-underline-offset: 3px;
}

:focus-visible {
  outline: 3px solid var(--neon);
  outline-offset: 2px;
  border-radius: var(--radius-xs);
}

::selection {
  background: var(--flame);
  color: var(--white);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

svg {
  display: block;
  max-width: 100%;
  height: auto;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* ---------- 辅助跳转 ---------- */
.skip-link {
  position: fixed;
  top: var(--space-3);
  left: var(--space-3);
  z-index: 5000;
  padding: var(--space-3) var(--space-5);
  background: var(--flame);
  color: var(--ink-dark);
  font-weight: 700;
  font-size: var(--size-sm);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-flame);
  transform: translateY(calc(-100% - 1.5rem));
  transition: transform 0.3s var(--ease-out);
}

.skip-link:hover {
  color: var(--ink-dark);
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

/* ---------- 滚动进度 ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 6000;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--flame), var(--amber), var(--neon));
  transition: width 0.1s linear;
  pointer-events: none;
}

/* ---------- 头部：侧边导览轨道 ---------- */
.site-header {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  width: var(--sidebar-width);
  padding: var(--space-5) var(--space-4);
  background:
    radial-gradient(circle at 10% 90%, rgba(255, 90, 0, 0.22) 0%, transparent 42%),
    radial-gradient(circle at 100% 0%, rgba(57, 255, 20, 0.06) 0%, transparent 35%),
    var(--deep-blue);
  color: var(--white);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.site-header::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--flame) 0%, var(--amber) 48%, var(--neon) 100%);
  pointer-events: none;
}

.header-topline {
  display: flex;
  align-items: center;
  padding-bottom: var(--space-3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.live-status {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  max-width: 100%;
  padding: 0.35rem 0.8rem;
  border: 1px solid rgba(57, 255, 20, 0.28);
  border-radius: var(--radius-pill);
  background: rgba(57, 255, 20, 0.08);
  font-family: var(--font-data);
  font-size: var(--size-xs);
  font-weight: 600;
  color: var(--neon);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.live-dot {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--neon);
  box-shadow: 0 0 0 0 rgba(57, 255, 20, 0.45);
  animation: live-pulse 2s var(--ease-out) infinite;
}

.live-text {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
}

@keyframes live-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(57, 255, 20, 0.45); }
  50% { box-shadow: 0 0 0 5px rgba(57, 255, 20, 0); }
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--white);
}

.brand-logo:hover {
  color: var(--white);
  text-decoration: none;
}

.brand-mark {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
}

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

.brand-text strong {
  font-family: var(--font-headline);
  font-size: 1.55rem;
  letter-spacing: 0.05em;
  color: var(--white);
}

.brand-text small {
  font-size: 0.66rem;
  color: var(--silver);
  text-transform: uppercase;
  letter-spacing: 0.24em;
}

/* ---------- 导航命令栏 ---------- */
.site-nav {
  display: flex;
  flex: 1 1 auto;
}

.nav-list {
  counter-reset: nav-counter;
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  width: 100%;
  list-style: none;
}

.nav-item {
  list-style: none;
}

.nav-link {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-pill);
  color: var(--silver);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: background-color 0.25s var(--ease-out), color 0.25s var(--ease-out), transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}

.nav-link::before {
  counter-increment: nav-counter;
  content: "/" counter(nav-counter, decimal-leading-zero);
  font-family: var(--font-data);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--flame);
  opacity: 0.5;
  transition: opacity 0.25s;
}

.nav-link:hover {
  background: rgba(255, 90, 0, 0.1);
  color: var(--white);
  transform: translateX(4px);
  text-decoration: none;
}

.nav-link[aria-current="page"] {
  background: var(--flame);
  color: var(--ink-dark);
  box-shadow: var(--shadow-flame);
  transform: translateX(4px);
}

.nav-link[aria-current="page"]::before {
  content: "▶";
  font-size: 0.6rem;
  color: var(--ink-dark);
  opacity: 1;
}

.header-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1);
  margin-top: auto;
  padding-top: var(--space-4);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.meta-chip {
  padding: 0.22rem 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-xs);
  font-family: var(--font-data);
  font-size: 0.6rem;
  letter-spacing: 0.04em;
  color: var(--silver);
}

/* ---------- 移动端导航按钮 ---------- */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
  border: 1px solid rgba(255, 90, 0, 0.6);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  transition: background-color 0.25s var(--ease-out), border-color 0.25s var(--ease-out);
}

.nav-toggle:hover {
  background: rgba(255, 90, 0, 0.18);
  border-color: var(--flame);
}

.toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--flame);
  transition: transform 0.3s var(--ease-out), opacity 0.3s var(--ease-out);
}

.nav-toggle[aria-expanded="true"] .toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .toggle-bar:nth-child(2) {
  opacity: 0;
}

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

/* ---------- 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: var(--space-8);
  padding: var(--space-8) var(--space-5) var(--space-4);
  background:
    radial-gradient(circle at 90% 8%, rgba(255, 90, 0, 0.14) 0%, transparent 45%),
    radial-gradient(circle at 10% 100%, rgba(57, 255, 20, 0.05) 0%, transparent 30%),
    var(--deep-blue);
  color: rgba(255, 255, 255, 0.82);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--flame) 0%, var(--amber) 52%, var(--neon) 100%);
  z-index: 1;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.4fr;
  gap: var(--space-6);
  max-width: var(--content-max);
  margin: 0 auto;
  padding-bottom: var(--space-6);
}

.footer-brand-col,
.footer-link-col,
.footer-contact-col {
  min-width: 0;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--white);
}

.footer-brand:hover {
  color: var(--white);
  text-decoration: none;
}

.footer-brand-mark {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
}

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

.footer-brand-text strong {
  font-family: var(--font-headline);
  font-size: 1.35rem;
  letter-spacing: 0.05em;
  color: var(--white);
}

.footer-brand-text small {
  font-size: 0.64rem;
  color: var(--silver);
  text-transform: uppercase;
  letter-spacing: 0.22em;
}

.trust-statement {
  max-width: 34rem;
  margin-top: var(--space-4);
  font-size: var(--size-sm);
  line-height: 1.65;
  color: var(--silver);
}

.footer-col-title {
  display: inline-block;
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-2);
  border-bottom: 2px solid var(--flame);
  font-family: var(--font-headline);
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  color: var(--white);
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.footer-nav a {
  padding: var(--space-1) 0;
  border-bottom: 1px solid transparent;
  color: rgba(255, 255, 255, 0.75);
  font-size: var(--size-sm);
  transition: color 0.25s var(--ease-out), border-color 0.25s var(--ease-out), padding-left 0.25s var(--ease-out);
}

.footer-nav a:hover {
  padding-left: 4px;
  border-bottom-color: var(--amber);
  color: var(--amber);
  text-decoration: none;
}

.footer-nav a[aria-current="page"] {
  border-bottom-color: var(--flame);
  color: var(--flame);
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  list-style: none;
}

.footer-contact-list li {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  font-size: var(--size-sm);
}

.contact-label {
  font-family: var(--font-data);
  font-size: var(--size-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--flame);
}

.contact-value {
  color: rgba(255, 255, 255, 0.82);
  word-break: break-all;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3) var(--space-5);
  justify-content: space-between;
  max-width: var(--content-max);
  margin: 0 auto;
  padding-top: var(--space-4);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-family: var(--font-data);
  font-size: var(--size-xs);
  color: var(--silver);
}

.footer-note {
  flex-basis: 100%;
  color: rgba(255, 255, 255, 0.55);
}

/* ---------- 返回顶部 ---------- */
.back-top {
  position: fixed;
  right: var(--space-4);
  bottom: var(--space-4);
  z-index: 3500;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--flame);
  color: var(--ink-dark);
  cursor: pointer;
  box-shadow: var(--shadow-flame);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity 0.35s var(--ease-out), transform 0.35s var(--ease-out), visibility 0.35s var(--ease-out), background-color 0.25s var(--ease-out);
}

.back-top:hover {
  background: var(--amber);
  color: var(--ink-dark);
}

.back-top[data-visible] {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-top-icon {
  width: 20px;
  height: 20px;
}

/* ---------- 正文容器 ---------- */
#main-content {
  min-height: 60vh;
  padding: var(--space-5) var(--space-4) var(--space-8);
}

.container {
  width: 100%;
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: var(--space-4);
}

/* ---------- 栅格 ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--space-5);
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1024px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ---------- 卡片 ---------- */
.card {
  padding: var(--space-6);
  border: 1px solid rgba(192, 192, 192, 0.35);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.card-title {
  margin-bottom: var(--space-3);
}

.card p:last-child {
  margin-bottom: 0;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.7rem 1.5rem;
  border: 2px solid transparent;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), background-color 0.25s var(--ease-out), color 0.25s var(--ease-out), border-color 0.25s var(--ease-out);
}

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

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

.btn-primary {
  background: var(--flame);
  border-color: var(--flame);
  color: var(--ink-dark);
  box-shadow: var(--shadow-flame);
}

.btn-primary:hover {
  background: #E64E00;
  border-color: #E64E00;
  color: var(--ink-dark);
  box-shadow: 0 12px 32px rgba(255, 90, 0, 0.35);
}

.btn-secondary {
  background: transparent;
  border-color: var(--flame);
  color: var(--flame);
}

.btn-secondary:hover {
  background: rgba(255, 90, 0, 0.08);
  color: var(--flame);
}

.btn-dark {
  background: var(--deep-blue);
  border-color: var(--deep-blue);
  color: var(--white);
}

.btn-dark:hover {
  background: #142A3E;
  color: var(--white);
}

.btn-neon {
  background: var(--neon);
  border-color: var(--neon);
  color: #003300;
  box-shadow: 0 4px 16px rgba(57, 255, 20, 0.25);
}

.btn-neon:hover {
  background: #2ED812;
  border-color: #2ED812;
  color: #002200;
}

/* ---------- 面包屑 ---------- */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-1);
  margin-bottom: var(--space-5);
  font-size: var(--size-sm);
  color: var(--graphite);
}

.breadcrumbs a {
  color: var(--flame);
}

.breadcrumbs a:hover {
  color: var(--amber);
}

.breadcrumb-sep {
  color: var(--silver);
}

.breadcrumbs [aria-current="page"] {
  color: var(--graphite);
  font-weight: 600;
}

/* ---------- 章节序号 ---------- */
.chapter-num {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.9rem;
  border-radius: var(--radius-pill);
  background: var(--flame);
  color: var(--ink-dark);
  font-family: var(--font-data);
  font-size: var(--size-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.chapter-num.ghost {
  background: transparent;
  border: 1px solid var(--flame);
  color: var(--flame);
}

/* ---------- 状态标签 ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: 0.28rem 0.7rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-data);
  font-size: var(--size-xs);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.badge-orange {
  background: rgba(255, 90, 0, 0.12);
  border: 1px solid rgba(255, 90, 0, 0.3);
  color: var(--flame);
}

.badge-blue {
  background: rgba(10, 26, 42, 0.1);
  border: 1px solid rgba(10, 26, 42, 0.25);
  color: var(--deep-blue);
}

.badge-green {
  background: rgba(57, 255, 20, 0.14);
  border: 1px solid rgba(57, 255, 20, 0.4);
  color: #2F9900;
}

.badge-amber {
  background: rgba(255, 191, 0, 0.16);
  border: 1px solid rgba(255, 191, 0, 0.4);
  color: #8C6200;
}

/* ---------- 图片容器基础规则 ---------- */
.img-frame {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 90, 0, 0.1) 0%, transparent 45%),
    var(--deep-blue);
  box-shadow: var(--shadow-md);
}

.img-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.img-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255, 90, 0, 0.16) 0%, transparent 45%);
  pointer-events: none;
}

.img-caption {
  position: absolute;
  left: var(--space-3);
  bottom: var(--space-3);
  z-index: 1;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-pill);
  background: rgba(10, 26, 42, 0.82);
  color: var(--silver);
  font-family: var(--font-data);
  font-size: var(--size-xs);
  letter-spacing: 0.04em;
}

/* ---------- 章节排版 ---------- */
.section-pad {
  padding-block: var(--space-8);
}

.section-title {
  margin-bottom: var(--space-2);
}

.section-subtitle {
  margin-bottom: var(--space-6);
  font-size: 1.05rem;
  color: var(--graphite);
}

/* ---------- 滚动显现协议 ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
}

[data-reveal][data-revealed] {
  opacity: 1;
  transform: none;
}

/* ---------- 章节目录跟随协议 ---------- */
[data-chapter] {
  scroll-margin-top: 5rem;
}

a[data-chapter-link] {
  scroll-margin-top: 5rem;
}

a[data-chapter-link][data-active] {
  background: rgba(255, 90, 0, 0.08);
  color: var(--flame);
  border-left: 3px solid var(--flame);
}

/* ---------- 响应式：桌面 ---------- */
@media (min-width: 1024px) {
  body {
    padding-left: var(--sidebar-width);
  }

  #main-content {
    padding: var(--space-6) var(--space-6) var(--space-10);
  }
}

/* ---------- 响应式：移动端 ---------- */
@media (max-width: 1023px) {
  .site-header {
    position: sticky;
    top: 0;
    right: auto;
    bottom: auto;
    left: 0;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-2) var(--space-4);
    width: 100%;
    height: auto;
    padding: var(--space-3) var(--space-4);
    overflow: hidden;
    border-right: none;
  }

  .site-header::after {
    top: auto;
    right: auto;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--flame), var(--amber), var(--neon));
  }

  .header-topline {
    order: 3;
    width: 100%;
    padding-bottom: 0;
    border-bottom: none;
  }

  .brand-logo {
    order: 1;
    flex: 1;
    min-width: 0;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
  }

  .brand-text strong {
    font-size: 1.25rem;
  }

  .brand-text small {
    font-size: 0.58rem;
    letter-spacing: 0.16em;
  }

  .nav-toggle {
    order: 2;
    display: inline-flex;
    flex-shrink: 0;
  }

  .site-nav {
    order: 4;
    display: block;
    width: 100%;
    max-height: 0;
    padding: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.45s var(--ease-out), opacity 0.3s var(--ease-out), padding 0.3s var(--ease-out);
  }

  .site-nav[data-open] {
    max-height: 460px;
    padding-top: var(--space-2);
    overflow-y: auto;
    opacity: 1;
  }

  .nav-list {
    flex-direction: column;
    gap: var(--space-1);
    padding: var(--space-2);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.045);
  }

  .nav-link {
    border-radius: var(--radius-sm);
  }

  .nav-link:hover,
  .nav-link[aria-current="page"] {
    transform: none;
  }

  .header-meta {
    display: none;
  }

  #main-content {
    padding: var(--space-4) var(--space-3) var(--space-6);
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand-col {
    grid-column: 1 / -1;
  }

  .back-top {
    right: var(--space-3);
    bottom: var(--space-3);
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 600px) {
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-brand-col {
    grid-column: auto;
  }

  .footer-contact-col {
    grid-column: 1;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }

  .live-dot {
    animation: none;
  }

  .scroll-progress {
    transition: none;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
