/* =========================================================
   乐鱼赛场 · LEYU — 共享基础样式 /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, h6, p, figure, blockquote, dl, dd, pre, fieldset, hr {
  margin: 0;
}

ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg, video { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; }
a { color: inherit; text-decoration: none; }
table { border-collapse: collapse; border-spacing: 0; }
hr { border: 0; }

/* ---------- 2. 变量 ---------- */
:root {
  --ly-abyss: #06232A;
  --ly-night: #0C3A45;
  --ly-cyan: #35E8D2;
  --ly-orange: #FF5A1F;
  --ly-gold: #E7B24C;
  --ly-cream: #F5EFE2;
  --ly-ink: #1A1712;
  --ly-slate: #7C9AA2;
  --ly-mist: #E8EDEA;
  --ly-mint: #D7F3EC;

  --ly-paper-ink-soft: #4A463C;
  --ly-paper-link: #0B5F6B;
  --ly-paper-accent: #C03E0E;

  --ly-line: rgba(124, 154, 162, 0.28);
  --ly-line-soft: rgba(124, 154, 162, 0.16);
  --ly-line-strong: rgba(53, 232, 210, 0.34);

  --ly-font-sans: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
    system-ui, -apple-system, "Segoe UI", sans-serif;
  --ly-font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas,
    "Liberation Mono", monospace;
  --ly-font-serif: "Noto Serif SC", "Songti SC", "SimSun", Georgia, serif;

  --ly-w: 1320px;
  --ly-gutter: clamp(18px, 4vw, 40px);
  --ly-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ly-cut: 14px;
}

/* ---------- 3. 全局排版 ---------- */
body {
  min-height: 100%;
  font-family: var(--ly-font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ly-mist);
  background-color: var(--ly-abyss);
  background-image:
    linear-gradient(rgba(53, 232, 210, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(53, 232, 210, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}

:focus-visible {
  outline: 2px solid var(--ly-cyan);
  outline-offset: 3px;
}

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

.ly-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 300;
  padding: 12px 20px;
  font-family: var(--ly-font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ly-abyss);
  background: var(--ly-cyan);
}

.ly-skip:focus {
  left: 0;
  outline: 2px solid var(--ly-orange);
  outline-offset: 2px;
}

/* ---------- 4. 头部命令栏 ---------- */
.ly-header {
  position: sticky;
  top: 0;
  z-index: 100;
  color: var(--ly-mist);
  background: rgba(6, 35, 42, 0.94);
  border-bottom: 1px solid var(--ly-line);
  -webkit-backdrop-filter: blur(12px) saturate(1.2);
  backdrop-filter: blur(12px) saturate(1.2);
}

.ly-header__top {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: clamp(12px, 2.4vw, 30px);
  width: 100%;
  max-width: var(--ly-w);
  margin: 0 auto;
  padding: 12px var(--ly-gutter);
}

.ly-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.ly-brand__mark {
  display: inline-block;
  flex: 0 0 auto;
  padding: 7px 9px 6px;
  font-family: var(--ly-font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1;
  color: var(--ly-abyss);
  background: var(--ly-cyan);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%);
}

.ly-brand__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  line-height: 1.15;
}

.ly-brand__name {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ly-mist);
  white-space: nowrap;
}

.ly-brand__tag {
  font-size: 12px;
  color: var(--ly-slate);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ly-header__status {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 14px;
  font-family: var(--ly-font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--ly-slate);
  background: rgba(53, 232, 210, 0.07);
  clip-path: polygon(9px 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%, 0 9px);
}

.ly-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ly-cyan);
  box-shadow: 0 0 0 4px rgba(53, 232, 210, 0.16);
  animation: lyPulse 2.4s var(--ly-ease) infinite;
}

@keyframes lyPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.7); }
}

/* ---------- 5. 按钮 ---------- */
.ly-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  font-family: var(--ly-font-sans);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.01em;
  color: var(--ly-mist);
  background: transparent;
  border: 0;
  cursor: pointer;
  white-space: nowrap;
  clip-path: polygon(11px 0, 100% 0, 100% calc(100% - 11px), calc(100% - 11px) 100%, 0 100%, 0 11px);
  transition: background-color 0.18s var(--ly-ease), color 0.18s var(--ly-ease),
    transform 0.18s var(--ly-ease);
}

