* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --design-width: 1220px;
  --design-height: 710px;
  --gradient-a: #2fd0ab;
  --gradient-b: #30b2cf;
}

html,
body {
  width: 100%;
  height: 100%;
  background: #000;
  overflow: hidden;
  font-family: "Lato", sans-serif;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  touch-action: manipulation;
}

/* Full-viewport wrapper that centers and letterboxes .stage */
.viewport {
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
}

/* Authored at the Figma frame's native 1220x710; JS scales this to fit
   the real screen so layout matches Figma regardless of resolution. */
.stage {
  position: relative;
  width: var(--design-width);
  height: var(--design-height);
  background: #000;
  overflow: hidden;
  transform-origin: center center;
  flex-shrink: 0;
}

/* Screen manager: exactly one .screen is shown at a time, each filling
   the whole stage. See js/app.js. */
.screen {
  position: absolute;
  inset: 0;
  display: none;
  transform: translateX(0);
}

.screen.is-active {
  display: block;
}

/* Applied only during an animated App.navigate() swipe — see js/app.js. */
.screen.is-sliding {
  transition: transform 420ms cubic-bezier(0.65, 0, 0.35, 1);
}
