/* =========================================================
   金游世界 · 共享样式 /assets/site.css
   深空蓝底 + 霓虹青/电光紫/暖橙强调 · Bento 控制台
   ========================================================= */

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

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

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

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

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

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

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

main { display: block; }

:focus-visible {
  outline: 2px solid #35F2E1;
  outline-offset: 3px;
}

/* ---------- 2. 设计变量 ---------- */
:root {
  --c-bg: #070B1F;
  --c-bg-2: #101A3D;
  --c-bg-3: #16224D;

  --c-cyan: #35F2E1;
  --c-violet: #7B5BFF;
  --c-orange: #FF8A3D;
  --c-glass: #E8F1FF;
  --c-mist: #9FB0D0;
  --c-green: #4ADE80;
  --c-amber: #FFC24B;

  --c-edge: rgba(232, 241, 255, 0.14);
  --c-edge-2: rgba(232, 241, 255, 0.30);
  --c-tint: rgba(232, 241, 255, 0.05);

  --font-sans: "Noto Sans SC", "Source Han Sans SC", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system,
    "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace,
    SFMono-Regular, Menlo, Consolas, monospace;

  --rail-w: 232px;
  --shell: 1240px;
  --gap: clamp(14px, 1.6vw, 22px);
  --radius: 20px;
  --radius-sm: 14px;
  --radius-pill: 999px;

  --shadow-1: 0 24px 60px rgba(3, 6, 20, 0.55);
  --glow-cyan: 0 0 0 1px rgba(53, 242, 225, 0.32), 0 18px 46px rgba(53, 242, 225, 0.15);
  --glow-violet: 0 0 0 1px rgba(123, 91, 255, 0.32), 0 18px 46px rgba(123, 91, 255, 0.20);

  --ease: cubic-bezier(0.22, 0.8, 0.3, 1);
}

/* ---------- 3. 页面底色与中文排版 ---------- */
body {
  min-height: 100vh;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.75;
  color: var(--c-glass);
  background-color: var(--c-bg);
  background-image:
    radial-gradient(60% 45% at 78% 6%, rgba(53, 242, 225, 0.13), transparent 70%),
    radial-gradient(55% 42% at 8% 68%, rgba(123, 91, 255, 0.22), transparent 72%),
    radial-gradient(50% 40% at 92% 98%, rgba(255, 138, 61, 0.13), transparent 74%),
    linear-gradient(180deg, #070B1F 0%, #0B1230 44%, #070B1F 100%);
  background-repeat: no-repeat;
  background-attachment: fixed;
  animation: aurora 34s ease-in-out infinite alternate;
  overflow-x: hidden;
}

@keyframes aurora {
  0%   { background-position: 0 0, 0 0, 0 0; }
  100% { background-position: 3% 2%, -3% -2%, 2% -3%; }
}

@media (min-width: 1024px) {
  body { padding-left: var(--rail-w); }
}

h1, h2, h3, h4 {
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

p { overflow-wrap: break-word; }

::selection {
  background: rgba(53, 242, 225, 0.28);
  color: #ffffff;
}

/* ---------- 4. 通用排版工具 ---------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: clamp(16px, 3vw, 32px);
}

.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

.lede {
  font-size: clamp(17px, 1.5vw, 19px);
  line-height: 1.8;
  color: var(--c-mist);
  max-width: 62ch;
}

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

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--c-cyan), var(--c-violet));
}

.prose {
  max-width: 72ch;
  font-size: 17px;
  line-height: 1.75;
  color: #D6E3F8;
}

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

.prose h2 {
  margin: 1.6em 0 0.6em;
  font-size: clamp(22px, 2.6vw, 30px);
  color: var(--c-glass);
}

.prose h3 {
  margin: 1.4em 0 0.5em;
  font-size: clamp(18px, 2vw, 22px);
  color: var(--c-glass);
}

.prose ul,
.prose ol {
  margin: 0.9em 0;
  padding-left: 1.3em;
  list-style: disc;
}

.prose ol { list-style: decimal; }

.prose li { margin: 0.4em 0; }

.prose a {
  color: var(--c-cyan);
  border-bottom: 1px solid rgba(53, 242, 225, 0.4);
}

.prose strong { color: #ffffff; }

/* ---------- 5. 跳转链接 ---------- */
.skip-link {
  position: fixed;
  left: 12px;
  top: -80px;
  z-index: 200;
  padding: 11px 20px;
  border-radius: 12px;
  background: var(--c-cyan);
  color: #02161A;
  font-size: 14px;
  font-weight: 800;
  transition: top 0.2s var(--ease);
}

.skip-link:focus {
  top: 12px;
  outline-offset: 2px;
}

/* ---------- 6. 左侧导航轨道（桌面） ---------- */
.rail {
  position: fixed;
  inset-block: 0;
  left: 0;
  z-index: 60;
  width: var(--rail-w);
  display: none;
  flex-direction: column;
  gap: 22px;
  padding: 26px 16px 20px;
  overflow-y: auto;
  background:
    linear-gradient(180deg,
      rgba(16, 26, 61, 0.94) 0%,
      rgba(7, 11, 31, 0.92) 62%,
      rgba(11, 17, 44, 0.97) 100%);
  border-right: 1px solid var(--c-edge);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}

@media (min-width: 1024px) {
  .rail { display: flex; }
}

.rail__brand {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 6px 12px 18px;
  border-bottom: 1px solid var(--c-edge);
}

.rail__logo {
  font-size: 24px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: var(--c-glass);
  transition: color 0.2s var(--ease);
}

.rail__logo:hover { color: var(--c-cyan); }

.rail__tagline {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--c-cyan);
}

.rail__nav { flex: 1 1 auto; }

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

.rail__link {
  position: relative;
  display: block;
  padding: 11px 14px 11px 20px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  color: var(--c-mist);
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.rail__link::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 50%;
  width: 3px;
  height: 0;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--c-cyan), var(--c-violet));
  transform: translateY(-50%);
  transition: height 0.24s var(--ease);
}

