@import url("../design_system_v1.0/tokens.css");

* { box-sizing: border-box; }

html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
  background: var(--color-paper);
}

body {
  display: grid;
  place-items: center;
  overflow: hidden;
}

.screen {
  position: relative;
  width: min(100vw, 390px);
  height: min(100svh, 844px);
  min-height: 100vh;
  overflow: hidden;
  background: var(--color-paper);
  isolation: isolate;
}

.screen__artwork {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  user-select: none;
  -webkit-user-drag: none;
}

.screen__action {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  appearance: none;
  cursor: pointer;
  background: transparent;
  -webkit-tap-highlight-color: transparent;
}

.screen__action:focus-visible {
  outline: 2px solid var(--color-cinnabar);
  outline-offset: -6px;
}

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

@media (min-width: 391px), (min-height: 845px) {
  .screen { box-shadow: 0 18px 64px rgba(53, 53, 54, 0.12); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

