#panel[data-view=casino]{width:min(590px,calc(100% - 28px))}
#panel[data-view=bartender]{width:min(410px,calc(100% - 28px))}
.cz-bar-menu{list-style:none;padding:0;margin:0;color:#293d32}
.cz-bar-menu li{display:grid;grid-template-columns:46px minmax(0,1fr) auto;align-items:center;gap:10px;padding:8px 0;border-bottom:1px solid #d5c7ad}
.cz-bar-menu .bag-art{width:46px;height:46px;background:#f4ebd9;border-bottom:3px solid var(--drink-color);border-radius:8px}
.cz-bar-menu strong,.cz-bar-menu small{display:block}.cz-bar-menu small{margin-top:3px;color:#625b4b}
.cz-bar-buy{display:inline-flex;align-items:center;gap:5px;min-height:38px;border:1px solid #3c6049;border-radius:6px;padding:5px 9px;background:#315541;color:#fff4d5}
.cz-bar-buy:disabled{opacity:.55}.cz-bar-message{min-height:1.3em;font-size:.92em;line-height:1.4}
#casino-aside{position:absolute;z-index:3;pointer-events:none;left:50%;bottom:82px;transform:translateX(-50%);width:max-content;max-width:min(36rem,85%);box-sizing:border-box;padding:8px 14px;border:1px solid #aa9564;border-radius:8px;background:#1f332df0;color:#ffefcd;text-align:center;font:500 .94rem/1.35 Georgia,serif}
#toast:not([hidden])+#casino-aside{bottom:134px}
@media(max-height:550px) and (orientation:landscape){#casino-aside{left:calc((100% - var(--rail,64px))/2);bottom:12px;max-width:65%;font-size:.84rem}#toast:not([hidden])+#casino-aside{bottom:58px}}
.casino-panel{--gold:#e5c27e;--ivory:#fff1d2;color:#253e33}
.cz-felt{padding:14px;border:3px solid #70553e;border-radius:14px;background:radial-gradient(ellipse at 42% 14%,#376c55,#214938 70%,#1a382f);color:var(--ivory);box-shadow:inset 0 0 0 1px #e1be73,inset 0 0 22px #12281f65}
.cz-controls{padding-top:10px}.cz-chips,.cz-actions,.cz-history,.cz-cards{display:flex;gap:6px;flex-wrap:wrap;align-items:center}
.cz-chips[hidden]{display:none}.cz-chip{border-radius:50%;width:41px;height:41px;color:#ffefcd;border:4px dashed #ddca99;box-shadow:0 2px 0 #523b2b;background:#784047;font:bold 15px Georgia}.cz-chip:nth-child(even){background:#355d55}.cz-chip[aria-pressed=true]{outline:2px solid #735525;outline-offset:2px}
.cz-actions{padding:10px 0 4px}.cz-play,.cz-voice{background:#315642;border:1px solid #416850;color:#fff4d8;border-radius:6px;padding:8px 13px;font-weight:650}.cz-play:disabled{opacity:.5}.cz-rules{font-size:.87rem}.cz-notice{font-weight:600;min-height:0}.cz-notice:empty{display:none}
.cz-speech{display:flex;align-items:center;gap:10px;margin:12px 0 0;border-top:1px solid #cbbd9e;padding:10px 0 2px;color:#554536;font:italic .96rem/1.35 Georgia}.cz-voice{margin-left:auto;padding:5px 9px}
.cz-roulette-stage{display:flex;gap:16px;align-items:center;margin-bottom:12px}.cz-rim{position:relative;width:min(34%,148px);flex:none}.cz-wheel{display:block;width:100%;height:auto}.cz-ball{position:absolute;top:7%;left:47%;width:6%;aspect-ratio:1;border-radius:50%;background:#fff6dd;box-shadow:0 1px 3px #442}.cz-rim.rolling .cz-ball{animation:cz-ball 1.15s linear infinite;transform-origin:50% 710%}@keyframes cz-ball{to{transform:rotate(-360deg)}}
.cz-round strong{font:600 1.12rem Georgia}.cz-round p,.cz-my-bets{font-size:.82rem}.cz-history span{border-radius:50%;width:22px;height:22px;text-align:center;line-height:22px;font-size:.72rem;color:white}
.cz-numbers{display:grid;grid-template-columns:repeat(13,minmax(0,1fr));gap:2px}.cz-numbers button,.cz-outside button{color:#fff3db;border:1px solid #c8b78766;border-radius:3px;padding:6px 0;font-weight:600;font-size:.83rem}.cz-numbers .zero{grid-row:span 3}
.cz-numbers .red,.cz-outside .red,.cz-history .red{background:#94424e}.cz-numbers .black,.cz-outside .black,.cz-history .black{background:#252f33}.cz-numbers .green,.cz-history .green{background:#347a5b}
.cz-combos summary{color:#f0dbaf!important}.cz-combos select,.cz-choose{margin:4px 4px 0 0;padding:5px;border:1px solid #c0aa82;border-radius:4px;background:#fff0d3;color:#303d35;max-width:100%}.cz-combos{font-size:.84rem}
.cz-outside{display:grid;grid-template-columns:repeat(3,1fr);gap:3px;margin-top:6px}.cz-outside button{background:#305746}.cz-numbers [aria-pressed=true],.cz-outside [aria-pressed=true]{outline:2px solid #f5d485;outline-offset:-2px;color:#fff}
.cz-hand+.cz-hand,.cz-hands{margin-top:12px}.cz-hand-name{font-family:Georgia}.cz-cards{margin:6px 0}.cz-card{width:44px;height:61px;padding:4px;border-radius:5px;border:1px solid #bdae8c;color:#27323b;background:#fff2d6;box-shadow:1px 3px 4px #09231966;font:bold 19px Georgia}.cz-card.red{color:#9e3946}.cz-back{background:repeating-linear-gradient(45deg,#824c54 0 4px,#713f49 4px 7px);color:#e8c984;text-align:center;line-height:48px}
.cz-machine{max-width:330px;margin:auto;padding:11px 15px 16px;border:4px solid #b58a4a;border-radius:18px 18px 9px 9px;background:linear-gradient(125deg,#263639,var(--cab),#262a33);box-shadow:0 5px 0 #684831,inset 0 0 0 2px #e5bc70}.cz-machine h3{text-align:center!important;color:#ffe7ae;font:italic 1.45rem Georgia!important;margin:0 0 9px!important}.cz-reels{display:flex;position:relative;gap:3px;padding:4px;background:#563d2e;border-radius:5px}.cz-reels:after{content:'';position:absolute;inset:calc(50% - 16px) 2px auto;height:32px;border-top:1px solid #c89b56;border-bottom:1px solid #c89b56;pointer-events:none}
.cz-reel{flex:1;height:96px;overflow:hidden;background:linear-gradient(#b8a585,#fff0cf 36%,#fff5de 62%,#bdac8c);border-radius:4px}.cz-strip b{display:block;height:32px;line-height:32px;text-align:center;font-size:26px;font-family:Georgia;color:#873743}.cz-slot-result{text-align:center;font-weight:650;padding-top:6px}.cz-tray-card{display:flex;gap:14px;align-items:center}.cz-tray-card .bag-art{width:72px;height:72px;flex:none}
@media (max-width:520px),(max-height:520px){.cz-felt{padding:8px}.cz-numbers button{font-size:.70rem}.cz-rim{max-width:91px}.cz-chip{width:33px;height:33px;font-size:12px}.cz-card{width:37px;height:49px}.cz-controls{padding-top:7px}}
@media(prefers-reduced-motion:reduce){.cz-wheel{transition:none!important}.cz-ball{animation:none!important}}
.cz-machine{max-width:358px;border-color:var(--trim);background:repeating-linear-gradient(90deg,transparent 0 7px,#fff1 7px 8px,transparent 8px 10px),linear-gradient(115deg,#231e28,var(--cab) 33% 70%,#2e292e);padding:10px 13px 15px}
.cz-machine[data-shape=arch]{border-radius:40px 40px 10px 10px}.cz-machine[data-shape=step]{border-radius:5px;border-style:double;border-width:7px}
.cz-machine[data-shape=fin]{border-radius:28px 8px 28px 8px}.cz-machine[data-shape=vault]{border-style:ridge;border-width:7px}
.cz-marquee{display:flex;justify-content:center;align-items:center;gap:7px;padding:3px 4px 7px;margin-bottom:5px;border-bottom:1px solid var(--trim)}
.cz-machine .cz-marquee h3{margin:0!important;line-height:1!important;text-shadow:0 2px 2px #19151a}
.cz-symbol{display:inline-block;width:45px;height:30px;background:url('/slot-symbols.svg') no-repeat;background-size:600% 500%;vertical-align:middle}
.cz-marquee .cz-symbol{width:33px;height:22px;flex:none}
.cz-frame{position:relative;padding:3px;background:#282128;border:2px solid var(--trim);border-radius:6px;box-shadow:0 2px 6px #19121999}
.cz-frame .cz-reels{padding:0;gap:0;background:#f8eaca;border-radius:3px;overflow:hidden}
.cz-frame .cz-reels:after{display:none}.cz-frame .cz-reel{border-radius:0;border-right:2px solid #625143}.cz-frame .cz-reel:last-child{border:0}
.cz-strip b{display:grid;place-items:center;line-height:1}
.cz-paylines,.cz-marks{position:absolute;inset:3px;width:calc(100% - 6px);height:calc(100% - 6px);pointer-events:none}
.cz-paylines polyline{fill:none;stroke:#ad733c;stroke-width:1.6;stroke-dasharray:3 7;opacity:.67}
.cz-marks{display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(3,1fr)}
.cz-marks .won{border:2px solid #287459;border-radius:3px;background:#9bd2911c}
.cz-felt:has(.cz-machine){padding-inline:29px}
.cz-machine{position:relative}
.cz-lever{position:absolute;right:-27px;top:43%;width:30px;height:53px;padding:0;border:0;background:transparent;touch-action:manipulation;cursor:grab}
.cz-lever:before{content:'';position:absolute;bottom:2px;left:2px;width:10px;height:35px;border:1px solid #5b4535;border-radius:4px;background:linear-gradient(90deg,#745b3a,#fff4c4 48%,#ac936f);transform:rotate(12deg);transform-origin:bottom;transition:transform .16s}
.cz-lever:after{content:'';position:absolute;top:2px;right:5px;width:20px;height:20px;border-radius:50%;border:1px solid #64322c;background:radial-gradient(at 35% 29%,#ffe8ba,#e76056 32%,#8c3438 72%);box-shadow:0 2px 2px #281e244f;transition:transform .16s}
.cz-lever:active:before,.cz-machine.spinning .cz-lever:before{transform:rotate(34deg) scaleY(.55)}
.cz-lever:active:after,.cz-machine.spinning .cz-lever:after{transform:translate(1px,20px)}
.cz-lever:focus-visible{outline:2px dashed #ffdf97;outline-offset:1px}
.cz-machine.spinning .cz-paylines{opacity:.3}.cz-guide{text-align:center;color:#fae3b2;font:italic .99rem/1.3 Georgia}
.cz-routes{display:flex;justify-content:center;gap:5px;flex-wrap:wrap}.cz-routes:empty{display:none}
.cz-route{padding:5px 8px;border:1px solid #ae996e;border-radius:4px;background:#193b32;color:#ead6aa;font:600 .81rem system-ui}
.cz-route[aria-pressed=true]{color:#352c22;background:#eed29b}
.plan-token.plan-slot{display:grid;place-items:center;width:clamp(28px,6.6vw,51px);height:32px;padding:0;border:2px solid var(--trim);border-radius:8px 8px 3px 3px;background:var(--cab);box-shadow:0 2px 0 #45342d}
.plan-slot .cz-symbol{width:26px;height:18px}
.plan-token.plan-chance{width:56px;padding:3px 1px;border:2px solid #d5b576;background:#335a50;color:#fff0c8;font-weight:650}
.cz-slot-result{min-height:1.3em;font-variant-numeric:tabular-nums}
.chance-board{display:block;width:min(100%,396px);max-height:40dvh;object-fit:contain;margin:0 auto 8px;filter:drop-shadow(0 3px 4px #172a2399)}
.cz-strip{will-change:auto}.cz-machine.spinning .cz-strip{will-change:transform}
@media(max-height:520px){.cz-machine{padding:5px 9px 7px}.cz-guide,.cz-slot-result{margin:5px 0!important}.cz-marquee{padding:0 0 4px;margin-bottom:3px}}
#panel[data-view=casino][data-station=roulette]{width:min(798px,calc(100% - 28px))}
.rt-panel .cz-rim{width:clamp(72px,9vw,100px)}
.rt-panel .cz-roulette-stage{margin-bottom:10px}
.rt-scroll{position:relative;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;border:2px solid #c5a366;border-radius:7px;background:#1e4e3b}
.rt-cloth{position:relative;isolation:isolate;width:100%;min-width:490px;height:228px;background:linear-gradient(115deg,#204e3f,#396b50 50%,#1d4b3b)}
.rt-cell{position:absolute;box-sizing:border-box;display:grid;place-items:center;padding:0;border:1px solid #d5cca2;border-radius:0;background:#305c46;color:#fff4d8;font:600 clamp(12px,1.3vw,17px)/1 Georgia,serif;letter-spacing:0;cursor:pointer}
.rt-cell.red{background:#90414a}.rt-cell.black{background:#233236}.rt-cell.green{background:#256e52}
.rt-cell.rt-covered{box-shadow:inset 0 0 0 3px #f4d28d}
.rt-cell[aria-pressed=true],.rt-cell.rt-target{outline:2px solid #ffe6a1;outline-offset:-3px}
.rt-cell:focus-visible{z-index:2;outline:3px dashed #fff;outline-offset:-3px}
.rt-cell.rt-result{background:#736038;box-shadow:inset 0 0 0 3px #ffdf89}
.rt-cell.rt-staked .rt-print{position:absolute;left:4px;top:3px;font-size:.81em}
.rt-street-band{position:absolute;left:7.142857%;top:54.54545%;width:85.714286%;height:9.09091%;display:grid;grid-template-columns:repeat(12,1fr);pointer-events:none}
.rt-street-band span{border-inline-start:1px solid #cfbc84;text-align:center;color:#e3c88a;font:11px/1 Georgia}
.rt-street-band span:before{content:'·'}
.rt-piles{position:absolute;inset:0;z-index:3;pointer-events:none}
.rt-pile,.bj-chip,.rt-key:before{--chip-face:#497d98;--chip-edge:#20445a;--chip-trim:#bfecf7;box-sizing:border-box;border:1px solid var(--chip-trim);border-radius:50%;background:radial-gradient(circle,var(--chip-face) 0 52%,transparent 55%),repeating-conic-gradient(var(--chip-trim) 0 20deg,var(--chip-edge) 20deg 45deg);box-shadow:0 2px 0 var(--chip-edge),0 3px 4px #0e201f;color:white}
.rt-pile.rt-own,.bj-chip,.rt-key.rt-gold:before{--chip-face:#f9d488;--chip-edge:#84602b;--chip-trim:#fff0b8;color:#35291d}
.rt-pile,.bj-chip{display:grid;place-items:center;min-width:25px;height:25px;padding:0 4px;font:800 12px/1 system-ui;font-variant-numeric:tabular-nums}
.rt-pile{position:absolute;transform:translate(-50%,-50%);white-space:nowrap}
.rt-pile.rt-shared{box-shadow:2px 3px 0 1px #8cd0e2,3px 5px 0 1px #294c65,3px 6px 6px #152b24}
.rt-pile.rt-won{outline:2px solid #fffbd4;outline-offset:2px}
.rt-aim{position:absolute;z-index:4;width:32px;height:32px;transform:translate(-50%,-50%);border:2px dashed #ffedba;border-radius:50%;pointer-events:none}
.rt-tray{display:flex;align-items:center;justify-content:space-between;gap:9px;flex-wrap:wrap;margin-top:12px}
.rt-tray .cz-actions{padding:0}.rt-tray .cz-play{background:#e8c788;color:#352d1d;border-color:#f5dc9a}
.rt-tray .cz-chip[aria-pressed=true]{outline-color:#ffde91}
.rt-panel .cz-chip,.bj-panel .cz-chip{touch-action:none;user-select:none;cursor:grab}
.rt-panel .cz-chip,.bj-panel .cz-chip,.cz-chip-ghost .cz-chip{display:grid;place-items:center;padding:0;white-space:nowrap;line-height:1;font-variant-numeric:tabular-nums}
.cz-chip[data-chip="2"]{background:#864750}.cz-chip[data-chip="4"]{background:#337661}.cz-chip[data-chip="10"]{background:#476680}.cz-chip[data-chip="20"]{background:#704f81}.cz-chip[data-chip="50"]{background:#39333c}
.cz-chip-ghost,.cz-chip-ghost *{pointer-events:none!important}
.cz-chip-ghost{position:fixed;left:0;top:0;z-index:10000}
.cz-chip-ghost .cz-chip{display:grid;place-items:center;position:absolute;left:0;bottom:6px;transform:translateX(-50%);box-shadow:0 5px 10px #091c1580;opacity:.94}
.cz-chip-ghost>span{position:absolute;left:0;top:9px;transform:translateX(-50%);white-space:nowrap;padding:3px 7px;border-radius:4px;background:#17382e;color:#fff1cd;font:600 12px/1.2 system-ui}
#panel .rt-guide{margin:9px 0;color:#f1dfb8;font-size:.83rem}
.rt-legend{display:flex;align-items:center;gap:14px;flex-wrap:wrap;color:#f6e8c7;font:500 .79rem/1.3 system-ui}
.rt-key{display:inline-flex;align-items:center;gap:6px}.rt-key:before{content:'';width:14px;height:14px}
.rt-readout{margin-inline-start:auto;font-weight:650}
.bj-bet-spot{width:fit-content;margin:12px auto 0;padding:12px 24px;border:2px dashed #d1b276;border-radius:30px;text-align:center;font:600 .94rem Georgia;color:#f4dfac}
.bj-bet-spot.rt-target{background:#547450;border-color:#ffe7a4;box-shadow:0 0 0 2px #e6c576}
.bj-chip{display:inline-grid;vertical-align:middle;margin:2px 7px 3px 0}
.bj-top{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:32px;margin-bottom:8px;padding-bottom:7px;border-bottom:1px solid #d5bd843d}
.bj-status{color:#f2d89e;font:600 .94rem/1.2 Georgia}
.bj-shoe{display:block;width:34px;height:20px;margin:0 5px 3px 0;transform:rotate(8deg);border:2px solid #eddbab;border-radius:3px;background:repeating-linear-gradient(45deg,#824c54 0 3px,#6f3844 3px 5px);box-shadow:1px 2px #4f4133,2px 3px #d6c6a2,3px 5px #4b3b32}
.bj-panel .cz-cards{min-height:61px}
.bj-panel .cz-hand-name{font-weight:600}
.bj-panel .cz-card{display:inline-block;transform-origin:center}
.bj-panel .bj-chip[hidden]{display:none}
.bj-settlement{color:#fff1cf}
@media(max-height:520px){.bj-panel .cz-cards{min-height:49px}.bj-top{min-height:24px;margin-bottom:4px;padding-bottom:4px}}
@media(max-height:550px) and (orientation:landscape){
  .rt-panel .cz-rim{width:54px}.rt-panel .cz-roulette-stage{margin-bottom:4px}
  .rt-panel .cz-round{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.rt-cloth{height:170px}
  .rt-pile{min-width:20px;height:20px;font-size:10px}.rt-tray{margin-top:7px}
}
