/* 3D keepsake book + sketch ornaments + 9→22 easter egg */

.view:not(.active) {
  display: none !important;
}

.view.cover.active {
  perspective: 1800px;
}

.cover-book-3d {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: stretch;
  transform-style: preserve-3d;
  transform: rotateX(7deg) rotateY(-16deg);
  filter: drop-shadow(18px 28px 36px rgba(70, 90, 120, 0.28));
  max-width: min(100%, 680px);
}

.cover-book-spine {
  width: 22px;
  flex-shrink: 0;
  border-radius: 6px 0 0 6px;
  background:
    linear-gradient(90deg, #4a5c74 0%, #7f9fc4 42%, #5a6d88 100%);
  box-shadow: inset -4px 0 8px rgba(20, 30, 45, 0.28);
  transform: rotateY(-28deg);
  transform-origin: right center;
  position: relative;
}

.cover-book-spine::after {
  content: "09 · 22";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(180deg);
  writing-mode: vertical-rl;
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  color: rgba(255, 252, 254, 0.72);
  font-family: var(--font-en);
}

.cover-book-pages {
  position: absolute;
  inset: 10px -16px 10px auto;
  width: 16px;
  border-radius: 0 3px 3px 0;
  background: repeating-linear-gradient(
    90deg,
    #fff8fb 0 1px,
    #efe6ee 1px 2px,
    #f7f1f6 2px 3px
  );
  transform: rotateY(-65deg);
  transform-origin: left center;
  pointer-events: none;
  box-shadow: 6px 8px 16px rgba(70, 90, 120, 0.18);
}

.cover-book-leaf {
  position: absolute;
  left: 22px;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  border-radius: 0 10px 10px 2px;
  pointer-events: none;
  background:
    url("../img/sketches/rose-wellcome.jpg") 92% 88% / 46% no-repeat,
    linear-gradient(155deg, #fffcfe 0%, #f4f8fc 48%, #f7e8ef 100%);
  box-shadow: inset 0 0 0 12px rgba(201, 217, 236, 0.35);
  opacity: 0.92;
}

.cover-book-leaf::after {
  content: attr(data-label);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-zh);
  font-size: 1.35rem;
  letter-spacing: 0.28em;
  color: rgba(106, 134, 173, 0.72);
}

[data-lang="en"] .cover-book-leaf::after {
  font-family: var(--font-en);
  font-style: italic;
  letter-spacing: 0.08em;
}

.cover-book-3d .cover-frame {
  position: relative;
  z-index: 1;
  transform-origin: left center;
  transform-style: preserve-3d;
  border-radius: 0 10px 10px 2px;
  overflow: visible;
}

.cover-book-3d .cover-frame > *:not(.cover-frame-back) {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.cover-book-3d.is-opening {
  z-index: 3;
  filter: none;
  box-shadow: 18px 28px 40px rgba(70, 90, 120, 0.28);
}

.cover-book-3d.is-opening .cover-frame {
  animation: none !important;
  transition: none;
}

.cover-book-3d.is-opening .cover-book-pages {
  opacity: 0;
  transition: opacity 0.45s ease;
}

.cover-book-3d.is-opening .cover-book-leaf {
  filter: brightness(1.04);
}

.cover-frame-back {
  position: absolute;
  inset: 0;
  border-radius: 0 10px 10px 2px;
  transform: rotateY(180deg);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(70, 60, 50, 0.18) 0, transparent 28px),
    url("../img/sketches/rose-wellcome.jpg") 108% 108% / 42% no-repeat,
    linear-gradient(165deg, #efe6dc 0%, #fffaf4 58%, #f7f1ea 100%);
  box-shadow: inset 0 0 0 1px rgba(200, 180, 160, 0.28);
}

.cover-sketch {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.2;
  background:
    url("../img/sketches/rose-wellcome.jpg") 112% -6% / 38% no-repeat,
    url("../img/sketches/couple-line.svg") -10% 72% / 32% no-repeat;
  mix-blend-mode: multiply;
  z-index: 0;
}

.cover-book-3d .cover-frame > *:not(.cover-sketch):not(.cover-frame-back) {
  position: relative;
  z-index: 1;
}

.book-stage {
  position: relative;
  z-index: 1;
  perspective: 2000px;
  overflow: visible;
  padding: 1.4rem 0.5rem 2.4rem;
  min-height: 460px;
  touch-action: pan-y;
}

#book-3d.book-3d {
  z-index: 1;
}

#ambient-petals {
  z-index: 0;
  pointer-events: none;
}

