.gameplay-surface { position: absolute; inset: 0; }
.title-screen {
  position: absolute;
  z-index: 20;
  inset: 0;
  display: grid;
  place-items: center;
  background: #b7d99a;
}
.title-screen[hidden] { display: none; }
.title-art {
  position: relative;
  width: min(100%, calc(100dvh * 942 / 1672));
  aspect-ratio: 942 / 1672;
  max-height: 100%;
}
.title-art img { display: block; width: 100%; height: 100%; object-fit: contain; }
.title-action {
  position: absolute;
  display: block;
  border: 0;
  background: transparent;
  color: transparent;
  cursor: pointer;
}
.title-action:disabled { cursor: wait; }
.title-action:focus-visible { outline: 4px solid #1f68d6; outline-offset: 2px; border-radius: 22px; }
.title-start { top: 73.5%; left: 7%; width: 86%; height: 11.5%; }
.title-settings { top: 88%; left: 33%; width: 34%; height: 5.5%; }
.title-message {
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 1.5%;
  margin: 0;
  padding: 5px 8px;
  border-radius: 8px;
  background: #fff9e6eb;
  color: #382c21;
  font-size: 12px;
  text-align: center;
}
.title-message:empty { display: none; }
