* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #000;
}
#screen {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
}
canvas {
  display: block;
  width: 100vw;
  height: 100dvh;
  cursor: none;
  outline: none;
  touch-action: none;
}
.accessible-choice {
  position: fixed;
  left: -9999px;
}
.accessible-choice:focus-visible {
  left: 12px;
  top: 12px;
  z-index: 2;
}
#status {
  position: fixed;
  bottom: 14px;
  inset-inline: 0;
  text-align: center;
  color: white;
  font:
    14px system-ui,
    sans-serif;
  pointer-events: none;
}
[hidden] {
  display: none !important;
}

#rotate-notice {
  display: none;
}
@media (orientation: portrait) {
  #screen {
    visibility: hidden;
  }
  #rotate-notice {
    position: fixed;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: clamp(6px, 1.5dvh, 14px);
    background-color: #f3f4f4;
    background-image:
      url('../assets/images/launcher_bg_line.png'), url('../assets/images/launcher_bg.png');
    background-repeat: repeat, no-repeat;
    background-position: center, center;
    background-size:
      8px calc(100dvh / 57),
      100% 100%;
    padding: 24px;
  }
  .rotate-message {
    display: block;
    width: min(88vw, 540px);
    height: auto;
  }
  .rotate-detail {
    display: block;
    width: min(80vw, 440px);
    height: auto;
  }
  .rotate-copyright {
    position: absolute;
    bottom: 8%;
    width: min(64vw, calc(100dvh * 238 / 456));
    height: auto;
    filter: brightness(0.25);
  }
}
