:root{--bg:#0f1115;--panel:#161c27;--ink:#e9eef9;--muted:#9fb0cf;--accent:#22d3ee;--danger:#ff6b6b;--felt:#1a472a}*{box-sizing:border-box}body{margin:0;background-image:url(/video/casino-entrance.gif);background-size:cover;background-position:center;background-attachment:fixed;color:var(--ink);font-family:"Press Start 2P",ui-monospace,Courier New,monospace;min-height:100vh;display:flex;align-items:center;justify-content:center;padding:24px;cursor:none;position:relative;overflow:hidden}body:before{content:"";position:fixed;top:0;left:0;width:100%;height:100%;background:#00000073;pointer-events:none;z-index:0}main{position:relative;z-index:1}.table{width:min(900px,95vw);background:linear-gradient(135deg,var(--felt) 0%,#235c3a 50%,var(--felt) 100%);border:4px solid #ffd700;border-radius:0;padding:20px;box-shadow:0 20px 50px #00000080,0 0 20px #ffd70066,0 0 40px #ffd70040,0 0 80px #ffd70026;position:relative;animation:tableFloat 4s ease-in-out infinite}@keyframes tableFloat{0%,to{transform:translateY(0)}50%{transform:translateY(-6px)}}.table:before{content:"";position:absolute;inset:0;background-image:repeating-linear-gradient(90deg,transparent,transparent 20px,rgba(255,215,0,.04) 20px,rgba(255,215,0,.04) 40px),repeating-linear-gradient(0deg,transparent,transparent 20px,rgba(255,215,0,.04) 20px,rgba(255,215,0,.04) 40px);pointer-events:none}header{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px;border-bottom:4px solid #000;padding-bottom:10px}header a{color:gold;text-decoration:none;border:3px solid #000;padding:8px 12px;border-radius:0;font-weight:700;background:#000;transition:background .2s;font-size:10px;cursor:none}header a:hover{background:gold;color:#000}header button{color:gold;background:#000;border:2px solid #ffd700;padding:4px 6px;cursor:none;transition:background .2s}header button:hover{background:gold;color:#000}#bg-video{display:none}#bg-video.show{display:block}.overlay{position:fixed;inset:0;background:#000000d9;z-index:100;display:none;align-items:center;justify-content:center;padding:20px}.overlay.open{display:flex}.modal{width:min(360px,90vw);max-height:70vh;overflow-y:auto;background:#0a0a0a;border:3px solid #ffd700;padding:20px;box-shadow:0 0 20px #ffd70066}.modal-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px;gap:10px}.modal-head h2{margin:0;font-size:12px;color:gold;font-weight:400}.btn{color:gold;text-decoration:none;border:3px solid #ffd700;padding:8px 12px;background:#000;font-size:9px;transition:background .2s,color .2s;cursor:none;font-family:inherit;letter-spacing:1px;text-transform:uppercase}.btn:hover{background:gold;color:#000}.picker-row{display:flex;align-items:center;padding:6px 0;border-bottom:1px solid rgba(255,215,0,.2);color:gold;font-size:11px}.picker-row:last-child{border-bottom:none}.volume-row{display:flex;align-items:center;gap:10px;margin-bottom:16px;padding-bottom:14px;border-bottom:1px solid rgba(255,215,0,.3)}.volume-row input[type=range]{flex:1;accent-color:#ffd700;cursor:none;touch-action:none;padding:14px 0}.volume-mute-btn{all:unset;cursor:none;font-size:16px;padding:4px 8px;border:1px solid #ffd700;border-radius:0;background:#000}body.theme-hello-kitty header a,body.theme-hello-kitty header button,body.theme-hello-kitty .btn,body.theme-hello-kitty .volume-mute-btn{background:#ffb6d9;border-color:#ff5fa8;color:#9c004f;text-shadow:none;box-shadow:0 0 12px #ff5fa866}body.theme-hello-kitty header a:hover,body.theme-hello-kitty header button:hover,body.theme-hello-kitty .btn:hover,body.theme-hello-kitty .volume-mute-btn:hover{background:#ffd1e8}body.theme-old-ppl-slot header a,body.theme-old-ppl-slot header button,body.theme-old-ppl-slot .btn,body.theme-old-ppl-slot .volume-mute-btn{background:gold;border-color:#c9a227;color:#3a2a00;text-shadow:none;box-shadow:0 0 12px #ffd70073}body.theme-old-ppl-slot header a:hover,body.theme-old-ppl-slot header button:hover,body.theme-old-ppl-slot .btn:hover,body.theme-old-ppl-slot .volume-mute-btn:hover{background:#ffe766}@keyframes uv-glow{0%,to{box-shadow:0 0 10px #9d4edd59}50%{box-shadow:0 0 22px #b026ffa6}}body.theme-waster header a,body.theme-waster header button,body.theme-waster .btn,body.theme-waster .volume-mute-btn,body.theme-evian header a,body.theme-evian header button,body.theme-evian .btn,body.theme-evian .volume-mute-btn{background:#1a0533;border-color:#9d4edd;color:#e0aaff;text-shadow:0 0 8px rgba(176,38,255,.6);animation:uv-glow 2.4s ease-in-out infinite}body.theme-waster header a:hover,body.theme-waster header button:hover,body.theme-waster .btn:hover,body.theme-waster .volume-mute-btn:hover,body.theme-evian header a:hover,body.theme-evian header button:hover,body.theme-evian .btn:hover,body.theme-evian .volume-mute-btn:hover{background:#2d0a5c}@keyframes beat-pulse{0%,to{filter:brightness(1)}50%{filter:brightness(1.28)}}body.theme-girl-like-me header a,body.theme-girl-like-me header button,body.theme-girl-like-me .btn,body.theme-girl-like-me .volume-mute-btn{animation:beat-pulse .438s ease-in-out infinite}@keyframes rgb-cycle{0%{filter:hue-rotate(0deg)}to{filter:hue-rotate(360deg)}}body.theme-clarity header a,body.theme-clarity header button,body.theme-clarity .btn,body.theme-clarity .volume-mute-btn{animation:rgb-cycle 1.875s linear infinite}@media (prefers-reduced-motion: reduce){body.theme-waster header a,body.theme-waster header button,body.theme-waster .btn,body.theme-waster .volume-mute-btn,body.theme-evian header a,body.theme-evian header button,body.theme-evian .btn,body.theme-evian .volume-mute-btn,body.theme-girl-like-me header a,body.theme-girl-like-me header button,body.theme-girl-like-me .btn,body.theme-girl-like-me .volume-mute-btn,body.theme-clarity header a,body.theme-clarity header button,body.theme-clarity .btn,body.theme-clarity .volume-mute-btn{animation:none}}body.theme-hello-kitty h1{color:#ffb6d9;text-shadow:0 0 8px rgba(255,95,168,.6),2px 2px 0 #000}body.theme-hello-kitty .table{border-color:#ff5fa8;box-shadow:0 20px 50px #00000080,0 0 20px #ff5fa866,0 0 60px #ff5fa826}body.theme-hello-kitty button.primary{background:#ff5fa8;--glow-color:#ff5fa8}body.theme-hello-kitty button.primary:hover:not(:disabled){background:#ff8dc2}body.theme-hello-kitty .status{color:#ffb6d9}body.theme-old-ppl-slot h1{color:gold;text-shadow:0 0 8px rgba(255,215,0,.6),2px 2px 0 #000}body.theme-old-ppl-slot .table{border-color:gold;box-shadow:0 20px 50px #00000080,0 0 20px #ffd70066,0 0 60px #ffd70026}body.theme-old-ppl-slot button.primary{background:#c9a227;--glow-color:#ffd700}body.theme-old-ppl-slot button.primary:hover:not(:disabled){background:#e0b82e}body.theme-old-ppl-slot .status{color:gold}body.theme-waster h1,body.theme-evian h1{color:#e0aaff;text-shadow:0 0 8px rgba(176,38,255,.6),2px 2px 0 #000}body.theme-waster .table,body.theme-evian .table{border-color:#9d4edd;box-shadow:0 20px 50px #00000080,0 0 20px #9d4edd66,0 0 60px #9d4edd26}body.theme-waster button.primary,body.theme-evian button.primary{background:#5a2d8a;--glow-color:#9d4edd}body.theme-waster button.primary:hover:not(:disabled),body.theme-evian button.primary:hover:not(:disabled){background:#713bab}body.theme-waster .status,body.theme-evian .status{color:#e0aaff}body.theme-girl-like-me h1,body.theme-girl-like-me .table{animation:beat-pulse .438s ease-in-out infinite}body.theme-clarity h1,body.theme-clarity .table{animation:rgb-cycle 1.875s linear infinite}body.theme-clarity button.primary:not(:disabled){animation:neonBtnPulse 2s ease-in-out infinite,rgb-cycle 1.875s linear infinite}@media (prefers-reduced-motion: reduce){body.theme-girl-like-me h1,body.theme-girl-like-me .table,body.theme-clarity h1,body.theme-clarity .table{animation:none}body.theme-clarity button.primary:not(:disabled){animation:neonBtnPulse 2s ease-in-out infinite}}h1{margin:0;font-size:clamp(13px,2.6vw,20px);letter-spacing:1px;color:gold;font-weight:400;text-shadow:2px 2px 0 #000;text-align:center}.row{margin-top:16px;padding:14px;border:3px solid #8b7a1a;background:#00000059;box-shadow:0 0 10px #ffd70033,inset 0 0 12px #ffd70014;position:relative;z-index:1;transition:border-color .2s,box-shadow .2s}.row.active-hand{border-color:#ffeb3b;box-shadow:0 0 16px #ffeb3b99,inset 0 0 14px #ffeb3b26}.label{color:gold;font-size:10px;margin-bottom:8px;text-transform:uppercase;letter-spacing:1px}.hand{display:flex;gap:8px;flex-wrap:wrap;align-items:center;min-height:96px}.card-slot{width:64px;height:96px;border:3px solid #000;background:#0000004d;padding:8px;display:flex;align-items:center;justify-content:center;border-radius:0}.card-slot.red{border-color:#8b1e2b}.card-img{width:48px;height:48px;image-rendering:pixelated;image-rendering:crisp-edges}.card-slot.deal-in{animation:cardDealIn .3s ease-out}@keyframes cardDealIn{0%{transform:translate(-40px) rotateY(90deg);opacity:0}60%{transform:translate(4px) rotateY(0);opacity:1}to{transform:translate(0) rotateY(0);opacity:1}}.score-display{margin-top:10px;font-size:13px;color:#fff;font-weight:400}.chips{margin-top:10px;color:var(--muted);font-size:11px}.status{margin-top:14px;font-weight:400;font-size:11px;color:#fff}.controls{display:flex;gap:10px;margin-top:16px;flex-wrap:wrap;align-items:center}button{all:unset;cursor:none;padding:12px 24px;border-radius:0;border:3px solid #333;background:#4a6fa5;color:#fff;font-weight:400;font-size:11px;font-family:"Press Start 2P",ui-monospace,monospace;transition:background .15s,transform .1s}button:hover:not(:disabled){background:#6a8fc5}button:active:not(:disabled){transform:translateY(2px)}button.primary{background:#2c5f8a;--glow-color: #3d9bff}button.primary:hover:not(:disabled){background:#3d7cae}button.accent{background:#22757a;--glow-color: #22d3ee}button.accent:hover:not(:disabled){background:#2f9aa1}button.danger{background:#7a2222;--glow-color: #ff6b6b}button.danger:hover:not(:disabled){background:#a13030}button.primary:not(:disabled),button.accent:not(:disabled),button.danger:not(:disabled){animation:neonBtnPulse 2s ease-in-out infinite}@keyframes neonBtnPulse{0%,to{box-shadow:0 0 4px var(--glow-color),0 0 10px var(--glow-color);text-shadow:0 0 4px var(--glow-color)}50%{box-shadow:0 0 10px var(--glow-color),0 0 24px var(--glow-color),0 0 38px var(--glow-color);text-shadow:0 0 8px var(--glow-color)}}button:disabled{opacity:.5;cursor:not-allowed}#earn-panel{display:flex;gap:15px;margin-top:24px;flex-wrap:wrap;justify-content:center;padding:16px;background:#ffd7000f;border:3px solid #ffd700;position:relative;z-index:1}#earn-panel button,#earn-panel a{padding:12px 18px;font-size:10px;background:gold;border:3px solid #8b7a1a;border-radius:0;color:#000;text-decoration:none;font-weight:400;text-transform:uppercase;letter-spacing:1px;font-family:"Press Start 2P",ui-monospace,monospace;cursor:none}#earn-panel button:hover,#earn-panel a:hover{background:#ffe958}#strubles-badge{position:fixed;top:calc(15px + env(safe-area-inset-top));left:calc(20px + env(safe-area-inset-left));display:flex;align-items:center;gap:8px;background:#000;padding:8px 12px;border:3px solid #ffd700;font-weight:700;z-index:20}#strubles-badge img{width:28px;height:28px}.betbox{display:flex;align-items:center;gap:8px}.betbox input{width:70px;padding:8px 10px;border:3px solid #000;background:#0f1523;color:var(--ink);font-weight:700;border-radius:0;font-family:inherit;font-size:11px}.betbox button{padding:8px 14px;min-width:44px;min-height:44px}#bj-money-overlay{display:none;position:fixed;inset:0;z-index:199;background-image:url(/video/raining-money.gif);background-size:cover;background-position:center;pointer-events:none}#bj-money-overlay.show{display:block}#bj-celebration{display:none;position:fixed;inset:0;z-index:200;align-items:center;justify-content:center;pointer-events:none;background:#00000059}#bj-celebration.show{display:flex}#bj-celebration span{font-family:"Press Start 2P",cursive;font-size:clamp(32px,11vw,120px);letter-spacing:4px;text-align:center;padding:0 10px;text-shadow:4px 4px 0 #000,-4px -4px 0 #000,4px -4px 0 #000,-4px 4px 0 #000,0 0 40px currentColor;animation:bjFlash 3.5s steps(1) forwards}@keyframes bjFlash{0%{color:#ffeb3b}8%{color:#000}16%{color:#fff}24%{color:#ffeb3b}32%{color:#000}40%{color:#fff}48%{color:#ffeb3b}56%{color:#000}64%{color:#fff}72%,to{color:#ffeb3b}}@media (max-width:768px){body{overflow-y:auto;padding:12px;background-attachment:scroll}main{margin-top:60px}.table{width:100vw;max-width:100%;padding:10px;margin:0 -12px}h1{font-size:clamp(11px,3vw,14px)}header{flex-direction:column;gap:6px}header a{font-size:8px;padding:5px 8px}.row{padding:8px;margin-top:6px}.label{font-size:8px;margin-bottom:4px}.hand{min-height:70px;gap:4px}.card-slot{width:44px;height:66px;padding:3px}.card-img{width:32px;height:32px}.score-display{font-size:10px}.status{font-size:9px}.controls{flex-direction:column;gap:6px;align-items:stretch}button{font-size:8px;padding:6px 10px;min-height:auto}.betbox{gap:3px}.betbox button{min-width:36px;min-height:36px;padding:4px 6px}.betbox input{width:45px;padding:6px 8px;font-size:9px}#earn-panel{flex-direction:column;gap:6px;margin-top:8px;padding:12px}#earn-panel button,#earn-panel a{padding:8px 12px;font-size:8px}#strubles-badge{top:calc(8px + env(safe-area-inset-top));left:calc(8px + env(safe-area-inset-left));padding:6px 8px}#strubles-badge img{width:22px;height:22px}}
