#titleScreen {
  position: fixed;
  inset: 0;
  overflow: hidden;
  isolation: isolate;
  background: #493a2c;
}
#titleScreen canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
#enterMenu {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 2vh, 24px);
  width: 100%;
  padding: 0;
  border: 0;
  outline: 0;
  background: radial-gradient(ellipse at 47% 42%, transparent 46%, rgba(32, 18, 23, .24));
  color: #fff5db;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
#enterMenu img {
  display: block;
  width: min(52vw, 680px, 150vh);
  height: auto;
  filter: drop-shadow(0 4px 4px rgba(28, 16, 13, .37));
}
.titlePrompt {
  display: inline-flex;
  align-items: center;
  gap: .85em;
  padding: .45em .75em;
  font: 600 clamp(15px, 1.2vw, 21px)/1.25 Georgia, serif;
  letter-spacing: .07em;
  text-shadow: 0 1px 2px #302115, 0 2px 6px #302115;
}
.titlePrompt::before, .titlePrompt::after {
  content: "";
  width: 1.6em;
  height: 1px;
  background: linear-gradient(to right, transparent, #edcc88);
}
.titlePrompt::after { transform: rotate(180deg); }
#enterMenu:focus-visible .titlePrompt {
  outline: 2px solid currentColor;
  outline-offset: 3px;
  border-radius: 3px;
}
.touchPrompt, .padPrompt { display: none; }
@media (pointer: coarse) {
  .titlePrompt .keyPrompt { display: none; }
  .titlePrompt .touchPrompt { display: inline; }
}
@media (max-aspect-ratio: 1/1) {
  #enterMenu img { width: min(88vw, 620px); }
}
@media (max-height: 460px) and (orientation: landscape) {
  #enterMenu img { width: min(50vw, 86vh); }
}
#titleScreen.hasGamepad :is(.keyPrompt, .touchPrompt) { display: none; }
#titleScreen.hasGamepad .padPrompt { display: inline; }
@media (prefers-reduced-motion: no-preference) {
  #gameShell:not([hidden]) { animation: enterSanctum .22s ease-out; }
  @keyframes enterSanctum { from { opacity: .35; } to { opacity: 1; } }
}
