
        /* v3 - correct layout */
        /* ===== 基础重置与变量 ===== */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            -webkit-tap-highlight-color: transparent;
        }

        :root {
            /* 暖夜手账：暖炭底色（微琥珀调），像一册翻开的夜旅手账 */
            --bg-deep: #100e12;
            --bg-light: #17131a;
            --bg-mid: #1d1822;
            --warm-glow: rgba(224, 162, 60, 0.12);

            /* 玻璃卡片：暖白微填充，质感温润内敛 */
            --glass-bg: rgba(255, 247, 237, 0.05);
            --glass-bg-strong: rgba(255, 247, 237, 0.08);
            --glass-border: rgba(255, 236, 214, 0.10);
            --glass-border-subtle: rgba(255, 236, 214, 0.06);
            --glass-highlight: rgba(255, 236, 214, 0.055);
            --glass-shadow: 0 22px 60px rgba(0, 0, 0, 0.55);
            --glass-shadow-light: 0 14px 40px rgba(0, 0, 0, 0.42);
            --glass-shadow-strong: 0 30px 72px rgba(0, 0, 0, 0.62);
            --glass-blur: blur(20px) saturate(118%);

            /* 文本层级（暖白，更温润） */
            --text-primary: rgba(246, 240, 232, 0.92);
            --text-secondary: rgba(246, 240, 232, 0.62);
            --text-tertiary: rgba(246, 240, 232, 0.40);
            --text-disabled: rgba(246, 240, 232, 0.24);
            --accent: #f0e6d8;
            --accent-hover: #ffffff;
            --accent-light: rgba(255, 236, 214, 0.06);
            --accent-ink: #0e0f13; /* 强调色背景上的文字色（暗主题：浅底用深字） */

            /* 色彩系统：暖琥珀主色（手账点缀），青作辅、克制的紫留作语义 */
            --primary: #e0a23c;
            --primary-light: #f0c27a;
            --primary-glow: rgba(224, 162, 60, 0.24);
            --success: #38b6c4;
            --success-glow: rgba(56, 182, 196, 0.22);
            --danger: #e5738a;
            --warm-2: #d99a3c; /* 暖橙，渐变收尾 */

            /* 旧状态色兼容（保留用于其他视图，已降饱和统一） */
            --ring-travel: #5b8fd6;
            --ring-leave: #b3a9e0;
            --dot-reimbursed: #4cb89a;
            --dot-unreimbursed: #e0a05c;
            --dot-travel: #5b8fd6;
            --dot-mixed: #9aa1ad;
            --line-reimbursed: #4cb89a;
            --line-unreimbursed: #e0a05c;
            --line-leave: #b3a9e0;
            --bg-leave: rgba(179, 169, 224, 0.14);
            --bg-travel: rgba(91, 143, 214, 0.14);
            --danger-light: rgba(229, 115, 138, 0.14);

            /* 圆角放大：更圆润亲和（手账感） */
            --radius-sm: 14px;
            --radius-md: 20px;
            --radius-lg: 26px;
            --radius-xl: 34px;

            /* 投影层级：从微妙到强烈 */
            --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.18);
            --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.25);
            --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.32);
            --shadow-xl: 0 12px 32px rgba(0, 0, 0, 0.40);
            --shadow-primary: 0 4px 16px rgba(224, 162, 60, 0.25);

            /* 间距系统：8pt 标尺（4/8/12/16/20/24/32/40/48px） */
            --space-xs: 4px;
            --space-sm: 8px;
            --space-md: 12px;
            --space-lg: 16px;
            --space-xl: 20px;
            --space-2xl: 24px;
            --space-3xl: 32px;
            --space-4xl: 40px;
            --space-5xl: 48px;

            /* 字体：标题衬线（拉丁/数字），正文无衬线中文 */
            --font-display: 'Fraunces', 'Noto Sans SC', Georgia, serif;
            --font-body: 'Noto Sans SC', system-ui, -apple-system, sans-serif;
            --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
            --dur-fast: 0.18s;
            --dur-base: 0.3s;
        }

        /* ===== 白天模式（浅色玻璃主题）===== */
        html.theme-light {
            --bg-deep: #e3e8f0;
            --bg-light: #eef1f6;

            /* 玻璃卡片：浅底上用白玻璃 + 浅描边 */
            --glass-bg: rgba(255, 255, 255, 0.60);
            --glass-bg-strong: rgba(255, 255, 255, 0.78);
            --glass-border: rgba(20, 20, 40, 0.08);
            --glass-border-subtle: rgba(20, 20, 40, 0.05);
            --glass-shadow: 0 8px 32px rgba(20, 30, 60, 0.12);
            --glass-shadow-strong: 0 20px 48px rgba(20, 30, 60, 0.18);

            /* 文本：反相为深 */
            --text-primary: #1a1d27;
            --text-secondary: #5a6072;
            --text-tertiary: #6b7280;
            --accent: #1a1d27;
            --accent-hover: #000000;
            --accent-light: rgba(20, 20, 40, 0.06);
            --accent-ink: #ffffff; /* 浅色主题：深底用白字，确保第X程可读 */

            /* 状态色：暗底提亮 → 浅底略降饱和，保持可读 */
            --ring-travel: #5b8fd6;
            --ring-leave: #b3a9e0;
            --dot-reimbursed: #4cb89a;
            --dot-unreimbursed: #e0a05c;
            --dot-travel: #5b8fd6;
            --dot-mixed: #94a3b8;
            --danger: #e5738a;
            --danger-light: rgba(229, 115, 138, 0.12);
            --bg-leave: rgba(179, 169, 224, 0.14);
            --bg-travel: rgba(91, 143, 214, 0.14);
        }

        /* ===== 白天模式：hub 专属覆盖（避免几十处硬编码深色糊掉）===== */
        html.theme-light .hub-header-title,
        html.theme-light .hub-brand__title {
            background: linear-gradient(135deg, #1a1d27 0%, #5a6072 100%);
            -webkit-background-clip: text;
            background-clip: text;
        }
        html.theme-light .hub-brand__spark {
            filter: drop-shadow(0 0 6px rgba(224, 162, 60, 0.30));
        }
        /* 浅色模式下卡片图框星芒光晕同步软化，与顶栏星芒保持一致 */
        html.theme-light .hub-card-icon.travel .hub-card-icon__spark {
            filter: drop-shadow(0 0 4px rgba(224, 162, 60, 0.30));
        }
        html.theme-light .hub-card-icon.trip .hub-card-icon__spark {
            filter: drop-shadow(0 0 4px rgba(34, 211, 238, 0.30));
        }
        html.theme-light .hub-header-subtitle { color: #8a90a0; }
        html.theme-light .hub-header {
            background: color-mix(in srgb, #ffffff 72%, transparent);
            border-bottom-color: rgba(20,20,40,0.08);
        }
        html.theme-light .hub-header::after { opacity: 0; }
        html.theme-light .hub-search { color: #8a90a0; border-color: rgba(20,20,40,0.08); background: rgba(20,20,40,0.03); }
        html.theme-light .hub-mode-toggle { color: #5a6072; background: rgba(20,20,40,0.04); border-color: rgba(20,20,40,0.08); }
        html.theme-light .hub-mode-toggle:hover { background: rgba(20,20,40,0.07); }
        html.theme-light .hub-feature-card { background: rgba(255, 255, 255, 0.72); }
        html.theme-light .hub-feature-card .hub-card-title,
        html.theme-light .hub-stat-value { color: #1a1d27; }
        html.theme-light .hub-card-desc,
        html.theme-light .hub-stat-label { color: #6a7080; }
        html.theme-light .hub-stat-value {
            background: none;
            -webkit-background-clip: initial;
            background-clip: initial;
            -webkit-text-fill-color: #1a1d27;
        }
        html.theme-light .hub-stat-item:hover { background: rgba(20, 20, 40, 0.04); }
        html.theme-light .hub-tag {
            color: #5a6072; background: rgba(20,20,40,0.04); border-color: rgba(20,20,40,0.10);
        }
        html.theme-light .hub-tag.highlight {
            color: #7c3aed; background: rgba(124,58,237,0.10); border-color: rgba(124,58,237,0.18);
        }
        html.theme-light .hub-feature-card.trip .hub-tag.highlight {
            color: #0891b2; background: rgba(8,145,178,0.10); border-color: rgba(8,145,178,0.18);
        }
        html.theme-light .hub-footer-time .footer-time-text { color: #9aa0b0; }
        html.theme-light .hub-footer-time .footer-time-brand { color: #b0b6c0; }
        html.theme-light .hero-banner { background: rgba(255, 255, 255, 0.72); border-color: rgba(20, 20, 40, 0.08); }
        html.theme-light .hero-greeting-text { background: linear-gradient(120deg, #1a1d27, #b9742e); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
        html.theme-light .hero-stat { background: rgba(20,20,40,0.03); border-color: rgba(20,20,40,0.08); }
        html.theme-light .travel-card { background: rgba(255, 255, 255, 0.72); border-color: rgba(20, 20, 40, 0.08); }
        html.theme-light .travel-section { background: rgba(255, 255, 255, 0.72); border-color: rgba(20, 20, 40, 0.08); }
        html.theme-light .hub-stat-label { color: #6a7080; }
        html.theme-light .hub-card-icon.travel { background: rgba(157,92,255,0.14); }
        html.theme-light .hub-card-icon.trip { background: rgba(0,229,209,0.14); }

        /* ===== 通用组件（顶部/底部/弹窗/备份菜单）白天模式适配 ===== */
        html.theme-light .header {
            background: rgba(238, 241, 246, 0.72);
            border-bottom-color: rgba(20, 20, 40, 0.06);
        }
        html.theme-light .module-add-btn {
            color: #1a1d27;
            border-color: rgba(224, 162, 60, 0.30);
            background: rgba(224, 162, 60, 0.06);
        }
        html.theme-light .module-add-btn svg { color: #e0a23c; }
        html.theme-light .module-add-btn.trip-add {
            border-color: rgba(34, 211, 238, 0.30);
            background: rgba(34, 211, 238, 0.06);
        }
        html.theme-light .module-add-btn.trip-add svg { color: #06b6d4; }
        html.theme-light .hub-profile-menu {
            border-color: rgba(20, 20, 40, 0.10);
            box-shadow: 0 8px 28px rgba(20, 30, 60, 0.12), 0 2px 6px rgba(0, 0, 0, 0.06);
        }
        html.theme-light .hub-profile-menu::before {
            background: #f6f7f9;
        }
        html.theme-light .hub-profile-menu-head {
            border-bottom-color: rgba(20, 20, 40, 0.06);
        }
        html.theme-light .hub-profile-menu-name { color: #1a1d27; }
        html.theme-light .hub-profile-menu-sub { color: #6b7280; }
        html.theme-light .hub-profile-menu-item { color: #2d3140; }
        html.theme-light .hub-profile-menu-item:hover,
        html.theme-light .hub-profile-menu-item:active {
            background: rgba(20, 20, 40, 0.05); color: #111827;
        }
        html.theme-light .modal-overlay {
            background: rgba(180, 190, 210, 0.45);
        }
        html.theme-light .modal-sheet {
            background: rgba(238, 241, 246, 0.98);
            border-color: rgba(20, 20, 40, 0.06);
            box-shadow: 0 -8px 40px rgba(20, 30, 60, 0.12);
        }
        html.theme-light .form-input:focus,
        html.theme-light .form-select:focus,
        html.theme-light .form-textarea:focus,
        html.theme-light .date-input:focus {
            border-color: #e0a23c;
            box-shadow: 0 0 0 3px rgba(224, 162, 60, 0.18);
        }
        html.theme-light .form-input,
        html.theme-light .form-select,
        html.theme-light .form-textarea,
        html.theme-light .date-input {
            background: rgba(255, 255, 255, 0.65);
        }
        html.theme-light .date-range-info {
            background: rgba(20, 20, 40, 0.04);
        }
        html.theme-light .action-btn:hover {
            background: rgba(20, 20, 40, 0.05);
        }

        /* ===== P1-2: 补全浅色模式关键覆盖 ===== */
        html.theme-light body::after {
            background: radial-gradient(ellipse at 50% 40%, rgba(255, 255, 255, 0.30) 0%, transparent 60%);
        }
        /* 按钮：背景从半透明白改为浅灰 */
        html.theme-light .btn-secondary,
        html.theme-light .btn-tertiary,
        html.theme-light .action-btn,
        html.theme-light .record-action-btn,
        html.theme-light .stage-action-btn,
        html.theme-light .modal-close,
        html.theme-light .image-upload-btn,
        html.theme-light .switch-group,
        html.theme-light .module-tabs {
            background: rgba(20, 20, 40, 0.04);
            border-color: rgba(20, 20, 40, 0.08);
        }
        html.theme-light .btn-secondary:hover,
        html.theme-light .btn-tertiary:hover,
        html.theme-light .action-btn:hover,
        html.theme-light .record-action-btn:hover,
        html.theme-light .stage-action-btn:hover,
        html.theme-light .modal-close:hover,
        html.theme-light .image-upload-btn:hover {
            background: rgba(20, 20, 40, 0.08);
        }
        html.theme-light .btn-liquid-light {
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.90) 0%, rgba(255, 255, 255, 0.75) 100%);
            color: #1a1d27;
        }
        /* 搜索/筛选输入 */
        html.theme-light .search-input,
        html.theme-light .filter-select {
            background: rgba(255, 255, 255, 0.60);
            border-color: rgba(20, 20, 40, 0.08);
        }
        html.theme-light .search-input:focus {
            background: rgba(255, 255, 255, 0.85);
            border-color: #e0a23c;
        }
        /* hub 首页卡片交互态 */
        html.theme-light .hub-feature-card {
            border-color: rgba(20, 20, 40, 0.08);
        }
        html.theme-light .hub-feature-card::after { opacity: 0; }
        html.theme-light .hub-feature-card:hover {
            background: rgba(255, 255, 255, 0.85);
            border-color: rgba(20, 20, 40, 0.12);
        }
        html.theme-light .hub-feature-card:active {
            background: rgba(255, 255, 255, 0.70);
        }
        html.theme-light .hub-card-icon {
            background: rgba(20, 20, 40, 0.05);
            border-color: rgba(20, 20, 40, 0.08);
        }
        html.theme-light .hub-card-icon::before { opacity: 0; }
        /* hub 面板/���表 */
        html.theme-light .hub-panel {
            background: rgba(255, 255, 255, 0.60);
            border-color: rgba(20, 20, 40, 0.08);
        }
        html.theme-light .hub-ov-item {
            background: linear-gradient(145deg, rgba(224,162,60,0.06) 0%, rgba(224,162,60,0.02) 100%);
            border-color: rgba(224,162,60,0.14);
        }
        html.theme-light .hub-ov-val { color: #b9742e; }
        html.theme-light .hub-upcoming-item {
            background: rgba(255, 255, 255, 0.50);
            border-color: rgba(20, 20, 40, 0.06);
        }
        html.theme-light .hub-upcoming-item:hover {
            background: rgba(255, 255, 255, 0.75);
            border-color: rgba(20, 20, 40, 0.10);
        }
        html.theme-light .hub-stat-item {
            background: rgba(20, 20, 40, 0.03);
            border-color: rgba(20, 20, 40, 0.06);
        }
        html.theme-light .hub-tag:hover {
            background: rgba(20, 20, 40, 0.07);
            border-color: rgba(20, 20, 40, 0.12);
        }
        html.theme-light .hub-search:focus-within {
            background: rgba(255, 255, 255, 0.80);
        }
        /* 日期选择器 */
        html.theme-light .date-picker-month-btn,
        html.theme-light .date-picker-range-display,
        html.theme-light .date-picker-range-box,
        html.theme-light .date-picker-footer {
            background: rgba(20, 20, 40, 0.03);
            border-color: rgba(20, 20, 40, 0.06);
        }
        /* 同步区 */
        html.theme-light .sync-area {
            background: rgba(20, 20, 40, 0.03);
            border-color: rgba(20, 20, 40, 0.06);
        }
        /* 启动卡 */
        html.theme-light .launch-card:hover { background: rgba(255, 255, 255, 0.80); }
        html.theme-light .launch-card-icon { background: rgba(20, 20, 40, 0.06); }
        /* travel-card hover */
        html.theme-light .travel-card:hover { border-color: rgba(20, 20, 40, 0.14); }

        html, body {
            min-height: 100%;
        }
        html {
            background:
                radial-gradient(140% 100% at 50% -10%, rgba(224, 162, 60, 0.18), transparent 50%),
                radial-gradient(100% 60% at 50% 120%, rgba(109, 106, 224, 0.06), transparent 60%),
                radial-gradient(80% 50% at 50% 50%, rgba(224, 162, 60, 0.04), transparent 70%),
                var(--bg-deep);
        }

        body {
            font-family: var(--font-body);
            background: var(--bg-deep);
            color: var(--text-primary);
            min-height: 100vh;
            overflow-x: hidden;
            overflow-y: auto;
            position: relative;
            padding-bottom: 120px;
            -webkit-overflow-scrolling: touch;
            overscroll-behavior-y: contain;
            letter-spacing: 0.2px;
            contain: layout style;
        }

        /* 背景层：径向渐变遮罩，中心淡、边缘深，确保前景可读 */
        body::after {
            content: '';
            position: fixed;
            inset: 0;
            background: radial-gradient(ellipse at 50% 40%, rgba(255, 255, 255, 0.04) 0%, rgba(15, 17, 21, 0.30) 45%, rgba(15, 17, 21, 0.95) 100%);
            z-index: -2;
            pointer-events: none;
            transform: translateZ(0);
        }

        /* 噪点纹理：增加胶片质感 */
        body::before {
            content: '';
            position: fixed;
            inset: 0;
            background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
            background-repeat: repeat;
            background-size: 200px 200px;
            opacity: 0.05;
            mix-blend-mode: overlay;
            z-index: -1;
            pointer-events: none;
            transform: translateZ(0);
        }

        /* 背景光斑 - 柔和蓝紫氛围 */
        .bg-orb {
            position: fixed;
            border-radius: 50%;
            filter: blur(100px);
            z-index: -3;
            pointer-events: none;
            transform: translateZ(0);
            will-change: transform;
        }
        .bg-orb.blue {
            width: 400px;
            height: 400px;
            background: rgba(224, 162, 60, 0.18);
            top: -120px;
            right: -100px;
        }
        .bg-orb.purple {
            width: 500px;
            height: 500px;
            background: rgba(224, 162, 60, 0.14);
            bottom: -180px;
            left: -120px;
        }

        /* ===== 玻璃拟态基础组件 ===== */
        .glass {
            background: var(--glass-bg);
            backdrop-filter: blur(14px) saturate(170%);
            -webkit-backdrop-filter: blur(14px) saturate(170%);
            border: 1px solid var(--glass-border);
            box-shadow: var(--glass-shadow);
            /* 提升为独立合成层，滚动时不再重算模糊 */
            transform: translateZ(0);
            will-change: transform;
        }

        .glass-strong {
            background: var(--glass-bg-strong);
            backdrop-filter: blur(16px) saturate(180%);
            -webkit-backdrop-filter: blur(16px) saturate(180%);
            border: 1px solid var(--glass-border);
            box-shadow: var(--glass-shadow-strong);
            transform: translateZ(0);
            will-change: transform;
        }

        .glass-card {
            background: var(--glass-bg);
            backdrop-filter: blur(12px) saturate(120%);
            -webkit-backdrop-filter: blur(12px) saturate(120%);
            border: 1px solid var(--glass-border);
            border-radius: var(--radius-lg);
            box-shadow: 
                inset 0 1px 0 rgba(255,255,255,0.6),
                0 8px 32px rgba(15, 23, 42, 0.07);
            transition: transform 0.2s ease, box-shadow 0.2s ease;
            /* 常驻 will-change 反而耗资源；改为独立合成层，按交互时再提示 */
            transform: translateZ(0);
            backface-visibility: hidden;
            position: relative;
            overflow: hidden;
        }

        /* 顶部高光：让玻璃质感更"通透立体" */
        .glass-card::before {
            content: '';
            position: absolute;
            top: 0; left: 0; right: 0;
            height: 38%;
            background: linear-gradient(180deg, rgba(255,255,255,0.12), rgba(255,255,255,0));
            pointer-events: none;
            border-radius: var(--radius-lg) var(--radius-lg) 0 0;
        }

        .glass-card:active {
            will-change: transform;
            transform: scale(0.98);
            box-shadow: 
                inset 0 1px 0 rgba(255,255,255,0.4),
                0 4px 16px rgba(15, 23, 42, 0.05);
        }

        /* 液态按钮 */
        .btn-liquid {
            background: linear-gradient(135deg, #e0934a 0%, #e0a23c 100%);
            color: white;
            border: none;
            border-radius: 50px;
            padding: 14px 24px;
            font-size: 15px;
            font-weight: 600;
            cursor: pointer;
            box-shadow: 
                0 4px 16px rgba(17, 24, 39, 0.25),
                inset 0 1px 0 rgba(255,255,255,0.2);
            transition: all 0.2s ease;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
        }

        .btn-liquid:hover {
            box-shadow:
                0 6px 20px rgba(17, 24, 39, 0.3),
                inset 0 1px 0 rgba(255,255,255,0.25);
            transform: translateY(-2px);
        }

        .btn-liquid:active {
            transform: scale(0.97);
            box-shadow:
                0 2px 8px rgba(17, 24, 39, 0.2),
                inset 0 2px 4px rgba(0,0,0,0.2);
        }

        .btn-liquid-light {
            background: var(--glass-bg-strong);
            color: var(--text-primary);
            border: 1px solid var(--glass-border);
            box-shadow:
                0 4px 16px rgba(15, 23, 42, 0.07),
                inset 0 1px 0 var(--glass-highlight);
        }

        .btn-liquid-danger {
            background: linear-gradient(135deg, var(--danger) 0%, #dc2626 100%);
            box-shadow: 0 4px 16px rgba(239, 68, 68, 0.25);
        }

        .btn-liquid-sm {
            padding: 8px 16px;
            font-size: 13px;
            border-radius: 40px;
        }

        /* ===== 顶部标题栏 ===== */
        .header {
            position: sticky;
            top: 0;
            z-index: 100;
            padding: 16px;
            background: rgba(20, 22, 28, 0.72);
            backdrop-filter: blur(12px) saturate(150%);
            -webkit-backdrop-filter: blur(12px) saturate(150%);
            border-bottom: 1px solid var(--glass-border-subtle);
            /* 不加 transform：sticky 元素加 transform 会制造包含块，导致固定定位异常 */
            will-change: transform;
        }

        .header-content {
            display: flex;
            align-items: center;
            justify-content: space-between;
            max-width: 1200px;
            margin: 0 auto;
        }

        .header-left {
            display: flex;
            align-items: center;
            gap: 12px;
            min-width: 80px;
        }

        .header-center {
            text-align: center;
            flex: 1;
        }

        .header-title {
            font-size: 18px;
            font-weight: 700;
            color: var(--text-primary);
            letter-spacing: -0.3px;
        }

        .header-subtitle {
            font-size: 12px;
            color: var(--text-secondary);
            margin-top: 2px;
        }

        .header-date {
            text-align: right;
            font-size: 13px;
            color: var(--text-secondary);
            min-width: 80px;
        }

        .header-date .weekday {
            font-size: 11px;
            color: var(--text-tertiary);
        }

        .back-btn {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            border: 1px solid var(--glass-border);
            background: var(--glass-bg);
            color: var(--text-primary);
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            font-size: 18px;
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            transition: all 0.2s;
        }

        .back-btn:hover {
            background: var(--accent-light);
        }

        .sync-btn {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            border: 1px solid var(--glass-border);
            background: var(--glass-bg);
            color: var(--text-primary);
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            transition: all 0.2s;
        }

        .sync-btn:hover {
            background: var(--accent-light);
        }

        /* ===== 主容器 ===== */
        .main-container {
            max-width: 760px;
            margin: 0 auto;
            padding: var(--space-lg);
            transform: translateZ(0);
            /* 隔离内部布局/绘制，滚动时缩小重排影响范围 */
            contain: layout style;
        }

        /* ===== 模块切换标签 ===== */
        .module-tabs {
            display: flex;
            gap: 8px;
            margin-bottom: 16px;
            background: rgba(255,255,255,0.06);
            border: 1px solid var(--glass-border-subtle);
            border-radius: var(--radius-lg);
            padding: 5px;
        }
        .module-tab {
            flex: 1;
            text-align: center;
            padding: 11px 8px;
            border-radius: var(--radius-md);
            font-size: 14px;
            font-weight: 600;
            color: var(--text-secondary);
            cursor: pointer;
            transition: all 0.2s ease;
            user-select: none;
        }
        .module-tab.active {
            background: rgba(17, 24, 39, 0.9);
            color: #fff;
            box-shadow: 0 4px 14px rgba(17, 24, 39, 0.18);
        }

        .module-panel { display: block; }
        .module-panel.hidden { display: none; }

        /* ===== 旅行记录模块 ===== */
        .trip-card {
            background: var(--glass-bg);
            backdrop-filter: blur(12px) saturate(120%);
            -webkit-backdrop-filter: blur(12px) saturate(120%);
            border: 1px solid var(--glass-border);
            border-radius: var(--radius-lg);
            box-shadow: inset 0 1px 0 rgba(255,255,255,0.6), 0 8px 32px rgba(15,23,42,0.07);
            padding: 16px 18px;
            margin-bottom: 14px;
            cursor: pointer;
            transform: translateZ(0);
            backface-visibility: hidden;
            transition: transform 0.18s ease, box-shadow 0.18s ease;
            animation: fadeInUp var(--dur-base) var(--ease-out) both;
        }
        .trip-card:active { transform: scale(0.985); }
        .trip-card-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 8px;
        }
        .trip-card-title {
            font-size: 16px;
            font-weight: 700;
            color: var(--text-primary);
        }
        .trip-card-date {
            font-size: 13px;
            color: var(--text-secondary);
            margin-bottom: 6px;
        }
        .trip-card-meta {
            font-size: 12px;
            color: var(--text-secondary);
            display: flex;
            gap: 14px;
            flex-wrap: wrap;
        }
        .trip-card-meta b { color: var(--accent); font-weight: 700; }

        /* 阶段行程卡片 */
        .stage-card {
            background: var(--glass-bg);
            backdrop-filter: blur(10px) saturate(150%);
            -webkit-backdrop-filter: blur(10px) saturate(150%);
            border: 1px solid var(--glass-border-subtle);
            border-radius: var(--radius-md);
            padding: 14px 16px;
            margin-bottom: 12px;
            transform: translateZ(0);
            backface-visibility: hidden;
            animation: fadeInUp var(--dur-base) var(--ease-out) both;
        }
        .stage-date {
            font-size: 13px;
            font-weight: 700;
            color: var(--accent);
            margin-bottom: 6px;
        }
        .stage-leg {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-width: 22px;
            height: 22px;
            padding: 0 8px;
            border-radius: 11px;
            background: var(--accent);
            color: var(--accent-ink);
            font-size: 12px;
            font-weight: 700;
            line-height: 1; white-space: nowrap;
            margin-bottom: 8px;
        }
        .stage-card-head {
            display: flex;
            align-items: center;
            gap: 10px;
            flex-wrap: wrap;
        }
        .stage-card-head .stage-leg { margin-bottom: 0; }
        .stage-title {
            font-size: 15px;
            font-weight: 600;
            color: var(--text-primary);
            margin-bottom: 8px;
        }
        .stage-info-row {
            display: flex;
            gap: 8px;
            font-size: 13px;
            margin-bottom: 4px;
            line-height: 1.5;
        }
        .stage-info-label {
            color: var(--text-secondary);
            flex-shrink: 0;
            width: 42px;
        }
        .stage-info-value { color: var(--text-primary); }
        .stage-actions {
            display: flex;
            gap: 10px;
            margin-top: 10px;
            flex-wrap: wrap;
        }
        .stage-action-btn {
            font-size: 12px;
            padding: 6px 12px;
            border-radius: 20px;
            border: 1px solid var(--glass-border-subtle);
            background: rgba(255,255,255,0.08);
            color: var(--text-primary);
            cursor: pointer;
        }
        .stage-action-btn.delete { color: var(--danger); border-color: rgba(239,68,68,0.3); }

        /* 图片上传与缩略图 */
        .image-upload-row {
            display: flex;
            align-items: center;
            gap: 10px;
            flex-wrap: wrap;
            margin-top: 6px;
        }
        .image-upload-btn {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 9px 14px;
            border-radius: var(--radius-sm);
            border: 1px dashed var(--glass-border);
            background: rgba(255,255,255,0.08);
            color: var(--text-secondary);
            font-size: 13px;
            cursor: pointer;
        }
        .image-upload-btn:active { transform: scale(0.97); }
        .thumb-list {
            display: flex;
            gap: 8px;
            flex-wrap: wrap;
        }
        .thumb {
            position: relative;
            width: 58px;
            height: 58px;
            border-radius: 10px;
            overflow: hidden;
            border: 1px solid var(--glass-border-subtle);
            cursor: pointer;
            flex-shrink: 0;
        }
        .thumb img { width: 100%; height: 100%; object-fit: cover; }
        .thumb .thumb-del {
            position: absolute;
            top: -5px;
            right: -5px;
            width: 18px;
            height: 18px;
            border-radius: 50%;
            background: var(--danger);
            color: #fff;
            font-size: 12px;
            line-height: 18px;
            text-align: center;
            cursor: pointer;
        }
        .stage-thumb-row {
            display: flex;
            gap: 6px;
            margin-top: 8px;
            flex-wrap: wrap;
        }
        .stage-thumb-row .thumb { width: 46px; height: 46px; border-radius: 8px; }
        .album-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 8px;
            margin-top: 10px;
        }
        .album-grid img {
            width: 100%;
            aspect-ratio: 1;
            object-fit: cover;
            border-radius: 10px;
            cursor: pointer;
        }
        /* 阶段表单：住宿/出行栏内联照片按钮与缩略 */
        .field-with-photo {
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .field-with-photo .form-input { flex: 1; }
        /* 栏目常驻标题行（左标签 + 右图片按钮） */
        .field-label-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 6px;
        }
        .field-label-row .field-label-text {
            font-size: 14px;
            font-weight: 600;
            color: var(--text-primary);
        }
        .field-label-row .photo-add-btn {
            width: 34px;
            height: 34px;
            font-size: 15px;
        }
        .photo-add-btn {
            flex-shrink: 0;
            width: 42px;
            height: 42px;
            border: 1px solid var(--glass-border-subtle);
            border-radius: 12px;
            background: var(--glass-bg-strong);
            font-size: 18px;
            line-height: 1;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background .15s;
        }
        .photo-add-btn:active { background: rgba(17,24,39,.12); }
        /* 内联线性图标 */
        .ic {
            width: 1.05em;
            height: 1.05em;
            display: inline-block;
            vertical-align: -0.18em;
            flex-shrink: 0;
        }
        .photo-add-btn .ic { width: 18px; height: 18px; }
        .btn .ic { width: 16px; height: 16px; margin-right: 4px; vertical-align: -0.2em; }
        .section-title-sm .ic { width: 16px; height: 16px; margin-right: 4px; vertical-align: -0.18em; }
        .record-action-btn .ic { width: 14px; height: 14px; margin-right: 2px; vertical-align: -0.15em; }
        /* 图标按钮 hover 微反馈 */
        .photo-add-btn:hover .ic { animation: iconPop var(--dur-fast) var(--ease-out); }
        .btn:hover .ic { transform: translateY(-1px); transition: transform var(--dur-fast) var(--ease-out); }
        .inline-thumbs {
            display: flex;
            gap: 6px;
            flex-wrap: wrap;
            margin: -4px 0 10px;
        }
        .inline-thumbs .thumb { width: 44px; height: 44px; border-radius: 8px; }
        .stage-thumb-row-inline {
            display: flex;
            gap: 5px;
            margin-top: 6px;
            flex-wrap: wrap;
        }
        .stage-thumb-row-inline .thumb { width: 38px; height: 38px; border-radius: 7px; }
        /* 阶段费用输入行 */
        .price-row {
            display: flex;
            align-items: center;
            gap: 8px;
            margin: 2px 0 10px;
        }
        .price-label {
            font-size: 13px;
            color: var(--text-secondary);
            white-space: nowrap;
        }
        .price-yen {
            font-size: 14px;
            font-weight: 700;
            color: var(--text-primary);
        }
        .price-input {
            flex: 1;
            max-width: 140px;
            padding: 8px 10px;
            border: 1px solid var(--glass-border-subtle);
            border-radius: 10px;
            background: var(--glass-bg-strong);
            font-size: 14px;
            color: var(--text-primary);
            outline: none;
        }
        .price-input:focus { border-color: var(--accent); }
        /* 费用汇总小字 */
        .cost-inline { font-size: 13px; color: var(--text-secondary); margin-left: 6px; }
        .cost-inline b { color: var(--text-primary); }
        .trip-cost-summary {
            display: flex;
            gap: 14px;
            flex-wrap: wrap;
            margin: 10px 0 4px;
            padding: 10px 12px;
            border-radius: 12px;
            background: var(--glass-bg-strong);
            font-size: 13px;
            color: var(--text-secondary);
        }
        .trip-cost-summary .cost-item b { color: var(--text-primary); font-size: 15px; }
        .trip-cost-summary .cost-total { margin-left: auto; align-self: center; }
        .trip-cost-summary .cost-total b { color: var(--accent); font-size: 16px; }
        /* 备注图片行 */
        .note-photo-row {
            display: flex;
            align-items: center;
            gap: 8px;
            margin: -4px 0 2px;
        }
        .note-photo-btn {
            width: 38px;
            height: 38px;
            font-size: 16px;
        }
        .note-photo-hint {
            font-size: 13px;
            color: var(--text-secondary);
        }
        .detail-block {
            margin-bottom: 10px;
            padding: 10px 12px;
            border-radius: var(--radius-sm);
            background: var(--glass-bg-strong);
            border: 1px solid var(--glass-border-subtle);
        }
        .detail-block-label {
            font-size: 12px;
            color: var(--text-secondary);
            margin-bottom: 4px;
        }
        .detail-block-value {
            font-size: 15px;
            color: var(--text-primary);
            line-height: 1.6;
        }
        .detail-block-total {
            background: linear-gradient(135deg, rgba(239,68,68,0.10), rgba(239,68,68,0.04));
            border-color: rgba(239,68,68,0.25);
        }

        .section-subtitle {
            font-size: 14px;
            font-weight: 700;
            color: var(--text-primary);
            margin: 4px 0 12px;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }
        .section-subtitle .add-link {
            font-size: 13px;
            color: var(--accent);
            font-weight: 600;
            cursor: pointer;
        }

        /* ===== 汇总统计 ===== */
        .summary-section {
            margin-bottom: 20px;
        }

        .summary-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 10px;
        }

        /* 汇总卡片在较宽时多列展示（响应式网格，仍属同一卡片流） */
        @media (min-width: 768px) {
            .summary-grid {
                grid-template-columns: repeat(5, 1fr);
            }
        }

        .summary-card {
            padding: 16px 8px;
            text-align: center;
            border-radius: var(--radius-md);
        }

        .summary-card .value {
            font-family: var(--font-display);
            font-size: 24px;
            font-weight: 700;
            color: var(--text-primary);
            font-variant-numeric: tabular-nums;
            margin-bottom: 4px;
            letter-spacing: -0.5px;
        }

        .summary-card .label {
            font-size: 12px;
            color: var(--text-secondary);
            font-weight: 500;
        }

        .summary-card.clickable {
            cursor: pointer;
            transition: transform 0.15s ease, box-shadow 0.15s ease;
        }
        .summary-card.clickable:active {
            transform: scale(0.96);
        }
        .summary-card.clickable .label {
            color: var(--accent);
        }

        .stat-overview {
            padding: 18px 20px;
            margin-bottom: 14px;
            display: flex;
            flex-wrap: wrap;
            gap: 14px 24px;
        }
        .stat-overview .ov-item {
            display: flex;
            flex-direction: column;
            gap: 2px;
        }
        .stat-overview .ov-value {
            font-family: var(--font-display);
            font-size: 22px;
            font-weight: 700;
            color: var(--text-primary);
            font-variant-numeric: tabular-nums;
        }
        .stat-overview .ov-label {
            font-size: 12px;
            color: var(--text-secondary);
        }

        /* ===== 年份选择器 ===== */
        .year-bar {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 20px;
            padding: 8px;
            border-radius: var(--radius-xl);
            background: var(--glass-bg);
            backdrop-filter: blur(10px) saturate(120%);
            -webkit-backdrop-filter: blur(10px) saturate(120%);
            border: 1px solid var(--glass-border);
            box-shadow: var(--glass-shadow);
        }

        .year-control {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .year-btn {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            border: none;
            background: transparent;
            color: var(--text-primary);
            font-size: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.2s;
        }

        .year-btn:hover {
            background: var(--accent-light);
        }

        .year-btn:active {
            transform: scale(0.9);
        }

        .year-text {
            font-size: 22px;
            font-weight: 700;
            color: var(--text-primary);
            letter-spacing: -0.5px;
        }

        .year-stats {
            font-size: 13px;
            color: var(--text-secondary);
            font-weight: 500;
            padding-right: 12px;
        }

        /* ===== 主页月份网格 ===== */
        .months-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 12px;
            margin-bottom: 100px;
            padding-bottom: 20px;
        }

        @media (min-width: 640px) {
            .months-grid {
                grid-template-columns: repeat(3, 1fr);
            }
        }

        @media (min-width: 1024px) {
            .months-grid {
                grid-template-columns: repeat(4, 1fr);
            }
        }

        .month-card {
            padding: 16px;
            cursor: pointer;
            display: flex;
            flex-direction: column;
            min-height: 220px;
        }

        .month-card-header {
            font-family: var(--font-display);
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 12px;
        }

        .month-title {
            font-size: 18px;
            font-weight: 700;
            color: var(--text-primary);
        }

        .month-status-dot {
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background: #d1d5db;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }

        .month-status-dot.travel { background: var(--ring-travel); }
        .month-status-dot.leave { background: var(--ring-leave); }
        .month-status-dot.both { background: linear-gradient(135deg, var(--ring-travel) 50%, var(--ring-leave) 50%); }

        .month-weekdays {
            display: grid;
            grid-template-columns: repeat(7, 1fr);
            margin-bottom: 4px;
        }

        .month-weekday {
            text-align: center;
            font-size: 10px;
            color: var(--text-tertiary);
            font-weight: 500;
            padding: 2px 0;
        }

        .month-days {
            display: grid;
            grid-template-columns: repeat(7, 1fr);
            flex: 1;
            align-content: start;
        }

        .month-day {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            border-radius: 6px;
            font-size: 12px;
            color: var(--text-secondary);
            position: relative;
            transition: all 0.15s;
            padding: 4px 0 2px;
            min-height: 30px;
            line-height: 1;
            text-align: center;
        }

        .month-day.today {
            background: transparent;
            color: var(--text-primary);
            font-weight: 700;
            font-size: 13px;
            text-shadow:
                0 1px 2px rgba(22, 24, 30, 0.92),
                0 2px 5px rgba(17, 24, 39, 0.18),
                0 -1px 1px rgba(17, 24, 39, 0.06);
        }

        .month-day-dots {
            display: flex;
            gap: 2px;
            margin-top: 2px;
            height: 10px;
            align-items: center;
            justify-content: center;
        }

        .month-day-dot {
            width: 3px;
            height: 3px;
            border-radius: 50%;
        }

        .month-footer {
            margin-top: 8px;
            padding-top: 8px;
            border-top: 1px solid var(--glass-border-subtle);
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 12px;
            min-height: 24px;
        }

        .month-footer-info {
            color: var(--text-secondary);
            font-weight: 500;
        }

        .month-footer-amount {
            color: var(--text-primary);
            font-weight: 700;
            font-variant-numeric: tabular-nums;
        }

        /* ===== 日历标记：圆环 + 圆点 ===== */
        .day-markers {
            display: flex;
            gap: 2px;
            align-items: center;
            justify-content: center;
            height: 10px;
            margin-top: 1px;
        }

        .day-marker {
            width: 9px;
            height: 9px;
            border-radius: 50%;
            position: relative;
            border: 1.5px solid transparent;
            background: transparent;
            flex-shrink: 0;
        }

        .day-marker.travel {
            border-color: var(--ring-travel);
        }

        .day-marker.leave {
            border-color: var(--ring-leave);
        }

        .day-marker-dot {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 4px;
            height: 4px;
            border-radius: 50%;
        }

        .day-marker-dot.reimbursed { background: var(--dot-reimbursed); }
        .day-marker-dot.unreimbursed { background: var(--dot-unreimbursed); }
        .day-marker-dot.mixed { background: var(--dot-mixed); }
        .day-marker-dot.leave { background: var(--ring-leave); }

        /* 二级页标记稍大 */
        .detail-day .day-markers {
            height: 12px;
            margin-top: 2px;
        }

        .detail-day .day-marker {
            width: 11px;
            height: 11px;
            border-width: 2px;
        }

        .detail-day .day-marker-dot {
            width: 5px;
            height: 5px;
        }

        /* ===== 二级页面：月份详情 ===== */
        .view {
            display: none;
            animation: fadeIn 0.3s ease;
        }

        .view.active {
            display: block;
            width: 100%;
            overflow-x: hidden;
            contain: content;
        }

        #assistantView, #tripListView, #tripDetailView, #monthView, #statView {
            padding-bottom: 120px;
        }

        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(10px); }
            to { opacity: 1; transform: translateY(0); }
        }

        @keyframes fadeInUp {
            from { opacity: 0; transform: translateY(16px); }
            to { opacity: 1; transform: translateY(0); }
        }

        @keyframes iconPop {
            0% { transform: scale(0.9); }
            60% { transform: scale(1.06); }
            100% { transform: scale(1); }
        }

        .month-detail-calendar {
            padding: 20px;
            margin-bottom: 20px;
            border-radius: var(--radius-lg);
        }

        .detail-weekdays {
            display: grid;
            grid-template-columns: repeat(7, 1fr);
            gap: 4px;
            margin-bottom: 8px;
        }

        .detail-weekday {
            text-align: center;
            font-size: 13px;
            color: var(--text-tertiary);
            font-weight: 500;
            padding: 4px 0;
        }

        .detail-days {
            display: grid;
            grid-template-columns: repeat(7, 1fr);
            gap: 4px;
        }

        .detail-day {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            border-radius: var(--radius-md);
            font-size: 15px;
            color: var(--text-primary);
            cursor: pointer;
            transition: all 0.15s;
            position: relative;
            border: 1px solid transparent;
            padding: 8px 0 4px;
            min-height: 52px;
            line-height: 1;
            text-align: center;
        }

        .detail-day:hover {
            background: rgba(17, 24, 39, 0.04);
            border-color: rgba(17, 24, 39, 0.08);
        }

        .detail-day.other-month {
            color: var(--text-tertiary);
            opacity: 0.4;
        }

        .detail-day.today {
            background: transparent;
            color: var(--text-primary);
            font-weight: 700;
            font-size: 16px;
            text-shadow:
                0 1px 2px rgba(22, 24, 30, 0.92),
                0 2px 6px rgba(17, 24, 39, 0.18),
                0 -1px 1px rgba(17, 24, 39, 0.06);
        }

        .detail-day.selected {
            background: rgba(17, 24, 39, 0.06);
            border-color: var(--text-primary);
            font-weight: 700;
        }

        /* 图例 */
        .legend-bar {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 16px;
            margin-top: 16px;
            padding-top: 16px;
            border-top: 1px solid var(--glass-border-subtle);
        }

        .legend-item {
            display: flex;
            align-items: center;
            gap: 6px;
            font-size: 12px;
            color: var(--text-secondary);
        }

        .legend-ring {
            width: 11px;
            height: 11px;
            border-radius: 50%;
            border: 2px solid;
            position: relative;
        }

        .legend-ring-dot {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 4px;
            height: 4px;
            border-radius: 50%;
        }

        /* 筛选栏 */
        .filter-bar {
            display: flex;
            gap: 12px;
            margin-bottom: 20px;
            padding: 12px;
            border-radius: var(--radius-xl);
            background: var(--glass-bg);
            backdrop-filter: blur(10px) saturate(120%);
            -webkit-backdrop-filter: blur(10px) saturate(120%);
            border: 1px solid var(--glass-border);
            box-shadow: var(--glass-shadow);
        }

        .filter-select {
            flex: 0 0 auto;
            padding: 10px 14px;
            border-radius: var(--radius-sm);
            border: 1px solid var(--glass-border-subtle);
            background: rgba(255,255,255,0.08);
            color: var(--text-primary);
            font-size: 14px;
            font-family: inherit;
            cursor: pointer;
            outline: none;
        }

        .filter-select:focus {
            border-color: var(--text-primary);
        }

        .search-box {
            flex: 1;
            position: relative;
        }

        .search-input {
            width: 100%;
            padding: 10px 14px 10px 38px;
            border-radius: var(--radius-sm);
            border: 1px solid var(--glass-border-subtle);
            background: rgba(255,255,255,0.08);
            color: var(--text-primary);
            font-size: 14px;
            font-family: inherit;
            outline: none;
        }

        .search-input:focus {
            border-color: var(--text-primary);
            background: rgba(255,255,255,0.10);
        }

        .search-icon {
            position: absolute;
            left: 12px;
            top: 50%;
            transform: translateY(-50%);
            color: var(--text-tertiary);
        }

        .result-count {
            font-size: 13px;
            color: var(--text-secondary);
            align-self: center;
            white-space: nowrap;
        }

        /* 记录列表 */
        .records-section {
            margin-bottom: 20px;
        }

        .section-title {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 16px;
            font-weight: 700;
            color: var(--text-primary);
            margin-bottom: 12px;
            padding: 0 4px;
        }

        .record-card {
            padding: 16px;
            margin-bottom: 12px;
            border-radius: var(--radius-lg);
            cursor: pointer;
            position: relative;
            overflow: hidden;
        }

        .record-card::before {
            content: '';
            position: absolute;
            left: 0;
            top: 12px;
            bottom: 12px;
            width: 4px;
            border-radius: 0 4px 4px 0;
            background: rgba(17, 24, 39, 0.08);
        }

        .record-card.reimbursed::before {
            background: var(--line-reimbursed);
            opacity: 0.6;
        }

        .record-card.leave::before {
            background: var(--line-leave);
            opacity: 0.6;
        }

        .record-card-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            margin-bottom: 8px;
        }

        .record-person {
            font-size: 18px;
            font-weight: 700;
            color: var(--text-primary);
        }

        .record-status {
            font-size: 12px;
            font-weight: 600;
            padding: 4px 10px;
            border-radius: 20px;
            background: var(--bg-travel);
            color: var(--text-primary);
        }

        .record-status.reimbursed {
            background: rgba(134, 239, 172, 0.2);
            color: #166534;
        }

        .record-status.unreimbursed {
            background: rgba(253, 186, 116, 0.2);
            color: #9a3412;
        }

        .record-status.leave {
            background: var(--bg-leave);
            color: #5b21b6;
        }

        .record-date {
            font-size: 13px;
            color: var(--text-secondary);
            margin-bottom: 10px;
        }

        .record-info {
            display: flex;
            flex-direction: column;
            gap: 6px;
            font-size: 14px;
            color: var(--text-secondary);
            margin-bottom: 12px;
        }

        .record-info-row {
            display: flex;
            align-items: flex-start;
            gap: 8px;
        }

        .record-info-label {
            color: var(--text-tertiary);
            flex-shrink: 0;
            min-width: 40px;
        }

        .record-info-value {
            color: var(--text-primary);
            flex: 1;
        }

        .record-amount {
            font-size: 20px;
            font-weight: 700;
            color: var(--text-primary);
            font-variant-numeric: tabular-nums;
            margin-bottom: 12px;
        }

        .record-actions {
            display: flex;
            gap: 8px;
            padding-top: 12px;
            border-top: 1px solid var(--glass-border-subtle);
        }

        .record-action-btn {
            flex: 1;
            padding: 10px;
            border-radius: var(--radius-sm);
            border: 1px solid var(--glass-border-subtle);
            background: rgba(255,255,255,0.08);
            color: var(--text-primary);
            font-size: 13px;
            font-weight: 600;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 4px;
            transition: all 0.15s;
        }

        .record-action-btn:hover {
            background: rgba(255,255,255,0.10);
        }

        .record-action-btn.delete {
            background: var(--danger-light);
            color: var(--danger);
            border-color: rgba(239, 68, 68, 0.2);
        }

        .record-action-btn.delete:hover {
            background: rgba(239, 68, 68, 0.15);
        }

        /* 空状态 */
        .empty-state {
            text-align: center;
            padding: 40px 20px;
            color: var(--text-secondary);
        }

        .empty-state svg {
            width: 48px;
            height: 48px;
            margin-bottom: 12px;
            opacity: 0.4;
        }

        /* ===== 底部导航与浮动按钮 ===== */






        /* ===== 模块内新增按钮（日历上方，替代底部导航栏的 + 按钮）===== */
        .module-add-btn {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            width: 100%;
            padding: 12px 20px;
            margin: -8px 0 4px 0;
            border-radius: 16px;
            border: 1.5px solid rgba(224, 162, 60, 0.25);
            background:
                linear-gradient(135deg, rgba(224,162,60,0.10) 0%, rgba(224,162,60,0.08) 100%);
            color: var(--text-primary, #e2e5eb);
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.25s ease;
            backdrop-filter: none;
            -webkit-backdrop-filter: none;
        }
        .module-add-btn svg { color: #8b9bff; }
        .module-add-btn:hover {
            background:
                linear-gradient(135deg, rgba(224,162,60,0.18) 0%, rgba(224,162,60,0.14) 100%);
            border-color: rgba(224, 162, 60, 0.40);
            transform: translateY(-1px);
            box-shadow: 0 6px 22px rgba(224,162,60,0.15);
        }
        .module-add-btn:active {
            transform: translateY(1px) scale(0.97);
        }
        /* 旅行模块新增按钮（青色系） */
        .module-add-btn.trip-add {
            border-color: rgba(34, 211, 238, 0.25);
            background:
                linear-gradient(135deg, rgba(34,211,238,0.10) 0%, rgba(59,130,246,0.08) 100%);
        }
        .module-add-btn.trip-add svg { color: #7dd3fc; }
        .module-add-btn.trip-add:hover {
            background:
                linear-gradient(135deg, rgba(34,211,238,0.18) 0%, rgba(59,130,246,0.14) 100%);
            border-color: rgba(34, 211, 238, 0.40);
            box-shadow: 0 6px 22px rgba(34,211,238,0.15);
        }

        /* ===== 数据备份模块 ===== */
        .backup-intro {
            background: #14161c;
            border: 1px solid rgba(255, 255, 255, 0.08);
            border-radius: 16px;
            padding: 16px 18px;
            margin-bottom: 18px;
        }
        .backup-intro-title { font-size: 15px; font-weight: 700; color: #e8eaed; margin-bottom: 6px; }
        .backup-intro-desc { font-size: 13px; line-height: 1.6; color: #9aa1ad; }
        .backup-block { margin-bottom: 16px; }
        .backup-block-title { font-size: 13px; font-weight: 600; color: #c7ccd6; margin-bottom: 10px; }
        .backup-block-title.danger { color: #f4a3a3; }
        .backup-card {
            background: #171a22;
            border: 1px solid rgba(255, 255, 255, 0.08);
            border-radius: 16px;
            padding: 16px 18px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 14px;
        }
        .backup-card-plain { flex-direction: column; align-items: stretch; gap: 14px; }
        .backup-card-info { flex: 1; min-width: 0; }
        .backup-card-name { font-size: 15px; font-weight: 600; color: #e8eaed; margin-bottom: 4px; }
        .backup-card-desc { font-size: 12px; line-height: 1.55; color: #9aa1ad; }
        .backup-go { flex-shrink: 0; white-space: nowrap; }
        .backup-file-actions { display: flex; gap: 10px; }
        .backup-file-actions .btn { flex: 1; }

        html.theme-light .backup-intro {
            background: #ffffff;
            border-color: rgba(20, 20, 40, 0.08);
            box-shadow: 0 4px 16px rgba(20, 30, 60, 0.05);
        }
        html.theme-light .backup-intro-title { color: #1a1d27; }
        html.theme-light .backup-intro-desc { color: #6b7280; }
        html.theme-light .backup-block-title { color: #374151; }
        html.theme-light .backup-block-title.danger { color: #dc2626; }
        html.theme-light .backup-card {
            background: #ffffff;
            border-color: rgba(20, 20, 40, 0.08);
            box-shadow: 0 4px 16px rgba(20, 30, 60, 0.05);
        }
        html.theme-light .backup-card-name { color: #1a1d27; }
        html.theme-light .backup-card-desc { color: #6b7280; }

        /* ===== 弹窗/Sheet ===== */
        .modal-overlay {
            position: fixed;
            inset: 0;
            background: rgba(8, 9, 12, 0.55);
            backdrop-filter: blur(4px);
            -webkit-backdrop-filter: blur(4px);
            z-index: 2000;
            display: flex;
            align-items: flex-end;
            justify-content: center;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.25s, visibility 0.25s;
        }

        .modal-overlay.active {
            opacity: 1;
            visibility: visible;
        }

        /* 日期选择器需覆盖在其它弹窗（旅行/阶段表单）之上 */
        #datePickerModal { z-index: 2500; }

        .modal-sheet {
            background: rgba(22, 24, 30, 0.98);
            backdrop-filter: blur(24px) saturate(200%);
            -webkit-backdrop-filter: blur(24px) saturate(200%);
            width: 100%;
            max-width: 600px;
            max-height: 88vh;
            border-radius: var(--radius-xl) var(--radius-xl) 0 0;
            border: 1px solid var(--glass-border);
            border-bottom: none;
            transform: translateY(100%);
            transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
            overflow: hidden;
            display: flex;
            flex-direction: column;
            box-shadow: 0 -8px 40px rgba(15, 23, 42, 0.15);
        }

        .modal-overlay.active .modal-sheet {
            transform: translateY(0);
        }

        /* 图片预览：左右切换导航 */
        .img-preview-stage {
            position: relative;
            display: flex; align-items: center; justify-content: center;
            max-width: 94vw; max-height: 88vh;
        }
        #imagePreviewImg {
            -webkit-user-select: none; user-select: none;
            -webkit-touch-callout: none;
            touch-action: pan-y;
        }
        .img-nav-btn {
            position: absolute; top: 50%; transform: translateY(-50%);
            width: 40px; height: 40px; border-radius: 50%;
            border: none; cursor: pointer;
            background: rgba(0, 0, 0, 0.45); color: #fff;
            font-size: 26px; line-height: 1; font-weight: 300;
            display: flex; align-items: center; justify-content: center;
            z-index: 3; transition: background 0.2s;
        }
        .img-nav-btn:hover { background: rgba(0, 0, 0, 0.65); }
        .img-prev-btn { left: 6px; }
        .img-next-btn { right: 6px; }
        .img-preview-counter {
            position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%);
            background: rgba(0, 0, 0, 0.5); color: #fff; font-size: 13px;
            padding: 3px 12px; border-radius: 14px; z-index: 3;
            pointer-events: none; white-space: nowrap;
        }

        .modal-header {
            padding: 20px;
            border-bottom: 1px solid var(--glass-border-subtle);
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .modal-title {
            font-size: 18px;
            font-weight: 700;
            color: var(--text-primary);
        }

        .modal-close {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            border: 1px solid var(--glass-border-subtle);
            background: rgba(255,255,255,0.08);
            color: var(--text-secondary);
            font-size: 18px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.2s;
        }

        .modal-close:hover {
            background: var(--accent-light);
            color: var(--text-primary);
        }

        .modal-body {
            padding: 20px;
            overflow-y: auto;
            flex: 1;
        }

        .form-group {
            margin-bottom: 18px;
        }

        .form-label {
            display: block;
            font-size: 14px;
            font-weight: 600;
            margin-bottom: 8px;
            color: var(--text-primary);
        }

        .form-input,
        .form-select,
        .form-textarea,
        .date-input {
            width: 100%;
            padding: var(--space-lg) var(--space-lg);
            border: 1px solid var(--glass-border-subtle);
            border-radius: var(--radius-sm);
            font-size: 15px;
            font-family: inherit;
            background: var(--glass-bg-strong);
            color: var(--text-primary);
            outline: none;
            transition: border-color 0.2s, box-shadow 0.2s;
        }

        .form-input:focus,
        .form-select:focus,
        .form-textarea:focus,
        .date-input:focus {
            border-color: var(--primary);
            box-shadow: 0 0 0 3px var(--primary-glow);
        }

        .date-input {
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: space-between;
            user-select: none;
        }

        .date-input svg {
            width: 18px;
            height: 18px;
            color: var(--text-secondary);
            flex-shrink: 0;
        }

        .date-input-row {
            display: flex;
            align-items: center;
            gap: 10px;
            width: 100%;
        }
        .date-input-row .date-input {
            flex: 1;
            padding: 12px 14px;
        }
        .date-input-sep { color: var(--text-secondary); font-size: 15px; }
        .date-input-label { color: var(--text-secondary); font-size: 13px; }
        .date-input-value { color: var(--text-primary); font-weight: 600; font-size: 14px; }

        .form-textarea {
            min-height: 90px;
            resize: vertical;
        }

        .form-row {
            display: grid;
            grid-template-columns: 1fr;
            gap: 12px;
        }
        .form-row.two-col {
            grid-template-columns: 1fr 1fr;
        }

        .date-range-info {
            text-align: center;
            font-size: 13px;
            color: var(--text-secondary);
            padding: 8px;
            background: rgba(17, 24, 39, 0.04);
            border-radius: var(--radius-sm);
            margin-top: -8px;
            margin-bottom: 12px;
            font-weight: 500;
        }

        .switch-group {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 14px 16px;
            border: 1px solid var(--glass-border-subtle);
            border-radius: var(--radius-sm);
            background: rgba(255,255,255,0.08);
        }

        .switch-label {
            font-size: 14px;
            font-weight: 600;
            color: var(--text-primary);
        }

        .switch {
            position: relative;
            width: 52px;
            height: 30px;
        }

        .switch input {
            opacity: 0;
            width: 0;
            height: 0;
        }

        .slider {
            position: absolute;
            cursor: pointer;
            inset: 0;
            background: #d1d5db;
            border-radius: 30px;
            transition: 0.3s;
            box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
        }

        .slider:before {
            content: "";
            position: absolute;
            height: 24px;
            width: 24px;
            left: 3px;
            bottom: 3px;
            background: white;
            border-radius: 50%;
            transition: 0.3s;
            box-shadow: 0 2px 4px rgba(0,0,0,0.15);
        }

        .switch input:checked + .slider {
            background: var(--text-primary);
        }

        .switch input:checked + .slider:before {
            transform: translateX(22px);
        }

        .modal-footer {
            padding: var(--space-lg) var(--space-xl) var(--space-2xl);
            border-top: 1px solid var(--glass-border-subtle);
            display: flex;
            gap: var(--space-md);
        }

        .btn {
            flex: 1;
            padding: var(--space-lg);
            border-radius: 50px;
            border: none;
            font-size: 15px;
            font-weight: 600;
            cursor: pointer;
            transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out), background var(--dur-fast);
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
        }

        .btn:hover {
            transform: translateY(-2px);
            box-shadow: var(--shadow-lg);
        }

        .btn:active {
            transform: scale(0.97);
        }

        .btn-primary {
            background: linear-gradient(135deg, #e0934a 0%, #e0a23c 100%);
            color: white;
            box-shadow: var(--shadow-primary);
        }

        .btn-secondary {
            background: var(--glass-bg-strong);
            color: var(--text-primary);
            border: 1px solid var(--glass-border-subtle);
        }

        .btn-danger {
            background: linear-gradient(135deg, var(--danger) 0%, #dc2626 100%);
            color: white;
        }

        .btn-tertiary {
            background: var(--glass-bg);
            color: var(--text-secondary);
            font-size: 13px;
            padding: 8px 14px;
        }

        /* Action Sheet */
        .action-list {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        .action-btn {
            width: 100%;
            padding: 18px;
            border-radius: var(--radius-md);
            border: 1px solid var(--glass-border-subtle);
            background: rgba(255,255,255,0.08);
            font-size: 15px;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 14px;
            cursor: pointer;
            color: var(--text-primary);
            transition: all 0.15s;
        }

        .action-btn:hover {
            background: rgba(22, 24, 30, 0.92);
            transform: translateX(4px);
        }

        .action-btn:active {
            transform: scale(0.98);
        }

        .action-icon {
            width: 44px;
            height: 44px;
            border-radius: var(--radius-sm);
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 2px 8px rgba(0,0,0,0.06);
        }

        .action-icon.travel { background: var(--bg-travel); color: #1e40af; }
        .action-icon.leave { background: var(--bg-leave); color: #5b21b6; }
        .action-icon.view { background: rgba(17, 24, 39, 0.06); color: var(--text-primary); }

        /* ===== 日期区间选择器 ===== */
        .date-picker-sheet {
            max-height: 92vh;
        }

        .date-picker-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 20px 20px 12px;
            border-bottom: 1px solid var(--glass-border-subtle);
        }

        .date-picker-title {
            font-size: 18px;
            font-weight: 700;
        }

        .date-picker-month-control {
            display: flex;
            align-items: center;
            gap: 16px;
        }

        .date-picker-month-btn {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            border: 1px solid var(--glass-border-subtle);
            background: rgba(255,255,255,0.08);
            color: var(--text-primary);
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            font-size: 16px;
            transition: all 0.2s;
        }

        .date-picker-month-btn:hover {
            background: var(--accent-light);
        }

        .date-picker-month-text {
            font-size: 16px;
            font-weight: 600;
            min-width: 100px;
            text-align: center;
        }

        .date-picker-range-display {
            display: flex;
            gap: 12px;
            padding: 16px 20px;
            border-bottom: 1px solid var(--glass-border-subtle);
            background: rgba(255,255,255,0.07);
        }

        .date-picker-range-box {
            flex: 1;
            padding: 12px 16px;
            border-radius: var(--radius-sm);
            border: 1px solid var(--glass-border-subtle);
            background: rgba(255,255,255,0.08);
            text-align: center;
        }

        .date-picker-range-box.active {
            border-color: var(--text-primary);
            background: rgba(17, 24, 39, 0.06);
        }

        .date-picker-range-label {
            font-size: 12px;
            color: var(--text-tertiary);
            margin-bottom: 4px;
        }

        .date-picker-range-value {
            font-size: 15px;
            font-weight: 600;
            color: var(--text-primary);
        }

        .date-picker-range-box.empty .date-picker-range-value {
            color: var(--text-tertiary);
        }

        .date-picker-calendar {
            padding: 16px 20px;
        }

        .date-picker-weekdays {
            display: grid;
            grid-template-columns: repeat(7, 1fr);
            gap: 4px;
            margin-bottom: 8px;
        }

        .date-picker-weekday {
            text-align: center;
            font-size: 13px;
            color: var(--text-tertiary);
            font-weight: 500;
            padding: 4px 0;
        }

        .date-picker-days {
            display: grid;
            grid-template-columns: repeat(7, 1fr);
            gap: 4px;
        }

        .date-picker-day {
            aspect-ratio: 1;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            font-size: 15px;
            color: var(--text-primary);
            cursor: pointer;
            transition: all 0.15s;
            position: relative;
            border: 1px solid transparent;
            background: transparent;
        }

        .date-picker-day:hover {
            background: rgba(17, 24, 39, 0.04);
        }

        .date-picker-day.other-month {
            color: var(--text-tertiary);
            opacity: 0.4;
        }

        .date-picker-day.in-range {
            background: rgba(17, 24, 39, 0.06);
            border-radius: 50%;
        }

        .date-picker-day.start-date,
        .date-picker-day.end-date {
            background: var(--text-primary);
            color: white;
            border-color: var(--text-primary);
            font-weight: 700;
            box-shadow: 0 4px 12px rgba(17, 24, 39, 0.2);
        }

        .date-picker-footer {
            padding: 16px 20px 24px;
            border-top: 1px solid var(--glass-border-subtle);
            display: flex;
            gap: 10px;
            background: rgba(255,255,255,0.07);
        }

        .date-picker-hint {
            text-align: center;
            font-size: 13px;
            color: var(--text-secondary);
            padding: 8px 20px 0;
        }

        /* Day records in modal */
        .record-list {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        /* Sync Modal */
        .sync-text {
            font-size: 14px;
            color: var(--text-secondary);
            line-height: 1.6;
            margin-bottom: 16px;
        }

        .sync-area {
            background: rgba(255,255,255,0.08);
            border-radius: var(--radius-sm);
            padding: 14px;
            font-size: 13px;
            word-break: break-all;
            color: var(--text-secondary);
            max-height: 120px;
            overflow-y: auto;
            margin-bottom: 16px;
            border: 1px solid var(--glass-border-subtle);
            font-family: monospace;
        }

        .divider {
            height: 1px;
            background: var(--glass-border-subtle);
            margin: 24px 0;
        }

        .section-title-sm {
            font-size: 15px;
            font-weight: 700;
            margin-bottom: 10px;
            color: var(--text-primary);
        }

        /* Toast */
        .toast {
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%) scale(0.9);
            background: rgba(17, 24, 39, 0.88);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            color: white;
            padding: 14px 24px;
            border-radius: 50px;
            font-size: 14px;
            z-index: 3000;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.2s, visibility 0.2s, transform 0.2s;
            white-space: nowrap;
            box-shadow: 0 8px 24px rgba(0,0,0,0.2);
        }

        .toast.active {
            opacity: 1;
            visibility: visible;
            transform: translate(-50%, -50%) scale(1);
        }

        .hidden { display: none !important; }

        /* 响应式优化 */
        @media (max-width: 380px) {
            .months-grid { gap: 8px; }
            .month-card { padding: 12px; min-height: 200px; }
            .month-title { font-size: 16px; }
            .summary-grid { gap: 6px; }
            .summary-card { padding: 12px 4px; }
            .summary-card .value { font-size: 20px; }
            .filter-bar { flex-wrap: wrap; }
            .filter-select { flex: 1 1 100%; }
            .search-box { flex: 1 1 100%; }
            .result-count { width: 100%; text-align: center; }
        }

        /* 统一移动端布局：主容器在所有宽度居中收窄，不再按桌面撑满 */
        @media (orientation: landscape) and (max-height: 600px) {
            .header { padding: 10px 16px; }
            .summary-card { padding: 8px 6px; }
            .summary-card .value { font-size: 18px; }
            .month-card { min-height: 160px; }
        }

        @media (max-height: 600px) {
            .summary-card { padding: 12px 6px; }
            .summary-card .value { font-size: 20px; }
        }

        /* ===== 中控启动页 ===== */
        #launchView {
            padding-bottom: 120px;
            min-height: 100vh;
        }
        #launchView.view.active {
            display: block;
        }
        .launch-inner {
            width: 100%;
            max-width: 720px;
            margin: 0 auto;
            padding: 48px 20px 60px;
            display: flex;
            flex-direction: column;
            gap: 36px;
            min-height: calc(100vh - 120px);
            justify-content: center;
        }
        .launch-hero { text-align: center; }
        .launch-greeting { font-family: var(--font-display); font-size: 30px; font-weight: 700; color: var(--text-primary); letter-spacing: -0.5px; }
        .launch-date { font-size: 14px; color: var(--text-secondary); margin-top: 8px; }
        .launch-brand { font-size: 12px; color: var(--text-tertiary); margin-top: 16px; letter-spacing: 4px; }

        .launch-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
        .launch-card {
            position: relative; overflow: hidden;
            display: flex; flex-direction: column; gap: 10px;
            padding: 30px 22px; border-radius: var(--radius-xl);
            background: var(--glass-bg); border: 1px solid var(--glass-border);
            backdrop-filter: blur(18px) saturate(120%); -webkit-backdrop-filter: blur(18px) saturate(120%);
            box-shadow: var(--glass-shadow); cursor: pointer; color: var(--text-primary);
            text-align: left; animation: fadeInUp var(--dur-base) var(--ease-out) both;
            transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), background 0.25s var(--ease-out);
        }
        .launch-card:nth-child(2) { animation-delay: 0.08s; }
        .launch-card:hover {
            transform: translateY(-6px);
            box-shadow: var(--glass-shadow-strong);
            background: rgba(255,255,255,0.10);
        }
        .launch-card:active { transform: scale(0.97); }
        /* 氛围光晕：由卡片状态色驱动的模糊光 */
        .launch-card::before {
            content: ''; position: absolute; width: 200px; height: 200px;
            top: -70px; right: -60px;
            background: var(--c); filter: blur(70px); opacity: 0.4; border-radius: 50%; pointer-events: none;
        }
        .launch-card-icon {
            width: 58px; height: 58px; border-radius: 18px;
            display: flex; align-items: center; justify-content: center;
            background: rgba(255,255,255,0.10);
            border: 1px solid var(--glass-border);
            color: var(--c);
        }
        .launch-card-icon svg { width: 30px; height: 30px; }
        .launch-card-title { font-size: 20px; font-weight: 700; margin-top: 4px; }
        .launch-card-desc { font-size: 13px; color: var(--text-secondary); }
        .launch-footer { text-align: center; color: var(--text-tertiary); font-size: 13px; }
        .launch-link { color: var(--text-secondary); cursor: pointer; transition: color 0.2s; }
        .launch-link:active { color: var(--text-primary); }
        .launch-dot { margin: 0 10px; }

        /* ===== 新启动页样式（与参考图一致） ===== */
        .hub-layout {
            display: flex;
            min-height: 100vh;
            background: transparent;
            width: 100%;
            overflow-x: hidden;
        }
        .hub-main {
            margin-left: 0;
            flex: 1;
            display: flex;
            flex-direction: column;
            width: 100%;
            overflow-x: hidden;
        }
        .hub-header {
            position: sticky;
            top: 0;
            z-index: 40;
            padding: 14px 40px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            background: color-mix(in srgb, var(--bg-deep, #0b0d14) 72%, transparent);
            backdrop-filter: blur(16px) saturate(150%);
            -webkit-backdrop-filter: blur(16px) saturate(150%);
            border-bottom: 1px solid rgba(255, 255, 255, 0.06);
            transition: border-color 0.3s ease, background 0.3s ease;
        }
        .hub-header-title {
            font-family: var(--font-display);
            font-optical-sizing: auto;
            font-size: 34px;
            font-weight: 800;
            letter-spacing: 0.5px;
            background: linear-gradient(135deg, #fff6ea 0%, #f0c27a 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }
        /* 品牌标：拾光星芒 + 标题（适配海报复主题，平缓旋转） */
        .hub-brand {
            display: flex;
            align-items: center;
            gap: 12px;
        }
        .hub-brand__spark {
            width: 34px; height: 34px; flex: none;
            fill: var(--primary);
            transform-origin: 50% 50%;
            filter: drop-shadow(0 0 8px rgba(224, 162, 60, 0.45));
            animation: brandSparkSpin 16s linear infinite, brandSparkGlow 8s ease-in-out infinite;
            will-change: transform;
        }
        @keyframes brandSparkSpin { to { transform: rotate(360deg); } }
        @keyframes brandSparkGlow {
            0%, 100% { filter: drop-shadow(0 0 6px rgba(224, 162, 60, 0.40)); }
            50%      { filter: drop-shadow(0 0 14px rgba(224, 162, 60, 0.70)); }
        }
        @keyframes sparkBreath {
            0%, 100% { opacity: 1; }
            50%      { opacity: 0.78; }
        }
        .hub-brand__title {
            font-family: var(--font-display);
            font-optical-sizing: auto;
            font-size: 30px;
            font-weight: 800;
            letter-spacing: 0.5px;
            line-height: 1.12;
            background: linear-gradient(135deg, #fff6ea 0%, #f0c27a 100%);
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
        }
        @media (prefers-reduced-motion: reduce) {
            .hub-brand__spark { animation: none; }
        }
        .hub-header-subtitle {
            font-size: 13px;
            color: var(--text-tertiary);
            font-weight: 500;
            letter-spacing: 0.5px;
            margin-top: 2px;
        }
        .hub-header-right {
            display: flex;
            align-items: center;
            gap: 16px;
        }
        .hub-search {
            width: 260px;
            height: 42px;
            background: rgba(255, 255, 255, 0.05);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.08);
            border-radius: 12px;
            display: flex;
            align-items: center;
            padding: 0 16px;
            gap: 10px;
            color: var(--text-tertiary);
            font-size: 13px;
            transition: all 0.3s var(--ease-out);
        }
        .hub-search:focus-within {
            background: rgba(255, 255, 255, 0.08);
            border-color: rgba(224, 162, 60, 0.25);
            box-shadow: 0 0 24px rgba(224, 162, 60, 0.15);
            color: var(--text-secondary);
        }
        .hub-search svg {
            width: 16px;
            height: 16px;
            opacity: 0.5;
        }
        .hub-mode-toggle {
            width: 42px;
            height: 42px;
            border-radius: 12px;
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.08);
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            color: var(--text-secondary);
            transition: all 0.3s var(--ease-out);
        }
        .hub-mode-toggle:hover {
            background: rgba(255, 255, 255, 0.09);
            border-color: rgba(255, 255, 255, 0.12);
            box-shadow: 0 0 18px rgba(224, 162, 60, 0.12);
        }
        .hub-avatar {
            width: 42px;
            height: 42px;
            border-radius: 12px;
            background: linear-gradient(135deg, var(--primary-light), var(--primary));
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 16px;
            cursor: pointer;
            box-shadow: 0 0 22px rgba(224, 162, 60, 0.25);
            transition: transform 0.2s ease, box-shadow 0.2s ease;
        }
        .hub-avatar:active { transform: scale(0.94); }
        .hub-avatar-wrap { position: relative; }
        .hub-profile-menu {
            position: absolute;
            top: calc(100% + 10px);
            right: 0;
            width: 220px;
            /* 用伪元素做纯色底层，iOS Safari 忽略 background 时仍能兜底 */
            isolation: isolate;
            -webkit-isolation: isolate;
            border: 1px solid rgba(255, 255, 255, 0.12);
            border-radius: 16px;
            padding: 8px;
            box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45), 0 2px 8px rgba(0, 0, 0, 0.30);
            display: none;
            z-index: 1200;
            animation: fadeInUp 0.18s ease both;
        }
        .hub-profile-menu::before {
            content: '';
            position: absolute;
            inset: 0;
            background: #12141a;
            border-radius: inherit;
            z-index: -1;
        }
        .hub-profile-menu.open { display: block; }
        .hub-profile-menu-head {
            padding: 10px 12px 12px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.06);
            margin-bottom: 6px;
        }
        .hub-profile-menu-name { font-size: 15px; font-weight: 700; color: #e8eaed; }
        .hub-profile-menu-sub { font-size: 11px; color: #9ca3af; margin-top: 2px; }
        .hub-profile-menu-item {
            display: flex; align-items: center; gap: 12px;
            padding: 12px 14px; border-radius: 10px;
            font-size: 15px; color: #e4e7ec;
            cursor: pointer; transition: background 0.16s, color 0.16s;
        }
        .hub-profile-menu-item svg { width: 18px; height: 18px; flex-shrink: 0; opacity: 0.9; }
        .hub-profile-menu-item:hover, .hub-profile-menu-item:active {
            background: rgba(255, 255, 255, 0.09); color: #ffffff;
        }
        .hub-content {
            flex: 1;
            padding: 20px;
            display: flex;
            flex-direction: column;
            gap: 16px;
            max-width: 760px;
            margin: 0 auto;
            width: 100%;
            box-sizing: border-box;
            padding-bottom: 100px;
            contain: layout style;
        }
        .hub-right-section {
            flex: 1;
            min-width: 0;
            max-width: none;
            width: 100%;
            display: flex;
            flex-direction: column;
            gap: 16px;
            overflow-x: hidden;
        }
        .hub-stats-row {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 12px;
        }
        .hub-stat-item {
            background: rgba(255, 255, 255, 0.04);
            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px);
            border-radius: 16px;
            padding: 16px;
            text-align: center;
            border: 1px solid rgba(255, 255, 255, 0.06);
            transition: all 0.3s var(--ease-out);
        }
        .hub-stat-item:hover {
            background: rgba(255, 255, 255, 0.07);
            transform: translateY(-2px);
        }
        .hub-stat-value {
            font-size: 24px;
            font-weight: 900;
            font-optical-sizing: auto;
            background: linear-gradient(135deg, #ffffff, #a8b4d0);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            margin-bottom: 4px;
        }
        .hub-stat-label {
            font-size: 11px;
            color: var(--text-tertiary);
            letter-spacing: 0.5px;
        }

        /* 出差请假 / 旅行出游：两列并排（含手机端） */
        .hub-card-row {
            display: flex;
            flex-direction: row;
            gap: 14px;
        }
        .hub-card-row .hub-feature-card { flex: 1; padding: 18px 16px; }
        .hub-card-row .hub-feature-card .hub-card-tags { flex-wrap: wrap; gap: 6px; }
        /* 窄屏（手机）收紧，避免半宽挤压 */
        @media (max-width: 480px) {
            .hub-card-row { gap: 8px; }
            .hub-card-row .hub-feature-card { padding: 14px 10px; }
            .hub-card-row .hub-card-title { font-size: 14px; }
        }

        /* 核心毛玻璃大卡片：去框化 — 内发光呼吸 + 边缘消融 */
        .hub-feature-card {
            background:
                linear-gradient(145deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.012) 100%);
            backdrop-filter: blur(20px) saturate(140%);
            -webkit-backdrop-filter: blur(20px) saturate(140%);
            border-radius: 26px;
            padding: 30px 32px;
            border: 1px solid transparent;
            box-shadow:
                inset 0 1px 0 rgba(255,235,180,0.06),
                inset 0 0 70px rgba(224,162,60,0.03),
                0 1px 0 rgba(255,255,255,0.02);
            position: relative;
            cursor: pointer;
            transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.45s cubic-bezier(0.16, 1, 0.3, 1), background 0.4s ease;
            overflow: hidden;
            -webkit-mask-image: linear-gradient(135deg, transparent 0%, #000 3%, #000 97%, transparent 100%);
            mask-image: linear-gradient(135deg, transparent 0%, #000 3%, #000 97%, transparent 100%);
        }
        /* 玻璃内高光 + 悬浮光晕 */
        .hub-feature-card::after {
            content: '';
            position: absolute;
            inset: 0;
            border-radius: 26px;
            pointer-events: none;
            background:
                radial-gradient(ellipse 80% 50% at 20% -10%, rgba(255,255,255,0.12) 0%, transparent),
                linear-gradient(180deg, rgba(255,255,255,0.06) 0%, transparent 40%);
            opacity: 0.8;
            transition: opacity 0.4s ease;
        }
        .hub-feature-card:hover {
            background:
                linear-gradient(145deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.025) 100%);
            transform: translateY(-8px) scale(1.01);
            box-shadow:
                0 24px 60px rgba(0, 0, 0, 0.32),
                0 0 80px rgba(224, 162, 60, 0.18),
                inset 0 1px 0 rgba(255, 235, 180, 0.10),
                inset 0 0 90px rgba(224,162,60,0.05);
        }
        .hub-feature-card:hover::after {
            opacity: 1;
        }
        .hub-feature-card:active {
            transform: translateY(-2px) scale(0.985);
            background: rgba(255, 255, 255, 0.04);
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
        }
        .hub-feature-card.trip:hover {
            box-shadow:
                0 28px 72px rgba(0, 0, 0, 0.42),
                0 0 96px rgba(34, 211, 238, 0.13),
                inset 0 1px 0 rgba(255, 255, 255, 0.11);
        }
        .hub-card-header {
            display: flex;
            align-items: flex-start;
            justify-content: space-between;
            margin-bottom: 20px;
            position: relative;
            z-index: 1;
        }
        .hub-card-icon {
            width: 44px;
            height: 44px;
            border-radius: 999px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: 26px;
            position: relative;
            overflow: hidden;
            border: 1px solid rgba(255, 255, 255, 0.10);
            background: radial-gradient(circle at 35% 30%, rgba(224,162,60,0.30), rgba(42,33,24,0.5));
            box-shadow: inset 0 1px 0 rgba(255,220,150,0.18);
        }
        .hub-card-icon.travel {
            background: radial-gradient(circle at 35% 30%, rgba(224,162,60,0.30), rgba(42,33,24,0.5));
            border-color: rgba(224, 162, 60, 0.35);
        }
        .hub-card-icon.trip {
            background: radial-gradient(circle at 35% 30%, rgba(42,93,99,0.42), rgba(42,33,24,0.5));
            border-color: rgba(42, 93, 99, 0.45);
        }
        .hub-card-icon.backup {
            background: linear-gradient(135deg, rgba(16, 185, 129, 0.22), rgba(34, 197, 94, 0.22));
            border-color: rgba(16, 185, 129, 0.38);
            box-shadow:
                0 8px 28px rgba(16, 185, 129, 0.18),
                inset 0 1px 0 rgba(255, 255, 255, 0.10);
        }
        .hub-card-icon::before {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(135deg, transparent 40%, rgba(255,255,255,0.12) 100%);
        }
        /* 卡片图框内的星芒（替换原公文包/地球 emoji） */
        .hub-card-icon__spark {
            width: 20px; height: 20px;
            position: relative; z-index: 1;
            transform-origin: 50% 50%;
            animation: brandSparkSpin 16s linear infinite, sparkBreath 6s ease-in-out infinite;
            will-change: transform;
        }
        .hub-card-icon.travel .hub-card-icon__spark {
            fill: var(--primary);
            filter: drop-shadow(0 0 6px rgba(224, 162, 60, 0.55));
        }
        .hub-card-icon.trip .hub-card-icon__spark {
            fill: #22d3ee;
            filter: drop-shadow(0 0 6px rgba(34, 211, 238, 0.55));
        }
        /* 悬停时星芒"点亮"：仅在支持 hover 的设备，移动端不受影响 */
        @media (hover: hover) {
            .hub-feature-card:hover .hub-card-icon.travel .hub-card-icon__spark {
                filter: drop-shadow(0 0 10px rgba(224, 162, 60, 0.85));
            }
            .hub-feature-card:hover .hub-card-icon.trip .hub-card-icon__spark {
                filter: drop-shadow(0 0 10px rgba(34, 211, 238, 0.85));
            }
        }
        @media (prefers-reduced-motion: reduce) {
            .hub-card-icon__spark { animation: none; }
        }
        .hub-enter-btn {
            width: 36px;
            height: 36px;
            border-radius: 999px;
            margin-left: 12px;
            border: 1px solid rgba(255, 255, 255, 0.10);
            background: rgba(255, 255, 255, 0.06);
            display: inline-flex;
            align-items: center;
            justify-content: center;
            color: var(--text-secondary);
            transition: background 0.4s var(--ease-out, ease), color 0.4s var(--ease-out, ease), border-color 0.4s var(--ease-out, ease), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
            position: relative;
            z-index: 1;
            flex-shrink: 0;
        }
        .hub-feature-card:hover .hub-enter-btn {
            background: linear-gradient(135deg, #f0c27a, #e0a23c);
            color: #fff;
            border-color: rgba(224, 162, 60, 0.5);
            transform: scale(1.08);
        }
        .hub-feature-card.trip:hover .hub-enter-btn {
            background: linear-gradient(135deg, #38b6c4, #5b8fd6);
            border-color: rgba(34, 211, 238, 0.5);
            color: #fff;
        }
        .hub-card-title {
            font-family: var(--font-display);
            font-optical-sizing: auto;
            font-size: 24px;
            font-weight: 700;
            margin-bottom: 8px;
            letter-spacing: 0.2px;
            position: relative;
            z-index: 1;
        }
        /* 星芒 + 标题同排：文字放在星芒后面 */
        .hub-card-head-left {
            display: flex;
            align-items: center;
            gap: 12px;
            min-width: 0;
        }
        .hub-card-head-left .hub-card-title {
            margin-bottom: 0;
        }
        /* 卡片标题品牌标：星芒 + 文案 + 平缓跳动圆点（适配海报复主题） */
        .hub-card-brand {
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }
        .hub-card-brand__spark {
            width: 17px; height: 18px; flex: none;
            fill: var(--primary);
            transform-origin: 50% 50%;
            animation: brandSparkSpin 16s linear infinite, sparkBreath 6s ease-in-out infinite;
        }
        .hub-card-brand__dots {
            display: inline-flex;
            align-items: flex-end;
            gap: 3px;
        }
        .hub-card-brand__dots i {
            width: 3px; height: 3px;
            border-radius: 50%;
            background: var(--text-tertiary);
            animation: cardDotPulse 1.4s ease-in-out infinite;
        }
        .hub-card-brand__dots i:nth-child(2) { animation-delay: .2s; }
        .hub-card-brand__dots i:nth-child(3) { animation-delay: .4s; }
        @keyframes cardDotPulse {
            0%, 60%, 100% { opacity: .25; transform: translateY(0); }
            30% { opacity: .85; transform: translateY(-2px); }
        }
        @media (prefers-reduced-motion: reduce) {
            .hub-card-brand__spark { animation: none; }
            .hub-card-brand__dots i { animation: none; opacity: .5; }
        }
        .hub-card-desc {
            font-size: 13px;
            color: var(--text-secondary);
            line-height: 1.65;
            margin-bottom: 20px;
            position: relative;
            z-index: 1;
        }
        .hub-card-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            position: relative;
            z-index: 1;
        }
        .hub-tag {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            padding: 5px 12px;
            border-radius: 999px;
            font-size: 12px;
            font-weight: 500;
            background: rgba(255, 255, 255, 0.05);
            color: var(--text-secondary);
            border: 1px solid rgba(255, 255, 255, 0.06);
            letter-spacing: 0.2px;
            transition: all 0.25s ease;
        }
        .hub-tag:hover {
            background: rgba(255, 255, 255, 0.08);
            border-color: rgba(255, 255, 255, 0.10);
        }
        .hub-tag.highlight {
            background: color-mix(in srgb, var(--primary, #e0a23c) 16%, transparent);
            color: var(--primary, #e0a23c);
            border-color: color-mix(in srgb, var(--primary, #e0a23c) 30%, transparent);
        }
        .hub-feature-card.trip .hub-tag.highlight {
            background: color-mix(in srgb, #22d3ee 14%, transparent);
            color: #a5f3fc;
            border-color: color-mix(in srgb, #22d3ee 28%, transparent);
        }
        /* ===== 桌面端面板与增强样式（手机端不受影响） ===== */

        /* ===== 电影感氛围层 ===== */
        .tw-atmosphere { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }

        /* 噪点 */
        .tw-grain {
            position: absolute; inset: 0;
            opacity: 0.06; mix-blend-mode: soft-light;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
        }
        html.theme-light .tw-grain { opacity: 0.04; mix-blend-mode: multiply; }

        /* 暗角 */
        .tw-vignette {
            position: absolute; inset: 0;
            background:
                radial-gradient(ellipse 130% 110% at 50% 42%, transparent 32%, rgba(0,0,0,0.36) 74%, rgba(0,0,0,0.62) 100%),
                linear-gradient(180deg, rgba(0,0,0,0.18) 0%, transparent 14%, transparent 86%, rgba(0,0,0,0.22) 100%);
        }
        html.theme-light .tw-vignette {
            background:
                radial-gradient(ellipse 130% 110% at 50% 42%, transparent 50%, rgba(60,40,20,0.10) 82%, rgba(60,40,20,0.20) 100%),
                linear-gradient(180deg, rgba(60,40,20,0.05) 0%, transparent 14%, transparent 86%, rgba(60,40,20,0.07) 100%);
        }

        /* 光泄漏 — 胶片质感的暖色斜向条纹 */
        .tw-leak {
            position: absolute; inset: -10%;
            background:
                linear-gradient(115deg, transparent 38%, rgba(224,162,60,0.05) 46%, rgba(255,210,140,0.07) 49%, rgba(224,162,60,0.04) 52%, transparent 60%),
                linear-gradient(105deg, transparent 70%, rgba(224,162,60,0.035) 78%, transparent 86%);
            mix-blend-mode: screen;
            opacity: 0.85;
            animation: twLeak 14s var(--ease-soft, ease) infinite alternate;
        }
        html.theme-light .tw-leak { opacity: 0.5; mix-blend-mode: soft-light; }
        @keyframes twLeak {
            from { transform: translate3d(-2%, 0, 0); opacity: 0.7; }
            to   { transform: translate3d(3%, -1%, 0); opacity: 0.95; }
        }
        @media (prefers-reduced-motion: reduce) { .tw-leak { animation: none; } }

        /* 体积光球 */
        .tw-orb { position: absolute; border-radius: 50%; filter: blur(100px); will-change: transform; }
        .tw-orb-amber-1 { width: 480px; height: 480px; top: -140px; right: -100px;
            background: radial-gradient(circle, rgba(224,162,60,0.42), transparent 68%);
            animation: twDrift1 20s var(--ease-soft, ease) infinite alternate; }
        .tw-orb-amber-2 { width: 420px; height: 420px; bottom: -120px; left: -80px;
            background: radial-gradient(circle, rgba(224,162,60,0.30), transparent 68%);
            animation: twDrift2 24s var(--ease-soft, ease) infinite alternate; }
        .tw-orb-teal { width: 560px; height: 560px; top: 36%; left: 26%;
            background: radial-gradient(circle, rgba(42,93,99,0.32), transparent 70%);
            animation: twDrift3 28s var(--ease-soft, ease) infinite alternate; }
        @keyframes twDrift1 { from { transform: translate3d(0,0,0); } to { transform: translate3d(-28px, 36px, 0); } }
        @keyframes twDrift2 { from { transform: translate3d(0,0,0); } to { transform: translate3d(36px, -26px, 0); } }
        @keyframes twDrift3 { from { transform: translate3d(0,0,0) scale(1); } to { transform: translate3d(-44px, 26px, 0) scale(1.06); } }
        @media (prefers-reduced-motion: reduce) { .tw-orb { animation: none !important; } }

        .hub-main,
        .hub-header,
        .hub-content {
            position: relative;
            z-index: 1;
        }

        /* 面板基础样式 */
        .hub-panel {
            background:
                linear-gradient(145deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 100%);
            backdrop-filter: blur(20px) saturate(120%);
            -webkit-backdrop-filter: blur(20px) saturate(120%);
            border-radius: 22px;
            border: 1px solid rgba(255, 255, 255, 0.07);
            padding: 22px 26px;
            box-shadow:
                0 12px 40px rgba(0, 0, 0, 0.22),
                inset 0 1px 0 rgba(255,255,255,0.06);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
        .hub-panel:hover {
            transform: translateY(-3px);
            box-shadow:
                0 16px 48px rgba(0, 0, 0, 0.28),
                inset 0 1px 0 rgba(255,255,255,0.08);
        }

        /* 合并区块：去框化 — 边缘消融 + 内发光呼吸 */
        .hub-section {
            background:
                linear-gradient(145deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.015) 100%);
            backdrop-filter: blur(20px) saturate(140%);
            -webkit-backdrop-filter: blur(20px) saturate(140%);
            border-radius: var(--radius-lg);
            border: 1px solid transparent;
            box-shadow:
                inset 0 1px 0 rgba(255,235,180,0.05),
                inset 0 0 60px rgba(224,162,60,0.025),
                0 1px 0 rgba(255,255,255,0.02);
            padding: 22px 20px;
            display: flex;
            flex-direction: column;
            gap: 16px;
            -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 4%, #000 96%, transparent 100%);
            mask-image: linear-gradient(to bottom, transparent 0%, #000 4%, #000 96%, transparent 100%);
        }
        .hub-section-header {
            display: flex;
            align-items: baseline;
            justify-content: space-between;
            gap: 8px;
        }
        .hub-section-title {
            font-family: var(--font-display);
            font-optical-sizing: auto;
            font-size: 16px; font-weight: 700;
            color: var(--text-primary);
            letter-spacing: 1.2px;
            text-shadow: 0 0 24px rgba(224,162,60,0.18);
        }
        .hub-section-sub {
            font-size: 11px; color: var(--text-tertiary);
            letter-spacing: 0.3px;
        }

        /* 全年概览面板 */
        .hub-panel-title {
            font-size: 13px;
            font-weight: 600;
            color: var(--text-secondary);
            letter-spacing: 0.5px;
            margin-bottom: 16px;
            text-transform: uppercase;
        }
        .hub-overview-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 12px;
        }
        .hub-ov-item {
            text-align: center;
            padding: 14px 10px;
            border-radius: var(--radius-sm);
            background:
                radial-gradient(ellipse 100% 80% at 50% 0%, rgba(224,162,60,0.08) 0%, rgba(224,162,60,0.015) 70%);
            border: 1px solid transparent;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
            cursor: pointer;
        }
        .hub-ov-item::before {
            content: '';
            position: absolute;
            top: 0; left: 50%; transform: translateX(-50%);
            width: 60%; height: 1px;
            background: linear-gradient(90deg, transparent, rgba(224,162,60,0.35), transparent);
        }
        .hub-ov-item:hover {
            background:
                radial-gradient(ellipse 100% 90% at 50% 0%, rgba(224,162,60,0.16) 0%, rgba(224,162,60,0.04) 75%);
            transform: translateY(-2px);
            box-shadow: 0 6px 18px rgba(224,162,60,0.10);
        }
        .hub-ov-item:active {
            transform: translateY(0) scale(0.98);
        }
        .hub-ov-val {
            font-size: 22px;
            font-weight: 800;
            color: var(--primary);
            margin-bottom: 4px;
            overflow-wrap: anywhere;
            word-break: break-all;
            line-height: 1.15;
            min-width: 0;
        }
        .hub-ov-lbl {
            font-size: 11px;
            color: var(--text-tertiary);
            letter-spacing: 0.3px;
        }

        /* 行程提醒面板 */
        .hub-upcoming-list {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }
        .hub-upcoming-empty {
            text-align: center;
            color: var(--text-tertiary);
            font-size: 13px;
            padding: 20px 0;
        }
        .hub-upcoming-item {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 12px 14px;
            border-radius: 14px;
            background: rgba(255,255,255,0.02);
            border: 1px solid rgba(255,255,255,0.05);
            cursor: pointer;
            transition: all 0.25s ease;
        }
        .hub-upcoming-item:hover {
            background: rgba(255,255,255,0.06);
            border-color: rgba(255,255,255,0.10);
            transform: translateX(4px);
        }
        .hub-upcoming-badge {
            flex-shrink: 0;
            padding: 4px 10px;
            border-radius: 20px;
            font-size: 11px;
            font-weight: 600;
            letter-spacing: 0.3px;
        }
        .hub-upcoming-badge.soon {
            background: rgba(245,158,11,0.12);
            color: #fbbf24;
            border: 1px solid rgba(245,158,11,0.2);
        }
        .hub-upcoming-badge.ongoing {
            background: rgba(56, 182, 196, 0.12);
            color: #38b6c4;
            border: 1px solid rgba(34,211,238,0.2);
        }
        .hub-upcoming-main {
            min-width: 0;
        }
        .hub-upcoming-name {
            font-size: 14px;
            font-weight: 600;
            color: var(--text-primary);
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        .hub-upcoming-meta {
            font-size: 12px;
            color: var(--text-tertiary);
            margin-top: 2px;
        }

        /* 底部时间 */
        .hub-footer-time {
            margin-top: auto;
            padding-top: 24px;
            text-align: center;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 8px;
        }
        .hub-footer-time .footer-time-row {
            display: flex;
            align-items: center;
            gap: 12px;
        }
        .hub-footer-time .footer-time-line {
            height: 1px;
            width: 40px;
            background: rgba(255, 255, 255, 0.12);
        }
        html.theme-light .hub-footer-time .footer-time-line { background: rgba(20,20,40,0.12); }
        .hub-footer-time .footer-time-text {
            font-family: var(--font-display);
            font-optical-sizing: auto;
            font-size: 13px;
            color: var(--text-secondary);
            letter-spacing: 0.5px;
        }
        .hub-footer-time .footer-time-brand {
            font-size: 10px;
            color: var(--text-tertiary);
            letter-spacing: 1.5px;
            text-transform: uppercase;
            opacity: 0.7;
        }

        /* ===== 新增：总览 Hero Banner（适配暖夜手账设计系统）===== */
        .hero-banner {
            position: relative;
            border-radius: var(--radius-lg);
            padding: 28px 24px 20px;
            background: linear-gradient(160deg, rgba(224,162,60,0.06) 0%, rgba(255,255,255,0.03) 40%, rgba(255,255,255,0.01) 100%);
            backdrop-filter: blur(12px) saturate(140%);
            -webkit-backdrop-filter: blur(12px) saturate(140%);
            border: 1px solid transparent;
            box-shadow: 0 16px 48px rgba(0,0,0,0.20), inset 0 1px 0 rgba(255,220,150,0.06);
            overflow: hidden;
            -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 6%, #000 94%, transparent 100%);
            mask-image: linear-gradient(to bottom, transparent 0%, #000 6%, #000 94%, transparent 100%);
        }
        .hero-glow {
            position: absolute; inset: 0; pointer-events: none;
            background: radial-gradient(120% 80% at 85% -10%, rgba(224,162,60,0.18), transparent 60%);
        }
        /* 光泄漏条纹 */
        .hero-leak { position: absolute; left: 50%; top: 0; transform: translateX(-50%);
            width: 92%; height: 3px; border-radius: 999px; pointer-events: none; filter: blur(1.2px); opacity: 0.6;
            background: linear-gradient(90deg, transparent, rgba(224,162,60,0.5), rgba(255,222,150,0.8), rgba(224,162,60,0.5), transparent); }
        /* eyebrow 小标 */
        .hero-eyebrow {
            font-family: var(--font-display); font-optical-sizing: auto;
            font-size: 11px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase;
            color: var(--primary); margin-bottom: 6px; position: relative; z-index: 1;
        }
        .hero-greeting {
            position: relative; z-index: 1;
            display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
        }
        .hero-greeting-wave {
            width: 100%; height: 14px; display: block; overflow: hidden; margin-top: 2px;
        }
        .hero-greeting-wave path {
            fill: none;
            stroke: var(--primary);
            stroke-width: 2.5;
            stroke-linecap: round;
            vector-effect: non-scaling-stroke;
            stroke-dasharray: 820;
            stroke-dashoffset: 820;
            animation: heroWaveDraw 6.5s ease-in-out infinite;
        }
        @keyframes heroWaveDraw {
            0%   { stroke-dashoffset: 820; }
            50%  { stroke-dashoffset: 0; }
            100% { stroke-dashoffset: 820; }
        }
        @media (prefers-reduced-motion: reduce) {
            .hero-greeting-wave path { animation: none; stroke-dashoffset: 0; }
        }
        .hero-greeting-text {
            font-family: var(--font-display);
            font-optical-sizing: auto;
            font-size: 22px; font-weight: 800; letter-spacing: 0.8px; line-height: 1.2;
            white-space: nowrap;
            background: linear-gradient(120deg, var(--text-primary), var(--primary-light));
            -webkit-background-clip: text; background-clip: text;
            -webkit-text-fill-color: transparent;
        }
        .hero-sub {
            position: relative; z-index: 1;
            margin-top: 4px; font-size: 13px; line-height: 1.5; color: var(--text-secondary);
        }
        .hero-yearbook {
            position: relative; z-index: 1;
            display: flex; align-items: baseline; gap: 8px;
            margin-top: 8px;
        }
        .hero-yearbook-title {
            font-family: var(--font-display); font-optical-sizing: auto;
            font-weight: 800; font-size: 16px; letter-spacing: 0.4px; color: var(--text-primary);
        }
        .hero-yearbook-year {
            font-family: var(--font-display); font-optical-sizing: auto;
            font-weight: 900; font-size: 14px; letter-spacing: 1px; color: var(--primary);
        }
        .hero-stats {
            position: relative; z-index: 1;
            margin-top: 12px;
            display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px;
        }
        .hero-stat {
            text-align: left;
            padding: 12px 14px;
            min-width: 0; overflow: hidden;
            border-radius: var(--radius-sm);
            background: radial-gradient(ellipse 90% 70% at 30% 0%, rgba(255,235,180,0.05) 0%, rgba(255,255,255,0.008) 75%);
            border: 1px solid transparent;
        }
        .hero-stat-value {
            font-family: var(--font-display);
            font-optical-sizing: auto;
            font-size: 28px; font-weight: 900; color: var(--primary);
            margin-bottom: 2px; overflow-wrap: anywhere; line-height: 1.1;
        }
        .hero-stat-label {
            font-size: 10px; color: var(--text-tertiary); letter-spacing: 0.5px;
            white-space: normal; line-height: 1.25; text-transform: uppercase;
        }

        /* ===== 合并：窗外有风 × 年度拾光册 —— 时光轨迹（桂林为基准中心，放射状） ===== */
        .hero-trail-wrap {
            position: relative; z-index: 1;
            margin-top: 8px;
            background: rgba(0,0,0,0.18);
            border: 1px solid rgba(255,255,255,0.06);
            border-radius: 18px;
            padding: 6px 8px 4px;
        }
        html.theme-light .hero-trail-wrap { background: rgba(20,20,40,0.03); border-color: rgba(20,20,40,0.08); }
        .hero-trail-cap { font-size: 11px; color: var(--text-tertiary); letter-spacing: 1px; margin-bottom: 4px; }
        .hero-trail { width: 100%; height: 100px; display: block; }
        .hero-trail .hb-line { fill: none; stroke: url(#ybGrad); stroke-width: 1.8; stroke-linecap: round; opacity: 0.85; }
        .hero-trail .hb-node { fill: var(--primary); filter: drop-shadow(0 0 5px rgba(224,162,60,0.6)); }
        .hero-trail .hb-node.teal { fill: var(--secondary); filter: drop-shadow(0 0 5px rgba(34,211,238,0.6)); }
        .hero-trail .hb-base-ring { fill: none; stroke: var(--primary); stroke-width: 1.5; opacity: 0.55; }
        .hero-trail .hb-label { font-family: var(--font-display); font-size: 11px; font-weight: 700; fill: var(--text-primary); paint-order: stroke; stroke: rgba(0,0,0,0.55); stroke-width: 2.6px; }
        html.theme-light .hero-trail .hb-label { stroke: rgba(255,255,255,0.85); }
        .hero-trail .hb-label.base { fill: var(--primary); }
        .hero-trail-empty { font-size: 12px; color: var(--text-tertiary); text-align: center; padding: 22px 0; line-height: 1.7; }
        @media (prefers-reduced-motion: reduce) {
            .hero-greeting-wave path { animation: none; }
        }

        /* ===== 旅程卡片：去框化 — 与背景融合的浮光层 ===== */
        .travel-section {
            position: relative;
            background: linear-gradient(145deg, rgba(255,255,255,0.045) 0%, rgba(255,255,255,0.012) 100%);
            backdrop-filter: blur(20px) saturate(140%);
            -webkit-backdrop-filter: blur(20px) saturate(140%);
            border-radius: 26px;
            padding: 24px 22px;
            border: 1px solid transparent;
            box-shadow:
                inset 0 1px 0 rgba(255,235,180,0.05),
                inset 0 0 80px rgba(224,162,60,0.02),
                0 1px 0 rgba(255,255,255,0.02);
            -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 4%, #000 96%, transparent 100%);
            mask-image: linear-gradient(to bottom, transparent 0%, #000 4%, #000 96%, transparent 100%);
        }
        .travel-section-header {
            display: flex; align-items: center;
            margin-bottom: 14px;
        }
        .travel-section-title {
            font-family: var(--font-display);
            font-size: 18px; font-weight: 700; color: var(--text-primary);
            white-space: nowrap; line-height: 1.3;
            letter-spacing: 1.4px;
            text-shadow: 0 0 24px rgba(224,162,60,0.18);
        }
        .travel-grid {
            display: grid; grid-template-columns: 1fr; gap: 14px;
        }
        .travel-empty {
            text-align: center; color: var(--text-tertiary);
            font-size: 13px; padding: 28px 0;
        }
        .travel-card {
            border-radius: 20px; overflow: hidden;
            background: linear-gradient(145deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
            border: 1px solid rgba(255,255,255,0.08);
            box-shadow: 0 12px 32px rgba(0,0,0,0.28), inset 0 1px 0 rgba(255,255,255,0.06);
            cursor: pointer;
            transition: transform 0.3s var(--ease-out), box-shadow 0.3s ease, border-color 0.3s ease;
        }
        .travel-card:hover {
            transform: translateY(-4px);
            border-color: rgba(255,255,255,0.16);
            box-shadow: 0 18px 44px rgba(0,0,0,0.38), 0 0 60px rgba(224,162,60,0.10);
        }
        .travel-card-img {
            position: relative; height: 120px;
            background: linear-gradient(135deg, #e0a23c, #d99a3c 60%, #b9742e);
            background-size: cover; background-position: center;
        }
        .travel-card:nth-child(2) .travel-card-img { background: linear-gradient(135deg, #5b8fd6, #4a7bc0 60%, #3a6aa8); }
        .travel-card:nth-child(3) .travel-card-img { background: linear-gradient(135deg, #38b6c4, #2fa0b0 60%, #258a98); }
        .travel-card:nth-child(4) .travel-card-img { background: linear-gradient(135deg, #b3a9e0, #9b8fd6 60%, #8475c8); }
        .travel-card:nth-child(5) .travel-card-img { background: linear-gradient(135deg, #e0a23c, #cf8a45 60%, #a86b30); }
        .travel-card:nth-child(6) .travel-card-img { background: linear-gradient(135deg, #6fc5b8, #4fb0a3 60%, #3a978c); }
        .travel-card-photo {
            position: absolute; inset: 0;
            width: 100%; height: 100%;
            object-fit: cover;
            opacity: 0;
            transition: opacity .35s ease;
            z-index: 0;
        }
        .travel-card-badge { z-index: 1; }
        .trip-photo-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 8px;
            margin-top: 10px;
        }
        .trip-photo-grid .thumb { width: 100%; height: auto; aspect-ratio: 16 / 9; }
        .trip-photo-grid .thumb-del { top: 4px; right: 4px; }
        .trip-photo-empty { font-size: 13px; color: var(--text-secondary); padding: 8px 2px; }
        @media (max-width: 420px) {
            .trip-photo-grid { grid-template-columns: repeat(2, 1fr); }
        }
        .travel-card-badge {
            position: absolute; top: 10px; left: 10px;
            padding: 4px 10px; border-radius: 20px; font-size: 11px; font-weight: 600;
            white-space: nowrap; line-height: 1.2;
            backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
        }
        .badge-soon { background: rgba(245,158,11,0.85); color: #1a1206; }
        .badge-ongoing { background: rgba(56,182,196,0.85); color: #04181a; }
        .badge-past { background: rgba(20,20,30,0.55); color: rgba(255,255,255,0.85); }
        .travel-card-content { padding: 14px 16px 16px; }
        .travel-card-title {
            font-size: 15px; font-weight: 700; color: var(--text-primary);
            white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
        }
        .travel-card-meta { font-size: 12px; color: var(--text-tertiary); margin-top: 4px; }
        .travel-card-foot {
            display: flex; justify-content: space-between; gap: 8px;
            margin-top: 10px; font-size: 12px; color: var(--text-secondary);
        }

        /* 入场动画 */
        @keyframes hubFadeInUp {
            from { opacity: 0; transform: translateY(28px); }
            to { opacity: 1; transform: translateY(0); }
        }
        .hub-animate {
            animation: hubFadeInUp 0.55s cubic-bezier(0.16, 1, 0.3, 1) forwards;
            opacity: 0;
        }
        .hub-animate:nth-child(1) { animation-delay: 0.08s; }
        .hub-animate:nth-child(2) { animation-delay: 0.18s; }
        .hub-animate:nth-child(3) { animation-delay: 0.28s; }
        .hub-animate:nth-child(4) { animation-delay: 0.38s; }
        .hub-animate:nth-child(5) { animation-delay: 0.48s; }

        /* 统一为移动端布局：桌面端也走同一套单栏卡片流（原 max-width:768px 规则提至 1200px 覆盖常规桌面） */
        /* ===== 统一移动端布局：以下规则在所有宽度生效（桌面端不再有侧边栏/双栏/概览面板） ===== */
        .hub-main { margin-left: 0; }
        .tw-orb-amber-1 { width: 300px; height: 300px; }
        .tw-orb-amber-2 { width: 260px; height: 260px; }
        .tw-orb-teal { width: 340px; height: 340px; }
        .hub-layout { background-attachment: scroll; overflow-x: hidden; }
        body { overflow-x: hidden; }
        .hub-header { padding: 12px 20px; }
        .hub-header-title { font-size: 22px; }
        .hub-brand { gap: 9px; }
        .hub-brand__spark { width: 27px; height: 27px; }
        .hub-brand__title { font-size: 22px; }
        .hub-search { display: none; }
        .hub-header-right { gap: 10px; }
        .hub-upcoming-panel { display: none !important; }
        .bg-orb { display: none !important; }
        .hub-footer-time { padding-top: 16px; }
        .hub-stats-row { gap: 10px; padding: 14px; }
        .hub-stat-value { font-size: 22px; }
        .hub-stat-label { font-size: 11px; }
        .hub-feature-card { padding: 20px; border-radius: 20px; }
        .hub-card-title { font-size: 18px; }
        .hub-card-desc { font-size: 12px; }
        .hub-card-tags { flex-wrap: wrap; gap: 6px; }
        .hub-tag { font-size: 11px; padding: 4px 8px; }
        /* 出差请假卡片：手机端三个标签（出差天数/请假天数/未报销）强制排在同一行 */
        .card-biz .hub-card-tags { flex-wrap: nowrap; gap: 5px; }
        .card-biz .hub-tag { font-size: 10px; padding: 3px 6px; white-space: nowrap; }

        /* 手机端性能优化：窄屏关闭昂贵模糊/动画，恢复顺滑滚动（桌面保留毛玻璃更精致） */
        @media (max-width: 768px) {
            .hub-feature-card,
            .hub-panel,
            .glass,
            .glass-strong,
            .glass-card {
                backdrop-filter: none !important;
                -webkit-backdrop-filter: none !important;
                transition: none !important;
                will-change: auto !important;
            }
            .hub-feature-card {
                box-shadow: 0 6px 20px rgba(0, 0, 0, 0.28) !important;
            }
            .hub-panel {
                box-shadow: 0 4px 16px rgba(0, 0, 0, 0.22) !important;
            }
            .hub-profile-menu,
            .modal-sheet,
            .modal-overlay,
            .action-list,
            .action-btn,
            form.glass,
            .filter-bar,
            .filter-select,
            .search-box,
            .search-input {
                backdrop-filter: none !important;
                -webkit-backdrop-filter: none !important;
            }
            .hub-profile-menu {
                isolation: isolate !important;
                -webkit-isolation: isolate !important;
            }
            .hub-profile-menu::before {
                background: #0c0e13 !important;
            }
            .modal-overlay { background: rgba(8, 9, 12, 0.72) !important; }
            .modal-sheet { background: #141620 !important; }
            .modal-overlay { background: rgba(8, 9, 12, 0.70) !important; }
            .modal-sheet { background: #161a22 !important; }
            html.theme-light .hub-profile-menu::before {
                background: #ffffff !important;
            }
            html.theme-light .modal-overlay { background: rgba(0, 0, 0, 0.35) !important; }
            html.theme-light .modal-sheet { background: #ffffff !important; }
            .hub-ov-item { transition: none !important; }
            .hub-ov-val { font-size: 17px; }
            .hub-content {
                padding: 12px 16px;
                padding-bottom: 120px;
                gap: 12px;
                max-width: 100%;
                width: 100%;
                box-sizing: border-box;
            }
            .hub-right-section {
                width: 100%;
                min-width: auto;
                max-width: none;
                gap: 12px;
                display: flex;
                flex-direction: column;
            }
            .hub-animate {
                opacity: 1;
                animation: none;
            }
            .hero-banner { padding: 18px 16px 14px; }
            .hero-stats { gap: 8px; margin-top: 10px; }
            .hero-stat { padding: 10px 12px; }
            .hero-stat-value { font-size: 22px; }
            .hero-stat-label { font-size: 10px; }
            .hero-trail { height: 80px; }
            .hero-trail-wrap { padding: 4px 6px 2px; border-radius: 14px; }
            .travel-section { padding: 16px 14px; border-radius: 20px; }
            .hub-feature-card { padding: 16px; border-radius: 18px; }
            .hub-card-title { font-size: 16px; }
            .hub-card-tags { flex-wrap: wrap; gap: 5px; }
            .hub-tag { font-size: 10px; padding: 3px 7px; }
            .hub-card-row .hub-feature-card { padding: 12px 8px; }
            .hub-card-row .hub-card-title { font-size: 13px; }
        }
        @media (max-width: 480px) {
            .launch-grid { grid-template-columns: 1fr; }
            .launch-greeting { font-size: 26px; }
            .hero-greeting-text { font-size: 23px; letter-spacing: 0.3px; }
            .hero-stat-value { font-size: 18px; }
        }
        @media (max-width: 360px) {
            .hero-greeting-text { font-size: 21px; letter-spacing: 0.2px; }
            .hero-greeting-wave { width: 100%; height: 18px; }
        }

        /* ===== P1-5: 底部 Tab 栏 ===== */
        .bottom-tab-bar {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            z-index: 200;
            display: flex;
            justify-content: space-around;
            align-items: center;
            padding: 8px 0 calc(8px + env(safe-area-inset-bottom, 0px));
            background: var(--glass-bg-strong);
            backdrop-filter: blur(20px) saturate(150%);
            -webkit-backdrop-filter: blur(20px) saturate(150%);
            border-top: 1px solid var(--glass-border);
            box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.18);
        }
        .bottom-tab-item {
            flex: 1;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 3px;
            padding: 6px 4px;
            border: none;
            background: none;
            color: var(--text-tertiary);
            font-size: 11px;
            font-weight: 500;
            cursor: pointer;
            transition: color var(--dur-fast) var(--ease-out);
        }
        .bottom-tab-item svg {
            width: 22px;
            height: 22px;
            transition: transform var(--dur-fast) var(--ease-out);
        }
        .bottom-tab-item.active {
            color: var(--primary);
        }
        .bottom-tab-item.active svg {
            transform: scale(1.1);
        }
        .bottom-tab-item:active svg {
            transform: scale(0.92);
        }
        /* 浅色模式 */
        html.theme-light .bottom-tab-bar {
            background: rgba(238, 241, 246, 0.88);
            border-top-color: rgba(20, 20, 40, 0.08);
            box-shadow: 0 -4px 24px rgba(20, 30, 60, 0.08);
        }
        /* 桌面端：Tab 栏改为悬浮胶囊 */
        @media (min-width: 768px) {
            .bottom-tab-bar {
                left: 50%;
                right: auto;
                transform: translateX(-50%);
                bottom: 16px;
                border-radius: 50px;
                padding: 6px 12px;
                gap: 4px;
                max-width: 420px;
                box-shadow: 0 8px 32px rgba(0, 0, 0, 0.22);
            }
            .bottom-tab-item {
                flex: 1;
                flex-direction: row;
                gap: 6px;
                padding: 8px 16px;
                border-radius: 40px;
                font-size: 13px;
            }
            .bottom-tab-item svg { width: 20px; height: 20px; }
            .bottom-tab-item.active {
                background: var(--primary-glow);
            }
        }
        /* body 底部留白避免 Tab 栏遮挡 */
        body { padding-bottom: calc(120px + env(safe-area-inset-bottom, 0px)); }

        /* ===== P1-3: 桌面端宽屏布局（≥1024px）===== */
        @media (min-width: 1024px) {
            /* 主容器放宽 */
            .main-container {
                max-width: 960px;
                padding: 24px;
            }
            .hub-content {
                max-width: 960px;
                padding: 24px 32px;
            }
            /* Hero stats 4列 */
            .hero-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
            /* hub 首页功能卡双栏 */
            .hub-right-section .hub-feature-cards,
            .hub-right-section .hub-cards {
                display: grid;
                grid-template-columns: repeat(2, 1fr);
                gap: 16px;
            }
            /* 记录列表双栏 */
            #statList {
                display: grid;
                grid-template-columns: repeat(2, 1fr);
                gap: 12px;
            }
            /* 旅行卡片双栏 */
            #tripList {
                display: grid;
                grid-template-columns: repeat(2, 1fr);
                gap: 16px;
            }
            /* hero banner 内部统计双栏 */
            .hero-stats {
                grid-template-columns: repeat(4, 1fr);
            }
            /* 备份面板双栏 */
            .backup-card {
                padding: 24px 32px;
            }
            /* 弹窗宽度放宽 */
            .modal-sheet {
                max-width: 640px;
                margin: 0 auto;
            }
        }
        @media (min-width: 1280px) {
            .main-container,
            .hub-content {
                max-width: 1080px;
            }
        }
    /* ===== 微感知交互动画（并入自「环境微感知交互动画」预览，视觉适配站点设计系统） ===== */
    :root {
        --ease-elastic: cubic-bezier(0.165, 0.84, 0.44, 1);
        --ease-soft: cubic-bezier(0.16, 1, 0.3, 1);
    }

    /* 呼吸层：仅首页 hub-right-section 内可见，置于卡片之后（z-index:0） */
    .hub-right-section { position: relative; }
    .hub-fx-breath {
        position: absolute; inset: 0; z-index: 0; pointer-events: none;
        overflow: hidden; border-radius: 24px;
    }
    .hub-right-section > *:not(.hub-fx-breath) { position: relative; z-index: 1; }

    .hub-fx-ring {
        position: absolute; border-radius: 50%;
        border: 1.5px solid rgba(224, 162, 60, 0.22);
        animation: hub-breathe-ring 4.2s ease-in-out infinite;
    }
    @keyframes hub-breathe-ring {
        0%, 100% { transform: scale(1); opacity: .50; }
        50% { transform: scale(1.4); opacity: .12; }
    }
    .hub-fx-pulse {
        position: absolute; border-radius: 50%;
        background: radial-gradient(circle, rgba(224, 162, 60, 0.16) 0%, transparent 70%);
        animation: hub-breathe-pulse 5s ease-in-out infinite;
    }
    @keyframes hub-breathe-pulse {
        0%, 100% { transform: scale(1); opacity: .35; }
        50% { transform: scale(1.5); opacity: .08; }
    }
    .hub-fx-sun {
        position: absolute; width: 46px; height: 46px; top: 8px; right: 14px;
        border-radius: 50%;
        background: radial-gradient(circle at 32% 30%, #fff1d6, var(--primary-light, #f0c27a));
        box-shadow: 0 0 34px rgba(224, 162, 60, 0.32), 0 0 64px rgba(224, 162, 60, 0.12);
        animation: hub-sun-breathe 6s ease-in-out infinite;
    }
    @keyframes hub-sun-breathe {
        0%, 100% { box-shadow: 0 0 30px rgba(224, 162, 60, 0.30), 0 0 60px rgba(224, 162, 60, 0.10); }
        50% { box-shadow: 0 0 46px rgba(224, 162, 60, 0.48), 0 0 96px rgba(224, 162, 60, 0.18); }
    }
    .hub-fx-cloud {
        position: absolute; background: rgba(255, 255, 255, 0.50);
        border-radius: 40px; animation: hub-cloud-float 8s ease-in-out infinite alternate;
    }
    html.theme-light .hub-fx-cloud { background: rgba(255, 255, 255, 0.70); }
    .hub-fx-cloud::before, .hub-fx-cloud::after { content: ''; position: absolute; background: inherit; border-radius: 50%; }
    .hub-fx-cloud.c1 { top: 70px; left: 18px; width: 70px; height: 22px; }
    .hub-fx-cloud.c1::before { width: 32px; height: 32px; top: -14px; left: 8px; }
    .hub-fx-cloud.c2 { top: 122px; right: 90px; width: 50px; height: 18px; animation-delay: -3s; animation-duration: 10s; }
    .hub-fx-cloud.c2::before { width: 24px; height: 24px; top: -10px; left: 6px; }
    @keyframes hub-cloud-float { 0% { transform: translateX(0); } 100% { transform: translateX(14px); } }

    /* 点击反馈链（涟漪 / 粒子 / 按压 / 加载环 / 倒计时） */
    .hub-fx-ripple {
        position: absolute; border-radius: 50%; background: rgba(240, 194, 122, 0.50);
        transform: scale(0); pointer-events: none; z-index: 5;
        animation: hub-ripple 0.8s ease-out forwards;
    }
    @keyframes hub-ripple { 0% { transform: scale(0); opacity: .85; } 100% { transform: scale(5); opacity: 0; } }
    .hub-fx-particles { position: absolute; inset: 0; pointer-events: none; overflow: visible; z-index: 6; }
    .hub-fx-particle { position: absolute; width: 5px; height: 5px; border-radius: 50%; pointer-events: none; }
    @keyframes hub-particle-fly {
        0% { transform: translate(0, 0) scale(1); opacity: 1; }
        100% { transform: translate(var(--dx), var(--dy)) scale(0); opacity: 0; }
    }
    .hub-fx-press { animation: hub-press 0.18s ease-out forwards !important; }
    @keyframes hub-press { 0% { transform: scale(1); } 50% { transform: scale(0.965); } 100% { transform: scale(0.985); } }
    .hub-fx-loader {
        width: 16px; height: 16px; border: 2px solid rgba(255, 255, 255, 0.35);
        border-top-color: #fff; border-radius: 50%; animation: hub-spin 0.8s linear infinite;
    }
    @keyframes hub-spin { to { transform: rotate(360deg); } }
    .hub-fx-check { stroke-dasharray: 24; stroke-dashoffset: 24; animation: hub-draw 0.4s ease-out 0.05s forwards; }
    @keyframes hub-draw { to { stroke-dashoffset: 0; } }
    .hub-fx-countdown {
        position: absolute; left: 0; bottom: 0; height: 3px; width: 0%; z-index: 7;
        background: var(--primary); border-radius: 0 2px 2px 0;
        box-shadow: 0 0 8px rgba(224, 162, 60, 0.6);
    }

    /* 二级页面：弹性滑入 + 卡片一次入场 + 进度填充 */
    .view.fx-enter {
        animation: hub-module-in 0.55s var(--ease-elastic) both;
    }
    @keyframes hub-module-in {
        0% { opacity: 0; transform: translateY(26px) scale(0.985); }
        60% { opacity: 1; }
        100% { opacity: 1; transform: translateY(0) scale(1); }
    }
    .view.fx-enter > * { animation: hub-card-in 0.5s var(--ease-soft) both; }
    .view.fx-enter > *:nth-child(1) { animation-delay: .05s; }
    .view.fx-enter > *:nth-child(2) { animation-delay: .12s; }
    .view.fx-enter > *:nth-child(3) { animation-delay: .19s; }
    .view.fx-enter > *:nth-child(4) { animation-delay: .26s; }
    .view.fx-enter > *:nth-child(5) { animation-delay: .33s; }
    .view.fx-enter > *:nth-child(6) { animation-delay: .40s; }
    @keyframes hub-card-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }

    @media (prefers-reduced-motion: reduce) {
        .hub-fx-ring, .hub-fx-pulse, .hub-fx-sun, .hub-fx-cloud, .hub-fx-loader { animation: none !important; }
        .hub-fx-ripple, .hub-fx-particle, .hub-fx-press, .hub-fx-check { animation-duration: 0.2s !important; }
        .view.fx-enter, .view.fx-enter > * { animation-duration: 0.2s !important; }
    }
    