*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 50% 10%,#28373e,#090f18 72%);font-family:Arial,'Malgun Gothic',sans-serif;color:#f5f5ee}.shell{max-width:1250px;margin:auto;min-height:100vh;padding:12px 20px 20px}header{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.brand{font-size:25px;font-weight:900;letter-spacing:1px;color:#c6ffe3}.brand b{color:#bb9bff}.brand small{font-size:11px;color:#a6aeba;margin-left:14px}.wallet{background:#151d29;border-radius:12px;padding:10px 17px;font-size:13px}.wallet strong{color:#ffe49c;font-size:19px}.status{display:flex;align-items:center;justify-content:space-between;background:#151e2a;padding:9px 16px;border-radius:9px;color:#cbd9d6;font-size:13px}.status #phase{font-size:18px;color:#8dffd0;font-weight:900}.table-wrap{height:465px;position:relative;display:flex;align-items:center;justify-content:center}.table{position:relative;width:min(100%,1000px);height:430px}.rail{position:absolute;inset:28px 36px 35px;border-radius:49%/46%;background:linear-gradient(160deg,#c69b58,#3c2719 27%,#c59a57 54%,#4d311e 80%,#e7c084);box-shadow:0 17px 0 #23160f,0 25px 25px #0009}.felt{position:absolute;inset:47px 55px 55px;border-radius:49%/46%;border:8px solid #172b22;background:radial-gradient(ellipse at 50% 35%,#287d59,#135139 60%,#093b2b);box-shadow:inset 0 0 0 2px #8cc7a66b,inset 0 0 65px #001f17}.center{position:absolute;left:50%;top:42%;transform:translate(-50%,-50%);text-align:center}.pot-title{font-size:12px;letter-spacing:3px;color:#b3ddc8}.pot-value{font-weight:900;font-size:28px;color:#fff2b7;text-shadow:0 2px 4px #000}.watermark{font-size:29px;line-height:1;font-weight:900;letter-spacing:5px;color:#b4efca19;margin-top:12px}.chip-stack{display:flex;justify-content:center;gap:2px;margin-top:12px;min-height:24px}.chip{width:24px;height:24px;border:4px dashed #f5e7ca;border-radius:50%;background:#6c40a8;box-shadow:0 3px 0 #3c2567,0 5px 3px #0008;animation:chipIn .4s ease both}.chip:nth-child(2n){background:#b94547}.chip:nth-child(3n){background:#238e80}@keyframes chipIn{from{transform:translateY(-35px) scale(.5);opacity:0}to{transform:none;opacity:1}}.seat{position:absolute;display:flex;align-items:center;gap:7px;background:linear-gradient(#263c45,#101d26);border:2px solid #8c9d90;border-radius:15px;padding:7px 10px;min-width:160px;box-shadow:0 5px 14px #0009;z-index:2}.seat-top{top:0;left:50%;transform:translateX(-50%)}.seat-left{left:0;top:42%}.seat-right{right:0;top:42%}.portrait{width:39px;height:39px;display:grid;place-items:center;border-radius:50%;background:radial-gradient(circle at 30% 25%,#e9e2bf,#527f6c 55%,#223d39);border:2px solid #f6dc8b;color:#fff;font-size:23px}.seat-data{display:flex;flex-direction:column;gap:4px;white-space:nowrap;font-size:13px}.seat-data span{font-size:11px;color:#ffe7a0}.opp-cards{position:absolute;top:100%;left:50%;transform:translateX(-50%);display:flex;padding-top:5px}.opp-cards .back{width:25px;height:38px;margin-left:-3px;border:2px solid #fff;border-radius:4px;background:repeating-linear-gradient(45deg,#324f8c 0 4px,#d3d5ed 4px 6px,#334e86 6px 10px);box-shadow:1px 2px 4px #0008}.bet-tag{position:absolute;right:-14px;bottom:-17px;background:#f4cf77;color:#382514;font-size:11px;font-weight:900;border-radius:12px;padding:3px 8px;min-width:35px;text-align:center}.bet-tag:empty{display:none}.self-seat{position:absolute;bottom:0;left:50%;transform:translateX(-50%);display:flex;gap:8px;align-items:center;background:#142e29;border:2px solid #80dfbd;border-radius:13px;padding:5px 15px;z-index:2}.controls{background:linear-gradient(180deg,#1f2b37,#111923);border:1px solid #4a5b5d;border-radius:16px;padding:14px 20px;box-shadow:0 8px 24px #0008}.cards-head{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:#aab8c0}.cards-head strong{color:#a4ffe0;font-size:15px;margin-right:14px}.cards-head #handRank{color:#ffde91;font-weight:700}.mycards{display:flex;justify-content:center;gap:12px;min-height:145px;margin:10px 0}.playing-card{position:relative;display:flex;flex-direction:column;justify-content:space-between;width:96px;height:135px;padding:7px;border-radius:9px;background:linear-gradient(130deg,#fff,#f6f5ed 65%,#d5d6d2);border:2px solid #fff;box-shadow:3px 6px 10px #0009;color:#1d2226;cursor:pointer;transition:transform .2s,box-shadow .2s;animation:deal .55s backwards}.playing-card.red{color:#c92130}.playing-card.selected{transform:translateY(-15px);box-shadow:0 0 0 3px #9affd1,3px 10px 13px #0008}.playing-card .corner{font-size:20px;font-weight:900;line-height:.95;text-align:left}.playing-card .corner small{display:block;font-size:21px}.playing-card .symbol{font-size:56px;text-align:center;line-height:1}.playing-card .bottom{transform:rotate(180deg);align-self:end}.playing-card:nth-child(2){animation-delay:.12s}.playing-card:nth-child(3){animation-delay:.24s}.playing-card:nth-child(4){animation-delay:.36s}@keyframes deal{from{opacity:0;transform:translateY(-160px) rotate(-18deg)}to{opacity:1;transform:translateY(0)}}.action-area{display:grid;grid-template-columns:240px 1fr;gap:18px;align-items:end}.exchange{display:flex;gap:8px}.metal{cursor:pointer;border:1px solid #ffffff77;border-radius:9px;padding:13px 14px;font-weight:900;color:#fff;text-shadow:0 1px 2px #000a;background:linear-gradient(#64737b,#36454e 50%,#1e303b);box-shadow:inset 0 2px 1px #fff6,0 4px 0 #0a1019;white-space:nowrap}.metal:active{transform:translateY(3px);box-shadow:inset 0 1px 2px #0008}.metal:disabled{opacity:.38;cursor:not-allowed}.metal.mint{background:linear-gradient(#63d9b3,#208c75)}.metal.secondary{background:linear-gradient(#8291a6,#475268)}.metal.gold{background:linear-gradient(#ffdf7c,#b67d26)}.metal.purple{background:linear-gradient(#c49aff,#6a43b6)}.metal.danger{background:linear-gradient(#f18a8b,#9e3745)}.amount{display:flex;gap:8px;align-items:center;margin-bottom:9px}.amount label{font-size:12px;color:#cbd3d7;white-space:nowrap}.amount input{width:125px;background:#0c1520;border:1px solid #7b8c92;border-radius:6px;color:#ffe29a;padding:9px;font-size:15px;font-weight:900}.amount button{border:0;border-radius:5px;background:#3e5362;color:white;padding:9px;cursor:pointer}.bets{display:flex;gap:8px}.bets button{flex:1}.message{text-align:center;margin-top:13px;font-size:13px;color:#bce5d6;min-height:20px}.result{position:fixed;inset:0;background:#000b;display:grid;place-items:center;z-index:10}.result.hidden{display:none}.result-card{text-align:center;background:linear-gradient(145deg,#253c43,#121d2c);border:2px solid #d7b774;border-radius:20px;padding:28px;min-width:280px;box-shadow:0 20px 70px #000}.result-card h2{font-size:32px;color:#ffe39b}.result-card button{margin-top:20px;padding:13px 25px;border:0;border-radius:8px;background:#6fdbb4;font-weight:900;cursor:pointer}@media(max-width:720px){.shell{padding:8px}.brand{font-size:18px}.brand small{display:none}.wallet{padding:7px;font-size:11px}.wallet strong{font-size:14px}.table-wrap{height:350px}.table{height:320px}.rail{inset:40px 4px 35px}.felt{inset:53px 15px 47px;border-width:5px}.seat{min-width:0;padding:4px;gap:4px;border-radius:9px}.seat .portrait{width:27px;height:27px;font-size:16px}.seat-data{font-size:10px}.seat-data span{font-size:9px}.seat-left{top:43%;left:0}.seat-right{top:43%;right:0}.seat-top{top:6px}.opp-cards .back{width:15px;height:23px}.center .pot-value{font-size:21px}.watermark{font-size:15px}.self-seat{bottom:5px}.controls{padding:10px}.mycards{min-height:111px;gap:6px}.playing-card{width:69px;height:99px;padding:4px}.playing-card .corner{font-size:15px}.playing-card .corner small{font-size:15px}.playing-card .symbol{font-size:40px}.action-area{grid-template-columns:1fr;gap:12px}.exchange{justify-content:center}.metal{padding:10px 5px;font-size:12px}.exchange .metal{flex:1}.bets{gap:4px}.bets button{font-size:11px}.cards-head #help{display:none}.status{font-size:11px}}

