html,
        body {
            margin: 0;
            padding: 0;
            width: 100%;
            min-height: 100%;
            background-color: #060100;
            font-family: 'Impact', 'Arial Black', -apple-system, sans-serif;
            overflow-x: hidden;
            overflow-y: auto;
        }

        * {
            box-sizing: border-box;
            user-select: none;
            -webkit-user-select: none;
        }


        #tutwelve_20260618_ambient_rays {
            position: fixed;
            top: 50%;
            left: 50%;
            width: 160vmax;
            height: 160vmax;
            transform: translate(-50%, -50%);
            background: conic-gradient(from 0deg at 50% 50%,
                    transparent 0deg,
                    rgba(255, 215, 0, 0.1) 15deg,
                    transparent 30deg,
                    rgba(255, 150, 0, 0.1) 45deg,
                    transparent 60deg);
            animation: tutwelve_20260618_ray_spin 35s infinite linear;
            pointer-events: none;
            z-index: 2;
        }

        @keyframes tutwelve_20260618_ray_spin {
            from {
                transform: translate(-50%, -50%) rotate(0deg);
            }

            to {
                transform: translate(-50%, -50%) rotate(360deg);
            }
        }


        #tutwelve_20260618_fx_canvas {
            position: fixed;
            top: 0;
            left: 0;
            width: 100vw;
            height: 100vh;
            pointer-events: none;
            z-index: 9999;
        }


        .game_main_wrapper {
            position: relative;
            z-index: 10;
            width: 100%;
            max-width: 480px;
            margin: 0 auto;
            padding: 12px 10px 0;
            box-sizing: border-box;
        }

        .machine_relative_box {
            position: relative;
            width: 100%;
        }


        #tutwelve_20260618_cabinet_shell {
            width: 100%;
            background: radial-gradient(circle at center, #3d0303 0%, #170101 70%, #080000 100%);
            border: 4px solid #ffd700;
            border-image: linear-gradient(135deg, #ffe066 0%, #d4af37 40%, #5e4600 70%, #ffe680 100%) 1;
            border-radius: 18px;
            padding: 12px 12px;
            box-shadow: 0 0 45px rgba(255, 215, 0, 0.4), 0 20px 40px rgba(0, 0, 0, 0.95), inset 0 0 20px rgba(0, 0, 0, 0.9);
            position: relative;
            text-align: center;
        }


        .slot_lever_container {
    position: absolute;
    right: -24px;
    top: 220px;
    width: 50px;
    height: 180px;
    cursor: pointer;
    z-index: 25;
}

        .lever_base {
            position: absolute;
            bottom: 10px;
            left: 2px;
            width: 28px;
            height: 55px;
            background: linear-gradient(180deg, #ffe680 0%, #997a00 50%, #4d3d00 100%);
            border: 1.5px solid #fff2a3;
            border-radius: 6px 10px 10px 6px;
            box-shadow: 0 0 15px rgba(255, 215, 0, 0.8), 4px 6px 12px rgba(0, 0, 0, 0.8);
        }

        .lever_stick {
            position: absolute;
            bottom: 35px;
            left: 11px;
            width: 12px;
            height: 110px;
            background: linear-gradient(90deg, #999 0%, #fff 45%, #ccc 70%, #444 100%);
            border-radius: 4px;
            transform-origin: bottom center;
            transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .lever_ball {
            position: absolute;
            top: -22px;
            left: -11px;
            width: 34px;
            height: 34px;
            border-radius: 50%;
            background: radial-gradient(circle at 35% 35%, #ffffff 0%, #ffd700 25%, #ff0055 60%, #3a0055 100%);
    border: 2px solid #ffffff;
    animation: lever_ball_three_color 1.2s infinite linear;
        }

       @keyframes lever_ball_three_color {
    0%, 100% {
        background: radial-gradient(circle at 35% 35%, #ffffff 0%, #ff1155 25%, #900033 70%, #311b92 100%);
        box-shadow: 0 0 15px #ff0055, 0 0 25px rgba(255, 0, 85, 0.8), inset 0 0 8px #ffffff;
    }
    33.3% {
        background: radial-gradient(circle at 35% 35%, #ffffff 0%, #ffee55 30%, #ff8800 70%, #663300 100%);
        box-shadow: 0 0 18px #ffcc00, 0 0 30px rgba(255, 204, 0, 0.9), inset 0 0 8px #ffffff;
    }
    66.6% {
        background: radial-gradient(circle at 35% 35%, #ffffff 0%, #e040fb 25%, #651fff 70%, #1a237e 100%);
        box-shadow: 0 0 18px #d500f9, 0 0 30px rgba(213, 0, 249, 0.9), inset 0 0 8px #ffffff;
    }
}

        .slot_lever_container.pulled .lever_stick {
            transform: rotateX(65deg) scaleY(0.45);
        }


        .tuhundred_20260618_brand_canopy {
            background: linear-gradient(180deg, #590000 0%, #2b0000 100%);
            border: 2px solid #ffd700;
            border-radius: 10px;
            padding: 8px 4px;
            margin-bottom: 10px;
        }

        .tuhundred_20260618_diamond_logo {
            margin: 0;
            line-height: 1;
        }

        .tuhundred_20260618_subtitle_tag {
            font-size: 15px;
            color: #ffe894;
            letter-spacing: 1.5px;
            margin-top: 4px;
        }

        .tuhundred_20260618_viewport_deck {
            background: linear-gradient(180deg, #ffd700 0%, #b37400 40%, #593a00 100%);
            border: 3px solid #ffea80;
            border-radius: 12px;
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            grid-template-rows: repeat(3, 1fr);
            padding: 6px;
            gap: 6px;
            margin-bottom: 10px;
            position: relative;
            height: 320px;
            overflow: hidden;
            box-sizing: border-box;
        }

        .tuhundred_20260618_viewport_deck::before,
        .tuhundred_20260618_viewport_deck::after {
            content: "";
            position: absolute;
            left: 0;
            width: 100%;
            height: 40px;
            z-index: 8;
            pointer-events: none;
        }

        .tuhundred_20260618_viewport_deck::before {
            top: 0;
            background: linear-gradient(180deg, rgba(10, 0, 0, 0.85) 0%, transparent 100%);
        }

        .tuhundred_20260618_viewport_deck::after {
            bottom: 0;
            background: linear-gradient(0deg, rgba(10, 0, 0, 0.85) 0%, transparent 100%);
        }

        .tuhundred_20260618_viewport_deck .jackpot_line {
            position: absolute;
            left: 4px;
            right: 4px;
            top: 50%;
            height: 4px;
            margin-top: -2px;
            background: linear-gradient(90deg, transparent 0%, #ffffff 20%, #ffea00 50%, #ffffff 80%, transparent 100%);
            box-shadow: 0 0 12px #ffea00;
            z-index: 10;
        }

        .tuhundred_20260618_roller_tunnel {
            width: 100%;
            height: 100%;
            background: linear-gradient(180deg, #ffffff 0%, #f2f2f2 50%, #e6e6e6 100%) !important;
            border: 1.5px solid #996600;
            border-radius: 6px;
            overflow: hidden;
            position: relative;
        }

        .tuhundred_20260618_strip_container {
            position: absolute;
            width: 100%;
            top: 0;
            left: 0;
            display: flex;
            flex-direction: column;
        }

        @keyframes tutwelve_20260618_roll_loop {
            0% {
                transform: translateY(0px);
            }

            100% {
                transform: translateY(-1200px);
            }
        }

        .tuhundred_20260618_motion_blur {
            filter: blur(4px) scaleY(1.1);
            will-change: transform, filter;
            animation: tutwelve_20260618_roll_loop 0.22s linear infinite !important;
        }

        .tuhundred_20260618_elastic_snap {
            transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.22) !important;
        }

        .tuhundred_20260618_luxury_item {
            width: 100%;
            display: flex;
            justify-content: center;
            align-items: center;
            font-size: 36px !important;
            font-weight: 700;
            text-align: center;
        }

        .tuhundred_20260618_item_8 {
            color: #ff0055 !important;
            text-shadow: 0 2px 4px #000;
            font-size: 82px;
            padding: 20px;
        }

        .tuhundred_20260618_item_7 {
            color: #ff1111 !important;
            text-shadow: 0 2px 4px #000;
            font-size: 82px;
            padding: 20px;
        }

        .tuhundred_20260618_item_6 {
            color: #ff9900 !important;
            text-shadow: 0 2px 4px #000;
            font-size: 82px;
            padding: 20px;
        }

        .tuhundred_20260618_item_k {
            color: #e600ff !important;
            text-shadow: 0 2px 4px #ffffff;
            font-size: 82px;
            padding: 20px;
        }

        .tuhundred_20260618_item_o {
            color: #00d2ff !important;
            text-shadow: 0 2px 4px #000;
            font-size: 82px;
            padding: 20px;
        }

        @keyframes gold_item_pulse_glow {

            0% {
                transform: scale(0.92);
                filter: drop-shadow(0 0 6px rgba(255, 215, 0, 0.6)) brightness(1);
            }

            50% {
                transform: scale(1.18);
                filter: drop-shadow(0 0 20px rgba(255, 223, 0, 1)) drop-shadow(0 0 35px rgba(255, 140, 0, 0.9)) brightness(1.5);
            }

            100% {
                transform: scale(0.92);
                filter: drop-shadow(0 0 6px rgba(255, 215, 0, 0.6)) brightness(1);
            }
        }

        .tuhundred_20260618_item_diamond,
        .tuhundred_20260618_item_crown,
        .tuhundred_20260618_item_gift {
            animation: gold_item_pulse_glow 1.2s infinite ease-in-out !important;
            will-change: transform, filter;
            display: inline-block;
        }

        .tuhundred_20260618_item_diamond {
            color: #1a75ff !important;
            font-size: 52px;
            animation-delay: 0s !important;
        }

        .tuhundred_20260618_item_crown {
            color: #ffd700 !important;
            font-size: 52px;
            animation-delay: 0.3s !important;
        }

        .tuhundred_20260618_item_gift {
            color: #ff4d4d !important;
            font-size: 52px;
            animation-delay: 0.6s !important;
        }

        .tuhundred_20260618_ledger_board {
            background: #0d0000;
            border: 1.5px solid #ffcc00;
            border-radius: 8px;
            padding: 6px 10px;
            min-height: 36px;
            display: flex;
            justify-content: center;
            align-items: center;
            margin-bottom: 8px;
        }

        #tutwelve_20260618_live_status {
            font-size: 16px;
            color: #fff2a3;
            line-height: 1.3;
        }

        #tutwelve_20260618_points_box {
            margin: 4px auto 8px;
            background: #140000;
            border: 1.5px solid #ffd700;
            border-radius: 12px;
            padding: 4px 12px;
            color: #ffd700;
            font-size: 15px !important;
            display: inline-block;
        }

        #tutwelve_20260618_spin_btn {
            width: 100%;
            background: linear-gradient(180deg, #8a00e6 0%, #4c0080 50%, #260040 100%);
            border: 2px solid #ffea80;
            border-radius: 30px;
            padding: 11px 10px;
            color: #fff;
            font-size: 20px !important;
            font-weight: 900;
            letter-spacing: 1.5px;
            cursor: pointer;
            box-shadow: 0 5px 0 #180028, 0 8px 15px rgba(0, 0, 0, 0.6);
        }

        #tutwelve_20260618_spin_btn:active:not(:disabled) {
            transform: translateY(3px);
            box-shadow: 0 2px 0 #180028;
        }

        #tutwelve_20260618_spin_btn:disabled {
            background: linear-gradient(180deg, #555 0%, #222 100%);
            border-color: #778;
            box-shadow: none;
        }

        #tutwelve_20260618_ad_btn {
            width: 100%;
            margin-top: 8px;
            background: linear-gradient(180deg, #ffe600 0%, #ff8800 50%, #b34a00 100%);
            border: 1.5px solid #ffffff;
            border-radius: 25px;
            padding: 15px;
            color: #fff;
            font-size: 16px;
            font-weight: 900;
            cursor: pointer;
            box-shadow: 0 3px 6px rgba(0, 0, 0, 0.5);
        }

        .game_info_content_section {
            width: 100%;
            max-width: 480px;
            margin: 20px auto 40px;
            padding: 18px;
            position: relative;
            z-index: 10;
            color: #ffe894;
            background: rgba(13, 0, 0, 0.88);
            border: 2px solid #ffd700;
            border-radius: 14px;
            box-shadow: 0 0 20px rgba(0, 0, 0, 0.85);
            box-sizing: border-box;
        }

        .game_info_content_section h3 {
            color: #ffd700;
            border-bottom: 1px solid #ffd700;
            padding-bottom: 6px;
            margin-top: 0;
            font-size: 18px;
        }

        .game_info_content_section p,
        .game_info_content_section ul {
            font-size: 14px;
            line-height: 1.6;
            color: #dcdcdc;
            margin: 8px 0;
            padding-left: 20px;
        }


        #tutwelve_20260618_jackpot_modal {
            position: fixed;
            top: 0;
            left: 0;
            width: 100vw;
            height: 100vh;
            background: rgba(10, 2, 2, 0.85);
            backdrop-filter: blur(8px);
            z-index: 5000;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.3s ease;
        }

        #tutwelve_20260618_jackpot_modal.modal_reveal {
            opacity: 1;
            pointer-events: auto;
        }

        #tutwelve_20260618_modal_body {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 90%;
            max-width: 380px;
            background: radial-gradient(circle at center, #260202 0%, #0d0000 100%);
            border: 3px solid #ffd700;
            border-radius: 16px;
            padding: 20px;
            text-align: center;
            box-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
        }

        @media (max-width: 767px) {
            #tutwelve_20260618_modal_body {
                top: 40% !important;
            }
        }

        .tuhundred_20260618_big_win_title {
            font-size: 49px;
            font-weight: 800;
            margin: 0;
            background: linear-gradient(180deg, #fff 0%, #ffcc00 50%, #ff3300 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .combo_preview_box {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 8px;
            background: rgba(0, 0, 0, 0.6);
            border: 1px solid #ffd700;
            border-radius: 8px;
            padding: 20px 6px;
            margin: 10px 0;
            font-size: 20px;
        }


        #modal_combo_display span {
            display: inline-block;
            animation: result_gold_shimmer 0.8s infinite alternate ease-in-out;
            will-change: transform, filter, text-shadow;
        }

        #modal_combo_display span:nth-child(1) {
            animation-delay: 0s;
        }

        #modal_combo_display span:nth-child(2) {
            animation-delay: 0.15s;
        }

        #modal_combo_display span:nth-child(3) {
            animation-delay: 0.3s;
        }

        @keyframes result_gold_shimmer {
            0% {
                transform: scale(0.92);
                filter: brightness(1);
                text-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
            }

            50% {
                filter: brightness(1.4);
                text-shadow: 0 0 15px rgba(255, 235, 59, 0.9), 0 0 25px rgba(255, 152, 0, 0.8);
            }

            100% {
                transform: scale(1.18);
                filter: brightness(1.8);
                text-shadow: 0 0 20px rgba(255, 255, 255, 1), 0 0 35px rgba(255, 215, 0, 1), 0 0 50px rgba(255, 87, 34, 0.9);
            }
        }



        .tuhundred_20260618_payout_counter_frame {
            background: rgba(0, 0, 0, 0.85);
            border: 1px dashed #ffea00;
            border-radius: 8px;
            padding: 8px;
            margin: 10px 0;
        }

        #tutwelve_20260618_payout_number {
            font-size: 1.8rem;
            color: #ffea00;
            font-weight: 900;
        }

        .tuhundred_20260618_pulse_btn {
            width: 100%;
            border: 1px solid #fff;
            border-radius: 30px;
            padding: 10px;
            font-size: 1rem;
            font-weight: 900;
            cursor: pointer;
            color: #fff;
            margin-top: 8px;
        }

        .tuhundred_20260618_action_claim {
            background: linear-gradient(180deg, #ff2a54 0%, #ff003c 100%);
        }

        .tuhundred_20260618_action_retry {
            background: linear-gradient(180deg, #ffcc00 0%, #ff8800 100%);
        }


        .tuhundred_20260618_jump_btn {
            display: block;
            width: 100%;
            margin-top: 15px;
            padding: 12px;
            font-size: 21px;
            font-weight: 900;
            color: #ffffff;
            text-decoration: none;
            text-align: center;
            border: 2px solid #ffffff;
            border-radius: 30px;
            background: linear-gradient(180deg, #00e676 0%, #00897b 100%);
            box-shadow: 0 0 15px rgba(0, 230, 118, 0.8);
            animation: tutwelve_20260618_jump_flash 0.8s infinite alternate ease-in-out;
            box-sizing: border-box;
        }

        @keyframes tutwelve_20260618_jump_flash {
            0% {
                transform: scale(0.96) translateY(0);
                filter: brightness(1);
                box-shadow: 0 0 8px rgba(0, 230, 118, 0.6);
            }

            50% {
                filter: brightness(1.3);
            }

            100% {
                transform: scale(1.05) translateY(-5px);
                filter: brightness(1.6);
                box-shadow: 0 0 25px rgba(255, 235, 59, 1), 0 0 12px rgba(0, 230, 118, 0.9);
            }
        }

        @media(max-width: 500px) {
            .game_main_wrapper {
                padding: 8px 6px 0;
            }
        }