*{box-sizing:border-box}
:root{--bg:#06120e;--panel:#0c2018;--panel2:#10271d;--felt:#07513a;--felt2:#063d2d;--gold:#c8a66a;--gold2:#ead5a5;--text:#f3f0e7;--muted:#9eafa3;--line:#294437;--red:#c34d52}
html,body{margin:0;min-height:100%;background:var(--bg);color:var(--text);font-family:"DM Sans",system-ui,sans-serif}
body{overflow-x:hidden}.hidden{display:none!important}.ambient{position:fixed;inset:0;pointer-events:none;background:radial-gradient(ellipse at 70% 8%,#143d2b66,transparent 42%),radial-gradient(ellipse at 4% 90%,#17342555,transparent 36%);z-index:0}
.topbar{height:78px;max-width:1500px;margin:auto;padding:0 5vw;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #ffffff12;position:relative;z-index:2}
.brand{display:flex;align-items:center;gap:12px;color:var(--text);text-decoration:none;font-weight:800;letter-spacing:.18em;font-size:13px}.brand small{display:block;color:var(--gold);font-size:8px;letter-spacing:.3em;margin-top:4px}.brand-mark{width:38px;height:38px;border:1px solid var(--gold);display:grid;place-items:center;color:var(--gold);font:25px "Playfair Display",serif}
.topbar-right{display:flex;align-items:center;gap:22px}.private-tag{font-size:8px;letter-spacing:.17em;color:#b3c1b7}.private-tag i,.live-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#6cc58b;margin-right:8px;box-shadow:0 0 10px #6cc58b}.icon-btn{background:none;border:1px solid var(--line);color:#d5dfd6;padding:9px 12px;font-size:13px;cursor:pointer}.icon-btn span{font-size:9px;margin-left:6px}
main{position:relative;z-index:1}.screen{max-width:1440px;margin:0 auto;padding:54px 5vw 70px;min-height:calc(100vh - 78px)}
.welcome-screen{display:flex;align-items:center;position:relative;overflow:hidden;min-height:calc(100vh - 78px)}.welcome-copy{position:relative;z-index:2;max-width:580px;margin-top:-15px}.eyebrow{font-size:9px;letter-spacing:.25em;font-weight:800;color:var(--gold);margin:0 0 16px}.welcome h1,.section-heading h1,.game-head h1{font:clamp(48px,6.6vw,82px)/1.03 "Playfair Display",Georgia,serif;font-weight:400;letter-spacing:-.045em;margin:0}.welcome h1 em,.section-heading h1 em,.game-head h1 em{color:var(--gold2);font-weight:400}.lead{max-width:420px;color:#aab8ae;line-height:1.8;font-size:14px;margin:22px 0 34px}.join-form{max-width:370px}.join-form label,.raise-label label{display:block;color:#bac6bd;font-size:8px;letter-spacing:.18em;font-weight:800;margin-bottom:10px}.join-form input{width:100%;height:52px;border:1px solid #3a5947;background:#0b2119;color:#fff;padding:0 16px;outline:none;border-radius:2px;font:13px "DM Sans",sans-serif}.join-form input:focus{border-color:var(--gold)}.gold-btn{height:50px;border:0;background:linear-gradient(110deg,#e0c68f,#b18d50);color:#16241b;font-size:9px;font-weight:900;letter-spacing:.16em;padding:0 20px;display:flex;align-items:center;justify-content:space-between;gap:22px;cursor:pointer;transition:filter .2s,transform .2s}.gold-btn:hover{filter:brightness(1.08);transform:translateY(-1px)}.gold-btn:disabled{opacity:.55;cursor:wait;transform:none}.join-form .gold-btn{width:100%;margin-top:12px}.gold-btn span{font-size:16px}.wide-btn{width:100%}.welcome-foot{display:flex;flex-wrap:wrap;gap:22px;margin-top:45px;color:#718579;font-size:8px;letter-spacing:.13em}.error-line{min-height:16px;color:#e59b91;font-size:11px;margin:8px 0 0}
.hero-art{position:absolute;right:7%;top:50%;width:min(46vw,550px);height:470px;transform:translateY(-50%);opacity:.94}.hero-orbit{position:absolute;inset:15px 30px;border:1px solid #b99b5b33;border-radius:50%;transform:rotate(-18deg)}.hero-chip{position:absolute;right:10%;bottom:4%;width:235px;height:235px;border-radius:50%;display:grid;place-items:center;border:13px dashed #d5b876;outline:2px solid #d5b876;background:radial-gradient(circle,#184431 0 54%,#b79558 55% 59%,#123324 60%);color:#ead8ad;font:110px "Playfair Display",serif;box-shadow:0 25px 80px #0008}.hero-card{position:absolute;top:12%;left:18%;width:150px;height:215px;border-radius:9px;background:#f3eee2;color:#17271e;box-shadow:0 22px 55px #0009;transform:rotate(-15deg);padding:15px;font:54px "Playfair Display",serif}.hero-card span{display:block;font-size:68px;margin-top:6px}.hero-card.card-b{left:43%;top:19%;transform:rotate(12deg)}.hero-card.red{color:#bd343d}
.lobby-screen{max-width:1160px}.section-heading{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:34px}.section-heading h1{font-size:58px}.subtle{color:var(--muted);font-size:13px;margin:13px 0 0}.lobby-status{font-size:8px;letter-spacing:.17em;color:#b7c4ba;padding-bottom:8px}.lobby-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(250px,.8fr);gap:22px}.lobby-card,.rules-card{background:linear-gradient(145deg,#10271d,#0a1a14);border:1px solid #2d4738;padding:26px;box-shadow:0 20px 60px #0003}.lobby-card-head{display:flex;justify-content:space-between;align-items:flex-start}.lobby-card-head h2{font:29px "Playfair Display",serif;margin:0}.lobby-card-head .eyebrow{margin-bottom:7px}.capacity{font-size:8px;letter-spacing:.13em;color:#aab8ae;border:1px solid #395443;padding:7px 10px}.mini-table{height:240px;position:relative;display:grid;place-items:center;margin:18px 0 10px}.mini-felt{width:78%;height:155px;border-radius:50%;background:radial-gradient(ellipse,#0b6849,#06432f 75%);border:8px solid #ad8a50;box-shadow:0 12px 25px #0007,inset 0 0 0 2px #4d8c68;display:grid;place-items:center;position:relative}.mini-logo{font:italic 16px "Playfair Display",serif;letter-spacing:.15em;color:#c1d5c633}.mini-center{position:absolute;bottom:35px;font-size:9px;color:#e2d0a6;letter-spacing:.1em}.mini-seats{position:absolute;inset:0;display:flex;justify-content:center;align-content:space-between;flex-wrap:wrap;gap:7px;pointer-events:none}.mini-player,.mini-empty{background:#0b2119;border:1px solid #b99b5b88;color:#e8d9b6;border-radius:20px;padding:6px 10px;font-size:8px;letter-spacing:.06em}.mini-empty{margin:auto;color:#9caf9f}.lobby-meta{display:flex;justify-content:space-between;border-top:1px solid #2a4234;padding:15px 0;color:#8fa196;font-size:9px}.lobby-meta b{color:#e8d4a7}.rules-card .eyebrow{margin-bottom:10px}.rules-card h3{font:28px "Playfair Display",serif;margin:0 0 18px}.rules-card ul{padding:0;margin:0;list-style:none}.rules-card li{padding:10px 0;border-bottom:1px solid #263d30;color:#aab9ae;font-size:11px}.rules-card li b{float:right;color:#e4d0a1}.your-profile{display:flex;align-items:center;gap:11px;margin-top:24px}.profile-avatar{width:34px;height:34px;border-radius:50%;background:var(--gold);color:#14241b;display:grid;place-items:center;font-weight:900}.your-profile small{display:block;color:#84988b;font-size:7px;letter-spacing:.15em}.your-profile b{display:block;font-size:11px;margin-top:3px}.your-profile button{margin-left:auto;background:none;border:1px solid #395443;color:#b8c5ba;padding:6px 9px;font-size:8px;cursor:pointer}
.game-screen{max-width:1500px;padding-top:28px}.game-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px}.game-head h1{font-size:38px}.game-head .eyebrow{margin-bottom:6px}.game-head-right{display:flex;align-items:center;gap:16px}.hand-label{font-size:8px;letter-spacing:.15em;color:#b8c4ba}.outline-btn{background:transparent;border:1px solid #3b5546;color:#c1cec4;padding:10px 13px;font-size:8px;letter-spacing:.12em;cursor:pointer}.game-layout{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:22px;align-items:stretch}.table-column{min-width:0}.table-frame{padding:13px;border-radius:50% / 42%;background:linear-gradient(130deg,#c5a66a,#66502f 9%,#d5bc82 12%,#1b392a 16%,#132d21 85%,#b89a61 89%,#5d482a);box-shadow:0 25px 55px #0008,inset 0 0 0 1px #e7d39f}.felt{height:clamp(480px,55vw,620px);max-height:620px;position:relative;overflow:hidden;border-radius:50% / 43%;border:2px solid #4c9169;background:radial-gradient(ellipse at 50% 45%,#0b6849 0%,#07513a 58%,#06432f 100%);box-shadow:inset 0 0 65px #001b12aa}.felt:after{content:"";position:absolute;inset:10px;border:1px solid #a7c9a033;border-radius:50% / 43%;pointer-events:none}.dealer{position:absolute;z-index:2;top:0;left:50%;transform:translateX(-50%);width:94px;height:116px;text-align:center;color:#e3d3ae;font-size:7px;letter-spacing:.15em}.dealer-figure{display:block;width:100%;height:103px;object-fit:contain;filter:drop-shadow(0 6px 10px #00150e88)}.dealer span{position:absolute;bottom:0;left:0;width:100%}.seats{position:absolute;inset:0;z-index:3}.seat-player{position:absolute;transform:translate(-50%,-50%);width:clamp(112px,14vw,158px);max-width:158px;display:flex;flex-direction:column;align-items:center;gap:3px;z-index:2;transition:opacity .2s}.seat-player.is-folded{opacity:.46}.seat-player.is-turn{z-index:5}.seat-info{width:100%;display:flex;align-items:center;gap:6px;padding:6px 7px;background:#071c15ed;border:1px solid #b89a5b77;border-radius:6px;box-shadow:0 6px 18px #00170e88;position:relative}.seat-player.is-me .seat-info{border-color:#e0c78d}.seat-player.is-turn .seat-info{box-shadow:0 0 0 2px #e0c78d,0 0 22px #d5b67677}.seat-avatar{flex:0 0 25px;width:25px;height:25px;border-radius:50%;background:#c8a66a;color:#17251b;display:grid;place-items:center;font-size:9px;font-weight:900}.seat-avatar.ai{background:#283e35;border:1px solid var(--gold);color:#e5d2a5}.seat-text{min-width:0;display:flex;flex-direction:column;gap:3px;flex:1}.seat-text b{font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.seat-text small{font-size:6px;color:#9caf9f;letter-spacing:.08em;white-space:nowrap}.seat-stack{font-size:8px;color:#e6d2a2;white-space:nowrap}.seat-cards{height:39px;display:flex;gap:3px;align-items:flex-end}.playing-card{width:27px;height:37px;border-radius:3px;background:#f5f0e5;color:#17261d;display:flex;flex-direction:column;align-items:center;justify-content:center;position:relative;box-shadow:0 2px 5px #00150d99;font:700 14px Georgia;line-height:1}.playing-card i{font-style:normal;font-size:13px}.playing-card small{display:none}.playing-card.red{color:#bc3540}.playing-card.back{background:repeating-linear-gradient(45deg,#143c30,#143c30 4px,#d2b777 4px,#d2b777 5px);border:2px solid #f0dfbd}.player-bet{background:#d6bb80;color:#1b281f;border-radius:12px;padding:3px 8px;font-size:8px;font-weight:800;box-shadow:0 3px 8px #00150d88}.pot-center{position:absolute;z-index:2;left:50%;top:51%;transform:translate(-50%,-50%);min-width:220px;text-align:center}.pot-caption{display:block;color:#c5d8c8;font-size:8px;letter-spacing:.24em}.pot-center strong{display:block;color:#f0d7a2;font:29px "Playfair Display",serif;margin:2px 0 8px}.board{min-height:62px;display:flex;justify-content:center;gap:5px}.board .playing-card{width:42px;height:58px;font-size:22px}.board .playing-card i{font-size:18px}.street-label{display:block;margin-top:7px;color:#c5d9ca;font-size:7px;letter-spacing:.18em}.felt-brand{position:absolute;bottom:8%;left:50%;transform:translateX(-50%);color:#c6dfce20;font:italic 14px "Playfair Display",serif;letter-spacing:.18em;white-space:nowrap}.felt-brand span{font:7px "DM Sans",sans-serif;letter-spacing:.2em}.table-legend{display:flex;justify-content:space-between;gap:10px;padding:12px 16px;color:#7f9587;font-size:8px;letter-spacing:.08em}.table-legend b{color:#d9c18f}.legend-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#6bc48a;margin-right:6px}
.control-panel{background:linear-gradient(155deg,#10271d,#091a13);border:1px solid #2e4838;padding:20px;box-shadow:0 15px 40px #0004;display:flex;flex-direction:column;min-height:470px}.control-top{display:flex;justify-content:space-between;align-items:center;padding-bottom:16px;border-bottom:1px solid #2b4234}.control-top .eyebrow{margin:0 0 5px}.control-top h2{font:24px "Playfair Display",serif;margin:0}.stack-block{text-align:right}.stack-block small{display:block;font-size:7px;color:#8fa397;letter-spacing:.15em}.stack-block b{display:block;color:#e8d5a6;font:19px "Playfair Display",serif;margin-top:4px}.my-cards-wrap{padding:17px 0 14px;border-bottom:1px solid #2b4234}.panel-label{font-size:8px;letter-spacing:.15em;color:#aebdb2;margin-bottom:12px}.my-cards{display:flex;gap:8px;min-height:83px;align-items:center}.my-cards .playing-card{width:53px;height:76px;font-size:25px}.my-cards .playing-card i{font-size:21px}.card-placeholder{color:#708679;font-size:10px;border:1px dashed #3c5848;padding:12px 14px;width:100%;text-align:center}.turn-banner{margin:16px 0;padding:11px 12px;background:#0b2119;border:1px solid #2a4334;color:#a6b7aa;font-size:10px;display:flex;align-items:center;gap:9px;line-height:1.4}.turn-banner.active{border-color:#c9a86a;color:#f0d9a9;background:#2b291a}.turn-dot{width:7px;height:7px;border-radius:50%;background:#789080;flex:0 0 auto}.turn-banner.active .turn-dot{background:#d4b676;box-shadow:0 0 10px #d4b676}.raise-controls{padding:12px 0 0}.raise-label{display:flex;justify-content:space-between;align-items:center}.raise-label label{margin:0}.raise-label strong{font:20px "Playfair Display",serif;color:#e7d4a6}input[type=range]{width:100%;accent-color:var(--gold);margin:17px 0 6px}.range-hints{display:flex;justify-content:space-between;color:#83988b;font-size:7px;letter-spacing:.1em}.actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:auto;padding-top:14px}.action-btn{min-height:45px;background:#18372a;border:1px solid #496655;color:#edf0e9;font-size:9px;font-weight:800;letter-spacing:.12em;cursor:pointer}.action-btn b{display:block;margin-top:3px;color:#e8d5a7}.action-btn.fold{background:#322323;border-color:#704246;color:#f0c9c6}.action-btn.raise-action{grid-column:1/-1;background:linear-gradient(110deg,#d8bd82,#b18d50);border:0;color:#17251b}.actions .gold-btn{grid-column:1/-1}.waiting-action{grid-column:1/-1;text-align:center;color:#82978a;font-size:10px;padding:16px 0}.action-note{color:#708579;font-size:8px;line-height:1.6;margin:16px 0 0}.game-bottom{display:flex;justify-content:space-between;color:#809488;font-size:8px;letter-spacing:.08em;padding:14px 6px}.game-bottom b{color:#e2cea0}
.result-overlay{position:fixed;inset:0;background:#020a07d9;z-index:20;display:grid;place-items:center;padding:18px}.result-card{width:min(460px,100%);background:#10271d;border:1px solid #b89a61;padding:30px;text-align:center;box-shadow:0 25px 90px #000}.result-card h2{font:36px "Playfair Display",serif;color:#eed9aa;margin:8px 0}.result-card>p:not(.eyebrow){color:#b4c2b7;font-size:12px}.result-players{margin:18px 0;display:grid;gap:10px}.result-players>div{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #2b4335;padding-top:9px;font-size:10px}.result-players>div>span{display:flex;gap:4px}.result-players .playing-card{width:30px;height:42px;font-size:15px}.toast{position:fixed;bottom:22px;left:50%;transform:translate(-50%,20px);opacity:0;pointer-events:none;background:#1b3025;border:1px solid #b89a61;color:#f0e6cf;padding:12px 18px;font-size:11px;z-index:40;transition:.2s;max-width:calc(100vw - 30px);text-align:center}.toast.show{opacity:1;transform:translate(-50%,0)}
@media(max-width:1050px){.game-layout{grid-template-columns:minmax(0,1fr) 280px;gap:14px}.felt{height:510px}.seat-player{width:125px}.seat-info{padding:5px}.seat-stack{font-size:7px}}
@media(max-width:800px){.hero-art{right:-8%;opacity:.42}.welcome-copy{max-width:550px}.game-screen{padding:20px 16px 45px}.game-layout{grid-template-columns:1fr}.felt{height:clamp(390px,65vw,530px)}.control-panel{min-height:0}.actions{margin-top:12px}.table-frame{border-radius:38% / 22%}.felt{border-radius:38% / 22%}.felt:after{border-radius:38% / 22%}}
@media(max-width:560px){.topbar{height:62px;padding:0 18px}.brand{font-size:10px;gap:8px}.brand-mark{width:32px;height:32px;font-size:21px}.brand small{font-size:6px}.private-tag{display:none}.topbar-right{gap:8px}.icon-btn{padding:7px 9px}.screen{padding:35px 20px 50px;min-height:calc(100vh - 62px)}.welcome-screen{align-items:flex-start;padding-top:14vh}.welcome h1{font-size:54px}.lead{font-size:12px;max-width:330px}.welcome-foot{font-size:7px;gap:12px;margin-top:34px}.hero-art{display:none}.section-heading{align-items:flex-start;gap:15px;flex-direction:column}.section-heading h1{font-size:48px}.lobby-grid{grid-template-columns:1fr}.lobby-card,.rules-card{padding:19px}.mini-table{height:205px}.mini-felt{height:135px}.lobby-meta{font-size:8px;gap:8px}.game-screen{padding:15px 10px 35px}.game-head{margin-bottom:12px}.game-head h1{font-size:29px}.game-head-right{gap:7px;flex-direction:column;align-items:flex-end}.hand-label{font-size:7px}.outline-btn{padding:7px 8px;font-size:7px}.game-layout{gap:10px}.table-frame{padding:7px;border-radius:33% / 20%}.felt{height:390px;border-radius:33% / 20%}.felt:after{inset:5px;border-radius:33% / 20%}.dealer{top:1%;transform:translateX(-50%) scale(.76);transform-origin:top center}.seat-player{width:clamp(90px,28vw,122px);gap:2px}.seat-info{gap:4px;padding:4px 5px}.seat-avatar{width:20px;height:20px;flex-basis:20px;font-size:7px}.seat-text b{font-size:7px}.seat-text small{font-size:5px}.seat-stack{font-size:6px}.seat-cards{height:30px;gap:2px}.seat-cards .playing-card{width:21px;height:29px;font-size:11px}.seat-cards .playing-card i{font-size:10px}.pot-center{min-width:170px;top:51%}.pot-center strong{font-size:23px}.board{min-height:48px;gap:3px}.board .playing-card{width:31px;height:44px;font-size:17px}.board .playing-card i{font-size:14px}.street-label{font-size:6px}.player-bet{font-size:6px;padding:2px 6px}.felt-brand{bottom:7%;font-size:10px}.table-legend{font-size:6px;padding:8px 3px;gap:4px}.control-panel{padding:14px}.control-top h2{font-size:21px}.stack-block b{font-size:17px}.my-cards{min-height:70px}.my-cards .playing-card{width:47px;height:66px}.turn-banner{margin:10px 0;padding:9px;font-size:9px}.action-btn{min-height:46px}.game-bottom{font-size:7px;padding:10px 2px}}
@media(max-width:380px){.felt{height:360px}.seat-player{width:88px}.seat-info{gap:3px;padding:4px}.seat-avatar{width:18px;height:18px;flex-basis:18px}.seat-text b{font-size:6px}.seat-stack{font-size:5px}.seat-cards .playing-card{width:19px;height:27px}.board .playing-card{width:28px;height:40px}.pot-center{min-width:150px}.pot-center strong{font-size:21px}}

@keyframes dealIn{from{opacity:0;transform:translateY(-20px) scale(.82)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes potPop{0%{transform:scale(.92);opacity:.65}60%{transform:scale(1.12)}100%{transform:scale(1);opacity:1}}
@keyframes dealerBreath{0%,100%{transform:translateX(-50%) translateY(0)}50%{transform:translateX(-50%) translateY(2px)}}
.playing-card.deal-in{animation:dealIn .34s cubic-bezier(.2,.8,.2,1) both}
.pot-center strong.pot-pop{animation:potPop .38s ease-out}
.dealer{animation:dealerBreath 3s ease-in-out infinite}
.player-bet{animation:dealIn .22s ease-out}

.action-btn:disabled{opacity:.35;cursor:not-allowed}

.chip-stack{position:relative;display:inline-flex;align-items:flex-end;width:18px;height:18px;flex:0 0 18px}
.chip-stack i{position:absolute;bottom:0;width:13px;height:5px;border-radius:50%;background:#d5b879;border:1px solid #f1dfad;box-shadow:0 1px 0 #80683e}
.chip-stack i:nth-child(1){left:0;bottom:0}.chip-stack i:nth-child(2){left:3px;bottom:5px;background:#1c4938;border-color:#bda36e}.chip-stack i:nth-child(3){left:1px;bottom:10px}
.pot-chips{height:12px;display:flex;justify-content:center;align-items:center;gap:2px;margin:-2px 0 6px}
.pot-chips i{display:block;width:15px;height:5px;border-radius:50%;background:#d8bc7c;border:1px solid #f1dfb0;box-shadow:0 2px 0 #82673c}
.pot-chips i:nth-child(2){background:#1a503b;border-color:#d6bd85}.pot-chips i:nth-child(3){background:#b94b4e;border-color:#f0c1a3}.pot-chips i:nth-child(4){background:#1a503b;border-color:#d6bd85}

@media(max-width:560px){.chip-stack{display:none}}

.turn-timer{margin-left:auto;color:#d9c18e;font-size:10px;font-variant-numeric:tabular-nums;letter-spacing:.08em}

/* HOWISIT premium showdown, table history and motion layer */
.result-overlay{overflow-y:auto;align-items:center;backdrop-filter:blur(9px);background:radial-gradient(ellipse at 50% 30%,#183b2bd9,#020906f2 72%)}
.result-card-premium{width:min(760px,100%);max-height:min(92vh,980px);overflow:auto;text-align:left;padding:clamp(20px,4vw,38px);border-radius:12px;background:linear-gradient(150deg,#163628,#0b1c14 70%);box-shadow:0 30px 110px #000c,inset 0 1px #e5ce9a55;animation:showdownIn .55s cubic-bezier(.2,.8,.2,1) both}
.result-card-premium>.eyebrow,.result-card-premium>h2,.result-card-premium>#resultDesc{text-align:center}
.result-card-premium h2{font-size:clamp(32px,6vw,48px);text-transform:uppercase;letter-spacing:.02em;text-shadow:0 0 28px #e5c78355}
.result-card-premium #resultDesc{margin:0 0 22px;color:#d5c397;letter-spacing:.08em;text-transform:uppercase;font-size:10px}
.result-winner-cards{display:grid;grid-template-columns:1fr 1.5fr;gap:14px}
.result-winner-cards>div{background:#07170f99;border:1px solid #54715a66;border-radius:8px;padding:14px;min-width:0}
.result-winner-cards small{display:block;color:#a6bba8;font-size:8px;letter-spacing:.16em;font-weight:800;margin-bottom:12px}
.result-card-row{display:flex;gap:6px;align-items:center;min-height:72px;flex-wrap:wrap}
.result-card-row .playing-card{width:48px;height:68px;font-size:25px;border-radius:5px}
.result-card-row .playing-card i{font-size:21px}
.result-card-row .playing-card.winning-card{outline:2px solid #e6c57f;box-shadow:0 0 0 4px #e6c57f33,0 0 24px #e6c57f99;transform:translateY(-3px)}
.result-explanation{margin-top:14px;padding:14px 16px;border-left:3px solid var(--gold);background:#c6a66b12;display:grid;gap:5px}
.result-explanation strong{color:#f0d7a2;font:20px "Playfair Display",serif}
.result-explanation span{font-size:10px;color:#c4d0c5}
.result-explanation small{font-size:10px;color:#a4b7a8;letter-spacing:.08em}
.result-pots{display:grid;gap:7px;margin:15px 0}
.pot-award{display:flex;justify-content:space-between;align-items:center;padding:10px 13px;border:1px solid #385643;background:#0a1d14;border-radius:6px}
.pot-award span{display:grid;gap:3px}.pot-award b{font-size:10px;color:#e5d4ad}.pot-award small{font-size:9px;color:#9db0a1}.pot-award strong{font:18px "Playfair Display",serif;color:#e8d3a2}
.result-players{border-top:1px solid #405b48;padding-top:10px}
.result-players>div{gap:12px}.result-players>div>span{align-items:center}.result-players em{font-style:normal;color:#d9c28e;font-weight:800;margin-left:5px}
.result-actions{display:grid;grid-template-columns:1fr auto;gap:10px;align-items:center;margin-top:18px}.result-actions .outline-btn{height:50px;padding:0 18px}
.dealer-puck{position:absolute;top:-8px;right:7px;width:17px;height:17px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(145deg,#fff4ce,#b99b5e);color:#1a2a1e;font-size:8px;font-weight:900;border:1px solid #fff1c5;box-shadow:0 2px 8px #0009;z-index:3}
.dealer.dealing .dealer-figure{animation:dealerDeal .48s ease-in-out 3}
@keyframes dealerDeal{0%,100%{transform:translateY(0) rotate(0)}35%{transform:translateY(9px) rotate(-4deg)}70%{transform:translateY(3px) rotate(4deg)}}
@keyframes showdownIn{from{opacity:0;transform:translateY(22px) scale(.97)}to{opacity:1;transform:translateY(0) scale(1)}}
.fx-layer{position:fixed;inset:0;pointer-events:none;z-index:35;overflow:hidden}
.confetti-bit{position:absolute;top:-20px;width:8px;height:13px;border-radius:2px;background:linear-gradient(135deg,#f5dfa0,#b58c4b);animation:confettiFall 2.8s ease-in forwards}
.confetti-bit:nth-child(3n){background:linear-gradient(135deg,#f8f2d9,#b9d7bd);width:6px;height:10px}
.confetti-bit:nth-child(3n + 1){background:linear-gradient(135deg,#b84a50,#e9a0a0);width:7px;height:12px}
@keyframes confettiFall{to{transform:translate3d(var(--fall-x),110vh,0) rotate(var(--fall-r));opacity:.1}}
.flying-chip{position:fixed;width:22px;height:8px;border-radius:50%;background:linear-gradient(#f4d995 0 45%,#a77e3d 48% 100%);border:1px solid #fff0bd;box-shadow:0 2px 4px #0009;animation:chipFly .8s cubic-bezier(.2,.7,.2,1) forwards}
@keyframes chipFly{to{transform:translate(var(--chip-x),var(--chip-y)) rotate(540deg) scale(.45);opacity:.1}}
.busted-card{text-align:center;width:min(440px,100%);border-color:#b86b64;background:linear-gradient(150deg,#35201d,#171512)}
.busted-card h2{color:#f1d0c5}.busted-card>p:not(.eyebrow){color:#d0b9b1;line-height:1.6;font-size:12px}
.busted-balance{font:42px "Playfair Display",serif;color:#f1c7bc;padding:12px;border-block:1px solid #75433d;margin:18px 0}
.busted-note{font-size:10px!important;color:#bda69d!important}
.history-panel{display:grid;grid-template-columns:170px 1fr;gap:18px;align-items:start;margin:8px 0 26px;padding:18px 20px;border:1px solid #294437;background:#0b1d15}
.history-panel .eyebrow{margin:0 0 5px}.history-panel h3{font:22px "Playfair Display",serif;margin:0;color:#e8d7b3}
.history-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:8px}
.history-item{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 11px;background:#10291d;border:1px solid #294637;border-radius:4px}
.history-item span{display:grid;gap:3px;min-width:0}.history-item b{font-size:8px;color:#c8ac76}.history-item small{font-size:9px;color:#a9b9ad;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.history-item strong{font:14px "Playfair Display",serif;color:#e6d2a1;white-space:nowrap}.history-empty{color:#7f9687;font-size:10px;padding:10px}
@media(max-width:620px){.result-card-premium{padding:20px 15px}.result-winner-cards{grid-template-columns:1fr}.result-card-row{min-height:56px}.result-card-row .playing-card{width:39px;height:55px;font-size:20px}.result-card-row .playing-card i{font-size:17px}.result-actions{grid-template-columns:1fr}.result-actions .outline-btn{width:100%}.history-panel{grid-template-columns:1fr;gap:10px;padding:14px}.history-list{grid-template-columns:1fr 1fr}.history-item{padding:8px}.history-item small{max-width:125px}}
@media(prefers-reduced-motion:reduce){.confetti-bit,.flying-chip,.dealer.dealing .dealer-figure,.result-card-premium{animation-duration:.01ms!important;animation-iteration-count:1!important}}
.result-players>div.is-winner{border-top-color:#b89a61;background:#c6a66b0d}.result-players>div>b{display:grid;gap:4px}.result-players>div>b small{font-size:8px;color:#a9b9ad;font-weight:500;letter-spacing:.06em}.result-players>div.is-winner>b{color:#f0d7a2}

/* Refined, restrained motion: keep existing cards mounted and avoid flashy winner effects. */
.result-card-premium{animation:showdownFade .24s ease-out both;box-shadow:0 18px 55px #0009,inset 0 1px #e5ce9a33}
.result-card-premium h2{text-shadow:none}
.result-winner-cards .playing-card.winning-card{outline:1px solid #d6bd83;box-shadow:0 0 0 2px #d6bd831c;transform:none}
.confetti-bit{display:none!important}
.flying-chip{animation:chipFly .62s ease-in-out forwards;box-shadow:0 1px 3px #0007}
.playing-card.deal-in{animation:dealIn .26s ease-out both}
@keyframes showdownFade{from{opacity:0}to{opacity:1}}
