/* 支持与法律页的兼容层；正文继续由原页面维护。 */
html:root {
    color-scheme: light;
    --legacy-bg: #F7F8FA;
    --legacy-surface: #FFFFFF;
    --legacy-text: #17212D;
    --legacy-muted: #617084;
    --legacy-line: #DCE3EA;
    --legacy-blue: #086BD8;
    --legacy-wash: #EDF1F6;
    --legacy-nav: rgba(247, 248, 250, .94);
    --primary-color: var(--legacy-blue);
    --accent-color: var(--legacy-blue);
    --bg-color: var(--legacy-bg);
    --secondary-bg: var(--legacy-wash);
    --card-bg: var(--legacy-surface);
    --text-color: var(--legacy-text);
    --text-primary: var(--legacy-text);
    --text-secondary: var(--legacy-muted);
    --secondary-text: var(--legacy-muted);
    --border-color: var(--legacy-line);
    --page: var(--legacy-bg);
    --surface: var(--legacy-surface);
    --surface-blue: var(--legacy-wash);
    --ink: var(--legacy-text);
    --ink-soft: var(--legacy-muted);
    --ink-muted: var(--legacy-muted);
    --soft: var(--legacy-muted);
    --accent: var(--legacy-blue);
    --line: var(--legacy-line);
    --band: var(--legacy-wash);
    --rose: var(--legacy-blue);
    --rose-deep: var(--legacy-blue);
    --rose-soft: var(--legacy-wash);
    --green: var(--legacy-blue);
    --green-soft: var(--legacy-wash);
    --amber-soft: var(--legacy-wash);
    --max: 820px;
    --shadow: none;
}
@media (prefers-color-scheme: dark) {
    html:root {
        color-scheme: dark;
        --legacy-bg: #10151D;
        --legacy-surface: #1A222D;
        --legacy-text: #F2F5FA;
        --legacy-muted: #A7B2C2;
        --legacy-line: #303C4B;
        --legacy-blue: #70B6FF;
        --legacy-wash: #202B3A;
        --legacy-nav: rgba(16, 21, 29, .94);
    }
}
html { scroll-padding-top: 160px; }
body.legacy-page {
    margin: 0;
    padding: 0;
    background: var(--legacy-bg);
    color: var(--legacy-text);
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", sans-serif;
    font-size: 16px;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
}
body.legacy-page * { box-sizing: border-box; }
body.legacy-page [hidden] { display: none !important; }
body.legacy-page a { overflow-wrap: anywhere; }
body.legacy-page a:focus-visible,
body.legacy-page button:focus-visible,
body.legacy-page summary:focus-visible {
    outline: 3px solid var(--legacy-blue);
    outline-offset: 4px;
}
body.legacy-page .legacy-site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    padding: 0;
    background: var(--legacy-nav);
    border: 0;
    border-bottom: 1px solid var(--legacy-line);
    backdrop-filter: blur(18px);
}
body.legacy-page .legacy-header-inner,
body.legacy-page .legacy-product-inner {
    width: min(1160px, calc(100% - 64px));
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
body.legacy-page .legacy-header-inner { height: 79px; }
body.legacy-page .legacy-site-brand {
    display: flex;
    align-items: center;
    gap: 11px;
    flex-shrink: 0;
    color: var(--legacy-text);
    font-size: 23px;
    font-weight: 690;
    letter-spacing: -.8px;
    text-decoration: none;
}
body.legacy-page .legacy-site-brand img { width: 32px; height: 32px; border-radius: 9px; }
body.legacy-page nav.legacy-global-links {
    position: static;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: auto;
    padding: 0;
    gap: 32px;
    background: transparent;
    border: 0;
    backdrop-filter: none;
    font-size: 14px;
}
body.legacy-page .legacy-global-links > a { color: var(--legacy-muted); text-decoration: none; font-weight: 540; }
body.legacy-page .legacy-language {
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 3px;
    margin: 0;
    background: transparent;
    border: 1px solid var(--legacy-line);
    border-radius: 10px;
    flex-shrink: 0;
}
body.legacy-page .legacy-language .lang-btn {
    min-width: 44px;
    min-height: 44px;
    padding: 6px 10px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--legacy-muted);
    font: inherit;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}
