/* =========================================================
   乐鱼体育中文专区 · 共享站点套件 /assets/site.css
   深海底色 + 荧光青锚点 + 乐鱼橙红赛事强调
   ========================================================= */

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

html {
  -webkit-text-size-adjust: 100%;
  background-color: #04121F;
}

body,
h1, h2, h3, h4, h5, h6,
p, ul, ol, dl, dd, figure, blockquote, fieldset {
  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; }

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

[hidden] { display: none !important; }

/* ---------- 2. Tokens ---------- */
:root {
  --ly-abyss: #04121F;
  --ly-deep: #0A2238;
  --ly-panel: #0E2F4A;
  --ly-line: #1C4A66;
  --ly-ice: #EAF7FF;
  --ly-mist: #9DB8CA;
  --ly-cyan: #35F2D0;
  --ly-orange: #FF5A3C;
  --ly-blue: #2A7FFF;
  --ly-gold: #F7C948;

  --ly-font-display: "HarmonyOS Sans SC", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --ly-font-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --ly-font-mono: "Roboto Mono", "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --ly-maxw: 1240px;
  --ly-gutter: 24px;
  --ly-cut: 12px;
  --ly-cut-lg: 20px;
  --ly-ease: cubic-bezier(.22, .61, .36, 1);
  --ly-header-offset: 108px;
}

/* ---------- 3. 基础排版 ---------- */
body {
  min-height: 100vh;
  font-family: var(--ly-font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.85;
  letter-spacing: .01em;
  color: var(--ly-ice);
  background-color: var(--ly-abyss);
  background-image:
    radial-gradient(90% 58% at 92% -8%, rgba(53, 242, 208, .10), transparent 62%),
    radial-gradient(72% 52% at -8% 6%, rgba(42, 127, 255, .13), transparent 58%),
    repeating-linear-gradient(100deg, rgba(28, 74, 102, .16) 0 1px, transparent 1px 128px),
    linear-gradient(180deg, #04121F 0%, #071B2C 42%, #04121F 100%);
  background-repeat: no-repeat;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

p { line-height: 1.85; color: var(--ly-mist); }

strong, b { color: var(--ly-ice); font-weight: 700; }

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

[id] { scroll-margin-top: var(--ly-header-offset); }

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

/* ---------- 4. 通用排版组件 ---------- */
.ly-display {
  font-family: var(--ly-font-display);
  font-weight: 300;
  font-size: clamp(44px, 8vw, 112px);
  line-height: 1.02;
  letter-spacing: -.03em;
  color: var(--ly-ice);
}

.ly-title {
  font-family: var(--ly-font-display);
  font-weight: 700;
  font-size: clamp(26px, 3.6vw, 40px);
  line-height: 1.22;
  letter-spacing: -.01em;
  color: var(--ly-ice);
}

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

.ly-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ly-font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ly-cyan);
}

.ly-eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--ly-cyan);
}

.ly-mono {
  font-family: var(--ly-font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: .01em;
}

/* ---------- 5. 布局骨架 ---------- */
.ly-main {
  display: block;
  padding: 8px 0 0;
}

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

.ly-section { padding: 72px 0; }

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

.ly-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
}

.ly-rule {
  height: 1px;
  border: 0;
  margin: 40px 0;
  background: linear-gradient(90deg, var(--ly-line), rgba(28, 74, 102, 0));
  transform: skewY(-1.2deg);
}

/* ---------- 6. Skip link ---------- */
.ly-skip {
  position: fixed;
  top: 12px;
  left: 16px;
  z-index: 200;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--ly-cyan);
  color: #04121F;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  transform: translateY(-200%);
  transition: transform .2s var(--ly-ease);
}

.ly-skip:focus,
.ly-skip:focus-visible {
  transform: translateY(0);
  outline-offset: 4px;
}

/* ---------- 7. 悬浮胶囊头部 ---------- */
.ly-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 14px var(--ly-gutter) 10px;
  transition: padding .22s var(--ly-ease);
}

