.card{width:var(--cw);height:var(--ch);border-radius:calc(var(--cw) * .08);border:1px solid var(--card-edge,#c9cfc6);background:var(--card,#fdfdfb);font:inherit;padding:0;position:relative;overflow:hidden;box-shadow:0 1px 2px #00000059,0 5px 12px #00000038}button.card{cursor:pointer}.card:not(.back){background-image:repeating-linear-gradient(0deg,#00000005 0 1px,#0000 1px 3px),repeating-linear-gradient(90deg,#00000004 0 1px,#0000 1px 3px)}.card:after{content:"";border-radius:inherit;pointer-events:none;z-index:2;background:linear-gradient(155deg,#fff3,#fff0 28%),linear-gradient(#0000 88%,#0000000f);position:absolute;inset:0;box-shadow:inset 0 0 0 1px #ffffff80}.card.back:after{box-shadow:none;background:linear-gradient(155deg,#ffffff47,#fff0 38%)}.card{container-type:inline-size}.card .face{pointer-events:none;background:50%/100% 100% no-repeat;display:none;position:absolute;inset:0}@container (width>=72px){.card .face{display:block}.card .corner,.card .pip{display:none}}@container (width>=44px) and (width<=71.99px){.card .face.court{background-position:50% 58%;background-size:150% 142%;border-radius:4px;display:block;inset:30% 7% 5%;box-shadow:inset 0 0 0 1px #0000001f}.card .face.court~.pip{display:none}.card .pip:has(~.face.court){display:none}}.card.red{color:var(--red,#c0262d)}.card.black{color:var(--black,#16181a)}.card .corner{letter-spacing:-.02em;font-weight:700;line-height:1;font-size:calc(var(--cw) * .24);position:absolute;top:3%;left:6%}.card .pip{font-size:calc(var(--cw) * .5);line-height:1;position:absolute;bottom:4%;right:8%}.card.back{background:var(--card-back-image,repeating-linear-gradient(45deg, var(--back-a,#2d4f9e) 0 6px, var(--back-b,#22407f) 6px 12px)) center / 100% 100% no-repeat;border:2px solid var(--card,#fdfdfb)}.card:focus-visible{outline:3px solid var(--focus,#ffd54a);outline-offset:1px}.sound-toggle{background:var(--btn,#00000040);width:36px;min-width:36px;height:36px;color:var(--ink,#fff);cursor:pointer;border:0;border-radius:50%;place-items:center;padding:0;display:inline-grid}.sound-toggle svg{width:20px;height:20px}.sound-toggle[aria-pressed=true]{opacity:.7}.sound-toggle:focus-visible{outline:3px solid var(--focus,#ffd54a);outline-offset:2px}:root{--lamp:radial-gradient(ellipse 70% 50% at 50% 42%, #fffae121, transparent 70%);--vignette:radial-gradient(ellipse 120% 90% at 50% 45%, transparent 55%, #00000080);--bg:#145a3a;--bg-edge:#0d3f28;--ink:#f4f7f2;--muted:#f4f7f2bf;--btn:#00000047;--primary:#f2c14e;--primary-ink:#2a1d00;--good:#8ee39a;--bad:#ffb4a8;--even:#e8e8e8;--focus:#ffd54a;--spot:#ffffff12;--spot-line:#ffffff59;--lightningcss-light: ;--lightningcss-dark:initial;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}*{box-sizing:border-box}html,body{height:100%;margin:0}body{background:var(--lamp), var(--vignette), var(--felt-texture,none), radial-gradient(ellipse at top, var(--bg), var(--bg-edge));color:var(--ink);-webkit-tap-highlight-color:transparent;-webkit-user-select:none;user-select:none;font:15px/1.35 system-ui,-apple-system,Segoe UI,Roboto,sans-serif;overflow:hidden}body.table-cards:before,body.table-felt:before{content:"";z-index:-1;pointer-events:none;background:url(./card-table-landscape-C5Ycz_Ti.webp) bottom/cover no-repeat;position:fixed;inset:0}body.table-felt:before{background:url(./felt-table-landscape-D-Z_aMUi.webp) 50%/100% 100% no-repeat}body.table-desk:before{content:"";z-index:-1;pointer-events:none;background:radial-gradient(at 50% 42%,#ffd69624,#0000 45%,#0000008c 100%),url(./desk-landscape-BSh0a_Mn.webp) 50%/cover no-repeat;position:fixed;inset:0}@media (orientation:portrait){body.table-desk:before{background-image:radial-gradient(at 50% 42%,#ffd69624,#0000 45%,#0000008c 100%),url(./desk-portrait-Cev3BIoy.webp)}}body.table-desk .btn{background:#00000073}body.table-desk .btn.primary{background:var(--primary)}body.table-desk .message,body.table-desk .disclaimer{color:#f3e6d6;text-shadow:0 1px 2px #000000d9}body.table-roulette:before{content:"";z-index:-1;pointer-events:none;background:url(./roulette-table-landscape-iUA1U4Nz.webp) 50%/100% 100% no-repeat;position:fixed;inset:0}@media (orientation:portrait){body.table-roulette:before{background-image:url(./roulette-table-portrait-CK_H_ReI.webp)}}body.table-roulette #app.casino{padding:max(10px,4.2vh) max(12px,3.5vw) max(8px,3.4vh)}@media (orientation:portrait){body.table-cards:before{background-image:url(./card-table-portrait-CChA3le6.webp)}body.table-felt:before{background-image:url(./felt-table-portrait-uQFIqBv3.webp)}}@media (prefers-color-scheme:dark){:root:not([data-theme=light]) body[class*=table-]:before{filter:brightness(.8)}}body.table-felt #app.casino{padding:max(10px,4.2vh) max(12px,5vw) max(8px,3.4vh)}body.table-cards .btn{background:#0000006b}body.table-cards .btn.primary{background:var(--primary)}body.table-print #app.casino .table{position:relative}body.table-print #app.casino .table:before{content:none;z-index:-1;pointer-events:none;aspect-ratio:1000/400;background:var(--table-print) center / contain no-repeat;width:min(100%,560px);position:absolute;bottom:0;left:50%;transform:translate(-50%,18%)perspective(700px)rotateX(30deg)}body.table-print #app.casino .table.print-room:before{content:""}@media (max-height:480px){body.table-print #app.casino .table:before{display:none}}#app.casino{--cw:min(16vw, 76px, max(34px, calc((100dvh - 360px) / 2.9)));--ch:calc(var(--cw) * 1.4);flex-direction:column;align-items:center;gap:8px;height:100dvh;padding:8px 12px;display:flex;overflow:clip}.topbar{font-variant-numeric:tabular-nums;justify-content:space-between;align-items:center;width:100%;max-width:720px;font-weight:700;display:flex}.table{flex-direction:column;flex:1;justify-content:center;align-items:center;gap:10px;width:100%;max-width:720px;min-height:0;display:flex}@media (max-height:480px){.table{overscroll-behavior:contain;justify-content:safe center;overflow-y:auto}}@media (orientation:portrait) and (max-height:640px){.table{overscroll-behavior:contain;justify-content:safe center;gap:6px;overflow-y:auto}.table .message{margin:0;font-size:13px}}.table-shoe{z-index:1;width:min(calc(var(--cw) * 1.05), 16vw);aspect-ratio:120/100;pointer-events:none;background:var(--shoe-image) center / contain no-repeat;filter:drop-shadow(0 6px 8px #00000073);position:absolute;top:0;right:1%;transform:rotate(-8deg)}@media (max-height:480px){.table-shoe{width:calc(var(--cw) * .9)}}.card-slot{width:var(--cw);height:var(--ch);border-radius:calc(var(--cw) * .08);box-sizing:border-box;border:2px dashed #ffffff47;flex:none}.spots{flex-wrap:wrap;justify-content:center;gap:8px;width:100%;display:flex}.spot{font:inherit;color:var(--ink);background:var(--spot);border:2px dashed var(--spot-line);cursor:pointer;border-radius:14px;flex-direction:column;flex:1 1 0;justify-content:center;align-items:center;gap:2px;min-width:96px;max-width:200px;min-height:92px;padding:6px 8px;display:flex}.spot:disabled{cursor:default}.spot:focus-visible{outline:3px solid var(--focus);outline-offset:2px}.spot-name{font-weight:700}.spot-odds{color:var(--muted);font-size:12px}.spot-amount{font-variant-numeric:tabular-nums;min-height:1.2em;font-size:13px;font-weight:700}.spot.win{border-style:solid;border-color:var(--good);box-shadow:0 0 0 2px var(--good) inset}.spot.lose{opacity:.55}.spot.push{border-style:solid;border-color:var(--even)}.spot.part{border-style:dashed;border-color:var(--even);opacity:.8}.stack{--size:36px;width:var(--size);height:calc(var(--size) + var(--n) * var(--size) * .09);flex:none;position:relative}.stack-chip{left:0;bottom:calc(var(--i) * var(--size) * .09);width:var(--size);height:var(--size);background:var(--chip-image) center / contain no-repeat;filter:drop-shadow(0 1px 1px #0009);position:absolute}.stack:before{content:"";background:radial-gradient(#0000008c,#0000 70%);border-radius:50%;height:30%;position:absolute;bottom:-8%;left:6%;right:6%}.stack-chip:last-child{filter:drop-shadow(0 1px 1px #0009)drop-shadow(0 0 1.5px #ffffff8c)}.chip-tray{justify-content:center;gap:8px;display:flex}.chip{font:inherit;cursor:pointer;background:var(--chip-image) center / contain no-repeat;color:#16181a;letter-spacing:-.03em;filter:drop-shadow(0 2px 2px #00000059);border:0;border-radius:50%;width:52px;height:52px;padding:0;font-size:12px;font-weight:800}.chip[aria-pressed=true]{outline:3px solid var(--primary);outline-offset:2px}.chip:disabled{opacity:.35;cursor:default}.chip:focus-visible{outline:3px solid var(--focus);outline-offset:2px}.controls{flex-direction:column;align-items:center;gap:8px;display:flex}.row{flex-wrap:wrap;justify-content:center;gap:8px;display:flex}.message{text-align:center;min-height:1.35em;color:var(--muted);flex:none;margin:0}.message.good{color:var(--good);font-size:18px;font-weight:700}.message.bad{color:var(--bad)}.question{text-align:center;margin:0}.btn{font:inherit;color:var(--ink);background:var(--btn);cursor:pointer;border:0;border-radius:10px;min-width:76px;min-height:44px;padding:10px 16px;font-weight:600;box-shadow:inset 0 0 0 1px #ffffff29}.btn.primary{background:var(--primary);color:var(--primary-ink)}.btn:disabled{opacity:.4;cursor:default}.btn.primary:disabled{filter:saturate(.25)brightness(.75)}.btn:focus-visible{outline:3px solid var(--focus);outline-offset:2px}.disclaimer{color:var(--muted);text-align:center;margin:0;font-size:11px}@media (max-width:380px){.btn{min-width:0;padding:10px 12px}.chip{width:46px;height:46px}}@media (max-height:480px){#app.casino{--cw:min(10vw, 52px, calc((100dvh - 230px) / 2.8));gap:4px;padding:4px 8px}.table{gap:4px}.spot{min-width:80px;min-height:64px;padding:2px 6px}.stack{--size:22px}.chip{width:40px;height:40px;font-size:10px}.btn{min-width:64px;min-height:36px;padding:6px 12px}.controls{gap:4px}.disclaimer{font-size:10px}}:root{--player:#4d8fe8;--banker:#e0565b;--tie:#3fb56e}.road{flex:none;justify-content:flex-end;gap:3px;width:100%;max-width:520px;height:20px;display:flex;overflow:hidden}.road>.bead:first-child{margin-left:auto}.road>.bead:last-child{margin-right:auto}.bead{color:#fff;border-radius:50%;flex:none;place-items:center;width:20px;height:20px;font-size:11px;font-weight:800;display:grid}.bead.player{background:var(--player)}.bead.banker{background:var(--banker)}.bead.tie{background:var(--tie)}.big-road{background-color:#ffffffe6;background-image:linear-gradient(#00000014 1px,#0000 1px),linear-gradient(90deg,#00000014 1px,#0000 1px);background-position:3px 3px;background-repeat:repeat;background-size:15px 15px;background-attachment:scroll;background-origin:padding-box;background-clip:border-box;border-radius:6px;flex:none;grid-template-rows:repeat(6,14px);grid-template-columns:repeat(20,14px);grid-auto-flow:column;gap:1px;padding:3px;display:grid}.big-cell{box-sizing:border-box;width:14px;height:14px;color:var(--tie-ink,#17803f);border:2.5px solid;border-radius:50%;place-items:center;font-size:9px;font-weight:900;line-height:1;display:grid}.big-cell.player{border-color:var(--player)}.big-cell.banker{border-color:var(--banker)}.big-cell.tied{background:#3fb56e2e}.big-road:empty:before{content:attr(data-empty);color:#6b7280;grid-area:1/1/7/21;place-self:center;font-size:12px;font-weight:600}.table.has-big-road .road{max-width:306px}.boost.stale{visibility:hidden}.message .clock{font-variant-numeric:tabular-nums;color:var(--primary);white-space:nowrap;font-weight:800}.btn.auto[aria-pressed=true]{box-shadow:inset 0 0 0 2px var(--primary);color:var(--primary)}.hands{justify-content:center;gap:16px;width:100%;display:flex}.hand{border:2px solid #0000;border-radius:14px;flex-direction:column;flex:1 1 0;align-items:center;gap:6px;max-width:300px;padding:8px;display:flex}.hand.winner{border-color:var(--good);background:#8ee39a14}.hand-head{align-items:center;gap:8px;font-weight:700;display:flex}.hand.player .hand-name{color:var(--player)}.hand.banker .hand-name{color:var(--banker)}.hand-total{font-variant-numeric:tabular-nums;background:#00000059;border-radius:13px;place-items:center;min-width:26px;height:26px;padding:0 6px;display:grid}.hand-cards{min-height:var(--ch);display:flex}.hand-cards .card+.card{margin-left:calc(var(--cw) * -.3)}.spot[data-spot=player] .spot-name{color:var(--player)}.spot[data-spot=banker] .spot-name{color:var(--banker)}.spot[data-spot=tie] .spot-name{color:var(--tie)}@media (max-height:700px){.big-road{display:none}}@media (max-height:480px){.road{display:none}.hand{gap:2px;padding:2px}}@media (max-height:700px){#app.casino{--cw:max(22px, min(13vw, 56px, calc((100dvh - 400px) / 2.6)))}.spot .stack{display:none}.message.good{font-size:15px;line-height:1.25}}@media (max-height:480px){#app.casino{--cw:max(22px, min(10vw, 44px, calc((100dvh - 262px) / 2.6)))}.message.good{font-size:14px}}@media (max-height:300px){.spot-name[data-short]{font-size:0}.spot-name[data-short]:after{content:attr(data-short);font-size:10px}#app.casino{--cw:22px}.hand{flex-direction:row;justify-content:center;padding:0 4px}.hand-head{flex-direction:column;gap:0;font-size:12px}.hand-total{min-width:18px;height:18px}.spots .spot,.spot{min-height:24px;padding:0 4px;font-size:12px;line-height:1.1}.spot .spot-odds,.spot .stack{display:none}.controls{flex-flow:wrap;justify-content:center;gap:4px}.chip-tray{gap:4px}.chip{width:28px;height:28px;font-size:8px}.btn{min-width:0;min-height:28px;padding:3px 7px;font-size:13px}.message{min-height:1.1em;font-size:12px}.message.good{font-size:13px}}.spots{grid-template-columns:repeat(12,minmax(0,1fr));gap:6px;max-width:580px;display:grid}.spots .spot{grid-column:span 4;min-width:0;max-width:none;min-height:72px}.spots .spot .spot-odds{font-size:11px;line-height:1.2}.spots .side{min-height:44px;padding:2px 4px;font-size:13px;line-height:1.15}.spots .side[data-spot$=Red],.spots .side[data-spot$=Black]{grid-column:span 3}.spots .side .stack{display:none}.spots .side .spot-odds{font-size:10px}.spots .side .spot-amount:empty{display:none}.spots .side .spot-amount{margin-top:auto}.spot[data-spot^=player]:not([data-spot=player]) .spot-name{color:#8dbcff}.spot[data-spot^=banker]:not([data-spot=banker]) .spot-name{color:#ff9a9e}.spot[data-spot=eight] .spot-name{color:#ffd76a}@media (max-width:420px){.spots .side .spot-name{align-items:center;min-height:2.3em;display:flex}}@media (max-width:360px){.spots .side{font-size:12px}}@media (max-height:700px){.spots{grid-template-columns:repeat(7,minmax(0,1fr));gap:4px}.spots .spot:is([data-spot=player],[data-spot=banker]){grid-column:span 2}.spots .spot[data-spot=tie]{grid-column:span 3}.spots .spot{min-height:46px}.spots .side,.spots .side:is([data-spot$=Red],[data-spot$=Black]){grid-column:span 1;gap:0;min-height:30px;padding:1px 2px;line-height:1.05}.spots .side .spot-name{min-height:0}.spots .side .spot-odds{display:none}.spots .side .spot-name[data-short]{font-size:0}.spots .side .spot-name[data-short]:after{content:attr(data-short);font-size:12px;font-weight:700}.spots .side .spot-amount{min-height:0;margin-top:0;font-size:11px}}@media (max-height:480px){.spots{gap:3px}.spots .spot{min-height:30px;padding:1px 4px;line-height:1.1}.spots .spot .spot-odds{font-size:10px}.spots .side,.spots .side:is([data-spot$=Red],[data-spot$=Black]){min-height:24px}}@media (max-height:300px){.spots{gap:2px}.spots .side,.spots .side:is([data-spot$=Red],[data-spot$=Black]){height:24px;min-height:0;overflow:hidden}.spots .side .spot-name[data-short]:after,.spots .side .spot-amount{font-size:9px}}
