/* ==========================================================================
   龙珠服务 · 全站共享样式 /assets/site.css
   框架式导航 + 目录型内容地图 + 雷达色系
   ========================================================================== */

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

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

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

ul, ol { list-style: none; }

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

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

/* ---------- 2. 变量 ---------- */
:root {
  --ink-900: #07162C;
  --ink: #0B1E3A;
  --ink-700: #13294B;
  --ink-600: #1C3661;

  --orange: #FF6B00;
  --orange-2: #FF9440;
  --gold: #F2C14E;
  --jade: #12B886;
  --coral: #E5484D;

  --paper: #F5EFE3;
  --paper-2: #E7DDCA;
  --brown: #2A1F1A;
  --mist: #8FA3BF;
  --text: #DCE6F4;

  --font-body: "PingFang SC", "Hiragino Sans GB", "Source Han Sans SC",
    "Noto Sans CJK SC", "Microsoft YaHei", system-ui, -apple-system,
    "Segoe UI", Roboto, sans-serif;
  --font-display: "PingFang SC", "Hiragino Sans GB", "Source Han Sans SC",
    "Noto Sans CJK SC", "Microsoft YaHei", system-ui, -apple-system,
    "Segoe UI", Roboto, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas,
    "Liberation Mono", "Courier New", monospace;

  --rail-w: 114px;
  --hdr-h: 74px;
  --radius: 20px;
  --radius-sm: 14px;

  --safe: clamp(18px, 3vw, 40px);

  --glow-orange: 0 0 24px rgba(255, 107, 0, 0.32);
  --shadow-card: 0 18px 42px rgba(3, 10, 22, 0.45);
}

/* ---------- 3. 基础排版 ---------- */
html { scroll-behavior: smooth; }

body {
  min-height: 100vh;
  background-color: var(--ink);
  background-image:
    radial-gradient(760px 460px at 88% -6%, rgba(255, 107, 0, 0.16), transparent 64%),
    radial-gradient(620px 420px at -4% 42%, rgba(242, 193, 78, 0.09), transparent 62%),
    radial-gradient(900px 560px at 50% 108%, rgba(28, 54, 97, 0.7), transparent 68%);
  background-repeat: no-repeat;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: #F2F6FC;
  text-wrap: balance;
}

h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h4 { font-size: 1.125rem; }

::selection {
  background: rgba(255, 107, 0, 0.42);
  color: #FFFFFF;
}

a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--orange-2);
  outline-offset: 3px;
  border-radius: 6px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- 4. 布局容器 ---------- */
.wrap {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: var(--safe);
}

/* ---------- 5. Skip link ---------- */
.skip-link {
  position: fixed;
  top: 10px;
  inset-inline-start: 10px;
  z-index: 200;
  padding: 11px 20px;
  border-radius: 999px;
  background: var(--orange);
  color: #1A0F02;
  font-weight: 800;
  font-size: 14px;
  transform: translateY(-180%);
  transition: transform 0.22s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

/* ---------- 6. 头部 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: linear-gradient(180deg, rgba(7, 22, 44, 0.98), rgba(11, 30, 58, 0.93));
  border-bottom: 1px solid rgba(143, 163, 191, 0.22);
  box-shadow: 0 14px 34px -24px rgba(0, 0, 0, 0.95);
}

@supports (backdrop-filter: blur(10px)) {
  .site-header { backdrop-filter: blur(10px); }
}

.header-frame {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: var(--hdr-h);
  padding-block: 10px;
  padding-inline: var(--safe) 86px;
}

/* 品牌 */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: var(--gold);
  background: radial-gradient(circle at 50% 50%, rgba(255, 107, 0, 0.3), rgba(255, 107, 0, 0.06) 62%, transparent 74%);
  border: 1px solid rgba(255, 107, 0, 0.5);
  box-shadow: 0 0 18px rgba(255, 107, 0, 0.32);
  animation: markPulse 5.6s ease-in-out infinite;
}