.rail__link:hover {
  color: var(--c-glass);
  background: rgba(232, 241, 255, 0.06);
}

.rail__link:hover::before { height: 18px; }

.rail__link[aria-current="page"] {
  color: var(--c-glass);
  background: linear-gradient(90deg, rgba(53, 242, 225, 0.14), rgba(123, 91, 255, 0.10));
}

.rail__link[aria-current="page"]::before { height: 22px; }

.rail__foot {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 12px 0;
  border-top: 1px solid var(--c-edge);
}

.rail__lang {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 600;
  color: var(--c-glass);
}

.rail__lang::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--c-green);
  box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.14);
}

.rail__note {
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--c-mist);
}

/* ---------- 7. 顶部悬浮胶囊 ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 55;
  padding: 10px clamp(12px, 2.4vw, 26px);
  background: linear-gradient(180deg, rgba(7, 11, 31, 0.92), rgba(7, 11, 31, 0.60));
  border-bottom: 1px solid var(--c-edge);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  transition: padding 0.26s var(--ease);
}

.topbar[data-condensed] { padding-block: 4px; }

.topbar__inner {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 6px 10px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  transition: background-color 0.26s var(--ease), border-color 0.26s var(--ease),
    box-shadow 0.26s var(--ease);
}

.topbar[data-condensed] .topbar__inner {
  background: rgba(16, 26, 61, 0.74);
  border-color: var(--c-edge);
  box-shadow: var(--shadow-1);
}

.topbar__brand {
  display: none;
  align-items: baseline;
  gap: 9px;
  min-width: 0;
}

.topbar__name {
  font-size: 18px;
  font-weight: 900;
  color: var(--c-glass);
  white-space: nowrap;
}

.topbar__tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--c-cyan);
  white-space: nowrap;
}

@media (max-width: 1023px) {
  .topbar__brand { display: flex; }
}

@media (max-width: 520px) {
  .topbar__tag { display: none; }
}

.capsule {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 5px;
  border: 1px solid var(--c-edge);
  border-radius: var(--radius-pill);
  background: rgba(232, 241, 255, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  overflow-x: auto;
  scrollbar-width: none;
  margin-left: auto;
}

.capsule::-webkit-scrollbar { display: none; }

.capsule__link {
  display: inline-block;
  padding: 8px 15px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  color: var(--c-mist);
  white-space: nowrap;
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}

.capsule__link:hover {
  color: var(--c-glass);
  background: rgba(53, 242, 225, 0.12);
}

.capsule__link[aria-current="page"] {
  color: #02161A;
  background: var(--c-cyan);
  font-weight: 800;
}

.capsule__link--accent {
  background: linear-gradient(135deg, var(--c-orange), #FF6A1F);
  color: #1B0A02;
  font-weight: 800;
}

.capsule__link--accent:hover {
  color: #1B0A02;
  background: linear-gradient(135deg, #FFA15F, #FF7A2B);
  box-shadow: 0 10px 26px rgba(255, 138, 61, 0.30);
}

.progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: rgba(232, 241, 255, 0.07);
  overflow: hidden;
}

.progress__bar {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--c-cyan), var(--c-violet), var(--c-orange));
}

/* ---------- 8. 移动端栏目浮岛 ---------- */
.nav-toggle {
  position: fixed;
  right: 14px;
  bottom: 14px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 20px;
  border: 1px solid rgba(53, 242, 225, 0.42);
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, rgba(53, 242, 225, 0.16), rgba(123, 91, 255, 0.28));
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  box-shadow: 0 16px 40px rgba(3, 6, 20, 0.62);
  color: var(--c-glass);
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease);
}

