body {
  background: linear-gradient(180deg, #120d30 0%, #2b1f66 55%, #6b3fa0 100%);
}

.backdrop {
  position: fixed;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}
.backdrop .glow {
  position: absolute;
  left: -20%;
  right: -20%;
  bottom: -30%;
  height: 70%;
  background: radial-gradient(ellipse at 50% 100%, rgba(255, 138, 92, 0.45), rgba(255, 138, 92, 0) 65%);
}
.backdrop .stars {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, #fff 0 0.08rem, transparent 0.1rem), radial-gradient(circle, #ffe9a8 0 0.1rem, transparent 0.12rem);
  background-size: 9rem 7rem, 13rem 11rem;
  background-position: 1rem 2rem, 5rem 6rem;
  opacity: 0.55;
  animation: twinkle 5s ease-in-out infinite alternate;
}
@keyframes twinkle {
  from {
    opacity: 0.25;
  }
  to {
    opacity: 0.7;
  }
}

.selector {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 0 2rem;
}

.top {
  flex: none;
  padding: 1.6rem 0 0.8rem;
  text-align: center;
}
.top h1 {
  margin: 0;
  font-size: 3.6rem;
  letter-spacing: 0.04rem;
  text-shadow: 0 0.25rem 0 rgba(0, 0, 0, 0.3);
}
.top p {
  margin: 0.2rem 0 0;
  font-size: 1.6rem;
  opacity: 0.8;
}

.tiles {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  justify-content: center;
  gap: 2rem;
  padding: 1rem 0 3rem;
}

.tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 17rem;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-decoration: none;
  cursor: pointer;
}
.tile .icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 15rem;
  height: 15rem;
  border-radius: 3rem;
  background: var(--tile, #ff8a3d);
  box-shadow: 0 0.5rem 0 rgba(0, 0, 0, 0.3), 0 1rem 2rem rgba(0, 0, 0, 0.35);
  transition: transform 0.1s ease-out;
}
.tile:active .icon {
  transform: translateY(0.3rem) scale(0.98);
}
.tile img {
  width: 12rem;
  height: 12rem;
  object-fit: contain;
  pointer-events: none;
}
.tile .title {
  margin-top: 1rem;
  font-size: 1.9rem;
  font-weight: 600;
  line-height: 1.1;
  text-align: center;
  text-shadow: 0 0.15rem 0 rgba(0, 0, 0, 0.3);
}
.tile .tag {
  margin-top: 0.3rem;
  font-size: 1.2rem;
  opacity: 0.75;
  text-align: center;
}
.tile.soon {
  cursor: default;
  opacity: 0.55;
}
.tile.soon .icon {
  background: rgba(255, 255, 255, 0.12);
  box-shadow: none;
  border: 0.25rem dashed rgba(255, 255, 255, 0.35);
}

html[data-orient='portrait'] .top h1 {
  font-size: 3rem;
}

/* account bar: Setup icon + who is signed in */
.top {
  position: relative;
}
.account {
  position: absolute;
  top: 1.4rem;
  right: 0.4rem;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.6rem;
}
.setup-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  min-width: 7rem;
  padding: 0.7rem 1.2rem;
  border: 0;
  border-radius: 1.4rem;
  background: var(--teal);
  color: #fff;
  font: inherit;
  font-size: 1.3rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 0.3rem 0 var(--teal-deep), 0 0.6rem 1rem rgba(0, 0, 0, 0.3);
}
.setup-btn svg {
  width: 3.2rem;
  height: 3.2rem;
}
.setup-btn.locked {
  background: rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.5);
  box-shadow: none;
}
.who-btn {
  padding: 0.3rem 1rem;
  border: 0;
  border-radius: 1rem;
  background: transparent;
  color: rgba(255, 255, 255, 0.8);
  font: inherit;
  font-size: 1.3rem;
  text-decoration: underline;
}
