.prank-close{position:absolute;right:24px;top:24px;width:36px;height:36px;padding:0;border:0;background:none;z-index:10}
.prank-close img{width:100%;height:100%}
.prank-delivery{display:flex;flex-direction:column;align-items:center}
.prank-stage{position:relative;width:min(540px,88vw,58svh);aspect-ratio:1}
.prank-stage .gift-envelope{left:0;top:0;width:100%;height:100%;aspect-ratio:auto;transform:rotate(-90deg);filter:none}
.prank-paper{position:relative;aspect-ratio:2/1;width:100%;color:#493025;container-type:inline-size}
.prank-paper>img{display:block;width:100%;height:100%}
.prank-paper strong{position:absolute;inset:17% 10%;display:flex;align-items:center;justify-content:center;text-align:center;font:700 8cqw/1.05 'VT323',monospace}
.prank-stage .gift-card .prank-paper{position:absolute;width:140%;left:-20%;top:20%;transform:rotate(90deg)}
.prank-stage .prank-paper strong{visibility:hidden}
.prank-reveal{width:min(820px,92vw);max-height:85svh}
.prank-reveal .prank-paper{max-width:150svh;margin:auto}
.prank-window .gift-hint{margin-top:25px}
.prank-close:hover{filter:brightness(1.25)}
/* Overlay the reveal without moving the envelope's flex layout. */
.prank-window .prank-reveal{position:absolute;inset:0;width:100%;height:100%;max-height:none;display:grid;place-items:center;pointer-events:none}
.prank-window .prank-reveal .prank-paper{width:min(820px,92vw,150svh)}
.prank-window .gift-hint{min-height:1.2em}