@keyframes markPulse {
  0%, 100% { box-shadow: 0 0 16px rgba(255, 107, 0, 0.28); }
  50% { box-shadow: 0 0 28px rgba(255, 107, 0, 0.62); }
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text {
  font-size: 19px;
  font-weight: 900;
  letter-spacing: 0.03em;
  color: #F4F8FF;
}

.brand-sub {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mist);
}

/* 头部状态 */
.header-status {
  display: none;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--mist);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--jade);
  box-shadow: 0 0 10px var(--jade);
  animation: markPulse 3.2s ease-in-out infinite;
}

/* 头部 CTA */
.header-cta {
  margin-inline-start: auto;
  font-size: 14px;
  min-height: 42px;
  padding-inline: 18px;
  white-space: nowrap;
}

/* 移动导航按钮（悬浮球） */
.nav-toggle {
  position: fixed;
  top: 14px;
  right: 16px;
  z-index: 95;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #1A0F02;
  background: radial-gradient(circle at 48% 36%, #FFB169, #FF6B00 58%, #CF5300);
  border: 1px solid rgba(242, 193, 78, 0.6);
  box-shadow: 0 10px 26px rgba(255, 107, 0, 0.42);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-toggle:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(255, 107, 0, 0.56);
}

.nav-toggle-bars {
  position: relative;
  display: block;
  width: 22px;
  height: 14px;
}

.nav-toggle-bars i {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2.4px;
  border-radius: 3px;
  background: currentColor;
  transition: transform 0.26s ease, opacity 0.18s ease, width 0.26s ease;
}

.nav-toggle-bars i:nth-child(1) { top: 0; }
.nav-toggle-bars i:nth-child(2) { top: 5.8px; width: 72%; }
.nav-toggle-bars i:nth-child(3) { top: 11.6px; }

.nav-toggle[aria-expanded="true"] .nav-toggle-bars i:nth-child(1) {
  transform: translateY(5.8px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bars i:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bars i:nth-child(3) {
  transform: translateY(-5.8px) rotate(-45deg);
}

/* ---------- 7. 导航（移动端：右侧抽屉） ---------- */
.site-nav {
  position: fixed;
  inset-block: 0;
  inset-inline-end: 0;
  width: min(86vw, 360px);
  padding: 94px 18px 88px;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: linear-gradient(180deg, #0A1B34, #0D2242 58%, #07162C);
  border-inline-start: 1px solid rgba(255, 107, 0, 0.42);
  box-shadow: -30px 0 70px rgba(0, 0, 0, 0.55);
  transform: translateX(102%);
  visibility: hidden;
  transition: transform 0.34s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.34s;
  z-index: 90;
}

.site-nav[data-open] {
  transform: translateX(0);
  visibility: visible;
}

.nav-head,
.nav-foot { display: none; }

.nav-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nav-list a {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid transparent;
  color: #E4ECF8;
  transition: background 0.2s ease, border-color 0.2s ease,
    transform 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.nav-label {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.nav-idx {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--gold);
  transition: color 0.2s ease;
}

.nav-list a:hover {
  background: rgba(255, 107, 0, 0.12);
  border-color: rgba(255, 107, 0, 0.5);
  transform: translateX(-3px);
}

.nav-list a[aria-current="page"] {
  background: linear-gradient(100deg, rgba(255, 107, 0, 0.28), rgba(255, 107, 0, 0.02));
  border-color: var(--orange);
  box-shadow: 0 0 22px rgba(255, 107, 0, 0.28);
  color: #FFF3E6;
}

.nav-list a[aria-current="page"] .nav-idx { color: var(--orange); }

/* ---------- 8. 移动端底部能量条 ---------- */
.mobile-dock {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  height: 34px;
  z-index: 55;
  display: flex;
  align-items: center;
  gap: 10px;
  padding-inline: 16px;
  background: linear-gradient(180deg, rgba(7, 22, 44, 0.74), #07162C);
  border-top: 1px solid rgba(255, 107, 0, 0.42);
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.2em;
  color: var(--mist);
  pointer-events: none;
}

.dock-tick {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--jade);
  box-shadow: 0 0 8px var(--jade);
  animation: dockPulse 2.6s ease-in-out infinite;
}

@keyframes dockPulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

.dock-text {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dock-fill {
  width: 38px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--orange), var(--gold));
}

@media (max-width: 1023px) {
  body { padding-bottom: 34px; }
}

/* ---------- 9. 桌面端：左侧固定索引栏 ---------- */
@media (min-width: 1024px) {
  body { padding-inline-start: var(--rail-w); }

  .header-frame { padding-inline: var(--safe); }

  .header-status {
    display: inline-flex;
    margin-inline-start: auto;
  }

  .header-cta { margin-inline-start: 24px; }

  .nav-toggle { display: none; }

  .site-nav {
    inset: 0 auto 0 0;
    width: var(--rail-w);
    display: flex;
    flex-direction: column;
    padding: calc(var(--hdr-h) + 22px) 12px 26px;
    overflow: visible;
    transform: none;
    visibility: visible;
    border-inline-start: 0;
    border-inline-end: 1px solid rgba(143, 163, 191, 0.2);
    box-shadow: none;
    background: linear-gradient(180deg, #081831, #0D2242 46%, #08182F);
    z-index: 70;
  }

  .nav-head {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 0 8px 15px;
    margin-bottom: 14px;
    border-bottom: 1px solid rgba(143, 163, 191, 0.24);
  }

  .nav-head-idx {
    font-family: var(--font-mono);
    font-size: 9.5px;
    letter-spacing: 0.22em;
    color: var(--gold);
  }

  .nav-head-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--mist);
  }

  .nav-list { gap: 3px; }

  .nav-list a {
    flex-direction: column;
    align-items: flex-start;
    gap: 1px;
    padding: 11px 9px;
    border-radius: 14px;
  }

  .nav-list a:hover { transform: translateX(3px); }

  .nav-label {
    font-size: 14.5px;
    line-height: 1.35;
  }

  .nav-idx { font-size: 10px; }

  .nav-foot {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding: 14px 8px 0;
    border-top: 1px solid rgba(143, 163, 191, 0.24);
  }

  .nav-foot-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--orange));
  }

  .nav-foot-text {
    font-family: var(--font-mono);
    font-size: 8.5px;
    letter-spacing: 0.18em;
    color: var(--mist);
  }

  .skip-link { inset-inline-start: calc(var(--rail-w) + 10px); }
}

