/* 小雨课程表 · 官网介绍页 */

:root {
    --bg: #ffffff;
    --bg-tinted: #f7f8fa;
    --surface-card: rgba(255, 255, 255, 0.78);
    --surface-soft: rgba(15, 23, 42, 0.045);
    --text: #0b1220;
    --text-2: #475569;
    --text-muted: #64748b;
    --border: rgba(15, 23, 42, 0.09);
    --border-strong: rgba(15, 23, 42, 0.16);
    --header-scrolled-bg: rgba(255, 255, 255, 0.86);
    --success: #15803d;
    --container: 1180px;
    --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Monaco, Consolas, monospace;

    /* 默认品牌色：appleGreen */
    --brand: #00c29c;
    --brand-soft: rgba(0, 194, 156, 0.14);
    --brand-softer: rgba(0, 194, 156, 0.09);
    --brand-border: rgba(0, 194, 156, 0.34);
    --brand-ink: #047857;
    --pastel-1: #c9f2d4;
    --pastel-2: #e8faec;
    --pastel-3: #bdebd6;
    --pastel-4: #e4f6c8;
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        --bg: #080b11;
        --bg-tinted: #0d121b;
        --surface-card: rgba(24, 31, 45, 0.76);
        --surface-soft: rgba(148, 163, 184, 0.10);
        --text: #f1f5f9;
        --text-2: #cbd5e1;
        --text-muted: #94a3b8;
        --border: rgba(148, 163, 184, 0.15);
        --border-strong: rgba(148, 163, 184, 0.28);
        --header-scrolled-bg: rgba(8, 11, 17, 0.84);
        --success: #4ade80;
        --brand-ink: #34d399;
        --pastel-1: #0d331b;
        --pastel-2: #09140e;
        --pastel-3: #124227;
        --pastel-4: #0e261c;
    }
}

html[data-theme="dark"] {
    --bg: #080b11;
    --bg-tinted: #0d121b;
    --surface-card: rgba(24, 31, 45, 0.76);
    --surface-soft: rgba(148, 163, 184, 0.10);
    --text: #f1f5f9;
    --text-2: #cbd5e1;
    --text-muted: #94a3b8;
    --border: rgba(148, 163, 184, 0.15);
    --border-strong: rgba(148, 163, 184, 0.28);
    --header-scrolled-bg: rgba(8, 11, 17, 0.84);
    --success: #4ade80;
    --brand-ink: #34d399;
    --pastel-1: #0d331b;
    --pastel-2: #09140e;
    --pastel-3: #124227;
    --pastel-4: #0e261c;
}

/* 7 种品牌强调色与柔彩渐变令牌（同步自小雨课程表 themes.ts） */
html[data-brand="freedomOrange"] {
    --brand: #f97316;
    --brand-soft: rgba(249, 115, 22, 0.16);
    --brand-softer: rgba(249, 115, 22, 0.10);
    --brand-border: rgba(249, 115, 22, 0.36);
    --brand-ink: #c2410c;
    --pastel-1: #ffe0c2;
    --pastel-2: #fff2df;
    --pastel-3: #ffd4b8;
    --pastel-4: #fce9c8;
}

html[data-brand="vividYellow"] {
    --brand: #f59e0b;
    --brand-soft: rgba(245, 158, 11, 0.16);
    --brand-softer: rgba(245, 158, 11, 0.10);
    --brand-border: rgba(245, 158, 11, 0.38);
    --brand-ink: #b45309;
    --pastel-1: #fff0b8;
    --pastel-2: #fff8dc;
    --pastel-3: #fde5a8;
    --pastel-4: #f4f3c8;
}

html[data-brand="appleGreen"] {
    --brand: #00c29c;
    --brand-soft: rgba(0, 194, 156, 0.15);
    --brand-softer: rgba(0, 194, 156, 0.09);
    --brand-border: rgba(0, 194, 156, 0.35);
    --brand-ink: #047857;
    --pastel-1: #c9f2d4;
    --pastel-2: #e8faec;
    --pastel-3: #bdebd6;
    --pastel-4: #e4f6c8;
}

