/* ==========================================================================
   新利看台 · 共享外壳样式 /assets/site.css
   母题：夜场记分牌 / 球场边线 / 传感器轨迹
   ========================================================================== */

/* --- 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, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg, video { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }

/* --- 2. 变量 ------------------------------------------------------------- */
:root {
  --xl-night: #06131A;
  --xl-pitch: #0B2B22;
  --xl-cream: #F4EBDC;
  --xl-ink: #241A15;
  --xl-cyan: #38F2C8;
  --xl-orange: #FF5A1E;
  --xl-white: #F7FBFA;
  --xl-silver: #9FB3B0;
  --xl-deep: #123A5A;
  --xl-edge: #1E4D3C;

  --xl-fs-12: 0.75rem;
  --xl-fs-13: 0.8125rem;
  --xl-fs-16: 1rem;
  --xl-fs-20: 1.25rem;
  --xl-fs-28: 1.75rem;
  --xl-fs-40: 2.5rem;
  --xl-fs-64: 4rem;
  --xl-fs-96: 6rem;

  --xl-font-display: "PingFang SC", "Hiragino Sans GB", "Source Han Sans SC", "Noto Sans SC", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  --xl-font-editorial: "Source Han Serif SC", "Songti SC", "Noto Serif SC", Georgia, "Times New Roman", serif;
  --xl-font-body: var(--xl-font-display);
  --xl-font-mono: ui-monospace, "JetBrains Mono", "Roboto Mono", "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;

  --xl-gutter: clamp(18px, 4vw, 48px);
  --xl-radius-lg: 32px;
  --xl-radius-md: 20px;
  --xl-radius-sm: 12px;
  --xl-pill: 999px;
  --xl-shadow: 0 26px 64px -34px rgba(0, 0, 0, .9);
}

/* --- 3. 基础排版 --------------------------------------------------------- */
body {
  background-color: var(--xl-night);
  background-image:
    radial-gradient(120% 55% at 82% -12%, rgba(56, 242, 200, .09), transparent 62%),
    radial-gradient(90% 45% at 0% -6%, rgba(255, 90, 30, .07), transparent 60%);
  background-repeat: no-repeat;
  color: var(--xl-white);
  font-family: var(--xl-font-body);
  font-size: var(--xl-fs-16);
  line-height: 1.75;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
h1, h2, h3, h4 {
  font-family: var(--xl-font-display);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--xl-white);
}
h1 { font-size: var(--xl-fs-40); }
h2 { font-size: var(--xl-fs-28); }
h3 { font-size: var(--xl-fs-20); }
@media (min-width: 900px) {
  h1 { font-size: var(--xl-fs-64); }
  h2 { font-size: var(--xl-fs-40); }
}
.xl-display {
  font-family: var(--xl-font-display);
  font-weight: 900;
  font-size: var(--xl-fs-40);
  line-height: 1.02;
  letter-spacing: -0.02em;
}
@media (min-width: 900px) { .xl-display { font-size: var(--xl-fs-96); } }

