/* ==========================================================================
   星空体育APP官方主站 — 共享样式 /assets/site.css
   视觉协议：星空数据竞技场 · 深邃星空蓝 + 金色数据 + 电光紫
   ========================================================================== */

/* ---------- Reset & Tokens ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --c-bg: #0A0F24;
  --c-bg-deep: #060A18;
  --c-panel: #121A38;
  --c-panel-2: #1A2447;
  --c-line: rgba(214, 220, 255, 0.14);
  --c-line-strong: rgba(232, 181, 68, 0.45);
  --c-gold: #E8B544;
  --c-gold-bright: #FFD97A;
  --c-gold-deep: #B57F2A;
  --c-violet: #8B5CF6;
  --c-violet-bright: #A78BFA;
  --c-violet-deep: #5B3FD6;
  --c-cyan: #4FD8E0;
  --c-text: #EEF2FF;
  --c-text-dim: #9AA5D0;
  --c-text-faint: #67709B;
  --c-positive: #3DDC97;
  --c-negative: #FF6B7A;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --radius-pill: 999px;
  --header-w: 248px;
  --header-h-mobile: 64px;
  --font-head: "Helvetica Neue", "Arial Black", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-body: "Helvetica Neue", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-data: "Roboto Mono", "SFMono-Regular", "Consolas", "Liberation Mono", monospace;
  --shadow-elev: 0 18px 44px rgba(2, 6, 20, 0.45);
}

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

body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  background-color: var(--c-bg);
  background-image:
    radial-gradient(1px 1px at 18% 34%, rgba(255, 255, 255, 0.32), transparent 40%),
    radial-gradient(1px 1px at 82% 12%, rgba(255, 255, 255, 0.26), transparent 40%),
    radial-gradient(1.5px 1.5px at 44% 70%, rgba(139, 92, 246, 0.42), transparent 50%),
    radial-gradient(1px 1px at 93% 44%, rgba(232, 181, 68, 0.34), transparent 40%),
    radial-gradient(1.5px 1.5px at 62% 86%, rgba(79, 216, 224, 0.28), transparent 50%),
    radial-gradient(1px 1px at 8% 78%, rgba(255, 255, 255, 0.18), transparent 40%);
  color: var(--c-text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 0.6em;
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0.015em;
  color: var(--c-text);
}

h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); letter-spacing: 0.01em; }
h2 { font-size: clamp(1.45rem, 2.6vw, 2.1rem); }
h3 { font-size: 1.18rem; }
h4 { font-size: 1rem; }

p { margin: 0 0 14px; }

a {
  color: var(--c-gold);
  text-decoration: none;
  transition: color 0.2s, border-color 0.2s, background-color 0.2s;
}
a:hover { color: var(--c-gold-bright); }

img { max-width: 100%; display: block; border: 0; }
ul, ol { margin: 0; padding: 0; }

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

::selection { background: rgba(139, 92, 246, 0.55); color: #fff; }

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

#main-content { display: block; min-height: 60vh; }
#main-content:focus { outline: none; }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #2A3563; border-radius: 8px; border: 2px solid var(--c-bg); }
::-webkit-scrollbar-thumb:hover { background: #3A4A85; }

/* ---------- 桌面端侧轨预留 ---------- */
@media (min-width: 1024px) {
  body { padding-left: var(--header-w); }
}

/* ---------- Skip Link ---------- */
.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 400;
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  background: var(--c-gold-bright);
  color: #0A0F24;
  font-weight: 700;
  font-size: 0.875rem;
  box-shadow: var(--shadow-elev);
  transform: translateY(-180%);
  transition: transform 0.2s;
}
.skip-link:hover { color: #0A0F24; }
.skip-link:focus-visible { transform: translateY(0); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  height: var(--header-h-mobile);
  padding: 0 14px;
  background: linear-gradient(180deg, rgba(12, 18, 48, 0.98) 0%, rgba(9, 14, 35, 0.98) 100%);
  border-bottom: 1px solid var(--c-line);
  z-index: 300;
}

.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
}

