/* ============================================================
   雷电竞 · 共享站点样式 /assets/site.css
   暗场数据看台：深空灰底 + 极细边界 + 电光脉冲
   ============================================================ */

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

html,
body,
h1, h2, h3, h4, h5,
p, ul, ol, li,
figure, figcaption,
blockquote, dl, dt, dd { margin: 0; }

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

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

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

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

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

/* ---------- 2. 设计令牌 ---------- */
:root {
  /* 色彩 */
  --lr-bg: #0B0F1A;
  --lr-bg-deep: #080B13;
  --lr-panel: #141B2E;
  --lr-panel-hi: #1A2340;
  --lr-line: #2A3350;
  --lr-blue: #0A84FF;
  --lr-violet: #5E2BFF;
  --lr-yellow: #FFD60A;
  --lr-mint: #00E5C3;
  --lr-coral: #FF5C7A;
  --lr-ink: #E8ECF5;
  --lr-dim: #9AA4B8;
  --lr-paper: #EDE6D6;

  /* 字体 */
  --lr-font-display: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --lr-font-body: "HarmonyOS Sans SC", "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --lr-font-mono: "JetBrains Mono", "SFMono-Regular", ui-monospace, "Cascadia Mono", Consolas, monospace;

  /* 尺寸 */
  --lr-w: 1280px;
  --lr-gutter: 24px;
  --lr-rail: 96px;
  --lr-radius: 4px;
  --lr-header-brand: 40px;
  --lr-header-main: 64px;
  --lr-header-main-scrolled: 56px;

  /* 动效 */
  --lr-ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- 3. 基础排版 ---------- */
body {
  min-height: 100vh;
  background:
    radial-gradient(1100px 620px at 84% -10%, rgba(94, 43, 255, .20), transparent 62%),
    radial-gradient(820px 520px at 2% 2%, rgba(10, 132, 255, .13), transparent 60%),
    var(--lr-bg);
  color: var(--lr-ink);
  font-family: var(--lr-font-body);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--lr-font-display);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -.02em;
  color: var(--lr-ink);
}

p { line-height: 1.75; }

strong { font-weight: 900; }

::selection {
  background: rgba(10, 132, 255, .34);
  color: #FFFFFF;
}

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

/* ---------- 4. 通用工具 ---------- */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -64px;
  left: 16px;
  z-index: 999;
  display: inline-block;
  padding: 10px 18px;
  background: var(--lr-yellow);
  color: #10131C;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .04em;
  border-radius: var(--lr-radius);
  transition: top .18s var(--lr-ease);
}

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

.container {
  width: 100%;
  max-width: var(--lr-w);
  margin-inline: auto;
  padding-inline: var(--lr-gutter);
}

.section { padding-block: clamp(64px, 9vw, 112px); }
.section--tight { padding-block: clamp(40px, 6vw, 72px); }

.eyebrow {
  display: inline-block;
  font-family: var(--lr-font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--lr-dim);
}

.display-title {
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 900;
  letter-spacing: -.03em;
  line-height: 1.04;
}

.display-xl {
  font-family: var(--lr-font-display);
  font-size: clamp(48px, 8vw, 132px);
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: .94;
}

.page-title {
  font-size: clamp(30px, 4.2vw, 56px);
  font-weight: 900;
  letter-spacing: -.03em;
  line-height: 1.06;
}

.lead {
  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1.8;
  color: var(--lr-dim);
  max-width: 40em;
}

.text-skew {
  display: inline-block;
  transform: skewX(-6deg);
}

.rule {
  height: 1px;
  border: 0;
  background: linear-gradient(90deg, var(--lr-line), rgba(42, 51, 80, 0));
}

.prose { font-size: 16px; line-height: 1.8; color: var(--lr-ink); }
.prose > * + * { margin-top: 1.1em; }
.prose p { max-width: 38em; color: var(--lr-dim); }
.prose h3 {
  font-size: 24px;
  letter-spacing: -.01em;
  margin-top: 2em;
}
.prose strong { color: var(--lr-ink); }