.ly-header__shell {
  position: relative;
  max-width: var(--ly-maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 10px 14px 10px 16px;
  border: 1px solid var(--ly-line);
  border-radius: 999px;
  background-image:
    linear-gradient(118deg, rgba(14, 47, 74, .94) 0%, rgba(7, 27, 44, .90) 62%, rgba(4, 18, 31, .94) 100%);
  backdrop-filter: blur(14px) saturate(1.25);
  -webkit-backdrop-filter: blur(14px) saturate(1.25);
  box-shadow:
    0 22px 46px -30px rgba(0, 0, 0, .95),
    inset 0 1px 0 rgba(53, 242, 208, .12);
  transition: padding .22s var(--ly-ease), border-color .22s var(--ly-ease), background-image .22s var(--ly-ease);
}

.ly-header[data-compact] { padding-top: 8px; }

.ly-header[data-compact] .ly-header__shell {
  padding: 5px 10px 5px 12px;
  border-color: rgba(53, 242, 208, .34);
}

/* 品牌 */
.ly-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.ly-brand__mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  font-family: var(--ly-font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  color: #04121F;
  background-image: linear-gradient(140deg, var(--ly-cyan) 0%, var(--ly-blue) 100%);
  clip-path: polygon(9px 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%, 0 9px);
}

.ly-brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  min-width: 0;
}

.ly-brand__name {
  font-family: var(--ly-font-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--ly-ice);
  white-space: nowrap;
}

.ly-brand__sub {
  font-family: var(--ly-font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .14em;
  color: var(--ly-mist);
  white-space: nowrap;
}

.ly-header[data-compact] .ly-brand__sub { display: none; }

/* 导航 */
.ly-nav {
  display: flex;
  justify-content: center;
  min-width: 0;
}

.ly-nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
}

.ly-nav__link {
  display: inline-block;
  padding: 8px 13px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: .03em;
  color: var(--ly-mist);
  white-space: nowrap;
  transition: color .18s var(--ly-ease), background-color .18s var(--ly-ease);
}

.ly-nav__link:hover {
  color: var(--ly-ice);
  background-color: rgba(53, 242, 208, .10);
}

.ly-nav__link[aria-current="page"] {
  background-color: var(--ly-cyan);
  color: #04121F;
  font-weight: 700;
}

/* 右侧状态与入口 */
.ly-header__aside {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-self: end;
}

.ly-channel {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid var(--ly-line);
  border-radius: 999px;
  background-color: rgba(53, 242, 208, .07);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--ly-mist);
  transition: border-color .18s var(--ly-ease), color .18s var(--ly-ease);
}

.ly-channel:hover {
  border-color: var(--ly-cyan);
  color: var(--ly-ice);
}

.ly-channel__dot {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background-color: var(--ly-cyan);
  box-shadow: 0 0 10px rgba(53, 242, 208, .8);
  animation: ly-pulse 2.6s ease-in-out infinite;
}

.ly-channel__text { white-space: nowrap; }

.ly-channel__state {
  font-family: var(--ly-font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .12em;
  color: var(--ly-cyan);
}

.ly-header[data-compact] .ly-channel__text { display: none; }

.ly-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border: 1px solid var(--ly-orange);
  border-radius: 999px;
  background-color: var(--ly-orange);
  color: #04121F;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  white-space: nowrap;
  transition: transform .18s var(--ly-ease), box-shadow .18s var(--ly-ease);
}

.ly-cta::after {
  content: "";
  width: 6px;
  height: 6px;
  border-top: 2px solid #04121F;
  border-right: 2px solid #04121F;
  transform: rotate(45deg);
}

.ly-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px -12px rgba(255, 90, 60, .9);
}

/* 阅读进度 */
.ly-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 110;
  pointer-events: none;
  background-color: rgba(53, 242, 208, .10);
}

.ly-progress__fill {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background-image: linear-gradient(90deg, var(--ly-blue), var(--ly-cyan));
  box-shadow: 0 0 12px rgba(53, 242, 208, .8);
}

/* 移动端按钮 */
.ly-navbtn {
  display: none;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border: 1px solid var(--ly-line);
  border-radius: 999px;
  background-color: rgba(14, 47, 74, .8);
  color: var(--ly-ice);
  cursor: pointer;
}

