/* ============================================================
   乐鱼看台 · 共享样式 /assets/site.css
   深海看台蓝基底 + 珊瑚橙强调 + 荧光青数据脉冲
   ============================================================ */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body,
h1, h2, h3, h4, h5, h6,
p, figure, blockquote, dl, dd, ol, ul {
  margin: 0;
}

ol, ul {
  padding: 0;
  list-style: none;
}

img, svg, video, canvas {
  display: block;
  max-width: 100%;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

button {
  background: none;
  border: 0;
  cursor: pointer;
}

a {
  color: inherit;
}

table {
  border-collapse: collapse;
  width: 100%;
}

/* ---------- 2. 变量 ---------- */
:root {
  --ly-abyss: #05192B;
  --ly-board: #0B2740;
  --ly-line: #123A57;
  --ly-white: #F2F6FA;
  --ly-coral: #FF6B4A;
  --ly-cyan: #35F1C4;
  --ly-violet: #7C5CFF;
  --ly-yellow: #FFC24B;
  --ly-mist: #8FA6B8;

  --ly-font-display: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "SimSun", Georgia, serif;
  --ly-font-ui: "Inter", "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --ly-font-mono: "JetBrains Mono", "Roboto Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --ly-radius-lg: 28px;
  --ly-radius-md: 20px;
  --ly-radius-sm: 14px;
  --ly-radius-pill: 999px;

  --ly-header-h: 70px;
  --ly-wrap: 1240px;
  --ly-ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  --ly-text: rgba(242, 246, 250, 0.88);
  --ly-text-soft: rgba(242, 246, 250, 0.66);
}

@media (min-width: 1024px) {
  :root { --ly-header-h: 82px; }
}

/* ---------- 3. 中文排版基底 ---------- */
body {
  min-height: 100dvh;
  background-color: var(--ly-abyss);
  background-image:
    radial-gradient(900px 520px at 88% -6%, rgba(124, 92, 255, 0.16), transparent 70%),
    radial-gradient(760px 460px at 6% 8%, rgba(53, 241, 196, 0.09), transparent 72%),
    linear-gradient(180deg, #061c30 0%, var(--ly-abyss) 42%, #041524 100%);
  background-attachment: fixed;
  color: var(--ly-text);
  font-family: var(--ly-font-ui);
  font-size: 16px;
  line-height: 1.75;
  font-weight: 400;
  letter-spacing: 0.01em;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: var(--ly-font-display);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.18;
  color: var(--ly-white);
}

p { text-wrap: pretty; }

strong { font-weight: 700; color: var(--ly-white); }

:where([id]) { scroll-margin-top: calc(var(--ly-header-h) + 18px); }

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

::selection {
  background: rgba(255, 107, 74, 0.85);
  color: #05192B;
}

/* ---------- 4. 通用工具 ---------- */
.ly-container {
  width: 100%;
  max-width: var(--ly-wrap);
  margin-inline: auto;
  padding-inline: clamp(18px, 4vw, 40px);
}

.ly-visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.ly-mono,
.ly-num {
  font-family: var(--ly-font-mono);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  letter-spacing: -0.01em;
}

.ly-num {
  color: var(--ly-white);
  font-weight: 700;
}

.ly-main {
  display: block;
  padding-top: var(--ly-header-h);
}

.ly-main--bleed { padding-top: 0; }

/* ---------- 5. 跳转链 ---------- */
.ly-skip {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -140%);
  z-index: 200;
  padding: 12px 22px;
  background: var(--ly-cyan);
  color: #04161F;
  font-size: 14px;
  font-weight: 700;
  border-radius: 0 0 16px 16px;
  text-decoration: none;
  transition: transform 0.25s var(--ly-ease);
}

.ly-skip:focus {
  transform: translate(-50%, 0);
  outline-offset: -3px;
}

/* ---------- 6. 头部 ---------- */
.ly-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 80;
  background-image: linear-gradient(180deg, rgba(5, 25, 43, 0.86), rgba(5, 25, 43, 0));
  border-bottom: 1px solid transparent;
  transition: background-color 0.35s var(--ly-ease),
              border-color 0.35s var(--ly-ease),
              box-shadow 0.35s var(--ly-ease);
}

.ly-header[data-scrolled="true"] {
  background-color: rgba(5, 25, 43, 0.95);
  background-image: none;
  border-bottom-color: var(--ly-line);
  box-shadow: 0 18px 40px -34px rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
}

