.seat.offline{opacity:1}.seat.offline .avatar{opacity:.65;filter:grayscale(.8)}
.seat .kick{display:block;background:#c72c3c;color:white;border:2px solid white;border-radius:9px;box-shadow:0 2px #7d1830;padding:4px 8px;min-width:62px;min-height:26px;font-size:11px;font-weight:900;text-shadow:none;pointer-events:auto;margin-top:3px}
.profile-head{position:relative}.profile-card-count{position:absolute;right:-7px;bottom:-6px;z-index:4;display:grid;place-items:center;min-width:25px;height:25px;padding:0 4px;border:2px solid white;border-radius:50%;background:#183963;color:#fff;font-size:13px;font-weight:950;text-shadow:none;box-shadow:0 2px #09203b}
.card-anchor{position:absolute;left:50%;top:calc(100% + 5px);width:1px;height:1px;pointer-events:none}
.seat .seat-name{font-size:11px;max-width:112px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background:#173e78ed;color:white;padding:3px 6px;text-shadow:none}
.roster.many .seat[data-self=true] .avatar{width:52px;height:52px}
.main-controls{top:40%;bottom:auto;right:calc(var(--safe-r) + 14px);z-index:35}
.main-controls #start{border-radius:50%!important;width:100%;min-height:64px;font-size:16px;padding:10px;white-space:normal;line-height:1.25;order:2}
.main-controls #start:disabled{opacity:1;color:#664011!important;filter:none;text-shadow:none;cursor:not-allowed}
.main-controls #uno{order:1}#challengeResume{order:3}
#managePlayers{order:4;font-size:13px;min-height:40px;padding:7px}#managePlayers[hidden]{display:none}
.players-dialog{width:min(480px,calc(100vw - var(--safe-l) - var(--safe-r)));max-height:calc(100dvh - var(--safe-t) - var(--safe-b));color:#183f70}.players-dialog h2{font-size:24px;margin:0 0 12px}.players-list{max-height:calc(100dvh - 140px);overflow-y:auto}.player-management-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:12px;align-items:center;border-bottom:1px solid #3067a633;padding:8px 0}.player-management-row strong{font-size:15px;overflow-wrap:anywhere}.player-management-row span{font-size:12px}.remove-player{background:#be243a;color:white;border:2px solid white;border-radius:10px;font-size:14px;font-weight:900;padding:7px 12px;min-height:40px}
body:not(.round-active) .hand-panel{display:none}
.hand-rack #colorBadge{display:block;position:absolute;top:-42px;left:50%;width:max-content;min-width:145px;max-width:min(330px,calc(100vw - var(--safe-l) - var(--safe-r)));white-space:nowrap;padding:7px 12px;transform:translateX(-50%);font-size:14px;line-height:1.3;z-index:40;border:3px solid white;border-radius:16px;color:white;font-weight:950;text-shadow:0 1px #233b54;box-shadow:0 3px #173a67;animation:match-cue 1.2s infinite!important;pointer-events:none}
.hand-rack #colorBadge[hidden]{display:none}
.notice-dialog{text-align:center;width:min(440px,calc(100vw - var(--safe-l) - var(--safe-r)));color:#143c70}.notice-dialog p{font-size:16px;font-weight:800;line-height:1.5}.notice-dialog h2{font-size:26px}
.win-dialog h2{font-size:clamp(24px,4vw,40px);color:#124788;margin:10px 0}.win-dialog h2 em{font-style:normal;color:#a02a44}.win-party .party-piece,.win-party .party-star{animation:party-burst 2.2s var(--delay) both ease-out!important}.win-party .firework-ring{animation:firework .85s both!important}
.win-party{inset:0;z-index:7}.win-dialog .win-actions{position:relative;z-index:9}
@media(max-height:520px) and (orientation:landscape){.main-controls{top:40%;right:calc(var(--safe-r) + 8px)}.main-controls #start{font-size:13px;min-height:52px}.seat .seat-name{font-size:10px;max-width:95px}.seat .kick{font-size:10px;min-height:23px;padding:3px 7px;min-width:58px}.profile-card-count{font-size:12px;min-width:23px;height:23px}.roster.many .seat[data-self=true] .avatar{width:42px;height:42px}.hand-rack #colorBadge{font-size:12px;top:-38px;padding:6px 9px}.hand-rack #handAll{top:-5px;right:35px}}
@media(max-height:360px) and (orientation:landscape){.main-controls #uno{width:94px;height:94px;font-size:14px}.main-controls{width:94px}.roster.many .seat .avatar,.roster.many .seat[data-self=true] .avatar{width:32px;height:32px}.seat .kick{min-height:22px}.seat .seat-name{font-size:10px}.hand-rack #colorBadge{font-size:11px}}
@media(max-height:520px) and (orientation:landscape){.seat .kick{display:none}.main-controls #managePlayers{font-size:11px;min-height:36px;padding:6px}.players-dialog{padding:12px}.player-management-row{padding:6px 0}.players-dialog h2{font-size:20px}}
@media(max-height:360px) and (orientation:landscape){.main-controls{top:35%;gap:9px}.main-controls #start{min-height:44px}.main-controls #managePlayers{min-height:34px}}
@media(max-height:360px) and (orientation:landscape){.main-controls #uno{padding:5px;font-size:13px;overflow-wrap:normal}.hand-controls #draw{padding:8px 5px}}

.arcade-return{white-space:nowrap;text-decoration:none;display:inline-flex;align-items:center;min-height:36px;font-size:12px;padding:6px 10px}