:root {
            --bg-deep: #1f0d1a;
            --bg-card: rgba(255, 252, 254, 0.98);
            --text-primary: #2d1a24;
            --text-secondary: #7a5a6a;
            --accent: #f0a0b8;
            --accent-dark: #d4788f;
            --accent-rose: #e8b4c0;
            --btn-primary: #d4788f;
            --btn-primary-end: #b85a72;
            --btn-shadow: rgba(180, 80, 110, 0.3);
            --border-subtle: rgba(220, 160, 180, 0.35);
            --pink-glow: rgba(240, 140, 170, 0.4);
            --soft-pink: #fef5f8;
            --rose-gold: #d4a0a8;
        }

        * {
            box-sizing: border-box;
        }

        /* ===== 修复核心：禁止水平滚动 ===== */
        html {
            overflow-x: hidden;
            overflow-y: auto;
            max-width: 100vw;
            width: 100%;
            min-height: 100%;
            -webkit-text-size-adjust: 100%;
        }

        body {
            margin: 0;
            min-height: 100vh;
            /* 使用 vh 确保铺满屏幕 */
            width: 100%;
            max-width: 100vw;
            overflow-x: hidden;
            overflow-y: auto;
            /* 限制触摸动作为垂直方向 */
            touch-action: pan-y;
            -webkit-overflow-scrolling: touch;

            font-family: 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
            color: #2b1f24;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;

            background: linear-gradient(175deg, #1f0d1a 0%, #2a1322 30%, #23101d 60%, #1a0b15 100%);
            display: flex;
            justify-content: center;
            align-items: flex-start;
            position: relative;
            -webkit-tap-highlight-color: transparent;
            user-select: none;
            -webkit-user-select: none;
            -ms-user-select: none;
        }

        body::before {
            content: '';
            position: fixed;
            inset: 0;
            pointer-events: none;
            z-index: 0;
            background-image:
                radial-gradient(circle at 50% 18%, rgba(240, 160, 190, 0.09) 0%, transparent 55%),
                radial-gradient(circle at 22% 70%, rgba(220, 150, 180, 0.06) 0%, transparent 45%),
                radial-gradient(circle at 78% 30%, rgba(245, 170, 200, 0.07) 0%, transparent 50%),
                radial-gradient(circle at 65% 55%, rgba(255, 200, 220, 0.04) 0%, transparent 40%);
            background-size: 100% 100%, 100% 100%, 100% 100%, 100% 100%;
            background-repeat: no-repeat;
        }

        body::after {
            content: '';
            position: fixed;
            inset: 0;
            pointer-events: none;
            z-index: 0;
            opacity: 0.03;
            background-image:
                linear-gradient(rgba(255, 220, 235, 0.6) 1px, transparent 1px),
                linear-gradient(90deg, rgba(255, 220, 235, 0.6) 1px, transparent 1px);
            background-size: 60px 60px;
            background-position: center center;
        }

        /* 飘落花瓣粒子 */
        .petal-particle {
            position: fixed;
            pointer-events: none;
            z-index: 0;
            animation: petalFall linear infinite;
            opacity: 0.5;
            font-size: 18px;
            /* 确保花瓣不会导致水平溢出 */
            max-width: 30px;
            max-height: 30px;
            overflow: hidden;
        }

        @keyframes petalFall {
            0% {
                transform: translateY(-10vh) translateX(0) rotate(0deg);
                opacity: 0.6;
            }
            25% {
                transform: translateY(25vh) translateX(30px) rotate(90deg);
                opacity: 0.45;
            }
            50% {
                transform: translateY(50vh) translateX(-20px) rotate(180deg);
                opacity: 0.35;
            }
            75% {
                transform: translateY(75vh) translateX(25px) rotate(270deg);
                opacity: 0.2;
            }
            100% {
                transform: translateY(105vh) translateX(-10px) rotate(360deg);
                opacity: 0.05;
            }
        }

        .page {
            width: 100%;
            max-width: 520px;
            min-height: 100vh;
            position: relative;
            z-index: 1;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 30px 18px;
            /* 确保不溢出 */
            overflow: visible;
        }

        .page::before {
            content: '';
            position: absolute;
            inset: -60px -100px auto -100px;
            height: 380px;
            background: radial-gradient(ellipse at 50% 0%, rgba(240, 160, 190, 0.16) 0%, rgba(220, 140, 170, 0.06) 40%, transparent 72%);
            pointer-events: none;
            z-index: 0;
        }

        .hero {
            position: relative;
            z-index: 2;
            width: 100%;
            animation: fadeInUp 0.7s cubic-bezier(0.22, 0.61, 0.36, 1) both;
            /* 确保不溢出 */
            max-width: 100%;
            overflow: visible;
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(28px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .card {
            background: var(--bg-card);
            border-radius: 24px;
            padding: 44px 24px 38px;
            text-align: center;
            box-shadow:
                0 2px 0 0 var(--accent) inset,
                0 20px 48px rgba(30, 8, 20, 0.3),
                0 4px 12px rgba(30, 8, 20, 0.15);
            border: 1px solid var(--border-subtle);
            position: relative;
            overflow: hidden;
            /* 确保卡片不溢出 */
            max-width: 100%;
        }

        .card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 70px;
            height: 3px;
            background: linear-gradient(90deg, transparent, var(--accent-rose), var(--accent), var(--accent-rose), transparent);
            border-radius: 0 0 4px 4px;
        }

        .card::after {
            content: '';
            position: absolute;
            top: 40px;
            right: 50px;
            width: 80px;
            height: 80px;
            background: radial-gradient(circle, rgba(240, 160, 190, 0.08) 0%, transparent 70%);
            pointer-events: none;
            border-radius: 50%;
        }

        /* 卡片角落爱心装饰 */
        .card-corner-decor {
            position: absolute;
            pointer-events: none;
            z-index: 0;
            opacity: 0.12;
            font-size: 36px;
        }
        .card-corner-decor.top-left {
            top: 8px;
            left: 14px;
        }
        .card-corner-decor.bottom-right {
            bottom: 8px;
            right: 14px;
        }

        .icon-cute {
            display: inline-block;
            width: 56px;
            height: 56px;
            margin-bottom: 8px;
            position: relative;
            z-index: 1;
        }

        .icon-cute svg {
            width: 100%;
            height: 100%;
        }

        h1 {
            margin: 6px 0 16px;
            color: #2d1a24;
            font-size: 28px;
            line-height: 1.3;
            font-weight: 700;
            letter-spacing: 0.04em;
            /* ===== 修复：移除 nowrap，允许换行，防止溢出 ===== */
            white-space: normal;
            word-break: break-word;
            overflow-wrap: break-word;
            position: relative;
            z-index: 1;
            max-width: 100%;
        }

        h1 .highlight {
            color: #d4788f;
            font-weight: 800;
            position: relative;
        }

        h1 .highlight::after {
            content: '';
            position: absolute;
            bottom: 2px;
            left: 0;
            right: 0;
            height: 6px;
            background: rgba(240, 160, 190, 0.25);
            border-radius: 3px;
            z-index: -1;
        }

        .text {
            font-size: 16px;
            line-height: 1.75;
            color: #7a5a6a;
            margin: 0 0 24px;
            position: relative;
            z-index: 1;
            letter-spacing: 0.02em;
            max-width: 100%;
            overflow-wrap: break-word;
            word-break: break-word;
        }

        .text strong {
            color: #3d1a28;
            font-weight: 700;
        }

        .text .badge-pink {
            display: inline-block;
            background: #fef0f4;
            color: #c06078;
            font-size: 13px;
            padding: 4px 11px;
            border-radius: 14px;
            margin: 0 3px;
            font-weight: 600;
            letter-spacing: 0.03em;
            white-space: nowrap;
            border: 1px solid rgba(220, 150, 170, 0.3);
            max-width: 100%;
        }

        .text .badge-rose {
            display: inline-block;
            background: #fff5f7;
            color: #b85a72;
            font-size: 13px;
            padding: 4px 11px;
            border-radius: 14px;
            margin: 0 3px;
            font-weight: 600;
            letter-spacing: 0.03em;
            white-space: nowrap;
            border: 1px solid rgba(210, 130, 150, 0.35);
            max-width: 100%;
        }

        .btn {
            display: block;
            width: 100%;
            border: 0;
            border-radius: 16px;
            padding: 18px 10px;
            background: linear-gradient(135deg, #d4788f 0%, #b85a72 100%);
            box-shadow: 0 10px 24px var(--btn-shadow), 0 2px 6px rgba(30, 8, 20, 0.12);
            color: #fff;
            font-size: 21px;
            font-weight: 700;
            text-decoration: none;
            white-space: nowrap;
            cursor: pointer;
            transition: all 0.25s ease;
            position: relative;
            z-index: 1;
            letter-spacing: 0.03em;
            border: 1px solid rgba(255, 255, 255, 0.15);
            -webkit-tap-highlight-color: transparent;
            overflow: hidden;
            max-width: 100%;
            text-overflow: ellipsis;
        }

        .btn:hover {
            background: linear-gradient(135deg, #e0889e 0%, #c8687e 100%);
            box-shadow: 0 14px 30px rgba(180, 80, 110, 0.4), 0 3px 8px rgba(30, 8, 20, 0.18);
            transform: translateY(-2px);
        }

        .btn:active {
            transform: translateY(0);
            box-shadow: 0 6px 16px var(--btn-shadow), 0 1px 3px rgba(30, 8, 20, 0.15);
            transition: all 0.1s ease;
        }

        /* 主按钮发光动画 */
        .btn-primary-glow {
            animation: pinkGlow 3s ease-in-out infinite;
        }

        @keyframes pinkGlow {
            0%,
            100% {
                box-shadow: 0 10px 24px rgba(180, 80, 110, 0.3), 0 2px 6px rgba(30, 8, 20, 0.12);
            }
            50% {
                box-shadow: 0 16px 36px rgba(210, 100, 140, 0.5), 0 4px 14px rgba(30, 8, 20, 0.2);
            }
        }

        .btn-secondary {
            margin-top: 14px;
            background: transparent;
            color: #b85a72;
            border: 2px solid #e8c8d2;
            box-shadow: 0 4px 12px rgba(30, 8, 20, 0.04);
            font-weight: 600;
            font-size: 18px;
            letter-spacing: 0.03em;
        }

        .btn-secondary:hover {
            background: rgba(210, 120, 150, 0.05);
            border-color: #d4a0b0;
            box-shadow: 0 8px 20px rgba(30, 8, 20, 0.08);
            color: #8b3d52;
        }

        .btn-secondary:active {
            background: rgba(210, 120, 150, 0.1);
            border-color: #c890a0;
        }

        .btn-accent {
            margin-top: 14px;
            background: linear-gradient(135deg, #f0a0b8 0%, #d4788f 100%);
            color: #fff;
            border: 1px solid rgba(255, 255, 255, 0.25);
            box-shadow: 0 10px 24px rgba(200, 110, 140, 0.35), 0 2px 6px rgba(30, 8, 20, 0.12);
            font-weight: 700;
            font-size: 18px;
            animation: accentGlow 3.5s ease-in-out infinite;
        }

        @keyframes accentGlow {
            0%,
            100% {
                box-shadow: 0 10px 24px rgba(200, 110, 140, 0.35), 0 2px 6px rgba(30, 8, 20, 0.12);
            }
            50% {
                box-shadow: 0 16px 34px rgba(220, 130, 160, 0.5), 0 4px 14px rgba(30, 8, 20, 0.18);
            }
        }

        .btn-accent:hover {
            background: linear-gradient(135deg, #f5b5c8 0%, #e0889e 100%);
            box-shadow: 0 14px 30px rgba(200, 110, 140, 0.45), 0 3px 8px rgba(30, 8, 20, 0.18);
            transform: translateY(-2px);
            color: #fff;
            animation: none;
        }

        .btn-accent:active {
            transform: translateY(0);
            box-shadow: 0 6px 16px rgba(200, 110, 140, 0.35), 0 1px 3px rgba(30, 8, 20, 0.15);
            transition: all 0.1s ease;
            animation: none;
        }

        /* 主按钮之间的间距 */
        .btn+.btn {
            margin-top: 16px;
        }

        .divider-section {
            display: flex;
            align-items: center;
            gap: 10px;
            margin: 20px 0 6px;
            position: relative;
            z-index: 1;
            max-width: 100%;
        }

        .divider-section .divider-line {
            flex: 1;
            height: 1px;
            background: linear-gradient(90deg, transparent, rgba(210, 150, 170, 0.4), transparent);
            min-width: 10px;
        }

        .divider-section .divider-label {
            font-size: 13px;
            color: #b0909a;
            letter-spacing: 0.06em;
            font-weight: 500;
            white-space: nowrap;
        }

        .foot {
            margin-top: 22px;
            color: #a08894;
            font-size: 14px;
            font-weight: 500;
            letter-spacing: 0.04em;
            position: relative;
            z-index: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            flex-wrap: wrap;
            max-width: 100%;
        }

        .foot .dot-separator {
            display: inline-block;
            width: 5px;
            height: 5px;
            border-radius: 50%;
            background: #e8b4c0;
            margin: 0 4px;
            flex-shrink: 0;
        }

        .foot .status-indicator {
            display: inline-flex;
            align-items: center;
            gap: 5px;
            color: #c06078;
            font-weight: 600;
            white-space: nowrap;
        }

        .foot .status-dot {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: #f0a0b8;
            box-shadow: 0 0 8px rgba(240, 140, 170, 0.6);
            animation: pulse-dot 2s ease-in-out infinite;
            flex-shrink: 0;
        }

        @keyframes pulse-dot {
            0%,
            100% {
                box-shadow: 0 0 6px rgba(240, 140, 170, 0.5);
            }
            50% {
                box-shadow: 0 0 18px rgba(240, 140, 170, 0.85);
            }
        }

        /* ========== 内置浏览器引导遮罩 ========== */
        .browser-guide-overlay {
            position: fixed;
            inset: 0;
            background: rgba(20, 8, 14, 0.94);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            z-index: 9999;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 28px;
            text-align: center;
            color: #fff;
            overflow: hidden;
        }

        .browser-guide-overlay .guide-icon {
            width: 72px;
            height: 72px;
            margin-bottom: 18px;
            animation: floatIcon 2.5s ease-in-out infinite;
        }

        @keyframes floatIcon {
            0%,
            100% {
                transform: translateY(0);
            }
            50% {
                transform: translateY(-10px);
            }
        }

        .browser-guide-overlay h2 {
            font-size: 24px;
            font-weight: 700;
            margin: 0 0 10px;
            color: #fff;
            letter-spacing: 0.03em;
            max-width: 100%;
            word-break: break-word;
        }

        .browser-guide-overlay p {
            font-size: 15px;
            line-height: 1.8;
            color: rgba(255, 255, 255, 0.82);
            margin: 0 0 20px;
            max-width: 300px;
            word-break: break-word;
        }

        .browser-guide-overlay .guide-steps {
            display: flex;
            flex-direction: column;
            gap: 10px;
            margin-bottom: 20px;
            text-align: left;
            background: rgba(255, 255, 255, 0.08);
            border-radius: 14px;
            padding: 16px 20px;
            max-width: 280px;
            width: 100%;
        }

        .browser-guide-overlay .guide-step {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 14px;
            color: rgba(255, 255, 255, 0.9);
            word-break: break-word;
        }

        .browser-guide-overlay .step-num {
            width: 24px;
            height: 24px;
            border-radius: 50%;
            background: #f0a0b8;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 12px;
            font-weight: 700;
            flex-shrink: 0;
            color: #fff;
        }

        /* ========== 电脑端屏蔽遮罩 ========== */
        .pc-block-overlay {
            position: fixed;
            inset: 0;
            background: rgba(20, 8, 14, 0.95);
            backdrop-filter: blur(14px);
            -webkit-backdrop-filter: blur(14px);
            z-index: 99999;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 30px;
            text-align: center;
            color: #fff;
            overflow: hidden;
        }

        .pc-block-overlay .block-icon {
            width: 80px;
            height: 80px;
            margin-bottom: 20px;
            opacity: 0.9;
        }

        .pc-block-overlay h2 {
            font-size: 26px;
            font-weight: 700;
            margin: 0 0 12px;
            color: #fff;
            letter-spacing: 0.03em;
            max-width: 100%;
            word-break: break-word;
        }

        .pc-block-overlay p {
            font-size: 16px;
            line-height: 1.7;
            color: rgba(255, 255, 255, 0.8);
            margin: 0;
            max-width: 300px;
            word-break: break-word;
        }

        /* 响应式调整 */
        @media (max-width: 390px) {
            .page {
                padding: 20px 12px;
            }
            .card {
                padding: 36px 14px 28px;
                border-radius: 20px;
            }
            h1 {
                font-size: 24px;
            }
            .text {
                font-size: 14px;
                line-height: 1.65;
            }
            .btn {
                font-size: 18px;
                padding: 15px 8px;
                border-radius: 14px;
            }
            .btn+.btn {
                margin-top: 12px;
            }
            .btn-secondary {
                font-size: 16px;
            }
            .btn-accent {
                font-size: 16px;
                padding: 15px 8px;
            }
            .foot {
                font-size: 12px;
            }
            .divider-section .divider-label {
                font-size: 11px;
            }
            .icon-cute {
                width: 46px;
                height: 46px;
            }
            .card-corner-decor {
                font-size: 26px;
            }
            .browser-guide-overlay h2 {
                font-size: 20px;
            }
            .browser-guide-overlay p {
                font-size: 13px;
            }
            .browser-guide-overlay .guide-step {
                font-size: 12px;
            }
            .browser-guide-overlay .guide-icon {
                width: 56px;
                height: 56px;
            }
            .pc-block-overlay h2 {
                font-size: 22px;
            }
            .pc-block-overlay p {
                font-size: 14px;
            }
            .pc-block-overlay .block-icon {
                width: 60px;
                height: 60px;
            }
        }

        @media (max-height: 720px) {
            .page {
                padding-top: 5vh;
                padding-bottom: 4vh;
            }
            .card {
                padding: 30px 18px 26px;
            }
            .btn {
                padding: 14px 8px;
            }
            .btn+.btn {
                margin-top: 10px;
            }
            .btn-secondary,
            .btn-accent {
                margin-top: 10px;
            }
            .divider-section {
                margin: 14px 0 4px;
            }
            .browser-guide-overlay {
                padding: 20px;
            }
            .browser-guide-overlay .guide-steps {
                padding: 12px 16px;
                gap: 6px;
            }
            .pc-block-overlay {
                padding: 20px;
            }
        }

        @media (min-width: 520px) {
            .card {
                border-radius: 28px;
                padding: 48px 30px 42px;
            }
            h1 {
                font-size: 30px;
            }
            .text {
                font-size: 17px;
            }
            .btn {
                font-size: 22px;
            }
            .btn+.btn {
                margin-top: 18px;
            }
            .btn-secondary {
                font-size: 19px;
            }
            .btn-accent {
                font-size: 19px;
            }
            .browser-guide-overlay h2 {
                font-size: 26px;
            }
            .browser-guide-overlay p {
                font-size: 16px;
                max-width: 340px;
            }
            .pc-block-overlay h2 {
                font-size: 28px;
            }
            .pc-block-overlay p {
                font-size: 17px;
                max-width: 360px;
            }
        }

        /* 桌面端大屏幕适配 */
        @media (min-width: 1024px) {
            .page {
                max-width: 560px;
                padding: 40px 20px;
            }
            .card {
                border-radius: 30px;
                padding: 52px 36px 46px;
            }
            .petal-particle {
                font-size: 22px;
            }
            .btn+.btn {
                margin-top: 20px;
            }
        }