.ly-header__inner {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(10px, 2vw, 26px);
  min-height: var(--ly-header-h);
}

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

.ly-brand__mark {
  flex: none;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--ly-coral) 0%, var(--ly-violet) 100%);
  color: #061B2A;
  font-family: var(--ly-font-mono);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  box-shadow: 0 10px 26px -14px rgba(255, 107, 74, 0.9);
}

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

.ly-brand__name {
  font-family: var(--ly-font-display);
  font-weight: 800;
  font-size: 19px;
  line-height: 1.2;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.ly-brand__sub {
  font-size: 11px;
  line-height: 1.4;
  letter-spacing: 0.1em;
  color: var(--ly-mist);
  white-space: nowrap;
}

/* 主导航 */
.ly-nav { justify-self: center; }

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

.ly-nav__item { display: block; }

.ly-nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 9px 14px;
  border-radius: var(--ly-radius-pill);
  border: 1px solid transparent;
  font-size: 14.5px;
  font-weight: 500;
  color: rgba(242, 246, 250, 0.78);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.22s var(--ly-ease),
              background-color 0.22s var(--ly-ease),
              border-color 0.22s var(--ly-ease);
}

.ly-nav__link:hover {
  color: var(--ly-white);
  background-color: rgba(53, 241, 196, 0.08);
  border-color: rgba(53, 241, 196, 0.3);
}

.ly-nav__link[aria-current="page"] {
  color: var(--ly-white);
  background-color: rgba(255, 107, 74, 0.16);
  border-color: rgba(255, 107, 74, 0.48);
}

.ly-nav__link[aria-current="page"]::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--ly-coral);
  box-shadow: 0 0 0 4px rgba(255, 107, 74, 0.18);
}

/* 操作区 */
.ly-header__actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 10px;
}

.ly-dock-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 15px;
  border-radius: var(--ly-radius-pill);
  border: 1px solid var(--ly-line);
  background-color: rgba(11, 39, 64, 0.62);
  color: var(--ly-mist);
  font-size: 13.5px;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.22s var(--ly-ease),
              border-color 0.22s var(--ly-ease),
              background-color 0.22s var(--ly-ease);
}

.ly-dock-toggle:hover {
  color: var(--ly-cyan);
  border-color: rgba(53, 241, 196, 0.5);
  background-color: rgba(53, 241, 196, 0.08);
}

.ly-dock-toggle__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ly-cyan);
  box-shadow: 0 0 0 4px rgba(53, 241, 196, 0.16);
}

.ly-nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid var(--ly-line);
  background-color: rgba(11, 39, 64, 0.7);
}

.ly-nav-toggle__bars,
.ly-nav-toggle__bars::before,
.ly-nav-toggle__bars::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--ly-white);
  transition: transform 0.25s var(--ly-ease), opacity 0.25s var(--ly-ease);
}

.ly-nav-toggle__bars {
  position: relative;
}

.ly-nav-toggle__bars::before,
.ly-nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
}

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

.ly-nav-toggle[aria-expanded="true"] .ly-nav-toggle__bars {
  background: transparent;
}

.ly-nav-toggle[aria-expanded="true"] .ly-nav-toggle__bars::before {
  transform: translateY(6px) rotate(45deg);
}

.ly-nav-toggle[aria-expanded="true"] .ly-nav-toggle__bars::after {
  transform: translateY(-6px) rotate(-45deg);
}

/* 滚动进度 */
.ly-progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--ly-coral), var(--ly-cyan));
  transition: width 0.12s linear;
}

/* ---------- 7. 侧边数据面板 ---------- */
.ly-dock {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 90;
}

.ly-dock__body {
  position: absolute;
  right: 46px;
  top: 50%;
  width: 300px;
  max-height: 74dvh;
  overflow-y: auto;
  padding: 22px 22px 20px;
  background-color: rgba(11, 39, 64, 0.97);
  border: 1px solid var(--ly-line);
  border-right: 0;
  border-radius: var(--ly-radius-lg) 0 0 var(--ly-radius-lg);
  box-shadow: -30px 30px 70px -50px rgba(0, 0, 0, 0.95);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%) translateX(18px);
  transition: opacity 0.32s var(--ly-ease), transform 0.32s var(--ly-ease);
}

.ly-dock[data-open="true"] .ly-dock__body {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(-50%) translateX(0);
}

