:root {
  --brand: #821277;
  --focus: #ffd400;
  --max-width: 480px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--brand);
  font-family:
    system-ui,
    -apple-system,
    'Segoe UI',
    Roboto,
    sans-serif;
  color: #fff;
}

body {
  display: flex;
  justify-content: center;
  min-height: 100dvh;
}

.stage {
  width: 100%;
  max-width: var(--max-width);
}

.screen {
  position: relative;
  width: 100%;
  margin: 0;
  animation: fade-in 0.3s ease-out;
}

.screen img {
  display: block;
  width: 100%;
  height: auto;
  user-select: none;
  -webkit-user-drag: none;
}

.screen-content:focus {
  outline: none;
}

.hotspot {
  position: absolute;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.hotspot:hover {
  background: rgb(255 255 255 / 0.08);
}

.hotspot:active {
  background: rgb(255 255 255 / 0.16);
}

.hotspot:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.noscript {
  padding: 2rem 1rem;
  text-align: center;
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .screen {
    animation: none;
  }
}
