/* ==========================================================================
   龙珠体育官网 · 共享样式表 /assets/site.css
   框架式页头 + 印章式页脚 + 数字竞技档案基础组件
   ========================================================================== */

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

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

body { margin: 0; }

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

/* ---------- 02. 设计变量 ---------- */
:root {
  --ink: #0B1020;
  --panel: #141B33;
  --panel-2: #1B2443;
  --coral: #FF4E42;
  --gold: #FFB020;
  --teal: #2BE3B4;
  --paper: #F4E9D6;
  --sand: #DCC9A8;
  --brown: #2A1F19;
  --steel: #9AA6C2;
  --white: #F7F5F0;
  --stamp: #B2261F;

  --font-display: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "SimSun", serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", "Roboto Mono", ui-monospace, SFMono-Regular, Menlo, "Courier New", monospace;

  --rail-w: 14px;
  --header-h: 64px;
  --maxw: 1280px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 14px;
  --radius-lg: 22px;
  --line: rgba(154, 166, 194, 0.22);
  --dur: 0.28s;
}

@media (min-width: 900px) {
  :root { --rail-w: 56px; --header-h: 78px; }
}

/* ---------- 03. 基础排版 ---------- */
body {
  background-color: var(--ink);
  background-image:
    radial-gradient(70rem 38rem at 88% -8%, rgba(255, 78, 66, 0.18), transparent 62%),
    radial-gradient(52rem 34rem at -12% 62%, rgba(43, 227, 180, 0.10), transparent 62%),
    radial-gradient(64rem 40rem at 46% 118%, rgba(255, 176, 32, 0.13), transparent 62%);
  background-repeat: no-repeat;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  padding-left: var(--rail-w);
  min-height: 100vh;
}

/* 左侧竖向刻度导轨：与页头横向轨道构成 L 形视觉边框 */
body::before {
  content: "";
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  width: var(--rail-w);
  z-index: 80;
  pointer-events: none;
  background:
    linear-gradient(180deg, var(--coral) 0 4px, rgba(255, 78, 66, 0) 4px),
    radial-gradient(circle at 50% 54px, rgba(255, 78, 66, 0.95) 0 3.5px, rgba(255, 78, 66, 0) 5px),
    repeating-linear-gradient(180deg, rgba(154, 166, 194, 0.30) 0 1px, rgba(154, 166, 194, 0) 1px 26px),
    linear-gradient(180deg, #101733 0%, #0B1020 62%, #0B1020 100%);
  border-right: 1px solid rgba(154, 166, 194, 0.16);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.14;
}

h1 { font-size: clamp(2.2rem, 5.6vw, 4.4rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.6rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.5rem); }

strong { color: var(--gold); font-weight: 700; }
code, kbd, samp { font-family: var(--font-mono); }

::selection { background: var(--coral); color: #170C08; }

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

/* ---------- 04. 通用工具类 ---------- */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

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

.section { position: relative; padding: clamp(40px, 6vw, 84px) 0; }
.section--tight { padding: clamp(26px, 4vw, 48px) 0; }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 14px 26px;
  margin-bottom: clamp(22px, 3vw, 36px);
}

.section-num {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: 0.84;
  letter-spacing: -0.04em;
  color: var(--coral);
  text-shadow: 0 0 34px rgba(255, 78, 66, 0.35);
}

.section-title { font-size: clamp(1.6rem, 3.2vw, 2.6rem); }

.section-lede {
  color: var(--steel);
  font-size: 16px;
  max-width: 62ch;
  flex: 1 1 320px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--gold);
}

.rule { height: 1px; border: 0; margin: 0; background: var(--line); }

.rule--band {
  height: 3px;
  border: 0;
  margin: 0;
  background: linear-gradient(90deg, var(--coral), var(--gold) 55%, rgba(43, 227, 180, 0.65));
}