:focus-visible {
  outline: 2px solid var(--xl-cyan);
  outline-offset: 3px;
  border-radius: 4px;
}
::selection { background: var(--xl-cyan); color: #04211A; }

/* --- 4. 容器 / 网格 ------------------------------------------------------ */
.xl-shell { width: min(1240px, calc(100% - (var(--xl-gutter) * 2))); margin-inline: auto; }
.xl-grid { display: grid; gap: clamp(16px, 2.4vw, 32px); }
.xl-grid--split { grid-template-columns: minmax(0, 1fr); }
.xl-grid--three { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
@media (min-width: 900px) {
  .xl-grid--split { grid-template-columns: minmax(190px, 250px) minmax(0, 1fr); }
  .xl-grid--split.xl-grid--wide-rail { grid-template-columns: minmax(260px, 360px) minmax(0, 1fr); }
}
[data-chapter], [id] { scroll-margin-top: 120px; }

/* --- 5. 跳转链接 --------------------------------------------------------- */
.xl-skip {
  position: fixed; left: 14px; top: -80px; z-index: 120;
  padding: 10px 20px;
  border-radius: var(--xl-pill);
  background: var(--xl-cyan);
  color: #04211A;
  font-size: var(--xl-fs-13);
  font-weight: 700;
  transition: top .18s ease;
}
.xl-skip:focus { top: 14px; }

/* --- 6. 顶栏 ------------------------------------------------------------- */
.xl-header {
  position: sticky; top: 0; z-index: 80;
  background: linear-gradient(180deg, rgba(6, 19, 26, .97), rgba(6, 19, 26, .86));
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(30, 77, 60, .75);
}
.xl-header__inner {
  width: min(1320px, calc(100% - (var(--xl-gutter) * 2)));
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.4vw, 36px);
  padding-block: clamp(12px, 1.7vw, 20px);
  transition: padding-block .2s ease;
}
.xl-header[data-scrolled="true"] .xl-header__inner { padding-block: 8px; }

.xl-brand { display: flex; flex-direction: column; gap: 2px; flex: 0 0 auto; }
.xl-brand__mark {
  font-family: var(--xl-font-display);
  font-weight: 900;
  font-size: var(--xl-fs-20);
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--xl-white);
  transition: color .16s ease;
}
.xl-brand:hover .xl-brand__mark { color: var(--xl-cyan); }
.xl-brand__abbr { display: none; }
.xl-header[data-scrolled="true"] .xl-brand__full { display: none; }
.xl-header[data-scrolled="true"] .xl-brand__abbr { display: inline; }
.xl-brand__meta {
  display: flex; align-items: center; gap: 7px;
  font-family: var(--xl-font-mono);
  font-size: var(--xl-fs-12);
  letter-spacing: .02em;
  color: var(--xl-silver);
  transition: opacity .2s ease, transform .2s ease;
}
.xl-header[data-scrolled="true"] .xl-brand__meta { opacity: 0; transform: translateY(-6px); }
.xl-brand__pulse {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--xl-cyan);
  box-shadow: 0 0 0 3px rgba(56, 242, 200, .16);
  flex: 0 0 auto;
}

.xl-nav { display: flex; align-items: center; gap: clamp(6px, 1.2vw, 16px); margin-left: auto; }
.xl-nav__list { display: flex; align-items: center; gap: clamp(2px, .7vw, 8px); }
.xl-nav__link {
  position: relative;
  display: inline-block;
  padding: 8px 11px;
  border-radius: var(--xl-pill);
  font-size: var(--xl-fs-16);
  font-weight: 600;
  color: var(--xl-silver);
  transition: color .16s ease, background-color .16s ease;
}
.xl-nav__link:hover { color: var(--xl-white); background: rgba(56, 242, 200, .09); }
.xl-nav__link[aria-current="page"] { color: var(--xl-cyan); }
.xl-nav__link[aria-current="page"]::after {
  content: ""; position: absolute; left: 11px; right: 11px; bottom: 2px;
  height: 2px; border-radius: 2px; background: var(--xl-cyan);
}
.xl-nav__cta { margin-left: clamp(6px, 1vw, 14px); }

.xl-nav-toggle {
  display: none;
  align-items: center; gap: 8px;
  margin-left: auto;
  padding: 9px 16px;
  border-radius: var(--xl-pill);
  border: 1px solid var(--xl-edge);
  color: var(--xl-cyan);
  font-family: var(--xl-font-mono);
  font-size: var(--xl-fs-12);
  letter-spacing: .06em;
}
.xl-nav-toggle__bars { position: relative; display: block; width: 16px; height: 10px; }
.xl-nav-toggle__bars::before,
.xl-nav-toggle__bars::after {
  content: ""; position: absolute; left: 0; right: 0; height: 2px;
  border-radius: 2px; background: currentColor;
  transition: transform .18s ease;
}
.xl-nav-toggle__bars::before { top: 0; }
.xl-nav-toggle__bars::after { bottom: 0; }
.xl-nav-toggle[aria-expanded="true"] .xl-nav-toggle__bars::before { transform: translateY(4px) rotate(45deg); }
.xl-nav-toggle[aria-expanded="true"] .xl-nav-toggle__bars::after { transform: translateY(-4px) rotate(-45deg); }

