@font-face{font-family:LoungePencil;src:url('assets/fonts/kalam-latin-400-normal.woff2') format('woff2');font-display:swap}
/* Legible faces: black/red ink, larger corners, ivory paper. */
.cardrow .card{width:100px!important;height:145px!important;min-width:100px!important;flex-shrink:0}.cardrow{overflow-x:auto!important;max-width:100%;padding:10px 4px}
.card.luxury-card .card-index{font-size:27px!important;line-height:1!important;font-weight:800!important}.card.luxury-card .card-index b{font-size:inherit!important;color:inherit!important}.card.luxury-card .card-index small{font-size:21px!important;line-height:1!important;color:inherit!important}.card.luxury-card{color:#111c28!important}.card.luxury-card.red{color:#a20e32!important}.card.luxury-card .card-pips i{color:inherit!important;font-size:15px!important}
.poker-game .poker-hole.your-hole .card{width:82px!important;height:119px!important;min-width:82px!important;min-height:119px!important;flex-basis:82px!important}.poker-game .poker-hole.your-hole{gap:8px!important}.poker-game .poker-community .card,.poker-card-slot{width:clamp(49px,14vw,76px)!important;height:clamp(71px,20.3vw,110px)!important;flex-basis:clamp(49px,14vw,76px)!important;min-width:0!important}.poker-game .poker-community{gap:4px!important}.poker-game .card.luxury-card .card-index{font-size:23px!important}.poker-game .card.luxury-card .card-index small{font-size:17px!important}.poker-game .card.luxury-card .card-pips i{font-size:11px!important}.poker-game .poker-hole:not(.your-hole) .card .card-index{font-size:12px!important}.poker-game .poker-hole:not(.your-hole) .card .card-index small{font-size:9px!important}
.spades-hand .card,.spade-hand .card{width:82px!important;height:119px!important;min-width:82px!important}.solitaire-table .card.luxury-card .card-index{font-size:clamp(17px,2.6vw,28px)!important;left:2px!important;top:2px!important}.solitaire-table .card.luxury-card .card-index small{font-size:clamp(12px,2vw,19px)!important}.solitaire-table .card.luxury-card .card-pips i{font-size:clamp(8px,1.4vw,16px)!important}.solitaire-table .card.luxury-card .index-bottom{left:auto!important;top:auto!important;right:2px!important;bottom:2px!important}
.puzzle-screen .sudcell.pencil-entry{font-family:LoungePencil,'Chalkboard SE',cursive!important;font-size:clamp(27px,7vw,44px)!important;font-weight:400!important;text-shadow:.35px .15px 0 currentColor!important;line-height:1!important;color:var(--sud-entry)!important}.sudoku-table .sudcell.given{font-size:clamp(21px,5.7vw,36px)!important}
.casino-bet-slip{margin:12px 0;padding:14px;background:#0c2431;border:1px solid #cda956;border-radius:15px}.casino-bet-slip strong{color:#ffe2a0}.casino-bet-slip p{font-size:13px;margin:5px 0;color:#d5e5e7}.slip-items{display:flex;gap:5px;flex-wrap:wrap;max-height:120px;overflow:auto}.slip-items span{padding:5px 9px;border-radius:12px;background:#385449;font-size:13px}.slip-actions{display:flex;gap:7px;margin-top:9px;flex-wrap:wrap}.slip-actions button{min-height:44px}.bet-spot{touch-action:manipulation;min-height:44px!important}.craps-mode{display:flex;gap:7px;margin:8px 0}.craps-mode button[aria-pressed=true]{border-color:#f7d16e;background:#245747}.street-rules{max-width:680px;margin:0 auto;padding:20px;border:1px solid #cba34f;background:#08281fcf;border-radius:20px}.street-rules h3{font-size:25px;color:#ffe6ab;margin:0 0 12px}.street-rules p{line-height:1.6}.street-rules .bet-spot{width:100%;min-height:64px!important;font-size:19px}.casino-tables-screen .game-wrap,.casino-tables-screen .game-scene{height:auto!important;overflow:visible!important}.casino-tables-screen{height:auto!important;overflow-y:auto!important}
.roulette-closeup{position:fixed;inset:0;z-index:150;background:radial-gradient(ellipse,#224733,#050d17 75%);display:flex;flex-direction:column;align-items:center;justify-content:center;padding:16px;padding-bottom:calc(16px + env(safe-area-inset-bottom));pointer-events:none}.roulette-closeup h2{font:700 28px Georgia;color:#ffe6a1}.roulette-closeup .roulette-wheel-shell{width:min(88vw,70dvh,640px)!important;height:min(88vw,70dvh,640px)!important;flex:none}.roulette-closeup .roulette-wheel{width:100%!important;height:100%!important}.roulette-closeup p{color:#fff0cf;text-align:center}
.dice-stage{height:210px!important;min-height:210px!important;display:flex!important;align-items:center;justify-content:center;gap:40px!important;background:radial-gradient(ellipse,#266249,#103928 65%);border-radius:22px;border:1px solid #ac864d;overflow:hidden;position:relative;margin:14px 0!important}.dice-stage>strong{position:absolute;bottom:8px;left:0;right:0;text-align:center;color:#fff0bd;font-size:23px!important}.die-perspective{width:74px;height:74px;perspective:550px;--edge:74px;--half:37px}.die-cube{width:100%;height:100%;position:relative;transform-style:preserve-3d;transform:rotateX(-16deg) rotateY(18deg);filter:drop-shadow(7px 16px 5px #0008)}.die-face{position:absolute;inset:0;display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(3,1fr);gap:5px;padding:10px;border:2px solid #d6b269;border-radius:12px;background:linear-gradient(135deg,#fffaf0,#dacfb1);box-shadow:inset 2px 2px 5px #fff,inset -2px -2px 5px #9c875a;backface-visibility:hidden;box-sizing:border-box}.die-face i{border-radius:50%}.die-face i.pip{background:radial-gradient(circle at 35% 30%,#394a50,#050b12 65%);box-shadow:inset 1px 1px 2px #000,0 1px 0 #fff}.face-0{transform:translateZ(var(--half))}.face-1{transform:rotateY(180deg) translateZ(var(--half))}.face-2{transform:rotateY(90deg) translateZ(var(--half))}.face-3{transform:rotateY(-90deg) translateZ(var(--half))}.face-4{transform:rotateX(90deg) translateZ(var(--half))}.face-5{transform:rotateX(-90deg) translateZ(var(--half))}.rolling .die-cube{animation:dice-tumble 1.5s cubic-bezier(.15,.7,.35,1) both;animation-delay:calc(var(--die-index)*65ms)}.settled .die-cube{animation:dice-reveal .35s ease-out both;transform:rotateX(-16deg) rotateY(18deg) scale(1.15)}
@keyframes dice-tumble{0%{transform:translate(-180px,-40px) rotateX(0deg) rotateY(0deg) scale(.7)}25%{transform:translate(-70px,-45px) rotateX(360deg) rotateY(200deg)}55%{transform:translate(65px,-5px) rotateX(720deg) rotateY(540deg)}80%{transform:translate(10px,-15px) rotateX(1020deg) rotateY(760deg)}100%{transform:translate(0,0) rotateX(1064deg) rotateY(1098deg)}}
@keyframes dice-reveal{from{transform:rotateX(-16deg) rotateY(18deg) scale(.85)}to{transform:rotateX(-16deg) rotateY(18deg) scale(1.15)}}
@media(orientation:landscape) and (max-height:650px){.roulette-closeup{flex-direction:row;gap:20px}.roulette-closeup .roulette-wheel-shell{width:80dvh!important;height:80dvh!important}.roulette-closeup h2,.roulette-closeup p{max-width:140px}.poker-game .poker-hole.your-hole .card{width:66px!important;height:96px!important;min-width:66px!important;min-height:96px!important}.poker-game .poker-community .card,.poker-card-slot{width:57px!important;height:83px!important;flex-basis:57px!important}.puzzle-screen .sudcell.pencil-entry{font-size:29px!important}.sudoku-table .sudcell.given{font-size:23px!important}}
@media(prefers-reduced-motion:reduce){.die-cube{animation:none!important}.roulette-wheel{animation:none!important}}.no-motion .die-cube{animation:none!important}

.bet-spot.slip-selected{outline:3px solid #7eeec3!important;outline-offset:-3px;box-shadow:inset 0 0 18px #64f1b944!important}

.spadeshand .card{width:82px!important;height:119px!important;min-width:82px!important;flex-shrink:0!important}.spadeshand{overflow-x:auto!important;max-width:100%;padding-bottom:10px!important}.trickstage .card{width:86px!important;height:125px!important}.trickstage{flex-wrap:wrap!important}.poker-game .poker-community .card .card-index{left:2px!important;top:2px!important}.poker-game .poker-community .card .index-bottom{left:auto!important;top:auto!important;right:2px!important;bottom:2px!important}
.poker-game .card.luxury-card .card-index b,.solitaire-table .card.luxury-card .card-index b,.spadeshand .card.luxury-card .card-index b{font-size:inherit!important;color:var(--face-ink)!important}.poker-game .card.luxury-card .card-pips i,.spadeshand .card.luxury-card .card-pips i{color:var(--face-ink)!important}.poker-game .poker-community .card.luxury-card .card-index small{font-size:17px!important}
.poker-game .poker-private-hand{display:flex;flex-direction:column;align-items:center;margin:8px 0 18px;position:relative;z-index:3}.poker-private-hand>small{letter-spacing:2px;color:#e9d28e;margin-bottom:4px}.poker-game .poker-table{margin-bottom:22px!important}.poker-game .your-seat{width:110px!important}.poker-private-hand .your-hole .card{pointer-events:none}.poker-game .poker-hole.your-hole .card{flex-shrink:0!important}
@media(orientation:landscape) and (max-height:650px){.poker-private-hand{width:62%;margin-top:12px!important}.poker-game .your-seat{width:90px!important}.poker-game .poker-table{margin-bottom:28px!important}}
