:root{
  --bg:#F5F8F8;
  --bg-panel:#FFFFFF;
  --bg-panel-2:#EBF1F2;
  --border:#D9E2E4;
  --accent:#0A6E8A;
  --accent-mid:#1590AC;
  --accent-bright:#22B8CF;
  --accent-dark:#08566B;
  --text:#10232A;
  --text-muted:#5A6F76;
  --success:#1E9E6A;
  --warn:#D08A12;
  --error:#CF3A3A;
  --on-accent:#FFFFFF;
  --highlight:#FFFFFF;
  --footer-bg:#10232A;
  --footer-text:#D9E2E4;
  --footer-muted:#A8B7BB;
  --accent-rgb:10,110,138;
  --accent-bright-rgb:34,184,207;
  --text-rgb:16,35,42;
  --success-rgb:30,158,106;
  --warn-rgb:208,138,18;
  --error-rgb:207,58,58;
  --flag-red:#D7262C;
  --flag-white:#FFFFFF;
  --flag-blue:#1F4DB0;
  --flag-navy:#1B2F6E;
  --flag-green:#1E8A4A;
  --flag-yellow:#F2C230;
  --flag-black:#1A1A1A;
  --flag-saffron:#F0862D;
  --font-display:'Inter','Noto Sans SC','PingFang SC','Microsoft YaHei','Hiragino Sans','Apple SD Gothic Neo',sans-serif;
  --font-body:'Inter','Noto Sans SC','PingFang SC','Microsoft YaHei','Hiragino Sans','Apple SD Gothic Neo',sans-serif;
  --font-mono:'JetBrains Mono','SFMono-Regular',Menlo,Consolas,'Liberation Mono',monospace;
  --radius-sm:8px;
  --radius:10px;
  --radius-lg:14px;
  --radius-pill:999px;
  --header-height:72px;
  --content-width:1280px;
  --reading-width:780px;
  --gutter:32px;
  --section-space:96px;
  --shadow-window:0 24px 48px -6px rgba(var(--accent-rgb),.12),0 2px 6px rgba(var(--accent-rgb),.05);
  --shadow-soft:0 10px 28px -8px rgba(var(--accent-rgb),.14);
  --shadow-card:0 18px 42px -18px rgba(var(--accent-rgb),.18);
  --shadow-active:0 12px 24px -8px rgba(var(--accent-rgb),.28);
  --focus-ring:0 0 0 3px rgba(var(--accent-bright-rgb),.24);
  --ease-out:cubic-bezier(.2,.7,.2,1);
}
*,
*::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(--text);
  background:var(--bg);
  font-family:var(--font-body);
  font-size:17px;
  line-height:1.7;
  -webkit-font-smoothing:antialiased;
}
body,
button,
input,
select,
textarea{font-family:var(--font-body)}
img,
svg{max-width:100%;height:auto}
svg{display:inline-block;vertical-align:middle}
img{display:block}
a{color:inherit;text-decoration:none}
button,
input,
select,
textarea{font:inherit}
button{color:inherit}
ul,
ol{margin:0;padding:0}
ul{list-style:none}
p,
h1,
h2,
h3,
h4,
figure,
blockquote{margin:0}
main,
section,
article,
aside,
header,
footer,
nav,
div{min-width:0}
code{
  overflow-wrap:anywhere;
  font-family:var(--font-mono);
  font-size:.9em;
}
pre{
  max-width:100%;
  overflow-x:auto;
  padding:20px;
  border:1px solid var(--border);
  border-radius:var(--radius);
  background:var(--footer-bg);
  color:var(--footer-text);
  font-family:var(--font-mono);
  line-height:1.65;
  -webkit-overflow-scrolling:touch;
}
pre code{overflow-wrap:normal}
table{border-collapse:collapse}
::selection{color:var(--on-accent);background:var(--accent)}
:where(a,button,input,select,textarea,summary,[role="tab"]):focus-visible{
  outline:2px solid var(--accent);
  outline-offset:3px;
  box-shadow:var(--focus-ring);
}
.wrap{
  width:100%;
  max-width:var(--content-width);
  margin-inline:auto;
  padding-inline:var(--gutter);
}
.reading{max-width:var(--reading-width);margin-inline:auto}
.section{
  padding-top:var(--section-space);
  padding-bottom:var(--section-space);
  overflow-x:clip;
  max-width:100%;
}
.section-soft{background:var(--bg-panel-2)}
.eyebrow{
  display:inline-flex;
  min-height:28px;
  align-items:center;
  gap:8px;
  padding:3px 12px 3px 10px;
  border:1px solid var(--border);
  border-radius:var(--radius-pill);
  background:var(--bg-panel);
  box-shadow:inset 0 0 0 1px var(--highlight),var(--shadow-soft);
  color:var(--text-muted);
  font-size:13px;
  font-weight:700;
  letter-spacing:.01em;
}
.eyebrow-dot,
.status-dot{
  width:8px;
  height:8px;
  flex:0 0 auto;
  border-radius:50%;
  background:linear-gradient(135deg,var(--accent),var(--accent-bright));
}
h1,
h2,
h3,
h4{
  color:var(--text);
  font-family:var(--font-display);
  text-wrap:balance;
}
h1{
  font-size:clamp(52px,5vw,72px);
  font-weight:800;
  line-height:1.1;
  letter-spacing:-.02em;
}
h2{
  font-size:clamp(34px,3.4vw,48px);
  font-weight:800;
  line-height:1.16;
  letter-spacing:-.02em;
}
h3{font-size:24px;font-weight:750;line-height:1.28;letter-spacing:-.01em}
h4{font-size:18px;font-weight:750;line-height:1.35}
.section-heading{max-width:760px;margin-bottom:40px}
.section-heading p{max-width:680px;margin-top:16px;color:var(--text-muted)}
.gradient-text{
  background:linear-gradient(92deg,var(--accent),var(--accent-bright));
  background-clip:text;
  -webkit-background-clip:text;
  color:transparent;
}
.no-break{white-space:nowrap}
.muted{color:var(--text-muted)}
.mono{font-family:var(--font-mono)}
.badge{
  display:inline-flex;
  min-height:28px;
  max-width:100%;
  align-items:center;
  gap:7px;
  overflow:hidden;
  padding:3px 10px;
  border:1px solid var(--border);
  border-radius:var(--radius-pill);
  background:var(--bg-panel);
  color:var(--text-muted);
  font-size:13px;
  font-weight:650;
}
.badge-accent{border-color:rgba(var(--accent-rgb),.28);color:var(--accent);background:rgba(var(--accent-rgb),.06)}
.badge-success{border-color:rgba(var(--success-rgb),.25);color:var(--success);background:rgba(var(--success-rgb),.06)}
.button,
.btn{
  display:inline-flex;
  min-height:48px;
  min-width:24px;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:10px 22px;
  border:1px solid transparent;
  border-radius:var(--radius);
  cursor:pointer;
  font-size:15px;
  font-weight:750;
  line-height:1.2;
  text-align:center;
  transition:transform .2s var(--ease-out),box-shadow .2s var(--ease-out),background-color .2s,border-color .2s,color .2s;
}
.button svg,
.btn svg{width:18px;height:18px;flex:0 0 auto}
.button-primary,
.btn-primary{
  color:var(--on-accent);
  background:linear-gradient(135deg,var(--accent-dark),var(--accent) 55%,var(--accent-mid));
  box-shadow:0 12px 26px -10px rgba(var(--accent-rgb),.55),inset 0 1px 0 rgba(var(--accent-bright-rgb),.3);
}
.button-secondary,
.btn-secondary{
  border-color:var(--border);
  background:var(--bg-panel);
  color:var(--text);
  box-shadow:inset 0 0 0 1px var(--highlight),var(--shadow-soft);
}
.button-quiet{border-color:var(--border);background:var(--bg-panel-2);color:var(--text)}
.button-danger{border-color:var(--error);background:var(--bg-panel);color:var(--error)}
.button:hover,
.btn:hover{transform:translateY(-2px)}
.button-primary:hover,
.btn-primary:hover{box-shadow:0 16px 30px -10px rgba(var(--accent-rgb),.6)}
.button-secondary:hover,
.btn-secondary:hover{border-color:var(--accent);color:var(--accent)}
.button[disabled],
.btn[disabled]{cursor:not-allowed;opacity:.55;transform:none}
.panel,
.card{
  border:1px solid var(--border);
  border-radius:var(--radius);
  background:var(--bg-panel);
  box-shadow:inset 0 0 0 1px var(--highlight),var(--shadow-card);
}
.panel-soft,
.card-soft{
  border:1px solid var(--border);
  border-radius:var(--radius);
  background:var(--bg-panel-2);
  box-shadow:inset 0 0 0 1px var(--highlight);
}
.reveal{transition:opacity .65s var(--ease-out),transform .65s var(--ease-out)}
.reveal.pending{opacity:0;transform:translateY(16px)}
.reveal.shown{opacity:1;transform:none}
.counter-stat{
  display:inline-block;
  min-width:3.2ch;
  font-variant-numeric:tabular-nums;
  text-align:right;
}
.tilt{transform:rotate(-1deg)}
#server-status{
  position:relative;
  display:block;
  width:100%;
  max-width:100%;
  overflow:hidden;
  margin-bottom:32px;
}
#server-status > *{min-width:0}
.site-header{
  position:relative;
  z-index:50;
  height:var(--header-height);
}
.header-inner{
  height:var(--header-height);
  display:flex;
  align-items:center;
  gap:38px;
}
.site-brand{
  display:inline-flex;
  min-height:44px;
  align-items:center;
  gap:10px;
  flex:0 0 auto;
}
.site-brand img{width:30px;height:30px;border-radius:var(--radius-sm)}
.brand-en{font-family:var(--font-display);font-size:19px;font-weight:800;letter-spacing:-.02em}
.brand-local{color:var(--text-muted);font-size:15px;font-weight:550}
.desktop-nav{display:flex;align-items:center}
.nav-list{display:flex;align-items:center;color:var(--text-muted);font-size:14px;font-weight:550}
.nav-list li{display:flex;align-items:center}
.nav-list li+li::before{
  content:"·";
  margin-inline:10px;
  color:var(--border);
  font-weight:800;
}
.nav-list a{
  display:inline-flex;
  min-height:32px;
  align-items:center;
  padding-block:4px;
}
.nav-list a:hover{color:var(--text)}
.nav-list a[aria-current="page"]{color:var(--accent);font-weight:700}
.header-tools{
  display:flex;
  align-items:center;
  gap:12px;
  margin-left:auto;
}
.language-menu{position:relative}
.language-toggle{
  display:inline-flex;
  min-width:44px;
  min-height:44px;
  align-items:center;
  justify-content:center;
  gap:6px;
  padding-inline:8px;
  border:0;
  background:transparent;
  color:var(--text-muted);
  cursor:pointer;
  font-size:14px;
}
.language-popover{
  position:absolute;
  top:calc(100% + 8px);
  right:0;
  z-index:54;
  display:none;
  width:158px;
  padding:6px;
  border:1px solid var(--border);
  border-radius:var(--radius);
  background:var(--bg-panel);
  box-shadow:var(--shadow-window);
}
.language-menu.is-open .language-popover{display:block}
.language-popover a{
  display:flex;
  min-height:40px;
  align-items:center;
  padding:7px 10px;
  border-radius:var(--radius-sm);
  color:var(--text-muted);
  font-size:14px;
}
.language-popover a:hover,
.language-popover a[aria-current="true"]{background:var(--bg-panel-2);color:var(--accent)}
.header-login{
  display:inline-flex;
  min-height:38px;
  align-items:center;
  justify-content:center;
  padding:7px 17px;
  border:1px solid var(--accent);
  border-radius:var(--radius);
  background:var(--bg-panel);
  color:var(--accent);
  font-size:14px;
  font-weight:700;
}
.header-login:hover{background:var(--accent);color:var(--on-accent)}
.menu-toggle{
  display:none;
  min-width:44px;
  min-height:44px;
  align-items:center;
  justify-content:center;
  border:1px solid var(--border);
  border-radius:var(--radius);
  background:var(--bg-panel);
  cursor:pointer;
}
.menu-toggle svg{width:22px;height:22px}
.mobile-nav{
  position:absolute;
  top:var(--header-height);
  left:var(--gutter);
  right:var(--gutter);
  z-index:53;
  display:none;
  max-height:calc(100dvh - var(--header-height) - 12px);
  overflow-y:auto;
  overscroll-behavior:contain;
  padding:8px;
  border:1px solid var(--border);
  border-radius:var(--radius-lg);
  background:var(--bg-panel);
  box-shadow:var(--shadow-window);
}
.mobile-nav.is-open{display:block}
.mobile-nav ul{display:grid}
.mobile-nav a{
  display:flex;
  width:100%;
  min-height:46px;
  align-items:center;
  padding:10px 12px;
  border-radius:var(--radius-sm);
}
.mobile-nav a:hover,
.mobile-nav a[aria-current="page"]{background:var(--bg-panel-2);color:var(--accent)}
.mobile-language{
  margin-top:8px;
  padding-top:8px;
  border-top:1px solid var(--border);
}
.nav-veil{
  position:fixed;
  inset:var(--header-height) 0 0;
  z-index:45;
  display:none;
  background:rgba(var(--text-rgb),.18);
}
.nav-veil.is-open{display:block}
.site-footer{
  overflow-x:clip;
  background:var(--footer-bg);
  color:var(--footer-text);
}
.footer-main{
  display:grid;
  grid-template-columns:minmax(260px,1.25fr) repeat(3,minmax(160px,1fr));
  gap:48px;
  padding-top:64px;
  padding-bottom:48px;
}
.footer-brand .site-brand{color:var(--on-accent)}
.footer-brand p{max-width:360px;margin-top:16px;color:var(--footer-muted);font-size:14px}
.footer-title{margin-bottom:14px;color:var(--on-accent);font-size:14px;font-weight:750}
.footer-links{display:grid;gap:7px}
.footer-links a{
  display:inline-flex;
  min-height:30px;
  align-items:center;
  color:var(--footer-muted);
  font-size:14px;
}
.footer-links a:hover{color:var(--on-accent)}
.footer-bottom{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  padding-top:20px;
  padding-bottom:26px;
  border-top:1px solid rgba(var(--accent-bright-rgb),.16);
  color:var(--footer-muted);
  font-size:13px;
}
.footer-legal,
.footer-languages{display:flex;flex-wrap:wrap;gap:8px 16px}
.prose{color:var(--text)}
.prose > *+*{margin-top:20px}
.prose h2{margin-top:64px}
.prose h3{margin-top:40px}
.prose p,
.prose li{color:var(--text-muted)}
.prose ul{padding-left:1.25em;list-style:disc}
.prose ol{padding-left:1.4em}
.prose a{color:var(--accent);text-decoration:underline;text-underline-offset:3px}
body:has(.toc-tabs) section[id]{scroll-margin-top:132px}
@media (max-width:1120px){
  .header-inner{gap:20px}
  .nav-list li+li::before{margin-inline:7px}
  .nav-list{font-size:13px}
}
@media (max-width:960px){
  .desktop-nav,
  .language-menu{display:none}
  .header-tools{margin-left:auto}
  .menu-toggle{display:inline-flex}
  .footer-main{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:768px){
  :root{--section-space:72px}
  h1{font-size:clamp(28px,9vw,40px);line-height:1.12}
  h2{font-size:clamp(28px,7.2vw,38px)}
  .footer-main{gap:36px}
}
@media (max-width:640px){
  :root{--gutter:20px;--section-space:60px}
  .no-break{white-space:normal}
  .tilt{transform:none}
  .header-inner{gap:10px}
  .brand-local{display:none}
  .header-login{min-height:40px;padding-inline:13px}
  .mobile-nav{left:var(--gutter);right:var(--gutter);max-width:calc(100% - var(--gutter) * 2)}
  .footer-main{grid-template-columns:1fr;padding-top:50px}
  .footer-bottom{align-items:flex-start;flex-direction:column}
  .button,
  .btn{padding-inline:18px}
  .absolute-decoration,
  .stripe-halo{display:none;max-width:100%}
}
@media (max-width:380px){
  :root{--gutter:16px}
  .brand-en{font-size:17px}
  .header-tools{gap:7px}
}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,
  *::before,
  *::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
  .reveal,
  .reveal.pending{opacity:1;transform:none}
}