/* Recovered DEXUS pre-V3 traversal HUD theme packs (BeanBot TEST).
 * Original 16 colour/shape palettes, on-screen HUD and platformer control art.
 * Obsolete DEXUS boss arena selectors excluded: preserve current boss engine,
 * game mechanics, save files, store entitlements, and purchased PvP HUD skins.
 */
#wrap{
 --hud-accent:#7cff38;--hud-base:#0c2113;
 --hud-edge:#2d7142;--hud-soft:#e1ffda;
 --hud-pattern:linear-gradient(90deg,transparent,transparent)
}
#wrap[data-dexrun-hud="hud_emberfall"]{
 --hud-accent:#ff7629;--hud-base:#441910;--hud-edge:#d84c20;
 --hud-soft:#ffb84f;--hud-pattern:repeating-linear-gradient(120deg,transparent 0 18px,rgba(255,153,52,.13) 19px 21px,transparent 22px 44px);
}
#wrap[data-dexrun-hud="hud_frozen_relay"]{
 --hud-accent:#8deeff;--hud-base:#112b49;--hud-edge:#0b86bc;
 --hud-soft:#d6fbff;--hud-pattern:repeating-linear-gradient(135deg,transparent 0 20px,rgba(215,251,255,.14) 21px 23px,transparent 24px 50px);
}
#wrap[data-dexrun-hud="hud_volt_grid"]{
 --hud-accent:#ffe04d;--hud-base:#10233d;--hud-edge:#287bff;
 --hud-soft:#fffda3;--hud-pattern:repeating-linear-gradient(90deg,transparent 0 28px,rgba(64,182,255,.2) 29px 30px,transparent 31px 56px);
}
#wrap[data-dexrun-hud="hud_umbra_veil"]{
 --hud-accent:#b78cff;--hud-base:#160e31;--hud-edge:#653bb9;
 --hud-soft:#ead3ff;--hud-pattern:radial-gradient(circle at 12% 15%,rgba(176,111,255,.22),transparent 40%);
}
#wrap[data-dexrun-hud="hud_tempest"]{
 --hud-accent:#b6ecff;--hud-base:#14344a;--hud-edge:#2b9dce;
 --hud-soft:#f9feff;--hud-pattern:repeating-linear-gradient(163deg,transparent 0 28px,rgba(220,253,255,.13) 29px 33px,transparent 34px 55px);
}
#wrap[data-dexrun-hud="hud_venom"]{
 --hud-accent:#b0ff40;--hud-base:#27320c;--hud-edge:#549b24;
 --hud-soft:#e8ff91;--hud-pattern:repeating-radial-gradient(circle at 15% 90%,transparent 0 17px,rgba(164,252,51,.12) 18px 19px,transparent 20px 40px);
}
#wrap[data-dexrun-hud="hud_reactor"]{
 --hud-accent:#e9ff6b;--hud-base:#173c25;--hud-edge:#a3bc32;
 --hud-soft:#fff2a4;--hud-pattern:repeating-conic-gradient(from 45deg at 50% 50%,rgba(238,246,132,.1) 0 5deg,transparent 5deg 35deg);
}
#wrap[data-dexrun-hud="hud_colossus"]{
 --hud-accent:#ffad6b;--hud-base:#33353b;--hud-edge:#9c6245;
 --hud-soft:#ffe1b5;--hud-pattern:repeating-linear-gradient(90deg,transparent 0 24px,rgba(221,179,134,.15) 25px 27px,transparent 28px 52px);
}
#wrap[data-dexrun-hud="hud_resonance"]{
 --hud-accent:#ff78df;--hud-base:#2f123f;--hud-edge:#a632aa;
 --hud-soft:#ffd7fa;--hud-pattern:repeating-radial-gradient(circle at 50% 100%,transparent 0 13px,rgba(255,115,218,.16) 14px 16px,transparent 17px 32px);
}
#wrap[data-dexrun-hud="hud_launchpad"]{
 --hud-accent:#ff675f;--hud-base:#202938;--hud-edge:#a53030;
 --hud-soft:#ffe0af;--hud-pattern:repeating-linear-gradient(135deg,transparent 0 22px,rgba(255,202,83,.19) 23px 27px,transparent 28px 50px);
}
#wrap[data-dexrun-hud="hud_prism"]{
 --hud-accent:#97f5ff;--hud-base:#1b224c;--hud-edge:#a563dc;
 --hud-soft:#ffbcff;--hud-pattern:repeating-linear-gradient(145deg,transparent 0 18px,rgba(191,126,250,.17) 19px 24px,transparent 25px 45px);
}
#wrap[data-dexrun-hud="hud_iron_cog"]{
 --hud-accent:#e5b37b;--hud-base:#31251f;--hud-edge:#8b6445;
 --hud-soft:#ffe4a8;--hud-pattern:repeating-conic-gradient(from 12deg at 8% 25%,rgba(233,181,118,.16) 0 10deg,transparent 10deg 30deg);
}
#wrap[data-dexrun-hud="hud_wraithline"]{
 --hud-accent:#8bf6de;--hud-base:#131728;--hud-edge:#536b92;
 --hud-soft:#d3fffa;--hud-pattern:repeating-linear-gradient(125deg,transparent 0 24px,rgba(105,248,222,.1) 25px 29px,transparent 30px 48px);
}
#wrap[data-dexrun-hud="hud_terra"]{
 --hud-accent:#afce71;--hud-base:#2b2d18;--hud-edge:#6b8355;
 --hud-soft:#f7e4a1;--hud-pattern:repeating-linear-gradient(155deg,transparent 0 22px,rgba(153,192,94,.14) 23px 28px,transparent 29px 53px);
}
#wrap[data-dexrun-hud="hud_starflare"]{
 --hud-accent:#ffe0a6;--hud-base:#101a49;--hud-edge:#6f8fd4;
 --hud-soft:#f6faff;--hud-pattern:radial-gradient(circle at 22% 26%,rgba(255,255,255,.33) 0 1px,transparent 2px),radial-gradient(circle at 70% 42%,rgba(254,220,115,.3) 0 2px,transparent 3px);
}
#wrap[data-dexrun-hud="hud_arcane_nexus"]{
 --hud-accent:#dcb2ff;--hud-base:#251137;--hud-edge:#7445c9;
 --hud-soft:#d5fbff;--hud-pattern:repeating-radial-gradient(circle at 50% 30%,transparent 0 18px,rgba(207,161,255,.14) 19px 21px,transparent 22px 42px);
}