.band-paper { background: var(--paper); color: var(--brown); }
.band-paper .eyebrow { color: var(--stamp); }
.band-paper .eyebrow::before { background: var(--stamp); }
.band-paper .section-num { color: var(--stamp); text-shadow: none; }
.band-paper .section-lede { color: #5A4A3E; }

.halftone { position: relative; }
.halftone::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(154, 166, 194, 0.28) 1px, transparent 1px);
  background-size: 8px 8px;
  opacity: 0.6;
}

/* ---------- 05. 页头：框架式导航 ---------- */
.skip-link {
  position: fixed;
  top: -110px;
  left: calc(var(--rail-w) + 12px);
  z-index: 130;
  padding: 11px 18px;
  border-radius: 0 0 12px 12px;
  background: var(--gold);
  color: #1A1207;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: top var(--dur) ease;
}

.skip-link:focus { top: 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: linear-gradient(180deg, rgba(11, 16, 32, 0.97) 0%, rgba(11, 16, 32, 0.89) 100%);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  backdrop-filter: blur(12px) saturate(140%);
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  pointer-events: none;
  opacity: 0.7;
  background: linear-gradient(90deg, var(--coral) 0%, var(--gold) 32%, rgba(255, 176, 32, 0) 60%, var(--teal) 100%);
}

.header-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  min-height: var(--header-h);
  padding: 10px var(--gutter);
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  padding-right: 6px;
}

.brand-mark {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  color: #120C06;
  background: radial-gradient(circle at 34% 28%, #FFD777 0%, var(--gold) 38%, var(--coral) 100%);
  box-shadow: 0 0 0 1px rgba(255, 176, 32, 0.45), 0 0 22px rgba(255, 78, 66, 0.35);
}

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

.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.02em;
  color: var(--white);
}

.brand-sub {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--steel);
}

.nav-toggle {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  border-radius: 999px;
  background: var(--panel);
  border: 1px solid var(--line);
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  transition: border-color var(--dur) ease, background var(--dur) ease;
}

.nav-toggle:hover { border-color: var(--gold); }

.nav-toggle-bars { display: grid; gap: 4px; width: 16px; }

.nav-toggle-bars i {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--coral);
  transition: transform var(--dur) ease, opacity var(--dur) ease;
}

.site-header[data-open] .nav-toggle-bars i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.site-header[data-open] .nav-toggle-bars i:nth-child(2) { opacity: 0; }
.site-header[data-open] .nav-toggle-bars i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* 移动端抽屉：锚定在页头下方，跟随 L 形边框 */
.site-nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  display: none;
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
  padding: 18px var(--gutter) 26px;
  background: linear-gradient(180deg, rgba(20, 27, 51, 0.99), rgba(11, 16, 32, 0.99));
  border-bottom: 1px solid var(--line);
  box-shadow: 0 26px 52px rgba(0, 0, 0, 0.48);
}

.site-header[data-open] .site-nav {
  display: block;
  animation: navDrop 0.26s ease both;
}

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

.nav-list { display: flex; flex-direction: column; gap: 4px; }
.nav-item { width: 100%; }

.nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(20, 27, 51, 0.78);
  border: 1px solid transparent;
  color: var(--steel);
  font-size: 15px;
  font-weight: 500;
  transition: color var(--dur) ease, background var(--dur) ease,
              border-color var(--dur) ease, box-shadow var(--dur) ease;
}

.nav-link::before {
  content: "";
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--steel);
  opacity: 0.5;
  transition: background var(--dur) ease, opacity var(--dur) ease;
}

.nav-link:hover {
  color: var(--white);
  border-color: rgba(255, 176, 32, 0.5);
  background: rgba(27, 36, 67, 0.92);
}

.nav-link[aria-current="page"] {
  background: var(--coral);
  color: #160C08;
  font-weight: 700;
  border-color: transparent;
  box-shadow: 0 0 0 1px rgba(255, 78, 66, 0.6), 0 8px 22px rgba(255, 78, 66, 0.28);
}

