/* =========================================================
   天天娱乐 · 共享外壳 /assets/site.css
   结构：1 重置 2 变量 3 中文排版 4 头部轨道 5 顶栏导航
        6 移动抽屉 7 页脚 8 通用组件 9 响应式 10 无障碍
   ========================================================= */

/* ---------- 1. 重置 ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
img, svg, video { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
ul, ol { list-style: none; padding: 0; }
a { color: var(--blue-500); text-decoration: none; }
a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
[hidden] { display: none !important; }

/* ---------- 2. 变量 ---------- */
:root {
  --ink-900: #0B1533;
  --ink-700: #17244D;
  --paper: #FFF8F0;
  --paper-2: #F1EEE8;
  --orange-500: #FF6B2C;
  --orange-100: #FFE3D3;
  --blue-500: #1E6BFF;
  --cyan-400: #19E0D2;
  --yellow-400: #FFD22E;
  --violet-500: #7A5CFF;
  --green-500: #17B26A;
  --gray-600: #5A6273;
  --white: #FFFFFF;

  --rail-w: 284px;
  --header-h: 72px;
  --wrap: 1180px;

  --r-lg: 28px;
  --r-md: 18px;
  --r-sm: 12px;
  --r-pill: 999px;

  --line: rgba(11, 21, 51, .10);
  --line-soft: rgba(11, 21, 51, .06);
  --glass: rgba(11, 21, 51, .74);
  --shadow-soft: 0 18px 50px -30px rgba(11, 21, 51, .55);

  --font-body: "HarmonyOS Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: "HarmonyOS Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.2, .7, .25, 1);
}

@media (max-width: 1199.98px) { :root { --rail-w: 256px; } }
@media (max-width: 1023.98px) { :root { --rail-w: 0px; } }
@media (max-width: 639.98px) { :root { --header-h: 64px; } }
@media (min-width: 1024px) { html[data-rail="closed"] { --rail-w: 0px; } }

/* ---------- 3. 中文排版基线 ---------- */
body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  letter-spacing: .01em;
  color: var(--ink-900);
  background-color: var(--paper);
  background-image:
    radial-gradient(90% 60% at 100% 0%, rgba(30, 107, 255, .06), transparent 60%),
    radial-gradient(70% 50% at 0% 100%, rgba(255, 107, 44, .07), transparent 62%);
  background-attachment: fixed;
  padding-left: var(--rail-w);
  -webkit-font-smoothing: antialiased;
  transition: padding-left .26s var(--ease);
}

main { display: block; padding-top: var(--header-h); }

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -.02em;
  text-wrap: balance;
}
h1 { font-size: clamp(34px, 4.6vw, 64px); }
h2 { font-size: clamp(26px, 3vw, 40px); }
h3 { font-size: clamp(20px, 2vw, 24px); }
p { text-wrap: pretty; }
strong, b { font-weight: 800; }
::selection { background: var(--orange-500); color: #fff; }

.prose { max-width: 68ch; }
.prose p + p { margin-top: 1em; }

/* ---------- 4. 头部与左侧轨道 ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: var(--rail-w);
  right: 0;
  z-index: 80;
  transition: left .26s var(--ease);
}

.skip-link {
  position: fixed;
  top: 10px;
  left: calc(var(--rail-w) + 14px);
  z-index: 200;
  padding: 10px 20px;
  border-radius: var(--r-pill);
  background: var(--yellow-400);
  color: var(--ink-900);
  font-weight: 800;
  font-size: 15px;
  text-decoration: none;
  transform: translateY(-180%);
  transition: transform .18s var(--ease);
}
.skip-link:focus,
.skip-link:focus-visible { transform: none; text-decoration: none; }

.progress {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  opacity: 0;
  transition: opacity .3s var(--ease);
  pointer-events: none;
}
.site-header[data-scrolled="true"] .progress { opacity: 1; }
.progress__bar {
  display: block;
  height: 100%;
  width: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--orange-500) 0%, var(--yellow-400) 52%, var(--cyan-400) 100%);
}

/* 左侧轨道 */
.rail {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--rail-w);
  z-index: 85;
  display: none;
  flex-direction: column;
  gap: 12px;
  padding: 22px 16px 18px;
  overflow-y: auto;
  color: #fff;
  background-color: var(--ink-900);
  background-image:
    radial-gradient(80% 46% at 0% 0%, rgba(30, 107, 255, .34), transparent 62%),
    radial-gradient(70% 40% at 108% 96%, rgba(255, 107, 44, .30), transparent 60%),
    linear-gradient(180deg, #10204d 0%, #0B1533 62%);
  border-right: 1px solid rgba(255, 255, 255, .08);
  transition: transform .26s var(--ease);
}
.rail::before {
  content: "";
  position: absolute;
  top: 42%;
  left: -70px;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(25, 224, 210, .26), transparent 66%);
  pointer-events: none;
}
@media (min-width: 1024px) { .rail { display: flex; } }
html[data-rail="closed"] .rail { transform: translateX(-100%); }

