/* ============================================================
   N体育赛场 · 共享站点样式  /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, li, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg, video { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; }
main { display: block; }
#main-content { scroll-margin-top: 120px; }

/* ---------- 2. 变量 ---------- */
:root {
  --cobalt: #0E1F3D;
  --cobalt-deep: #0A1730;
  --cobalt-lift: #2A5BE8;
  --flame: #FF6A1A;
  --amber: #E9B247;
  --pitch: #123B2E;
  --cream: #F7F2E7;
  --ink: #17120D;
  --glass: rgba(255, 255, 255, 0.12);
  --glass-strong: rgba(255, 255, 255, 0.2);
  --cyan: #4FD8C8;
  --mist: #8C97AB;
  --line-dark: rgba(255, 255, 255, 0.16);
  --line-cream: rgba(23, 18, 13, 0.14);
  --flame-ink: #B9490F;
  --shell: 1280px;
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 8px;
  --shadow-soft: 0 20px 44px -26px rgba(3, 8, 20, 0.9);
  --font-sans: "Noto Sans SC", "HarmonyOS Sans", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", "Roboto Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --ease: cubic-bezier(0.22, 0.7, 0.25, 1);
}

/* ---------- 3. 中文排版基座 ---------- */
body {
  background: var(--cobalt);
  color: var(--cream);
  font-family: var(--font-sans);
  font-size: 16.5px;
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.display {
  font-size: clamp(2.4rem, 6vw, 5.2rem);
  font-weight: 200;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.h-section {
  font-size: clamp(1.25rem, 2.2vw, 1.9rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.lede {
  font-size: clamp(1rem, 1.35vw, 1.15rem);
  line-height: 1.8;
  color: rgba(247, 242, 231, 0.8);
  max-width: 56ch;
}
.index-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--amber);
}
.index-label::before { content: ""; width: 22px; height: 1px; background: currentColor; opacity: 0.85; }

.num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  letter-spacing: 0;
}
.rank-num {
  font-family: var(--font-sans);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  font-size: 2.4em;
  line-height: 1;
}

.prose {
  max-width: 68ch;
  font-size: 16.5px;
  line-height: 1.75;
  color: rgba(247, 242, 231, 0.84);
}
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(1.25rem, 2vw, 1.6rem); font-weight: 600; line-height: 1.3; color: var(--cream); margin-top: 1.8em; }
.prose h3 { font-size: 1.12rem; font-weight: 600; line-height: 1.4; color: var(--cream); margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: 0.4em; }
.prose strong { font-weight: 600; color: var(--cream); }

/* ---------- 4. 布局 ---------- */
.wrap {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: clamp(16px, 3.4vw, 44px);
}
.band { padding-block: clamp(44px, 6.5vw, 96px); }
.band--cobalt { background: var(--cobalt); color: var(--cream); }
.band--pitch { background: var(--pitch); color: var(--cream); }
.band--cream { background: var(--cream); color: var(--ink); }

.band--cream .lede { color: rgba(23, 18, 13, 0.72); }
.band--cream .prose { color: rgba(23, 18, 13, 0.86); }
.band--cream .prose h2, .band--cream .prose h3, .band--cream .prose strong { color: var(--ink); }
.band--cream .index-label { color: var(--flame-ink); }
.band--cream .section-head__note { color: rgba(23, 18, 13, 0.6); }
.band--cream .rule { background: var(--line-cream); }
.band--cream a { color: #1D44C4; }
.band--cream .card {
  background: #FFFCF5;
  border-color: var(--line-cream);
  color: var(--ink);
  box-shadow: 0 22px 44px -34px rgba(23, 18, 13, 0.55);
}
.band--cream .card__note { color: rgba(23, 18, 13, 0.6); }
.band--cream .data-table th { color: rgba(23, 18, 13, 0.55); border-color: var(--line-cream); }
.band--cream .data-table td { border-color: var(--line-cream); color: rgba(23, 18, 13, 0.86); }
.band--cream .data-table tbody tr:hover { background: rgba(23, 18, 13, 0.04); }
.band--cream .table-scroll { border-color: var(--line-cream); }
.band--cream .pill { border-color: var(--line-cream); background: #FFFCF5; color: rgba(23, 18, 13, 0.75); }
.band--cream .pill:hover { background: #FFFFFF; }
.band--cream .pill--active,
.band--cream .pill[aria-selected="true"],
.band--cream .pill[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.band--cream .accordion, .band--cream .accordion__item { border-color: var(--line-cream); }
.band--cream .accordion__panel { color: rgba(23, 18, 13, 0.8); }

.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(16px, 2.2vw, 30px); }
.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-12 { grid-column: span 12; }

.stack { display: flex; flex-direction: column; gap: clamp(12px, 1.6vw, 20px); }
.cluster { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.rule { height: 1px; border: 0; background: var(--line-dark); }

.section-head { display: flex; flex-direction: column; gap: 10px; margin-bottom: clamp(20px, 3vw, 34px); }
.section-head__note { font-size: 14px; line-height: 1.7; color: var(--mist); max-width: 52ch; }

/* ---------- 5. 头部：悬浮胶囊 ---------- */
.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 0 0 10px 10px;
  background: var(--flame);
  color: #1B0F06;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  padding: clamp(10px, 1.6vw, 18px) 0 clamp(4px, 0.8vw, 8px);
}

.read-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  z-index: 70;
  background: rgba(255, 255, 255, 0.06);
  pointer-events: none;
}
.read-progress__bar {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--flame), var(--amber) 58%, var(--cyan));
  transition: transform 0.12s linear;
}

