.prize-theatre {
  position:fixed;inset:0;margin:auto;width:100vw;height:100dvh;max-width:none;max-height:none;
  padding:0;border:0;background:#371d20;color:#f9e8c9;overflow:auto;
}
.prize-theatre::backdrop {background:#211713e8}
.prize-scene {
  box-sizing:border-box;min-height:100%;display:grid;grid-template-rows:1fr auto 1fr;justify-items:center;
  padding:clamp(18px,3vh,40px) 22px;gap:clamp(12px,2vh,24px);text-align:center;
  background:linear-gradient(0deg,#180e11b3,transparent 35%,transparent 72%,#21101073),#3b2225 url('/art/victory-case.jpg') center/cover no-repeat;
  position:relative;isolation:isolate;
}
.prize-heading {align-self:end;z-index:1}
.prize-heading p,.prize-edition {color:#efce98;font:600 clamp(13px,1.8vh,16px)/1.5 var(--sans);letter-spacing:.075em}
.prize-heading p {text-transform:uppercase}
.prize-heading h2 {color:#fff1d5;font:500 clamp(27px,4.8vh,58px)/1.07 var(--serif);letter-spacing:-.045em;margin:.15em 0 0;text-wrap:balance}
.prize-plinth {position:relative;perspective:1050px;width:min(65vw,32.5vh,315px);aspect-ratio:4/5}
.prize-plinth::before {content:'';position:absolute;inset:12% -22% -12%;background:radial-gradient(ellipse,#deb27b3b,transparent 69%);pointer-events:none}
.prize-flight,.prize-turn,.prize-front,.prize-back {position:absolute;inset:0}
.prize-flight,.prize-turn {transform-style:preserve-3d}
.prize-turn {animation:prize-unveil 1.52s cubic-bezier(.14,.68,.18,1) both}
.prize-front,.prize-back {backface-visibility:hidden;-webkit-backface-visibility:hidden;border-radius:7px;box-shadow:0 13px 28px #120a0a8c}
.prize-front {transform:translateZ(1px)}
.prize-front .triad-card {height:100%;width:100%}
.prize-back {transform:rotateY(180deg) translateZ(1px);overflow:hidden;background:#253e35}
.prize-back img {display:block;width:100%;height:100%}
.prize-actions {align-self:start;display:grid;justify-items:center;gap:9px}
.prize-collect {border:1px solid #f2d2a2;border-radius:3px;padding:11px 24px;min-height:44px;background:#edd3a7;color:#40271c;font:600 17px var(--sans)}
.prize-collect:hover {background:#ffebc5}
.prize-close {position:absolute;top:max(15px,env(safe-area-inset-top));right:max(15px,env(safe-area-inset-right));width:44px;height:44px;background:#2a1a18c2;border:1px solid #947758;color:#f7e8cc;border-radius:50%;font:400 28px/1 var(--serif)}
.prize-note {font:400 14px/1.4 var(--sans);color:#e1cbb4}
.prize-theatre button:focus-visible {outline:2px solid #f3cd8d;outline-offset:4px}
.prize-theatre.collecting .prize-flight {animation:prize-file .5s cubic-bezier(.4,.04,.69,1) both}
@keyframes prize-unveil {
  from {transform:translate3d(0,8%,0) rotateZ(-5deg) rotateY(-560deg) scale(.82)}
  to {transform:translate3d(0,0,0) rotateZ(0deg) rotateY(0deg) scale(1)}
}
@keyframes prize-file {
  from {transform:none;opacity:1}
  to {transform:translateY(32%) scale(.35) rotateZ(4deg);opacity:0}
}
@media (max-height:500px) {.prize-scene {gap:6px;padding:8px 18px}.prize-plinth {width:min(48vw,30vh)}.prize-actions {gap:4px}.prize-collect{padding:5px 14px;min-height:33px}.prize-heading h2{font-size:24px}}
@media (prefers-reduced-motion:reduce) {.prize-turn,.prize-theatre.collecting .prize-flight {animation:none}}