.ly-navbtn__bar {
  display: block;
  width: 15px;
  height: 1.5px;
  background-color: var(--ly-cyan);
  transition: transform .2s var(--ly-ease), opacity .2s var(--ly-ease);
}

.ly-navbtn__label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .06em;
  color: var(--ly-mist);
}

.ly-header[data-open] .ly-navbtn__bar:first-of-type { transform: translateY(4.5px) rotate(45deg); }
.ly-header[data-open] .ly-navbtn__bar:last-of-type { transform: translateY(-4.5px) rotate(-45deg); }

/* ---------- 8. 页脚 ---------- */
.ly-footer {
  position: relative;
  margin-top: 96px;
  border-top: 1px solid var(--ly-line);
  background-image: linear-gradient(180deg, rgba(10, 34, 56, .94) 0%, rgba(4, 18, 31, 1) 78%);
}

.ly-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background-image: repeating-linear-gradient(100deg, var(--ly-cyan) 0 14px, transparent 14px 46px);
  opacity: .32;
}

.ly-footer__inner {
  max-width: var(--ly-maxw);
  margin: 0 auto;
  padding: 64px var(--ly-gutter) 28px;
}

.ly-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.25fr;
  gap: 48px 40px;
}

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

.ly-footer__note {
  margin-top: 18px;
  max-width: 34ch;
  font-size: 14px;
  line-height: 1.85;
  color: var(--ly-mist);
}

.ly-footer__stamp {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

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

.ly-footer__heading {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
  font-family: var(--ly-font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ly-mist);
}

.ly-footer__heading::before {
  content: "";
  width: 14px;
  height: 1px;
  margin-right: 9px;
  background-color: var(--ly-cyan);
}

.ly-footer__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 16px;
}

.ly-footer__link {
  display: inline-block;
  padding: 3px 0;
  font-size: 14px;
  color: var(--ly-mist);
  transition: color .18s var(--ly-ease), transform .18s var(--ly-ease);
}

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

.ly-footer__link[aria-current="page"] {
  color: var(--ly-cyan);
  font-weight: 700;
}

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

.ly-contact__row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
}

.ly-contact__label {
  flex: 0 0 auto;
  min-width: 60px;
  font-family: var(--ly-font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .12em;
  color: var(--ly-line);
  text-transform: uppercase;
}

.ly-contact__value {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ly-ice);
}

.ly-copy {
  padding: 0;
  font-family: var(--ly-font-mono);
  font-size: 14px;
  color: var(--ly-ice);
  border-bottom: 1px dashed var(--ly-line);
  cursor: pointer;
  transition: color .18s var(--ly-ease), border-color .18s var(--ly-ease);
}

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

.ly-copy.is-copied {
  color: var(--ly-cyan);
  border-bottom-color: var(--ly-cyan);
}

.ly-contact__note {
  margin-top: 14px;
  font-size: 12px;
  line-height: 1.8;
  color: var(--ly-mist);
  opacity: .9;
  max-width: 36ch;
}

.ly-footer__cta {
  margin-top: 18px;
}

.ly-footer__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid var(--ly-line);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--ly-mist);
}

.ly-legal__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.ly-legal__link {
  color: var(--ly-mist);
  border-bottom: 1px solid transparent;
  transition: color .18s var(--ly-ease), border-color .18s var(--ly-ease);
}

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

.ly-legal__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--ly-mist);
}

.ly-legal__icp {
  font-family: var(--ly-font-mono);
  letter-spacing: .04em;
  color: var(--ly-mist);
}

.ly-legal__sep { color: var(--ly-line); }

.ly-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 130;
  max-width: calc(100% - 32px);
  padding: 10px 20px;
  border-radius: 999px;
  background-color: var(--ly-cyan);
  color: #04121F;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .02em;
  opacity: 0;
  transform: translate(-50%, 14px);
  pointer-events: none;
  transition: opacity .2s var(--ly-ease), transform .2s var(--ly-ease);
}