.nav-shell {
  position: relative;
  width: min(var(--shell), calc(100% - 2 * clamp(14px, 3vw, 40px)));
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.5vw, 20px);
  padding: 8px 12px 8px 16px;
  background: rgba(12, 26, 52, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
  box-shadow: var(--shadow-soft);
  transition: background 0.25s var(--ease), padding 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.site-header[data-scrolled] .nav-shell {
  padding-block: 5px;
  background: rgba(9, 19, 38, 0.9);
  box-shadow: 0 22px 50px -30px rgba(0, 0, 0, 0.95);
}
.site-header[data-scrolled] .brand-note { opacity: 0.55; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--cream);
  text-decoration: none;
}
.brand__mark {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: linear-gradient(140deg, var(--flame), var(--amber));
  color: #2A1206;
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 8px 18px -10px rgba(255, 106, 26, 0.9);
}
.brand__text { white-space: nowrap; }

.brand-note {
  padding: 5px 10px;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--mist);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.18s, border-color 0.18s, opacity 0.18s;
}
.brand-note:hover { color: var(--cream); border-color: rgba(255, 255, 255, 0.34); }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  padding: 9px 14px;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  background: var(--glass);
  color: var(--cream);
  font-size: 13px;
  cursor: pointer;
}
.nav-toggle__bars { position: relative; display: block; width: 16px; height: 10px; }
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--flame);
  transition: transform 0.22s var(--ease), top 0.22s var(--ease);
}
.nav-toggle__bars::before { top: 1px; }
.nav-toggle__bars::after { top: 7px; }
.nav-shell[data-open] .nav-toggle__bars::before { top: 4px; transform: rotate(45deg); }
.nav-shell[data-open] .nav-toggle__bars::after { top: 4px; transform: rotate(-45deg); }

.nav-main { margin-left: auto; display: flex; align-items: center; gap: clamp(8px, 1.4vw, 18px); }
.nav-list { display: flex; align-items: center; gap: 2px; }
.nav-link {
  position: relative;
  display: inline-block;
  padding: 9px 13px;
  border-radius: 999px;
  font-size: 14px;
  color: rgba(247, 242, 231, 0.76);
  text-decoration: none;
  transition: color 0.18s, background 0.18s;
}
.nav-link:hover { color: var(--cream); background: rgba(255, 255, 255, 0.1); }
.nav-link[aria-current="page"] { color: #FFFFFF; background: rgba(255, 255, 255, 0.14); }
.nav-link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 3px;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: var(--flame);
  transform: translateX(-50%);
}

.nav-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-left: clamp(8px, 1.4vw, 18px);
  border-left: 1px solid var(--line-dark);
}
.nav-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--mist);
  white-space: nowrap;
}
.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--flame);
  animation: status-pulse 2.6s var(--ease) infinite;
}
@keyframes status-pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 106, 26, 0.5); }
  70% { box-shadow: 0 0 0 8px rgba(255, 106, 26, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 106, 26, 0); }
}

