/* ==========================================================================
   亚洲城游戏 — 共享站点样式 /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, p, ul, ol, li, figure, figcaption,
blockquote, dl, dd, table, th, td {
  margin: 0;
  padding: 0;
}

ul, ol { list-style: none; }

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

button { font: inherit; color: inherit; }

a { color: inherit; }

table { border-collapse: collapse; width: 100%; }

/* ---------- 2. 视觉变量 ---------- */
:root {
  --ink: #06111F;
  --ink-deep: #040C16;
  --panel: #0B1B2F;
  --panel-up: #0E2338;
  --cyan: #35E0CE;
  --violet: #8B5CF6;
  --amber: #F2B84B;
  --fog: #EAF3FF;
  --slate: #8EA3B8;
  --line: #1E5E66;
  --coral: #FF7A7A;
  --paper: #D9C9A3;

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

  --shell-w: 1200px;
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;

  --shadow-panel: 0 30px 60px -40px #000;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- 3. 基础排版与底色 ---------- */
body {
  min-height: 100vh;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: .01em;
  color: var(--fog);
  background-color: var(--ink);
  background-image:
    repeating-linear-gradient(90deg, rgba(30, 94, 102, .14) 0 1px, transparent 1px 128px),
    radial-gradient(70rem 40rem at 88% -12%, rgba(139, 92, 246, .20), transparent 68%),
    radial-gradient(50rem 34rem at 0% 6%, rgba(53, 224, 206, .10), transparent 70%),
    linear-gradient(180deg, #071322 0%, #06111F 45%, #040C16 100%);
  background-attachment: fixed;
  background-repeat: repeat, no-repeat, no-repeat, no-repeat;
}

h1, h2, h3, h4, h5 {
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -.01em;
  color: var(--fog);
}

h1 { font-size: clamp(2rem, 4.2vw, 3.2rem); }
h2 { font-size: clamp(1.55rem, 2.6vw, 2.3rem); }
h3 { font-size: clamp(1.05rem, 1.4vw, 1.2rem); }
h4 { font-size: 1rem; }

p { max-width: 40em; }

::selection { background: rgba(53, 224, 206, .3); color: #fff; }

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

/* ---------- 4. 通用工具 ---------- */
.shell {
  width: min(var(--shell-w), calc(100% - clamp(1.5rem, 6vw, 4rem)));
  margin-inline: auto;
}

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

.display {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 5.2rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.02em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--font-mono);
  font-size: .6875rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--cyan);
}

.eyebrow::before {
  content: "";
  width: 1.6rem;
  height: 1px;
  background: linear-gradient(90deg, var(--cyan), transparent);
}

.lede {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  line-height: 1.8;
  color: #C6D6E8;
  max-width: 40ch;
}

.muted { color: var(--slate); }

.grid-2,
.grid-3 {
  display: grid;
  gap: clamp(.85rem, 1.8vw, 1.25rem);
  grid-template-columns: minmax(0, 1fr);
}

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

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

/* ---------- 5. 跳转链接 ---------- */
.skip-link {
  position: fixed;
  top: .6rem;
  left: .6rem;
  z-index: 200;
  padding: .6rem 1rem;
  border: 1px solid var(--cyan);
  border-radius: var(--radius-xs);
  background: var(--panel);
  color: var(--fog);
  font-size: .875rem;
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-200%);
  transition: transform .25s var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
  outline: 2px solid var(--amber);
  outline-offset: 2px;
}

/* ---------- 6. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .7rem 1.15rem;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--amber), #F7D089);
  color: #0A1524;
  font-size: .9375rem;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease),
              background-color .25s var(--ease), color .25s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -18px rgba(242, 184, 75, .95);
}

.btn:active { transform: translateY(0); }

.btn--ghost {
  background: transparent;
  border-color: rgba(53, 224, 206, .5);
  color: var(--cyan);
}

.btn--ghost:hover {
  background: rgba(53, 224, 206, .12);
  color: var(--fog);
  box-shadow: none;
}

.btn--violet {
  background: transparent;
  border-color: rgba(139, 92, 246, .65);
  color: #C9B6FF;
}

.btn--violet:hover {
  background: rgba(139, 92, 246, .16);
  color: var(--fog);
  box-shadow: none;
}

.btn--sm {
  padding: .38rem .8rem;
  font-size: .8125rem;
}

/* ---------- 7. 头部 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(180deg, rgba(6, 17, 31, .97), rgba(6, 17, 31, .88));
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(30, 94, 102, .7);
  transition: box-shadow .3s var(--ease), border-color .3s var(--ease);
}

.site-header[data-stuck="true"] {
  border-bottom-color: rgba(53, 224, 206, .5);
  box-shadow: 0 24px 48px -36px #000;
}

/* 上层：品牌说明条 */
.header-strip {
  max-height: 8rem;
  overflow: hidden;
  border-bottom: 1px solid rgba(30, 94, 102, .5);
  background:
    linear-gradient(90deg, rgba(139, 92, 246, .18), rgba(53, 224, 206, .08) 58%, transparent);
}

