/* ==========================================================================
   乐鱼LEYU · 共享站点皮肤  /assets/site.css
   视觉语言：水波切分的数据屏 —— 深墨蓝底 / 水感青泳道 / 珊瑚橙焦点
   ========================================================================== */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

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

/* ---------- 2. 变量 ---------- */
:root {
  --ink-900: #061A2A;
  --ink-800: #0B2C40;
  --ink-700: #0E3448;
  --cyan: #0FB5C9;
  --cyan-bright: #5BE3EA;
  --cyan-soft: #DDF7FA;
  --mist: #F4FBFC;
  --gray-blue: #8FB3BF;
  --coral: #FF6B4A;
  --coral-soft: #FFA88F;
  --green: #A8E063;
  --amber: #FFD166;

  --line: rgba(143, 179, 191, 0.22);
  --line-cyan: rgba(15, 181, 201, 0.34);
  --panel: rgba(11, 44, 64, 0.72);
  --panel-strong: rgba(11, 44, 64, 0.94);

  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 999px;

  --slant: 10deg;

  --font-display: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  --font-body: var(--font-display);
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", "Courier New", monospace;

  --container: 1180px;
  --gutter: clamp(16px, 4vw, 44px);
  --shadow-deck: 0 22px 46px -28px rgba(2, 10, 18, 0.95);
}

/* ---------- 3. 中文排版与基础 ---------- */
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-color: var(--ink-900);
  background-image:
    radial-gradient(1100px 520px at 82% -8%, rgba(15, 181, 201, 0.16), transparent 62%),
    radial-gradient(760px 420px at 8% 4%, rgba(255, 107, 74, 0.1), transparent 60%);
  background-repeat: no-repeat;
  color: var(--mist);
  font-family: var(--font-body);
  font-size: clamp(16px, 0.4vw + 15px, 17.5px);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

main { flex: 1 0 auto; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.022em;
  color: var(--mist);
}
h1 { font-size: clamp(2.1rem, 5.6vw, 3.9rem); }
h2 { font-size: clamp(1.55rem, 3.2vw, 2.4rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.45rem); }
h4 { font-size: clamp(1rem, 1.3vw, 1.15rem); letter-spacing: -0.01em; }

p { max-width: 68ch; }
strong { color: var(--cyan-bright); font-weight: 800; }
small { font-size: 0.78rem; color: var(--gray-blue); }

::selection { background: var(--coral); color: var(--ink-900); }

:where(a, button, summary, [tabindex]):focus-visible {
  outline: 3px solid var(--cyan-bright);
  outline-offset: 3px;
}

/* ---------- 4. 跳转链接 ---------- */
.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  transform: translateY(-180%);
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  background: var(--cyan);
  color: var(--ink-900);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow: 0 16px 30px -18px rgba(0, 0, 0, 0.9);
  transition: transform 0.18s ease;
}
.skip-link:focus,
.skip-link:focus-visible { transform: translateY(0); }

/* ---------- 5. 头部命令栏 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: linear-gradient(180deg, rgba(6, 26, 42, 0.98), rgba(6, 26, 42, 0.9));
  border-bottom: 1px solid var(--line-cyan);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  transition: box-shadow 0.2s ease, background-color 0.2s ease;
}
.site-header[data-scrolled="true"] {
  box-shadow: var(--shadow-deck);
  background: rgba(6, 26, 42, 0.99);
}

.read-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  overflow: hidden;
  background: rgba(143, 179, 191, 0.16);
}
.read-progress__bar {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(var(--p, 0));
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--cyan) 0%, var(--cyan-bright) 54%, var(--coral) 100%);
  transition: transform 0.14s linear;
}

.command-deck {
  width: 100%;
  background-image: repeating-linear-gradient(
    90deg,
    transparent 0 86px,
    rgba(15, 181, 201, 0.07) 86px 87px
  );
  background-position: center;
}

.command-bar {
  display: flex;
  align-items: center;
  gap: clamp(10px, 2vw, 22px);
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding: 10px var(--gutter);
}

/* 品牌锁定 */
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  padding: 4px 8px 4px 4px;
  border-radius: var(--radius-pill);
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 38px;
  flex: 0 0 auto;
  border-radius: 14px;
  background: linear-gradient(140deg, var(--cyan-bright), var(--cyan) 62%, #0A8FA4);
  box-shadow: 0 8px 18px -10px rgba(15, 181, 201, 0.95);
}
.brand-mark svg { width: 26px; height: 20px; }
.brand-mark path {
  fill: none;
  stroke: #061A2A;
  stroke-width: 2.4;
  stroke-linecap: round;
}
.brand-text { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.brand-name {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-size: 1.06rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--mist);
}
.brand-name__latin {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  color: var(--cyan-bright);
}
.brand-line {
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  line-height: 1.35;
  color: var(--gray-blue);
  white-space: nowrap;
}

