:root {
  --bg: #FFFFFF;
  --bg-panel: #F7F7F9;
  --bg-panel-2: #EFEFF3;
  --border: #E6E6EB;
  --border-strong: #D8D8DF;
  --accent: #7B2FF7;
  --accent-dark: #5A17C9;
  --accent-soft: rgba(123,47,247,.08);
  --accent-line: rgba(123,47,247,.30);
  --grad-pink: #F2468F;
  --grad-sky: #3BA8F7;
  --text: #17171C;
  --text-muted: #63636E;
  --text-faint: #63636E;
  --decoration: #9B9BA6;
  --success: #1F9D5C;
  --success-halo: rgba(31,157,92,.28);
  --warn: #D98A0B;
  --error: #D93A3A;
  --rail-bg: #17171C;
  --rail-ink: #ABABB6;
  --rail-chip: rgba(255,255,255,.10);
  --pipe-edge: #D9D9E0;
  --pipe-base: #E4E4EA;
  --pipe-mid: #EFEFF3;
  --pipe-hi: #FFFFFF;
  --pipe-shade: rgba(23,23,28,.13);
  --clear: rgba(255,255,255,0);
  --mask-solid: #000000;
  --mask-none: rgba(0,0,0,0);
  --veil: rgba(23,23,28,.24);
  --shadow-1: 0 1px 2px rgba(23,23,28,.04),0 10px 24px -14px rgba(23,23,28,.12);
  --shadow-1-hover: 0 2px 4px rgba(23,23,28,.05),0 16px 32px -14px rgba(23,23,28,.16);
  --shadow-win: 0 1px 2px rgba(23,23,28,.05),0 14px 32px -14px rgba(23,23,28,.14),0 48px 96px -36px rgba(23,23,28,.20);
  --shadow-float: 0 2px 4px rgba(23,23,28,.06),0 18px 36px -12px rgba(23,23,28,.20),0 44px 80px -28px rgba(23,23,28,.26);
  --shadow-btn: 0 1px 2px rgba(23,23,28,.12),0 10px 22px -10px rgba(23,23,28,.45);
  --shadow-knob: 0 1px 2px rgba(23,23,28,.22);
  --font-display: 'Inter','Noto Sans SC','PingFang SC','Hiragino Sans','Microsoft YaHei','Malgun Gothic',system-ui,sans-serif;
  --font-body: 'Inter','Noto Sans SC','PingFang SC','Hiragino Sans','Microsoft YaHei','Malgun Gothic',system-ui,sans-serif;
  --font-mono: 'JetBrains Mono',ui-monospace,'SFMono-Regular',Menlo,Consolas,monospace;
  --r-xl: 24px;
  --r-lg: 20px;
  --r-md: 16px;
  --r-sm: 12px;
  --r-xs: 8px;
  --r-tiny: 6px;
  --r-line: 2px;
  --r-round: 50%;
  --r-pill: 999px;
  --ease: cubic-bezier(.2,.7,.2,1);
  --gutter: 56px;
  --maxw: 1440px;
  --reading-width: 920px;
  --header-height: 64px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 28px; }
