@charset "UTF-8";

/* ===== VIDEO ĐUA TOP: biểu đồ thanh đua theo từng buổi, xuất ra video ===== */
#br_overlay{position:fixed;inset:0;z-index:100500;background:rgba(5,6,18,.95);display:none;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:10px;box-sizing:border-box}
#br_overlay.on{display:flex}
#br_stage{position:relative;height:min(calc(100vh - 230px),900px);aspect-ratio:9/16;max-width:94vw}
#br_canvas{width:100%;height:100%;display:block;border-radius:18px;background:#0a1d7a;box-shadow:0 20px 60px rgba(0,0,0,.5)}
#br_tap{position:absolute;inset:0;border:0;border-radius:18px;background:rgba(5,10,40,.55);color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;cursor:pointer;font:800 18px inherit}
#br_tap span{font-size:56px}
#br_tap small{font-weight:600;opacity:.8}
#br_overlay .br-opts{display:flex;flex-wrap:wrap;gap:6px;justify-content:center;max-width:720px}
#br_overlay .br-opts label{display:inline-flex;align-items:center;gap:6px;color:#fff;font:700 13px inherit;background:rgba(255,255,255,.1);border-radius:12px;padding:0 10px;min-height:40px}
#br_overlay .br-opts select{background:#1d1840;color:#fff;border:1px solid rgba(255,255,255,.25);border-radius:8px;padding:5px 6px;font:700 13px inherit;max-width:160px;margin:0;min-height:0}
#br_overlay .br-ctrl{display:flex;flex-wrap:wrap;gap:8px;justify-content:center}
#br_overlay .br-ctrl button{border:0;border-radius:12px;padding:10px 14px;font:800 14px inherit;cursor:pointer;color:#fff;background:rgba(255,255,255,.14);min-height:44px;margin:0}
#br_overlay .br-ctrl button.main{background:linear-gradient(90deg,#2ecc71,#1e9e55)}
#br_overlay .br-ctrl button:disabled{opacity:.45;cursor:default}
#br_msg{color:#dbe6ff;font-size:13px;min-height:18px;text-align:center}
