/* gear artwork (extracted from the old landing.css) */
.gear-art{position:relative;height:78px;border-radius:8px;background:radial-gradient(circle at 50% 55%,rgba(125,211,252,.14),rgba(7,14,28,.85) 75%);border:1px solid rgba(148,163,184,.25);display:flex;align-items:center;justify-content:center;overflow:hidden;image-rendering:pixelated}.wep-hilt{position:absolute;left:22px;top:35px;width:12px;height:8px;border-radius:2px}.wep-guard{position:absolute;left:33px;top:29px;width:5px;height:20px;border-radius:2px}.wep-blade{position:absolute;left:38px;top:34px;width:62px;height:10px;clip-path:polygon(0 18%,82% 18%,100% 50%,82% 82%,0 82%);animation:wepGleam 2.6s ease-in-out infinite}.wep-blade.broadsword-thick{height:14px;top:32px}.wep-blade.saber-curve{transform:none;transform-origin:left center;clip-path:polygon(0 20%,84% 20%,100% 50%,84% 80%,0 80%)}.wep-blade.ice-edged{clip-path:polygon(0 20%,65% 0,85% 22%,100% 50%,85% 78%,65% 100%,0 80%)}.wep-blade.flame-edged{clip-path:polygon(0 15%,40% 0,65% 20%,85% 5%,100% 50%,85% 95%,65% 80%,40% 100%,0 85%)}.wep-blade.dragon-serrated{height:12px;top:33px;clip-path:polygon(0 15%,35% 0,55% 22%,78% 4%,100% 50%,78% 96%,55% 78%,35% 100%,0 85%)}.wep-split-top,.wep-split-bot{position:absolute;left:38px;width:64px;height:5px;clip-path:polygon(0 0,88% 0,100% 100%,0 100%)}.wep-split-top{top:31px}.wep-split-bot{top:42px}.wep-split-core{position:absolute;left:42px;top:37px;width:54px;height:4px;background:#fae8ff;box-shadow:0 0 8px #e879f9;animation:pulseFast 1.4s ease-in-out infinite}.wep-star-tip{position:absolute;right:16px;top:34px;width:10px;height:10px;transform:rotate(45deg);animation:spinSlow 4s linear infinite}.wep-fang-tip{position:absolute;right:15px;top:32px;width:0;height:0;border-top:7px solid transparent;border-bottom:7px solid transparent;border-left:14px solid #fef08a}.wep-crystal-shard{position:absolute;right:24px;top:16px;width:8px;height:8px;background:#e0f2fe;transform:rotate(45deg);animation:floatTiny 2s ease-in-out infinite}.wep-ember-dot{position:absolute;right:22px;top:18px;width:6px;height:6px;background:#fde047;border-radius:50%;box-shadow:0 0 8px #f97316;animation:floatTiny 1.7s ease-in-out infinite}.wep-arc{position:absolute;right:14px;top:14px;width:30px;height:50px;border-right:3px solid rgba(186,230,253,.55);border-radius:0 100% 100% 0/0 50% 50% 0;opacity:.75;animation:arcSweep 2.4s ease-in-out infinite}.wep-arc.arc-gold{border-right-color:#fde047}.wep-arc.arc-void{border-right-color:#e879f9;width:36px;height:56px;top:11px}.wep-arc.arc-fire{border-right-color:#fb923c}.wep-arc.arc-ice{border-right-color:#7dd3fc}.wep-arc.arc-leaf{border-right-color:#6ee7b7}.wep-arc.arc-bronze{border-right-color:#fbbf24}.wep-glow{position:absolute;inset:8px;border-radius:999px;background:radial-gradient(circle,rgba(250,204,21,.16),transparent 70%);pointer-events:none}.arm-art{animation:cardFloat 4.8s ease-in-out infinite}.arm-aura{position:absolute;width:54px;height:62px;border-radius:50%;border:2px dashed rgba(232,121,249,.65);animation:spinSlow 9s linear infinite}.arm-crystals{position:absolute;inset:0;background:radial-gradient(circle at 26% 36%,#e879f9 2px,transparent 3px),radial-gradient(circle at 74% 36%,#e879f9 2px,transparent 3px);animation:pulseFast 2s ease-in-out infinite}.arm-cape{position:absolute;top:28px;width:38px;height:36px;border-radius:6px;opacity:.75}.arm-crown{position:absolute;top:10px;width:16px;height:6px;border-radius:2px;box-shadow:0 0 8px currentColor}.arm-helmet{position:relative;top:-11px;width:24px;height:18px;border:2px solid #bae6fd;border-radius:3px;z-index:2}.arm-ear-l,.arm-ear-r{position:absolute;top:-7px;width:7px;height:8px;border:1.5px solid #bae6fd}.arm-ear-l{left:1px;transform:rotate(-10deg)}.arm-ear-r{right:1px;transform:rotate(10deg)}.arm-eye-l,.arm-eye-r{position:absolute;top:6px;width:3px;height:4px;background:#0f172a}.arm-eye-l{left:5px}.arm-eye-r{right:5px}.arm-chest{position:absolute;bottom:14px;width:26px;height:20px;border:2px solid #0284c7;border-radius:3px;z-index:2}.arm-belt{position:absolute;left:0;right:0;bottom:3px;height:4px}.arm-pauldron-l,.arm-pauldron-r{position:absolute;bottom:25px;width:9px;height:10px;border:1.5px solid #0284c7;border-radius:2px;z-index:3}.arm-pauldron-l{left:calc(50% - 21px)}.arm-pauldron-r{right:calc(50% - 21px)}.arm-leg-l,.arm-leg-r{position:absolute;bottom:5px;width:8px;height:10px;border-radius:1px;z-index:1}.arm-leg-l{left:calc(50% - 10px)}.arm-leg-r{right:calc(50% - 10px)}.skl-lance{width:56px;height:10px;clip-path:polygon(0 25%,78% 25%,100% 50%,78% 75%,0 75%);animation:wepGleam 2s ease-in-out infinite}.skl-shard{position:absolute;width:7px;height:7px;background:#e0f2fe;transform:rotate(45deg)}.skl-shard.s1{top:18px;right:26px;animation:floatTiny 1.8s ease-in-out infinite}.skl-shard.s2{bottom:18px;right:32px;animation:floatTiny 2.2s ease-in-out infinite reverse}.skl-flame-outer{width:34px;height:34px;border-radius:50% 50% 50% 15%;transform:rotate(-45deg);animation:pulseFast 1.5s ease-in-out infinite}.skl-flame-inner{position:absolute;width:16px;height:16px;border-radius:50% 50% 50% 15%;transform:rotate(-45deg)}.skl-bolt{width:54px;height:8px;clip-path:polygon(0 45%,30% 0,55% 38%,100% 25%,65% 100%,42% 62%);animation:pulseFast 1.1s ease-in-out infinite}.skl-wind-arc{position:absolute;width:30px;height:44px;border-right:3px solid;border-radius:0 100% 100% 0/0 50% 50% 0;animation:arcSweep 2s ease-in-out infinite}.skl-wind-arc.w1{left:calc(50% - 10px)}.skl-wind-arc.w2{left:calc(50% + 2px);width:24px;height:34px;animation-delay:.35s}.skl-ring{position:absolute;width:44px;height:44px;border:2.5px dashed;border-radius:50%;animation:spinSlow 5s linear infinite}.skl-star{width:18px;height:18px;clip-path:polygon(50% 0%,63% 35%,100% 50%,63% 65%,50% 100%,37% 65%,0% 50%,37% 35%);animation:spinSlow 3.5s linear infinite}.gear-art,.gearArtStage{background:radial-gradient(circle at 50% 55%,#214b43,#0a1720 72%)!important;border:1px solid #416c5a!important;border-radius:2px!important}.gear-art:after,.gearArtStage:after{opacity:.35}@keyframes cardFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-5px)}}@keyframes wepGleam{0%,100%{filter:brightness(1)}50%{filter:brightness(1.28)}}@keyframes arcSweep{0%,100%{transform:translateX(0);opacity:.45}50%{transform:translateX(5px);opacity:1}}@keyframes floatTiny{0%,100%{transform:translateY(0)}50%{transform:translateY(-5px)}}@keyframes pulseFast{0%,100%{transform:scale(.95);opacity:.85}50%{transform:scale(1.08);opacity:1}}@keyframes spinSlow{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}
/* Armor reward preview: clothing only, never a replacement hero */
.armoutfit-art{position:relative;overflow:hidden;background:radial-gradient(ellipse at 50% 60%,#183b39,#07151d 75%)!important}
.armoutfit-art *{position:absolute;box-sizing:border-box}
.armoutfit-art .outfit-cape{left:calc(50% - 20px);top:35px;width:40px;height:49px;clip-path:polygon(10% 0,90% 0,100% 100%,50% 83%,0 100%);opacity:.8}
.armoutfit-art .outfit-leg{top:68px;width:15px;height:29px;border:2px solid rgba(255,255,255,.35)}
.armoutfit-art .outfit-leg.left{left:calc(50% - 17px)}.armoutfit-art .outfit-leg.right{left:calc(50% + 2px)}
.armoutfit-art .outfit-sleeve{top:39px;width:15px;height:29px;transform:rotate(14deg)}
.armoutfit-art .outfit-sleeve.left{left:calc(50% - 31px)}.armoutfit-art .outfit-sleeve.right{left:calc(50% + 16px);transform:rotate(-14deg)}
.armoutfit-art .outfit-body{left:calc(50% - 20px);top:30px;width:40px;height:43px;background:var(--cloth);border:3px solid var(--trim);clip-path:polygon(18% 0,82% 0,100% 100%,0 100%)}
.armoutfit-art .outfit-body:after{content:"";position:absolute;inset:5px 7px;background:repeating-linear-gradient(0deg,transparent 0 7px,rgba(255,255,255,.16) 7px 9px)}
.armoutfit-art .outfit-belt{left:calc(50% - 20px);top:61px;width:40px;height:5px;background:#422c22;border-top:2px solid #fbbf24}
.armoutfit-art .outfit-buckle{left:calc(50% - 3px);top:59px;width:6px;height:8px;background:#fde68a;border:1px solid #92400e}
.armoutfit-art .outfit-shoulder{top:32px;width:17px;height:14px;border:2px solid rgba(255,255,255,.55);border-radius:4px}
.armoutfit-art .outfit-shoulder.left{left:calc(50% - 30px)}.armoutfit-art .outfit-shoulder.right{left:calc(50% + 13px)}
.armoutfit-art .outfit-glint{left:calc(50% - 2px);top:39px;width:4px;height:4px;background:#fff7ae;box-shadow:0 0 10px #fff}


/* V27 — WEB ARMOR HELMETS: remove cat identity, preserve armor silhouette and tier FX. */
.catalog-block[data-category="armor"] .arm-art .arm-helmet{
  top:-10px!important;
  width:26px!important;height:21px!important;
  border:2px solid var(--helm-trim,#cbd5e1)!important;
  border-radius:7px 7px 4px 4px!important;
  background:linear-gradient(135deg,#f8fafc 0%,#94a3b8 38%,#475569 72%,#cbd5e1 100%)!important;
  clip-path:polygon(18% 0,82% 0,100% 24%,92% 100%,8% 100%,0 24%)!important;
  box-shadow:inset 0 0 0 2px #ffffff35,0 2px 5px #0009!important;
  z-index:4!important;
}
/* Narrow visor and brow are armor details, not eyes or a face. */
.catalog-block[data-category="armor"] .arm-art .arm-helmet:before{
  content:"";position:absolute;left:3px;right:3px;top:7px;height:4px;
  background:linear-gradient(90deg,#0f172a,#334155 48%,#0f172a);
  border-top:1px solid #e2e8f088;border-bottom:1px solid #020617;
  clip-path:polygon(0 0,100% 0,88% 100%,12% 100%);
}
.catalog-block[data-category="armor"] .arm-art .arm-helmet:after{
  content:"";position:absolute;left:calc(50% - 2px);top:0;width:4px;height:7px;
  background:linear-gradient(180deg,#f8fafc,#64748b);
  clip-path:polygon(50% 0,100% 100%,0 100%);
  opacity:.9;
}
/* Keep the existing animated legendary/mythic FX untouched. */
.catalog-block[data-category="armor"] .arm-art .arm-eye-l,
.catalog-block[data-category="armor"] .arm-art .arm-eye-r,
.catalog-block[data-category="armor"] .arm-art .arm-ear-l,
.catalog-block[data-category="armor"] .arm-art .arm-ear-r{display:none!important}


/* V28 — use the same no-cat helmet silhouette in the in-game inventory and web catalog. */
.arm-art .arm-helmet{
  position:absolute!important;top:7px!important;left:calc(50% - 13px)!important;
  width:26px!important;height:21px!important;box-sizing:border-box;
  border:2px solid var(--helm-trim,#cbd5e1)!important;
  border-radius:7px 7px 4px 4px!important;
  background:linear-gradient(135deg,#f8fafc 0%,#94a3b8 38%,#475569 72%,#cbd5e1 100%)!important;
  clip-path:polygon(18% 0,82% 0,100% 24%,92% 100%,8% 100%,0 24%)!important;
  box-shadow:inset 0 0 0 2px #ffffff35,0 2px 5px #0009!important;
  z-index:4!important;
}
.arm-art .arm-helmet:before{
  content:"";position:absolute;left:3px;right:3px;top:7px;height:4px;
  background:linear-gradient(90deg,#0f172a,#334155 48%,#0f172a);
  border-top:1px solid #e2e8f088;border-bottom:1px solid #020617;
  clip-path:polygon(0 0,100% 0,88% 100%,12% 100%);
}
.arm-art .arm-helmet:after{
  content:"";position:absolute;left:calc(50% - 2px);top:0;width:4px;height:7px;
  background:linear-gradient(180deg,#f8fafc,#64748b);
  clip-path:polygon(50% 0,100% 100%,0 100%);opacity:.9;
}
.arm-art .arm-ear-l,.arm-art .arm-ear-r,.arm-art .arm-eye-l,.arm-art .arm-eye-r{display:none!important}


/* V30 — universal weapon families, shared between web catalogue and in-game inventory. */
.new-weapon-art{position:relative;display:block;width:100%;height:78px;overflow:hidden;border-radius:6px;
 background:radial-gradient(ellipse at 50% 50%,color-mix(in srgb,var(--weapon-color) 22%,#10203a),#071426 76%);
 isolation:isolate}
.new-weapon-art i{position:absolute;display:block;pointer-events:none}
.new-weapon-art .nw-shaft{left:calc(50% - 3px);top:19px;width:6px;height:42px;border-radius:4px;background:linear-gradient(90deg,var(--weapon-hilt),var(--weapon-tip),var(--weapon-hilt));box-shadow:0 0 5px var(--weapon-color)}
.new-weapon-art .nw-cross{left:calc(50% - 16px);top:28px;width:32px;height:5px;border-radius:5px;background:var(--weapon-tip);box-shadow:0 0 8px var(--weapon-color)}
.new-weapon-art .nw-core{left:calc(50% - 10px);top:8px;width:20px;height:20px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#fff,var(--weapon-tip) 35%,var(--weapon-color) 72%);box-shadow:0 0 10px var(--weapon-color)}
.new-weapon-art .nw-tip{left:calc(50% - 4px);top:4px;width:8px;height:8px;background:#fff;transform:rotate(45deg);box-shadow:0 0 9px var(--weapon-color)}
.new-weapon-art .nw-aura{inset:12px 25%;border:1px solid var(--weapon-color);border-radius:50%;opacity:.25;animation:nwPulse 2.2s ease-in-out infinite}
.new-weapon-art .nw-orbit{left:calc(50% - 18px);top:6px;width:36px;height:36px;border:1px solid var(--weapon-tip);border-radius:50%;opacity:0}
.new-weapon-art .nw-orbit.o1{animation:nwOrbit 3s linear infinite}
.new-weapon-art .nw-orbit.o2{animation:nwOrbit 4s linear infinite reverse;transform:rotate(65deg) scaleX(.55)}
.new-weapon-art .nw-rune{left:calc(50% - 2px);top:3px;width:4px;height:4px;background:var(--weapon-tip);box-shadow:0 0 7px var(--weapon-color);opacity:0}
.new-weapon-art .nw-rune.r1{animation:nwFloat 1.8s ease-in-out infinite}
.new-weapon-art .nw-rune.r2{animation:nwFloat 2.1s ease-in-out infinite reverse;left:calc(50% + 14px);top:44px}
.new-weapon-art .nw-spark{width:4px;height:4px;border-radius:50%;background:var(--weapon-tip);box-shadow:0 0 8px var(--weapon-color);opacity:0}
.new-weapon-art .nw-spark.s1{left:28%;top:25%;animation:nwSpark 1.4s infinite}
.new-weapon-art .nw-spark.s2{left:70%;top:65%;animation:nwSpark 1.8s -.5s infinite}
.new-weapon-art .nw-spark.s3{left:62%;top:20%;animation:nwSpark 1.6s -.9s infinite}
.new-weapon-art .nw-spark.s4{left:36%;top:72%;animation:nwSpark 2s -.3s infinite}
.new-weapon-art.weapon-staff .nw-shaft{height:52px;top:15px}
.new-weapon-art.weapon-orb .nw-shaft{width:30px;height:30px;left:calc(50% - 15px);top:23px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#fff,var(--weapon-color) 38%,#17102e 80%);box-shadow:0 0 16px var(--weapon-color)}
.new-weapon-art.weapon-orb .nw-core{display:none}
.new-weapon-art.weapon-tome .nw-shaft{width:34px;height:42px;left:calc(50% - 17px);top:19px;border-radius:5px 9px 9px 5px;background:linear-gradient(90deg,var(--weapon-hilt),var(--weapon-color) 48%,var(--weapon-tip) 51%,var(--weapon-hilt));border:2px solid var(--weapon-tip)}
.new-weapon-art.weapon-tome .nw-cross{width:3px;height:42px;left:50%;top:19px}
.new-weapon-art.weapon-bow .nw-shaft,.new-weapon-art.weapon-crossbow .nw-shaft{width:30px;height:48px;left:calc(50% - 15px);top:15px;border:4px solid var(--weapon-color);border-top-color:transparent;border-bottom-color:transparent;border-radius:50%;background:transparent}
.new-weapon-art.weapon-bow .nw-cross,.new-weapon-art.weapon-crossbow .nw-cross{width:40px;height:2px;left:calc(50% - 20px);top:39px;background:var(--weapon-tip)}
.new-weapon-art.weapon-crossbow .nw-core{width:25px;height:7px;left:calc(50% - 12px);top:36px;border-radius:2px}
.new-weapon-art.tier-epic .nw-aura,.new-weapon-art.tier-epic .nw-spark{opacity:.85}
.new-weapon-art.tier-epic .nw-aura{box-shadow:0 0 14px var(--weapon-color);animation:nwPulse 1.3s ease-in-out infinite}
.new-weapon-art.tier-epic .nw-core{animation:nwCore 1.2s ease-in-out infinite}
.new-weapon-art.tier-legend .nw-aura,.new-weapon-art.tier-legend .nw-orbit,.new-weapon-art.tier-legend .nw-rune,.new-weapon-art.tier-legend .nw-spark{opacity:1}
.new-weapon-art.tier-legend .nw-aura{border-width:2px;box-shadow:0 0 18px var(--weapon-color);animation:nwPulse 1.1s ease-in-out infinite}
.new-weapon-art.tier-legend .nw-core{animation:nwCore .9s ease-in-out infinite}
.new-weapon-art.tier-mythic .nw-aura,.new-weapon-art.tier-mythic .nw-orbit,.new-weapon-art.tier-mythic .nw-rune,.new-weapon-art.tier-mythic .nw-spark{opacity:1}
.new-weapon-art.tier-mythic .nw-aura{border:2px solid var(--weapon-color);box-shadow:0 0 22px var(--weapon-color),inset 0 0 18px var(--weapon-color);animation:nwPulse .8s ease-in-out infinite}
.new-weapon-art.tier-mythic .nw-core{animation:nwCore .65s ease-in-out infinite}
@keyframes nwPulse{50%{transform:scale(1.18) rotate(12deg);opacity:.95}}
@keyframes nwOrbit{to{transform:rotate(360deg)}}
@keyframes nwFloat{50%{transform:translateY(-9px) rotate(45deg)}}
@keyframes nwSpark{0%,100%{transform:scale(.5);opacity:.15}50%{transform:scale(1.5);opacity:1}}
@keyframes nwCore{50%{filter:brightness(1.8);transform:scale(1.18)}}

/* V31 — universal armor artwork: show the armor itself, never a wearer/head/helmet.
   Shared .arm-art markup is used by the web catalog, in-game Armory and gacha reveal. */
.arm-art .arm-helmet,
.arm-art .arm-helmet::before,
.arm-art .arm-helmet::after,
.arm-art .arm-ear-l,
.arm-art .arm-ear-r,
.arm-art .arm-eye-l,
.arm-art .arm-eye-r{
  display:none!important;
  content:none!important;
}

/* V30.22.1 — shared Canvas weapon preview used by website + Armory.
   The preview is the same drawWeaponFX geometry used by the hero in gameplay. */
.weapon-preview-canvas.new-weapon-art{display:block;width:100%;height:78px;overflow:hidden;border-radius:6px;background:radial-gradient(ellipse at 50% 50%,#10203a,#071426 76%);image-rendering:pixelated}
.weapon-preview-canvas{box-sizing:border-box}
.gearCard .weapon-preview-canvas{height:78px;margin:0 0 10px}
@media (prefers-reduced-motion:reduce){.weapon-preview-canvas{animation:none!important}}

/* Live skill previews (Epic + Legend): animated canvas that mirrors the in-game cast, projectile, trail, impact and Burn / Freeze (skill-preview.js) */
.gear-art.skl-live{display:block;height:auto;aspect-ratio:232/112;padding:0;background:#0c0827;image-rendering:auto}
.gear-art.skl-live canvas{display:block;width:100%;height:100%}
.gear-art.skl-live.tier-epic{border-color:rgba(167,139,250,.6);box-shadow:0 0 14px rgba(167,139,250,.25)}
.gear-art.skl-live.tier-legend{border-color:rgba(253,224,71,.75);box-shadow:0 0 18px rgba(253,224,71,.3),inset 0 0 12px rgba(192,132,252,.25)}

/* weapon previews are auto-fitted to the box: never stretch the canvas */
.weapon-preview-canvas{object-fit:contain}
