/* andAndrea — events page (members' lives, Q&A, replays). Phone-first. */

.events-main { max-width: 640px; }

.events-heading {
  margin: 1.6rem 0 0.6rem;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.event-card {
  background: var(--paper);
  border: 1px solid var(--hairline, rgba(0, 0, 0, 0.08));
  border-radius: 18px;
  padding: 1rem 1rem 1.1rem;
  margin: 0 0 0.9rem;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.05);
}
.event-card h2 {
  margin: 0.15rem 0 0.3rem;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}
.event-when {
  margin: 0 0 0.35rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--magenta);
}
.event-desc {
  margin: 0.2rem 0 0.4rem;
  font-size: 0.93rem;
  line-height: 1.5;
  color: var(--muted);
  white-space: pre-line;
}

/* ---------- Live ---------- */
.live-card { border-color: var(--magenta); }
.live-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #fff;
  background: var(--magenta);
  border-radius: 999px;
  padding: 0.22rem 0.65rem;
}
.live-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 0.7rem 0;
  border-radius: 12px;
  overflow: hidden;
  background: #14060e;
  display: grid;
  place-items: center;
}
.live-frame iframe,
.live-frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.live-waiting {
  color: #fff;
  font-weight: 600;
  padding: 0 1rem;
  text-align: center;
}
.resume-btn { position: relative; z-index: 1; background: #fff; }
/* Voice live: photo over the video, taps fall through to the player. The
 * bottom strip stays clear so the player's control bar shows once playing. */
.photo-live {
  position: absolute;
  inset: 0 0 52px 0;
  z-index: 2;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1rem;
  text-align: center;
  background: linear-gradient(135deg, #2b0a1e 0%, #5c1140 55%, var(--magenta) 160%);
}
.photo-live img {
  width: 88px;
  height: 88px;
  border-radius: 24px;
  object-fit: cover;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}
.photo-live p {
  margin: 0;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
}

.brb-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1rem;
  text-align: center;
  background: linear-gradient(135deg, #2b0a1e 0%, #5c1140 55%, var(--magenta) 160%);
}
.brb-overlay img {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  object-fit: cover;
}
.brb-overlay p {
  margin: 0;
  color: #fff;
  font-weight: 600;
}

/* ---------- Q&A ---------- */
.qa-box { margin-top: 0.6rem; }
.qa-box h3 { margin: 0.4rem 0 0.5rem; font-size: 0.98rem; }
.qa-form textarea {
  width: 100%;
  box-sizing: border-box;
  font: inherit;
  padding: 0.65rem 0.75rem;
  border: 1.5px solid var(--hairline, rgba(0, 0, 0, 0.15));
  border-radius: 12px;
  background: var(--paper);
  color: var(--ink);
  resize: vertical;
}
.qa-form textarea:focus { outline: none; border-color: var(--magenta); }
.qa-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.55rem;
  flex-wrap: wrap;
}
.qa-hand {
  color: var(--magenta);
  border: 1.5px solid var(--magenta);
  background: transparent;
}
.qa-note {
  margin: 0.5rem 0 0;
  font-size: 0.78rem;
  color: var(--muted);
}
.qa-error {
  margin: 0.5rem 0 0;
  font-size: 0.85rem;
  font-weight: 600;
  color: #c0264b;
}
.qa-mine {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.6rem;
  padding: 0.5rem 0.7rem;
  margin: 0 0 0.4rem;
  border-radius: 10px;
  background: rgba(218, 24, 132, 0.06);
  font-size: 0.9rem;
}
.qa-mine.done { opacity: 0.6; }
.qa-mine-text { overflow-wrap: anywhere; }
.qa-tick {
  flex-shrink: 0;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--magenta);
}

/* ---------- On stage ---------- */
.stage-invite {
  margin: 0.2rem 0 0.7rem;
  padding: 0.8rem;
  border: 2px solid var(--magenta);
  border-radius: 14px;
  background: rgba(218, 24, 132, 0.07);
  text-align: center;
}
.stage-btn { width: 100%; animation: stage-pulse 1.6s ease-in-out infinite; }
@keyframes stage-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(218, 24, 132, 0.45); }
  50% { box-shadow: 0 0 0 10px rgba(218, 24, 132, 0); }
}

/* ---------- Replays ---------- */
.replay-frame { background: linear-gradient(135deg, #2b0a1e 0%, #5c1140 55%, var(--magenta) 160%); }

/* ---------- Membership wall ---------- */
.events-wall { text-align: center; padding-top: 0.6rem; }
/* Direct child only — the offer card nested inside has its own h2, and a
   loose `.events-wall h2` would out-specify it and set a product name in the
   display face. */
.events-wall > h2 {
  font-size: 1.4rem;
  margin: 0.4rem 0 0.4rem;
  font-family: var(--font-display);
  font-variation-settings: 'SOFT' 65, 'WONK' 1;
  font-weight: 900;
}
.events-wall > p {
  color: var(--muted);
  line-height: 1.55;
  margin: 0 auto 1.1rem;
  max-width: 34ch;
}
/* The offer reads left-aligned wherever it appears, so the bullets form one
   column; only the button and its small print stay centred. */
.events-wall .membership-banner { text-align: left; }
