.card-table-game{box-sizing:border-box;width:1100px;height:820px;display:flex;flex-direction:column;gap:12px;padding:24px 34px;color:#f8f6ec;font-size:18px}.card-table-title{display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:32px}.card-table-title h2{margin:0;font-size:24px}.card-table-status{font-size:18px}.card-table-seats{display:flex;justify-content:space-around;gap:10px;flex-wrap:wrap;min-height:120px}.card-table-seat{display:flex;flex-direction:column;align-items:center;gap:5px;padding:6px;border:2px solid transparent;border-radius:8px;min-width:100px}.card-table-seat.is-active{border-color:#ffe39a}.card-table-seat.is-out{opacity:.55}.card-table-seat .player-identity{width:54px}.card-table-seat small{font-size:15px}.card-table-cards{display:flex;gap:4px;justify-content:center;flex-wrap:wrap}.table-role-card{display:inline-flex;align-items:center;justify-content:center;width:70px;height:94px;border:2px solid #f9ead0;border-radius:6px;background:#f6e9d2;color:#493153;text-align:center;font-size:17px;font-weight:700;box-sizing:border-box;padding:4px}.table-role-card.is-back{background:repeating-linear-gradient(45deg,#443e68,#443e68 5px,#514976 5px,#514976 10px);color:#d4cce8}.table-role-card.is-used{opacity:.65;height:58px;font-size:13px}.card-table-center{display:flex;flex-direction:column;gap:6px;justify-content:center;flex:1;min-height:60px;text-align:center}.card-table-log{font-size:15px;line-height:1.5;color:#dddfd5;display:grid;gap:4px}.card-table-log p{margin:0}.card-table-private{display:flex;flex-direction:column;align-items:center;gap:8px;min-height:120px}.card-table-private .table-role-card{width:100px;height:130px;font-size:21px}.card-table-info{font-size:17px;color:#ffe39a;text-align:center}.card-table-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;align-items:center;max-height:180px;overflow-y:auto;min-height:50px}.card-table-actions button{min-height:44px;padding:6px 14px;font-size:17px}.card-table-actions select{max-width:100%;min-width:160px;min-height:44px;padding:6px;font-size:17px;background:#fff6e5;color:#493153}.card-table-action-form{display:flex;gap:8px;align-items:center;max-width:100%}.resistance-member{display:inline-flex;gap:6px;align-items:center;padding:6px 10px;border:1px solid #cdc6ac;border-radius:8px;min-height:40px}.resistance-member input{width:20px;height:20px}.resistance-missions{display:flex;justify-content:center;gap:12px}.resistance-missions span{display:inline-block;border:2px solid #e0d4b8;border-radius:50%;width:46px;height:46px;line-height:44px;background:#333b49}.resistance-missions .is-success{background:#257e60}.resistance-missions .is-fail{background:#9b3d4d}

.swatch.u-pink{background:#ec70ad}.swatch.u-teal{background:#29aaa9}.swatch.u-orange{background:#e98b32}.swatch.u-purple{background:#9864be}
.pool-game{width:1100px;height:820px;display:flex;flex-direction:column;justify-content:center;box-sizing:border-box;padding:20px;gap:12px;color:#fff;font-size:18px}.pool-seats{display:flex;justify-content:space-between}.pool-seat{display:flex;align-items:center;gap:14px;border-bottom:3px solid transparent;padding-bottom:5px}.pool-seat.is-active{border-color:#ffe39a}.pool-seat .player-identity{width:58px}.pool-hint{text-align:center;margin:0;min-height:28px;font-size:18px}.pool-field{width:100%;flex:1;min-height:0;display:block;touch-action:none}.pool-controls{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap;min-height:50px}.pool-controls select,.pool-controls button{min-height:44px;font-size:17px;padding:6px 12px}.pool-controls label{display:flex;gap:8px;align-items:center}.pool-controls input{width:140px}

/* These tables lay out in real screen pixels, so touch controls never shrink. */
.game-stage>.card-table-game,.game-stage>.football-game,.game-stage>.pool-game{width:100%;height:100%;max-width:1400px;margin:auto;padding:50px 12px 8px;gap:6px;box-sizing:border-box}
.game-stage>.card-table-game{font-size:14px}.card-table-title{min-height:24px;flex:none;gap:8px}.card-table-title h2{font-size:18px}.card-table-status{font-size:13px;overflow-wrap:anywhere}.card-table-seats{display:grid;grid-template-columns:repeat(auto-fit,minmax(76px,1fr));gap:4px;min-height:0;flex:none;max-height:45%;overflow-y:auto}.card-table-seat{min-width:0;padding:3px;gap:2px;box-sizing:border-box}.card-table-seat .player-identity{width:34px}.card-table-seat small{font-size:10px;line-height:1.3;text-align:center}.card-table-cards{gap:3px;flex-wrap:nowrap}.card-table-seat .table-role-card{width:26px;height:35px;padding:1px;font-size:9px;border-width:1px}.card-table-seat .table-role-card.is-used{height:24px;font-size:8px}.card-table-center{min-height:0;overflow:auto;font-size:13px}.card-table-log{font-size:12px}.card-table-private{min-height:0;max-height:27%;flex:none;overflow-y:auto;gap:4px}.card-table-private .table-role-card{width:65px;height:88px;font-size:15px;flex:none;cursor:pointer}.card-table-private .card-table-cards{max-width:100%;justify-content:flex-start;overflow-x:auto;padding:4px}.card-table-info{font-size:12px;line-height:1.4}.card-table-actions{min-height:40px;max-height:120px;flex:none;gap:5px}.card-table-actions button,.card-table-actions select{font-size:13px;min-height:40px;padding:5px 9px}.card-table-actions select{min-width:0;flex:1;width:100%}.card-table-action-form{min-width:0;width:100%}.card-table-action-form button{flex:none}.resistance-member{padding:3px 6px;min-height:36px;font-size:12px}.resistance-missions{gap:8px}.resistance-missions span{width:28px;height:28px;line-height:26px}
.football-scoreboard,.pool-seats{padding:0;flex:none}.football-team{min-width:0;gap:8px;padding:0}.football-team .player-identity,.pool-seat .player-identity{width:36px}.football-team strong{font-size:28px}.football-team small{font-size:11px}.football-hint,.football-last-shot,.pool-hint{font-size:12px;line-height:1.4;min-height:17px;flex:none}.football-controls{gap:8px;flex:none}.football-controls label{font-size:12px;gap:5px}.football-controls input{width:100px}.football-controls button{min-width:70px;min-height:40px;font-size:14px;padding:4px 10px}.pool-seat{gap:8px}.pool-seat strong{font-size:12px}.pool-controls{gap:5px;min-height:0;flex:none}.pool-controls select,.pool-controls button{min-height:38px;font-size:12px;padding:4px 6px}.pool-controls label{font-size:11px;gap:4px}.pool-controls input{width:70px}
.replay-board:has(>.card-table-game),.replay-board:has(>.football-game),.replay-board:has(>.pool-game),.replay-board:has(>.checkers-game){height:560px}.replay-board>.card-table-game,.replay-board>.football-game,.replay-board>.pool-game{width:100%;height:100%;box-sizing:border-box;padding:12px;font-size:14px}
@media(max-height:500px){.card-table-title{display:none}.card-table-seats{max-height:38%}.card-table-log{display:none}.card-table-private{max-height:26%}.card-table-private .table-role-card{width:46px;height:62px;font-size:12px}.card-table-private .card-table-info{font-size:11px}.football-team .player-identity,.pool-seat .player-identity{width:30px}.game-stage>.football-game,.game-stage>.pool-game{gap:2px}.football-last-shot{max-height:30px;overflow:hidden}.football-controls button{min-height:36px}}

#app .football-team .player-identity,#app .pool-seat .player-identity{width:32px;min-width:32px}#app .football-team .player-identity-avatar,#app .pool-seat .player-identity-avatar{width:32px;height:32px}#app .football-team .player-identity-name,#app .pool-seat .player-identity-name{font-size:10px}#app .football-scoreboard{min-height:45px}.football-game{position:relative}.football-last-shot{display:none}.football-hint{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.football-field{min-height:75px}.pool-field{min-height:75px}@media(max-height:600px){.game-stage>.football-game,.game-stage>.pool-game{padding-top:44px;gap:3px}.football-hint,.pool-hint{display:none}.football-team small{display:none}}
#app .card-table-seat .player-identity{--identity-size:32px;width:32px;min-width:32px}#app .card-table-seat .player-identity-avatar{width:32px;height:32px}#app .card-table-seat .player-identity-name{font-size:10px}.card-table-seats{flex:1;max-height:none;grid-template-columns:repeat(auto-fit,minmax(90px,1fr));align-content:start}.card-table-seat{display:grid;grid-template-columns:32px minmax(0,1fr);column-gap:4px;align-content:start;align-items:center}.card-table-seat>.player-identity{grid-row:1/3}.card-table-seat .table-role-card{width:20px;height:28px;font-size:8px}.card-table-seat>.card-table-cards{flex-wrap:wrap;justify-content:center}.card-table-center{flex:.3}.card-table-private{max-height:100px}.card-table-actions{max-height:90px}.football-hint.is-foul{color:#ffb9b0}@media(max-height:600px){.football-hint.is-foul{display:block;font-size:11px;position:absolute;top:31px;left:8px;max-width:calc(100% - 16px)}}

.table-role-card{position:relative;flex-direction:column}.table-role-card>small{position:absolute;bottom:3px;left:3px;font:11px/1 sans-serif;color:#87435a}.card-table-seat .table-role-card>small{font-size:7px;bottom:1px;left:1px}

.card-table-center{flex:none;max-height:42px}.card-table-center[hidden]{display:none}
@media(max-height:600px){.game-stage>.football-game .football-hint{display:block;position:static;min-height:17px;max-width:100%;font-size:11px}}
.pool-field[data-pool3d=true] .pool-pieces{opacity:0}
.pool-field[data-pool-photo=true] .pool-rail-marker{display:none}
.pool-field[data-pool-photo=true] [data-pocket]{fill:transparent;stroke:#fff0}
