:root{color-scheme:dark;--gold:#dfbf6b;--muted:#8a8c88;--ink:#090b0b;--line:#ffffff12;--green:#89b99d;font-family:'DM Sans',system-ui,sans-serif;font-size:14px}*{box-sizing:border-box}body{margin:0;background:var(--ink);color:#f3f0e6}button,input{font:inherit}button{cursor:pointer;color:inherit}button:disabled{opacity:.28;cursor:not-allowed}button:focus-visible,input:focus-visible{outline:2px solid var(--gold);outline-offset:3px}button{border:1px solid #ffffff19;background:#ffffff06;border-radius:6px;padding:10px 16px;transition:background .2s,transform .2s}button:hover:not(:disabled){background:#ffffff12;transform:translateY(-1px)}button.primary{background:var(--gold);border-color:var(--gold);color:#1e1b12;font-weight:700}.muted{color:var(--muted)}.loading{height:100vh;display:grid;place-content:center;text-align:center;background:radial-gradient(ellipse,#40331c25,transparent 60%)}.crest{font:600 40px 'Cormorant Garamond',Georgia,serif;color:var(--gold);border:1px solid #b39342;border-radius:50%;height:72px;width:72px;display:grid;place-content:center;margin:auto}.loading h1{letter-spacing:.3em;font-size:18px}.shell{min-height:100vh;background:radial-gradient(ellipse at 60% 38%,#49321c15,transparent 65%)}header{height:86px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 32px;gap:20px}.brand{display:flex;align-items:center;gap:14px}.brand .crest{font-size:26px;height:44px;width:44px;margin:0}.brand strong{letter-spacing:.22em;font-size:15px;display:block}.brand small{display:block;letter-spacing:.17em;font-size:9px;color:var(--gold);margin-top:5px}.nav{display:flex;align-items:center;height:100%;gap:24px}.nav b{height:100%;display:flex;align-items:center;border-bottom:2px solid var(--gold);font-size:12px;letter-spacing:.1em}.nav span{font-size:11px;color:var(--muted)}.status{font-size:11px;display:flex;gap:9px;align-items:center}.dot{width:6px;height:6px;border-radius:50%;background:var(--green);box-shadow:0 0 10px #89b99d66}.badge{font-size:9px;border:1px solid #bfa25740;padding:5px 8px;border-radius:4px;letter-spacing:.13em;color:var(--gold)}.layout{display:grid;grid-template-columns:238px minmax(0,1fr);min-height:calc(100vh - 86px)}aside{border-right:1px solid var(--line);padding:28px 21px;display:flex;flex-direction:column;gap:24px;background:#06080855}.eyebrow{letter-spacing:.16em;font-size:9px;color:var(--gold);font-weight:700}.ranktitle{font:600 30px 'Cormorant Garamond',Georgia,serif;margin:7px 0}.rankdesc{font-size:10px;color:var(--muted);line-height:1.8;margin:0 0 18px}.rank{display:flex;align-items:center;gap:10px;padding:15px 0;border-bottom:1px solid var(--line)}.ranknum{font:500 21px 'Cormorant Garamond',Georgia,serif;color:#73746b;width:14px}.rank:first-child .ranknum{color:var(--gold)}.avatar{width:34px;height:34px;object-fit:cover;border-radius:50%;background:#303126;display:grid;place-items:center;font-weight:700;color:var(--gold);border:1px solid #bfa25740}.rankbody{min-width:0;flex:1}.rankbody strong{display:block;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.rankbody span{display:block;color:var(--gold);font-size:11px;margin-top:4px}.rankempty{opacity:.4}.sidebarbottom{margin-top:auto;border-top:1px solid var(--line);padding-top:20px}.sidebarbottom p{font-size:11px;line-height:1.7;color:var(--muted)}.crown{font-size:22px;color:var(--gold)}main{min-width:0;padding:24px 30px 18px}.roomhead{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.roomhead h1{font:600 35px 'Cormorant Garamond',Georgia,serif;margin:3px 0 5px}.roomhead p{font-size:11px;color:var(--muted);margin:0}.roomhead .right{text-align:right;padding-top:5px}.seatcount{font-size:12px}.roomhead small{font-size:9px;color:var(--muted);display:block;margin-top:6px}.stage{position:relative;aspect-ratio:1.67;max-height:650px;margin:4px auto 8px;isolation:isolate;background:radial-gradient(ellipse at center,#76634313 0%,transparent 67%)}.floor{position:absolute;inset:0;z-index:-2;background:repeating-linear-gradient(130deg,transparent 0 150px,#b6975010 151px,transparent 152px),repeating-linear-gradient(45deg,transparent 0 150px,#b6975009 151px,transparent 152px);mask-image:radial-gradient(ellipse,#000,transparent 70%)}.table{position:absolute;left:7%;right:7%;top:14%;height:65%;border:12px solid #181b18;border-radius:24% 24% 49% 49%/18% 18% 80% 80%;box-shadow:0 0 0 1px #7a6332,0 5px 0 2px #91763d,0 11px 0 3px #1e201b,0 14px 0 3px #a78334,0 20px 30px #000,0 17px 40px #c69c2722;overflow:hidden;background:#111713 url('/felt.png') center/cover}.table:before{content:'';position:absolute;inset:9px;border:1px solid #c9a65050;border-radius:inherit;pointer-events:none}.table:after{content:'';position:absolute;inset:0;background:radial-gradient(ellipse at 50% 45%,transparent 30%,#0005);pointer-events:none}.tablemark{position:absolute;top:28%;left:15%;right:15%;text-align:center;font:600 clamp(14px,2vw,30px) 'Cormorant Garamond',Georgia,serif;color:#d1b879;letter-spacing:.12em;text-shadow:0 1px 5px #000}.tablemark small{display:block;letter-spacing:.35em;font:9px 'DM Sans',sans-serif;margin-top:7px}.tablemark .rulesline{margin-top:12px;letter-spacing:.1em;font-size:7px;color:#b9b28f}.dealer{position:absolute;top:3%;left:50%;transform:translateX(-50%);text-align:center;z-index:4;min-width:150px}.dealer strong{letter-spacing:.24em;font-size:8px;color:var(--gold);display:block;margin-bottom:6px}.cards{display:flex;justify-content:center;gap:4px;min-height:48px}.card{height:48px;width:34px;border-radius:4px;background:#eeeadd;color:#232c28;box-shadow:0 3px 6px #0009;display:flex;flex-direction:column;align-items:flex-start;padding:4px 5px;font-size:13px;font-weight:700;line-height:1.1;position:relative;animation:deal .4s ease both}.card small{font-size:13px}.card.red{color:#a82a31}.card.back{background:repeating-linear-gradient(45deg,#282d25 0 3px,#bda25e55 3px 4px);border:2px solid #bd9f56;display:grid;place-content:center;color:var(--gold);font:17px 'Cormorant Garamond',serif}.card.back:after{content:'LF'}.handvalue{display:inline-block;font-size:10px;color:#d9d3bd;border:1px solid #bba16a33;padding:2px 6px;border-radius:8px;background:#121812cc;margin-top:4px}.player-slot{position:absolute;z-index:3;transform:translate(-50%,-50%);width:11%;text-align:center}.slotbox{height:59px;border:1px solid #bba16a55;border-radius:6px;display:grid;place-content:center;background:#0a100a88}.slotnum{color:#bba16a44;font:16px 'Cormorant Garamond',serif}.player-slot.active .slotbox{border-color:#edcf74;box-shadow:0 0 15px #d8ae4533}.player-slot .cards{gap:2px}.player-slot .card{width:30px;height:43px;font-size:11px;padding:3px}.player-slot .card small{font-size:11px}.betcircle{width:25px;height:25px;border:1px solid #bda25e66;margin:5px auto 0;border-radius:50%;font-size:8px;color:var(--gold);display:grid;place-content:center;background:#0b100bbb}.betcircle.hasbet{width:auto;min-width:30px;max-width:65px;border-radius:15px;background:#3c341c;border-color:#bea25e}.seat{position:absolute;width:90px;z-index:5;text-align:center;transform:translate(-50%,-50%)}.chair{position:relative;margin:auto;width:55px;height:52px;border-radius:20px 20px 12px 12px;border:1px solid #8b753f;background:linear-gradient(145deg,#272b25,#10130f);box-shadow:0 4px 0 #786337,0 8px 15px #000b;display:grid;place-content:center;padding:0}.chair:before,.chair:after{content:'';position:absolute;top:23px;width:7px;height:27px;background:linear-gradient(#a0874c,#282c22);border-radius:5px}.chair:before{left:-6px}.chair:after{right:-6px}.chair .avatar{width:36px;height:36px}.chair.empty{border-style:dashed;color:#a78d51;font-size:21px}.seat.active .chair{border-color:#f5d47d;box-shadow:0 0 0 3px #d8ad4533,0 4px 0 #786337,0 0 25px #d8ad4555}.seat .seatname{font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-shadow:0 2px 4px #000;margin:8px -12px 0}.seat .you{font-size:7px;color:var(--gold);letter-spacing:.15em;margin-top:3px}.resulttag{position:absolute;top:-20px;left:50%;transform:translateX(-50%);font-size:9px;white-space:nowrap;background:#1d3022;padding:4px 6px;color:#a8dfb1;border:1px solid #6eaa7944;border-radius:4px}.resulttag.lose,.resulttag.bust{color:#eb9a8e;background:#371e1b;border-color:#9e554944}.resulttag.push{background:#28271e;color:#d4caa5}.handnav{font-size:8px;position:absolute;left:0;right:0;bottom:-12px;color:var(--gold)}.roundbanner{position:absolute;top:43%;left:50%;transform:translate(-50%,-50%);z-index:4;text-align:center;width:45%;pointer-events:none}.roundbanner strong{font:500 clamp(12px,1.6vw,21px) 'Cormorant Garamond',serif;color:#f3de9e;display:block;text-shadow:0 1px 8px #000}.roundbanner small{font-size:9px;color:#bfbba5;display:block;margin-top:4px}.controls{border:1px solid #cdb16a22;background:linear-gradient(120deg,#1e211acc,#0e1311);padding:17px 20px;border-radius:10px;display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:107px}.wallet .eyebrow{font-size:8px;color:var(--muted)}.wallet strong{display:block;font:600 28px 'Cormorant Garamond',serif;color:#f0d896;letter-spacing:.02em;margin-top:3px}.wallet strong small{font:10px 'DM Sans',sans-serif;color:var(--muted);margin-left:5px}.wallet .private{font-size:8px;color:#777e70;margin-top:3px}.actionarea{flex:1;text-align:center;min-width:0}.chips{display:flex;justify-content:center;gap:8px;margin-bottom:11px}.chip{height:35px;min-width:35px;border-radius:50%;padding:0 6px;font-size:9px;font-weight:700;border:3px dashed #d5c293;background:#292f25;box-shadow:0 0 0 1px #675a38}.chip:nth-child(2){background:#243629;border-color:#91b597}.chip:nth-child(3){background:#3b2526;border-color:#d69e95}.chip:nth-child(4){background:#303046;border-color:#a6a2d3}.chip:nth-child(5){background:#584526;border-color:#e7c879}.betentry{display:flex;align-items:center;justify-content:center;gap:7px}.betentry input{width:95px;background:#080c09;border:1px solid #a68c4c55;color:#ead5a0;border-radius:5px;padding:9px;font-size:11px}.betentry button{font-size:11px;padding:9px 11px}.playactions{display:flex;justify-content:center;gap:8px;flex-wrap:wrap}.playactions button{min-width:72px;font-size:11px}.controlmeta{min-width:90px;text-align:right}.timer{font:600 27px 'Cormorant Garamond',serif;color:#e3ce90}.controlmeta .muted{font-size:9px}.controlmeta button{display:block;margin-top:9px;padding:5px 8px;font-size:9px;float:right}.bottomrow{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:15px 2px 0;color:var(--muted);font-size:9px}.bottomrow button{font-size:9px;border:0;padding:4px 7px}.history{margin-top:20px;border-top:1px solid var(--line);padding-top:15px;display:flex;gap:13px;align-items:center;overflow:auto}.history .eyebrow{flex-shrink:0;color:var(--muted);font-size:8px}.historyitem{font-size:10px;white-space:nowrap;border-left:1px solid var(--line);padding-left:13px}.historyitem span{color:var(--muted);font-size:8px;margin-left:5px}.demo{color:#cfb56c!important}.modalwrap{position:fixed;inset:0;background:#000a;display:grid;place-items:center;z-index:20;padding:20px;backdrop-filter:blur(8px)}.modal{width:min(500px,100%);padding:30px;background:#131814;border:1px solid #9c824a;border-radius:12px;box-shadow:0 20px 100px #000}.modal h2{font:600 32px 'Cormorant Garamond',serif;color:var(--gold);margin:0 0 20px}.modal p,.modal li{font-size:12px;line-height:1.8;color:#c8c7b7}.modal label{display:block;font-size:11px;color:var(--muted);margin-top:15px}.modal input{display:block;background:#0a0e0b;color:white;padding:12px;border:1px solid #b9a26355;border-radius:4px;width:100%;margin-top:6px}.modal footer{display:flex;justify-content:flex-end;gap:8px;margin-top:24px}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);z-index:100;max-width:90vw;padding:13px 20px;border:1px solid #b69751;background:#22291f;box-shadow:0 5px 30px #0008;border-radius:8px;font-size:12px;display:none}#toast.visible{display:block}.fatal{max-width:480px;margin:15vh auto;padding:35px;border:1px solid #a0874c44;border-radius:12px;text-align:center}.fatal p{color:#abae9f;font-size:13px;line-height:1.8}.connectionlost{color:#eea58d}.stage:has(.player-slot.active) .tablemark{opacity:.8}@keyframes deal{from{opacity:0;transform:translate(0,-20px) rotate(-7deg)}to{opacity:1;transform:none}}@media(min-width:1600px){main{padding:30px 55px}.stage{max-width:1150px}.layout{grid-template-columns:270px 1fr}aside{padding:35px 28px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}@media(max-width:1000px){header{padding:0 20px}.nav{display:none}.layout{grid-template-columns:185px 1fr}aside{padding:22px 15px}main{padding:20px 15px}.stage{aspect-ratio:1.45}.seat{width:65px}.chair{width:45px;height:44px}.chair .avatar{width:29px;height:29px}.tablemark .rulesline{display:none}.controls{padding:12px;gap:12px}.controlmeta{min-width:65px}.wallet strong{font-size:23px}.wallet{min-width:84px}.playactions{gap:5px}.playactions button{min-width:55px;padding:10px 7px}.player-slot .card{width:23px;height:35px;padding:3px;font-size:9px}.player-slot .card small{font-size:9px}.slotbox{height:47px}.cards{min-height:35px}.brand strong{font-size:12px}.rankbody strong{font-size:10px}.rankdesc{font-size:9px}}@media(max-width:650px){:root{font-size:12px}header{height:68px;padding:0 14px}.brand .crest{width:36px;height:36px;font-size:22px}.status{font-size:9px}.badge{display:none}.layout{grid-template-columns:1fr;display:flex;flex-direction:column}.layout aside{order:2;border-right:0;border-top:1px solid var(--line);display:block;padding:16px}.layout aside .sidebarbottom{display:none}.ranktitle{font-size:24px;margin:3px 0}.rankdesc{margin:0 0 8px}.ranklist{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px}.rank{flex-direction:column;text-align:center;gap:5px;padding:9px 2px;border:1px solid var(--line);border-radius:7px}.ranknum{font-size:16px}.rankbody{width:100%}.rankbody strong{font-size:8px}.rankbody span{font-size:9px}.avatar{width:26px;height:26px}.rankempty .avatar{display:none}.layout main{padding:17px 10px 12px}.roomhead{padding:0 6px}.roomhead h1{font-size:27px}.roomhead p{font-size:9px}.stage{aspect-ratio:1.14;margin-top:10px}.table{left:3%;right:3%;border-width:7px;top:15%;height:61%}.tablemark{font-size:18px;top:30%;left:17%;right:17%}.tablemark small{font-size:6px}.dealer{top:2%}.dealer strong{font-size:7px}.dealer .card{width:27px;height:38px;font-size:11px}.dealer .card small{font-size:11px}.seat{width:48px}.chair{width:34px;height:35px;border-radius:12px 12px 8px 8px}.chair .avatar{width:25px;height:25px}.chair:before,.chair:after{width:4px;height:18px;top:18px}.chair:before{left:-4px}.chair:after{right:-4px}.seat .seatname{font-size:7px;margin-top:6px}.seat .you{font-size:6px}.player-slot{width:12%}.player-slot .card{width:18px;height:28px;font-size:8px;padding:2px}.player-slot .card small{font-size:8px}.cards{gap:2px;min-height:28px}.slotbox{height:37px}.betcircle{height:17px;width:17px;font-size:6px;margin-top:3px}.handvalue{font-size:7px;margin-top:2px;padding:1px 4px}.roundbanner{top:40%;width:50%}.roundbanner strong{font-size:15px}.roundbanner small{font-size:7px}.controls{flex-wrap:wrap;padding:13px;gap:11px}.wallet{min-width:110px;order:1}.wallet strong{font-size:27px}.controlmeta{order:2;margin-left:auto}.actionarea{order:3;flex-basis:100%;padding-top:8px;border-top:1px solid var(--line)}.betentry input{width:100px}.chips{gap:14px;margin:3px 0 10px}.playactions button{flex:1;padding:13px 8px}.bottomrow{font-size:8px;flex-wrap:wrap}.history{margin-top:12px;padding-top:12px}.resulttag{font-size:7px;top:-17px}.roomhead .right{padding-top:0}.seatcount{font-size:10px}.roomhead small{font-size:8px}.timer{font-size:25px}}

/* Keep the ranking visible while the table is scrolled on a phone. */
@media(max-width:650px){.layout aside{order:0;position:sticky;top:0;z-index:12;background:#0b100ff2;backdrop-filter:blur(14px);padding:9px 12px;border-bottom:1px solid #bfa25733}.layout aside .eyebrow,.layout aside .rankdesc{display:none}.ranktitle{font:600 16px Georgia,serif;margin:0 0 6px}.rank{padding:4px 2px;gap:3px}.rank .avatar{display:none}.ranknum{font:600 12px Georgia,serif}.rankbody span{margin-top:3px}.ranklist{gap:5px}.layout main{order:1}}
.shell>header,.roomhead{display:none}.layout{min-height:100vh}
/* Compact lounge: one room, floating ranking, table fitted to viewport. */
html,body,#app{height:100%;margin:0}.shell{height:100dvh;min-height:0;overflow:hidden;background:radial-gradient(ellipse at 50% 24%,#61502a35,transparent 55%),linear-gradient(90deg,#080c0b,#17201a 50%,#080c0b)}.shell>header{display:flex;height:52px;padding:0 20px;border-bottom:1px solid #d8b56325;background:#080d0bd9;gap:12px}.brand{gap:10px}.brand .crest{width:34px;height:34px;font-size:22px;border:1px solid #d8bc72;box-shadow:0 0 16px #d5a83c22,inset 0 0 9px #d5a83c18}.brand strong{font-size:12px;letter-spacing:.18em}.brand small{font-size:7px;margin-top:3px}.shell .nav,.roomhead,.sidebarbottom,.rankdesc,.history{display:none}.status{font-size:9px}.badge{font-size:8px;padding:4px 6px}.layout{display:block;position:relative;height:calc(100dvh - 52px);min-height:0;background:linear-gradient(90deg,#a1833820 0 1px,transparent 1px calc(100% - 1px),#a1833820 calc(100% - 1px)),radial-gradient(ellipse at 50% 90%,#bc965624,transparent 60%);margin:0 12px}.layout:before,.layout:after{content:'';position:absolute;top:10px;bottom:18%;width:5px;pointer-events:none;background:linear-gradient(0deg,transparent,#ad8b3940,transparent);box-shadow:0 0 45px 15px #cfae4910}.layout:before{left:16%}.layout:after{right:16%}.layout aside{position:absolute;z-index:7;top:12px;left:3px;width:142px;padding:10px 12px;display:block;border:1px solid #c5a55025;border-radius:10px;background:linear-gradient(130deg,#152119bb,#090e0b88);box-shadow:0 8px 25px #0003;backdrop-filter:blur(8px)}.layout aside .eyebrow{font-size:6px;letter-spacing:.12em}.ranktitle{font:600 17px Georgia,serif;margin:4px 0 5px;color:#e6ce91}.ranklist{display:block}.rank{padding:6px 0;gap:6px;flex-direction:row;text-align:left;border:0;border-bottom:1px solid #ffffff09;border-radius:0}.rank:last-child{border-bottom:0}.ranknum{font-size:12px;width:10px}.rank .avatar{display:grid;width:20px;height:20px;font-size:9px}.rankbody{width:auto;min-width:0}.rankbody strong{font-size:9px}.rankbody span{font-size:8px;margin-top:2px}.rankempty{opacity:.3}.layout main{height:100%;padding:6px 10px 0;display:grid;grid-template-rows:minmax(0,1fr) auto 28px;gap:2px;position:relative}.stage{width:min(100%,calc((100dvh - 172px)*1.67));aspect-ratio:1.67;max-height:none;align-self:center;margin:0 auto;min-height:0}.floor{inset:-10% -20%;opacity:.7;background:repeating-linear-gradient(130deg,transparent 0 95px,#c9a65018 96px,transparent 97px),repeating-linear-gradient(45deg,transparent 0 95px,#c9a6500d 96px,transparent 97px)}.tablemark{display:none}.table{border-width:9px;box-shadow:0 0 0 1px #d1ad57,0 5px 0 2px #6e562c,0 12px 0 3px #0b100c,0 14px 0 3px #8e7137,0 23px 30px #000b,0 0 70px #b3891e15}.roundbanner{top:27%;width:44%;padding:6px;border-radius:8px;background:#08100cc9;border:1px solid #bd9a3b22}.roundbanner strong{font-size:clamp(10px,1.3vw,16px)}.roundbanner small{font-size:8px}.dealer{top:1%}.dealer strong{font-size:7px;margin-bottom:4px}.seat{width:70px}.chair{width:43px;height:40px}.chair .avatar{width:29px;height:29px}.chair:before,.chair:after{top:18px;height:22px}.seat .seatname{font-size:8px;margin-top:7px}.seat .you{font-size:6px}.slotbox{height:45px}.player-slot .card{width:24px;height:35px;font-size:10px}.betcircle{width:18px;height:18px;margin-top:3px;font-size:7px}.controls{min-height:78px;padding:9px 14px;gap:12px;border-color:#b99b4644;box-shadow:0 -8px 40px #0004;background:linear-gradient(120deg,#20281ff0,#0c140ff5);position:relative;z-index:8}.wallet strong{font-size:24px}.wallet .private{font-size:7px}.chips{gap:7px;margin-bottom:6px}.chip{height:27px;min-width:27px;font-size:8px;border-width:2px}.betentry input{padding:6px;width:84px}.betentry button,.playactions button{padding:7px 9px;font-size:10px}.controlmeta{min-width:75px}.controlmeta button{margin-top:4px}.timer{font-size:22px}.bottomrow{padding:0 2px;font-size:8px;min-height:0}.bottomrow button{font-size:8px;padding:3px 5px}
@media(max-height:600px) and (min-width:651px){.layout aside{width:122px;padding:7px 9px}.rank{padding:4px 0}.rank .avatar{display:none}.stage .dealer .card{height:36px;width:26px}.dealer .cards{min-height:36px}.slotbox{height:35px}.player-slot .card{height:29px;width:21px;padding:2px}.handvalue{font-size:8px}.chair{height:31px;width:34px}.chair .avatar{height:25px;width:25px}.chair:before,.chair:after{height:16px;top:15px}.seat .seatname{font-size:7px;margin-top:6px}.roundbanner small{display:none}}
@media(max-width:650px){.shell>header{height:44px;padding:0 10px}.brand .crest{height:28px;width:28px;font-size:19px}.brand strong{font-size:10px}.brand small{font-size:6px}.status .badge{display:none}.layout{height:calc(100dvh - 44px);margin:0 4px}.layout aside{top:4px;left:5px;right:5px;width:auto;padding:5px 8px;border:1px solid #c5a55025;position:absolute}.layout aside .eyebrow{display:none}.ranktitle{font-size:12px;margin:0 0 3px}.ranklist{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px}.rank{padding:0;gap:3px;border:0}.rank .avatar{display:none}.ranknum{font-size:10px}.rankbody strong{font-size:7px}.rankbody span{font-size:7px}.layout main{padding:64px 4px 0;grid-template-rows:minmax(0,1fr) auto 25px}.stage{aspect-ratio:1.14;width:min(100%,calc((100dvh - 280px)*1.14))}.table{border-width:6px}.seat{width:48px}.chair{width:31px;height:31px}.chair .avatar{width:23px;height:23px}.seat .seatname{font-size:6px}.slotbox{height:32px}.player-slot .card{width:17px;height:26px;font-size:8px}.controls{padding:7px 9px;gap:5px;min-height:0}.wallet{min-width:95px}.wallet strong{font-size:21px}.actionarea{padding-top:5px}.chips{margin:0 0 5px;gap:12px}.playactions button{padding:9px 5px}.bottomrow>span:first-child{font-size:6px}.bottomrow{flex-wrap:nowrap;gap:3px}.bottomrow button{font-size:7px;padding:3px}.roundbanner{top:28%;width:45%}.roundbanner strong{font-size:10px}.roundbanner small{display:none}}

/* Cards sit in paired wells facing each chair; status stays in the header. */
.shell>header .brand{order:0;flex-shrink:0}.shell>header .status{order:2;flex-shrink:0}.shell>header .roundbanner{order:1;position:static;transform:none;flex:1;min-width:0;width:auto;padding:0 6px;border:0;background:none;pointer-events:none}.shell>header .roundbanner strong{font:500 12px Georgia,serif;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.shell>header .roundbanner small{font-size:8px}.stage .card{animation:none}.player-slot{transform:translate(-50%,-50%) perspective(700px) rotateX(22deg) rotate(var(--seat-angle,0deg));width:auto;min-width:66px}.slotbox{height:auto;min-height:46px;padding:4px;border:0;background:none;display:flex;justify-content:center;box-shadow:none!important}.slotbox>.cards,.dealer>.cards{gap:4px;align-items:center;min-height:0;position:relative}.cardwell{width:29px;height:42px;display:block;flex:0 0 auto;border:1px solid #debe7666;border-radius:4px;background:linear-gradient(145deg,#080f0b55,#ba9c4710);box-shadow:inset 0 1px 7px #0009,0 1px 0 #f2d58c22}.player-slot .card{width:29px;height:42px;flex-shrink:0;padding:4px;font-size:11px;box-shadow:0 3px 5px #000a,0 0 0 1px #d1b77733}.player-slot .cards:has(.card:nth-child(3)){gap:0}.player-slot .cards:has(.card:nth-child(3)) .card+.card{margin-left:-15px}.player-slot.active .cardwell{border-color:#ffe39b;box-shadow:inset 0 1px 7px #0009,0 0 9px #d5aa4022}.stage .dealer{top:35%;left:50%;min-width:95px;transform:translateX(-50%) perspective(700px) rotateX(22deg)}.dealer strong{font-size:6px;letter-spacing:.18em;margin-bottom:4px}.dealer .cards{padding:4px;border-radius:6px;background:#07110c44}.dealer .card{width:29px;height:42px;font-size:11px}.dealer .cardwell{width:29px;height:42px}.shoe{position:absolute;left:70%;top:32%;z-index:5;transform:rotate(18deg);width:46px;height:65px;border:1px solid #c2a059;border-radius:5px 5px 9px 9px;background:linear-gradient(130deg,#5b4828,#161e18 40%,#090e0b);box-shadow:3px 5px 0 #0a0d09,5px 8px 10px #000a;pointer-events:none}.shoe:before{content:'';position:absolute;inset:7px 5px 12px;background:repeating-linear-gradient(45deg,#283529 0 3px,#bda25e88 3px 4px);border:1px solid #c2a059;border-radius:3px;box-shadow:1px 2px 0 #ddd5b8,2px 4px 0 #ccc2a0,3px 6px 0 #8b7950}.shoe:after{content:'LF';position:absolute;inset:12px 5px;display:grid;place-items:center;font:bold 18px Georgia,serif;color:#f0d695;text-shadow:0 1px 3px #000}.shoe small{position:absolute;top:70px;left:-15px;right:-15px;text-align:center;font-size:5px;letter-spacing:.12em;color:#c6b17c}.flying-card{position:fixed!important;z-index:90!important;pointer-events:none!important;margin:0!important;animation:none!important;box-shadow:0 5px 12px #0008}.player-slot .betcircle{margin-top:3px}.player-slot .handvalue{margin-top:1px}
@media(max-height:600px) and (min-width:651px){.player-slot{min-width:54px}.cardwell,.player-slot .card,.dealer .cardwell,.stage .dealer .card{width:23px;height:33px;font-size:9px}.slotbox{min-height:36px;padding:2px}.shoe{width:35px;height:50px}.shoe small{top:54px}.shoe:after{font-size:14px}.dealer strong{font-size:5px}.dealer .cards{padding:2px}.shell>header .roundbanner small{display:none}}
@media(max-width:650px){.player-slot{min-width:42px}.cardwell,.player-slot .card,.dealer .cardwell,.stage .dealer .card{width:18px;height:27px;padding:2px;font-size:8px}.slotbox{min-height:30px;padding:1px}.slotbox>.cards,.dealer>.cards{gap:2px}.player-slot .cards:has(.card:nth-child(3)) .card+.card{margin-left:-10px}.shoe{width:27px;height:39px;left:72%;top:33%}.shoe:before{inset:4px 3px 9px}.shoe:after{font-size:11px;inset:7px 3px}.shoe small{display:none}.stage .dealer{top:35%;min-width:65px}.dealer strong{font-size:4px}.shell>header .roundbanner strong{font-size:9px}.shell>header .roundbanner small{display:none}.shell>header .status{font-size:0;gap:0}.shell>header .status .dot{margin-left:4px}}
