/* Shared venue/ticket treatment. Dimensions and source artwork stay unchanged. */
.collectible-hover {
  position: relative;
  isolation: isolate;
}
.collectible-hover > img {
  position: relative;
  z-index: 2;
}
/* Unlock celebrations own these pseudo-elements while their animation runs. */
.collectible-hover:not(.unlock-stage)::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(ellipse at 50% 58%, rgba(230,207,151,.22), rgba(230,207,151,.06) 52%, transparent 80%);
  opacity: 0;
  pointer-events: none;
  z-index: 0;
}
html[data-theme="light"] .collectible-hover:not(.unlock-stage)::before {
  background: radial-gradient(ellipse at 50% 58%, rgba(170,127,40,.19), rgba(170,127,40,.05) 52%, transparent 80%);
}
/* A touch tap remains a tap; no sticky hover or extra gesture is required. */
@media (hover: hover) and (pointer: fine) {
  .collectible-hover:not(.unlock-stage)::before { transition: opacity 220ms ease; }
  .collectible-hover > img { transition: translate 220ms ease, filter 220ms ease; }
  .collectible-hover:hover:not(.unlock-stage)::before,
  .collectible-hover:focus-visible:not(.unlock-stage)::before { opacity: 1; }
  .collectible-hover:hover > img:not(.unlock-reveal):not(.unlock-pop),
  .collectible-hover:focus-visible > img:not(.unlock-reveal):not(.unlock-pop) {
    translate: 0 -5px;
    filter: drop-shadow(0 12px 10px rgba(0,0,0,.28));
  }
}
@media (prefers-reduced-motion: reduce) {
  .collectible-hover > img,
  .collectible-hover:not(.unlock-stage)::before { transition: none; }
  .collectible-hover:hover > img:not(.unlock-reveal):not(.unlock-pop),
  .collectible-hover:focus-visible > img:not(.unlock-reveal):not(.unlock-pop) { translate: none; }
}