.ly-dock__eyebrow {
  font-family: var(--ly-font-mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  color: var(--ly-cyan);
}

.ly-dock__title {
  margin-top: 6px;
  font-family: var(--ly-font-display);
  font-size: 20px;
  font-weight: 800;
  color: var(--ly-white);
}

.ly-dock__list {
  margin-top: 14px;
  border-top: 1px solid var(--ly-line);
}

.ly-dock__row {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--ly-line);
}

.ly-dock__rank {
  font-family: var(--ly-font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--ly-coral);
}

.ly-dock__name {
  font-size: 14px;
  color: var(--ly-text-soft);
}

.ly-dock__val {
  font-family: var(--ly-font-mono);
  font-size: 19px;
  font-weight: 700;
  color: var(--ly-white);
}

.ly-dock__rule {
  margin-top: 16px;
  padding: 13px 15px;
  border-radius: var(--ly-radius-sm);
  background-color: rgba(124, 92, 255, 0.12);
  border: 1px solid rgba(124, 92, 255, 0.32);
}

.ly-dock__rule-title {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: #C9BDFF;
}

.ly-dock__rule-text {
  margin-top: 5px;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--ly-text);
}

.ly-dock__stamp {
  margin-top: 14px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--ly-mist);
}

.ly-dock__rail {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 46px;
  height: 210px;
  padding: 14px 0;
  border: 1px solid var(--ly-line);
  border-right: 0;
  border-radius: 22px 0 0 22px;
  background: linear-gradient(180deg, rgba(11, 39, 64, 0.95), rgba(5, 25, 43, 0.95));
  color: var(--ly-mist);
  transition: color 0.25s var(--ly-ease), border-color 0.25s var(--ly-ease);
}

.ly-dock__rail:hover {
  color: var(--ly-cyan);
  border-color: rgba(53, 241, 196, 0.45);
}

.ly-dock__rail-text {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 12.5px;
  letter-spacing: 0.28em;
}

.ly-dock__rail-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ly-coral);
  box-shadow: 0 0 0 4px rgba(255, 107, 74, 0.16);
}

/* ---------- 8. 页脚 ---------- */
.ly-footer {
  position: relative;
  margin-top: clamp(64px, 10vw, 140px);
  padding-top: clamp(44px, 6vw, 76px);
  background-color: var(--ly-abyss);
  background-image:
    linear-gradient(180deg, rgba(18, 58, 87, 0.42) 0%, rgba(5, 25, 43, 0) 42%),
    repeating-linear-gradient(90deg, rgba(18, 58, 87, 0.28) 0 1px, transparent 1px 78px);
  border-top: 1px solid var(--ly-line);
  overflow: hidden;
}

.ly-footer__glow {
  position: absolute;
  inset: auto -10% -60% 40%;
  height: 340px;
  background: radial-gradient(closest-side, rgba(53, 241, 196, 0.14), transparent 72%);
  pointer-events: none;
}

.ly-footer__top {
  position: relative;
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(0, 2fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
  padding-bottom: clamp(30px, 4vw, 48px);
}

.ly-footer__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.ly-footer__tagline {
  max-width: 34ch;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--ly-mist);
}

.ly-footer__cta { align-self: flex-start; }

.ly-footer__cols {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 34px);
}

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

.ly-footer__title {
  font-family: var(--ly-font-mono);
  font-size: 11.5px;
  letter-spacing: 0.18em;
  color: var(--ly-cyan);
}

.ly-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.ly-chip {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border-radius: var(--ly-radius-pill);
  border: 1px solid var(--ly-line);
  background-color: rgba(11, 39, 64, 0.6);
  color: var(--ly-text-soft);
  font-size: 13.5px;
  text-decoration: none;
  transition: color 0.22s var(--ly-ease),
              border-color 0.22s var(--ly-ease),
              background-color 0.22s var(--ly-ease);
}

.ly-chip:hover {
  color: var(--ly-white);
  border-color: rgba(255, 107, 74, 0.5);
  background-color: rgba(255, 107, 74, 0.14);
}

.ly-footer__contact {
  position: relative;
  display: grid;
  gap: 8px;
  padding-block: clamp(22px, 3vw, 34px);
  border-top: 1px solid var(--ly-line);
  border-bottom: 1px solid var(--ly-line);
}

.ly-footer__contact-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  line-height: 1.7;
}

.ly-footer__label {
  flex: none;
  min-width: 68px;
  color: var(--ly-mist);
  letter-spacing: 0.08em;
}

.ly-footer__value {
  font-family: var(--ly-font-mono);
  color: var(--ly-white);
  overflow-wrap: anywhere;
}

