/* ==========================================================================
   乐鱼手机赛场 · 共享样式表 /assets/site.css
   深海夜蓝底 · 荧光青坐标 · 锐利直角 · 精密网格
   ========================================================================== */

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
}
body, h1, h2, h3, h4, h5, p, ul, ol, li, figure, figcaption, blockquote, dl, dt, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, svg, video { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
table { border-collapse: collapse; width: 100%; }
[hidden] { display: none !important; }

/* ---------- 变量 ---------- */
:root {
  --ly-abyss: #05121E;
  --ly-panel: #0B2136;
  --ly-grid: #17364F;
  --ly-grid-soft: rgba(23, 54, 79, 0.62);
  --ly-cyan: #16E0C8;
  --ly-electric: #2FA9FF;
  --ly-coral: #FF6B45;
  --ly-lemon: #FFD34A;
  --ly-turf: #0E3A2C;
  --ly-ink: #E9F2F8;
  --ly-mist: #9AB2C4;
  --ly-paper: #F2F5F7;
  --ly-paper-ink: #05121E;

  --ly-max: 1320px;
  --ly-gutter: clamp(16px, 4vw, 48px);
  --ly-measure: 36em;
  --ly-ease: cubic-bezier(0.2, 0.7, 0.3, 1);

  --ly-font-display: "Archivo Expanded", "Archivo", "Source Han Sans SC", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --ly-font-body: "IBM Plex Sans Condensed", "Source Han Sans SC", "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --ly-font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "Noto Sans Mono CJK SC", monospace;
}

/* ---------- 基础排版 ---------- */
body {
  background-color: var(--ly-abyss);
  background-image:
    radial-gradient(1100px 620px at 84% -12%, rgba(22, 224, 200, 0.10), transparent 68%),
    radial-gradient(820px 520px at -8% 12%, rgba(47, 169, 255, 0.09), transparent 70%);
  background-repeat: no-repeat;
  color: var(--ly-ink);
  font-family: var(--ly-font-body);
  font-size: clamp(16px, 0.35vw + 15px, 17.5px);
  line-height: 1.85;
  letter-spacing: 0.01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--ly-font-display);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.02;
}
h1 { font-size: clamp(40px, 7.2vw, 88px); }
h2 { font-size: clamp(28px, 4.4vw, 52px); }
h3 { font-size: clamp(20px, 2.4vw, 28px); line-height: 1.15; }
h4 { font-family: var(--ly-font-body); font-size: 1rem; font-weight: 700; letter-spacing: 0.02em; }

p { max-width: var(--ly-measure); }
p + p { margin-top: 1em; }

a { color: var(--ly-electric); text-decoration: none; text-underline-offset: 3px; }
a:hover { color: var(--ly-cyan); text-decoration: underline; }
strong { color: var(--ly-ink); font-weight: 700; }
::selection { background: var(--ly-cyan); color: var(--ly-paper-ink); }

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

/* ---------- 跳转链 ---------- */
.ly-skip {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 200;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  background: var(--ly-cyan);
  color: #04121B;
  font-family: var(--ly-font-mono);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-decoration: none;
  transition: top 0.18s var(--ly-ease);
}
.ly-skip:focus { top: 10px; color: #04121B; text-decoration: none; }

/* ---------- 站点头部 ---------- */
.ly-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: linear-gradient(180deg, rgba(5, 18, 30, 0.97), rgba(5, 18, 30, 0.84));
  border-bottom: 1px solid var(--ly-grid);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background 0.3s var(--ly-ease);
}
.ly-header[data-scrolled="true"] {
  background: linear-gradient(180deg, rgba(5, 18, 30, 0.99), rgba(11, 33, 54, 0.94));
}