/* ---------- 5. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-family: var(--lr-font-body);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .05em;
  line-height: 1.2;
  border: 1px solid transparent;
  border-radius: var(--lr-radius);
  transition: background-color .22s var(--lr-ease),
              border-color .22s var(--lr-ease),
              color .22s var(--lr-ease),
              transform .22s var(--lr-ease),
              box-shadow .22s var(--lr-ease);
}

.btn--primary {
  background: var(--lr-blue);
  color: #FFFFFF;
  box-shadow: 0 0 0 0 rgba(10, 132, 255, 0);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background: #2A96FF;
  box-shadow: 0 0 0 4px rgba(10, 132, 255, .18), 0 8px 24px -12px rgba(10, 132, 255, .9);
}

.btn--ghost {
  background: transparent;
  color: var(--lr-ink);
  border-color: var(--lr-line);
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  border-color: var(--lr-blue);
  color: #FFFFFF;
  background: rgba(10, 132, 255, .10);
}

.btn--sm {
  padding: 9px 18px;
  font-size: 13px;
}

/* ---------- 6. 标签与状态 ---------- */
.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 10px;
  font-family: var(--lr-font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--lr-mint);
  background: rgba(0, 229, 195, .08);
  border: 1px solid rgba(0, 229, 195, .26);
  border-radius: 2px;
  white-space: nowrap;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lr-mint);
  box-shadow: 0 0 0 3px rgba(0, 229, 195, .16);
  flex: none;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  font-family: var(--lr-font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--lr-dim);
  border: 1px solid var(--lr-line);
  border-radius: 2px;
}

.tag--mint { color: var(--lr-mint); border-color: rgba(0, 229, 195, .34); background: rgba(0, 229, 195, .07); }
.tag--coral { color: var(--lr-coral); border-color: rgba(255, 92, 122, .34); background: rgba(255, 92, 122, .07); }
.tag--yellow { color: var(--lr-yellow); border-color: rgba(255, 214, 10, .38); background: rgba(255, 214, 10, .08); }

/* ---------- 7. 头部 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(11, 15, 26, .93);
  border-bottom: 1px solid var(--lr-line);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

/* 上层品牌说明条 */
.header-brandbar {
  height: var(--lr-header-brand);
  overflow: hidden;
  border-bottom: 1px solid var(--lr-line);
  background: linear-gradient(90deg, rgba(94, 43, 255, .16), rgba(10, 132, 255, .06) 46%, transparent 78%);
  transition: height .3s var(--lr-ease), opacity .3s var(--lr-ease), border-color .3s var(--lr-ease);
}

.header-brandbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--lr-header-brand);
}

.header-motto {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--lr-paper);
  opacity: .82;
  white-space: nowrap;
}

.header-status {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.header-mail {
  font-family: var(--lr-font-mono);
  font-size: 11px;
  letter-spacing: .04em;
  color: var(--lr-dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 下层主栏目条 */
.header-mainbar {
  position: relative;
  z-index: 2;
  background: rgba(11, 15, 26, .55);
}

.header-mainbar__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: var(--lr-header-main);
  transition: height .3s var(--lr-ease);
}

/* 品牌标识 */
.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
  color: var(--lr-ink);
}

.brand-mark__glyph {
  width: 22px;
  height: 30px;
  flex: none;
  background: linear-gradient(158deg, var(--lr-yellow) 4%, var(--lr-blue) 62%, var(--lr-violet) 100%);
  clip-path: polygon(58% 0, 0 58%, 40% 58%, 30% 100%, 100% 40%, 56% 40%);
  transform: skewX(-4deg);
  transition: filter .25s var(--lr-ease);
}

.brand-mark:hover .brand-mark__glyph,
.brand-mark:focus-visible .brand-mark__glyph {
  filter: drop-shadow(0 0 8px rgba(10, 132, 255, .75));
}

.brand-mark__text {
  display: flex;
  flex-direction: column;
  font-family: var(--lr-font-display);
  font-size: 17px;
  font-weight: 900;
  letter-spacing: .04em;
  line-height: 1.05;
  white-space: nowrap;
}

.brand-mark__text em {
  font-family: var(--lr-font-mono);
  font-style: normal;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .22em;
  color: var(--lr-dim);
}

/* 主导航 */
.primary-nav { flex: 1 1 auto; min-width: 0; }

.nav-list {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-item { flex: none; }

.nav-link {
  position: relative;
  display: inline-block;
  padding-block: 6px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .05em;
  color: var(--lr-dim);
  transition: color .2s var(--lr-ease);
  white-space: nowrap;
}

.nav-link::before {
  content: "";
  position: absolute;
  left: -10px;
  top: 50%;
  width: 3px;
  height: 0;
  background: var(--lr-yellow);
  transform: translateY(-50%);
  transition: height .2s var(--lr-ease);
  display: none;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 2px;
  background: var(--lr-blue);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .28s var(--lr-ease);
}

.nav-link:hover,
.nav-link:focus-visible { color: var(--lr-ink); }

.nav-link:hover::after,
.nav-link:focus-visible::after { transform: scaleX(1); }

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

.nav-link[aria-current="page"]::after {
  transform: scaleX(1);
  background: var(--lr-yellow);
}

/* 头部动作区 */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
}

.header-cta { white-space: nowrap; }

/* 移动菜单按钮 */
.nav-toggle {
  display: none;
  position: relative;
  z-index: 3;
  width: 44px;
  height: 44px;
  flex: none;
  border: 1px solid var(--lr-line);
  border-radius: var(--lr-radius);
  background: rgba(20, 27, 46, .8);
  transition: border-color .2s var(--lr-ease), background-color .2s var(--lr-ease);
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
  border-color: var(--lr-blue);
  background: rgba(10, 132, 255, .12);
}

.nav-toggle__bar {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--lr-ink);
  border-radius: 1px;
  transition: transform .26s var(--lr-ease), opacity .2s var(--lr-ease);
}

