/* ==========================================================================
   竞彩赛场 · 共享样式表 /assets/site.css
   夜场开赛前的看台通道视角：墨蓝底、深青数据带、草皮绿与灯光琥珀强调
   ========================================================================== */

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

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

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

ul, ol { list-style: none; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }

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

a { color: inherit; }

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

/* ---------- 2. Design tokens ---------- */
:root {
  /* 珠宝色分区 */
  --c-night: #0B1A2B;      /* 夜场墨蓝 */
  --c-stand: #0E2E2A;      /* 看台深青 */
  --c-turf: #17C26A;       /* 草皮高饱和绿 */
  --c-amber: #F5A524;      /* 灯光琥珀 */
  --c-score: #E4362F;      /* 比分牌红 */
  --c-mist: #6E8B93;       /* 雾山冷青 */
  --c-paper: #F4F1E9;      /* 纸面米白 */
  --c-board: #C9D2CE;      /* 电子记分灰 */
  --c-indigo: #2B2350;     /* 靛紫深 */
  --c-wine: #7A2233;       /* 酒红 */
  --c-neon: #7FF0B0;       /* 霓光浅绿 */
  --c-amber-pale: #FFE7B8; /* 琥珀浅光 */

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

  /* 尺寸与节奏 */
  --shell: 1240px;
  --gutter: clamp(1.15rem, 4vw, 3rem);
  --radius-s: 8px;
  --radius-m: 12px;
  --radius-l: 16px;

  /* 动效 */
  --ease: cubic-bezier(.22, .61, .36, .1);
  --t-fast: 140ms;
  --t-mid: 240ms;
  --t-slow: 300ms;
}

/* ---------- 3. 基础排版 ---------- */
body {
  background-color: var(--c-night);
  color: var(--c-paper);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.75;
  font-weight: 400;
  letter-spacing: .01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* 深色区上的细微夜雾噪点 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    radial-gradient(120% 70% at 8% -6%, rgba(23, 194, 106, .10), transparent 62%),
    radial-gradient(90% 60% at 100% 8%, rgba(245, 165, 36, .07), transparent 66%);
}

h1, h2, h3, h4 { font-weight: 800; line-height: 1.25; letter-spacing: -.005em; }
h3, h4 { font-weight: 700; }
p { text-wrap: pretty; }

strong, b { font-weight: 700; }

::selection { background: var(--c-turf); color: #04220f; }

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

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -140px;
  z-index: 200;
  padding: .6rem 1.1rem;
  border-radius: 0 0 var(--radius-m) var(--radius-m);
  background: var(--c-amber);
  color: #20160a;
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-decoration: none;
  transition: top var(--t-fast) var(--ease);
}
.skip-link:focus { top: 0; }

#main-content { display: block; scroll-margin-top: 96px; }

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

/* ---------- 4. 版心与分区 ---------- */
.shell {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { position: relative; z-index: 1; padding-block: clamp(2.2rem, 6vw, 4.5rem); }

.section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .5rem 1.4rem;
  margin-bottom: clamp(1.2rem, 3vw, 2rem);
}

.section__title {
  font-size: clamp(1.5rem, 3.4vw, 1.95rem);
  letter-spacing: -.005em;
}

.section__lead {
  flex: 1 1 22ch;
  max-width: 58ch;
  font-size: .95rem;
  line-height: 1.85;
  color: rgba(244, 241, 233, .62);
}

.page-title {
  font-size: clamp(2rem, 6vw, 3.1rem);
  font-weight: 800;
  font-stretch: 95%;
  line-height: 1.12;
  letter-spacing: -.02em;
  text-wrap: balance;
}

.mono-label {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--c-mist);
}

.divider {
  height: 1px;
  border: 0;
  margin-block: clamp(1.5rem, 4vw, 2.5rem);
  background: linear-gradient(90deg, transparent, rgba(110, 139, 147, .48), transparent);
}

/* ---------- 5. 网格 ---------- */
.grid { display: grid; gap: clamp(1rem, 2.5vw, 1.6rem); }

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

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