.xl-progress { position: relative; height: 3px; background: rgba(56, 242, 200, .08); overflow: hidden; }
.xl-progress__bar {
  display: block; width: 100%; height: 100%;
  transform: scaleX(0); transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--xl-cyan), var(--xl-orange));
  transition: transform .12s linear;
}

@media (max-width: 1120px) {
  .xl-nav__link { font-size: var(--xl-fs-13); padding: 8px 8px; }
  .xl-nav__link[aria-current="page"]::after { left: 8px; right: 8px; }
}
@media (max-width: 900px) {
  .xl-nav-toggle { display: inline-flex; }
  .xl-brand__meta { display: none; }
  .xl-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    margin: 0;
    padding-inline: clamp(18px, 4vw, 28px);
    background: linear-gradient(180deg, #0B2B22, #06131A);
    border-bottom: 1px solid var(--xl-edge);
    border-radius: 0 0 var(--xl-radius-lg) var(--xl-radius-lg);
    box-shadow: var(--xl-shadow);
    max-height: 0; overflow: hidden;
    visibility: hidden; opacity: 0;
    transition: max-height .26s ease, opacity .2s ease, visibility 0s linear .26s;
  }
  .xl-nav[data-open="true"] {
    max-height: min(78vh, 560px);
    overflow-y: auto;
    visibility: visible; opacity: 1;
    padding-block: 10px 24px;
    transition-delay: 0s;
  }
  .xl-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .xl-nav__item { border-bottom: 1px dashed rgba(159, 179, 176, .22); }
  .xl-nav__link {
    display: block;
    padding: 15px 4px;
    border-radius: 0;
    font-size: var(--xl-fs-20);
    color: var(--xl-white);
  }
  .xl-nav__link:hover { background: none; color: var(--xl-cyan); }
  .xl-nav__link[aria-current="page"]::after { left: 4px; right: auto; width: 26px; bottom: 11px; }
  .xl-nav__cta { margin: 18px 0 0; justify-content: center; width: 100%; }
}