.site-header[data-open] .nav-toggle__bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.site-header[data-open] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.site-header[data-open] .nav-toggle__bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* 滚动进度 */
.scroll-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  overflow: hidden;
  pointer-events: none;
}

.scroll-progress__bar {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--lr-blue), var(--lr-violet) 58%, var(--lr-yellow));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .1s linear;
}

/* 滚动压缩 */
.site-header[data-scrolled] .header-brandbar {
  height: 0;
  opacity: 0;
  border-bottom-color: transparent;
}

.site-header[data-scrolled] .header-mainbar__inner {
  height: var(--lr-header-main-scrolled);
}

/* ---------- 8. 面包屑 ---------- */
.breadcrumb { padding-block: 20px; }

.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--lr-font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--lr-dim);
}

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

.breadcrumb__item + .breadcrumb__item::before {
  content: "/";
  color: var(--lr-line);
}

.breadcrumb__item a {
  color: var(--lr-dim);
  transition: color .2s var(--lr-ease);
}

.breadcrumb__item a:hover,
.breadcrumb__item a:focus-visible { color: var(--lr-blue); }

.breadcrumb__item[aria-current="page"] { color: var(--lr-paper); }

/* ---------- 9. 栅格 ---------- */
.grid {
  display: grid;
  gap: 24px;
}

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

/* ---------- 10. 数据面板 ---------- */
.panel {
  position: relative;
  padding: 22px 20px;
  background: linear-gradient(160deg, rgba(26, 35, 64, .92), rgba(20, 27, 46, .92));
  border: 1px solid var(--lr-line);
  border-radius: var(--lr-radius);
  transition: border-color .3s var(--lr-ease), transform .3s var(--lr-ease), box-shadow .3s var(--lr-ease);
  overflow: hidden;
}

.panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(220px 120px at 100% 0%, rgba(10, 132, 255, .16), transparent 70%);
  opacity: 0;
  transition: opacity .35s var(--lr-ease);
  pointer-events: none;
}

.panel:hover {
  border-color: rgba(10, 132, 255, .62);
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -28px rgba(10, 132, 255, .9);
}

.panel:hover::after { opacity: 1; }

.panel__label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  color: var(--lr-dim);
  text-transform: uppercase;
}

.panel__value {
  display: block;
  margin-top: 10px;
  font-family: var(--lr-font-mono);
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -.02em;
  color: var(--lr-ink);
}

.metric--up { color: var(--lr-mint); }
.metric--down { color: var(--lr-coral); }
.metric--flat { color: var(--lr-dim); }