.rail__brand {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 6px 14px;
  color: #fff;
  text-decoration: none;
  border-bottom: 1px dashed rgba(255, 255, 255, .14);
}
.rail__brand:hover { text-decoration: none; }
.rail__mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border-radius: 14px;
  font-size: 21px;
  font-weight: 900;
  color: #fff;
  background: linear-gradient(140deg, var(--orange-500), #FF9A3C 58%, var(--yellow-400));
  box-shadow: 0 10px 26px -14px rgba(255, 107, 44, .95);
  transform: skewX(-5deg);
}
.rail__brand-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.rail__name {
  font-family: var(--font-head);
  font-size: 21px;
  font-weight: 900;
  letter-spacing: -.02em;
  line-height: 1.1;
  transform: skewX(-4deg);
}
.rail__tag { font-size: 12px; font-weight: 700; letter-spacing: .12em; color: var(--yellow-400); }

.rail__group { position: relative; }
.rail__group-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 9px 10px;
  border: 0;
  border-radius: var(--r-sm);
  background: transparent;
  color: rgba(255, 255, 255, .74);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .10em;
  cursor: pointer;
  transition: background .18s var(--ease), color .18s var(--ease);
}
.rail__group-btn:hover { background: rgba(255, 255, 255, .07); color: #fff; }
.rail__group-ico {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  border-radius: 8px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0;
  color: var(--ink-900);
  background: var(--cyan-400);
}
.rail__group:nth-of-type(2) .rail__group-ico { background: var(--yellow-400); }
.rail__group:nth-of-type(3) .rail__group-ico { background: var(--orange-500); color: #fff; }
.rail__group-label { margin-right: auto; }
.rail__group-caret {
  width: 8px;
  height: 8px;
  border-right: 2px solid rgba(255, 255, 255, .55);
  border-bottom: 2px solid rgba(255, 255, 255, .55);
  transform: rotate(45deg);
  transition: transform .2s var(--ease);
}
.rail__group-btn[aria-expanded="false"] .rail__group-caret { transform: rotate(-45deg); }

.rail__list { display: grid; gap: 2px; padding: 4px 0 6px 8px; }
.rail__link {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 10px 8px 12px;
  border-radius: var(--r-sm);
  color: rgba(255, 255, 255, .82);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border-left: 2px solid rgba(255, 255, 255, .12);
  transition: background .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease);
}
.rail__link::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .38);
  flex: 0 0 auto;
}
.rail__link:hover { background: rgba(255, 255, 255, .08); color: #fff; text-decoration: none; }
.rail__link[aria-current="page"] {
  color: #fff;
  background: rgba(255, 107, 44, .20);
  border-left-color: var(--orange-500);
  font-weight: 800;
}
.rail__link[aria-current="page"]::before { background: var(--yellow-400); }

.rail__foot { margin-top: auto; padding-top: 14px; }
.rail__service {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 18px;
  border-radius: var(--r-pill);
  background: var(--yellow-400);
  color: var(--ink-900);
  font-weight: 800;
  font-size: 14px;
  text-decoration: none;
  box-shadow: 0 14px 30px -20px rgba(255, 210, 46, .95);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease);
}
.rail__service:hover { transform: translateY(-2px); text-decoration: none; }
.rail__service .dot { background: var(--ink-900); }
.rail__service-note {
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.6;
  color: rgba(255, 255, 255, .52);
  letter-spacing: .04em;
}

