html,
body {
  margin: 0;
  min-height: 100dvh;
}

body {
  background: #070b14;
  color: #fff;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
}

.home {
  min-height: 100dvh;
  background:
    radial-gradient(120% 80% at 50% 0%, #1a2744 0%, rgb(26 39 68 / 0) 55%),
    radial-gradient(90% 70% at 100% 100%, #121a2e 0%, rgb(18 26 46 / 0) 50%),
    #070b14;
}

.apps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 74px);
  justify-content: start;
  gap: 18px 12px;
  width: max-content;
  margin: 0;
  padding:
    calc(28px + env(safe-area-inset-top))
    16px
    calc(32px + env(safe-area-inset-bottom));
}

.apps a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 74px;
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  line-height: 1.15;
  text-align: center;
  white-space: nowrap;
  text-shadow: 0 1px 2px rgb(0 0 0 / 0.65);
}

.apps img {
  width: 60px;
  height: 60px;
  border-radius: 22%;
  object-fit: cover;
}

.apps a:active img {
  opacity: 0.7;
}

.apps a:focus-visible {
  outline: 2px solid #f3f0e8;
  outline-offset: 4px;
}

.splash {
  position: fixed;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  background: #0B1020;
  transition: opacity 300ms ease;
}

.splash span {
  color: #f3f0e8;
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

html[data-splash="done"] .splash {
  opacity: 0;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .splash {
    display: none;
  }
}
