/* DEXUSG cosmetic-only PvP HUD system: render all 16 approved skins.
   No HP, energy, shield, movement or combat rule is changed by this CSS. */
main{
 --hud-accent:#7cff38;--hud-base:#0c2113;--hud-edge:#2d7142;
 --hud-soft:#e1ffda;--hud-pattern:linear-gradient(90deg,transparent,transparent)
}
main[data-hud="hud_emberfall"],.hud-preview[data-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);
}
main[data-hud="hud_frozen_relay"],.hud-preview[data-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);
}
main[data-hud="hud_volt_grid"],.hud-preview[data-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);
}
main[data-hud="hud_umbra_veil"],.hud-preview[data-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%);
}
main[data-hud="hud_tempest"],.hud-preview[data-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);
}
main[data-hud="hud_venom"],.hud-preview[data-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);
}
main[data-hud="hud_reactor"],.hud-preview[data-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);
}
main[data-hud="hud_colossus"],.hud-preview[data-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);
}
main[data-hud="hud_resonance"],.hud-preview[data-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);
}
main[data-hud="hud_launchpad"],.hud-preview[data-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);
}

main[data-hud="hud_prism"],.hud-preview[data-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);
}
main[data-hud="hud_iron_cog"],.hud-preview[data-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);
}
main[data-hud="hud_wraithline"],.hud-preview[data-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);
}
main[data-hud="hud_terra"],.hud-preview[data-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);
}
main[data-hud="hud_starflare"],.hud-preview[data-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);
}
main[data-hud="hud_arcane_nexus"],.hud-preview[data-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);
}

/* Keep the actual health fill green, shield cyan, energy gold regardless of skin.
   Colours and motifs only touch the equipment frame, controls and combat shell. */
