.bw-game-tools-dialog{width:min(480px,calc(100vw - 24px));max-height:calc(100dvh - 32px);padding:20px;border:1px solid var(--bw-border-strong);border-radius:18px;background:var(--bw-panel);color:var(--bw-text);overflow:auto;overscroll-behavior:contain}.bw-game-tools-dialog::backdrop{background:#020a12bd}.bw-game-tools-dialog header{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:20px}.bw-game-tools-dialog h2{margin:0;font:700 20px/1.2 Segoe UI,system-ui,sans-serif}.bw-game-tools-dialog .game-tools-content{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.bw-game-tools-dialog#matchTools .bw-btn{min-height:48px!important;font-size:13px!important;transform:none!important;white-space:normal}.bw-game-tools-dialog [hidden]{display:none!important}.bw-game-tools-dialog p{font:12px/1.8 Segoe UI,system-ui,sans-serif;color:var(--bw-text-muted);margin:18px 0 0}.match-tools-actions{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 18px}#gameSettings .match-tools-actions>.bw-btn{flex:1 1 120px;transform:none!important}body[data-airplanes-edition] #gameHeader .tools>.bw-btn,body[data-battleships-edition] #gameHeader .tools>.bw-btn,body[data-football-edition] .fb-tools>.bw-btn{min-width:44px!important}@media(max-width:360px){.bw-game-tools-dialog{padding:16px}.bw-game-tools-dialog .game-tools-content{grid-template-columns:1fr}}