.nav-toggle:hover {
  transform: translateY(-2px);
  border-color: var(--c-cyan);
}

.nav-toggle__bars {
  position: relative;
  width: 16px;
  height: 12px;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--c-cyan);
  transition: transform 0.22s var(--ease), top 0.22s var(--ease);
}

.nav-toggle__bars::before { top: 1px; }
.nav-toggle__bars::after { top: 9px; }

.nav-toggle[data-open] .nav-toggle__bars::before {
  top: 5px;
  transform: rotate(45deg);
}

.nav-toggle[data-open] .nav-toggle__bars::after {
  top: 5px;
  transform: rotate(-45deg);
}

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

.nav-drawer {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 76px;
  z-index: 85;
  padding: 16px;
  border: 1px solid var(--c-edge);
  border-radius: 24px;
  background: linear-gradient(160deg, rgba(16, 26, 61, 0.97), rgba(7, 11, 31, 0.97));
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  box-shadow: var(--shadow-1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(0.98);
  transition: opacity 0.24s var(--ease), transform 0.24s var(--ease),
    visibility 0.24s var(--ease);
}

.nav-drawer[data-open] {
  opacity: 1;
  visibility: visible;
  transform: none;
}

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

.nav-drawer__label {
  display: block;
  margin-bottom: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-cyan);
}

.nav-drawer__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.nav-drawer__link {
  display: block;
  padding: 12px 14px;
  border: 1px solid var(--c-edge);
  border-radius: 14px;
  background: rgba(232, 241, 255, 0.04);
  font-size: 14px;
  font-weight: 600;
  color: var(--c-glass);
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.nav-drawer__link:hover { border-color: rgba(53, 242, 225, 0.45); }

.nav-drawer__link[aria-current="page"] {
  border-color: rgba(53, 242, 225, 0.55);
  background: linear-gradient(135deg, rgba(53, 242, 225, 0.16), rgba(123, 91, 255, 0.20));
}

.nav-drawer__hint {
  margin-top: 12px;
  font-size: 12px;
  line-height: 1.7;
  color: var(--c-mist);
}

/* ---------- 9. 页脚 ---------- */
.foot {
  position: relative;
  margin-top: clamp(56px, 9vw, 120px);
  border-top: 1px solid var(--c-edge);
  background: linear-gradient(180deg, rgba(16, 26, 61, 0.62) 0%, rgba(7, 11, 31, 0.98) 78%);
}

.foot__grid {
  max-width: var(--shell);
  margin-inline: auto;
  padding: clamp(34px, 4.6vw, 60px) clamp(16px, 3vw, 32px) clamp(24px, 3vw, 40px);
  display: grid;
  gap: clamp(24px, 3vw, 44px);
  grid-template-columns: minmax(0, 1fr);
}

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

@media (min-width: 1060px) {
  .foot__grid { grid-template-columns: 1.5fr 1fr 1fr 1.35fr; }
}

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

.foot__logo {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0.02em;
  color: var(--c-glass);
  transition: color 0.2s var(--ease);
}

.foot__logo:hover { color: var(--c-cyan); }

.foot__slogan {
  max-width: 30ch;
  font-size: 14px;
  line-height: 1.75;
  color: var(--c-mist);
}

.foot__col { min-width: 0; }

.foot__title {
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-cyan);
}

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

