/* ==========================================================================
   乐鱼赛场 · 共享站点样式 /assets/site.css
   泳道式编辑版式：暖纸底 + 深墨蓝骨架 + 荧光青泳道 + 珊瑚橙行动点
   ========================================================================== */

:root {
  --ly-paper: #F4EFE5;
  --ly-card: #FFFDF7;
  --ly-ink: #0A2430;
  --ly-water: #0E4C63;
  --ly-cyan: #36E0CF;
  --ly-coral: #FF6B4A;
  --ly-lane: #C9EDF0;
  --ly-gray: #5E6E6A;
  --ly-coral-deep: #B83E2B;
  --ly-amber: #F2C94C;

  --ly-font-display: "Noto Serif SC", "Source Serif 4", "Songti SC", Georgia, serif;
  --ly-font-body: "Noto Sans SC", "Inter", "Helvetica Neue", Arial, sans-serif;
  --ly-font-mono: "JetBrains Mono", "SFMono-Regular", Consolas, "Noto Sans SC", monospace;

  --ly-shell: 1240px;
  --ly-gutter: clamp(16px, 4vw, 48px);
  --ly-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ly-hair: 1px solid rgba(10, 36, 48, 0.16);
  --ly-hair-strong: 1px solid rgba(10, 36, 48, 0.32);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote, hr { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg, video { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
a { color: inherit; }
hr { border: 0; }

/* ---------- 中文基础排版 ---------- */
body {
  background-color: var(--ly-paper);
  color: var(--ly-ink);
  font-family: var(--ly-font-body);
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

@media (min-width: 768px) {
  body { font-size: 17px; }
}

h1, h2, h3 {
  font-family: var(--ly-font-display);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.24;
  text-wrap: balance;
}

strong { font-weight: 700; }

/* ---------- 焦点可见 ---------- */
:focus-visible {
  outline: 2px solid var(--ly-coral);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- 容器与栅格 ---------- */
.ly-shell {
  width: 100%;
  max-width: var(--ly-shell);
  margin-inline: auto;
  padding-inline: var(--ly-gutter);
}

.ly-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(12px, 1.6vw, 24px);
  row-gap: clamp(20px, 3vw, 40px);
}

.ly-col-main { grid-column: 1 / span 7; }
.ly-col-rail { grid-column: 9 / span 3; }

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

.ly-prose { max-width: 68ch; }
.ly-prose p + p { margin-top: 1em; }
.ly-prose h2 { font-size: clamp(22px, 2.2vw, 28px); margin-top: 1.6em; margin-bottom: 0.5em; }
.ly-prose h3 { font-size: clamp(18px, 1.6vw, 21px); margin-top: 1.4em; margin-bottom: 0.4em; }

/* ---------- 跳过链接 ---------- */
.ly-skip {
  position: absolute;
  top: -80px;
  left: 16px;
  z-index: 400;
  padding: 10px 18px;
  background-color: var(--ly-ink);
  color: var(--ly-paper);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 2px;
  transition: top 0.2s var(--ly-ease);
}
.ly-skip:focus,
.ly-skip:focus-visible { top: 12px; }

/* ==========================================================================
   页头
   ========================================================================== */
.ly-header {
  position: relative;
  z-index: 80;
  background-color: var(--ly-paper);
}

.ly-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background-image: repeating-linear-gradient(90deg, rgba(10, 36, 48, 0.24) 0 12px, transparent 12px 24px);
  pointer-events: none;
}

/* --- 墨蓝索引条 --- */
.ly-topbar {
  background-color: var(--ly-ink);
  color: var(--ly-paper);
  font-size: 12.5px;
  letter-spacing: 0.05em;
}

.ly-topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 38px;
  padding-block: 6px;
}

.ly-topbar__descriptor {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: rgba(244, 239, 229, 0.84);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ly-topbar__descriptor::before {
  content: "";
  flex: 0 0 auto;
  width: 16px;
  height: 2px;
  background-color: var(--ly-cyan);
  box-shadow: 0 4px 0 var(--ly-cyan);
}

.ly-topbar__return {
  flex: 0 0 auto;
  color: var(--ly-cyan);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(54, 224, 207, 0.42);
  padding-bottom: 1px;
  white-space: nowrap;
  transition: border-color 0.18s var(--ly-ease), color 0.18s var(--ly-ease);
}
.ly-topbar__return:hover { color: #7CF3E7; border-bottom-color: #7CF3E7; }

/* --- 纸色命令栏 --- */
.ly-bar {
  background-color: var(--ly-paper);
  border-bottom: var(--ly-hair);
}

.ly-bar__inner {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  padding-block: clamp(10px, 1.3vw, 16px);
}

/* --- 品牌 --- */
.ly-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  text-decoration: none;
  color: var(--ly-ink);
}

.ly-brand__mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  background-color: var(--ly-water);
  color: var(--ly-paper);
  font-family: var(--ly-font-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
  border-radius: 2px;
  box-shadow: 4px 4px 0 0 var(--ly-cyan);
  transition: box-shadow 0.2s var(--ly-ease), transform 0.2s var(--ly-ease);
}

.ly-brand:hover .ly-brand__mark {
  box-shadow: 4px 4px 0 0 var(--ly-coral);
  transform: translate(-1px, -1px);
}

.ly-brand__text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  line-height: 1.1;
}

.ly-brand__name {
  font-family: var(--ly-font-display);
  font-size: clamp(19px, 1.5vw, 22px);
  font-weight: 700;
  letter-spacing: 0.01em;
}

.ly-brand__tag {
  font-family: var(--ly-font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  color: var(--ly-gray);
}

/* --- 移动导航按钮 --- */
.ly-navtoggle {
  display: none;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  padding: 10px 14px;
  background-color: var(--ly-card);
  border: var(--ly-hair-strong);
  border-radius: 2px;
  color: var(--ly-ink);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: background-color 0.18s var(--ly-ease), border-color 0.18s var(--ly-ease);
}
.ly-navtoggle:hover { background-color: var(--ly-lane); border-color: var(--ly-water); }

.ly-navtoggle__label { line-height: 1; }

.ly-navtoggle__bars {
  position: relative;
  display: block;
  width: 16px;
  height: 2px;
  background-color: var(--ly-ink);
  transition: background-color 0.2s var(--ly-ease);
}
.ly-navtoggle__bars::before,
.ly-navtoggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 2px;
  background-color: var(--ly-ink);
  transition: transform 0.26s var(--ly-ease);
}
.ly-navtoggle__bars::before { top: -5px; }
.ly-navtoggle__bars::after { top: 5px; }

.ly-header[data-open="true"] .ly-navtoggle__bars { background-color: transparent; }
.ly-header[data-open="true"] .ly-navtoggle__bars::before { transform: translateY(5px) rotate(45deg); }
.ly-header[data-open="true"] .ly-navtoggle__bars::after { transform: translateY(-5px) rotate(-45deg); }

/* --- 导航 --- */
.ly-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  margin-left: auto;
}

.ly-nav__head { display: none; }

.ly-nav__list {
  display: flex;
  align-items: center;
  gap: clamp(2px, 0.8vw, 12px);
}

.ly-nav__item { flex: 0 0 auto; }

.ly-nav__link {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 6px 12px;
  color: var(--ly-ink);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.18s var(--ly-ease);
}

.ly-nav__idx {
  font-family: var(--ly-font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--ly-gray);
  transition: color 0.18s var(--ly-ease);
}

.ly-nav__link::after {
  content: "";
  position: absolute;
  left: 6px;
  right: 6px;
  bottom: 4px;
  height: 2px;
  background-color: transparent;
  transition: background-color 0.2s var(--ly-ease);
}

.ly-nav__link:hover { color: var(--ly-water); }
.ly-nav__link:hover .ly-nav__idx { color: var(--ly-water); }
.ly-nav__link:hover::after,
.ly-nav__link:focus-visible::after { background-color: var(--ly-cyan); }

.ly-nav__link[aria-current="page"] { color: var(--ly-water); }
.ly-nav__link[aria-current="page"] .ly-nav__idx { color: var(--ly-coral); }
.ly-nav__link[aria-current="page"]::after { background-color: var(--ly-coral); }

.ly-nav__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

/* --- 赛事周期条 --- */
.ly-lanes {
  position: relative;
  background-color: var(--ly-water);
  color: var(--ly-paper);
  border-bottom: 1px solid rgba(10, 36, 48, 0.5);
}

.ly-lanes__inner {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.6vw, 20px);
  min-height: 48px;
}

