/* ==========================================================================
   乐鱼体育 · 共享样式表 /assets/site.css
   深水空间 + 展览画册：框架式左轨导航、玻璃层、水波描边
   ========================================================================== */

/* ---------- 1. 变量 ---------- */
:root {
  --deep: #06121F;
  --deep-2: #0B2536;
  --blue: #1FA9E6;
  --cyan: #35F0D0;
  --coral: #FF6B4A;
  --coral-dark: #B8452F;
  --mist: #A9C6D9;
  --ink-strong: #F4FAFF;
  --line: #1B3A4D;
  --glass: rgba(53, 240, 208, 0.12);
  --glass-blue: rgba(31, 169, 230, 0.10);

  --rail-w: 272px;
  --bar-h: 64px;
  --pad-x: clamp(20px, 3.4vw, 64px);

  --radius-s: 10px;
  --radius-m: 18px;
  --radius-l: 28px;

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

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

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.85;
  color: var(--mist);
  background-color: var(--deep);
  background-image:
    radial-gradient(120% 78% at 82% -12%, rgba(31, 169, 230, 0.20), transparent 62%),
    radial-gradient(96% 70% at -6% 104%, rgba(53, 240, 208, 0.12), transparent 58%),
    radial-gradient(70% 50% at 50% 40%, rgba(11, 37, 54, 0.9), transparent 70%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6, p, figure, blockquote { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg, video { display: block; max-width: 100%; height: auto; }

a { color: var(--blue); text-decoration: none; transition: color 0.18s var(--ease); }
a:hover { color: var(--cyan); }

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

strong { color: var(--ink-strong); font-weight: 700; }
::selection { background: rgba(53, 240, 208, 0.28); color: var(--ink-strong); }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--deep); }
::-webkit-scrollbar-thumb {
  background: rgba(31, 169, 230, 0.35);
  border: 2px solid var(--deep);
  border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover { background: rgba(53, 240, 208, 0.55); }

/* ---------- 3. 焦点与无障碍 ---------- */
:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 300;
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--cyan);
  color: #04121C;
  font-weight: 700;
  font-size: 14px;
  transform: translateY(-260%);
  transition: transform 0.18s var(--ease);
}
.skip-link:focus { transform: translateY(0); color: #04121C; }

/* ---------- 4. 阅读容器与栅格 ---------- */
.wrap {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 var(--pad-x);
}
.wrap--wide { max-width: 1420px; }
.wrap--narrow { max-width: 780px; }

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

/* ---------- 5. 排版 ---------- */
.display {
  font-family: var(--font);
  font-weight: 900;
  font-size: clamp(34px, 5.2vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink-strong);
}
.h-sec {
  font-weight: 800;
  font-size: clamp(22px, 2.6vw, 32px);
  line-height: 1.28;
  letter-spacing: -0.01em;
  color: var(--ink-strong);
}
.h-sub { font-size: 19px; font-weight: 700; line-height: 1.4; color: var(--ink-strong); }

.lede {
  max-width: 62ch;
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.85;
  color: var(--mist);
}
.prose { max-width: 68ch; font-size: 17px; line-height: 1.85; }
.prose p + p { margin-top: 1em; }

.kicker {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--cyan);
}
.mono {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--blue);
}
.note {
  font-size: 13px;
  line-height: 1.72;
  color: var(--mist);
  opacity: 0.82;
}
.side-note {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.26em;
  color: var(--mist);
  opacity: 0.62;
}
.sec-index {
  font-family: var(--mono);
  font-weight: 700;
  font-size: clamp(38px, 7vw, 88px);
  line-height: 0.85;
  letter-spacing: -0.03em;
  color: rgba(31, 169, 230, 0.48);
  -webkit-text-stroke: 1px rgba(31, 169, 230, 0.35);
}

.divider {
  height: 1px;
  border: 0;
  margin: 0;
  background: linear-gradient(90deg, transparent, rgba(31, 169, 230, 0.6), rgba(53, 240, 208, 0.35), transparent);
}

