/* The People's Town Hall — live room styles */

.th-hero .th-hero-sub{max-width:760px;margin:1.2rem auto 0;font-size:1.15rem;color:#e9e4d8}

/* ---------- Live room layout ---------- */
.th-live-section{background:var(--navy-deep);color:#fff}
.th-live-section .section-head h2{color:#fff}
.th-live-section .kicker{color:var(--gold-light)}
.th-share-link-line{margin-top:.8rem;color:#cfc9ba;font-size:1rem}
.th-linkcopy{background:rgba(201,162,39,.15);border:1px solid var(--gold);color:var(--gold-light);
  font-family:var(--sans);font-size:.95rem;padding:.35rem .9rem;border-radius:999px;cursor:pointer}
.th-linkcopy:hover{background:rgba(201,162,39,.3)}

.th-room{display:grid;grid-template-columns:1fr 340px;gap:1.2rem;align-items:stretch}
@media (max-width:900px){.th-room{grid-template-columns:1fr}}

/* ---------- Stage ---------- */
.th-stage{position:relative;background:#050914;border:1px solid rgba(201,162,39,.35);border-radius:14px;
  overflow:hidden;aspect-ratio:16/9;min-height:340px}
.th-slate{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;
  text-align:center;padding:2rem;background:radial-gradient(ellipse at 50% 30%,#14245e 0%,#050914 70%)}
.th-slate-badge{display:inline-block;background:var(--gold);color:var(--navy-deep);font-family:var(--sans);
  font-weight:700;font-size:.8rem;letter-spacing:.12em;text-transform:uppercase;padding:.3rem .9rem;border-radius:999px;margin-bottom:1rem}
.th-slate h3{font-family:var(--serif);font-size:2rem;color:#fff;margin-bottom:.5rem}
.th-slate p{color:#cfc9ba;max-width:420px;margin-bottom:1.2rem}
.th-countdown{display:flex;gap:.8rem;margin-bottom:1.4rem}
.th-countdown div{background:rgba(255,255,255,.07);border:1px solid rgba(201,162,39,.4);border-radius:10px;
  padding:.5rem .9rem;min-width:64px}
.th-countdown span{display:block;font-family:var(--sans);font-weight:700;font-size:1.6rem;color:var(--gold-light)}
.th-countdown small{color:#cfc9ba;font-family:var(--sans);font-size:.75rem;text-transform:uppercase;letter-spacing:.08em}
.th-video{position:absolute;inset:0}
.th-video iframe{width:100%;height:100%;border:0}

.th-livebadge{position:absolute;top:12px;left:12px;display:flex;align-items:center;gap:.4rem;
  background:#e0245e;color:#fff;font-family:var(--sans);font-weight:700;font-size:.8rem;letter-spacing:.1em;
  padding:.3rem .7rem;border-radius:6px;z-index:5}
.th-live-dot{width:8px;height:8px;border-radius:50%;background:#fff;animation:th-pulse 1.2s infinite}
@keyframes th-pulse{0%,100%{opacity:1}50%{opacity:.3}}

.th-viewers{position:absolute;top:12px;right:12px;display:flex;align-items:center;gap:.35rem;
  background:rgba(0,0,0,.55);color:#fff;font-family:var(--sans);font-size:.85rem;font-weight:600;
  padding:.3rem .7rem;border-radius:999px;z-index:5}
.th-viewers svg{width:16px;height:16px;fill:#fff}

.th-hostbar{position:absolute;left:12px;bottom:12px;display:flex;align-items:center;gap:.6rem;z-index:5;
  background:rgba(0,0,0,.55);padding:.4rem .8rem .4rem .4rem;border-radius:999px;max-width:70%}
.th-avatar{width:38px;height:38px;border-radius:50%;background:linear-gradient(180deg,var(--gold-light),var(--gold));
  color:var(--navy-deep);font-family:var(--serif);font-weight:800;font-size:1.3rem;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.th-hostmeta strong{display:block;font-family:var(--sans);font-size:.82rem;color:#fff;line-height:1.2}
.th-hostmeta small{font-family:var(--sans);font-size:.7rem;color:#cfc9ba}
.th-follow{margin-left:.4rem;background:var(--gold);border:0;color:var(--navy-deep);font-family:var(--sans);
  font-weight:700;font-size:.78rem;padding:.35rem .9rem;border-radius:999px;cursor:pointer;white-space:nowrap}
.th-follow.following{background:rgba(255,255,255,.2);color:#fff}

.th-rail{position:absolute;right:10px;bottom:12px;display:flex;flex-direction:column;gap:.7rem;z-index:5}
.th-rail-btn{display:flex;flex-direction:column;align-items:center;gap:.15rem;background:rgba(0,0,0,.55);
  border:1px solid rgba(255,255,255,.15);color:#fff;border-radius:12px;padding:.5rem .6rem;cursor:pointer;min-width:58px}
.th-rail-btn svg{width:26px;height:26px;fill:#fff}
.th-rail-btn span{font-family:var(--sans);font-size:.68rem;font-weight:600}
.th-rail-btn:active{transform:scale(.92)}
#th-heart-btn svg{fill:#fe2c55}
#th-heart-btn.heart-pop svg{animation:th-heartpop .3s}
@keyframes th-heartpop{50%{transform:scale(1.35)}}

.th-hearts-layer{position:absolute;inset:0;pointer-events:none;overflow:hidden;z-index:4}
.th-float-heart{position:absolute;bottom:70px;font-size:26px;animation:th-float 1.6s ease-out forwards;pointer-events:none}
@keyframes th-float{
  0%{transform:translateY(0) scale(.6) rotate(-8deg);opacity:0}
  15%{opacity:1}
  100%{transform:translateY(-260px) scale(1.25) rotate(10deg);opacity:0}
}

.th-room-note{margin-top:.6rem;color:#9d97a8;font-size:.88rem;text-align:center}

/* ---------- Chat ---------- */
.th-chat{background:#0b1230;border:1px solid rgba(201,162,39,.35);border-radius:14px;display:flex;flex-direction:column;overflow:hidden;min-height:420px;max-height:640px}
.th-chat-head{display:flex;justify-content:space-between;align-items:center;padding:.8rem 1rem;
  border-bottom:1px solid rgba(201,162,39,.25);background:rgba(201,162,39,.08)}
.th-chat-head strong{font-family:var(--sans);color:#fff;font-size:1rem}
.th-chat-status{font-family:var(--sans);font-size:.75rem;color:var(--gold-light)}
.th-chat-status.live{color:#7dff9a}
.th-chat-feed{flex:1;overflow-y:auto;padding:.9rem;display:flex;flex-direction:column;gap:.55rem}
.th-chat-empty p{color:#9d97a8;font-size:.95rem;text-align:center;padding:2rem 1rem}
.th-msg{animation:th-msgin .25s ease-out}
@keyframes th-msgin{from{opacity:0;transform:translateY(6px)}}
.th-msg-name{font-family:var(--sans);font-weight:700;font-size:.82rem;color:var(--gold-light);margin-right:.4rem}
.th-msg-host .th-msg-name{color:#fe2c55}
.th-host-badge{display:inline-block;background:#fe2c55;color:#fff;font-size:.62rem;font-weight:800;letter-spacing:.06em;border-radius:6px;padding:2px 7px;margin-left:7px;vertical-align:2px}
.th-msg-host{border:1px solid rgba(254,44,85,.45);background:rgba(254,44,85,.07);border-radius:10px;padding:8px 10px}
.th-msg-text{color:#f0ead9;font-size:.95rem;word-wrap:break-word}
.th-msg-meta{display:flex;align-items:center;gap:.5rem;margin-top:.15rem}
.th-msg-time{font-family:var(--sans);font-size:.68rem;color:#8a86a0}
.th-msg-like{background:none;border:0;color:#8a86a0;font-family:var(--sans);font-size:.72rem;cursor:pointer;display:flex;align-items:center;gap:.2rem;padding:0}
.th-msg-like svg{width:13px;height:13px;fill:#8a86a0}
.th-msg-like.liked{color:#fe2c55}
.th-msg-like.liked svg{fill:#fe2c55}
.th-chat-form{padding:.7rem;border-top:1px solid rgba(201,162,39,.25);background:rgba(0,0,0,.25)}
.th-chat-form input[type=text]{width:100%;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.15);
  border-radius:8px;color:#fff;font-family:var(--sans);font-size:.9rem;padding:.55rem .7rem;margin-bottom:.5rem}
.th-chat-form input::placeholder{color:#8a86a0}
.th-chat-form input:disabled{opacity:.45}
.th-chat-row{display:flex;gap:.5rem}
.th-chat-row input{margin-bottom:0}
#th-chat-send{background:var(--gold);border:0;border-radius:8px;width:46px;cursor:pointer;display:flex;align-items:center;justify-content:center;flex-shrink:0}
#th-chat-send svg{width:20px;height:20px;fill:var(--navy-deep)}
#th-chat-send:disabled{opacity:.45;cursor:default}

/* ---------- Share sheet ---------- */
.th-sheet-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.6);z-index:90}
.th-sheet{position:fixed;left:50%;bottom:0;transform:translateX(-50%);width:min(480px,100%);z-index:91;
  background:#141b3d;border:1px solid rgba(201,162,39,.4);border-bottom:0;border-radius:18px 18px 0 0;
  padding:1rem 1.4rem 1.6rem;text-align:center;color:#fff}
.th-sheet-handle{width:44px;height:5px;border-radius:3px;background:#555a7a;margin:0 auto .8rem}
.th-sheet h3{font-family:var(--serif);font-size:1.4rem;margin-bottom:.3rem}
.th-sheet-url{font-family:var(--sans);font-size:.9rem;color:var(--gold-light);background:rgba(201,162,39,.1);
  border:1px dashed rgba(201,162,39,.5);border-radius:8px;padding:.5rem;margin-bottom:1rem;word-break:break-all}
.th-sheet-grid{display:grid;grid-template-columns:1fr 1fr;gap:.7rem;margin-bottom:.8rem}
.th-sheet-btn{display:flex;align-items:center;justify-content:center;gap:.5rem;background:rgba(255,255,255,.07);
  border:1px solid rgba(255,255,255,.15);color:#fff;font-family:var(--sans);font-weight:600;font-size:.9rem;
  padding:.8rem;border-radius:10px;cursor:pointer}
.th-sheet-btn:hover{background:rgba(201,162,39,.2)}
.th-sheet-btn svg{width:20px;height:20px;fill:#fff}
.th-sheet-note{min-height:1.4rem;font-family:var(--sans);font-size:.85rem;color:#7dff9a}
.th-sheet-close{background:none;border:1px solid #555a7a;color:#cfc9ba;font-family:var(--sans);font-size:.85rem;
  padding:.45rem 1.4rem;border-radius:999px;cursor:pointer;margin-top:.4rem}
.th-toast{position:fixed;left:50%;bottom:26px;transform:translateX(-50%);background:#0b1230;color:#fff;
  border:1px solid var(--gold);font-family:var(--sans);font-size:.9rem;padding:.6rem 1.2rem;border-radius:999px;z-index:99}

/* ---------- Event card / why / steps / faq ---------- */
.th-event-card{display:flex;gap:1.4rem;align-items:center;background:#fff;border:1px solid rgba(201,162,39,.5);
  border-radius:14px;padding:1.6rem;box-shadow:0 6px 24px rgba(8,18,55,.08);max-width:860px;margin:0 auto}
.th-event-when{background:var(--navy-deep);color:#fff;border-radius:12px;text-align:center;padding:1rem 1.4rem;flex-shrink:0}
.th-event-month{display:block;font-family:var(--sans);font-size:.8rem;text-transform:uppercase;letter-spacing:.15em;color:var(--gold-light)}
.th-event-day{display:block;font-family:var(--serif);font-size:2.6rem;font-weight:800;line-height:1.1}
.th-event-meta h3{font-family:var(--serif);font-size:1.5rem;margin-bottom:.4rem}
.th-event-actions{margin-top:1rem;display:flex;gap:.7rem;flex-wrap:wrap}
@media (max-width:600px){.th-event-card{flex-direction:column;text-align:center}}

.th-why-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:1.1rem}
.th-why-card{background:var(--cream);border:1px solid rgba(201,162,39,.4);border-radius:12px;padding:1.4rem}
.th-why-icon{font-size:2rem;margin-bottom:.5rem}
.th-why-card h3{font-family:var(--serif);font-size:1.25rem;margin-bottom:.4rem}
.th-why-card p{font-size:1rem;color:var(--muted)}

.th-steps{list-style:none;max-width:760px;margin:0 auto;display:grid;gap:1rem}
.th-steps li{background:#fff;border:1px solid rgba(201,162,39,.4);border-radius:12px;padding:1.1rem 1.4rem;font-size:1.05rem}
.th-steps strong{color:var(--navy-deep)}

.th-free-note{text-align:center;margin-top:1.4rem;font-family:var(--sans);font-weight:600;color:var(--navy-deep)}
.th-archive-empty{text-align:center;max-width:640px;margin:0 auto;background:var(--cream);
  border:1px dashed rgba(201,162,39,.6);border-radius:12px;padding:2rem}
.th-archive-empty p{margin-bottom:1.2rem}
.th-faq details{background:#fff;border:1px solid rgba(201,162,39,.4);border-radius:10px;margin-bottom:.7rem;padding:.9rem 1.2rem}
.th-faq summary{font-family:var(--sans);font-weight:600;cursor:pointer;color:var(--navy-deep)}
.th-faq details p{margin-top:.5rem;color:var(--muted)}
.section-sub{max-width:720px;margin:1rem auto 0;color:var(--muted);font-size:1.08rem}