/* 品牌锁 */
.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: var(--c-text);
}
.site-brand:hover { color: var(--c-text); }

.site-brand__mark {
  position: relative;
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background:
    radial-gradient(circle at 72% 28%, rgba(232, 181, 68, 0.95) 6%, transparent 38%),
    linear-gradient(135deg, var(--c-violet) 0%, #2B3A8C 100%);
  border: 1px solid rgba(232, 181, 68, 0.5);
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.35);
}

.site-brand__star {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.site-brand__star::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 17px;
  height: 17px;
  transform: translate(-50%, -50%);
  background: var(--c-gold-bright);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

.site-brand__mark::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 11px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-top-color: transparent;
  transform: rotate(18deg);
  z-index: 2;
  pointer-events: none;
}

.site-brand__text {
  display: grid;
  gap: 2px;
  line-height: 1.15;
  min-width: 0;
}
.site-brand__name {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.12rem;
  letter-spacing: 0.02em;
  color: #fff;
  white-space: nowrap;
}
.site-brand__sub {
  font-family: var(--font-data);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-text-faint);
  white-space: nowrap;
}
.site-brand__badge {
  font-family: var(--font-data);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  background: rgba(232, 181, 68, 0.13);
  border: 1px solid rgba(232, 181, 68, 0.42);
  color: var(--c-gold-bright);
  white-space: nowrap;
}

/* 移动端隐藏品牌附属信息，桌面端恢复 */
.site-header .site-brand__sub,
.site-header .site-brand__badge { display: none; }

/* 移动端抽屉按钮 */
.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 42px;
  padding: 0 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--c-line);
  background: rgba(139, 92, 246, 0.12);
  color: var(--c-text);
  font-weight: 700;
  font-size: 0.875rem;
  transition: border-color 0.2s, background-color 0.2s, color 0.2s;
  z-index: 330;
}
.nav-toggle:hover {
  border-color: rgba(232, 181, 68, 0.5);
  background: rgba(232, 181, 68, 0.1);
  color: var(--c-gold-bright);
}
.nav-toggle__bars {
  display: grid;
  gap: 5px;
  width: 16px;
  flex: none;
}
.nav-toggle__bar {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.25s, opacity 0.25s;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-toggle__label { white-space: nowrap; }

/* ---------- 主导航：移动端抽屉 ---------- */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: min(320px, 86vw);
  padding: calc(var(--header-h-mobile) + 16px) 18px 26px;
  background: linear-gradient(180deg, #0D1432 0%, #090E23 100%);
  border-right: 1px solid var(--c-line-strong);
  box-shadow: 22px 0 50px rgba(2, 4, 14, 0.5);
  transform: translateX(-106%);
  visibility: hidden;
  transition: transform 0.28s cubic-bezier(0.22, 0.72, 0.24, 1), visibility 0s 0.28s;
  overflow-y: auto;
  z-index: 320;
}
.site-nav[data-open] {
  transform: translateX(0);
  visibility: visible;
  transition: transform 0.28s cubic-bezier(0.22, 0.72, 0.24, 1), visibility 0s;
}

.site-nav__list { list-style: none; display: grid; gap: 6px; }

.site-nav__link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid transparent;
  color: var(--c-text-dim);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s, background-color 0.2s, border-color 0.2s, transform 0.12s;
}
.site-nav__link::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.32;
  flex: none;
  transition: opacity 0.2s, box-shadow 0.2s, background-color 0.2s;
}
.site-nav__link:hover {
  color: var(--c-text);
  background: rgba(139, 92, 246, 0.16);
  border-color: rgba(139, 92, 246, 0.32);
}
.site-nav__link:hover::before {
  opacity: 0.85;
  box-shadow: 0 0 12px var(--c-violet-bright);
}
.site-nav__link:active {
  transform: rotate(-1.2deg);
  border-color: rgba(232, 181, 68, 0.7);
  color: var(--c-gold-bright);
}
.site-nav__link[aria-current="page"] {
  color: var(--c-gold-bright);
  background: linear-gradient(135deg, rgba(232, 181, 68, 0.16), rgba(139, 92, 246, 0.1));
  border-color: rgba(232, 181, 68, 0.4);
  font-weight: 700;
}
.site-nav__link[aria-current="page"]::before {
  background: var(--c-gold);
  opacity: 1;
  box-shadow: 0 0 0 4px rgba(232, 181, 68, 0.18), 0 0 14px rgba(232, 181, 68, 0.55);
}

