
        /* Base Styles & Mobile First Reset */
        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }
        html, body {
            height: 100vh;
            width: 100vw;
            overflow: hidden !important;
        }
        body {
            background-color: #111;
            color: #fff;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            background-image: url('images/dealornodeal4.jpg');
            background-repeat: no-repeat;
            background-attachment: fixed;
            background-position: left;
            background-size: 100% 100%;
        }
        h1 {
            font-size: 1.5rem;
            margin-bottom: 5px;
            text-align: center;
            letter-spacing: 2px;
        }
        /* Score & Level Header Banner */
        .metrics-bar {
            display: flex;
            gap: 25px;
            font-family: monospace;
            font-size: 1.2rem;
            margin-bottom: 12px;
        }
        .metric-box span {
            color: #2196F3;
            font-weight: bold;
        }
        .metric-box {
            color: white;
            font-weight: bold;
            font-family: sans-serif;
        }
        /* Game Arena Container */
        .game-wrapper {
            position: relative;
            display: flex;
            flex-direction: column;
            align-items: center;
            width: fit-content;
            margin-left: auto;
            margin-right: auto;
        }
        
        #main { height: fit-content; width: fit-content; display: none; }
        
        /* Setup / Interaction Menu Overlay */
        #setup-menu {
            background-color: black;
            border: 4px solid rgb(33, 150, 243);
            border-radius: 20px;
            padding: 20px;
            width: 460px;
            text-align: center;
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.8);
        }
        .menu-title {
            font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
            font-size: 1.6rem;
            color: rgb(33, 150, 243);
            margin-bottom: 10px;
            letter-spacing: 1px;
        }
        .menu-label {
            font-family: sans-serif;
            font-size: 0.95rem;
            color: #aaa;
            margin-bottom: 10px;
        }
        
        /* Clickable Option Pills Container */
        .options-pill-row {
            display: flex;
            justify-content: center;
            gap: 6px;
            margin-bottom: 15px;
            overflow: scroll;
            scrollbar-width: none;
        }
        .option-pill {
            background-color: #222;
            border: 2px solid #555;
            color: #ccc;
            padding: 6px 12px;
            font-family: monospace;
            font-weight: bold;
            font-size: 0.85rem;
            border-radius: 20px;
            cursor: pointer;
            transition: all 0.2s ease;
        }
        .option-pill:hover {
            border-color: rgb(33, 150, 243);
            color: white;
            transform: translateY(-2px);
        }
        .option-pill.active {
            background-color: rgb(33, 150, 243);
            color: black;
            border-color: white;
            box-shadow: 0 0 12px rgba(33, 150, 243, 0.6);
        }
        
        /* Ball Grid Layout Area - Fixed to 10 Columns, No Scrollbars */
        .ball-grid {
            display: grid;
            grid-template-columns: repeat(10, 1fr);
            gap: 6px;
            margin-bottom: 15px;
            padding: 5px;
            overflow: scroll;
            scrollbar-width: none;
        }
        .lottery-ball {
            width: 34px;
            height: 34px;
            border-radius: 50%;
            background-color: #222;
            border: 2px solid #555;
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            font-family: monospace;
            font-size: 0.9rem;
            cursor: pointer;
            transition: all 0.2s ease;
        }
        .lottery-ball:hover {
            border-color: rgb(33, 150, 243);
            transform: scale(1.05);
        }
        .lottery-ball.selected {
            background-color: rgb(33, 150, 243);
            color: black;
            border-color: white;
            box-shadow: 0 0 10px rgba(33, 150, 243, 0.8);
        }
        
        .setup-btn {
            background-color: rgba(33, 150, 243, 0.15);
            border: 2px solid rgb(33, 150, 243);
            color: white;
            font-size: 1.05rem;
            font-weight: bold;
            padding: 10px;
            border-radius: 10px;
            cursor: pointer;
            font-family: monospace;
            transition: all 0.2s ease;
            width: 100%;
        }
        .setup-btn:hover:not(:disabled) {
            background-color: rgb(33, 150, 243);
            color: black;
            box-shadow: 0 0 15px rgba(33, 150, 243, 0.5);
        }
        .setup-btn:disabled {
            border-color: #444;
            color: #666;
            cursor: not-allowed;
            background-color: rgba(0, 0, 0, 0.5);
        }

        /* Displays for Draw Arena Stage */
        .arena-card {
            background-color: #0a0b10;
            border: 4px solid #fff;
            width: 440px;
            padding: 20px 15px;
            text-align: center;
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
            position: relative;
            overflow: hidden;
        }
        .display-row {
            display: flex;
            justify-content: center;
            gap: 10px;
            margin: 15px 0;
            min-height: 44px;
            position: relative;
            flex-wrap: wrap;
        }
        .drawn-ball {
            width: 38px;
            height: 38px;
            border-radius: 50%;
            background-color: #ef5350;
            color: white;
            border: 2px solid white;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            font-family: monospace;
            font-size: 1.1rem;
            position: relative;
        }

        /* Pure Fading Sequential Transitions */
        .fading-ball {
            opacity: 0;
            animation: pureFadeIn 0.5s ease-in forwards;
        }

        @keyframes pureFadeIn {
            0% { opacity: 0; }
            100% { opacity: 1; }
        }

        /* End Screen Structure Elements */
        #olka {
            color: white;
            font-size: 26px;
            text-align: center;
            width: 100%;
            margin-top: auto;
            margin-bottom: auto;
            font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
            letter-spacing: 1px;
            padding: 5px;
        }
        #cussa {
            margin-left: auto;
            margin-right: auto;
            width: 416px;
            display: none;
        }
        #jeal {
            background-color: black;
            height: 140px;
            width: 340px;
            border: 15px solid rgb(33, 150, 243);
            margin-top: 10px;
            margin-left: auto;
            margin-right: auto;
            border-radius: 20px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            animation-duration: 2s;
            animation-fill-mode: forwards;
            animation-timing-function: linear;
            animation-name: nama;
            animation-iteration-count: infinite;
        }
        @keyframes nama {
            25% { border-right: 15px solid rgb(0, 150, 255); }
            50% { border-bottom: 15px solid rgb(0, 150, 255); }
            75% { border-left: 15px solid rgb(0, 150, 255); }
            100% { border-top: 15px solid rgb(0, 150, 255); }
        }
        #rrbtn {
            height: 50px;
            width: 330px;
            display: grid;
            grid-template-columns: 50% 50%;
            column-gap: 10px;
            margin-left: auto;
            margin-right: auto;
            margin-top: 20px;
        }
        #realbtn {
            background-color: rgb(66, 165, 245);
            font-weight: 535;
            font-size: 16px;
            color: black;
            border-radius: 10px;
            height: 100%;
            width: 100%;
            cursor: pointer;
            border: none;
        }
        #norealbtn {
            background-color: red;
            font-weight: 535;
            font-size: 16px;
            color: black;
            border-radius: 10px;
            height: 100%;
            width: 100%;
            cursor: pointer;
            border: none;
        }
        #realbtn:hover, #norealbtn:hover { opacity: 0.6; }
        #yourscore {
            display: block;
            margin-top: 10px;
            font-size: 14px;
            color: #aaa;
            text-align: center;
            font-family: sans-serif;
            white-space: pre-line;
        }
        #reli {
            font-size: 18px;
            margin-bottom: 0px;
            margin-left: auto;
            margin-right: auto;
            text-align: center;
            color: black;
            font-family: sans-serif;
            font-weight: bold;
        }
        #offer {
            background-color: transparent;
            display: block;
            height: 250px;
            width: 416px;
            margin-left: auto;
            margin-right: auto;
            margin-top: 20px;
        }
        #big {
            height: auto;
            width: fit-content;
            background-color: transparent;
            font-size: 3.5rem;
            font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
            color: rgb(33, 150, 243);
            margin-left: auto;
            margin-right: auto;
            padding-top: 5px;
            margin-bottom: 5px;
        }

        /* Desktop Controls Visual Cue */
        .controls-info {
            font-family: sans-serif;
            margin-top: 15px;
            font-size: 0.9rem;
            color: #474747;
            text-align: center;
        }

        /* Responsive Breakpoints Layering */
        @media screen and (max-width: 450px) {
            #setup-menu, .arena-card, #cussa, #offer {
                width: 92vw !important;
            }
            #jeal, #rrbtn {
                width: 80vw !important;
            }
        }
    