#game:not(.front-screen){height:1352px}
.table-bg{background-size:800px 2400px;background-position:center -485px}
.table-bg .seat{width:108px;z-index:9;text-align:center;right:auto}
.table-bg .seat .avatar{width:106px;height:106px;margin:0;border:0;background:#527f74;color:#e9e0c2;font-size:45px;box-shadow:none}
.table-bg .seat.self .avatar{background:#527f74!important;color:#e9e0c2;text-shadow:none}
.table-bg .seat .nickname{height:29px;line-height:29px;width:108px;max-width:108px;font-size:22px;padding:0 3px;margin:7px 0 0;background:#001810e8;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border-radius:3px 3px 0 0}
.table-bg .seat .seat-state{height:31px;line-height:29px;margin:0;padding:0;background:#001810e8;border-radius:0 0 3px 3px;font-size:18px;color:#bcb73c}
.table-bg.playing .seat-state:after{content:none}.table-bg.playing .seat-state{font-size:18px;min-height:0}
.table-menu{position:absolute;top:-1px;width:210px;height:100px;padding:0;background:none;border:0;z-index:12}.table-menu img{width:100%;height:100%}.table-menu-left{left:-22px}.table-menu-right{right:-22px}.table-menu-right span{position:absolute;left:76px;top:35px;font-size:22px;color:#cadbc780}
.table-bg>.room-meta{position:absolute;left:430px;top:1270px;width:192px;background:none;padding:0;color:#e0e6e7;text-align:left;z-index:10;white-space:nowrap}.table-bg>.room-meta strong,.table-bg>.room-meta small{display:block;font-size:24px;line-height:31px;font-weight:bold;letter-spacing:0}.room-meta b{color:#b6b927;font-weight:bold}
.table-config{position:absolute;top:795px;left:160px;right:160px;text-align:center;font-size:22px;line-height:42px;pointer-events:none}
.table-qr,.table-chat,.table-share{position:absolute;padding:0;border:0;background:none;z-index:12}.table-qr{left:9px;top:1260px;width:85px;height:85px}.table-chat{right:11px;top:1258px;width:85px;height:85px}.table-share{right:14px;top:1090px;width:80px;height:80px}.table-qr img,.table-chat img,.table-share img{width:100%;height:100%;object-fit:contain}
.motion-card{left:-42px;top:-60px;width:84px;height:114px;filter:drop-shadow(0 2px 2px #0003)}
.motion-reveal-row img{width:84px;height:114px;top:-60px}.table-bg .connection{position:absolute;top:105px;right:15px;font-size:17px}
.table-bg .connection:not(.off){display:none}.table-bg .table-center{top:410px}.table-bg .table-rule-note{top:830px}.table-bg .ready-button{top:970px}
.table-bg .seat .bubble{z-index:15}.motion-outcome{top:initial;font-size:19px;width:260px}
.reference-scoreboard{position:absolute;left:13px;top:1012px;width:215px;z-index:10;display:grid;gap:18px}.reference-scoreboard>div{display:flex;align-items:center;justify-content:space-between;height:38px}.reference-scoreboard img{width:83px;height:36px;object-fit:contain}.reference-scoreboard b{font:italic bold 40px Arial;color:#69aae9;-webkit-text-stroke:1px #183451;text-shadow:2px 3px 2px #000}
.reference-scoreboard>div:last-child{margin-top:16px}.reference-shooter{position:absolute;left:-52px;top:135px;width:220px;height:286px;z-index:14}.reference-bullets{position:absolute;left:613px;top:500px;width:110px;height:110px;z-index:14}.reference-bullets img{position:absolute;width:60px;height:60px}.reference-bullets img:nth-child(1){left:-28px;top:-2px}.reference-bullets img:nth-child(2){left:12px;top:-35px}.reference-bullets img:nth-child(3){left:20px;top:42px}.reference-bullets img:nth-child(4){left:45px;top:-8px}

.motion-card{left:-35px;top:-52px;width:70px;height:94px}.motion-reveal-row img{width:70px;height:94px;top:-52px}
.table-bg .seat .nickname{color:#e0e6e7;font-size:21px}.table-bg>.room-meta strong,.table-bg>.room-meta small{color:#e0e6e7;text-shadow:1px 1px #1c2531}.table-bg>.room-meta b{color:#b6b927}
.table-bg .seat.self .reference-avatar{background-position:var(--portrait-x) var(--portrait-y)!important;background-size:720px 1600.52px!important}
.reference-shooter{top:130px;height:275px;width:212px}.reference-scoreboard b{padding-right:7px}

.table-bg{background:none;isolation:isolate}.table-bg:before{content:'';position:absolute;inset:0;background:url('/assets/table.jpg') center center/800px 2400px no-repeat;z-index:-2}
.motion-card{top:-62px;height:108px}.motion-reveal-row img{top:-62px;height:108px}.table-bg .seat .nickname{text-shadow:none}.reference-scoreboard{width:202px}

.table-bg{isolation:auto}.table-bg:not(.playing) .table-config{display:none}

.result-list{top:150px;bottom:240px;height:auto;overflow-y:auto;align-content:start;overscroll-behavior:contain;padding-bottom:5px}.results-footer{top:auto;bottom:15px;height:190px}.matchup-table{width:100%;border-collapse:collapse;color:#403422;font-size:24px}.matchup-table th,.matchup-table td{padding:15px 8px;border-bottom:1px solid #ad9773;text-align:center}.matchup-table td:first-child{max-width:210px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.matchup-table .win{color:#9e2419}.matchup-table .loss{color:#2b568f}.matchup-table .tie{color:#756b54}.next-seconds{color:#ffda60;font-size:35px}.completed-room{font-size:25px;color:#ffda60}
.arranging{z-index:20}

.history-list{max-height:700px;overflow:auto}.history-entry{width:100%;display:flex;justify-content:space-between;align-items:center;padding:22px 12px;border-bottom:1px solid #b59e7c;background:none;color:#493d29;font-size:24px}.history-entry span{font-size:20px}.history-back{color:#5b4930;margin-bottom:15px;font-size:22px}.history-round-body{max-height:750px;overflow:auto;overscroll-behavior:contain}.history-round-body article{padding:15px 0;border-bottom:1px solid #b59e7c}.history-round-body h3{font-size:24px;color:#554324;margin-bottom:12px}.history-lane{display:flex;align-items:center;gap:20px;margin:10px 0}.history-lane>span{width:155px;font-size:23px;color:#57432a;flex:none}.history-lane small{font-size:18px;display:block;line-height:1.5}.history-lane>div{display:flex}.history-lane img{width:62px;height:87px;object-fit:fill;margin-left:-8px}.history-lane img:first-child{margin-left:0}
.wait-seat{position:absolute;transform:translate(-50%,-50%);width:110px;height:110px;z-index:9;text-align:center}.wait-seat button,.wait-seat button img{display:block;width:110px;height:110px;background:none;padding:0}.wait-seat .avatar{margin:auto;border-radius:50%;width:101px;height:101px}.wait-name{background:#07100ede;color:white;font-size:19px}.watch-title{position:absolute;top:2%;left:30%;width:40%}.wait-text{position:absolute;top:46%;width:100%;text-align:center;letter-spacing:8px;color:#ffd455;font-size:33px;font-weight:bold;text-shadow:2px 3px #6a380c;pointer-events:none}.wait-room .wait-ready{position:absolute;left:36%;width:28%;top:72%;height:auto;transform:none}.wait-ready img{width:100%}
.drawer-wrap{position:absolute;inset:0;z-index:40}.drawer-out{position:absolute;inset:0;width:100%;height:100%;background:transparent}.corner-menu{position:absolute;left:1%;top:.6%;width:23%;height:28.5%;padding:3% 0 2%;box-sizing:border-box;display:grid;grid-template-rows:repeat(4,1fr);background:url('/assets/table-ui/table-menu-panel.png') center/100% 100%}.corner-menu button{background:none;width:100%;height:100%}.corner-menu button:focus-visible{outline:2px solid gold}.players-drawer{position:absolute;right:0;top:0;bottom:0;width:49.5%;background:#050505;color:#eee;overflow:auto;font:23px/1.4 sans-serif}.players-drawer header,.players-drawer h3{margin:0;background:#413c36;padding:14px 4px;text-align:center;font-weight:normal;font-size:25px}.players-drawer p,.players-drawer label{display:block;margin:10px 16px;color:#d48d37}.players-drawer strong{font-weight:normal;color:white}.drawer-person{display:flex;align-items:center;gap:10px;padding:10px 16px}.drawer-person span{border-radius:50%;width:40px;height:40px;text-align:center;background:#524953}.drawer-person span{overflow:hidden;flex:none;line-height:40px}.drawer-person span img{width:100%;height:100%;object-fit:cover}.drawer-person b{font-weight:normal;color:white}.drawer-person b.self{color:#e8c944}.drawer-person i{margin-left:auto;margin-right:18%;font-style:normal}
.table-chat-box{position:absolute;right:1.8%;bottom:8.9%;width:68.4%;height:33.8%;border:4px solid #656767;border-radius:17px;background:#3b260eeF;box-shadow:inset 0 0 5px #120e08,0 2px 5px #14100e;display:flex;padding:5px;box-sizing:border-box;color:#f5e7d3}.table-chat-box nav{width:14.5%;height:100%;display:grid;grid-template-rows:repeat(3,1fr);gap:3px}.table-chat-box button{background:transparent;padding:0;border:0;color:inherit}.table-chat-box nav img,.chat-faces img{width:100%;height:100%;display:block}.table-chat-box nav button:last-child[aria-pressed=true]{filter:brightness(1.7)}.table-chat-box main{flex:1;min-width:0;overflow:auto;overscroll-behavior:contain;padding-left:3%;scrollbar-width:none}.chat-line,.chat-log{display:flex;align-items:center;width:100%;min-height:62px;text-align:left;font-size:25px}.chat-faces{display:grid;grid-template-columns:repeat(4,1fr);grid-template-rows:repeat(4,1fr);height:100%;justify-items:center;align-items:center}.chat-faces button{width:90%;aspect-ratio:1}.sent-face{width:56px;height:56px;vertical-align:middle}
.wait-glyphs{display:flex;align-items:center;justify-content:center;gap:15px}.wait-glyphs img{width:auto;animation:waiting-hop 1.8s infinite;animation-delay:calc(var(--i)*.11s)}.wait-glyphs img:nth-child(n+7){position:relative;top:15px}@keyframes waiting-hop{0%,30%,100%{transform:translateY(0)}15%{transform:translateY(-12px)}}@media(prefers-reduced-motion:reduce){.wait-glyphs img{animation:none}}
.avatar-message,.table-bg .seat .avatar-message{position:absolute;left:80%;right:auto;top:-4px;bottom:auto;transform:none;z-index:14;width:max-content;max-width:270px;background:#e7e6f6;border:1px solid #6c6684;border-radius:9px;color:#363249;text-shadow:none;font:18px/1.25 sans-serif;padding:6px 11px;pointer-events:none;animation:chat-expire 3s steps(1,end) var(--chat-age) both}.avatar-message:before{content:'';position:absolute;left:-7px;top:9px;border-right:8px solid #e7e6f6;border-top:6px solid transparent;border-bottom:4px solid transparent}.right .avatar-message,.wait-seat[style*="left:90%"] .avatar-message{left:auto;right:80%}.avatar-expression{position:absolute;z-index:14;left:50%;top:0;width:103px;height:103px;border-radius:50%;overflow:hidden;pointer-events:none;animation:face-grow 3s linear var(--chat-age) both}.avatar-expression .sent-face{width:100%;height:100%;transform:scale(1.15)}@keyframes chat-expire{0%{opacity:1}100%{opacity:0}}@keyframes face-grow{0%{transform:translateX(-50%) scale(.08)}12%,99%{transform:translateX(-50%) scale(1);opacity:1}100%{transform:translateX(-50%);opacity:0}}
.original-popup{position:absolute;inset:0;z-index:40;display:grid;place-items:center;background:#0009}.original-setup,.original-confirm{position:relative;width:558px;height:358px;background:url('/assets/table-ui/setup-741.png') center/100% 100%}.setup-labels{position:absolute;width:337px;left:52px;top:131px}.setup-close{position:absolute;right:-12px;top:-14px;width:56px;height:56px;background:url('/assets/table-ui/setup-743.png') center/contain}.setup-switch{position:absolute;width:109px;top:185px;padding:0;background:transparent}.setup-switch img{display:block;width:100%}.setup-switch.music{left:112px}.setup-switch.sound{left:383px}.original-confirm{width:610px;height:348px;background:linear-gradient(#535884,#272c50 32%);border:3px solid #474e79;border-radius:22px;color:#383743;text-align:center}.original-confirm header img{height:67px}.original-confirm p{margin:18px 20px;padding:40px 8px;background:#d7d7e7;border-radius:15px;font-size:32px}.original-confirm footer{display:flex;justify-content:space-evenly}.original-confirm button{width:210px;height:66px;color:white;font-size:28px;background:url('/assets/ui/bt_an_p10_hs.png') center/100% 100%}.original-confirm button:last-child{background-image:url('/assets/ui/bt_an_p10_ls.png')}
.table-bg .table-config,.table-bg:not(.playing) .table-config{display:block;top:58.8%;color:rgba(213,255,250,.27);z-index:2}.original-score{display:flex;align-items:center;gap:12px}.original-score>img{max-width:105px;height:32px;object-fit:contain}.original-score>span{display:flex}.original-score i{width:25px;height:29px;display:block;background-repeat:no-repeat}.room-qr-mask{position:absolute;inset:0;background:#0009;z-index:45;display:grid;place-items:center}.room-qr-mask figure{margin:0;background:white;color:#111;width:360px;padding:15px 28px 25px;text-align:center;box-sizing:border-box}.room-qr-mask figcaption{font:32px/1.55 Arial,sans-serif}.room-qr-mask svg{width:100%;display:block}.final-board{position:absolute;inset:0;z-index:45}.final-board>img{width:100%;height:100%;display:block;user-select:auto;-webkit-touch-callout:default}.final-board button{position:absolute;bottom:4%;width:27%;height:8%;background:transparent}.final-board button:first-of-type{left:8%}.final-board button:last-of-type{right:8%}

.room-copy-notice{position:absolute;left:50%;top:89.6%;transform:translate(-50%,-50%);z-index:45;background:#000d;color:white;padding:0 8px;font:26px/80px Arial,sans-serif;pointer-events:none;white-space:nowrap}

.room-copy-notice.watcher-notice{width:255px;box-sizing:border-box;white-space:normal;text-align:center;line-height:36px;padding:21px 10px;border-radius:6px}

.final-board>img{pointer-events:auto;-webkit-user-select:auto}.final-board~.hx-detail{z-index:46;background:#0006}
.next-palm{position:absolute;width:55px;height:55px;left:50%;top:50.5px;translate:-50% -50%;pointer-events:none}
.palm-above{margin-top:-129px}.palm-right{margin-left:98px}.palm-left{margin-left:-98px}
.next-glyphs img{height:37px;width:auto}.next-glyphs img:nth-child(n+7){height:13px}
.room-notice{position:absolute;z-index:55;top:0;left:50%;transform:translateX(-50%);width:59%;aspect-ratio:408/90;display:grid;place-items:center;background:url('/assets/motion/room-notice.png') center/100% 100% no-repeat;color:white;font:30px/1.2 sans-serif;pointer-events:none}
.room-notice[hidden]{display:none}

.dissolve-notice{width:544px;height:308px;border-radius:32px;background:linear-gradient(#515789,#252a4b 25%,#303963ef)}.dissolve-notice header{height:73px}.dissolve-notice header img{height:67px}.dissolve-notice p{margin:16px 52px 17px;padding:35px 6px;background:#fafafa;border-radius:14px;font:32px/48px Arial;color:#645737}.dissolve-notice footer button{width:198px;height:59px;background:url(/assets/ui/bt_an_p10_ls.png) center/100% 100%;font-size:36px}

.room-forced-closed .ready-button,.room-forced-closed .live-clock,.room-forced-closed .submitted-message,.room-forced-closed .wait-text,.room-forced-closed [data-action="seat"],.room-forced-closed [data-action="invite"]{display:none}

/* Reference pair: configuration baseline is 58.2% of the game viewport. */
.table-bg .table-config,.table-bg:not(.playing) .table-config{top:58.2%}
