/* =========================================================
   XBET体育 · 全站共享样式 /assets/site.css
   午夜深蓝主场 + 暖纸插页 · 切角面板 · 等宽数字
   ========================================================= */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 130px;
}

body { margin: 0; }

h1, h2, h3, h4, h5, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }

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

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

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

table { border-collapse: collapse; }

/* ---------- 2. tokens ---------- */
:root {
  /* 色彩体系 */
  --xb-midnight: #0B1226;
  --xb-panel: #131C38;
  --xb-paper: #F4EFE6;
  --xb-ink: #1B1F2A;
  --xb-cyan: #29F2D6;
  --xb-orange: #FF6A2B;
  --xb-silver: #C3CBD9;
  --xb-slate: #6C7A93;
  --xb-red: #E23C4A;
  --xb-green: #3FD07A;

  /* 字体 */
  --xb-display: "Archivo Black", "Noto Sans SC", "PingFang SC", sans-serif;
  --xb-body: "Inter", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --xb-mono: "JetBrains Mono", "Roboto Mono", ui-monospace, monospace;

  /* 尺度 */
  --xb-shell: 1240px;
  --xb-gutter: clamp(16px, 4vw, 40px);
  --xb-cut: 22px;
  --xb-ease: cubic-bezier(.2, .7, .3, 1);
  --xb-line: rgba(195, 203, 217, .14);
  --xb-line-soft: rgba(195, 203, 217, .08);
}

/* ---------- 3. base ---------- */
body {
  background: var(--xb-midnight);
  color: var(--xb-silver);
  font-family: var(--xb-body);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.85;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection {
  background: var(--xb-cyan);
  color: var(--xb-midnight);
}

h1, h2, h3, h4 {
  font-family: var(--xb-display);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -.01em;
  color: var(--xb-paper);
}

h1 { font-size: clamp(38px, 6vw, 104px); }
h2 { font-size: clamp(28px, 4vw, 52px); }
h3 { font-size: clamp(20px, 2.4vw, 28px); }

code, kbd, samp, .xb-mono {
  font-family: var(--xb-mono);
  font-variant-numeric: tabular-nums;
}

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

/* ---------- 4. 可访问基础 ---------- */
a:focus-visible,
button:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--xb-cyan);
  outline-offset: 3px;
  border-radius: 2px;
}

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

/* ---------- 5. 容器与网格 ---------- */
.xb-shell {
  width: 100%;
  max-width: var(--xb-shell);
  margin-inline: auto;
  padding-inline: var(--xb-gutter);
}

.xb-grid { display: grid; gap: clamp(16px, 2.4vw, 28px); }
.xb-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.xb-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.xb-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.xb-section {
  position: relative;
  padding-block: clamp(56px, 8vw, 104px);
}

.xb-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--xb-mono);
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--xb-slate);
}

.xb-eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  flex: none;
  background: var(--xb-orange);
}

.xb-section__num {
  display: block;
  font-family: var(--xb-mono);
  font-weight: 700;
  font-size: clamp(36px, 6vw, 64px);
  line-height: .9;
  letter-spacing: -.03em;
  color: var(--xb-orange);
}

.xb-section__title {
  font-family: var(--xb-display);
  font-size: clamp(28px, 4vw, 52px);
  line-height: 1.1;
  color: var(--xb-paper);
  margin-top: 10px;
}

/* ---------- 6. 品牌标记 ---------- */
.xb-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
  font-family: var(--xb-display);
  font-size: 19px;
  letter-spacing: .07em;
  color: var(--xb-paper);
  text-transform: uppercase;
}

.xb-brand__mark {
  position: relative;
  display: block;
  width: 24px;
  height: 24px;
  flex: none;
  background: var(--xb-orange);
  clip-path: polygon(0 0, 100% 0, 100% 62%, 62% 100%, 0 100%);
}

.xb-brand__mark::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 34%;
  background: var(--xb-cyan);
  opacity: .92;
}

.xb-brand__name { display: inline-flex; align-items: baseline; }

.xb-brand__cn {
  font-family: var(--xb-body);
  font-weight: 700;
  font-size: .82em;
  letter-spacing: .12em;
  margin-left: 4px;
  color: var(--xb-cyan);
}

