.eda-combat-stage {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    overflow: visible;
    pointer-events: none;
    z-index: 10050;
    isolation: isolate;
}
.eda-combat-glow { filter: drop-shadow(0 0 5px var(--eda-light)) drop-shadow(0 0 13px var(--eda-light)); }
.eda-card-shatter { position: fixed; inset: 0; z-index: 10051; pointer-events: none; }
.eda-card-shard { position: absolute; display: block; pointer-events: none; will-change: transform, opacity; }
.eda-card-shard > img { position: absolute; max-width: none; max-height: none; }
.eda-card-shard > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
body.v3-vfx-disabled :is(.eda-combat-stage, .eda-card-shatter, .eda-burn-edge, .eda-burn-tick, .eda-tattoo-ready) { display: none; }
body.v3-ultimate-vfx-disabled :is(.eda-combat-stage.is-ultimate, .eda-burn-edge, .eda-burn-tick) { display: none; }

/* The reference's silk, engraving, smoke and glass remain separate materials.
   Most linework stays sharp; glow belongs to small luminous surfaces only. */
.eda-combat-stage .eda-material-light { filter: drop-shadow(0 0 4px var(--eda-light)); }
.eda-combat-stage [data-eda-motif="gun-smoke"] { filter: blur(2px); }
.eda-combat-stage :is([data-eda-motif="glass-prefracture"], [data-eda-motif="contract-ink-seal"], [data-eda-motif="contract-closed-seal"]) {
    filter: drop-shadow(0 0 3px var(--eda-light));
}
.eda-combat-stage [data-eda-motif="continuous-dragon-wake"] { filter: drop-shadow(0 0 4px var(--eda-light)); }
.eda-combat-stage[data-skin="vip"] { --eda-light: #fff0b2; }
.eda-combat-stage[data-skin="vip"] .eda-combat-glow { filter: drop-shadow(0 0 3px #fefab488) drop-shadow(0 0 8px #dc943e66); }
.eda-combat-stage[data-skin="elegans"] .eda-combat-glow { filter: drop-shadow(0 0 3px #5df2c099) drop-shadow(0 0 8px #10c98a55); }

.v3-card > :is(.eda-burn-edge, .eda-burn-tick) {
    position: absolute;
    inset: 2px;
    border-radius: inherit;
    pointer-events: none;
    z-index: 4;
    overflow: hidden;
    contain: layout style;
}
:is(.eda-burn-edge, .eda-burn-tick, .eda-tattoo-ready) svg { display: block; width: 100%; height: 100%; pointer-events: none; }
.eda-burn-scorch { fill: none; stroke: var(--eda-main); stroke-width: 2.5; opacity: .7; }
.eda-burn-tongue { fill: var(--eda-main); stroke: var(--eda-gold); stroke-width: .6; transform-origin: 0 22px; animation: edaEmberBreathe 2.1s ease-in-out var(--eda-ember-delay) infinite; }
.eda-burn-ember { fill: var(--eda-glow); opacity: 0; animation: edaEmberRise 2.7s ease-out var(--eda-ember-delay) infinite; }
.eda-burn-tick { filter: drop-shadow(0 0 4px var(--eda-glow)); }
.eda-burn-edge[data-skin="elegans"] .eda-burn-tongue { clip-path: polygon(0 100%, 0 35%, 30% 0, 65% 45%, 100% 30%, 75% 100%); }
.eda-burn-edge[data-skin="akademia"] .eda-burn-tongue { fill: var(--eda-gold); stroke: var(--eda-ink); }
.eda-burn-edge[data-skin="divatkem"] .eda-burn-scorch { stroke-dasharray: 9 6 2 6; }
.eda-burn-edge[data-skin="vip"] .eda-burn-tongue { fill: #930415; stroke: #fefab4; }
.eda-burn-edge[data-skin="asztral"] .eda-burn-scorch { stroke: var(--eda-gold); stroke-dasharray: 17 6 2 6; }
.eda-burn-edge[data-skin="asztral"] .eda-burn-ember { clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); }
.v3-card > .eda-tattoo-ready {
    position: absolute;
    top: 26px;
    right: 7px;
    width: 35px;
    height: 35px;
    z-index: 5;
    pointer-events: none;
    filter: drop-shadow(0 0 3px var(--eda-glow));
}
.eda-tattoo-ready .eda-ready-ink { stroke-dasharray: .8 .2; animation: edaReadyThread 3.6s linear infinite; }
@keyframes edaEmberBreathe { 0%,100% { opacity: .35; scale: .75 .7; } 50% { opacity: .8; scale: 1 1.15; } }
@keyframes edaEmberRise { 0% { opacity: 0; translate: 0 12px; scale: .4; } 25% { opacity: .9; } 100% { opacity: 0; translate: 5px -35px; scale: .2; } }
@keyframes edaReadyThread { to { stroke-dashoffset: -1; } }
.eda-combat-stage[data-skin="akademia"] .eda-combat-glow {
    filter: drop-shadow(0 0 3px #FDF22A) drop-shadow(0 0 9px #FCC83C);
}
.eda-combat-stage[data-skin="akademia"] .eda-academy-book {
    paint-order: stroke fill;
}
/* Express gold stays sharp against sapphire light, like the salon splash art.
   Only material/light changes here; all original keyframes retain their timing. */
.eda-combat-stage[data-skin="asztral"] .eda-combat-glow {
    filter: drop-shadow(0 0 2px #9fd8ff99) drop-shadow(0 0 7px #4989ec77);
}
.eda-bounty-frame[data-eda-skin="asztral"] .eda-bounty-portal {
    background: none;
}
.eda-bounty-frame[data-eda-skin="asztral"] .eda-bounty-stamp {
    background: linear-gradient(110deg, #0b1431, #1b2659);
    color: #fff5df;
    border: 1px solid #e8c477;
}
.eda-card-fx--speed[data-eda-skin="asztral"] .eda-speed-lines i::after {
    /* Inherit existing speed-line motion; no extra loop or particles. */
    content: "";
    position: absolute;
    inset: -3px 0;
    border-block: 1px solid #e8c47788;
    background: repeating-linear-gradient(90deg, transparent 0 15px, #e8c47766 15px 16px);
    pointer-events: none;
}
.eda-card-fx--dossier[data-eda-skin="asztral"] .eda-dossier-scan::after {
    content: "";
    position: absolute;
    inset: 45% 12%;
    border-top: 1px dashed #e8c47788;
    pointer-events: none;
}
.eda-bounty-frame[data-eda-skin="asztral"].is-complete .eda-ch-express-inlay {
    stroke: #fff5df;
}
/* The pin floats while the outer targeting ring keeps the existing acquisition motion. */
.eda-crosshair-svg.is-academy.is-animated .eda-ch-academy-pin {
    transform-origin: 50px 50px;
    animation: edaAcademyPinFloat 2.6s ease-in-out infinite;
    filter: drop-shadow(0 0 2px #FDF22A);
}
.eda-bounty-frame:has(.eda-crosshair-svg.is-academy) .eda-bounty-portal {
    background: radial-gradient(ellipse at 50% 22%, #FDE78133, #58525B88 65%);
    border-color: #FCC83C;
}
.eda-bounty-frame:has(.eda-crosshair-svg.is-academy) .eda-bounty-stamp {
    color: #FCFC83;
    background: linear-gradient(110deg, #58525B, #302b35);
    border: 1px solid #FCC83C;
}
@keyframes edaAcademyPinFloat {
    0%, 100% { transform: translateY(1px); }
    50% { transform: translateY(-2px); }
}
/* Damage numbers keep their existing higher overlay layer. */
@media (prefers-reduced-motion: reduce) {
    :is(.eda-burn-tongue, .eda-burn-ember, .eda-tattoo-ready .eda-ready-ink) { animation: none; }
    .eda-burn-tongue { opacity: .5; }
    .eda-burn-ember { opacity: .45; }
    .eda-combat-stage [data-eda-motif="gun-smoke"] { filter: none; }
    .eda-combat-glow { filter: drop-shadow(0 0 4px var(--eda-light)); }
    .eda-combat-stage[data-skin="asztral"] .eda-combat-glow { filter: drop-shadow(0 0 2px #4989ec77); }
    .eda-crosshair-svg.is-academy.is-animated .eda-ch-academy-pin { animation: none; }
}
