:root{
  --color-bg:#FCFCFE;
  --color-panel:#FFFFFF;
  --color-panel-soft:#F3F6FB;
  --color-border:#E3E8F0;
  --color-accent:#0B62DB;
  --color-accent-dark:#0748A8;
  --color-text:#12182B;
  --color-muted:#5B667A;
  --color-success:#1FA85C;
  --color-warning:#E39B1B;
  --color-error:#D93B3B;
  --color-white:#FFFFFF;
  --color-black:#000000;
  --color-orange:#F08A3C;
  --color-pink:#E14B9A;
  --color-violet:#7B4CE6;
  --color-blue:#2F8CF0;
  --color-flag-red:#D7263D;
  --color-flag-navy:#1F3A93;
  --color-flag-blue:#3557B7;
  --color-grid:rgba(11,98,219,.045);
  --color-wash-orange:rgba(240,138,60,.10);
  --color-wash-pink:rgba(225,75,154,.08);
  --color-wash-violet:rgba(123,76,230,.09);
  --color-wash-blue:rgba(47,140,240,.10);
  --color-glow:rgba(11,98,219,.12);
  --color-glow-soft:rgba(11,98,219,.07);
  --color-glow-blue:rgba(47,140,240,.22);
  --color-glow-violet:rgba(123,76,230,.24);
  --color-glow-pink:rgba(225,75,154,.18);
  --color-highlight:rgba(255,255,255,.70);
  --color-white-soft:rgba(255,255,255,.22);
  --color-white-mid:rgba(255,255,255,.55);
  --color-ink-soft:rgba(18,24,43,.06);
  --color-ink-mid:rgba(18,24,43,.14);
  --color-tint-orange:rgba(240,138,60,.14);
  --color-tint-pink:rgba(225,75,154,.12);
  --color-tint-violet:rgba(123,76,230,.12);
  --color-tint-blue:rgba(47,140,240,.13);
  --color-tint-green:rgba(31,168,92,.14);
  --gradient-brand:linear-gradient(90deg,var(--color-orange) 0%,var(--color-pink) 38%,var(--color-violet) 72%,var(--color-blue) 100%);
  --gradient-accent:linear-gradient(180deg,var(--color-accent) 0%,var(--color-accent-dark) 100%);
  --gradient-orange:linear-gradient(135deg,var(--color-tint-orange),var(--color-tint-pink));
  --gradient-violet:linear-gradient(135deg,var(--color-tint-violet),var(--color-tint-blue));
  --gradient-cyan:linear-gradient(135deg,var(--color-tint-green),var(--color-tint-blue));
  --font-display:'Inter','Noto Sans SC',-apple-system,'PingFang SC','Hiragino Sans GB','Microsoft YaHei',sans-serif;
  --font-body:'Inter','Noto Sans SC',-apple-system,'PingFang SC','Hiragino Sans GB','Microsoft YaHei','Segoe UI',sans-serif;
  --font-mono:'JetBrains Mono','SF Mono',Menlo,Consolas,'Liberation Mono',monospace;
  --radius-xl:24px;
  --radius-lg:20px;
  --radius-md:14px;
  --radius-sm:10px;
  --radius-pill:999px;
  --shadow-panel:0 30px 70px -34px var(--color-glow),0 14px 32px -24px var(--color-glow-blue),inset 0 1px 0 var(--color-highlight);
  --shadow-float:0 18px 38px -20px var(--color-glow),inset 0 1px 0 var(--color-highlight);
  --content-width:1180px;
  --wide-width:1320px;
  --gutter:clamp(16px,4vw,24px);
  --notice-height:44px;
  --header-height:72px;
  --focus-ring:2px solid var(--color-accent);
  --toc-height:58px;
  --section-space:clamp(64px,9vw,112px);
}
*,
*::before,
*::after{box-sizing:border-box}
html{
  scroll-behavior:smooth;
  scroll-padding-top:calc(var(--header-height) + 16px);
  -webkit-text-size-adjust:100%;
}
html.nav-open{overflow:hidden}
body{
  margin:0;
  min-width:320px;
  overflow-x:clip;
  color:var(--color-text);
  background-color:var(--color-bg);
  background-image:
    linear-gradient(var(--color-grid) 1px,transparent 1px),
    linear-gradient(90deg,var(--color-grid) 1px,transparent 1px);
  background-size:48px 48px;
  font-family:var(--font-body);
  font-size:17px;
  line-height:1.7;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
img,svg,video{display:block;max-width:100%}
img{height:auto}
svg{flex-shrink:0}
button,input,select,textarea{font:inherit}
button{color:inherit}
button,a,summary,[role="tab"]{-webkit-tap-highlight-color:transparent}
a{color:var(--color-accent);text-decoration:none}
a:hover{text-decoration:none}
a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[role="tab"]:focus-visible{
  outline:var(--focus-ring);
  outline-offset:3px;
}
h1,h2,h3,h4,p,ul,ol,blockquote,figure{margin-top:0}
h1,h2,h3,h4{
  color:var(--color-text);
  font-family:var(--font-display);
  text-wrap:balance;
}
h1{
  margin-bottom:24px;
  font-size:clamp(52px,5.3vw,72px);
  line-height:1.1;
  letter-spacing:-.02em;
  font-weight:800;
}
h2{
  margin-bottom:20px;
  font-size:clamp(34px,4vw,52px);
  line-height:1.16;
  letter-spacing:-.02em;
  font-weight:800;
}
h3{
  margin-bottom:14px;
  font-size:clamp(23px,2.4vw,32px);
  line-height:1.25;
  letter-spacing:-.015em;
  font-weight:800;
}
h4{font-size:19px;line-height:1.35}
p{margin-bottom:1.1em}
ul,ol{padding-left:1.25em}
li::marker{color:var(--color-accent)}
code,kbd,samp{
  font-family:var(--font-mono);
  font-size:.9em;
  overflow-wrap:anywhere;
}
pre{
  max-width:100%;
  overflow-x:auto;
  padding:20px;
  border:1px solid var(--color-border);
  border-radius:var(--radius-md);
  background:var(--color-panel-soft);
  -webkit-overflow-scrolling:touch;
}
pre code{overflow-wrap:normal;white-space:pre}
table{border-collapse:collapse}
hr{border:0;border-top:1px solid var(--color-border)}
.no-break{white-space:nowrap}
.mono{font-family:var(--font-mono)}
.muted{color:var(--color-muted)}
.accent-text{color:var(--color-accent)}
.gradient-text{
  color:transparent;
  background:var(--gradient-brand);
  background-clip:text;
  -webkit-background-clip:text;
}
.wrap{
  width:100%;
  max-width:calc(var(--content-width) + var(--gutter) * 2);
  margin-inline:auto;
  padding-inline:var(--gutter);
}
.wrap-wide{
  width:100%;
  max-width:calc(var(--wide-width) + var(--gutter) * 2);
  margin-inline:auto;
  padding-inline:var(--gutter);
}
.section{
  padding-top:var(--section-space);
  padding-bottom:var(--section-space);
  overflow-x:clip;
}
.section-head{max-width:760px;margin-bottom:42px}
.section-head.center{margin-inline:auto;text-align:center}
.eyebrow{
  display:inline-flex;
  min-height:30px;
  align-items:center;
  gap:8px;
  max-width:100%;
  margin-bottom:14px;
  padding:3px 12px;
  overflow:hidden;
  border:1px solid var(--color-border);
  border-radius:var(--radius-pill);
  background:var(--color-panel);
  color:var(--color-muted);
  font-family:var(--font-mono);
  font-size:12px;
  font-weight:700;
}
.eyebrow-dot{
  width:8px;
  height:8px;
  flex-shrink:0;
  border-radius:50%;
  background:var(--gradient-brand);
}
.panel,
.card{
  min-width:0;
  border:1px solid var(--color-border);
  border-radius:var(--radius-xl);
  background:var(--color-panel);
  box-shadow:var(--shadow-panel);
}
.card{padding:28px}
.badge,
.chip{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  min-height:26px;
  max-width:100%;
  padding:3px 10px;
  overflow:hidden;
  border-radius:var(--radius-pill);
  background:var(--color-panel-soft);
  color:var(--color-muted);
  font-family:var(--font-mono);
  font-size:12px;
  font-weight:700;
  line-height:1.4;
}
.badge-accent{background:var(--color-tint-blue);color:var(--color-accent)}
.badge-success{background:var(--color-tint-green);color:var(--color-success)}
.badge-warm{background:var(--color-tint-orange);color:var(--color-orange)}
.btn{
  display:inline-flex;
  min-width:24px;
  min-height:48px;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:10px 24px;
  border:1px solid transparent;
  border-radius:var(--radius-pill);
  cursor:pointer;
  font-weight:800;
  line-height:1.2;
  transition:transform .2s ease,background-color .2s ease,border-color .2s ease,color .2s ease,box-shadow .2s ease;
}
.btn:hover{transform:translateY(-2px)}
.btn-primary{
  position:relative;
  background:var(--color-text);
  color:var(--color-white);
  box-shadow:0 14px 28px -14px var(--color-ink-mid),inset 0 1px 0 var(--color-white-soft);
}
.btn-primary::after{
  content:"";
  position:absolute;
  z-index:-1;
  right:10%;
  bottom:-6px;
  left:10%;
  height:14px;
  border-radius:var(--radius-pill);
  background:var(--gradient-brand);
  opacity:.6;
  filter:blur(10px);
}
.btn-primary .btn-icon{
  display:grid;
  width:36px;
  height:36px;
  margin-right:-7px;
  place-items:center;
  border-radius:50%;
  background:var(--color-white);
  color:var(--color-text);
}
.btn-primary .btn-icon svg{width:17px;height:17px}
.btn-secondary{
  border-color:var(--color-accent);
  background:var(--color-panel);
  color:var(--color-accent);
}
.btn-secondary:hover{background:var(--color-tint-blue)}
.btn-soft{background:var(--color-panel-soft);color:var(--color-text)}
.btn-small{min-height:40px;padding:8px 18px;font-size:14px}
.btn[aria-disabled="true"],
.btn:disabled{cursor:not-allowed;opacity:.48;transform:none}
.reveal{transition:opacity .65s ease,transform .65s ease}
.reveal.pending{opacity:0;transform:translateY(16px)}
.reveal.shown{opacity:1;transform:none}
.notice-bar{
  min-height:var(--notice-height);
  background:var(--gradient-brand);
  color:var(--color-white);
}
.notice-inner{
  position:relative;
  display:flex;
  min-height:var(--notice-height);
  align-items:center;
  justify-content:center;
  gap:10px;
  max-width:var(--wide-width);
  margin:auto;
  padding:6px 56px;
  text-align:center;
  font-size:14px;
  font-weight:700;
}
.notice-inner a{color:var(--color-white);text-decoration:underline;text-underline-offset:3px}
.notice-dot{
  width:8px;
  height:8px;
  flex-shrink:0;
  border-radius:50%;
  background:var(--color-white);
  box-shadow:0 0 0 3px var(--color-white-soft);
}
.notice-close{
  position:absolute;
  right:20px;
  display:grid;
  width:30px;
  height:30px;
  min-width:30px;
  min-height:30px;
  place-items:center;
  border:0;
  border-radius:50%;
  background:var(--color-white-soft);
  color:var(--color-white);
  cursor:pointer;
}
.notice-close svg{width:14px;height:14px}
.site-head{
  position:relative;
  z-index:80;
  height:var(--header-height);
  border-bottom:1px solid var(--color-border);
  background:var(--color-panel);
}
.site-head-inner{
  display:flex;
  height:100%;
  align-items:center;
  gap:20px;
  max-width:var(--wide-width);
  margin:auto;
  padding-inline:var(--gutter);
}
.site-brand{
  display:inline-flex;
  min-height:44px;
  align-items:center;
  gap:10px;
  color:var(--color-text);
  flex-shrink:0;
}
.site-brand img{width:31px;height:31px}
.site-brand-name{
  font-family:var(--font-display);
  font-size:21px;
  font-weight:800;
  letter-spacing:-.02em;
}
.site-brand-zh{color:var(--color-muted);font-size:14px;font-weight:600}
.desktop-nav{
  display:flex;
  align-items:center;
  gap:2px;
  margin-left:auto;
}
.desktop-nav a{
  display:inline-flex;
  min-height:40px;
  align-items:center;
  justify-content:center;
  gap:7px;
  padding:8px 10px;
  border-radius:var(--radius-sm);
  color:var(--color-text);
  font-size:14px;
  font-weight:700;
}
.desktop-nav a svg{width:16px;height:16px;color:var(--color-muted)}
.desktop-nav a:hover{background:var(--color-panel-soft)}
.desktop-nav a.on{background:var(--color-tint-blue);color:var(--color-accent)}
.desktop-nav a.on svg{color:var(--color-accent)}
.header-tools{
  display:flex;
  align-items:center;
  gap:8px;
  flex-shrink:0;
}
.language-picker{position:relative}
.language-toggle{
  display:inline-flex;
  min-width:44px;
  min-height:40px;
  align-items:center;
  justify-content:center;
  gap:6px;
  padding:7px 10px;
  border:0;
  border-radius:var(--radius-sm);
  background:transparent;
  color:var(--color-muted);
  cursor:pointer;
  font-weight:700;
}
.language-toggle svg{width:14px;height:14px}
.language-menu{
  position:absolute;
  top:calc(100% + 10px);
  right:0;
  z-index:95;
  display:none;
  width:170px;
  padding:8px;
  border:1px solid var(--color-border);
  border-radius:var(--radius-md);
  background:var(--color-panel);
  box-shadow:var(--shadow-panel);
}
.language-picker.open .language-menu{display:block}
.language-menu a{
  display:flex;
  min-height:42px;
  align-items:center;
  padding:8px 12px;
  border-radius:var(--radius-sm);
  color:var(--color-text);
  font-size:14px;
  font-weight:650;
}
.language-menu a:hover,
.language-menu a.current{background:var(--color-panel-soft);color:var(--color-accent)}
.header-login{
  display:inline-flex;
  min-height:40px;
  align-items:center;
  justify-content:center;
  padding:8px 20px;
  border-radius:var(--radius-pill);
  background:var(--gradient-accent);
  color:var(--color-white);
  font-size:15px;
  font-weight:800;
  box-shadow:0 8px 18px -8px var(--color-glow-blue),inset 0 1px 0 var(--color-white-soft);
}
.menu-toggle{
  display:none;
  width:44px;
  min-width:44px;
  height:44px;
  min-height:44px;
  place-items:center;
  border:0;
  border-radius:var(--radius-sm);
  background:var(--color-panel-soft);
  color:var(--color-text);
  cursor:pointer;
}
.menu-toggle svg{width:22px;height:22px}
.mobile-nav{
  position:absolute;
  z-index:100;
  top:100%;
  right:0;
  left:0;
  display:none;
  max-height:calc(100dvh - var(--header-height));
  overflow-y:auto;
  overscroll-behavior:contain;
  padding:12px var(--gutter) 18px;
  border-bottom:1px solid var(--color-border);
  background:var(--color-panel);
  box-shadow:var(--shadow-panel);
}
.mobile-nav.open{display:block}
.mobile-nav a{
  display:flex;
  width:100%;
  min-height:48px;
  align-items:center;
  gap:10px;
  padding:11px 12px;
  border-radius:var(--radius-sm);
  color:var(--color-text);
  font-weight:750;
}
.mobile-nav a svg{width:18px;height:18px;color:var(--color-muted)}
.mobile-nav a.on{background:var(--color-tint-blue);color:var(--color-accent)}
.mobile-languages{
  display:grid;
  grid-template-columns:1fr;
  gap:6px;
  margin-top:10px;
  padding-top:10px;
  border-top:1px solid var(--color-border);
}
.mobile-languages a{font-size:14px}
.site-footer{
  position:relative;
  overflow-x:clip;
  border-top:1px solid var(--color-border);
  background:var(--color-panel);
}
.footer-grid{
  display:grid;
  grid-template-columns:1.4fr 1fr 1.2fr;
  gap:54px;
  padding-top:64px;
  padding-bottom:48px;
}
.footer-brand{max-width:420px}
.footer-brand .site-brand{margin-bottom:16px}
.footer-brand p{color:var(--color-muted)}
.footer-trust{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:18px;
}
.footer-title{
  margin-bottom:16px;
  font-size:14px;
  font-weight:800;
  letter-spacing:.04em;
}
.footer-links{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px 16px;
  padding:0;
  list-style:none;
}
.footer-links a,
.footer-keywords a{
  display:inline-flex;
  min-height:32px;
  align-items:center;
  color:var(--color-muted);
  font-size:14px;
  font-weight:600;
}
.footer-links a:hover,
.footer-keywords a:hover{color:var(--color-accent)}
.footer-keywords{display:flex;flex-wrap:wrap;gap:8px}
.footer-keywords a{
  min-height:34px;
  padding:4px 10px;
  border:1px solid var(--color-border);
  border-radius:var(--radius-pill);
  background:var(--color-panel-soft);
}
.footer-bottom{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  padding-top:24px;
  padding-bottom:28px;
  border-top:1px solid var(--color-border);
  color:var(--color-muted);
  font-size:13px;
}
.footer-lang{display:flex;flex-wrap:wrap;gap:14px}
.footer-lang a{color:var(--color-muted)}
.footer-lang a.current{color:var(--color-accent);font-weight:800}
#server-status{
  position:relative;
  display:block;
  width:100%;
  max-width:100%;
  margin-bottom:32px;
  overflow:hidden;
}
body:has(.toc-tabs) section[id]{scroll-margin-top:calc(var(--header-height) + var(--toc-height) + 24px)}
@media (max-width:1120px){
  .desktop-nav a span{display:none}
  .desktop-nav a{padding-inline:11px}
}
@media (max-width:840px){
  .desktop-nav{display:none}
  .header-tools{margin-left:auto}
  .language-picker{display:none}
  .menu-toggle{display:grid}
  .footer-grid{grid-template-columns:1fr 1fr}
  .footer-brand{grid-column:1/-1}
}
@media (max-width:768px){
  h1{font-size:clamp(28px,9.8vw,40px);line-height:1.12}
  h2{font-size:clamp(28px,8vw,38px)}
  body{font-size:16px}
  .section{padding-top:64px;padding-bottom:64px}
  .notice-inner{padding-inline:44px;font-size:12px}
  .notice-close{right:10px}
  .site-brand-name{font-size:19px}
  .header-login{padding-inline:16px}
  .footer-grid{grid-template-columns:1fr;gap:34px}
  .footer-brand{grid-column:auto}
  .footer-bottom{align-items:flex-start;flex-direction:column}
}
@media (max-width:640px){
  :root{--gutter:16px}
  .no-break{white-space:normal}
  .card{padding:21px}
  .notice-inner{justify-content:flex-start;text-align:left}
  .notice-dot{display:none}
  .site-brand-zh{display:none}
  .header-tools{gap:5px}
  .header-login{padding-inline:14px;font-size:14px}
  .btn{width:100%}
  .footer-links{grid-template-columns:1fr 1fr}
  .tilt-card,
  [data-tilt]{transform:none!important}
  .decor,
  .stripe-halo,
  [aria-hidden="true"]{max-width:100%}
}
@media (max-width:390px){
  .site-head-inner{gap:8px}
  .site-brand{gap:7px}
  .site-brand img{width:28px;height:28px}
  .header-login{padding-inline:12px}
  .footer-links{grid-template-columns:1fr}
}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,
  *::before,
  *::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
  .reveal,
  .reveal.pending{opacity:1;transform:none}
}