:root {
  color-scheme: light;
  --bg: #FCFCFB;
  --bg-panel: #F4F3F0;
  --bg-panel-2: #EAE8E4;
  --bg-stage: #F9F8F6;
  --bg-stage-2: #F6F5F2;
  --surface: #FFFFFF;
  --border: #E3E1DC;
  --border-soft: #ECEAE5;
  --accent: #E8582E;
  --accent-dark: #B23D17;
  --peach: #FFB38A;
  --text: #151413;
  --ink-2: #2B2927;
  --text-muted: #6B6762;
  --text-faint: #9E9992;
  --success: #1F9D63;
  --warn: #D99413;
  --error: #D23A30;
  --accent-04: rgba(232,88,46,.04);
  --accent-10: rgba(232,88,46,.10);
  --accent-14: rgba(232,88,46,.14);
  --accent-30: rgba(232,88,46,.30);
  --dark-30: rgba(178,61,23,.30);
  --dark-45: rgba(178,61,23,.45);
  --peach-18: rgba(255,179,138,.18);
  --peach-60: rgba(255,179,138,.60);
  --white-0: rgba(255,255,255,0);
  --white-16: rgba(255,255,255,.16);
  --white-30: rgba(255,255,255,.30);
  --white-50: rgba(255,255,255,.50);
  --white-70: rgba(255,255,255,.70);
  --white-90: rgba(255,255,255,.90);
  --ink-04: rgba(21,20,19,.04);
  --ink-06: rgba(21,20,19,.06);
  --ink-10: rgba(21,20,19,.10);
  --ink-16: rgba(21,20,19,.16);
  --apricot-1: #FBF1E8;
  --apricot-2: #EED3BF;
  --apricot-3: #CDAA92;
  --apricot-shade: rgba(205,170,146,.55);
  --sand-1: #F3EFEA;
  --sand-2: #D7CFC5;
  --sand-3: #ABA196;
  --sand-shade: rgba(171,161,150,.50);
  --mist-1: #F9F2EE;
  --mist-2: #E6D6CC;
  --mist-3: #BFA99C;
  --mist-shade: rgba(191,169,156,.50);
  --sage-1: #D3DCD1;
  --sage: #93A291;
  --sage-2: #6E7F6D;
  --warm-gray: #B3AAA0;
  --flag-red: #D0263A;
  --flag-blue: #22357A;
  --flag-white: #FFFFFF;
  --flag-edge: rgba(21,20,19,.14);
  --transparent: transparent;
  --font-display: "Inter", "Noto Sans SC", "PingFang SC", "Hiragino Sans", "Apple SD Gothic Neo", "Microsoft YaHei", system-ui, sans-serif;
  --font-body: "Inter", "Noto Sans SC", "PingFang SC", "Hiragino Sans", "Malgun Gothic", "Microsoft YaHei", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --fs-display: 66px;
  --fs-body: 17px;
  --fs-lead: 18px;
  --fs-section: clamp(30px, 3.4vw, 46px);
  --fs-small: 14px;
  --weight-normal: 400;
  --weight-medium: 500;
  --r-card: 28px;
  --r-stage: 20px;
  --r-small: 12px;
  --r-pill: 999px;
  --r-round: 50%;
  --gutter: 48px;
  --content: 1416px;
  --reading: 820px;
  --header-height: 68px;
  --anchor-offset: 84px;
  --toc-offset: 140px;
  --space-section: 72px;
  --ease: cubic-bezier(.2,.7,.2,1);
  --transition: .2s;
  --shadow-panel: inset 0 1px 0 var(--white-90), 0 28px 60px var(--accent-10), 0 2px 6px var(--ink-04);
  --shadow-pill: inset 0 0 0 1px var(--border-soft), 0 1px 2px var(--ink-06), 0 6px 16px var(--ink-06);
  --orb-cols: 1fr 1.3fr 1.5fr 1.3fr 1fr;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--anchor-offset); scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: var(--weight-normal);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
