.screen-layer{position:absolute;inset:0}.table-motion{position:absolute;inset:0;z-index:8;pointer-events:none;overflow:hidden}.table-motion[hidden]{display:none}.motion-hand{position:absolute;width:0;height:0}.motion-card{position:absolute;left:-39px;top:-57px;width:78px;height:105px;transform:translate(var(--cx),var(--cy)) rotate(var(--angle));transform-origin:50% 100%;filter:drop-shadow(0 2px 1px #0005)}.motion-card img{width:100%;height:100%;display:block}.motion-card[data-lane=TD]{z-index:1}.motion-card[data-lane=ZD]{z-index:2}.motion-card[data-lane=WD]{z-index:3}.motion-arranging{position:absolute;left:-90px;top:-16px;width:180px;background:#17152dd9;text-align:center;color:#a8a076;padding:8px;font-size:20px;z-index:5}.motion-start{position:absolute;left:50%;top:50%;width:364px;height:300px;margin-left:-182px;margin-top:-150px;z-index:10}.start-pirate{position:absolute;left:0;top:0;width:364px;height:277px}.start-kai{position:absolute;left:64px;top:225px;width:101px;height:85px}.start-shi{position:absolute;left:216px;top:225px;width:102px;height:86px}.motion-compare-banner{position:absolute;left:50%;top:49%;width:211px;height:48px;z-index:10}.motion-reveal-row{position:absolute;left:0;width:0;height:105px;transform-origin:0 0;z-index:6}.motion-reveal-row img{position:absolute;top:-57px;width:78px;height:105px;filter:drop-shadow(0 1px 2px #0005)}.motion-rank{position:absolute;left:0;width:140px;max-height:50px;object-fit:contain;transform:translateX(-50%);z-index:7}.motion-score{position:absolute;left:22px;font-weight:800;font-style:italic;font-size:25px;text-shadow:2px 2px #000,-1px -1px #000;color:#ffcc43}.motion-score b{display:inline-block;min-width:70px;text-align:right}.motion-score.negative{color:#96c6ff}
/* Seat anchors measured from the supplied recording, without phone/browser chrome. */
.table-bg .seat{width:130px;z-index:9}.table-bg .seat.self{left:295px;top:1030px}.table-bg .seat.top{left:295px;top:155px}.table-bg .seat.left{left:-20px;top:545px}.table-bg .seat.right{right:-20px;top:545px}.table-bg .seat .avatar{width:104px;height:104px;border-radius:50%;border:2px solid #bbc2a9}.table-bg .seat .nickname{font-size:22px;background:#081c15de;padding-top:3px;margin-top:10px;max-width:130px}.table-bg .seat .seat-state{margin:0;font-size:21px;background:#081c15de;color:#d5ca4b;padding-bottom:5px}.table-bg .seat .owner{display:none}.table-bg .seat.self .avatar{background:#fff!important;color:transparent;text-shadow:none}.table-bg .table-top{top:15px}.table-bg .table-top .room-meta{position:absolute;right:85px;top:1190px;width:300px;padding:10px;background:#070c15aa}.table-bg .room-meta strong{font-size:24px;letter-spacing:0}.table-bg .room-meta small{font-size:18px}.table-bg .connection{margin-left:auto;font-size:16px}.table-bg .table-center{top:500px}.table-bg.playing .table-center,.table-bg.playing .small-hand,.table-bg.playing .submitted-message{display:none}.table-bg.playing .seat-state{font-size:0;min-height:22px}.table-bg.playing .seat-state:after{content:'—';font-size:20px}.table-bg.playing .table-rule-note{top:780px;font-size:20px;opacity:.5}.table-bg .table-bottom{bottom:13px;right:20px}.table-bg .table-bottom button{width:75px;height:75px}.table-bg .table-bottom [data-action=invite]{position:absolute;bottom:135px;right:0;width:86px;height:86px}.round-finished{position:absolute;z-index:11;left:60px;right:60px;top:450px;text-align:center}.round-finished h2{font-size:40px;color:#ffdc64;text-shadow:2px 2px #111;letter-spacing:6px;margin-bottom:25px}.round-finished p{font-size:22px;color:#d8e4c7;line-height:1.7}.round-finished .round-actions{display:flex;justify-content:center;gap:15px;margin-top:35px}.round-finished button{font-size:26px;min-width:160px;height:65px}.round-finished .replay-button{display:block;margin:20px auto 0;background:none;padding:10px;color:#d8d9ad;font-size:22px}.live-round-buttons{position:absolute;left:225px;right:225px;top:820px;text-align:center;z-index:11}.live-round-buttons button{font-size:22px;min-width:240px;height:68px}
@media(prefers-reduced-motion:reduce){.motion-card{filter:none}}

.table-sweep-effects{position:absolute;inset:0;z-index:10;pointer-events:none;overflow:hidden}.table-sweep-effects[hidden]{display:none}.motion-shooter,.motion-bullets{position:absolute;width:0;height:0}.motion-shooter img{position:absolute;left:-100px;top:-130px;width:200px;height:260px}.motion-bullets img{position:absolute}

.motion-outcome{position:absolute;left:16px;width:250px;color:#bcd5ff;font-size:22px;text-shadow:1px 2px #000;white-space:nowrap}

.table-motion[data-phase=arranging] .private-toggle{pointer-events:auto;cursor:pointer;touch-action:manipulation}
.qld-stage{position:absolute;left:calc(50% + 57px);top:50%;width:0;height:0;transform:scale(.9)}.qld-cards{position:absolute;left:-50px;top:323px;transform:scale(.8)}.qld-cards img{position:absolute;width:127px;height:173px;translate:-50% -50%}
.motion-special-badge{position:absolute;left:0;top:0;width:117px;translate:-50% -50%;z-index:5;pointer-events:none}
.special-stage{scale:.75;position:absolute;left:50%;top:50%;width:0;height:0;pointer-events:none}
.special-stage>img{position:absolute;translate:-50% -50%}
.special-rose{left:0;top:-257px;width:403px;height:390px}
.special-ink{left:0;top:8px;width:610px;height:210px}
.special-title{position:absolute;top:21px;left:0;translate:-50% -50%;display:flex;align-items:center;gap:4px}
.special-title img{max-width:none;width:auto;height:auto}
.special-card{top:-107px;width:102px;height:138px}

.table-motion[data-phase=arranging] .motion-hand.self .motion-arranging{pointer-events:none}