#wrap[data-dexrun-hud] #dexrunTopHUD .hudbox,
#wrap[data-dexrun-hud] #dexrunTopHUD #dexusCityVitals,
#wrap[data-dexrun-hud] #dexrunTopHUD #boss,
#wrap[data-dexrun-hud] #dexrunTopHUD #state,
#wrap[data-dexrun-hud] #dexrunTopHUD #toast{
 border:1px solid var(--hud-edge)!important;
 background:var(--hud-pattern),linear-gradient(145deg,var(--hud-base),#060c12)!important;
 box-shadow:inset 0 1px 0 #ffffff28,0 4px 18px #0009,0 0 12px color-mix(in srgb,var(--hud-accent),transparent 82%)!important;
 color:var(--hud-soft)
}
#wrap[data-dexrun-hud] #dexrunTopHUD #dexrunThemeIdentity{
 color:var(--hud-soft);border-left:4px solid var(--hud-accent)!important;
 font:900 clamp(9px,2.4vw,12px)/1.3 system-ui;
 letter-spacing:.025em;max-width:100%;overflow-wrap:anywhere
}
#wrap[data-dexrun-hud] #dexrunTopHUD #bossName{color:var(--hud-soft)}
#wrap[data-dexrun-hud] #controls .ctl{
 border-color:var(--hud-edge)!important;
 background:var(--hud-pattern),linear-gradient(155deg,var(--hud-base),#060b13)!important;
 color:var(--hud-soft);
 box-shadow:inset 0 1px 0 #ffffff29,0 7px 23px #000c,0 0 9px color-mix(in srgb,var(--hud-accent),transparent 85%)!important
}
#wrap[data-dexrun-hud] #controls .ctl:active,
#wrap[data-dexrun-hud] #controls .ctl.on{
 border-color:var(--hud-accent)!important;
 box-shadow:inset 0 0 18px color-mix(in srgb,var(--hud-accent),transparent 65%)!important
}
#wrap[data-dexrun-hud] #controls #blastBtn{
 border-color:var(--hud-accent)!important;
 color:var(--hud-accent)
}