html.nav-open { overflow: hidden; }
[hidden] { display: none !important; }
img { display: block; max-width: 100%; height: auto; }
svg { flex-shrink: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
button, input, select, textarea { border-radius: var(--r-small); }
a { color: inherit; text-underline-offset: .2em; }
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
:where(button, [role="button"]) { min-height: 24px; min-width: 24px; }
:where(h1,h2,h3,h4,p,ul,ol,figure,blockquote) { margin-top: 0; }
h1,h2,h3,h4 {
  font-family: var(--font-display);
  font-weight: var(--weight-normal);
  overflow-wrap: break-word;
}
h1 { font-size: clamp(52px, 4.6vw, 68px); line-height: 1.12; letter-spacing: -.02em; margin-bottom: 24px; }
h2 { font-size: var(--fs-section); line-height: 1.2; letter-spacing: -.02em; margin-bottom: 24px; }
h3 { font-size: 23px; line-height: 1.35; letter-spacing: -.01em; margin-bottom: 16px; }
h4 { font-size: var(--fs-lead); line-height: 1.4; }
p { margin-bottom: 20px; }
strong { font-weight: var(--weight-medium); }
code { font-family: var(--font-mono); font-size: .88em; overflow-wrap: anywhere; }
pre { max-width: 100%; overflow-x: auto; padding: 24px; background: var(--bg-panel); border-radius: var(--r-small); }
pre code { white-space: pre; overflow-wrap: normal; }
hr { border: 0; border-top: 1px solid var(--border); margin-block: 32px; }
:where(main, section, article, aside, div, li) { min-width: 0; }
.wrap, .version {
  width: 100%;
  max-width: var(--content);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.reading-wrap { max-width: var(--reading); margin-inline: auto; }
.section { padding-top: var(--space-section); padding-bottom: var(--space-section); }
.section-heading { max-width: 850px; margin-bottom: 32px; }
.section-note, .muted { color: var(--text-muted); }
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.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; }
.no-break { white-space: nowrap; }
.panel, .card {
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-card);
  box-shadow: inset 0 1px 0 var(--white-90), 0 12px 32px var(--accent-04);
}
.panel { background: var(--bg-panel); }
.grid-three { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.grid-two { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.btn, .btn-solid, .btn-outline, .btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 28px;
  border: 0;
  border-radius: var(--r-pill);
  font-size: 16px;
  line-height: 1.3;
  font-weight: var(--weight-normal);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}
.btn-solid, .btn-primary {
  background: linear-gradient(180deg,var(--ink-2),var(--text));
  color: var(--surface);
  box-shadow: inset 0 1px 0 var(--white-16), 0 10px 22px var(--ink-16);
}
.btn-outline, .btn-secondary, .btn {
  background: var(--surface);
  color: var(--text);
  box-shadow: inset 0 0 0 1px var(--border), 0 1px 2px var(--ink-04);
}
.btn-solid:hover, .btn-primary:hover { transform: translateY(-1px); }
.btn-outline:hover, .btn-secondary:hover, .btn:hover { box-shadow: inset 0 0 0 1px var(--text-faint), 0 1px 2px var(--ink-04); }
.btn:active, .btn-solid:active, .btn-outline:active, .btn-primary:active, .btn-secondary:active { transform: translateY(1px); }
:where(.btn,.btn-solid,.btn-outline,.btn-primary,.btn-secondary):disabled,
:where(.btn,.btn-solid,.btn-outline,.btn-primary,.btn-secondary)[aria-disabled="true"] { opacity: .5; cursor: not-allowed; transform: none; }
.btn-small { height: 38px; padding-inline: 18px; font-size: var(--fs-small); }
.top-shell { position: relative; overflow-x: clip; max-width: 100%; background: linear-gradient(180deg,var(--accent-04) 0%,var(--bg) 72%); }
.top-shell::before { content: ""; position: absolute; inset: -18% -6% 42% 54%; background: radial-gradient(closest-side,var(--peach-18),var(--transparent)); pointer-events: none; z-index: 0; }
.masthead { position: relative; z-index: 40; }
.masthead__bar { height: var(--header-height); display: flex; flex-wrap: nowrap; align-items: center; gap: 52px; position: relative; z-index: 43; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); flex-shrink: 0; min-height: 30px; }
.brand__mark { display: block; width: 30px; height: 30px; flex: none; }
.brand__word { font-family: var(--font-display); font-size: 19px; font-weight: var(--weight-medium); letter-spacing: -.02em; line-height: 1; }
.brand__zh { color: var(--text-muted); font-size: var(--fs-small); font-weight: var(--weight-normal); }
.desktop-nav { flex: 1; min-width: 0; }
.nav-dots { display: flex; align-items: center; list-style: none; margin: 0; padding: 0; font-size: 14.5px; white-space: nowrap; gap: 0; }
.nav-dots li { display: flex; align-items: center; }
.nav-dots li + li::before { content: "·"; padding: 0 11px; color: var(--text-faint); }
.nav-dots a { display: inline-flex; align-items: center; min-height: 30px; color: var(--text-muted); text-decoration: none; padding: 6px 2px; transition: color var(--transition); }
.nav-dots a:hover, .nav-dots a[aria-current="page"] { color: var(--text); }
.masthead__tools { margin-left: auto; display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.lang-box { position: relative; }
.lang-switch { display: inline-flex; align-items: center; justify-content: center; gap: 5px; height: 38px; min-width: 44px; width: auto; padding: 0 12px; border: 0; background: var(--transparent); border-radius: var(--r-pill); font-size: 14px; color: var(--text-muted); white-space: nowrap; }
.lang-switch:hover { color: var(--text); }
.lang-panel { position: absolute; z-index: 60; top: calc(100% + 8px); right: 0; width: 180px; padding: 8px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-stage); box-shadow: 0 14px 34px var(--ink-10); }
.lang-panel a { display: flex; align-items: center; width: 100%; min-height: 44px; padding: 8px 12px; border-radius: var(--r-small); text-decoration: none; font-size: var(--fs-small); }
.lang-panel a:hover, .lang-panel a[aria-current="true"] { background: var(--bg-panel); }
.btn-login { display: inline-flex; align-items: center; justify-content: center; height: 38px; padding: 0 20px; border: 1px solid var(--border); border-radius: var(--r-pill); background: var(--surface); font-size: 14.5px; color: var(--text); text-decoration: none; box-shadow: 0 1px 2px var(--ink-06); white-space: nowrap; }
.btn-login:hover { border-color: var(--text-faint); }
.menu-toggle { display: none; width: 44px; min-width: 44px; height: 44px; min-height: 44px; padding: 11px; border: 1px solid var(--border); background: var(--surface); border-radius: var(--r-pill); }
.menu-toggle svg { display: block; width: 20px; height: 20px; }
.nav-drawer { display: none; }
.nav-veil { display: none; }
.footer { background: var(--bg-panel); border-top: 1px solid var(--border); padding-top: 48px; padding-bottom: 28px; }
.footer__grid { display: grid; grid-template-columns: 1.25fr 1fr 1.2fr; gap: 48px; }
.footer__intro p { max-width: 340px; margin-top: 20px; font-size: var(--fs-small); color: var(--text-muted); }
.footer__heading { margin-bottom: 14px; font-size: var(--fs-small); font-weight: var(--weight-medium); }
.footer__links { display: flex; flex-wrap: wrap; gap: 6px 18px; list-style: none; margin: 0; padding: 0; }
.footer__links li { max-width: 100%; }
.footer__links a { display: inline-flex; align-items: center; min-height: 30px; font-size: var(--fs-small); color: var(--text-muted); text-decoration: none; overflow-wrap: anywhere; }
.footer__links a:hover { color: var(--text); }
.footer__languages { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px 24px; }
.footer__languages a { display: inline-flex; align-items: center; min-height: 30px; font-size: var(--fs-small); text-decoration: none; color: var(--text-muted); }
.footer__languages a[aria-current="true"] { color: var(--text); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--border); font-size: 13px; color: var(--text-muted); }
.footer__bottom p { margin: 0; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 20px; }
.footer__legal a { display: inline-flex; align-items: center; min-height: 24px; }
.prose { overflow-wrap: anywhere; }
.prose p, .prose li { line-height: 1.85; }
.prose h2 { margin-top: 56px; }
.prose h3 { margin-top: 32px; }
.prose a { color: var(--accent-dark); }
.prose li + li { margin-top: 8px; }
.prose section[id], section[id] { scroll-margin-top: var(--anchor-offset); }
.reveal { transition: opacity .35s var(--ease), transform .35s var(--ease); }
.reveal.pending { opacity: 0; transform: translateY(16px); }
.reveal.shown { opacity: 1; transform: none; }
#server-status { position: static; display: block; width: 100%; max-width: 100%; min-width: 0; min-height: 160px; overflow: hidden; margin-top: 24px; margin-bottom: 32px; }
#server-status + * { margin-top: 32px; }
#server-status > * { min-width: 0; max-width: 100%; }
@media (max-width: 1180px) {
  :root { --fs-display: 58px; --orb-cols: 1.15fr 1.3fr 1.5fr 1.3fr 1.15fr; }
  .masthead__bar { gap: 32px; }
  .nav-dots { font-size: 13.5px; }
  .nav-dots li + li::before { padding-inline: 7px; }
}
@media (max-width: 1050px) {
  .masthead__bar { gap: 18px; }
  .nav-dots li + li::before { padding-inline: 5px; }
  .masthead__tools { gap: 6px; }
  .lang-switch { padding-inline: 6px; font-size: 13px; }
}
@media (max-width: 960px) {
  .desktop-nav { display: none; }
  .masthead__bar { gap: 12px; }
  .masthead__tools { margin-left: auto; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav-drawer { position: fixed; z-index: 42; top: var(--header-height); inset-inline: 0; height: calc(100dvh - var(--header-height)); max-height: calc(100dvh - var(--header-height)); overflow-y: auto; overscroll-behavior: contain; background: var(--surface); padding: 20px var(--gutter) 32px; border-top: 1px solid var(--border); }
  .nav-drawer:not([hidden]) { display: block; }
  .nav-drawer a { display: flex; align-items: center; width: 100%; min-height: 44px; padding: 12px 8px; text-decoration: none; border-bottom: 1px solid var(--border-soft); }
  .nav-drawer a[aria-current="page"], .nav-drawer a[aria-current="true"] { color: var(--accent-dark); }
  .drawer-languages { padding-top: 24px; margin-top: 12px; }
  .drawer-languages a { font-size: var(--fs-small); }
  .nav-veil:not([hidden]) { display: block; position: fixed; z-index: 41; inset: var(--header-height) 0 0; border: 0; background: var(--ink-16); border-radius: 0; width: 100%; height: calc(100dvh - var(--header-height)); }
  .footer__grid { gap: 28px; }
}
@media (max-width: 768px) {
  :root { --fs-display: 36px; --gutter: 20px; --space-section: 48px; }
  h1 { font-size: 36px; line-height: 1.18; }
  h2 { font-size: 30px; }
  h3 { font-size: 21px; }
  .masthead__bar { height: var(--header-height); }
  .lang-switch { padding-inline: 6px; font-size: 12px; }
  .btn-login { padding-inline: 14px; font-size: 13px; }
  .btn, .btn-solid, .btn-outline, .btn-primary, .btn-secondary { height: 46px; padding-inline: 22px; font-size: 15px; }
  .grid-three, .grid-two { grid-template-columns: minmax(0,1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__intro { grid-column: 1 / -1; }
  .panel, .card { padding: 22px; }
}
@media (max-width: 640px) {
  .no-break { white-space: normal; }
  .tilt, [data-tilt] { transform: none; }
  .top-shell::before { max-width: 100%; inset-inline: 30% 0; }
  pre { padding: 16px; }
  .brand { gap: 6px; }
  .brand__mark { width: 26px; height: 26px; }
  .brand__word { font-size: 17px; }
  .masthead__tools { gap: 3px; }
  .lang-switch { font-size: 11px; padding-inline: 4px; }
  .btn-login { padding-inline: 11px; }
}
@media (max-width: 359px) {
  :root { --gutter: 16px; }
  .brand__word { font-size: 15px; }
  .brand__mark { width: 24px; height: 24px; }
  .masthead__bar { gap: 4px; }
  .btn-login { padding-inline: 9px; }
  .lang-switch { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .reveal, .reveal.pending, .reveal.shown { opacity: 1; transform: none; }
}