/* ---------- 11. 章节编号轨道 ---------- */
.chapter-rail {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-right: 20px;
  border-right: 1px solid var(--lr-line);
}

.chapter-rail__no {
  font-family: var(--lr-font-mono);
  font-size: clamp(48px, 7vw, 96px);
  font-weight: 200;
  line-height: .9;
  letter-spacing: -.05em;
  color: var(--lr-paper);
  opacity: .22;
}

/* ---------- 12. 图片容器基础 ---------- */
.media-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--lr-line);
  border-radius: var(--lr-radius);
  background:
    radial-gradient(120% 120% at 12% 8%, rgba(94, 43, 255, .34), transparent 62%),
    radial-gradient(90% 90% at 92% 96%, rgba(10, 132, 255, .28), transparent 66%),
    linear-gradient(160deg, #101728, #0B0F1A);
  aspect-ratio: 16 / 9;
}

.media-frame__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.72) contrast(1.06) brightness(.86);
  transition: transform .6s var(--lr-ease), filter .4s var(--lr-ease);
}

.media-frame:hover .media-frame__img {
  transform: scale(1.03);
  filter: saturate(.92) contrast(1.08) brightness(.98);
}

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 15, 26, 0) 42%, rgba(11, 15, 26, .78) 100%),
    repeating-linear-gradient(90deg, rgba(42, 51, 80, .32) 0 1px, transparent 1px 32px);
  pointer-events: none;
}

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

/* ---------- 13. 显现动效 ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s var(--lr-ease), transform .6s var(--lr-ease);
}

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

/* ---------- 14. 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(56px, 8vw, 104px);
  background: var(--lr-bg-deep);
  border-top: 1px solid var(--lr-line);
  color: var(--lr-dim);
}

/* 斜切收束带 */
.footer-band {
  position: relative;
  overflow: hidden;
  padding-block: clamp(44px, 6vw, 72px);
  isolation: isolate;
}

.footer-band::before {
  content: "";
  position: absolute;
  inset: -30% 0 -30% 0;
  z-index: -1;
  background: linear-gradient(104deg, rgba(94, 43, 255, .72) 0%, rgba(10, 132, 255, .42) 52%, rgba(11, 15, 26, 0) 92%);
  clip-path: polygon(0 26%, 100% 0, 100% 74%, 0 100%);
}

.footer-band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: repeating-linear-gradient(96deg, rgba(232, 236, 245, .05) 0 1px, transparent 1px 14px);
  opacity: .5;
  pointer-events: none;
}

.footer-band__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-band__title {
  font-family: var(--lr-font-display);
  font-size: clamp(22px, 2.8vw, 34px);
  font-weight: 900;
  letter-spacing: -.02em;
  line-height: 1.2;
  color: #FFFFFF;
  text-shadow: 0 2px 28px rgba(11, 15, 26, .6);
}

.footer-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-band__actions .btn--primary {
  background: var(--lr-yellow);
  color: #10131C;
}

.footer-band__actions .btn--primary:hover,
.footer-band__actions .btn--primary:focus-visible {
  background: #FFE14D;
  box-shadow: 0 0 0 4px rgba(255, 214, 10, .2);
}

.footer-band__actions .btn--ghost {
  border-color: rgba(232, 236, 245, .38);
  color: #FFFFFF;
}

.footer-band__actions .btn--ghost:hover,
.footer-band__actions .btn--ghost:focus-visible {
  border-color: #FFFFFF;
  background: rgba(255, 255, 255, .1);
}

/* 四组信息 */
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr .9fr .9fr 1.3fr;
  gap: 40px 32px;
  padding-block: clamp(40px, 5vw, 64px);
  border-top: 1px solid var(--lr-line);
}

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

.footer-col__title {
  margin-bottom: 16px;
  font-family: var(--lr-font-body);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--lr-ink);
}

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

.footer-link {
  display: inline-block;
  font-size: 14px;
  color: var(--lr-dim);
  transition: color .2s var(--lr-ease), transform .2s var(--lr-ease);
}

.footer-link:hover,
.footer-link:focus-visible {
  color: var(--lr-blue);
  transform: translateX(3px);
}

.footer-brand__text {
  margin-top: 14px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--lr-dim);
  max-width: 22em;
}