.ly-copy {
  padding: 4px 12px;
  border-radius: var(--ly-radius-pill);
  border: 1px solid var(--ly-line);
  background-color: rgba(11, 39, 64, 0.7);
  color: var(--ly-mist);
  font-size: 12px;
  line-height: 1.6;
  transition: color 0.2s var(--ly-ease), border-color 0.2s var(--ly-ease);
}

.ly-copy:hover {
  color: var(--ly-cyan);
  border-color: rgba(53, 241, 196, 0.5);
}

.ly-copy[data-copied="true"] {
  color: #04161F;
  background-color: var(--ly-cyan);
  border-color: var(--ly-cyan);
}

.ly-footer__contact-note {
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--ly-mist);
}

.ly-footer__bottom {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-block: 20px;
  font-size: 12px;
  color: var(--ly-mist);
}

.ly-footer__copyright,
.ly-footer__icp {
  letter-spacing: 0.04em;
}

.ly-footer__icp {
  font-family: var(--ly-font-mono);
}

/* ---------- 9. 按钮 ---------- */
.ly-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: var(--ly-radius-pill);
  border: 1px solid transparent;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.22s var(--ly-ease),
              background-color 0.22s var(--ly-ease),
              color 0.22s var(--ly-ease),
              border-color 0.22s var(--ly-ease),
              box-shadow 0.22s var(--ly-ease);
}

.ly-btn--primary {
  background-color: var(--ly-coral);
  color: #08171F;
  box-shadow: 0 14px 30px -18px rgba(255, 107, 74, 0.95);
}

.ly-btn--primary:hover {
  background-color: #FF8464;
  transform: translateY(-2px);
}

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

.ly-btn--ghost:hover {
  border-color: var(--ly-cyan);
  color: var(--ly-cyan);
  transform: translateY(-2px);
}

.ly-btn--quiet {
  background-color: rgba(124, 92, 255, 0.16);
  border-color: rgba(124, 92, 255, 0.42);
  color: #CFC5FF;
}

.ly-btn--quiet:hover {
  background-color: rgba(124, 92, 255, 0.26);
  transform: translateY(-2px);
}

/* ---------- 10. 内容基础组件 ---------- */
.ly-section {
  padding-block: clamp(44px, 6.5vw, 92px);
}

.ly-section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 14px 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--ly-line);
  margin-bottom: clamp(22px, 3vw, 38px);
}

.ly-section__num {
  font-family: var(--ly-font-mono);
  font-size: clamp(26px, 4vw, 46px);
  font-weight: 700;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--ly-mist);
  letter-spacing: -0.02em;
}

@supports not (-webkit-text-stroke: 1px red) {
  .ly-section__num { color: var(--ly-line); }
}

.ly-section__title {
  font-size: clamp(24px, 3.2vw, 40px);
}

.ly-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--ly-font-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ly-cyan);
}

.ly-kicker::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ly-cyan);
  box-shadow: 0 0 0 4px rgba(53, 241, 196, 0.16);
}

.ly-title {
  font-size: clamp(40px, 7vw, 96px);
  line-height: 1.04;
  letter-spacing: -0.025em;
}

.ly-lede {
  max-width: 60ch;
  font-size: clamp(16px, 1.4vw, 18.5px);
  line-height: 1.8;
  color: var(--ly-text-soft);
}

.ly-prose {
  max-width: 70ch;
  font-size: 17px;
  line-height: 1.8;
  color: var(--ly-text);
}

.ly-prose > * + * { margin-top: 1.05em; }

.ly-prose h2 {
  font-size: clamp(22px, 2.6vw, 30px);
  margin-top: 1.6em;
}

.ly-prose h3 {
  font-size: clamp(18px, 2vw, 22px);
  margin-top: 1.4em;
}

.ly-prose a {
  color: var(--ly-cyan);
  text-underline-offset: 4px;
}

.ly-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 26px);
}

.ly-card {
  position: relative;
  padding: clamp(20px, 2.4vw, 30px);
  border-radius: var(--ly-radius-lg);
  border: 1px solid var(--ly-line);
  background-color: var(--ly-board);
  transition: transform 0.25s var(--ly-ease), border-color 0.25s var(--ly-ease);
}

.ly-card:hover {
  transform: translateY(-2px);
  border-color: rgba(53, 241, 196, 0.4);
}

.ly-card__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.ly-card__title {
  font-size: clamp(18px, 2vw, 22px);
}

.ly-card__meta {
  font-family: var(--ly-font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ly-mist);
}