.ly-toast[data-visible] {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ---------- 9. 通用组件 ---------- */
.ly-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  border: 1px solid var(--ly-cyan);
  border-radius: 999px;
  background-color: var(--ly-cyan);
  color: #04121F;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .04em;
  cursor: pointer;
  transition: transform .18s var(--ly-ease), box-shadow .18s var(--ly-ease), background-color .18s var(--ly-ease), color .18s var(--ly-ease), border-color .18s var(--ly-ease);
}

.ly-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -20px rgba(53, 242, 208, .9);
}

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

.ly-btn--ghost:hover {
  border-color: var(--ly-cyan);
  color: var(--ly-cyan);
  box-shadow: 0 16px 32px -24px rgba(53, 242, 208, .7);
}

.ly-btn--warm {
  background-color: var(--ly-orange);
  border-color: var(--ly-orange);
  color: #04121F;
}

.ly-btn--warm:hover {
  box-shadow: 0 16px 32px -20px rgba(255, 90, 60, .9);
}

.ly-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border: 1px solid var(--ly-line);
  border-radius: 999px;
  background-color: rgba(14, 47, 74, .7);
  font-family: var(--ly-font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .1em;
  color: var(--ly-mist);
  white-space: nowrap;
}

.ly-tag--warm {
  border-color: rgba(255, 90, 60, .55);
  color: var(--ly-orange);
  background-color: rgba(255, 90, 60, .1);
}

.ly-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border: 1px solid rgba(53, 242, 208, .4);
  border-radius: 999px;
  background-color: rgba(53, 242, 208, .08);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--ly-cyan);
}

.ly-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--ly-cyan);
}

.ly-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ly-chip {
  padding: 7px 15px;
  border: 1px solid var(--ly-line);
  border-radius: 999px;
  background-color: rgba(14, 47, 74, .6);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .03em;
  color: var(--ly-mist);
  cursor: pointer;
  transition: color .18s var(--ly-ease), border-color .18s var(--ly-ease), background-color .18s var(--ly-ease);
}

.ly-chip:hover {
  color: var(--ly-ice);
  border-color: var(--ly-cyan);
}

.ly-chip[aria-pressed="true"] {
  background-color: var(--ly-cyan);
  border-color: var(--ly-cyan);
  color: #04121F;
  font-weight: 700;
}

.ly-panel {
  position: relative;
  padding: 24px;
  border: 1px solid var(--ly-line);
  background-image: linear-gradient(155deg, rgba(14, 47, 74, .96) 0%, rgba(10, 34, 56, .90) 100%);
  clip-path: polygon(var(--ly-cut-lg) 0, 100% 0, 100% calc(100% - var(--ly-cut-lg)), calc(100% - var(--ly-cut-lg)) 100%, 0 100%, 0 var(--ly-cut-lg));
  transition: transform .22s var(--ly-ease), border-color .22s var(--ly-ease);
}

.ly-panel:hover {
  transform: translateY(-2px);
  border-color: rgba(53, 242, 208, .45);
}

.ly-panel--flat {
  clip-path: none;
  border-radius: 0;
}

.ly-panel--accent::before {
  content: "";
  position: absolute;
  top: 14px;
  bottom: 14px;
  left: 0;
  width: 2px;
  background-image: linear-gradient(180deg, var(--ly-cyan), rgba(53, 242, 208, 0));
}

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

.ly-metric__value {
  font-family: var(--ly-font-mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(26px, 3.4vw, 44px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.01em;
  color: var(--ly-cyan);
}

.ly-metric__label {
  font-family: var(--ly-font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ly-mist);
}

.ly-media {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--ly-line);
  background-color: var(--ly-deep);
  background-image:
    radial-gradient(120% 90% at 12% 8%, rgba(53, 242, 208, .16), transparent 58%),
    repeating-linear-gradient(104deg, rgba(28, 74, 102, .55) 0 1px, transparent 1px 52px),
    linear-gradient(150deg, #0E2F4A 0%, #04121F 100%);
}

.ly-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.ly-media__cap {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 7px 14px;
  border-top: 1px solid var(--ly-line);
  border-right: 1px solid var(--ly-line);
  background-color: rgba(4, 18, 31, .78);
  font-family: var(--ly-font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--ly-mist);
}

.ly-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--ly-font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--ly-mist);
}

