

       /* ===== 祭品套餐按钮样式 ===== */
        .btn-offering-package {
            display: inline-block;
            padding: 6px 16px;
            margin-right: 10px;
            background: linear-gradient(180deg, #C41E3A 0%, #8B0000 50%, #C41E3A 100%);
            color: #FFD700;
            border: 2px solid #FFD700;
            border-radius: 6px;
            font-size: 14px;
            font-weight: bold;
            cursor: pointer;
            box-shadow: 0 2px 5px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.2);
            text-shadow: 0 1px 2px rgba(0,0,0,0.5);
            transition: all 0.2s ease;
        }
        .btn-offering-package:hover {
            background: linear-gradient(180deg, #DC143C 0%, #A52A2A 50%, #DC143C 100%);
            transform: translateY(-1px);
            box-shadow: 0 3px 8px rgba(0,0,0,0.4);
        }
        .btn-offering-package:active {
            transform: translateY(1px);
        }
        .btn-offering-package:disabled {
            background: #666;
            border-color: #999;
            color: #ccc;
            cursor: not-allowed;
        }

        /* ===== 祭品套餐弹窗 ===== */
        .offering-package-overlay {
            position: fixed;
            top: 0; left: 0;
            width: 100%; height: 100%;
            background: rgba(0,0,0,0.85);
            z-index: 20000;
            display: none;
        }
        .offering-package-overlay.active { display: block; }

        .offering-package-box {
            position: fixed;
            top: 50%; left: 50%;
            transform: translate(-50%, -50%);
            width: 90%;
            max-width: 600px;
            background: linear-gradient(180deg, #2C1810 0%, #1a0f0a 100%);
            border: 3px solid #8B4513;
            border-radius: 12px;
            padding: 20px;
            z-index: 20001;
            display: none;
            box-shadow: 0 0 30px rgba(255,140,0,0.3);
        }
        .offering-package-box.active { display: block; }

        .offering-package-title {
            text-align: center;
            font-size: 22px;
            color: #FFD700;
            margin-bottom: 15px;
            text-shadow: 0 0 10px rgba(255,215,0,0.5);
        }

        .offering-package-desc {
            color: #DEB887;
            font-size: 13px;
            line-height: 1.8;
            margin-bottom: 15px;
            text-align: center;
        }

        .offering-package-items {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 8px;
            margin-bottom: 15px;
        }

        .offering-item {
            width: 60px;
            height: 60px;
            background: linear-gradient(180deg, #8B4513 0%, #654321 100%);
            border: 2px solid #D2691E;
            border-radius: 8px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            font-size: 11px;
            color: #FFD700;
            position: relative;
        }
        .offering-item .item-icon {
            font-size: 24px;
            margin-bottom: 2px;
        }

                /* ===== 祭祖动画场景 - 按图片布局 ===== */
        .ancestor-worship-scene {
            position: fixed;
            bottom: 350px;
            left: 50%;
            transform: translateX(-50%);
            width: 400px;
            height: 220px;
            z-index: 15000;
            pointer-events: none;
            display: none;
        }
        .ancestor-worship-scene.active { display: block; }

        /* 供桌 - 隐藏 */
        .offering-table {
            display: none;
        }

        /* ===== 第1排：五盘菜（最远离墓碑，最靠近供桌）===== */
        .food-plate {
            position: absolute;
            bottom: 155px;
            width: 46px;
            height: 30px;
            background: radial-gradient(ellipse, #FFF8DC 0%, #F5DEB3 70%, #DEB887 100%);
            border-radius: 50%;
            border: 2px solid #D2691E;
            box-shadow: 0 2px 5px rgba(0,0,0,0.3);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 17px;
        }
        .food-plate::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 50%;
            transform: translateX(-50%);
            width: 34px;
            height: 5px;
            background: #8B4513;
            border-radius: 0 0 4px 4px;
        }
        .plate-1 { left: 42px; }  /* 鸡 */
        .plate-2 { left: 102px; }  /* 鱼 */
        .plate-3 { left: 162px; } /* 肉 */
        .plate-4 { left: 222px; } /* 豆腐 */
        .plate-5 { left: 282px; } /* 小菜 */

        /* ===== 第2排：三碗米饭 ===== */
        .rice-bowl {
            position: absolute;
            bottom: 112px;
            width: 38px;
            height: 34px;
            background: radial-gradient(ellipse at 30% 30%, #FFFFFF 0%, #F5F5DC 50%, #E8E8E8 100%);
            border-radius: 50% 50% 45% 45%;
            border: 2px solid #D2691E;
            box-shadow: 0 2px 5px rgba(0,0,0,0.3);
        }
        .rice-bowl::before {
            content: '';
            position: absolute;
            top: 3px;
            left: 50%;
            transform: translateX(-50%);
            width: 24px;
            height: 16px;
            background: radial-gradient(ellipse, #FFFFFF 0%, #FFFACD 100%);
            border-radius: 50%;
        }
        .rice-bowl::after {
            content: '🍚';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            font-size: 14px;
        }
        .rice-1 { left: 120px; }
        .rice-2 { left: 175px; }
        .rice-3 { left: 230px; }

        /* ===== 第3排：三双筷子（竖向，对墓碑） ===== */
        .chopsticks {
            position: absolute;
            bottom: 78px;
            width: 3px;
            height: 34px;
            background: #8B4513;
            border-radius: 2px;
        }
        .chopsticks::before {
            content: '';
            position: absolute;
            top: 0;
            left: 5px;
            width: 3px;
            height: 28px;
            background: #8B4513;
            border-radius: 2px;
        }
        .chopsticks-1 { left: 122px; }
        .chopsticks-2 { left: 177px; }
        .chopsticks-3 { left: 232px; }

        /* ===== 第4排：三杯白酒（最靠近墓碑）===== */
        .wine-cup {
            position: absolute;
            bottom: 44px;
            width: 28px;
            height: 34px;
            background: linear-gradient(180deg, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0.1) 100%);
            border: 2px solid rgba(255,255,255,0.5);
            border-radius: 4px 4px 8px 8px;
        }
        .wine-cup::before {
            content: '';
            position: absolute;
            bottom: 3px;
            left: 2px;
            right: 2px;
            height: 14px;
            background: linear-gradient(180deg, rgba(255,255,255,0.8) 0%, rgba(255,255,255,0.4) 100%);
            border-radius: 0 0 6px 6px;
        }
        .wine-cup::after {
            content: '🍶';
            position: absolute;
            top: -4px;
            left: 50%;
            transform: translateX(-50%);
            font-size: 16px;
        }
        .wine-1 { left: 125px; }
        .wine-2 { left: 180px; }
        .wine-3 { left: 235px; }

        /* ===== 黄纸堆 - 在白酒中间位置（最靠近墓碑）===== */
        .paper-money-stack {
            position: absolute;
            bottom: 10px;
            left: 50%;
            transform: translateX(-50%);
            width: 70px;
            height: 50px;
            z-index: 10;
        }
        .paper-sheet {
            position: absolute;
            width: 52px;
            height: 36px;
            background: linear-gradient(180deg, #FFD700 0%, #FFA500 100%);
            border: 1px solid #FF8C00;
            border-radius: 2px;
            left: 50%;
            transform: translateX(-50%);
        }
        .paper-sheet::before {
            content: '冥币';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            font-size: 10px;
            color: #8B0000;
            font-weight: bold;
        }
        .paper-sheet:nth-child(1) { bottom: 0; transform: translateX(-50%) rotate(-5deg); }
        .paper-sheet:nth-child(2) { bottom: 2px; transform: translateX(-50%) rotate(3deg); }
        .paper-sheet:nth-child(3) { bottom: 4px; transform: translateX(-50%) rotate(-2deg); }
        .paper-sheet:nth-child(4) { bottom: 6px; transform: translateX(-50%) rotate(4deg); }
        .paper-sheet:nth-child(5) { bottom: 8px; transform: translateX(-50%) rotate(-1deg); }

        /* ===== 烧纸火焰动画 - 调小火焰 ===== */
        @keyframes paperBurn {
            0% { opacity: 1; transform: translateX(-50%) scale(1); }
            20% { opacity: 0.9; transform: translateX(-50%) scale(0.95) rotate(2deg); }
            40% { opacity: 0.7; transform: translateX(-50%) scale(0.85) rotate(-3deg); }
            60% { opacity: 0.4; transform: translateX(-50%) scale(0.7) rotate(1deg); }
            80% { opacity: 0.1; transform: translateX(-50%) scale(0.5) rotate(-1deg); }
            100% { opacity: 0; transform: translateX(-50%) scale(0.2) rotate(0deg); }
        }

        @keyframes flameFlicker {
            0%, 100% { transform: translateX(-50%) scaleY(1) scaleX(1); }
            25% { transform: translateX(-50%) scaleY(1.15) scaleX(0.92); }
            50% { transform: translateX(-50%) scaleY(0.92) scaleX(1.08); }
            75% { transform: translateX(-50%) scaleY(1.08) scaleX(0.95); }
        }

        @keyframes ashFloat {
            0% { opacity: 0.8; transform: translateY(0) rotate(0deg) scale(1); }
            50% { opacity: 0.5; transform: translateY(-30px) rotate(180deg) scale(0.8); }
            100% { opacity: 0; transform: translateY(-60px) rotate(360deg) scale(0.3); }
        }

        @keyframes smokeRise {
            0% { opacity: 0.5; transform: translateY(0) scale(1); }
            100% { opacity: 0; transform: translateY(-80px) scale(1.8); }
        }

        /* 火焰 - 调小 */
        .burn-flame {
            position: absolute;
            bottom: 3px;
            left: 50%;
            transform: translateX(-50%);
            width: 35px;
            height: 45px;
            background: radial-gradient(ellipse at 50% 80%, 
                #FFF 0%, 
                #FFF700 15%, 
                #FFD700 30%, 
                #FF8C00 50%, 
                #FF4500 70%, 
                #DC143C 85%, 
                transparent 95%);
            border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
            opacity: 0;
            z-index: 15;
            filter: blur(1px);
        }
        .burn-flame.active {
            animation: flameFlicker 0.4s ease-in-out infinite;
            opacity: 0.7;
        }

        /* 纸灰 */
        .paper-ash {
            position: absolute;
            bottom: 10px;
            left: 50%;
            transform: translateX(-50%);
            width: 50px;
            height: 10px;
            background: radial-gradient(ellipse, #696969 0%, #808080 50%, #A9A9A9 100%);
            border-radius: 50%;
            opacity: 0;
            z-index: 5;
        }
        .paper-ash.show {
            opacity: 0.7;
            animation: ashFloat 3s ease-out forwards;
        }

        /* 烟雾 - 调淡 */
        .burn-smoke {
            position: absolute;
            bottom: 48px;
            left: 50%;
            transform: translateX(-50%);
            width: 60px;
            height: 80px;
            background: radial-gradient(ellipse, rgba(128,128,128,0.3) 0%, rgba(169,169,169,0.15) 50%, transparent 70%);
            border-radius: 50%;
            opacity: 0;
            z-index: 14;
        }
        .burn-smoke.active {
            animation: smokeRise 3s ease-out infinite;
        }

        /* 火星粒子 - 调小 */
        .spark-particle {
            position: absolute;
            width: 3px;
            height: 3px;
            background: #FFD700;
            border-radius: 50%;
            box-shadow: 0 0 4px #FF8C00, 0 0 8px #FF4500;
            opacity: 0;
        }
        @keyframes sparkFly {
            0% { opacity: 1; transform: translate(0, 0) scale(1); }
            100% { opacity: 0; transform: translate(var(--tx), var(--ty)) scale(0); }
        }
        .spark-particle.active {
            animation: sparkFly 1.5s ease-out forwards;
        }

        /* 烧纸状态 */
        .paper-money-stack.burning .paper-sheet {
            animation: paperBurn 60s linear forwards;
        }
        .paper-money-stack.burning .paper-sheet:nth-child(1) { animation-delay: 0s; }
        .paper-money-stack.burning .paper-sheet:nth-child(2) { animation-delay: 12s; }
        .paper-money-stack.burning .paper-sheet:nth-child(3) { animation-delay: 24s; }
        .paper-money-stack.burning .paper-sheet:nth-child(4) { animation-delay: 36s; }
        .paper-money-stack.burning .paper-sheet:nth-child(5) { animation-delay: 48s; }

        /* 供品发光效果 */
        @keyframes offeringGlow {
            0%, 100% { box-shadow: 0 0 5px rgba(255,215,0,0.3); }
            50% { box-shadow: 0 0 15px rgba(255,215,0,0.6), 0 0 30px rgba(255,140,0,0.3); }
        }
        .food-plate.glowing, .rice-bowl.glowing, .wine-cup.glowing {
            animation: offeringGlow 2s ease-in-out infinite;
        }

        

        /* 会员限制提示 */
        .vip-required-msg {
            color: #FFD700;
            font-size: 14px;
            text-align: center;
            margin-top: 10px;
            padding: 8px;
            background: rgba(139,0,0,0.3);
            border-radius: 4px;
            border: 1px solid #8B0000;
        }
        .vip-required-msg a {
            color: #FFD700;
            text-decoration: underline;
        }
    </style>
    <style>
        /* iOS Safari点击修复 */
        .nav-item, .nav-jibai, .main_cbl_gb, .main_cbl_dkan, .popup-close, .mask, .cli.shop1 {
            cursor: pointer;
            -webkit-tap-highlight-color: rgba(0,0,0,0);
        }
    </style>
    <style>
        /* iOS Safari点击修复 - 全局cursor:pointer */
        .nav-item, .nav-jibai, .main_cbl_gb, .main_cbl_dkan, 
        .popup-close, .mask, .cli.shop1, .btn-kneel, .btn-offering-package,
        .btn-firecracker, button, [onclick] {
            cursor: pointer !important;
            -webkit-tap-highlight-color: rgba(0,0,0,0) !important;
        }