:root {
  color-scheme: light;
  --bg: #F9F9FB;
  --panel: #FFFFFF;
  --panel-soft: #FBFBFE;
  --panel-2: #F0F0FB;
  --panel-2-hi: #F5F5FD;
  --border: #E3E3EA;
  --border-strong: #CFCFDB;
  --accent: #4F4CF0;
  --accent-dark: #3936C2;
  --text: #121218;
  --muted: #5D5D6B;
  --faint: #9494A4;
  --success: #14905A;
  --warn: #C27A0A;
  --error: #D23B3B;
  --on-accent: #FFFFFF;
  --clear: transparent;
  --accent-04: rgba(79,76,240,.04);
  --accent-06: rgba(79,76,240,.06);
  --accent-10: rgba(79,76,240,.10);
  --accent-16: rgba(79,76,240,.16);
  --accent-28: rgba(79,76,240,.28);
  --glow: rgba(79,76,240,.15);
  --hi-white: rgba(255,255,255,.24);
  --hi-white-soft: rgba(255,255,255,.75);
  --ink-04: rgba(18,18,24,.04);
  --ink-10: rgba(18,18,24,.10);
  --ink-14: rgba(18,18,24,.14);
  --veil: rgba(18,18,24,.38);
  --flag-white: #FFFFFF;
  --flag-us-red: #B8243A;
  --flag-us-blue: #3A3A72;
  --flag-sg-red: #E3343F;
  --flag-hk-red: #D92A1C;
  --flag-jp-red: #BC1F33;
  --flag-it-green: #11904F;
  --flag-it-red: #C8303A;
  --flag-de-black: #1B1B1F;
  --flag-de-red: #D3261E;
  --flag-de-gold: #F2C230;
  --font-display: "Inter","Noto Sans SC","PingFang SC","Hiragino Sans","Yu Gothic","Apple SD Gothic Neo","Malgun Gothic","Microsoft YaHei",system-ui,sans-serif;
  --font-body: "Inter","Noto Sans SC","PingFang SC","Hiragino Sans","Yu Gothic","Apple SD Gothic Neo","Malgun Gothic","Microsoft YaHei",system-ui,sans-serif;
  --font-mono: "JetBrains Mono",ui-monospace,"SFMono-Regular",Menlo,Consolas,monospace;
  --r-xs: 4px;
  --r-sm: 6px;
  --r-md: 8px;
  --r-block: 10px;
  --r-lg: 12px;
  --r-xl: 16px;
  --r-pill: 999px;
  --r-round: 50%;
  --r-tool: 5px;
  --r-tile: 7px;
  --r-stud: 3px;
  --r-tab: 2px;
  --shadow-soft: 0 1px 2px rgba(18,18,24,.04);
  --shadow-board: inset 0 1px 0 rgba(255,255,255,.7),inset 0 0 0 1px rgba(79,76,240,.06),0 2px 6px rgba(79,76,240,.04),0 36px 90px -26px rgba(79,76,240,.12);
  --shadow-win: 0 0 0 1px rgba(79,76,240,.10),inset 0 1px 0 rgba(255,255,255,1),0 2px 6px rgba(18,18,24,.05),0 26px 52px -20px rgba(57,54,194,.28);
  --shadow-block: 0 1px 2px rgba(18,18,24,.04),0 16px 32px -20px rgba(57,54,194,.30);
  --shadow-float: 0 0 0 1px rgba(79,76,240,.12),0 8px 18px rgba(18,18,24,.07),0 36px 66px -18px rgba(57,54,194,.40);
  --shadow-band: 0 0 0 2px #FFFFFF,0 0 0 4px rgba(79,76,240,.24),inset 0 1px 0 rgba(255,255,255,.28),0 14px 26px -14px rgba(57,54,194,.6);
  --shadow-cta: inset 0 1px 0 rgba(255,255,255,.22),0 12px 24px -12px rgba(79,76,240,.55);
  --shadow-row-on: 0 8px 16px -10px rgba(79,76,240,.45);
  --gutter: 32px;
  --content-width: 1312px;
  --header-height: 72px;
  --toc-height: 64px;
  --anchor-offset: 88px;
  --toc-offset: 88px;
  --section-space: 80px;
  --ease: cubic-bezier(.2,.7,.3,1);
  --fast: .2s;
  --reveal-time: .35s;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--anchor-offset); }