.ly-lanes__title {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-right: 14px;
  border-right: 1px solid rgba(244, 239, 229, 0.26);
  font-family: var(--ly-font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--ly-cyan);
  white-space: nowrap;
}

.ly-lanes__title::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--ly-cyan);
  box-shadow: 0 0 0 3px rgba(54, 224, 207, 0.22);
}

.ly-lanes__track {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  padding-block: 9px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.ly-lanes__track::-webkit-scrollbar { height: 4px; }
.ly-lanes__track::-webkit-scrollbar-thumb { background-color: rgba(54, 224, 207, 0.5); border-radius: 2px; }
.ly-lanes__track::-webkit-scrollbar-track { background-color: transparent; }

.ly-lane {
  flex: 0 0 auto;
  scroll-snap-align: start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 10px;
  background-color: rgba(244, 239, 229, 0.08);
  border: 1px solid rgba(244, 239, 229, 0.22);
  border-left: 3px solid var(--ly-cyan);
  border-radius: 2px;
  color: var(--ly-paper);
  font-size: 12.5px;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 0.18s var(--ly-ease), border-color 0.18s var(--ly-ease), transform 0.18s var(--ly-ease);
}
.ly-lane:hover { background-color: rgba(54, 224, 207, 0.18); border-color: var(--ly-cyan); transform: translateY(-1px); }

.ly-lane__wk {
  font-family: var(--ly-font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--ly-cyan);
}

.ly-lane__name { font-weight: 600; white-space: nowrap; }

.ly-lane__meta {
  padding-left: 8px;
  border-left: 1px solid rgba(244, 239, 229, 0.22);
  font-size: 10.5px;
  color: rgba(244, 239, 229, 0.68);
  white-space: nowrap;
}

.ly-lanes__jump {
  flex: 0 0 auto;
  padding-left: 14px;
  border-left: 1px solid rgba(244, 239, 229, 0.26);
  color: var(--ly-cyan);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.18s var(--ly-ease);
}
.ly-lanes__jump:hover { color: #7CF3E7; }

/* ==========================================================================
   通用组件
   ========================================================================== */
.ly-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-family: var(--ly-font-body);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.04em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.18s var(--ly-ease), background-color 0.18s var(--ly-ease),
              color 0.18s var(--ly-ease), border-color 0.18s var(--ly-ease), box-shadow 0.18s var(--ly-ease);
}

.ly-btn--solid {
  background-color: var(--ly-coral);
  color: #14100C;
  border-color: var(--ly-coral);
  box-shadow: 3px 3px 0 0 var(--ly-ink);
}
.ly-btn--solid:hover {
  background-color: #FF8264;
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 0 var(--ly-ink);
}

.ly-btn--ghost {
  background-color: transparent;
  color: var(--ly-water);
  border-color: var(--ly-water);
}
.ly-btn--ghost:hover { background-color: var(--ly-lane); }

.ly-btn--dark {
  background-color: var(--ly-ink);
  color: var(--ly-paper);
  border-color: var(--ly-ink);
}
.ly-btn--dark:hover { background-color: var(--ly-water); border-color: var(--ly-water); }

.ly-btn--quiet {
  background-color: var(--ly-card);
  color: var(--ly-ink);
  border-color: rgba(10, 36, 48, 0.22);
}
.ly-btn--quiet:hover { background-color: var(--ly-lane); border-color: var(--ly-water); }

.ly-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ly-font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--ly-gray);
}
.ly-label::before {
  content: "";
  width: 22px;
  height: 2px;
  background-color: var(--ly-cyan);
}

