/* Fabergé Market — first external tester UX polish. */
.sheet-x {
  top: 10px;
  right: 10px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.28);
  background: rgba(10,16,24,.9);
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 6px 20px rgba(0,0,0,.38), 0 0 0 1px rgba(0,0,0,.18) inset;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.sheet-x:active { transform: scale(.94); }
.sheet-x:focus-visible { outline: 2px solid #e8c76a; outline-offset: 2px; }

/* Some iOS/WebView builds collapse this area because the image is height:100%
   while its parent has no intrinsic height. Give public gift cards a real art stage. */
.public-held-card .card-egg {
  position: relative;
  aspect-ratio: 1 / 1;
  min-height: 132px;
  padding: 0;
  overflow: hidden;
  background: #111b27 url('/img/egg-hero.png') center / cover no-repeat;
}
.public-held-card[data-collection-key]:not([data-collection-key="easter-egg"]) .card-egg {
  background: #111b27;
}
.public-held-card .card-egg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.public-held-card .card-egg::after {
  content: '⛶';
  position: absolute;
  right: 8px;
  bottom: 8px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.24);
  background: rgba(10,16,24,.78);
  color: #fff;
  font-size: 16px;
  line-height: 1;
  box-shadow: 0 4px 14px rgba(0,0,0,.28);
  pointer-events: none;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
@media (max-width: 390px) {
  .public-held-card .card-egg { min-height: 126px; }
}