html.nav-open { overflow: hidden; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 15px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button, a { -webkit-tap-highlight-color: var(--clear); }
button:disabled, .btn[aria-disabled="true"] { cursor: not-allowed; opacity: .5; }
img, svg { max-width: 100%; vertical-align: middle; }
img { height: auto; }
svg { flex-shrink: 0; }
[hidden] { display: none !important; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { font-family: var(--font-display); text-wrap: balance; }
h1 { font-size: clamp(34px,3.35vw,48px); line-height: 1.13; font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(26px,2.4vw,36px); line-height: 1.2; font-weight: 800; letter-spacing: -.02em; }
h3 { font-size: 21px; line-height: 1.4; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
code, pre, kbd { font-family: var(--font-mono); }
code { overflow-wrap: anywhere; }
pre {
  max-width: 100%; min-width: 0; overflow-x: auto;
  padding: 20px; border: 1px solid var(--border); border-radius: var(--r-md);
  background: var(--bg-panel); color: var(--text); font-size: 13px; line-height: 1.85;
  overscroll-behavior-inline: contain;
}
pre code { overflow-wrap: normal; word-break: normal; white-space: pre; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: var(--r-xs); }
::selection { background: var(--accent-soft); color: var(--text); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.reading { max-width: var(--reading-width); margin-inline: auto; min-width: 0; }
.section { padding-top: 80px; padding-bottom: 80px; }
.section-head { max-width: 800px; margin: 0 auto 40px; text-align: center; }
.section-head h2 { margin: 14px 0; }
.section-head h2 span { display: block; color: var(--text-muted); }
.section-head p, .muted { color: var(--text-muted); }
.keep { white-space: nowrap; }
.eyebrow { font: 600 11.5px/1.6 var(--font-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--text-muted); }
.grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.grid > *, .hero-in > *, .facts > *, .footer-grid > *, .tab-detail > * { min-width: 0; }
.stack { display: grid; gap: 20px; }
.prose { min-width: 0; line-height: 1.9; }
.prose h2 { margin: 2.2em 0 .8em; }
.prose h3 { margin: 1.8em 0 .7em; }
.prose p, .prose li { overflow-wrap: break-word; }
.prose ul { list-style: disc; padding-left: 1.5em; margin-bottom: 1.2em; }
.prose ol { padding-left: 1.5em; margin-bottom: 1.2em; }
.prose a:not(.btn) { color: var(--accent-dark); text-decoration: underline; text-underline-offset: 3px; }
.prose :not(pre) > code { background: var(--bg-panel); color: var(--text); padding: 2px 5px; border-radius: var(--r-tiny); font-size: .88em; }
.reveal { opacity: 1; transform: none; }
html.reveal-ready .reveal:not(.shown) { opacity: 0; transform: translateY(16px); }
html.reveal-ready .reveal { transition: opacity .65s var(--ease),transform .65s var(--ease); }

/* 顶栏使用独立宽版心，不复用阅读容器。 */
#site-header, .topbar { position: relative; z-index: 50; background: var(--bg); color: var(--text); }
.topbar-in {
  max-width: min(100%,calc(1280px + var(--gutter) * 2));
  margin-inline: auto; padding-inline: var(--gutter); height: var(--header-height);
  display: flex; align-items: center; gap: 28px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; font: 700 16px/1.3 var(--font-display); letter-spacing: -.01em; }
.brand-mark { width: 30px; height: 30px; flex-shrink: 0; display: block; }
.desktop-nav { margin-left: auto; min-width: 0; }
.dotnav { display: flex; align-items: center; list-style: none; margin: 0; padding: 0; font-size: 14.5px; color: var(--text-muted); }
.dotnav li { display: flex; align-items: center; flex-shrink: 0; }
.dotnav li + li::before { content: "·"; margin-inline: 14px; color: var(--decoration); font-weight: 700; }
.dotnav a { position: relative; padding-block: 6px; transition: color .2s var(--ease); }
.dotnav a:hover { color: var(--text); }
.dotnav a[aria-current="page"] { color: var(--text); font-weight: 600; }
.dotnav a[aria-current="page"]::after { content: ""; position: absolute; inset: auto 0 0; height: 2px; border-radius: var(--r-line); background: var(--accent); }
.header-tools { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.language-box { position: relative; }
.lang {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  min-height: 34px; padding: 7px 14px;
  font: 500 13.5px/1.2 var(--font-body); color: var(--text);
  background: var(--bg-panel); border: 1px solid var(--border); border-radius: var(--r-pill);
}
.lang svg { width: 15px; height: 15px; color: var(--text-muted); }
.lang-caret { color: var(--text-muted); font-size: 11px; }
.lang-short { display: none; }
.language-menu { position: absolute; top: calc(100% + 10px); right: 0; width: 180px; padding: 6px; border: 1px solid var(--border); border-radius: var(--r-md); background: var(--bg); color: var(--text); box-shadow: var(--shadow-float); z-index: 4; }
.language-menu a { display: flex; align-items: center; min-height: 44px; padding: 10px 12px; border-radius: var(--r-xs); }
.language-menu a:hover, .language-menu a[aria-current] { background: var(--bg-panel); color: var(--accent-dark); }
.menu-toggle { display: none; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; border: 1px solid var(--border); border-radius: var(--r-sm); background: var(--bg); color: var(--text); }
.menu-toggle svg { width: 20px; height: 20px; }
.menu-veil { position: fixed; inset: var(--header-height) 0 0; background: var(--veil); color: var(--text); z-index: 1; border: 0; width: 100%; padding: 0; }
.mobile-drawer { position: absolute; top: var(--header-height); inset-inline: 0; padding: 16px var(--gutter) 24px; background: var(--bg); color: var(--text); border-bottom: 1px solid var(--border); box-shadow: var(--shadow-1); max-height: calc(100dvh - var(--header-height)); overflow-y: auto; overscroll-behavior: contain; z-index: 2; }
.mobile-drawer a { display: flex; align-items: center; width: 100%; min-height: 44px; padding: 12px 10px; border-radius: var(--r-xs); }
.mobile-drawer a:hover, .mobile-drawer a[aria-current] { background: var(--bg-panel); color: var(--accent-dark); }
.drawer-label { margin: 16px 10px 6px; font-size: 12px; color: var(--text-muted); }
.drawer-languages { border-top: 1px solid var(--border); margin-top: 12px; padding-top: 8px; }
.skip-link { position: absolute; top: -100px; left: var(--gutter); padding: 10px 16px; background: var(--text); color: var(--bg); border-radius: var(--r-xs); z-index: 8; }
.skip-link:focus { top: 8px; }

/* 基础家具 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 50px; padding: 12px 22px;
  border: 1px solid var(--clear); border-radius: var(--r-md);
  font: 600 15px/1.5 var(--font-body); letter-spacing: -.005em; text-align: center;
  transition: transform .25s var(--ease),background-color .25s var(--ease),border-color .25s var(--ease);
}
.btn svg { width: 17px; height: 17px; flex-shrink: 0; }
.btn--solid { background: var(--text); color: var(--bg); box-shadow: var(--shadow-btn); padding-inline: 24px; }
.btn--solid:hover, .btn--solid.is-hover { transform: translateY(-1px); }
.btn--line { background: var(--bg); color: var(--text); border-color: var(--border-strong); }
.btn--line:hover, .btn--line.is-hover { background: var(--bg-panel); color: var(--text); border-color: var(--decoration); }
.btn--accent { background: var(--accent); color: var(--bg); }
.btn--accent:hover { background: var(--accent-dark); color: var(--bg); }
.btn.is-focus { outline: 2px solid var(--accent); outline-offset: 3px; }
.btn:active { transform: translateY(1px); }
.cta, .button-row { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.card, .panel { min-width: 0; padding: 28px; border: 1px solid var(--border); border-radius: var(--r-xl); background: var(--bg); color: var(--text); box-shadow: var(--shadow-1); }
.panel { background: var(--bg-panel); color: var(--text); box-shadow: none; }
.card h3, .panel h3 { margin-top: 0; }
.card p:last-child, .panel p:last-child { margin-bottom: 0; }
.cell { position: relative; min-width: 0; border-radius: var(--r-xl); transition: transform .35s var(--ease),box-shadow .35s var(--ease); }
.cell--white { background: var(--bg); color: var(--text); border: 1px solid var(--border); box-shadow: var(--shadow-1); }
.cell--panel { background: var(--bg-panel); color: var(--text); border: 1px solid var(--border); }
.cell--panel2 { background: var(--bg-panel-2); color: var(--text); border: 1px solid var(--border); }
.cell:hover { transform: translateY(-2px); }
.cell--white:hover { box-shadow: var(--shadow-1-hover); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 13px; }
.chip, .tag {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  max-width: 100%; min-height: 32px; padding: 5px 14px;
  border-radius: var(--r-pill); font-size: 13px; font-weight: 500; line-height: 1.5;
  color: var(--text-muted); background: var(--bg); border: 1px solid var(--border);
  white-space: normal; overflow-wrap: anywhere;
}
.chip--t2 { border-color: var(--border-strong); }
.chip--t3 { background: var(--bg-panel); color: var(--text-muted); }
.chip.is-on { color: var(--accent-dark); background: var(--accent-soft); border-color: var(--accent-line); font-weight: 600; }
.chip svg { width: 13px; height: 13px; color: var(--accent); }

/* 经确认的 Bento 首屏 */
.hero { position: relative; overflow-x: clip; padding-top: 26px; padding-bottom: 46px; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--border) 1px,var(--clear) 1px),linear-gradient(90deg,var(--border) 1px,var(--clear) 1px);
  background-size: 72px 72px; background-position: -1px -1px;
  mask-image: radial-gradient(70% 62% at 34% 44%,var(--mask-solid) 0%,var(--mask-none) 78%);
  opacity: .55;
}
.hero-in { position: relative; z-index: 1; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); display: grid; grid-template-columns: minmax(0,600px) minmax(0,1fr); column-gap: 28px; row-gap: 18px; }
.lead { padding: 36px 40px 34px; display: flex; flex-direction: column; justify-content: center; }
.badge {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 9px;
  max-width: 100%; min-height: 32px; padding: 6px 15px 6px 12px; border-radius: var(--r-pill);
  font-size: 13px; line-height: 1.4; font-weight: 500; color: var(--text); border: 1px solid var(--clear);
  background: linear-gradient(var(--bg),var(--bg)) padding-box,linear-gradient(90deg,var(--accent),var(--grad-pink) 52%,var(--grad-sky)) border-box;
}
.badge-dot { position: relative; flex-shrink: 0; width: 7px; height: 7px; border-radius: var(--r-round); background: var(--success); }
.badge-dot::after { content: ""; position: absolute; inset: 0; border-radius: var(--r-round); background: var(--success-halo); animation: breathe 2.4s var(--ease) infinite; }
@keyframes breathe { 0% { transform: scale(1); opacity: 1; } 70%,100% { transform: scale(2.6); opacity: 0; } }
.h1 { margin: 20px 0 0; font-family: var(--font-display); font-weight: 800; font-size: clamp(34px,3.35vw,48px); line-height: 1.13; letter-spacing: -.02em; }
.h1-line { display: block; }
.h1-muted { color: var(--text-muted); }
.lead-desc { margin: 16px 0 0; max-width: 500px; font-size: 15px; line-height: 1.66; color: var(--text-muted); }
.lead-desc strong { color: var(--text); font-weight: 600; }
.lead .cta { margin-top: 24px; }
.checks { margin-top: 24px; display: grid; gap: 7px; }
.checks li { display: flex; align-items: center; gap: 11px; font-size: 14.5px; line-height: 1.55; color: var(--text-muted); }
.checks svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--accent); }
.checks b { color: var(--text); font-weight: 700; margin-right: 2px; }
.checks code { font-size: 12.5px; color: var(--text); }
.mono-line { margin: 20px 0 0; font: 500 11.5px/1.6 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); }
.stage { position: relative; margin: 0; min-height: 570px; }
.stage::before { content: ""; position: absolute; z-index: 0; left: -20px; right: -240px; top: -40px; bottom: -30px; pointer-events: none; background: radial-gradient(58% 54% at 52% 42%,var(--bg-panel) 0%,var(--bg-panel) 30%,var(--clear) 72%); }
.win-wrap { position: absolute; z-index: 1; top: -38px; left: -20px; padding: 60px; width: calc(100% + 212px + max(0px,(100vw - 1440px) / 2)); height: 668px; -webkit-mask-image: linear-gradient(to bottom,var(--mask-solid) 66%,var(--mask-none) 91%); mask-image: linear-gradient(to bottom,var(--mask-solid) 66%,var(--mask-none) 91%); }
.win { height: 548px; display: grid; grid-template-rows: 46px 1fr; overflow: hidden; background: var(--bg); color: var(--text); border: 1px solid var(--border); border-radius: var(--r-xl); box-shadow: var(--shadow-win); transform: rotate(-1.5deg); transform-origin: 12% 40%; }
.win-bar { display: flex; align-items: center; gap: 16px; padding-inline: 18px; border-bottom: 1px solid var(--border); background: var(--bg); color: var(--text); }
.win-dots { display: flex; gap: 7px; flex-shrink: 0; }
.win-dots i { width: 11px; height: 11px; border-radius: var(--r-round); background: var(--bg-panel-2); border: 1px solid var(--border-strong); }
.win-title { font-size: 13px; font-weight: 600; margin-left: 8px; white-space: nowrap; }
.win-search { margin-left: auto; margin-right: 150px; display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0; height: 28px; width: 220px; padding: 0 6px 0 11px; border-radius: var(--r-pill); background: var(--bg-panel); color: var(--text-muted); border: 1px solid var(--border); font-size: 12px; }
.win-search svg { width: 13px; height: 13px; }
.win-search kbd { margin-left: auto; font-size: 10.5px; padding: 2px 6px; border-radius: var(--r-tiny); background: var(--bg); color: var(--text-muted); border: 1px solid var(--border); }
.win-body { display: grid; grid-template-columns: 58px 176px minmax(0,1fr); min-height: 0; }
.win-rail { background: var(--rail-bg); color: var(--rail-ink); display: flex; flex-direction: column; align-items: center; gap: 10px; padding-top: 14px; mask-image: linear-gradient(to bottom,var(--mask-solid) 50%,var(--mask-none) 96%); }
.rail-logo { width: 30px; height: 30px; margin-bottom: 10px; }
.rail-ic { width: 36px; height: 36px; border-radius: var(--r-xs); display: grid; place-items: center; color: var(--rail-ink); }
.rail-ic svg { width: 18px; height: 18px; }
.rail-ic.is-on { background: var(--rail-chip); color: var(--bg); }
.win-side { background: var(--bg-panel); color: var(--text); border-right: 1px solid var(--border); padding: 14px 10px; }
.side-profile { display: flex; flex-direction: column; gap: 2px; padding: 9px 12px; margin-bottom: 12px; background: var(--bg); color: var(--text); border: 1px solid var(--border); border-radius: var(--r-sm); }
.side-label { font-size: 10.5px; color: var(--text-muted); letter-spacing: .04em; }
.side-file { font: 500 12px/1.6 var(--font-mono); }
.side-list li { position: relative; height: 35px; display: flex; align-items: center; padding-inline: 14px; border-radius: var(--r-xs); font-size: 13px; color: var(--text-muted); }
.side-list li.is-on { background: var(--bg); color: var(--text); font-weight: 600; box-shadow: var(--shadow-1); }
.side-list li.is-on::before { content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 3px; border-radius: var(--r-line); background: var(--accent); }
.win-main { padding: 18px 120px 0 26px; min-width: 0; }
.main-head { display: flex; align-items: baseline; gap: 10px; }
.main-title { font-size: 18px; font-weight: 700; }
.main-path { font-size: 12.5px; color: var(--text-muted); }
.main-tabs { display: flex; gap: 24px; margin-top: 12px; border-bottom: 1px solid var(--border); }
.main-tabs span { position: relative; padding: 9px 0 10px; font-size: 13px; color: var(--text-muted); }
.main-tabs span.is-on { color: var(--text); font-weight: 600; }
.main-tabs span.is-on::after { content: ""; position: absolute; inset: auto 0 -1px; height: 2px; border-radius: var(--r-line); background: var(--accent); }
.set-group { margin-top: 16px; font: 600 10.5px/1.6 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); }
.set-list { margin-top: 6px; }
.set-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 50px; border-bottom: 1px solid var(--border); }
.set-name { display: flex; flex-direction: column; line-height: 1.3; font-size: 13.5px; font-weight: 500; }
.set-name em { font: 400 10.5px/1.3 var(--font-mono); color: var(--text-muted); margin-top: 2px; }
.field-num { min-width: 76px; height: 30px; display: inline-flex; align-items: center; justify-content: flex-end; padding-inline: 11px; font: 500 13px/1 var(--font-mono); background: var(--bg-panel); color: var(--text); border: 1px solid var(--border); border-radius: var(--r-xs); }
.field-mono { font: 400 12.5px/1.5 var(--font-mono); }
.capsule { min-height: 24px; display: inline-flex; align-items: center; padding: 3px 11px; border-radius: var(--r-pill); font: 500 11.5px/1.4 var(--font-mono); background: var(--bg-panel-2); color: var(--text-muted); border: 1px solid var(--border); }
.select { height: 30px; min-width: 88px; display: inline-flex; align-items: center; justify-content: space-between; gap: 10px; padding-inline: 12px 10px; font: 400 12.5px/1 var(--font-mono); background: var(--bg); color: var(--text); border: 1px solid var(--border-strong); border-radius: var(--r-xs); }
.tgl { position: relative; flex-shrink: 0; width: 36px; height: 21px; border-radius: var(--r-pill); background: var(--bg-panel-2); color: var(--text); border: 1px solid var(--border-strong); }
.tgl i { position: absolute; top: 2px; left: 2px; width: 15px; height: 15px; border-radius: var(--r-round); background: var(--bg); box-shadow: var(--shadow-knob); }
.tgl.is-on { background: var(--accent); border-color: var(--accent); }
.tgl.is-on i { left: 17px; }
.float { position: absolute; z-index: 3; background: var(--bg); color: var(--text); border: 1px solid var(--border); border-radius: var(--r-md); box-shadow: var(--shadow-float); }
.float--sub { top: -6px; right: 150px; width: 258px; padding: 13px 14px; display: flex; align-items: center; gap: 12px; }
.float-ic { width: 34px; height: 34px; flex-shrink: 0; border-radius: var(--r-xs); display: grid; place-items: center; background: var(--bg-panel); color: var(--text); border: 1px solid var(--border); }
.float-ic svg { width: 17px; height: 17px; }
.float-txt { display: flex; flex-direction: column; line-height: 1.35; min-width: 0; }
.float-txt b { font-size: 13.5px; font-weight: 600; }
.float-txt span { font-size: 12px; color: var(--text-muted); }
.float--sub .tgl { margin-left: auto; }
.float--rules { left: -12px; bottom: 58px; width: 306px; padding: 13px 16px 15px; }
.float-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 9px; }
.float-tag { font: 600 11px/1.5 var(--font-mono); padding: 3px 9px; border-radius: var(--r-pill); background: var(--bg-panel); color: var(--text); border: 1px solid var(--border); }
.float-file { font: 400 10.5px/1.5 var(--font-mono); color: var(--text-muted); }
.rule { display: block; font: 400 12.5px/1.85 var(--font-mono); white-space: nowrap; }
.rule-val, .rule-dash { color: var(--text-muted); }
.plats { padding: 17px 22px 18px; }
.cell-label { display: flex; align-items: center; gap: 8px; font: 600 10.5px/1.6 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); }
.cell-label span { font: 500 12px/1.6 var(--font-body); letter-spacing: 0; text-transform: none; }
.plat-row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.plat { display: inline-flex; align-items: center; gap: 9px; padding: 3px 10px 3px 3px; border-radius: var(--r-pill); font-size: 13.5px; font-weight: 500; }
.plat:hover { background: var(--bg-panel); color: var(--text); }
.plat-ic { width: 30px; height: 30px; flex-shrink: 0; border-radius: var(--r-xs); display: grid; place-items: center; background: var(--bg-panel); color: var(--text); border: 1px solid var(--border); }
.plat-ic svg { width: 15px; height: 15px; }
.facts { display: grid; grid-template-columns: 1fr 1fr 1.35fr; gap: 14px; }
.fact { padding: 17px 20px 16px; display: flex; flex-direction: column; }
.fact-val { margin-top: 9px; font-size: 18px; font-weight: 700; letter-spacing: -.01em; line-height: 1.2; }
.fact-val--mono { font-family: var(--font-mono); font-weight: 600; }
.fact-sub { margin-top: 5px; font-size: 12.5px; color: var(--text-muted); line-height: 1.45; }