/* ---------- 6. 图片容器基础（页面阶段放 <img>） ---------- */
.frame {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius-m);
  background: linear-gradient(150deg, var(--c-stand) 0%, var(--c-night) 78%);
  border: 1px solid rgba(110, 139, 147, .24);
  isolation: isolate;
}

.frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: repeating-linear-gradient(
    102deg,
    rgba(23, 194, 106, .10) 0 16px,
    rgba(23, 194, 106, 0) 16px 34px
  );
}

.frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(11, 26, 43, 0) 46%, rgba(11, 26, 43, .62) 100%);
}

.frame--wide { aspect-ratio: 16 / 9; }
.frame--tall { aspect-ratio: 3 / 4; }
.frame--square { aspect-ratio: 1 / 1; }
.frame--band { aspect-ratio: 21 / 9; }

.frame > img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.frame__caption {
  display: block;
  margin-top: .6rem;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .1em;
  color: var(--c-mist);
}

/* ---------- 7. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  padding: .58rem 1.1rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: .89rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color var(--t-fast) var(--ease),
              color var(--t-fast) var(--ease),
              border-color var(--t-fast) var(--ease),
              transform var(--t-fast) var(--ease);
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--ghost {
  color: var(--c-neon);
  border-color: rgba(127, 240, 176, .42);
  background: rgba(23, 194, 106, .07);
}
.btn--ghost:hover {
  background: rgba(23, 194, 106, .16);
  border-color: var(--c-neon);
}

.btn--amber {
  background: var(--c-amber);
  color: #20160a;
  border-color: var(--c-amber);
}
.btn--amber:hover { background: var(--c-amber-pale); border-color: var(--c-amber-pale); }

.btn--turf {
  background: var(--c-turf);
  color: #04220f;
  border-color: var(--c-turf);
}
.btn--turf:hover { background: var(--c-neon); border-color: var(--c-neon); }

.btn--block { width: 100%; }

/* ---------- 8. 页头 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(11, 26, 43, .94);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid rgba(110, 139, 147, .26);
  color: var(--c-paper);
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: min(420px, 42%);
  pointer-events: none;
  background: linear-gradient(90deg, var(--c-turf), rgba(23, 194, 106, 0));
}

.header-inner {
  position: relative;
  max-width: var(--shell);
  margin-inline: auto;
  padding: 0 var(--gutter);
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(.7rem, 2vw, 1.6rem);
}

/* 品牌 */
.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: .68rem;
  padding-block: .5rem;
  text-decoration: none;
  flex: none;
}

.brand-mark__glyph {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 11px;
  background: linear-gradient(140deg, var(--c-turf), #0E8A4A);
  color: #04220f;
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: -.02em;
  box-shadow: inset 0 0 0 1px rgba(127, 240, 176, .4),
              0 10px 24px -14px rgba(23, 194, 106, .95);
}

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

.brand-mark__name {
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: .08em;
  color: var(--c-paper);
}

.brand-mark__line {
  font-size: .7rem;
  letter-spacing: .12em;
  color: var(--c-mist);
  margin-top: .1rem;
}

/* 导航 */
.site-nav {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 95;
  max-height: calc(100vh - 70px);
  overflow-y: auto;
  padding: .5rem var(--gutter) 1.35rem;
  background: var(--c-night);
  border-bottom: 1px solid rgba(110, 139, 147, .3);
  visibility: hidden;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity var(--t-fast) var(--ease),
              transform var(--t-fast) var(--ease),
              visibility var(--t-fast) linear;
}

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

.site-nav__list { display: flex; flex-direction: column; }

.site-nav__link {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: .7rem;
  padding: .82rem .15rem;
  font-size: .98rem;
  letter-spacing: .04em;
  color: rgba(244, 241, 233, .74);
  text-decoration: none;
  border-bottom: 1px solid rgba(110, 139, 147, .16);
  transition: color var(--t-fast) var(--ease);
}

.site-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -1px;
  height: 2px;
  background: var(--c-amber);
  transition: right var(--t-fast) var(--ease);
}

