@font-face {
  font-family: "ArimoClone";
  font-style: normal;
  font-weight: 400;
  src: url("./assets/fonts/arimo-regular.woff") format("woff");
  font-display: swap;
}

@font-face {
  font-family: "ArimoClone";
  font-style: normal;
  font-weight: 700;
  src: url("./assets/fonts/arimo-bold.woff") format("woff");
  font-display: swap;
}

:root {
  --surface-primary: #ffffff;
  --surface-desktop: #f5f5f7;
  --accent-primary: #5974ff;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--surface-primary);
}

body {
  min-height: 100dvh;
  margin: 0;
  background: var(--surface-primary);
  font-family: Arial, Helvetica, system-ui, -apple-system, sans-serif;
}

button {
  border: 0;
  background: transparent;
  color: transparent;
  cursor: pointer;
  font: inherit;
  -webkit-tap-highlight-color: transparent;
}

.app-shell {
  width: 100%;
  max-width: 434px;
  min-height: 893px;
  margin: 0 auto;
  overflow: hidden;
  background: var(--surface-primary);
}

.screen {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 180ms ease-in-out, transform 180ms ease-in-out;
}

.screen[hidden] {
  display: none;
}

.image-screen {
  position: relative;
  min-height: 0;
}

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

.hotspot {
  position: absolute;
  z-index: 2;
  border-radius: 14px;
}

.countdown-overlay {
  position: absolute;
  z-index: 3;
  left: 20%;
  top: 60.3%;
  width: 60%;
  min-height: 4%;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-primary);
  color: #65666b;
  font-family: "ArimoClone", Arial, Helvetica, system-ui, -apple-system, sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
  white-space: nowrap;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

.countdown-overlay strong {
  margin-left: 4px;
  color: #050505;
  font-size: 16px;
  font-weight: 700;
}

.hotspot:active {
  transform: scale(0.98);
}

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

.hotspot-close {
  left: 87.8%;
  top: 2.1%;
  width: 9.2%;
  height: 4.4%;
  border-radius: 50%;
}

.hotspot-copy {
  left: 67.6%;
  top: 20%;
  width: 6.5%;
  height: 3.5%;
}

.hotspot-qr {
  left: 2.5%;
  top: 41.2%;
  width: 47.5%;
  height: 6%;
}

.hotspot-save {
  left: 50%;
  top: 41.2%;
  width: 47.5%;
  height: 6%;
}

.hotspot-edit {
  left: 73.4%;
  top: 76%;
  width: 22.5%;
  height: 3.5%;
  border-radius: 999px;
}

.hotspot-regenerate {
  left: 24.8%;
  top: 65.5%;
  width: 50.4%;
  height: 4.2%;
  border-radius: 999px;
}

@media (min-width: 435px) {
  body {
    background: var(--surface-desktop);
  }

  .app-shell {
    box-shadow: 0 0 0 1px rgb(0 0 0 / 4%);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