.ly-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  background-color: var(--ly-lane);
  color: var(--ly-water);
  border: 1px solid rgba(14, 76, 99, 0.25);
  border-radius: 2px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.5;
}
.ly-tag--fee { background-color: var(--ly-coral); color: #14100C; border-color: var(--ly-coral); }
.ly-tag--alert { background-color: var(--ly-coral-deep); color: var(--ly-paper); border-color: var(--ly-coral-deep); }
.ly-tag--cyan { background-color: var(--ly-cyan); color: var(--ly-ink); border-color: var(--ly-cyan); }

.ly-card {
  position: relative;
  padding: clamp(18px, 2.2vw, 28px);
  background-color: var(--ly-card);
  border: var(--ly-hair);
  border-radius: 2px;
  box-shadow: 0 12px 26px -24px rgba(10, 36, 48, 0.75);
}
.ly-card--lane::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background-color: var(--ly-cyan);
}

.ly-rule {
  height: 12px;
  background-image: repeating-linear-gradient(90deg, rgba(10, 36, 48, 0.26) 0 1px, transparent 1px 12px);
  margin-block: clamp(20px, 3vw, 36px);
}

.ly-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--ly-gray);
}
.ly-breadcrumb__link {
  color: var(--ly-water);
  text-decoration: none;
  border-bottom: 1px solid rgba(14, 76, 99, 0.3);
  transition: border-color 0.18s var(--ly-ease), color 0.18s var(--ly-ease);
}
.ly-breadcrumb__link:hover { color: var(--ly-coral-deep); border-bottom-color: var(--ly-coral); }
.ly-breadcrumb__sep { color: rgba(10, 36, 48, 0.35); }
.ly-breadcrumb__current { color: var(--ly-ink); font-weight: 600; }