.xb-brand--footer { font-size: 18px; }

/* ---------- 7. 头部 ---------- */
.xb-header {
  position: sticky;
  top: 0;
  z-index: 120;
  background: var(--xb-midnight);
  isolation: isolate;
}

.xb-skip {
  position: absolute;
  top: -70px;
  left: var(--xb-gutter);
  z-index: 200;
  padding: 10px 18px;
  background: var(--xb-cyan);
  color: var(--xb-midnight);
  font-family: var(--xb-mono);
  font-size: 13px;
  font-weight: 700;
  transition: top .18s var(--xb-ease);
}

.xb-skip:focus { top: 12px; }

/* 阅读进度条 */
.xb-progress {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2px;
  overflow: hidden;
  pointer-events: none;
  z-index: 6;
}

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

/* 上层：品牌署名与更新承诺 */
.xb-header__top {
  background: var(--xb-midnight);
  border-bottom: 1px solid var(--xb-line-soft);
}

.xb-header__top-inner {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.6vw, 34px);
  min-height: 58px;
}

.xb-header__promise {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-inline: auto;
  font-family: var(--xb-mono);
  font-size: 12px;
  letter-spacing: .05em;
  color: var(--xb-slate);
  white-space: nowrap;
}

.xb-header__promise b {
  color: var(--xb-cyan);
  font-weight: 700;
}

.xb-pulse {
  position: relative;
  width: 7px;
  height: 7px;
  flex: none;
  border-radius: 50%;
  background: var(--xb-green);
  animation: xb-pulse 2.4s var(--xb-ease) infinite;
}

@keyframes xb-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(63, 208, 122, .55); }
  70%  { box-shadow: 0 0 0 8px rgba(63, 208, 122, 0); }
  100% { box-shadow: 0 0 0 0 rgba(63, 208, 122, 0); }
}

.xb-header__meta {
  display: flex;
  align-items: center;
  gap: 20px;
  font-family: var(--xb-mono);
  font-size: 12.5px;
  white-space: nowrap;
}

.xb-header__meta a {
  padding-block: 4px;
  color: var(--xb-silver);
  border-bottom: 1px solid transparent;
  transition: color .15s var(--xb-ease), border-color .15s var(--xb-ease);
}

.xb-header__meta a:hover {
  color: var(--xb-cyan);
  border-bottom-color: var(--xb-cyan);
}

/* 下层：栏目索引 */
.xb-header__bar {
  background: var(--xb-panel);
  border-bottom: 1px solid var(--xb-line);
}

.xb-header__bar-inner {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 30px);
  min-height: 54px;
}

.xb-header__index {
  font-family: var(--xb-mono);
  font-size: 11px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--xb-slate);
  white-space: nowrap;
  flex: none;
}

.xb-nav {
  display: flex;
  align-items: center;
  min-width: 0;
  flex: 1;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.xb-nav::-webkit-scrollbar { display: none; }

.xb-nav__list {
  display: flex;
  align-items: center;
  gap: clamp(2px, 1vw, 16px);
  flex-wrap: nowrap;
}

.xb-nav__list a {
  position: relative;
  display: inline-block;
  padding: 15px 10px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--xb-silver);
  white-space: nowrap;
  transition: color .15s var(--xb-ease);
}

.xb-nav__list a::after {
  content: "";
  position: absolute;
  left: 10px; right: 10px; bottom: 8px;
  height: 2px;
  background: var(--xb-cyan);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .18s var(--xb-ease), background-color .18s var(--xb-ease);
}

.xb-nav__list a:hover { color: var(--xb-paper); }
.xb-nav__list a:hover::after { transform: scaleX(1); }

.xb-nav__list a[aria-current="page"] { color: var(--xb-cyan); }

.xb-nav__list a[aria-current="page"]::after {
  transform: scaleX(1);
  background: var(--xb-orange);
}

/* 移动开关按钮 */
.xb-nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--xb-mono);
  font-size: 12.5px;
  letter-spacing: .12em;
  color: var(--xb-silver);
}

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

.xb-nav-toggle__bars::before,
.xb-nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  background: currentColor;
  transition: transform .2s var(--xb-ease);
}