.ly-btn--primary {
  color: #1A1712;
  background: var(--ly-orange);
}

.ly-btn--primary:hover { background: #FF7440; }

.ly-btn--ghost {
  color: var(--ly-cyan);
  background: rgba(53, 232, 210, 0.08);
  box-shadow: inset 0 0 0 1px var(--ly-line-strong);
}

.ly-btn--ghost:hover {
  color: var(--ly-abyss);
  background: var(--ly-cyan);
}

.ly-btn:active { transform: translateY(1px); }

/* ---------- 6. 移动导航按钮 ---------- */
.ly-navtoggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 40px;
  color: var(--ly-cyan);
  background: rgba(53, 232, 210, 0.08);
  cursor: pointer;
  clip-path: polygon(9px 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%, 0 9px);
  transition: background-color 0.18s var(--ly-ease);
}

.ly-navtoggle:hover { background: rgba(53, 232, 210, 0.16); }

.ly-navtoggle__bars {
  position: relative;
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
}

.ly-navtoggle__bars::before,
.ly-navtoggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: currentColor;
  transition: transform 0.2s var(--ly-ease);
}

.ly-navtoggle__bars::before { top: -6px; }
.ly-navtoggle__bars::after { top: 6px; }

.ly-navtoggle[aria-expanded="true"] .ly-navtoggle__bars { background: transparent; }
.ly-navtoggle[aria-expanded="true"] .ly-navtoggle__bars::before { transform: translateY(6px) rotate(45deg); }
.ly-navtoggle[aria-expanded="true"] .ly-navtoggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- 7. 命令栏导航 ---------- */
.ly-nav {
  background: rgba(4, 20, 25, 0.72);
  border-top: 1px solid var(--ly-line-soft);
}

.ly-nav__list {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  width: 100%;
  max-width: var(--ly-w);
  margin: 0 auto;
  padding: 0 var(--ly-gutter);
}

.ly-nav__link {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 9px;
  padding: 13px 18px 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ly-slate);
  transition: color 0.18s var(--ly-ease);
}

.ly-nav__link::before {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 0;
  height: 2px;
  background: var(--ly-orange);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.2s var(--ly-ease), background-color 0.2s var(--ly-ease);
}

.ly-nav__link:hover { color: var(--ly-mist); }
.ly-nav__link:hover::before { background: var(--ly-cyan); transform: scaleX(1); }

.ly-nav__link[aria-current="page"] { color: var(--ly-mist); }
.ly-nav__link[aria-current="page"]::before { transform: scaleX(1); }

.ly-nav__idx {
  font-family: var(--ly-font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--ly-slate);
  opacity: 0.7;
  transition: color 0.18s var(--ly-ease), opacity 0.18s var(--ly-ease);
}

.ly-nav__link:hover .ly-nav__idx { color: var(--ly-cyan); opacity: 1; }
.ly-nav__link[aria-current="page"] .ly-nav__idx { color: var(--ly-orange); opacity: 1; }

.ly-nav__tail {
  display: flex;
  align-items: center;
  margin-left: auto;
}

.ly-nav__hint {
  font-family: var(--ly-font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ly-slate);
  opacity: 0.72;
}

/* ---------- 8. 页脚 ---------- */
.ly-footer {
  position: relative;
  margin-top: clamp(48px, 8vw, 96px);
  color: var(--ly-mist);
  background: linear-gradient(180deg, #04191F 0%, var(--ly-abyss) 100%);
  border-top: 1px solid var(--ly-line);
}

.ly-footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--ly-cyan) 0%, var(--ly-cyan) 22%, var(--ly-orange) 22%, var(--ly-orange) 40%, rgba(231, 178, 76, 0.5) 40%, rgba(231, 178, 76, 0) 68%);
}

.ly-footer__inner {
  width: 100%;
  max-width: var(--ly-w);
  margin: 0 auto;
  padding: clamp(40px, 6vw, 74px) var(--ly-gutter) 28px;
}