.header-strip__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-block: .5rem;
  font-size: .8125rem;
}

.brand-line {
  display: flex;
  align-items: center;
  gap: .55rem;
  margin: 0;
  max-width: none;
  color: var(--fog);
  font-size: .8125rem;
  letter-spacing: .04em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-line__mark {
  display: inline-grid;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  flex: 0 0 auto;
  border: 1px solid rgba(217, 201, 163, .55);
  border-radius: 3px;
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: .5625rem;
  letter-spacing: .06em;
}

.strip-note {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin: 0 0 0 auto;
  max-width: none;
  color: var(--slate);
  font-family: var(--font-mono);
  font-size: .6875rem;
  letter-spacing: .16em;
  white-space: nowrap;
}

.strip-note__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 3px rgba(53, 224, 206, .18);
}

.header-strip__cta { flex: 0 0 auto; }

/* 下层：栏目轨 */
.header-rail__inner {
  display: flex;
  align-items: center;
  gap: clamp(.75rem, 2.5vw, 2rem);
  padding-block: .7rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  flex: 0 0 auto;
  text-decoration: none;
  color: var(--fog);
}

.brand__sigil {
  position: relative;
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid rgba(53, 224, 206, .55);
  border-radius: var(--radius-sm);
  background: linear-gradient(160deg, rgba(53, 224, 206, .16), rgba(139, 92, 246, .16));
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: .75rem;
  letter-spacing: .06em;
}

.brand__sigil::after {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px dashed rgba(217, 201, 163, .38);
  border-radius: 3px;
  pointer-events: none;
}

.brand__text { display: block; }

.brand__name {
  display: block;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: .03em;
  line-height: 1.2;
}

.brand__meta {
  display: block;
  font-family: var(--font-mono);
  font-size: .625rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--slate);
  line-height: 1.4;
}

/* 导航 */
.site-nav {
  display: block;
  margin-left: auto;
}

.nav-list {
  display: flex;
  align-items: stretch;
  gap: .25rem;
}

.nav-list__item { display: flex; }

.nav-link {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: .1rem;
  padding: .4rem .6rem .45rem;
  border: 1px solid transparent;
  border-radius: var(--radius-xs);
  color: var(--slate);
  font-size: .9rem;
  font-weight: 600;
  line-height: 1.25;
  text-decoration: none;
  transition: color .2s var(--ease), background-color .2s var(--ease),
              border-color .2s var(--ease);
}

.nav-link__index {
  font-family: var(--font-mono);
  font-size: .5625rem;
  letter-spacing: .18em;
  color: rgba(142, 163, 184, .75);
  transition: color .2s var(--ease);
}

.nav-link__label { display: block; }

.nav-link:hover {
  color: var(--fog);
  background: rgba(11, 27, 47, .9);
  border-color: rgba(30, 94, 102, .9);
}

.nav-link:hover .nav-link__index { color: var(--cyan); }

.nav-link[aria-current="page"] {
  color: var(--fog);
  background: linear-gradient(180deg, rgba(53, 224, 206, .16), rgba(53, 224, 206, .03));
  border-color: rgba(53, 224, 206, .45);
}

.nav-link[aria-current="page"] .nav-link__index { color: var(--amber); }

.nav-link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: .6rem;
  right: .6rem;
  bottom: .1rem;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--violet));
}

/* 移动导航按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: .55rem;
  margin-left: auto;
  padding: .5rem .7rem;
  border: 1px solid rgba(53, 224, 206, .45);
  border-radius: var(--radius-xs);
  background: rgba(11, 27, 47, .9);
  color: var(--fog);
  font-family: var(--font-mono);
  font-size: .6875rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}

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

.nav-toggle__bars {
  display: grid;
  gap: 3px;
  width: 16px;
}

.nav-toggle__bars span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}

.site-header[data-open="true"] .nav-toggle {
  border-color: var(--amber);
  color: var(--amber);
}

.site-header[data-open="true"] .nav-toggle__bars span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.site-header[data-open="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.site-header[data-open="true"] .nav-toggle__bars span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* 顶部阅读进度 */
.read-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: rgba(30, 94, 102, .45);
  pointer-events: none;
}

