/* Loaded exclusively by battlev3.html. Existing smoke paths, timings and
   portrait readability are preserved; ornaments stay at the card edges. */
.ariella-blood-card-fx.is-v3 {
    --ariella-royal-metal: #e8b7b1;
    --ariella-royal-soul: #fa365f;
}
.ariella-blood-card-fx.is-v3[data-ariella-theme="halloween"] {
    --ariella-hi: #ffa25e;
    --ariella-royal-metal: #c9fff1;
    --ariella-royal-soul: #22e5bb;
}
.ariella-blood-card-fx.is-v3 .ariella-blood-card-fx__shield i::before,
.ariella-blood-card-fx.is-v3 .ariella-blood-card-fx__shield i::after {
    content: ""; position: absolute; pointer-events: none;
    inset: 5px; border-radius: 18px;
}
.ariella-blood-card-fx.is-v3 .ariella-blood-card-fx__shield i::before {
    border: 1px solid var(--ariella-royal-metal);
    mask-image: linear-gradient(transparent 8%, #000 16%, transparent 28% 72%, #000 84%, transparent 92%);
    opacity: .55;
}
.ariella-blood-card-fx.is-v3 .ariella-blood-card-fx__shield i::after {
    inset: -3px;
    background:
        linear-gradient(135deg, transparent 42%, var(--ariella-royal-metal) 48% 52%, transparent 58%) left top / 18px 18px no-repeat,
        linear-gradient(225deg, transparent 42%, var(--ariella-royal-metal) 48% 52%, transparent 58%) right top / 18px 18px no-repeat,
        linear-gradient(45deg, transparent 42%, var(--ariella-royal-metal) 48% 52%, transparent 58%) left bottom / 18px 18px no-repeat,
        linear-gradient(315deg, transparent 42%, var(--ariella-royal-metal) 48% 52%, transparent 58%) right bottom / 18px 18px no-repeat;
    opacity: .7;
}
.ariella-blood-card-fx.is-v3.is-queen-shield .ariella-blood-card-fx__shield i::before {
    border-width: 2px; opacity: .9;
}
.ariella-blood-card-fx.is-v3[data-ariella-theme="halloween"] .ariella-blood-card-fx__shield i {
    border-color: var(--ariella-royal-metal);
    box-shadow: 0 0 17px #22e5bb77, inset 0 0 22px #f9742538;
}
.ariella-blood-card-fx.is-v3[data-ariella-theme="halloween"] .ariella-blood-card-fx__embers i {
    border-radius: 70% 30% 65% 35%; background: #c9fff1;
    box-shadow: 0 0 5px #22e5bb, 0 0 10px #6b1885;
}
.ariella-blood-card-fx.is-v3[data-ariella-theme="halloween"] .ariella-blood-card-fx__corona {
    background: conic-gradient(from var(--ariella-orbit), transparent 0 12%, #f97425 20%, #c9fff1 25%, transparent 30% 62%, #22e5bb 70%, #c9fff1 75%, transparent 80%);
}
.ariella-blood-card-fx.is-v3[data-ariella-theme="halloween"] .ariella-blood-card-fx__rim {
    border-color: #c9fff1;
    box-shadow: inset 0 0 14px #22e5bb66, inset 0 0 36px #6b188577, 0 0 20px #f9742566;
}
.ariella-blood-card-fx.is-v3[data-ariella-theme="halloween"] .ariella-blood-card-fx__shatter i {
    background: linear-gradient(135deg, #c9fff1, #22e5bb 40%, #6b1885 75%, #f97425);
}
.ariella-blood-card-fx.is-v3[data-ariella-theme="halloween"] .ariella-blood-card-fx__gain b {
    color: #c9fff1; text-shadow: 0 0 8px #22e5bb, 0 2px 3px #000;
}
.ariella-blood-card-fx.is-v3 .ariella-blood-card-fx__moon b::after {
    content: ""; position: absolute; inset: -9px; border-radius: 50%;
    border: 1px dashed var(--ariella-royal-metal);
    box-shadow: 0 0 9px var(--ariella-royal-soul); opacity: .7;
}
.v3-card .ariella-blood-meter[data-ariella-theme="halloween"]::after {
    background: conic-gradient(from 0deg, transparent 12%, #f97425 25%, #c9fff1 28%, transparent 32% 65%, #22e5bb 78%, transparent 82%);
}
.v3-card .ariella-blood-meter[data-ariella-theme="halloween"].is-shadow .ariella-blood-meter__vial {
    box-shadow: inset 0 0 9px #6b1885, 0 0 16px #22e5bb66;
}
@media (prefers-reduced-motion: reduce) {
    .ariella-blood-card-fx.is-v3 .ariella-blood-card-fx__moon b::after { opacity: .35; }
}
