/* Battlefront HQ role home + walkthrough (2026-11-14). Plain UI only. */
.hqrh-bar{position:sticky;top:0;z-index:120;display:flex;align-items:center;gap:8px;padding:8px 12px;background:#161822;border-bottom:1px solid rgba(255,255,255,.08);font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text","Segoe UI",Roboto,sans-serif}
.hqrh-who{flex:1;min-width:0;line-height:1.2}
.hqrh-name{font-weight:700;font-size:.86em;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hqrh-role{font-size:.72em;color:#e6a817;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hqrh-btn{min-height:40px;min-width:40px;padding:0 12px;border-radius:20px;border:1px solid rgba(255,255,255,.16);background:rgba(255,255,255,.06);color:#fff;font-size:.78em;font-weight:700;cursor:pointer;-webkit-tap-highlight-color:transparent;font-family:inherit}
.hqrh-btn.call{background:#1f7a3a;border-color:#2aa150}
.hqrh-btn.help{padding:0;width:40px;font-size:1.05em;background:#fff;color:#111;border-color:#fff}
.hqrh-viewas{min-height:40px;border-radius:20px;background:rgba(255,255,255,.06);color:#fff;border:1px solid rgba(255,255,255,.16);font-size:.74em;padding:0 8px;max-width:118px;font-family:inherit}
.hqrh-home{display:none;position:fixed;left:0;right:0;bottom:0;top:0;z-index:150;background:#0f1117;overflow-y:auto;-webkit-overflow-scrolling:touch;padding:0 0 calc(24px + env(safe-area-inset-bottom))}
.hqrh-home.open{display:block}
.hqrh-home .hqrh-bar{padding-top:calc(8px + env(safe-area-inset-top))}
.hqrh-hello{padding:16px 16px 4px;color:#fff;font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display","Segoe UI",Roboto,sans-serif}
.hqrh-hello h1{font-size:1.45em;margin:0 0 2px;font-weight:800;letter-spacing:-.01em}
.hqrh-hello p{margin:0;color:rgba(255,255,255,.6);font-size:.85em}
.hqrh-tiles{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:14px 16px}
@media (min-width:700px){.hqrh-tiles{grid-template-columns:1fr 1fr 1fr;max-width:980px;margin:0 auto}}
.hqrh-tile{min-height:118px;border-radius:18px;border:1px solid rgba(255,255,255,.1);background:#1b1e2a;color:#fff;text-align:left;padding:16px;display:flex;flex-direction:column;justify-content:flex-end;gap:4px;cursor:pointer;font-family:inherit;-webkit-tap-highlight-color:transparent;transition:transform .12s ease,background .12s ease}
.hqrh-tile:active{transform:scale(.97);background:#232737}
.hqrh-tile b{font-size:1.08em;font-weight:800;line-height:1.2}
.hqrh-tile span{font-size:.78em;color:rgba(255,255,255,.6)}
.hqrh-tile.first{background:#e6a817;color:#111;border-color:#e6a817}
.hqrh-tile.first span{color:rgba(0,0,0,.65)}
.hqrh-note{margin:6px 16px;padding:10px 12px;border-radius:12px;background:rgba(230,168,23,.12);border:1px solid rgba(230,168,23,.35);color:#f3d27a;font-size:.8em}
/* sheets */
.hqrh-sheet-bg{position:fixed;inset:0;z-index:9700;background:rgba(0,0,0,.55);display:flex;align-items:flex-end;justify-content:center}
.hqrh-sheet{width:100%;max-width:560px;max-height:86vh;overflow-y:auto;background:#fff;color:#111;border-radius:20px 20px 0 0;padding:18px 18px calc(18px + env(safe-area-inset-bottom));font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text","Segoe UI",Roboto,sans-serif}
@media (min-width:700px){.hqrh-sheet-bg{align-items:center}.hqrh-sheet{border-radius:20px}}
.hqrh-sheet h2{margin:0 0 10px;font-size:1.15em;font-weight:800}
.hqrh-sheet .row{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 0;border-bottom:1px solid #eee;font-size:.9em}
.hqrh-sheet textarea,.hqrh-sheet input,.hqrh-sheet select{width:100%;box-sizing:border-box;border:1px solid #d0d0d6;border-radius:12px;padding:12px;font-size:16px;font-family:inherit;margin:6px 0;background:#fff;color:#111}
.hqrh-pbtn{display:block;width:100%;min-height:48px;border:none;border-radius:14px;background:#0a84ff;color:#fff;font-weight:700;font-size:1em;margin-top:8px;cursor:pointer;font-family:inherit}
.hqrh-sbtn{display:block;width:100%;min-height:44px;border:none;border-radius:14px;background:#f0f0f3;color:#111;font-weight:600;font-size:.95em;margin-top:8px;cursor:pointer;font-family:inherit;text-decoration:none;text-align:center;line-height:44px}
.hqrh-muted{color:#666;font-size:.8em}
.hqrh-timer{font-size:3.4em;font-weight:800;text-align:center;font-variant-numeric:tabular-nums;margin:8px 0}
.hqrh-chips{display:flex;gap:8px;flex-wrap:wrap;justify-content:center}
.hqrh-chips button{min-height:40px;padding:0 14px;border-radius:20px;border:1px solid #d0d0d6;background:#fff;font-weight:700;cursor:pointer}
/* walkthrough */
.hqrh-tour{position:fixed;inset:0;z-index:100000;pointer-events:auto}
.hqrh-tour-block{position:fixed;inset:0;background:transparent}
.hqrh-spot{position:fixed;border-radius:14px;box-shadow:0 0 0 9999px rgba(0,0,0,.62);pointer-events:none;transition:all .28s cubic-bezier(.2,.8,.2,1)}
.hqrh-spot.none{box-shadow:none;background:rgba(0,0,0,.62);inset:0;border-radius:0;width:auto!important;height:auto!important;top:0!important;left:0!important}
.hqrh-spot.ring::after{content:"";position:absolute;inset:-3px;border-radius:16px;border:2px solid rgba(255,255,255,.9)}
.hqrh-card{position:fixed;left:12px;right:12px;max-width:380px;margin:0 auto;background:#fff;color:#111;border-radius:18px;padding:16px 16px 12px;box-shadow:0 12px 40px rgba(0,0,0,.35);font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text","Segoe UI",Roboto,sans-serif;transition:top .28s cubic-bezier(.2,.8,.2,1),opacity .2s}
.hqrh-card h3{margin:0 0 4px;font-size:1.02em;font-weight:700}
.hqrh-card p{margin:0 0 12px;font-size:.95em;line-height:1.38;color:#333}
.hqrh-dots{display:flex;gap:5px;justify-content:center;margin-bottom:10px}
.hqrh-dots i{width:6px;height:6px;border-radius:50%;background:#d0d0d6}
.hqrh-dots i.on{background:#0a84ff;width:16px;border-radius:3px}
.hqrh-nav{display:flex;gap:8px;align-items:center}
.hqrh-nav button{min-height:42px;border-radius:12px;border:none;font-weight:700;font-size:.9em;cursor:pointer;padding:0 14px;font-family:inherit}
.hqrh-nav .skip{background:none;color:#666;padding:0 6px}
.hqrh-nav .back{background:#f0f0f3;color:#111}
.hqrh-nav .next{background:#0a84ff;color:#fff;margin-left:auto}
.hqrh-nav .never{background:none;color:#0a84ff;padding:0 6px}
@media (prefers-reduced-motion: reduce){
 .hqrh-spot,.hqrh-card,.hqrh-tile{transition:none!important}
 .hqrh-tile:active{transform:none}
}
@media (max-width:520px){.hqrh-bar{flex-wrap:wrap;row-gap:6px}.hqrh-who{flex-basis:100%}.hqrh-viewas{flex:1;max-width:none}}