/* 主导航 */
.primary-nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 2px; }
.nav-item { list-style: none; }
.nav-link {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 8px 11px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  color: #CDE5EC;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.2;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.nav-index {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--cyan);
  opacity: 0.9;
}
.nav-label { white-space: nowrap; }
.nav-link:hover {
  background: rgba(15, 181, 201, 0.14);
  border-color: var(--line-cyan);
  color: var(--mist);
}
.nav-link[aria-current="page"] {
  background: var(--coral);
  border-color: var(--coral);
  color: var(--ink-900);
  font-weight: 800;
  box-shadow: 0 10px 22px -14px rgba(255, 107, 74, 0.95);
}
.nav-link[aria-current="page"] .nav-index { color: var(--ink-900); opacity: 0.72; }

/* 行动胶囊 + 菜单按钮 */
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}
.action-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-cyan);
  background: rgba(15, 181, 201, 0.12);
  color: var(--mist);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.action-chip:hover { background: var(--cyan); border-color: var(--cyan); color: var(--ink-900); }
.action-chip--coral {
  background: var(--coral);
  border-color: var(--coral);
  color: var(--ink-900);
  font-weight: 800;
}
.action-chip--coral:hover { background: var(--coral-soft); border-color: var(--coral-soft); }
.action-chip--ghost {
  background: transparent;
  border-color: rgba(143, 179, 191, 0.45);
  color: #CDE5EC;
}
.action-chip--ghost:hover {
  background: rgba(143, 179, 191, 0.16);
  border-color: var(--gray-blue);
  color: var(--mist);
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-cyan);
  background: rgba(15, 181, 201, 0.14);
  color: var(--mist);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: background-color 0.18s ease, border-color 0.18s ease;
}
.nav-toggle:hover { background: rgba(15, 181, 201, 0.26); border-color: var(--cyan); }
.nav-toggle__bars { position: relative; display: block; width: 18px; height: 12px; }
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--cyan-bright);
  transition: transform 0.2s ease, top 0.2s ease, background-color 0.2s ease;
}
.nav-toggle__bars::before { top: 1px; }
.nav-toggle__bars::after { top: 9px; background: var(--coral); }
.nav-toggle[aria-expanded="true"] { background: rgba(255, 107, 74, 0.18); border-color: var(--coral); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { top: 5px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { top: 5px; transform: rotate(-45deg); background: var(--cyan-bright); }

@media (max-width: 1200px) {
  .brand-line { display: none; }
  .action-chip--ghost { display: none; }
}

@media (max-width: 1024px) {
  .nav-toggle { display: inline-flex; }
  .header-actions .action-chip { display: none; }
  .primary-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    margin-left: 0;
    padding: 10px var(--gutter) 22px;
    background: linear-gradient(180deg, #08232F, #061A2A 72%);
    border-bottom: 1px solid var(--line-cyan);
    box-shadow: 0 30px 46px -28px rgba(0, 0, 0, 0.9);
  }
  .primary-nav[data-open="true"] {
    display: block;
    animation: navDrop 0.22s ease-out both;
  }
  .nav-list { flex-direction: column; align-items: stretch; gap: 4px; }
  .nav-link {
    width: 100%;
    justify-content: flex-start;
    gap: 10px;
    padding: 14px;
    border-radius: var(--radius-md);
    border-color: rgba(143, 179, 191, 0.16);
    font-size: 0.98rem;
  }
  .nav-index { font-size: 0.68rem; }
}

@media (max-width: 480px) {
  .brand-mark { width: 40px; height: 34px; border-radius: 12px; }
  .brand-name { font-size: 0.98rem; }
  .nav-toggle__text { display: none; }
  .nav-toggle { padding: 10px 12px; }
}

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

/* ---------- 6. 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(48px, 8vw, 96px);
  background: linear-gradient(180deg, var(--ink-800) 0%, #04121D 100%);
  border-top: 1px solid var(--line-cyan);
  color: var(--mist);
}
.footer-wave {
  height: clamp(22px, 3.4vw, 46px);
  background: var(--ink-900);
  clip-path: polygon(0 0, 100% 0, 100% 34%, 0 100%);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1.15fr 0.85fr;
  gap: clamp(22px, 3.4vw, 52px);
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding: clamp(28px, 4vw, 56px) var(--gutter) clamp(24px, 3vw, 40px);
}
.footer-lead { display: flex; flex-direction: column; gap: 8px; }
.footer-kicker {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.26em;
  color: var(--cyan);
  text-transform: uppercase;
}
.footer-title {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--mist);
}
.footer-title::after {
  content: "";
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-left: 8px;
  border-radius: 50%;
  background: var(--coral);
  vertical-align: super;
}
.footer-line { font-size: 0.84rem; letter-spacing: 0.06em; color: var(--gray-blue); }
.footer-status { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }

.footer-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan-bright);
}
.footer-heading::before {
  content: "";
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--cyan);
}
.footer-list { display: grid; gap: 10px; }
.footer-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
}
.footer-link {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  font-size: 0.86rem;
  color: #DBEEF3;
  transition: color 0.18s ease;
}
.footer-link:hover { color: var(--cyan-bright); }
.footer-link__index {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  color: var(--cyan);
  opacity: 0.85;
}
.footer-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray-blue);
}
.footer-value {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  color: var(--mist);
  word-break: break-all;
}
.footer-value--text { font-family: var(--font-body); font-size: 0.84rem; letter-spacing: 0.02em; }

.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-cyan);
  background: rgba(15, 181, 201, 0.12);
  color: var(--cyan-bright);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.copy-btn:hover { background: var(--cyan); border-color: var(--cyan); color: var(--ink-900); }
.copy-btn[data-copied="true"] {
  background: var(--green);
  border-color: var(--green);
  color: var(--ink-900);
}

.footer-base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 22px;
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding: 16px var(--gutter) clamp(24px, 3vw, 36px);
  border-top: 1px solid rgba(143, 179, 191, 0.18);
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  color: var(--gray-blue);
}
.footer-copy { color: #CFE6EC; }
.footer-icp { font-family: var(--font-mono); letter-spacing: 0.02em; }
.footer-note {
  flex: 1 1 320px;
  min-width: 200px;
  text-align: right;
  color: var(--gray-blue);
  font-size: 0.74rem;
}

@media (max-width: 1024px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-note { text-align: left; }
}
@media (max-width: 620px) {
  .footer-inner { grid-template-columns: 1fr; }
  .footer-base { flex-direction: column; align-items: flex-start; }
}

/* ---------- 7. 布局容器与章节 ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: clamp(44px, 7vw, 92px); }
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 12px 20px;
  margin-bottom: clamp(20px, 3vw, 34px);
}
.section-index {
  display: inline-flex;
  align-items: center;
  padding: 0.28em 0.8em;
  border-radius: var(--radius-pill);
  background: var(--cyan);
  color: var(--ink-900);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.5;
}
.section-title { font-size: clamp(1.55rem, 3.4vw, 2.5rem); line-height: 1.1; }
.section-note {
  margin-left: auto;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: var(--gray-blue);
}
.vertical-note {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--cyan);
  opacity: 0.85;
}
@media (max-width: 760px) {
  .vertical-note { writing-mode: horizontal-tb; letter-spacing: 0.18em; }
  .section-note { margin-left: 0; }
}

.grid { display: grid; gap: clamp(16px, 2.4vw, 28px); }
.grid--split { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
.grid--halves { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--auto { grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); }
@media (max-width: 860px) {
  .grid--split,
  .grid--halves { grid-template-columns: 1fr; }
}

.band-slant {
  position: relative;
  padding-block: clamp(40px, 6vw, 80px);
  background: var(--ink-800);
  clip-path: polygon(0 1.6vw, 100% 0, 100% calc(100% - 1.6vw), 0 100%);
}

.surface-light {
  background: linear-gradient(180deg, var(--cyan-soft), #EAFBFD);
  color: var(--ink-900);
}
.surface-light h1,
.surface-light h2,
.surface-light h3,
.surface-light h4 { color: var(--ink-900); }
.surface-light strong { color: #0A7E8F; }
.surface-light a { color: #0A6E7F; }

/* ---------- 8. 通用按钮与标签 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  padding: 0.85em 1.5em;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--coral {
  background: var(--coral);
  color: var(--ink-900);
  box-shadow: 0 16px 32px -20px rgba(255, 107, 74, 0.95);
}
.btn--coral:hover { background: var(--coral-soft); }
.btn--cyan { background: var(--cyan); color: var(--ink-900); }
.btn--cyan:hover { background: var(--cyan-bright); }
.btn--ghost {
  background: transparent;
  border-color: rgba(143, 179, 191, 0.45);
  color: var(--mist);
}
.btn--ghost:hover { border-color: var(--cyan-bright); color: var(--cyan-bright); }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border-radius: var(--radius-pill);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.5;
}
.pill--green { background: var(--green); color: var(--ink-900); }
.pill--amber { background: var(--amber); color: var(--ink-900); }
.pill--coral { background: var(--coral); color: var(--ink-900); }
.pill--cyan {
  background: rgba(15, 181, 201, 0.18);
  border: 1px solid var(--line-cyan);
  color: var(--cyan-bright);
}
.pill--gray {
  background: rgba(143, 179, 191, 0.16);
  border: 1px solid rgba(143, 179, 191, 0.3);
  color: #D6E8EE;
}

.tag {
  display: inline-block;
  padding-bottom: 2px;
  border-bottom: 1px solid var(--line-cyan);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan-bright);
}

.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.data-num {
  font-family: var(--font-mono);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  line-height: 0.95;
  color: var(--cyan-bright);
}
.surface-light .data-num { color: #0A7E8F; }

/* ---------- 9. 卡片、媒体容器 ---------- */
.card {
  padding: clamp(18px, 2.4vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--panel);
}

.media-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--line-cyan);
  border-radius: var(--radius-lg);
  background: linear-gradient(150deg, rgba(15, 181, 201, 0.3), rgba(6, 26, 42, 0.94) 62%, rgba(255, 107, 74, 0.2));
}
.media-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    115deg,
    transparent 0 26px,
    rgba(91, 227, 234, 0.1) 26px 27px
  );
  pointer-events: none;
}
.media-frame--wide { aspect-ratio: 21 / 9; }
.media-frame--tall { aspect-ratio: 4 / 5; }
.media-frame--slant { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - 3.2vw)); }
.media-frame__inner { position: absolute; inset: 0; display: grid; place-items: center; }
.media-frame__inner img,
.media-frame__inner svg { width: 100%; height: 100%; object-fit: cover; }
.media-frame__caption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border: 1px solid var(--line-cyan);
  border-radius: var(--radius-pill);
  background: rgba(6, 26, 42, 0.74);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  font-size: 0.74rem;
  color: var(--mist);
}
.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr));
  gap: clamp(12px, 1.8vw, 20px);
}

/* ---------- 10. 面包屑与章节链接 ---------- */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-block: 14px;
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  color: var(--gray-blue);
}
.breadcrumbs a { color: var(--gray-blue); transition: color 0.18s ease; }
.breadcrumbs a:hover { color: var(--cyan-bright); }
.breadcrumbs__sep { color: rgba(143, 179, 191, 0.55); }
.breadcrumbs [aria-current="page"] { color: var(--mist); font-weight: 700; }

[data-chapter-link][aria-current] {
  color: var(--cyan-bright);
  font-weight: 700;
}

/* ---------- 11. 减少动效 ---------- */
@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;
  }
  .btn:hover { transform: none; }
  .read-progress__bar { transition: none; }
}