/* --- 7. 按钮 ------------------------------------------------------------- */
.xl-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 22px;
  border-radius: var(--xl-pill);
  font-size: var(--xl-fs-13);
  font-weight: 700;
  letter-spacing: .04em;
  white-space: nowrap;
  transition: transform .16s ease, background-color .16s ease, color .16s ease, border-color .16s ease;
}
.xl-btn--primary { background: var(--xl-orange); color: #1B0A02; }
.xl-btn--primary:hover { background: #FF7440; transform: translateY(-1px); }
.xl-btn--ghost { border: 1px solid var(--xl-edge); color: var(--xl-cyan); }
.xl-btn--ghost:hover { border-color: var(--xl-cyan); background: rgba(56, 242, 200, .1); }
.xl-btn--quiet { padding-inline: 4px; color: var(--xl-cyan); }
.xl-btn--quiet:hover { color: var(--xl-white); }

.xl-link { color: var(--xl-cyan); text-decoration: underline; text-underline-offset: 3px; }
.xl-link:hover { color: var(--xl-orange); }
.xl-meta {
  font-family: var(--xl-font-mono);
  font-size: var(--xl-fs-12);
  letter-spacing: .04em;
  color: var(--xl-silver);
}
.xl-meta__icp { color: var(--xl-cyan); }

/* --- 8. 章节 / 正文 ------------------------------------------------------ */
.xl-section { padding-block: clamp(40px, 7vw, 88px); }
.xl-section--tight { padding-block: clamp(24px, 4vw, 48px); }
.xl-section__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 18px; margin-bottom: 14px; }
.xl-section__num {
  font-family: var(--xl-font-mono);
  font-size: var(--xl-fs-13);
  letter-spacing: .2em;
  color: var(--xl-orange);
}
.xl-band {
  height: 3px; border-radius: var(--xl-pill);
  background: linear-gradient(90deg, var(--xl-cyan), var(--xl-orange));
  margin-bottom: clamp(18px, 2.6vw, 32px);
}
.xl-lede { max-width: 56ch; font-size: var(--xl-fs-20); line-height: 1.7; color: var(--xl-silver); }
.xl-prose { max-width: 64ch; font-size: var(--xl-fs-16); line-height: 1.75; }
.xl-prose p + p { margin-top: 1em; }
.xl-prose h2, .xl-prose h3 { font-family: var(--xl-font-editorial); font-weight: 600; letter-spacing: 0; margin-bottom: .4em; }
.xl-editorial {
  background: var(--xl-cream);
  color: var(--xl-ink);
  border-radius: var(--xl-radius-lg);
  padding: clamp(22px, 4vw, 54px);
}
.xl-editorial h1, .xl-editorial h2, .xl-editorial h3 { color: var(--xl-ink); }
.xl-editorial .xl-section__num { color: #A8390A; }
.xl-editorial .xl-lede { color: rgba(36, 26, 21, .78); }
.xl-editorial .xl-band { background: linear-gradient(90deg, #A8390A, var(--xl-orange)); }

/* --- 9. 数据组件 --------------------------------------------------------- */
.xl-score__value, .xl-stat__value, .xl-version__value, .xl-version__no {
  font-family: var(--xl-font-mono);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}
.xl-score { display: flex; align-items: center; gap: 14px; }
.xl-score__team { font-size: var(--xl-fs-20); font-weight: 700; }
.xl-score__value { font-size: var(--xl-fs-64); line-height: 1; color: var(--xl-white); }
.xl-stat { display: flex; flex-direction: column; gap: 4px; }
.xl-stat__value { font-size: var(--xl-fs-28); line-height: 1.1; color: var(--xl-orange); }
.xl-stat__label { font-size: var(--xl-fs-13); color: var(--xl-silver); }

/* --- 10. 标签 / 筛选 ----------------------------------------------------- */
.xl-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 15px;
  border-radius: var(--xl-pill);
  border: 1px solid var(--xl-edge);
  font-family: var(--xl-font-mono);
  font-size: var(--xl-fs-12);
  letter-spacing: .04em;
  color: var(--xl-silver);
  transition: color .16s ease, border-color .16s ease, background-color .16s ease, transform .16s ease;
}
.xl-chip:hover { color: var(--xl-white); border-color: var(--xl-cyan); }
.xl-chip[aria-pressed="true"] {
  background: rgba(56, 242, 200, .14);
  border-color: var(--xl-cyan);
  color: var(--xl-cyan);
}

/* --- 11. 侧栏章节导航 / 面包屑 ------------------------------------------- */
.xl-rail { position: sticky; top: 110px; align-self: start; }
.xl-rail__list { display: grid; gap: 4px; border-left: 1px solid var(--xl-edge); }
.xl-rail__link {
  display: block;
  padding: 8px 0 8px 16px;
  font-size: var(--xl-fs-13);
  color: var(--xl-silver);
  border-left: 2px solid transparent;
  margin-left: -1px;
  transition: color .16s ease, border-color .16s ease;
}
.xl-rail__link:hover { color: var(--xl-white); }
.xl-rail__link[aria-current="true"] { color: var(--xl-cyan); border-left-color: var(--xl-cyan); }

.xl-crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-family: var(--xl-font-mono); font-size: var(--xl-fs-12); color: var(--xl-silver); }
.xl-crumbs__item + .xl-crumbs__item::before { content: "/"; margin-right: 8px; color: rgba(159, 179, 176, .5); }
.xl-crumbs__item a:hover { color: var(--xl-cyan); }

/* --- 12. 图片容器 -------------------------------------------------------- */
.xl-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--xl-radius-lg);
  border: 1px solid var(--xl-edge);
  background: linear-gradient(155deg, var(--xl-pitch) 0%, var(--xl-night) 55%, var(--xl-deep) 100%);
  isolation: isolate;
}
.xl-frame > img { width: 100%; height: 100%; object-fit: cover; }
.xl-frame--wide { aspect-ratio: 16 / 9; }
.xl-frame--tall { aspect-ratio: 3 / 4; }
.xl-frame--square { aspect-ratio: 1 / 1; }
.xl-frame--band { aspect-ratio: 21 / 9; }
.xl-frame--net::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(56, 242, 200, .18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 242, 200, .18) 1px, transparent 1px);
  background-size: 38px 38px;
  opacity: .55;
  mix-blend-mode: screen;
}
.xl-frame__cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 16px 18px;
  font-family: var(--xl-font-mono);
  font-size: var(--xl-fs-12);
  color: var(--xl-white);
  background: linear-gradient(0deg, rgba(6, 19, 26, .92), transparent);
}