main[data-hud] .top b,main[data-hud] .pick em{color:var(--hud-accent)}
main[data-hud] .top h1{text-shadow:0 0 23px color-mix(in srgb,var(--hud-accent),transparent 54%)}
main[data-hud] #battle.card,main[data-hud] #result.card,
main[data-hud] #pick.card{
 border-color:var(--hud-edge);
 background:var(--hud-pattern),linear-gradient(145deg,var(--hud-base),#080b12 83%);
 box-shadow:inset 0 1px 0 rgba(255,255,255,.13),0 18px 42px #0009,0 0 22px color-mix(in srgb,var(--hud-accent),transparent 86%);
}
main[data-hud] .f{border-color:var(--hud-edge);box-shadow:inset 0 0 16px color-mix(in srgb,var(--hud-accent),transparent 88%)}
main[data-hud] .arena{
 border:2px solid var(--hud-edge);
 background:var(--hud-pattern),radial-gradient(ellipse at 50% 30%,color-mix(in srgb,var(--hud-accent),transparent 87%),transparent 58%),linear-gradient(180deg,var(--hud-base),#040a10);
 box-shadow:inset 0 0 28px color-mix(in srgb,var(--hud-accent),transparent 88%),0 0 15px color-mix(in srgb,var(--hud-accent),transparent 85%);
}
main[data-hud] .arena:before{opacity:.19}
main[data-hud] .moves button{
 border-color:var(--hud-edge);
 background:linear-gradient(180deg,color-mix(in srgb,var(--hud-accent),#101722 76%),#0b1019);
 color:var(--hud-soft);
 box-shadow:inset 0 1px 0 #ffffff20,0 5px 13px #0007;
}
main[data-hud] .moves button.ability{
 background:linear-gradient(180deg,var(--hud-accent),var(--hud-edge));
 color:#070c10;
 border-color:var(--hud-soft)
}
main[data-hud] .moves button#lightPower{border-color:var(--hud-edge);color:var(--hud-soft)}
main[data-hud] #battle .bar,main[data-hud] #battle .resource-bar{
 border-color:var(--hud-edge);box-shadow:inset 0 2px 8px #000a
}
main[data-hud] #battle .hp{background:linear-gradient(90deg,#0fa34a,#48ff81)}
main[data-hud] #battle .r .hp{background:linear-gradient(90deg,#f54940,#ff957b)}
main[data-hud] #battle .shield-fill{background:linear-gradient(90deg,#007cba,#72eaff)}
main[data-hud] #battle .energy-fill{background:linear-gradient(90deg,#db9412,#ffec6b)}
main[data-hud] #battle .move-banner,main[data-hud] #result h2{color:var(--hud-soft)}
main[data-hud] .go{background:var(--hud-accent);color:#060a0c}
main[data-hud] .win .cup{text-shadow:0 0 26px var(--hud-accent)}
/* Ten preview tiles show their unique theme WITHOUT granting/equipping locked HUDs. */
.hud-launch{min-height:48px;width:100%;border:1px solid #497759;border-radius:12px;
 background:#101c17;color:#dfffe2;font-weight:900;margin:10px 0 2px}
.hud-dialog{position:fixed;inset:0;z-index:90;background:rgba(1,5,9,.95);padding:12px;
 box-sizing:border-box;overflow:auto;overscroll-behavior:contain}
.hud-dialog[hidden]{display:none!important}
.hud-dialog-box{max-width:740px;margin:auto;border:1px solid #548675;border-radius:16px;
 background:#08150f;padding:12px 12px max(18px,env(safe-area-inset-bottom))}
.hud-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:8px}
.hud-dialog-head h2{font-size:20px;margin:6px 0;color:#e6ffec}
#hudClose{border:1px solid #45775f;background:#14251b;color:white;border-radius:9px;
 min-width:85px;min-height:44px;font-weight:900}
.hud-description{color:#bee6d0;font-size:12px;line-height:1.5}
.hud-collection{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.hud-preview{min-width:0;text-align:left;border:2px solid var(--hud-edge,#376247);border-radius:13px;
 padding:11px 8px;min-height:121px;background:var(--hud-pattern),linear-gradient(145deg,var(--hud-base,#12231a),#080d13);
 color:var(--hud-soft,#e2ffe7);box-shadow:inset 0 1px 0 #ffffff24,0 3px 10px #0007;
 display:flex;flex-direction:column;gap:4px;justify-content:space-between;cursor:pointer}
.hud-preview b{font-size:12px;letter-spacing:.03em}
.hud-preview small{font-size:10px;opacity:.84;overflow-wrap:anywhere}
.hud-preview .hud-mini-bars{display:grid;gap:4px}
.hud-preview .hud-mini-bars i{display:block;border-radius:5px;height:7px;width:85%;background:linear-gradient(90deg,#15bf5b,#6eff99)}
.hud-preview .hud-mini-bars i:nth-child(2){width:67%;background:linear-gradient(90deg,#1674b1,#6feaff)}
.hud-preview .hud-mini-bars i:nth-child(3){width:50%;background:linear-gradient(90deg,#cb8b22,#ffe577)}
.hud-preview .hud-state{color:#fff1c9;font-size:10px;font-weight:900}
.hud-preview[aria-pressed="true"]{outline:3px solid #fff5a4;outline-offset:-5px}
.hud-preview[disabled]{opacity:.82;cursor:default}
#hudFeedback{min-height:20px;font-size:12px;color:#caffad;margin:10px 0 0}
@media(min-width:560px){.hud-collection{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(prefers-reduced-motion:reduce){main[data-hud] .moves button{transition:none!important}}


/* BeanBot TEST HUD picker artwork pass. Purely visual, no equip or store changes.
 * Lazy-loaded pack rings + full-body aligned_atlas idle sprites (not PFP circles). */
.hud-dialog{z-index:2100;background:radial-gradient(ellipse at 48% 0%,rgba(85,170,170,.13),transparent 55%),rgba(2,6,12,.97)}
.hud-dialog-box{max-width:865px;border-radius:21px;border:1px solid #39747e;
 background:linear-gradient(155deg,#10202b,#060d14 70%);padding:16px 14px max(22px,env(safe-area-inset-bottom));
 box-shadow:0 20px 70px #000b,inset 0 1px #ffffff14}
.hud-dialog-head{border-bottom:1px solid #31505a;padding-bottom:10px}
.hud-dialog-head h2{color:#f6fdff;letter-spacing:.045em;font-size:clamp(17px,4vw,24px)}
#hudClose{background:#13252c;border-color:#477481;border-radius:12px}
.hud-description{color:#bed2d9;line-height:1.55}
.hud-collection{gap:12px;grid-template-columns:repeat(2,minmax(0,1fr));padding:4px 1px 8px}
.hud-preview{position:relative;isolation:isolate;overflow:hidden;padding:11px;min-height:292px;
 border:1px solid var(--hud-edge,#315861);border-radius:18px;gap:6px;
 background:var(--hud-pattern),linear-gradient(150deg,var(--hud-base,#12231a),#050d16 87%);
 box-shadow:inset 0 1px #ffffff26,0 10px 21px #0009;transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease}
.hud-preview::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
 background:radial-gradient(ellipse at 50% 55%,color-mix(in srgb,var(--hud-accent,#7cff38),transparent 76%),transparent 67%);
 opacity:.9}
.hud-preview>b{font-size:clamp(13px,2.6vw,16px);font-weight:950;line-height:1.15;
 letter-spacing:.01em;color:#fff;min-height:18px;text-shadow:0 2px 4px #000}
.hud-preview>small{font-size:10px;line-height:1.32;min-height:26px;color:#dae6ea;opacity:.89}
.hud-art-preview{display:block;position:relative;height:148px;overflow:hidden;isolation:isolate;border-radius:11px;
 border:1px solid color-mix(in srgb,var(--hud-accent,#7cff38),transparent 48%);
 background:radial-gradient(ellipse at 50% 72%,color-mix(in srgb,var(--hud-accent,#7cff38),transparent 72%),transparent 63%),
 linear-gradient(150deg,rgba(2,8,16,.34),#060b13 95%);
 box-shadow:inset 0 0 17px #0008,inset 0 1px #ffffff15}
.hud-art-preview::before{content:"";position:absolute;left:-10%;right:-10%;bottom:-21%;height:60%;z-index:0;
 border:1px solid color-mix(in srgb,var(--hud-accent,#7cff38),transparent 45%);border-radius:50%;
 transform:perspective(90px) rotateX(54deg);box-shadow:0 0 12px color-mix(in srgb,var(--hud-accent,#7cff38),transparent 53%);
 background:repeating-linear-gradient(90deg,transparent 0 19px,color-mix(in srgb,var(--hud-accent,#7cff38),transparent 90%) 20px 21px)}
.hud-art-preview:has(.hud-art-ring)::before{opacity:.2}
.hud-art-preview::after{content:"";position:absolute;left:0;right:0;top:0;height:2px;z-index:3;
 background:linear-gradient(90deg,transparent,var(--hud-accent,#7cff38),transparent)}
.hud-art-ring{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 68%;
 z-index:0;pointer-events:none;filter:saturate(1.08) brightness(.82)}
.hud-art-sprite{position:absolute;bottom:8%;width:46%;aspect-ratio:1/1;height:auto;overflow:hidden;z-index:1;pointer-events:none}
.hud-art-sprite-left{left:1%}
.hud-art-sprite-right{right:1%}
.hud-art-sprite img{position:absolute;width:600%;height:400%;max-width:none;display:block;
 filter:drop-shadow(0 5px 7px #000c) drop-shadow(0 0 6px color-mix(in srgb,var(--hud-accent,#7cff38),transparent 43%));
 transform:scale(1.3)}
.hud-art-sprite-left img{left:-14.8%;top:7%;transform-origin:10.81% 23.24%}
.hud-art-sprite-right img{left:18.75%;top:7%;transform-origin:5.21% 23.24%}
.hud-art-crest{position:absolute;left:7px;top:7px;z-index:2;width:26px;height:26px;
 display:grid;place-items:center;border:1px solid var(--hud-accent,#7cff38);border-radius:8px;
 color:#fff;background:#071119db;font-weight:950;text-shadow:0 0 8px var(--hud-accent,#7cff38);
 box-shadow:0 0 11px color-mix(in srgb,var(--hud-accent,#7cff38),transparent 68%)}
.hud-art-corner{position:absolute;right:7px;top:7px;z-index:2;font:850 9px/1 system-ui;
 color:#fff;letter-spacing:.18em;text-shadow:0 2px 4px #000}
.hud-art-floor{position:absolute;bottom:8px;left:20%;right:20%;height:1px;z-index:2;
 background:var(--hud-accent,#7cff38);box-shadow:0 0 13px 2px var(--hud-accent,#7cff38)}
.hud-preview .hud-mini-bars{grid-template-columns:1fr;gap:3px;margin-top:2px}
.hud-preview .hud-mini-bars i{height:4px;width:100%!important;border-radius:6px}
.hud-preview .hud-state{display:flex;align-items:center;min-height:29px;margin-top:2px;padding:6px 8px;
 background:#040c14c7;border:1px solid color-mix(in srgb,var(--hud-accent,#7cff38),transparent 70%);
 border-radius:8px;font-size:10px;line-height:1.28;color:#e6f2f7}
.hud-preview[aria-pressed="true"]{outline:0;border:2px solid #f5e3a1;
 box-shadow:inset 0 0 0 1px #fff5a45a,0 0 16px color-mix(in srgb,var(--hud-accent,#7cff38),transparent 59%),0 12px 24px #000b}
.hud-preview[aria-pressed="true"] .hud-state{color:#112215;background:#e8ffc3;border-color:#e8ffc3}
.hud-preview[data-unlocked="false"]{opacity:.75;filter:saturate(.65)}
.hud-preview[data-unlocked="false"] .hud-state{border-color:#56616d;color:#bdc6d1}
.hud-preview:focus-visible{outline:3px solid #f1e9ac;outline-offset:2px}
@media(hover:hover){.hud-preview:hover{transform:translateY(-2px);border-color:var(--hud-accent,#b2ffc0)}}
@media(min-width:690px){.hud-collection{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(min-width:690px){.hud-art-preview{height:168px}.hud-preview{min-height:318px}}
@media(max-width:360px){.hud-collection{gap:8px}.hud-preview{padding:8px;min-height:260px}
 .hud-art-preview{height:128px}.hud-preview .hud-state{font-size:9px}}
@media(prefers-reduced-motion:reduce){.hud-preview{transition:none!important}}