/* ---------- 6. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-align: center;
  transition: transform 0.18s var(--ease), background-color 0.18s var(--ease),
    box-shadow 0.18s var(--ease), color 0.18s var(--ease), border-color 0.18s var(--ease);
}
.btn--coral {
  background: var(--coral);
  color: #0A1620;
  box-shadow: 0 12px 28px rgba(255, 107, 74, 0.28);
}
.btn--coral:hover { background: #FF7D5F; color: #0A1620; transform: translateY(-2px); }
.btn--coral:active { background: var(--coral-dark); color: var(--ink-strong); transform: translateY(0); }
.btn--blue { background: var(--blue); color: #04121C; }
.btn--blue:hover { background: #46BDF0; color: #04121C; transform: translateY(-2px); }
.btn--ghost {
  border-color: var(--line);
  background: rgba(31, 169, 230, 0.06);
  color: var(--ink-strong);
}
.btn--ghost:hover { border-color: var(--cyan); background: var(--glass); color: var(--ink-strong); }
.btn--block { width: 100%; }

/* ---------- 7. 通用组件 ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border: 1px solid rgba(31, 169, 230, 0.45);
  border-radius: 999px;
  background: rgba(31, 169, 230, 0.10);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--blue);
  white-space: nowrap;
}
.badge--cyan { border-color: rgba(53, 240, 208, 0.5); background: var(--glass); color: var(--cyan); }
.badge--coral { border-color: rgba(255, 107, 74, 0.5); background: rgba(255, 107, 74, 0.12); color: var(--coral); }

.crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--mist);
}
.crumb a { color: var(--mist); }
.crumb a:hover { color: var(--cyan); }
.crumb__sep { color: var(--line); }
.crumb__current { color: var(--ink-strong); }

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: linear-gradient(160deg, rgba(11, 37, 54, 0.88), rgba(6, 18, 31, 0.72));
  transition: transform 0.22s var(--ease), border-color 0.22s var(--ease), box-shadow 0.22s var(--ease);
}
.card:hover {
  transform: translateY(-3px);
  border-color: rgba(53, 240, 208, 0.45);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.45);
}
.card--glass { background: var(--glass-blue); border-color: rgba(53, 240, 208, 0.28); }
.card__title { font-size: 19px; font-weight: 700; line-height: 1.4; color: var(--ink-strong); }
.card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--blue);
}
.card__text { font-size: 15px; line-height: 1.8; }

.seg {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(11, 37, 54, 0.72);
}
.seg__btn {
  padding: 8px 16px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--mist);
  transition: color 0.18s var(--ease), background-color 0.18s var(--ease), border-color 0.18s var(--ease);
}
.seg__btn:hover { color: var(--ink-strong); }
.seg__btn[aria-selected="true"],
.seg__btn[aria-pressed="true"] {
  color: var(--ink-strong);
  background: var(--glass);
  border-color: rgba(53, 240, 208, 0.5);
}

.tabs { display: flex; flex-direction: column; gap: 22px; }
.tabs__list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(11, 37, 54, 0.72);
}
.tabs__btn {
  padding: 9px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--mist);
  transition: color 0.18s var(--ease), background-color 0.18s var(--ease), border-color 0.18s var(--ease);
}
.tabs__btn:hover { color: var(--ink-strong); }
.tabs__btn[aria-selected="true"] {
  color: var(--ink-strong);
  background: var(--glass);
  border-color: rgba(53, 240, 208, 0.5);
}
.tabs__panel { outline: none; }
.tabs__panel[hidden] { display: none; }

.acc { display: flex; flex-direction: column; gap: 10px; }
.acc__item {
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  background: rgba(11, 37, 54, 0.62);
  overflow: hidden;
}
.acc__btn {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  text-align: left;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink-strong);
}
.acc__btn::after {
  content: "+";
  margin-left: auto;
  font-family: var(--mono);
  font-size: 18px;
  line-height: 1;
  color: var(--cyan);
  transition: transform 0.22s var(--ease);
}
.acc__btn[aria-expanded="true"]::after { transform: rotate(45deg); }
.acc__panel { padding: 0 18px 18px; font-size: 15.5px; line-height: 1.85; }
.acc__panel[hidden] { display: none; }

/* 横向时间轴 */
.tl { position: relative; }
.tl__list {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding: 8px 4px 20px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}
.tl__item {
  position: relative;
  flex: 0 0 min(280px, 78vw);
  scroll-snap-align: start;
  padding-top: 28px;
}
.tl__item::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 0;
  width: 12px;
  height: 12px;
  border: 2px solid var(--blue);
  border-radius: 50%;
  background: var(--deep);
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.tl__item::after {
  content: "";
  position: absolute;
  top: 13px;
  left: 14px;
  right: -18px;
  height: 1px;
  background: var(--line);
}
.tl__item:last-child::after { display: none; }
.tl__item.is-in::before {
  border-color: var(--cyan);
  background: var(--cyan);
  box-shadow: 0 0 14px rgba(53, 240, 208, 0.6);
}
.tl__time {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.10em;
  color: var(--blue);
}
.tl__title { margin-top: 6px; font-size: 17px; font-weight: 700; line-height: 1.45; color: var(--ink-strong); }
.tl__text { margin-top: 6px; font-size: 15px; line-height: 1.8; }