.site-nav__link:hover { color: var(--c-neon); }
.site-nav__link:hover::after { right: 0; }

.site-nav__link[aria-current="page"] { color: var(--c-paper); font-weight: 700; }
.site-nav__link[aria-current="page"]::after { right: 0; }

.site-nav__idx {
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .14em;
  color: var(--c-mist);
}

.site-nav__link[aria-current="page"] .site-nav__idx { color: var(--c-amber); }

/* 右侧工具区 */
.header-side {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-left: auto;
  flex: none;
}

.status-chip {
  display: none;
  align-items: center;
  gap: .5rem;
  padding: .3rem .75rem .3rem .6rem;
  border: 1px solid rgba(245, 165, 36, .45);
  border-radius: 999px;
  background: rgba(245, 165, 36, .09);
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .08em;
  color: var(--c-amber-pale);
  white-space: nowrap;
}

.status-chip__pulse {
  width: 7px;
  height: 7px;
  flex: none;
  border-radius: 50%;
  background: var(--c-turf);
  box-shadow: 0 0 0 0 rgba(23, 194, 106, .65);
  animation: chip-pulse 2.4s var(--ease) infinite;
}

@keyframes chip-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(23, 194, 106, .6); }
  70%  { box-shadow: 0 0 0 8px rgba(23, 194, 106, 0); }
  100% { box-shadow: 0 0 0 0 rgba(23, 194, 106, 0); }
}

.status-chip__label {
  font-size: .68rem;
  letter-spacing: .18em;
  color: var(--c-mist);
}

.status-chip__time {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--c-amber);
}

/* 汉堡按钮 */
.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: .48rem;
  padding: .42rem .78rem;
  border-radius: 999px;
  border: 1px solid rgba(127, 240, 176, .38);
  color: var(--c-neon);
  font-size: .8rem;
  letter-spacing: .12em;
  transition: background-color var(--t-fast) var(--ease),
              border-color var(--t-fast) var(--ease);
}

.nav-toggle:hover { background: rgba(23, 194, 106, .14); border-color: var(--c-neon); }

.nav-toggle__bars {
  position: relative;
  display: block;
  width: 16px;
  height: 10px;
  flex: none;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 1.5px;
  background: currentColor;
  transition: transform var(--t-fast) var(--ease), top var(--t-fast) var(--ease);
}

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

.site-header[data-open="true"] .nav-toggle__bars::before { top: 4px; transform: rotate(45deg); }
.site-header[data-open="true"] .nav-toggle__bars::after { top: 4px; transform: rotate(-45deg); }

.header-cta { display: none; }

/* ---------- 9. 页脚 ---------- */
.site-footer {
  position: relative;
  z-index: 1;
  overflow: hidden;
  margin-top: clamp(3rem, 8vw, 6rem);
  background: var(--c-night);
  border-top: 1px solid rgba(110, 139, 147, .25);
  color: rgba(244, 241, 233, .74);
  font-size: .93rem;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: -160px;
  right: -140px;
  width: 540px;
  height: 440px;
  pointer-events: none;
  background: radial-gradient(closest-side, rgba(23, 194, 106, .20), transparent 72%);
}

.site-footer::after {
  content: "";
  position: absolute;
  bottom: -200px;
  left: -160px;
  width: 500px;
  height: 440px;
  pointer-events: none;
  background: radial-gradient(closest-side, rgba(245, 165, 36, .14), transparent 70%);
}

.footer-inner {
  position: relative;
  z-index: 1;
  max-width: var(--shell);
  margin-inline: auto;
  padding: clamp(2.4rem, 6vw, 4rem) var(--gutter) 0;
  display: grid;
  gap: clamp(1.8rem, 5vw, 2.8rem);
}

.footer-lead__brand {
  display: flex;
  align-items: center;
  gap: .55rem;
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: .1em;
  color: var(--c-paper);
}