/* ---------- 6. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), box-shadow 0.2s var(--ease), color 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn--flame {
  background: var(--flame);
  color: #1B0F06;
  box-shadow: 0 10px 26px -14px rgba(255, 106, 26, 0.9);
}
.btn--flame:hover { box-shadow: 0 16px 34px -14px rgba(255, 106, 26, 0.95); }
.btn--ghost { background: var(--glass); border-color: var(--line-dark); color: var(--cream); }
.btn--ghost:hover { background: var(--glass-strong); }
.btn--line { background: transparent; border-color: var(--line-cream); color: var(--ink); }
.btn--line:hover { background: rgba(23, 18, 13, 0.06); }
.btn--sm { padding: 9px 16px; font-size: 13px; }
.btn--block { width: 100%; }

/* ---------- 7. 内容组件 ---------- */
.card {
  position: relative;
  padding: clamp(18px, 2.2vw, 26px);
  background: var(--glass);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-md);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.card--solid { background: #0B1B36; border-color: rgba(255, 255, 255, 0.16); }
.card--link:hover {
  transform: translateY(-2px);
  background: var(--glass-strong);
  box-shadow: 0 26px 50px -34px rgba(0, 0, 0, 0.9);
}
.card__title { font-size: clamp(1.05rem, 1.5vw, 1.25rem); font-weight: 600; line-height: 1.35; margin-bottom: 8px; }
.card__note { font-size: 14px; line-height: 1.7; color: var(--mist); }

.rank-bar {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: clamp(10px, 2vw, 20px);
  padding: 12px clamp(14px, 2vw, 20px);
  background: var(--glass);
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease);
}
.rank-bar:hover { transform: translateY(-2px); background: var(--glass-strong); }
.rank-bar__pos {
  min-width: 2ch;
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  color: var(--amber);
  font-variant-numeric: tabular-nums;
}
.rank-bar__team { font-size: 15px; font-weight: 600; color: var(--cream); }
.rank-bar__meta { font-size: 12px; letter-spacing: 0.06em; color: var(--mist); }
.rank-bar__pts { font-family: var(--font-mono); font-size: 15px; font-weight: 700; color: var(--cream); font-variant-numeric: tabular-nums; }
.rank-bar__delta {
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.rank-bar--up .rank-bar__delta { background: var(--cyan); color: #08251F; }
.rank-bar--down .rank-bar__delta { background: rgba(255, 106, 26, 0.9); color: #2A1206; }

.pill-row { display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
  appearance: none;
  padding: 8px 14px;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  background: var(--glass);
  color: rgba(247, 242, 231, 0.82);
  font-size: 13px;
  cursor: pointer;
  transition: transform 0.18s var(--ease), background 0.18s, color 0.18s, border-color 0.18s;
}
.pill:hover { transform: translateY(-1px); background: var(--glass-strong); }
.pill--active,
.pill[aria-selected="true"],
.pill[aria-pressed="true"] { background: var(--flame); border-color: var(--flame); color: #1B0F06; font-weight: 600; }
.tab-panel[hidden] { display: none; }

.tag {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border: 1px solid rgba(79, 216, 200, 0.3);
  border-radius: 6px;
  background: rgba(79, 216, 200, 0.14);
  color: var(--cyan);
  font-size: 11px;
  letter-spacing: 0.1em;
}
.tag--amber { background: rgba(233, 178, 71, 0.16); border-color: rgba(233, 178, 71, 0.35); color: var(--amber); }
.tag--cyan { background: rgba(42, 91, 232, 0.18); border-color: rgba(42, 91, 232, 0.4); color: #9DB6FF; }

.media-frame {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: var(--radius-md);
  aspect-ratio: 16 / 9;
  background:
    radial-gradient(120% 90% at 20% 8%, rgba(42, 91, 232, 0.55), transparent 60%),
    radial-gradient(80% 70% at 86% 92%, rgba(255, 106, 26, 0.42), transparent 62%),
    linear-gradient(160deg, #0B1830, var(--pitch));
}
.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 42%, rgba(6, 13, 28, 0.74));
}
.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__cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: 14px 16px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: rgba(247, 242, 231, 0.88);
}
.media-frame__cap .num { color: var(--amber); }

.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-md);
}
.data-table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 14px; }
.data-table th {
  padding: 12px 14px;
  text-align: left;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--mist);
  border-bottom: 1px solid var(--line-dark);
  white-space: nowrap;
}
.data-table td { padding: 12px 14px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.data-table tbody tr:hover { background: rgba(255, 255, 255, 0.05); }

.accordion { border-top: 1px solid var(--line-dark); }
.accordion__item { border-bottom: 1px solid var(--line-dark); }
.accordion__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.accordion__item summary::-webkit-details-marker { display: none; }
.accordion__item summary::after {
  content: "+";
  flex: none;
  font-family: var(--font-mono);
  font-size: 16px;
  color: var(--flame);
}
.accordion__item[open] summary::after { content: "–"; }
.accordion__panel { padding: 0 0 18px; max-width: 68ch; font-size: 15px; line-height: 1.75; color: rgba(247, 242, 231, 0.8); }

.breadcrumb { padding: 14px 0; font-size: 12px; color: var(--mist); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; }
.breadcrumb li { display: inline-flex; align-items: center; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: rgba(140, 151, 171, 0.6); }
.breadcrumb a { color: rgba(247, 242, 231, 0.8); text-decoration: none; }
.breadcrumb a:hover { color: var(--flame); }
.breadcrumb [aria-current="page"] { color: var(--cream); }

/* ---------- 8. 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(40px, 6vw, 80px);
  background: linear-gradient(180deg, var(--cobalt-deep) 0%, var(--cobalt) 62%, #0B1A31 100%);
  color: var(--cream);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.site-footer::before {
  content: "";
  position: absolute;
  top: -1px; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--flame), var(--amber) 48%, var(--cyan));
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(220px, 1.1fr) minmax(0, 1.9fr) minmax(240px, 1.1fr);
  gap: clamp(26px, 4vw, 52px);
  padding-block: clamp(40px, 6vw, 72px);
}
.footer-brand .brand { margin-bottom: 4px; }
.footer-line { margin-top: 14px; max-width: 30ch; font-size: 14px; line-height: 1.7; color: var(--mist); }
.footer-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 6px 12px;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  background: var(--glass);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--mist);
}
.footer-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.5vw, 30px); }
.footer-col__title {
  margin-bottom: 14px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--amber);
}
.footer-list { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer-list a { color: rgba(247, 242, 231, 0.76); text-decoration: none; transition: color 0.18s; }
.footer-list a:hover { color: var(--flame); }
.footer-list--contact { gap: 12px; }
.footer-list--contact li { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.footer-key { min-width: 38px; font-size: 11px; letter-spacing: 0.12em; color: var(--mist); }
.footer-val { font-size: 13.5px; line-height: 1.6; color: rgba(247, 242, 231, 0.86); word-break: break-word; }

.copy-btn {
  appearance: none;
  padding: 4px 10px;
  border: 1px solid rgba(255, 106, 26, 0.5);
  border-radius: 999px;
  background: rgba(255, 106, 26, 0.14);
  color: var(--flame);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
}
.copy-btn:hover { background: rgba(255, 106, 26, 0.28); }
.copy-btn[data-copied] { background: var(--cyan); border-color: var(--cyan); color: #08251F; }

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 22px;
  padding-block: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12px;
  color: var(--mist);
}
.footer-legal__copy, .footer-legal__icp { letter-spacing: 0.04em; }
.footer-legal__links { display: flex; flex-wrap: wrap; gap: 16px; margin-left: auto; }
.footer-legal__links a { color: rgba(247, 242, 231, 0.7); text-decoration: none; }
.footer-legal__links a:hover { color: var(--flame); }

/* ---------- 9. 焦点与动效 ---------- */
:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
  border-radius: 4px;
}
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.24s var(--ease), transform 0.24s var(--ease);
}
html.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- 10. 响应式 ---------- */
@media (max-width: 1080px) {
  .brand-note { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-shell { flex-wrap: wrap; padding: 8px 12px; border-radius: 22px; }
  .nav-main {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    margin: 0;
    padding: 12px;
    max-height: min(72vh, 560px);
    overflow: auto;
    background: rgba(8, 18, 36, 0.97);
    border: 1px solid var(--line-dark);
    border-radius: 20px;
    box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.9);
  }
  .nav-shell[data-open] .nav-main { display: flex; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav-link { padding: 12px 14px; border-radius: 14px; font-size: 15px; }
  .nav-link[aria-current="page"]::after {
    left: 0;
    top: 9px;
    bottom: 9px;
    width: 3px;
    height: auto;
    border-radius: 3px;
    transform: none;
  }
  .nav-meta {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 12px 4px 4px;
    border-left: 0;
    border-top: 1px solid var(--line-dark);
  }
  .nav-meta .btn { width: 100%; }

  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-contact { grid-column: 1 / -1; }

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

@media (max-width: 860px) {
  .rank-bar { grid-template-columns: auto minmax(0, 1fr) auto; }
  .rank-bar__meta { display: none; }
  .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .col-3, .col-4, .col-5, .col-6 { grid-column: span 12; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .footer-legal__links { margin-left: 0; width: 100%; }
  .footer-list--contact li { align-items: flex-start; }
  .display { letter-spacing: -0.015em; }
  .rank-bar { border-radius: 16px; }
}

/* ---------- 11. 减少动态 ---------- */
@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;
  }
  html.js [data-reveal] { opacity: 1 !important; transform: none !important; }
  .read-progress__bar { transition: none; }
  .btn:hover, .card--link:hover, .rank-bar:hover, .pill:hover { transform: none; }
}
