#front-sound-choice[open] {
  --engraving: url('/src/bedazzlement-1280.webp');
  background: #0b1720 var(--engraving) center / cover no-repeat;
  isolation: isolate;
}
@media (min-resolution: 1.6dppx), (min-width: 1100px) {
  #front-sound-choice[open] { --engraving: url('/src/bedazzlement-2560.webp'); }
}
@media (min-width: 2600px), (min-width: 1500px) and (min-resolution: 2dppx) {
  #front-sound-choice[open] { --engraving: url('/src/bedazzlement-7680.webp'); }
}
#front-sound-choice #front-entry-plasma { opacity: .08; mix-blend-mode: screen; }
#front-sound-choice #front-entry-content { width: min(100%, 75rem); }
#front-entry-content #front-reading-room { width: min(100%, 30rem); margin-inline: auto; }
#front-sound-choice .entry-inscription {
  position: absolute; top: max(1rem, env(safe-area-inset-top));
  right: max(1.25rem, env(safe-area-inset-right)); z-index: 3;
  margin: 0; color: #c5aa8b; font: italic .875rem/1.3 Georgia, serif;
  text-transform: none; pointer-events: none;
}
.entry-wheel-viewport { position: absolute; inset: 0; overflow: hidden; pointer-events: none; container-type: size; }
.entry-wheel-art {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: max(100cqw, 177.7778cqh); aspect-ratio: 16/9;
}
.entry-wheel-art i {
  position: absolute; top: 47.1111%; left: -8.375%; width: 72.75%; aspect-ratio: 1;
  translate: -50% -50%; background: url('/src/entry-wheel-left.webp') center/cover;
  mask-image: radial-gradient(closest-side, transparent 31%, black 42% 95%, transparent);
  animation: engraved-wheel-turn 160s linear infinite;
}
.entry-wheel-art i + i {
  left: 108.375%; background-image: url('/src/entry-wheel-right.webp');
  animation-direction: reverse;
}
@keyframes engraved-wheel-turn { to { transform: rotate(1turn); } }
@media (prefers-reduced-motion: reduce) { .entry-wheel-viewport { display: none; } }
#front-sound-choice .bedazzlement-doors {
  position: absolute; inset: 0; overflow: hidden; z-index: 2; pointer-events: none;
  animation: doors-finished 2.7s step-end both;
}
.bedazzlement-doors::before, .bedazzlement-doors::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent 49.91%, #8f7355 50%, transparent 50.09%), #0b1720 var(--engraving) center / cover no-repeat;
  clip-path: inset(0 50% 0 0);
  animation: door-left 1.25s cubic-bezier(.65,0,.22,1) 1.35s both;
}
.bedazzlement-doors::after { clip-path: inset(0 0 0 50%); animation-name: door-right; }
#front-sound-choice #front-entry-content { z-index: 3; }
#front-entry-content #front-reading-room, #front-sound-choice #front-entry-actions, #front-sound-choice #front-requirements {
  animation: reveal-entry .75s ease-out 1.65s both;
}
@keyframes door-left { to { transform: translateX(-50%); } }
@keyframes door-right { to { transform: translateX(50%); } }
@keyframes doors-finished { to { visibility: hidden; } }
@keyframes reveal-entry { from { visibility:hidden; opacity:0; } to { visibility:visible; opacity:1; } }
@media (prefers-reduced-motion: reduce) {
  #front-sound-choice .bedazzlement-doors { display: none; }
  #front-entry-content #front-reading-room,
  #front-sound-choice #front-entry-actions, #front-sound-choice #front-requirements { animation: none; }
}