.xb-nav-toggle__bars::before { top: 0; }
.xb-nav-toggle__bars::after { bottom: 0; }

.xb-header[data-open] .xb-nav-toggle { color: var(--xb-cyan); }
.xb-header[data-open] .xb-nav-toggle__bars::before { transform: translateY(5px) rotate(45deg); }
.xb-header[data-open] .xb-nav-toggle__bars::after { transform: translateY(-5px) rotate(-45deg); }

/* 遮罩与快捷栏（默认桌面隐藏） */
.xb-scrim { display: none; }
.xb-quickbar { display: none; }

/* ---------- 8. 页脚 ---------- */
.xb-footer {
  position: relative;
  margin-top: clamp(40px, 6vw, 80px);
  background: var(--xb-midnight);
  color: var(--xb-silver);
  padding-top: clamp(48px, 7vw, 84px);
  overflow: hidden;
}

.xb-footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--xb-cyan), var(--xb-orange) 58%, rgba(255, 106, 43, 0));
}

.xb-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.45fr 1fr;
  gap: clamp(26px, 4vw, 56px);
}

.xb-footer__col { min-width: 0; }

.xb-footer__tagline {
  margin-top: 16px;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--xb-slate);
  max-width: 30em;
}

.xb-footer__stamp {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 16px;
  font-family: var(--xb-mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--xb-green);
}

.xb-footer__title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-family: var(--xb-mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--xb-slate);
}

.xb-footer__title::before {
  content: "";
  width: 16px;
  height: 2px;
  flex: none;
  background: var(--xb-orange);
}

.xb-footer__list {
  display: grid;
  gap: 10px;
  font-size: 14.5px;
}

.xb-footer__list a {
  display: inline-block;
  color: var(--xb-silver);
  transition: color .15s var(--xb-ease), transform .15s var(--xb-ease);
}

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

.xb-contactlist {
  display: grid;
  gap: 14px;
}

.xb-contactlist__label {
  display: block;
  margin-bottom: 4px;
  font-family: var(--xb-mono);
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--xb-slate);
}

.xb-contactlist__value {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-family: var(--xb-mono);
  font-size: 13px;
  line-height: 1.6;
  color: var(--xb-paper);
  word-break: break-all;
}

.xb-contactlist__value--text {
  font-family: var(--xb-body);
  font-size: 13.5px;
  color: var(--xb-silver);
  word-break: normal;
}

.xb-copy {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  font-family: var(--xb-mono);
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--xb-cyan);
  border: 1px solid rgba(41, 242, 214, .42);
  clip-path: polygon(0 0, 100% 0, 100% 66%, 66% 100%, 0 100%);
  transition: background-color .15s var(--xb-ease), color .15s var(--xb-ease), border-color .15s var(--xb-ease);
}

.xb-copy:hover { background: rgba(41, 242, 214, .12); }

.xb-copy[data-copied] {
  color: var(--xb-green);
  border-color: rgba(63, 208, 122, .55);
  background: rgba(63, 208, 122, .1);
}

.xb-footer__note {
  margin-top: 14px;
  font-size: 12.5px;
  line-height: 1.75;
  color: var(--xb-slate);
  max-width: 30em;
}

.xb-footer__icp {
  margin-top: 16px;
  font-family: var(--xb-mono);
  font-size: 12.5px;
  letter-spacing: .04em;
  color: var(--xb-silver);
}

.xb-footer__region {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  font-family: var(--xb-mono);
  font-size: 12px;
  color: var(--xb-slate);
}

.xb-dot {
  width: 6px;
  height: 6px;
  flex: none;
  background: var(--xb-orange);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}

.xb-footer__base {
  margin-top: clamp(34px, 5vw, 60px);
  border-top: 1px solid var(--xb-line);
  padding-block: 22px;
}

.xb-footer__base-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 26px;
  font-family: var(--xb-mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--xb-slate);
}

.xb-footer__copy { margin: 0; }
.xb-footer__base-note { margin: 0; }

/* ---------- 9. 按钮 ---------- */
.xb-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 24px;
  font-family: var(--xb-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--xb-midnight);
  background: var(--xb-cyan);
  border-radius: 3px;
  transition: transform .15s var(--xb-ease), background-color .15s var(--xb-ease), color .15s var(--xb-ease);
}