.foot__link {
  font-size: 15px;
  color: var(--c-mist);
  transition: color 0.2s var(--ease), padding-left 0.2s var(--ease);
}

.foot__link:hover {
  color: var(--c-glass);
  padding-left: 4px;
}

.foot__list--contact { gap: 14px; }

.foot__item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.foot__key {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--c-mist);
}

.foot__val {
  font-size: 14px;
  line-height: 1.6;
  color: var(--c-glass);
  word-break: break-word;
}

.foot__note {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--c-edge);
  font-size: 13px;
  line-height: 1.75;
  color: var(--c-mist);
}

.foot__base {
  max-width: var(--shell);
  margin-inline: auto;
  padding: 18px clamp(16px, 3vw, 32px) 34px;
  border-top: 1px solid var(--c-edge);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 20px;
  font-size: 13px;
  color: var(--c-mist);
}

.foot__legal { margin: 0; }

.foot__closing {
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  color: var(--c-cyan);
}

/* ---------- 10. 章节与内容块 ---------- */
.section { padding-block: clamp(30px, 5vw, 64px); }

.section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: clamp(18px, 2.4vw, 28px);
}

.section__title {
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 900;
  line-height: 1.2;
}

.section__desc {
  max-width: 56ch;
  font-size: 15px;
  line-height: 1.75;
  color: var(--c-mist);
}

.panel {
  position: relative;
  padding: clamp(18px, 2.3vw, 28px);
  border: 1px solid var(--c-edge);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(16, 26, 61, 0.82), rgba(7, 11, 31, 0.72));
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  overflow: hidden;
}

.panel--solid {
  background: linear-gradient(160deg, var(--c-bg-2), #0A1231);
}

.panel--glow { box-shadow: var(--glow-cyan); }
.panel--violet { box-shadow: var(--glow-violet); }

.panel__title {
  font-size: clamp(19px, 2vw, 23px);
  font-weight: 800;
  line-height: 1.35;
}

.panel__text {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--c-mist);
}

.card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--c-edge);
  border-radius: var(--radius-sm);
  background: rgba(16, 26, 61, 0.60);
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}

.card:hover {
  border-color: rgba(53, 242, 225, 0.42);
  transform: translateY(-3px);
  box-shadow: 0 20px 44px rgba(3, 6, 20, 0.55);
}

.card__title {
  font-size: 17px;
  font-weight: 800;
  line-height: 1.4;
}

.card__text {
  font-size: 14px;
  line-height: 1.7;
  color: var(--c-mist);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.5;
}

.tag--cyan {
  color: var(--c-cyan);
  background: rgba(53, 242, 225, 0.10);
  border-color: rgba(53, 242, 225, 0.30);
}

.tag--violet {
  color: #BEAEFF;
  background: rgba(123, 91, 255, 0.14);
  border-color: rgba(123, 91, 255, 0.34);
}

.tag--orange {
  color: #FFB784;
  background: rgba(255, 138, 61, 0.12);
  border-color: rgba(255, 138, 61, 0.32);
}

.tag--muted {
  color: var(--c-mist);
  background: rgba(232, 241, 255, 0.05);
  border-color: var(--c-edge);
}

/* ---------- 11. 筛选与状态 ---------- */
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 15px;
  border: 1px solid var(--c-edge);
  border-radius: var(--radius-pill);
  background: rgba(232, 241, 255, 0.05);
  color: var(--c-mist);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease),
    border-color 0.2s var(--ease);
}

.chip:hover {
  color: var(--c-glass);
  border-color: rgba(53, 242, 225, 0.38);
}

.chip[aria-pressed="true"] {
  color: var(--c-glass);
  border-color: rgba(53, 242, 225, 0.55);
  background: linear-gradient(135deg, rgba(53, 242, 225, 0.20), rgba(123, 91, 255, 0.26));
}

.dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-mist);
  flex: 0 0 auto;
}

.dot--ok {
  background: var(--c-green);
  box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.15);
}

.dot--warn {
  background: var(--c-amber);
  box-shadow: 0 0 0 4px rgba(255, 194, 75, 0.15);
}

.is-hidden { display: none !important; }

/* ---------- 12. 按钮与面包屑 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.4;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease),
    background-color 0.2s var(--ease), border-color 0.2s var(--ease);
}

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

.btn--primary {
  background: linear-gradient(135deg, var(--c-orange), #FF6A1F);
  color: #1B0A02;
}

.btn--primary:hover { box-shadow: 0 16px 34px rgba(255, 138, 61, 0.32); }

.btn--cyan {
  background: linear-gradient(135deg, var(--c-cyan), #23C9D6);
  color: #02231F;
}

.btn--cyan:hover { box-shadow: 0 16px 34px rgba(53, 242, 225, 0.28); }

.btn--ghost {
  border-color: var(--c-edge-2);
  background: rgba(232, 241, 255, 0.04);
  color: var(--c-glass);
}

.btn--ghost:hover {
  border-color: rgba(53, 242, 225, 0.5);
  background: rgba(53, 242, 225, 0.10);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--c-mist);
}

.breadcrumbs li { display: inline-flex; align-items: center; gap: 8px; }

.breadcrumbs li + li::before {
  content: "/";
  color: rgba(232, 241, 255, 0.28);
}

.breadcrumbs a {
  color: var(--c-cyan);
  transition: color 0.2s var(--ease);
}

.breadcrumbs a:hover { color: var(--c-glass); }

/* ---------- 13. 网格 ---------- */
.grid {
  display: grid;
  gap: var(--gap);
}

.grid--cards {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.grid--bento {
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.grid--bento > * { grid-column: span 12; }

@media (min-width: 640px) {
  .grid--bento > * { grid-column: span 6; }
}

@media (min-width: 1024px) {
  .grid--bento > .g-3 { grid-column: span 3; }
  .grid--bento > .g-4 { grid-column: span 4; }
  .grid--bento > .g-5 { grid-column: span 5; }
  .grid--bento > .g-6 { grid-column: span 6; }
  .grid--bento > .g-7 { grid-column: span 7; }
  .grid--bento > .g-8 { grid-column: span 8; }
  .grid--bento > .g-9 { grid-column: span 9; }
  .grid--bento > .g-12 { grid-column: span 12; }
}

/* ---------- 14. 图片容器基础规则 ---------- */
.media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 1px solid var(--c-edge);
  border-radius: var(--radius-sm);
  background:
    radial-gradient(80% 60% at 20% 10%, rgba(53, 242, 225, 0.16), transparent 62%),
    radial-gradient(70% 60% at 88% 90%, rgba(123, 91, 255, 0.22), transparent 66%),
    linear-gradient(150deg, #101A3D 0%, #0A1130 58%, #131A49 100%);
  isolation: isolate;
}

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

.media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 44%, rgba(53, 242, 225, 0.10) 52%, transparent 60%);
}

.media--wide { aspect-ratio: 21 / 9; }
.media--tall { aspect-ratio: 4 / 5; }
.media--square { aspect-ratio: 1 / 1; }

.media__caption {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--c-mist);
}

/* ---------- 15. 显现动效 ---------- */
.reveal--armed {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  will-change: opacity, transform;
}

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

/* ---------- 16. 滚动条与降级 ---------- */
@media (min-width: 1024px) {
  ::-webkit-scrollbar { width: 10px; height: 10px; }

  ::-webkit-scrollbar-track { background: #070B1F; }

  ::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(53, 242, 225, 0.28);
    border: 2px solid #070B1F;
  }

  ::-webkit-scrollbar-thumb:hover { background: rgba(53, 242, 225, 0.48); }
}

@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;
  }

  body { animation: none; }

  .reveal--armed {
    opacity: 1 !important;
    transform: none !important;
  }

  .nav-toggle:hover,
  .btn:hover,
  .card:hover { transform: none; }
}