/* ---------- 5. 顶栏与主导航 ---------- */
.topbar {
  display: flex;
  align-items: center;
  gap: 14px;
  height: var(--header-h);
  padding: 0 clamp(16px, 2.6vw, 40px);
  color: #fff;
  background: var(--glass);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  backdrop-filter: blur(14px) saturate(150%);
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header[data-scrolled="true"] .topbar {
  color: var(--ink-900);
  background: rgba(255, 248, 240, .95);
  border-bottom-color: var(--line);
  box-shadow: 0 16px 34px -30px rgba(11, 21, 51, .85);
}

.brand { display: inline-flex; align-items: center; gap: 9px; color: inherit; text-decoration: none; flex: 0 0 auto; }
.brand:hover { text-decoration: none; }
.brand__name {
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 900;
  letter-spacing: -.02em;
  transform: skewX(-4deg);
}
.brand__tag {
  padding: 3px 9px;
  border-radius: var(--r-pill);
  background: var(--orange-500);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
  white-space: nowrap;
}
@media (min-width: 1024px) { .brand { display: none; } }

.nav { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 2px; }
.nav__item { display: block; }
.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 9px 13px;
  border-radius: var(--r-pill);
  color: inherit;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none;
  transition: background .18s var(--ease), color .18s var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 3px;
  height: 2px;
  border-radius: 2px;
  background: var(--orange-500);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform .22s var(--ease);
}
.nav__link:hover { background: rgba(255, 255, 255, .10); text-decoration: none; }
.nav__link:hover::after,
.nav__link:focus-visible::after,
.nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { background: rgba(255, 107, 44, .18); }
.site-header[data-scrolled="true"] .nav__link:hover { background: rgba(11, 21, 51, .06); }
.site-header[data-scrolled="true"] .nav__link[aria-current="page"] {
  background: var(--orange-100);
  color: var(--ink-900);
  font-weight: 800;
}

.nav__foot { display: none; }

