.start-card {
  padding: 30px;
}

.start-card > .eyebrow {
  margin-bottom: 18px;
}

.avatar-label {
  margin-top: 22px;
}

.admin-login-page {
  min-height: 100svh;
  padding: 24px;
  display: grid;
  grid-template-rows: auto 1fr;
}

.admin-login-page .topbar {
  width: min(1100px, 100%);
  margin: 0 auto;
}

.admin-login {
  width: min(460px, 100%);
  margin: auto;
  padding: 34px;
}

.admin-login h1 {
  font-size: clamp(2.4rem, 7vw, 3.7rem);
  margin-bottom: 10px;
}

.admin-login .statusbar {
  margin: 0;
  color: #a53f54;
}

.local-option {
  display: block;
  margin: 16px auto 0;
}

.room-code-input {
  text-transform: uppercase;
  letter-spacing: .14em;
  font-weight: 900;
}

.online-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.online-badge i,
.live-pulse {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #25aa79;
  box-shadow: 0 0 0 5px #25aa7920;
}

.live-pulse {
  display: inline-block;
  animation: live-pulse 1.6s ease-in-out infinite;
}

.room-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 24px;
}

.room-heading h1 {
  margin-bottom: 0;
}

.player-slot.me {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px #1769e014;
}

.waiting-slot {
  gap: 12px;
  align-content: center;
}

.scene-card.selectable {
  transition: transform .16s ease, border-color .16s ease;
}

.scene-card.selectable.selected {
  border-color: var(--blue);
  transform: translateY(-3px);
  box-shadow: 0 14px 0 #1769e012, 0 25px 55px #1769e026;
}

.waiting-host {
  text-align: center;
  padding: 12px 0;
}

.waiting-host .live-pulse {
  margin-bottom: 15px;
}

.room-code-card {
  display: grid;
  gap: 2px;
  padding: 18px;
  border-radius: 18px;
  background: #e9f6ff;
  text-align: center;
  color: #557795;
}

.room-code-card strong {
  font: 800 2rem/1 'Baloo 2', sans-serif;
  letter-spacing: .12em;
  color: var(--blue);
}

.online-role {
  font-size: 1.35rem;
  font-weight: 900;
  margin: -14px 0 18px;
}

@keyframes live-pulse {
  0%, 100% { transform: scale(.8); opacity: .65; }
  50% { transform: scale(1.18); opacity: 1; }
}

@media (max-width: 520px) {
  .start-card,
  .admin-login {
    padding: 24px;
  }

  .admin-login-page {
    padding: 18px;
  }

  .room-heading {
    align-items: flex-start;
    flex-direction: column;
  }
}
