/* Shifiverse — Gatherings (list, event page, live room). Builds on style.css tokens. */

/* ---- shared ------------------------------------------------------------------- */
.gt-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: #e5484d; box-shadow: 0 0 0 0 rgba(229, 72, 77, .55); animation: gt-pulse 1.8s infinite; flex: none; }
@keyframes gt-pulse { 0% { box-shadow: 0 0 0 0 rgba(229, 72, 77, .55); } 70% { box-shadow: 0 0 0 9px rgba(229, 72, 77, 0); } 100% { box-shadow: 0 0 0 0 rgba(229, 72, 77, 0); } }
@media (prefers-reduced-motion: reduce) { .gt-dot { animation: none; } }
.gt-pill { position: absolute; top: 14px; right: 14px; padding: 5px 11px; border-radius: 999px; font-size: .74rem; font-weight: 700; letter-spacing: .02em; background: #fff; color: var(--ink); box-shadow: 0 6px 18px rgba(0, 0, 0, .14); }
.gt-pill--live { background: #e5484d; color: #fff; }
.gt-pill--soon { background: var(--saffron-soft); color: var(--amber-ink); }
.gt-pill--past { background: #ececec; color: #555; }

/* ---- list --------------------------------------------------------------------- */
.gt-hero { padding-block: clamp(48px, 7vw, 92px) 30px; }
.gt-hero .eyebrow { color: var(--green-dark); }
.gt-hero h1 em { color: var(--green); }
.gt-lead { max-width: 620px; color: var(--muted); font-size: 1.12rem; line-height: 1.75; margin: 18px 0 0; }
.gt-section { padding-bottom: 34px; }
.gt-section-title { display: flex; align-items: center; gap: 12px; font-size: clamp(1.5rem, 2.6vw, 2rem); letter-spacing: -.03em; margin: 0 0 20px; }
.gt-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 22px; }
.gt-card-link { display: flex; flex-direction: column; height: 100%; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; background: var(--paper); color: var(--ink); transition: transform .25s, box-shadow .25s; }
.gt-card-link:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.gt-card-link:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }
.gt-card.is-live .gt-card-link { border-color: #f1b3b5; box-shadow: 0 0 0 3px #fde4e4; }
.gt-card-media { position: relative; display: block; aspect-ratio: 16 / 10; background: var(--green-soft); overflow: hidden; }
.gt-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gt-card-link:hover .gt-card-media img { transform: scale(1.04); }
.gt-date { position: absolute; left: 14px; bottom: 14px; display: grid; justify-items: center; min-width: 56px; padding: 6px 8px 7px; border-radius: 14px; background: #fff; color: var(--green-deep); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; box-shadow: 0 8px 20px rgba(0, 0, 0, .16); }
.gt-date b { font: 800 1.45rem/1.05 var(--display); letter-spacing: -.03em; }
.gt-card-body { display: grid; gap: 5px; padding: 18px 20px 20px; }
.gt-card-title { font: 700 1.24rem/1.3 var(--display); letter-spacing: -.02em; }
.gt-card-when { color: var(--green-dark); font-weight: 650; font-size: .93rem; }
.gt-card-tagline { color: var(--muted); font-size: .92rem; line-height: 1.5; }
.gt-card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-top: 8px; font-size: .84rem; color: var(--muted); }
.gt-price { padding: 2px 10px; border-radius: 999px; background: var(--green-soft); color: var(--green-deep); font-weight: 700; font-size: .76rem; }
.gt-mine { display: inline-flex; align-items: center; gap: 4px; color: var(--green-dark); font-weight: 700; }
.gt-mine .icon { width: 15px; height: 15px; }
.gt-empty { max-width: 640px; padding: 34px clamp(24px, 4vw, 40px); border-radius: 28px; background: var(--surface-soft); }
.gt-empty h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0 0 12px; }
.gt-empty h2 em { color: var(--green); }
.gt-empty p { color: var(--muted); margin: 0 0 22px; font-size: 1.04rem; }
.gt-how { padding-block: 30px 90px; }
.gt-how h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); letter-spacing: -.03em; margin: 0 0 22px; }
.gt-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.gt-steps li { padding: 24px; border-radius: 22px; background: var(--surface-soft); }
.gt-step-n { display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 14px; border-radius: 50%; background: var(--green-deep); color: #fff; font-weight: 800; }
.gt-steps h3 { font-size: 1.15rem; margin: 0 0 8px; }
.gt-steps p { margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.6; }

/* founder-only setup check */
.gt-health { margin-bottom: 34px; padding: 20px 24px; border-radius: 18px; background: #fff8ec; box-shadow: inset 0 0 0 1px #f3d7ae; }
.gt-health .eyebrow { color: var(--amber-ink); margin-bottom: 10px; }
.gt-health ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: .92rem; }
.gt-health .is-good strong { color: #1d7a49; }
.gt-health .is-bad strong { color: #b4322f; }
.gt-health .is-warn strong { color: var(--amber-ink); }
.gt-health-note { margin: 12px 0 0; font-size: .86rem; color: #5d4720; }

/* ---- event page ------------------------------------------------------------------ */
.gt-event { padding-block: clamp(24px, 4vw, 44px) 90px; }
.gt-crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; font-size: .88rem; color: var(--muted); }
.gt-crumbs a { color: var(--green-dark); font-weight: 650; }
.gt-event-hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 60px); align-items: center; margin-bottom: clamp(30px, 5vw, 60px); }
.gt-event-media { position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--green-soft); box-shadow: var(--shadow); }
.gt-event-media img { width: 100%; height: 100%; object-fit: cover; }
.gt-event-copy .eyebrow { color: var(--green-dark); }
.gt-event-copy h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); margin: 6px 0 12px; }
.gt-event-tagline { font-size: 1.15rem; color: var(--muted); margin: 0 0 22px; }
.gt-facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.gt-facts li { display: flex; gap: 12px; align-items: flex-start; font-size: 1rem; line-height: 1.5; }
.gt-facts .icon { width: 20px; height: 20px; margin-top: 2px; color: var(--green); flex: none; }
.gt-event-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 380px); gap: clamp(24px, 5vw, 56px); align-items: start; }
.gt-block { margin-bottom: 34px; }
.gt-block h2 { font-size: 1.45rem; letter-spacing: -.03em; margin: 0 0 12px; }
.gt-prose { font-size: 1.05rem; line-height: 1.8; color: #34342f; max-width: 680px; }
.gt-hosts { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.gt-hosts li { display: flex; gap: 14px; align-items: flex-start; }
.gt-host-initial { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--saffron-soft); color: var(--amber-ink); font: 800 1.2rem/1 var(--display); flex: none; }
.gt-hosts strong { display: block; font-size: 1.05rem; }
.gt-hosts span { color: var(--green-dark); font-size: .9rem; font-weight: 600; }
.gt-hosts p { margin: 6px 0 0; color: var(--muted); font-size: .95rem; }
.gt-tips { margin: 0; padding-left: 20px; display: grid; gap: 10px; color: #34342f; line-height: 1.6; }
.gt-tips a { color: var(--green-dark); font-weight: 650; text-decoration: underline; text-underline-offset: 3px; }

.gt-seat { position: sticky; top: 96px; padding: 28px 26px 24px; border-radius: 24px; background: var(--paper); box-shadow: 0 0 0 1px var(--line), 0 24px 60px rgba(40, 54, 47, .10); }
.gt-seat .eyebrow { display: flex; align-items: center; gap: 8px; color: var(--green-dark); margin-bottom: 10px; }
.gt-seat .eyebrow .icon { width: 16px; height: 16px; }
.gt-seat .gt-live-eyebrow { color: #c4282d; }
.gt-seat h2 { font-size: 1.55rem; letter-spacing: -.03em; margin: 0 0 12px; }
.gt-seat p { color: var(--muted); margin: 0 0 14px; font-size: .97rem; line-height: 1.6; }
.gt-seat .button { width: 100%; justify-content: center; }
.gt-seat form { margin: 0; }
.gt-countdown { color: var(--ink) !important; font-weight: 700; font-size: 1.05rem !important; }
.gt-join { min-height: 56px; font-size: 1.05rem; }
.gt-cal { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 14px; }
.gt-cal .button { width: auto; }
.gt-small { min-height: 42px !important; padding: 8px 12px !important; font-size: .84rem !important; }
.gt-release { text-align: center; }
.gt-link-button { border: 0; background: none; padding: 6px; color: var(--muted); font: inherit; font-size: .86rem; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.gt-link-button:hover { color: #b4322f; }
.gt-note { margin: 12px 0 0 !important; font-size: .8rem !important; text-align: center; overflow-wrap: anywhere; }

/* ---- the live room ------------------------------------------------------------- */
.gt-live-body { margin: 0; background: var(--green-deep); color: #fff; overflow: hidden; }
.gt-live { display: grid; grid-template-rows: auto 1fr; height: 100vh; height: 100dvh; }
.gt-live-bar { display: flex; align-items: center; gap: 16px; padding: 10px clamp(14px, 3vw, 24px); padding-top: max(10px, env(safe-area-inset-top)); border-bottom: 1px solid rgba(255, 255, 255, .1); }
.gt-live-bar .wordmark { color: #fff; font-size: 1.15rem; }
.gt-live-bar .wordmark span { color: var(--light-copy); }
.gt-live-title { display: flex; align-items: center; gap: 10px; margin: 0; flex: 1; min-width: 0; font-weight: 700; font-size: .95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gt-live-back { color: var(--light-copy); font-size: .88rem; font-weight: 650; }
.gt-live-back:hover { color: #fff; }
.gt-stage { position: relative; min-height: 0; height: 100%; }
.gt-stage > * { height: 100%; }
.gt-overlay { position: fixed; inset: 56px 0 0; display: grid; place-items: center; padding: 20px; background: var(--green-deep); z-index: 5; }
.gt-overlay[hidden] { display: none; }
.gt-overlay-card { max-width: 460px; text-align: center; }
.gt-overlay-card .eyebrow { color: var(--saffron-soft); font-size: 1.6rem; }
.gt-overlay-card h1 { font-size: clamp(1.7rem, 4vw, 2.4rem); color: #fff; margin: 0 0 12px; }
.gt-overlay-card p { color: var(--light-copy); margin: 0 0 22px; line-height: 1.65; }
.gt-overlay-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.gt-spinner { display: inline-block; width: 42px; height: 42px; margin-bottom: 18px; border: 3px solid rgba(255, 255, 255, .2); border-top-color: var(--saffron); border-radius: 50%; animation: gt-spin .9s linear infinite; }
@keyframes gt-spin { to { transform: rotate(360deg); } }

/* ---- small screens --------------------------------------------------------------- */
@media (max-width: 900px) {
  .gt-event-hero, .gt-event-body { grid-template-columns: minmax(0, 1fr); }
  .gt-seat { position: static; order: -1; }
  .gt-event-body { display: flex; flex-direction: column; }
  .gt-steps { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 520px) {
  .gt-live-back { display: none; }
  .gt-cal { grid-template-columns: 1fr; }
}