html[data-brand="distantCyan"] {
    --brand: #06b6d4;
    --brand-soft: rgba(6, 182, 212, 0.15);
    --brand-softer: rgba(6, 182, 212, 0.09);
    --brand-border: rgba(6, 182, 212, 0.36);
    --brand-ink: #0e7490;
    --pastel-1: #bfeff7;
    --pastel-2: #e3f8fc;
    --pastel-3: #c7f0ea;
    --pastel-4: #d8ecfa;
}

html[data-brand="iceBlue"] {
    --brand: #3b82f6;
    --brand-soft: rgba(59, 130, 246, 0.15);
    --brand-softer: rgba(59, 130, 246, 0.09);
    --brand-border: rgba(59, 130, 246, 0.36);
    --brand-ink: #1d4ed8;
    --pastel-1: #c7e0ff;
    --pastel-2: #e6f1ff;
    --pastel-3: #d2ddfc;
    --pastel-4: #cbebf8;
}

html[data-brand="dreamyPurple"] {
    --brand: #9b6dff;
    --brand-soft: rgba(155, 109, 255, 0.16);
    --brand-softer: rgba(155, 109, 255, 0.10);
    --brand-border: rgba(155, 109, 255, 0.36);
    --brand-ink: #6d28d9;
    --pastel-1: #e1d1ff;
    --pastel-2: #f2ecff;
    --pastel-3: #ead4fa;
    --pastel-4: #d8ddfd;
}

html[data-brand="sheerPink"] {
    --brand: #ec4899;
    --brand-soft: rgba(236, 72, 153, 0.15);
    --brand-softer: rgba(236, 72, 153, 0.09);
    --brand-border: rgba(236, 72, 153, 0.35);
    --brand-ink: #be185d;
    --pastel-1: #ffd1e6;
    --pastel-2: #fff0f7;
    --pastel-3: #fbd6f0;
    --pastel-4: #ffe0d9;
}