.footer-brand .status-chip { margin-top: 16px; }

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

.footer-contact__row {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer-contact__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(154, 164, 184, .72);
}

.footer-contact__value {
  margin: 0;
  font-family: var(--lr-font-mono);
  font-size: 13px;
  line-height: 1.6;
  color: var(--lr-ink);
  word-break: break-word;
}

/* 底栏 */
.footer-base {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-block: 20px 28px;
  border-top: 1px solid var(--lr-line);
}

.footer-base__meta {
  font-family: var(--lr-font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: rgba(154, 164, 184, .8);
}

.to-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .14em;
  color: var(--lr-ink);
  border: 1px solid var(--lr-line);
  border-radius: var(--lr-radius);
  background: rgba(20, 27, 46, .7);
  transition: border-color .22s var(--lr-ease), color .22s var(--lr-ease), background-color .22s var(--lr-ease);
}

.to-top:hover,
.to-top:focus-visible {
  border-color: var(--lr-blue);
  color: #FFFFFF;
  background: rgba(10, 132, 255, .14);
}

.to-top__arrow {
  font-family: var(--lr-font-mono);
  font-size: 14px;
  line-height: 1;
  transition: transform .22s var(--lr-ease);
}

.to-top:hover .to-top__arrow { transform: translateY(-2px); }

/* ---------- 15. 平板 ---------- */
@media (max-width: 1199px) {
  .nav-list { gap: 20px; }
  .nav-link { font-size: 13px; letter-spacing: .03em; }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
  .footer-contact { grid-column: 1 / -1; }
  .footer-contact__list { flex-direction: row; flex-wrap: wrap; gap: 12px 40px; }
}

/* ---------- 16. 移动 / 平板：抽屉导航 ---------- */
@media (max-width: 959px) {
  :root { --lr-gutter: 20px; }

  .nav-toggle { display: block; }

  .primary-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    padding: 132px var(--lr-gutter) 40px;
    overflow-y: auto;
    background:
      radial-gradient(720px 420px at 88% 0%, rgba(94, 43, 255, .26), transparent 64%),
      rgba(8, 11, 19, .985);
    transform: translateY(-14px);
    opacity: 0;
    visibility: hidden;
    transition: transform .3s var(--lr-ease), opacity .26s var(--lr-ease), visibility .26s linear;
  }

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

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-item { width: 100%; }

  .nav-link {
    display: block;
    padding: 15px 0 15px 18px;
    font-size: 20px;
    font-weight: 900;
    letter-spacing: -.01em;
    color: var(--lr-paper);
    border-bottom: 1px solid var(--lr-line);
  }

  .nav-link::before { display: block; }

  .nav-link::after { display: none; }

  .nav-link[aria-current="page"] {
    color: var(--lr-yellow);
    background: linear-gradient(90deg, rgba(255, 214, 10, .12), transparent 70%);
  }

  .nav-link[aria-current="page"]::before { height: 20px; }

  .header-cta { display: none; }

  .header-mail { display: none; }
}

/* ---------- 17. 小屏 ---------- */
@media (max-width: 768px) {
  .header-motto { font-size: 11px; letter-spacing: .1em; }

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

  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .footer-contact { grid-column: auto; }
  .footer-contact__list { flex-direction: column; gap: 12px; }

  .footer-band__inner { align-items: flex-start; }
  .footer-band__actions { width: 100%; }
  .footer-band__actions .btn { flex: 1 1 auto; text-align: center; }

  .chapter-rail {
    flex-direction: row;
    align-items: baseline;
    gap: 12px;
    border-right: 0;
    border-bottom: 1px solid var(--lr-line);
    padding: 0 0 10px;
  }
}

@media (max-width: 560px) {
  .header-brandbar { height: 36px; }
  .header-brandbar__inner { height: 36px; }
  .header-status .status-chip { font-size: 10px; letter-spacing: .03em; }
  .primary-nav { padding-top: 118px; }
  .btn { padding: 11px 18px; }
  .footer-base { flex-direction: column; align-items: flex-start; }
  .media-frame--tall { aspect-ratio: 3 / 4; }
}

/* ---------- 18. 降级动效 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

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

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

  .scroll-progress__bar { transition: none; }
}
