/* Holographic crystals: composited CSS transforms only, no bitmap sprites. */
.holo-reveal-overlay{position:fixed;inset:0;z-index:999;overflow:hidden;pointer-events:none;isolation:isolate;perspective:900px;contain:layout paint;}
.holo-reveal-overlay::before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 50% 49%,rgba(132,82,253,.21),rgba(19,26,76,.11) 25%,transparent 65%);animation:holo-wash 1.45s ease-out both;}
.holo-reveal-ring{position:absolute;left:50%;top:49%;width:min(45vw,420px);height:min(45vw,420px);border-radius:50%;border:2px solid rgba(124,255,232,.8);box-shadow:0 0 25px #65ffff8c,0 0 60px #ad55ff99,inset 0 0 29px #67efff66;transform:translate(-50%,-50%);animation:holo-reveal-ring 1.45s cubic-bezier(.14,.66,.25,1) both;}
.holo-reveal-core{position:absolute;left:50%;top:49%;width:clamp(70px,13vw,165px);height:clamp(90px,19vw,200px);transform:translate(-50%,-50%);clip-path:polygon(50% 0,87% 25%,97% 61%,51% 100%,5% 63%,14% 22%);background:linear-gradient(125deg,#5ef8f9,#9a6bff 23%,#d8d8ff 39%,#a15bff 50%,#3adcf2 69%,#ec7bff 84%,#61ffe6);box-shadow:0 0 44px #8efff5;animation:holo-core-fracture 1.36s cubic-bezier(.12,.68,.2,1) both;}
.holo-reveal-core::before{content:"";position:absolute;inset:10%;clip-path:polygon(48% 0,100% 65%,43% 100%,0 31%);background:linear-gradient(80deg,#24085fa9,#fff8 38%,transparent 40%,#e7ffff6b 52%,#452edc99 78%);mix-blend-mode:screen;}
.holo-reveal-shard{--shard-x:0px;--shard-y:0px;--shard-spin:0deg;position:absolute;left:50%;top:49%;width:var(--shard-size,25px);height:calc(var(--shard-size,25px)*1.8);clip-path:polygon(48% 0%,95% 31%,73% 94%,20% 100%,1% 38%);background:linear-gradient(134deg,#bffffb 0%,#6beefc 18%,#a977fd 38%,#eaaaff 58%,#50d8f8 79%,#c0ffeb);filter:drop-shadow(0 0 6px #b78aff);will-change:transform,opacity;animation:holo-shard-flight var(--shard-duration,1.25s) cubic-bezier(.15,.75,.26,1) var(--shard-delay,0s) both;}
.holo-reveal-spark{position:absolute;left:50%;top:49%;width:3px;height:3px;background:#ccfff5;border-radius:50%;box-shadow:0 0 11px 3px #9efcf0,0 0 20px #aa8dff;animation:holo-spark-flight 1.25s cubic-bezier(.15,.75,.26,1) var(--spark-delay,0s) both;}
.quiz-result-appearing #result-title{animation:holo-text-arrive .95s cubic-bezier(.15,.8,.25,1) .27s both;}
.quiz-result-appearing .result-card{animation:holo-card-arrive 1.06s cubic-bezier(.15,.8,.25,1) .38s both;}
@keyframes holo-wash{0%,15%{opacity:0}32%{opacity:1}100%{opacity:0}}
@keyframes holo-reveal-ring{0%{transform:translate(-50%,-50%) scale(.08) rotate(0);opacity:0}23%{opacity:1}100%{transform:translate(-50%,-50%) scale(2.5) rotate(28deg);opacity:0}}
@keyframes holo-core-fracture{0%{transform:translate(-50%,-50%) scale(.25) rotate(-18deg);opacity:0;filter:brightness(1.1)}20%{transform:translate(-50%,-50%) scale(1) rotate(-6deg);opacity:1;filter:brightness(1.4)}46%{transform:translate(-50%,-50%) scale(1.12) rotate(10deg);opacity:1;filter:brightness(1.8)}65%{transform:translate(-50%,-50%) scale(.55) rotate(50deg);opacity:.6}100%{transform:translate(-50%,-50%) scale(.06) rotate(120deg);opacity:0}}
@keyframes holo-shard-flight{0%{transform:translate(-50%,-50%) scale(.13) rotate(0deg) rotateY(0deg);opacity:0}21%{opacity:1}39%{transform:translate(-50%,-50%) scale(1.24) rotate(20deg) rotateY(80deg);opacity:1}100%{transform:translate(calc(-50% + var(--shard-x)),calc(-50% + var(--shard-y))) scale(.24) rotate(var(--shard-spin)) rotateY(480deg);opacity:0}}
@keyframes holo-spark-flight{0%{transform:translate(-50%,-50%) scale(.15);opacity:0}23%{opacity:1}100%{transform:translate(calc(-50% + var(--shard-x)),calc(-50% + var(--shard-y))) scale(.2);opacity:0}}
@keyframes holo-text-arrive{from{transform:translateY(28px) scale(.94);filter:blur(9px);opacity:0}to{transform:translateY(0) scale(1);filter:blur(0);opacity:1}}
@keyframes holo-card-arrive{from{transform:translateY(34px);filter:blur(7px);opacity:0}to{transform:translateY(0);filter:blur(0);opacity:1}}
@media(max-width:600px){.holo-reveal-shard{filter:none}.holo-reveal-ring{width:60vw;height:60vw;box-shadow:0 0 15px #65ffff9e,inset 0 0 15px #67efff66}}
@media(prefers-reduced-motion:reduce){.holo-reveal-overlay{display:none!important}.quiz-result-appearing #result-title,.quiz-result-appearing .result-card{animation:none!important}}