.read-progress__bar {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--cyan), var(--violet) 55%, var(--amber));
  transition: width .12s linear;
}

/* 平板与手机头部 */
@media (max-width: 1023px) {
  .nav-toggle { display: inline-flex; }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin: 0;
    padding: .75rem clamp(1rem, 4vw, 2rem) 1.25rem;
    background: linear-gradient(180deg, rgba(8, 20, 36, .99), rgba(4, 12, 22, .99));
    border-bottom: 1px solid rgba(53, 224, 206, .35);
    box-shadow: 0 28px 50px -28px #000;
    max-height: calc(100vh - 5rem);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  }

  .site-header[data-open="true"] .site-nav,
  .site-nav[data-open="true"] {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav-list {
    flex-direction: column;
    gap: .35rem;
  }

  .nav-link {
    flex-direction: row;
    align-items: center;
    gap: .75rem;
    padding: .7rem .85rem;
    border-color: rgba(30, 94, 102, .55);
    background: rgba(11, 27, 47, .7);
    color: var(--fog);
    font-size: .95rem;
  }

  .nav-link__index { font-size: .6875rem; color: var(--cyan); }

  .nav-link[aria-current="page"]::after { display: none; }
}

@media (max-width: 719px) {
  .header-strip { display: none; }
  .header-rail__inner { padding-block: .6rem; }
  .brand__meta { letter-spacing: .12em; }
}

@media (min-width: 720px) and (max-width: 1023px) {
  .strip-note { display: none; }
  .header-strip__cta { margin-left: auto; }
}

/* ---------- 8. 面包屑 ---------- */
.breadcrumb { margin-bottom: 1.25rem; }

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .45rem;
  font-family: var(--font-mono);
  font-size: .75rem;
  letter-spacing: .08em;
  color: var(--slate);
}

.breadcrumb li {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
}

.breadcrumb li:not(:first-child)::before {
  content: "/";
  color: rgba(30, 94, 102, .95);
}

.breadcrumb a {
  text-decoration: none;
  transition: color .2s var(--ease);
}

.breadcrumb a:hover { color: var(--cyan); }

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

/* ---------- 9. 章节头 ---------- */
.section-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: .35rem 1rem;
  align-items: start;
  margin-bottom: clamp(1.25rem, 3vw, 2rem);
}

.section-index {
  grid-row: span 2;
  font-family: var(--font-mono);
  font-size: clamp(1.5rem, 3.4vw, 2.4rem);
  font-weight: 700;
  line-height: .9;
  letter-spacing: -.02em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(53, 224, 206, .6);
}

@supports not ((-webkit-text-stroke: 1px #000)) {
  .section-index { color: var(--cyan); opacity: .75; }
}

.section-kicker {
  font-family: var(--font-mono);
  font-size: .6875rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--slate);
}

/* ---------- 10. Bento 面板 ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(.85rem, 1.8vw, 1.25rem);
}

.panel {
  position: relative;
  grid-column: span 12;
  padding: clamp(1.1rem, 2.2vw, 1.6rem);
  border: 1px solid rgba(30, 94, 102, .7);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(11, 27, 47, .95), rgba(6, 17, 31, .94));
  box-shadow: var(--shadow-panel);
  overflow: hidden;
}

.panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(24rem 12rem at 100% 0%, rgba(139, 92, 246, .16), transparent 70%);
  pointer-events: none;
}

.panel > * { position: relative; }

.panel--accent {
  border-color: rgba(53, 224, 206, .55);
  background: linear-gradient(160deg, rgba(14, 35, 56, .96), rgba(6, 17, 31, .95));
}

.panel--accent::before {
  background:
    radial-gradient(26rem 14rem at 0% 100%, rgba(53, 224, 206, .16), transparent 72%),
    radial-gradient(20rem 10rem at 100% 0%, rgba(139, 92, 246, .18), transparent 70%);
}

.panel--quiet {
  border-style: dashed;
  border-color: rgba(30, 94, 102, .85);
  background: rgba(11, 27, 47, .55);
  box-shadow: none;
}

.panel__title {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: .02em;
  margin-bottom: .45rem;
}

.panel__note {
  font-size: .9375rem;
  color: var(--slate);
  margin: 0;
}

@media (min-width: 720px) {
  .panel--half { grid-column: span 6; }
  .panel--third { grid-column: span 6; }
}

@media (min-width: 1024px) {
  .panel--half { grid-column: span 6; }
  .panel--third { grid-column: span 4; }
  .panel--two-thirds { grid-column: span 8; }
}

/* ---------- 11. 读数、标签、筛选 ---------- */
.stat {
  display: flex;
  flex-direction: column;
  gap: .15rem;
}