.xb-btn:hover {
  transform: translateY(-2px);
  background: #4ffbe2;
}

.xb-btn--ghost {
  background: transparent;
  color: var(--xb-cyan);
  box-shadow: inset 0 0 0 1px rgba(41, 242, 214, .45);
}

.xb-btn--ghost:hover {
  background: rgba(41, 242, 214, .12);
  color: var(--xb-cyan);
}

.xb-btn--orange {
  background: var(--xb-orange);
  color: #1a0a02;
}

.xb-btn--orange:hover { background: #ff824f; }

/* ---------- 10. 面包屑 ---------- */
.xb-crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--xb-mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--xb-slate);
}

.xb-crumbs a {
  color: var(--xb-silver);
  transition: color .15s var(--xb-ease);
}

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

.xb-crumbs__sep {
  color: rgba(195, 203, 217, .32);
}

/* ---------- 11. 正文容器 ---------- */
.xb-prose {
  max-width: 38rem;
  font-size: 17.5px;
  line-height: 1.9;
  color: var(--xb-silver);
}

.xb-prose p {
  max-width: 34em;
  margin-block: 1.05em;
}

.xb-prose h2,
.xb-prose h3 {
  margin-top: 1.9em;
  margin-bottom: .6em;
}

.xb-prose ul,
.xb-prose ol {
  max-width: 34em;
  margin-block: 1.1em;
  padding-left: 1.2em;
  list-style: disc;
}

.xb-prose ol { list-style: decimal; }
.xb-prose li { margin-block: .45em; }

.xb-prose a {
  color: var(--xb-cyan);
  border-bottom: 1px solid rgba(41, 242, 214, .4);
}

.xb-sheet {
  background: var(--xb-paper);
  color: var(--xb-ink);
}

.xb-sheet h1,
.xb-sheet h2,
.xb-sheet h3,
.xb-sheet h4 { color: var(--xb-ink); }

.xb-sheet .xb-prose { color: var(--xb-ink); }

.xb-sheet .xb-prose a {
  color: #b8410f;
  border-bottom-color: rgba(184, 65, 15, .45);
}

.xb-sheet .xb-eyebrow,
.xb-sheet .xb-header__index { color: #6a6f7d; }

/* ---------- 12. 切角面板 · 卡片 ---------- */
.xb-panel {
  position: relative;
  display: block;
  padding: clamp(20px, 3vw, 32px);
  background: var(--xb-panel);
  border: 1px solid var(--xb-line);
  clip-path: polygon(0 0, calc(100% - var(--xb-cut)) 0, 100% var(--xb-cut), 100% 100%, 0 100%);
  transition: transform .15s var(--xb-ease), border-color .15s var(--xb-ease), background-color .15s var(--xb-ease);
}

.xb-panel:hover,
.xb-panel:focus-within {
  transform: translateY(-4px);
  border-color: rgba(41, 242, 214, .45);
  background: #16203f;
}

.xb-panel__meta {
  display: block;
  font-family: var(--xb-mono);
  font-size: 11.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--xb-slate);
}

.xb-panel__title {
  margin-top: 10px;
  font-family: var(--xb-display);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.3;
  color: var(--xb-paper);
}

.xb-panel__text {
  margin-top: 10px;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--xb-slate);
}

/* ---------- 13. 数据条带与统计 ---------- */
.xb-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(18px, 3.4vw, 52px);
  padding: clamp(16px, 2.2vw, 22px) clamp(18px, 3vw, 34px);
  background: var(--xb-panel);
  border-block: 1px solid var(--xb-line);
}

.xb-stat { min-width: 0; }

.xb-stat__num {
  display: block;
  font-family: var(--xb-mono);
  font-weight: 700;
  font-size: clamp(26px, 3.6vw, 42px);
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--xb-cyan);
  font-variant-numeric: tabular-nums;
}

.xb-stat__label {
  display: block;
  margin-top: 6px;
  font-family: var(--xb-mono);
  font-size: 11.5px;
  letter-spacing: .16em;
  color: var(--xb-slate);
}

/* ---------- 14. 图片容器 ---------- */
.xb-figure {
  margin: 0;
  display: block;
}