.footer-lead__dot {
  width: 9px;
  height: 9px;
  flex: none;
  border-radius: 3px;
  background: var(--c-turf);
  box-shadow: 0 0 14px rgba(23, 194, 106, .8);
}

.footer-lead__text {
  max-width: 36ch;
  margin-top: .9rem;
  font-size: .9rem;
  line-height: 1.85;
  color: rgba(244, 241, 233, .62);
}

.footer-lead .btn { margin-top: 1.25rem; }

.footer-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem 1rem;
}

.footer-col__title {
  margin-bottom: .8rem;
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .22em;
  color: var(--c-turf);
}

.footer-col__list { display: grid; gap: .1rem; }

.footer-col__link {
  display: inline-block;
  padding: .22rem 0;
  color: rgba(244, 241, 233, .74);
  text-decoration: none;
  transition: color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}

.footer-col__link:hover {
  color: var(--c-neon);
  transform: translateX(3px);
}

.footer-dock {
  position: relative;
  z-index: 1;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
  margin-top: clamp(2rem, 5vw, 3rem);
}

.dock-menu {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  border-top: 1px solid rgba(110, 139, 147, .22);
  border-bottom: 1px solid rgba(110, 139, 147, .22);
  padding: clamp(.9rem, 2.6vw, 1.2rem) 0;
}

.dock-menu__link {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .5rem 1.05rem;
  border-radius: 999px;
  background: rgba(14, 46, 42, .88);
  border: 1px solid rgba(23, 194, 106, .34);
  color: var(--c-paper);
  font-size: .88rem;
  letter-spacing: .05em;
  text-decoration: none;
  transition: background-color var(--t-fast) var(--ease),
              border-color var(--t-fast) var(--ease),
              color var(--t-fast) var(--ease);
}

.dock-menu__link::before {
  content: "";
  width: 6px;
  height: 6px;
  flex: none;
  border-radius: 50%;
  background: var(--c-turf);
}

.dock-menu li:nth-child(2) .dock-menu__link::before { background: var(--c-amber); }

.dock-menu__link:hover {
  background: rgba(23, 194, 106, .16);
  border-color: var(--c-neon);
  color: var(--c-neon);
}

.footer-legal {
  position: relative;
  z-index: 1;
  max-width: var(--shell);
  margin-inline: auto;
  padding: clamp(1.2rem, 3vw, 1.6rem) var(--gutter) clamp(2rem, 4vw, 2.6rem);
  display: grid;
  gap: .45rem;
  font-size: .8rem;
  line-height: 1.7;
  color: rgba(110, 139, 147, .98);
}

.footer-legal__contact { color: rgba(244, 241, 233, .6); }

.footer-legal__meta {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .08em;
  font-variant-numeric: tabular-nums;
}

/* 返回顶部 */
.to-top {
  position: fixed;
  right: clamp(1rem, 3vw, 1.6rem);
  bottom: clamp(1rem, 3vw, 1.6rem);
  z-index: 80;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(14, 46, 42, .94);
  border: 1px solid rgba(127, 240, 176, .42);
  color: var(--c-neon);
  font-size: 1.05rem;
  line-height: 1;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity var(--t-fast) var(--ease),
              transform var(--t-fast) var(--ease),
              visibility var(--t-fast) linear,
              border-color var(--t-fast) var(--ease);
}

