
.hunt-reveal { --reveal-duration: 3000ms; position: relative; width: 100%; height: 100%; isolation: isolate; color: #fff7ef; overflow: hidden; }
.reveal-place { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.72); opacity: .65; }
.reveal-shade { position: absolute; inset: 0; background: radial-gradient(ellipse at center, #10122255 0%, #101222ab 62%, #0c0d18ed 100%), linear-gradient(0deg,#0e1023cc,transparent 65%); }
.reveal-heading { position: absolute; top: max(26px, 7dvh); left: 20px; right: 20px; text-align: center; }
.reveal-heading>span { display: block; font-family: Georgia, serif; font-size: 11px; letter-spacing: 5px; color: #e1d5c4; }
.reveal-heading h2 { font-size: clamp(23px,3vw,35px); margin: 14px 0 8px; letter-spacing: -.7px; }
.reveal-heading p { color: #ded6de; font-size: 13px; font-weight: 500; margin: 0; }
.reveal-stage { position: absolute; inset: 28px 0 0; display: grid; place-items: center; pointer-events: none; }
.reveal-halo { position: absolute; width: min(75vw,600px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle,#ffb3d027,#ffb3d006 45%,transparent 70%); opacity: 0; }
.reveal-heartbeat { position: absolute; width: min(380px,74vw,52dvh); aspect-ratio: 1; }
.reveal-heartbeat i { position: absolute; inset: 0; border: 2px solid #ffc5de; border-radius: 50%; box-shadow: 0 0 15px #ff8bbb35, inset 0 0 12px #ff8bbb25; opacity: 0; transform: scale(.62); }
.reveal-heartbeat i:nth-child(2) { border-width: 1px; }
.reveal-heart-shell { position: relative; width: min(310px,61vw,43dvh); aspect-ratio: 240/230; }
.reveal-heart-beat { width: 100%; height: 100%; }
.reveal-heart-vessel { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 10px 30px #0005); }
.heart-glass { fill: #ffd9e90a; }
.heart-outline { stroke-width: 4; stroke-linejoin: round; }
.heart-liquid { transform: translateY(100%); transform-box: fill-box; }
.heart-half { opacity: 0; transform-box: view-box; transform-origin: 50% 60%; }
.reveal-motes, .reveal-hearts { position: absolute; inset: 0; }
.reveal-motes i { position: absolute; top: 50%; left: 50%; width: var(--size); height: var(--size); border-radius: 50%; background: #ffe3ef; box-shadow: 0 0 9px #ffb3d08c; opacity: 0; }
.reveal-signal { position: absolute; width: min(95vw,700px); aspect-ratio: 1; opacity: 0; border-radius: 50%; mix-blend-mode: screen; }
[data-outcome="new"] .reveal-signal { background: radial-gradient(circle,transparent 28%,#ff70ab50 42%,transparent 68%); }
[data-outcome="reunion"] .reveal-signal { background: radial-gradient(circle,#6a8caf40,transparent 65%); }
.reveal-hearts span { position: absolute; left: 50%; top: 50%; width: var(--size); height: var(--size); opacity: 0; color: #ff8bb8; filter: drop-shadow(0 0 7px #ff66aa65); }
.reveal-hearts .icon { width: 100%; height: 100%; fill: currentColor; stroke-width: .8; }
.reveal-hearts span:nth-child(3n) { color: #ffd0e0; }
.reveal-rain { position: absolute; width: min(90vw,660px); height: min(70dvh,620px); overflow: hidden; mask-image: linear-gradient(transparent,#000 12%,#000 82%,transparent); }
.reveal-rain i { position: absolute; left: var(--left); top: var(--top); width: 1px; height: var(--size); opacity: 0; background: linear-gradient(transparent,#c0d5f1b3); transform: rotate(12deg); }
.reveal-footer { position: absolute; bottom: max(30px,7dvh); left: 20px; right: 20px; text-align: center; font-size: clamp(14px,1.2vw,16px); font-weight: 700; color: #fff7ef; letter-spacing: .3px; }
.reveal-footer>span { display: inline-block; padding: 10px 18px; border: 1px solid #ffffff38; border-radius: 999px; background: #121423b3; text-shadow: 0 1px 4px #0008; }
.reveal-skip { position: absolute; inset: 0; z-index: 10; width: 100%; height: 100%; border: 0; border-radius: 0; background: transparent; cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.reveal-skip:focus-visible { outline: none; }
.is-playing .reveal-place { animation: reveal-place var(--reveal-duration) ease-out both; }
.is-playing .reveal-shade { animation: reveal-darken var(--reveal-duration) ease-out both; }
.is-playing .reveal-heading { animation: reveal-heading var(--reveal-duration) ease-out both; }
.is-playing .reveal-halo { animation: reveal-halo var(--reveal-duration) ease-in-out both; }
.is-playing .reveal-heartbeat i { animation: heartbeat-wave calc(var(--reveal-duration)*.38) cubic-bezier(.16,.55,.38,1) 3 both; animation-delay: calc(var(--reveal-duration)*.07); }
.is-playing .reveal-heartbeat i:nth-child(2) { animation-delay: calc(var(--reveal-duration)*.14); }
.is-playing .reveal-heart-beat { animation: heartbeat-body calc(var(--reveal-duration)*.38) ease-in-out 3 both; animation-delay: calc(var(--reveal-duration)*.07); }
.is-playing[data-outcome="miss"] .reveal-heartbeat, .is-playing[data-outcome="reunion"] .reveal-heartbeat { animation: heartbeat-cool var(--reveal-duration) linear both; }
.is-playing .reveal-motes i { animation: reveal-mote calc(var(--reveal-duration)*.7) ease-in both; animation-delay: var(--stagger); }
.is-playing .heart-liquid { animation: heart-fill var(--reveal-duration) linear both; }
.is-playing .reveal-heart-shell { animation: heart-breathe var(--reveal-duration) ease-in-out both; }
.is-playing[data-outcome="new"] .reveal-signal, .is-playing[data-outcome="reunion"] .reveal-signal { animation: reveal-signal calc(var(--reveal-duration)*.3) ease-out both; animation-delay: calc(var(--reveal-duration)*.7); }
.is-playing .reveal-hearts span { animation: reveal-heart calc(var(--reveal-duration)*.3) cubic-bezier(.16,.7,.25,1) both; animation-delay: calc(var(--reveal-duration)*.7 + var(--stagger)); }
.is-playing .reveal-rain i { animation: reveal-rain 650ms linear both; animation-delay: calc(var(--reveal-duration)*.7 + var(--stagger)); }
.is-playing[data-outcome="new"] .reveal-heart-vessel { animation: heart-bloom var(--reveal-duration) linear both; }
.is-playing[data-outcome="miss"] .reveal-heart-vessel, .is-playing[data-outcome="reunion"] .reveal-heart-vessel { animation: heart-grey var(--reveal-duration) linear both; }
.is-playing[data-outcome="miss"] .heart-left { animation: heart-break-left var(--reveal-duration) ease-in both; }
.is-playing[data-outcome="miss"] .heart-right { animation: heart-break-right var(--reveal-duration) ease-in both; }
.is-playing[data-outcome="miss"] .heart-whole { animation: heart-break-swap var(--reveal-duration) linear both; }
@keyframes heart-fill { 0%,6% { transform: translateY(100%); } 70% { transform: translateY(30%); } 88%,100% { transform: translateY(0); } }
@keyframes heart-breathe { 0% { opacity: 0; transform: scale(.94); } 12% { opacity: 1; transform: scale(1); } 36% { transform: scale(1.025); } 48% { transform: scale(1); } 70% { transform: scale(1.055); } 88%,100% { opacity: 1; transform: scale(1.04); } }
@keyframes heart-grey { 0%,70% { filter: grayscale(0) drop-shadow(0 10px 30px #0005); } 88%,100% { filter: grayscale(1) drop-shadow(0 10px 30px #0005); } }
@keyframes heart-bloom { 0%,70% { filter: drop-shadow(0 10px 30px #0005); } 88%,100% { filter: drop-shadow(0 0 24px #ff85b288); } }
@keyframes heart-break-swap { 0%,88% { opacity: 1; } 88.001%,100% { opacity: 0; } }
@keyframes heart-break-left { 0%,88% { opacity: 0; transform: none; } 88.001% { opacity: 1; transform: none; } 100% { opacity: 1; transform: translate(-10px,9px) rotate(-8deg); } }
@keyframes heart-break-right { 0%,88% { opacity: 0; transform: none; } 88.001% { opacity: 1; transform: none; } 100% { opacity: 1; transform: translate(10px,9px) rotate(8deg); } }
@keyframes reveal-place { 0% { transform: scale(1); } 15%,100% { transform: scale(1.09); } }
@keyframes reveal-darken { 0% { opacity: .45; } 14%,100% { opacity: 1; } }
@keyframes reveal-heading { 0% { opacity: 0; transform: translateY(9px); } 18%,100% { opacity: 1; transform: none; } }
@keyframes reveal-halo { 0%,10% { opacity: 0; transform: scale(.7); } 35% { opacity: .55; } 65%,70% { opacity: 1; transform: scale(1.12); } 100% { opacity: .35; transform: scale(1); } }
@keyframes heartbeat-wave { 0% { opacity: 0; transform: scale(.62); } 9% { opacity: .48; } 62% { opacity: .16; } 100% { opacity: 0; transform: scale(1.65); } }
@keyframes heartbeat-body { 0%,18%,40%,100% { transform: scale(1); } 8% { transform: scale(1.055); } 26% { transform: scale(1.035); } }
@keyframes heartbeat-cool { 0%,70% { filter: grayscale(0); } 88%,100% { filter: grayscale(1); } }
@keyframes reveal-mote { 0%,15% { opacity: 0; transform: translate(var(--x),var(--y)) scale(.5); } 40%,95% { opacity: .8; } 100% { opacity: 0; transform: translate(0,0) scale(.4); } }
@keyframes reveal-signal { 0% { opacity: 0; transform: scale(.65); } 25% { opacity: 1; } 100% { opacity: .45; transform: scale(1.15); } }
@keyframes reveal-heart { 0% { opacity: 0; transform: translate(-50%,-50%) scale(.2); } 17% { opacity: 1; } 80% { opacity: .9; } 100% { opacity: .15; transform: translate(var(--x),var(--y)) rotate(var(--turn)) scale(1); } }
@keyframes reveal-rain { 0% { opacity: 0; transform: translateY(-70px) rotate(12deg); } 15%,75% { opacity: .75; } 100% { opacity: 0; transform: translate(-55px,370px) rotate(12deg); } }
@keyframes reveal-result { from { opacity: 0; } to { opacity: 1; } }
@media(max-width:540px) { .reveal-heading { top: max(28px,9dvh); }.reveal-heading p { font-size: 12px; }.reveal-motes, .reveal-hearts { transform: scale(.8); }.reveal-footer { bottom: max(28px,10dvh); } }
@media(max-height:520px) { .reveal-heading { top: 18px; }.reveal-heading h2 { font-size: 20px; margin: 7px 0; }.reveal-heading p { display: none; }.reveal-heart-shell { width: min(230px,39dvh); }.reveal-footer { bottom: 16px; font-size: 14px; } }