/* --- 图片容器基础规则 --- */
.ly-media {
  position: relative;
  overflow: hidden;
  background-color: var(--ly-lane);
  border: var(--ly-hair);
  border-radius: 2px;
  aspect-ratio: 16 / 10;
}
.ly-media--wide { aspect-ratio: 21 / 9; }
.ly-media--tall { aspect-ratio: 3 / 4; }
.ly-media--square { aspect-ratio: 1 / 1; }

.ly-media > img,
.ly-media > picture > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.04);
}
.ly-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(14, 76, 99, 0.16);
  pointer-events: none;
}
.ly-media__caption {
  position: absolute;
  left: 0;
  bottom: 0;
  right: 0;
  padding: 10px 14px;
  background-color: rgba(10, 36, 48, 0.78);
  color: var(--ly-paper);
  font-family: var(--ly-font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  z-index: 1;
}

/* --- 滚动进度条（由 site.js 注入） --- */
.ly-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background-color: var(--ly-cyan);
  box-shadow: 0 0 0 1px rgba(54, 224, 207, 0.25);
  z-index: 300;
  pointer-events: none;
}

/* --- 复制按钮 --- */
.ly-copy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  padding: 3px 9px;
  background-color: transparent;
  color: var(--ly-cyan);
  border: 1px solid rgba(54, 224, 207, 0.45);
  border-radius: 2px;
  font-family: var(--ly-font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.6;
  cursor: pointer;
  transition: background-color 0.16s var(--ly-ease), color 0.16s var(--ly-ease), border-color 0.16s var(--ly-ease);
}
.ly-copy:hover { background-color: rgba(54, 224, 207, 0.14); border-color: var(--ly-cyan); }
.ly-copy.is-copied { background-color: var(--ly-cyan); color: var(--ly-ink); border-color: var(--ly-cyan); }
.ly-copy__text { display: inline-block; }

/* --- 滚动显现协议 --- */
.ly-js [data-reveal] {
  opacity: 0;
  transform: translateY(12px);
}
.ly-js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
  transition: opacity 0.65s var(--ly-ease), transform 0.65s var(--ly-ease);
}

/* ==========================================================================
   页脚
   ========================================================================== */
.ly-footer {
  position: relative;
  margin-top: clamp(48px, 6vw, 88px);
  background-color: var(--ly-ink);
  color: var(--ly-paper);
}

.ly-footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  background-image: repeating-linear-gradient(90deg, var(--ly-cyan) 0 20px, transparent 20px 40px);
  opacity: 0.72;
}

.ly-footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.6fr) minmax(0, 1.2fr);
  gap: clamp(24px, 3.2vw, 56px);
  padding-block: clamp(44px, 5vw, 76px) clamp(24px, 3vw, 40px);
}

.ly-footer__brand { min-width: 0; }

.ly-footer__wordmark {
  font-family: var(--ly-font-display);
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ly-paper);
}

.ly-footer__lede {
  margin-top: 14px;
  max-width: 34ch;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(244, 239, 229, 0.72);
}

.ly-footer__return {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  padding: 9px 15px;
  background-color: var(--ly-cyan);
  color: var(--ly-ink);
  border-radius: 2px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: background-color 0.18s var(--ly-ease), transform 0.18s var(--ly-ease);
}
.ly-footer__return::before { content: "\2191"; font-size: 13px; line-height: 1; }
.ly-footer__return:hover { background-color: #6FF0E2; transform: translateY(-1px); }

.ly-footer__nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 2.6vw, 40px);
}

.ly-footer__col { min-width: 0; }

.ly-footer__coltitle {
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 1px solid rgba(244, 239, 229, 0.18);
  font-family: var(--ly-font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--ly-cyan);
}

.ly-footer__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ly-footer__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: rgba(244, 239, 229, 0.82);
  text-decoration: none;
  transition: color 0.16s var(--ly-ease), gap 0.16s var(--ly-ease);
}
.ly-footer__link::before {
  content: "";
  width: 10px;
  height: 1px;
  background-color: currentColor;
  opacity: 0.55;
  flex: 0 0 auto;
}
.ly-footer__link:hover { color: var(--ly-cyan); gap: 12px; }

.ly-footer__contact { min-width: 0; }

.ly-footer__row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 10px;
  padding-bottom: 10px;
  border-bottom: 1px dashed rgba(244, 239, 229, 0.16);
  font-size: 14px;
  color: rgba(244, 239, 229, 0.82);
}

