:root {
  background: #f4f4f1;
  color: #181818;
  font-family: ui-sans-serif, system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-width: 100%;
  height: 100%;
  min-height: 100%;
  margin: 0;
  overflow: hidden;
  background: #f4f4f1;
}

body {
  overscroll-behavior: none;
}

.page {
  display: grid;
  width: 100vw;
  min-height: 100vh;
  place-items: center;
  margin: 0;
  padding: 24px;
  background:
    radial-gradient(circle at 50% 22%, rgb(255 255 255 / 0.95), transparent 34rem),
    linear-gradient(135deg, #ffffff 0%, #ecece8 100%);
}

.launcher {
  width: min(72vw, 520px);
  text-align: center;
}

.screen {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  border: 0;
  border-radius: 28px;
  box-shadow:
    0 24px 70px rgb(0 0 0 / 0.16),
    0 1px 0 rgb(255 255 255 / 0.22) inset;
  cursor: pointer;
  user-select: none;
  background: #000;
}

.screen:focus {
  outline: 3px solid rgb(0 0 0 / 0.18);
  outline-offset: 6px;
}

.caption {
  margin: 18px 0 0;
  color: rgb(0 0 0 / 0.62);
  font-size: clamp(0.875rem, 1.2vw, 1rem);
  letter-spacing: 0.08em;
}

html:fullscreen,
html:fullscreen body {
  width: 100vw;
  height: 100vh;
  min-height: 100vh;
  overflow: hidden;
  cursor: none;
  background: #000;
}

html:fullscreen .page {
  position: fixed;
  inset: -1px;
  width: auto;
  height: auto;
  min-height: 0;
  padding: 0;
  cursor: none;
  background: #000;
}

html:fullscreen .launcher {
  display: none;
}

html:fullscreen::backdrop {
  background: #000;
}