/* 深色模式对应柔彩渐变与可读前景色 */
@media (prefers-color-scheme: dark) {
    html:not([data-theme="light"])[data-brand="freedomOrange"] { --brand-ink: #fb923c; --pastel-1: #3b1d0e; --pastel-2: #17100c; --pastel-3: #4a2512; --pastel-4: #26140d; }
    html:not([data-theme="light"])[data-brand="vividYellow"]   { --brand-ink: #fbbf24; --pastel-1: #36290b; --pastel-2: #15130b; --pastel-3: #45340e; --pastel-4: #241e0c; }
    html:not([data-theme="light"])[data-brand="appleGreen"]    { --brand-ink: #34d399; --pastel-1: #0d331b; --pastel-2: #09140e; --pastel-3: #124227; --pastel-4: #0e261c; }
    html:not([data-theme="light"])[data-brand="distantCyan"]   { --brand-ink: #22d3ee; --pastel-1: #092e38; --pastel-2: #081216; --pastel-3: #0d3d4a; --pastel-4: #0d2330; }
    html:not([data-theme="light"])[data-brand="iceBlue"]       { --brand-ink: #60a5fa; --pastel-1: #102446; --pastel-2: #090f1a; --pastel-3: #16315c; --pastel-4: #14203b; }
    html:not([data-theme="light"])[data-brand="dreamyPurple"]  { --brand-ink: #c4b5fd; --pastel-1: #261745; --pastel-2: #0e0b17; --pastel-3: #331f5c; --pastel-4: #1f1536; }
    html:not([data-theme="light"])[data-brand="sheerPink"]     { --brand-ink: #f472b6; --pastel-1: #3d1229; --pastel-2: #160a11; --pastel-3: #4f1836; --pastel-4: #2b1124; }
}

html[data-theme="dark"][data-brand="freedomOrange"] { --brand-ink: #fb923c; --pastel-1: #3b1d0e; --pastel-2: #17100c; --pastel-3: #4a2512; --pastel-4: #26140d; }
html[data-theme="dark"][data-brand="vividYellow"]   { --brand-ink: #fbbf24; --pastel-1: #36290b; --pastel-2: #15130b; --pastel-3: #45340e; --pastel-4: #241e0c; }
html[data-theme="dark"][data-brand="appleGreen"]    { --brand-ink: #34d399; --pastel-1: #0d331b; --pastel-2: #09140e; --pastel-3: #124227; --pastel-4: #0e261c; }
html[data-theme="dark"][data-brand="distantCyan"]   { --brand-ink: #22d3ee; --pastel-1: #092e38; --pastel-2: #081216; --pastel-3: #0d3d4a; --pastel-4: #0d2330; }
html[data-theme="dark"][data-brand="iceBlue"]       { --brand-ink: #60a5fa; --pastel-1: #102446; --pastel-2: #090f1a; --pastel-3: #16315c; --pastel-4: #14203b; }
html[data-theme="dark"][data-brand="dreamyPurple"]  { --brand-ink: #c4b5fd; --pastel-1: #261745; --pastel-2: #0e0b17; --pastel-3: #331f5c; --pastel-4: #1f1536; }
html[data-theme="dark"][data-brand="sheerPink"]     { --brand-ink: #f472b6; --pastel-1: #3d1229; --pastel-2: #160a11; --pastel-3: #4f1836; --pastel-4: #2b1124; }

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    transition: background-color 0.25s ease, color 0.25s ease;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    background: none;
    border: none;
    font: inherit;
    color: inherit;
    cursor: pointer;
}

:focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: 2px;
}

section[id] {
    scroll-margin-top: 64px;
}

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 28px;
}

.mono,
.num {
    font-family: var(--font-mono);
    font-variant-numeric: tabular-nums;
}

/* =========================================================
   1. 顶部浮动导航栏
   ========================================================= */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 40;
    height: 64px;
    color: var(--text);
    background: transparent;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.site-header.is-scrolled {
    background: var(--header-scrolled-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: inset 0 -1px 0 var(--border);
}

.header-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.header-crumb {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    transition: opacity 0.16s ease;
}

.brand:hover {
    opacity: 0.78;
}

.brand-logo {
    width: 24px;
    height: 24px;
    border-radius: 5px;
    flex-shrink: 0;
}

.brand-name {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.01em;
    white-space: nowrap;
}

.crumb-sep {
    color: var(--text-muted);
    font-size: 14px;
    opacity: 0.55;
}

.crumb-current {
    font-size: 14px;
    font-weight: 600;
    color: var(--brand-ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 22px;
}

.site-nav a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-2);
    transition: color 0.16s ease;
    white-space: nowrap;
}

.site-nav a:hover {
    color: var(--text);
}

.theme-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--text-2);
    padding: 5px 9px;
    border-radius: 6px;
    transition: color 0.16s ease, background-color 0.16s ease;
    white-space: nowrap;
}

.theme-toggle:hover {
    color: var(--text);
    background-color: var(--surface-soft);
}

.theme-toggle-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle-icon svg {
    width: 14px;
    height: 14px;
}

/* =========================================================
   2. 首屏展示区（柔彩网格 + 双按钮入口 + 悬浮舞台）
   ========================================================= */
.hero {
    position: relative;
    padding: 132px 0 96px;
    overflow: hidden;
    border-bottom: 1px solid var(--border);
}

.hero-mesh {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 68% 72% at 18% 22%, var(--pastel-1) 0%, transparent 66%),
        radial-gradient(ellipse 62% 70% at 84% 26%, var(--pastel-3) 0%, transparent 64%),
        radial-gradient(ellipse 72% 68% at 72% 88%, var(--pastel-4) 0%, transparent 66%),
        linear-gradient(155deg, var(--pastel-2) 0%, var(--bg) 88%);
    transition: background 0.45s ease;
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 56px;
}

.hero-copy {
    min-width: 0;
}

.hero-title {
    font-size: clamp(32px, 4.4vw, 48px);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.18;
    margin-bottom: 16px;
}

.hero-subtitle {
    font-size: clamp(16px, 1.8vw, 19px);
    color: var(--text-2);
    line-height: 1.6;
    max-width: 580px;
    margin-bottom: 32px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
}

.hero-actions.is-centered {
    justify-content: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    height: 48px;
    padding: 0 24px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
    transition: transform 0.18s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn:active {
    transform: translateY(0);
}

.btn-secondary {
    background: var(--surface-card);
    color: var(--text);
    border: 1px solid var(--border-strong);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
}

.btn-secondary:hover {
    border-color: var(--brand);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.10);
}

.hero-stage-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-hop {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    height: 256px;
}

.logo-hop::before {
    content: '';
    position: absolute;
    bottom: -26px;
    left: 50%;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    transform: translateX(-50%);
    background: radial-gradient(circle, color-mix(in srgb, var(--brand) 32%, transparent) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.logo-hop__icon {
    position: relative;
    z-index: 1;
    width: 188px;
    height: 188px;
    border-radius: 48px;
    background: var(--brand);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    transform-origin: 50% 50%;
    will-change: transform;
    backface-visibility: hidden;
    animation: logo-hop 3s infinite;
    transition: background-color 0.28s ease;
}

/* =========================================================
   3. 移植自小雨课程表 OnboardingStage 的液态玻璃微件
   ========================================================= */
.glass-panel {
    border: 1px solid var(--border);
    background: var(--surface-card);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow:
        0 20px 44px rgba(15, 23, 42, 0.10),
        inset 0 1px 0 rgba(255, 255, 255, 0.48);
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .glass-panel {
        box-shadow:
            0 22px 48px rgba(0, 0, 0, 0.36),
            inset 0 1px 0 rgba(255, 255, 255, 0.12);
    }
}

html[data-theme="dark"] .glass-panel {
    box-shadow:
        0 22px 48px rgba(0, 0, 0, 0.36),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.ob-tt-float-card {
    position: relative;
    z-index: 2;
    width: 316px;
    height: 220px;
    border-radius: 24px;
    padding: 15px 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ob-tt-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ob-tt-mini-logo {
    display: inline-flex;
    color: var(--brand);
    filter: drop-shadow(0 4px 10px color-mix(in srgb, var(--brand) 28%, transparent));
    transition: color 0.25s ease;
}

.ob-tt-days {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.ob-tt-day-dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: var(--border-strong);
}

.ob-tt-day-dot.is-active {
    width: 18px;
    background: var(--brand);
}

.ob-tt-columns {
    flex: 1 1 auto;
    min-height: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.ob-tt-col {
    display: flex;
    flex-direction: column;
    gap: 7px;
    min-width: 0;
}

.ob-tt-pill {
    border-radius: 14px;
    padding: 10px 9px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
    border: 1px solid rgba(255, 255, 255, 0.32);
}

.ob-tt-pill.tone-brand {
    background: linear-gradient(
        155deg,
        color-mix(in srgb, var(--brand) 24%, transparent),
        color-mix(in srgb, var(--brand) 10%, transparent)
    );
}

.ob-tt-pill.tone-sky {
    background: linear-gradient(155deg, rgba(56, 189, 248, 0.24), rgba(56, 189, 248, 0.10));
}

.ob-tt-pill.tone-amber {
    background: linear-gradient(155deg, rgba(245, 158, 11, 0.24), rgba(245, 158, 11, 0.10));
}

.ob-tt-ghost {
    border-radius: 12px;
    background: var(--surface-soft);
    border: 1px solid var(--border);
    opacity: 0.72;
}

.flex-tall { flex: 1.55 1 0; }
.flex-short { flex: 0.45 1 0; }
.flex-mid { flex: 1.3 1 0; }
.flex-mid-short { flex: 0.7 1 0; }

.ob-tt-name {
    font-size: 12.5px;
    font-weight: 700;
    line-height: 1.25;
    color: var(--text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ob-tt-loc {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-2);
}

/* =========================================================
   4. 功能特性区
   ========================================================= */
.features-section {
    padding: 96px 0;
    background-color: var(--bg);
}

.features-stack {
    display: flex;
    flex-direction: column;
    gap: 88px;
}

.feature-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 56px;
}

.feature-row.is-reverse .feature-visual {
    order: -1;
}

.feature-text {
    min-width: 0;
}

.feature-kicker {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--brand-ink);
    margin-bottom: 10px;
}

.feature-title {
    font-size: clamp(24px, 2.8vw, 32px);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.25;
    margin-bottom: 14px;
}

.feature-desc {
    font-size: 15px;
    color: var(--text-2);
    line-height: 1.75;
    max-width: 480px;
    margin-bottom: 22px;
}

.feature-tags {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.feature-tags li {
    padding: 5px 12px;
    border-radius: 999px;
    background: var(--bg-tinted);
    border: 1px solid var(--border);
    font-size: 12.5px;
    font-weight: 500;
    color: var(--text-2);
}

.feature-visual {
    position: relative;
    min-width: 0;
    padding: 16px 0;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 248px;
}

/* Scene 2: 成绩 + 考试 + 空教室 */
.ob-widgets-stage {
    width: 312px;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ob-widgets-top {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.ob-mini-widget {
    border-radius: 22px;
    padding: 16px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
}

.ob-gpa-ring {
    position: relative;
    width: 70px;
    height: 70px;
    display: grid;
    place-items: center;
}

.ob-gpa-svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.ob-gpa-track {
    fill: none;
    stroke: var(--surface-soft);
    stroke-width: 5.5;
}

.ob-gpa-arc {
    fill: none;
    stroke: var(--brand);
    stroke-width: 5.5;
    stroke-linecap: round;
    transition: stroke 0.25s ease;
}

.ob-gpa-val {
    position: absolute;
    font-size: 16px;
    font-weight: 800;
    color: var(--text);
}

.ob-exam-ico {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: rgba(16, 185, 129, 0.16);
    color: #10b981;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ob-exam-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.ob-exam-val {
    font-size: 19px;
    font-weight: 800;
    color: var(--text);
}

.ob-widget-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-2);
}

.ob-room-bar {
    border-radius: 18px;
    padding: 13px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.ob-room-left {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.ob-live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2);
}

.ob-room-label {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--text);
}

.ob-room-badge {
    padding: 4px 12px;
    border-radius: 999px;
    background: rgba(245, 158, 11, 0.16);
    color: #d97706;
    font-size: 12.5px;
    font-weight: 800;
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .ob-room-badge { color: #fbbf24; }
}
html[data-theme="dark"] .ob-room-badge { color: #fbbf24; }

/* Scene 3: 情侣浮卡 + 7 色交互试色坞 */
.ob-couple-stage {
    width: 324px;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;
}

.ob-couple-cards {
    position: relative;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    padding: 4px 2px;
}

.ob-cp-card {
    border-radius: 22px;
    padding: 15px 14px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
}

.ob-cp-card.is-me {
    transform: rotate(-3.5deg) translateY(-2px);
    background: linear-gradient(155deg, var(--brand-softer), var(--surface-card));
    border-color: var(--brand-border);
}

.ob-cp-card.is-ta {
    transform: rotate(3.5deg) translateY(4px);
    background: linear-gradient(155deg, rgba(244, 114, 182, 0.14), var(--surface-card));
    border-color: rgba(244, 114, 182, 0.34);
}

.ob-cp-role {
    align-self: flex-start;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 700;
}

.is-me .ob-cp-role {
    background: var(--brand-soft);
    color: var(--brand-ink);
}

.is-ta .ob-cp-role {
    background: rgba(244, 114, 182, 0.20);
    color: #db2777;
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .is-ta .ob-cp-role { color: #f472b6; }
}
html[data-theme="dark"] .is-ta .ob-cp-role { color: #f472b6; }

.ob-cp-class {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.ob-cp-course {
    font-size: 14.5px;
    font-weight: 700;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ob-cp-room {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-2);
}

.ob-float-heart {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 5;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(145deg, #fb7185 0%, #f43f5e 100%);
    border: 3px solid #ffffff;
    box-shadow: 0 10px 22px rgba(244, 63, 94, 0.32);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translate(-50%, -50%);
    animation: obHeartbeat 1.8s ease-in-out infinite;
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .ob-float-heart { border-color: #1a2230; }
}
html[data-theme="dark"] .ob-float-heart { border-color: #1a2230; }

.ob-glass-dock {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 14px;
    border-radius: 999px;
}

.ob-swatch {
    width: 21px;
    height: 21px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.88);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ob-swatch:hover {
    transform: scale(1.16);
}

.ob-swatch.is-active {
    transform: scale(1.22);
    box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--brand);
}

/* Scene 4: 排班扫码 + 团队空课点阵看板 */
.ob-duty-stage {
    width: 332px;
    max-width: 100%;
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr);
    align-items: center;
    gap: 13px;
}

.ob-qr-float {
    border-radius: 22px;
    padding: 14px 10px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 9px;
    transform: rotate(-3deg);
    text-align: center;
}

.ob-qr-visual {
    position: relative;
    width: 66px;
    height: 66px;
    padding: 6px;
    border-radius: 14px;
    background: var(--brand-softer);
    color: var(--brand);
    overflow: hidden;
}

.ob-qr-svg {
    width: 100%;
    height: 100%;
}

.ob-qr-scan-beam {
    position: absolute;
    left: 4px;
    right: 4px;
    height: 2px;
    border-radius: 999px;
    background: var(--brand);
    box-shadow: 0 0 8px var(--brand);
    animation: obScanSweep 2.4s ease-in-out infinite;
}

.ob-qr-label {
    font-size: 11.5px;
    font-weight: 700;
    color: var(--text);
    line-height: 1.25;
}

.ob-team-board {
    border-radius: 22px;
    padding: 14px 14px 15px;
    display: flex;
    flex-direction: column;
    gap: 11px;
    min-width: 0;
}

.ob-team-avatars {
    display: flex;
    align-items: center;
    padding-left: 4px;
}

.ob-avatar {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid var(--bg);
    margin-left: -5px;
}

.ob-avatar:first-child { margin-left: 0; }
.av-1 { background: var(--brand); }
.av-2 { background: #38bdf8; }
.av-3 { background: #f59e0b; }
.av-4 { background: #f472b6; }

.ob-team-rows {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ob-team-slot {
    border-radius: 13px;
    padding: 8px 10px;
    background: var(--surface-soft);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ob-team-slot-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
}

.ob-team-time {
    font-size: 11.5px;
    font-weight: 700;
    color: var(--text);
    white-space: nowrap;
}

.ob-team-badge {
    padding: 2px 7px;
    border-radius: 999px;
    background: rgba(16, 185, 129, 0.16);
    color: #10b981;
    font-size: 10.5px;
    font-weight: 700;
    white-space: nowrap;
}

.ob-team-dots {
    display: flex;
    align-items: center;
    gap: 5px;
}

.ob-avail-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--border-strong);
}

.ob-avail-dot.is-on {
    background: #10b981;
}

/* Scene 5: 液态玻璃宝石图标 + 对勾 */
.ob-trust-stage {
    position: relative;
    width: 210px;
    height: 210px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ob-gem-halo {
    position: absolute;
    width: 174px;
    height: 174px;
    border-radius: 50px;
    background: color-mix(in srgb, var(--brand) 14%, transparent);
    border: 1px solid color-mix(in srgb, var(--brand) 28%, transparent);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transform: rotate(8deg);
}

.ob-gem-wrap {
    position: relative;
    z-index: 2;
    width: 124px;
    height: 124px;
}

.ob-app-gem {
    position: relative;
    width: 124px;
    height: 124px;
    border-radius: 36px;
    background: linear-gradient(
        145deg,
        color-mix(in srgb, var(--brand) 88%, #ffffff 22%) 0%,
        var(--brand) 100%
    );
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.36);
    box-shadow:
        0 24px 54px color-mix(in srgb, var(--brand) 38%, transparent),
        inset 0 1px 0 rgba(255, 255, 255, 0.48);
    display: grid;
    place-items: center;
    overflow: hidden;
}

.ob-app-gem::after {
    content: '';
    position: absolute;
    top: -30%;
    bottom: -30%;
    left: 0;
    width: 72%;
    pointer-events: none;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.14) 30%,
        rgba(255, 255, 255, 0.56) 50%,
        rgba(255, 255, 255, 0.12) 70%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: translate3d(-170%, 0, 0) skewX(-26deg);
    animation: obGemSheen 3.2s cubic-bezier(0.32, 0, 0.16, 1) infinite;
}

.ob-gem-check {
    position: absolute;
    bottom: -6px;
    right: -6px;
    z-index: 3;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #10b981;
    color: #ffffff;
    border: 3px solid var(--bg);
    box-shadow: 0 8px 18px rgba(16, 185, 129, 0.36);
    display: grid;
    place-items: center;
}

/* =========================================================
   5. 底部获取卡片 & 页脚
   ========================================================= */
.download-section {
    padding: 72px 0 88px;
    background-color: var(--bg);
    border-top: 1px solid var(--border);
}

.download-card {
    padding: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    text-align: center;
}

.download-title {
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 28px;
}

.download-foot {
    margin-top: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: var(--text-muted);
}

.qq-chip {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--bg-tinted);
    color: var(--text-2);
    font-size: 12.5px;
    transition: border-color 0.16s ease;
}

.qq-chip:hover {
    border-color: var(--border-strong);
}

.qq-chip-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px 6px 14px;
    color: inherit;
    transition: color 0.16s ease;
}

.qq-chip-link:hover {
    color: var(--text);
}

.qq-chip-sep {
    width: 1px;
    height: 12px;
    background: var(--border-strong);
    flex-shrink: 0;
}

.qq-chip-copy {
    padding: 6px 14px 6px 10px;
    color: var(--brand-ink);
    font-weight: 600;
    transition: opacity 0.16s ease, color 0.16s ease;
}

.qq-chip-copy:hover {
    opacity: 0.8;
}

.qq-chip-copy.is-copied {
    color: var(--success);
}

.site-footer {
    padding: 28px 0;
    background-color: var(--bg-tinted);
    border-top: 1px solid var(--border);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px 24px;
    font-size: 12px;
    color: var(--text-muted);
}

.footer-records {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px 18px;
}

.footer-records a {
    transition: color 0.15s ease;
}

.footer-records a:hover {
    color: var(--text);
}

/* =========================================================
   6. 动画与滚动揭示
   ========================================================= */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1), transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.js-reveal .reveal:not(.is-visible) {
    opacity: 0;
    transform: translateY(20px);
}

@keyframes logo-hop {
    0% {
        transform: translateY(0) rotate(0deg) scale(1, 1);
        animation-timing-function: cubic-bezier(0.36, 0, 0.66, 1);
    }
    3% {
        transform: translateY(4px) rotate(-3deg) scale(1.04, 0.93);
        animation-timing-function: cubic-bezier(0.12, 0.84, 0.28, 1);
    }
    10% {
        transform: translateY(-28px) rotate(3deg) scale(0.97, 1.04);
        animation-timing-function: cubic-bezier(0.5, 0, 0.85, 0.55);
    }
    17% {
        transform: translateY(0) rotate(0deg) scale(1, 1);
        animation-timing-function: cubic-bezier(0.3, 0.6, 0.45, 1);
    }
    19.5% {
        transform: translateY(0) rotate(0deg) scale(1.06, 0.93);
        animation-timing-function: cubic-bezier(0.3, 1.1, 0.55, 1);
    }
    24% {
        transform: translateY(0) rotate(0deg) scale(0.99, 1.01);
        animation-timing-function: cubic-bezier(0.36, 0, 0.66, 1);
    }
    27% {
        transform: translateY(0) rotate(0deg) scale(1, 1);
        animation-timing-function: cubic-bezier(0.36, 0, 0.66, 1);
    }
    30% {
        transform: translateY(4px) rotate(3deg) scale(1.04, 0.93);
        animation-timing-function: cubic-bezier(0.12, 0.84, 0.28, 1);
    }
    37% {
        transform: translateY(-32px) rotate(-3deg) scale(0.97, 1.04);
        animation-timing-function: cubic-bezier(0.5, 0, 0.85, 0.55);
    }
    44% {
        transform: translateY(0) rotate(0deg) scale(1, 1);
        animation-timing-function: cubic-bezier(0.3, 0.6, 0.45, 1);
    }
    46.5% {
        transform: translateY(0) rotate(0deg) scale(1.06, 0.93);
        animation-timing-function: cubic-bezier(0.3, 1.1, 0.55, 1);
    }
    50% {
        transform: translateY(0) rotate(0deg) scale(0.99, 1.01);
        animation-timing-function: cubic-bezier(0.36, 0, 0.66, 1);
    }
    53% {
        transform: translateY(0) rotate(0deg) scale(1, 1);
        animation-timing-function: cubic-bezier(0.36, 0, 0.66, 1);
    }
    56% {
        transform: translateY(4px) rotate(0deg) scale(1.04, 0.93);
        animation-timing-function: cubic-bezier(0.12, 0.84, 0.28, 1);
    }
    63% {
        transform: translateY(-38px) rotate(190deg) scale(0.97, 1.04);
        animation-timing-function: cubic-bezier(0.5, 0, 0.85, 0.55);
    }
    70% {
        transform: translateY(0) rotate(345deg) scale(1, 1);
        animation-timing-function: cubic-bezier(0.3, 0.6, 0.45, 1);
    }
    72.5% {
        transform: translateY(0) rotate(360deg) scale(1.05, 0.94);
        animation-timing-function: cubic-bezier(0.3, 1.1, 0.55, 1);
    }
    76% {
        transform: translateY(0) rotate(360deg) scale(0.99, 1.01);
        animation-timing-function: cubic-bezier(0.36, 0, 0.66, 1);
    }
    79% {
        transform: translateY(0) rotate(360deg) scale(1, 1);
        animation-timing-function: cubic-bezier(0.36, 0, 0.66, 1);
    }
    82% {
        transform: translateY(4px) rotate(360deg) scale(1.04, 0.93);
        animation-timing-function: cubic-bezier(0.12, 0.84, 0.28, 1);
    }
    89% {
        transform: translateY(-38px) rotate(550deg) scale(0.97, 1.04);
        animation-timing-function: cubic-bezier(0.5, 0, 0.85, 0.55);
    }
    95% {
        transform: translateY(0) rotate(705deg) scale(1, 1);
        animation-timing-function: cubic-bezier(0.3, 0.6, 0.45, 1);
    }
    97.5%,
    100% {
        transform: translateY(0) rotate(720deg) scale(1, 1);
    }
}

@keyframes obHeartbeat {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    25% { transform: translate(-50%, -50%) scale(1.14); }
    45% { transform: translate(-50%, -50%) scale(1); }
    65% { transform: translate(-50%, -50%) scale(1.09); }
}

@keyframes obScanSweep {
    0%, 100% { top: 8px; opacity: 0.45; }
    50% { top: 52px; opacity: 1; }
}

@keyframes obGemSheen {
    0% { transform: translate3d(-170%, 0, 0) skewX(-26deg); opacity: 0.72; }
    18% { opacity: 1; }
    40%, 100% { transform: translate3d(220%, 0, 0) skewX(-26deg); opacity: 0; }
}

/* =========================================================
   7. 响应式适配
   ========================================================= */
@media (max-width: 960px) {
    .hero-grid {
        gap: 28px;
    }

    .feature-row {
        grid-template-columns: minmax(0, 1fr);
        gap: 36px;
    }

    .feature-row.is-reverse .feature-visual {
        order: 0;
    }

    .features-stack {
        gap: 64px;
    }
}

@media (max-width: 720px) {
    .container {
        padding: 0 20px;
    }

    .hero {
        padding: 104px 0 64px;
    }

    .hero-grid {
        gap: 18px;
    }

    .hero-title {
        font-size: clamp(24px, 6.2vw, 32px);
    }

    .hero-subtitle {
        font-size: 15px;
        margin-bottom: 22px;
    }

    .btn {
        height: 40px;
        padding: 0 16px;
        font-size: 13.5px;
    }

    .features-section {
        padding: 64px 0;
    }

    .download-section {
        padding: 56px 0 64px;
    }

    .header-right {
        gap: 14px;
    }

    .site-nav {
        gap: 14px;
    }

    .site-nav a {
        font-size: 13px;
    }

    .theme-toggle-label {
        display: none;
    }

    .logo-hop {
        height: 152px;
    }

    .logo-hop::before {
        width: 156px;
        height: 156px;
        bottom: -18px;
    }

    .logo-hop__icon {
        width: 108px;
        height: 108px;
        border-radius: 28px;
    }

    .logo-hop__icon svg {
        width: 64px;
        height: 55px;
    }
}

@media (max-width: 540px) {
    .brand-name,
    .crumb-sep {
        display: none;
    }

    .hero-grid {
        gap: 14px;
    }

    .hero-title {
        font-size: clamp(21px, 5.6vw, 28px);
    }

    .hero-actions {
        gap: 8px;
    }

    .btn {
        height: 38px;
        padding: 0 14px;
        font-size: 13px;
    }

    .logo-hop {
        height: 124px;
    }

    .logo-hop::before {
        width: 118px;
        height: 118px;
        bottom: -14px;
    }

    .logo-hop__icon {
        width: 84px;
        height: 84px;
        border-radius: 22px;
    }

    .logo-hop__icon svg {
        width: 50px;
        height: 43px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .logo-hop__icon,
    .ob-float-heart,
    .ob-qr-scan-beam,
    .ob-app-gem::after {
        animation: none;
    }

    .reveal {
        transition: none;
        opacity: 1;
        transform: none;
    }
}