.stat__value {
  font-family: var(--font-mono);
  font-size: clamp(1.5rem, 3vw, 2.15rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--amber);
  font-variant-numeric: tabular-nums;
}

.stat__label {
  font-family: var(--font-mono);
  font-size: .6875rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--slate);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .2rem .55rem;
  border: 1px solid rgba(53, 224, 206, .4);
  border-radius: 999px;
  background: rgba(53, 224, 206, .08);
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: .6875rem;
  letter-spacing: .1em;
}

.paper-tag {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .22rem .55rem;
  border: 1px solid rgba(217, 201, 163, .5);
  border-radius: var(--radius-xs);
  background: rgba(217, 201, 163, .12);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: .6875rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  transform: rotate(-1.2deg);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .4rem .8rem;
  border: 1px solid rgba(30, 94, 102, .85);
  border-radius: var(--radius-xs);
  background: rgba(11, 27, 47, .85);
  color: var(--slate);
  font-size: .8125rem;
  line-height: 1.4;
  cursor: pointer;
  transition: color .2s var(--ease), border-color .2s var(--ease),
              background-color .2s var(--ease);
}

.chip:hover { color: var(--fog); border-color: rgba(53, 224, 206, .6); }

.chip[aria-pressed="true"] {
  background: var(--cyan);
  border-color: var(--cyan);
  color: #07202A;
  font-weight: 700;
}

/* ---------- 12. 图像容器基础规则 ---------- */
.figure { display: block; margin: 0; }

.media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(30, 94, 102, .7);
  border-radius: var(--radius);
  overflow: hidden;
  background:
    repeating-linear-gradient(135deg, rgba(30, 94, 102, .22) 0 1px, transparent 1px 12px),
    linear-gradient(160deg, rgba(11, 27, 47, .92), rgba(6, 17, 31, .96));
}

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

.media--4x3 { aspect-ratio: 4 / 3; }
.media--1x1 { aspect-ratio: 1 / 1; }
.media--wide { aspect-ratio: 21 / 9; }

.media--glow::after {
  content: "";
  position: absolute;
  inset: auto -20% -60% -20%;
  height: 80%;
  background: radial-gradient(closest-side, rgba(53, 224, 206, .22), transparent);
  pointer-events: none;
}

.media-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(142, 163, 184, .8);
  font-family: var(--font-mono);
  font-size: .6875rem;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.media__caption {
  margin-top: .6rem;
  font-family: var(--font-mono);
  font-size: .75rem;
  letter-spacing: .06em;
  color: var(--slate);
}

/* ---------- 13. 正文块、提示 ---------- */
.prose { max-width: 42rem; }

.prose > * + * { margin-top: 1rem; }

.prose h2 { margin-top: 2rem; font-size: clamp(1.4rem, 2.2vw, 1.85rem); }
.prose h3 { margin-top: 1.5rem; }

.prose p { color: #D2E0EF; }

.prose ul,
.prose ol {
  padding-left: 1.15rem;
  color: #D2E0EF;
}

.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: .35rem; }

.prose a {
  color: var(--cyan);
  text-decoration: underline;
  text-decoration-color: rgba(53, 224, 206, .45);
  text-underline-offset: 3px;
}

.prose a:hover { color: var(--amber); }

.prose blockquote {
  padding: .85rem 1.1rem;
  border-left: 2px solid var(--cyan);
  background: rgba(11, 27, 47, .7);
  color: var(--slate);
  border-radius: 0 var(--radius-xs) var(--radius-xs) 0;
}

.prose table { font-size: .9375rem; }

.prose th,
.prose td {
  padding: .6rem .75rem;
  border-bottom: 1px solid rgba(30, 94, 102, .6);
  text-align: left;
}

.prose th {
  font-family: var(--font-mono);
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--paper);
}