body.legacy-page .legacy-language .lang-btn.active {
    background: var(--legacy-surface);
    color: var(--legacy-text);
    box-shadow: 0 1px 3px #00000010;
}
body.legacy-page nav.legacy-product-navigation {
    position: sticky;
    top: 80px;
    z-index: 25;
    display: block;
    padding: 0;
    width: 100%;
    background: var(--legacy-bg);
    border: 0;
    border-bottom: 1px solid var(--legacy-line);
    backdrop-filter: none;
}
body.legacy-page .legacy-product-inner { height: 59px; }
body.legacy-page .legacy-product-brand {
    display: flex;
    align-items: center;
    gap: 9px;
    flex-shrink: 0;
    color: var(--legacy-text);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}
body.legacy-page .legacy-product-brand img { width: 25px; height: 25px; border-radius: 6px; }
body.legacy-page .legacy-product-links {
    display: flex;
    gap: 24px;
    align-items: center;
    min-width: 0;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: thin;
}
body.legacy-page .legacy-product-links a {
    display: flex;
    align-items: center;
    min-height: 44px;
    color: var(--legacy-muted);
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
    flex-shrink: 0;
}
body.legacy-page .legacy-product-links a[aria-current="page"],
body.legacy-page .legacy-global-links a:hover,
body.legacy-page .legacy-product-links a:hover { color: var(--legacy-blue); }
body.legacy-page .hero {
    display: block;
    width: min(820px, calc(100% - 48px));
    margin: 0 auto;
    padding: 56px 0 38px;
    text-align: left;
    background: transparent;
    color: var(--legacy-text);
}
body.legacy-page .hero > img { display: none; }
body.legacy-page h1 {
    font-family: inherit;
    font-size: clamp(36px, 4vw, 48px);
    font-weight: 620;
    line-height: 1.15;
    letter-spacing: -1.7px;
    color: var(--legacy-text);
    background: none;
    -webkit-text-fill-color: currentColor;
    -webkit-background-clip: initial;
}
body.legacy-page .hero h1 { font-size: clamp(36px, 4vw, 48px); margin: 0 0 18px; }
body.legacy-page .hero p { max-width: 720px; margin: 16px 0 0; font-size: 17px; color: var(--legacy-muted); }
body.legacy-page .hero-actions { justify-content: flex-start; }
body.legacy-page main,
body.legacy-page main.container,
body.legacy-page .privacy-content {
    width: min(820px, calc(100% - 48px));
    max-width: 820px;
    margin: 0 auto;
    padding: 56px 0 88px;
}
body.legacy-page[data-legacy-kind="support"] main,
body.legacy-page[data-legacy-kind="support"] .hero,
body.legacy-page[data-legacy-kind="support"] > .section {
    width: min(1040px, calc(100% - 48px));
    max-width: 1040px;
    margin: 0 auto;
}
body.legacy-page .hero + main { padding-top: 8px; }
body.legacy-page[data-legacy-kind="support"] > .section { padding: 34px 0; background: transparent; }
body.legacy-page .section-title,
body.legacy-page .section-heading { text-align: left; margin-bottom: 24px; }
body.legacy-page .section-title h2,
body.legacy-page .section-heading h2 { color: var(--legacy-text); font-size: 28px; letter-spacing: -.7px; }
body.legacy-page h2 { font-weight: 620; letter-spacing: -.5px; color: var(--legacy-text); }
body.legacy-page h3 { color: var(--legacy-text); }
body.legacy-page article p,
body.legacy-page article li,
body.legacy-page .privacy-content p,
body.legacy-page .privacy-content li { color: var(--legacy-muted); opacity: 1; }
body.legacy-page strong { color: var(--legacy-text); }
body.legacy-page .updated,
body.legacy-page .update-date,
body.legacy-page .last-updated { color: var(--legacy-muted); background: transparent; padding-left: 0; }
body.legacy-page .summary,
body.legacy-page .notice,
body.legacy-page .warning,
body.legacy-page .note,
body.legacy-page .info-box,
body.legacy-page .contact-panel {
    color: var(--legacy-muted);
    background: var(--legacy-wash);
    border-color: var(--legacy-line);
    border-radius: 16px;
    box-shadow: none;
}
body.legacy-page .grid,
body.legacy-page .quick-grid { gap: 20px; }
body.legacy-page .card,
body.legacy-page .quick-card,
body.legacy-page .faq-item {
    min-width: 0;
    background: var(--legacy-surface);
    color: var(--legacy-text);
    border: 1px solid var(--legacy-line);
    box-shadow: none;
    border-radius: 16px;
}
body.legacy-page .card p,
body.legacy-page .quick-card p,
body.legacy-page .faq-item p { color: var(--legacy-muted); }
body.legacy-page .data-table { background: var(--legacy-surface); border-color: var(--legacy-line); }
body.legacy-page .data-table th { background: var(--legacy-wash); color: var(--legacy-text); }
body.legacy-page .data-table td { color: var(--legacy-muted); }
body.legacy-page .btn-primary {
    color: #FFFFFF;
    background: #086BD8;
    border-color: #086BD8;
    box-shadow: none;
}
body.legacy-page .btn-secondary {
    color: var(--legacy-text);
    background: var(--legacy-surface);
    border-color: var(--legacy-line);
}
body.legacy-page .btn { min-height: 44px; border-radius: 10px; }
body.legacy-page article a,
body.legacy-page main a:not(.btn),
body.legacy-page .section a:not(.btn) { color: var(--legacy-blue); }
body.legacy-page footer {
    padding: 40px 24px 32px;
    background: var(--legacy-bg);
    color: var(--legacy-muted);
    border-top: 1px solid var(--legacy-line);
}
body.legacy-page footer p,
body.legacy-page footer a,
body.legacy-page .copyright,
body.legacy-page .filing-info { color: var(--legacy-muted); opacity: 1; }
body.legacy-page footer .footer-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px 24px; }
body.legacy-page .filing-info { font-size: 12px; }
body.legacy-page .filing-info img { display: inline-block; width: 14px; height: 14px; vertical-align: -2px; }
body.legacy-page code { color: var(--legacy-text); overflow-wrap: anywhere; }
@media (max-width: 760px) {
    html { scroll-padding-top: 145px; }
    body.legacy-page .legacy-header-inner,
    body.legacy-page .legacy-product-inner { width: calc(100% - 40px); gap: 16px; }
    body.legacy-page .legacy-header-inner { height: 67px; }
    body.legacy-page .legacy-site-brand { font-size: 21px; }
    body.legacy-page .legacy-site-brand img { width: 29px; height: 29px; }
    body.legacy-page nav.legacy-global-links { gap: 0; }
    body.legacy-page .legacy-global-links > a { display: none; }
    body.legacy-page .legacy-language .lang-btn { padding: 6px 8px; }
    body.legacy-page nav.legacy-product-navigation { top: 68px; }
    body.legacy-page .legacy-product-inner { height: 56px; }
    body.legacy-page .legacy-product-brand { font-size: 13px; }
    body.legacy-page .legacy-product-brand img { width: 22px; height: 22px; }
    body.legacy-page .legacy-product-links { gap: 18px; }
    body.legacy-page .legacy-product-links a { font-size: 11px; }
    body.legacy-page .hero,
    body.legacy-page main,
    body.legacy-page main.container,
    body.legacy-page .privacy-content,
    body.legacy-page[data-legacy-kind="support"] main,
    body.legacy-page[data-legacy-kind="support"] .hero,
    body.legacy-page[data-legacy-kind="support"] > .section { width: calc(100% - 40px); }
    body.legacy-page .hero { padding-top: 36px; padding-bottom: 28px; }
    body.legacy-page main,
    body.legacy-page main.container,
    body.legacy-page .privacy-content { padding-top: 36px; padding-bottom: 58px; }
    body.legacy-page .hero p { font-size: 16px; }
    body.legacy-page .grid,
    body.legacy-page .quick-grid { grid-template-columns: minmax(0, 1fr); }
    body.legacy-page .section-title h2,
    body.legacy-page .section-heading h2 { font-size: 25px; }
    body.legacy-page .data-table,
    body.legacy-page .data-table tbody,
    body.legacy-page .data-table tr,
    body.legacy-page .data-table th,
    body.legacy-page .data-table td { display: block; width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    body.legacy-page *, body.legacy-page *::before, body.legacy-page *::after { transition: none !important; animation: none !important; }
}
@media print {
    body.legacy-page .website-chrome { display: none; }
    body.legacy-page { background: #FFFFFF; color: #000000; }
}
