/* ============================================================
   乐鱼赛场 · 共享样式 /assets/site.css
   深海基底 + 荧光青信号 + 侧轨导航 + 模块化 Bento
   ============================================================ */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  background: #05131F;
}

body, h1, h2, h3, h4, h5, p, ul, ol, li, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg, video { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
table { border-collapse: collapse; width: 100%; }

/* ---------- 2. 设计令牌 ---------- */
:root {
  --ly-deep: #05131F;
  --ly-panel: #0B2338;
  --ly-line: #173A5A;
  --ly-cyan: #00EFC4;
  --ly-blue: #2BB8FF;
  --ly-orange: #FF7A2F;
  --ly-warn: #FFD24A;
  --ly-ink: #E9F5FF;
  --ly-text: #9FB6CA;
  --ly-green: #19D39A;

  --ly-rail-w: 88px;
  --ly-gap: 12px;
  --ly-radius: 14px;
  --ly-maxw: 1240px;
  --ly-dur: .22s;

  --ly-font-display: "Arial Narrow", "Roboto Condensed", "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  --ly-font-body: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ly-font-mono: ui-monospace, SFMono-Regular, "Cascadia Mono", "Roboto Mono", Consolas, "Courier New", monospace;
}

/* ---------- 3. 基础排版与画布 ---------- */
body {
  min-height: 100vh;
  font-family: var(--ly-font-body);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ly-text);
  background-color: var(--ly-deep);
  background-image:
    radial-gradient(1100px 560px at 82% -12%, rgba(43, 184, 255, .16), transparent 60%),
    radial-gradient(900px 500px at 4% 4%, rgba(0, 239, 196, .10), transparent 62%),
    repeating-linear-gradient(90deg, rgba(159, 182, 202, .055) 0 1px, transparent 1px 48px),
    repeating-linear-gradient(0deg, rgba(159, 182, 202, .055) 0 1px, transparent 1px 48px);
  -webkit-font-smoothing: antialiased;
}

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

h1 { font-size: clamp(2.4rem, 5.5vw, 4.6rem); text-transform: uppercase; }
h2 { font-size: clamp(1.4rem, 2.6vw, 2.2rem); }
h3 { font-size: clamp(1.05rem, 1.6vw, 1.3rem); }

::selection { background: var(--ly-cyan); color: #04121C; }

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

@media (min-width: 1024px) { body { padding-left: var(--ly-rail-w); } }
@media (max-width: 1023px) { body { padding-top: 56px; } }

/* ---------- 4. 布局骨架 ---------- */
.ly-shell { display: block; padding-top: 24px; }

.ly-container {
  width: min(var(--ly-maxw), calc(100% - 40px));
  margin-inline: auto;
}
@media (min-width: 1024px) {
  .ly-container { width: min(var(--ly-maxw), calc(100% - 64px)); }
}

.ly-section { margin-block: 56px; }
.ly-section__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--ly-line);
}

.ly-grid {
  display: grid;
  gap: var(--ly-gap);
  grid-template-columns: repeat(12, minmax(0, 1fr));
}
.ly-span-3, .ly-span-4, .ly-span-5, .ly-span-6,
.ly-span-7, .ly-span-8, .ly-span-9, .ly-span-12 { grid-column: span 12; }

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

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

/* ---------- 5. 跳过链接 / 阅读进度 ---------- */
.ly-skip {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--ly-cyan);
  color: #04121C;
  font-family: var(--ly-font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .08em;
  text-decoration: none;
  transform: translateY(-180%);
  transition: transform .18s ease;
}
.ly-skip:focus-visible { transform: translateY(0); }
@media (min-width: 1024px) { .ly-skip { left: calc(var(--ly-rail-w) + 12px); } }

.ly-progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 2px;
  z-index: 120;
  background: rgba(23, 58, 90, .55);
  pointer-events: none;
}
.ly-progress__bar {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--ly-cyan), var(--ly-blue));
  box-shadow: 0 0 12px rgba(0, 239, 196, .55);
}

/* ---------- 6. 头部：移动顶栏 + 汉堡 + 遮罩 ---------- */
.ly-header { position: relative; z-index: 70; }

.ly-topbar {
  position: fixed;
  inset: 0 0 auto 0;
  height: 56px;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  background: rgba(5, 19, 31, .92);
  border-bottom: 1px solid var(--ly-line);
  backdrop-filter: blur(10px);
}
@media (min-width: 1024px) { .ly-topbar { display: none; } }