#ambient-petals,
#ambient-petals * {
  pointer-events: none !important;
}

#album-controls {
  z-index: 280;
}

html:not([data-screen="album"]) #album-controls,
html:not([data-screen="album"]) #album-controls .album-controls-inner,
html:not([data-screen="album"]) #album-controls .ctrl-btn {
  display: none !important;
  pointer-events: none !important;
  visibility: hidden !important;
  height: 0 !important;
  overflow: hidden !important;
}

#album-controls .album-controls-inner,
#album-controls .ctrl-btn {
  pointer-events: auto;
  position: relative;
  z-index: 281;
}

.book-sketches {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.book-sketch {
  position: absolute;
  opacity: 0.38;
  mix-blend-mode: multiply;
  filter: grayscale(0.15) contrast(1.05);
}

.book-sketch--rose {
  width: min(28vw, 220px);
  right: -2%;
  top: -6%;
  transform: rotate(8deg);
  animation: sketchDrift 9s ease-in-out infinite alternate;
}

.book-sketch--couple {
  width: min(24vw, 180px);
  left: -1%;
  bottom: 4%;
  transform: rotate(-6deg);
  animation: sketchDrift 11s ease-in-out infinite alternate-reverse;
}

.book-sketch--hands {
  width: min(32vw, 240px);
  left: 50%;
  bottom: -8%;
  transform: translateX(-50%);
  opacity: 0.28;
  animation: sketchDrift 8s ease-in-out infinite alternate;
}

.book-sketch img,
.book-sketch svg {
  width: 100%;
  height: auto;
  display: block;
}

@keyframes sketchDrift {
  from { translate: 0 0; }
  to { translate: 8px -10px; }
}

.book-3d {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: stretch;
  justify-content: center;
  overflow: visible;
  transform-style: preserve-3d;
  --book-rx: 8deg;
  --book-ry: -5deg;
  transform: rotateX(var(--book-rx)) rotateY(var(--book-ry));
  transition: transform 0.2s cubic-bezier(0.33, 0.1, 0.18, 1);
  filter: drop-shadow(0 32px 38px rgba(70, 90, 120, 0.3));
  width: min(100%, 860px);
}

.book-3d.is-tilting {
  transition: transform 0.12s ease-out;
}

.book-3d.is-follow-next {
  transform: rotateX(var(--book-rx)) rotateY(calc(var(--book-ry) - 5deg)) !important;
  transition: transform 0.4s cubic-bezier(0.22, 0.72, 0.22, 1);
}

.book-3d.is-follow-prev {
  transform: rotateX(var(--book-rx)) rotateY(calc(var(--book-ry) + 5deg)) !important;
  transition: transform 0.4s cubic-bezier(0.22, 0.72, 0.22, 1);
}

.book-3d-cover {
  display: none;
  width: 210px;
  flex-shrink: 0;
  transform: rotateY(22deg);
  transform-origin: right center;
  transform-style: preserve-3d;
  border-radius: 10px 0 0 10px;
  overflow: hidden;
  background:
    linear-gradient(145deg, #eef4fb 0%, #f7e8ef 55%, #e4eef8 100%);
  border: 1px solid rgba(158, 182, 212, 0.7);
  border-right: 0;
  box-shadow:
    inset 0 0 0 10px rgba(201, 217, 236, 0.35),
    -12px 10px 28px rgba(70, 90, 120, 0.22);
}

.book-3d-cover img {
  position: absolute;
  inset: 16px 14px 50px;
  width: calc(100% - 28px);
  height: calc(100% - 66px);
  object-fit: contain;
  object-position: center;
  border-radius: 4px;
  opacity: 0.92;
  mix-blend-mode: multiply;
  filter: sepia(0.08);
  background: rgba(255, 248, 246, 0.35);
}

.book-3d-cover-title {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;
  text-align: center;
  font-size: 1.05rem;
  color: var(--claire-blue-deep, #6a86ad);
  letter-spacing: 0.18em;
}

.book-3d-spine {
  width: 16px;
  flex-shrink: 0;
  background:
    linear-gradient(90deg, #44566e 0%, #8aa3c4 45%, #5d738e 100%);
  box-shadow:
    inset 3px 0 8px rgba(255, 255, 255, 0.18),
    inset -4px 0 10px rgba(20, 30, 45, 0.35);
  transform: rotateY(-4deg);
  position: relative;
  z-index: 2;
}

.book-3d-spine::after {
  content: "四百余日";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  writing-mode: vertical-rl;
  font-family: var(--font-zh);
  font-size: 0.72rem;
  letter-spacing: 0.45em;
  color: rgba(255, 252, 254, 0.8);
}

.book-3d-block {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  overflow: visible;
  perspective: 1800px;
  transform: rotateY(-12deg);
  transform-origin: left center;
  transform-style: preserve-3d;
}

.book-3d-block .book-page {
  width: 100%;
  max-width: 520px;
  margin: 0;
  border-radius: 0 12px 12px 2px;
  box-shadow:
    8px 0 0 rgba(201, 217, 236, 0.45),
    14px 0 0 rgba(236, 192, 208, 0.22),
    16px 18px 40px var(--shadow);
}

.book-3d-block .photo-frame img {
  max-height: min(46vh, 420px);
}

.book-3d-foreedge {
  position: absolute;
  top: 8px;
  right: -13px;
  bottom: 8px;
  width: 13px;
  border-radius: 0 3px 3px 0;
  background: repeating-linear-gradient(
    90deg,
    #fffdfc 0 1px,
    #efe8ee 1px 2px,
    #f6f0f5 2px 3px
  );
  transform: rotateY(-72deg);
  transform-origin: left center;
  pointer-events: none;
  box-shadow: 4px 6px 12px rgba(70, 90, 120, 0.16);
}

.book-3d-thickness {
  position: absolute;
  inset: 4px auto 4px -10px;
  width: 10px;
  background: linear-gradient(90deg, rgba(74, 63, 58, 0.18), transparent);
  pointer-events: none;
  z-index: 3;
}

.sketch-credit {
  position: relative;
  z-index: 1;
  margin: 0.85rem auto 0;
  max-width: 36em;
  text-align: center;
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  color: var(--ink-muted);
  opacity: 0.72;
  line-height: 1.5;
}

@media (min-width: 900px) {
  .book-3d-cover {
    display: block;
    position: relative;
  }
  .book-3d-block .book-page {
    max-width: 500px;
  }
}

@media (min-width: 1100px) {
  .book-3d-cover { width: 200px; }
  .book-3d-block .book-page { max-width: 540px; }
}

/* Birthday easter egg */
.birthday-egg {
  position: fixed;
  inset: 0;
  z-index: 360;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(ellipse at 50% 42%, rgba(255, 248, 251, 0.78), rgba(61, 69, 88, 0.42));
  cursor: pointer;
}

.birthday-egg[hidden] {
  display: none !important;
}

.birthday-egg-card {
  position: relative;
  z-index: 2;
  text-align: center;
  pointer-events: none;
  padding: 1.4rem 1.8rem 1.2rem;
  border-radius: 24px;
  background: rgba(255, 252, 254, 0.92);
  border: 1px solid rgba(201, 137, 163, 0.35);
  box-shadow: 0 18px 48px rgba(70, 90, 120, 0.22);
}

.birthday-egg-text {
  font-family: var(--font-zh);
  font-size: clamp(2.4rem, 10vw, 4.6rem);
  color: #c45a72;
  text-shadow: 0 8px 28px rgba(201, 137, 163, 0.45);
  letter-spacing: 0.18em;
  animation: eggWord 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.birthday-egg-sub {
  margin-top: 0.65rem;
  font-family: var(--font-zh);
  font-size: 1.05rem;
  color: #5a6d88;
  letter-spacing: 0.12em;
  animation: eggWord 0.9s 0.12s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes eggWord {
  from { opacity: 0; transform: translateY(16px) scale(0.92); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.birthday-egg-hearts {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.egg-heart {
  position: absolute;
  left: var(--x, 50%);
  bottom: 8%;
  font-size: var(--s, 1.4rem);
  animation: eggFloat var(--d, 4.2s) linear forwards;
  opacity: 0;
}

@keyframes eggFloat {
  0% { opacity: 0; transform: translate3d(0, 20px, 0) scale(0.6) rotate(-8deg); }
  12% { opacity: 1; }
  100% { opacity: 0; transform: translate3d(var(--dx, 20px), -110vh, 0) scale(1.15) rotate(24deg); }
}

.book-sketch--maple {
  width: min(16vw, 92px);
  right: 6%;
  bottom: 12%;
  opacity: 0.32;
  mix-blend-mode: multiply;
  animation: sketchDrift 10s ease-in-out infinite alternate;
}

.book-3d-block .book-page {
  animation: pageRest 6.4s ease-in-out infinite;
}

.book-3d-block .book-page::before {
  content: "";
  position: absolute;
  right: 12px;
  bottom: 10px;
  width: 44px;
  height: 44px;
  opacity: 0.18;
  background-color: #c45c3a;
  -webkit-mask: url("../img/sketches/maple.svg") center / contain no-repeat;
  mask: url("../img/sketches/maple.svg") center / contain no-repeat;
  pointer-events: none;
  z-index: 2;
}

.book-3d:has(.is-turning) {
  filter: none;
}

.book-3d-block.is-turning {
  z-index: 4;
  pointer-events: none;
  perspective: 1080px;
  perspective-origin: 8% 46%;
}

.book-3d-block.is-turning .book-page {
  animation: none;
}

.book-3d-block.is-turning > #book-page {
  animation: none !important;
  transition: none !important;
  transform: none;
}

.book-3d-block.is-turning-prev > #book-page {
  visibility: hidden;
}

.book-page.flip-next,
.book-page.flip-prev,
.book-3d-block .book-page.flip-next,
.book-3d-block .book-page.flip-prev {
  animation: none !important;
}

.turn-curl,
.turn-underlay,
.turn-cast {
  position: absolute;
  transform-origin: left center;
  transform-style: preserve-3d;
  pointer-events: none;
  z-index: 8;
  border-radius: 0 12px 12px 2px;
}

.turn-underlay {
  z-index: 6;
  transform: none !important;
  overflow: hidden;
}

.turn-underlay-inner.book-page {
  max-width: none;
  width: 100%;
  height: 100%;
  margin: 0;
  animation: none !important;
  box-shadow: none;
}

.turn-cast {
  z-index: 7;
  opacity: 0;
  background: linear-gradient(90deg, rgba(28, 22, 16, 0.6) 0%, rgba(28, 22, 16, 0.24) 38%, transparent 74%);
}

.turn-curl {
  z-index: 8;
  overflow: visible;
  transform-origin: left center;
  transform-style: preserve-3d;
}

.turn-seg {
  position: absolute;
  top: 0;
  left: 100%;
  height: 100%;
  overflow: visible;
  transform-origin: left center;
  transform-style: preserve-3d;
}

.turn-curl > .turn-seg,
.turn-seg--spine {
  left: 0;
}

.turn-seg-face,
.turn-seg-back {
  position: absolute;
  inset: 0;
  overflow: hidden;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.turn-seg-face {
  background: #fffdf9;
}

.turn-seg-inner.book-page {
  max-width: none;
  width: 100%;
  height: 100%;
  margin: 0;
  animation: none !important;
  box-shadow: none;
  border-radius: 0;
}

.turn-seg-shade {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: 0.08;
  background: linear-gradient(
    90deg,
    rgba(40, 32, 24, 0.32) 0,
    rgba(40, 32, 24, 0.06) 38%,
    rgba(255, 250, 244, 0.08) 100%
  );
}

.turn-seg-glint {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(
    105deg,
    transparent 28%,
    rgba(255, 252, 246, 0.42) 48%,
    transparent 68%
  );
}

.turn-seg--edge .turn-seg-glint {
  background: linear-gradient(
    95deg,
    transparent 42%,
    rgba(255, 252, 248, 0.72) 52%,
    transparent 64%
  );
}

.turn-seg-back {
  transform: rotateY(180deg);
  background:
    linear-gradient(90deg, rgba(70, 54, 40, 0.34) 0, transparent 16px),
    repeating-linear-gradient(90deg, #efe6dc 0 1px, #e3d6c8 1px 2px),
    linear-gradient(165deg, #e6d8cc, #f4ece4);
}

.turn-seg-thickness {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: 5px;
  transform: rotateY(-90deg) translateZ(0.4px);
  transform-origin: right center;
  background: linear-gradient(180deg, #f8f0e6, #cbb89e 46%, #efe2d4);
  box-shadow: 1px 0 3px rgba(70, 52, 36, 0.28);
  opacity: 0.45;
  pointer-events: none;
}

.turn-seg--spine .turn-seg-face::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 12px;
  pointer-events: none;
  z-index: 5;
  background: linear-gradient(90deg, rgba(40, 32, 24, 0.2), transparent);
}

.turn-seg--edge .turn-seg-face,
.turn-seg--edge .turn-seg-back {
  border-radius: 0 12px 12px 2px;
}

.turn-seg--edge .turn-seg-face {
  box-shadow: 10px 16px 28px rgba(40, 32, 24, 0.34);
}

.turn-seg--edge .turn-seg-thickness {
  width: 6px;
}

.book-page.is-fade-turn {
  animation: turnFade 0.22s cubic-bezier(0.33, 0.02, 0.18, 1) both;
}

@keyframes turnFade {
  from { opacity: 0.32; }
  to { opacity: 1; }
}

@keyframes pageRest {
  0%, 100% { transform: translate3d(0, 0, 0) rotateX(0deg) rotateZ(0deg); }
  50% { transform: translate3d(0, -6px, 8px) rotateX(1.6deg) rotateZ(-0.4deg); }
}

.maple-leaf {
  position: absolute;
  width: 22px;
  height: 22px;
  pointer-events: none;
  background-color: #c45c3a;
  -webkit-mask: url("../img/sketches/maple.svg") center / contain no-repeat;
  mask: url("../img/sketches/maple.svg") center / contain no-repeat;
}

#ambient-petals {
  z-index: 0 !important;
  pointer-events: none !important;
}

#xuan-paper {
  z-index: 0 !important;
  pointer-events: none !important;
}

#app {
  z-index: 2;
}

.maple-leaf--1 { background-color: #d9894a; }
.maple-leaf--2 { background-color: #c9a24a; }
.maple-leaf--3 { background-color: #a84a3a; }

.maple-leaf--drift {
  top: -8%;
  animation-name: mapleFall;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

.maple-leaf--flip {
  z-index: 5;
  animation-name: mapleFlip;
  animation-timing-function: cubic-bezier(0.22, 0.6, 0.2, 1);
  animation-fill-mode: forwards;
}

@keyframes mapleFall {
  0% {
    transform: translate3d(0, -8vh, 0) rotate(0deg);
    opacity: 0;
  }
  8% { opacity: 0.7; }
  100% {
    transform: translate3d(var(--drift, 40px), 118vh, 0) rotate(360deg);
    opacity: 0;
  }
}

@keyframes mapleFlip {
  0% {
    opacity: 0;
    transform: translate3d(0, 0, 0) rotate(0deg) scale(0.6);
  }
  14% { opacity: 1; }
  100% {
    opacity: 0;
    transform: translate3d(var(--dx, 80px), var(--dy, 70px), 0) rotate(var(--rot, 180deg)) scale(1.05);
  }
}

@media (max-width: 720px), (pointer: coarse) {
  .book-3d-block .book-page {
    animation: none;
  }
  .book-sketch--maple,
  .book-sketch--rose,
  .book-sketch--couple,
  .book-sketch--hands {
    animation: none;
  }
}

@media (max-width: 899px) {
  .book-sketch--couple,
  .book-sketch--rose {
    width: min(34vw, 140px);
    opacity: 0.26;
  }
  .book-3d {
    --book-rx: 10deg;
    --book-ry: -8deg;
    transform: rotateX(var(--book-rx)) rotateY(var(--book-ry));
    width: 100%;
  }
  .book-3d-block {
    transform: rotateY(-8deg);
  }
  .book-3d-block .book-page {
    max-width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cover-book-3d,
  .book-3d,
  .book-sketch,
  .birthday-egg-text,
  .birthday-egg-sub,
  .egg-heart,
  .maple-leaf,
  .turn-curl,
  .book-3d-block .book-page {
    animation: none !important;
    transition: none !important;
  }
  .book-page.is-fade-turn {
    animation: turnFade 0.22s cubic-bezier(0.33, 0.02, 0.18, 1) both !important;
  }
  .cover-book-3d { transform: none; }
  .book-3d { transform: none; }
  .book-3d.is-follow-next,
  .book-3d.is-follow-prev {
    transform: none !important;
  }
  .cover-book-3d.is-opening .cover-frame { transform: none; }
}

/* Story CTA lock — last so it wins over earlier z-index / pointer-events. */
html[data-screen="story"] #view-cover,
html[data-screen="story"] #view-album,
html[data-screen="story"] #view-album * {
  pointer-events: none !important;
}

html[data-screen="story"] #view-cover,
html[data-screen="story"] #view-album {
  display: none !important;
  visibility: hidden !important;
}

html[data-screen="story"] #album-controls,
html[data-screen="story"] #album-controls *,
html[data-screen="story"] #book-stage,
html[data-screen="story"] #book-stage *,
html[data-screen="story"] #ambient-petals,
html[data-screen="story"] #ambient-petals *,
html[data-screen="story"] #claire-burst,
html[data-screen="story"] #claire-burst *,
html[data-screen="story"] #xuan-paper,
html[data-screen="story"] #xuan-paper *,
#view-story.active ~ #view-album #album-controls,
#view-story.active ~ #view-album #album-controls *,
#view-story.active ~ #view-album #book-stage,
#view-story.active ~ #view-album #book-stage * {
  pointer-events: none !important;
}

html[data-screen="story"] #album-controls,
#view-story.active ~ #view-album #album-controls {
  display: none !important;
  visibility: hidden !important;
}

#btn-see-us {
  display: none;
  position: fixed;
  left: 50%;
  bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%);
  z-index: 2147483000;
  pointer-events: auto !important;
  touch-action: manipulation;
  min-width: 12rem;
  min-height: 48px;
}

html[data-screen="story"] #btn-see-us {
  display: flex !important;
  align-items: center;
  justify-content: center;
}

html[data-screen="story"] #btn-see-us:hover,
html[data-screen="story"] #btn-see-us:focus-visible {
  transform: translateX(-50%) translateY(-2px);
}

#ambient-petals,
#ambient-petals *,
#xuan-paper,
#xuan-paper *,
#claire-burst,
#claire-burst * {
  pointer-events: none !important;
  z-index: 0 !important;
}
#app {
  position: relative;
  z-index: 10;
}
#btn-see-us {
  position: fixed !important;
  z-index: 2147483647 !important;
  pointer-events: auto !important;
}
#btn-see-us,
.nav-pills button,
.lang-toggle button {
  pointer-events: auto !important;
  touch-action: manipulation;
}
html[data-screen="album"] #album-controls .album-controls-inner,
html[data-screen="album"] #album-controls .ctrl-btn {
  pointer-events: auto !important;
}

#view-cover .cover-book-3d,
#view-cover .cover-book-spine,
#view-cover .cover-book-leaf,
#view-cover .cover-book-pages,
#view-cover .cover-sketch {
  pointer-events: none;
}
#view-cover .cover-open,
#view-cover [data-action="open-story"] {
  pointer-events: auto;
}