.ly-header__inner {
  position: relative;
  max-width: var(--ly-max);
  margin-inline: auto;
  padding: 12px var(--ly-gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: padding 0.3s var(--ly-ease);
}

/* 品牌簇 */
.ly-brand { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.ly-brand__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ly-ink);
  text-decoration: none;
  min-height: 32px;
}
.ly-brand__link:hover { color: var(--ly-ink); text-decoration: none; }
.ly-brand__mark {
  flex: 0 0 auto;
  width: 6px;
  height: 24px;
  background: linear-gradient(180deg, var(--ly-cyan), var(--ly-electric));
}
.ly-brand__name {
  font-family: var(--ly-font-display);
  font-weight: 900;
  font-size: clamp(18px, 3.4vw, 24px);
  letter-spacing: -0.01em;
  line-height: 1;
  white-space: nowrap;
}
.ly-brand__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  max-height: 30px;
  overflow: hidden;
  font-family: var(--ly-font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  line-height: 1.4;
  color: var(--ly-mist);
  transition: max-height 0.28s var(--ly-ease), opacity 0.2s linear;
}
.ly-brand__season { color: var(--ly-cyan); }
.ly-brand__dot { color: var(--ly-grid); }
.ly-header[data-scrolled="true"] .ly-brand__meta { max-height: 0; opacity: 0; }
.ly-header[data-scrolled="true"] .ly-header__inner { padding-block: 8px; }

/* 移动栏目按钮 */
.ly-nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  min-width: 44px;
  padding: 0 12px;
  background: transparent;
  border: 1px solid var(--ly-grid);
  color: var(--ly-ink);
  font-family: var(--ly-font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  cursor: pointer;
  transition: border-color 0.2s var(--ly-ease), color 0.2s var(--ly-ease);
}
.ly-nav-toggle:hover { border-color: var(--ly-electric); color: var(--ly-electric); }
.ly-nav-toggle[aria-expanded="true"] { border-color: var(--ly-cyan); color: var(--ly-cyan); }
.ly-nav-toggle__bars { display: inline-flex; flex-direction: column; gap: 5px; width: 16px; }
.ly-nav-toggle__bars span {
  display: block;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.2s var(--ly-ease);
}
.ly-nav-toggle[aria-expanded="true"] .ly-nav-toggle__bars span:first-child { transform: translateY(3.25px) rotate(45deg); }
.ly-nav-toggle[aria-expanded="true"] .ly-nav-toggle__bars span:last-child { transform: translateY(-3.25px) rotate(-45deg); }

/* 导航：移动端下拉面板 */
.ly-nav {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  max-height: 76vh;
  overflow-y: auto;
  padding: 8px var(--ly-gutter) 20px;
  background: var(--ly-panel);
  border-top: 1px solid var(--ly-grid);
  border-bottom: 1px solid var(--ly-grid);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.2s var(--ly-ease), transform 0.2s var(--ly-ease), visibility 0.2s linear;
}
.ly-nav[data-open="true"] { opacity: 1; visibility: visible; pointer-events: auto; transform: none; }

.ly-nav__list { counter-reset: ly-nav; display: grid; }
.ly-nav__item { counter-increment: ly-nav; border-bottom: 1px solid var(--ly-grid-soft); }
.ly-nav__item:last-child { border-bottom: 0; }
.ly-nav__link {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  color: var(--ly-ink);
  font-size: 16px;
  letter-spacing: 0.06em;
  text-decoration: none;
}
.ly-nav__link::before {
  content: counter(ly-nav, decimal-leading-zero);
  font-family: var(--ly-font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--ly-mist);
}
.ly-nav__link:hover, .ly-nav__link:focus-visible { color: var(--ly-cyan); text-decoration: none; }
.ly-nav__link[aria-current="page"] { color: var(--ly-cyan); }
.ly-nav__link[aria-current="page"]::after {
  content: "";
  width: 6px;
  height: 6px;
  margin-left: auto;
  background: var(--ly-cyan);
}

/* 滚动进度 */
.ly-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--ly-grid-soft);
  overflow: hidden;
}
.ly-progress__bar {
  display: block;
  height: 100%;
  width: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--ly-cyan), var(--ly-electric));
  transition: transform 0.12s linear;
}

