.g-speak .sp-stage { display: grid; gap: 14px; }

/* Topic reel */
.g-speak .sp-reel {
  min-height: 132px; display: grid; place-items: center; text-align: center; padding: 20px 18px;
  border-radius: var(--radius-lg); background: var(--ink); color: var(--bg); box-shadow: var(--shadow-lift);
  overflow: hidden; position: relative;
}
.g-speak .sp-reel::before {
  content: "TODAY'S TOPIC"; position: absolute; top: 12px; left: 0; right: 0;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .16em; opacity: .55;
}
.g-speak .sp-reel-text { font-family: var(--font-display); font-weight: 700; font-size: clamp(22px, 5.6vw, 28px); line-height: 1.2; }
.g-speak .sp-reel-tick { animation: sp-tick .12s ease; }
@keyframes sp-tick { from { transform: translateY(-14px); opacity: .2; } to { transform: none; opacity: 1; } }
.g-speak .sp-reel.is-landed { background: var(--accent); color: var(--accent-ink); }

.g-speak .sp-prep { display: grid; gap: 12px; animation: rise .3s ease; }
.g-speak .sp-prep-label { margin: 0; text-align: center; }
.g-speak .sp-tips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.g-speak .sp-privacy { font-size: 12.5px; text-align: center; margin: 0; }

/* Talking */
.g-speak .sp-topic-small { margin: 0; text-align: center; font-family: var(--font-display); font-weight: 700; font-size: 19px; }
.g-speak .sp-orb-wrap { position: relative; height: 150px; display: grid; place-items: center; }
.g-speak .sp-wave { position: absolute; inset: 15px 0; width: 100%; height: 120px; }
.g-speak .sp-orb {
  --level: 0; position: relative; width: 104px; height: 104px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent); color: var(--accent-ink); font-size: 42px;
  box-shadow: 0 0 0 calc(8px + var(--level) * 26px) var(--accent-soft), 0 10px 30px rgba(200, 16, 46, 0.35);
  transition: box-shadow .08s linear; animation: sp-breathe 2.4s ease-in-out infinite;
}
.g-speak .sp-orb.is-done { animation: none; background: var(--ink); color: var(--bg); box-shadow: var(--shadow); }
@keyframes sp-breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.04); } }

.g-speak .sp-live { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; text-align: center; }
.g-speak .sp-live > div { background: var(--card); border: 1.5px solid var(--card-border); border-radius: 14px; padding: 8px 4px; }
.g-speak .sp-live .big-num { display: block; font-size: 24px; line-height: 1.2; }
.g-speak .sp-transcript {
  margin: 0; min-height: 72px; padding: 12px 14px; border-radius: 14px; background: var(--board);
  font-size: 15px; line-height: 1.5; color: var(--ink-2);
}
.g-speak .sp-flash {
  justify-self: center; margin-top: -6px; padding: 4px 12px; border-radius: 999px; font-weight: 700; font-size: 13.5px;
  background: var(--bad-soft); color: var(--bad); opacity: 0;
}
.g-speak .sp-flash-show { animation: sp-flash 1.2s ease; }
@keyframes sp-flash { 0% { opacity: 0; transform: scale(.8); } 15% { opacity: 1; transform: scale(1.06); } 70% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.g-speak .sp-status { text-align: center; margin: 0; font-size: 14px; min-height: 20px; }

.g-speak .sp-fail { text-align: center; }
.g-speak .sp-fail-emoji { font-size: 48px; }
.g-speak .sp-fail .btn { margin-top: 8px; }

/* Judges */
.g-speak .sp-judges-title { font-family: var(--font-display); font-size: 22px; text-align: center; margin: 0; }
.g-speak .sp-note { text-align: center; font-size: 13px; margin: 0; }
.g-speak .sp-judges { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; perspective: 800px; }
.g-speak .sp-judge { height: 132px; }
.g-speak .sp-judge-inner {
  position: relative; width: 100%; height: 100%; transform-style: preserve-3d;
  transition: transform .55s cubic-bezier(.2,.8,.2,1.15);
}
.g-speak .sp-judge.is-flipped .sp-judge-inner { transform: rotateY(180deg); }
.g-speak .sp-judge-back, .g-speak .sp-judge-front {
  position: absolute; inset: 0; border-radius: 16px; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 8px;
  border: 1.5px solid var(--card-border); box-shadow: var(--shadow);
}
.g-speak .sp-judge-back { background: var(--ink); color: var(--bg); font-size: 34px; }
.g-speak .sp-judge-front { background: var(--card); transform: rotateY(180deg); text-align: center; }
.g-speak .sp-judge.is-high .sp-judge-front { background: var(--ok-soft); border-color: var(--ok); }
.g-speak .sp-judge.is-mid .sp-judge-front { background: var(--gold-soft); border-color: var(--gold); }
.g-speak .sp-judge.is-low .sp-judge-front { background: var(--bad-soft); border-color: var(--bad); }
.g-speak .sp-judge-emoji { font-size: 20px; }
.g-speak .sp-judge-name { font-weight: 700; font-size: 13px; }
.g-speak .sp-judge-score { font-size: 30px; line-height: 1.1; }
.g-speak .sp-judge-detail { font-size: 11px; color: var(--ink-2); line-height: 1.25; }

.g-speak .sp-quips { display: grid; gap: 4px; }
.g-speak .sp-quip { margin: 0; font-size: 14px; color: var(--ink-2); animation: rise .3s ease; }
.g-speak .sp-total { display: flex; align-items: baseline; justify-content: center; gap: 8px; }
.g-speak .sp-total-num { font-size: 44px; }
.g-speak .sp-tip p { margin: 4px 0 0; color: var(--ink-2); }
.g-speak .sp-said summary { cursor: pointer; font-weight: 600; font-size: 14px; color: var(--ink-2); }
.g-speak .sp-said-text { line-height: 1.7; font-size: 15px; }
.g-speak mark { border-radius: 4px; padding: 0 3px; color: var(--ink); }
.g-speak .sp-m-fill { background: var(--bad-soft); color: var(--bad); }
.g-speak .sp-m-post { background: var(--ok-soft); color: var(--ok); }
.g-speak .sp-m-focus { background: var(--blue-soft); color: var(--blue); }

@media (max-width: 380px) {
  .g-speak .sp-judges { grid-template-columns: repeat(2, 1fr); }
}
