#opening {
  overflow: hidden;
  background: #101222;
  isolation: isolate;
  pointer-events: auto;
}
#coverPlane {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 100%;
  aspect-ratio: 418 / 235;
  transform: translate(-50%, -50%);
  overflow: hidden;
  background: #272040;
}
#coverPortal, #coverPicture, #coverImage, #coverSparks {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
  image-rendering: crisp-edges;
  image-rendering: pixelated;
}
#coverImage { color: transparent; user-select: none; -webkit-user-drag: none; }
#opening button {
  position: absolute;
  display: grid;
  place-items: center;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
#opening button svg { width: 100%; height: 100%; display: block; }
#begin {
  left: 50%;
  bottom: max(3.2%, calc(env(safe-area-inset-bottom) + 6px));
  width: 80px;
  height: 60px;
  transform: translateX(-50%);
}
#titlehelp, #titleSound {
  top: max(12px, calc(env(safe-area-inset-top) + 6px));
  right: max(12px, calc(env(safe-area-inset-right) + 6px));
  width: 44px;
  height: 44px;
}
#titleSound { right:max(62px,calc(env(safe-area-inset-right) + 56px)); }
#titleSound[aria-pressed="false"] .soundWaves, #titleSound[aria-pressed="true"] .soundOff { display:none; }
#opening button:focus-visible { outline: 3px solid #c6ffdd; outline-offset: 3px; }
@media (hover:hover) { #opening button:hover { filter: brightness(1.22); } }
#begin:active { transform: translate(-50%, 2px); }
#titlehelp:active { transform: translateY(1px); }
@media (max-width: 600px), (max-height: 600px) { #begin { width: 64px; height: 48px; } }
@media (max-aspect-ratio: 153/100) { #coverPlane { aspect-ratio: 362/272; } }
@media (max-aspect-ratio: 103/100) { #coverPlane { aspect-ratio: 4/5; } }
@media (max-aspect-ratio: 61/100) { #coverPlane { aspect-ratio: 6/13; } }