.nav-link[aria-current="page"]::before { background: #160C08; opacity: 1; }

.nav-cta {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 13px 18px;
  border-radius: 12px;
  border: 1px solid var(--gold);
  background: rgba(255, 176, 32, 0.08);
  color: var(--gold);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  transition: background var(--dur) ease, color var(--dur) ease;
}

.nav-cta:hover { background: var(--gold); color: #1A1207; }

@media (min-width: 640px) {
  .brand-mark { width: 44px; height: 44px; font-size: 22px; }
  .brand-name { font-size: 19px; }
}

@media (min-width: 1080px) {
  .nav-toggle { display: none; }

  .site-nav {
    position: static;
    display: flex;
    align-items: center;
    gap: 18px;
    margin-left: auto;
    max-height: none;
    overflow: visible;
    padding: 0;
    background: none;
    border: 0;
    box-shadow: none;
    animation: none !important;
  }

  .nav-list {
    flex-direction: row;
    gap: 6px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .nav-list::-webkit-scrollbar { display: none; }

  .nav-item { width: auto; }

  .nav-link {
    padding: 9px 15px;
    border-radius: 999px;
    background: var(--panel);
    font-size: 14px;
    white-space: nowrap;
  }

  .nav-cta { margin-top: 0; width: auto; padding: 10px 18px; white-space: nowrap; }
}

/* ---------- 06. 页脚：印章式档案尾页 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(56px, 8vw, 110px);
  overflow: hidden;
  background: linear-gradient(180deg, #0E1428 0%, #090D1A 100%);
  border-top: 1px solid var(--line);
}

.footer-band {
  height: 6px;
  background: linear-gradient(90deg, var(--coral) 0 22%, var(--gold) 22% 42%, var(--teal) 42% 48%, #1B2443 48% 100%);
}

.footer-inner {
  position: relative;
  z-index: 2;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(34px, 5vw, 64px) var(--gutter) 28px;
}

.footer-lead {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 26px;
  border-bottom: 1px dashed rgba(154, 166, 194, 0.28);
}

.footer-brand { display: flex; align-items: center; gap: 14px; }

.footer-brand-text { display: flex; flex-direction: column; line-height: 1.2; }

.footer-mark {
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  color: #120C06;
  background: radial-gradient(circle at 34% 28%, #FFD777 0%, var(--gold) 40%, var(--coral) 100%);
  box-shadow: 0 0 0 1px rgba(255, 176, 32, 0.4), 0 0 24px rgba(255, 78, 66, 0.3);
}

.footer-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.01em;
  color: var(--white);
}

.footer-sub {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--steel);
}

.footer-closing {
  color: var(--steel);
  font-size: 13.5px;
  letter-spacing: 0.04em;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 4vw, 48px);
  padding: clamp(28px, 4vw, 44px) 0;
}

.footer-col-title {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--gold);
  margin-bottom: 16px;
}

.footer-links { display: flex; flex-direction: column; gap: 10px; }

.footer-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--steel);
  font-size: 14.5px;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-link::before {
  content: "";
  width: 5px;
  height: 5px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--coral);
  opacity: 0.55;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.footer-link:hover { color: var(--white); transform: translateX(3px); }
.footer-link:hover::before { opacity: 1; transform: scale(1.35); }

.contact-list { display: flex; flex-direction: column; gap: 12px; }
.contact-item { display: flex; flex-direction: column; gap: 2px; }

.contact-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--teal);
}

.contact-value {
  color: var(--white);
  font-size: 14.5px;
  line-height: 1.6;
  word-break: break-word;
}

.contact-note {
  margin-top: 16px;
  padding-left: 12px;
  border-left: 2px solid rgba(255, 176, 32, 0.55);
  color: var(--steel);
  font-size: 12.5px;
  line-height: 1.7;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--steel);
}

.footer-legal { margin: 0; }
.footer-icp { color: var(--gold); }
.footer-meta { margin: 0; }

.footer-watermark {
  position: absolute;
  right: clamp(8px, 3vw, 40px);
  bottom: -0.18em;
  z-index: 1;
  margin: 0;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(56px, 15vw, 180px);
  line-height: 0.8;
  letter-spacing: 0.06em;
  color: var(--stamp);
  opacity: 0.16;
  pointer-events: none;
  user-select: none;
}

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

@media (min-width: 1080px) {
  .footer-grid { grid-template-columns: 1fr 1fr 1.45fr; }
}

/* ---------- 07. 按钮 / 标签 / 状态 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: transform 0.22s ease, background 0.22s ease, color 0.22s ease,
              border-color 0.22s ease, box-shadow 0.22s ease;
}

.btn--primary {
  background: linear-gradient(135deg, var(--coral), #FF7A4D);
  color: #170C08;
  box-shadow: 0 10px 28px rgba(255, 78, 66, 0.3);
}

.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(255, 78, 66, 0.42); }

.btn--gold {
  background: linear-gradient(135deg, var(--gold), #FFD166);
  color: #1A1207;
  box-shadow: 0 10px 26px rgba(255, 176, 32, 0.28);
}

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

.btn--ghost {
  background: rgba(20, 27, 51, 0.72);
  border-color: var(--line);
  color: var(--white);
}

.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 176, 32, 0.12);
  border: 1px solid rgba(255, 176, 32, 0.42);
  color: var(--gold);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.tag--coral { background: rgba(255, 78, 66, 0.14); border-color: rgba(255, 78, 66, 0.45); color: #FF8B82; }
.tag--teal { background: rgba(43, 227, 180, 0.12); border-color: rgba(43, 227, 180, 0.42); color: var(--teal); }
.tag--muted { background: rgba(154, 166, 194, 0.12); border-color: rgba(154, 166, 194, 0.35); color: var(--steel); }

.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--steel);
}

.status-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(43, 227, 180, 0.18);
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(43, 227, 180, 0.14); }
  50% { box-shadow: 0 0 0 7px rgba(43, 227, 180, 0.05); }
}

/* ---------- 08. 面板 / 卡片 / 网格 ---------- */
.panel {
  position: relative;
  overflow: hidden;
  padding: clamp(18px, 2.6vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(27, 36, 67, 0.92), rgba(20, 27, 51, 0.92));
}

.card {
  --tilt: 0deg;
  position: relative;
  overflow: hidden;
  padding: clamp(18px, 2.6vw, 26px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(27, 36, 67, 0.94), rgba(16, 22, 44, 0.94));
  transform: rotate(var(--tilt));
  transition: transform 0.32s ease, border-color 0.32s ease, box-shadow 0.32s ease;
}

.card:hover {
  transform: rotate(var(--tilt)) translateY(-5px);
  border-color: rgba(255, 176, 32, 0.45);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.42);
}

.card--tilt-l { --tilt: -1.3deg; }
.card--tilt-r { --tilt: 1.3deg; }

.card--paper {
  background: var(--paper);
  color: var(--brown);
  border-color: var(--sand);
}

.card--paper h3 { color: var(--brown); }

.paper {
  background: var(--paper);
  color: var(--brown);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 3.4vw, 44px);
}

.paper h2, .paper h3, .paper h4 { color: var(--brown); }
.paper strong { color: var(--stamp); }

.grid { display: grid; gap: clamp(16px, 2.4vw, 26px); }
.grid-2, .grid-3 { grid-template-columns: 1fr; }

@media (min-width: 720px) {
  .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

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

/* ---------- 09. 数据锚点 / 时间轴 ---------- */
.stat { display: flex; flex-direction: column; gap: 4px; }

.stat-num {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(2.2rem, 6vw, 4.2rem);
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: var(--white);
}

.stat-num--coral { color: var(--coral); }
.stat-num--gold { color: var(--gold); }
.stat-num--teal { color: var(--teal); }

.stat-unit { font-size: 0.38em; margin-left: 6px; color: var(--gold); }
.stat-label { font-size: 13px; letter-spacing: 0.06em; color: var(--steel); }

.timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-left: 28px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--coral), var(--gold) 55%, rgba(43, 227, 180, 0.75));
}