.ly-topbar__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ly-ink);
  font-family: var(--ly-font-display);
  font-size: 15px;
  letter-spacing: .14em;
}
.ly-topbar__name { text-transform: uppercase; }

.ly-mark__glyph {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 9px;
  border: 1px solid rgba(0, 239, 196, .5);
  background: linear-gradient(140deg, rgba(0, 239, 196, .22), rgba(43, 184, 255, .12));
  color: var(--ly-cyan);
  font-family: var(--ly-font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .06em;
}

.ly-burger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 12px;
  border: 1px solid var(--ly-line);
  border-radius: 10px;
  color: var(--ly-ink);
  font-family: var(--ly-font-display);
  font-size: 12px;
  letter-spacing: .12em;
  transition: border-color var(--ly-dur), color var(--ly-dur);
}
.ly-burger:hover { border-color: rgba(0, 239, 196, .5); color: var(--ly-cyan); }

.ly-burger__bars { position: relative; width: 16px; height: 2px; background: var(--ly-cyan); transition: background var(--ly-dur); }
.ly-burger__bars::before,
.ly-burger__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 2px;
  background: var(--ly-cyan);
  transition: transform var(--ly-dur), top var(--ly-dur);
}
.ly-burger__bars::before { top: -5px; }
.ly-burger__bars::after { top: 5px; }
.ly-burger[aria-expanded="true"] .ly-burger__bars { background: transparent; }
.ly-burger[aria-expanded="true"] .ly-burger__bars::before { top: 0; transform: rotate(45deg); }
.ly-burger[aria-expanded="true"] .ly-burger__bars::after { top: 0; transform: rotate(-45deg); }

.ly-scrim {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(5, 19, 31, .74);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--ly-dur) ease, visibility var(--ly-dur) ease;
}
.ly-scrim[data-open="true"] { opacity: 1; visibility: visible; }
@media (min-width: 1024px) { .ly-scrim { display: none; } }

/* ---------- 7. 侧轨导航 ---------- */
.ly-rail {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: var(--ly-rail-w);
  z-index: 105;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 16px 10px;
  background: linear-gradient(180deg, rgba(11, 35, 56, .96), rgba(5, 19, 31, .99));
  border-right: 1px solid var(--ly-line);
  scrollbar-width: none;
}
.ly-rail::-webkit-scrollbar { width: 0; }

@media (min-width: 1024px) {
  .ly-rail { overflow-y: auto; }
}

@media (max-width: 1023px) {
  .ly-rail {
    width: min(86vw, 320px);
    padding: 20px 16px 26px;
    gap: 18px;
    overflow-y: auto;
    transform: translateX(-102%);
    transition: transform var(--ly-dur) cubic-bezier(.4, 0, .2, 1);
  }
  .ly-rail[data-open="true"] { transform: translateX(0); }
}