/* 遮罩 */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(3, 5, 18, 0.64);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0s 0.25s;
  z-index: 310;
}
.nav-overlay[data-open] {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.25s;
}

/* 头部状态 */
.site-header__foot { display: none; }

.sync-status {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(61, 220, 151, 0.08);
  border: 1px solid rgba(61, 220, 151, 0.22);
  color: var(--c-text-dim);
  font-family: var(--font-data);
  font-size: 0.78rem;
  line-height: 1.4;
}
.sync-status__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-positive);
  box-shadow: 0 0 0 3px rgba(61, 220, 151, 0.16), 0 0 10px rgba(61, 220, 151, 0.5);
  flex: none;
}
.sync-status__text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* 滚动进度条 */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--c-gold), var(--c-violet), var(--c-cyan));
  transform: scaleX(0);
  transform-origin: 0 50%;
  pointer-events: none;
  z-index: 350;
}

/* 返回顶部 */
.to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--c-gold-bright), var(--c-violet));
  color: #0B1026;
  box-shadow: 0 12px 30px rgba(139, 92, 246, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.2s, transform 0.2s, visibility 0s 0.2s;
  z-index: 340;
}
.to-top[data-shown] {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity 0.2s, transform 0.2s;
}
.to-top:hover { filter: brightness(1.12); }
.to-top:active { transform: translateY(2px) rotate(-2deg); }
.to-top__icon {
  display: block;
  width: 10px;
  height: 10px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(-45deg);
  margin-top: 3px;
}

/* ---------- 桌面端：侧轨 ---------- */
@media (min-width: 1024px) {
  .site-header {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: var(--header-w);
    height: auto;
    flex-direction: column;
    align-items: stretch;
    padding: 22px 16px 18px;
    background:
      radial-gradient(circle at 22% 0%, rgba(139, 92, 246, 0.22), transparent 48%),
      radial-gradient(circle at 80% 92%, rgba(232, 181, 68, 0.12), transparent 42%),
      linear-gradient(180deg, #0C1230 0%, #090E23 100%);
    border-right: 1px solid var(--c-line);
    border-bottom: 0;
  }

  .site-header .site-brand__sub,
  .site-header .site-brand__badge { display: block; }

  .nav-toggle { display: none; }

  .site-nav {
    position: static;
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    margin-top: 28px;
    padding: 0;
    background: none;
    border: 0;
    box-shadow: none;
    transform: none;
    visibility: visible;
    overflow-y: auto;
    transition: none;
  }

  .site-header__foot { display: block; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--c-line); }
  .nav-overlay { display: none; }
}

html.nav-locked,
body.nav-locked { overflow: hidden; }