/* Keep bar FILL colours consistent with global health semantics. */
#wrap[data-dexrun-hud] #dexusCityHealth,
#wrap[data-dexrun-hud] #dexusArenaPlayerHP{accent-color:#40e47e!important}
#wrap[data-dexrun-hud] #dexusCityShield,
#wrap[data-dexrun-hud] #dexusArenaPlayerShield{accent-color:#40cfff!important}
#wrap[data-dexrun-hud] #dexusArenaPlayerEnergy{accent-color:#ffd54a!important}
#wrap[data-dexrun-hud] #dexusArenaBossHP{accent-color:#f96953!important}
@media(max-width:390px){#wrap[data-dexrun-hud] #dexrunThemeIdentity{padding:5px 7px!important}}
@media(prefers-reduced-motion:reduce){#wrap[data-dexrun-hud] .ctl{transition:none!important}}



/* DEXUSG-R14 — 16 recognisable in-level and PvE boss HUDs, one shared layout.
   These are VISUAL TOKENS only. Bars and their meaning never change; the server
   still owns PvE battle actions/results. Preserve the original Guardian art. */
#wrap[data-dexrun-hud="hud_emberfall"]{--hud-emblem:"🔥";--hud-corner:9px;--hud-guardian-aura:#ff7629}
#wrap[data-dexrun-hud="hud_frozen_relay"]{--hud-emblem:"❄";--hud-corner:16px;--hud-guardian-aura:#8deeff}
#wrap[data-dexrun-hud="hud_volt_grid"]{--hud-emblem:"⚡";--hud-corner:7px;--hud-guardian-aura:#ffe04d}
#wrap[data-dexrun-hud="hud_umbra_veil"]{--hud-emblem:"◈";--hud-corner:18px;--hud-guardian-aura:#b78cff}
#wrap[data-dexrun-hud="hud_tempest"]{--hud-emblem:"🌩";--hud-corner:15px;--hud-guardian-aura:#b6ecff}
#wrap[data-dexrun-hud="hud_venom"]{--hud-emblem:"☣";--hud-corner:11px;--hud-guardian-aura:#b0ff40}
#wrap[data-dexrun-hud="hud_reactor"]{--hud-emblem:"⚛";--hud-corner:12px;--hud-guardian-aura:#e9ff6b}
#wrap[data-dexrun-hud="hud_colossus"]{--hud-emblem:"⛓";--hud-corner:4px;--hud-guardian-aura:#ffad6b}
#wrap[data-dexrun-hud="hud_resonance"]{--hud-emblem:"◉";--hud-corner:19px;--hud-guardian-aura:#ff78df}
#wrap[data-dexrun-hud="hud_launchpad"]{--hud-emblem:"🚀";--hud-corner:6px;--hud-guardian-aura:#ff675f}
#wrap[data-dexrun-hud="hud_prism"]{--hud-emblem:"◆";--hud-corner:14px;--hud-guardian-aura:#97f5ff}
#wrap[data-dexrun-hud="hud_iron_cog"]{--hud-emblem:"⚙";--hud-corner:5px;--hud-guardian-aura:#e5b37b}
#wrap[data-dexrun-hud="hud_wraithline"]{--hud-emblem:"◌";--hud-corner:17px;--hud-guardian-aura:#8bf6de}
#wrap[data-dexrun-hud="hud_terra"]{--hud-emblem:"⛰";--hud-corner:8px;--hud-guardian-aura:#afce71}
#wrap[data-dexrun-hud="hud_starflare"]{--hud-emblem:"✦";--hud-corner:20px;--hud-guardian-aura:#ffe0a6}
#wrap[data-dexrun-hud="hud_arcane_nexus"]{--hud-emblem:"✧";--hud-corner:18px;--hud-guardian-aura:#dcb2ff}

/* Permanent in-level identity marker, readable on iPhone and independent of art. */
#wrap[data-dexrun-hud] #dexrunTopHUD #dexrunThemeIdentity{
 display:flex;align-items:center;gap:7px;
 border-radius:var(--hud-corner)!important;
 color:var(--hud-soft)!important
}
#wrap[data-dexrun-hud] #dexrunTopHUD #dexrunThemeIdentity::before{
 content:var(--hud-emblem);
 display:inline-grid;place-items:center;flex:0 0 23px;
 width:23px;height:23px;border-radius:var(--hud-corner);
 background:var(--hud-pattern),var(--hud-base);
 color:var(--hud-accent);border:1px solid var(--hud-edge);
 text-shadow:0 0 6px var(--hud-accent);
 font-size:15px;line-height:1
}
/* Status and touch controls inherit the WORLD, not a hardcoded Blaze skin. */
#wrap[data-dexrun-hud] #dexrunTopHUD .hudbox,
#wrap[data-dexrun-hud] #dexrunTopHUD #dexusCityVitals,
#wrap[data-dexrun-hud] #dexrunTopHUD #state,
#wrap[data-dexrun-hud] #dexrunTopHUD #toast,
#wrap[data-dexrun-hud] #controls .ctl{
 border-radius:var(--hud-corner)!important
}
#wrap[data-dexrun-hud] #dexrunTopHUD #boss .bar{
 background:var(--hud-base)!important;
 border-color:var(--hud-edge)!important
}

@media(max-width:390px){
 #wrap[data-dexrun-hud] #dexrunTopHUD #dexrunThemeIdentity::before{
  width:19px;height:19px;flex-basis:19px;font-size:13px
 }
}
