/* DoIt 官网主题 — 对齐 App：future / oz / glacier / terracotta
 * 科技 HUD / 网格 / 脉冲灯 / 轨道旋转 等仅保留在 theme-future
 */

.theme-switch {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.28rem;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: color-mix(in srgb, var(--bg-elev, #0a1a28) 88%, transparent);
}
.theme-switch button {
    width: 1.55rem;
    height: 1.55rem;
    border-radius: 50%;
    border: 2px solid transparent;
    cursor: pointer;
    padding: 0;
    position: relative;
    transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s, border-color 0.25s;
}
.theme-switch button:hover { transform: scale(1.08); }
.theme-switch button.is-active {
    border-color: var(--ink, #fff);
    box-shadow: 0 0 0 2px var(--signal);
}
.theme-switch button[data-theme-pick="future"] {
    background: linear-gradient(135deg, #0fb5b0, #1a6fd4);
}
.theme-switch button[data-theme-pick="oz"] {
    background: linear-gradient(135deg, #00a884, #fefbf6);
    border-color: rgba(0, 0, 0, 0.08);
}
.theme-switch button[data-theme-pick="glacier"] {
    background: linear-gradient(135deg, #4a90e2, #eef2f7);
    border-color: rgba(74, 144, 226, 0.35);
}
.theme-switch button[data-theme-pick="terracotta"] {
    background: linear-gradient(135deg, #c4785a, #2a1c1c);
}
.theme-switch button span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

.doshot-band { position: relative; overflow: hidden; }
.doshot-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: clamp(1.5rem, 4vw, 2.75rem);
    align-items: center;
}
.doshot-hero-card {
    position: relative;
    padding: clamp(1.5rem, 3vw, 2.25rem);
    border-radius: 18px;
    border: 1px solid var(--line);
    background: linear-gradient(165deg, rgba(12, 36, 48, 0.95), rgba(8, 22, 34, 0.92));
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
}
.doshot-logo-row {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 1rem;
}
.doshot-logo-row img {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    object-fit: cover;
    box-shadow: 0 8px 24px rgba(15, 181, 176, 0.25);
}
.doshot-logo-row h3 {
    font-family: var(--font-display);
    font-size: 1.65rem;
    letter-spacing: -0.03em;
    color: var(--ink);
}
.doshot-logo-row .pill {
    display: inline-flex;
    margin-top: 0.25rem;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--signal-bright);
}
.doshot-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
}
.doshot-feature {
    padding: 1rem 1.05rem;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.03);
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.3s, box-shadow 0.3s;
}
.doshot-feature:hover {
    transform: translateY(-3px);
    border-color: color-mix(in srgb, var(--signal) 55%, transparent);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}
.doshot-feature .code {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    color: var(--signal-bright);
    margin-bottom: 0.4rem;
}
.doshot-feature h4 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    color: var(--ink);
    margin-bottom: 0.35rem;
}
.doshot-feature p {
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.55;
}
.doshot-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 1.35rem;
}
@media (max-width: 860px) {
    .doshot-grid { grid-template-columns: 1fr; }
    .doshot-features { grid-template-columns: 1fr; }
}

/* ========== 非未来纪元：去掉全部科技 HUD / 网格 / 脉冲 ========== */
html:not(.theme-future) .hero-mesh,
html:not(.theme-future) .hero-rails,
html:not(.theme-future) .hero-nodes,
html:not(.theme-future) .hud-frame,
html:not(.theme-future) .concept-visual .corner,
html:not(.theme-future) .concept-visual::after,
html:not(.theme-future) .pipe-dot,
html:not(.theme-future) .lab-cell .wave,
html:not(.theme-future) .signal-strip::after,
html:not(.theme-future) .cta::before,
html:not(.theme-future) .ai-portrait::before,
html:not(.theme-future) .pipe-track::before,
html:not(.theme-future) body:has(.download-hero)::before {
    display: none !important;
}

html:not(.theme-future) .hero-status i,
html:not(.theme-future) .cursor-blink,
html:not(.theme-future) .ai-portrait::after,
html:not(.theme-future) .hero-concept-frame,
html:not(.theme-future) .concept-visual::after,
html:not(.theme-future) .bubble,
html:not(.theme-future) .typing i {
    animation: none !important;
    box-shadow: none !important;
}

html:not(.theme-future) .ai-portrait::after {
    /* 静态柔和圆，无浮动/辉光 */
    animation: none !important;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12) !important;
}

html:not(.theme-future) .section-kicker,
html:not(.theme-future) .tag,
html:not(.theme-future) .code,
html:not(.theme-future) .mono,
html:not(.theme-future) .idx,
html:not(.theme-future) .doshot-logo-row .pill,
html:not(.theme-future) .signal-item span,
html:not(.theme-future) .ai-portrait-label,
html:not(.theme-future) .ai-terminal,
html:not(.theme-future) .download-section-kicker {
    font-family: var(--font-body) !important;
    letter-spacing: 0.02em !important;
    text-transform: none !important;
}

html:not(.theme-future) .feature-points li::before {
    box-shadow: none !important;
    border-radius: 50%;
}

html:not(.theme-future) .logo img {
    filter: none !important;
}

html:not(.theme-future) .spatial-card:hover,
html:not(.theme-future) .ai-ability:hover {
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08) !important;
}