/* ---------- Footer ---------- */
.site-footer {
  margin-top: 56px;
  padding: clamp(36px, 5vw, 64px) 0 26px;
  background:
    radial-gradient(circle at 86% 100%, rgba(139, 92, 246, 0.16), transparent 46%),
    radial-gradient(circle at 8% 16%, rgba(232, 181, 68, 0.08), transparent 40%),
    linear-gradient(180deg, #070B1D 0%, #050818 100%);
  border-top: 1px solid var(--c-line);
  color: var(--c-text-dim);
}

.site-footer__container {
  width: min(100% - 32px, 1260px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

.site-footer__brand { display: grid; gap: 14px; align-content: start; }
.site-footer__statement { max-width: 32ch; margin: 0; font-size: 0.9rem; color: var(--c-text-dim); }
.site-footer__links,
.site-footer__meta,
.site-footer__legal { display: grid; gap: 10px; align-content: start; }
.site-footer__heading {
  margin: 0 0 4px;
  font-family: var(--font-data);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-gold);
}
.site-footer__list { list-style: none; display: grid; gap: 8px; }
.site-footer__list li { font-size: 0.9rem; color: var(--c-text-dim); line-height: 1.6; }
.site-footer__list a { color: var(--c-text-dim); font-size: 0.9rem; transition: color 0.2s, padding-left 0.2s; }
.site-footer__list a:hover { color: var(--c-gold-bright); padding-left: 4px; }

.site-footer__bottom {
  grid-column: 1 / -1;
  margin-top: 10px;
  padding-top: 18px;
  border-top: 1px solid var(--c-line);
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-data);
  font-size: 0.8125rem;
  color: var(--c-text-faint);
}
.site-footer__bottom p { margin: 0; }

@media (min-width: 640px) {
  .site-footer__container { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .site-footer__container { grid-template-columns: 1.25fr 1fr 1fr 1fr; gap: 36px; }
}

/* ---------- 布局基元 ---------- */
.container { width: min(100% - 32px, 1260px); margin-inline: auto; }

.section { padding: clamp(40px, 7vw, 84px) 0; }
.section--tight { padding: clamp(24px, 4vw, 48px) 0; }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 24px;
  margin-bottom: 24px;
}
.section-kicker {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-data);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-gold);
}
.section-title { margin: 0; }
.section-desc { max-width: 62ch; color: var(--c-text-dim); font-size: 0.95rem; margin: 0; }

/* ---------- 网格 ---------- */
.grid { display: grid; gap: 18px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 980px) {
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .grid--2,
  .grid--3,
  .grid--4 { grid-template-columns: 1fr; }
}

