.page-meetups { background: var(--bg); }
.gather {
  width: min(1180px, calc(100% - 1.4rem));
  margin: 0 auto;
  padding: 1rem 0 2.4rem;
}
.stage {
  display: flex;
  flex-direction: column;
  gap: .9rem;
}
.intro h1 {
  margin: .2rem 0 0;
  font-family: Cinzel, "Times New Roman", serif;
  font-weight: 600;
  font-size: clamp(2rem, 6vw, 3.1rem);
  line-height: 1.02;
  color: var(--gold-bright);
}
.intro .lede { margin: .75rem 0 0; color: #ddd4c4; }
.action-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .55rem;
  margin-top: 1rem;
}
.action-row a {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .25rem;
  min-height: 4.4rem;
  padding: .65rem .7rem;
  text-decoration: none;
  border: 1px solid rgba(198, 161, 90, .45);
  background: rgba(198, 161, 90, .05);
  color: var(--parchment);
  font-size: .78rem;
}
.action-row strong {
  font-family: Cinzel, "Times New Roman", serif;
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold-bright);
}
.action-row span { color: var(--muted); font-size: .72rem; }
.intro-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; }

.map-wrap {
  position: relative;
  border: none;
  background: transparent;
  min-height: 0;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
.map-wrap::before {
  content: "";
  position: absolute;
  left: 6%;
  right: 6%;
  top: 6%;
  bottom: 6%;
  border-radius: 50%;
  box-shadow: 0 0 36px 6px rgba(230, 196, 120, .38), 0 0 110px 28px rgba(198, 161, 90, .22);
  pointer-events: none;
  z-index: 0;
}
#world-map { position: relative; z-index: 1; width: 100%; height: 100%; display: block; touch-action: none; }
.map-figure { margin: 0; display: flex; flex-direction: column; min-height: 0; }
.map-sphere { fill: #07080b; stroke: none; }
.map-rim { fill: none; stroke: rgba(230, 211, 162, .9); stroke-width: 1.25; }
.map-graticule { fill: none; stroke: rgba(230, 211, 162, .28); stroke-width: .55; }
.map-ring { fill: none; stroke: rgba(230, 211, 162, .42); stroke-width: .75; }
.map-land { fill: rgba(198, 161, 90, .52); stroke: none; }
.map-borders { fill: none; stroke: rgba(26, 18, 8, .55); stroke-width: .45; }
.map-coast { fill: none; stroke: #e6d3a2; stroke-width: 1.05; }
.map-rose { fill: none; stroke: #e6d3a2; stroke-width: 1; }
.map-rose-cross { fill: none; stroke: #c6a15a; stroke-width: 1; }
.map-rose-n, .map-lon {
  fill: #e6d3a2;
  font-family: Inter, "Segoe UI", sans-serif;
  font-size: 11px;
  letter-spacing: .08em;
}
.map-tools {
  position: absolute;
  z-index: 2;
  top: .6rem;
  right: .6rem;
  display: flex;
  flex-direction: column;
  gap: .35rem;
}
.map-tools button, .geo-btn, .nearest button {
  border: 1px solid rgba(198, 161, 90, .55);
  background: rgba(7, 8, 11, .88);
  color: var(--gold-bright);
  min-width: 36px;
  min-height: 36px;
  cursor: pointer;
}
.geo-btn {
  position: absolute;
  z-index: 2;
  left: .6rem;
  bottom: 2.4rem;
  padding: .45rem .7rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .68rem;
}
.map-note {
  position: absolute;
  left: .7rem;
  right: .7rem;
  bottom: .45rem;
  margin: 0;
  text-align: center;
  font-size: .62rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
}
.map-status {
  margin: .45rem 0 0;
  text-align: center;
  color: var(--muted);
  font-size: .72rem;
  letter-spacing: .03em;
}
.nearest {
  position: absolute;
  z-index: 2;
  left: .6rem;
  top: .6rem;
  max-width: min(16rem, 70%);
  margin: 0;
  color: var(--parchment);
  font-size: .78rem;
}
.nearest {
  top: .6rem;
  display: flex;
  flex-direction: column;
  gap: .3rem;
  background: rgba(7, 8, 11, .88);
  border: 1px solid rgba(198, 161, 90, .4);
  padding: .55rem;
}
.nearest[hidden] { display: none; }
.nearest p { margin: 0 0 .2rem; letter-spacing: .12em; text-transform: uppercase; font-size: .64rem; color: var(--gold); }
.nearest button { text-align: left; padding: .35rem .45rem; }
#map-pins { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.pin, .you-pin {
  position: absolute;
  pointer-events: auto;
  width: 14px;
  height: 14px;
  margin: 0;
  padding: 0;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  cursor: pointer;
}
.pin-in_person { background: #c6a15a; border: 2px solid #f4ecdc; box-shadow: 0 0 0 4px rgba(198, 161, 90, .25); }
.pin-online { background: #07080b; border: 2px solid #8ec8c3; box-shadow: 0 0 0 4px rgba(142, 200, 195, .2); }
.pin-organizer_wanted { background: #8c2428; border: 2px solid #f4ecdc; box-shadow: 0 0 0 4px rgba(140, 36, 40, .28); }
.pin.is-selected { outline: 2px solid #fff; outline-offset: 2px; }
.you-pin { width: 16px; height: 16px; background: transparent; border: 2px solid #fff; box-shadow: 0 0 0 4px rgba(255,255,255,.25); }
.legend {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem .8rem;
  margin: .45rem 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: .72rem;
  letter-spacing: .06em;
}
.legend i {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  margin-right: .35rem;
}
.legend .lg-in { background: #c6a15a; }
.legend .lg-on { background: #07080b; box-shadow: inset 0 0 0 2px #8ec8c3; }
.legend .lg-want { background: #8c2428; }

.detail {
  position: relative;
  border: 1px solid rgba(198, 161, 90, .72);
  background: #100e0c var(--card-photo) center/cover no-repeat;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .45);
}
.detail-shade {
  min-height: 100%;
  padding: 1rem;
  background: linear-gradient(to top, rgba(7, 8, 11, .94) 0%, rgba(7, 8, 11, .78) 42%, rgba(7, 8, 11, .28) 100%);
}
.detail h2 {
  margin: .25rem 0 0;
  font-family: Cinzel, "Times New Roman", serif;
  font-size: 1.55rem;
  line-height: 1.1;
  color: var(--gold-bright);
}
.detail .meta { margin: .35rem 0 0; color: var(--muted); font-size: .86rem; }
.detail .counts { display: flex; gap: .8rem; margin: .7rem 0; color: var(--parchment); font-size: .82rem; }
.detail .counts span:empty { display: none; }
#rsvp-form, .stack-form { display: flex; flex-direction: column; gap: .5rem; }
#rsvp-form[hidden], .stack-form[hidden], .detail [hidden] { display: none; }
.stack-form input, .stack-form textarea, .stack-form select, #rsvp-form input {
  width: 100%;
  min-height: 42px;
  background: #07080b;
  border: 1px solid rgba(198, 161, 90, .45);
  color: var(--parchment);
  padding: .55rem .7rem;
}
.stack-form textarea { min-height: 6rem; resize: vertical; }
.form-note { margin: .4rem 0 0; color: var(--gold-bright); }
.form-note.err { color: #e7b4b0; }
.banner {
  margin: 0 0 .8rem;
  padding: .7rem .8rem;
  border: 1px solid rgba(198, 161, 90, .45);
  color: var(--gold-bright);
}
.banner.err { color: #e7b4b0; border-color: rgba(140, 36, 40, .6); }

.filters { margin: 1rem 0 .8rem; }
.filter-row, .topic-row { display: flex; gap: .4rem; overflow-x: auto; padding-bottom: .2rem; }
.topic-row { margin-top: .45rem; }
.chip {
  flex: 0 0 auto;
  border: 1px solid var(--gold);
  background: rgba(7, 8, 11, .72);
  color: var(--gold-bright);
  border-radius: 999px;
  padding: .45rem .85rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-family: Cinzel, "Times New Roman", serif;
  font-size: .68rem;
  cursor: pointer;
}
.chip.is-on { background: var(--gold); color: var(--ink); border-color: var(--gold); }

.columns {
  display: flex;
  flex-direction: column;
  gap: .8rem;
}
.panel {
  border: 1px solid rgba(198, 161, 90, .55);
  background: #0c0b09;
  padding: .9rem;
}
.panel h2 {
  margin: 0;
  font-family: Cinzel, "Times New Roman", serif;
  font-size: 1.25rem;
  color: var(--gold-bright);
}
.panel .panel-kicker { margin: 0 0 .35rem; }
.meet-list { list-style: none; margin: .8rem 0 0; padding: 0; display: flex; flex-direction: column; gap: .7rem; }
.meet-list article {
  display: grid;
  gap: .2rem;
  padding-top: .7rem;
  border-top: 1px solid rgba(198, 161, 90, .22);
}
.meet-list h3 { margin: 0; font-size: 1rem; color: var(--parchment); }
.meet-list p { margin: 0; color: var(--muted); font-size: .84rem; }
.sample-flag {
  justify-self: start;
  font-size: .62rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(198, 161, 90, .5);
  padding: .1rem .35rem;
}
.row-actions { display: flex; gap: .45rem; align-items: center; margin-top: .35rem; }
.seats-pill { color: var(--gold-bright); font-size: .75rem; letter-spacing: .04em; }
.text-link { color: var(--gold); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.organizer-copy { color: #ddd4c4; }
.queue-link { color: var(--muted); font-size: .75rem; }

@media (min-width: 980px) {
  .gather { width: min(1100px, calc(100% - 2.4rem)); }
  .war-inner {
    grid-template-columns: minmax(220px, 1fr) minmax(420px, 560px) minmax(240px, 320px);
    align-items: center;
    min-height: 86vh;
    padding-top: 1.4rem;
  }
  .intro { align-self: start; padding-top: 1.2rem; }
  .intro h1 { font-size: 2.7rem; }
  .detail { align-self: end; }
  .meet-list.cards { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 420px) {
  .action-row { grid-template-columns: 1fr; }
  .geo-btn { font-size: .62rem; }
}

.war-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 92vh;
}
.war-bg, .war-vignette, .war-fog, #embers {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.war-bg {
  background:
    linear-gradient(to bottom, rgba(7, 8, 11, .2), rgba(7, 8, 11, .05) 40%, rgba(7, 8, 11, .72)),
    url("/assets/img/meetups/meet-hero-warroom.webp") center 62% / cover no-repeat;
  z-index: 0;
}
.war-vignette {
  z-index: 1;
  background:
    radial-gradient(ellipse at 50% 68%, transparent 10%, rgba(7, 8, 11, .28) 46%, rgba(7, 8, 11, .82) 100%),
    linear-gradient(to bottom, rgba(7, 8, 11, .78) 0%, rgba(7, 8, 11, .28) 22%, rgba(7, 8, 11, .08) 48%, rgba(7, 8, 11, .8) 100%);
}
.war-fog {
  z-index: 2;
  background:
    radial-gradient(ellipse at 30% 70%, rgba(198, 161, 90, .14), transparent 42%),
    radial-gradient(ellipse at 70% 40%, rgba(180, 190, 200, .08), transparent 36%);
  animation: fogDrift 26s ease-in-out infinite alternate;
}
#embers { z-index: 3; width: 100%; height: 100%; }
.war-inner {
  position: relative;
  z-index: 4;
  display: grid;
  gap: 1rem;
  width: min(1180px, calc(100% - 1.4rem));
  margin: 0 auto;
  padding: 1.2rem 0 1.6rem;
}
@keyframes fogDrift {
  from { transform: translate3d(-1.5%, 0, 0); opacity: .65; }
  to { transform: translate3d(1.5%, -1%, 0); opacity: 1; }
}

.card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: .6rem; }
.date-stamp {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 3.15rem;
  min-height: 3.15rem;
  padding: .2rem .35rem;
  border: 1px solid var(--gold);
  background: rgba(7, 8, 11, .78);
  color: var(--gold-bright);
  font-family: Cinzel, "Times New Roman", serif;
}
.date-stamp b { font-size: 1.15rem; line-height: 1; font-weight: 600; }
.date-stamp i { font-style: normal; font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; }
.date-stamp[hidden] { display: none; }

.meet-list.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: .8rem;
  margin-top: .9rem;
}
.city-card { display: block; border-top: none; padding-top: 0; }
.city-card {
  position: relative;
  min-height: 250px;
  background: #100e0c center/cover no-repeat;
  border: 1px solid rgba(198, 161, 90, .55);
  overflow: hidden;
}
.city-card .shade {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: .28rem;
  padding: .9rem;
  background: linear-gradient(to top, rgba(7, 8, 11, .94) 0%, rgba(7, 8, 11, .62) 48%, rgba(7, 8, 11, .12) 100%);
}
.city-card h3 {
  margin: 0;
  font-family: Cinzel, "Times New Roman", serif;
  font-size: 1.15rem;
  line-height: 1.15;
  color: var(--gold-bright);
}
.card-place, .card-topic { margin: 0; color: var(--parchment); font-size: .84rem; }
.card-topic { color: var(--muted); }
.city-card .row-actions { margin-top: .45rem; }
.city-card .btn { min-height: 38px; }

.banner.gather, .queue-link.gather { padding-bottom: 1.2rem; }
.ornament.gather { padding: 0; }
.ornament {
  display: flex;
  align-items: center;
  gap: .7rem;
  margin: 1.4rem auto;
  width: min(1100px, calc(100% - 1.4rem));
  color: var(--gold);
}
.ornament span {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(198, 161, 90, .85), transparent);
}
.ornament i { font-style: normal; letter-spacing: .2em; }

.scripture {
  margin: 0;
  padding: .2rem 1rem 1.4rem;
  text-align: center;
}
.scripture p {
  margin: 0 auto;
  max-width: 38rem;
  font-family: Cinzel, "Times New Roman", serif;
  font-size: clamp(1.05rem, 2.4vw, 1.45rem);
  line-height: 1.45;
  color: var(--gold-bright);
}
.scripture cite {
  display: block;
  margin-top: .7rem;
  font-style: normal;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: .72rem;
  color: var(--gold);
}

.cine {
  position: relative;
  background: #100e0c url("/assets/img/meetups/meet-organizer-hall.webp") center 40% / cover no-repeat;
}
.cine-online { background-image: url("/assets/img/meetups/meet-online-study.webp"); background-position: center 60%; }
.cine-shade {
  background: linear-gradient(100deg, rgba(7, 8, 11, .9) 0%, rgba(7, 8, 11, .72) 46%, rgba(7, 8, 11, .38) 100%);
  padding: 2.2rem 0;
}
.cine-inner { width: min(1100px, calc(100% - 1.4rem)); margin: 0 auto; }
.cine h2 {
  margin: .15rem 0 0;
  font-family: Cinzel, "Times New Roman", serif;
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  line-height: 1.05;
  color: var(--gold-bright);
}
.cine-copy { max-width: 36rem; color: var(--parchment); }
.wanted-cards { max-width: 360px; }
.cine .stack-form { max-width: 28rem; margin-top: 1rem; }
.cine .btn { margin-top: .8rem; }

.call-row { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem; }
.call-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .32rem .6rem;
  background: #8c2428;
  color: #fff;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-size: .68rem;
  font-weight: 600;
  animation: livePulse 1.8s ease-in-out infinite;
}
.call-badge::before {
  content: "";
  width: .45rem;
  height: .45rem;
  border-radius: 50%;
  background: #ffb4b4;
  box-shadow: 0 0 8px #ff5a5a;
}
.call-count { color: var(--gold-bright); letter-spacing: .04em; }
@keyframes livePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(140, 36, 40, .65); }
  70% { box-shadow: 0 0 0 8px rgba(140, 36, 40, 0); }
}

.about-map {
  margin: .8rem 0 0;
  color: var(--muted);
}
.about-map summary {
  cursor: pointer;
  color: var(--gold-bright);
  font-family: Cinzel, "Times New Roman", serif;
  letter-spacing: .08em;
  font-size: .85rem;
}
.about-map p { margin: .45rem 0 0; max-width: 42rem; }

#in-person h2, .gather h2 {
  margin: .1rem 0 0;
  font-family: Cinzel, "Times New Roman", serif;
  color: var(--gold-bright);
  font-size: 1.7rem;
}

@media (min-width: 800px) {
  #in-person .meet-list.cards { grid-template-columns: repeat(3, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .war-fog, .call-badge { animation: none; }
  #embers { display: none; }
}