body { margin: 0; font-family: var(--font-body); background: var(--bg); color: var(--text); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1,h2,h3,h4,p,ul,ol,figure,blockquote { margin: 0; }
h1,h2,h3,h4 { font-family: var(--font-display); overflow-wrap: break-word; }
h1 { font-size: clamp(52px,5vw,66px); font-weight: 900; line-height: 1.12; letter-spacing: -.02em; }
h2 { font-size: clamp(28px,3.2vw,40px); font-weight: 900; line-height: 1.2; letter-spacing: -.02em; }
h3 { font-size: 21px; line-height: 1.4; font-weight: 700; }
a { color: inherit; text-underline-offset: .2em; }
button,input,select,textarea { font: inherit; }
button { cursor: pointer; }
button,a,summary,input,select,textarea { -webkit-tap-highlight-color: var(--accent-10); }
:where(a,button,summary,input,select,textarea,[tabindex]):focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
button:disabled { cursor: not-allowed; }
img,svg { display: block; max-width: 100%; }
img { height: auto; }
svg { flex-shrink: 0; }
ul { padding: 0; list-style: none; }
ol { padding-left: 1.5em; }
[hidden] { display: none !important; }
::selection { background: var(--accent-16); color: var(--text); }
code,kbd,pre { font-family: var(--font-mono); }
code { overflow-wrap: anywhere; font-size: .9em; color: var(--accent-dark); }
pre { max-width: 100%; min-width: 0; overflow-x: auto; padding: 20px; background: var(--panel-2); border: 1px solid var(--border); border-radius: var(--r-md); }
pre code { overflow-wrap: normal; color: var(--text); }
table { border-collapse: collapse; }
th,td { text-align: left; }
.no-break { white-space: nowrap; }
.wrap { width: 100%; max-width: var(--content-width); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-top: var(--section-space); padding-bottom: var(--section-space); }
.stack { display: grid; gap: 24px; min-width: 0; }
.grid { display: grid; gap: 24px; }
.grid > *, .stack > *, .wrap > *, main,article,section { min-width: 0; }
.grid-three { grid-template-columns: repeat(3,minmax(0,1fr)); }
.grid-five { grid-template-columns: repeat(5,minmax(0,1fr)); }
.muted { color: var(--muted); }
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.panel { padding: 28px; background: var(--panel); border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow-soft); }
.panel-tinted { background: var(--panel-2); box-shadow: var(--shadow-board); }
.section-heading { margin-bottom: 40px; }
.section-heading p { margin-top: 16px; max-width: 860px; color: var(--muted); font-size: 18px; line-height: 1.72; }
.prose { max-width: 860px; overflow-wrap: break-word; }
.prose p + p { margin-top: 20px; }
.prose h2 { margin-top: 52px; margin-bottom: 20px; font-size: 30px; }
.prose h3 { margin-top: 32px; margin-bottom: 12px; }
.prose ul,.prose ol { margin-block: 20px; padding-left: 1.5em; }
.prose ul { list-style: disc; }
.prose li + li { margin-top: 8px; }
.prose pre,.prose table,.prose blockquote { margin-block: 24px; }
.prose a:not(.btn) { color: var(--accent-dark); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 28px; border: 1.5px solid var(--clear); border-radius: var(--r-md); font-size: 16px; font-weight: 600; text-decoration: none; white-space: nowrap; flex-shrink: 0; transition: background var(--fast),color var(--fast),transform var(--fast); }
.btn svg { width: 16px; height: 16px; }
.btn-primary { background: var(--accent); color: var(--on-accent); box-shadow: var(--shadow-cta); }
.btn-primary:hover,.btn-primary.is-hover { background: var(--accent-dark); }
.btn-line { background: var(--panel); color: var(--text); border-color: var(--text); }
.btn-line:hover,.btn-line.is-hover { background: var(--panel-2); }
.btn:active,.btn.is-active { transform: translateY(1px); }
.btn:disabled,.btn[aria-disabled="true"] { opacity: .5; box-shadow: none; }
.btn-small { height: 44px; padding-inline: 18px; font-size: 14px; }
.cta-row { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.text-link { display: inline-flex; align-items: center; min-height: 24px; gap: 8px; color: var(--accent-dark); }
.reveal { transition: opacity var(--reveal-time) var(--ease),transform var(--reveal-time) var(--ease); }
.reveal.pending { opacity: 0; transform: translateY(16px); }
.reveal.shown { opacity: 1; transform: none; }
.decor-scope { position: relative; overflow-x: clip; max-width: 100%; }
.decor-glow { position: absolute; inset: 0 0 30% 45%; pointer-events: none; background: radial-gradient(closest-side,var(--glow),var(--clear)); }
#server-status { display: block; position: relative; min-width: 0; width: 100%; max-width: 100%; min-height: 48px; overflow: hidden; margin-top: 24px; margin-bottom: 24px; }
#server-status + * { margin-top: 24px; }

.site-header { position: relative; z-index: 50; border-bottom: 1px solid var(--border); }
.bar { max-width: var(--content-width); margin: 0 auto; padding: 0 var(--gutter); height: var(--header-height); display: flex; flex-wrap: nowrap; align-items: center; gap: 36px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.brand-mark { width: 32px; height: 32px; }
.brand-word { font-family: var(--font-display); font-weight: 800; font-size: 19px; letter-spacing: -.02em; color: var(--text); }
.desktop-nav { align-self: stretch; flex: 1; min-width: 0; position: relative; }
.nav-more { position: relative; z-index: 90; flex-shrink: 0; }
.nav-more-toggle { height: 100%; padding: 0 10px; border: 0; background: var(--clear); color: var(--muted); font-size: 14px; white-space: nowrap; }
.nav-more-panel { position: absolute; top: 100%; right: 0; min-width: 220px; max-width: calc(100vw - 40px); padding: 8px; border: 1px solid var(--border); border-radius: var(--r-md); background: var(--panel); box-shadow: var(--shadow-win); }
.tabs .nav-more-panel li { display: block; height: auto; }
.tabs .nav-more-panel a { min-height: 44px; padding: 10px 12px; white-space: normal; }
.tabs .nav-more-panel a::after { display: none; }
.tabs { display: flex; align-items: center; align-self: stretch; list-style: none; margin: 0; padding: 0; gap: 2px; height: 100%; }
.tabs li { display: flex; height: 100%; flex-shrink: 0; }
.tabs a { position: relative; display: flex; align-items: center; padding: 0 12px; font-size: 14.5px; color: var(--muted); text-decoration: none; white-space: nowrap; transition: color var(--fast); }
.tabs a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 2px; border-radius: var(--r-tab) var(--r-tab) 0 0; background: var(--border-strong); transform: scaleX(0); transition: transform var(--fast); }
.tabs a:hover { color: var(--text); }
.tabs a:hover::after { transform: scaleX(1); }
.tabs a[aria-current="page"] { color: var(--text); font-weight: 600; }
.tabs a[aria-current="page"]::after { background: var(--accent); transform: scaleX(1); }
.bar-end { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.lang-box { position: relative; }
.lang { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 38px; width: auto; min-width: 44px; padding: 0 12px; border: 0; border-radius: var(--r-md); background: var(--clear); font-size: 14px; color: var(--muted); text-decoration: none; white-space: nowrap; }
.lang:hover { background: var(--panel-2); color: var(--text); }
.lang-caret { font-size: 11px; }
.lang-panel { position: absolute; z-index: 80; top: calc(100% + 12px); right: 0; width: 180px; padding: 8px; border: 1px solid var(--border); border-radius: var(--r-md); background: var(--panel); box-shadow: var(--shadow-win); }
.lang-panel a { display: flex; align-items: center; min-height: 44px; padding: 8px 12px; border-radius: var(--r-sm); font-size: 14px; text-decoration: none; }
.lang-panel a:hover,.lang-panel a[aria-current="true"] { background: var(--panel-2); color: var(--accent-dark); }
.login { display: inline-flex; align-items: center; justify-content: center; height: 38px; padding: 0 18px; border: 1.5px solid var(--text); border-radius: var(--r-md); background: var(--panel); font-size: 14px; font-weight: 600; color: var(--text); text-decoration: none; white-space: nowrap; transition: background var(--fast),color var(--fast); }
.login:hover { background: var(--text); color: var(--panel); }
.menu-toggle { display: none; align-items: center; justify-content: center; flex-direction: column; gap: 4px; min-width: 44px; min-height: 44px; padding: 10px; border: 1px solid var(--border); border-radius: var(--r-md); background: var(--panel); color: var(--text); }
.menu-line { display: block; width: 20px; height: 2px; background: currentColor; }
.nav-drawer { position: fixed; top: var(--header-height); left: 0; right: 0; z-index: 65; height: calc(100dvh - var(--header-height)); max-height: calc(100dvh - var(--header-height)); padding: 20px var(--gutter) 32px; background: var(--panel); overflow-y: auto; overscroll-behavior: contain; }
.nav-drawer a { display: flex; align-items: center; width: 100%; min-height: 48px; padding: 12px 16px; border-radius: var(--r-md); text-decoration: none; }
.nav-drawer a:hover,.nav-drawer a[aria-current] { background: var(--panel-2); color: var(--accent-dark); }
.drawer-languages { padding-top: 16px; margin-top: 16px; border-top: 1px solid var(--border); }
.nav-veil { position: fixed; top: var(--header-height); left: 0; right: 0; bottom: 0; z-index: 60; border: 0; background: var(--veil); }
html.nav-open { overflow: hidden; }
.site-footer { margin-top: 48px; border-top: 1px solid var(--border); background: var(--panel-2); }
.footer-grid { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 48px; padding-top: 56px; padding-bottom: 40px; }
.footer-brand p { margin-top: 20px; max-width: 330px; color: var(--muted); font-size: 14px; }
.footer-title { font-size: 14px; font-weight: 700; margin-bottom: 14px; }
.footer-links { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 6px 20px; }
.footer-links a,.footer-languages a,.footer-legal a { display: inline-flex; align-items: center; min-height: 32px; font-size: 13px; color: var(--muted); text-decoration: none; }
.footer-links a:hover,.footer-languages a:hover,.footer-legal a:hover { color: var(--accent-dark); text-decoration: underline; }
.footer-languages { display: flex; flex-wrap: wrap; gap: 8px 24px; padding-top: 20px; padding-bottom: 20px; border-top: 1px solid var(--border); }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-top: 16px; padding-bottom: 24px; border-top: 1px solid var(--border); font-size: 13px; color: var(--muted); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 20px; }

@media (max-width:1240px) {
  .bar { gap: 20px; }
  .tabs a { padding: 0 9px; font-size: 14px; }
  .tabs a::after { left: 9px; right: 9px; }
}
@media (max-width:900px) {
  .grid-five { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .footer-grid { gap: 32px; grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1/-1; }
}
@media (max-width:768px) {
  :root { --gutter: 20px; --section-space: 56px; }
  h1 { font-size: 38px; line-height: 1.14; }
  .desktop-nav { display: none; }
  .bar { gap: 12px; }
  .bar-end { margin-left: auto; gap: 8px; }
  .menu-toggle { display: inline-flex; }
  .grid-three { grid-template-columns: minmax(0,1fr); }
  .grid-five { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .decor-glow { max-width: 100%; }
}
@media (min-width:769px) {
  .nav-drawer,.nav-veil { display: none !important; }
}
@media (max-width:640px) {
  .no-break { white-space: normal; }
  .tilt,[data-tilt] { transform: none; }
  .brand-word { font-size: 17px; }
  .brand-mark { width: 28px; height: 28px; }
  .brand { gap: 7px; }
  .lang { padding: 0 8px; font-size: 12px; gap: 4px; }
  .login { padding: 0 12px; font-size: 13px; }
  .bar { gap: 8px; }
  .bar-end { gap: 6px; }
  .footer-grid { grid-template-columns: minmax(0,1fr); }
  .footer-brand { grid-column: auto; }
  .panel { padding: 20px; }
  h2 { font-size: 28px; }
  .section-heading p { font-size: 16px; }
}
@media (max-width:359px) {
  :root { --gutter: 16px; }
  .brand-mark { width: 24px; height: 24px; }
  .brand-word { font-size: 15px; }
  .lang { padding-inline: 4px; font-size: 11px; }
  .login { padding-inline: 9px; }
  .bar-end { gap: 4px; }
}
@media (prefers-reduced-motion:reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { transition: none !important; animation: none !important; }
  .reveal,.reveal.pending { opacity: 1; transform: none; }
}