.topbar__tools { display: flex; align-items: center; gap: 8px; margin-left: 4px; }
.topbar__quick {
  display: inline-flex;
  align-items: center;
  padding: 7px 15px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(255, 255, 255, .26);
  background: rgba(255, 255, 255, .10);
  color: inherit;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none;
  transition: background .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease);
}
.topbar__quick:hover { background: var(--orange-500); border-color: var(--orange-500); color: #fff; text-decoration: none; }
.site-header[data-scrolled="true"] .topbar__quick {
  border-color: rgba(11, 21, 51, .16);
  background: rgba(11, 21, 51, .05);
}
.site-header[data-scrolled="true"] .topbar__quick:hover { color: #fff; border-color: var(--orange-500); }
@media (max-width: 639.98px) { .topbar__quick { display: none; } }

.rail-toggle {
  display: none;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(255, 255, 255, .26);
  background: rgba(255, 255, 255, .08);
  color: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background .18s var(--ease), border-color .18s var(--ease);
}
.rail-toggle:hover { background: rgba(255, 107, 44, .85); border-color: transparent; color: #fff; }
.rail-toggle__icon {
  position: relative;
  width: 16px;
  height: 13px;
  border: 1.6px solid currentColor;
  border-radius: 4px;
}
.rail-toggle__icon::before {
  content: "";
  position: absolute;
  top: 1px;
  bottom: 1px;
  left: 3.5px;
  width: 1.6px;
  background: currentColor;
  border-radius: 2px;
}
.site-header[data-scrolled="true"] .rail-toggle { border-color: rgba(11, 21, 51, .16); background: rgba(11, 21, 51, .05); }
@media (min-width: 1024px) { .rail-toggle { display: inline-flex; } }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(255, 255, 255, .26);
  background: rgba(255, 255, 255, .08);
  color: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
.site-header[data-scrolled="true"] .nav-toggle { border-color: rgba(11, 21, 51, .16); background: rgba(11, 21, 51, .05); }
.nav-toggle__bars { position: relative; display: block; width: 18px; height: 12px; }
.nav-toggle__bars > span {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .22s var(--ease), opacity .16s var(--ease);
}
.nav-toggle__bars > span:nth-child(1) { top: 0; }
.nav-toggle__bars > span:nth-child(2) { top: 5px; }
.nav-toggle__bars > span:nth-child(3) { top: 10px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars > span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars > span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars > span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }
@media (max-width: 1023.98px) { .nav-toggle { display: inline-flex; } }

/* ---------- 6. 移动抽屉 ---------- */
@media (max-width: 1023.98px) {
  body.nav-open { overflow: hidden; }
  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    z-index: 79;
    display: block;
    margin: 0;
    padding: 16px clamp(16px, 4vw, 28px) 24px;
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    color: #fff;
    background-color: var(--ink-900);
    background-image:
      radial-gradient(70% 50% at 100% 0%, rgba(30, 107, 255, .34), transparent 62%),
      radial-gradient(60% 40% at 0% 100%, rgba(255, 107, 44, .26), transparent 62%);
    border-top: 1px solid rgba(255, 255, 255, .10);
    box-shadow: 0 30px 60px -30px rgba(11, 21, 51, .9);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
  }
  .site-header[data-open="true"] .nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }
  .nav__list { flex-direction: column; align-items: stretch; gap: 5px; }
  .nav__link {
    display: flex;
    justify-content: space-between;
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .05);
    color: #fff;
    font-size: 17px;
  }
  .nav__link::after {
    left: 16px;
    right: 16px;
    bottom: 8px;
  }
  .nav__link:hover { background: rgba(255, 255, 255, .12); }
  .nav__link[aria-current="page"] { background: rgba(255, 107, 44, .22); color: #fff; }
  .nav__foot {
    display: flex;
    gap: 10px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px dashed rgba(255, 255, 255, .16);
  }
  .nav__foot-link {
    flex: 1 1 auto;
    display: inline-flex;
    justify-content: center;
    padding: 11px 14px;
    border-radius: var(--r-pill);
    font-size: 15px;
    font-weight: 800;
    color: var(--ink-900);
    background: var(--yellow-400);
    text-decoration: none;
  }
  .nav__foot-link:last-child { background: var(--orange-500); color: #fff; }
  .nav__foot-link:hover { text-decoration: none; filter: brightness(1.05); }
}

/* ---------- 7. 页脚 ---------- */
.site-footer {
  position: relative;
  overflow: hidden;
  margin-top: clamp(48px, 7vw, 96px);
  padding: clamp(40px, 6vw, 72px) clamp(18px, 4vw, 56px) 0;
  color: rgba(255, 255, 255, .78);
  background-color: var(--ink-900);
  background-image:
    linear-gradient(180deg, #0E1B40 0%, #0B1533 58%),
    linear-gradient(115deg, rgba(30, 107, 255, .18), transparent 55%);
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange-500), var(--yellow-400) 38%, var(--cyan-400) 70%, var(--violet-500));
}
.footer__glow {
  position: absolute;
  right: -140px;
  bottom: -180px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 107, 44, .26), transparent 62%);
  pointer-events: none;
}
.footer__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.35fr;
  gap: clamp(24px, 3vw, 44px);
  max-width: var(--wrap);
  margin: 0 auto;
}
.footer__col { min-width: 0; }
.footer__brand { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.footer__name {
  font-family: var(--font-head);
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -.02em;
  color: #fff;
  transform: skewX(-4deg);
}
.footer__tag {
  padding: 3px 10px;
  border-radius: var(--r-pill);
  background: var(--orange-500);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
}
.footer__line { font-size: 15px; line-height: 1.8; color: rgba(255, 255, 255, .72); max-width: 30ch; }
.footer__title {
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .16em;
  color: var(--cyan-400);
}
.footer__list { display: grid; gap: 9px; }
.footer__list--meta { gap: 10px; }
.footer__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: rgba(255, 255, 255, .82);
  text-decoration: none;
  transition: color .18s var(--ease), transform .18s var(--ease);
}
.footer__link::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .28);
  transition: background .18s var(--ease);
}
.footer__link:hover { color: #fff; transform: translateX(3px); text-decoration: none; }
.footer__link:hover::before { background: var(--yellow-400); }
.footer__meta-item {
  font-size: 14px;
  line-height: 1.72;
  color: rgba(255, 255, 255, .66);
  font-variant-numeric: tabular-nums;
  word-break: break-word;
}
.footer__col--brand .footer__meta-item { margin-top: 14px; font-size: 13px; color: rgba(255, 255, 255, .52); }
.footer__legal {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  max-width: var(--wrap);
  margin: clamp(28px, 4vw, 44px) auto 0;
  padding: 18px 0 24px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: 13px;
  color: rgba(255, 255, 255, .58);
}
.footer__copy { font-variant-numeric: tabular-nums; }
.footer__legal-links { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.footer__legal-link {
  color: rgba(255, 255, 255, .66);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}
.footer__legal-link:hover { color: var(--yellow-400); text-decoration: none; }

/* ---------- 8. 通用组件 ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: clamp(18px, 3vw, 40px);
}
.section { padding-block: clamp(40px, 6vw, 80px); }
.section--tight { padding-block: clamp(26px, 3.4vw, 46px); }
.overlap-top { margin-top: calc(var(--header-h) * -1); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .16em;
  color: var(--orange-500);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: currentColor; }

.chapter-num {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(40px, 6vw, 76px);
  font-weight: 900;
  line-height: .9;
  letter-spacing: -.05em;
  font-variant-numeric: tabular-nums;
  color: var(--orange-500);
}
@supports (-webkit-text-stroke: 1px #000) {
  .chapter-num { color: transparent; -webkit-text-stroke: 2px var(--orange-500); }
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px 24px;
  margin-bottom: clamp(20px, 3vw, 34px);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  font-family: inherit;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s var(--ease), background .18s var(--ease), color .18s var(--ease), box-shadow .18s var(--ease);
}
.btn:hover { transform: translateY(-2px); text-decoration: none; }
.btn--primary { background: var(--orange-500); color: #fff; box-shadow: 0 16px 34px -22px rgba(255, 107, 44, 1); }
.btn--primary:hover { background: #FF5714; }
.btn--dark { background: var(--ink-900); color: #fff; }
.btn--dark:hover { background: var(--ink-700); }
.btn--outline { border-color: rgba(11, 21, 51, .18); background: transparent; color: var(--ink-900); }
.btn--outline:hover { border-color: var(--ink-900); background: rgba(11, 21, 51, .04); }
.btn--ghost { border-color: rgba(255, 255, 255, .30); background: rgba(255, 255, 255, .10); color: #fff; }
.btn--ghost:hover { background: rgba(255, 255, 255, .18); }
.btn--sm { padding: 9px 18px; font-size: 14px; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--r-pill);
  background: var(--paper-2);
  color: var(--ink-900);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.6;
  white-space: nowrap;
}
.pill--orange { background: var(--orange-100); color: #A83803; }
.pill--blue { background: rgba(30, 107, 255, .12); color: #16489F; }
.pill--yellow { background: var(--yellow-400); color: var(--ink-900); }
.pill--cyan { background: rgba(25, 224, 210, .18); color: #06605B; }
.pill--ink { background: var(--ink-900); color: #fff; }

.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--gray-600); flex: 0 0 auto; }
.dot--online { background: var(--green-500); box-shadow: 0 0 0 4px rgba(23, 178, 106, .18); }
.dot--self { background: var(--cyan-400); box-shadow: 0 0 0 4px rgba(25, 224, 210, .18); }

.card {
  position: relative;
  padding: clamp(20px, 2.4vw, 30px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}
.card--ink { background: var(--ink-900); border-color: rgba(255, 255, 255, .10); color: #fff; }
.card--ink .card__meta { color: rgba(255, 255, 255, .60); }
.card--peach { background: var(--orange-100); border-color: transparent; }
.card__title { font-size: clamp(19px, 1.6vw, 23px); font-weight: 800; line-height: 1.3; margin-bottom: 8px; }
.card__meta { font-size: 14px; line-height: 1.7; color: var(--gray-600); letter-spacing: .02em; }

.stat { display: block; }
.stat__num {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
  color: var(--orange-500);
}
.stat__label { display: block; margin-top: 8px; font-size: 14px; color: var(--gray-600); }

.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(16px, 2vw, 26px); }
.col-4 { grid-column: span 4; }
.col-6 { grid-column: span 6; }
.col-8 { grid-column: span 8; }
.col-12 { grid-column: span 12; }

.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; color: var(--gray-600); }
.breadcrumb a { color: var(--gray-600); }
.breadcrumb a:hover { color: var(--orange-500); text-decoration: none; }
.breadcrumb__sep { color: rgba(11, 21, 51, .26); }
.breadcrumb [aria-current="page"] { color: var(--ink-900); font-weight: 800; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 800;
  color: var(--orange-500);
  text-decoration: none;
}
.link-arrow::after { content: "→"; transition: transform .2s var(--ease); }
.link-arrow:hover { text-decoration: none; }
.link-arrow:hover::after { transform: translateX(4px); }

.media {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: linear-gradient(135deg, var(--orange-100) 0%, var(--paper-2) 52%, #DDE7FF 100%);
}
.media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(110% 90% at 12% 0%, rgba(255, 107, 44, .22), transparent 58%),
    radial-gradient(90% 80% at 100% 100%, rgba(30, 107, 255, .20), transparent 60%);
}
.media img { width: 100%; height: 100%; object-fit: cover; }
.media--21x9 { aspect-ratio: 21 / 9; }
.media--16x9 { aspect-ratio: 16 / 9; }
.media--4x3 { aspect-ratio: 4 / 3; }
.media--1x1 { aspect-ratio: 1 / 1; }
.media--dark { background: linear-gradient(140deg, var(--ink-700), var(--ink-900)); border-color: rgba(255, 255, 255, .10); }

.rail-scroll {
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  padding-bottom: 12px;
}
.rail-scroll__track { display: flex; gap: clamp(14px, 2vw, 22px); }
.rail-scroll__item { flex: 0 0 clamp(240px, 32vw, 340px); scroll-snap-align: start; min-width: 0; }

.disclosure {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--white);
  overflow: hidden;
}
.disclosure + .disclosure { margin-top: 10px; }
.disclosure__btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  background: var(--paper-2);
  color: var(--ink-900);
  font-size: 17px;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}
.disclosure__btn::-webkit-details-marker { display: none; }
.disclosure__btn::after { content: "＋"; font-weight: 900; color: var(--orange-500); }
.disclosure[open] .disclosure__btn { background: var(--orange-100); }
.disclosure[open] .disclosure__btn::after { content: "－"; }
.disclosure__body { padding: 16px 20px 20px; font-size: 16px; color: var(--gray-600); }

.table-basic { width: 100%; border-collapse: collapse; font-size: 15px; }
.table-basic th, .table-basic td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); }
.table-basic thead th { background: var(--ink-700); color: #fff; font-weight: 800; letter-spacing: .02em; }
.table-basic tbody tr { transition: background .16s var(--ease); }
.table-basic tbody tr:hover { background: var(--orange-100); }
.table-basic .num { font-variant-numeric: tabular-nums; font-weight: 800; }

.note {
  display: flex;
  gap: 12px;
  padding: 16px 18px;
  border-left: 4px solid var(--orange-500);
  border-radius: var(--r-md);
  background: var(--orange-100);
  color: #7A2E08;
  font-size: 15px;
  line-height: 1.7;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
[data-reveal="1"] { transition-delay: .06s; }
[data-reveal="2"] { transition-delay: .12s; }
[data-reveal="3"] { transition-delay: .18s; }
[data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- 9. 响应式 ---------- */
@media (max-width: 1080px) {
  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer__col--brand { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .col-4, .col-6, .col-8 { grid-column: span 12; }
}
@media (max-width: 640px) {
  body { font-size: 16px; line-height: 1.78; }
  .footer__grid { grid-template-columns: 1fr; gap: 26px; }
  .footer__legal { flex-direction: column; align-items: flex-start; gap: 10px; }
  .rail-scroll__item { flex-basis: min(78vw, 300px); }
  .btn { padding: 11px 20px; }
}

/* ---------- 10. 无障碍与动效偏好 ---------- */
:focus-visible {
  outline: 3px solid var(--blue-500);
  outline-offset: 3px;
  border-radius: 6px;
}
.rail :focus-visible,
.site-footer :focus-visible,
.topbar :focus-visible { outline-color: var(--yellow-400); }
.site-header[data-scrolled="true"] .topbar :focus-visible { outline-color: var(--blue-500); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .btn:hover, .rail__service:hover, .footer__link:hover { transform: none; }
}
