/* HERO ROYALE V11.0.7 — compact Apex-style roster + BR pre-match flow */
.hr5-roster{left:72px!important;right:72px!important;height:74px!important;gap:4px!important;padding:0 4px 3px!important;justify-content:center}
.hr5-class{min-width:auto!important;flex:0 0 auto!important}
.hr5-class .portraits{gap:1px!important}
.hr5-class button{width:26px!important;height:31px!important}
.hr5-class button i{font-size:9px!important}
.hr5-class label{height:12px!important;line-height:12px!important;font-size:4.2px!important;padding:0 4px!important}
.hr5-class button.locked{display:none!important}
@media(max-width:840px){.hr5-roster{left:48px!important;right:48px!important;justify-content:center}.hr5-class button{width:25px!important;height:30px!important}}
#hrV1107Flow{position:fixed;inset:0;z-index:100000;display:none;background:#03080def;color:#fff;font-family:system-ui,-apple-system,sans-serif;touch-action:none}
#hrV1107Flow.open{display:block}
.hr7-screen{position:absolute;inset:0;overflow:hidden;background:radial-gradient(circle at 50% 42%,#183d4a 0,#08141d 48%,#02070b 100%)}
.hr7-grid{position:absolute;inset:0;opacity:.22;background-image:linear-gradient(#6bd9ea12 1px,transparent 1px),linear-gradient(90deg,#6bd9ea12 1px,transparent 1px);background-size:24px 24px}
.hr7-screen header{position:relative;z-index:2;height:48px;padding:0 max(18px,env(safe-area-inset-left)) 0 max(18px,env(safe-area-inset-left));display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #ffffff24;background:#06111acc}
.hr7-screen header div{display:grid}.hr7-screen header small{font:850 6px system-ui;color:#efb85d;letter-spacing:.09em}.hr7-screen header b{font:1000 10px system-ui;letter-spacing:.06em}.hr7-screen header>span{font:1000 8px system-ui;color:#dbe8ec;letter-spacing:.08em}
.hr7-screen main{position:absolute;inset:48px 0 28px;display:grid;place-items:center}.hr7-screen footer{position:absolute;left:0;right:0;bottom:0;height:28px;padding:0 18px;display:flex;align-items:center;justify-content:space-between;border-top:1px solid #ffffff18;background:#061019cc;font:800 5px system-ui;color:#9fb1ba;letter-spacing:.07em}
.hr7-status{text-align:center;width:min(520px,82vw)}.hr7-status>i{display:block;margin:0 auto 14px;width:54px;height:54px;border:3px solid #ffffff1d;border-top-color:#67dded;border-right-color:#e7aa58;border-radius:50%;animation:hr7spin .9s linear infinite}.hr7-status h1{margin:0;font:1000 clamp(22px,4vw,34px)/1 system-ui}.hr7-status p{margin:8px 0 16px;font:850 8px system-ui;color:#b6c6ce;letter-spacing:.08em}.hr7-progress{height:5px;margin:0 auto;width:min(420px,72vw);background:#ffffff14;overflow:hidden}.hr7-progress em{display:block;height:100%;background:linear-gradient(90deg,#e78142,#55dce9);transition:width .3s}
@keyframes hr7spin{to{transform:rotate(360deg)}}
.hr7-select{width:min(900px,94vw);height:min(330px,76vh);display:grid;grid-template-rows:52px minmax(0,1fr);gap:8px}.hr7-squad{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.hr7-slot{min-width:0;border:1px solid #ffffff25;background:#07131dcc;padding:5px 8px;display:flex;align-items:center;gap:8px}.hr7-slot.active{border-color:#e8ad59}.hr7-slot.locked{border-color:#69dce9aa}.hr7-slot>i{width:34px;height:34px;display:grid;place-items:center;background:linear-gradient(145deg,var(--lc,#1b2a34),#081018);font:1000 13px system-ui;font-style:normal}.hr7-slot b,.hr7-slot span{display:block}.hr7-slot b{font:1000 7px system-ui}.hr7-slot span{margin-top:2px;font:800 5px system-ui;color:#98aeb8}.hr7-select-main{display:grid;grid-template-columns:220px minmax(0,1fr);grid-template-rows:minmax(0,1fr) 42px;gap:8px}.hr7-focus{grid-row:1/3;position:relative;border:1px solid #ffffff22;background:radial-gradient(circle at 50% 25%,var(--lc)33,transparent 48%),#07121acc;display:grid;place-items:center;text-align:center}.hr7-focus>i{font:1000 88px system-ui;font-style:normal;color:var(--lc);opacity:.8}.hr7-focus>div{position:absolute;left:10px;right:10px;bottom:12px}.hr7-focus h1{margin:0;font:1000 17px system-ui}.hr7-focus p{margin:2px 0;font:850 5px system-ui;color:#c6d1d6}.hr7-focus span{font:1000 5px system-ui;color:var(--lc)}
.hr7-gridlegs{display:grid;grid-template-columns:repeat(5,minmax(64px,1fr));gap:6px;align-content:center}.hr7-leg{height:94px;border:1px solid #ffffff25;background:#0a1720;color:#fff;display:grid;place-items:center;padding:4px}.hr7-leg i{font:1000 25px system-ui;color:var(--lc);font-style:normal}.hr7-leg b{font:1000 6px system-ui}.hr7-leg span{font:800 4px system-ui;color:#9eb0ba}.hr7-leg.sel{border:2px solid #f5c55a;transform:translateY(-3px);background:#132532}.hr7-lock{grid-column:2;width:100%;border:1px solid #ffc573;background:linear-gradient(#da6137,#a83422);color:#fff;font:1000 9px system-ui}
.hr7-select.ally{grid-template-rows:52px 1fr}.hr7-ai-pick{display:grid;place-items:center}.hr7-ai-pick small{font:1000 8px system-ui;color:#e9b05b}.hr7-ai-row{display:flex;gap:7px;margin-top:10px}.hr7-ai-row>div{width:84px;height:88px;border:1px solid #ffffff26;background:#0a1620;display:grid;place-items:center}.hr7-ai-row i{font:1000 25px system-ui;color:var(--lc);font-style:normal}.hr7-ai-row b{font:1000 5px system-ui}
.hr7-reveal{width:min(760px,90vw);display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.hr7-reveal article{height:min(280px,65vh);border:1px solid var(--lc);background:linear-gradient(180deg,var(--lc)22,#08141d 42%,#061018);display:flex;flex-direction:column;align-items:center;justify-content:flex-end;padding:12px;box-sizing:border-box}.hr7-reveal .hero{margin:auto 0;font:1000 76px system-ui;color:var(--lc);opacity:.9}.hr7-reveal small{font:850 5px system-ui;color:#b8c6cc}.hr7-reveal b{font:1000 10px system-ui;margin-top:2px}.hr7-reveal span{font:850 5px system-ui;color:#9eb1bb;margin-top:2px}
@media(max-height:450px){.hr7-screen header{height:44px}.hr7-screen main{inset:44px 0 25px}.hr7-select{height:315px}.hr7-leg{height:80px}.hr7-focus>i{font-size:70px}.hr7-reveal article{height:250px}.hr7-reveal .hero{font-size:62px}}