/* 图片容器基础（页面阶段放图） */
.media {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background:
    radial-gradient(120% 100% at 20% 0%, rgba(31, 169, 230, 0.24), transparent 60%),
    linear-gradient(140deg, rgba(11, 37, 54, 0.95), rgba(6, 18, 31, 0.9));
}
.media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(6, 18, 31, 0) 45%, rgba(6, 18, 31, 0.55));
  pointer-events: none;
}
.media__img,
.media img { width: 100%; height: 100%; object-fit: cover; }
.media--wide { aspect-ratio: 16 / 9; }
.media--tall { aspect-ratio: 3 / 4; }
.media--square { aspect-ratio: 1 / 1; }
.media--banner { aspect-ratio: 21 / 9; }
.media--tilt { transform: rotate(-1.4deg); }
.media--tilt-alt { transform: rotate(1.2deg); }
.media__cap {
  position: absolute;
  left: 14px;
  bottom: 12px;
  z-index: 2;
  padding: 5px 11px;
  border: 1px solid rgba(53, 240, 208, 0.25);
  border-radius: 999px;
  background: rgba(6, 18, 31, 0.62);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--ink-strong);
}
.media--zoom img { transition: transform 0.5s var(--ease); }
.media--zoom:hover img { transform: scale(1.04); }

/* 显现动画 */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- 8. 页头：框架式左轨导航 ---------- */
.site-head { position: relative; z-index: 70; }

.frame-rail {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 70;
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: var(--rail-w);
  padding: 30px 22px 24px;
  overflow-y: auto;
  background: linear-gradient(175deg, rgba(11, 37, 54, 0.94) 0%, rgba(6, 18, 31, 0.97) 62%, rgba(6, 18, 31, 0.99) 100%);
  border-right: 1px solid var(--line);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}
.frame-rail::before {
  content: "";
  position: absolute;
  top: -50px;
  left: -70px;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(31, 169, 230, 0.32), transparent 70%);
  pointer-events: none;
}
.frame-rail::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(31, 169, 230, 0.6), rgba(53, 240, 208, 0.5), transparent);
  opacity: 0.75;
  pointer-events: none;
}
.frame-rail__progress {
  position: absolute;
  top: 0;
  right: -1px;
  width: 2px;
  height: 0;
  background: linear-gradient(180deg, var(--cyan), var(--blue));
  box-shadow: 0 0 12px rgba(53, 240, 208, 0.7);
  transition: height 0.12s linear;
  pointer-events: none;
}