/* ---------- 站点页脚 ---------- */
.ly-footer {
  position: relative;
  margin-top: clamp(64px, 10vw, 140px);
  background: var(--ly-abyss);
  border-top: 1px solid var(--ly-grid);
}
.ly-footer__turf {
  height: 18px;
  background-image:
    repeating-linear-gradient(90deg, var(--ly-turf) 0 10px, transparent 10px 20px),
    linear-gradient(180deg, rgba(22, 224, 200, 0.16), transparent 70%);
  border-bottom: 1px solid rgba(22, 224, 200, 0.24);
}
.ly-footer__inner {
  max-width: var(--ly-max);
  margin-inline: auto;
  padding: clamp(32px, 5vw, 56px) var(--ly-gutter) 26px;
}
.ly-footer__grid {
  display: grid;
  gap: 1px;
  background: var(--ly-grid-soft);
  border: 1px solid var(--ly-grid-soft);
}
.ly-footer__col { background: var(--ly-abyss); padding: clamp(20px, 3vw, 30px); }
.ly-footer__title { margin-bottom: 16px; color: var(--ly-ink); }
.ly-footer__title .ly-label__no { color: var(--ly-cyan); }
.ly-footer__text { color: var(--ly-mist); font-size: 14px; line-height: 1.8; max-width: 32em; }
.ly-footer__cta { margin-top: 18px; }
.ly-footer__note {
  margin-top: 12px;
  color: var(--ly-mist);
  font-family: var(--ly-font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  line-height: 1.7;
}
.ly-footer__list { display: grid; gap: 1px; }
.ly-footer__list a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  color: var(--ly-mist);
  font-size: 15px;
  letter-spacing: 0.02em;
  text-decoration: none;
}
.ly-footer__list a::before {
  content: "";
  width: 6px;
  height: 1px;
  margin-right: 10px;
  background: var(--ly-grid);
  transition: width 0.2s var(--ly-ease), background 0.2s var(--ly-ease);
}
.ly-footer__list a:hover { color: var(--ly-cyan); text-decoration: none; }
.ly-footer__list a:hover::before { width: 16px; background: var(--ly-cyan); }

.ly-footer__list--meta li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  min-height: 38px;
  padding: 6px 0;
  border-bottom: 1px solid var(--ly-grid-soft);
}
.ly-footer__list--meta li:last-child { border-bottom: 0; }
.ly-footer__key {
  flex: 0 0 auto;
  min-width: 4em;
  font-family: var(--ly-font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--ly-mist);
}
.ly-footer__val {
  font-family: var(--ly-font-mono);
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--ly-ink);
  word-break: break-word;
}
.ly-footer__base {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px 24px;
  margin-top: clamp(24px, 4vw, 40px);
  padding-top: 18px;
  border-top: 1px solid var(--ly-grid);
}
.ly-footer__brand {
  font-family: var(--ly-font-display);
  font-weight: 900;
  font-size: 16px;
  letter-spacing: -0.01em;
  color: var(--ly-ink);
  max-width: none;
}
.ly-footer__legal {
  font-family: var(--ly-font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--ly-mist);
  max-width: none;
}

/* ---------- 容器与章节 ---------- */
.ly-container {
  width: 100%;
  max-width: var(--ly-max);
  margin-inline: auto;
  padding-inline: var(--ly-gutter);
}
.ly-section { padding-block: clamp(56px, 8vw, 112px); }
.ly-section--tight { padding-block: clamp(24px, 4vw, 48px); }
.ly-section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 18px;
  padding-bottom: 14px;
  margin-bottom: clamp(24px, 4vw, 44px);
  border-bottom: 1px solid var(--ly-grid);
}
.ly-section__title { max-width: none; }
.ly-section__note {
  margin-left: auto;
  font-family: var(--ly-font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--ly-mist);
}

/* ---------- 网格 ---------- */
.ly-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 26px);
}
.ly-col-3, .ly-col-4, .ly-col-5, .ly-col-6, .ly-col-7, .ly-col-8, .ly-col-9, .ly-col-12 { grid-column: span 12; }

/* ---------- 展签式标签 ---------- */
.ly-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ly-font-mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.16em;
  line-height: 1.5;
  color: var(--ly-mist);
  text-transform: uppercase;
}
.ly-label__no { color: var(--ly-cyan); letter-spacing: 0.1em; }

/* ---------- 数据 ---------- */
.ly-num {
  font-family: var(--ly-font-mono);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  letter-spacing: -0.01em;
}
.ly-stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-left: 14px;
  border-left: 1px solid var(--ly-grid);
}
.ly-stat__value {
  font-family: var(--ly-font-mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(34px, 6vw, 64px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ly-cyan);
}
.ly-stat__value--coral { color: var(--ly-coral); }
.ly-stat__value--lemon { color: var(--ly-lemon); }
.ly-stat__value--ink { color: var(--ly-ink); }
.ly-stat__unit { font-size: 0.42em; color: var(--ly-mist); margin-left: 4px; }
.ly-stat__cap { font-size: 12px; letter-spacing: 0.14em; color: var(--ly-mist); }

/* ---------- 卡片 ---------- */
.ly-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(18px, 2.4vw, 28px);
  background: var(--ly-panel);
  border: 1px solid var(--ly-grid);
  transition: border-color 0.22s var(--ly-ease);
}
.ly-card:hover { border-color: var(--ly-cyan); }
.ly-card__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.ly-card__title {
  font-family: var(--ly-font-display);
  font-size: clamp(19px, 2.2vw, 26px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--ly-ink);
}
.ly-card__body { color: var(--ly-mist); font-size: 0.98rem; max-width: var(--ly-measure); }
.ly-card__foot {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--ly-grid);
  font-family: var(--ly-font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--ly-mist);
}