.to-top[data-visible="true"] { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { border-color: var(--c-amber); color: var(--c-amber); }

/* ---------- 10. 通用组件 ---------- */
/* 面包屑 */
.breadcrumb {
  font-family: var(--font-mono);
  font-size: .73rem;
  letter-spacing: .12em;
  color: var(--c-mist);
}

.breadcrumb__list { display: flex; flex-wrap: wrap; gap: .45rem; }

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

.breadcrumb__item + .breadcrumb__item::before {
  content: "/";
  color: rgba(110, 139, 147, .6);
}

.breadcrumb__link { color: var(--c-mist); text-decoration: none; }
.breadcrumb__link:hover { color: var(--c-neon); }

/* 展签卡 */
.card {
  position: relative;
  padding: clamp(1.05rem, 2.4vw, 1.6rem);
  border-radius: var(--radius-l);
  border: 1px solid rgba(110, 139, 147, .22);
  background: linear-gradient(160deg, rgba(14, 46, 42, .92), rgba(11, 26, 43, .94));
  transition: border-color var(--t-fast) var(--ease), transform var(--t-mid) var(--ease);
}

.card:hover { border-color: rgba(127, 240, 176, .45); }

.card__title { font-size: 1.06rem; font-weight: 700; line-height: 1.42; }

.card__meta {
  margin-top: .45rem;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .14em;
  color: var(--c-mist);
  font-variant-numeric: tabular-nums;
}

/* 比分数字块 */
.stat { display: flex; flex-direction: column; gap: .3rem; }

.stat__value {
  font-size: clamp(2.4rem, 7vw, 4rem);
  font-weight: 800;
  font-stretch: 95%;
  line-height: 1;
  letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
  color: var(--c-turf);
}

.stat__label {
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .2em;
  color: var(--c-mist);
}

/* 标签 */
.tag {
  display: inline-flex;
  align-items: center;
  gap: .4em;
  padding: .2rem .58rem;
  border-radius: 6px;
  border: 1px solid currentColor;
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .12em;
  white-space: nowrap;
}

.tag--turf { color: var(--c-turf); }
.tag--amber { color: var(--c-amber); }
.tag--indigo {
  color: var(--c-amber-pale);
  background: var(--c-indigo);
  border-color: rgba(156, 140, 232, .5);
}
.tag--score {
  color: #FF8C86;
  background: rgba(228, 54, 47, .16);
  border-color: rgba(228, 54, 47, .6);
}

/* 左窄栏切换器 */
.rail { position: relative; }

.rail__group + .rail__group { margin-top: 1.6rem; }

.rail__title {
  margin-bottom: .55rem;
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .2em;
  color: var(--c-mist);
}

.rail__link {
  display: block;
  padding: .5rem .1rem;
  font-size: .92rem;
  color: rgba(244, 241, 233, .68);
  text-decoration: none;
  border-bottom: 1px solid rgba(110, 139, 147, .16);
  transition: color var(--t-fast) var(--ease), padding-left var(--t-fast) var(--ease);
}

.rail__link:hover { color: var(--c-neon); padding-left: .35rem; }

.rail__link[aria-current="true"] {
  color: var(--c-amber);
  border-bottom-color: var(--c-amber);
  font-weight: 700;
}

/* 筛选条 */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  padding-bottom: .3rem;
}

.filter-btn {
  padding: .42rem .95rem;
  border-radius: 999px;
  border: 1px solid rgba(110, 139, 147, .35);
  color: rgba(244, 241, 233, .72);
  font-size: .84rem;
  letter-spacing: .05em;
  transition: color var(--t-fast) var(--ease),
              border-color var(--t-fast) var(--ease),
              background-color var(--t-fast) var(--ease);
}

.filter-btn:hover { color: var(--c-neon); border-color: var(--c-neon); }

.filter-btn[aria-pressed="true"] {
  color: var(--c-amber-pale);
  border-color: var(--c-amber);
  background: rgba(245, 165, 36, .14);
}

.filter-btn[disabled] { opacity: .4; cursor: not-allowed; }

/* 长文阅读 */
.prose {
  max-width: 68ch;
  font-size: 1.02rem;
  line-height: 1.85;
}

.prose p + p { margin-top: 1.15em; }
.prose h2 { font-size: 1.32rem; margin-top: 2em; margin-bottom: .6em; }
.prose h3 { font-size: 1.08rem; margin-top: 1.6em; margin-bottom: .5em; }

.prose ul, .prose ol { margin-top: .85em; display: grid; gap: .5em; }

.prose li { position: relative; padding-left: 1.15em; }

.prose ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .74em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--c-turf);
}

