#teamOrderModal{box-sizing:border-box;position:fixed;inset:0;margin:auto;width:min(92vw,470px);max-height:85dvh;padding:18px;border:1px solid #71839a;border-radius:12px;background:#152231;color:#edf4fc;overflow:auto}
#teamOrderModal::backdrop{background:rgb(0 0 0 / 65%)}
#teamOrderTitle{margin:0 0 16px;font-size:18px;line-height:1.4}
#teamOrderCounter{display:block;text-align:center;color:#52deed;font-size:28px;font-weight:800;font-variant-numeric:tabular-nums;margin:8px 0}
#teamOrderProgress{display:block;width:100%;height:12px;accent-color:#28c7d8;margin:12px 0 16px}
#teamOrderPhase,#teamOrderResult{white-space:pre-line;font-size:14px;line-height:1.6;overflow-wrap:anywhere;margin:10px 0}
#teamOrderBest,#teamOrderCurrent{color:#b4c7dc;font-size:12px;line-height:1.6;margin:8px 0;overflow-wrap:anywhere}
#teamOrderResult{font-weight:650;color:#eef6fc}
#teamOrderModal[data-state="error"] #teamOrderResult{color:#ffb6bf}
#teamOrderModal [hidden]{display:none!important}
#teamOrderModal .teamOrderActions{display:flex;justify-content:flex-end;gap:8px;margin-top:16px}
#teamOrderConfirm,#teamOrderCancel{min-width:76px;min-height:36px;white-space:nowrap}
#teamOrderConfirm:disabled,#teamOrderCancel:disabled{opacity:.5;cursor:wait}