.ly-rail__head { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.ly-mark { display: flex; flex-direction: column; align-items: center; gap: 7px; }
.ly-mark__text {
  font-family: var(--ly-font-display);
  font-size: 10px;
  line-height: 1.35;
  letter-spacing: .1em;
  color: var(--ly-text);
  text-align: center;
}

.ly-rail__line {
  font-size: 10px;
  line-height: 1.5;
  letter-spacing: .04em;
  color: rgba(159, 182, 202, .72);
  text-align: center;
}

.ly-rail__meter { display: none; }
@media (min-width: 1024px) {
  .ly-rail__meter {
    display: block;
    position: absolute;
    right: 0;
    top: 0;
    width: 2px;
    height: 100%;
    background: rgba(23, 58, 90, .5);
    pointer-events: none;
  }
  .ly-rail__meterfill {
    display: block;
    width: 100%;
    height: 0;
    background: linear-gradient(180deg, var(--ly-cyan), var(--ly-blue));
  }
}

.ly-rail__list { display: flex; flex-direction: column; align-items: center; gap: 6px; }

.ly-navlink {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 40px;
  border: 1px solid transparent;
  border-radius: 10px;
  color: var(--ly-text);
  font-family: var(--ly-font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  transition: color var(--ly-dur), background var(--ly-dur), border-color var(--ly-dur);
}
.ly-navlink:hover { border-color: rgba(0, 239, 196, .35); color: var(--ly-ink); }
.ly-navlink[aria-current="page"] {
  background: linear-gradient(140deg, rgba(0, 239, 196, .18), rgba(43, 184, 255, .08));
  border-color: rgba(0, 239, 196, .55);
  color: var(--ly-cyan);
}
.ly-navlink[aria-current="page"]::before {
  content: "";
  position: absolute;
  left: -10px;
  top: 50%;
  transform: translateY(-50%);
  width: 2px;
  height: 20px;
  border-radius: 2px;
  background: var(--ly-cyan);
}

.ly-navlink__label {
  position: absolute;
  left: calc(100% + 14px);
  top: 50%;
  z-index: 20;
  padding: 7px 12px;
  white-space: nowrap;
  border: 1px solid var(--ly-line);
  border-radius: 8px;
  background: var(--ly-panel);
  color: var(--ly-ink);
  font-family: var(--ly-font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-50%) translateX(-6px);
  box-shadow: 0 14px 26px -18px rgba(0, 0, 0, .95);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.ly-navlink:hover .ly-navlink__label,
.ly-navlink:focus-visible .ly-navlink__label {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
}

.ly-rail__leagues { display: flex; flex-direction: column; gap: 8px; }

.ly-leaguebar { display: flex; flex-direction: column; gap: 5px; }

.ly-league {
  width: 100%;
  height: 24px;
  border: 1px solid var(--ly-line);
  border-radius: 7px;
  color: var(--ly-text);
  font-family: var(--ly-font-display);
  font-size: 10.5px;
  letter-spacing: .06em;
  transition: color var(--ly-dur), border-color var(--ly-dur), background var(--ly-dur);
}
.ly-league:hover { color: var(--ly-ink); border-color: rgba(43, 184, 255, .6); }
.ly-league[aria-pressed="true"] {
  background: rgba(43, 184, 255, .16);
  border-color: var(--ly-blue);
  color: var(--ly-ink);
}

.ly-leaguebar__more {
  height: 24px;
  border: 1px dashed var(--ly-line);
  border-radius: 7px;
  color: var(--ly-text);
  font-family: var(--ly-font-display);
  font-size: 10.5px;
  letter-spacing: .1em;
  transition: color var(--ly-dur), border-color var(--ly-dur);
}
.ly-leaguebar__more:hover { color: var(--ly-cyan); border-color: rgba(0, 239, 196, .55); }

.ly-leaguebar--more {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height var(--ly-dur) ease, opacity var(--ly-dur) ease;
}
.ly-leaguebar--more[data-open="true"] { max-height: 260px; opacity: 1; }

.ly-rail__actions { display: flex; flex-direction: column; gap: 6px; margin-top: auto; }

/* ---------- 8. 按钮 ---------- */
.ly-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-family: var(--ly-font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .06em;
  text-decoration: none;
  transition: transform var(--ly-dur) ease, background var(--ly-dur) ease,
              border-color var(--ly-dur) ease, color var(--ly-dur) ease;
}
.ly-btn:active { transform: translateY(1px); }

.ly-btn--primary { background: var(--ly-orange); color: #061A26; }
.ly-btn--primary:hover { background: #FF8E4D; }

.ly-btn--ghost {
  background: rgba(43, 184, 255, .06);
  border-color: var(--ly-line);
  color: var(--ly-ink);
}
.ly-btn--ghost:hover { border-color: rgba(0, 239, 196, .55); color: var(--ly-cyan); }

.ly-btn--block { width: 100%; }
@media (min-width: 1024px) {
  .ly-btn--block { height: 36px; padding: 0 6px; font-size: 11px; letter-spacing: .04em; }
}

/* ---------- 9. 通用组件 ---------- */
.ly-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ly-font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ly-cyan);
}
.ly-eyebrow::before {
  content: "";
  width: 14px;
  height: 1px;
  background: currentColor;
}

.ly-panel {
  position: relative;
  padding: 20px;
  border: 1px solid var(--ly-line);
  border-radius: var(--ly-radius);
  background: linear-gradient(180deg, rgba(11, 35, 56, .92), rgba(11, 35, 56, .68));
  box-shadow: inset 0 1px 0 rgba(233, 245, 255, .04), 0 16px 34px -26px rgba(0, 0, 0, .95);
}
.ly-panel--focus { border-color: rgba(0, 239, 196, .4); }
.ly-panel--flat {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
}
.ly-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--ly-line);
}
.ly-panel__title {
  font-family: var(--ly-font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ly-ink);
}
.ly-panel__body { display: block; }

.ly-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--ly-font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  white-space: nowrap;
}
.ly-tag--new { color: var(--ly-green); border-color: rgba(25, 211, 154, .45); background: rgba(25, 211, 154, .1); }
.ly-tag--adjust { color: var(--ly-warn); border-color: rgba(255, 210, 74, .45); background: rgba(255, 210, 74, .1); }
.ly-tag--fix { color: var(--ly-orange); border-color: rgba(255, 122, 47, .45); background: rgba(255, 122, 47, .1); }
.ly-tag--off { color: var(--ly-text); border-color: var(--ly-line); background: rgba(159, 182, 202, .07); }