/* ---------- 10. 页脚 ---------- */
.site-footer {
  margin-top: clamp(64px, 9vw, 130px);
  background: var(--ink-900);
  border-top: 1px solid rgba(143, 163, 191, 0.2);
}

.footer-feedback {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 16px var(--safe);
  background: linear-gradient(100deg, #FF6B00, #FF9440 56%, #F2C14E);
  color: #1A1004;
  border-bottom: 1px solid rgba(42, 31, 26, 0.25);
  transition: filter 0.2s ease;
}

.footer-feedback:hover { filter: brightness(1.05) saturate(1.05); }

.fb-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  padding: 3px 11px;
  border-radius: 999px;
  background: rgba(26, 16, 4, 0.84);
  color: #FFD9B0;
  white-space: nowrap;
}

.fb-text {
  font-weight: 800;
  font-size: 16px;
}

.fb-note {
  font-size: 13px;
  opacity: 0.82;
}

.fb-arrow {
  margin-inline-start: auto;
  font-size: 20px;
  font-weight: 900;
  transition: transform 0.2s ease;
}

.footer-feedback:hover .fb-arrow { transform: translateX(5px); }

.footer-body {
  background: var(--paper);
  color: var(--brown);
  padding-block: clamp(38px, 5vw, 66px);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 3vw, 38px);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.brand--paper .brand-text { color: var(--brown); }