/* 图片容器基础规则 */
.ly-media {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--ly-radius-lg);
  background-color: var(--ly-board);
  background-image: linear-gradient(150deg, rgba(11, 39, 64, 1), rgba(6, 28, 48, 1) 62%, rgba(8, 32, 51, 1));
  aspect-ratio: 16 / 10;
  isolation: isolate;
}

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

.ly-media--slant {
  clip-path: polygon(0 0, 100% 6%, 100% 100%, 0 94%);
  border-radius: var(--ly-radius-lg);
}

.ly-media--pill {
  border-radius: var(--ly-radius-lg) 50% 50% var(--ly-radius-lg) / var(--ly-radius-lg) 42% 42% var(--ly-radius-lg);
}

.ly-media__cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px 20px 16px;
  background: linear-gradient(180deg, transparent, rgba(5, 25, 43, 0.92));
  font-size: 13px;
  color: var(--ly-text-soft);
}

/* 面包屑 */
.ly-breadcrumb {
  padding-top: clamp(20px, 3vw, 34px);
}

.ly-breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--ly-mist);
}

.ly-breadcrumb__item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

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

.ly-breadcrumb__link {
  color: var(--ly-mist);
  text-decoration: none;
  transition: color 0.2s var(--ly-ease);
}

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

/* 滚动显现 */
.ly-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.4s var(--ly-ease), transform 0.4s var(--ly-ease);
  transition-delay: var(--ly-delay, 0ms);
}

.ly-reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ---------- 11. 响应式 ---------- */
@media (max-width: 1180px) {
  .ly-dock__body { width: 272px; }
}

@media (max-width: 1023px) {
  .ly-header {
    background-color: rgba(5, 25, 43, 0.95);
    background-image: none;
    border-bottom-color: var(--ly-line);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
  }

  .ly-header__inner {
    grid-template-columns: auto 1fr;
  }

  .ly-nav {
    position: fixed;
    left: 0;
    right: 0;
    top: var(--ly-header-h);
    max-height: calc(100dvh - var(--ly-header-h));
    overflow-y: auto;
    padding: 16px clamp(18px, 4vw, 40px) 26px;
    background-color: rgba(11, 39, 64, 0.98);
    border-bottom: 1px solid var(--ly-line);
    box-shadow: 0 30px 60px -40px rgba(0, 0, 0, 0.95);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-14px);
    transition: opacity 0.28s var(--ly-ease),
                transform 0.28s var(--ly-ease),
                visibility 0.28s var(--ly-ease);
  }

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

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

  .ly-nav__link {
    width: 100%;
    padding: 14px 16px;
    border-radius: 16px;
    font-size: 16px;
    border-color: rgba(18, 58, 87, 0.7);
  }

  .ly-nav-toggle { display: inline-flex; }

  .ly-footer__top {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 899px) {
  .ly-dock {
    left: 0;
    right: 0;
    top: auto;
    bottom: 0;
    transform: none;
  }

  .ly-dock__rail { display: none; }

  .ly-dock__body {
    position: absolute;
    left: 0;
    right: 0;
    top: auto;
    bottom: 0;
    width: auto;
    max-height: 66dvh;
    border: 1px solid var(--ly-line);
    border-bottom: 0;
    border-radius: 22px 22px 0 0;
    transform: translateY(110%);
  }

  .ly-dock[data-open="true"] .ly-dock__body {
    transform: translateY(0);
  }

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

@media (max-width: 720px) {
  .ly-brand__sub { display: none; }
  .ly-brand__name { font-size: 17px; }
  .ly-brand__mark { width: 36px; height: 36px; border-radius: 12px; font-size: 12.5px; }

  .ly-btn { padding: 9px 14px; font-size: 13px; }

  .ly-dock-toggle__text { display: none; }
  .ly-dock-toggle { padding: 9px 12px; }

  .ly-footer__bottom { font-size: 11.5px; }
  .ly-footer__label { min-width: 100%; }
}

@media (max-width: 420px) {
  .ly-nav-toggle { width: 40px; height: 40px; }
  .ly-btn--primary { padding: 8px 12px; font-size: 12.5px; }
}

/* ---------- 12. 无障碍与动效偏好 ---------- */
@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-reveal {
    opacity: 1;
    transform: none;
  }

  .ly-nav {
    transition: opacity 0.15s linear, visibility 0.15s linear;
    transform: none;
  }

  .ly-nav[data-open="true"] { transform: none; }
}