.ly-breadcrumb a {
  color: var(--ly-mist);
  transition: color .18s var(--ly-ease);
}

.ly-breadcrumb a:hover { color: var(--ly-cyan); }

.ly-breadcrumb__sep {
  color: var(--ly-line);
}

.ly-breadcrumb [aria-current="page"] {
  color: var(--ly-ice);
}

.ly-spy {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-left: 1px solid var(--ly-line);
}

.ly-spy__link {
  position: relative;
  display: block;
  padding: 8px 0 8px 16px;
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--ly-mist);
  transition: color .18s var(--ly-ease);
}

.ly-spy__link::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 50%;
  width: 2px;
  height: 0;
  background-color: var(--ly-cyan);
  transform: translateY(-50%);
  transition: height .18s var(--ly-ease);
}

.ly-spy__link:hover { color: var(--ly-ice); }

.ly-spy__link.is-active {
  color: var(--ly-ice);
  font-weight: 700;
}

.ly-spy__link.is-active::before { height: 70%; }

/* ---------- 10. 动效 ---------- */
.ly-reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .5s var(--ly-ease), transform .5s var(--ly-ease);
}

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

@keyframes ly-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(53, 242, 208, .55); }
  50% { box-shadow: 0 0 0 5px rgba(53, 242, 208, 0); }
}

@keyframes ly-drop {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- 11. 响应式 ---------- */
@media (max-width: 1080px) {
  .ly-footer__grid { grid-template-columns: 1fr 1fr; }
  .ly-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  :root {
    --ly-gutter: 16px;
    --ly-header-offset: 96px;
  }

  .ly-header { padding: 10px var(--ly-gutter) 8px; }

  .ly-header__shell {
    grid-template-columns: 1fr auto auto;
    gap: 8px;
    border-radius: 22px;
    padding: 7px 8px 7px 12px;
  }

  .ly-header[data-compact] .ly-header__shell { padding: 5px 8px 5px 10px; }

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

  .ly-brand__sub { display: none; }

  .ly-channel__text { display: none; }

  .ly-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: none;
    padding: 10px;
    border: 1px solid var(--ly-line);
    border-radius: 20px;
    background-image: linear-gradient(160deg, rgba(14, 47, 74, .99) 0%, rgba(4, 18, 31, .99) 100%);
    box-shadow: 0 34px 64px -34px rgba(0, 0, 0, .95);
    max-height: min(72vh, 460px);
    overflow-y: auto;
  }

  .ly-header[data-open] .ly-nav {
    display: block;
    animation: ly-drop .22s var(--ly-ease);
  }

  .ly-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }

  .ly-nav__link {
    display: block;
    padding: 11px 14px;
    border-radius: 12px;
    font-size: 15px;
  }

  .ly-grid { grid-template-columns: 1fr; gap: 16px; }
  .ly-grid > * { grid-column: 1 / -1 !important; }

  .ly-section { padding: 52px 0; }

  .ly-spy {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px 14px;
    border-left: 0;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--ly-line);
  }

  .ly-spy__link { padding: 4px 0; }
  .ly-spy__link::before { display: none; }

  .ly-footer { margin-top: 64px; }
  .ly-footer__inner { padding: 48px var(--ly-gutter) 24px; }
}

@media (max-width: 640px) {
  .ly-footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .ly-footer__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ly-footer__legal { flex-direction: column; align-items: flex-start; }
  .ly-brand__name { font-size: 15px; }
  .ly-channel { padding: 6px 9px; }
  .ly-cta { padding: 8px 13px; font-size: 12.5px; }
}

@media (max-width: 420px) {
  .ly-channel__state { display: none; }
  .ly-navbtn__label { display: none; }
  .ly-brand__mark { width: 30px; height: 30px; font-size: 12px; }
}

/* ---------- 12. 减少动画偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }

  .ly-channel__dot { animation: none; }

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

  .ly-header[data-open] .ly-nav { animation: none; }
}