.ly-metric { display: flex; flex-direction: column; gap: 4px; }
.ly-metric__value {
  font-family: var(--ly-font-mono);
  font-size: clamp(1.6rem, 3.4vw, 2.6rem);
  font-weight: 600;
  line-height: 1.05;
  color: var(--ly-ink);
}
.ly-metric__label {
  font-family: var(--ly-font-display);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ly-text);
}

.ly-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--ly-line);
  border-radius: 12px;
  background:
    radial-gradient(130% 90% at 82% 0%, rgba(43, 184, 255, .18), transparent 62%),
    linear-gradient(180deg, #0B2338, #05131F);
}
.ly-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(90deg, rgba(159, 182, 202, .07) 0 1px, transparent 1px 40px),
    repeating-linear-gradient(0deg, rgba(159, 182, 202, .07) 0 1px, transparent 1px 40px);
}
.ly-media > img { width: 100%; height: 100%; object-fit: cover; }
.ly-media--wide { aspect-ratio: 21 / 9; }
.ly-media--tall { aspect-ratio: 4 / 5; }
.ly-media--square { aspect-ratio: 1 / 1; }
.ly-media__caption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 2;
  padding: 5px 10px;
  border-radius: 8px;
  background: rgba(5, 19, 31, .82);
  border: 1px solid var(--ly-line);
  font-family: var(--ly-font-display);
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--ly-ink);
}

.ly-prose { max-width: 68ch; }
.ly-prose p { margin-bottom: 1.2em; }
.ly-prose p:last-child { margin-bottom: 0; }
.ly-prose a { color: var(--ly-blue); border-bottom: 1px solid rgba(43, 184, 255, .4); }
.ly-prose a:hover { color: var(--ly-cyan); border-bottom-color: var(--ly-cyan); }
.ly-prose h2, .ly-prose h3 { margin: 1.6em 0 .6em; }
.ly-prose ul, .ly-prose ol { margin: 0 0 1.2em; padding-left: 1.1em; }
.ly-prose li { list-style: none; position: relative; padding-left: 14px; margin-bottom: .5em; }
.ly-prose li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: 6px;
  height: 1px;
  background: var(--ly-cyan);
}

.ly-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  font-family: var(--ly-font-display);
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ly-text);
}
.ly-breadcrumb__item { color: var(--ly-text); }
.ly-breadcrumb__item:hover { color: var(--ly-cyan); }
.ly-breadcrumb__sep { color: var(--ly-line); }

/* 标签页 */
.ly-tabs {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  border-bottom: 1px solid var(--ly-line);
  margin-bottom: 16px;
}
.ly-tab {
  padding: 9px 14px;
  color: var(--ly-text);
  font-family: var(--ly-font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .1em;
  white-space: nowrap;
  transition: color var(--ly-dur);
}
.ly-tab:hover { color: var(--ly-ink); }
.ly-tab[aria-selected="true"] { color: var(--ly-cyan); }
.ly-tabs__indicator {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--ly-cyan);
  transition: transform var(--ly-dur) ease, width var(--ly-dur) ease;
}
.ly-tabpanel { padding-top: 4px; }

/* 折叠面板 */
.ly-fold { border-top: 1px solid var(--ly-line); }
.ly-fold__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 14px 2px;
  text-align: left;
  color: var(--ly-ink);
  font-family: var(--ly-font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .08em;
  transition: color var(--ly-dur);
}
.ly-fold__trigger:hover { color: var(--ly-cyan); }
.ly-fold__trigger::after {
  content: "+";
  flex: none;
  color: var(--ly-cyan);
  font-family: var(--ly-font-mono);
  font-size: 16px;
  transition: transform var(--ly-dur);
}
.ly-fold__trigger[aria-expanded="true"]::after { transform: rotate(45deg); }
.ly-fold__panel {
  height: 0;
  overflow: hidden;
  transition: height var(--ly-dur) ease;
}
.ly-fold[data-open="true"] .ly-fold__panel { opacity: 1; }
.ly-fold__panel > * { padding-bottom: 14px; }