/* --- 13. 动效钩子 -------------------------------------------------------- */
.xl-js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s ease, transform .55s cubic-bezier(.22, .61, .36, 1);
}
.xl-js [data-reveal].is-in { opacity: 1; transform: none; }
.xl-js .xl-band[data-reveal] { transform: scaleX(0); transform-origin: left center; transition: transform .7s cubic-bezier(.22, .61, .36, 1); }
.xl-js .xl-band[data-reveal].is-in { transform: scaleX(1); }

/* --- 14. 页脚 ------------------------------------------------------------ */
.xl-footer {
  position: relative;
  margin-top: clamp(48px, 8vw, 110px);
  background: linear-gradient(180deg, #0B2B22 0%, #08211B 70%, #06131A 100%);
  color: var(--xl-white);
}
.xl-footer__splice {
  height: 6px;
  background: linear-gradient(90deg, var(--xl-cyan), var(--xl-orange) 55%, var(--xl-deep));
}
.xl-footer__inner { padding-block: clamp(32px, 5vw, 64px); }
.xl-footer__top {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 22px;
  padding-bottom: clamp(20px, 3vw, 32px);
  margin-bottom: clamp(24px, 4vw, 44px);
  border-bottom: 1px solid rgba(30, 77, 60, .9);
}
.xl-footer__mark { font-size: var(--xl-fs-28); font-weight: 900; letter-spacing: -0.02em; }
.xl-footer__line { font-family: var(--xl-font-mono); font-size: var(--xl-fs-12); color: var(--xl-silver); }

.xl-footer__grid { display: grid; gap: clamp(26px, 3.4vw, 48px); grid-template-columns: 1fr; }
@media (min-width: 720px) { .xl-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .xl-footer__grid { grid-template-columns: 1.1fr .9fr 1.2fr; } }

.xl-footer__title {
  font-family: var(--xl-font-mono);
  font-size: var(--xl-fs-12);
  font-weight: 500;
  letter-spacing: .18em;
  color: var(--xl-cyan);
  margin-bottom: 16px;
}
.xl-footer__links { display: grid; gap: 10px; }
.xl-footer__links a { color: rgba(247, 251, 250, .84); font-size: var(--xl-fs-16); }
.xl-footer__links a:hover { color: var(--xl-cyan); }
.xl-footer__inline {
  display: inline-block;
  margin-top: 14px;
  font-family: var(--xl-font-mono);
  font-size: var(--xl-fs-12);
  color: var(--xl-cyan);
  border-bottom: 1px dashed rgba(56, 242, 200, .5);
}
.xl-footer__inline:hover { color: var(--xl-orange); border-bottom-color: var(--xl-orange); }

.xl-version__toggle {
  display: flex; align-items: center; gap: 12px; width: 100%;
  padding: 12px 18px;
  border-radius: var(--xl-radius-md);
  border: 1px solid var(--xl-edge);
  background: rgba(6, 19, 26, .5);
  transition: border-color .16s ease, background-color .16s ease;
}
.xl-version__toggle:hover { border-color: var(--xl-cyan); background: rgba(56, 242, 200, .07); }
.xl-version__label { font-size: var(--xl-fs-12); color: var(--xl-silver); }
.xl-version__value { font-size: var(--xl-fs-16); color: var(--xl-white); margin-left: auto; }
.xl-version__caret {
  width: 8px; height: 8px; flex: 0 0 auto;
  border-right: 2px solid var(--xl-cyan);
  border-bottom: 2px solid var(--xl-cyan);
  transform: rotate(45deg);
  transition: transform .18s ease;
}
.xl-version__toggle[aria-expanded="true"] .xl-version__caret { transform: rotate(-135deg); }
.xl-version__list { display: grid; gap: 6px; margin-top: 12px; }
.xl-version__row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 8px 18px;
  border-radius: var(--xl-radius-sm);
  background: rgba(18, 58, 90, .28);
  font-size: var(--xl-fs-13);
}
.xl-version__no { color: var(--xl-white); }
.xl-version__note { font-size: var(--xl-fs-12); color: var(--xl-silver); }