/* ---------- 面板 ---------- */
.panel {
  position: relative;
  padding: clamp(20px, 3vw, 32px);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(26, 36, 71, 0.9), rgba(18, 26, 56, 0.96));
  border: 1px solid var(--c-line);
  box-shadow: var(--shadow-elev);
}
.panel--pad-lg { padding: clamp(26px, 4vw, 44px); }
.panel--cut {
  border-radius: var(--radius-lg) var(--radius-lg) var(--radius-lg) 8px;
  overflow: hidden;
}
.panel--cut::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, transparent 50%, rgba(232, 181, 68, 0.9) 50%);
  border-radius: 0 0 0 14px;
  pointer-events: none;
}
.panel--glow { box-shadow: var(--shadow-elev), 0 0 40px rgba(139, 92, 246, 0.18); }
.panel--ink { background: linear-gradient(160deg, #0D1432, #090E23); box-shadow: none; }
.panel__title { font-size: 1.15rem; margin-bottom: 8px; }
.panel__body { color: var(--c-text-dim); }
.panel__body > :last-child { margin-bottom: 0; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.2;
  text-align: center;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s, transform 0.12s, box-shadow 0.2s;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: rotate(-1.2deg); }
.btn--primary {
  background: linear-gradient(135deg, var(--c-gold-bright), var(--c-gold));
  color: #0B1026;
  border-color: rgba(255, 217, 122, 0.65);
}
.btn--primary:hover { color: #0B1026; box-shadow: 0 10px 28px rgba(232, 181, 68, 0.35); transform: translateY(-2px); }
.btn--primary:active { transform: translateY(0) rotate(-1.2deg); }
.btn--violet {
  background: linear-gradient(135deg, var(--c-violet-bright), var(--c-violet-deep));
  color: #fff;
  border-color: rgba(167, 139, 250, 0.5);
}
.btn--violet:hover { color: #fff; box-shadow: 0 10px 28px rgba(139, 92, 246, 0.35); transform: translateY(-2px); }
.btn--violet:active { transform: translateY(0) rotate(-1.2deg); }
.btn--ghost { background: transparent; color: var(--c-text); border-color: var(--c-line-strong); }
.btn--ghost:hover { color: var(--c-gold-bright); border-color: var(--c-gold); }
.btn--block { display: flex; width: 100%; }

/* ---------- 数据卡 ---------- */
.stat-card {
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: rgba(10, 15, 36, 0.72);
  border: 1px solid var(--c-line);
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.stat-card:hover {
  border-color: rgba(232, 181, 68, 0.45);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(2, 6, 20, 0.4);
}
.stat-num {
  display: block;
  font-family: var(--font-data);
  font-weight: 600;
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  line-height: 1.2;
  color: var(--c-gold-bright);
}
.stat-label { display: block; margin-top: 6px; font-size: 0.875rem; color: var(--c-text-dim); }

/* ---------- 标签 ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-family: var(--font-data);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(139, 92, 246, 0.14);
  border: 1px solid rgba(139, 92, 246, 0.36);
  color: var(--c-violet-bright);
}
.tag--gold {
  background: rgba(232, 181, 68, 0.12);
  border-color: rgba(232, 181, 68, 0.4);
  color: var(--c-gold-bright);
}
.tag--ghost { background: transparent; border-color: var(--c-line); color: var(--c-text-dim); }

/* ---------- 时间线 ---------- */
.timeline {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 13px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(180deg, rgba(232, 181, 68, 0.7), rgba(139, 92, 246, 0.7));
}
.timeline__item {
  position: relative;
  padding: 0 0 24px 32px;
}
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--c-bg);
  border: 2px solid var(--c-gold);
  box-shadow: 0 0 0 4px rgba(232, 181, 68, 0.15);
}

/* ---------- 图片占位容器 ---------- */
.figure {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  border: 1px solid var(--c-line);
  overflow: hidden;
  background:
    radial-gradient(circle at 24% 24%, rgba(139, 92, 246, 0.3), transparent 46%),
    radial-gradient(circle at 80% 72%, rgba(232, 181, 68, 0.18), transparent 42%),
    repeating-linear-gradient(115deg, rgba(79, 216, 224, 0.05) 0 1px, transparent 1px 16px),
    linear-gradient(150deg, #0B1230, #101A3F);
}
.figure::before {
  content: "";
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 1px dashed rgba(232, 181, 68, 0.55);
  box-shadow: inset 0 0 24px rgba(139, 92, 246, 0.24), 0 0 18px rgba(79, 216, 224, 0.12);
  opacity: 0.8;
}
.figure > img {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.figure::after {
  content: attr(data-label);
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 28px 14px 10px;
  background: linear-gradient(transparent, rgba(3, 6, 18, 0.8));
  font-family: var(--font-data);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--c-text);
}
.figure[data-label]:not([data-label=""])::after { display: block; }
.figure--wide { aspect-ratio: 21 / 9; }
.figure--portrait { aspect-ratio: 3 / 4; }
.figure--square { aspect-ratio: 1 / 1; }
.figure--orbit { aspect-ratio: 1 / 1; border-radius: 50%; }
.figure--orbit::before { width: 46px; height: 46px; }

/* ---------- 面包屑 ---------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  font-family: var(--font-data);
  font-size: 0.8125rem;
  color: var(--c-text-faint);
}
.breadcrumb a { color: var(--c-text-dim); }
.breadcrumb a:hover { color: var(--c-gold-bright); }
.breadcrumb__item + .breadcrumb__item::before { content: "⁄"; margin-right: 6px; color: var(--c-text-faint); }
.breadcrumb__item[aria-current="page"] { color: var(--c-gold-bright); }

/* ---------- 提示条 ---------- */
.notice-box {
  padding: 14px 18px;
  border-radius: var(--radius-md);
  background: rgba(79, 216, 224, 0.06);
  border: 1px solid rgba(79, 216, 224, 0.26);
  color: var(--c-text-dim);
  font-size: 0.875rem;
  line-height: 1.7;
}
.notice-box--gold {
  background: rgba(232, 181, 68, 0.07);
  border-color: rgba(232, 181, 68, 0.32);
}
.notice-box > :last-child { margin-bottom: 0; }

/* ---------- 折叠面板 ---------- */
.fold {
  border: 1px solid var(--c-line);
  border-radius: var(--radius-md);
  background: linear-gradient(160deg, rgba(26, 36, 71, 0.75), rgba(18, 26, 56, 0.92));
  transition: border-color 0.2s;
}
.fold[open] { border-color: rgba(232, 181, 68, 0.35); }
.fold summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 15px 18px;
  list-style: none;
  cursor: pointer;
  font-weight: 700;
  color: var(--c-text);
  transition: color 0.2s;
}
.fold summary::-webkit-details-marker { display: none; }
.fold summary:hover { color: var(--c-gold-bright); }
.fold summary::after {
  content: "+";
  flex: none;
  font-family: var(--font-data);
  font-size: 1.05rem;
  color: var(--c-gold-bright);
  transition: transform 0.2s;
}
.fold[open] summary::after { content: "−"; }
.fold__body {
  padding: 2px 18px 16px;
  color: var(--c-text-dim);
  font-size: 0.9rem;
}
.fold__body > :last-child { margin-bottom: 0; }

/* ---------- 数据表 ---------- */
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-data);
  font-size: 0.8125rem;
}
.data-table th,
.data-table td {
  padding: 11px 12px;
  border-bottom: 1px solid var(--c-line);
  text-align: left;
  white-space: nowrap;
}
.data-table th {
  color: var(--c-text-faint);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.data-table td { color: var(--c-text-dim); }
.data-table tr:hover td { color: var(--c-text); }
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table td:first-child { color: var(--c-text); font-weight: 600; }

/* ---------- 链接列表 ---------- */
.link-list { list-style: none; display: grid; gap: 10px; }
.link-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 16px;
  border-radius: 14px;
  border: 1px solid var(--c-line);
  background: rgba(12, 18, 48, 0.55);
  color: var(--c-text);
  font-weight: 600;
  font-size: 0.95rem;
  transition: border-color 0.2s, background-color 0.2s, transform 0.12s;
}
.link-list a:hover {
  color: var(--c-text);
  border-color: rgba(232, 181, 68, 0.5);
  background: rgba(139, 92, 246, 0.1);
}
.link-list a:active { transform: rotate(-0.6deg); }
.link-list a::after {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  border-top: 2px solid var(--c-gold);
  border-right: 2px solid var(--c-gold);
  transform: rotate(45deg);
  transition: transform 0.2s;
}
.link-list a:hover::after { transform: rotate(90deg); }

/* ---------- 装饰图形 ---------- */
.data-line {
  height: 2px;
  border: 0;
  border-radius: 2px;
  margin: 4px 0 18px;
  background: linear-gradient(90deg, transparent, var(--c-gold) 18%, var(--c-violet) 62%, var(--c-cyan) 88%, transparent);
  opacity: 0.7;
}
.orbit {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.2), transparent 62%);
}
.orbit::before,
.orbit::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}
.orbit::before {
  inset: 14%;
  border: 1px solid rgba(232, 181, 68, 0.55);
  border-top-color: transparent;
  transform: rotate(28deg);
}
.orbit::after {
  inset: 27%;
  border: 1px dashed rgba(79, 216, 224, 0.5);
}
.divider {
  height: 1px;
  border: 0;
  margin: 26px 0;
  background: linear-gradient(90deg, rgba(232, 181, 68, 0.5), rgba(139, 92, 246, 0.5), transparent);
  opacity: 0.35;
}

/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
@media (prefers-reduced-motion: reduce) and (max-width: 1023px) {
  .site-nav { transition: none; }
}