/* 时间轴 */
.ly-timeline { position: relative; padding-left: 22px; }
.ly-timeline::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: linear-gradient(180deg, var(--ly-cyan), var(--ly-line));
}
.ly-timeline__item { position: relative; padding-bottom: 18px; }
.ly-timeline__item::before {
  content: "";
  position: absolute;
  left: -22px;
  top: 8px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ly-deep);
  border: 2px solid var(--ly-cyan);
}
.ly-timeline__item:last-child { padding-bottom: 0; }

/* 显现与返回顶部 */
.ly-reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .3s ease, transform .3s ease;
}
.ly-reveal--in { opacity: 1; transform: none; }

.ly-backtop {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 88;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--ly-line);
  border-radius: 12px;
  background: rgba(11, 35, 56, .92);
  color: var(--ly-cyan);
  font-family: var(--ly-font-mono);
  font-size: 15px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity var(--ly-dur) ease, transform var(--ly-dur) ease, visibility var(--ly-dur) ease;
}
.ly-backtop[data-visible="true"] { opacity: 1; visibility: visible; transform: translateY(0); }
.ly-backtop:hover { border-color: rgba(0, 239, 196, .55); }

/* ---------- 10. 页脚 ---------- */
.ly-footer {
  margin-top: 72px;
  border-top: 1px solid var(--ly-line);
  background: linear-gradient(180deg, rgba(11, 35, 56, .62), rgba(5, 19, 31, .98));
}
.ly-footer__inner { padding: 46px 0 26px; }

.ly-footer__top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}
@media (min-width: 880px) {
  .ly-footer__top { grid-template-columns: 1.15fr 2fr; gap: 44px; }
}

.ly-footer__wordmark {
  font-family: var(--ly-font-display);
  font-size: clamp(2rem, 4.6vw, 3.2rem);
  font-weight: 700;
  line-height: .98;
  letter-spacing: .06em;
  color: var(--ly-ink);
}
.ly-footer__line {
  margin-top: 10px;
  font-size: 14px;
  color: var(--ly-text);
}
.ly-footer__region {
  display: inline-block;
  margin-top: 14px;
  padding: 4px 10px;
  border: 1px solid var(--ly-line);
  border-radius: 999px;
  font-family: var(--ly-font-display);
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--ly-cyan);
}

.ly-footer__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
@media (min-width: 680px) { .ly-footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.ly-footer__col { display: flex; flex-direction: column; gap: 12px; }
.ly-footer__col h2 { font-size: 12px; }
.ly-footer__list { display: flex; flex-direction: column; gap: 8px; }
.ly-footer__list a {
  font-size: 15px;
  color: var(--ly-text);
  transition: color var(--ly-dur);
}
.ly-footer__list a:hover { color: var(--ly-cyan); }

.ly-footer__contact {
  margin-top: 32px;
  padding: 18px 20px;
  border: 1px solid var(--ly-line);
  border-radius: var(--ly-radius);
  background: rgba(11, 35, 56, .6);
}
.ly-footer__contactline {
  font-family: var(--ly-font-mono);
  font-size: 14px;
  color: var(--ly-ink);
  word-break: break-word;
}
.ly-footer__address { margin-top: 6px; font-size: 14px; }
.ly-footer__service { margin-top: 8px; font-size: 13px; color: rgba(159, 182, 202, .85); }

.ly-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--ly-line);
  font-size: 13px;
}
.ly-footer__record { font-family: var(--ly-font-mono); color: var(--ly-ink); }
.ly-footer__legal { display: flex; flex-wrap: wrap; gap: 16px; }
.ly-footer__legal a { color: var(--ly-text); }
.ly-footer__legal a:hover { color: var(--ly-cyan); }
.ly-footer__copy { margin-left: auto; color: rgba(159, 182, 202, .7); }

/* ---------- 11. 降级动效 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .ly-reveal { opacity: 1; transform: none; }
}