.ly-footer__grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.7fr) repeat(3, minmax(140px, 1fr));
  gap: clamp(24px, 4vw, 56px);
}

.ly-footer__logo {
  font-family: var(--ly-font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--ly-cyan);
}

.ly-footer__desc {
  max-width: 34em;
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.85;
  color: var(--ly-slate);
}

.ly-footer__trust {
  margin-top: 18px;
  padding: 12px 14px;
  font-family: var(--ly-font-mono);
  font-size: 12px;
  line-height: 1.9;
  letter-spacing: 0.02em;
  color: var(--ly-gold);
  background: rgba(231, 178, 76, 0.07);
  border-left: 2px solid var(--ly-gold);
}

.ly-footer__coltitle {
  padding-bottom: 10px;
  margin-bottom: 14px;
  font-family: var(--ly-font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--ly-mist);
  border-bottom: 1px solid var(--ly-line);
}

.ly-footer__links {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ly-footer__link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 0;
  font-size: 14px;
  color: var(--ly-slate);
  transition: color 0.18s var(--ly-ease), transform 0.18s var(--ly-ease);
}

.ly-footer__link::before {
  content: "";
  flex: 0 0 auto;
  width: 10px;
  height: 1px;
  background: var(--ly-slate);
  transition: width 0.18s var(--ly-ease), background-color 0.18s var(--ly-ease);
}

.ly-footer__link:hover {
  color: var(--ly-cyan);
  transform: translateX(3px);
}

.ly-footer__link:hover::before {
  width: 17px;
  background: var(--ly-cyan);
}

.ly-footer__contact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 14px 32px;
  margin-top: clamp(32px, 5vw, 56px);
  padding-top: 26px;
  border-top: 1px solid var(--ly-line);
}

.ly-footer__row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
}

.ly-footer__label {
  flex: 0 0 auto;
  padding-top: 3px;
  font-family: var(--ly-font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--ly-slate);
  white-space: nowrap;
}

.ly-footer__value {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ly-mist);
  word-break: break-word;
}

.ly-copy {
  flex: 0 0 auto;
  padding: 4px 9px;
  font-family: var(--ly-font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ly-slate);
  background: transparent;
  box-shadow: inset 0 0 0 1px var(--ly-line);
  cursor: pointer;
  clip-path: polygon(5px 0, 100% 0, 100% calc(100% - 5px), calc(100% - 5px) 100%, 0 100%, 0 5px);
  transition: color 0.16s var(--ly-ease), background-color 0.16s var(--ly-ease),
    box-shadow 0.16s var(--ly-ease);
}

.ly-copy:hover {
  color: var(--ly-cyan);
  box-shadow: inset 0 0 0 1px var(--ly-line-strong);
}

.ly-copy[data-copied] {
  color: var(--ly-abyss);
  background: var(--ly-cyan);
  box-shadow: inset 0 0 0 1px var(--ly-cyan);
}

.ly-footer__note {
  max-width: 72ch;
  margin-top: 20px;
  font-size: 13px;
  line-height: 1.9;
  color: var(--ly-slate);
}

.ly-footer__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 22px;
  margin-top: 28px;
  padding-top: 18px;
  font-family: var(--ly-font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ly-slate);
  border-top: 1px solid var(--ly-line);
}

/* ---------- 9. 页面容器与章节 ---------- */
.ly-main {
  position: relative;
  z-index: 1;
  display: block;
}

.ly-wrap {
  width: 100%;
  max-width: var(--ly-w);
  margin: 0 auto;
  padding: 0 var(--ly-gutter);
}

.ly-wrap--narrow { max-width: 900px; }

.ly-section {
  position: relative;
  padding: clamp(40px, 6vw, 88px) 0;
}

.ly-section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 32px;
  margin-bottom: clamp(22px, 3vw, 38px);
}

/* ---------- 10. 面包屑 ---------- */
.ly-crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  padding: 20px 0 0;
  font-family: var(--ly-font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ly-slate);
}

