:root, [data-theme="light"] { color-scheme: light; --page-bg: #f4f5fa; --surface: #ffffff; --surface-soft: #eef2ff; --text: #1a1d24; --text-secondary: #5c6470; --border: rgba(26, 29, 36, 0.08); --accent: #4a78ff; --accent-strong: #3d66e8; --accent-soft: rgba(74, 120, 255, 0.12); --hero-gradient: linear-gradient(135deg, #4a78ff 0%, #6fa8ff 55%, #8ec5ff 100%); --shadow: 0 18px 48px rgba(74, 120, 255, 0.12); --code-bg: #f1f3f8; } @media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { color-scheme: dark; --page-bg: #0f1116; --surface: #171a21; --surface-soft: #1a2438; --text: #eef1f6; --text-secondary: #a8b0bd; --border: rgba(255, 255, 255, 0.08); --accent: #6fa8ff; --accent-strong: #8ec0ff; --accent-soft: rgba(111, 168, 255, 0.14); --hero-gradient: linear-gradient(135deg, #243b88 0%, #3558c7 55%, #4a78ff 100%); --shadow: 0 18px 48px rgba(0, 0, 0, 0.35); --code-bg: #22262f; } } [data-theme="dark"] { color-scheme: dark; --page-bg: #0f1116; --surface: #171a21; --surface-soft: #1a2438; --text: #eef1f6; --text-secondary: #a8b0bd; --border: rgba(255, 255, 255, 0.08); --accent: #6fa8ff; --accent-strong: #8ec0ff; --accent-soft: rgba(111, 168, 255, 0.14); --hero-gradient: linear-gradient(135deg, #243b88 0%, #3558c7 55%, #4a78ff 100%); --shadow: 0 18px 48px rgba(0, 0, 0, 0.35); --code-bg: #22262f; } * { box-sizing: border-box; } html { scroll-behavior: smooth; } body { margin: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif; background: var(--page-bg); color: var(--text); line-height: 1.6; } a { color: var(--accent); text-decoration: none; } a:hover { color: var(--accent-strong); text-decoration: underline; } img { max-width: 100%; } .container { width: min(1120px, calc(100% - 32px)); margin: 0 auto; } .site-header { position: sticky; top: 0; z-index: 20; backdrop-filter: blur(14px); background: color-mix(in srgb, var(--page-bg) 82%, transparent); border-bottom: 1px solid var(--border); } .header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; } .brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; font-size: 18px; text-decoration: none; } .brand:hover { color: var(--text); text-decoration: none; } .brand-logo { width: 36px; height: 36px; border-radius: 10px; display: block; object-fit: cover; box-shadow: 0 6px 18px rgba(74, 120, 255, 0.18); } .header-actions { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; justify-content: flex-end; } .nav-links { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; } .nav-links a, .theme-switch button { display: inline-flex; align-items: center; justify-content: center; min-height: 36px; padding: 0 12px; border: 0; border-radius: 8px; background: transparent; color: var(--text-secondary); font: inherit; font-size: 14px; font-weight: 500; line-height: 1.2; letter-spacing: 0; text-decoration: none; white-space: nowrap; cursor: pointer; } .nav-links a:hover, .nav-links a.active, .theme-switch button:hover, .theme-switch button.active { color: var(--accent); background: var(--accent-soft); text-decoration: none; font-weight: 600; } .theme-switch { display: inline-flex; align-items: center; gap: 4px; margin-left: 8px; padding-left: 12px; border: 0; border-left: 1px solid var(--border); border-radius: 0; background: transparent; } .hero { padding: 72px 0 48px; } .hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; } .hero-copy h1 { margin: 0 0 16px; font-size: clamp(36px, 5vw, 56px); line-height: 1.08; letter-spacing: -0.03em; } .hero-copy p { margin: 0 0 28px; font-size: 18px; color: var(--text-secondary); max-width: 560px; } .hero-actions { display: flex; flex-wrap: wrap; gap: 12px; } .btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px; border-radius: 12px; font-size: 15px; font-weight: 600; border: 1px solid transparent; cursor: pointer; text-decoration: none; } .btn:hover { text-decoration: none; } .btn-primary { background: var(--accent); color: #fff; } .btn-primary:hover { background: var(--accent-strong); color: #fff; } .btn-secondary { background: var(--surface); color: var(--text); border-color: var(--border); } .btn-secondary:hover { color: var(--text); border-color: color-mix(in srgb, var(--accent) 35%, var(--border)); } .hero-card { background: var(--surface); border: 1px solid var(--border); border-radius: 24px; padding: 28px; box-shadow: var(--shadow); } .hero-card-top { min-height: 220px; border-radius: 18px; background: var(--hero-gradient); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 28px 24px; text-align: center; color: #fff; } .hero-card-logo { width: 88px; height: 88px; border-radius: 24px; display: block; object-fit: cover; box-shadow: 0 12px 36px rgba(0, 0, 0, 0.2); } /* 兜底:即使 class 没有生效,也确保 hero 卡片图标尺寸不会被大图“撑开” */ .hero-card-top img { width: 88px; height: 88px; object-fit: cover; border-radius: 24px; display: block; } .hero-card-title { font-size: 32px; font-weight: 700; letter-spacing: 0.04em; } .hero-card-subtitle { margin: 0; max-width: 340px; font-size: 15px; line-height: 1.7; color: rgba(255, 255, 255, 0.88); } .hero-card-meta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; } .hero-pill { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px; background: var(--surface-soft); color: var(--text); font-size: 13px; font-weight: 600; } .section { padding: 28px 0 56px; } .section-title { margin: 0 0 10px; font-size: 28px; } .section-desc { margin: 0 0 24px; color: var(--text-secondary); } .feature-grid, .download-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; } .status-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; } .feature-card, .download-card, .status-card { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 22px; } .feature-card h3, .download-card h3, .status-card h3 { margin: 0 0 8px; font-size: 18px; } .feature-card p, .download-card p, .status-card p { margin: 0; color: var(--text-secondary); font-size: 14px; } .status-badge { display: inline-flex; align-items: center; min-height: 28px; padding: 0 10px; margin-bottom: 12px; border-radius: 999px; font-size: 12px; font-weight: 700; } .status-badge.live { background: rgba(28, 184, 93, 0.14); color: #1c9a53; } .status-badge.review { background: rgba(243, 156, 18, 0.14); color: #c47b00; } .status-badge.ready { background: var(--accent-soft); color: var(--accent); } .download-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; } .page-main { padding: 40px 0 64px; } .doc-card { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 32px; box-shadow: var(--shadow); } .doc-card h1 { margin: 0 0 8px; font-size: clamp(28px, 4vw, 36px); } .doc-meta { margin: 0 0 28px; color: var(--text-secondary); font-size: 14px; } .doc-card h2 { margin: 28px 0 10px; font-size: 20px; } .doc-card h3 { margin: 20px 0 8px; font-size: 16px; } .doc-card p, .doc-card li { color: var(--text-secondary); } .doc-card ul, .doc-card ol { padding-left: 1.25rem; } .doc-card table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 14px; } .doc-card th, .doc-card td { border: 1px solid var(--border); padding: 10px 12px; text-align: left; vertical-align: top; } .doc-card th { background: var(--surface-soft); color: var(--text); } .doc-card code { background: var(--code-bg); padding: 2px 6px; border-radius: 6px; font-size: 0.92em; } .legal-links { display: flex; flex-wrap: wrap; gap: 12px 18px; margin-top: 24px; } .site-footer { border-top: 1px solid var(--border); padding: 28px 0 40px; color: var(--text-secondary); font-size: 13px; } .footer-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; } .footer-links { display: flex; flex-wrap: wrap; gap: 10px 16px; } .footer-links a { color: var(--text-secondary); text-decoration: none; } .footer-links a:hover { color: var(--accent); } .changelog-page > p { color: var(--text-secondary); } .changelog-platforms { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 32px; padding: 12px; border-radius: 16px; background: var(--surface-soft); border: 1px solid var(--border); position: sticky; top: 72px; z-index: 10; } .changelog-platform-link { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); color: var(--text-secondary); font-size: 14px; font-weight: 600; text-decoration: none; } .changelog-platform-link:hover { color: var(--accent); border-color: color-mix(in srgb, var(--accent) 35%, var(--border)); text-decoration: none; } .changelog-section { scroll-margin-top: 140px; padding-top: 8px; margin-top: 8px; border-top: 1px solid var(--border); } .changelog-section:first-of-type { border-top: 0; margin-top: 0; } .changelog-section h2 { margin: 0 0 12px; font-size: 22px; } .changelog-download { margin: 0 0 16px; font-size: 14px; } .changelog-download a { font-weight: 600; } .changelog-release { margin-bottom: 20px; } .changelog-release h3 { margin: 0 0 8px; font-size: 16px; color: var(--text); } .changelog-release ul { margin: 0; padding-left: 1.25rem; } .changelog-release li { color: var(--text-secondary); margin: 0.35rem 0; } .changelog-empty { margin: 0; color: var(--text-secondary); font-size: 14px; } .changelog-section-ios { margin-top: 24px; } .download-version { margin-top: 10px; font-size: 13px; color: var(--text-secondary); } .download-meta { margin-top: 8px; font-size: 13px; } .download-meta a { color: var(--text-secondary); font-weight: 600; } .download-meta a:hover { color: var(--accent); } @media (max-width: 900px) { .hero-grid, .feature-grid, .status-grid, .download-grid, .footer-grid { grid-template-columns: 1fr; } .nav-links { display: none; } .theme-switch { margin-left: 0; padding-left: 0; border-left: 0; } .hero { padding-top: 40px; } } @media (max-width: 640px) { .nav-links a, .theme-switch button { min-height: 32px; padding: 0 10px; font-size: 13px; } .doc-card { padding: 22px 18px; } .doc-card table { display: block; overflow-x: auto; } }