/* 页脚 */
.site-footer { border-top: 1px solid var(--border); padding-top: 56px; padding-bottom: 28px; background: var(--bg); color: var(--text); }
.footer-grid { display: grid; grid-template-columns: 1.4fr .7fr 1.5fr; gap: 48px; }
.footer-brand p { max-width: 340px; margin-top: 18px; color: var(--text-muted); }
.footer-title { margin: 0 0 14px; font-size: 14px; font-weight: 700; }
.footer-links { display: grid; gap: 9px; font-size: 13px; color: var(--text-muted); }
.footer-links a:hover, .footer-languages a:hover { color: var(--accent-dark); }
.footer-hot { grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: 20px; }
.footer-languages { display: flex; flex-wrap: wrap; gap: 12px 22px; margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--border); font-size: 13px; color: var(--text-muted); }
.footer-languages [aria-current] { color: var(--accent-dark); }
.copyright { margin: 20px 0 0; font-size: 12px; color: var(--text-muted); }

@media (max-width: 1280px) {
  .topbar-in { gap: 20px; }
  .dotnav li + li::before { margin-inline: 10px; }
}
@media (max-width: 1100px) {
  :root { --gutter: 32px; }
  .desktop-nav { display: none; }
  .header-tools { margin-left: auto; }
  .menu-toggle { display: inline-flex; }
  .hero-in { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 18px; }
  .lead { padding: 30px 26px; }
  .badge { font-size: 11.5px; }
  .win-wrap { left: -30px; width: 820px; }
  .float--sub { right: 0; }
  .facts { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; }
  .fact { padding-inline: 12px; }
  .fact-val { font-size: 16px; }
}
@media (max-width: 768px) {
  :root { --gutter: 24px; }
  h1, .h1 { font-size: clamp(24px,4vw,30px); }
  .hero-in { grid-template-columns: minmax(0,1fr); }
  .lead { padding: 28px; }
  .hero .stage { grid-row: 3; min-height: 440px; margin-top: 24px; }
  .plats { grid-row: 2; }
  .facts { grid-row: 4; }
  .win-wrap { top: -50px; left: -24px; width: 850px; }
  .float--sub { right: 12px; top: -10px; }
  .float--rules { left: 0; bottom: 10px; }
  .grid, .footer-grid { grid-template-columns: minmax(0,1fr); }
  .footer-grid { gap: 28px; }
  .section { padding-top: 56px; padding-bottom: 56px; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; }
  .topbar-in { gap: 10px; }
  .brand { gap: 7px; font-size: 14px; }
  .brand-mark { width: 26px; height: 26px; }
  .header-tools { margin-left: auto; gap: 6px; }
  .lang { min-height: 38px; padding-inline: 11px; }
  .lang-full { display: none; }
  .lang-short { display: inline; }
  .hero { padding-top: 16px; padding-bottom: 32px; }
  .lead { padding: 24px 20px; }
  .badge { font-size: 11px; padding-inline: 10px; gap: 7px; }
  .lead-desc { font-size: 14px; }
  .cta { gap: 9px; }
  .btn { padding-inline: 17px; min-height: 48px; font-size: 14px; }
  .checks li { font-size: 13px; gap: 8px; align-items: flex-start; }
  .checks svg { margin-top: 3px; }
  .mono-line { font-size: 10px; letter-spacing: .08em; }
  .chips { flex-direction: row; flex-wrap: wrap; }
  .chip { padding-inline: 11px; font-size: 12px; }
  .plats { padding-inline: 16px; }
  .plat-row { justify-content: flex-start; gap: 8px 10px; }
  .plat { font-size: 12px; gap: 6px; }
  .facts { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .facts .fact:last-child { grid-column: 1 / -1; }
  .fact { padding: 16px; }
  .hero .stage { min-height: 395px; }
  .stage { overflow-x: clip; }
  .stage::before { inset-inline: 0; }
  .win-wrap { padding: 20px 0; top: 12px; left: 0; width: 100%; height: 425px; mask-image: linear-gradient(to bottom,var(--mask-solid) 67%,var(--mask-none) 98%); }
  .win { height: 400px; transform: none; grid-template-rows: 40px 1fr; }
  .win-bar { padding-inline: 10px; gap: 7px; }
  .win-title { font-size: 11px; margin-left: 0; }
  .win-dots { gap: 4px; }
  .win-dots i { width: 7px; height: 7px; }
  .win-search { display: none; }
  .win-body { grid-template-columns: 32px 62px minmax(0,1fr); }
  .win-rail { gap: 7px; padding-top: 10px; }
  .rail-logo { width: 23px; height: 23px; margin-bottom: 4px; }
  .rail-ic { width: 26px; height: 28px; }
  .rail-ic svg { width: 14px; height: 14px; }
  .win-side { padding: 10px 4px; }
  .side-profile { display: none; }
  .side-list li { height: 32px; padding-inline: 7px; font-size: 10px; }
  .win-main { padding: 12px 10px 0; }
  .main-title { font-size: 14px; }
  .main-path { display: none; }
  .main-tabs { gap: 14px; margin-top: 6px; }
  .main-tabs span { font-size: 10px; }
  .set-group { font-size: 8px; margin-top: 9px; }
  .set-row { height: 38px; gap: 6px; }
  .set-name { font-size: 10px; }
  .set-name em { font-size: 8px; }
  .field-num { min-width: 48px; height: 24px; font-size: 10px; padding-inline: 6px; }
  .field-mono { font-size: 8px; }
  .select { min-width: 55px; height: 24px; font-size: 10px; padding-inline: 6px; }
  .capsule { font-size: 9px; padding-inline: 7px; }
  .float--sub { top: 0; right: 8px; width: 218px; padding: 9px 10px; gap: 8px; }
  .float-ic { width: 26px; height: 26px; }
  .float-txt b { font-size: 11px; }
  .float-txt span { font-size: 10px; }
  .float--rules { left: 8px; bottom: 0; max-width: calc(100% - 16px); width: 290px; padding: 10px 12px; }
  .rule { font-size: 10px; }
  .tilt, .win, .tile, [data-tilt] { transform: none; }
  .card, .panel { padding: 22px; }
  .footer-hot { grid-template-columns: minmax(0,1fr); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html.reveal-ready .reveal:not(.shown) { opacity: 1; transform: none; }
}