.emp-maze-wrap{max-width:1080px;margin:18px auto;padding:16px;border:1px solid rgba(255,255,255,.08);border-radius:18px;background:linear-gradient(180deg, rgba(9,13,20,.94), rgba(17,24,37,.92));box-shadow:0 18px 44px rgba(0,0,0,.28)}
.emp-maze-topbar{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:10px;margin-bottom:12px}
.emp-pill,.emp-subpill{padding:10px 12px;border-radius:12px;border:1px solid rgba(255,255,255,.08);color:#e8edf7;font:600 13px/1.2 system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif}
.emp-pill{background:rgba(255,255,255,.05)}
.emp-subpill{background:rgba(255,255,255,.035);color:#dbe6ff;font-size:12px}
.emp-campaign-strip{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:10px;margin-bottom:12px}
.emp-level-bar,.emp-loadout-bar{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;margin-bottom:14px}
.emp-level-btn,.emp-loadout-btn{border:1px solid rgba(255,255,255,.12);border-radius:14px;background:rgba(255,255,255,.04);padding:10px 12px;text-align:left;color:#edf2ff;cursor:pointer}
.emp-level-btn.is-active{outline:2px solid rgba(123,255,179,.6);background:rgba(123,255,179,.12)}
.emp-loadout-btn.is-active{outline:2px solid rgba(79,182,255,.65);background:rgba(79,182,255,.12)}
.emp-level-btn.is-locked,.emp-loadout-btn.is-locked{opacity:.45;cursor:not-allowed;outline:none}
.emp-level-btn-kicker{display:block;font:700 10px/1.2 system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;text-transform:uppercase;letter-spacing:.06em;opacity:.75;margin-bottom:4px}
.emp-level-btn-name,.emp-loadout-name{display:block;font:700 13px/1.2 system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;margin-bottom:4px}
.emp-level-btn-meta,.emp-loadout-meta{display:block;font:500 11px/1.25 system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;opacity:.9}
#empMazeCanvas{width:100%;aspect-ratio:1/1;height:auto;display:block;border-radius:16px;border:1px solid rgba(255,255,255,.08);background:#0f131c}
.emp-controls{display:flex;gap:10px;margin-top:14px;flex-wrap:wrap}
.emp-status{margin-top:12px;padding:12px 14px;border-radius:12px;background:rgba(255,255,255,.04);color:#e8edf7;font:500 14px/1.4 system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif}
.emp-legend{display:flex;flex-wrap:wrap;gap:14px;margin-top:12px;color:#d5deef;font:500 12px/1.3 system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif}
.emp-legend span{display:inline-flex;align-items:center;gap:6px}
.emp-swatch{width:12px;height:12px;border-radius:3px;display:inline-block;border:1px solid rgba(255,255,255,.2)}
.emp-spawn{background:#18d07a}.emp-wall{background:#394862}.emp-drone{background:#4fb6ff}.emp-enemy{background:#ff5d4d}.emp-boss{background:#b86cff}.emp-tower{background:#d6a43b}
@media (max-width:820px){.emp-controls{flex-direction:column}.emp-level-bar,.emp-loadout-bar,.emp-campaign-strip,.emp-maze-topbar{grid-template-columns:1fr}}
.emp-loadout-bar{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}
.emp-loadout-card{display:flex;flex-direction:column;gap:8px}
.emp-loadout-name em{font-style:normal;font-size:11px;opacity:.8;margin-left:4px}
.emp-upgrade-btn{width:100%;border-radius:12px}
.emp-rewards-panel{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:10px;margin-top:12px}
.emp-reward-pill{padding:10px 12px;border-radius:12px;border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.04);color:#e8edf7;font:600 12px/1.2 system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif}
.emp-rewards-log{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.emp-log-chip{display:inline-flex;align-items:center;padding:7px 10px;border-radius:999px;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.08);color:#dfe8ff;font:500 11px/1.2 system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif}
.emp-log-chip.is-empty{opacity:.7}