.timeline-item { position: relative; }

.timeline-item::before {
  content: "";
  position: absolute;
  left: -28px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--ink);
  border: 2px solid var(--coral);
}

/* ---------- 10. 面包屑 / 正文 ---------- */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--steel);
}

.breadcrumbs li { display: flex; align-items: center; }
.breadcrumbs a { color: var(--steel); transition: color 0.2s ease; }
.breadcrumbs a:hover { color: var(--gold); }

.breadcrumbs li::after {
  content: "/";
  margin: 0 8px;
  color: rgba(154, 166, 194, 0.5);
}

.breadcrumbs li:last-child::after { content: ""; margin: 0; }
.breadcrumbs li[aria-current="page"] { color: var(--white); }

.prose { max-width: 68ch; font-size: 17px; line-height: 1.8; }
.prose p + p { margin-top: 1em; }
.prose h2 { margin: 1.6em 0 0.6em; font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.prose h3 { margin: 1.3em 0 0.5em; font-size: 1.15rem; }
.prose ul, .prose ol { display: flex; flex-direction: column; gap: 8px; margin: 1em 0; }
.prose ul li { position: relative; padding-left: 20px; }

.prose ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--coral);
  transform: rotate(45deg);
}

.prose ol { counter-reset: prose; }
.prose ol li { position: relative; padding-left: 26px; }