.frame-brand {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-strong);
}
.frame-brand:hover { color: var(--ink-strong); }
.frame-brand__mark {
  position: relative;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: conic-gradient(from 200deg, var(--blue), var(--cyan), var(--coral), var(--blue));
}
.frame-brand__mark::after {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  background: var(--deep-2);
}
.frame-brand__text { display: flex; flex-direction: column; line-height: 1.25; }
.frame-brand__name { font-size: 19px; font-weight: 800; letter-spacing: 0.02em; color: var(--ink-strong); }
.frame-brand__line {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--blue);
}

.frame-nav { flex: 1 1 auto; min-height: 0; }
.frame-nav__list { display: flex; flex-direction: column; gap: 4px; }
.frame-nav__link {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 11px 14px 11px 18px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  color: var(--mist);
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
}
.frame-nav__link::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 50%;
  width: 2px;
  height: 0;
  border-radius: 2px;
  background: var(--cyan);
  transform: translateY(-50%);
  transition: height 0.2s var(--ease);
}
.frame-nav__link:hover {
  background: rgba(31, 169, 230, 0.12);
  color: var(--ink-strong);
  transform: translateX(2px);
}
.frame-nav__link:hover::before { height: 58%; }
.frame-nav__index {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--blue);
}
.frame-nav__label { flex: 1 1 auto; }
.frame-nav__link[aria-current="page"] {
  background: var(--glass);
  color: var(--ink-strong);
  box-shadow: inset 0 0 0 1px rgba(53, 240, 208, 0.45);
}
.frame-nav__link[aria-current="page"]::before { height: 68%; }
.frame-nav__link[aria-current="page"] .frame-nav__index { color: var(--cyan); }

.frame-rail__foot {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.rail-note {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--mist);
  opacity: 0.7;
}
.rail-quick { display: flex; flex-direction: column; gap: 6px; }
.rail-quick__link {
  display: block;
  padding: 7px 10px;
  border: 1px dashed transparent;
  border-radius: 10px;
  font-size: 14px;
  color: var(--mist);
}
.rail-quick__link:hover {
  border-color: rgba(53, 240, 208, 0.35);
  background: rgba(53, 240, 208, 0.06);
  color: var(--cyan);
}

/* ---------- 9. 移动端顶部胶囊与抽屉 ---------- */
.frame-mobilebar {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 75;
  align-items: center;
  gap: 10px;
  padding: 12px var(--pad-x);
  background: rgba(6, 18, 31, 0.88);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.mobilebar__brand { font-size: 17px; font-weight: 800; letter-spacing: 0.02em; color: var(--ink-strong); }
.mobilebar__brand:hover { color: var(--cyan); }
.mobilebar__tag {
  padding-left: 10px;
  border-left: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--blue);
}
.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  padding: 8px 14px;
  border: 1px solid rgba(53, 240, 208, 0.35);
  border-radius: 999px;
  background: var(--glass);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-strong);
}
.nav-toggle__bars { display: inline-flex; flex-direction: column; gap: 3px; width: 16px; }
.nav-toggle__bars span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--cyan);
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.frame-drawer {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.22s var(--ease), visibility 0.22s var(--ease);
}
.frame-drawer[data-open="true"] { visibility: visible; opacity: 1; }
.frame-drawer__scrim {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: rgba(3, 10, 18, 0.72);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}
.frame-drawer__panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: min(340px, 86vw);
  height: 100%;
  padding: 22px 20px 32px;
  overflow-y: auto;
  background: linear-gradient(180deg, rgba(11, 37, 54, 0.98), rgba(6, 18, 31, 0.99));
  border-right: 1px solid var(--line);
  box-shadow: 24px 0 60px rgba(0, 0, 0, 0.5);
  transform: translateX(-102%);
  transition: transform 0.26s var(--ease);
}
.frame-drawer[data-open="true"] .frame-drawer__panel { transform: translateX(0); }
.frame-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.frame-drawer__title {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.24em;
  color: var(--blue);
}
.frame-drawer__close {
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  color: var(--mist);
}
.frame-drawer__close:hover { border-color: var(--cyan); color: var(--cyan); }