.brand--paper .brand-sub { color: #8A7358; }

.brand--paper .brand-mark {
  color: #B0550A;
  border-color: rgba(176, 85, 10, 0.5);
  background: radial-gradient(circle at 50% 50%, rgba(255, 107, 0, 0.22), transparent 72%);
  box-shadow: none;
  animation: none;
}

.footer-slogan {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: #8A7358;
}

.footer-meta {
  font-size: 13.5px;
  line-height: 1.78;
  color: #6B5A4A;
  max-width: 26em;
}

.footer-col-title {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: #A2500A;
  margin-bottom: 14px;
  padding-bottom: 9px;
  border-bottom: 1px dashed rgba(42, 31, 26, 0.3);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-col a {
  display: inline-block;
  font-size: 15.5px;
  color: var(--brown);
  border-bottom: 1px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.footer-col a:hover {
  color: #C24E00;
  border-bottom-color: #C24E00;
  transform: translateX(3px);
}

.footer-contact {
  display: block;
  font-size: 14.5px;
  line-height: 1.7;
}

.footer-contact dt {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: #A2500A;
  margin-top: 10px;
}

.footer-contact dt:first-child { margin-top: 0; }

.footer-contact dd {
  color: var(--brown);
  word-break: break-word;
}

.copy-mail {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid rgba(42, 31, 26, 0.35);
  background: rgba(42, 31, 26, 0.05);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.03em;
  color: var(--brown);
  text-align: start;
  word-break: break-all;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.copy-mail:hover {
  border-color: #C24E00;
  background: rgba(255, 107, 0, 0.12);
  color: #A2500A;
}

.copy-mail[data-copied] {
  border-color: var(--jade);
  background: rgba(18, 184, 134, 0.14);
  color: #0B7A5A;
}

.copy-mail-hint {
  font-size: 10px;
  letter-spacing: 0.14em;
  opacity: 0.65;
  white-space: nowrap;
}

.footer-base {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  justify-content: space-between;
  padding: 16px var(--safe);
  background: #07162C;
  border-top: 1px solid rgba(143, 163, 191, 0.16);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--mist);
}

@media (min-width: 560px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (min-width: 900px) {
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (min-width: 1240px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr 1.28fr;
  }
  .footer-brand { grid-column: auto; }
}

/* ---------- 11. 通用组件 ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--orange);
  box-shadow: 0 0 8px var(--orange);
}

.display-title {
  position: relative;
  display: inline-block;
  padding-inline-end: 0.42em;
  text-shadow: 0 0 26px rgba(255, 107, 0, 0.32);
}

.display-title::after {
  content: "";
  position: absolute;
  top: 0.1em;
  right: 0.02em;
  width: 0.2em;
  height: 0.2em;
  background: var(--orange);
  clip-path: polygon(0 0, 100% 0, 0 100%);
  box-shadow: 0 0 14px rgba(255, 107, 0, 0.7);
}

.lede {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  line-height: 1.8;
  color: #C3D2E6;
  max-width: 34em;
}

.prose {
  max-width: 36em;
}

.prose p + p { margin-top: 1.05em; }

.prose strong {
  color: #FFD9B0;
  font-weight: 800;
}

.panel {
  background: var(--ink-700);
  border: 1px solid rgba(143, 163, 191, 0.22);
  border-radius: var(--radius);
  padding: clamp(20px, 2.6vw, 32px);
}

.panel--paper {
  background: var(--paper);
  color: var(--brown);
  border-color: rgba(42, 31, 26, 0.15);
}

.panel--glow {
  border-color: rgba(255, 107, 0, 0.55);
  box-shadow: var(--glow-orange);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.02em;
  transition: transform 0.18s ease, box-shadow 0.2s ease,
    background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn--primary {
  background: linear-gradient(135deg, var(--orange-2), var(--orange));
  color: #1A0F02;
  box-shadow: 0 6px 20px rgba(255, 107, 0, 0.35);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(255, 107, 0, 0.5);
}

.btn--ghost {
  border-color: rgba(143, 163, 191, 0.45);
  color: var(--text);
}

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

.btn--paper {
  background: var(--brown);
  color: var(--paper);
}

.btn--paper:hover { transform: translateY(-2px); }

.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--mist);
}

.crumbs li {
  display: inline-flex;
  align-items: center;
}

.crumbs li + li::before {
  content: "/";
  margin-inline: 9px;
  color: rgba(143, 163, 191, 0.45);
}

.crumbs a { transition: color 0.18s ease; }
.crumbs a:hover { color: var(--orange); }

.crumbs [aria-current="page"] { color: var(--gold); }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  padding: 2px 12px;
  border-radius: 999px;
  border: 1px solid rgba(143, 163, 191, 0.35);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--mist);
}

.tag--orange {
  border-color: rgba(255, 107, 0, 0.55);
  color: var(--orange-2);
  background: rgba(255, 107, 0, 0.1);
}

.tag--jade {
  border-color: rgba(18, 184, 134, 0.5);
  color: var(--jade);
  background: rgba(18, 184, 134, 0.09);
}

.tag--coral {
  border-color: rgba(229, 72, 77, 0.5);
  color: #FF8E92;
  background: rgba(229, 72, 77, 0.1);
}

/* ---------- 12. 图片占位容器 ---------- */
.figure {
  position: relative;
  display: block;
  width: 100%;
  margin: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid rgba(143, 163, 191, 0.22);
  background: linear-gradient(145deg, #10254A, #0A1B34 62%);
  isolation: isolate;
}

.figure > img,
.figure > svg,
.figure > video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.figure--paper {
  background: linear-gradient(145deg, var(--paper), var(--paper-2));
  border-color: rgba(42, 31, 26, 0.18);
}

.figure--glow {
  border-color: rgba(255, 107, 0, 0.55);
  box-shadow: 0 0 30px rgba(255, 107, 0, 0.22);
}

.figure--r21x9 { aspect-ratio: 21 / 9; }
.figure--r16x9 { aspect-ratio: 16 / 9; }
.figure--r4x3 { aspect-ratio: 4 / 3; }
.figure--r1x1 { aspect-ratio: 1 / 1; }
.figure--r3x4 { aspect-ratio: 3 / 4; }

.figure figcaption {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 14px 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: #DCE6F4;
  background: linear-gradient(180deg, transparent, rgba(7, 22, 44, 0.9));
}

@media (max-width: 600px) {
  .figure--r21x9 { aspect-ratio: 16 / 9; }
  .figure--r3x4 { aspect-ratio: 4 / 5; }
}

/* ---------- 13. 雷达图形 ---------- */
.radar {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  border: 1px solid rgba(255, 107, 0, 0.35);
  background: radial-gradient(circle, rgba(255, 107, 0, 0.22), transparent 70%);
  overflow: hidden;
}

.radar::before {
  content: "";
  position: absolute;
  inset: 14%;
  border-radius: 50%;
  border: 1px dashed rgba(242, 193, 78, 0.42);
}

.radar::after {
  content: "";
  position: absolute;
  inset: 32%;
  border-radius: 50%;
  border: 1px solid rgba(143, 163, 191, 0.35);
}

.radar-sweep {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(255, 107, 0, 0.55), transparent 24%);
  animation: radarSweep 6s linear infinite;
}

@keyframes radarSweep {
  to { transform: rotate(360deg); }
}

/* ---------- 14. 滚动进度条 ---------- */
.scroll-progress {
  position: fixed;
  inset-inline-start: 0;
  top: 0;
  height: 3px;
  width: 0;
  z-index: 120;
  opacity: 0;
  background: linear-gradient(90deg, var(--orange), var(--gold));
  box-shadow: 0 0 12px rgba(255, 107, 0, 0.7);
  transition: width 0.12s linear, opacity 0.3s ease;
  pointer-events: none;
}

/* ---------- 15. 减少动态偏好 ---------- */
@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;
  }

  .radar-sweep {
    animation: none;
    background: conic-gradient(from 42deg, rgba(255, 107, 0, 0.34), transparent 30%);
  }

  .brand-mark,
  .status-dot,
  .dock-tick { animation: none; }
}