.xb-figure__frame {
  position: relative;
  overflow: hidden;
  background: var(--xb-panel);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--xb-cut)), calc(100% - var(--xb-cut)) 100%, 0 100%);
}

.xb-figure__frame img,
.xb-figure__frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.xb-figure--21x9 .xb-figure__frame { aspect-ratio: 21 / 9; }
.xb-figure--16x9 .xb-figure__frame { aspect-ratio: 16 / 9; }
.xb-figure--4x3  .xb-figure__frame { aspect-ratio: 4 / 3; }
.xb-figure--1x1  .xb-figure__frame { aspect-ratio: 1 / 1; }

.xb-figure figcaption {
  margin-top: 10px;
  font-family: var(--xb-mono);
  font-size: 12px;
  line-height: 1.7;
  color: var(--xb-slate);
}

/* ---------- 15. 响应式 ---------- */
@media (max-width: 1080px) {
  .xb-footer__grid { grid-template-columns: 1fr 1fr; }
  .xb-header__promise { font-size: 11.5px; }
}

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

@media (max-width: 880px) {
  html { scroll-padding-top: 74px; }

  body { padding-bottom: calc(62px + env(safe-area-inset-bottom, 0px)); }

  .xb-header__top-inner { min-height: 54px; }

  .xb-header__promise {
    margin-inline: auto 0;
    font-size: 11px;
  }

  .xb-header__meta { display: none; }

  /* 下线栏 → 右侧抽屉 */
  .xb-header__bar { display: none; }

  .xb-nav {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    z-index: 160;
    width: min(84vw, 330px);
    display: block;
    padding: 78px 0 calc(88px + env(safe-area-inset-bottom, 0px));
    background: var(--xb-panel);
    border-left: 1px solid rgba(41, 242, 214, .3);
    overflow-y: auto;
    overflow-x: hidden;
    transform: translateX(102%);
    visibility: hidden;
    transition: transform .26s var(--xb-ease), visibility .26s var(--xb-ease);
  }

  .xb-header[data-open] .xb-nav {
    transform: translateX(0);
    visibility: visible;
  }

  .xb-nav__list {
    display: block;
    width: 100%;
  }

  .xb-nav__list a {
    display: block;
    padding: 15px 22px;
    font-size: 17px;
    border-bottom: 1px solid var(--xb-line-soft);
  }

  .xb-nav__list a::after { display: none; }

  .xb-nav__list a[aria-current="page"] {
    color: var(--xb-cyan);
    background: rgba(41, 242, 214, .06);
    box-shadow: inset 3px 0 0 var(--xb-orange);
  }

  .xb-scrim {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 150;
    background: rgba(11, 18, 38, .74);
    opacity: 0;
    pointer-events: none;
    transition: opacity .26s var(--xb-ease);
  }

  .xb-header[data-open] .xb-scrim {
    opacity: 1;
    pointer-events: auto;
  }

  /* 底部快捷栏 */
  .xb-quickbar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 140;
    background: var(--xb-panel);
    border-top: 1px solid rgba(41, 242, 214, .28);
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }

  .xb-quickbar__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 15px 4px;
    font-family: var(--xb-mono);
    font-size: 12.5px;
    letter-spacing: .06em;
    color: var(--xb-silver);
    border-right: 1px solid var(--xb-line-soft);
    transition: color .15s var(--xb-ease);
  }

  .xb-quickbar__btn:last-child { border-right: 0; }
  .xb-quickbar__btn:hover,
  .xb-quickbar__btn:active { color: var(--xb-cyan); }

  .xb-nav-toggle { display: flex; }

  .xb-footer { margin-top: 48px; }
}

@media (max-width: 620px) {
  h1 { font-size: clamp(34px, 9vw, 46px); }
  .xb-footer__grid { grid-template-columns: 1fr; }
  .xb-grid--2,
  .xb-grid--3,
  .xb-grid--4 { grid-template-columns: minmax(0, 1fr); }
  .xb-header__promise span:not(.xb-pulse) { display: none; }
  .xb-band { gap: 20px; }
}

/* ---------- 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;
  }

  .xb-panel:hover,
  .xb-panel:focus-within,
  .xb-btn:hover { transform: none; }
}