.ly-footer__k {
  flex: 0 0 auto;
  font-family: var(--ly-font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: rgba(54, 224, 207, 0.88);
}

.ly-footer__v {
  font-family: var(--ly-font-mono);
  font-size: 13px;
  word-break: break-all;
  color: rgba(244, 239, 229, 0.9);
}

.ly-footer__note {
  margin-top: 14px;
  font-size: 12px;
  line-height: 1.75;
  color: rgba(244, 239, 229, 0.55);
}

.ly-footer__base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 28px;
  padding-block: 18px;
  border-top: 1px solid rgba(244, 239, 229, 0.16);
  font-size: 12px;
  color: rgba(244, 239, 229, 0.6);
}

.ly-footer__fine { line-height: 1.7; }

.ly-footer__legal {
  color: rgba(244, 239, 229, 0.6);
  text-decoration: none;
  transition: color 0.16s var(--ly-ease);
}
.ly-footer__legal:hover { color: var(--ly-cyan); }

.ly-footer__icp {
  font-family: var(--ly-font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: rgba(244, 239, 229, 0.48);
}

/* ==========================================================================
   响应式
   ========================================================================== */
@media (max-width: 1100px) {
  .ly-nav__link { font-size: 13px; padding-inline: 4px; }
  .ly-nav__link::after { left: 4px; right: 4px; }
  .ly-nav__actions .ly-btn { padding: 9px 13px; font-size: 12.5px; }
}

@media (max-width: 1023px) {
  .ly-navtoggle { display: inline-flex; }

  .ly-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    width: min(360px, 88vw);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    margin-left: 0;
    padding: calc(var(--ly-gutter) + 10px) var(--ly-gutter) var(--ly-gutter);
    background-color: var(--ly-card);
    border-left: 1px solid rgba(10, 36, 48, 0.24);
    box-shadow: -24px 0 60px -24px rgba(10, 36, 48, 0.5);
    transform: translateX(102%);
    visibility: hidden;
    transition: transform 0.34s var(--ly-ease), visibility 0.34s var(--ly-ease);
    overflow-y: auto;
    overscroll-behavior: contain;
    z-index: 120;
  }

  .ly-header[data-open="true"] .ly-nav {
    transform: translateX(0);
    visibility: visible;
  }

  .ly-nav__head {
    display: block;
    padding-bottom: 12px;
    margin-bottom: 6px;
    border-bottom: 1px solid rgba(10, 36, 48, 0.7);
    font-family: var(--ly-font-mono);
    font-size: 11px;
    letter-spacing: 0.18em;
    color: var(--ly-gray);
  }

  .ly-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin-bottom: 20px;
  }

  .ly-nav__item { border-bottom: var(--ly-hair); }

  .ly-nav__link {
    flex-direction: row;
    align-items: center;
    gap: 14px;
    padding: 16px 4px;
    font-size: 16px;
    white-space: normal;
  }

  .ly-nav__idx { min-width: 22px; font-size: 11px; }

  .ly-nav__link::after { display: none; }

  .ly-nav__link[aria-current="page"] {
    padding-left: 12px;
    box-shadow: inset 3px 0 0 var(--ly-coral);
    background-color: rgba(201, 237, 240, 0.34);
  }

  .ly-nav__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-top: auto;
    padding-top: 6px;
  }
  .ly-nav__actions .ly-btn { width: 100%; padding-block: 14px; font-size: 14px; }

  .ly-col-main,
  .ly-col-rail { grid-column: 1 / -1; }

  .ly-footer__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(24px, 4vw, 40px);
  }
  .ly-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .ly-lanes__jump { display: none; }
  .ly-lanes__inner { gap: 10px; }
  .ly-lanes__title { font-size: 10px; padding-right: 10px; letter-spacing: 0.12em; }
  .ly-lane { font-size: 12px; }
  .ly-brand__mark { width: 38px; height: 38px; font-size: 15px; }
}

@media (max-width: 640px) {
  .ly-topbar__descriptor { display: none; }
  .ly-topbar__inner { justify-content: flex-end; min-height: 34px; }
  .ly-navtoggle__label { display: none; }
  .ly-navtoggle { padding: 11px 12px; }

  .ly-footer__inner { grid-template-columns: 1fr; }
  .ly-footer__nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .ly-footer__base {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

@media (max-width: 400px) {
  .ly-footer__nav { grid-template-columns: 1fr; }
}

/* ---------- 减少动效 ---------- */
@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;
  }

  .ly-progress { display: none; }
  .ly-lanes__track { scroll-behavior: auto; }
}
