:root{color-scheme:dark;font:15px/1.5 system-ui,sans-serif;background:#071f1a;color:#f6ead2}*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at top,#255344,#071f1a 70%)}[hidden]{display:none!important}button,select,input{font:inherit}button,select{min-height:44px;border:1px solid #a8905d;border-radius:9px;padding:9px 13px;background:#224636;color:#ffe5b4;cursor:pointer}button:hover:enabled{background:#345d46}button:disabled{opacity:.45;cursor:default}a{color:#e4c181}button:focus-visible,select:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #f9d88d;outline-offset:3px}.casino-shell{max-width:1000px;margin:auto;padding:14px 18px}.casino-shell header{display:flex;align-items:center;gap:12px;border-bottom:1px solid #ad8b5545;padding-bottom:12px}.casino-shell header>a{margin-right:auto;text-decoration:none}.casino-shell header>span{font-size:10px;letter-spacing:.15em;color:#c9b080}.casino-heading{text-align:center;margin:20px 0}.casino-heading>p:first-child{font-size:10px;letter-spacing:.22em;color:#dfbd76}.casino-heading h1{font:500 clamp(34px,6vw,49px)/1.1 Georgia,serif;margin:7px 0}.casino-heading p{margin:7px 0;color:#bfd1c2;font-size:13px}.casino-options{display:flex;justify-content:center;align-items:end;gap:9px;flex-wrap:wrap;margin-bottom:12px}.casino-options label,.deal-controls label{display:grid;gap:4px;font-size:10px;letter-spacing:.08em;text-transform:uppercase;color:#c6cbb3}.casino-options select,.deal-controls select{font-size:13px;letter-spacing:0;text-transform:none}.service-status{font-size:13px;color:#f3c790;text-align:center;min-height:0;margin:8px 0}.service-status:empty{display:none}.casino-machine{border:1px solid #c4a263;border-radius:19px;background:linear-gradient(140deg,#254c3b,#0d2f25);padding:18px;box-shadow:0 20px 45px #0005,inset 0 0 0 4px #061e1744}.casino-stats{display:grid;grid-template-columns:1fr 1fr 1fr;text-align:center;gap:10px;border-bottom:1px solid #beab7340;padding-bottom:14px}.casino-stats>div{display:grid;gap:3px}.casino-stats span{font-size:10px;letter-spacing:.12em;color:#bbc5ac}.casino-stats strong{font:500 clamp(18px,4vw,30px) Georgia,serif;color:#f5d693}.table-art{min-height:270px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:18px;padding:22px 10px;border-radius:14px;background:radial-gradient(ellipse,#286e50,#153d2e);margin-top:14px;position:relative;overflow:hidden}.table-art:before{content:'';position:absolute;inset:14px;border:1px solid #bb9e5855;border-radius:50%;pointer-events:none}.baccarat-hands{display:grid;grid-template-columns:1fr 1fr;gap:25px;width:100%;text-align:center;position:relative}.hand-label{color:#dcc58c;font-size:12px;letter-spacing:.12em;margin:0 0 12px}.hand-total{font:30px Georgia,serif;color:#ffedb9;margin-top:12px}.cards{display:flex;justify-content:center;gap:8px;position:relative}.playing-card{display:flex;flex-direction:column;justify-content:space-between;align-items:flex-start;width:clamp(54px,10vw,91px);height:clamp(84px,15vw,132px);border-radius:9px;padding:8px;background:linear-gradient(145deg,#fffef4,#eee5c9);border:1px solid #fff1ca;color:#19382e;box-shadow:0 5px 10px #001c2266;font:700 clamp(17px,3vw,25px)/1 Georgia,serif;position:relative}.playing-card.red{color:#b3384f}.playing-card .suit{font-size:clamp(28px,5vw,43px);align-self:center}.playing-card .corner{align-self:flex-end;transform:rotate(180deg);font-size:14px}.playing-card.back{background:repeating-linear-gradient(45deg,#d9b96855 0 2px,transparent 2px 8px),#234258;color:#ddc18b;justify-content:center;align-items:center}.poker-cards{width:100%;gap:12px;position:relative}.poker-card{display:grid;justify-items:center;gap:10px;min-width:0;background:transparent;border:0;padding:0;box-shadow:none}.poker-card:hover:enabled{background:transparent}.poker-card .playing-card{width:100%;max-width:113px;height:clamp(98px,18vw,163px);text-align:left}.poker-cards{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));max-width:720px}.hold-label{font-size:12px;letter-spacing:.12em;background:#08261e;border:1px solid #a68e5255;padding:7px 8px;border-radius:7px;color:#d4c6a8;width:100%;min-height:34px}.poker-card[aria-pressed=true] .playing-card{outline:3px solid #f3ca71;transform:translateY(-6px)}.poker-card[aria-pressed=true] .hold-label{background:#edc87d;color:#203727;font-weight:700}.result{text-align:center;color:#ffe1a0;min-height:25px;margin:15px 0;font-weight:600}.bets{display:flex;justify-content:center;gap:10px;flex-wrap:wrap}.bet-choice{flex:1;max-width:210px;min-width:85px;display:grid;gap:3px;padding:11px 10px;border-color:#ab995864}.bet-choice strong{font-size:15px}.bet-choice small{font-size:11px;color:#b6cdbb}.bet-choice[aria-pressed=true]{border-color:#f4d28b;background:#d1af6540;box-shadow:inset 0 0 0 1px #f4d28b}.deal-controls{display:flex;align-items:end;justify-content:center;gap:12px;flex-wrap:wrap;margin:16px 0 8px}.primary{min-width:155px;background:linear-gradient(#f7d993,#d7ad62);color:#123627;font-weight:750;border-color:#ffe2a0;box-shadow:0 4px 0 #84682e}.primary:hover:enabled{background:#ffe5a5}.guidance{max-width:720px;text-align:center;color:#bbd1bc;font-size:12px;margin:12px auto;line-height:1.5}.table-history{font-size:12px;color:#c4cbb4;border-top:1px solid #bca56440;margin-top:14px;padding-top:10px}.table-history summary{cursor:pointer;min-height:36px;display:flex;align-items:center}.table-history ol{padding-left:20px;max-height:180px;overflow:auto}.table-history li{padding:4px 0}.casino-note{text-align:center;font-size:11px;color:#b8c6b2}.dice-row{display:flex;gap:24px;position:relative}.die{display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(3,1fr);gap:8px;width:110px;height:110px;padding:15px;border:2px solid #efbea4;border-radius:16px;background:linear-gradient(145deg,#bd4255,#6f1832);box-shadow:6px 8px 0 #401927,0 14px 24px #0005;transform:rotate(-7deg)}.die+ .die{transform:rotate(9deg)}.pip{border-radius:50%;background:#f5e4bd;box-shadow:inset 0 1px 2px #fff}.craps-point{font:25px Georgia,serif;color:#f5d58d;z-index:1}.craps-layout{display:flex;gap:7px;z-index:1;flex-wrap:wrap;justify-content:center}.craps-layout span{border:1px solid #ccb16888;border-radius:6px;padding:4px 12px;color:#e7d49e;font-size:13px}.craps-layout span.active{background:#eac078;color:#173a2a}.poker-paytable{border-collapse:collapse;width:100%;font-size:13px}.poker-paytable th,.poker-paytable td{padding:7px;text-align:left;border-bottom:1px solid #b89d5b33}.poker-paytable tr.current{background:#d2b36930;color:#ffe3a5}#opponent{display:flex;justify-content:center;gap:14px;flex-wrap:wrap;font-size:13px;color:#e9d19b;margin-top:12px}#room-bar{border:1px solid #927e4e;border-radius:10px;padding:10px;background:#123629;margin:12px 0}#invite{width:min(100%,600px);background:#082b21;color:#dec892;border:1px solid #7b7357;padding:9px;border-radius:6px;font-size:13px}#room-info{margin:6px 0;font-size:12px}dialog{width:min(640px,calc(100% - 24px));max-height:85dvh;border:1px solid #d0ac63;border-radius:16px;padding:24px;background:#132e24;color:#efdfbd;line-height:1.6}dialog::backdrop{background:#03160dde}#close-rules{float:right}dialog h2{font:27px Georgia,serif}.casino-shell:fullscreen{max-width:none;width:100%;background:#071f1a;overflow:auto}.casino-shell:fullscreen .casino-machine,.casino-shell:fullscreen header{max-width:1000px;margin:auto}@media(max-width:600px){.casino-shell{padding:10px}.casino-shell header{gap:7px;flex-wrap:wrap}.casino-shell header>span{display:none}.casino-shell header button{font-size:12px;padding:7px 9px}.casino-heading{margin:15px 0}.casino-heading h1{font-size:34px}.casino-options{gap:6px}.casino-options button{font-size:12px;padding:8px}.casino-options label{flex:1 1 100%;max-width:310px}.casino-machine{padding:11px;border-radius:13px}.casino-stats{gap:5px;padding-bottom:10px}.casino-stats span{font-size:8px}.table-art{min-height:220px;padding:18px 6px}.baccarat-hands{gap:8px}.cards{gap:4px}.playing-card{width:clamp(40px,13vw,64px);height:90px;padding:5px;font-size:17px;border-radius:6px}.playing-card .suit{font-size:29px}.playing-card .corner{font-size:11px}.poker-cards{gap:5px}.poker-card .playing-card{height:clamp(87px,20vw,115px);padding:5px;font-size:18px}.hold-label{padding:7px 2px;font-size:9px;letter-spacing:.07em;min-height:34px}.poker-card{min-height:0}.result{font-size:13px;margin:13px 0}.bet-choice{min-width:80px;padding:9px 5px}.bet-choice strong{font-size:13px}.bet-choice small{font-size:10px}.deal-controls{gap:8px}.deal-controls button{font-size:13px}.primary{min-width:130px}.die{width:89px;height:89px;padding:12px;gap:6px}.dice-row{gap:21px}.craps-point{font-size:21px}.guidance{font-size:11px}.poker-paytable{font-size:11px}.poker-paytable th,.poker-paytable td{padding:6px 4px}}
@media(prefers-reduced-motion:no-preference){.playing-card,.die{animation:reveal .25s ease-out}@keyframes reveal{from{opacity:.4;translate:0 -7px}to{opacity:1;translate:0 0}}}

.poker-card:disabled{opacity:1}
.keno-header{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap;z-index:1;font-size:12px;color:#e8ce96}.keno-header button{font-size:12px}.keno-board{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:5px;width:100%;max-width:740px;z-index:1}.keno-number{padding:4px;min-width:0;min-height:44px;background:#113a2c;border-color:#b7a06a55;font-size:15px;font-weight:650}.keno-number.selected{background:#d6ba75;color:#16352b;border-color:#f6d993}.keno-number.drawn{box-shadow:inset 0 0 0 2px #ec9990}.keno-number.hit{background:#aa3049;color:#fff0b8;border-color:#ffe2a1;box-shadow:inset 0 0 0 2px #ffd986}.keno-number:disabled{opacity:1}.keno-draw{display:flex;justify-content:center;flex-wrap:wrap;gap:5px;max-width:740px;z-index:1}.keno-draw span{display:grid;place-items:center;width:29px;height:29px;border-radius:50%;background:#f3e3b6;color:#17382c;font-size:12px;font-weight:700}.keno-draw span.hit{background:#d76570;color:white}.pai-selection{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:7px;width:100%;z-index:1}.pai-selection .playing-card{width:100%;height:clamp(95px,14vw,145px)}.pai-count,.dealer-hidden{font-size:12px;color:#e8d09c;z-index:1;margin:4px}.pai-result{display:grid;grid-template-columns:1fr 1fr;gap:20px;z-index:1;width:100%;padding-top:10px;border-top:1px solid #bba06355}.pai-result>div{min-width:0;text-align:center}.pai-result b{font-size:12px;font-weight:500}.pai-result .cards{gap:3px;margin:10px 0}.pai-result .playing-card{width:clamp(32px,5vw,65px);height:90px;padding:5px;font-size:15px}.pai-result .playing-card .suit{font-size:25px}.pai-result .playing-card .corner{font-size:9px}.joker{color:#947124!important}.joker>span:first-child{font-size:9px;letter-spacing:.04em}@media(max-width:600px){.keno-board{grid-template-columns:repeat(8,minmax(0,1fr));gap:4px}.keno-number{font-size:12px;min-height:44px;padding:3px}.pai-selection{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;max-width:430px}.pai-selection .playing-card{height:106px;font-size:19px}.pai-result{grid-template-columns:1fr;gap:12px}.pai-result .playing-card{width:48px;height:80px}.pai-selection .hold-label{min-height:26px;padding:4px 2px}.table-art:has(.keno-board):before{display:none}}
