.curiosity-cabinet, [data-cabinet-start], [data-cabinet-invite-open] {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3E%3Cpath fill='%23ffe1a0' stroke='%23201912' stroke-width='1.6' stroke-linejoin='round' d='M2 3l25 8-11 4-5 12-3-10zM8 17l19-6M16 15l-5 12'/%3E%3C/svg%3E") 2 3, pointer;
}
.cabinet-figure { position: relative; }
.cabinet-controls:not(:has(> :not([hidden]))) { display: none; }
[data-cabinet-invite-open] {
  position: absolute;
  z-index: 2;
  left: 72%;
  top: 73%;
  display: grid;
  place-items: center;
  width: 80px;
  height: 80px;
  padding: 0;
  border: 0;
  border-radius: 22%;
  background: transparent;
  filter: drop-shadow(0 4px 7px #1119);
}
[data-cabinet-invite-open][hidden] { display: none; }
.cabinet-paper-icon {
  display: block;
  width: 100%;
  height: auto;
}
.play-hero-footer-story { position: relative; }
.cabinet-paper-landing {
  position: absolute;
  z-index: 8;
  left: 50%;
  bottom: calc(100% + 46px);
  width: clamp(62px, 6vw, 82px);
  aspect-ratio: 1;
  transform: translateX(-50%);
  pointer-events: none;
}
.cabinet-paper-landing > [data-cabinet-invite-open] {
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: auto;
  transform-origin: center;
  filter: drop-shadow(0 6px 7px #1115);
}
.cabinet-paper-landing > [data-cabinet-invite-open].is-paper-flying { will-change: transform, opacity; }
.cabinet-paper-landing > [data-cabinet-invite-open]:hover .cabinet-paper-icon { transform: rotate(-7deg); }
.cabinet-paper-landing .cabinet-paper-icon { transition: transform .2s; }
.has-key-return [data-cabinet-unlock] {
  box-shadow: 0 0 0 5px #edc57433, 0 0 32px #edc57470;
  animation: cabinet-key-invite 1.5s ease-in-out 3;
}
@keyframes cabinet-key-invite {
  50% { box-shadow: 0 0 0 10px #edc57411, 0 0 42px #edc574a0; }
}
.cabinet-invite .cabinet-passport-offer {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 160px;
  margin: 12px 0 32px;
  padding-bottom: 18px;
  isolation: isolate;
}
.cabinet-invite .cabinet-offer-paw {
  position: absolute;
  width: clamp(65px,24vw,115px);
  height: auto;
  top: 0;
  left: 7%;
  z-index: 1;
  filter: drop-shadow(0 4px 3px #100b0970);
  animation: cabinet-offer .4s ease-out both;
}
.cabinet-invite .cabinet-offer-paw:last-child {
  left: auto;
  right: 7%;
  scale: -1 1;
}
.cabinet-invite > img { display: none; }
.cabinet-passport-book {
  display: grid;
  gap: 2px;
  justify-items: center;
  padding: 12px 19px 7px;
  color: #fff1c9;
  background: #8c5143;
  border: 1px solid #dfb385;
  box-shadow: -5px 4px 0 #6d382b;
  transform: rotate(-5deg);
}
.cabinet-passport-book small { letter-spacing: .13em; }
.cabinet-passport-book strong { font: 800 20px/1.35 var(--play-display); }
@keyframes cabinet-offer { from { opacity: 0; transform: translateY(-30px); } }
@media (prefers-reduced-motion: reduce) {
  .cabinet-invite .cabinet-offer-paw { animation: none; }
  .cabinet-paper-landing .cabinet-paper-icon { transition: none; }
  .has-key-return [data-cabinet-unlock] { animation: none; }
}