/* R4 reference-inspired poker room layout: independently rendered CSS assets */
body{background:repeating-linear-gradient(103deg,#242526 0px,#292b2d 3px,#1b1d1f 8px,#242627 14px);color:#f2f1ed}
.shell{max-width:1440px;padding:0 15px 16px;background:radial-gradient(ellipse at 50% 43%,#33353733,transparent 75%)}
header{height:46px;border-bottom:3px solid #444;box-shadow:0 2px 8px #0009;margin-bottom:0;padding:0 6px}
.brand{font-family:Impact,'Arial Narrow',sans-serif;font-size:24px;color:#e7e7e7;letter-spacing:1px;text-shadow:0 2px 2px #000}
.brand b{color:#d2d2d2}.brand small{color:#b7b7b7;font-family:Arial,sans-serif;font-size:11px}
.wallet{background:linear-gradient(#373737,#181818);border:1px solid #666;border-radius:20px;padding:6px 16px}
.status{height:37px;border-radius:0;background:#171819c9;border-bottom:1px solid #454545;padding:5px 14px;color:#dedede}
.status #phase{color:#f5cf80;font-size:17px}
.table-wrap{height:610px;overflow:visible}
.table{height:590px;width:min(100%,1300px)}
.rail{inset:60px 25px 55px;border-radius:47%/47%;background:linear-gradient(135deg,#1a1b1c,#5c5c5c 12%,#0d0f11 25%,#9d693e 30%,#ce914a 50%,#332a20 68%,#0e0f12 85%);box-shadow:0 13px 0 #0c0d0f,0 22px 22px #000d}
.felt{inset:80px 48px 77px;border:11px solid #141719;border-radius:47%/47%;background:radial-gradient(ellipse at 50% 35%,#04953a,#007d2e 70%,#006325);box-shadow:inset 0 0 0 5px #b27c45,inset 0 0 0 10px #087e38,inset 0 0 0 13px #46ae65,inset 0 0 45px #003b1d}
.center{top:43%}.pot-title{font-size:12px;color:#e3d5a7;letter-spacing:1px}.pot-value{font-size:24px;color:#ffd27c}.watermark{font-family:Impact,sans-serif;color:#002d181b;font-size:45px;line-height:.8;letter-spacing:2px}
.seat{background:transparent;border:0;box-shadow:none;min-width:160px;padding:0;display:flex;flex-direction:column;gap:2px;align-items:center}
.seat-top{top:0;left:50%}.seat-left{left:0;top:38%}.seat-right{right:0;top:38%}
.seat .portrait,.self-seat .portrait{width:74px;height:74px;border:4px solid #d2d2d2;box-shadow:0 3px 12px #000c;background:radial-gradient(circle at 35% 25%,#ffe2b6,#8c5538 45%,#333640 75%);font-size:36px;color:#fafafa;text-shadow:0 2px 4px #000}
.seat-data{min-width:138px;align-items:center;gap:0;background:linear-gradient(#5559,#111d);border-radius:3px;font-size:16px;text-shadow:0 2px 2px #000;padding:3px 10px}
.seat-data span{font-size:15px;color:#f7f7f7}
.opp-cards{position:static;transform:none;order:-1;display:flex;padding:0;margin-bottom:-6px}
.opp-cards .back{width:39px;height:57px;margin-left:-8px;border:2px solid #fff;background:repeating-linear-gradient(45deg,#961a33 0 4px,#f2e7e3 4px 6px,#8e1d32 6px 10px);box-shadow:2px 3px 5px #000b}
.bet-tag{right:-10px;bottom:-22px;background:linear-gradient(#333,#131313);border:1px solid #777;color:#ffdb9a}
.self-seat{bottom:6px;left:50%;background:linear-gradient(#505050ad,#111d);border:0;border-radius:3px;padding:2px 9px;z-index:4}
.self-seat .portrait{width:61px;height:61px;font-size:30px}
.table-hand{position:absolute;bottom:86px;left:50%;transform:translateX(-50%);display:flex;gap:5px;z-index:3}
.table-hand .playing-card{width:75px;height:106px;padding:5px;border-radius:6px;box-shadow:2px 5px 5px #000b}
.table-hand .playing-card .corner{font-size:19px}.table-hand .playing-card .corner small{font-size:17px}.table-hand .playing-card .symbol{font-size:45px}
.table-message{position:absolute;left:50%;top:53%;transform:translateX(-50%);background:#001d1488;border-radius:20px;padding:4px 13px;font-size:12px;max-width:48%;text-align:center;color:#e6d9aa;z-index:2}
.controls{display:grid;grid-template-columns:38% 62%;gap:0;border:0;border-top:5px solid #101010;border-radius:0;background:linear-gradient(#262727,#151616);padding:14px 14px 8px;min-height:185px;box-shadow:0 -6px 10px #0007}
.cards-head{grid-column:1;grid-row:1;color:#c8c8c8;align-self:start}.cards-head strong{color:#dedede}.cards-head #help{display:none}
.mycards{display:none}
.action-area{grid-column:2;grid-row:1 / span 3;display:flex;flex-direction:column-reverse;gap:9px;align-items:stretch}
.exchange{justify-content:flex-start;gap:8px}.exchange .metal{font-size:12px;padding:8px 12px}
.bet-controls{display:flex;flex-direction:column;gap:7px}.amount{display:flex;justify-content:flex-end;margin:0;gap:5px}
.amount label{display:none}.amount input{width:105px;border:0;border-radius:18px;background:#151515;color:#fff;text-align:center;font-size:18px;padding:6px}
.amount button{min-width:63px;background:linear-gradient(#fff,#bcbcbc);color:#303030;border:1px solid #777;border-radius:3px;font-weight:900;font-size:14px}
.bet-slider{display:flex;align-items:center;gap:8px}.bet-slider button{background:#1a1b1b;border:0;border-radius:20px;color:#c0e76a;font-size:22px;cursor:pointer;width:38px;height:29px}
.bet-slider input{width:100%;accent-color:#b7e33f;cursor:pointer}
.bets{justify-content:flex-end;gap:12px}.bets button{flex:0 1 170px;min-height:53px;border-radius:5px;font-size:22px;box-shadow:inset 0 2px 2px #fff9,0 4px 3px #0009}
#fold{order:0;background:linear-gradient(#ff6666,#ba141c)}#call{order:1;background:linear-gradient(#ffe17a,#f5a92e);color:#583819;text-shadow:none}#raise{order:2;background:linear-gradient(#ffe17a,#f5a92e);color:#583819;text-shadow:none}
#check{order:3}#allin{order:4}.message{grid-column:1;grid-row:2;margin:0;max-width:440px;text-align:left;font-size:13px;line-height:1.6;align-self:start;color:#b2dcb6;padding:7px;background:#101010ad;min-height:60px}
@media(max-width:800px){.shell{padding:0 4px 8px}.table-wrap{height:420px}.table{height:408px}.rail{inset:53px 8px 45px}.felt{inset:64px 19px 56px;border-width:6px}.seat .portrait{width:40px;height:40px;font-size:21px;border-width:2px}.seat-data{min-width:75px;font-size:11px;padding:2px}.seat-data span{font-size:10px}.opp-cards .back{width:23px;height:35px;margin-left:-5px}.seat-left{top:38%}.seat-right{top:38%}.table-hand{bottom:60px;gap:3px}.table-hand .playing-card{width:53px;height:76px;padding:3px}.table-hand .playing-card .corner{font-size:13px}.table-hand .playing-card .corner small{font-size:12px}.table-hand .playing-card .symbol{font-size:29px}.self-seat{bottom:2px}.self-seat .portrait{width:37px;height:37px;font-size:20px}.table-message{font-size:10px;max-width:65%}.controls{grid-template-columns:1fr;display:flex;flex-direction:column;gap:7px;padding:9px}.action-area{display:flex;flex-direction:column-reverse}.message{max-width:none;min-height:25px}.amount{justify-content:center;flex-wrap:wrap}.amount button{min-width:52px;font-size:12px}.bets{gap:4px;flex-wrap:wrap;justify-content:center}.bets button{flex:1 1 17%;font-size:13px;min-height:40px;padding:6px 2px}.exchange{justify-content:center}.exchange .metal{flex:1}.watermark{font-size:24px}.center{top:42%}}

/* R5 action-synchronized animation layer */
.table-wrap,.table{isolation:isolate}.flying{position:absolute;inset:0;z-index:8;pointer-events:none;overflow:visible}.flying-chip{position:absolute;display:block;width:25px;height:25px;border-radius:50%;border:5px dashed #fbe8b0;background:radial-gradient(circle,#ffce60 25%,#a84932 35%,#732c20 80%);box-shadow:0 3px 7px #000a;animation:chipTravel .8s cubic-bezier(.22,.6,.2,1) forwards}@keyframes chipTravel{0%{opacity:0;transform:scale(.3) rotate(0)}20%{opacity:1}60%{transform:translate(calc(var(--dx)*.65),calc(var(--dy)*.35 - 60px)) rotate(420deg) scale(1.2)}100%{opacity:0;transform:translate(var(--dx),var(--dy)) rotate(760deg) scale(.7)}}
.seat.acting .portrait,.self-seat.acting .portrait{animation:turnGlow .85s ease-in-out 2;border-color:#ffda6b;box-shadow:0 0 24px #ffe45d,0 0 45px #a6ffca}@keyframes turnGlow{50%{filter:brightness(1.6);transform:scale(1.1)}}
.fx-bubble{position:absolute;top:-35px;left:50%;transform:translateX(-50%);white-space:nowrap;background:linear-gradient(#ffeab3,#d6a249);color:#32251a;border:2px solid #fff6;border-radius:18px;padding:6px 13px;font-size:14px;font-weight:900;z-index:12;box-shadow:0 5px 15px #0009;pointer-events:none;animation:actionPop 1.25s ease forwards}.fx-bubble.bet{background:linear-gradient(#d9ffd8,#54c79e)}.fx-bubble.rank{background:linear-gradient(#f1e3ff,#ad85ee)}.fx-bubble.winner{background:linear-gradient(#fff1a3,#ffb22e);font-size:18px}@keyframes actionPop{0%{opacity:0;transform:translate(-50%,15px) scale(.4)}20%{opacity:1;transform:translate(-50%,-6px) scale(1.12)}70%{opacity:1}100%{opacity:0;transform:translate(-50%,-35px) scale(1)}}
.opp-cards.shuffling{animation:shuffleCards .5s ease}.table-hand.exchanging{animation:shuffleCards .42s ease}@keyframes shuffleCards{0%,100%{filter:none;transform:translateX(-50%)}50%{filter:brightness(1.7);transform:translateX(-50%) translateY(-12px) scale(.95)}}
.opp-cards .reveal-card{width:39px;height:57px;margin-left:-8px;background:linear-gradient(130deg,#fff,#e8e8e3);border:2px solid white;border-radius:5px;box-shadow:2px 3px 5px #0009;display:grid;place-items:center;color:#111;font-weight:900;font-size:15px;animation:flipReveal .65s both}.opp-cards .reveal-card.red{color:#b92334}@keyframes flipReveal{0%{transform:rotateY(90deg) translateY(-15px);opacity:.3}100%{transform:rotateY(0);opacity:1}}
.stage-splash{position:absolute;top:32%;left:50%;transform:translate(-50%,-50%);font-size:36px;font-weight:900;letter-spacing:3px;color:#fff2b5;text-shadow:0 0 20px #ffe67e,0 4px 8px #000;opacity:0;pointer-events:none;z-index:9}.stage-splash.show{animation:stageFlash 1.1s ease}@keyframes stageFlash{0%{opacity:0;transform:translate(-50%,-50%) scale(.5)}30%,65%{opacity:1;transform:translate(-50%,-50%) scale(1.15)}100%{opacity:0;transform:translate(-50%,-50%) scale(1.5)}}
.result.reveal .result-card{animation:resultRise .6s cubic-bezier(.2,1.5,.4,1)}.result.win .result-card{box-shadow:0 0 55px #ffdc70,0 20px 70px #000}@keyframes resultRise{from{transform:scale(.35) rotate(-8deg);opacity:0}to{transform:scale(1);opacity:1}}
@media(max-width:800px){.fx-bubble{font-size:10px;padding:4px 7px}.opp-cards .reveal-card{width:23px;height:35px;margin-left:-5px;font-size:10px}.stage-splash{font-size:21px}.flying-chip{width:18px;height:18px}}
@media(prefers-reduced-motion:reduce){.flying-chip,.fx-bubble,.stage-splash.show,.reveal-card{animation-duration:.05s!important}}

/* R6 cinematic victory system: confetti, fireworks, coin shower and impact */
.spectacle{position:fixed;inset:0;z-index:90;pointer-events:none;overflow:hidden}.celebration-particle{position:absolute;left:var(--sx);top:var(--sy);width:var(--size);height:calc(var(--size)*1.6);background:var(--color);border-radius:2px;box-shadow:0 0 10px var(--color);opacity:0;animation:confettiFlight 2.1s var(--delay) cubic-bezier(.18,.66,.3,1) forwards}@keyframes confettiFlight{0%{opacity:0;transform:translate(0,0) rotate(0) scale(.3)}12%{opacity:1}60%{opacity:1}100%{opacity:0;transform:translate(var(--dx),var(--dy)) rotate(var(--spin)) scale(.8)}}
.shockwave{position:absolute;width:25px;height:25px;border:5px solid #ffdd70;border-radius:50%;transform:translate(-50%,-50%);box-shadow:0 0 20px #fff3ac,0 0 30px #ffbf40;animation:shockRing 1s ease-out forwards}@keyframes shockRing{to{opacity:0;width:460px;height:460px;border-width:1px}}
.rain-chip{position:absolute;width:24px;height:24px;border-radius:50%;border:5px dashed #ffe6a2;background:radial-gradient(circle,#ffe4a3,#ce8426 62%,#7e4317);box-shadow:0 0 12px #ffd66a;animation:rainGold 1.8s cubic-bezier(.17,.62,.38,1) both}@keyframes rainGold{0%{opacity:0;transform:translate(0,0) scale(.1) rotate(0)}25%{opacity:1}55%{transform:translate(var(--rx),var(--ry)) scale(1.2) rotate(380deg)}100%{opacity:0;transform:translate(calc(var(--rx)*1.25),190px) scale(.4) rotate(920deg)}}
.victory-seat .portrait{border-color:#ffe277!important;box-shadow:0 0 18px #ffeb91,0 0 48px #ffd44d,0 0 80px #ffbb29!important;animation:victoryGlow .65s ease-in-out 7 alternate!important}@keyframes victoryGlow{to{transform:scale(1.18);filter:brightness(1.6)}}
.table.impact{animation:tableImpact .5s linear}@keyframes tableImpact{0%,100%{transform:translateX(0)}20%{transform:translateX(-8px)}40%{transform:translateX(8px)}60%{transform:translateX(-5px)}80%{transform:translateX(5px)}}
.result{z-index:100}.result-emblem{font-size:55px;filter:drop-shadow(0 0 18px #ffe17b);animation:emblemPop 1.3s ease-in-out infinite alternate}@keyframes emblemPop{from{transform:scale(.88) rotate(-6deg)}to{transform:scale(1.16) rotate(6deg)}}.result.bomb .result-card{box-shadow:0 0 65px #ff704e,0 0 120px #ffb52e!important}.result.royal .result-card{box-shadow:0 0 70px #fff1a0,0 0 140px #ffca33!important}.result.bomb #resultTitle{color:#ffd477;text-shadow:0 0 20px #ff632e}.result.royal #resultTitle{color:#fff2aa;text-shadow:0 0 30px #ffda35}
@media(max-width:800px){.shockwave{animation-duration:.75s}.rain-chip{width:16px;height:16px}.result-emblem{font-size:36px}}
@media(prefers-reduced-motion:reduce){.celebration-particle,.shockwave,.rain-chip,.victory-seat .portrait,.table.impact,.result-emblem{animation-duration:.05s!important;animation-iteration-count:1!important}}


/* R7 premium casino visual system: original CSS-rendered textures */
:root{--gold:#e8c47c;--felt:#126246}
body{background:radial-gradient(ellipse at 50% 5%,#30432f 0%,transparent 58%),repeating-linear-gradient(90deg,#17100c 0,#281a12 11px,#21160e 26px,#382316 48px,#1a100b 67px),#150e0a;background-attachment:fixed}
body:before{content:"";position:fixed;inset:0;pointer-events:none;opacity:.25;background:repeating-linear-gradient(0deg,transparent 0 13px,#0006 14px 15px,transparent 17px 34px);mix-blend-mode:multiply}
.shell{max-width:1440px}.brand{color:#ffe4a7;text-shadow:0 2px 12px #b88b3c80}.brand b{color:#c6a4ff}header,.status{position:relative;z-index:2}.status{background:linear-gradient(120deg,#241b16ed,#10291feb);border:1px solid #97744a70;box-shadow:0 5px 18px #0008}.wallet{background:linear-gradient(#35271c,#15100e);border:1px solid #a8824b80}
.table-wrap{height:510px}.table{height:470px;filter:drop-shadow(0 24px 18px #0009)}
.rail{inset:26px 25px 30px;background:repeating-linear-gradient(107deg,#422618 0,#80542f 11px,#a87541 19px,#56331f 29px,#352115 38px);border:8px solid #1c120e;box-shadow:0 0 0 4px #b99159,0 16px 0 #1d110d,0 24px 28px #000c,inset 0 0 0 5px #e3ba74}
.felt{inset:48px 47px 55px;border:10px solid #161d17;background:radial-gradient(ellipse at 47% 34%,#23845c 0%,#116546 37%,#07432f 77%,#03291d 100%);box-shadow:inset 0 0 0 3px #d5b7777d,inset 0 0 0 13px #00281935,inset 0 0 85px #00170e,inset 0 10px 40px #e0f9c313}
.felt:after{content:"";position:absolute;inset:14px;border-radius:49%/46%;pointer-events:none;opacity:.13;background-image:repeating-linear-gradient(42deg,#fff1 0 1px,transparent 1px 4px)}
.table-gloss{position:absolute;inset:34px 33px 44px;border-radius:49%/46%;pointer-events:none;background:linear-gradient(165deg,#fff2,transparent 24%,transparent 73%,#0004);z-index:1}
.watermark{color:#d3ffdf20;font-family:Georgia,serif;font-size:37px;letter-spacing:8px;text-shadow:0 2px 1px #001b13}.table-stars{color:#dfc67d3d;letter-spacing:13px;margin-top:8px;animation:starTwinkle 3.5s ease-in-out infinite}
@keyframes starTwinkle{50%{opacity:.25;transform:scale(.94)}}
.seat,.self-seat{background:linear-gradient(140deg,#28372f,#121a17 65%,#31251d);border:2px solid #c6a465;box-shadow:0 6px 16px #000c,inset 0 1px 0 #fff5}.portrait{width:48px;height:48px;box-shadow:inset 0 0 12px #0008,0 0 0 2px #24160d}.seat.thinking{animation:thinkPulse 1s ease-in-out infinite}.seat.thinking .portrait{animation:portraitTilt .75s ease-in-out infinite alternate}
@keyframes thinkPulse{50%{filter:brightness(1.3);box-shadow:0 0 24px #f7d88580}}@keyframes portraitTilt{to{transform:rotate(9deg) scale(1.08)}}
.opp-cards .back{width:32px;height:47px;border:2px solid #f9e9cb;background:repeating-linear-gradient(45deg,#213d6b 0 4px,#e7d6af 4px 6px,#7e2842 6px 10px);box-shadow:2px 4px 5px #000b;transition:transform .3s}.opp-cards.shuffling .back:nth-child(odd){transform:translateY(-18px) rotate(-17deg)}.opp-cards.shuffling .back:nth-child(even){transform:translateY(12px) rotate(18deg)}
.controls{background:linear-gradient(180deg,#3a2a1e,#211c1a 55%,#101719);border:2px solid #9b7946;border-radius:19px;box-shadow:0 12px 34px #000b,inset 0 2px 0 #d9b57950}.cards-head strong{color:#ffe1a0;font-size:18px}.cards-head #handRank{font-size:15px}
.mycards{min-height:219px;gap:clamp(5px,1.4vw,18px);margin:12px 0 14px;perspective:900px}
.playing-card{width:clamp(75px,11.5vw,140px);height:clamp(112px,16.5vw,198px);padding:10px;border-radius:12px;border:3px solid #faf8ee;background:linear-gradient(130deg,#fff 0%,#fffef9 45%,#eee9d9 100%);box-shadow:4px 8px 0 #2228,8px 13px 18px #000b,inset 0 0 0 2px #d7c9a2;color:#171b23;overflow:hidden;transform-origin:50% 100%;transition:transform .24s cubic-bezier(.2,1.5,.5,1),filter .2s,box-shadow .2s}
.playing-card:before{content:"";position:absolute;inset:5px;border:1px solid #d5d0c2;border-radius:7px;pointer-events:none}.playing-card:hover{transform:translateY(-9px) rotate(-1deg);filter:brightness(1.05)}.playing-card.selected,.playing-card.selected:hover{transform:translateY(-26px) rotate(-2deg);box-shadow:0 0 0 4px #8df6d2,0 0 26px #66f0bc9e,8px 17px 24px #000a}.playing-card.red{color:#b70d25}
.playing-card .corner{font-family:Georgia,'Times New Roman',serif;font-size:clamp(24px,3vw,37px);font-weight:900;line-height:.85;z-index:1}.playing-card .corner small{font-size:clamp(22px,2.7vw,34px);margin-top:4px}.playing-card .symbol{font-size:clamp(65px,8vw,104px);line-height:.95;filter:drop-shadow(1px 2px 1px #0003);z-index:1}.playing-card .pip-pattern{position:absolute;top:49%;left:50%;transform:translate(-50%,-50%);font-size:18px;line-height:2.6;opacity:.1;white-space:nowrap;pointer-events:none}.playing-card .bottom{z-index:1}
.playing-card.card-tap{animation:cardTap .5s ease both!important}@keyframes cardTap{30%{filter:brightness(1.4);transform:translateY(-35px) rotate(-7deg) scale(1.05)}100%{filter:none}}
.mycards.exchange-wave .playing-card{animation:exchangeWave .55s ease-in-out both!important}.mycards.exchange-wave .playing-card:nth-child(2){animation-delay:.06s!important}.mycards.exchange-wave .playing-card:nth-child(3){animation-delay:.12s!important}.mycards.exchange-wave .playing-card:nth-child(4){animation-delay:.18s!important}@keyframes exchangeWave{40%{transform:translateY(-30px) rotateY(75deg);opacity:.6}100%{transform:translateY(0) rotateY(0);opacity:1}}
.table-hand .playing-card{width:58px;height:82px;padding:4px;border-width:2px}.table-hand .playing-card .corner{font-size:17px}.table-hand .playing-card .corner small{font-size:15px}.table-hand .playing-card .symbol{font-size:33px}.table-hand .playing-card .pip-pattern{display:none}
.chip{animation:chipIn .4s ease both,chipShimmer 2.3s ease-in-out infinite alternate}@keyframes chipShimmer{to{filter:brightness(1.35);transform:translateY(-2px)}}.table.showdown-glow .felt{animation:showdownGlow .8s ease-in-out 4 alternate}@keyframes showdownGlow{to{filter:brightness(1.5);box-shadow:inset 0 0 55px #f7d87e99,0 0 30px #eacb6e}}
.metal{transition:filter .18s,transform .18s}.metal:not(:disabled):hover{filter:brightness(1.18);transform:translateY(-2px)}
@media(max-width:720px){.shell{padding:8px}.table-wrap{height:340px}.table{height:310px}.rail{inset:30px 6px 30px;border-width:5px}.felt{inset:42px 16px 43px;border-width:6px}.table-gloss{inset:35px 10px 35px}.mycards{min-height:145px;gap:5px}.playing-card{width:clamp(65px,21vw,100px);height:clamp(100px,30vw,146px);padding:6px}.playing-card .symbol{font-size:clamp(50px,14vw,75px)}.playing-card .corner{font-size:24px}.playing-card .corner small{font-size:21px}.table-hand .playing-card{width:35px;height:51px}.table-hand .playing-card .symbol{font-size:18px}.table-hand .playing-card .corner{font-size:10px}.table-hand .playing-card .corner small{font-size:10px}.portrait{width:32px;height:32px}.opp-cards .back{width:19px;height:29px}.watermark{font-size:19px}.controls{padding:11px}}
@media(prefers-reduced-motion:reduce){.table-stars,.chip,.seat.thinking,.seat.thinking .portrait{animation:none!important}}
