body { background: #0f857b; }
.album { background: radial-gradient(circle at 12% 14%, #14a08f 0 24vmax, transparent 24.1vmax), radial-gradient(circle at 94% 92%, #0c6a64 0 30vmax, transparent 30.1vmax), #0f857b; }
.album h1 { position: absolute; left: 100px; right: 100px; top: max(16px, env(safe-area-inset-top)); height: 64px; display: grid; place-items: center; font-size: clamp(28px, 4vw, 44px); color: #fff; }
.book { position: absolute; inset: 106px 104px 72px; padding: 26px; border-radius: 40px; background: var(--coral); box-shadow: 0 14px 0 var(--coral-deep); }
.page { position: relative; width: 100%; height: 100%; border-radius: 18px; overflow: hidden; background: #ffe9b8 url("/games/sticker-book/page-1.svg") center / cover no-repeat; }
.page-2 { background-image: url("/games/sticker-book/page-2.svg"); }
.page::after { content: ""; position: absolute; inset: 0 50% 0 auto; width: 20px; background: linear-gradient(90deg, rgb(43 34 51 / .08) 80%, rgb(43 34 51 / .3) 80%); pointer-events: none; }
.sticker { position: absolute; z-index: 1; width: clamp(62px, 13vmin, 118px); aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; display: grid; place-items: center; background: #fff; box-shadow: 0 5px 0 rgb(43 34 51 / .2); touch-action: none; cursor: grab; transition: scale .15s, box-shadow .15s; }
.sticker img { width: 76%; pointer-events: none; }
.sticker.held { z-index: 5; scale: 1.14; box-shadow: 0 14px 0 rgb(43 34 51 / .16); cursor: grabbing; }
.empty { position: absolute; z-index: 1; left: 50%; top: 24%; width: min(84%, 480px); translate: -50% -50%; padding: 18px 24px; border-radius: 28px; background: var(--cream); font-size: clamp(22px, 3vw, 30px); font-weight: 700; line-height: 1.3; text-align: center; text-wrap: balance; }
.turn { position: absolute; top: calc(50% - 16px); z-index: 3; }
.prev { left: max(20px, env(safe-area-inset-left)); }
.next { right: max(20px, env(safe-area-inset-right)); }
.album-pip { position: absolute; z-index: 4; right: 34px; bottom: 4px; width: min(24vh, 22vw, 210px); pointer-events: none; }
.album-pip .pip { pointer-events: none; }
.album-pip .pip-svg { pointer-events: none; }
@media (max-aspect-ratio: 1/1) {
  .book { inset: 106px 24px 190px; }
  .page { background-size: cover; }
  .page::after { display: none; }
  .turn { top: auto; bottom: max(60px, env(safe-area-inset-bottom)); }
  .next { right: auto; left: 110px; }
}
@media (max-width: 480px) {
  .album h1 { left: 88px; right: 88px; }
  .book { inset: 100px 12px 150px; padding: 14px; border-radius: 28px; }
  .turn { bottom: 40px; }
  .album-pip { width: 120px; right: 16px; }
}
@media (max-height: 500px) {
  .album h1 { height: 48px; }
  .book { inset: 70px 104px 28px; padding: 12px; border-radius: 24px; }
  .round-btn { width: 48px; height: 48px; }
}
