:root {
  color-scheme: dark;
  --background: #0d1222;
  --surface: #141b2e;
  --surface-hover: #1d2540;
  --text: #f3f2ff;
  --muted: #adb5cf;
  --accent: #ba92ff;
  --line: #2a3550;
  --header: #101729;
  --shadow: #060a1640;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-family: var(--font);
  background: var(--background);
  color: var(--text);
  scroll-behavior: smooth;
  scroll-padding-top: 28px;
}
:root[data-theme="light"] { color-scheme: light; --background: #f8f7fc; --surface: #ffffff; --surface-hover: #efebf8; --text: #25203d; --muted: #62667d; --accent: #7546bb; --line: #e1deec; --header: #ffffff; --shadow: #37245b08; }
@media (prefers-color-scheme: light) {
  :root:not([data-theme]) { color-scheme: light; --background: #f8f7fc; --surface: #ffffff; --surface-hover: #efebf8; --text: #25203d; --muted: #62667d; --accent: #7546bb; --line: #e1deec; --header: #ffffff; --shadow: #37245b08; }
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; background: var(--background); color: var(--text); }
body, .site-header, .site-footer, .legal-article, .support-contact, .support-body, .theme-toggle, .copy-button, .language-switch, .document-navigation a { transition: background-color .38s ease, color .38s ease, border-color .38s ease, box-shadow .38s ease; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: .24em; }
a:hover { text-decoration: underline; }
button { font: inherit; cursor: pointer; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 10; transform: translateY(-150%); border-radius: 8px; padding: 14px 22px; background: var(--surface); color: var(--text); }
.skip-link:focus { transform: none; }
.site-header { border-bottom: 1px solid var(--line); background: var(--header); }
.header-inner, .document-navigation, .footer-inner, main { width: min(1160px, calc(100% - 96px)); margin: 0 auto; }
.header-inner { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: baseline; gap: 7px; color: var(--text); font-size: 29px; line-height: 1; font-weight: 780; letter-spacing: -1.2px; text-decoration: none; }
.brand span { font-size: 17px; color: var(--accent); }
.header-actions { display: flex; align-items: center; gap: 24px; }
.back-home { color: var(--muted); text-decoration: none; font-size: 14px; }
.language-switch { color: var(--text); font-size: 14px; text-decoration: none; font-weight: 600; padding: 10px 0; }
.theme-toggle { display: none; position: relative; width: 42px; height: 42px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); color: var(--accent); font-size: 25px; line-height: 1; }
.js .theme-toggle { display: block; }
.theme-toggle:hover, .copy-button:hover { background: var(--surface-hover); }
.theme-sun { display: inline; }
.theme-moon { display: none; }
[data-theme="light"] .theme-sun { display: none; }
[data-theme="light"] .theme-moon { display: inline; }
.theme-toggle.switching { animation: theme-spin .45s ease; }
@keyframes theme-spin { from { transform: rotate(-70deg); } to { transform: rotate(0); } }
.document-navigation { display: flex; flex-wrap: wrap; gap: 0 30px; }
.document-navigation a { display: block; padding: 17px 0; color: var(--muted); text-decoration: none; border-bottom: 2px solid transparent; font-size: 14px; }
.document-navigation a[aria-current] { border-color: var(--accent); color: var(--text); }
.document-navigation a:hover { color: var(--accent); }
.page-intro { padding: 66px 0 48px; max-width: 840px; }
.eyebrow { font-size: 12px; letter-spacing: .2em; line-height: 1.5; color: var(--accent); font-weight: 650; margin: 0 0 19px; }
h1 { margin: 0; font-size: clamp(36px, 4.2vw, 60px); line-height: 1.15; letter-spacing: -.04em; font-weight: 750; overflow-wrap: anywhere; }
.intro-text { margin: 21px 0 0; font-size: 18px; color: var(--muted); line-height: 1.65; }
.document-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; margin-top: 26px; font-size: 12px; color: var(--muted); }
.document-meta span { padding-left: 22px; border-left: 1px solid var(--line); }
.legal-layout { display: grid; grid-template-columns: 234px minmax(0, 1fr); align-items: start; gap: 44px; }
.toc { position: sticky; top: 30px; padding: 8px 0; }
.toc-label { color: var(--text); font-weight: 650; font-size: 13px; margin: 0 0 16px; }
.toc ol, .mobile-toc ol { list-style: none; padding: 0; margin: 0; }
.toc li + li, .mobile-toc li + li { margin-top: 14px; }
.toc a, .mobile-toc a { display: flex; align-items: baseline; gap: 10px; color: var(--muted); text-decoration: none; line-height: 1.6; font-size: 13px; }
.toc a span, .mobile-toc a span { color: var(--accent); font-size: 11px; font-variant-numeric: tabular-nums; }
.toc a:hover, .mobile-toc a:hover { color: var(--accent); }
.legal-article { padding: 42px 44px; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); box-shadow: 0 12px 40px var(--shadow); min-width: 0; }
.legal-section + .legal-section { margin-top: 40px; padding-top: 34px; border-top: 1px solid var(--line); }
.legal-section h2 { margin: 0 0 21px; display: flex; align-items: baseline; gap: 15px; font-size: 21px; font-weight: 680; line-height: 1.5; letter-spacing: -.02em; }
.section-number { color: var(--accent); font-size: 12px; font-weight: 600; flex-shrink: 0; font-variant-numeric: tabular-nums; }
.legal-paragraph { font-size: 15px; line-height: 1.9; margin: 0 0 17px; color: var(--muted); overflow-wrap: anywhere; }
.legal-paragraph:last-child { margin-bottom: 0; }
.legal-paragraph strong { color: var(--text); font-weight: 650; }
html[lang="zh-Hans"] .legal-paragraph { line-height: 2; }
.mobile-toc { display: none; }
.contact-note { margin-top: 42px; border-top: 1px solid var(--line); padding-top: 26px; }
.contact-note p { color: var(--muted); font-size: 13px; }
.contact-note a { font-weight: 550; font-size: 15px; text-decoration: none; overflow-wrap: anywhere; }
.site-footer { margin-top: 80px; padding: 36px 0; border-top: 1px solid var(--line); background: var(--header); }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; }
.footer-inner .brand { font-size: 23px; }
.footer-inner p { color: var(--muted); font-size: 11px; line-height: 1.9; margin: 10px 0 0; }
.footer-links { text-align: right; }
.footer-links nav { display: flex; flex-wrap: wrap; gap: 12px 22px; justify-content: flex-end; margin-bottom: 18px; }
.footer-links a { font-size: 12px; text-decoration: none; color: var(--muted); }
.footer-links a:hover { color: var(--accent); }
.support-main .page-intro { max-width: 730px; padding-bottom: 40px; }
.support-main h1 { max-width: 680px; }
.support-contact { display: grid; grid-template-columns: 1fr 1.4fr; align-items: center; gap: 40px; padding: 35px 40px; border-radius: 22px; border: 1px solid var(--line); background: var(--surface); }
.support-contact h2 { font-size: 20px; margin: 0 0 12px; letter-spacing: -.02em; }
.support-contact p { font-size: 13px; color: var(--muted); margin: 0; line-height: 1.6; }
.contact-row { display: grid; grid-template-columns: 68px 1fr auto; gap: 10px; align-items: center; padding: 20px 0; }
.contact-row + .contact-row { border-top: 1px solid var(--line); }
.contact-label { color: var(--muted); font-size: 13px; }
.contact-value { min-width: 0; font-size: 16px; }
.contact-value a { text-decoration: none; color: var(--text); overflow-wrap: anywhere; }
.selectable { user-select: all; }
.copy-button { display: none; padding: 10px 12px; min-height: 40px; border: 1px solid var(--line); border-radius: 9px; color: var(--accent); background: var(--background); font-size: 12px; }
.js .copy-button { display: block; }
.copy-button span { padding-left: 4px; }
.support-body { max-width: 900px; margin: 40px auto 0; padding: 42px 44px; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; }
.support-body h2 { font-size: 25px; line-height: 1.4; margin: 0 0 30px; }
.support-body h3 { font-size: 18px; line-height: 1.5; margin: 30px 0 12px; }
.support-body p { color: var(--muted); line-height: 1.9; font-size: 15px; margin: 0 0 16px; overflow-wrap: anywhere; }
.support-body p:last-child { margin-bottom: 0; }
.copy-status { position: fixed; left: 50%; bottom: 26px; z-index: 20; transform: translate(-50%, 16px); max-width: calc(100vw - 32px); padding: 14px 22px; border-radius: 12px; border: 1px solid var(--line); color: var(--text); background: var(--surface); font-size: 13px; box-shadow: 0 8px 28px var(--shadow); opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease; text-align: center; }
.copy-status.visible { opacity: 1; transform: translate(-50%, 0); }
.clipboard-field { position: fixed; left: -9999px; top: 0; }
@media (max-width: 900px) {
  .header-inner, .document-navigation, .footer-inner, main { width: min(760px, calc(100% - 48px)); }
  .legal-layout { display: block; }
  .toc { display: none; }
  .mobile-toc { display: block; padding-bottom: 28px; margin-bottom: 30px; border-bottom: 1px solid var(--line); }
  .mobile-toc summary { font-size: 14px; color: var(--accent); cursor: pointer; }
  .mobile-toc[open] nav { margin-top: 24px; }
  .legal-article { padding: 32px; }
  .support-contact { display: block; padding: 30px; }
  .contact-list { margin-top: 16px; }
  .footer-inner { flex-direction: column; }
  .footer-links { text-align: left; }
  .footer-links nav { justify-content: flex-start; }
}
@media (max-width: 520px) {
  .header-inner, .document-navigation, .footer-inner, main { width: calc(100% - 36px); }
  .header-inner { min-height: 76px; gap: 12px; }
  .brand { font-size: 25px; }
  .header-actions { gap: 18px; }
  .back-home { display: none; }
  .document-navigation { gap: 0; justify-content: space-between; }
  .document-navigation a { font-size: 12px; padding: 15px 0; }
  .page-intro { padding: 44px 0 30px; }
  .eyebrow { font-size: 11px; margin-bottom: 16px; }
  h1 { font-size: 38px; }
  .intro-text { font-size: 16px; margin-top: 16px; }
  .document-meta { font-size: 11px; gap: 10px 16px; }
  .document-meta span { padding-left: 16px; }
  .legal-article, .support-body { padding: 26px 21px; border-radius: 16px; }
  .legal-section h2 { font-size: 19px; gap: 10px; }
  .legal-paragraph, .support-body p { font-size: 15px; }
  .legal-section + .legal-section { margin-top: 30px; padding-top: 26px; }
  .support-contact { padding: 26px 21px; border-radius: 16px; }
  .contact-row { grid-template-columns: 1fr auto; gap: 8px 12px; }
  .contact-label { grid-column: 1; font-size: 12px; }
  .contact-value { grid-column: 1; grid-row: 2; font-size: 16px; }
  .copy-button { grid-column: 2; grid-row: 1 / 3; }
  .support-body { margin-top: 24px; }
  .site-footer { margin-top: 48px; padding: 28px 0; }
  .footer-links nav { gap: 12px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
