/* Give the recovered bank-queue space to the felt and legible, separate hands. */
#room-screen.live-shared #felt{top:calc(63px + env(safe-area-inset-top));--card-height:clamp(58px,18vw,78px);--reach:23vw}
#room-screen.live-shared #felt .seat:has(.seat-hand>:nth-child(3)){--card-height:clamp(49px,15.1vw,68px)}
#room-screen.live-shared #felt .felt-border{inset:25px 15% 48px;border-radius:48%/19%}
#room-screen.live-shared #felt .felt-border:after{border-radius:48%/19%}
#room-screen.live-shared #felt .seat-1,#room-screen.live-shared #felt .seat-7{top:66.5%}
#room-screen.live-shared #felt .seat-2,#room-screen.live-shared #felt .seat-6{top:49%}
#room-screen.live-shared #felt .seat-3,#room-screen.live-shared #felt .seat-5{top:32%}
#room-screen.live-shared #felt .seat-4{top:39px}
#room-screen.live-shared #felt .seat-hand{top:1px;height:var(--card-height);gap:0;min-width:0;width:max-content;isolation:isolate;--fan-step:calc(var(--card-height)*-.14)}
#room-screen.live-shared #felt .seat-hand canvas{display:block;flex:none;height:var(--card-height);width:auto;aspect-ratio:5/7;border-radius:4px;box-shadow:0 4px 9px #0006}
#room-screen.live-shared #felt .seat-hand>*{position:relative;flex:none;z-index:1;transform-origin:50% 90%;transform:rotate(-7deg)}
#room-screen.live-shared #felt .seat-hand>*+*{margin-left:var(--fan-step);z-index:2;transform:rotate(7deg)}
#room-screen.live-shared #felt .seat-hand:has(>:nth-child(3))>:first-child{transform:rotate(-9deg)}
#room-screen.live-shared #felt .seat-hand:has(>:nth-child(3))>:nth-child(2){transform:translateY(-2px)}
#room-screen.live-shared #felt .seat-hand>:nth-child(3){z-index:3;transform:rotate(9deg)}
#room-screen.live-shared #felt .seat-hand>.player-card canvas{transform:none}
#room-screen.live-shared #felt .seat-bet{top:-22px}
#room-screen.live-shared #felt .seat-score{top:calc(var(--card-height) + 7px);font-size:10px;padding:2px 6px;display:flex;align-items:center;gap:5px}
#room-screen.live-shared #felt .seat-score[data-multiplier]:after{position:static;min-width:0;height:auto;padding:1px 0 1px 5px;border:0;border-left:1px solid #7c6b3c55;border-radius:0;background:none;box-shadow:none;color:#735514;font:700 10px/1.2 system-ui}
#room-screen.live-shared #felt .seat-result{left:50%;top:72px;padding:2px 3px;max-width:55px}
#room-screen.live-shared #felt .seat-result small{display:none}
#room-screen.live-shared #felt .seat-result b{font-size:11px}
#room-screen.live-shared #felt .catch-button{top:calc(var(--card-height) + 27px);min-height:32px}
#room-screen.live-shared #felt .seat-4 .seat-hand{top:72px}
#room-screen.live-shared #felt .seat-4 .seat-bet{top:49px}
#room-screen.live-shared #felt .seat-4 .seat-score{top:calc(78px + var(--card-height))}
#room-screen.live-shared #felt .seat-4 .seat-result{left:calc(50% - 64px);top:12px}
#room-screen.live-shared #felt .seat-4 .catch-button{top:calc(101px + var(--card-height))}
#room-screen.live-shared #felt .seat-human .seat-hand{top:-128px;height:clamp(86px,25vw,106px);gap:0;--fan-step:-14px}
#room-screen.live-shared #felt .seat-human .seat-hand canvas{height:clamp(86px,25vw,106px)}
#room-screen.live-shared #felt .seat-human .seat-bet{top:-153px}
#room-screen.live-shared #felt .seat-human .seat-score{top:-20px}
#room-screen.live-shared #felt .seat-hand[data-natural]:after{left:auto;right:0;top:auto;bottom:calc(100% + 4px);transform:none;min-width:0;padding:2px 4px;font:600 7px/1.3 system-ui;letter-spacing:0;border-radius:4px}
#room-screen.live-shared #felt .seat-human .seat-hand[data-natural]:after{top:auto;bottom:calc(100% + 4px);font-size:9px;min-width:0}
#room-screen.live-shared #felt :is(.watermark,.table-pot,.table-deck){display:none}
#room-screen.live-shared #felt .table-pot{top:43%;opacity:.7;max-width:25%}
#room-screen.live-shared #felt .table-pot small{display:none}
#room-screen.live-shared #felt .table-pot strong{font-size:20px}
#room-screen.live-shared #felt .round-message{display:none}
#room-screen.live-shared #felt .seat-name{font-size:8px;color:#bcc9b5}
#room-screen.live-shared #felt .seat-wallet{font-size:10px;color:#e6cf91}
#room-screen.live-shared #felt .is-vacant .seat-name{display:none}
#room-screen.live-shared #felt .bank-crown{min-width:0;padding:2px 5px;font-size:8px;letter-spacing:0;top:-14px}
#room-screen.live-shared #felt .seat.bank .seat-avatar{animation:none;box-shadow:0 0 0 2px #b89a5055,0 0 12px #d6b65635}
.live-bet-banner{top:calc(58% - 15px);width:120px;padding:5px 9px;font-size:9px;background:#123325d9}
.live-bet-banner>b{font-size:13px}
#room-screen.live-shared>.live-actions .bet-caption{flex-direction:row;gap:8px;min-width:0}
#room-screen.live-shared>.live-actions .bet-caption small{min-width:0;flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#room-screen.live-shared>.live-actions .bet-caption strong{flex:none}

/* Four corner houses free the long sides; their fans face the center. */
#room-screen.live-shared #felt .seat-corner{--hand-side:50%;--corner-label:clamp(28px,11vw,43px)}
#room-screen.live-shared #felt .seat-corner.seat-3{left:20%;top:19%}
#room-screen.live-shared #felt .seat-corner.seat-5{left:80%;top:19%}
#room-screen.live-shared #felt .seat-corner.seat-1{left:14%;top:80%;--hand-side:calc(50% + 6vw);--corner-label:clamp(24px,8vw,31px)}
#room-screen.live-shared #felt .seat-corner.seat-7{left:86%;top:80%;--hand-side:calc(50% - 6vw);--corner-label:clamp(24px,8vw,31px)}
#room-screen.live-shared #felt .seat-corner:is(.seat-3,.seat-5) .seat-hand{top:70px}
#room-screen.live-shared #felt .seat-corner:is(.seat-3,.seat-5) .seat-score{top:calc(77px + var(--card-height))}
#room-screen.live-shared #felt .seat-corner:is(.seat-3,.seat-5) .catch-button{top:calc(95px + var(--card-height))}
#room-screen.live-shared #felt .seat-corner:is(.seat-1,.seat-7) .seat-hand{top:-95px}
#room-screen.live-shared #felt .seat-corner:is(.seat-1,.seat-7) .seat-score{top:calc(-88px + var(--card-height))}
#room-screen.live-shared #felt .seat-corner:is(.seat-1,.seat-7) .catch-button{top:-35px}
#room-screen.live-shared #felt .seat-corner.catchable:is(.seat-1,.seat-7) .seat-score{display:none}
#room-screen.live-shared #felt .seat-corner:is(.seat-1,.seat-3) :is(.seat-result,.seat-bet){left:calc(50% - var(--corner-label))}
#room-screen.live-shared #felt .seat-corner:is(.seat-5,.seat-7) :is(.seat-result,.seat-bet){left:calc(50% + var(--corner-label))}
#room-screen.live-shared #felt .seat-corner .seat-result{top:8px;max-width:43px}
#room-screen.live-shared #felt .seat-corner .seat-bet{top:44px}
#room-screen.live-shared #felt .seat-corner.seat-3 .seat-bet{left:calc(50% - var(--corner-label) - 10px)}
#room-screen.live-shared #felt .seat-corner.seat-5 .seat-bet{left:calc(50% + var(--corner-label) + 10px)}
#room-screen.live-shared #felt .seat-corner:is(.seat-3,.seat-5) .seat-name{max-width:60px}
#room-screen.live-shared #felt .seat-corner:is(.seat-1,.seat-7) .seat-bet{left:var(--hand-side);top:-122px}
#room-screen.live-shared #felt .seat-corner .bank-warning{top:-35px;left:50%;right:auto;transform:translateX(-50%)}
#room-screen.live-shared #felt #table-deck{display:block;opacity:1;width:22px;height:31px;z-index:5;filter:none;transition:none;pointer-events:none}
#room-screen.live-shared #felt #table-deck i{font-size:16px;border-width:1px}
@media(max-width:360px){
 #room-screen.live-shared #felt{--reach:23vw}
 #room-screen.live-shared #felt .seat-hand{gap:0}
 #room-screen.live-shared #felt .profile-button{width:36px;height:40px;min-width:36px;min-height:40px}
 #room-screen.live-shared #felt .seat-avatar{width:32px;height:35px}
 #room-screen.live-shared #felt .seat-score{font-size:8px}
 #room-screen.live-shared #felt .seat-human .seat-hand{top:-119px}
 #room-screen.live-shared #felt .seat-human .seat-bet{top:-144px}
 #room-screen.live-shared #felt .seat-human .seat-score{top:-20px}
 #room-screen.live-shared #felt .seat-corner:is(.seat-3,.seat-5) .seat-name{max-width:52px}
}

@media(min-width:800px) and (min-height:501px){
 #room-screen.live-shared #felt{--card-height:clamp(76px,9svh,94px);--reach:clamp(170px,24vw,250px)}
 #room-screen.live-shared #felt .seat:has(.seat-hand>:nth-child(3)){--card-height:clamp(76px,9svh,94px)}
 #room-screen.live-shared #felt .felt-border{inset:25px 15% 48px}
 #room-screen.live-shared #felt .seat-4{top:43px}
 #room-screen.live-shared #felt .seat-4 .seat-hand{top:90px}
 #room-screen.live-shared #felt .seat-4 .seat-bet{top:65px}
 #room-screen.live-shared #felt .seat-4 .seat-score{top:calc(97px + var(--card-height))}
 #room-screen.live-shared #felt .seat-4 .seat-result{top:16px}
 #room-screen.live-shared #felt .seat-4 .catch-button{top:calc(122px + var(--card-height))}
 #room-screen.live-shared #felt .seat-name{font-size:11px}
 #room-screen.live-shared #felt .seat-wallet{font-size:13px}
 #room-screen.live-shared #felt .seat-score{font-size:11px}
 #room-screen.live-shared #felt .seat-human .seat-hand{top:-153px;height:118px;--fan-step:-17px}
 #room-screen.live-shared #felt .seat-human .seat-hand canvas{height:118px}
 #room-screen.live-shared #felt .seat-human .seat-bet{top:-179px}
 #room-screen.live-shared #felt .seat-human .seat-score{top:-27px}
 #room-screen.live-shared #felt .seat-corner:is(.seat-1,.seat-7) .seat-hand{top:-110px}
 #room-screen.live-shared #felt .seat-corner:is(.seat-1,.seat-7) .seat-score{top:calc(-103px + var(--card-height))}
}
@media(max-height:680px) and (max-width:799px){
 #room-screen.live-shared #felt{--card-height:clamp(46px,14.5vw,57px);bottom:calc(75px + env(safe-area-inset-bottom))}
 #room-screen.live-shared #felt .seat:has(.seat-hand>:nth-child(3)){--card-height:clamp(46px,14.5vw,57px)}
 #room-screen.live-shared #felt .felt-border{inset:15px 15% 5px}
 #room-screen.live-shared #felt .seat-1,#room-screen.live-shared #felt .seat-7{top:72%}
 #room-screen.live-shared #felt .seat-2,#room-screen.live-shared #felt .seat-6{top:55%}
 #room-screen.live-shared #felt .seat-3,#room-screen.live-shared #felt .seat-5{top:36%}
 #room-screen.live-shared #felt .seat-4{top:27px;width:130px;height:44px}
 #room-screen.live-shared #felt .seat-4 .seat-top{flex-direction:row;gap:4px;justify-content:center}
 #room-screen.live-shared #felt .seat-4 .seat-hand{top:43px}
 #room-screen.live-shared #felt .seat-4 .seat-bet{top:29px;left:calc(50% + 47px)}
 #room-screen.live-shared #felt .seat-4 .seat-score{top:calc(48px + var(--card-height))}
 #room-screen.live-shared #felt .seat-4 .seat-result{top:13px;left:calc(50% - 58px)}
 #room-screen.live-shared #felt .seat-4 .catch-button{top:calc(66px + var(--card-height))}
 #room-screen.live-shared #felt .seat-human{bottom:-35px}
 #room-screen.live-shared #felt .seat-human .seat-top,#room-screen.live-shared #felt .seat-human .seat-score{display:none}
 #room-screen.live-shared #felt .seat-human .seat-hand{top:-74px;height:76px}
 #room-screen.live-shared #felt .seat-human .seat-hand canvas{height:76px}
 #room-screen.live-shared #felt .seat-human .seat-bet{top:-96px}
 #room-screen.live-shared #felt .seat-result{top:73px;left:50%;padding:2px 3px}
 #room-screen.live-shared #felt .seat-result small{display:none}
 #room-screen.live-shared #felt .seat-result b{font-size:10px}
 #room-screen.live-shared #felt .seat:is(.seat-2,.seat-6) .seat-result{top:-23px}
 #room-screen.live-shared #felt .seat-corner:is(.seat-1,.seat-7){top:88%}
 #room-screen.live-shared #felt .seat-corner:is(.seat-1,.seat-7) .seat-hand{top:-66px}
 #room-screen.live-shared #felt .seat-corner:is(.seat-1,.seat-7) .seat-score{top:calc(-59px + var(--card-height))}
 #room-screen.live-shared #felt .seat-corner:is(.seat-1,.seat-7) .seat-bet{top:-93px}
}
@media(max-height:500px) and (min-width:600px){
 #room-screen.live-shared #felt{top:calc(48px + env(safe-area-inset-top));--card-height:clamp(40px,12svh,53px);--reach:20vw}
 #room-screen.live-shared #felt .seat:has(.seat-hand>:nth-child(3)){--card-height:clamp(40px,12svh,53px)}
 #room-screen.live-shared #felt .felt-border{inset:12px 17% 22px;border-radius:35%/45%}
 #room-screen.live-shared #felt .felt-border:after{border-radius:35%/45%}
 #room-screen.live-shared #felt .seat-1,#room-screen.live-shared #felt .seat-7{top:79%}
 #room-screen.live-shared #felt .seat-2,#room-screen.live-shared #felt .seat-6{top:48%}
 #room-screen.live-shared #felt .seat-3,#room-screen.live-shared #felt .seat-5{top:17%}
 #room-screen.live-shared #felt .seat-4{top:25px}
 #room-screen.live-shared #felt .seat-4 .seat-hand{top:34px}
 #room-screen.live-shared #felt .seat-4 .seat-bet{top:13px}
 #room-screen.live-shared #felt .seat-4 .seat-score{top:calc(40px + var(--card-height))}
 #room-screen.live-shared #felt .seat-4 .seat-result{top:8px;left:calc(50% - 76px)}
 #room-screen.live-shared #felt .seat-4 .catch-button{top:calc(59px + var(--card-height))}
 #room-screen.live-shared #felt .seat-hand{top:-3px;gap:0}
 #room-screen.live-shared #felt .seat-score{top:calc(var(--card-height) + 2px);font-size:8px}
 #room-screen.live-shared #felt .seat-result{top:35px;left:50%;font-size:9px}
 #room-screen.live-shared #felt .catch-button{top:calc(var(--card-height) + 18px);min-height:25px}
 #room-screen.live-shared #felt .seat-human .seat-hand{top:-69px;height:55px;--fan-step:-8px}
 #room-screen.live-shared #felt .seat-human .seat-hand canvas{height:55px}
 #room-screen.live-shared #felt .seat-human .seat-bet{top:-92px}
 #room-screen.live-shared #felt .seat-human .seat-score{top:-6px}
 #room-screen.live-shared #felt .table-pot strong{font-size:17px}
 #room-screen.live-shared #felt .seat-corner.seat-3{left:9%;top:17%;--hand-side:calc(50% + var(--reach))}
 #room-screen.live-shared #felt .seat-corner.seat-5{left:91%;top:17%;--hand-side:calc(50% - var(--reach))}
 #room-screen.live-shared #felt .seat-corner.seat-1{left:9%;top:79%;--hand-side:calc(50% + var(--reach))}
 #room-screen.live-shared #felt .seat-corner.seat-7{left:91%;top:79%;--hand-side:calc(50% - var(--reach))}
 #room-screen.live-shared #felt .seat-corner:is(.seat-1,.seat-3,.seat-5,.seat-7) .seat-hand{top:-3px}
 #room-screen.live-shared #felt .seat-corner:is(.seat-1,.seat-3,.seat-5,.seat-7) .seat-score{top:calc(var(--card-height) + 2px)}
 #room-screen.live-shared #felt .seat-corner:is(.seat-1,.seat-3,.seat-5,.seat-7) .catch-button{top:calc(var(--card-height) + 18px)}
 #room-screen.live-shared #felt .seat-corner:is(.seat-1,.seat-3,.seat-5,.seat-7) .seat-result{left:50%;top:35px}
 #room-screen.live-shared #felt .seat-corner:is(.seat-1,.seat-3,.seat-5,.seat-7) .seat-bet{left:var(--hand-side);top:-23px}
}

/* Profile metadata stays in one centered column outside the gold rail. */
#room-screen.live-shared #felt .seat{display:block}
#room-screen.live-shared #felt .seat .seat-top,#room-screen.live-shared #felt .seat.seat-0 .seat-top{display:flex;position:static;flex-direction:column;justify-content:flex-start;align-items:center;gap:3px;margin:0}
#room-screen.live-shared #felt .seat .seat-name{display:block;width:76px;max-width:76px;text-align:center;font-size:9px;line-height:1.45;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#room-screen.live-shared #felt .seat .seat-wallet{display:block;margin:2px 0 0;text-align:center;font-size:11px;line-height:1.3}
#room-screen.live-shared #felt .seat-preview .seat-name{display:block}
#room-screen.live-shared #felt .seat-preview .seat-wallet{display:block!important}
#room-screen.live-shared #felt .seat-preview .profile-button:after{content:'ကြည့်နေသည်';position:absolute;top:-19px;bottom:auto;left:50%;right:auto;transform:translateX(-50%);width:max-content;height:auto;padding:2px 6px;border:1px solid #9fac8240;border-radius:7px;background:#17382b;color:#b5c6a6;font:8px/1.7 'Noto Sans Myanmar',sans-serif}
#room-screen.live-shared #felt .seat-0 .bank-crown,#room-screen.live-shared #felt .seat-4 .bank-crown{left:calc(50% + 50px);top:12px}
@media(max-height:680px) and (max-width:799px){
 #room-screen.live-shared #felt .felt-border{bottom:70px}
 #room-screen.live-shared #felt{--card-height:40px}
 #room-screen.live-shared #felt .seat:has(.seat-hand>:nth-child(3)){--card-height:40px}
 #room-screen.live-shared #felt .seat-4 .seat-hand{top:33px}
 #room-screen.live-shared #felt .seat-4 .seat-score{top:calc(40px + var(--card-height))}
 #room-screen.live-shared #felt .seat-corner:is(.seat-3,.seat-5) .seat-hand{top:59px}
 #room-screen.live-shared #felt .seat-corner:is(.seat-3,.seat-5) .seat-score{top:calc(66px + var(--card-height))}
 #room-screen.live-shared #felt .seat-2,#room-screen.live-shared #felt .seat-6{top:48%}
 #room-screen.live-shared #felt .seat-corner:is(.seat-1,.seat-7) .seat-hand{top:-107px}
 #room-screen.live-shared #felt .seat-corner:is(.seat-1,.seat-7) .seat-score{top:calc(-100px + var(--card-height))}
 #room-screen.live-shared #felt .seat-corner.seat-1{--hand-side:calc(50% + 16vw)}
 #room-screen.live-shared #felt .seat-corner.seat-7{--hand-side:calc(50% - 16vw)}
 #room-screen.live-shared #felt .seat-human .seat-hand{top:-127px;height:64px}
 #room-screen.live-shared #felt .seat-human .seat-hand canvas{height:64px}
 #room-screen.live-shared #felt .seat-human .seat-score{display:flex;top:-56px}
 #room-screen.live-shared #felt .seat-human .profile-button{width:36px;height:36px;min-width:36px;min-height:36px}
 #room-screen.live-shared #felt .seat .seat-name{width:64px;max-width:64px;font-size:8px}
 #room-screen.live-shared #felt .seat .seat-wallet{font-size:10px}
}
