/* Painted inventory and ability artwork, shared by setup, battle and guide. */
.painted-emblem{border-radius:3px;overflow:hidden;filter:drop-shadow(0 2px 4px #0006)}
.skill-emblem.painted-emblem{border-radius:50%;clip-path:circle(50% at 50% 50%)}
.battlefield .battle-skill-overlay .ability>.skill-emblem{inset:50% auto auto 50%;width:calc(100% - 8px);height:calc(100% - 8px);margin:0;transform:translate(-50%,-50%);aspect-ratio:1}
.ability .painted-emblem{position:absolute;inset:3px;width:calc(100% - 6px);height:calc(100% - 6px);filter:none}
.ability .ability-key{top:3px;left:3px;padding:3px 5px;background:#07120ed9;border-radius:0 0 3px 0;font-weight:600}
.ability .ability-cost{right:4px;bottom:3px;padding:2px 4px;background:#081919d9;border-radius:3px 0 0 0;color:#c7edf2}
.ability.unavailable .painted-emblem{opacity:.52}.ability .ability-cooldown{background:linear-gradient(to top,#07120ccb var(--recovery,0%),transparent var(--recovery,0%))}
.battlefield .battle-skill-overlay .ability.ability-locked .painted-emblem{opacity:.85}
.battlefield .battle-skill-overlay .ability.ability-locked .ability-cooldown:not(:empty){inset:auto 8px 7px;height:auto;min-height:0;padding:2px 3px;border-radius:4px;background:#0b1b14e8;font-size:11px;line-height:1.2;display:block;text-align:center}
.ability.ability-active{border-color:#ff6a4b;box-shadow:0 0 0 1px #ff3d3355,0 0 19px #f635304d;background:#511a1b}
.ability.ability-active .painted-emblem{opacity:1}.ability.ability-active .ability-key{font-size:10px;color:#ffe0b0;background:#871d1fee;letter-spacing:.01em}
.ability.ability-active .ability-cooldown{align-items:flex-end;justify-content:flex-end;padding:4px 6px;background:#6b111229;color:#fff0d2;font-size:16px;line-height:1}.ability.ability-active .ability-cost{visibility:hidden}.ability.ability-active .ability-name{color:#ffa084;font-weight:700}
.general-name>.berserk-status{display:inline-flex;align-items:center;gap:7px;color:#ffc19b;background:#7925237d;border:1px solid #eb5a4599;font:600 10px/1.2 var(--sans);letter-spacing:.07em;padding:4px 6px}.berserk-status b{color:#ffe5bb;font-size:11px;font-variant-numeric:tabular-nums}.hud-portrait.berserk-active{border-color:#ff6754;box-shadow:0 0 16px #e7363055}
.selected-skill-preview .preview-skill{padding:3px}.selected-skill-preview .preview-skill .painted-emblem,.setup-mode .selected-skill-preview .preview-skill .painted-emblem{width:100%;height:100%}.preview-skill span{z-index:1;background:#091710dd;padding:2px 4px;left:3px;top:3px;color:#f0e4bf}
.shop-layout .catalog-item{grid-template-columns:52px minmax(0,1fr);gap:11px;padding:11px;min-height:98px}.shop-layout .catalog-emblem{width:52px;height:52px;display:block}.shop-layout .catalog-item .item-emblem{width:52px;height:52px}
.catalog-emblem.legendary .painted-emblem{box-shadow:0 0 10px #e1b3493b;outline:1px solid #efc46b99}.catalog-copy strong{font-size:14px}.catalog-copy small{font-size:12px}
.shop-detail .detail-emblem{width:88px;height:88px;padding:0;border-color:#cfb57788;background:#14291c}.shop-detail .detail-emblem>.item-emblem{width:100%;height:100%}.shop-detail .detail-heading{align-items:center;gap:13px}.shop-detail .detail-heading h3{font-size:29px;line-height:1.05}.detail-emblem.legendary{box-shadow:0 0 22px #bd94292e;border-color:#e6c579}
.equipment{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.equipment .inventory-slot{min-height:39px;padding:3px}.equipment .inventory-slot .item-emblem{width:32px;height:32px}.slot-number{z-index:1;background:#08190ddd;padding:1px 3px;border-radius:0 0 3px 0}
.shop-inventory .inventory-slot .item-emblem{width:46px;height:46px}.shop-inventory .slot-name{font-size:12px}.shop-inventory .inventory-slot{min-height:95px}
.codex-skill .codex-emblem,.setup-page .codex-skill .codex-emblem{flex:0 0 72px;width:72px;height:72px;padding:0;border-color:#ccb47777}.codex-skill .codex-emblem>.skill-emblem,.setup-page .codex-skill .codex-emblem>.skill-emblem{width:100%;height:100%}.codex-emblem b{z-index:1}
.guide-skill .guide-seal{flex:0 0 68px;width:68px;height:68px}.guide-skill .guide-seal>.skill-emblem{width:100%;height:100%}.guide-seal b{z-index:1}.guide-page .table-item .item-emblem{width:44px;height:44px}.guide-page .guide-build .item-emblem{width:44px;height:44px}
@media(max-width:1180px) and (min-width:641px){.equipment .inventory-slot{min-height:34px}.equipment .inventory-slot .item-emblem{width:28px;height:28px}.general-name>.berserk-status{font-size:9px;padding:3px 5px}}
@media(max-width:640px){
 .shop-layout .catalog-item{grid-template-columns:44px minmax(0,1fr);gap:7px;padding:9px 6px;min-height:104px}.shop-layout .catalog-emblem,.shop-layout .catalog-item .item-emblem{width:44px;height:44px}.shop-layout .catalog-copy strong{font-size:12px}.shop-layout .catalog-copy small{font-size:11px}
 .shop-detail .detail-emblem{width:84px;height:84px}.shop-detail .detail-heading h3{font-size:29px}.shop-detail .item-total-cost{font-size:12px}
 .equipment{grid-template-columns:repeat(6,minmax(0,1fr));gap:6px}.equipment .inventory-slot{min-height:41px}.equipment .inventory-slot .item-emblem{width:34px;height:34px}
 .shop-inventory .inventory-slot .item-emblem{width:34px;height:34px}.shop-inventory .inventory-slot{min-height:61px}.shop-inventory .slot-name{font-size:9px}
 .codex-skill .codex-emblem,.setup-page .codex-skill .codex-emblem{flex-basis:60px;width:60px;height:60px}.setup-page .codex-skill{gap:13px}.codex-skill h3,.setup-page .codex-skill h3{font-size:26px}
 .general-name>.berserk-status{display:inline-flex;font-size:9px;padding:3px 5px;gap:5px}.berserk-status b{font-size:10px}.general-status:has(.berserk-active){min-height:96px}
 .guide-skill .guide-seal{flex-basis:54px;width:54px;height:54px}
}
