.auto-next-controls{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:7px 0 2px;color:#d4cbbf;font-size:12px;font-variant-numeric:tabular-nums}
.auto-next-controls button{min-height:36px;padding:4px 10px;font-size:12px;white-space:nowrap}
#practice-main .board-zone .opponent-wager{position:absolute;z-index:4;top:3px;left:max(4px,calc(50% - 150px));max-width:min(136px,42%);color:var(--text);font-size:12px;line-height:16px;font-weight:750;font-variant-numeric:tabular-nums;text-align:left;overflow-wrap:anywhere}
#quick-game-dialog #quick-game-apply{width:100%;margin-top:10px}
.table-effect-settings{margin:16px 0;padding:9px 12px;border:1px solid var(--line);border-radius:9px}
.table-effect-settings legend{padding:0 7px;font-size:14px;color:var(--accent)}
.table-effect-settings .muted{margin:6px 0 0;font-size:12px}
@media(max-width:899px){
 /* The title needs its own intrinsic-height row. The old absolute 44px
    header overlay could cover the opponent's blind and BANK lane. */
 body.p200-frame #practice-main{grid-template-rows:44px max-content minmax(0,1fr)!important}
 body.p200-frame #practice-main>.current-game-banner{
  position:static!important;inset:auto!important;grid-row:2!important;
  width:auto!important;height:auto!important;min-height:44px!important;
  padding:3px 8px!important;margin:0!important;overflow:visible!important;
  display:flex!important;flex-direction:column!important;align-items:flex-start!important;
  justify-content:center!important;gap:2px!important;
 }
 body.p200-frame #practice-main .current-game-banner h2{
  max-width:100%;white-space:normal!important;overflow-wrap:anywhere!important;
 }
 body.p200-frame #practice-main #practice-play{grid-row:3!important}
 body.p200-frame #practice-main .header-tools #quick-game-open{min-width:44px!important;width:44px!important;font-size:0!important;padding:2px!important}
 body.p200-frame #practice-main .header-tools #quick-game-open::after{content:"種目";font:700 12px/18px system-ui}
}

#exit-confirm-dialog{max-width:min(26rem,calc(100vw - 2rem))}
#exit-confirm-dialog .exit-confirm-actions{display:flex;flex-wrap:wrap;gap:.65rem;justify-content:flex-end;margin-top:1.2rem}
@media(max-width:600px){body.p200-frame #practice-main .header-tools #pause-game,body.p200-frame #practice-main .header-tools #exit-game{min-width:44px!important;min-height:44px!important;padding:4px 7px!important;font-size:12px!important}}
