/* =======================================
   ALICE (heroId 87) – BI4 POP SZTÁR (bi4_87)
   =======================================
   Téma: futurisztikus kristály K-pop / virtuális idol koncert.
   Paletta (--al-1..5): #7DB053, #ADF6D6, #43C878, #B8FFE8, #F7A8FD.
   A neon rózsaszín/kék csak szikraként, finom kiemelésként jelenik meg.
   Motívumok: kristályfazetták, neon színpadfény, holografikus LED-fal,
   mikrofon / színpad, fénypálca-közönség, irizáló anyag, reflektor és lézer,
   csillag-szikrák, "BI4" felirat, hangjegyek és kottavonal.
   Kizárólag a [data-al-theme="bi4"] / [data-al-motif="bi4"] elemekre hat. */

[data-al-theme="bi4"], [data-al-motif="bi4"], .alice-butterfly-meter[data-al-theme="bi4"] {
    --al-deep: #05161a;
    --al-gold: #B8FFE8;
    --bi4-neon-pink: #F7A8FD;
    --bi4-neon-blue: #6FD8FF;
    --bi4-mint: #ADF6D6;
    --bi4-ice: #B8FFE8;
    --bi4-green: #43C878;
}

/* ---------------------------------------
   Kristályszárnyak: irizáló, holografikus pásztázó sorokkal
   --------------------------------------- */
