        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
        }

        body {
            background: #FFF7E8;
            min-height: 100dvh;
            padding: 10px 10px;
        }

        .container {
            max-width: 400px;
            margin: 0 auto;
            background: #fff;
            border-radius: 20px;
            box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
            overflow: hidden;
        }


        /* ===== 顶部 ===== */
        .top {
            background: linear-gradient(135deg, #FFD100 0%, #FF9F00 100%);
            padding: 20px 20px 16px;
            text-align: center;
            color: #fff;
            position: relative;
        }

        .top-icon {
            width: 52px;
            height: 52px;
            border-radius: 50%;
            background: url('https://p11-flow-imagex-sign.byteimg.com/tos-cn-i-a9rns2rl98/rc_gen_image/7794ef8bf2ac4013b520b0e0be925503.jpeg~tplv-a9rns2rl98-downsize_watermark_1_5_b.png?lk3s=8e244e95&rcl=20260616135231AFD52EAB4FCB8E3A141E&rrcfp=827586d3&x-expires=2096949168&x-signature=LtdmVJQd51i4LYu0TBtDVTDFfvY%3D') center/cover no-repeat;
            margin: 0 auto 8px;
            border: 3px solid rgba(255, 255, 255, 0.85);
        }

        .top h2 {
            font-size: 18px;
            font-weight: 700;
            letter-spacing: -0.02em;
            line-height: 1.2;
        }

        .top p {
            font-size: 11px;
            opacity: 0.9;
            margin-top: 3px;
            line-height: 1.4;
        }

        /* ===== 顶部登录按钮 ===== */
        .login-pill {
            position: absolute;
            top: 12px;
            right: 14px;
            display: inline-flex;
            align-items: center;
            padding: 6px 16px;
            border-radius: 20px;
            font-size: 12px;
            font-weight: 600;
            transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
            cursor: pointer;
            text-decoration: none;
            z-index: 3;
        }

        .login-pill.logged-out {
            background: rgba(255, 255, 255, 0.92);
            color: #C2410C;
            border: 1px solid rgba(194, 65, 12, 0.15);
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 0 0 1px rgba(255, 255, 255, 0.3) inset;
        }

        .login-pill.logged-out:hover {
            background: #fff;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(255, 255, 255, 0.3) inset;
            transform: translateY(-1px);
        }

        .login-pill.logged-in {
            background: rgba(16, 185, 129, 0.85);
            color: #fff;
            border: none;
            box-shadow: 0 2px 8px rgba(16, 185, 129, 0.25);
        }

        .follow-btn {
            position: absolute;
            top: 52px;
            right: 14px;
            padding: 4px 12px;
            background: rgba(255, 255, 255, 0.92);
            color: #059669;
            font-size: 11px;
            font-weight: 700;
            border: 1px solid rgba(5, 150, 105, 0.2);
            border-radius: 12px;
            cursor: pointer;
            transition: all 0.2s;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
            z-index: 3;
        }

        .follow-btn:hover {
            background: rgba(255, 255, 255, 0.45);
            transform: translateY(-1px);
        }

        .follow-btn:active {
            transform: scale(0.96);
        }

        /* ===== 登录说明弹窗 ===== */
        .login-modal-overlay {
            display: none;
            position: fixed;
            inset: 0;
            background: rgba(0, 0, 0, 0.55);
            z-index: 1000;
            align-items: center;
            justify-content: center;
            padding: 16px;
        }

        .login-modal-overlay.show {
            display: flex;
        }

        .login-modal-box {
            width: 100%;
            max-width: 340px;
            background: #fff;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
            animation: modalIn 0.3s ease;
        }

        @keyframes modalIn {
            from {
                opacity: 0;
                transform: translateY(20px) scale(0.96);
            }

            to {
                opacity: 1;
                transform: translateY(0) scale(1);
            }
        }

        .login-modal-header {
            background: linear-gradient(135deg, #FFD100, #FF9F00);
            color: #fff;
            padding: 14px 18px;
            font-size: 16px;
            font-weight: 700;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .login-modal-body {
            padding: 18px;
        }

        .login-modal-img {
            width: 100%;
            border-radius: 12px;
            border: 1px solid #F1F5F9;
            display: block;
            margin-bottom: 14px;
            background: #F8FAFC;
            min-height: 120px;
            object-fit: contain;
        }

        .login-modal-desc {
            font-size: 12px;
            color: #64748B;
            line-height: 1.5;
            margin-bottom: 14px;
            padding: 10px 12px;
            background: #FFF7ED;
            border-radius: 10px;
            border: 1px dashed #FCD34D;
        }

        .login-modal-btns {
            display: flex;
            gap: 10px;
        }

        .login-modal-btn {
            flex: 1;
            padding: 11px 0;
            border-radius: 12px;
            font-size: 14px;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.2s;
            border: none;
            text-align: center;
        }

        .login-modal-btn.cancel {
            background: #F1F5F9;
            color: #64748B;
        }

        .login-modal-btn.cancel:hover {
            background: #E2E8F0;
        }

        .login-modal-btn.copy {
            background: linear-gradient(135deg, #FFD100, #FF9F00);
            color: #fff;
            box-shadow: 0 2px 10px rgba(255, 159, 0, 0.3);
        }

        /* ===== 周三免单弹窗 ===== */
        .weds-img {
            width: 70%;
            max-width: 240px;
            border-radius: 12px;
            display: block;
            margin: 0 auto 14px;
        }

        .weds-desc {
            font-size: 13px;
            color: #475569;
            line-height: 1.6;
            margin-bottom: 14px;
            padding: 12px;
            background: #FFF7ED;
            border: 1px solid #FCD34D;
            border-radius: 10px;
        }


        .login-modal-btn.copy:hover {
            transform: translateY(-1px);
            box-shadow: 0 4px 14px rgba(255, 159, 0, 0.4);
        }

        /* ===== 津贴领取面板 ===== */
        .subsidy-input-row {
            display: flex;
            gap: 8px;
            margin-top: 8px;
        }

        .subsidy-input {
            flex: 1;
            min-width: 0;
            padding: 12px 14px;
            border: 1.5px solid #E2E8F0;
            border-radius: 12px;
            font-size: 16px;
            background: #fff;
            outline: none;
            transition: border-color 0.2s;
        }

        .subsidy-input:focus {
            border-color: #FF9F00;
        }

        .subsidy-btn-start {
            flex-shrink: 0;
            padding: 12px 18px;
            background: linear-gradient(135deg, #FFD100, #FF9F00);
            color: #fff;
            border: none;
            border-radius: 12px;
            font-size: 13px;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.2s;
            box-shadow: 0 2px 8px rgba(255, 159, 0, 0.25);
            white-space: nowrap;
        }

        .subsidy-btn-login {
            flex-shrink: 0;
            padding: 12px 16px;
            background: #10B981;
            color: #fff;
            border: none;
            border-radius: 12px;
            font-size: 13px;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.2s;
            box-shadow: 0 2px 8px rgba(16, 185, 129, 0.25);
            white-space: nowrap;
        }

        .subsidy-btn-login:hover {
            transform: translateY(-1px);
            box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35);
        }

        .subsidy-btn-login:active {
            transform: scale(0.97);
        }

        .subsidy-btn-getlink {
            width: 100%;
            padding: 14px;
            background: linear-gradient(135deg, #FF9F00, #FF7A00);
            color: #fff;
            border: none;
            border-radius: 14px;
            font-size: 15px;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.2s;
            box-shadow: 0 3px 12px rgba(255, 159, 0, 0.3);
        }

        .subsidy-btn-getlink:hover {
            transform: translateY(-1px);
            box-shadow: 0 5px 18px rgba(255, 159, 0, 0.4);
        }

        .subsidy-btn-getlink:active {
            transform: scale(0.98);
        }

        .subsidy-btn-full {
            width: 100%;
            margin-top: 10px;
            justify-content: center;
        }

        .jinTie-status {
            margin-top: 8px;
            padding: 8px 14px;
            background: rgba(16, 185, 129, 0.1);
            border-radius: 10px;
            font-size: 13px;
            color: #059669;
            font-weight: 600;
            text-align: center;
        }

        .subsidy-btn-start:hover {
            transform: translateY(-1px);
            box-shadow: 0 4px 12px rgba(255, 159, 0, 0.35);
        }

        .subsidy-btn-start:active {
            transform: scale(0.97);
        }

        .subsidy-btn-start:disabled {
            opacity: 0.6;
            cursor: wait;
            transform: none;
        }

        .subsidy-warning {
            display: flex;
            align-items: center;
            gap: 4px;
            font-size: 12px;
            color: #EF4444;
            font-weight: 600;
            margin-top: 8px;
            padding: 8px 12px;
            background: #FEF2F2;
            border-radius: 10px;
            border: 1px solid #FECACA;
        }

        .subsidy-notes {
            margin-top: 14px;
            padding: 14px;
            background: #FFFBEB;
            border-radius: 12px;
            border: 1px solid #FDE68A;
            font-size: 12px;
            color: #92400E;
            line-height: 1.7;
        }

        .subsidy-notes-title {
            font-weight: 700;
            margin-bottom: 6px;
            display: flex;
            align-items: center;
            gap: 4px;
        }

        .subsidy-link-btn {
            display: inline-block;
            background: #FFF;
            color: #E65100;
            padding: 2px 10px;
            border-radius: 14px;
            font-weight: 700;
            font-size: 12px;
            text-decoration: none;
            border: 1.5px solid #F97316;
            white-space: nowrap;
            transition: all 0.2s;
        }

        .subsidy-link-btn:hover {
            background: #FFF7ED;
            box-shadow: 0 2px 8px rgba(249, 115, 22, 0.25);
        }

        .subsidy-link-btn:active {
            transform: scale(0.96);
        }

        .subsidy-result {
            margin-top: 14px;
            padding: 14px;
            border-radius: 12px;
            font-size: 13px;
            line-height: 1.6;
            display: none;
        }

        .subsidy-result.success {
            background: #F0FDF4;
            color: #166534;
            border: 1px solid #BBF7D0;
            display: block;
        }

        .subsidy-result.error {
            background: #FEF2F2;
            color: #991B1B;
            border: 1px solid #FECACA;
            display: block;
        }

        .subsidy-result.info {
            background: #EFF6FF;
            color: #1E40AF;
            border: 1px solid #BFDBFE;
            display: block;
        }

        /* ===== 页签导航 ===== */
        .tab-bar {
            display: flex;
            gap: 4px;
            margin: 0 12px;
            background: #F3F4F6;
            border-radius: 14px;
            padding: 4px;
            position: relative;
            top: -10px;
            z-index: 2;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
        }

        .tab-btn {
            flex: 1;
            text-align: center;
            padding: 9px 4px;
            font-size: 12px;
            font-weight: 700;
            border: 1.5px solid transparent;
            background: rgba(255, 255, 255, 0.55);
            color: #888;
            border-radius: 11px;
            cursor: pointer;
            transition: all 0.25s;
            white-space: nowrap;
            position: relative;
        }

        .tab-btn:hover {
            color: #FF9F00;
            background: rgba(255, 255, 255, 0.9);
        }

        .tab-btn.active {
            background: linear-gradient(135deg, #FF9F00, #FF6B00);
            color: #fff;
            border-color: #FF9F00;
            box-shadow: 0 2px 10px rgba(255, 107, 0, 0.35);
            letter-spacing: 0.5px;
        }

        /* 卡九张津贴页签 NEW 气泡 */
        .tab-btn[data-tab="jinTie"]::after {
            content: 'NEW';
            position: absolute;
            top: -6px;
            right: -4px;
            font-size: 10px;
            font-weight: 700;
            color: #fff;
            background: #FF3B30;
            padding: 2px 6px;
            border-radius: 8px;
            line-height: 1;
            pointer-events: none;
            animation: newBounce 1.5s ease-in-out infinite;
        }

        /* 返现检测页签 NEW 气泡 */
        .tab-btn[data-tab="cashback"]::after {
            content: 'NEW';
            position: absolute;
            top: -6px;
            right: -4px;
            font-size: 10px;
            font-weight: 700;
            color: #fff;
            background: #FF3B30;
            padding: 2px 6px;
            border-radius: 8px;
            line-height: 1;
            pointer-events: none;
            animation: newBounce 1.5s ease-in-out infinite;
        }

        @keyframes newBounce {

            0%,
            100% {
                transform: translateY(0);
            }

            50% {
                transform: translateY(-3px);
            }
        }

        /* 页签内容区 */
        .tab-panel {
            display: none;
            animation: fadeInUp 0.3s ease;
        }

        .tab-panel.active {
            display: block;
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(8px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @media (prefers-reduced-motion: reduce) {
            .tab-panel {
                animation: none;
            }
        }

        /* ===== 红包入口卡片 ===== */
        .entry-card {
            margin: 2px 16px 8px;
            padding: 8px 12px;
            background: #ffffff;
            border-radius: 20px;
            border: 1px solid #e2e8f0;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
        }

        .entry-box {
            display: flex;
            flex-wrap: wrap;
            gap: 6px;
        }

        .entry-btn {
            flex: 1;
            min-width: 0;
            height: 36px;
            border: none;
            border-radius: 12px;
            font-size: 12px;
            font-weight: 600;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 4px;
            transition: background 0.15s, transform 0.15s, box-shadow 0.15s;
            box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
        }

        .entry-btn:active {
            transform: scale(0.96);
        }

        .official-btn {
            background: linear-gradient(135deg, #FF9F00, #FF6B00);
            color: #fff;
            box-shadow: 0 2px 8px rgba(255, 107, 0, 0.25);
        }

        .redpack-btn {
            background: #EF4444;
            color: #fff;
            position: relative;
        }

        .redpack-btn .badge {
            position: absolute;
            top: -6px;
            right: -6px;
            background: #F59E0B;
            color: #fff;
            font-size: 10px;
            font-weight: 700;
            padding: 2px 6px;
            border-radius: 20px;
            line-height: 1.2;
        }

        .subsidy-btn {
            background: #10B981;
            color: #fff;
        }

        /* ===== 月卡横幅按钮 ===== */
        .month-card-btn {
            display: flex;
            align-items: center;
            gap: 6px;
            margin-top: 8px;
            padding: 7px 12px;
            background: linear-gradient(135deg, #FFF7ED, #FEF3C7);
            border: 1.5px solid #FCD34D;
            border-radius: 12px;
            text-decoration: none;
            cursor: pointer;
            transition: all 0.2s;
            position: relative;
            overflow: hidden;
        }

        .month-card-btn:hover {
            border-color: #F59E0B;
            box-shadow: 0 2px 12px rgba(245, 158, 11, 0.2);
        }

        .month-card-btn:active {
            transform: scale(0.98);
        }

        /* 月卡攻略气泡 */
        .strategy-link {
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 4px;
            margin-top: 10px;
            padding: 4px 0;
            background: linear-gradient(135deg, #EFF6FF, #DBEAFE);
            border: 1px solid #93C5FD;
            border-radius: 10px;
            font-size: 11px;
            font-weight: 600;
            color: #2563EB;
            text-decoration: none;
            cursor: pointer;
            transition: all 0.2s;
        }

        .strategy-link::before {
            content: '';
            position: absolute;
            top: -5px;
            left: 50%;
            transform: translateX(-50%) rotate(45deg);
            width: 8px;
            height: 8px;
            background: #EFF6FF;
            border-left: 1px solid #93C5FD;
            border-top: 1px solid #93C5FD;
            border-radius: 1px 0 0 0;
        }

        .strategy-link:hover {
            background: linear-gradient(135deg, #DBEAFE, #BFDBFE);
            border-color: #60A5FA;
            box-shadow: 0 2px 8px rgba(37, 99, 235, 0.12);
        }

        .strategy-link:hover::before {
            background: #DBEAFE;
            border-color: #60A5FA;
        }

        .strategy-link:active {
            transform: scale(0.98);
        }

        .month-card-icon {
            font-size: 18px;
            flex-shrink: 0;
        }

        .month-card-main {
            font-size: 12px;
            font-weight: 600;
            color: #92400E;
            flex: 1;
        }

        .month-card-price {
            display: inline;
            color: #EA580C;
            font-weight: 800;
            font-size: 14px;
        }

        .month-card-year {
            display: inline;
            font-size: 10px;
            font-weight: 600;
            color: #D97706;
            background: rgba(251, 191, 36, 0.18);
            padding: 1px 5px;
            border-radius: 4px;
            margin-left: 4px;
        }

        .month-card-tag {
            font-size: 10px;
            font-weight: 600;
            color: #B45309;
            background: rgba(245, 158, 11, 0.15);
            padding: 3px 8px;
            border-radius: 20px;
            white-space: nowrap;
            position: relative;
            top: 2px;
            flex-shrink: 0;
        }

        .month-card-corner {
            position: absolute;
            top: -1px;
            right: -1px;
            font-size: 9px;
            font-weight: 700;
            color: #fff;
            background: linear-gradient(135deg, #F59E0B, #EA580C);
            padding: 2px 8px 2px 10px;
            border-radius: 0 12px 0 12px;
            line-height: 1.4;
            letter-spacing: 0.5px;
            box-shadow: 0 1px 4px rgba(234, 88, 12, 0.3);
        }

        /* 月卡按钮微光扫过动画 */
        .month-card-btn::after {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 60%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
            animation: cardShine 3s ease-in-out infinite;
        }

        @keyframes cardShine {
            0% {
                left: -100%;
            }

            100% {
                left: 200%;
            }
        }

        /* ===== 券包合集按钮 ===== */
        .voucher-btn {
            display: block;
            margin-top: 6px;
            padding: 10px 14px;
            background: linear-gradient(135deg, #FDF2F8, #FCE7F3);
            border: 1.5px solid transparent;
            border-radius: 12px;
            text-decoration: none;
            cursor: pointer;
            transition: all 0.25s;
            position: relative;
            overflow: hidden;
            background-clip: padding-box;
        }

        .voucher-btn::before {
            content: '';
            position: absolute;
            inset: 0;
            border-radius: 12px;
            padding: 1.5px;
            background: linear-gradient(135deg, #F472B6, #EC4899, #F472B6);
            -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
            mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
            -webkit-mask-composite: xor;
            mask-composite: exclude;
            animation: voucherBorder 3s ease-in-out infinite;
        }

        @keyframes voucherBorder {

            0%,
            100% {
                opacity: 0.5;
            }

            50% {
                opacity: 1;
            }
        }

        .voucher-btn::after {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 50%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
            animation: voucherShine 3.5s ease-in-out infinite;
        }

        @keyframes voucherShine {
            0% {
                left: -100%;
            }

            100% {
                left: 200%;
            }
        }

        .voucher-btn:hover {
            border-color: #EC4899;
            box-shadow: 0 2px 16px rgba(236, 72, 153, 0.18);
            transform: translateY(-1px);
        }

        .voucher-btn:active {
            transform: scale(0.98);
        }

        .voucher-body {
            position: relative;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .voucher-top {
            display: flex;
            flex-direction: column;
            gap: 6px;
            align-items: flex-start;
            flex: 1;
        }

        .voucher-main {
            font-size: 13px;
            font-weight: 700;
            letter-spacing: 0.3px;
            background: linear-gradient(135deg, #BE185D, #831843);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .voucher-icons {
            display: flex;
            gap: 5px;
            flex-wrap: wrap;
        }

        .voucher-icons span {
            font-size: 10px;
            font-weight: 600;
            color: #831843;
            background: rgba(236, 72, 153, 0.1);
            padding: 3px 8px;
            border-radius: 10px;
            white-space: nowrap;
        }

        .voucher-tag {
            font-size: 10px;
            font-weight: 700;
            color: #fff;
            background: linear-gradient(135deg, #EC4899, #DB2777);
            padding: 3px 8px;
            border-radius: 20px;
            white-space: nowrap;
            flex-shrink: 0;
            box-shadow: 0 1px 4px rgba(236, 72, 153, 0.25);
            animation: voucherTagPulse 2s ease-in-out infinite;
        }

        @keyframes voucherTagPulse {

            0%,
            100% {
                transform: scale(1);
                box-shadow: 0 1px 4px rgba(236, 72, 153, 0.25);
            }

            50% {
                transform: scale(1.06);
                box-shadow: 0 2px 10px rgba(236, 72, 153, 0.45);
            }
        }

        .entry-hint {
            width: 100%;
            font-size: 11px;
            color: #94a3b8;
            text-align: center;
            margin-top: 6px;
        }

        .video-link {
            display: inline-block;
            margin-top: 3px;
            padding: 3px 12px;
            color: #fff;
            background: linear-gradient(135deg, #FB7299, #FF6B00);
            border-radius: 20px;
            font-size: 11px;
            font-weight: 700;
            cursor: pointer;
            text-decoration: none;
            animation: videoPulse 2s ease-in-out infinite;
        }

        .video-link:hover {
            box-shadow: 0 0 16px rgba(251, 114, 153, 0.5);
            transform: scale(1.04);
        }

        @keyframes videoPulse {

            0%,
            100% {
                box-shadow: 0 0 4px rgba(251, 114, 153, 0.3);
                transform: scale(1);
            }

            50% {
                box-shadow: 0 0 20px rgba(251, 114, 153, 0.7), 0 0 40px rgba(255, 107, 0, 0.2);
                transform: scale(1.08);
            }
        }

        /* ===== 视频教程弹窗 - 哔哩哔哩 TV 风格 ===== */
        .video-popup {
            width: 320px !important;
            padding: 0 !important;
            background: #1a1a1a;
            border-radius: 20px;
            box-shadow: 0 0 0 3px rgba(251, 114, 153, 0.15), 0 0 60px rgba(251, 114, 153, 0.1), 0 20px 60px rgba(0, 0, 0, 0.5);
            overflow: hidden;
            position: relative;
        }

        /* 顶部装饰条 */
        .video-popup::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 3px;
            background: linear-gradient(90deg, #FB7299, #fc8bab, #FB7299);
            z-index: 3;
        }

        .video-popup-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 16px 20px 12px;
            background: #1a1a1a;
        }

        .video-popup-brand {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 15px;
            font-weight: 600;
            color: #FB7299;
        }

        .video-popup-brand svg {
            width: 22px;
            height: 22px;
        }

        .video-popup-close {
            width: 32px;
            height: 32px;
            border: none;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.1);
            color: #aaa;
            font-size: 18px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background 0.15s, color 0.15s;
            line-height: 1;
        }

        .video-popup-close:hover {
            background: rgba(255, 255, 255, 0.2);
            color: #fff;
        }

        .video-player-frame {
            margin: 0 5px;
            padding: 3px;
            background: linear-gradient(135deg, rgba(251, 114, 153, 0.3), rgba(35, 183, 229, 0.2));
            border-radius: 6px;
            box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.3);
        }

        .video-wrapper {
            position: relative;
            width: 100%;
            padding-bottom: 90%;
            border-radius: 4px;
            overflow: hidden;
            background: #000;
            box-shadow: 0 0 30px rgba(251, 114, 153, 0.08);
        }

        .video-wrapper iframe {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            border: none;
        }

        .video-popup .popup-title {
            padding: 16px 20px 10px;
            margin-bottom: 0;
            color: #FB7299;
            font-size: 16px;
        }

        .video-popup .popup-close {
            top: 14px;
            right: 16px;
            color: #aaa;
            font-size: 20px;
            width: 32px;
            height: 32px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.1);
            display: flex;
            align-items: center;
            justify-content: center;
            line-height: 1;
        }

        .video-popup-footer {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 12px 20px 16px;
            background: #1a1a1a;
        }

        .video-popup-footer .bilibili-tv {
            font-size: 11px;
            color: #666;
            letter-spacing: 1px;
        }

        .video-popup-footer .open-bilibili {
            font-size: 12px;
            color: #FB7299;
            cursor: pointer;
            text-decoration: none;
            transition: opacity 0.15s;
        }

        .video-popup-footer .open-bilibili:hover {
            opacity: 0.8;
        }

        .video-copy-link,
        .video-url-box,
        .video-open-btn,
        .video-copy-btn,
        .video-copy-ok {
            display: none;
        }

        /* ===== 公告栏 ===== */
        .notice-card {
            margin: 0 16px 12px;
            background: linear-gradient(135deg, #FFF8ED 0%, #FFF1D6 100%);
            border: 1px solid #FCD34D;
            border-radius: 12px;
            padding: 10px 14px;
            position: relative;
            overflow: hidden;
            cursor: pointer;
            user-select: none;
            transition: padding 0.3s;
        }

        .notice-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 4px;
            height: 100%;
            background: linear-gradient(180deg, #F59E0B, #EA580C);
            border-radius: 4px 0 0 4px;
        }

        .notice-card.open {
            padding: 14px 16px;
            cursor: default;
        }

        .notice-card.open .notice-preview {
            font-weight: 700;
            font-size: 12px;
        }

        .notice-header {
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .notice-icon {
            font-size: 14px;
            flex-shrink: 0;
        }

        .notice-preview {
            font-size: 11px;
            color: #92400E;
            font-weight: 500;
            flex: 1;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            min-width: 0;
        }

        .notice-toggle {
            font-size: 10px;
            color: #F59E0B;
            background: rgba(245, 158, 11, 0.12);
            padding: 2px 8px;
            border-radius: 10px;
            font-weight: 600;
            flex-shrink: 0;
            white-space: nowrap;
            transition: background 0.2s;
        }

        .notice-card:hover .notice-toggle {
            background: rgba(245, 158, 11, 0.22);
        }

        .notice-body {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.35s ease, margin-top 0.35s ease, opacity 0.25s;
            opacity: 0;
        }

        .notice-card.open .notice-body {
            max-height: 300px;
            margin-top: 10px;
            opacity: 1;
        }

        .notice-content {
            font-size: 12px;
            color: #78350F;
            line-height: 1.7;
            padding-left: 20px;
        }

        .notice-content p {
            margin-bottom: 6px;
        }

        .notice-content p:last-child {
            margin-bottom: 0;
        }

        .notice-content .highlight {
            color: #DC2626;
            font-weight: 600;
        }

        /* ===== 领取异常提示 ===== */
        .abnormal-tip {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 8px;
            margin: 0 16px 10px;
            padding: 8px 12px;
            background: #FEF2F2;
            border: 1px solid #FECACA;
            border-radius: 10px;
            font-size: 12px;
        }

        .abnormal-tip-text {
            color: #991B1B;
            font-weight: 500;
            flex: 1;
            min-width: 0;
        }

        .abnormal-tip-btn {
            display: inline-flex;
            align-items: center;
            padding: 5px 14px;
            background: linear-gradient(135deg, #EF4444, #DC2626);
            color: #fff;
            font-size: 11px;
            font-weight: 600;
            border-radius: 8px;
            text-decoration: none;
            white-space: nowrap;
            flex-shrink: 0;
            box-shadow: 0 2px 6px rgba(220, 38, 38, 0.25);
            transition: transform 0.1s;
        }

        .abnormal-tip-btn:active {
            transform: scale(0.96);
        }

        /* ===== 主体内容 ===== */
        .content {
            padding: 0 18px 22px;
        }

        /* ===== 隐藏券专属样式 ===== */
        .input-section {
            margin-bottom: 16px;
        }

        .input-section label {
            font-size: 14px;
            color: #1e293b;
            font-weight: 600;
            display: block;
            margin-bottom: 8px;
            display: flex;
            align-items: center;
            gap: 6px;
            flex-wrap: nowrap;
        }

        .label-tag {
            font-size: 10px;
            color: #D97706;
            background: #FFFBEB;
            padding: 1px 5px;
            border-radius: 6px;
            border: 1px solid #FDE68A;
            font-weight: 500;
            white-space: nowrap;
            flex-shrink: 0;
        }

        .label-icon {
            font-size: 18px;
        }

        .input-wrapper {
            position: relative;
        }

        .input-wrapper textarea {
            width: 100%;
            height: 90px;
            border: 1.5px solid #e2e8f0;
            border-radius: 16px;
            padding: 12px 14px;
            font-size: 16px;
            color: #1e293b;
            background: #f8fafc;
            outline: none;
            resize: none;
            transition: all 0.2s;
            line-height: 1.6;
        }

        .input-wrapper textarea:focus {
            border-color: #FF9F00;
            background: #fff;
            box-shadow: 0 0 0 3px rgba(255, 159, 0, 0.1);
        }

        .input-wrapper textarea::placeholder {
            color: #94a3b8;
            font-size: 12px;
        }

        .btn-clear-input {
            position: absolute;
            top: 8px;
            right: 16px;
            width: 22px;
            height: 22px;
            border-radius: 50%;
            border: none;
            background: rgba(0, 0, 0, 0.15);
            color: #fff;
            font-size: 12px;
            font-weight: 700;
            cursor: pointer;
            display: none;
            align-items: center;
            justify-content: center;
            transition: all 0.15s;
            z-index: 2;
            padding: 0;
            line-height: 1;
        }

        .btn-clear-input.show {
            display: flex;
        }

        .btn-clear-input:active {
            background: rgba(0, 0, 0, 0.35);
            transform: scale(0.9);
        }

        .char-count {
            position: absolute;
            bottom: 8px;
            right: 12px;
            font-size: 10px;
            color: #94a3b8;
        }

        .paste-hint {
            margin-top: 10px;
            padding: 10px 12px;
            background: #f8fafc;
            border-radius: 14px;
            border: 1px solid #e2e8f0;
            font-size: 11px;
            color: #64748b;
        }

        .paste-hint-title {
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .paste-hint-title strong {
            flex: 1;
            font-size: 12px;
            color: #1e293b;
        }

        .paste-hint-body {
            margin-top: 8px;
            display: none;
        }

        .paste-hint-body.show {
            display: block;
        }

        .toggle-hint {
            background: none;
            border: none;
            color: #FF9F00;
            font-size: 11px;
            cursor: pointer;
            padding: 2px 6px;
        }

        .btn-guide {
            background: #e2e8f0;
            color: #475569;
            border: none;
            border-radius: 20px;
            padding: 4px 10px;
            font-size: 11px;
            font-weight: 500;
            cursor: pointer;
        }

        .btn-guide:active {
            background: #cbd5e1;
        }

        .btn-extract {
            width: 100%;
            height: 48px;
            background: linear-gradient(135deg, #FF9F00, #FF6B00);
            color: #fff;
            font-size: 15px;
            font-weight: 600;
            border: none;
            border-radius: 16px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            transition: transform 0.15s, box-shadow 0.15s;
            box-shadow: 0 2px 8px rgba(255, 107, 0, 0.25);
        }

        .btn-extract:active {
            transform: scale(0.98);
            background: #FF8C00;
        }

        .btn-extract.loading {
            pointer-events: none;
            opacity: 0.7;
        }

        .btn-extract .spinner {
            display: none;
            width: 18px;
            height: 18px;
            border: 2px solid #fff;
            border-top-color: transparent;
            border-radius: 50%;
            animation: spin 0.7s linear infinite;
        }

        .btn-extract.loading .spinner {
            display: inline-block;
        }

        @keyframes spin {
            to {
                transform: rotate(360deg);
            }
        }

        /* 解析结果卡片 */
        .result-card {
            margin-top: 18px;
            background: #f0fdf4;
            border-radius: 20px;
            padding: 18px;
            border: 1px solid #bbf7d0;
            display: none;
        }

        .result-card.error {
            background: #fef2f2;
            border-color: #fecaca;
        }

        .result-header {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 16px;
        }

        .result-icon {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: #22c55e;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
            color: #fff;
        }

        .result-card.error .result-icon {
            background: #ef4444;
        }

        .result-header-text h4 {
            font-size: 16px;
            color: #166534;
            font-weight: 600;
        }

        .result-card.error .result-header-text h4 {
            color: #b91c1c;
        }

        .result-header-text p {
            font-size: 12px;
            color: #64748b;
            margin-top: 2px;
        }

        .btn-coupon {
            width: 100%;
            height: 50px;
            background: linear-gradient(135deg, #FF9F00, #FF6B00);
            color: #fff;
            font-size: 15px;
            font-weight: 600;
            border: none;
            border-radius: 16px;
            cursor: pointer;
            transition: transform 0.15s, box-shadow 0.15s;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            opacity: 0.4;
            pointer-events: none;
            box-shadow: 0 4px 12px rgba(255, 107, 0, 0.25);
        }

        .btn-coupon.active {
            opacity: 1;
            pointer-events: auto;
        }

        .btn-coupon.active:active {
            transform: scale(0.98);
        }

        /* 报名返现按钮（独立样式，始终高亮） */
        .btn-cashback-sign {
            width: 100%;
            height: 46px;
            background: linear-gradient(135deg, #10B981, #059669);
            color: #fff;
            font-size: 15px;
            font-weight: 700;
            border: none;
            border-radius: 14px;
            cursor: pointer;
            transition: transform 0.15s, box-shadow 0.15s;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
            margin-top: 14px;
        }

        .btn-cashback-sign:active {
            transform: scale(0.97);
            box-shadow: 0 2px 6px rgba(16, 185, 129, 0.3);
        }

        /* 官方入口闪烁 */
        @keyframes highlightBlink {

            0%,
            100% {
                box-shadow: 0 0 0 0 rgba(255, 107, 0, 0.6);
            }

            50% {
                box-shadow: 0 0 0 12px rgba(255, 107, 0, 0);
            }
        }

        .highlight-blink {
            animation: highlightBlink 1.2s ease-in-out 3;
        }

        .btn-coupon-v6 {
            width: 100%;
            height: 50px;
            background: linear-gradient(135deg, #6366f1, #8b5cf6);
            color: #fff;
            font-size: 15px;
            font-weight: 600;
            border: none;
            border-radius: 16px;
            cursor: pointer;
            transition: transform 0.15s, box-shadow 0.15s;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            opacity: 0.4;
            pointer-events: none;
            box-shadow: 0 4px 12px rgba(99, 102, 241, 0.25);
        }

        .btn-coupon-v6.active {
            opacity: 1;
            pointer-events: auto;
        }

        .btn-coupon-v6.active:active {
            transform: scale(0.98);
        }

        /* 打开美团领取按钮 */
        .btn-meituan {
            width: 100%;
            height: 50px;
            background: linear-gradient(135deg, #FFC300, #FFA000);
            color: #fff;
            font-size: 15px;
            font-weight: 600;
            border: none;
            border-radius: 16px;
            text-decoration: none;
            cursor: pointer;
            transition: transform 0.15s, box-shadow 0.15s;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            opacity: 0.4;
            pointer-events: none;
            box-shadow: 0 4px 12px rgba(255, 195, 0, 0.25);
        }

        .btn-meituan.active {
            opacity: 1;
            pointer-events: auto;
        }

        .btn-meituan.active:active {
            transform: scale(0.98);
        }

        /* 微信提示弹窗（提示去浏览器打开） */
        .wechat-tip-overlay {
            display: none;
            position: fixed;
            inset: 0;
            background: rgba(0, 0, 0, 0.6);
            z-index: 9999;
            align-items: center;
            justify-content: center;
        }

        .wechat-tip-overlay.show {
            display: flex;
        }

        .wechat-tip-card {
            position: relative;
            width: 90%;
            max-width: 360px;
            background: #fff;
            border-radius: 16px;
            padding: 20px;
            text-align: center;
        }

        .wechat-tip-card img {
            width: 100%;
            border-radius: 10px;
            margin-bottom: 14px;
        }

        .wechat-tip-card .tip-text {
            font-size: 14px;
            color: #666;
            margin-bottom: 14px;
            line-height: 1.6;
        }

        .wechat-tip-card .tip-close {
            display: inline-block;
            padding: 10px 40px;
            background: #07C160;
            color: #fff;
            border: none;
            border-radius: 20px;
            font-size: 15px;
            font-weight: 600;
            cursor: pointer;
        }

        .btn-actions {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        .btn-fav {
            width: 100%;
            height: 44px;
            background: #f8fafc;
            color: #475569;
            font-size: 14px;
            font-weight: 500;
            border: 1.5px solid #e2e8f0;
            border-radius: 14px;
            cursor: pointer;
            transition: all 0.15s;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
        }

        .btn-fav:hover {
            background: #f1f5f9;
            border-color: #cbd5e1;
        }

        .btn-fav:active {
            transform: scale(0.98);
        }

        .btn-check-cashback {
            position: absolute;
            right: 0;
            top: 0;
            background: linear-gradient(135deg, #FF9F00, #FF6B00);
            color: #fff;
            border: none;
            border-radius: 20px;
            padding: 5px 10px;
            font-size: 11px;
            font-weight: 700;
            cursor: pointer;
            box-shadow: 0 2px 6px rgba(255, 107, 0, 0.3);
            white-space: nowrap;
            animation: newBounce 1.5s ease-in-out infinite;
        }

        .btn-check-cashback:active {
            transform: scale(0.95);
        }

        .btn-fav.saved {
            background: #e2e8f0;
            color: #64748b;
            border-color: #cbd5e1;
            pointer-events: none;
        }

        /* ===== 返现检测详情 ===== */
        .cashback-detail {
            background: #FFFBEB;
            border: 1px solid #FDE68A;
            border-radius: 12px;
            padding: 14px;
            margin-top: 12px;
        }

        .cashback-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 6px 0;
            font-size: 13px;
            border-bottom: 1px dashed #FDE68A;
        }

        .cashback-row:last-child {
            border-bottom: none;
        }

        .cashback-row .c-label {
            color: #92400E;
            font-weight: 500;
        }

        .cashback-row .c-val {
            color: #EA580C;
            font-weight: 700;
        }

        .cashback-row .c-val.green {
            color: #16A34A;
        }

        .cashback-row.desc {
            flex-direction: column;
            align-items: flex-start;
            gap: 4px;
        }

        .cashback-row.desc .c-val {
            width: 100%;
            text-align: left;
            word-break: break-word;
        }

        /* 计算示例 */
        .cashback-example {
            background: #F0FDF4;
            border: 1px solid #86EFAC;
            border-radius: 12px;
            padding: 12px 14px;
            margin-top: 10px;
            font-size: 13px;
            color: #166534;
            line-height: 1.8;
        }

        .cashback-example .example-title {
            font-weight: 700;
            font-size: 13px;
            margin-bottom: 4px;
        }

        .cashback-example .example-step {
            display: flex;
            justify-content: space-between;
            padding: 3px 0;
            border-bottom: 1px dashed #86EFAC;
        }

        .cashback-example .example-step:last-child {
            border-bottom: none;
        }

        .cashback-example .example-step .es-label {
            color: #15803D;
        }

        .cashback-example .example-step .es-val {
            font-weight: 700;
            color: #DC2626;
        }

        .cashback-example .example-total {
            font-weight: 700;
            font-size: 14px;
            color: #166534;
            margin-top: 4px;
            padding-top: 4px;
            border-top: 1px solid #86EFAC;
        }

        .cashback-example .example-total b {
            color: #DC2626;
        }

        .cashback-row .c-val.green {
            color: #16A34A;
        }

        .btn-fav-entry {
            width: 100%;
            height: 44px;
            background: #f8fafc;
            color: #475569;
            font-size: 14px;
            font-weight: 500;
            border: 1.5px solid #e2e8f0;
            border-radius: 14px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            margin-top: 12px;
            transition: all 0.15s;
        }

        .btn-fav-entry:active {
            transform: scale(0.98);
        }

        .modal-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.45);
            backdrop-filter: blur(6px);
            z-index: 1000;
            justify-content: center;
            align-items: center;
        }

        .modal-overlay.show {
            display: flex;
        }

        .modal-box {
            background: #fff;
            border-radius: 20px;
            width: 90%;
            max-width: 380px;
            max-height: 70vh;
            display: flex;
            flex-direction: column;
            box-shadow: 0 20px 48px rgba(255, 107, 0, 0.12), 0 8px 24px rgba(0, 0, 0, 0.12);
            border: 1px solid rgba(255, 159, 0, 0.15);
        }

        .modal-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 16px 20px;
            border-bottom: 1px solid #FDE68A;
            background: linear-gradient(135deg, #FFFBEB 0%, #FFF7ED 100%);
            border-radius: 20px 20px 0 0;
        }

        .modal-header h4 {
            font-size: 16px;
            color: #C2410C;
        }

        .modal-close {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            border: none;
            background: #FEF3C7;
            color: #D97706;
            font-size: 20px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.15s;
            font-weight: 700;
        }

        .modal-close:hover {
            background: #FDE68A;
            color: #B45309;
            transform: rotate(90deg);
        }

        .modal-body {
            flex: 1;
            overflow-y: auto;
            padding: 16px 20px 20px;
        }

        .fav-list {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        .fav-item {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 12px 14px;
            background: #FFFBEB;
            border-radius: 16px;
            border: 1px solid #FDE68A;
            transition: all 0.15s;
        }

        .fav-item:hover {
            border-color: #F59E0B;
            box-shadow: 0 2px 8px rgba(245, 158, 11, 0.08);
        }

        .fav-info {
            flex: 1;
            min-width: 0;
        }

        .fav-shop-name {
            font-size: 14px;
            font-weight: 600;
            color: #92400E;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        .fav-shop-time {
            font-size: 11px;
            color: #B45309;
            margin-top: 2px;
            opacity: 0.6;
        }

        .fav-get-btn {
            height: 34px;
            padding: 0 14px;
            background: linear-gradient(135deg, #FF9F00, #FF6B00);
            color: #fff;
            font-size: 13px;
            font-weight: 600;
            border: none;
            border-radius: 12px;
            cursor: pointer;
            transition: transform 0.15s, box-shadow 0.15s;
            box-shadow: 0 2px 6px rgba(255, 107, 0, 0.2);
        }

        .fav-get-btn:active {
            transform: scale(0.95);
        }

        .fav-del-btn {
            width: 34px;
            height: 34px;
            background: none;
            border: none;
            color: #D97706;
            font-size: 20px;
            cursor: pointer;
            border-radius: 50%;
            transition: all 0.15s;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0.5;
        }

        .fav-del-btn:hover {
            opacity: 1;
            color: #ef4444;
            background: #fef2f2;
        }

        .fav-empty {
            text-align: center;
            padding: 30px 0;
            color: #B45309;
            font-size: 13px;
            opacity: 0.6;
        }

        .fav-count {
            font-size: 12px;
            color: #B45309;
            font-weight: 400;
            opacity: 0.7;
        }

        /* 历史粘贴 */
        .history-item {
            display: flex;
            align-items: flex-start;
            gap: 10px;
            padding: 12px 14px;
            background: #FFFBEB;
            border-radius: 14px;
            border: 1px solid #FDE68A;
            cursor: pointer;
            transition: background 0.15s, border-color 0.15s, box-shadow 0.15s;
        }

        .history-item:hover {
            background: #FFF7ED;
            border-color: #F59E0B;
            box-shadow: 0 2px 8px rgba(245, 158, 11, 0.08);
        }

        .history-info {
            flex: 1;
            min-width: 0;
        }

        .history-text {
            font-size: 12px;
            color: #78350F;
            line-height: 1.5;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            word-break: break-all;
        }

        .history-time {
            font-size: 10px;
            color: #B45309;
            margin-top: 4px;
            opacity: 0.6;
        }

        .history-del-btn {
            width: 28px;
            height: 28px;
            background: none;
            border: none;
            color: #D97706;
            font-size: 16px;
            cursor: pointer;
            border-radius: 50%;
            flex-shrink: 0;
            transition: all 0.15s;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0.5;
        }

        .history-del-btn:hover {
            opacity: 1;
            color: #ef4444;
            background: #fef2f2;
        }

        .history-empty {
            text-align: center;
            padding: 30px 0;
            color: #B45309;
            font-size: 13px;
            opacity: 0.6;
        }

        .history-bar {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 8px;
        }

        .history-bar .btn-clear-all {
            background: none;
            border: none;
            color: #ef4444;
            font-size: 12px;
            cursor: pointer;
            padding: 2px 8px;
        }

        /* ===== 返现平台列表弹窗 ===== */
        .platform-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.45);
            backdrop-filter: blur(6px);
            z-index: 1100;
            justify-content: center;
            align-items: center;
        }

        .platform-overlay.show {
            display: flex;
        }

        .platform-page {
            background: #fff;
            border-radius: 20px;
            width: 90%;
            max-width: 400px;
            display: flex;
            flex-direction: column;
            box-shadow: 0 20px 48px rgba(255, 107, 0, 0.12), 0 8px 24px rgba(0, 0, 0, 0.12);
            border: 1px solid rgba(255, 159, 0, 0.15);
            overflow: hidden;
            animation: fadeInUp 0.3s ease;
        }

        .platform-header {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 12px 16px;
            background: linear-gradient(135deg, #FFFBEB 0%, #FFF7ED 100%);
            border-bottom: 1px solid #FDE68A;
        }

        .platform-back {
            width: 30px;
            height: 30px;
            border-radius: 50%;
            border: none;
            background: #FEF3C7;
            color: #D97706;
            font-size: 16px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            transition: all 0.15s;
        }

        .platform-header h3 {
            font-size: 16px;
            font-weight: 700;
            color: #92400E;
            flex: 1;
        }

        .platform-tips {
            padding: 5px 0;
            background: linear-gradient(135deg, #FFFBEB, #FFF7ED);
            border-bottom: 1px solid #FDE68A;
            overflow: hidden;
            white-space: nowrap;
            position: relative;
        }

        .platform-tips .tips-track {
            display: inline-flex;
            animation: tipsMarquee 18s linear infinite;
            white-space: nowrap;
        }

        .platform-tips .tips-text {
            font-size: 10px;
            color: #B45309;
            opacity: 0.8;
            display: inline-block;
            padding-right: 60px;
        }

        @keyframes tipsMarquee {
            0% { transform: translateX(0); }
            100% { transform: translateX(-50%); }
        }

        .platform-list {
            flex: 1;
            padding: 10px 16px 12px;
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .platform-card {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 10px;
            background: #FFFBEB;
            border-radius: 16px;
            border: 1px solid #FDE68A;
            transition: all 0.2s;
        }

        .platform-card:hover {
            border-color: #F59E0B;
            box-shadow: 0 4px 16px rgba(245, 158, 11, 0.12);
            transform: translateY(-1px);
        }

        .platform-avatar {
            width: 44px;
            height: 44px;
            border-radius: 14px;
            background: linear-gradient(135deg, #FFD100, #FF9F00);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 22px;
            flex-shrink: 0;
            box-shadow: 0 3px 10px rgba(255, 159, 0, 0.25);
            position: relative;
        }

        .platform-avatar .reg-tag {
            position: absolute;
            bottom: -4px;
            right: -6px;
            font-size: 14px;
            background: #fff;
            border-radius: 50%;
            width: 18px;
            height: 18px;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
        }

        .platform-info {
            flex: 1;
            min-width: 0;
        }

        .platform-name-row {
            display: flex;
            align-items: center;
            gap: 6px;
            margin-bottom: 2px;
        }

        .platform-name {
            font-size: 14px;
            font-weight: 700;
            color: #1e293b;
        }

        .platform-tag {
            font-size: 10px;
            font-weight: 600;
            padding: 2px 6px;
            border-radius: 10px;
            white-space: nowrap;
        }

        .platform-tag.official {
            background: #FEF3C7;
            color: #B45309;
        }

        .platform-tag.highrate {
            background: #FCE7F3;
            color: #BE185D;
        }

        .platform-tag.newpush {
            background: #DCFCE7;
            color: #166534;
        }

        .platform-effect-btn {
            font-size: 10px;
            font-weight: 600;
            padding: 2px 8px;
            border-radius: 10px;
            background: #EFF6FF;
            color: #1D4ED8;
            border: 1px solid #BFDBFE;
            cursor: pointer;
            white-space: nowrap;
            transition: all 0.15s;
        }

        .platform-effect-btn:hover {
            background: #DBEAFE;
        }

        .platform-desc {
            font-size: 11px;
            color: #64748b;
            line-height: 1.35;
        }

        .platform-go-btn {
            height: 32px;
            padding: 0 14px;
            background: linear-gradient(135deg, #FF9F00, #FF6B00);
            color: #fff;
            font-size: 12px;
            font-weight: 600;
            border: none;
            border-radius: 10px;
            cursor: pointer;
            flex-shrink: 0;
            transition: transform 0.15s, box-shadow 0.15s;
            box-shadow: 0 2px 8px rgba(255, 107, 0, 0.25);
        }

        .platform-go-btn:active {
            transform: scale(0.94);
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .img-modal-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.7);
            backdrop-filter: blur(8px);
            z-index: 2000;
            justify-content: center;
            align-items: center;
        }

        .img-modal-overlay.show {
            display: flex;
        }

        .img-modal-box {
            position: relative;
            max-width: 95vw;
            max-height: 90vh;
        }

        .img-modal-box img {
            width: auto;
            height: auto;
            max-width: 95vw;
            max-height: 85vh;
            border-radius: 20px;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
        }

        .img-modal-close {
            position: absolute;
            top: -40px;
            right: 0;
            width: 32px;
            height: 32px;
            border-radius: 50%;
            border: none;
            background: rgba(255, 255, 255, 0.9);
            color: #1e293b;
            font-size: 18px;
            cursor: pointer;
        }

        .img-modal-title {
            color: #fff;
            font-size: 16px;
            font-weight: 700;
            text-align: center;
            margin: 0 0 10px;
        }

        .footer-tip {
            text-align: center;
            margin-top: 18px;
            font-size: 11px;
            color: #94a3b8;
        }

        .footer-tip a {
            color: #FF9F00;
            text-decoration: none;
        }

        /* ===== 计算器专属样式 ===== */
        .explain {
            margin: 16px 16px 14px;
            padding: 14px 16px;
            background: #f8fafc;
            border-radius: 20px;
            border: 1px solid #e2e8f0;
        }

        .explain-title {
            font-size: 14px;
            color: #1e293b;
            font-weight: 600;
            margin-bottom: 8px;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .explain-text {
            font-size: 12px;
            color: #64748b;
            line-height: 1.6;
        }

        .item {
            margin-bottom: 14px;
        }

        .item label {
            font-size: 14px;
            color: #1e293b;
            display: block;
            margin-bottom: 6px;
            font-weight: 500;
        }

        .item input {
            width: 100%;
            height: 46px;
            border: 1.5px solid #e2e8f0;
            border-radius: 14px;
            padding: 0 16px;
            font-size: 16px;
            background: #f8fafc;
            outline: none;
            transition: all 0.2s;
        }

        .item input:focus {
            border-color: #FF9F00;
            background: #fff;
            box-shadow: 0 0 0 3px rgba(255, 159, 0, 0.1);
        }

        .tips {
            color: #ef4444;
            font-size: 11px;
            margin-top: 4px;
            display: none;
        }

        .btn-calc {
            width: 100%;
            height: 48px;
            background: linear-gradient(135deg, #FF9F00, #FF6B00);
            color: #fff;
            font-size: 15px;
            font-weight: 600;
            border: none;
            border-radius: 16px;
            margin-top: 8px;
            cursor: pointer;
            transition: transform 0.15s, box-shadow 0.15s;
            box-shadow: 0 2px 8px rgba(255, 107, 0, 0.25);
        }

        .btn-calc:active {
            transform: scale(0.98);
            background: #FF8C00;
        }

        /* 快速选择按钮 */
        .preset-btns {
            display: flex;
            gap: 6px;
            margin-top: 6px;
            flex-wrap: wrap;
        }

        .preset-btn {
            height: 28px;
            padding: 0 12px;
            border: 1px solid #e2e8f0;
            border-radius: 14px;
            background: #fff;
            color: #64748b;
            font-size: 13px;
            cursor: pointer;
            transition: all 0.15s;
        }

        .preset-btn:hover {
            border-color: #FF9F00;
            color: #FF9F00;
        }

        .preset-btn.active-preset {
            background: #FFF7ED;
            border-color: #FF9F00;
            color: #FF9F00;
            font-weight: 600;
        }

        /* 评价开关 */
        .toggle-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .toggle-switch {
            position: relative;
            width: 44px;
            height: 24px;
        }

        .toggle-switch input {
            display: none;
        }

        .toggle-track {
            position: absolute;
            inset: 0;
            background: #cbd5e1;
            border-radius: 12px;
            cursor: pointer;
            transition: background 0.2s;
        }

        .toggle-track::after {
            content: '';
            position: absolute;
            top: 2px;
            left: 2px;
            width: 20px;
            height: 20px;
            background: #fff;
            border-radius: 50%;
            transition: transform 0.2s;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
        }

        .toggle-switch input:checked+.toggle-track {
            background: #FF9F00;
        }

        .toggle-switch input:checked+.toggle-track::after {
            transform: translateX(20px);
        }

        #r2:disabled {
            opacity: 0.4;
            background: #f1f5f9;
        }

        .result {
            margin-top: 20px;
            background: #f8fafc;
            border-radius: 20px;
            padding: 18px;
            border: 1px solid #e2e8f0;
            display: none;
        }

        .result-title {
            font-size: 15px;
            color: #1e293b;
            font-weight: 600;
            margin-bottom: 14px;
        }

        .line {
            display: flex;
            justify-content: space-between;
            padding: 8px 0;
            font-size: 14px;
            color: #475569;
        }

        .total {
            border-top: 1px dashed #cbd5e1;
            margin-top: 8px;
            padding-top: 12px;
            font-weight: 700;
            font-size: 15px;
            color: #FF6B00;
        }

        /* ===== 客服按钮 & 弹窗 ===== */
        .service-btn {
            position: fixed;
            right: 18px;
            bottom: 100px;
            width: 56px;
            height: 56px;
            background: linear-gradient(135deg, #FF9F00, #FF6B00);
            color: #fff;
            border-radius: 50%;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 2px;
            box-shadow: 0 6px 20px rgba(255, 107, 0, 0.35);
            cursor: pointer;
            z-index: 999;
            border: none;
            transition: transform 0.2s, box-shadow 0.2s;
        }

        .service-btn:active {
            transform: scale(0.92);
        }

        .service-btn svg {
            width: 20px;
            height: 20px;
            fill: #fff;
        }

        .service-btn span {
            font-size: 10px;
            font-weight: 500;
        }

        .mask {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            backdrop-filter: blur(4px);
            display: none;
            align-items: center;
            justify-content: center;
            z-index: 1000;
        }

        .popup {
            background: #fff;
            width: 320px;
            padding: 28px 24px;
            border-radius: 28px;
            text-align: center;
            position: relative;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
        }

        .popup-close {
            position: absolute;
            top: 16px;
            right: 20px;
            font-size: 24px;
            color: #94a3b8;
            cursor: pointer;
            background: none;
            border: none;
        }

        .popup-title {
            font-size: 20px;
            font-weight: 600;
            margin-bottom: 20px;
            color: #1e293b;
        }

        .qrcode-img,
        .guide-img {
            width: 260px;
            height: auto;
            margin: 0 auto 16px;
            display: block;
            border-radius: 16px;
        }

        .popup-tip {
            font-size: 13px;
            color: #64748b;
            margin-bottom: 20px;
        }

        .wechat-row {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            font-size: 15px;
            color: #1e293b;
        }

        .wechat-icon {
            width: 22px;
            height: 22px;
        }

        /* ===== 反馈表单 ===== */
        .feedback-popup {
            width: 320px;
            padding: 28px 24px 22px;
        }

        .feedback-desc {
            font-size: 12px;
            color: #94a3b8;
            margin-bottom: 8px;
            line-height: 1.4;
            text-align: center;
        }

        .feedback-label {
            font-size: 14px;
            font-weight: 600;
            color: #1e293b;
            margin-bottom: 8px;
            display: flex;
            align-items: center;
            gap: 4px;
        }

        .feedback-label::before {
            content: '';
            display: inline-block;
            width: 4px;
            height: 16px;
            background: linear-gradient(135deg, #FF9F00, #FF6B00);
            border-radius: 2px;
        }

        .feedback-textarea {
            width: 100%;
            height: 140px;
            border: 2px solid #FF9F00;
            border-radius: 14px;
            padding: 14px 16px;
            font-size: 16px;
            color: #1e293b;
            resize: none;
            outline: none;
            background: #fff;
            transition: box-shadow 0.2s;
            box-sizing: border-box;
            font-family: inherit;
            margin-bottom: 6px;
        }

        .feedback-textarea:focus {
            box-shadow: 0 0 0 4px rgba(255, 159, 0, 0.15);
        }

        .feedback-textarea::placeholder {
            color: #ca8a4b;
            font-size: 14px;
        }

        .feedback-count {
            text-align: right;
            font-size: 11px;
            color: #94a3b8;
            margin: 6px 0 10px;
        }

        .feedback-contact {
            width: 100%;
            padding: 10px 14px;
            border: 2px solid #FF9F00;
            border-radius: 12px;
            font-size: 14px;
            color: #1e293b;
            outline: none;
            background: #fff;
            transition: box-shadow 0.2s;
            box-sizing: border-box;
            font-family: inherit;
            margin-bottom: 10px;
        }

        .feedback-contact::placeholder {
            color: #ca8a4b;
            font-size: 13px;
        }

        .feedback-contact:focus {
            box-shadow: 0 0 0 4px rgba(255, 159, 0, 0.15);
        }

        .feedback-submit {
            width: 100%;
            padding: 12px 0;
            background: linear-gradient(135deg, #FF9F00, #FF6B00);
            color: #fff;
            font-size: 15px;
            font-weight: 600;
            border: none;
            border-radius: 12px;
            cursor: pointer;
            transition: transform 0.1s, opacity 0.2s;
        }

        .feedback-submit:active {
            transform: scale(0.97);
        }

        .feedback-submit:disabled {
            opacity: 0.5;
            pointer-events: none;
        }

        .feedback-result {
            font-size: 12px;
            margin-top: 10px;
            min-height: 18px;
            text-align: center;
        }

        .feedback-result.success {
            color: #16a34a;
        }

        .feedback-result.error {
            color: #dc2626;
        }

        .footer {
            text-align: center;
            padding: 18px 0 24px;
            font-size: 11px;
            color: #aaa;
        }

        /* ===== 确认弹窗 ===== */
        .confirm-overlay {
            position: fixed;
            inset: 0;
            background: rgba(0, 0, 0, 0.35);
            z-index: 9999;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.25s;
            -webkit-backdrop-filter: blur(2px);
            backdrop-filter: blur(2px);
        }

        .confirm-overlay.show {
            opacity: 1;
            pointer-events: auto;
        }

        .confirm-card {
            background: #fff;
            border-radius: 18px;
            padding: 28px 24px 20px;
            width: 300px;
            text-align: center;
            box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
            transform: translateY(12px);
            transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }

        .confirm-overlay.show .confirm-card {
            transform: translateY(0);
        }

        .confirm-icon {
            font-size: 40px;
            margin-bottom: 10px;
        }

        .confirm-title {
            font-size: 17px;
            font-weight: 700;
            color: #1a1a1a;
            margin-bottom: 8px;
        }

        .confirm-msg {
            font-size: 13px;
            color: #666;
            line-height: 1.6;
            margin-bottom: 20px;
        }

        .confirm-btns {
            display: flex;
            gap: 10px;
        }

        .confirm-btn {
            flex: 1;
            padding: 11px 0;
            border-radius: 10px;
            font-size: 14px;
            font-weight: 600;
            border: none;
            cursor: pointer;
            transition: transform 0.1s, opacity 0.15s;
        }

        .confirm-btn:active {
            transform: scale(0.97);
        }

        .confirm-btn-cancel {
            background: #f1f5f9;
            color: #64748b;
        }

        .confirm-btn-ok {
            background: linear-gradient(135deg, #FF9F00, #FF6B00);
            color: #fff;
        }

        .confirm-btn-ok.pulse {
            animation: confirmPulse 0.7s ease-in-out infinite;
            box-shadow: 0 0 0 0 rgba(255, 107, 0, 0.5);
        }

        @keyframes confirmPulse {

            0%,
            100% {
                transform: scale(1);
                box-shadow: 0 0 0 0 rgba(255, 107, 0, 0.5);
            }

            50% {
                transform: scale(1.08);
                box-shadow: 0 0 16px 4px rgba(255, 107, 0, 0.5);
            }
        }

        @media (prefers-reduced-motion: reduce) {
            * {
                animation-duration: 0.01ms !important;
                transition-duration: 0.01ms !important;
            }
        }

        .toast-msg {
            position: fixed;
            bottom: 80px;
            left: 0;
            right: 0;
            margin: 0 auto;
            width: fit-content;
            max-width: 85vw;
            background: rgba(30, 41, 59, 0.92);
            color: #fff;
            padding: 10px 18px;
            border-radius: 24px;
            font-size: 13px;
            font-weight: 600;
            z-index: 9999;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.3s;
            white-space: normal;
            text-align: center;
            line-height: 1.5;
            box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
            will-change: opacity;
        }

        .toast-msg.show {
            opacity: 1;
        }