.drawer-nav__list { display: flex; flex-direction: column; gap: 2px; }
.drawer-nav__link {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 12px;
  border-radius: 12px;
  font-size: 17px;
  font-weight: 700;
  color: var(--mist);
}
.drawer-nav__link:hover { background: rgba(31, 169, 230, 0.12); color: var(--ink-strong); }
.drawer-nav__link[aria-current="page"] {
  background: var(--glass);
  color: var(--ink-strong);
  box-shadow: inset 0 0 0 1px rgba(53, 240, 208, 0.4);
}
.drawer-nav__index {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--blue);
}
.drawer-nav__link[aria-current="page"] .drawer-nav__index { color: var(--cyan); }

.frame-drawer__foot {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

/* ---------- 10. 页脚 ---------- */
.site-foot {
  position: relative;
  margin-top: clamp(56px, 8vw, 120px);
  padding: clamp(40px, 5vw, 64px) 0 28px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(11, 37, 54, 0.35), rgba(6, 18, 31, 0.96) 55%);
  border-top: 1px solid var(--line);
}
.site-foot::before {
  content: "";
  position: absolute;
  top: -150px;
  right: -90px;
  width: 430px;
  height: 430px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(31, 169, 230, 0.16), transparent 66%);
  pointer-events: none;
}
.foot-wave {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue) 22%, var(--cyan) 48%, var(--coral) 76%, transparent);
}
.foot-wrap { position: relative; z-index: 1; }

.foot-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: clamp(24px, 3vw, 44px);
  padding-bottom: 36px;
  border-bottom: 1px solid var(--line);
}
.foot-brand__link {
  display: inline-block;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0.02em;
  color: var(--ink-strong);
}
.foot-brand__link:hover { color: var(--cyan); }
.foot-brand__line {
  max-width: 34ch;
  margin-top: 12px;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--mist);
}
.foot-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.foot-tag {
  padding: 4px 11px;
  border: 1px solid rgba(31, 169, 230, 0.35);
  border-radius: 999px;
  background: rgba(31, 169, 230, 0.08);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--blue);
}
.foot-col__title {
  position: relative;
  margin-bottom: 14px;
  padding-bottom: 12px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink-strong);
}
.foot-col__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 28px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
}
.foot-col__list { display: flex; flex-direction: column; gap: 9px; }
.foot-col__list a { font-size: 14.5px; color: var(--mist); }
.foot-col__list a:hover { color: var(--cyan); }

.foot-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px 40px;
  padding-top: 24px;
}
.foot-meta__line { font-size: 13.5px; line-height: 1.9; color: var(--mist); }
.foot-meta__value {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--ink-strong);
}
.foot-meta__block--right { text-align: right; }
.foot-note { max-width: 46ch; font-size: 13px; line-height: 1.75; color: var(--mist); opacity: 0.75; }
.foot-legal {
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--mist);
}

/* ---------- 11. 响应式 ---------- */
@media (min-width: 1024px) {
  body { padding-left: var(--rail-w); }
}
@media (min-width: 1024px) and (max-width: 1279px) {
  :root { --rail-w: 236px; }
}

@media (max-width: 1023px) {
  body { padding-top: var(--bar-h); }
  .frame-rail { display: none; }
  .frame-mobilebar { display: flex; }
  .frame-drawer { display: flex; }
}

@media (max-width: 900px) {
  body { font-size: 16.5px; }
  .grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9 { grid-column: span 6; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 28px 24px; }
  .foot-brand { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .foot-grid { grid-template-columns: 1fr; }
  .foot-meta__block--right { text-align: left; }
  .tl__item { flex: 0 0 82vw; }
}

@media (max-width: 420px) {
  .mobilebar__tag { display: none; }
  .nav-toggle__label { display: none; }
}

/* ---------- 12. 减少动态效果 ---------- */
@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;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .media--zoom:hover img { transform: none; }
  .frame-rail__progress { transition: none; }
}