/* ---------- 图片占位容器 ---------- */
.ly-media {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--ly-panel);
  border: 1px solid var(--ly-grid);
}
.ly-media--wide { aspect-ratio: 21 / 9; }
.ly-media--tall { aspect-ratio: 3 / 4; }
.ly-media--square { aspect-ratio: 1 / 1; }
.ly-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.72) contrast(1.06) brightness(0.92);
}
.ly-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(5, 18, 30, 0.12), rgba(5, 18, 30, 0.74)),
    linear-gradient(90deg, rgba(22, 224, 200, 0.10), transparent 62%);
}
.ly-media__caption {
  position: absolute;
  left: 12px;
  bottom: 10px;
  z-index: 2;
  font-family: var(--ly-font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--ly-ink);
}

/* ---------- 横向数据带 ---------- */
.ly-band {
  display: flex;
  gap: 1px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  background: var(--ly-grid-soft);
  border: 1px solid var(--ly-grid);
}
.ly-band::-webkit-scrollbar { height: 6px; }
.ly-band::-webkit-scrollbar-track { background: var(--ly-abyss); }
.ly-band::-webkit-scrollbar-thumb { background: var(--ly-grid); }
.ly-band__item {
  flex: 0 0 clamp(180px, 42vw, 240px);
  scroll-snap-align: start;
  padding: 16px 18px;
  background: var(--ly-panel);
}

/* ---------- 筛选 ---------- */
.ly-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.ly-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  background: transparent;
  border: 1px solid var(--ly-grid);
  color: var(--ly-mist);
  font-family: var(--ly-font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  cursor: pointer;
  transition: color 0.2s var(--ly-ease), border-color 0.2s var(--ly-ease), background 0.2s var(--ly-ease);
}
.ly-chip:hover { border-color: var(--ly-electric); color: var(--ly-ink); }
.ly-chip[aria-pressed="true"] {
  background: rgba(47, 169, 255, 0.12);
  border-color: var(--ly-electric);
  color: var(--ly-electric);
}

/* ---------- 折叠面板 ---------- */
.ly-details { background: var(--ly-panel); border: 1px solid var(--ly-grid); }
.ly-details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 52px;
  padding: 0 18px;
  cursor: pointer;
  list-style: none;
  font-family: var(--ly-font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--ly-ink);
}
.ly-details summary::-webkit-details-marker { display: none; }
.ly-details summary::after { content: "+"; color: var(--ly-cyan); font-size: 16px; line-height: 1; }
.ly-details[open] summary::after { content: "–"; }
.ly-details__body { padding: 0 18px 20px; color: var(--ly-mist); }
.ly-details__body p { max-width: var(--ly-measure); }

/* ---------- 按钮 ---------- */
.ly-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 22px;
  background: var(--ly-cyan);
  border: 1px solid var(--ly-cyan);
  color: #04121B;
  font-family: var(--ly-font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s var(--ly-ease), color 0.2s var(--ly-ease), border-color 0.2s var(--ly-ease);
}
.ly-btn:hover { background: #3FF2DE; border-color: #3FF2DE; color: #04121B; text-decoration: none; }
.ly-btn--ghost { background: transparent; border-color: rgba(22, 224, 200, 0.42); color: var(--ly-ink); }
.ly-btn--ghost:hover { background: transparent; border-color: var(--ly-cyan); color: var(--ly-cyan); }
.ly-btn--quiet {
  min-height: 44px;
  padding: 0;
  background: none;
  border: 0;
  color: var(--ly-electric);
  border-bottom: 1px solid var(--ly-grid);
}
.ly-btn--quiet:hover { background: none; color: var(--ly-cyan); border-bottom-color: var(--ly-cyan); }

/* ---------- 面包屑 ---------- */
.ly-breadcrumb { padding-top: 22px; }
.ly-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--ly-font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--ly-mist);
}
.ly-breadcrumb li { display: inline-flex; align-items: center; gap: 8px; }
.ly-breadcrumb li + li::before { content: "/"; color: var(--ly-grid); }
.ly-breadcrumb a { color: var(--ly-mist); text-decoration: none; }
.ly-breadcrumb a:hover { color: var(--ly-cyan); }
.ly-breadcrumb [aria-current="page"] { color: var(--ly-ink); }

