:root {
  color-scheme: light;
  --canvas: #f2f4f3;
  --surface: #f9faf8;
  --surface-strong: #e6ecec;
  --blue: #CEF2FB;
  --blue-soft: #ddf5fb;
  --accent-text: #176a7e;
  --on-blue: #114d5d;
  --text: #172126;
  --muted: #536066;
  --line: rgba(23, 33, 38, .13);
  --warm: #F3B040;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --canvas: #101820;
    --surface: #172b36;
    --surface-strong: #203b48;
    --blue-soft: #193843;
    --accent-text: #a9e6f5;
    --text: #ecf4f7;
    --muted: #b0c3cd;
    --line: rgba(236, 244, 247, .14);
  }
}
* { box-sizing: border-box; }
html.i18n-pending body { visibility: hidden; animation: i18n-fallback 0s linear 1.2s forwards; }
@keyframes i18n-fallback { to { visibility: visible; } }
body { margin: 0; background: var(--canvas); color: var(--text); line-height: 1.65; -webkit-font-smoothing: antialiased; }
html:lang(en) [lang="zh-CN"]:not(html):not(button), html:lang(zh-CN) [lang="en"]:not(html):not(button) { display: none !important; }
a { color: var(--accent-text); text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 2px; }
.skip-link { position: fixed; top: 10px; left: 12px; z-index: 10; padding: 10px 14px; border-radius: 10px; background: var(--text); color: var(--canvas); transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.doc-header { position: sticky; top: 0; z-index: 5; border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--canvas) 90%, transparent); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.doc-header .bar { width: min(860px, calc(100% - 32px)); min-height: 60px; margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.back { min-height: 44px; display: inline-flex; align-items: center; gap: 8px; color: var(--text); font-weight: 650; text-decoration: none; }
.back img { width: 24px; height: 24px; border-radius: 6px; }
.language-picker { display: inline-flex; padding: 3px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-strong); }
.language-picker button { min-width: 40px; min-height: 36px; border: 0; border-radius: 9px; background: transparent; color: var(--muted); cursor: pointer; font: inherit; font-size: 12px; font-weight: 700; }
.language-picker button[aria-pressed="true"] { background: var(--blue); color: var(--on-blue); }
main { width: min(860px, calc(100% - 32px)); margin: 0 auto; padding: 36px 0 80px; }
h1 { margin: 0 0 6px; font-size: clamp(30px, 5vw, 42px); letter-spacing: -.035em; line-height: 1.1; }
.lede { margin: 0; color: var(--muted); }
h2 { margin: 0 0 10px; font-size: 22px; letter-spacing: -.02em; }
section { margin: 28px 0; }
li { margin: 6px 0; }
code { padding: .12em .4em; border-radius: 6px; background: var(--surface-strong); font: .92em ui-monospace, SFMono-Regular, Menlo, monospace; }
.card { padding: 22px 24px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.release + .release { margin-top: 16px; }
.release-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; }
.release-head h2 { margin: 0; }
.release-head p { margin: 0; color: var(--muted); font-size: 14px; font-variant-numeric: tabular-nums; }
.badge { display: inline-block; margin-left: 8px; padding: 2px 8px; border-radius: 999px; background: var(--warm); color: #33250d; font-size: 12px; font-weight: 750; vertical-align: middle; }
.release-body { font-size: 15px; overflow-wrap: anywhere; }
.release-body h3, .release-body h4 { margin: 18px 0 6px; font-size: 16px; }
.release-body blockquote { margin: 12px 0; padding: 8px 14px; border-left: 3px solid var(--warm); background: color-mix(in srgb, var(--warm) 10%, var(--surface)); color: var(--muted); }
.release-body ul { padding-left: 22px; }
.status { padding: 16px 18px; border: 1px dashed var(--line); border-radius: 14px; color: var(--muted); }
.note { color: var(--muted); font-size: 14px; }
.more { margin-top: 20px; }
footer { width: min(860px, calc(100% - 32px)); margin: 0 auto; padding: 18px 0 40px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
@media (forced-colors: active) {
  .card, .status, .language-picker button { border: 1px solid CanvasText; }
  .language-picker button[aria-pressed="true"] { outline: 2px solid Highlight; }
}