.ly-crumbs__link {
  color: var(--ly-slate);
  border-bottom: 1px solid transparent;
  transition: color 0.16s var(--ly-ease), border-color 0.16s var(--ly-ease);
}

.ly-crumbs__link:hover {
  color: var(--ly-cyan);
  border-bottom-color: var(--ly-cyan);
}

.ly-crumbs__sep { color: rgba(124, 154, 162, 0.5); }

.ly-crumbs__current { color: var(--ly-mist); }

/* ---------- 11. 刊头与文字层级 ---------- */
.ly-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ly-font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ly-cyan);
}

.ly-eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
}

.ly-eyebrow--num { color: var(--ly-orange); }

.ly-h1 {
  font-size: clamp(34px, 5.4vw, 62px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ly-mist);
}

.ly-h2 {
  font-size: clamp(24px, 3.2vw, 38px);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.02em;
  color: var(--ly-mist);
}

.ly-h3 {
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--ly-mist);
}

.ly-lead {
  max-width: 62ch;
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.8;
  color: var(--ly-slate);
}

/* ---------- 12. 网格与面板 ---------- */
.ly-grid {
  display: grid;
  gap: clamp(16px, 2vw, 26px);
}

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

.ly-panel {
  position: relative;
  padding: clamp(20px, 2.4vw, 30px);
  background: var(--ly-night);
  box-shadow: inset 0 0 0 1px var(--ly-line);
  clip-path: polygon(var(--ly-cut) 0, 100% 0, 100% calc(100% - var(--ly-cut)), calc(100% - var(--ly-cut)) 100%, 0 100%, 0 var(--ly-cut));
}

.ly-panel--flat { background: rgba(12, 58, 69, 0.55); }
.ly-panel--accent { box-shadow: inset 0 0 0 1px var(--ly-line-strong); }

/* ---------- 13. 图片容器基础规则 ---------- */
.ly-media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background-image:
    repeating-linear-gradient(90deg, rgba(53, 232, 210, 0.08) 0 1px, transparent 1px 46px),
    linear-gradient(140deg, rgba(53, 232, 210, 0.14), rgba(6, 35, 42, 0.92) 62%);
  background-color: var(--ly-abyss);
  box-shadow: inset 0 0 0 1px var(--ly-line);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%);
}

.ly-media--wide { aspect-ratio: 21 / 9; }
.ly-media--tall { aspect-ratio: 3 / 4; }
.ly-media--square { aspect-ratio: 1 / 1; }

