/* =======================================
   CERALIA (heroId 94) – MIRAYA EZER CSÉSZÉS KANNÁJA – TEASZERTARTÁS
   =======================================
   Paletta (skin szerint, a JS írja felül inline változókkal):
   Alap: #F4E7C8, #D9A84A, #7FB98C, #F7F2EA, #2A2016 – porcelánfehér,
   aranyperem, zöldtea-jáde, gőzölgő aranytea.
   --cr-tea / --cr-tea-deep: a tea színe, --cr-glow: a kanna fénye,
   --cr-gold: peremek, --cr-spark: kiemelés, --cr-porcelain(-shade): csésze,
   --cr-jade: zöldtea-díszítés, --cr-deep / --cr-core: sötét háttér.
   --cr-tea-light: 0..6.
   Állapotok: .is-tea-N, .is-perfect / .ceralia-perfect (TÖKÉLETES
   SZERTARTÁS), Ceralia kártyáján .ceralia-fist-cracks[data-level],
   ellenséges kártyán .ceralia-tea-illusioned / .ceralia-false-feast. */

:root {
    --cr-1: #F4E7C8; --cr-2: #D9A84A; --cr-3: #7FB98C; --cr-4: #F7F2EA; --cr-5: #2A2016;
    --cr-tea: #D9A84A; --cr-tea-deep: #9C6A1E; --cr-glow: #F2C66B; --cr-gold: #E7BE5C; --cr-spark: #FFF6DA;
    --cr-porcelain: #F7F2EA; --cr-porcelain-shade: #C9BFAE; --cr-jade: #7FB98C; --cr-deep: #2A2016; --cr-core: #1B140D;
    --cr-night: #0b0805;
}
.ceralia-teapot-meter, .ceralia-tea-tooltip, #ceralia-tea-workshop { --cr-tea-light: 0; }

/* ---------------------------------------
   Közös porceláncsésze (inline SVG: alj, fül, test, tea, perem, gőz)
   Alap: üres, halvány porcelán. .is-on: aranyteával teli, gőzölgő csésze.
   --------------------------------------- */