/* ---------- 时间轴内链（JS 高亮钩子） ---------- */
[data-spy-link] { color: var(--ly-mist); text-decoration: none; }
[data-spy-link]:hover { color: var(--ly-ink); }
[data-spy-link].is-current { color: var(--ly-cyan); }
[data-spy-link].is-current::before { background: var(--ly-cyan); }

/* ---------- 通用工具 ---------- */
.ly-measure { max-width: var(--ly-measure); }
.ly-muted { color: var(--ly-mist); }
.ly-divider { height: 1px; background: var(--ly-grid); border: 0; margin-block: clamp(28px, 5vw, 56px); }
.ly-visually-hidden {
  position: absolute;
  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;
}

/* ---------- 入场显现 ---------- */
.ly-js .ly-reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.22s ease-out, transform 0.22s ease-out;
}
.ly-js .ly-reveal.is-visible { opacity: 1; transform: none; }

/* ---------- 平板 ---------- */
@media (min-width: 760px) {
  .ly-col-3 { grid-column: span 4; }
  .ly-col-4 { grid-column: span 6; }
  .ly-col-5 { grid-column: span 6; }
  .ly-col-6 { grid-column: span 6; }
  .ly-col-7 { grid-column: span 12; }
  .ly-col-8 { grid-column: span 12; }
  .ly-col-9 { grid-column: span 12; }
  .ly-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- 桌面 ---------- */
@media (min-width: 900px) {
  .ly-nav-toggle { display: none; }
  .ly-header__inner { padding-block: 18px; }
  .ly-header[data-scrolled="true"] .ly-header__inner { padding-block: 10px; }

  .ly-nav {
    position: static;
    max-height: none;
    overflow: visible;
    padding: 0;
    background: none;
    border: 0;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }
  .ly-nav__list { display: flex; align-items: center; gap: clamp(14px, 2.2vw, 30px); }
  .ly-nav__item { border-bottom: 0; }
  .ly-nav__link {
    position: relative;
    min-height: 44px;
    padding-bottom: 2px;
    font-size: 14px;
    letter-spacing: 0.08em;
    color: var(--ly-mist);
  }
  .ly-nav__link::before { font-size: 10px; letter-spacing: 0.1em; color: var(--ly-grid); }
  .ly-nav__link:hover::before { color: var(--ly-electric); }
  .ly-nav__link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: 0;
    height: 2px;
    background: var(--ly-cyan);
    transition: right 0.22s var(--ly-ease);
  }
  .ly-nav__link:hover::after,
  .ly-nav__link[aria-current="page"]::after { right: 0; }
  .ly-nav__link[aria-current="page"] { color: var(--ly-ink); }
  .ly-nav__link[aria-current="page"]::before { color: var(--ly-cyan); }

  .ly-footer__base { align-items: center; }
}

@media (min-width: 1024px) {
  .ly-footer__grid { grid-template-columns: 1.15fr 1fr 1fr 1.35fr; }
}

@media (min-width: 1080px) {
  .ly-col-3 { grid-column: span 3; }
  .ly-col-4 { grid-column: span 4; }
  .ly-col-5 { grid-column: span 5; }
  .ly-col-6 { grid-column: span 6; }
  .ly-col-7 { grid-column: span 7; }
  .ly-col-8 { grid-column: span 8; }
  .ly-col-9 { grid-column: span 9; }
}

/* ---------- 小屏微调 ---------- */
@media (max-width: 639px) {
  .ly-brand__note { display: none; }
  .ly-section__note { margin-left: 0; }
  html { scroll-padding-top: 84px; }
}

/* ---------- 降低动效 ---------- */
@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 .ly-reveal { opacity: 1; transform: none; }
}
