.quick-formations{position:relative;pointer-events:auto}.quick-formations[hidden],.quick-formation-panel[hidden]{display:none!important}html body.engine-screen.engine-match .screen-nav .quick-formations>button{display:flex;flex-direction:column;justify-content:center;gap:2px;width:76px;max-width:76px;min-height:44px;padding:4px 6px;line-height:1.1;font-size:10px}.quick-formations>button small{display:block;width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:#f7dc79;font-size:8px}.quick-formation-panel{position:absolute;top:calc(100% + 7px);right:0;width:min(236px,calc(100vw - 24px));max-height:min(280px,55dvh);overflow-y:auto;overscroll-behavior:contain;border:1px solid #677a72;border-radius:12px;padding:8px;background:#152322f5;box-shadow:0 8px 28px #0006;backdrop-filter:blur(12px);touch-action:pan-y}.quick-formation-title{font:600 9px/1.5 Arial,sans-serif;color:#bac8c1;margin:4px 6px 8px}.quick-formation-note{font:11px/1.5 Arial,sans-serif;color:#f2e8bd;margin:8px 6px}html body.engine-screen.engine-match .screen-nav .quick-formation-panel button{display:block;width:100%;height:auto;min-height:44px;margin:4px 0;padding:10px 12px;border:1px solid #4b6058;border-radius:7px;background:#213830;color:#fff;text-align:left;font:600 12px/1.4 Arial,sans-serif;white-space:normal;overflow-wrap:anywhere}html body.engine-screen.engine-match .screen-nav .quick-formation-panel button[aria-pressed=true]{border-color:#f7ce42;background:#3c442a;color:#ffdf72}html body.engine-screen.engine-match.immersive.has-quick-formations .scoreboard{max-width:calc(100% - 164px)!important}@media(max-width:640px){html body.engine-screen.engine-match .screen-nav .quick-formations>button{font-size:9px}.quick-formation-panel{width:min(220px,calc(100vw - 24px))}}
html body.engine-screen.engine-match.immersive.has-quick-formations .screen-nav{padding-right:calc(10px + var(--joga-safe-right,env(safe-area-inset-right,0px)))!important}html body.engine-screen.engine-match.immersive.has-quick-formations .scoreboard{max-width:calc(100% - 164px - var(--joga-safe-left,env(safe-area-inset-left,0px)) - var(--joga-safe-right,env(safe-area-inset-right,0px)))!important}
@media(min-width:600px) and (max-height:500px){.quick-formation-panel{right:calc(100% + 20px);max-height:150px}}