.ceralia-teapot-meter__cups i svg,
.ceralia-tea-tooltip__cup svg,
.ceralia-illusion-veil__cup svg { display: block; width: 100%; height: 100%; overflow: visible; }
.ceralia-teapot-meter__cups .cr-cup-body,
.ceralia-tea-tooltip__cup .cr-cup-body,
.ceralia-illusion-veil__cup .cr-cup-body {
    fill: color-mix(in srgb, var(--cr-porcelain-shade) 55%, #2b2620);
    stroke: color-mix(in srgb, var(--cr-porcelain-shade) 70%, #fff); stroke-width: .9; stroke-linejoin: round;
    transition: fill .4s, stroke .4s;
}
.ceralia-teapot-meter__cups .cr-cup-handle,
.ceralia-tea-tooltip__cup .cr-cup-handle,
.ceralia-illusion-veil__cup .cr-cup-handle,
.ceralia-teapot-meter__cups .cr-cup-saucer,
.ceralia-tea-tooltip__cup .cr-cup-saucer,
.ceralia-illusion-veil__cup .cr-cup-saucer {
    fill: none; stroke: color-mix(in srgb, var(--cr-porcelain-shade) 75%, #fff); stroke-width: 1.4; stroke-linecap: round;
    transition: stroke .4s;
}
.ceralia-teapot-meter__cups .cr-cup-tea,
.ceralia-tea-tooltip__cup .cr-cup-tea,
.ceralia-illusion-veil__cup .cr-cup-tea { fill: #0008; transition: fill .4s, opacity .4s; }
.ceralia-teapot-meter__cups .cr-cup-rim,
.ceralia-tea-tooltip__cup .cr-cup-rim,
.ceralia-illusion-veil__cup .cr-cup-rim { fill: none; stroke: color-mix(in srgb, var(--cr-gold) 35%, #888); stroke-width: 1.3; stroke-linecap: round; transition: stroke .4s; }
.ceralia-teapot-meter__cups .cr-cup-steam,
.ceralia-tea-tooltip__cup .cr-cup-steam,
.ceralia-illusion-veil__cup .cr-cup-steam { fill: none; stroke: var(--cr-spark); stroke-width: .9; stroke-linecap: round; opacity: 0; transition: opacity .4s; }
/* Teli csésze: porcelán + arany perem + aranytea + gőz. */
.ceralia-teapot-meter__cups i.is-on .cr-cup-body,
.ceralia-tea-tooltip__cup.is-on .cr-cup-body,
.ceralia-illusion-veil__cup .cr-cup-body { fill: var(--cr-porcelain); stroke: var(--cr-gold); }
.ceralia-teapot-meter__cups i.is-on :is(.cr-cup-handle, .cr-cup-saucer),
.ceralia-tea-tooltip__cup.is-on :is(.cr-cup-handle, .cr-cup-saucer),
.ceralia-illusion-veil__cup :is(.cr-cup-handle, .cr-cup-saucer) { stroke: var(--cr-gold); }
.ceralia-teapot-meter__cups i.is-on .cr-cup-tea,
.ceralia-tea-tooltip__cup.is-on .cr-cup-tea { fill: var(--cr-tea); filter: drop-shadow(0 0 2px var(--cr-glow)); }
.ceralia-teapot-meter__cups i.is-on .cr-cup-rim,
.ceralia-tea-tooltip__cup.is-on .cr-cup-rim,
.ceralia-illusion-veil__cup .cr-cup-rim { stroke: var(--cr-spark); }
.ceralia-teapot-meter__cups i.is-on .cr-cup-steam,
.ceralia-tea-tooltip__cup.is-on .cr-cup-steam { opacity: .8; animation: crSteam 2.4s ease-in-out infinite; animation-delay: calc(var(--c-i) * -.4s); }
/* Tea Illúzió csésze: zöldes, ködös illúzió-tea. */
.ceralia-illusion-veil__cup .cr-cup-tea { fill: color-mix(in srgb, var(--cr-jade) 70%, var(--cr-tea)); }
.ceralia-illusion-veil__cup .cr-cup-steam { opacity: .85; stroke: color-mix(in srgb, var(--cr-jade) 45%, #fff); animation: crSteam 2s ease-in-out infinite; }

/* ---------------------------------------
   Teáskanna-mérő a kártyán (mechanika-ikon) – a Zahira-mérővel azonos slot
   --------------------------------------- */
.ceralia-teapot-meter {
    position: absolute; left: 40px; bottom: 5px; z-index: 19;
    width: 100px; height: 88px; padding: 0; border: 0;
    background: transparent; color: #fff; cursor: pointer; isolation: isolate;
    filter: drop-shadow(0 7px 9px #000d);
}
.ceralia-teapot-meter[hidden] { display: none; }
.ceralia-teapot-meter:focus-visible { outline: 2px solid var(--cr-glow); outline-offset: 2px; border-radius: 50%; }
/* Körvonalas, teljes kitöltésű háttér (nem kék keret): sötét teaház-mag,
   aranyfény a közepén, arany szaggatott belső körvonallal. */
.ceralia-teapot-meter::before {
    position: absolute; inset: 14px 14px 8px; z-index: -1; content: "";
    border: 1.5px solid color-mix(in srgb, var(--cr-gold) 55%, var(--cr-porcelain-shade));
    border-radius: 50%;
    outline: 1px dashed color-mix(in srgb, var(--cr-jade) 50%, transparent); outline-offset: -5px;
    background:
        radial-gradient(circle at 50% 50%, color-mix(in srgb, var(--cr-glow) calc(10% + var(--cr-tea-light) * 5%), transparent), transparent 62%),
        radial-gradient(ellipse 80% 40% at 50% 100%, color-mix(in srgb, var(--cr-jade) 30%, transparent), transparent 70%),
        radial-gradient(circle, color-mix(in srgb, var(--cr-deep) 80%, transparent), color-mix(in srgb, var(--cr-night) 94%, #000));
    box-shadow: 0 0 10px color-mix(in srgb, var(--cr-glow) 25%, transparent), inset 0 0 18px #000c;
    animation: crMeterBreath 3.8s ease-in-out infinite alternate;
}
.ceralia-teapot-meter:is(.is-tea-4, .is-tea-5)::before {
    border-color: color-mix(in srgb, var(--cr-gold) 85%, var(--cr-spark));
    box-shadow: 0 0 15px color-mix(in srgb, var(--cr-glow) 45%, transparent), inset 0 0 18px #000;
}
.ceralia-teapot-meter.is-perfect::before {
    border-color: var(--cr-spark);
    background:
        radial-gradient(circle at 50% 50%, color-mix(in srgb, var(--cr-glow) 55%, transparent), transparent 64%),
        radial-gradient(ellipse 80% 40% at 50% 100%, color-mix(in srgb, var(--cr-gold) 45%, transparent), transparent 70%),
        radial-gradient(circle, color-mix(in srgb, var(--cr-tea-deep) 55%, #000), #000);
    box-shadow: 0 0 22px var(--cr-glow), 0 0 40px color-mix(in srgb, var(--cr-gold) 60%, transparent), inset 0 0 22px #000;
    animation: crPerfectPulse .95s ease-in-out infinite alternate;
}
/* Háttérfény + aranypor. */
.ceralia-teapot-meter__aura {
    position: absolute; inset: -6px 2px 0; z-index: -2; border-radius: 50%; pointer-events: none;
    opacity: calc(.15 + var(--cr-tea-light) * .12);
    background:
        radial-gradient(circle 1.6px at 22% 70%, var(--cr-gold), transparent 70%),
        radial-gradient(circle 1.4px at 76% 62%, var(--cr-spark), transparent 70%),
        radial-gradient(circle 1.8px at 64% 84%, var(--cr-jade), transparent 70%),
        radial-gradient(circle 1.2px at 36% 86%, var(--cr-spark), transparent 70%),
        radial-gradient(circle, color-mix(in srgb, var(--cr-glow) 50%, transparent), color-mix(in srgb, var(--cr-tea-deep) 45%, transparent) 50%, transparent 72%);
    animation: crAuraDrift 4.4s ease-in-out infinite;
    transition: opacity .5s;
}
.ceralia-teapot-meter.is-perfect .ceralia-teapot-meter__aura { opacity: 1; animation: crAuraDrift 1.8s ease-in-out infinite, crAuraFlicker 1.4s ease-in-out infinite; }
/* Arany teapatak: csak 6/6-nál (TÖKÉLETES SZERTARTÁS) látszik. */
.ceralia-teapot-meter__stream { position: absolute; inset: 0; z-index: 2; width: 100px; height: 88px; overflow: visible; pointer-events: none; }
.ceralia-teapot-meter__arc, .ceralia-teapot-meter__pour {
    fill: none; stroke: var(--cr-gold); stroke-width: 1.8; stroke-linecap: round;
    stroke-dasharray: 5 4; opacity: 0; transition: opacity .5s;
}
.ceralia-teapot-meter__arc { stroke-width: 1; stroke-dasharray: 2 5; }
.ceralia-teapot-meter:is(.is-tea-3, .is-tea-4, .is-tea-5) .ceralia-teapot-meter__arc { opacity: .45; animation: crStreamFlow 3s linear infinite; }
.ceralia-teapot-meter.is-perfect .ceralia-teapot-meter__arc {
    opacity: 1; stroke: var(--cr-spark); stroke-width: 1.6; stroke-dasharray: 7 3;
    filter: drop-shadow(0 0 2px var(--cr-gold)) drop-shadow(0 0 5px var(--cr-glow));
    animation: crStreamFlow .9s linear infinite;
}
.ceralia-teapot-meter.is-perfect .ceralia-teapot-meter__pour {
    opacity: 1; stroke: var(--cr-gold); stroke-width: 2.4; stroke-dasharray: 6 3;
    filter: drop-shadow(0 0 3px var(--cr-glow));
    animation: crStreamFlow .7s linear infinite;
}
.ceralia-teapot-meter.is-perfect .ceralia-teapot-meter__pour.is-left { animation-direction: reverse; }
.ceralia-teapot-meter__glow {
    position: absolute; left: 50%; top: 48px; z-index: 3; width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 50%;
    background: radial-gradient(circle, color-mix(in srgb, var(--cr-spark) 45%, transparent), color-mix(in srgb, var(--cr-glow) 34%, transparent) 45%, transparent 70%);
    opacity: calc(.12 + var(--cr-tea-light) * .13); pointer-events: none; transition: opacity .5s;
}
.ceralia-teapot-meter.is-perfect .ceralia-teapot-meter__glow { opacity: 1; animation: crGlowPulse .95s ease-in-out infinite; }
/* Gőz a kanna fölött. */
.ceralia-teapot-meter__steam { position: absolute; left: 50%; top: 22px; z-index: 3; width: 24px; height: 18px; margin-left: -12px; pointer-events: none; }
.ceralia-teapot-meter__steam i {
    position: absolute; bottom: 0; left: calc(15% + var(--s-i, 0) * 30%); width: 5px; height: 12px; border-radius: 50%;
    background: radial-gradient(ellipse, color-mix(in srgb, var(--cr-spark) 70%, transparent), transparent 70%);
    opacity: 0; animation: crSteamPuff 2.8s ease-out infinite;
}
.ceralia-teapot-meter__steam i:nth-child(1) { --s-i: 0; }
.ceralia-teapot-meter__steam i:nth-child(2) { --s-i: 1; animation-delay: -.9s; }
.ceralia-teapot-meter__steam i:nth-child(3) { --s-i: 2; animation-delay: -1.8s; }
.ceralia-teapot-meter.is-perfect .ceralia-teapot-meter__steam i { background: radial-gradient(ellipse, var(--cr-spark), color-mix(in srgb, var(--cr-glow) 60%, transparent) 50%, transparent 72%); animation-duration: 1.6s; }
/* A teáskanna (skinfüggő ikon): alapból tompább, Teafényenként erősebb. */
.ceralia-teapot-meter__pot {
    position: absolute; z-index: 4; left: 50%; top: 50px; width: 46px; height: 46px; margin: -23px 0 0 -23px; object-fit: contain;
    opacity: calc(.74 + var(--cr-tea-light) * .045);
    filter: brightness(calc(.82 + var(--cr-tea-light) * .05)) drop-shadow(0 0 4px color-mix(in srgb, var(--cr-glow) 60%, transparent)) drop-shadow(0 0 1px #000);
    animation: crPotBob 3.4s ease-in-out infinite;
    transition: filter .5s, opacity .5s;
}
.ceralia-teapot-meter.is-perfect .ceralia-teapot-meter__pot {
    opacity: 1; filter: brightness(1.18) drop-shadow(0 0 5px var(--cr-spark)) drop-shadow(0 0 10px var(--cr-glow));
    animation: crPotPour 2.2s ease-in-out infinite;
}
/* A 6 Teafény-csésze: halvány üres porcelán / teli, izzó aranytea. */
.ceralia-teapot-meter__cups { position: absolute; inset: 0; z-index: 5; pointer-events: none; }
.ceralia-teapot-meter__cups i {
    position: absolute; width: 17px; height: 15px; margin-left: -8.5px; font-style: normal;
    opacity: .6; filter: grayscale(.7) brightness(.8) drop-shadow(0 1px 2px #000);
    animation: crCupFloat 3.2s ease-in-out infinite; animation-delay: calc(var(--c-i) * -.55s);
    transition: opacity .4s, filter .4s;
}
.ceralia-teapot-meter__cups i.is-on {
    opacity: 1; filter: drop-shadow(0 0 3px var(--cr-glow)) drop-shadow(0 1px 2px #000);
    animation: crCupFloat 3.2s ease-in-out infinite, crCupGlow 1.6s ease-in-out infinite alternate; animation-delay: calc(var(--c-i) * -.55s), calc(var(--c-i) * -.3s);
}
.ceralia-teapot-meter.is-perfect .ceralia-teapot-meter__cups i.is-on { animation: crCupOrbit 1.3s ease-in-out infinite, crCupGlow .7s ease-in-out infinite alternate; animation-delay: calc(var(--c-i) * -.22s), calc(var(--c-i) * -.15s); }
.ceralia-teapot-meter__count {
    position: absolute; z-index: 6; left: 50%; bottom: 0; transform: translateX(-50%);
    display: flex; align-items: center; justify-content: center; min-width: 30px; padding: 3px 7px;
    border: 1px solid color-mix(in srgb, var(--cr-gold) 75%, var(--cr-porcelain-shade)); border-radius: 10px;
    background: linear-gradient(135deg, color-mix(in srgb, var(--cr-deep) 85%, #000), #0b0805f0);
    box-shadow: 0 0 9px color-mix(in srgb, var(--cr-glow) 40%, transparent);
}
.ceralia-teapot-meter__count b { font: 900 10px/1 Montserrat, sans-serif; white-space: nowrap; color: var(--cr-spark); text-shadow: 0 0 6px var(--cr-gold); }
.ceralia-teapot-meter.is-perfect .ceralia-teapot-meter__count { border-color: var(--cr-spark); background: linear-gradient(135deg, color-mix(in srgb, var(--cr-tea-deep) 70%, var(--cr-glow)), #000); animation: crBadgeGlow 1s ease-in-out infinite alternate; }
/* Egyszeri villanások: +1 Teafény / 6/6 / Szertartás elfogyasztása. */
.ceralia-teapot-meter.is-gain .ceralia-teapot-meter__pot { animation: crPotGain .7s cubic-bezier(.2, 1.4, .4, 1); }
.ceralia-teapot-meter.is-gain .ceralia-teapot-meter__count { animation: crPop .55s cubic-bezier(.2, 1.6, .4, 1); }
.ceralia-teapot-meter.is-full-gain::after, .ceralia-teapot-meter.is-consume::after {
    position: absolute; inset: -8px; z-index: 7; content: ""; border-radius: 50%; pointer-events: none;
    border: 2px solid var(--cr-spark);
    background: radial-gradient(circle, color-mix(in srgb, var(--cr-glow) 60%, transparent), transparent 70%);
    animation: crBurst 1.1s ease-out forwards;
}
.ceralia-teapot-meter.is-consume::after {
    inset: -16px; border-color: var(--cr-gold); border-style: dashed;
    background: radial-gradient(circle, color-mix(in srgb, var(--cr-gold) 55%, transparent), color-mix(in srgb, var(--cr-jade) 22%, transparent) 45%, transparent 70%);
    animation-duration: 1.3s;
}
.ceralia-teapot-meter.is-full-gain .ceralia-teapot-meter__pot, .ceralia-teapot-meter.is-consume .ceralia-teapot-meter__pot { animation: crPotSlam 1.1s cubic-bezier(.2, 1.4, .4, 1); }

/* ---------------------------------------
   Ceralia kártyája: témás fény, TÖKÉLETES SZERTARTÁS, elesett, Porcelánököl-repedések
   --------------------------------------- */
.v3-card.ceralia-card .hero-banner-wrapper { box-shadow: 0 0 14px rgba(0, 0, 0, .5), inset 0 -26px 34px -24px color-mix(in srgb, var(--cr-glow) 38%, transparent); }
.v3-card.ceralia-perfect .hero-banner-wrapper { box-shadow: 0 0 18px color-mix(in srgb, var(--cr-glow) 60%, transparent), inset 0 -40px 44px -26px color-mix(in srgb, var(--cr-gold) 55%, transparent); }
.v3-card.ceralia-fallen .ceralia-teapot-meter { filter: grayscale(.85) brightness(.6) drop-shadow(0 7px 9px #000d); }
.v3-card.ceralia-fallen .ceralia-teapot-meter *, .v3-card.ceralia-fallen .ceralia-teapot-meter::before { animation: none !important; }
.v3-card > .ceralia-fist-cracks {
    position: absolute; inset: 3% 4%; z-index: 11; overflow: hidden; pointer-events: none; border-radius: 14px;
    opacity: 1; visibility: visible; transition: opacity .2s ease, visibility 0s linear 0s;
}
.v3-card.v3-flipped > .ceralia-fist-cracks { opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility 0s linear .2s; }
.ceralia-fist-cracks > svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ceralia-fist-cracks .cr-crack {
    fill: none; stroke: var(--cr-gold); stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round;
    vector-effect: non-scaling-stroke; opacity: 0;
    filter: drop-shadow(0 0 1.5px #000) drop-shadow(0 0 3px var(--cr-glow));
    transition: opacity .5s;
}
.ceralia-fist-cracks:is([data-level="1"], [data-level="2"], [data-level="3"], [data-level="4"], [data-level="5"]) .cr-crack.is-l1,
.ceralia-fist-cracks:is([data-level="2"], [data-level="3"], [data-level="4"], [data-level="5"]) .cr-crack.is-l2,
.ceralia-fist-cracks:is([data-level="3"], [data-level="4"], [data-level="5"]) .cr-crack.is-l3,
.ceralia-fist-cracks:is([data-level="4"], [data-level="5"]) .cr-crack.is-l4,
.ceralia-fist-cracks[data-level="5"] .cr-crack.is-l5 { opacity: .8; }
.ceralia-fist-cracks.is-max .cr-crack { stroke: var(--cr-spark); stroke-width: 2.2; animation: crCrackShine 2.2s ease-in-out infinite; }
.ceralia-fist-cracks.is-level-up > svg { animation: crCrackGain .9s ease-out; }
.v3-card.ceralia-fallen > .ceralia-fist-cracks { filter: grayscale(.8) brightness(.6); }

/* ---------------------------------------
   Ellenséges kártya: Tea Illúzió porcelán-fátyol (gőz, zöldtea-köd, csésze)
   --------------------------------------- */
.v3-card > .ceralia-illusion-veil {
    position: absolute; inset: 3% 4%; z-index: 11; overflow: hidden; pointer-events: none; border-radius: 14px;
    opacity: 1; visibility: visible; transition: opacity .2s ease, visibility 0s linear 0s;
}
.v3-card.v3-flipped > .ceralia-illusion-veil { opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility 0s linear .2s; }
.ceralia-illusion-veil__mist {
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse 90% 30% at 50% 102%, color-mix(in srgb, var(--cr-jade) 34%, transparent), transparent 70%),
        radial-gradient(ellipse 60% 22% at 30% 88%, color-mix(in srgb, var(--cr-porcelain) 16%, transparent), transparent 70%),
        radial-gradient(ellipse 60% 22% at 72% 92%, color-mix(in srgb, var(--cr-gold) 14%, transparent), transparent 70%);
    animation: crMistDrift 5s ease-in-out infinite alternate;
}
.ceralia-illusion-veil__steam { position: absolute; inset: auto 0 6%; height: 48%; }
.ceralia-illusion-veil__steam i {
    position: absolute; bottom: 0; width: 14px; height: 30px; border-radius: 50%;
    background: radial-gradient(ellipse, color-mix(in srgb, var(--cr-porcelain) 30%, transparent), transparent 70%);
    opacity: 0; animation: crVeilSteam 4.2s ease-out infinite;
}
.ceralia-illusion-veil__steam i:nth-child(1) { left: 14%; }
.ceralia-illusion-veil__steam i:nth-child(2) { left: 38%; animation-delay: -1.1s; }
.ceralia-illusion-veil__steam i:nth-child(3) { left: 62%; animation-delay: -2.2s; }
.ceralia-illusion-veil__steam i:nth-child(4) { left: 82%; animation-delay: -3.2s; }
.ceralia-illusion-veil__cup {
    position: absolute; right: 8%; bottom: 7%; width: 20px; height: 17px; opacity: .85;
    filter: drop-shadow(0 0 3px color-mix(in srgb, var(--cr-jade) 70%, transparent)) drop-shadow(0 1px 2px #000);
    animation: crCupFloat 3s ease-in-out infinite;
}
.ceralia-illusion-veil.is-empowered .ceralia-illusion-veil__mist {
    background:
        radial-gradient(ellipse 90% 32% at 50% 102%, color-mix(in srgb, var(--cr-gold) 34%, transparent), transparent 70%),
        radial-gradient(ellipse 60% 22% at 30% 88%, color-mix(in srgb, var(--cr-jade) 26%, transparent), transparent 70%),
        radial-gradient(ellipse 60% 22% at 72% 92%, color-mix(in srgb, var(--cr-porcelain) 18%, transparent), transparent 70%);
}
.ceralia-illusion-veil.is-empowered .ceralia-illusion-veil__cup .cr-cup-rim { stroke: var(--cr-gold); }
.ceralia-illusion-veil.is-applied { animation: crVeilIn .9s ease-out; }
.v3-card.ceralia-tea-illusioned .hero-banner-wrapper { box-shadow: 0 0 14px rgba(0, 0, 0, .5), inset 0 -24px 30px -22px color-mix(in srgb, var(--cr-jade) 50%, transparent); }
.v3-card.ceralia-false-feast .hero-banner-wrapper { box-shadow: 0 0 14px rgba(0, 0, 0, .5), inset 0 -26px 32px -22px color-mix(in srgb, var(--cr-gold) 50%, transparent); }

/* ---------------------------------------
   Prémium tooltip (full-bleed, saját körvonal – nem kék keret)
   --------------------------------------- */
body.v3-body > .item-tooltip-floating:not(.v3-pikko-potion-tooltip):has(.ceralia-tea-tooltip),
body.v3-body > .v3-floating-tooltip:has(.ceralia-tea-tooltip) {
    width: min(430px, calc(100vw - 20px)) !important; max-width: 430px !important; max-height: none !important;
    padding: 0 !important; border: 0 !important; border-radius: 20px;
    background: transparent !important; box-shadow: none !important; overflow: visible !important;
}
body.v3-body > .item-tooltip-floating:not(.v3-pikko-potion-tooltip) > .item-tooltip-desc:has(.ceralia-tea-tooltip) { margin: 0 !important; color: inherit; font-size: inherit !important; line-height: inherit !important; }
.item-tooltip-floating .item-tooltip-desc:has(.ceralia-tea-tooltip) { margin: 0 !important; color: inherit; font-size: inherit; line-height: inherit; }
.ceralia-tea-tooltip {
    position: relative; isolation: isolate; box-sizing: border-box; display: block; width: 100%;
    padding: 16px; overflow: hidden;
    border: 2px solid color-mix(in srgb, var(--cr-gold) 70%, var(--cr-porcelain-shade)); border-radius: 20px;
    outline: 1px dashed color-mix(in srgb, var(--cr-jade) 50%, transparent); outline-offset: -6px;
    background:
        radial-gradient(circle at 8% 4%, color-mix(in srgb, var(--cr-glow) 22%, transparent), transparent 34%),
        radial-gradient(ellipse 70% 40% at 50% 108%, color-mix(in srgb, var(--cr-jade) 22%, transparent), transparent 70%),
        linear-gradient(155deg, color-mix(in srgb, var(--cr-deep) 85%, #000), color-mix(in srgb, var(--cr-night) 94%, #000) 55%, color-mix(in srgb, var(--cr-core) 80%, var(--cr-tea-deep)));
    box-shadow: 0 24px 70px #000e, 0 0 26px color-mix(in srgb, var(--cr-glow) 26%, transparent), inset 0 0 48px #0008;
    color: #fff; font-family: Outfit, sans-serif; text-align: left;
}
.ceralia-tea-tooltip:is(.is-tea-4, .is-tea-5) { box-shadow: 0 24px 70px #000e, 0 0 32px color-mix(in srgb, var(--cr-glow) 42%, transparent), inset 0 0 48px #0009; }
.ceralia-tea-tooltip.is-perfect {
    border-color: var(--cr-spark);
    box-shadow: 0 24px 70px #000e, 0 0 42px var(--cr-glow), 0 0 0 3px color-mix(in srgb, var(--cr-tea-deep) 70%, var(--cr-gold)), inset 0 0 52px #000b;
}
/* Porcelán-textúra: finom mázrepedések, arany pontok, csésze-perem minta. */
.ceralia-tea-tooltip::before, #ceralia-tea-workshop::before {
    content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .28;
    background:
        linear-gradient(118deg, transparent 46%, color-mix(in srgb, var(--cr-gold) 30%, transparent) 46.3% 46.6%, transparent 46.9%),
        linear-gradient(32deg, transparent 70%, color-mix(in srgb, var(--cr-gold) 24%, transparent) 70.2% 70.5%, transparent 70.8%),
        radial-gradient(circle 1.4px at 20% 30%, color-mix(in srgb, var(--cr-spark) 70%, transparent), transparent 70%),
        radial-gradient(circle 1.8px at 78% 68%, color-mix(in srgb, var(--cr-gold) 70%, transparent), transparent 70%),
        repeating-radial-gradient(circle at 50% 120%, transparent 0 22px, color-mix(in srgb, var(--cr-jade) 18%, transparent) 22px 23px);
    background-size: 100% 100%, 100% 100%, 80px 72px, 112px 100px, 100% 100%;
}
.ceralia-tea-tooltip > * { position: relative; z-index: 2; }
.ceralia-tea-tooltip > .ceralia-tea-tooltip__vfx { position: absolute; z-index: 0; inset: 0; pointer-events: none; overflow: hidden; }
.ceralia-tea-tooltip__vfx i {
    position: absolute; top: 104%; left: calc(4% + var(--m-i) * 15%); width: 12px; height: 26px; border-radius: 50%; opacity: 0; font-style: normal;
    background: radial-gradient(ellipse, color-mix(in srgb, var(--cr-spark) 45%, transparent), color-mix(in srgb, var(--cr-glow) 18%, transparent) 50%, transparent 72%);
    animation: crSteamRiseFar 7.5s linear infinite; animation-delay: calc(var(--m-i) * -1.1s);
}
.ceralia-tea-tooltip.is-tea-0 .ceralia-tea-tooltip__vfx { opacity: .45; }
.ceralia-tea-tooltip.is-perfect .ceralia-tea-tooltip__vfx i { animation-duration: 4.2s; background: radial-gradient(ellipse, var(--cr-spark), color-mix(in srgb, var(--cr-gold) 40%, transparent) 50%, transparent 72%); }
.ceralia-tea-tooltip header {
    display: flex; align-items: center; gap: 12px; margin-bottom: 11px; padding-bottom: 11px;
    border-bottom: 1px dashed color-mix(in srgb, var(--cr-gold) 45%, transparent);
}
.ceralia-tea-tooltip__crest, .ceralia-tea-workshop__crest { position: relative; flex: 0 0 62px; width: 62px; height: 66px; }
.ceralia-tea-tooltip__crest > i, .ceralia-tea-workshop__crest > i {
    position: absolute; inset: 2px; border-radius: 50%;
    border: 1px dashed color-mix(in srgb, var(--cr-gold) 70%, transparent);
    background: radial-gradient(circle, color-mix(in srgb, var(--cr-glow) 30%, transparent), transparent 68%);
    animation: crSpin 16s linear infinite;
}
.ceralia-tea-tooltip__crest > i + i, .ceralia-tea-workshop__crest > i + i {
    inset: 10px; border-style: solid; border-color: color-mix(in srgb, var(--cr-jade) 55%, transparent) transparent; background: none;
    animation-duration: 7s; animation-direction: reverse;
}
.ceralia-tea-tooltip__crest > img, .ceralia-tea-workshop__crest > img {
    position: absolute; inset: 0; margin: auto; width: 52px; height: 52px; object-fit: contain; transform-origin: 50% 50%;
    filter: drop-shadow(0 0 5px color-mix(in srgb, var(--cr-glow) 65%, transparent)) drop-shadow(0 0 2px #000);
    animation: crPotBob 3.4s ease-in-out infinite;
}
.ceralia-tea-tooltip.is-perfect .ceralia-tea-tooltip__crest > img,
#ceralia-tea-workshop.is-perfect .ceralia-tea-workshop__crest > img { filter: brightness(1.15) drop-shadow(0 0 6px var(--cr-spark)) drop-shadow(0 0 12px var(--cr-glow)); animation: crGlowPulse .95s ease-in-out infinite; }
.ceralia-tea-tooltip header > div { display: grid; flex: 1; gap: 2px; min-width: 0; }
.ceralia-tea-tooltip header small { color: var(--cr-gold); font: 800 9px/1 Montserrat, sans-serif; letter-spacing: .16em; }
.ceralia-tea-tooltip header strong { font: 900 17px/1.12 Montserrat, sans-serif; text-shadow: 0 0 14px color-mix(in srgb, var(--cr-glow) 80%, transparent); }
.ceralia-tea-tooltip header em { color: color-mix(in srgb, var(--cr-1) 70%, #fff); font: 800 10.5px/1.25 Outfit, sans-serif; font-style: normal; letter-spacing: .03em; }
.ceralia-tea-tooltip.is-perfect header em { color: var(--cr-spark); font-weight: 900; text-shadow: 0 0 8px var(--cr-glow); }
.ceralia-tea-tooltip header > b { display: grid; justify-items: center; gap: 2px; padding: 5px 9px; border: 1px solid color-mix(in srgb, var(--cr-gold) 65%, var(--cr-porcelain-shade)); border-radius: 11px; background: #0007; }
.ceralia-tea-tooltip header > b span { color: #fff; font: 900 20px/1 Montserrat, sans-serif; text-shadow: 0 0 10px var(--cr-glow); }
.ceralia-tea-tooltip header > b small { color: #fff; font: 800 7px/1 Montserrat, sans-serif; letter-spacing: .1em; }
/* Teafény-csészék: üres porcelán foglalat / teli, izzó csésze. */
.ceralia-tea-tooltip__cups { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 7px; margin: 2px 0 11px; }
.ceralia-tea-tooltip__cup {
    display: grid; width: 34px; height: 34px; place-items: center; box-sizing: border-box; padding: 6px 5px 5px;
    border: 1px dashed color-mix(in srgb, var(--cr-porcelain-shade) 55%, transparent); border-radius: 50%; background: #000a; font-style: normal;
    filter: grayscale(.6) brightness(.78); transition: filter .4s, border-color .4s, box-shadow .4s;
}
.ceralia-tea-tooltip__cup.is-on {
    border-style: solid; border-color: var(--cr-gold); filter: none;
    background: radial-gradient(circle, color-mix(in srgb, var(--cr-glow) 30%, transparent), #000a 70%);
    box-shadow: 0 0 10px color-mix(in srgb, var(--cr-glow) 55%, transparent);
    animation: crCupFloat 2.8s ease-in-out infinite; animation-delay: calc(var(--c-i) * -.5s);
}
.ceralia-tea-tooltip.is-perfect .ceralia-tea-tooltip__cup.is-on { border-color: var(--cr-spark); animation: crCupFloat 1.2s ease-in-out infinite, crCupGlow .7s ease-in-out infinite alternate; animation-delay: calc(var(--c-i) * -.2s); }
.ceralia-tea-tooltip__cups > b { margin-left: 4px; color: #fff; font: 900 14px/1 Montserrat, sans-serif; letter-spacing: .04em; text-shadow: 0 0 8px var(--cr-glow); }
.ceralia-tea-tooltip.is-perfect .ceralia-tea-tooltip__cups > b { color: var(--cr-spark); font-size: 11px; letter-spacing: .1em; }
.ceralia-tea-tooltip__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; margin-bottom: 8px; }
.ceralia-tea-tooltip__facts span { display: grid; justify-items: center; gap: 3px; padding: 6px 4px; border: 1px solid color-mix(in srgb, var(--cr-gold) 24%, transparent); border-radius: 9px; background: #0006; text-align: center; }
.ceralia-tea-tooltip__facts img { width: 18px; height: 18px; object-fit: contain; border-radius: 4px; filter: drop-shadow(0 0 3px color-mix(in srgb, var(--cr-glow) 60%, transparent)); }
.ceralia-tea-tooltip__facts small { color: color-mix(in srgb, var(--cr-1) 55%, #fff); font: 700 8px/1.1 Montserrat, sans-serif; letter-spacing: .05em; }
.ceralia-tea-tooltip__facts b { color: #fff; font: 900 13px/1 Montserrat, sans-serif; text-shadow: 0 0 7px var(--cr-glow); }
/* Tea Illúziós ellenfelek – csak ha van ilyen. */
.ceralia-tea-tooltip__illusions { display: grid; gap: 4px; margin: 0 0 6px; }
.ceralia-tea-tooltip__illusions > span {
    display: grid; grid-template-columns: 22px minmax(0, 1fr) auto auto; align-items: center; gap: 7px; padding: 5px 8px;
    border-left: 2px solid color-mix(in srgb, var(--cr-jade) 75%, transparent); border-radius: 0 8px 8px 0; background: #0005;
}
.ceralia-tea-tooltip__illusions img { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; border: 1px solid color-mix(in srgb, var(--cr-jade) 70%, transparent); }
.ceralia-tea-tooltip__illusions strong { overflow: hidden; color: #fff; font: 800 10.5px/1.2 Montserrat, sans-serif; text-overflow: ellipsis; white-space: nowrap; }
.ceralia-tea-tooltip__illusions b { color: color-mix(in srgb, var(--cr-jade) 45%, #fff); font: 900 10px/1 Montserrat, sans-serif; white-space: nowrap; }
.ceralia-tea-tooltip__illusions small { color: color-mix(in srgb, var(--cr-1) 40%, #bbb); font: 600 8.5px/1 Outfit, sans-serif; white-space: nowrap; }
.ceralia-tea-tooltip__illusions > span.is-empowered { border-left-color: var(--cr-gold); background: color-mix(in srgb, var(--cr-tea-deep) 30%, #0006); box-shadow: inset 0 0 12px color-mix(in srgb, var(--cr-glow) 22%, transparent); }
.ceralia-tea-tooltip__illusions > span.is-empowered b { color: var(--cr-spark); letter-spacing: .05em; text-shadow: 0 0 7px var(--cr-glow); }
.ceralia-tea-tooltip__hint { display: block; margin-top: 9px; color: var(--cr-gold); font: 700 8px/1.3 Montserrat, sans-serif; text-align: center; letter-spacing: .06em; }
.ceralia-tea-tooltip .ability-inline-icon.is-ceralia-keyword { width: 1.4em; height: 1.4em; }

/* ---------------------------------------
   Miraya Ezer Csészés Kannája popup (dialog)
   --------------------------------------- */
#ceralia-tea-workshop {
    position: fixed; width: min(1140px, 95vw); max-width: 95vw; max-height: 92vh; padding: 0; overflow: hidden;
    border: 2px solid color-mix(in srgb, var(--cr-gold) 70%, var(--cr-porcelain-shade)); border-radius: 22px;
    outline: 1px dashed color-mix(in srgb, var(--cr-jade) 45%, transparent); outline-offset: -7px;
    background:
        radial-gradient(circle at 8% 0, color-mix(in srgb, var(--cr-glow) 20%, transparent), transparent 34%),
        radial-gradient(ellipse 60% 30% at 50% 104%, color-mix(in srgb, var(--cr-jade) 22%, transparent), transparent 70%),
        linear-gradient(145deg, color-mix(in srgb, var(--cr-deep) 85%, #000), color-mix(in srgb, var(--cr-night) 95%, #000) 60%, color-mix(in srgb, var(--cr-core) 80%, var(--cr-tea-deep)));
    box-shadow: 0 30px 100px #000f, 0 0 45px color-mix(in srgb, var(--cr-glow) 28%, transparent);
    color: #fff;
}
#ceralia-tea-workshop.is-perfect { border-color: var(--cr-spark); box-shadow: 0 30px 100px #000f, 0 0 60px color-mix(in srgb, var(--cr-glow) 55%, transparent); }
#ceralia-tea-workshop::backdrop { background: rgba(8, 6, 3, .88); backdrop-filter: blur(8px); }
.ceralia-tea-workshop__vfx { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.ceralia-tea-workshop__vfx i {
    position: absolute; bottom: -40px; left: calc(2% + var(--m-i) * 8%); width: 16px; height: 34px; border-radius: 50%; opacity: 0; font-style: normal;
    background: radial-gradient(ellipse, color-mix(in srgb, var(--cr-spark) 40%, transparent), color-mix(in srgb, var(--cr-glow) 14%, transparent) 50%, transparent 72%);
    animation: crWorkshopRise 14s linear infinite; animation-delay: calc(var(--m-i) * -1.15s);
}
.ceralia-tea-workshop__vfx i:nth-child(3n) { width: 11px; height: 24px; }
#ceralia-tea-workshop > header, .ceralia-tea-workshop__content { position: relative; z-index: 1; }
#ceralia-tea-workshop > header { display: flex; align-items: center; gap: 14px; padding: 14px 25px 12px; border-bottom: 1px dashed color-mix(in srgb, var(--cr-gold) 45%, transparent); }
.ceralia-tea-workshop__title { flex: 1; }
.ceralia-tea-workshop__title small { color: var(--cr-gold); font: 800 9px/1 Montserrat, sans-serif; letter-spacing: .2em; }
.ceralia-tea-workshop__title h2 { margin: 5px 0 0; font: 900 25px/1 Montserrat, sans-serif; text-shadow: 0 0 16px var(--cr-glow); }
#ceralia-tea-workshop > header button { display: grid; width: 36px; height: 36px; place-items: center; border: 1px solid var(--cr-gold); border-radius: 50%; background: #0007; color: #fff; font-size: 22px; cursor: pointer; }
#ceralia-tea-workshop > header button:hover, #ceralia-tea-workshop > header button:focus-visible { border-color: var(--cr-spark); box-shadow: 0 0 12px var(--cr-glow); outline: none; }
.ceralia-tea-workshop__content { display: grid; grid-template-columns: minmax(380px, .9fr) minmax(460px, 1.1fr); gap: 15px; max-height: calc(92vh - 100px); padding: 18px 22px 24px; overflow: auto; }
.ceralia-tea-workshop__overview h3 { margin: 14px 0 0; color: var(--cr-gold); font: 900 11px/1 Montserrat, sans-serif; letter-spacing: .16em; text-transform: uppercase; }
.ceralia-tea-workshop__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-top: 10px; }
.ceralia-tea-workshop__stats span { display: grid; justify-items: center; gap: 3px; padding: 8px 5px; border: 1px solid color-mix(in srgb, var(--cr-gold) 26%, transparent); border-radius: 10px; background: #0006; text-align: center; }
.ceralia-tea-workshop__stats span.is-main { border-color: var(--cr-gold); background: color-mix(in srgb, var(--cr-tea-deep) 30%, #0008); }
.ceralia-tea-workshop__stats b { color: #fff; font: 900 16px/1 Montserrat, sans-serif; text-shadow: 0 0 8px var(--cr-glow); }
.ceralia-tea-workshop__stats small { color: color-mix(in srgb, var(--cr-1) 55%, #fff); font: 600 8.5px/1.2 Outfit, sans-serif; }
.ceralia-tea-workshop__state ul, .ceralia-tea-workshop__rules { display: grid; gap: 5px; margin: 8px 0 0; padding: 0; list-style: none; }
.ceralia-tea-workshop__state li, .ceralia-tea-workshop__rules li, .ceralia-tea-workshop__basic li { padding: 6px 9px; border-left: 2px solid var(--cr-gold); border-radius: 0 8px 8px 0; background: #0005; color: color-mix(in srgb, var(--cr-1) 45%, #fff); font: 500 10px/1.35 Outfit, sans-serif; }
.ceralia-tea-workshop__state b, .ceralia-tea-workshop__rules b, .ceralia-tea-workshop__basic li b { color: #fff; }
.ceralia-tea-workshop__state .ceralia-tea-tooltip__illusions { margin-top: 6px; }
.ceralia-tea-workshop__summary { margin: 10px 0 0; color: color-mix(in srgb, var(--cr-1) 45%, #fff); font: 500 10.5px/1.45 Outfit, sans-serif; }
.ceralia-tea-workshop__gallery { display: grid; gap: 6px; margin-top: 9px; }
.ceralia-tea-workshop__gallery article { display: grid; grid-template-columns: 50px 1fr; align-items: center; gap: 10px; padding: 8px 10px; border: 1px solid color-mix(in srgb, var(--cr-gold) 20%, transparent); border-radius: 11px; background: #0005; opacity: .82; }
.ceralia-tea-workshop__gallery article.is-current { opacity: 1; border-color: var(--cr-gold); box-shadow: inset 0 0 16px color-mix(in srgb, var(--cr-tea-deep) 40%, transparent), 0 0 12px color-mix(in srgb, var(--cr-glow) 30%, transparent); }
.ceralia-tea-workshop__gallery img { width: 46px; height: 46px; object-fit: contain; filter: drop-shadow(0 0 6px var(--cr-glow)); }
.ceralia-tea-workshop__gallery article:not(.is-current) img { filter: grayscale(.45) brightness(.8) drop-shadow(0 0 4px color-mix(in srgb, var(--cr-glow) 40%, transparent)); }
.ceralia-tea-workshop__gallery small { color: var(--cr-gold); font: 800 8px/1 Montserrat, sans-serif; letter-spacing: .12em; }
.ceralia-tea-workshop__gallery strong { display: block; margin-top: 2px; font: 900 14px/1.1 Montserrat, sans-serif; }
.ceralia-tea-workshop__gallery p { margin: 3px 0 0; color: color-mix(in srgb, var(--cr-1) 45%, #fff); font: 500 9.5px/1.3 Outfit, sans-serif; }
.ceralia-tea-workshop__overview .ceralia-tea-tooltip { box-shadow: 0 0 18px color-mix(in srgb, var(--cr-glow) 26%, transparent), inset 0 0 40px #0008; }
.ceralia-tea-workshop__overview .ceralia-tea-tooltip__hint { display: none; }
.ceralia-tea-workshop__abilities { display: grid; align-content: start; gap: 9px; }
.ceralia-tea-workshop__abilities article { display: grid; grid-template-columns: 68px 1fr; align-items: start; gap: 11px; padding: 11px; border: 1px solid color-mix(in srgb, var(--cr-gold) 26%, transparent); border-radius: 13px; background: #ffffff07; }
.ceralia-tea-workshop__abilities article.is-perfect { border-color: color-mix(in srgb, var(--cr-gold) 60%, transparent); box-shadow: inset 0 0 18px color-mix(in srgb, var(--cr-tea-deep) 30%, transparent); }
.ceralia-tea-workshop__abilities article > img { width: 66px; height: 66px; object-fit: cover; border: 1px solid var(--cr-gold); border-radius: 11px; box-shadow: 0 0 13px color-mix(in srgb, var(--cr-glow) 40%, transparent); }
.ceralia-tea-workshop__basic > img { object-fit: contain !important; background: radial-gradient(circle, color-mix(in srgb, var(--cr-glow) 30%, transparent), #000 75%); }
.ceralia-tea-workshop__basic.is-passive { border-color: color-mix(in srgb, var(--cr-jade) 50%, transparent); }
.ceralia-tea-workshop__basic.is-passive > img { border-color: var(--cr-jade); }
.ceralia-tea-workshop__basic small { color: var(--cr-gold); font: 800 8px/1 Montserrat, sans-serif; letter-spacing: .14em; }
.ceralia-tea-workshop__basic strong { display: block; margin-top: 3px; font: 900 15px/1.1 Montserrat, sans-serif; }
.ceralia-tea-workshop__basic p { margin: 4px 0 6px; color: color-mix(in srgb, var(--cr-1) 45%, #fff); font: 500 10.5px/1.4 Outfit, sans-serif; }
.ceralia-tea-workshop__basic ul { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.ceralia-tea-workshop__abilities .ability-progression { margin-top: 7px; }
@media (max-width: 900px) {
    .ceralia-tea-workshop__content { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 520px) {
    #ceralia-tea-workshop > header { padding: 12px 14px 10px; gap: 10px; }
    .ceralia-tea-workshop__title h2 { font-size: 19px; }
    .ceralia-tea-workshop__content { padding: 14px 12px 18px; }
    .ceralia-tea-workshop__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ceralia-tea-workshop__abilities article { grid-template-columns: 48px 1fr; }
    .ceralia-tea-workshop__abilities article > img { width: 46px; height: 46px; }
}

/* ---------------------------------------
   Harci napló: Ceralia chip (Teafény / Teavisszhang)
   --------------------------------------- */
.v3-log-stat-ceralia {
    border-color: #E7BE5C99 !important;
    background: linear-gradient(135deg, #4A3618cc, #1B140Dcc) !important;
    color: #FFF6DA !important;
    box-shadow: 0 0 8px #F2C66B55;
}

/* ---------------------------------------
   Kulcsszó-ikonok és részletező lista (csak Ceralia szövegeiben)
   --------------------------------------- */
.ability-inline-icon.is-ceralia-keyword {
    width: 1.35em; height: 1.35em; margin: -.3em .14em -.28em 0;
    object-fit: contain;
    filter: drop-shadow(0 0 3px #F2C66Baa);
}
.ability-inline-icon.is-ceralia-keyword[src$="tokeletesszertartasd.webp"],
.ability-inline-icon.is-ceralia-keyword[src$="aranyporcelanvihar.webp"],
.ability-inline-icon.is-ceralia-keyword[src$="ezercsesze.webp"] { filter: drop-shadow(0 0 3px #FFF6DA) drop-shadow(0 0 5px #E7BE5C); }
.ability-progression.is-detail-list.is-ceralia-details .ability-progression-step { grid-template-columns: 112px minmax(0, 1fr); border-left-color: rgba(231, 190, 92, .6); }
.ability-progression.is-detail-list.is-ceralia-details .ability-progression-step.is-wide-label { grid-template-columns: minmax(0, 1fr); gap: 5px; }
.ability-progression.is-detail-list.is-ceralia-details .ability-progression-label { color: #F4E7C8; overflow-wrap: normal; word-break: normal; hyphens: manual; }
.ability-progression.is-detail-list.is-ceralia-details .ability-progression-step.is-wide-label .ability-progression-label {
    display: flex; flex-wrap: wrap; align-items: center; column-gap: 4px; padding-bottom: 5px;
    border-bottom: 1px solid rgba(231, 190, 92, .2);
}
.ability-progression.is-detail-list.is-ceralia-details .ability-progression-step.is-wide-label .ability-progression-label > i { flex: 0 0 5px; align-self: center; }
.ability-progression.is-detail-list.is-ceralia-details .ability-progression-step.is-ceralia-perfect-row {
    border-color: rgba(231, 190, 92, .35); border-left-color: #E7BE5C;
    background: linear-gradient(90deg, rgba(242, 198, 107, .12), rgba(12, 9, 5, .45) 58%, rgba(127, 185, 140, .1));
}
.ability-progression.is-detail-list.is-ceralia-details .ability-progression-step.is-ceralia-perfect-row .ability-progression-label { color: #FFF6DA; text-shadow: 0 0 8px rgba(242, 198, 107, .7); }
.ability-progression.is-detail-list.is-ceralia-details .ability-progression-step.is-current {
    border-color: rgba(231, 190, 92, .9);
    background: linear-gradient(100deg, rgba(42, 32, 22, .9), rgba(0, 0, 0, .45) 62%, rgba(231, 190, 92, .2));
    box-shadow: inset 0 0 14px rgba(42, 32, 22, .7), 0 0 10px rgba(242, 198, 107, .4);
}
.ability-progression.is-detail-list.is-ceralia-details .ability-progression-step.is-current .ability-progression-label { color: #fffaf0; text-shadow: 0 0 8px rgba(242, 198, 107, .9); }
.ceralia-fist-level-note { display: inline-block; margin-left: 4px; color: #FFF6DA; text-shadow: 0 0 6px rgba(231, 190, 92, .8); }
@media (max-width: 520px) {
    .ability-progression.is-detail-list.is-ceralia-details .ability-progression-step { grid-template-columns: minmax(0, 1fr); gap: 5px; }
}

/* ---------------------------------------
   Keyframes
   --------------------------------------- */
@keyframes crSpin { to { transform: rotate(360deg); } }
@keyframes crMeterBreath { from { filter: brightness(.85); } to { filter: brightness(1.15); } }
@keyframes crPerfectPulse { from { filter: brightness(1); transform: scale(1); } to { filter: brightness(1.45); transform: scale(1.04); } }
@keyframes crAuraDrift { 0%, 100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-3px) scale(1.04); } }
@keyframes crAuraFlicker { 0%, 100% { filter: brightness(1); } 35% { filter: brightness(1.3); } 60% { filter: brightness(.85); } }
@keyframes crStreamFlow { to { stroke-dashoffset: -20; } }
@keyframes crGlowPulse { 0%, 100% { transform: scale(1); } 40% { transform: scale(1.16); } 70% { transform: scale(.96); } }
@keyframes crSteam { 0% { opacity: 0; transform: translateY(1px); } 40% { opacity: .85; } 100% { opacity: 0; transform: translateY(-3px); } }
@keyframes crSteamPuff { 0% { opacity: 0; transform: translateY(4px) scale(.6); } 30% { opacity: .75; } 100% { opacity: 0; transform: translateY(-12px) scale(1.4); } }
@keyframes crPotBob { 0%, 100% { transform: rotate(-3deg) translateY(0); } 50% { transform: rotate(3deg) translateY(-1.5px); } }
@keyframes crPotPour { 0%, 100% { transform: rotate(-4deg) scale(1); } 45% { transform: rotate(-16deg) scale(1.08); } 70% { transform: rotate(-12deg) scale(1.06); } }
@keyframes crPotGain { 0%, 100% { transform: scale(1); } 45% { transform: scale(1.18) rotate(-8deg); filter: brightness(1.6) drop-shadow(0 0 8px var(--cr-gold)); } }
@keyframes crPotSlam { 0% { transform: scale(.6); } 30% { transform: scale(1.6) rotate(-14deg); filter: brightness(2.2) drop-shadow(0 0 18px var(--cr-spark)); } 55% { transform: scale(.92); } 100% { transform: scale(1); } }
@keyframes crCupFloat { 0%, 100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-2.5px) rotate(4deg); } }
@keyframes crCupOrbit { 0%, 100% { transform: translate(0, 0) rotate(-8deg) scale(1); } 50% { transform: translate(0, -4px) rotate(8deg) scale(1.15); } }
@keyframes crCupGlow { from { filter: drop-shadow(0 0 2px var(--cr-glow)) drop-shadow(0 1px 2px #000); } to { filter: drop-shadow(0 0 5px var(--cr-gold)) drop-shadow(0 0 9px var(--cr-glow)); } }
@keyframes crBadgeGlow { from { box-shadow: 0 0 4px var(--cr-glow); } to { box-shadow: 0 0 12px var(--cr-glow), 0 0 3px #fff; } }
@keyframes crBurst { 0% { opacity: 1; transform: scale(.5); } 100% { opacity: 0; transform: scale(1.7); } }
@keyframes crPop { 0% { transform: translateX(-50%) scale(1); } 40% { transform: translateX(-50%) scale(1.3); } 100% { transform: translateX(-50%) scale(1); } }
@keyframes crSteamRiseFar { 0% { opacity: 0; transform: translate(0, 0) scale(.7); } 12% { opacity: .7; } 50% { transform: translate(10px, -180px) scale(1.2); } 100% { opacity: 0; transform: translate(-8px, -380px) scale(1.6); } }
@keyframes crWorkshopRise { 0% { opacity: 0; transform: translate(0, 0) scale(.7); } 10% { opacity: .55; } 100% { opacity: 0; transform: translate(26px, -95vh) scale(1.8); } }
@keyframes crCrackShine { 0%, 100% { opacity: .75; } 50% { opacity: 1; } }
@keyframes crCrackGain { 0% { filter: brightness(2.6); transform: translateX(0); } 20% { transform: translateX(-2px); } 40% { transform: translateX(2px); } 60% { transform: translateX(-1px); } 100% { filter: brightness(1); transform: translateX(0); } }
@keyframes crMistDrift { from { transform: translateX(-3%); opacity: .75; } to { transform: translateX(3%); opacity: 1; } }
@keyframes crVeilSteam { 0% { opacity: 0; transform: translateY(0) scale(.7); } 25% { opacity: .7; } 100% { opacity: 0; transform: translateY(-60px) scale(1.6); } }
@keyframes crVeilIn { 0% { opacity: 0; filter: brightness(2); } 100% { opacity: 1; filter: brightness(1); } }

/* VFX kikapcsolva / felfüggesztve / csökkentett mozgás. */
body.v3-vfx-disabled .ceralia-teapot-meter *, body.v3-vfx-disabled .ceralia-teapot-meter::before,
body.v3-vfx-disabled .ceralia-fist-cracks *, body.v3-vfx-disabled .ceralia-illusion-veil, body.v3-vfx-disabled .ceralia-illusion-veil *,
body.v3-vfx-disabled .ceralia-tea-tooltip *, body.v3-vfx-disabled #ceralia-tea-workshop * { animation: none !important; }
body.bf-vfx-suspended .ceralia-teapot-meter *, body.bf-vfx-suspended .ceralia-teapot-meter::before,
body.bf-vfx-suspended .ceralia-fist-cracks *, body.bf-vfx-suspended .ceralia-illusion-veil * { animation-play-state: paused !important; }
@media (prefers-reduced-motion: reduce) {
    .ceralia-teapot-meter *, .ceralia-teapot-meter::before, .ceralia-tea-tooltip *, #ceralia-tea-workshop *,
    .ceralia-fist-cracks *, .ceralia-illusion-veil, .ceralia-illusion-veil * { animation-duration: 0s !important; animation-iteration-count: 1 !important; }
}
/* Kristály Ceralia: an illuminated rose-quartz tea service, including the
   detached tooltip and workshop. Selectors stay local to Ceralia surfaces. */
.ceralia-teapot-meter[data-cr-theme="kristaly"] .ceralia-teapot-meter__aura {
    background: conic-gradient(from 35deg,#7170da08,#febaf480,#8da7e780,#fff8fe70,#f4bca860,#7170da08);
    box-shadow:0 0 24px #febaf470,inset 0 0 18px #8da7e775;
    border:1px solid #f4ddb5aa;
}
.ceralia-teapot-meter[data-cr-theme="kristaly"] .ceralia-teapot-meter__pot {
    filter:drop-shadow(0 0 6px #febaf4b0) drop-shadow(0 0 12px #8da7e780);
}
[data-cr-theme="kristaly"] .cr-crystal-cup .cr-cup-body { fill:#d6d3f3;stroke:#fff8fe; }
[data-cr-theme="kristaly"] .cr-crystal-cup .cr-cup-saucer { fill:#b8bcec;stroke:#f4ddb5; }
[data-cr-theme="kristaly"] .is-on .cr-crystal-cup .cr-cup-body { fill:#fff0fc;stroke:#fff8fe; }
[data-cr-theme="kristaly"] .is-on .cr-crystal-cup { filter:drop-shadow(0 0 3px #febaf4) drop-shadow(0 0 5px #8da7e7); }
.ceralia-tea-tooltip[data-cr-theme="kristaly"],#ceralia-tea-workshop[data-cr-theme="kristaly"] {
    background:radial-gradient(ellipse at 100% 0,#febaf433,transparent 52%),radial-gradient(ellipse at 0 100%,#8da7e735,transparent 60%),linear-gradient(145deg,#383f6a,#20233f 55%,#373055);
    border-color:#e0c6ef;
    box-shadow:0 24px 70px #000c,0 0 28px #7170da55,inset 0 0 30px #febaf415;
}
.ceralia-tea-tooltip[data-cr-theme="kristaly"]::before,#ceralia-tea-workshop[data-cr-theme="kristaly"]::before {
    background:repeating-conic-gradient(from 15deg at 50% 0,#febaf400 0deg 23deg,#8da7e71c 24deg 26deg,#ffffff10 27deg 30deg);
}
.ceralia-tea-tooltip[data-cr-theme="kristaly"] .ceralia-tea-tooltip__vfx i {
    width:12px;height:16px;border:1px solid #fff8fe99;border-radius:60% 20% 55% 20%;
    background:linear-gradient(135deg,#fff8fe,#febaf4aa 40%,#7170da77);box-shadow:0 0 9px #febaf450;
}
.ceralia-tea-tooltip[data-cr-theme="kristaly"] .ceralia-tea-tooltip__cup {
    border-color:#bcbbe8;background:linear-gradient(135deg,#8da7e726,#febaf424);
}
.ceralia-tea-tooltip[data-cr-theme="kristaly"].is-perfect { border-color:#fff3fe;box-shadow:0 24px 70px #000c,0 0 36px #febaf455,inset 0 0 25px #8da7e725; }
.ceralia-illusion-veil[data-cr-theme="kristaly"] .ceralia-illusion-veil__mist { background:radial-gradient(ellipse at 50% 95%,#febaf455,transparent 60%)!important; }
.ceralia-illusion-veil[data-cr-theme="kristaly"] .ceralia-illusion-veil__cup { filter:drop-shadow(0 0 9px #8da7e7) drop-shadow(0 0 5px #febaf4); }

/* The detached mechanics tooltip and the six-cup meter share the bespoke service. */
.ceralia-teapot-meter[data-cr-theme="elegans"] .ceralia-teapot-meter__aura { background:conic-gradient(from 30deg,#10362a10,#18d39288,#ffffe260,#00ffe470,#10362a10);border:1px solid #e9c779;box-shadow:0 0 24px #18d39270,inset 0 0 18px #00ffe430; }
.ceralia-teapot-meter[data-cr-theme="elegans"] .ceralia-teapot-meter__pot { filter:drop-shadow(0 2px 2px #000) drop-shadow(0 0 9px #18d39299); }
[data-cr-theme="elegans"] .cr-elegant-cup .cr-cup-body { fill:#07130f;stroke:#e9c779; }
[data-cr-theme="elegans"] .cr-elegant-cup .cr-cup-saucer { fill:#10362a;stroke:#e9c779; }
[data-cr-theme="elegans"] .cr-elegant-cup .cr-cup-handle { fill:none;stroke:#e9c779; }
[data-cr-theme="elegans"] .cr-elegant-cup .cr-cup-tea { fill:#10362a;stroke:#e9c779; }
[data-cr-theme="elegans"] .is-on .cr-elegant-cup .cr-cup-tea { fill:#18d392;stroke:#ffffe2; }
[data-cr-theme="elegans"] .is-on .cr-elegant-cup { filter:drop-shadow(0 0 3px #00ffe4) drop-shadow(0 0 5px #18d392); }
.ceralia-tea-tooltip[data-cr-theme="elegans"],#ceralia-tea-workshop[data-cr-theme="elegans"] { background:radial-gradient(ellipse at 100% 0,#18d39232,transparent 52%),radial-gradient(ellipse at 0 100%,#27735d55,transparent 60%),linear-gradient(145deg,#10362a,#07130f 55%,#102b22);border-color:#e9c779;box-shadow:0 24px 70px #000c,0 0 28px #18d39235,inset 0 0 30px #ffffe209;color:#ffffe2; }
.ceralia-tea-tooltip[data-cr-theme="elegans"]::before,#ceralia-tea-workshop[data-cr-theme="elegans"]::before { background:repeating-conic-gradient(from 15deg at 50% 0,transparent 0deg 23deg,#e9c7791c 24deg 25deg,#18d39210 26deg 30deg); }
.ceralia-tea-tooltip[data-cr-theme="elegans"] .ceralia-tea-tooltip__vfx i { width:13px;height:19px;border:1px solid #e9c779;border-radius:0;background:linear-gradient(135deg,#ffffe2,#00ffe4 25%,#18d392 45%,#10362a 50%,#27735d);clip-path:polygon(50% 0,100% 35%,50% 100%,0 35%);box-shadow:0 0 9px #18d39280; }
.ceralia-tea-tooltip[data-cr-theme="elegans"] .ceralia-tea-tooltip__cup { border-color:#e9c77977;background:linear-gradient(135deg,#07130f,#27735d55); }
.ceralia-tea-tooltip[data-cr-theme="elegans"].is-perfect { border-color:#ffffe2;box-shadow:0 24px 70px #000c,0 0 36px #18d39255,inset 0 0 25px #00ffe425; }
.ceralia-illusion-veil[data-cr-theme="elegans"] .ceralia-illusion-veil__mist { background:radial-gradient(ellipse at 50% 95%,#18d39265,transparent 60%)!important; }
.ceralia-illusion-veil[data-cr-theme="elegans"] .ceralia-illusion-veil__cup { filter:drop-shadow(0 0 9px #00ffe4) drop-shadow(0 0 5px #18d392); }

/* Rend Ceralia: a sealed black-rose service beneath the crimson eclipse. */
.ceralia-teapot-meter[data-cr-theme="rend"] .ceralia-teapot-meter__aura { background:radial-gradient(circle,#100b10 43%,#b41d26 48%,#4f000877 53%,transparent 69%);border:1px solid #b1695e99;box-shadow:0 0 22px #b41d2670,inset 0 0 18px #2d0000; }
.ceralia-teapot-meter[data-cr-theme="rend"] .ceralia-teapot-meter__pot { object-fit:contain;filter:drop-shadow(0 2px 2px #000) drop-shadow(0 0 8px #b41d2699); }
[data-cr-theme="rend"] .cr-rend-cup .cr-cup-body,[data-cr-theme="rend"] .cr-rend-cup .cr-cup-saucer { fill:#1c1315;stroke:#b1695e; }
[data-cr-theme="rend"] .cr-rend-cup .cr-cup-handle { fill:none;stroke:#b1695e; }
[data-cr-theme="rend"] .cr-rend-cup .cr-cup-tea { fill:#2d0000;stroke:#9484ba; }
[data-cr-theme="rend"] .is-on .cr-rend-cup .cr-cup-tea { fill:#b41d26;stroke:#e8ddeb; }
[data-cr-theme="rend"] .is-on .cr-rend-cup { filter:drop-shadow(0 0 3px #b41d26) drop-shadow(0 0 5px #4f0008); }
.ceralia-tea-tooltip[data-cr-theme="rend"],#ceralia-tea-workshop[data-cr-theme="rend"] { background:radial-gradient(ellipse at 100% 0,#b41d2638,transparent 53%),radial-gradient(ellipse at 0 100%,#9484ba18,transparent 62%),linear-gradient(145deg,#2d0000,#1c1315 55%,#100b10);border-color:#b1695e;color:#e8ddeb;box-shadow:0 24px 70px #000c,0 0 28px #b41d263b,inset 0 0 30px #4f000844; }
.ceralia-tea-tooltip[data-cr-theme="rend"]::before,#ceralia-tea-workshop[data-cr-theme="rend"]::before { background:repeating-conic-gradient(from 15deg at 50% 0,transparent 0deg 23deg,#b1695e22 24deg 25deg,#b41d2610 26deg 30deg); }
.ceralia-tea-tooltip[data-cr-theme="rend"] .ceralia-tea-tooltip__crest,#ceralia-tea-workshop[data-cr-theme="rend"] .ceralia-tea-workshop__crest { background:radial-gradient(circle,#100b10 44%,#b41d2680 48%,transparent 65%); }
.ceralia-tea-tooltip[data-cr-theme="rend"] .ceralia-tea-tooltip__vfx i,#ceralia-tea-workshop[data-cr-theme="rend"] .ceralia-tea-workshop__vfx i { width:12px;height:22px;border:1px solid #d8cedc99;border-radius:0;background:linear-gradient(135deg,#e8ddeb,#b41d26 26%,#4f0008 51%,#b1695e);clip-path:polygon(50% 0,100% 33%,50% 100%,0 33%);box-shadow:0 0 9px #b41d2666; }
.ceralia-tea-tooltip[data-cr-theme="rend"] .ceralia-tea-tooltip__cup { border-color:#b1695e77;background:linear-gradient(135deg,#100b10,#4f000844); }
.ceralia-tea-tooltip[data-cr-theme="rend"].is-perfect { border-color:#e44354;box-shadow:0 24px 70px #000c,0 0 36px #b41d2655,inset 0 0 25px #9484ba19; }
.ceralia-illusion-veil[data-cr-theme="rend"] .ceralia-illusion-veil__mist { background:radial-gradient(ellipse at 50% 95%,#4f000899,transparent 66%)!important; }
.ceralia-illusion-veil[data-cr-theme="rend"] .ceralia-illusion-veil__cup { filter:drop-shadow(0 0 8px #b41d26) drop-shadow(0 0 4px #9484ba); }
.ceralia-false-feast .ceralia-illusion-veil[data-cr-theme="rend"] .ceralia-illusion-veil__cup { filter:drop-shadow(10px -8px 0 #b41d2638) drop-shadow(0 0 12px #b41d26); }