.prose ol { counter-reset: prose-ol; }
.prose ol li::before {
  counter-increment: prose-ol;
  content: counter(prose-ol, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--font-mono);
  font-size: .74rem;
  color: var(--c-amber);
}

/* 滚动显现 */
.is-reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease);
}

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

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

/* ---------- 11. 纸面米白阅读区 ---------- */
.is-paper {
  background-color: var(--c-paper);
  color: var(--c-night);
}

.is-paper::before {
  background-image:
    radial-gradient(110% 60% at 4% -4%, rgba(23, 194, 106, .12), transparent 60%),
    radial-gradient(80% 50% at 100% 4%, rgba(245, 165, 36, .16), transparent 64%);
}

.is-paper .page-title,
.is-paper .section__title { color: var(--c-night); }

.is-paper .section__lead { color: #3E5560; }
.is-paper .mono-label,
.is-paper .breadcrumb,
.is-paper .card__meta,
.is-paper .stat__label,
.is-paper .frame__caption { color: #5C7078; }

.is-paper .divider {
  background: linear-gradient(90deg, transparent, rgba(11, 26, 43, .22), transparent);
}

.is-paper .card {
  background: #FFFFFF;
  border-color: rgba(11, 26, 43, .14);
}

.is-paper .card__title { color: var(--c-night); }

.is-paper .rail__link { color: #3E5560; border-bottom-color: rgba(11, 26, 43, .12); }
.is-paper .rail__link:hover { color: #0E8A4A; }

.is-paper .rail__link[aria-current="true"] {
  color: #9A6410;
  border-bottom-color: var(--c-amber);
}

.is-paper .filter-btn {
  color: #3E5560;
  border-color: rgba(11, 26, 43, .2);
}
.is-paper .filter-btn:hover { color: #0E8A4A; border-color: #0E8A4A; }
.is-paper .filter-btn[aria-pressed="true"] {
  color: #5A3708;
  border-color: var(--c-amber);
  background: rgba(245, 165, 36, .22);
}

.is-paper .tag--turf { color: #0E8A4A; }
.is-paper .tag--amber { color: #9A6410; }

.is-paper .btn--ghost {
  color: #0E8A4A;
  border-color: rgba(14, 138, 74, .45);
  background: rgba(23, 194, 106, .1);
}
.is-paper .btn--ghost:hover { background: rgba(23, 194, 106, .2); border-color: #0E8A4A; }

.is-paper .prose ul li::before { background: #0E8A4A; }

/* ---------- 12. 断点 ---------- */
@media (min-width: 640px) {
  .footer-cols { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (min-width: 720px) {
  .status-chip { display: inline-flex; }
  .brand-mark__line { font-size: .72rem; }
}

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

  .site-nav {
    position: static;
    flex: 1 1 auto;
    max-height: none;
    overflow: visible;
    padding: 0;
    border: 0;
    background: none;
    visibility: visible;
    opacity: 1;
    transform: none;
    display: flex;
    justify-content: flex-end;
  }

  .site-nav__list {
    flex-direction: row;
    align-items: center;
    gap: clamp(.35rem, 1.3vw, 1.35rem);
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .site-nav__link {
    padding: .55rem .18rem;
    font-size: .93rem;
    border-bottom: 0;
  }

  .site-nav__link::after { bottom: .18rem; }
  .site-nav__link:hover::after { right: 0; }

  .footer-inner {
    grid-template-columns: minmax(280px, .92fr) minmax(0, 1.6fr);
    align-items: start;
  }

  .rail { position: sticky; top: 6.6rem; }

  .to-top { width: 50px; height: 50px; }
}

@media (min-width: 1080px) {
  .header-cta { display: inline-flex; }
}

@media (max-width: 480px) {
  body { font-size: 16px; }
  .brand-mark__line { display: none; }
  .nav-toggle__text { display: none; }
}

/* ---------- 13. 无障碍：减少动态效果 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

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

  .is-reveal-ready [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }

  .btn:hover,
  .footer-col__link:hover,
  .rail__link:hover { transform: none; }
}
