.wrap {
  width: min(560px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2.5rem 0 3rem;
}

.hero {
  margin-bottom: 1.5rem;
  animation: rise 0.7s ease both;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  color: var(--cyan);
  margin: 0 0 0.6rem;
  font-weight: 700;
}

.brand {
  font-size: clamp(3.4rem, 14vw, 5.2rem);
  margin: 0;
}

.tagline {
  font-size: 1.1rem;
  color: var(--muted);
  margin: 0.8rem 0 1rem;
  max-width: 28ch;
}

.status-row {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.panel {
  padding: 1.35rem;
  animation: rise 0.75s ease both;
  animation-delay: 0.08s;
}

.panel h2 {
  font-family: var(--font-display);
  margin: 0 0 0.4rem;
  letter-spacing: -0.03em;
}

.panel > .muted {
  margin: 0 0 1.1rem;
}

label {
  display: grid;
  gap: 0.4rem;
  margin-bottom: 0.9rem;
  font-weight: 600;
  font-size: 0.92rem;
}

#joinBtn,
#leaveBtn,
#hangBtn {
  width: 100%;
  margin-top: 0.4rem;
}

.error {
  color: #ff8ea3;
  margin: 0.8rem 0 0;
  font-weight: 600;
}

.wait-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.big-pos {
  font-family: var(--font-display);
  font-size: 2.4rem;
  margin: 0.4rem 0 0.2rem;
  letter-spacing: -0.04em;
}

.mic-box {
  margin: 1.2rem 0;
  padding: 1rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
}

.react-row {
  display: flex;
  gap: 0.45rem;
  margin-bottom: 0.9rem;
}

.react-row button {
  flex: 1;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border: 1px solid var(--line);
  font-size: 1.2rem;
  padding: 0.65rem 0;
}

.live-panel {
  text-align: center;
  border-color: rgba(255, 77, 109, 0.35);
  animation: pulse-glow 2.2s ease infinite;
}

.live-badge {
  display: inline-block;
  background: var(--hot);
  color: white;
  font-weight: 800;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  margin-bottom: 0.8rem;
}

.meter.tall {
  height: 14px;
  margin: 1rem 0;
}

.live-controls {
  display: grid;
  gap: 0.7rem;
  margin: 1rem 0;
}

.toggle {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  justify-content: center;
  font-weight: 600;
}

.toggle input {
  width: auto;
}

.timer {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--amber);
  margin: 0.4rem 0 0.8rem;
}

footer {
  margin-top: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
}