/* ========== OZ — 绿野仙踪：柔和会话 · 奶油卡片 · 轻弹 ========== */
@keyframes ozSoftRise {
    from { opacity: 0; transform: translateY(18px) scale(0.985); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes ozBlobDrift {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(18px, -14px) scale(1.06); }
}
@keyframes ozBubblePop {
    from { opacity: 0; transform: translateY(10px) scale(0.94); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

html.theme-oz {
    --bg: #f0f2f5;
    --bg-elev: #fefbf6;
    --ink: #111b21;
    --ink-soft: #3b4a54;
    --muted: rgba(17, 27, 33, 0.55);
    --line: rgba(0, 168, 132, 0.18);
    --signal: #00a884;
    --signal-bright: #02c39a;
    --signal-soft: rgba(0, 168, 132, 0.12);
    --blue: #53bdeb;
    color-scheme: light;
}
html.theme-oz body { background: var(--bg); color: var(--ink-soft); }
html.theme-oz .navbar { background: rgba(254, 251, 246, 0.92); border-bottom-color: transparent; }
html.theme-oz .navbar.is-scrolled { background: rgba(254, 251, 246, 0.98); border-bottom-color: #e9edef; }
html.theme-oz .logo { color: #111b21; }
html.theme-oz .nav-links a { color: rgba(17, 27, 33, 0.55); }
html.theme-oz .nav-links a:hover { color: #00a884; }
html.theme-oz .lang-select {
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2300a884' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.55rem center;
    color: #111b21;
    border-color: #e9edef;
}
html.theme-oz .nav-cta { background: #00a884; box-shadow: 0 8px 20px rgba(0, 168, 132, 0.22); border-radius: 999px; }
html.theme-oz .theme-switch { background: #fff; border-color: #e9edef; }
html.theme-oz .theme-switch button.is-active { border-color: #111b21; box-shadow: 0 0 0 2px #00a884; }

html.theme-oz .hero {
    background:
        radial-gradient(ellipse 55% 45% at 85% 15%, rgba(0, 168, 132, 0.16), transparent 55%),
        radial-gradient(ellipse 40% 35% at 10% 80%, rgba(83, 189, 235, 0.12), transparent 50%),
        linear-gradient(180deg, #fefbf6 0%, #f0f2f5 60%, #e8ecef 100%);
    color: #111b21;
}
html.theme-oz .hero::before {
    content: "";
    position: absolute; inset: auto auto 8% -6%;
    width: min(42vw, 380px); height: min(42vw, 380px);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 168, 132, 0.18), transparent 68%);
    animation: ozBlobDrift 14s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}
html.theme-oz .hero::after {
    content: "";
    position: absolute; top: 12%; right: -4%;
    width: min(36vw, 300px); height: min(36vw, 300px);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(83, 189, 235, 0.14), transparent 70%);
    animation: ozBlobDrift 18s ease-in-out infinite reverse;
    pointer-events: none;
    z-index: 0;
}
html.theme-oz .hero-inner { position: relative; z-index: 1; }
html.theme-oz .hero-status {
    display: inline-flex;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    background: #d9fdd3;
    color: #05603a;
    font-family: var(--font-body) !important;
    letter-spacing: 0.02em !important;
    text-transform: none !important;
    font-size: 0.8rem;
    font-weight: 600;
}
html.theme-oz .hero-status i { display: none; }
html.theme-oz .hero-brand span {
    background: linear-gradient(105deg, #111b21 10%, #00a884 70%, #53bdeb 100%);
    -webkit-background-clip: text; background-clip: text; filter: none;
}
html.theme-oz .hero-lead { color: rgba(17, 27, 33, 0.62); }
html.theme-oz .btn-primary {
    background: #00a884; color: #fff; border-radius: 999px;
    box-shadow: 0 10px 24px rgba(0, 168, 132, 0.25);
}
html.theme-oz .btn-primary:hover { background: #029e7c; }
html.theme-oz .btn-ghost {
    color: #111b21; border-color: rgba(0, 168, 132, 0.3); border-radius: 999px;
}
html.theme-oz .btn-ghost:hover { background: rgba(0, 168, 132, 0.08); border-color: #00a884; }
html.theme-oz .hero-inner { grid-template-columns: 1fr; text-align: center; justify-items: center; max-width: 820px; }
html.theme-oz .hero h1 { max-width: none; }
html.theme-oz .hero-lead { max-width: 46ch; margin-inline: auto; }
html.theme-oz .hero-actions { justify-content: center; }
html.theme-oz .hero-visual {
    width: min(520px, 100%); height: auto; min-height: 280px;
}
html.theme-oz .hero-concept-frame {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(11, 20, 26, 0.12);
    border: 6px solid #fff;
}
html.theme-oz .hero-concept-badge {
    background: #00a884 !important;
    color: #fff !important;
    border-radius: 999px !important;
    font-family: var(--font-body) !important;
    letter-spacing: 0.02em !important;
}
html.theme-oz .hero-copy > * {
    animation: ozSoftRise 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
}
html.theme-oz .hero-copy > *:nth-child(2) { animation-delay: 0.06s; }
html.theme-oz .hero-copy > *:nth-child(3) { animation-delay: 0.12s; }
html.theme-oz .hero-copy > *:nth-child(4) { animation-delay: 0.18s; }
html.theme-oz .hero-copy > *:nth-child(5) { animation-delay: 0.24s; }
html.theme-oz .hero-visual { animation: ozSoftRise 0.95s 0.15s cubic-bezier(0.22, 1, 0.36, 1) both; }

html.theme-oz .bubble-peer { background: #fff; border-color: #e9edef; color: #111b21; border-radius: 12px 12px 12px 4px; }
html.theme-oz .bubble-ai { background: #d9fdd3; border-color: #b7f0ae; color: #111b21; border-radius: 12px 12px 12px 4px; }
html.theme-oz .bubble-mine { background: #00a884; color: #fff; border-radius: 12px 12px 4px 12px; }
html.theme-oz .signal-strip { background: #fefbf6; border-color: #e9edef; }
html.theme-oz .signal-item {
    border-left: none;
    background: #fff;
    border-radius: 16px;
    padding: 1rem 1.1rem;
    box-shadow: 0 1px 3px rgba(11, 20, 26, 0.06);
}
html.theme-oz .signal-item strong { color: #111b21; }
html.theme-oz .signal-item span { color: rgba(17, 27, 33, 0.45); }
html.theme-oz .section-title { color: #111b21; max-width: none; }
html.theme-oz .section-desc { color: rgba(17, 27, 33, 0.58); }
html.theme-oz .section-kicker {
    display: inline-block;
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    background: rgba(0, 168, 132, 0.12);
    color: #05603a !important;
    font-weight: 600;
}

html.theme-oz .spatial-band,
html.theme-oz .pipe-band,
html.theme-oz .ai-band,
html.theme-oz .create-lab,
html.theme-oz .sync-band,
html.theme-oz .doshot-band { background: #f0f2f5 !important; border-color: #e9edef !important; }
html.theme-oz .spatial-card,
html.theme-oz .proto-cell,
html.theme-oz .pipe-step,
html.theme-oz .ai-ability,
html.theme-oz .lab-cell,
html.theme-oz .sync-card,
html.theme-oz .intel-item,
html.theme-oz .more-row,
html.theme-oz .doshot-hero-card,
html.theme-oz .doshot-feature {
    background: #fff !important;
    border-color: #e9edef !important;
    border-radius: 18px !important;
    box-shadow: 0 1px 3px rgba(11, 20, 26, 0.06) !important;
    color: #3b4a54;
}
html.theme-oz .spatial-card:hover,
html.theme-oz .doshot-feature:hover,
html.theme-oz .lab-cell:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 14px 32px rgba(0, 168, 132, 0.12) !important;
    border-color: rgba(0, 168, 132, 0.28) !important;
}
html.theme-oz .spatial-card h3,
html.theme-oz .proto-cell h3,
html.theme-oz .pipe-step h3,
html.theme-oz .ai-ability h3,
html.theme-oz .lab-cell h3,
html.theme-oz .sync-card h3,
html.theme-oz .intel-item h3,
html.theme-oz .more-row h3,
html.theme-oz .doshot-feature h4,
html.theme-oz .doshot-logo-row h3 { color: #111b21 !important; }
html.theme-oz .feature-points li { color: #3b4a54; }
html.theme-oz .feature-points li::before { background: #00a884; border-radius: 50%; }
html.theme-oz .spatial-grid { grid-template-columns: 1fr; max-width: 720px; margin-inline: auto; }
html.theme-oz .im-line {
    background: #fff !important;
    border: none !important;
    border-radius: 14px !important;
    box-shadow: 0 1px 3px rgba(11, 20, 26, 0.06);
    animation: ozBubblePop 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}
html.theme-oz .im-line.is-visible { transform: none; }
html.theme-oz .im-line:nth-child(2) { animation-delay: 0.08s; }
html.theme-oz .im-line:nth-child(3) { animation-delay: 0.16s; }
html.theme-oz .im-line:nth-child(4) { animation-delay: 0.24s; }
html.theme-oz .im-line strong { color: #111b21 !important; }
html.theme-oz .im-line span { color: rgba(17, 27, 33, 0.55) !important; }
html.theme-oz .im-art {
    background: #efeae2 !important;
    border: none !important;
    border-radius: 24px !important;
}
html.theme-oz .concept-showcase,
html.theme-oz .concept-showcase-item {
    background: #fff !important;
    border-color: #e9edef !important;
    border-radius: 20px !important;
}
html.theme-oz .more-list {
    background: #fff; border-radius: 18px; border: 1px solid #e9edef; overflow: hidden;
}
html.theme-oz .more-row { border-color: #e9edef !important; }
html.theme-oz .lab-cell .tag { color: #00a884; }
html.theme-oz .ai-portrait {
    border: none !important;
    border-radius: 24px !important;
    background:
        radial-gradient(circle at 50% 42%, rgba(0, 168, 132, 0.22), transparent 55%),
        linear-gradient(180deg, #e8f5f1, #f0f2f5) !important;
}
html.theme-oz .ai-portrait::after {
    background: linear-gradient(145deg, #00a884, #53bdeb) !important;
}
html.theme-oz .ai-terminal {
    background: #fff !important;
    border: 1px solid #e9edef !important;
    border-radius: 14px !important;
    color: #3b4a54 !important;
}
html.theme-oz .ai-terminal .dim { color: #00a884 !important; }
html.theme-oz .ai-terminal .ok { color: #05603a !important; }
html.theme-oz .pipe-step {
    padding: 1.1rem !important;
}
html.theme-oz .pipe-step::before {
    content: "";
    display: block;
    width: 10px; height: 10px;
    border-radius: 50%;
    background: #00a884;
    margin-bottom: 0.85rem;
}
html.theme-oz .cta {
    background: linear-gradient(180deg, #fefbf6, #e8f5f1) !important;
    color: #111b21;
}
html.theme-oz .cta h2 { color: #111b21; }
html.theme-oz .cta p { color: rgba(17, 27, 33, 0.58); }
html.theme-oz .footer { background: #111b21 !important; color: rgba(255, 255, 255, 0.7); }
html.theme-oz .footer-brand { color: #fff; }
html.theme-oz .reveal {
    transform: translateY(16px) scale(0.98);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
html.theme-oz .reveal.is-visible { transform: translateY(0) scale(1); }

/* ========== GLACIER — 冰川银翼：冷色玻璃 · 水平滑入 · 微光 ========== */
@keyframes glacierShimmer {
    0%, 100% { opacity: 0.45; transform: translateX(-6%); }
    50% { opacity: 0.85; transform: translateX(6%); }
}
@keyframes glacierSlideIn {
    from { opacity: 0; transform: translateX(-22px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes glacierFrost {
    0%, 100% { transform: translate(0, 0); opacity: 0.55; }
    50% { transform: translate(12px, 8px); opacity: 0.85; }
}

html.theme-glacier {
    --bg: #eef2f7;
    --bg-elev: #ffffff;
    --ink: #1a2332;
    --ink-soft: #3d4b5c;
    --muted: rgba(26, 35, 50, 0.55);
    --line: rgba(74, 144, 226, 0.22);
    --signal: #4a90e2;
    --signal-bright: #6aa8f0;
    --signal-soft: rgba(74, 144, 226, 0.12);
    --blue: #4a90e2;
    color-scheme: light;
}
html.theme-glacier body {
    background: linear-gradient(180deg, #f7f9fc 0%, #eef2f7 40%, #e4ebf5 100%);
    color: var(--ink-soft);
}
html.theme-glacier .navbar {
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(20px) saturate(1.2);
    -webkit-backdrop-filter: blur(20px) saturate(1.2);
}
html.theme-glacier .navbar.is-scrolled {
    background: rgba(255, 255, 255, 0.9);
    border-bottom-color: rgba(74, 144, 226, 0.18);
}
html.theme-glacier .logo { color: #1a2332; }
html.theme-glacier .nav-links a { color: rgba(26, 35, 50, 0.5); }
html.theme-glacier .nav-links a:hover { color: #4a90e2; }
html.theme-glacier .lang-select {
    background-color: rgba(255, 255, 255, 0.85);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%234a90e2' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.55rem center;
    color: #1a2332;
    border-color: rgba(74, 144, 226, 0.25);
}
html.theme-glacier .nav-cta {
    background: linear-gradient(135deg, #4a90e2, #6aa8f0);
    box-shadow: 0 8px 22px rgba(74, 144, 226, 0.25);
    border-radius: 4px 12px 12px 12px;
}
html.theme-glacier .theme-switch { background: #fff; border-color: rgba(74, 144, 226, 0.22); }
html.theme-glacier .hero {
    background:
        radial-gradient(ellipse 50% 40% at 18% 18%, rgba(74, 144, 226, 0.18), transparent 60%),
        radial-gradient(ellipse 45% 35% at 88% 70%, rgba(142, 182, 232, 0.2), transparent 55%),
        linear-gradient(160deg, #ffffff 0%, #eef2f7 55%, #dce6f4 100%);
    color: #1a2332;
}
html.theme-glacier .hero::before {
    content: "";
    position: absolute; inset: 10% 5% auto auto;
    width: 55%; height: 55%;
    background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.55) 48%, transparent 62%);
    animation: glacierShimmer 9s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}
html.theme-glacier .hero::after {
    content: "";
    position: absolute; bottom: 5%; left: 8%;
    width: 180px; height: 180px;
    border-radius: 40% 60% 55% 45%;
    background: rgba(74, 144, 226, 0.1);
    filter: blur(2px);
    animation: glacierFrost 12s ease-in-out infinite;
    pointer-events: none;
}
html.theme-glacier .hero-inner { position: relative; z-index: 1; grid-template-columns: 0.9fr 1.1fr; gap: 3rem; }
html.theme-glacier .hero-status {
    color: #4a90e2;
    border-left: 3px solid #4a90e2;
    padding-left: 0.65rem;
    font-family: var(--font-body) !important;
    letter-spacing: 0.04em !important;
    text-transform: none !important;
}
html.theme-glacier .hero-status i { display: none; }
html.theme-glacier .hero-brand span {
    background: linear-gradient(105deg, #1a2332, #4a90e2 60%, #8eb6e8);
    -webkit-background-clip: text; background-clip: text; filter: none;
}
html.theme-glacier .hero-lead { color: rgba(26, 35, 50, 0.6); }
html.theme-glacier .btn-primary {
    background: #4a90e2; color: #fff;
    border-radius: 4px 12px 12px 12px;
    box-shadow: 0 10px 28px rgba(74, 144, 226, 0.28);
}
html.theme-glacier .btn-primary:hover { background: #3a7fd0; }
html.theme-glacier .btn-ghost {
    color: #1a2332; border-color: rgba(74, 144, 226, 0.4);
    border-radius: 4px 12px 12px 12px;
}
html.theme-glacier .hero-copy > * {
    animation: glacierSlideIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}
html.theme-glacier .hero-copy > *:nth-child(2) { animation-delay: 0.07s; }
html.theme-glacier .hero-copy > *:nth-child(3) { animation-delay: 0.14s; }
html.theme-glacier .hero-copy > *:nth-child(4) { animation-delay: 0.21s; }
html.theme-glacier .hero-copy > *:nth-child(5) { animation-delay: 0.28s; }
html.theme-glacier .hero-visual {
    animation: glacierSlideIn 0.9s 0.12s cubic-bezier(0.22, 1, 0.36, 1) both;
}
html.theme-glacier .hero-concept-frame {
    border-radius: 4px 20px 20px 20px;
    overflow: hidden;
    border: 1px solid rgba(74, 144, 226, 0.28);
    box-shadow: 0 20px 50px rgba(74, 144, 226, 0.12);
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(8px);
}
html.theme-glacier .hero-concept-badge {
    background: rgba(74, 144, 226, 0.92) !important;
    border-radius: 0 0 12px 0 !important;
    font-family: var(--font-body) !important;
}
html.theme-glacier .section-title {
    color: #1a2332;
    border-bottom: 2px solid rgba(74, 144, 226, 0.35);
    padding-bottom: 0.55rem;
    max-width: 22ch;
}
html.theme-glacier .section-kicker {
    color: #4a90e2 !important;
    font-weight: 600;
}
html.theme-glacier .signal-strip {
    background: rgba(255, 255, 255, 0.7);
    border-color: rgba(74, 144, 226, 0.12);
    backdrop-filter: blur(12px);
}
html.theme-glacier .signal-item {
    border-left: none;
    border-top: 2px solid #4a90e2;
    padding-top: 0.75rem;
}
html.theme-glacier .signal-item strong { color: #1a2332; }
html.theme-glacier .spatial-band,
html.theme-glacier .pipe-band,
html.theme-glacier .ai-band,
html.theme-glacier .create-lab,
html.theme-glacier .sync-band,
html.theme-glacier .doshot-band {
    background: transparent !important;
    border-color: rgba(74, 144, 226, 0.12) !important;
}
html.theme-glacier .spatial-card,
html.theme-glacier .proto-cell,
html.theme-glacier .pipe-step,
html.theme-glacier .ai-ability,
html.theme-glacier .lab-cell,
html.theme-glacier .sync-card,
html.theme-glacier .intel-item,
html.theme-glacier .more-row,
html.theme-glacier .doshot-hero-card,
html.theme-glacier .doshot-feature {
    background: rgba(255, 255, 255, 0.82) !important;
    border: 1px solid rgba(74, 144, 226, 0.2) !important;
    border-radius: 4px 16px 16px 16px !important;
    box-shadow: 0 12px 40px rgba(74, 144, 226, 0.08) !important;
    color: #3d4b5c;
    backdrop-filter: blur(10px);
}
html.theme-glacier .spatial-card:hover,
html.theme-glacier .doshot-feature:hover {
    transform: translateX(6px);
    border-color: rgba(74, 144, 226, 0.45) !important;
    box-shadow: 0 16px 44px rgba(74, 144, 226, 0.14) !important;
}
html.theme-glacier .spatial-card h3,
html.theme-glacier .doshot-logo-row h3,
html.theme-glacier .doshot-feature h4,
html.theme-glacier .proto-cell h3,
html.theme-glacier .pipe-step h3,
html.theme-glacier .ai-ability h3,
html.theme-glacier .lab-cell h3,
html.theme-glacier .sync-card h3,
html.theme-glacier .intel-item h3,
html.theme-glacier .more-row h3 { color: #1a2332 !important; }
html.theme-glacier .bubble-peer { background: #fff; border: 1px solid rgba(74, 144, 226, 0.25); color: #1a2332; }
html.theme-glacier .bubble-ai { background: rgba(74, 144, 226, 0.12); border-color: rgba(74, 144, 226, 0.3); color: #1a2332; }
html.theme-glacier .bubble-mine { background: #4a90e2; color: #fff; }
html.theme-glacier .im-line {
    background: rgba(255, 255, 255, 0.9) !important;
    border-color: rgba(74, 144, 226, 0.18) !important;
    border-left: 3px solid #4a90e2 !important;
    border-radius: 0 12px 12px 0 !important;
}
html.theme-glacier .im-line strong { color: #1a2332 !important; }
html.theme-glacier .im-line span { color: rgba(26, 35, 50, 0.55) !important; }
html.theme-glacier .im-art {
    background: linear-gradient(160deg, rgba(74, 144, 226, 0.08), rgba(238, 242, 247, 0.9)) !important;
    border: 1px solid rgba(74, 144, 226, 0.2) !important;
    border-radius: 4px 20px 20px 20px !important;
}
html.theme-glacier .ai-portrait {
    border: 1px solid rgba(74, 144, 226, 0.25) !important;
    border-radius: 4px 24px 24px 24px !important;
    background:
        radial-gradient(circle at 50% 40%, rgba(74, 144, 226, 0.2), transparent 55%),
        linear-gradient(180deg, #f7f9fc, #e4ebf5) !important;
}
html.theme-glacier .ai-portrait::after {
    background: linear-gradient(145deg, #6aa8f0, #4a90e2) !important;
}
html.theme-glacier .ai-terminal {
    background: rgba(255, 255, 255, 0.85) !important;
    border: 1px solid rgba(74, 144, 226, 0.22) !important;
    border-radius: 4px 12px 12px 12px !important;
    color: #3d4b5c !important;
}
html.theme-glacier .pipe-step::before {
    content: "";
    display: block;
    width: 28px; height: 2px;
    background: #4a90e2;
    margin-bottom: 0.85rem;
}
html.theme-glacier .cta { background: linear-gradient(135deg, #4a90e2, #6aa8f0) !important; color: #fff; }
html.theme-glacier .cta h2,
html.theme-glacier .cta p { color: #fff; }
html.theme-glacier .cta .btn-primary { background: #fff; color: #4a90e2; }
html.theme-glacier .cta .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, 0.55); }
html.theme-glacier .footer { background: #1a2332 !important; }
html.theme-glacier .doshot-grid { grid-template-columns: 1fr 1.15fr; }
html.theme-glacier .reveal {
    transform: translateX(-18px);
    transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1), transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}
html.theme-glacier .reveal.is-visible { transform: translateX(0); }

/* ========== TERRACOTTA — 赤陶暮色：暖褐纸感 · 错落 · 余烬呼吸 ========== */
@keyframes terraEmber {
    0%, 100% { opacity: 0.35; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.08); }
}
@keyframes terraPaperIn {
    from { opacity: 0; transform: translateY(24px) rotate(-1.2deg); }
    to { opacity: 1; transform: translateY(0) rotate(0deg); }
}
@keyframes terraWarmPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(196, 120, 90, 0); }
    50% { box-shadow: 0 0 36px 4px rgba(196, 120, 90, 0.18); }
}

html.theme-terracotta {
    --bg: #1a1414;
    --bg-elev: #2a1c1c;
    --ink: #f5e6d3;
    --ink-soft: #e8d5c4;
    --muted: rgba(245, 230, 211, 0.55);
    --line: rgba(196, 120, 90, 0.35);
    --signal: #c4785a;
    --signal-bright: #e09a7a;
    --signal-soft: rgba(196, 120, 90, 0.16);
    --blue: #a64d3f;
    color-scheme: dark;
}
html.theme-terracotta body {
    background:
        radial-gradient(ellipse 55% 40% at 100% 0%, rgba(196, 120, 90, 0.2), transparent 50%),
        linear-gradient(180deg, #1a1414, #221818 50%, #1a1414);
    color: var(--ink-soft);
}
html.theme-terracotta .navbar { background: rgba(42, 28, 28, 0.92); }
html.theme-terracotta .navbar.is-scrolled { border-bottom-color: rgba(196, 120, 90, 0.28); }
html.theme-terracotta .logo { color: #f5e6d3; }
html.theme-terracotta .nav-links a { color: rgba(245, 230, 211, 0.55); }
html.theme-terracotta .nav-links a:hover { color: #e09a7a; }
html.theme-terracotta .lang-select {
    background-color: #2a1c1c;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23e09a7a' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.55rem center;
    color: #f5e6d3;
    border-color: rgba(196, 120, 90, 0.35);
}
html.theme-terracotta .nav-cta {
    background: linear-gradient(135deg, #c4785a, #a64d3f);
    box-shadow: 0 8px 22px rgba(166, 77, 63, 0.3);
    border-radius: 8px;
}
html.theme-terracotta .theme-switch { background: #2a1c1c; border-color: rgba(196, 120, 90, 0.35); }
html.theme-terracotta .theme-switch button.is-active { border-color: #f5e6d3; box-shadow: 0 0 0 2px #c4785a; }
html.theme-terracotta .hero {
    background:
        radial-gradient(ellipse 50% 45% at 80% 30%, rgba(196, 120, 90, 0.3), transparent 55%),
        linear-gradient(150deg, #140f0f 0%, #1a1414 40%, #2a1c1c 100%);
}
html.theme-terracotta .hero::before {
    content: "";
    position: absolute; right: 12%; top: 22%;
    width: 220px; height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(196, 120, 90, 0.35), transparent 70%);
    animation: terraEmber 7s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}
html.theme-terracotta .hero::after {
    content: "";
    position: absolute; left: 6%; bottom: 12%;
    width: 160px; height: 160px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(166, 77, 63, 0.28), transparent 72%);
    animation: terraEmber 9s ease-in-out infinite reverse;
    pointer-events: none;
}
html.theme-terracotta .hero-inner { position: relative; z-index: 1; grid-template-columns: 1.15fr 0.85fr; }
html.theme-terracotta .hero-status {
    color: #e09a7a;
    font-family: var(--font-body) !important;
    letter-spacing: 0.06em !important;
    text-transform: none !important;
}
html.theme-terracotta .hero-status i { display: none; }
html.theme-terracotta .hero-brand span {
    background: linear-gradient(105deg, #f5e6d3 10%, #e09a7a 55%, #c4785a 100%);
    -webkit-background-clip: text; background-clip: text;
}
html.theme-terracotta .btn-primary {
    background: #f5e6d3; color: #2a1c1c; border-radius: 8px;
    box-shadow: 0 10px 28px rgba(245, 230, 211, 0.14);
}
html.theme-terracotta .btn-primary:hover { background: #fff; }
html.theme-terracotta .btn-ghost { border-color: rgba(196, 120, 90, 0.45); color: #f5e6d3; border-radius: 8px; }
html.theme-terracotta .hero-visual {
    transform: rotate(-2deg);
    animation: terraPaperIn 1s cubic-bezier(0.22, 1, 0.36, 1) both;
}
html.theme-terracotta .hero-copy > * {
    animation: terraPaperIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}
html.theme-terracotta .hero-copy > *:nth-child(2) { animation-delay: 0.08s; }
html.theme-terracotta .hero-copy > *:nth-child(3) { animation-delay: 0.14s; }
html.theme-terracotta .hero-copy > *:nth-child(4) { animation-delay: 0.2s; }
html.theme-terracotta .hero-copy > *:nth-child(5) { animation-delay: 0.26s; }
html.theme-terracotta .hero-concept-frame {
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(196, 120, 90, 0.4);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.4);
    animation: terraWarmPulse 5.5s ease-in-out infinite;
}
html.theme-terracotta .hero-concept-badge {
    background: #c4785a !important;
    color: #f5e6d3 !important;
    border-radius: 6px !important;
    font-family: var(--font-body) !important;
}
html.theme-terracotta .section-kicker {
    color: #e09a7a !important;
    font-weight: 600;
    font-style: italic;
}
html.theme-terracotta .section-title {
    color: #f5e6d3;
    max-width: 16ch;
}
html.theme-terracotta .bubble-mine { background: #f5e6d3; color: #2a1c1c; }
html.theme-terracotta .bubble-ai { background: rgba(196, 120, 90, 0.22); border-color: rgba(196, 120, 90, 0.4); }
html.theme-terracotta .signal-strip { background: #221818; border-color: rgba(196, 120, 90, 0.25); }
html.theme-terracotta .signal-item strong { color: #e09a7a; }
html.theme-terracotta .signal-item {
    border-left-color: #c4785a;
}
html.theme-terracotta .spatial-band,
html.theme-terracotta .pipe-band,
html.theme-terracotta .ai-band,
html.theme-terracotta .create-lab,
html.theme-terracotta .sync-band,
html.theme-terracotta .doshot-band {
    background:
        radial-gradient(ellipse 40% 50% at 0% 50%, rgba(196, 120, 90, 0.1), transparent 60%),
        #1a1414 !important;
    border-color: rgba(196, 120, 90, 0.2) !important;
}
html.theme-terracotta .spatial-grid { grid-template-columns: 1.1fr 0.9fr; }
html.theme-terracotta .spatial-card:nth-child(2) { margin-top: 2.5rem; transform: rotate(1deg); }
html.theme-terracotta .spatial-card:nth-child(1) { transform: rotate(-0.8deg); }
html.theme-terracotta .spatial-card,
html.theme-terracotta .proto-cell,
html.theme-terracotta .pipe-step,
html.theme-terracotta .ai-ability,
html.theme-terracotta .lab-cell,
html.theme-terracotta .sync-card,
html.theme-terracotta .intel-item,
html.theme-terracotta .more-row,
html.theme-terracotta .doshot-hero-card,
html.theme-terracotta .doshot-feature {
    background: linear-gradient(165deg, #2a1c1c, #221616) !important;
    border: 1px solid rgba(196, 120, 90, 0.32) !important;
    border-radius: 10px !important;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35) !important;
    color: #e8d5c4;
}
html.theme-terracotta .spatial-card:hover,
html.theme-terracotta .doshot-feature:hover,
html.theme-terracotta .lab-cell:hover {
    transform: translateY(-6px) rotate(0deg) !important;
    border-color: rgba(224, 154, 122, 0.55) !important;
}
html.theme-terracotta .doshot-features { grid-template-columns: 1fr; }
html.theme-terracotta .lab-grid { gap: 1.25rem; }
html.theme-terracotta .lab-cell:nth-child(odd) { transform: rotate(-1deg); }
html.theme-terracotta .lab-cell:nth-child(even) { transform: rotate(1deg); margin-top: 1rem; }
html.theme-terracotta .im-line {
    background: #2a1c1c !important;
    border-color: rgba(196, 120, 90, 0.3) !important;
    border-left-color: #c4785a !important;
    border-radius: 8px !important;
}
html.theme-terracotta .im-art {
    background: linear-gradient(160deg, #221616, #2a1c1c) !important;
    border: 1px solid rgba(196, 120, 90, 0.28) !important;
    border-radius: 10px !important;
}
html.theme-terracotta .ai-portrait {
    border: 1px solid rgba(196, 120, 90, 0.35) !important;
    border-radius: 10px !important;
    background:
        radial-gradient(circle at 50% 40%, rgba(196, 120, 90, 0.28), transparent 55%),
        linear-gradient(180deg, #2a1c1c, #1a1414) !important;
}
html.theme-terracotta .ai-portrait::after {
    background: linear-gradient(145deg, #e09a7a, #a64d3f) !important;
}
html.theme-terracotta .ai-terminal {
    background: #221616 !important;
    border: 1px solid rgba(196, 120, 90, 0.3) !important;
    border-radius: 8px !important;
    color: #e8d5c4 !important;
}
html.theme-terracotta .pipe-step::before {
    content: "";
    display: block;
    width: 18px; height: 18px;
    border: 2px solid #c4785a;
    border-radius: 4px;
    margin-bottom: 0.85rem;
    transform: rotate(45deg) scale(0.7);
}
html.theme-terracotta .cta { background: linear-gradient(135deg, #2a1c1c, #3a2420) !important; }
html.theme-terracotta .footer { background: #120e0e !important; }
html.theme-terracotta .reveal {
    transform: translateY(22px) rotate(-0.6deg);
    transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
html.theme-terracotta .reveal.is-visible { transform: translateY(0) rotate(0); }

html.theme-future .doshot-band {
    background:
        radial-gradient(ellipse 55% 50% at 100% 30%, rgba(15, 181, 176, 0.14), transparent 55%),
        linear-gradient(180deg, #061018, #07131c);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

/* —— 下载页 —— */
html.theme-oz body:has(.download-hero) {
    background: #f0f2f5 !important;
    color: #3b4a54;
}
html.theme-oz .download-hero h1 { color: #111b21; }
html.theme-oz .download-hero p,
html.theme-oz .download-section-desc { color: rgba(17, 27, 33, 0.62); }
html.theme-oz .download-section-kicker { color: #00a884; }
html.theme-oz .download-section-title { color: #111b21 !important; }
html.theme-oz .download-card,
html.theme-oz .download-card.is-doshot {
    background: #fff !important;
    border-color: #e9edef !important;
    border-radius: 18px !important;
    box-shadow: 0 1px 3px rgba(11, 20, 26, 0.08) !important;
    color: #3b4a54;
}
html.theme-oz .download-card::after,
html.theme-oz .download-card.is-doshot::after { display: none !important; }
html.theme-oz .download-card h3 { color: #111b21 !important; }
html.theme-oz .download-card .version { color: rgba(17, 27, 33, 0.55) !important; }
html.theme-oz .download-card .desc { color: rgba(17, 27, 33, 0.65) !important; }
html.theme-oz .download-card .icon img { filter: none !important; }
html.theme-oz .btn-download { background: #00a884; color: #fff !important; border-radius: 999px; box-shadow: none; }
html.theme-oz .btn-download:hover { background: #029e7c; }
html.theme-oz .btn-download.is-blue { background: #53bdeb; color: #fff !important; }
html.theme-oz .btn-download.is-blue:hover { background: #3aabdb; filter: none; }
html.theme-oz body:has(.download-hero) .footer { background: #111b21 !important; color: rgba(255, 255, 255, 0.7); }
html.theme-oz .qr-modal-box {
    background: #fff !important;
    border-color: #e9edef !important;
}
html.theme-oz .qr-modal-box p { color: #3b4a54 !important; }
html.theme-oz .qr-modal-close { background: #00a884; color: #fff; }

html.theme-glacier body:has(.download-hero) {
    background: linear-gradient(180deg, #f7f9fc, #eef2f7) !important;
    color: #3d4b5c;
}
html.theme-glacier .download-hero h1,
html.theme-glacier .download-section-title { color: #1a2332 !important; }
html.theme-glacier .download-hero p,
html.theme-glacier .download-section-desc { color: rgba(26, 35, 50, 0.62); }
html.theme-glacier .download-section-kicker { color: #4a90e2; }
html.theme-glacier .download-card,
html.theme-glacier .download-card.is-doshot {
    background: #fff !important;
    border: 1px solid rgba(74, 144, 226, 0.22) !important;
    border-radius: 4px 16px 16px 16px !important;
    box-shadow: 0 12px 40px rgba(74, 144, 226, 0.1) !important;
    color: #3d4b5c;
}
html.theme-glacier .download-card::after,
html.theme-glacier .download-card.is-doshot::after { display: none !important; }
html.theme-glacier .download-card h3 { color: #1a2332 !important; }
html.theme-glacier .download-card .version { color: rgba(26, 35, 50, 0.55) !important; }
html.theme-glacier .download-card .desc { color: rgba(26, 35, 50, 0.68) !important; }
html.theme-glacier .download-card .icon img { filter: none !important; }
html.theme-glacier .btn-download {
    background: #4a90e2; color: #fff !important;
    border-radius: 4px 12px 12px 12px; box-shadow: none;
}
html.theme-glacier .btn-download:hover { background: #3a7fd0; }
html.theme-glacier .btn-download.is-blue { background: #4a90e2; color: #fff !important; }
html.theme-glacier .btn-download.is-blue:hover { background: #3a7fd0; filter: none; }
html.theme-glacier body:has(.download-hero) .footer { background: #1a2332 !important; }
html.theme-glacier .qr-modal-box {
    background: #fff !important;
    border-color: rgba(74, 144, 226, 0.25) !important;
}
html.theme-glacier .qr-modal-box p { color: #3d4b5c !important; }
html.theme-glacier .qr-modal-close { background: #4a90e2; color: #fff; }

html.theme-terracotta body:has(.download-hero) {
    background:
        radial-gradient(ellipse 55% 40% at 100% 0%, rgba(196, 120, 90, 0.18), transparent 50%),
        #1a1414 !important;
    color: #e8d5c4;
}
html.theme-terracotta .download-hero h1,
html.theme-terracotta .download-section-title { color: #f5e6d3 !important; }
html.theme-terracotta .download-hero p,
html.theme-terracotta .download-section-desc { color: rgba(245, 230, 211, 0.65); }
html.theme-terracotta .download-section-kicker { color: #e09a7a; }
html.theme-terracotta .download-card,
html.theme-terracotta .download-card.is-doshot {
    background: linear-gradient(165deg, #2a1c1c, #221616) !important;
    border-color: rgba(196, 120, 90, 0.32) !important;
    border-radius: 10px !important;
    color: #e8d5c4;
}
html.theme-terracotta .download-card::after,
html.theme-terracotta .download-card.is-doshot::after { display: none !important; }
html.theme-terracotta .download-card h3 { color: #f5e6d3 !important; }
html.theme-terracotta .download-card .version { color: rgba(245, 230, 211, 0.6) !important; }
html.theme-terracotta .download-card .desc { color: rgba(245, 230, 211, 0.72) !important; }
html.theme-terracotta .download-card .icon img { filter: none !important; }
html.theme-terracotta .btn-download { background: #f5e6d3; color: #2a1c1c !important; border-radius: 8px; box-shadow: none; }
html.theme-terracotta .btn-download:hover { background: #fff; }
html.theme-terracotta .btn-download.is-blue { background: #c4785a; color: #fff !important; }
html.theme-terracotta .btn-download.is-blue:hover { background: #a64d3f; filter: none; }
html.theme-terracotta body:has(.download-hero) .footer { background: #120e0e !important; }
html.theme-terracotta .qr-modal-box {
    background: #2a1c1c !important;
    border-color: rgba(196, 120, 90, 0.35) !important;
}
html.theme-terracotta .qr-modal-box p { color: #e8d5c4 !important; }
html.theme-terracotta .qr-modal-close { background: #c4785a; color: #fff; }

@media (prefers-reduced-motion: reduce) {
    html.theme-oz .hero::before,
    html.theme-oz .hero::after,
    html.theme-oz .hero-copy > *,
    html.theme-oz .hero-visual,
    html.theme-oz .im-line,
    html.theme-glacier .hero::before,
    html.theme-glacier .hero::after,
    html.theme-glacier .hero-copy > *,
    html.theme-glacier .hero-visual,
    html.theme-terracotta .hero::before,
    html.theme-terracotta .hero::after,
    html.theme-terracotta .hero-copy > *,
    html.theme-terracotta .hero-visual,
    html.theme-terracotta .hero-concept-frame,
    .theme-fx .fx-layer > * {
        animation: none !important;
    }
}

/* ========== 可见主题特效层（非未来纪元） ========== */
.theme-fx {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}
.theme-fx .fx-layer { display: none; position: absolute; inset: 0; }
html.theme-oz .theme-fx .fx-oz { display: block; }
html.theme-glacier .theme-fx .fx-glacier { display: block; }
html.theme-terracotta .theme-fx .fx-terra { display: block; }
html.theme-future .theme-fx { display: none; }

.hero-inner { position: relative; z-index: 1; }

/* —— OZ：绿色聊天气泡上浮 + 柔和光球 —— */
@keyframes ozFloatUp {
    0% { transform: translateY(40px) scale(0.85); opacity: 0; }
    12% { opacity: 1; }
    88% { opacity: 0.95; }
    100% { transform: translateY(-120px) scale(1); opacity: 0; }
}
@keyframes ozOrbBob {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(18px, -28px) scale(1.12); }
}

.fx-oz .oz-bubble {
    position: absolute;
    display: block;
    border-radius: 18px 18px 18px 6px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(11, 20, 26, 0.12);
    opacity: 0;
}
.fx-oz .oz-bubble::after {
    content: "";
    position: absolute;
    left: 14px; right: 14px; top: 50%;
    height: 6px;
    border-radius: 999px;
    background: rgba(0, 168, 132, 0.22);
    transform: translateY(-50%);
    box-shadow: 0 10px 0 rgba(0, 168, 132, 0.12);
}
html.theme-fx-on .fx-oz .oz-bubble { animation: ozFloatUp 7s ease-in-out infinite; }

.fx-oz .oz-b1 { width: 88px; height: 46px; left: 8%; bottom: 18%; animation-delay: 0s !important; background: #d9fdd3; }
.fx-oz .oz-b2 { width: 110px; height: 52px; left: 22%; bottom: 12%; animation-delay: 1.4s !important; border-radius: 18px 18px 6px 18px; }
.fx-oz .oz-b3 { width: 96px; height: 48px; right: 16%; bottom: 22%; animation-delay: 2.6s !important; background: #d9fdd3; }
.fx-oz .oz-b4 { width: 72px; height: 40px; right: 8%; bottom: 10%; animation-delay: 3.8s !important; border-radius: 18px 18px 6px 18px; }

.fx-oz .oz-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(0.5px);
}
html.theme-fx-on .fx-oz .oz-orb { animation: ozOrbBob 5.5s ease-in-out infinite; }
.fx-oz .oz-o1 {
    width: 160px; height: 160px; left: -40px; top: 18%;
    background: radial-gradient(circle, rgba(0, 168, 132, 0.35), transparent 70%);
}
.fx-oz .oz-o2 {
    width: 200px; height: 200px; right: -50px; top: 8%;
    background: radial-gradient(circle, rgba(83, 189, 235, 0.3), transparent 70%);
    animation-delay: 1.2s !important;
}
.fx-oz .oz-o3 {
    width: 120px; height: 120px; left: 40%; top: 55%;
    background: radial-gradient(circle, rgba(0, 168, 132, 0.22), transparent 70%);
    animation-delay: 2s !important;
}

/* —— GLACIER：冰晶飘落 + 斜向光束 —— */
@keyframes glFall {
    0% { transform: translateY(-30px) rotate(0deg); opacity: 0; }
    10% { opacity: 0.9; }
    100% { transform: translateY(110vh) rotate(220deg); opacity: 0; }
}
@keyframes glBeamSweep {
    0%, 100% { opacity: 0; transform: translateX(-30%) skewX(-18deg); }
    40% { opacity: 0.55; }
    70% { opacity: 0.15; transform: translateX(40%) skewX(-18deg); }
}

.fx-glacier .gl-flake {
    position: absolute;
    width: 14px; height: 14px;
    background: linear-gradient(135deg, #fff, #8eb6e8);
    border: 1px solid rgba(74, 144, 226, 0.45);
    box-shadow: 0 0 12px rgba(106, 168, 240, 0.55);
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    opacity: 0;
}
html.theme-fx-on .fx-glacier .gl-flake { animation: glFall linear infinite; }
.fx-glacier .gl-f1 { left: 12%; top: -10px; animation-duration: 9s !important; animation-delay: 0s !important; }
.fx-glacier .gl-f2 { left: 28%; top: -10px; width: 10px; height: 10px; animation-duration: 11s !important; animation-delay: 1.5s !important; }
.fx-glacier .gl-f3 { left: 48%; top: -10px; width: 18px; height: 18px; animation-duration: 8s !important; animation-delay: 0.8s !important; }
.fx-glacier .gl-f4 { left: 66%; top: -10px; width: 12px; height: 12px; animation-duration: 12s !important; animation-delay: 2.4s !important; }
.fx-glacier .gl-f5 { left: 84%; top: -10px; width: 16px; height: 16px; animation-duration: 10s !important; animation-delay: 3.2s !important; }

.fx-glacier .gl-beam {
    position: absolute;
    top: -20%;
    width: 28%;
    height: 140%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
    opacity: 0;
}
html.theme-fx-on .fx-glacier .gl-beam { animation: glBeamSweep 6.5s ease-in-out infinite; }
.fx-glacier .gl-bm1 { left: 10%; animation-delay: 0s !important; }
.fx-glacier .gl-bm2 { left: 55%; animation-delay: 3.2s !important; }

/* —— TERRACOTTA：余烬上飘 + 暖光呼吸 —— */
@keyframes trRise {
    0% { transform: translateY(20px) scale(0.7); opacity: 0; }
    15% { opacity: 1; }
    100% { transform: translateY(-160px) scale(1.15); opacity: 0; }
}
@keyframes trGlowPulse {
    0%, 100% { transform: scale(1); opacity: 0.4; }
    50% { transform: scale(1.25); opacity: 0.85; }
}

.fx-terra .tr-ember {
    position: absolute;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: radial-gradient(circle, #f5e6d3, #c4785a 55%, transparent 75%);
    box-shadow: 0 0 14px rgba(224, 154, 122, 0.85);
    opacity: 0;
}
html.theme-fx-on .fx-terra .tr-ember { animation: trRise ease-out infinite; }
.fx-terra .tr-e1 { left: 14%; bottom: 16%; animation-duration: 5.5s !important; animation-delay: 0s !important; }
.fx-terra .tr-e2 { left: 28%; bottom: 12%; width: 6px; height: 6px; animation-duration: 6.5s !important; animation-delay: 0.9s !important; }
.fx-terra .tr-e3 { left: 46%; bottom: 20%; width: 10px; height: 10px; animation-duration: 4.8s !important; animation-delay: 1.6s !important; }
.fx-terra .tr-e4 { left: 62%; bottom: 14%; animation-duration: 7s !important; animation-delay: 0.4s !important; }
.fx-terra .tr-e5 { left: 76%; bottom: 22%; width: 7px; height: 7px; animation-duration: 5.8s !important; animation-delay: 2.2s !important; }
.fx-terra .tr-e6 { left: 88%; bottom: 10%; width: 9px; height: 9px; animation-duration: 6.2s !important; animation-delay: 3s !important; }

.fx-terra .tr-glow {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(196, 120, 90, 0.45), transparent 70%);
}
html.theme-fx-on .fx-terra .tr-glow { animation: trGlowPulse 4.5s ease-in-out infinite; }
.fx-terra .tr-g1 { width: 240px; height: 240px; right: -40px; top: 10%; }
.fx-terra .tr-g2 { width: 180px; height: 180px; left: -30px; bottom: 8%; animation-delay: 1.5s !important; }

/* 卡片持续微动，切换主题立刻可感 */
html.theme-oz .spatial-card,
html.theme-oz .doshot-feature,
html.theme-oz .lab-cell {
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s, border-color 0.45s;
}
html.theme-fx-on.theme-oz .signal-item {
    animation: ozOrbBob 7s ease-in-out infinite;
}
html.theme-fx-on.theme-oz .signal-item:nth-child(2) { animation-delay: 0.4s; }
html.theme-fx-on.theme-oz .signal-item:nth-child(3) { animation-delay: 0.8s; }
html.theme-fx-on.theme-oz .signal-item:nth-child(4) { animation-delay: 1.2s; }

html.theme-fx-on.theme-glacier .signal-item {
    animation: glacierSlideIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}
html.theme-fx-on.theme-glacier .signal-item:nth-child(2) { animation-delay: 0.1s; }
html.theme-fx-on.theme-glacier .signal-item:nth-child(3) { animation-delay: 0.2s; }
html.theme-fx-on.theme-glacier .signal-item:nth-child(4) { animation-delay: 0.3s; }

html.theme-fx-on.theme-terracotta .signal-item {
    animation: terraPaperIn 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
}
html.theme-fx-on.theme-terracotta .signal-item:nth-child(2) { animation-delay: 0.08s; }
html.theme-fx-on.theme-terracotta .signal-item:nth-child(3) { animation-delay: 0.16s; }
html.theme-fx-on.theme-terracotta .signal-item:nth-child(4) { animation-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
    html.theme-fx-on .fx-oz .oz-bubble,
    html.theme-fx-on .fx-oz .oz-orb,
    html.theme-fx-on .fx-glacier .gl-flake,
    html.theme-fx-on .fx-glacier .gl-beam,
    html.theme-fx-on .fx-terra .tr-ember,
    html.theme-fx-on .fx-terra .tr-glow,
    html.theme-fx-on.theme-oz .signal-item,
    html.theme-fx-on.theme-glacier .signal-item,
    html.theme-fx-on.theme-terracotta .signal-item {
        animation: none !important;
        opacity: 0.7;
    }
}
