:root {
  --bg: #ffffff;
  --ink: #17181d;
  --soft: rgba(23, 24, 29, 0.56);
  --line: rgba(23, 24, 29, 0.09);
  --accent: #ff5436;
  --them: #2f7df6;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Mona Sans Variable", "Mona Sans", system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
}

.stage {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  place-items: center;
  padding: 10px 14px;
}

.pt { position: relative; width: min(240px, 100%); display: grid; justify-items: center; }

/* the channel: who is on, and the face of whoever is talking */
.pt__chan { display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 12px 0 5px; border-radius: 16px; background: #f4f4f6; box-shadow: inset 0 0 0 1px var(--line); font-size: 12.500px; line-height: 1; white-space: nowrap; }
.pt__chan b { font-weight: 680; }
.pt__on { color: var(--soft); font-weight: 560; }
.pt__face { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: #dfe0e6; color: var(--ink); font-size: 8.500px; font-weight: 760; letter-spacing: 0.02em; transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease; }
.pt.is-them .pt__face { background: var(--them); color: #ffffff; box-shadow: 0 0 0 3px color-mix(in srgb, var(--them) 22%, transparent); }

.pt__well { position: relative; width: 132px; height: 132px; margin-top: 14px; display: grid; place-items: center; }
.pt__halo { position: absolute; inset: 14px; border-radius: 50%; background: color-mix(in srgb, var(--tone, var(--accent)) 16%, transparent); opacity: 0; }
.pt.is-them .pt__halo { --tone: var(--them); }
.pt__btn { position: relative; width: 96px; height: 96px; border: 0; border-radius: 50%; background: linear-gradient(180deg, #2b2d35, var(--ink)); color: #ffffff; cursor: pointer; outline: none; display: grid; place-items: center; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 22px 30px -18px rgba(23, 24, 29, 0.8), 0 0 0 6px #f4f4f6, 0 0 0 7px var(--line); transition: background 0.25s ease, box-shadow 0.25s ease, opacity 0.3s ease; touch-action: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; -webkit-tap-highlight-color: transparent; }
.pt.is-live .pt__btn { background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 86%, #ffffff), var(--accent)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 22px 30px -16px var(--accent), 0 0 0 6px color-mix(in srgb, var(--accent) 14%, #ffffff), 0 0 0 7px color-mix(in srgb, var(--accent) 30%, transparent); }
.pt.is-them .pt__btn { opacity: 0.45; cursor: default; }
.pt__btn:focus-visible { box-shadow: 0 0 0 3px #ffffff, 0 0 0 5px var(--ink); }
.pt__mic, .pt__bars { grid-area: 1 / 1; }
.pt__mic { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.800; stroke-linecap: round; stroke-linejoin: round; }
.pt__mic rect { fill: currentColor; stroke: none; }
.pt__bars { display: flex; align-items: center; gap: 4px; height: 36px; opacity: 0; }
.pt__bars i { width: 4px; height: 36px; border-radius: 2px; background: #ffffff; transform: scaleY(0.12); }
.pt__puff { position: absolute; left: 50%; top: 50%; width: 30px; height: 12px; margin: -6px 0 0 -15px; border-radius: 6px; background: var(--accent); opacity: 0; pointer-events: none; }

.pt__hint { height: 19px; margin-top: 8px; overflow: hidden; font-size: 13.500px; line-height: 19px; font-weight: 620; color: var(--soft); font-variant-numeric: normal; white-space: nowrap; }
.pt__hint span { display: block; }
.pt.is-live .pt__hint { color: var(--accent); }
.pt.is-them .pt__hint { color: var(--them); }

.pt__say { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.ghost { position: absolute; left: 0; top: 0; width: 24px; height: 24px; margin: -3px 0 0 -5px; transform-origin: 20% 15%; pointer-events: none; opacity: 0; fill: #17181d; stroke: #ffffff; stroke-width: 1.300; stroke-linejoin: round; filter: drop-shadow(0 2px 4px rgba(23, 24, 29, 0.3)); z-index: 5; }