.ly-media__frame {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.ly-media__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.ly-media__cap {
  margin-top: 10px;
  font-family: var(--ly-font-mono);
  font-size: 12px;
  line-height: 1.7;
  color: var(--ly-slate);
}

/* ---------- 14. 数据表 ---------- */
.ly-table {
  width: 100%;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}

.ly-table caption {
  padding-bottom: 12px;
  font-family: var(--ly-font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-align: left;
  color: var(--ly-slate);
}

.ly-table th {
  padding: 10px 14px;
  font-family: var(--ly-font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-align: left;
  color: var(--ly-slate);
  white-space: nowrap;
  border-bottom: 1px solid var(--ly-line-strong);
}

.ly-table td {
  padding: 12px 14px;
  font-family: var(--ly-font-mono);
  font-size: 13px;
  color: var(--ly-mist);
  border-bottom: 1px solid var(--ly-line-soft);
}

.ly-table tbody tr { transition: background-color 0.16s var(--ly-ease); }
.ly-table tbody tr:hover { background: rgba(53, 232, 210, 0.05); }

/* ---------- 15. 奶油底阅读区 ---------- */
.ly-paper {
  position: relative;
  padding: clamp(32px, 5vw, 80px) 0;
  color: var(--ly-ink);
  background: var(--ly-cream);
}

.ly-paper .ly-h1,
.ly-paper .ly-h2,
.ly-paper .ly-h3 { color: var(--ly-ink); }

.ly-paper .ly-lead { color: var(--ly-paper-ink-soft); }
.ly-paper .ly-eyebrow { color: var(--ly-paper-link); }
.ly-paper .ly-eyebrow--num { color: var(--ly-paper-accent); }
.ly-paper :focus-visible { outline-color: var(--ly-paper-link); }

.ly-prose {
  max-width: 38em;
  font-size: 17px;
  line-height: 1.85;
  color: var(--ly-ink);
}

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

.ly-prose h2,
.ly-prose h3 {
  margin: 1.9em 0 0.7em;
  font-family: var(--ly-font-sans);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--ly-ink);
}

.ly-prose h2 { font-size: clamp(22px, 2.6vw, 30px); }
.ly-prose h3 { font-size: clamp(18px, 2vw, 21px); }

.ly-prose a {
  color: var(--ly-paper-link);
  border-bottom: 1px solid var(--ly-paper-link);
}

.ly-prose ul,
.ly-prose ol {
  margin: 1.1em 0;
  padding-left: 1.3em;
}

.ly-prose ul { list-style: square; }
.ly-prose ol { list-style: decimal; }
.ly-prose li + li { margin-top: 0.5em; }

.ly-prose blockquote {
  margin: 1.6em 0;
  padding: 18px 22px;
  font-family: var(--ly-font-serif);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.8;
  color: var(--ly-ink);
  background: var(--ly-mint);
  border-left: 3px solid var(--ly-orange);
}

.ly-prose table { font-size: 14px; }

/* ---------- 16. 装饰：轨迹扫线与滚动进度 ---------- */
.ly-trail {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.ly-trail::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 32%;
  background: linear-gradient(90deg, transparent, rgba(53, 232, 210, 0.14), transparent);
  transform: translateX(-120%);
  animation: lyTrail 7s var(--ly-ease) infinite;
}

@keyframes lyTrail {
  0% { transform: translateX(-120%); }
  55%, 100% { transform: translateX(340%); }
}

.ly-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 200;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--ly-cyan), var(--ly-orange));
  transform: scaleX(0);
  transform-origin: 0 50%;
  pointer-events: none;
  transition: transform 0.1s linear;
}

/* ---------- 17. 显现 ---------- */
.ly-js [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s var(--ly-ease), transform 0.5s var(--ly-ease);
}

.ly-js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* ---------- 18. 响应式 ---------- */
@media (max-width: 1080px) {
  .ly-header__status { display: none; }
  .ly-header__top { grid-template-columns: auto 1fr auto; }
}

@media (max-width: 960px) {
  .ly-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ly-footer__brand { grid-column: 1 / -1; }
  .ly-grid--2,
  .ly-grid--3,
  .ly-grid--7-5,
  .ly-grid--5-7 { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 860px) {
  .ly-header__top {
    grid-template-columns: 1fr auto;
    row-gap: 10px;
  }

  .ly-brand__tag { display: none; }

  .ly-header__top .ly-btn {
    grid-column: 1 / -1;
    width: 100%;
  }

  .ly-navtoggle { display: inline-flex; }

  .ly-nav {
    max-height: 0;
    overflow: hidden;
    border-top-color: transparent;
    transition: max-height 0.28s var(--ly-ease), border-color 0.28s var(--ly-ease);
  }

  .ly-nav[data-open] {
    max-height: 80vh;
    overflow-y: auto;
    border-top-color: var(--ly-line-soft);
  }

  .ly-nav__list {
    flex-direction: column;
    padding-bottom: 10px;
  }

  .ly-nav__link {
    width: 100%;
    padding: 14px 4px 14px 16px;
    border-bottom: 1px solid var(--ly-line-soft);
  }

  .ly-nav__link::before {
    left: 0;
    right: auto;
    top: 9px;
    bottom: 9px;
    width: 3px;
    height: auto;
    transform: scaleY(0);
    transform-origin: top center;
  }

  .ly-nav__link:hover::before,
  .ly-nav__link[aria-current="page"]::before { transform: scaleY(1); }

  .ly-nav__tail { display: none; }
}

@media (max-width: 560px) {
  .ly-footer__grid { grid-template-columns: minmax(0, 1fr); }
  .ly-footer__inner { padding-bottom: 22px; }
  .ly-footer__legal { justify-content: flex-start; }
}

/* ---------- 19. 动效降级 ---------- */
@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;
  }

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