.callout,
.notice {
  padding: .9rem 1.1rem;
  border: 1px solid rgba(53, 224, 206, .4);
  border-left: 3px solid var(--cyan);
  border-radius: var(--radius-xs);
  background: rgba(53, 224, 206, .07);
  color: #D2E0EF;
  font-size: .9375rem;
}

.notice {
  border-color: rgba(255, 122, 122, .45);
  border-left-color: var(--coral);
  background: rgba(255, 122, 122, .08);
}

/* ---------- 14. 显现动效 ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}

[data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* ---------- 15. 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(3rem, 8vw, 6rem);
  border-top: 1px solid rgba(30, 94, 102, .55);
  background: linear-gradient(180deg, rgba(11, 27, 47, .8), rgba(4, 12, 22, .99) 60%);
}

.footer-beam {
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--cyan) 18%, var(--violet) 52%, var(--amber) 82%, transparent);
}

.footer-grid {
  display: grid;
  gap: clamp(1.75rem, 4vw, 2.75rem);
  grid-template-columns: minmax(0, 1fr);
  padding-block: clamp(2rem, 5vw, 3.5rem);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

.footer-summary {
  color: var(--slate);
  font-size: .9375rem;
  line-height: 1.75;
  max-width: 32ch;
}

.footer-stamp {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .28rem .65rem;
  border: 1px solid rgba(217, 201, 163, .5);
  border-radius: var(--radius-xs);
  background: rgba(217, 201, 163, .1);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: .6875rem;
  letter-spacing: .14em;
  transform: rotate(-1.4deg);
}

.footer-title {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: 1rem;
  font-family: var(--font-mono);
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--paper);
}

.footer-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(30, 94, 102, .9), transparent);
}

.footer-list {
  display: grid;
  gap: .5rem;
  font-size: .9375rem;
}

.footer-list a {
  display: inline-block;
  color: var(--slate);
  text-decoration: none;
  transition: color .2s var(--ease), transform .2s var(--ease);
}

.footer-list a:hover {
  color: var(--cyan);
  transform: translateX(3px);
}

.footer-list--index { counter-reset: fl; }

.footer-list--index li {
  display: flex;
  align-items: baseline;
  gap: .6rem;
  counter-increment: fl;
}

.footer-list--index li::before {
  content: counter(fl, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: .6875rem;
  letter-spacing: .1em;
  color: rgba(53, 224, 206, .7);
}

.footer-list--plain { gap: 0; }

.footer-list--plain li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: .25rem .85rem;
  align-items: baseline;
  padding-block: .55rem;
  border-bottom: 1px dashed rgba(30, 94, 102, .55);
}

.footer-list--plain li:first-child { padding-top: 0; }

.footer-label {
  font-family: var(--font-mono);
  font-size: .6875rem;
  letter-spacing: .12em;
  color: var(--slate);
  white-space: nowrap;
}

.footer-value {
  color: var(--fog);
  font-size: .9375rem;
  overflow-wrap: anywhere;
}

.footer-value--mono {
  font-family: var(--font-mono);
  font-size: .875rem;
  letter-spacing: .02em;
}

.footer-index,
.footer-contact { min-width: 0; }

.footer-base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .85rem 1.25rem;
  padding-block: 1.1rem 1.6rem;
  border-top: 1px solid rgba(30, 94, 102, .5);
  font-family: var(--font-mono);
  font-size: .75rem;
  letter-spacing: .06em;
  color: var(--slate);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .35rem 1.25rem;
  margin: 0;
  max-width: none;
  color: var(--slate);
}

.to-top {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-left: auto;
  padding: .45rem .8rem;
  border: 1px solid rgba(53, 224, 206, .45);
  border-radius: var(--radius-xs);
  background: rgba(11, 27, 47, .85);
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: .6875rem;
  letter-spacing: .14em;
  cursor: pointer;
  transition: color .2s var(--ease), background-color .2s var(--ease),
              border-color .2s var(--ease);
}

.to-top:hover {
  color: var(--fog);
  border-color: var(--cyan);
  background: rgba(53, 224, 206, .14);
}

.to-top__arrow { font-size: .875rem; line-height: 1; }

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

@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: 1.35fr .9fr 1.05fr; }
  .footer-brand { grid-column: auto; }
}

/* ---------- 16. 动效降级 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    transition-delay: 0ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .btn:hover {
    transform: none;
    box-shadow: none;
  }
}