[data-al-motif="bi4"] .al-wing__upper, [data-al-motif="bi4"] .al-wing__lower {
    stroke: #ffffffcc; stroke-width: .34; stroke-linejoin: bevel;
}
[data-al-motif="bi4"] .al-wing__upper { fill: color-mix(in srgb, var(--al-wu) 70%, transparent); }
[data-al-motif="bi4"] .al-wing__lower { fill: color-mix(in srgb, var(--al-wl) 62%, transparent); }
[data-al-motif="bi4"] .al-fly__body { fill: #0F3A2C; stroke: #B8FFE8; stroke-width: .3; }
[data-al-motif="bi4"] .al-fly__antenna { stroke: #B8FFE8; }
[data-al-motif="bi4"] .al-fly__svg {
    filter: drop-shadow(0 0 2px #ffffffcc) drop-shadow(0 0 5px #43C878aa) drop-shadow(0 0 7px #F7A8FD55);
}
/* Irizáló színjáték: csak a szárnyfelületek tolódnak el, a szint-fények érintetlenek. */
[data-al-motif="bi4"] .al-wing__upper, [data-al-motif="bi4"] .al-wing__lower {
    animation: bi4WingHue 5.2s ease-in-out infinite alternate; animation-delay: calc(var(--f-i, 0) * -.7s);
}
[data-al-motif="bi4"] .al-wing { animation-duration: .42s; }
.alice-card-fx[data-tier="3"][data-al-motif="bi4"] .al-wing,
.alice-card-fx[data-tier="4"][data-al-motif="bi4"] .al-wing { animation-duration: .27s; }
.alice-card-fx[data-al-motif="bi4"][data-tier="2"] .al-fly__svg,
.alice-card-fx[data-al-motif="bi4"][data-tier="3"] .al-fly__svg {
    filter: drop-shadow(0 0 3px #fff) drop-shadow(0 0 8px #43C878) drop-shadow(0 0 10px #F7A8FD66);
}
.alice-card-fx[data-al-motif="bi4"][data-tier="4"] .al-fly__svg {
    filter: drop-shadow(0 0 3px #fff) drop-shadow(0 0 9px #ADF6D6) drop-shadow(0 0 14px #F7A8FD99);
}
.alice-card-fx[data-al-motif="bi4"][data-tier="0"] .al-fly__svg { filter: saturate(.75) drop-shadow(0 0 3px #43C87888); }

/* ---------------------------------------
   Motívumok: hangjegy, kottavonal, fénypálca, kristály, BI4 felirat
   --------------------------------------- */
[data-al-motif="bi4"] .al-motif.is-note, [data-al-motif="bi4"] .al-motif.is-notes { width: 14px; height: 14px; }
[data-al-motif="bi4"] .al-motif.is-note svg *, [data-al-motif="bi4"] .al-motif.is-notes svg * { filter: drop-shadow(0 0 3px var(--m-tint, #43C878)); }
[data-al-motif="bi4"] .al-motif.is-note svg .is-line, [data-al-motif="bi4"] .al-motif.is-notes svg .is-line { fill: none; stroke: var(--m-tint, #ADF6D6); }
[data-al-motif="bi4"] .al-motif.is-staff { width: 30px; height: 14px; }
[data-al-motif="bi4"] .al-motif.is-staff svg .is-line { stroke: #B8FFE8; stroke-opacity: .75; filter: drop-shadow(0 0 2px #43C878); }
[data-al-motif="bi4"] .al-motif.is-staff svg circle { fill: #F7A8FD; filter: drop-shadow(0 0 3px #F7A8FD); }
[data-al-motif="bi4"] .al-motif.is-glowstick { width: 8px; height: 22px; }
[data-al-motif="bi4"] .al-motif.is-glowstick svg rect { fill: var(--m-tint, #ADF6D6); filter: drop-shadow(0 0 4px var(--m-tint, #43C878)) drop-shadow(0 0 8px #43C87899); }
[data-al-motif="bi4"] .al-motif.is-glowstick svg .is-line { stroke: #fff; stroke-opacity: .8; }
[data-al-motif="bi4"] .al-motif.is-bi4 { width: 30px; height: 14px; }
[data-al-motif="bi4"] .al-motif.is-bi4 svg text {
    fill: #E9FFF6; stroke: #43C878; stroke-width: .5;
    filter: drop-shadow(0 0 3px #43C878) drop-shadow(0 0 6px #F7A8FD);
    animation: bi4HoloFlicker 2.4s steps(1, end) infinite;
}
[data-al-motif="bi4"] .al-motif.is-gem { width: 14px; height: 14px; }
[data-al-motif="bi4"] .al-motif.is-gem svg path:first-child {
    fill: color-mix(in srgb, var(--m-tint, #ADF6D6) 70%, #fff); fill-opacity: .85;
    filter: drop-shadow(0 0 3px #B8FFE8) drop-shadow(0 0 6px #F7A8FD88);
}
[data-al-motif="bi4"] .al-motif.is-gem svg .is-line { stroke: #fff; stroke-opacity: .9; }
[data-al-motif="bi4"] .al-motif.is-sparkle svg path { fill: #fff; filter: drop-shadow(0 0 3px #43C878) drop-shadow(0 0 6px #F7A8FD); }
[data-al-motif="bi4"] .al-motif.is-star svg path { fill: #B8FFE8; filter: drop-shadow(0 0 3px #F7A8FD) drop-shadow(0 0 5px #ADF6D6); }
[data-al-motif="bi4"] .al-motif.is-spot { width: 12px; height: 20px; }
[data-al-motif="bi4"] .al-motif.is-spot svg .is-alt { fill: color-mix(in srgb, #ADF6D6 40%, transparent); }
[data-al-motif="bi4"] .al-motif.is-spot svg rect { fill: #43C878; filter: drop-shadow(0 0 3px #43C878); }
/* A kártya szélén emelkedő motívumok koncert-fénnyel (lebegés + pulzálás). */
.alice-card-fx[data-al-motif="bi4"] .alice-card-fx__motifs .al-motif { animation: bi4MotifRise 5.4s ease-in-out infinite; animation-delay: calc(var(--m-i) * -.9s); }
.alice-butterfly-tooltip[data-al-theme="bi4"] .al-motif { animation-name: bi4MotifRiseFar; }
#alice-butterfly-workshop[data-al-theme="bi4"] .al-motif { animation-name: bi4WorkshopRise; }

/* ---------------------------------------
   Lepke-mérő a kártyán: kristálygyűrű, spotlight-halo, neon pulzálás
   --------------------------------------- */
.alice-butterfly-meter[data-al-theme="bi4"] { filter: drop-shadow(0 7px 9px #000d) drop-shadow(0 0 6px #43C87855); }
.alice-butterfly-meter[data-al-theme="bi4"] .alice-butterfly-meter__halo {
    background:
        conic-gradient(from 0deg, #43C87800 0 8%, #ADF6D655 12%, #43C87800 20% 33%, #F7A8FD55 38%, #43C87800 46% 58%, #B8FFE855 62%, #43C87800 70% 83%, #6FD8FF44 88%, #43C87800 95%),
        radial-gradient(circle, color-mix(in srgb, #43C878 46%, transparent), color-mix(in srgb, #7DB053 36%, transparent) 44%, transparent 70%);
    animation: alHaloPulse 2.6s ease-in-out infinite alternate, bi4HaloSweep 7s linear infinite;
}
.alice-butterfly-meter[data-al-theme="bi4"].is-full .alice-butterfly-meter__halo {
    background: conic-gradient(from 0deg, #43C878, #B8FFE8, #F7A8FD, #ADF6D6, #6FD8FF, #43C878);
    -webkit-mask: radial-gradient(circle, #000 30%, transparent 70%); mask: radial-gradient(circle, #000 30%, transparent 70%);
    animation: alSpinCentered 5s linear infinite;
}
.alice-butterfly-meter[data-al-theme="bi4"] .alice-butterfly-meter__ring .is-track { stroke: #04141a; stroke-opacity: .72; }
.alice-butterfly-meter[data-al-theme="bi4"] .alice-butterfly-meter__ring .is-fill {
    stroke: #43C878; filter: drop-shadow(0 0 3px #43C878) drop-shadow(0 0 5px #F7A8FD66);
}
.alice-butterfly-meter[data-al-theme="bi4"].is-full .alice-butterfly-meter__ring .is-fill { stroke: #B8FFE8; filter: drop-shadow(0 0 4px #B8FFE8) drop-shadow(0 0 8px #F7A8FD); }
.alice-butterfly-meter[data-al-theme="bi4"] .alice-butterfly-meter__ring .is-mark { fill: #0a2a24; stroke: #ADF6D699; }
.alice-butterfly-meter[data-al-theme="bi4"] .alice-butterfly-meter__ring .is-mark.is-reached { fill: #E9FFF6; stroke: #43C878; filter: drop-shadow(0 0 3px #43C878) drop-shadow(0 0 5px #F7A8FD99); }
.alice-butterfly-meter[data-al-theme="bi4"] .alice-butterfly-meter__icon {
    filter: drop-shadow(0 0 3px #ffffffaa) drop-shadow(0 0 calc(5px + var(--al-fill) * 9px) #43C878) drop-shadow(0 0 calc(2px + var(--al-fill) * 8px) #F7A8FD99);
    animation: alIconFloat 2.8s ease-in-out infinite, bi4IconGlow 3.4s ease-in-out infinite;
}
.alice-butterfly-meter[data-al-theme="bi4"][data-tier="0"] .alice-butterfly-meter__icon { filter: saturate(.8) drop-shadow(0 0 6px #43C878aa); animation: alIconFloat 2.8s ease-in-out infinite; }
.alice-butterfly-meter[data-al-theme="bi4"] .alice-butterfly-meter__crown { filter: drop-shadow(0 0 4px #B8FFE8) drop-shadow(0 0 10px #F7A8FD); }
.alice-butterfly-meter[data-al-theme="bi4"] .alice-butterfly-meter__count {
    border-color: #43C878;
    background: linear-gradient(135deg, #0d3b2fee, #04141af0 70%, #3a1f4bee);
    box-shadow: 0 0 8px #43C87888, inset 0 0 6px #ADF6D633;
}
.alice-butterfly-meter[data-al-theme="bi4"] .alice-butterfly-meter__count small { color: #B8FFE8; }
.alice-butterfly-meter[data-al-theme="bi4"].is-full .alice-butterfly-meter__count { border-color: #B8FFE8; box-shadow: 0 0 10px #B8FFE8aa, 0 0 16px #F7A8FD88; }
.alice-butterfly-meter[data-al-theme="bi4"] .alice-butterfly-meter__tier { border-color: #ADF6D6; background: #04141ad9; box-shadow: 0 0 6px #43C878aa, 0 0 3px #F7A8FD66; }
/* Orbitáló szikrák a mérő körül: apró csillagok és hangjegyek (csak CSS, a JS nem érinti). */
.alice-butterfly-meter[data-al-theme="bi4"]::before,
.alice-butterfly-meter[data-al-theme="bi4"]::after {
    content: "♪"; position: absolute; left: 50%; top: 38px; z-index: 5; width: 0; height: 0;
    color: #B8FFE8; font: 900 11px/1 Montserrat, sans-serif; text-shadow: 0 0 4px #43C878, 0 0 8px #F7A8FD;
    pointer-events: none; animation: bi4MeterOrbit 5.2s linear infinite;
}
.alice-butterfly-meter[data-al-theme="bi4"]::after { content: "✦"; color: #F7A8FD; font-size: 9px; animation-duration: 3.8s; animation-direction: reverse; animation-delay: -1.3s; }
.alice-butterfly-meter[data-al-theme="bi4"][data-tier="0"]::before,
.alice-butterfly-meter[data-al-theme="bi4"][data-tier="0"]::after { opacity: .45; }
.v3-card.alice-queen-active[data-al-theme="bi4"] { box-shadow: 0 0 0 1px #B8FFE899, 0 0 18px #43C87888, 0 0 28px #F7A8FD55; }

/* ---------------------------------------
   Kártya-aura: kristály-keret, tier 4-nél irizáló koncertfény
   --------------------------------------- */
.alice-card-fx[data-al-theme="bi4"] .alice-card-fx__aura {
    background:
        linear-gradient(135deg, transparent 46%, #ADF6D61c 50%, transparent 54%),
        radial-gradient(ellipse, transparent 45%, #43C8781f 62%, #F7A8FD33 68%, transparent 76%);
}
.alice-card-fx[data-al-theme="bi4"][data-tier="2"] .alice-card-fx__aura,
.alice-card-fx[data-al-theme="bi4"][data-tier="3"] .alice-card-fx__aura {
    box-shadow: 0 0 calc(6px + var(--al-fill) * 14px) #43C87866, 0 0 24px #7DB05344, 0 0 14px #F7A8FD33;
}
.alice-card-fx[data-al-theme="bi4"][data-tier="4"] .alice-card-fx__aura {
    background: conic-gradient(from var(--al-angle, 0deg), #43C878, #B8FFE8, #F7A8FD, #ADF6D6, #6FD8FF, #7DB053, #43C878);
    filter: drop-shadow(0 0 8px #43C878cc) drop-shadow(0 0 16px #F7A8FD88);
}
.alice-card-fx[data-al-theme="bi4"] .alice-card-fx__dust { box-shadow: 0 0 4px #43C878, 0 0 8px #F7A8FD; }
.alice-card-fx[data-al-theme="bi4"][data-tier="4"] .alice-card-fx__dust { background: #E9FFF6; box-shadow: 0 0 4px #B8FFE8, 0 0 9px #F7A8FD; }
.alice-card-fx[data-al-theme="bi4"] .alice-card-fx__crown { filter: drop-shadow(0 0 5px #B8FFE8) drop-shadow(0 0 14px #43C878) drop-shadow(0 0 20px #F7A8FD88); }
.alice-card-fx.is-full[data-al-theme="bi4"] .alice-card-fx__crown { animation: bi4CardCrown 2.6s ease-in-out infinite; }
.alice-card-fx.is-gain[data-al-theme="bi4"] .alice-card-fx__burst { background: radial-gradient(circle at 50% 80%, #43C87850, transparent 60%); }
.alice-card-fx.is-strike[data-al-theme="bi4"] .alice-card-fx__burst,
.alice-card-fx.is-cast[data-al-theme="bi4"] .alice-card-fx__burst { background: radial-gradient(circle, #F7A8FD44, #43C87822 45%, transparent 70%); }
.alice-card-fx.is-burst[data-al-theme="bi4"] .alice-card-fx__burst { background: radial-gradient(circle, #ffffffaa, #43C87888 30%, #F7A8FD44 52%, transparent 70%); }
.alice-card-fx.is-tierup[data-al-theme="bi4"] .alice-card-fx__burst,
.alice-card-fx.is-queen[data-al-theme="bi4"] .alice-card-fx__burst { background: radial-gradient(circle, #E9FFFFcc, #43C87888 35%, #F7A8FD55 55%, transparent 72%); }

/* ---------------------------------------
   Tooltip: üveges kristály-koncertkártya
   A külső lebegő doboz átlátszó, a tónus-osztály csak fényt ad a keretnek.
   --------------------------------------- */
body.v3-body > .item-tooltip-floating.v3-tooltip-tone-alice-bi4,
body.v3-body > .v3-floating-tooltip.v3-tooltip-tone-alice-bi4 {
    --v3-tooltip-accent: #43C878; --v3-tooltip-value: #B8FFE8; --v3-tooltip-accent-rgb: 67, 200, 120;
    filter: drop-shadow(0 0 14px #43C87855) drop-shadow(0 0 22px #F7A8FD33);
}
.alice-butterfly-tooltip[data-al-theme="bi4"], #alice-butterfly-workshop[data-al-theme="bi4"] {
    border-color: #ADF6D6;
    outline-color: #F7A8FD66;
    background:
        linear-gradient(118deg, transparent 18%, #ffffff10 22%, transparent 27%, transparent 52%, #B8FFE80d 56%, transparent 61%),
        linear-gradient(62deg, transparent 38%, #F7A8FD12 42%, transparent 47%),
        radial-gradient(circle at 8% 4%, #43C87838, transparent 36%),
        radial-gradient(circle at 96% 96%, #F7A8FD2e, transparent 46%),
        linear-gradient(150deg, #0b2e2bf2, #05161af5 52%, #1a1330f2);
}
.alice-butterfly-tooltip[data-al-theme="bi4"] {
    -webkit-backdrop-filter: blur(5px) saturate(1.3); backdrop-filter: blur(5px) saturate(1.3);
    box-shadow: 0 24px 70px #000e, 0 0 26px #43C87855, 0 0 14px #F7A8FD33, inset 0 0 40px #0a3a3055, inset 0 1px 0 #ffffff55;
}
.alice-butterfly-tooltip[data-al-theme="bi4"].is-full, #alice-butterfly-workshop[data-al-theme="bi4"].is-full {
    border-color: #B8FFE8;
    box-shadow: 0 24px 70px #000e, 0 0 30px #B8FFE899, 0 0 20px #F7A8FD66, inset 0 0 44px #43C87833;
}
/* LED-fal: halvány pixelrács + pásztázó sorok, koncert-reflektor kúpok és lézerek. */
.alice-butterfly-tooltip[data-al-theme="bi4"]::before, #alice-butterfly-workshop[data-al-theme="bi4"]::before {
    opacity: .5;
    background:
        conic-gradient(from 198deg at 12% -4%, transparent 0 4deg, #ADF6D63a 6deg 13deg, transparent 15deg),
        conic-gradient(from 160deg at 90% -4%, transparent 0 3deg, #F7A8FD33 5deg 11deg, transparent 13deg),
        linear-gradient(104deg, transparent 8%, #43C87822 8.4%, transparent 9.2%, transparent 62%, #F7A8FD1f 62.4%, transparent 63.2%),
        radial-gradient(1.6px 1.6px at 14% 24%, #fff, transparent 70%),
        radial-gradient(1.2px 1.2px at 46% 76%, #B8FFE8, transparent 70%),
        radial-gradient(1.8px 1.8px at 78% 38%, #F7A8FD, transparent 70%),
        repeating-linear-gradient(0deg, #ADF6D61a 0 1px, transparent 1px 4px),
        repeating-linear-gradient(90deg, #43C87812 0 1px, transparent 1px 14px);
    background-size: 100% 100%, 100% 100%, 100% 100%, 131px 107px, 173px 139px, 149px 121px, 100% 100%, 100% 100%;
    animation: bi4LedScan 6s linear infinite;
}
/* Pásztázó üveg-csillanás. */
.alice-butterfly-tooltip[data-al-theme="bi4"]::after, #alice-butterfly-workshop[data-al-theme="bi4"]::after {
    content: ""; position: absolute; inset: -20% -60%; z-index: 1; pointer-events: none;
    background: linear-gradient(105deg, transparent 42%, #ffffff00 45%, #ffffff2e 50%, #F7A8FD22 53%, transparent 58%);
    transform: translateX(-60%); animation: bi4Glint 5.4s ease-in-out infinite;
}
#alice-butterfly-workshop[data-al-theme="bi4"]::after { z-index: 0; }
.alice-butterfly-tooltip[data-al-theme="bi4"] header { border-bottom-color: #ADF6D644; }
.alice-butterfly-tooltip[data-al-theme="bi4"] header small, #alice-butterfly-workshop[data-al-theme="bi4"] .alice-butterfly-workshop__title small,
#alice-butterfly-workshop[data-al-theme="bi4"] .alice-butterfly-workshop__overview h3 { color: #ADF6D6; }
.alice-butterfly-tooltip[data-al-theme="bi4"] header strong, #alice-butterfly-workshop[data-al-theme="bi4"] .alice-butterfly-workshop__title h2 {
    text-shadow: 0 0 12px #43C878, 0 0 22px #F7A8FD88;
}
.alice-butterfly-tooltip[data-al-theme="bi4"] header em { color: #B8FFE8; }
.alice-butterfly-tooltip[data-al-theme="bi4"].is-full header em {
    background: linear-gradient(90deg, #43C878, #B8FFE8, #F7A8FD, #6FD8FF);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.alice-butterfly-tooltip[data-al-theme="bi4"] .alice-butterfly-tooltip__crest i, #alice-butterfly-workshop[data-al-theme="bi4"] .alice-butterfly-workshop__crest i {
    background: radial-gradient(circle, #43C87866, #F7A8FD22 55%, transparent 72%);
}
.alice-butterfly-tooltip[data-al-theme="bi4"] .alice-butterfly-tooltip__crest img, #alice-butterfly-workshop[data-al-theme="bi4"] .alice-butterfly-workshop__crest img {
    filter: drop-shadow(0 0 4px #fffa) drop-shadow(0 0 11px #43C878) drop-shadow(0 0 8px #F7A8FD88);
}
.alice-butterfly-tooltip[data-al-theme="bi4"] .alice-butterfly-tooltip__crest img.is-crown,
#alice-butterfly-workshop[data-al-theme="bi4"] .alice-butterfly-workshop__crest img.is-crown { filter: drop-shadow(0 0 4px #B8FFE8) drop-shadow(0 0 9px #F7A8FD); }
.alice-butterfly-tooltip[data-al-theme="bi4"] header > b { border-color: #ADF6D666; background: #04141a99; }
.alice-butterfly-tooltip[data-al-theme="bi4"] header > b span { text-shadow: 0 0 10px #43C878, 0 0 14px #F7A8FD88; }
.alice-butterfly-tooltip[data-al-theme="bi4"].is-full header > b { border-color: #B8FFE8; }
/* Energia-sáv: neon-hangszínszabályzó. */
.alice-butterfly-tooltip[data-al-theme="bi4"] .alice-butterfly-tooltip__bar,
#alice-butterfly-workshop[data-al-theme="bi4"] .alice-butterfly-workshop__bar { border-color: #ADF6D666; background: #04141acc; }
.alice-butterfly-tooltip[data-al-theme="bi4"] .alice-butterfly-tooltip__bar-fill,
#alice-butterfly-workshop[data-al-theme="bi4"] .alice-butterfly-workshop__bar-fill {
    background:
        repeating-linear-gradient(90deg, #ffffff30 0 2px, transparent 2px 7px),
        linear-gradient(90deg, #7DB053, #43C878, #ADF6D6, #F7A8FD);
    box-shadow: 0 0 8px #43C878aa, 0 0 12px #F7A8FD44;
}
.alice-butterfly-tooltip[data-al-theme="bi4"].is-full .alice-butterfly-tooltip__bar-fill,
#alice-butterfly-workshop[data-al-theme="bi4"].is-full .alice-butterfly-workshop__bar-fill {
    background: linear-gradient(90deg, #43C878, #B8FFE8, #F7A8FD, #6FD8FF, #43C878); background-size: 200% 100%; animation: alBarShine 2.2s linear infinite;
}
.alice-butterfly-tooltip[data-al-theme="bi4"] .alice-butterfly-tooltip__bar b,
#alice-butterfly-workshop[data-al-theme="bi4"] .alice-butterfly-workshop__bar b { background: #ADF6D666; }
.alice-butterfly-tooltip[data-al-theme="bi4"] .alice-butterfly-tooltip__bar b.is-reached,
#alice-butterfly-workshop[data-al-theme="bi4"] .alice-butterfly-workshop__bar b.is-reached { background: #fff; box-shadow: 0 0 5px #43C878, 0 0 8px #F7A8FD; }
.alice-butterfly-tooltip[data-al-theme="bi4"] .alice-butterfly-tooltip__tier { border-color: #ADF6D633; background: #04141a99; }
.alice-butterfly-tooltip[data-al-theme="bi4"] .alice-butterfly-tooltip__tier small,
.alice-butterfly-tooltip[data-al-theme="bi4"] .alice-butterfly-tooltip__facts small { color: #ADF6D6; }
.alice-butterfly-tooltip[data-al-theme="bi4"] .alice-butterfly-tooltip__tier.is-reached { border-color: #ADF6D699; }
.alice-butterfly-tooltip[data-al-theme="bi4"] .alice-butterfly-tooltip__tier.is-current {
    border-color: #B8FFE8;
    background: radial-gradient(circle, #43C87855, #04141acc 72%);
    box-shadow: inset 0 0 10px #43C87866, 0 0 9px #43C878aa, 0 0 12px #F7A8FD44;
}
.alice-butterfly-tooltip[data-al-theme="bi4"] .alice-butterfly-tooltip__tier.is-current img { filter: drop-shadow(0 0 5px #43C878) drop-shadow(0 0 6px #F7A8FD88); }
.alice-butterfly-tooltip[data-al-theme="bi4"] .alice-butterfly-tooltip__facts span { border-color: #ADF6D633; background: #04141a99; }
.alice-butterfly-tooltip[data-al-theme="bi4"] .alice-butterfly-tooltip__facts b { text-shadow: 0 0 7px #43C878; }
.alice-butterfly-tooltip[data-al-theme="bi4"] .alice-butterfly-tooltip__badges span { border-color: #43C878; background: #0a3a2c99; }
.alice-butterfly-tooltip[data-al-theme="bi4"] .alice-butterfly-tooltip__badges .is-mark { border-color: #F7A8FD; }
.alice-butterfly-tooltip[data-al-theme="bi4"] .alice-butterfly-tooltip__line { border-left-color: #43C87899; background: #04141a88; color: #D8FFF0; }
.alice-butterfly-tooltip[data-al-theme="bi4"] .alice-butterfly-tooltip__line.is-active,
.alice-butterfly-tooltip[data-al-theme="bi4"] .alice-butterfly-tooltip__line.is-queen { border-left-color: #43C878; background: #0a3a2c77; color: #fff; }
.alice-butterfly-tooltip[data-al-theme="bi4"] .alice-butterfly-tooltip__line.is-queen { border-left-color: #F7A8FD; }
.alice-butterfly-tooltip[data-al-theme="bi4"] .alice-butterfly-tooltip__line.is-active > img,
.alice-butterfly-tooltip[data-al-theme="bi4"] .alice-butterfly-tooltip__line.is-queen > img { filter: drop-shadow(0 0 5px #43C878) drop-shadow(0 0 6px #F7A8FD88); }
.alice-butterfly-tooltip[data-al-theme="bi4"] .alice-butterfly-tooltip__hint { color: #ADF6D6; }

/* Pillangókert-popup (workshop). */
#alice-butterfly-workshop[data-al-theme="bi4"] { box-shadow: 0 30px 100px #000f, 0 0 45px #43C87855, 0 0 24px #F7A8FD33; }
#alice-butterfly-workshop[data-al-theme="bi4"]::backdrop { background: rgba(2, 10, 14, .88); }
#alice-butterfly-workshop[data-al-theme="bi4"] > header { border-bottom-color: #ADF6D644; }
#alice-butterfly-workshop[data-al-theme="bi4"] > header button { border-color: #ADF6D6; }
#alice-butterfly-workshop[data-al-theme="bi4"] .alice-butterfly-workshop__stats span,
#alice-butterfly-workshop[data-al-theme="bi4"] .alice-butterfly-workshop__abilities article { border-color: #ADF6D62e; }
#alice-butterfly-workshop[data-al-theme="bi4"] .alice-butterfly-workshop__ladder article.is-current { border-color: #43C878; background: #43C87822; box-shadow: 0 0 12px #43C87866; }
#alice-butterfly-workshop[data-al-theme="bi4"] .alice-butterfly-workshop__ladder article.is-queen.is-current {
    border-color: #B8FFE8; background: linear-gradient(100deg, #43C87833, #F7A8FD22, #B8FFE822); box-shadow: 0 0 14px #43C87866, 0 0 8px #F7A8FD55;
}
#alice-butterfly-workshop[data-al-theme="bi4"] .alice-butterfly-workshop__gallery article.is-current { border-color: #43C878; box-shadow: inset 0 0 16px #43C87833, 0 0 12px #43C87866; }
#alice-butterfly-workshop[data-al-theme="bi4"] .alice-butterfly-workshop__abilities article > img { border-color: #43C878; box-shadow: 0 0 13px #43C87866, 0 0 8px #F7A8FD33; }
#alice-butterfly-workshop[data-al-theme="bi4"] .alice-butterfly-workshop__ladder small,
#alice-butterfly-workshop[data-al-theme="bi4"] .alice-butterfly-workshop__gallery small,
#alice-butterfly-workshop[data-al-theme="bi4"] .alice-butterfly-workshop__basic small { color: #ADF6D6; }

/* ---------------------------------------
   Kulcsszó-ikonok (Kard / Lepke) a bi4 ikonkészlet fényével
   --------------------------------------- */
[data-al-theme="bi4"] .ability-inline-icon.is-alice-keyword { filter: drop-shadow(0 0 3px #43C878cc) drop-shadow(0 0 4px #F7A8FD66); }
[data-al-theme="bi4"] .ability-inline-icon.is-alice-keyword[data-alice-keyword="kard"] { filter: drop-shadow(0 0 3px #ADF6D6) drop-shadow(0 0 5px #F7A8FD88); }

/* ---------------------------------------
   Kódex-panel (js/ui/aliceCodexUI.js)
   --------------------------------------- */
.codex-alice-show[data-ac-motif="bi4"] {
    background:
        radial-gradient(circle at 8% 0%, #43C87844, transparent 44%),
        radial-gradient(circle at 92% 100%, #F7A8FD2e, transparent 48%),
        linear-gradient(145deg, #0b2e2b, #05161a 58%, #1a1330);
    border-color: #ADF6D666;
    box-shadow: inset 0 0 42px #43C87822, 0 18px 38px #0007, 0 0 18px #F7A8FD22;
}
.codex-alice-show[data-ac-motif="bi4"]::before {
    opacity: .42;
    background:
        conic-gradient(from 196deg at 10% -6%, transparent 0 4deg, #ADF6D636 6deg 12deg, transparent 14deg),
        conic-gradient(from 162deg at 92% -6%, transparent 0 3deg, #F7A8FD30 5deg 10deg, transparent 12deg),
        radial-gradient(1.8px 1.8px at 14% 24%, #fff, transparent 70%),
        radial-gradient(1.4px 1.4px at 52% 74%, #B8FFE8, transparent 70%),
        radial-gradient(2px 2px at 80% 36%, #F7A8FD, transparent 70%),
        repeating-linear-gradient(0deg, #ADF6D618 0 1px, transparent 1px 4px),
        repeating-linear-gradient(90deg, #43C87812 0 1px, transparent 1px 38px);
    background-size: 100% 100%, 100% 100%, 191px 143px, 239px 167px, 211px 151px, 100% 100%, 100% 100%;
    animation: bi4LedScan 8s linear infinite;
}
.codex-alice-show[data-ac-motif="bi4"] .codex-alice-show__motif svg { animation: bi4Iridescent 5.2s linear infinite; }
.codex-alice-show[data-ac-motif="bi4"] > header small { color: #ADF6D6; }
.codex-alice-show[data-ac-motif="bi4"] > header h3 { text-shadow: 0 0 16px #43C878, 0 0 26px #F7A8FD66; }
.codex-alice-show[data-ac-motif="bi4"] .codex-alice-show__emblem > img { filter: drop-shadow(0 0 4px #fff7) drop-shadow(0 0 12px #43C878) drop-shadow(0 0 8px #F7A8FD88); }
.codex-alice-show[data-ac-motif="bi4"] .codex-alice-show__emblem > img.is-crown { filter: drop-shadow(0 0 4px #B8FFE8) drop-shadow(0 0 10px #F7A8FD); }

/* ---------------------------------------
   Animációk
   --------------------------------------- */
@keyframes bi4Iridescent {
    0%, 100% { filter: hue-rotate(0deg) drop-shadow(0 0 2px #ffffffcc) drop-shadow(0 0 5px #43C878aa) drop-shadow(0 0 7px #F7A8FD55); }
    50% { filter: hue-rotate(28deg) drop-shadow(0 0 3px #ffffffee) drop-shadow(0 0 7px #ADF6D6aa) drop-shadow(0 0 9px #F7A8FD88); }
}
@keyframes bi4WingHue { from { filter: hue-rotate(-14deg); } to { filter: hue-rotate(34deg); } }
@keyframes bi4HoloFlicker { 0%, 86%, 100% { opacity: 1; } 88% { opacity: .35; } 90% { opacity: 1; } 94% { opacity: .55; } }
@keyframes bi4MotifRise {
    0% { opacity: 0; transform: translateY(0) rotate(-8deg) scale(.8); }
    18% { opacity: .9; }
    50% { transform: translate(6px, -42px) rotate(10deg) scale(1.1); }
    100% { opacity: 0; transform: translate(-4px, -86px) rotate(-14deg) scale(.7); }
}
@keyframes bi4MotifRiseFar {
    0% { opacity: 0; transform: translate(0, 0) rotate(0) scale(.9); }
    12% { opacity: .85; }
    50% { transform: translate(14px, -200px) rotate(30deg) scale(1.15); }
    100% { opacity: 0; transform: translate(-12px, -420px) rotate(-24deg) scale(.8); }
}
@keyframes bi4WorkshopRise {
    0% { opacity: 0; transform: translate(0, 0) scale(1.2) rotate(0); }
    10% { opacity: .7; }
    50% { transform: translate(24px, -48vh) scale(1.4) rotate(40deg); }
    100% { opacity: 0; transform: translate(-16px, -95vh) scale(1.1) rotate(-30deg); }
}
@keyframes bi4HaloSweep { to { rotate: 360deg; } }
@keyframes bi4IconGlow { 0%, 100% { filter: brightness(1); } 50% { filter: brightness(1.18) saturate(1.15); } }
@keyframes bi4MeterOrbit { from { transform: rotate(0deg) translateX(38px) rotate(0deg); } to { transform: rotate(360deg) translateX(38px) rotate(-360deg); } }
@keyframes bi4CardCrown {
    0%, 100% { translate: 0 0; filter: drop-shadow(0 0 5px #B8FFE8) drop-shadow(0 0 14px #43C878) drop-shadow(0 0 20px #F7A8FD88); }
    50% { translate: 0 -4px; filter: drop-shadow(0 0 8px #B8FFE8) drop-shadow(0 0 20px #43C878) drop-shadow(0 0 26px #F7A8FDaa); }
}
@keyframes bi4LedScan { from { background-position: 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0; } to { background-position: 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 24px, 0 0; } }
@keyframes bi4Glint { 0%, 55% { transform: translateX(-60%); opacity: 0; } 62% { opacity: 1; } 90%, 100% { transform: translateX(60%); opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
    .alice-butterfly-meter[data-al-theme="bi4"]::before, .alice-butterfly-meter[data-al-theme="bi4"]::after { animation: none; }
    .alice-butterfly-tooltip[data-al-theme="bi4"]::after, #alice-butterfly-workshop[data-al-theme="bi4"]::after { animation: none; opacity: 0; }
    [data-al-motif="bi4"] .al-wing__upper, [data-al-motif="bi4"] .al-wing__lower, [data-al-motif="bi4"] .al-motif.is-bi4 svg text { animation: none; }
}
/* A globális VFX-kapcsoló kikapcsolásakor a díszítő pszeudo-elemek is eltűnnek. */
.v3-vfx-disabled .alice-butterfly-meter[data-al-theme="bi4"]::before,
.v3-vfx-disabled .alice-butterfly-meter[data-al-theme="bi4"]::after { display: none; }

/* BI4 VIP prestige: the concert keeps its crystal wings and musical arcs;
   jewellery, champagne light and ivory satin replace neon stage surfaces. */
[data-al-theme="bi4vip"] {
    --al-deep: #21140d; --al-gold: #FCDEB1;
    --bi4-neon-pink: #FEFAFE; --bi4-neon-blue: #EDD7AF;
    --bi4-mint: #FCDEB1; --bi4-ice: #FEFAFE; --bi4-green: #BE9368;
}
[data-al-theme="bi4vip"] .al-wing__upper,
[data-al-theme="bi4vip"] .al-wing__lower { animation: none; stroke: #FCDEB1; stroke-width: .48; }
[data-al-theme="bi4vip"] .al-fly__body { fill: #673418; stroke: #FCDEB1; }
[data-al-theme="bi4vip"] .al-fly__antenna { stroke: #FCDEB1; }
[data-al-theme="bi4vip"] .al-fly__svg,
.alice-card-fx[data-al-theme="bi4vip"][data-tier] .al-fly__svg {
    filter: drop-shadow(0 0 2px #FEFAFEcc) drop-shadow(0 0 5px #FCDEB1aa);
}
[data-al-theme="bi4vip"] .al-motif.is-crown,
[data-al-theme="bi4vip"] .al-motif.is-gem,
[data-al-theme="bi4vip"] .al-motif.is-diamond { width: 19px; height: 19px; }
[data-al-theme="bi4vip"] .al-motif.is-champagne { width: 16px; height: 24px; }
[data-al-theme="bi4vip"] .al-motif.is-vip { width: 32px; height: 15px; }
[data-al-theme="bi4vip"] .al-motif.is-vip svg text { fill: #FEFAFE; filter: drop-shadow(0 0 3px #FCDEB1); }
[data-al-theme="bi4vip"] .al-motif.is-crown svg path:first-child { fill: #FCDEB1; stroke: #FEFAFE; stroke-width: .45; }
[data-al-theme="bi4vip"] .al-motif.is-champagne svg .is-line { stroke: #FEFAFE; stroke-width: 1.4; }
[data-al-theme="bi4vip"] .al-motif.is-champagne svg .is-soft { fill: #FCDEB1aa; }
[data-al-theme="bi4vip"] .al-motif.is-diamond svg .is-line,
[data-al-theme="bi4vip"] .al-motif.is-gem svg .is-line,
[data-al-theme="bi4vip"] .al-motif.is-staff svg .is-line { stroke: #FEFAFE; filter: drop-shadow(0 0 2px #FCDEB1); }
[data-al-theme="bi4vip"] .al-motif.is-staff svg circle { fill: #FCDEB1; filter: none; }
[data-al-theme="bi4vip"] .al-motif.is-sparkle svg path,
[data-al-theme="bi4vip"] .al-motif.is-gem svg path:first-child { filter: drop-shadow(0 0 3px #FCDEB1) drop-shadow(0 0 6px #FEFAFE66); }

.alice-butterfly-meter[data-al-theme="bi4vip"]::before,
.alice-butterfly-meter[data-al-theme="bi4vip"]::after {
    content: "VIP"; position: absolute; left: 50%; top: 33px; z-index: 2;
    color: #FEFAFE; font: 900 9px/1 Montserrat, sans-serif;
    letter-spacing: .8px; text-shadow: 0 0 4px #FCDEB1, 0 0 8px #BE9368;
    pointer-events: none; animation: bi4MeterOrbit 6.8s linear infinite;
}
.alice-butterfly-meter[data-al-theme="bi4vip"]::after { content: "◆"; color: #FCDEB1; font-size: 12px; animation-direction: reverse; animation-duration: 5.4s; }
.alice-butterfly-meter.is-full[data-al-theme="bi4vip"] .alice-butterfly-meter__halo { background: conic-gradient(from 0deg, #BE9368, #FEFAFE, #FCDEB1, #EDD7AF, #BE9368); }
.alice-butterfly-meter[data-al-theme="bi4vip"] .alice-butterfly-meter__icon { filter: drop-shadow(0 0 4px #FEFAFE88) drop-shadow(0 0 9px #FCDEB1); }
.alice-butterfly-meter[data-al-theme="bi4vip"] .alice-butterfly-meter__crown,
.alice-card-fx[data-al-theme="bi4vip"] .alice-card-fx__crown {
    filter: sepia(.85) saturate(.85) brightness(1.22) drop-shadow(0 0 5px #FCDEB1);
}
.v3-card.alice-queen-active[data-al-theme="bi4vip"] { box-shadow: 0 0 0 1px #FCDEB1bb, 0 0 18px #FCDEB188, 0 0 30px #FEFAFE44; }
.alice-card-fx[data-al-theme="bi4vip"] .alice-card-fx__aura {
    background: linear-gradient(135deg, transparent 46%, #FEFAFE22 50%, transparent 54%), radial-gradient(ellipse, transparent 45%, #BE93681f 62%, #FCDEB14c 68%, transparent 76%);
}
.alice-card-fx[data-al-theme="bi4vip"][data-tier="4"] .alice-card-fx__aura {
    background: conic-gradient(from var(--al-angle, 0deg), #FCDEB1, #FEFAFE, #BE9368, #EDD7AF, #FCDEB1);
    filter: drop-shadow(0 0 9px #FCDEB1bb) drop-shadow(0 0 16px #FEFAFE66);
}
.alice-card-fx[data-al-theme="bi4vip"] .alice-card-fx__dust { background: #FEFAFE; box-shadow: 0 0 4px #FCDEB1, 0 0 8px #FEFAFE66; }
.alice-card-fx[data-al-theme="bi4vip"] .alice-card-fx__burst { background: radial-gradient(circle, #FEFAFE88, #FCDEB14c 35%, #BE93682e 55%, transparent 72%); }

body.v3-body > .item-tooltip-floating.v3-tooltip-tone-alice-bi4vip,
body.v3-body > .v3-floating-tooltip.v3-tooltip-tone-alice-bi4vip {
    --v3-tooltip-accent: #FCDEB1; --v3-tooltip-value: #FEFAFE; --v3-tooltip-accent-rgb: 252, 222, 177;
    filter: drop-shadow(0 0 14px #FCDEB155) drop-shadow(0 0 22px #BE936833);
}
.alice-butterfly-tooltip[data-al-theme="bi4vip"],
#alice-butterfly-workshop[data-al-theme="bi4vip"] {
    border-color: #FCDEB1; outline-color: #EDD7AF66;
    background: linear-gradient(118deg, transparent 18%, #FEFAFE12 22%, transparent 27%, transparent 52%, #FCDEB112 56%, transparent 61%), radial-gradient(circle at 8% 4%, #BE936848, transparent 36%), radial-gradient(circle at 96% 96%, #EDD7AF25, transparent 46%), linear-gradient(150deg, #402917f5, #1e130bf7 52%, #2d211af5);
    box-shadow: 0 24px 70px #000e, 0 0 28px #FCDEB14c, inset 0 0 40px #BE936822, inset 0 1px 0 #FEFAFE66;
}
.alice-butterfly-tooltip.is-full[data-al-theme="bi4vip"],
#alice-butterfly-workshop.is-full[data-al-theme="bi4vip"] { box-shadow: 0 24px 70px #000e, 0 0 32px #FCDEB188, 0 0 20px #FEFAFE44, inset 0 0 44px #BE936833; }
.alice-butterfly-tooltip[data-al-theme="bi4vip"]::before,
#alice-butterfly-workshop[data-al-theme="bi4vip"]::before {
    opacity: .5;
    background: conic-gradient(from 198deg at 12% -4%, transparent 0 4deg, #FCDEB14a 6deg 13deg, transparent 15deg), conic-gradient(from 160deg at 90% -4%, transparent 0 3deg, #FEFAFE33 5deg 11deg, transparent 13deg), radial-gradient(1.6px 1.6px at 14% 24%, #FEFAFE, transparent 70%), radial-gradient(1.4px 1.4px at 46% 76%, #FCDEB1, transparent 70%), radial-gradient(1.8px 1.8px at 78% 38%, #FEFAFE, transparent 70%);
    background-size: 100% 100%, 100% 100%, 131px 107px, 173px 139px, 149px 121px;
}
.alice-butterfly-tooltip[data-al-theme="bi4vip"]::after,
#alice-butterfly-workshop[data-al-theme="bi4vip"]::after {
    content: ""; position: absolute; inset: -20% -60%; z-index: 1; pointer-events: none;
    background: linear-gradient(105deg, transparent 42%, #FEFAFE00 45%, #FEFAFE2e 50%, #FCDEB122 53%, transparent 58%);
    transform: translateX(-60%); animation: bi4Glint 6.4s ease-in-out infinite;
}
#alice-butterfly-workshop[data-al-theme="bi4vip"]::after { z-index: 0; }
.alice-butterfly-tooltip[data-al-theme="bi4vip"] header strong,
#alice-butterfly-workshop[data-al-theme="bi4vip"] .alice-butterfly-workshop__title h2 { text-shadow: 0 0 12px #BE9368, 0 0 22px #FCDEB188; }
.alice-butterfly-tooltip[data-al-theme="bi4vip"] header small,
.alice-butterfly-tooltip[data-al-theme="bi4vip"] header em,
.alice-butterfly-tooltip[data-al-theme="bi4vip"] .alice-butterfly-tooltip__hint { color: #EDD7AF; }
.alice-butterfly-tooltip[data-al-theme="bi4vip"] .alice-butterfly-tooltip__crest i,
#alice-butterfly-workshop[data-al-theme="bi4vip"] .alice-butterfly-workshop__crest i { background: radial-gradient(circle, #FCDEB166, #BE936822 55%, transparent 72%); }
.alice-butterfly-tooltip[data-al-theme="bi4vip"] .alice-butterfly-tooltip__crest img,
#alice-butterfly-workshop[data-al-theme="bi4vip"] .alice-butterfly-workshop__crest img { filter: drop-shadow(0 0 4px #FEFAFE88) drop-shadow(0 0 11px #FCDEB1); }
.alice-butterfly-tooltip[data-al-theme="bi4vip"] .alice-butterfly-tooltip__crest img.is-crown,
#alice-butterfly-workshop[data-al-theme="bi4vip"] .alice-butterfly-workshop__crest img.is-crown { filter: sepia(.85) saturate(.85) brightness(1.22) drop-shadow(0 0 5px #FCDEB1); }
.alice-butterfly-tooltip[data-al-theme="bi4vip"] .alice-butterfly-tooltip__bar-fill,
#alice-butterfly-workshop[data-al-theme="bi4vip"] .alice-butterfly-workshop__bar-fill { background: linear-gradient(90deg, #BE9368, #FCDEB1, #FEFAFE, #EDD7AF); box-shadow: 0 0 9px #FCDEB177; }
.alice-butterfly-tooltip[data-al-theme="bi4vip"] .alice-butterfly-tooltip__tier.is-current,
#alice-butterfly-workshop[data-al-theme="bi4vip"] .alice-butterfly-workshop__ladder article.is-current,
#alice-butterfly-workshop[data-al-theme="bi4vip"] .alice-butterfly-workshop__gallery article.is-current { border-color: #FCDEB1; background: #BE936822; box-shadow: inset 0 0 14px #FCDEB122, 0 0 10px #FCDEB166; }
.alice-butterfly-tooltip[data-al-theme="bi4vip"] .alice-butterfly-tooltip__line { border-left-color: #BE9368; background: #1e130b88; color: #FEFAFE; }
.alice-butterfly-tooltip[data-al-theme="bi4vip"] .alice-butterfly-tooltip__line.is-active,
.alice-butterfly-tooltip[data-al-theme="bi4vip"] .alice-butterfly-tooltip__line.is-queen { border-left-color: #FCDEB1; background: #67341844; }
[data-al-theme="bi4vip"] .ability-inline-icon.is-alice-keyword { filter: drop-shadow(0 0 3px #FCDEB1cc); }

.codex-alice-show[data-ac-theme="bi4vip"] {
    --al-wu: #FCDEB1; --al-wl: #EDD7AF; --al-wb: #673418;
    background: radial-gradient(circle at 8% 0%, #BE936844, transparent 44%), radial-gradient(circle at 92% 100%, #FCDEB122, transparent 48%), linear-gradient(145deg, #402917, #1e130b 58%, #2d211a);
    border-color: #FCDEB188; box-shadow: inset 0 0 42px #BE936822, 0 18px 38px #0007, 0 0 18px #FCDEB122;
}
.codex-alice-show[data-ac-theme="bi4vip"]::before { background: radial-gradient(2px 2px at 14% 24%, #FEFAFE, transparent 70%), radial-gradient(1.4px 1.4px at 52% 74%, #FCDEB1, transparent 70%), linear-gradient(130deg, transparent 34%, #FCDEB11a 38%, transparent 42%); background-size: 191px 143px, 239px 167px, 100% 100%; }
.codex-alice-show[data-ac-theme="bi4vip"] > header small { color: #EDD7AF; }
.codex-alice-show[data-ac-theme="bi4vip"] > header h3 { text-shadow: 0 0 16px #BE9368, 0 0 26px #FCDEB166; }
.codex-alice-show[data-ac-theme="bi4vip"] .codex-alice-show__emblem > img { filter: drop-shadow(0 0 4px #FEFAFE88) drop-shadow(0 0 12px #FCDEB1); }
.codex-alice-show[data-ac-theme="bi4vip"] .codex-alice-show__emblem > img.is-crown { filter: sepia(.85) saturate(.85) brightness(1.22) drop-shadow(0 0 5px #FCDEB1); }
.codex-alice-show[data-ac-theme="bi4vip"] .codex-alice-show__motif svg { animation: none; filter: drop-shadow(0 0 4px #FCDEB177); }
.codex-alice-show[data-ac-theme="bi4vip"] .al-wing__upper { fill: #FCDEB1; stroke: #FEFAFE; }
.codex-alice-show[data-ac-theme="bi4vip"] .al-wing__lower { fill: #EDD7AF; stroke: #FCDEB1; }
.alice-persistent-mark[data-al-theme="bi4vip"] .alice-mark-crown { animation: alice-mark-spark 3.6s ease-in-out infinite; filter: drop-shadow(0 0 3px #FCDEB1); }
@media (prefers-reduced-motion: reduce) {
    .alice-butterfly-meter[data-al-theme="bi4vip"]::before,
    .alice-butterfly-meter[data-al-theme="bi4vip"]::after { animation: none; }
    .alice-butterfly-tooltip[data-al-theme="bi4vip"]::after,
    #alice-butterfly-workshop[data-al-theme="bi4vip"]::after { animation: none; opacity: 0; }
}
.v3-vfx-disabled .alice-butterfly-meter[data-al-theme="bi4vip"]::before,
.v3-vfx-disabled .alice-butterfly-meter[data-al-theme="bi4vip"]::after { display: none; }