.xl-contact { display: grid; gap: 12px; }
.xl-contact__row { display: flex; gap: 12px; align-items: baseline; }
.xl-contact__row--block { align-items: flex-start; }
.xl-contact__key {
  flex: 0 0 3.2em;
  font-size: var(--xl-fs-12);
  color: var(--xl-silver);
}
.xl-contact__val {
  font-family: var(--xl-font-mono);
  font-size: var(--xl-fs-13);
  color: rgba(247, 251, 250, .92);
  word-break: break-word;
}
.xl-contact__row--block .xl-contact__val {
  font-family: var(--xl-font-body);
  line-height: 1.65;
}
.xl-contact__note {
  font-size: var(--xl-fs-12);
  line-height: 1.7;
  color: var(--xl-silver);
  border-left: 2px solid var(--xl-edge);
  padding-left: 12px;
}
.xl-footer .xl-btn--ghost { margin-top: 18px; }

.xl-footer__legal { background: var(--xl-cream); color: var(--xl-ink); border-radius: var(--xl-radius-lg) var(--xl-radius-lg) 0 0; }
.xl-footer__legal-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 12px 24px;
  padding-block: 22px;
}
.xl-footer__legal .xl-meta { color: rgba(36, 26, 21, .78); }
.xl-footer__legal .xl-meta__icp { color: #A8390A; }
.xl-legal-links { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: var(--xl-fs-13); }
.xl-legal-links a { color: rgba(36, 26, 21, .82); border-bottom: 1px solid rgba(36, 26, 21, .28); }
.xl-legal-links a:hover { color: #A8390A; border-bottom-color: #A8390A; }

/* --- 15. 返回顶部 -------------------------------------------------------- */
.xl-totop {
  position: fixed; right: clamp(14px, 3vw, 32px); bottom: clamp(14px, 3vw, 32px); z-index: 70;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px;
  border-radius: var(--xl-pill);
  border: 1px solid var(--xl-cyan);
  background: rgba(11, 43, 34, .94);
  color: var(--xl-cyan);
  font-family: var(--xl-font-mono);
  font-size: var(--xl-fs-12);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  opacity: 0; transform: translateY(12px); pointer-events: none;
  transition: opacity .2s ease, transform .2s ease, background-color .2s ease, color .2s ease;
}
.xl-totop[data-visible="true"] { opacity: 1; transform: none; pointer-events: auto; }
.xl-totop:hover { background: var(--xl-cyan); color: #04211A; }
.xl-totop__arrow { font-size: var(--xl-fs-13); line-height: 1; }

/* --- 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;
  }
  .xl-js [data-reveal] { opacity: 1 !important; transform: none !important; }
  .xl-js .xl-band[data-reveal] { transform: none !important; }
}