.prose ol li::before {
  counter-increment: prose;
  content: counter(prose, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0.15em;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--gold);
}

.paper .prose, .card--paper .prose { color: #3A2C24; }
.paper .prose ul li::before { background: var(--stamp); }
.paper .prose ol li::before { color: var(--stamp); }

/* ---------- 11. 图片容器（页面阶段放置占位或图片） ---------- */
.media-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(150deg, #1B2443, #0E1428);
}

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

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(247, 245, 240, 0.09) 1px, transparent 1px);
  background-size: 6px 6px;
  mix-blend-mode: screen;
}

.media-frame--wide { aspect-ratio: 16 / 9; }
.media-frame--tall { aspect-ratio: 3 / 4; }
.media-frame--square { aspect-ratio: 1 / 1; }
.media-frame--tilt { transform: rotate(-1.2deg); }

/* ---------- 12. 浏览辅助交互层 ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: var(--rail-w);
  right: 0;
  height: 3px;
  z-index: 100;
  pointer-events: none;
  background: rgba(154, 166, 194, 0.12);
}

.scroll-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--coral), var(--gold) 55%, var(--teal));
  transition: width 0.12s linear;
}

.back-to-top {
  position: fixed;
  right: clamp(14px, 3vw, 32px);
  bottom: clamp(16px, 4vw, 32px);
  z-index: 95;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(20, 27, 51, 0.94);
  border: 1px solid rgba(255, 176, 32, 0.5);
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 700;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.42);
  transition: opacity 0.24s ease, transform 0.24s ease, visibility 0.24s ease,
              background 0.24s ease, color 0.24s ease;
}

.back-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { background: var(--gold); color: #1A1207; }

html.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.42s ease, transform 0.42s ease;
}

html.js [data-reveal].is-inview { opacity: 1; transform: none; }

/* ---------- 13. 无障碍与动效降级 ---------- */
@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;
  }

  html.js [data-reveal],
  html.js [data-reveal].is-inview {
    opacity: 1;
    transform: none;
  }

  .card, .card:hover, .media-frame--tilt { transform: none; }
}
