/* Imagine Milk Events — styled to match imaginemilk.com.
   Brand tokens come from the live site: black canvas, Poppins, orange #FF4C1A, mono "telemetry" labels, pill buttons.
   An event's Theme Color in Airtable overrides --accent for that event only. */

.ime {
  --accent: #ff4c1a;
  --accent-hot: #ff4f00;
  --bg: #000;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.07);
  --solid: #0a0a0a;
  --text: #fff;
  --text-2: rgba(255, 255, 255, 0.78);
  --muted: #8a8a8a;
  --line: rgba(255, 255, 255, 0.12);
  --line-2: rgba(255, 255, 255, 0.2);
  --ok: #3ddc84;
  --warn: #ffb020;
  --bad: #ff5a5a;
  --radius: 18px;
  --mono: ui-monospace, 'SF Mono', 'Roboto Mono', Menlo, monospace;
  color-scheme: dark;
}

.ime, .ime * { box-sizing: border-box; }
.ime { margin: 0; }
.ime {
  font: 300 15px/1.6 Poppins, system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
.ime a { color: var(--accent); text-decoration: none; }
.ime a:hover { text-decoration: underline; text-underline-offset: 3px; }
.ime img { max-width: 100%; display: block; }
.ime h1, .ime h2, .ime h3 { line-height: 1.08; margin: 0; letter-spacing: -0.02em; font-weight: 700; }
.ime b, .ime strong { font-weight: 600; }
.ime .muted { color: var(--muted); }
.ime .small { font-size: 13px; }
.ime .hidden { display: none !important; }/* Mission-control label: [ LIKE THIS ] */


.ime .mono, .ime .eyebrow, .ime .side-label, .ime .field label, .ime .card-head, .ime .stat span, .ime .pill, .ime .tab {
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.14em;
}
.ime .eyebrow { font-size: 11px; color: var(--accent); margin: 0 0 14px; }
.ime .eyebrow::before { content: '[ '; }
.ime .eyebrow::after { content: ' ]'; }

/* warm glow at the top of the page, like the imaginemilk.com hero */


.ime .backdrop {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(70% 45% at 50% -8%, color-mix(in srgb, var(--accent) 26%, transparent), transparent 70%),
    linear-gradient(to bottom, transparent 60%, #000);
}
.ime .backdrop::after {
  content: ''; position: absolute; inset: 0; opacity: 0.35;
  background-image: radial-gradient(rgba(255, 255, 255, 0.5) 0.6px, transparent 0.6px);
  background-size: 34px 34px;
  mask-image: linear-gradient(to bottom, #000, transparent 55%);
}/* ---------- site header (mirrors imaginemilk.com nav) ---------- */


.ime .topbar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  max-width: 1180px; margin: 0 auto; padding: 22px 16px;
}
.ime .brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 500; }
.ime .brand:hover { text-decoration: none; }
.ime .brand img { height: 22px; width: auto; }
.ime .brand .suffix { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; color: var(--muted); text-transform: uppercase; }
.ime .nav { display: flex; gap: 28px; font-size: 14px; font-weight: 400; }
.ime .nav a { color: var(--text-2); }
.ime .nav a:hover { color: var(--text); text-decoration: none; }
.ime .nav a.active { color: var(--text); }
@media (max-width: 760px) { .ime .nav { display: none; } }
.ime.embed .topbar, .ime.embed .footer, .ime.embed .backdrop::after { display: none; }
.ime.embed .backdrop { display: none; }
.ime.embed { background: transparent; }

.ime .wrap { max-width: 1080px; margin: 0 auto; padding: 16px 16px 72px; }/* ---------- event page ---------- */


.ime .event { display: grid; grid-template-columns: 360px 1fr; gap: 48px; align-items: start; }
@media (max-width: 860px) { .ime .event { grid-template-columns: 1fr; gap: 28px; } }

.ime .cover {
  aspect-ratio: 1; width: 100%; border-radius: var(--radius); object-fit: cover;
  border: 1px solid var(--line);
  background:
    radial-gradient(80% 70% at 30% 20%, color-mix(in srgb, var(--accent) 55%, transparent), transparent 70%),
    radial-gradient(60% 60% at 80% 90%, color-mix(in srgb, var(--accent) 25%, transparent), transparent 70%),
    #050505;
}
.ime .cover-fallback { display: flex; flex-direction: column; justify-content: space-between; padding: 26px; }
.ime .cover-fallback img { height: 20px; width: auto; opacity: 0.9; }
.ime .cover-fallback .t { font-size: 30px; font-weight: 800; text-transform: uppercase; line-height: 1.02; letter-spacing: 0.005em; }

.ime .side-block { margin-top: 28px; }
.ime .side-label { font-size: 11px; color: var(--muted); padding-bottom: 10px; border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.ime .partners { display: flex; flex-wrap: wrap; gap: 10px; }
.ime .partner {
  display: flex; align-items: center; justify-content: center; height: 58px; min-width: 104px; padding: 10px 16px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px; transition: border-color .2s;
}
.ime .partner:hover { border-color: var(--line-2); text-decoration: none; }
.ime .partner img { max-height: 34px; max-width: 124px; object-fit: contain; }
.ime .partner .pname { font-weight: 500; font-size: 13px; color: var(--text); }

.ime .event h1 { font-size: clamp(34px, 5.4vw, 56px); margin: 0 0 22px; }
.ime .facts { display: grid; gap: 14px; margin-bottom: 26px; }
.ime .fact { display: flex; gap: 14px; align-items: center; }
.ime .fact-icon {
  flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  border: 1px solid var(--line); background: var(--surface); color: var(--accent);
}
.ime .fact-icon svg { width: 20px; height: 20px; }
.ime .fact b { display: block; font-weight: 500; }
.ime .fact a { color: var(--text); }
.ime .description { white-space: pre-wrap; color: var(--text-2); }/* countdown telemetry */


.ime .telemetry { display: flex; flex-wrap: wrap; gap: 8px 22px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; color: var(--muted); margin: -8px 0 24px; }
.ime .telemetry b { color: var(--text); font-weight: 400; }
.ime .telemetry .live { color: var(--accent); }
.ime .telemetry .dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); margin-right: 8px; vertical-align: middle; animation: ime-blink 1.6s infinite; }
@keyframes ime-blink { 50% { opacity: 0.25; } }

.ime .card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; backdrop-filter: blur(6px); }
.ime .card-head { padding: 13px 20px; border-bottom: 1px solid var(--line); font-size: 11px; color: var(--muted); display: flex; justify-content: space-between; gap: 10px; }
.ime .card-head .live { color: var(--accent); }
.ime .card-body { padding: 20px; }/* ---------- forms ---------- */


.ime .field { display: grid; gap: 8px; margin-bottom: 16px; }
.ime .field label { font-size: 10.5px; color: var(--text-2); }
.ime .field .hint { color: var(--muted); text-transform: none; letter-spacing: 0; font-family: Poppins, sans-serif; }
.ime input[type=text], .ime input[type=email], .ime input[type=url], .ime input[type=password], .ime input[type=search], .ime select, .ime textarea {
  width: 100%; font: 400 15px/1.4 Poppins, system-ui, sans-serif; color: var(--text); background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px; outline: none; transition: border-color .15s, box-shadow .15s;
}
.ime input::placeholder, .ime textarea::placeholder { color: #5f5f5f; }
.ime input[disabled] { color: var(--muted); }
.ime select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #888 50%), linear-gradient(135deg, #888 50%, transparent 50%); background-position: calc(100% - 20px) 52%, calc(100% - 15px) 52%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
.ime select option { background: #111; }
.ime textarea { min-height: 84px; resize: vertical; }
.ime input:focus, .ime select:focus, .ime textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
.ime .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 540px) { .ime .row2 { grid-template-columns: 1fr; } }

.ime .check { display: flex; gap: 12px; align-items: flex-start; margin: 12px 0; cursor: pointer; font-size: 14px; color: var(--text-2); }
.ime .check input { margin-top: 4px; accent-color: var(--accent); width: 16px; height: 16px; flex: none; }
.ime .check b { color: var(--text); }

.ime .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 500 14.5px/1 Poppins, system-ui, sans-serif; letter-spacing: 0.01em; border: 1px solid var(--accent); border-radius: 999px;
  padding: 14px 26px; cursor: pointer; background: var(--accent); color: #fff; text-decoration: none !important;
  transition: filter .15s, transform .05s, background .15s, border-color .15s;
}
.ime .btn:hover { filter: brightness(1.1); }
.ime .btn:active { transform: translateY(1px); }
.ime .btn[disabled] { opacity: .5; cursor: default; }
.ime .btn.block { width: 100%; }
.ime .btn.ghost { background: transparent; color: var(--text); border-color: var(--line-2); }
.ime .btn.ghost:hover { background: var(--surface-2); filter: none; }
.ime .btn.small { padding: 8px 14px; font-size: 13px; }
.ime .btn.ok { background: transparent; color: var(--ok); border-color: color-mix(in srgb, var(--ok) 55%, transparent); }
.ime .btn.ok:hover { background: color-mix(in srgb, var(--ok) 12%, transparent); filter: none; }
.ime .btn.bad { background: transparent; color: var(--bad); border-color: color-mix(in srgb, var(--bad) 55%, transparent); }

.ime .notice { padding: 13px 16px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line); font-size: 14px; margin-bottom: 16px; color: var(--text-2); }
.ime .notice.ok { border-color: color-mix(in srgb, var(--accent) 45%, transparent); background: color-mix(in srgb, var(--accent) 9%, transparent); color: var(--text); }
.ime .notice.warn { border-color: color-mix(in srgb, var(--warn) 45%, transparent); background: color-mix(in srgb, var(--warn) 8%, transparent); color: var(--text); }
.ime .notice.bad { border-color: color-mix(in srgb, var(--bad) 45%, transparent); background: color-mix(in srgb, var(--bad) 8%, transparent); color: var(--bad); }
.ime .welcome { display: flex; align-items: center; gap: 10px; }

.ime .pill { display: inline-block; font-size: 10px; padding: 3px 10px; border-radius: 99px; border: 1px solid var(--line-2); color: var(--muted); white-space: nowrap; vertical-align: middle; }
.ime .pill.Registered { color: var(--ok); border-color: color-mix(in srgb, var(--ok) 45%, transparent); }
.ime .pill.Pending { color: var(--warn); border-color: color-mix(in srgb, var(--warn) 45%, transparent); }
.ime .pill.Waitlist { color: var(--accent); border-color: color-mix(in srgb, var(--accent) 50%, transparent); }
.ime .pill.Declined, .ime .pill.Cancelled { color: var(--bad); border-color: color-mix(in srgb, var(--bad) 45%, transparent); }

.ime .success { text-align: center; padding: 14px 0 6px; }
.ime .success .big {
  width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center; font-size: 28px;
  border: 1px solid color-mix(in srgb, var(--accent) 50%, transparent); background: color-mix(in srgb, var(--accent) 12%, transparent);
}
.ime .success h2 { margin: 6px 0 8px; font-size: 28px; }
.ime .success p { color: var(--text-2); }
.ime .actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 18px; }

.ime .footer {
  max-width: 1180px; margin: 0 auto; padding: 28px 16px 44px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
}
.ime .footer a { color: var(--muted); }
.ime .footer a:hover { color: var(--text); text-decoration: none; }
.ime .footer nav { display: flex; gap: 20px; flex-wrap: wrap; }/* ---------- event list ---------- */


.ime .hero { text-align: center; padding: 36px 0 44px; }
.ime .hero h1 { font-size: clamp(40px, 7vw, 64px); }
.ime .hero p { color: var(--text-2); max-width: 520px; margin: 14px auto 0; }
.ime .list { display: grid; gap: 14px; }
.ime .list-item { display: flex; gap: 18px; align-items: center; padding: 14px; color: var(--text); transition: border-color .2s; }
.ime .list-item:hover { text-decoration: none; border-color: color-mix(in srgb, var(--accent) 50%, var(--line)); }
.ime .list-item .go { margin-left: auto; color: var(--accent); font-family: var(--mono); font-size: 11px; letter-spacing: .14em; }
.ime .thumb { width: 76px; height: 76px; border-radius: 14px; object-fit: cover; flex: none; border: 1px solid var(--line);
  background: radial-gradient(80% 70% at 30% 20%, color-mix(in srgb, var(--accent) 55%, transparent), transparent 70%), #050505; }/* ---------- host tools ---------- */


.ime .tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--line); margin: 24px 0; overflow-x: auto; }
.ime .tab { padding: 12px 14px; border: 0; background: none; font-size: 11px; color: var(--muted); cursor: pointer; border-bottom: 2px solid transparent; white-space: nowrap; }
.ime .tab:hover { color: var(--text); }
.ime .tab.active { color: var(--text); border-bottom-color: var(--accent); }
.ime .stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); gap: 10px; margin-bottom: 18px; }
.ime .stat { padding: 14px 16px; }
.ime .stat b { display: block; font-size: 28px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; }
.ime .stat b .muted { font-size: 13px; font-weight: 400; }
.ime .stat span { font-size: 10px; color: var(--muted); }
.ime .toolbar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 14px; }
.ime .toolbar input[type=search] { flex: 1 1 220px; border-radius: 999px; }
.ime .toolbar select { width: auto; border-radius: 999px; }

.ime .guests { display: grid; gap: 8px; }
.ime .guest { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; padding: 14px 16px; }
.ime .guest .who b { font-size: 15px; font-weight: 500; }
.ime .guest .meta { color: var(--muted); font-size: 13px; }
.ime .guest .btns { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.ime .guest details { grid-column: 1 / -1; font-size: 14px; color: var(--text-2); }
.ime .guest details summary { cursor: pointer; color: var(--muted); font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; }
.ime .guest details p { margin: 6px 0; white-space: pre-wrap; }
.ime .guest.checked { border-color: color-mix(in srgb, var(--ok) 40%, var(--line)); }
.ime .checkin-btn { min-width: 124px; }
.ime .checkin-mode .guest { padding: 18px; }
.ime .checkin-mode .guest .who b { font-size: 18px; }
@media (max-width: 560px) {
  .ime .stat { padding: 10px 12px; }
  .ime .stat b { font-size: 22px; }
  .ime .guest { grid-template-columns: 1fr; }
  .ime .guest .btns { justify-content: flex-start; }
  .ime .checkin-mode .guest { grid-template-columns: 1fr auto; }
}

.ime .match { padding: 16px; display: grid; gap: 10px; }
.ime .match .line { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.ime .match textarea { min-height: 58px; font-size: 14px; }
.ime .score { font-family: var(--mono); color: var(--accent); }

.ime .copy { display: flex; gap: 8px; }
.ime .copy input { font-family: var(--mono); font-size: 12px; }
.ime code, .ime pre { font-family: var(--mono); font-size: 12px; }
.ime pre { background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); padding: 14px; border-radius: 14px; overflow-x: auto; white-space: pre-wrap; word-break: break-all; color: var(--text-2); }

.ime .colpicker { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 0 12px; margin: 8px 0 16px; }
.ime .toast { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%); background: #111; border: 1px solid var(--line-2); color: #fff; padding: 11px 18px; border-radius: 999px; font-size: 14px; z-index: 50; }

/* ---------- living inside imaginemilk.com ---------- */
.ime p { margin: 0 0 0.9em; }
/* the site's reset zeroes list/heading spacing; give our content room under its fixed nav */
.ime-shell { padding-top: clamp(96px, 11vw, 124px); min-height: 70vh; min-height: 70svh; position: relative; }
.ime-shell .wrap { padding-bottom: 96px; }
.ime-shell .backdrop { position: absolute; height: 900px; z-index: -1; }

/* ---------- signup flow: one question at a time ---------- */
.ime .step-count { color: var(--text-2); font-size: 10.5px; }
.ime .progress { height: 2px; background: var(--line); }
.ime .progress span { display: block; height: 100%; width: 6%; background: var(--accent); box-shadow: 0 0 12px var(--accent); transition: width .5s cubic-bezier(.16, 1, .3, 1); }
.ime .stage { position: relative; overflow: hidden; transition: height .35s cubic-bezier(.16, 1, .3, 1); }
.ime .step { padding: 24px 22px 22px; }
.ime .stage .step.leave-fwd, .ime .stage .step.leave-back { position: absolute; inset: 0 0 auto 0; pointer-events: none; }
.ime .q { font-size: clamp(22px, 3vw, 27px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; margin: 0 0 14px; }
.ime .q-sub { color: var(--text-2); margin: -4px 0 16px; }
.ime .q-input { font-size: 17px; padding: 15px 18px; }
.ime textarea.q-input { min-height: 104px; }
.ime .q-error { min-height: 1.4em; margin: 8px 0 0; color: var(--bad); font-size: 13.5px; }
.ime .step-actions { display: flex; gap: 10px; margin-top: 6px; }
.ime .step-actions .next { flex: 1; }
.ime .step-actions .back { padding-inline: 18px; }
.ime .btn .arrow { transition: transform .2s; }
.ime .btn:hover .arrow { transform: translateX(3px); }
.ime .btn.busy { color: transparent; position: relative; }
.ime .btn.busy::after { content: ''; position: absolute; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255,255,255,.35); border-top-color: #fff; animation: ime-spin .7s linear infinite; }
.ime .hint-enter { margin: 12px 0 0; font-size: 10px; color: var(--muted); text-align: center; }
@media (hover: none) { .ime .hint-enter { display: none; } }
.ime .hp { position: absolute; left: -9999px; width: 1px; height: 1px; }

.ime .chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
.ime .chip {
  font: 400 14px/1 Poppins, sans-serif; color: var(--text-2); background: var(--surface); border: 1px solid var(--line);
  border-radius: 999px; padding: 10px 16px; cursor: pointer; transition: all .18s ease;
}
.ime .chip:hover { border-color: var(--line-2); color: var(--text); transform: translateY(-1px); }
.ime .chip.on { color: #fff; background: color-mix(in srgb, var(--accent) 22%, transparent); border-color: var(--accent); }
.ime .chips.single .chip { padding: 12px 18px; }

.ime .toggle { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--line); cursor: pointer; color: var(--text-2); }
.ime .toggle:last-of-type { border-bottom: 0; }
.ime .toggle input { position: absolute; opacity: 0; pointer-events: none; }
.ime .toggle b { color: var(--text); font-weight: 500; }
.ime .toggle .sw { flex: none; width: 42px; height: 24px; border-radius: 99px; background: rgba(255,255,255,.14); position: relative; transition: background .2s; margin-top: 2px; }
.ime .toggle .sw::after { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .25s cubic-bezier(.16, 1, .3, 1); }
.ime .toggle input:checked + .sw { background: var(--accent); }
.ime .toggle input:checked + .sw::after { transform: translateX(18px); }
.ime .toggle input:focus-visible + .sw { box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 35%, transparent); }

.ime .done-ring { display: block; margin: 0 auto; width: 68px; height: 68px; color: var(--accent); filter: drop-shadow(0 0 14px color-mix(in srgb, var(--accent) 60%, transparent)); }
.ime .done-ring circle { stroke-dasharray: 183; stroke-dashoffset: 183; animation: ime-draw .7s .1s cubic-bezier(.65, 0, .35, 1) forwards; }
.ime .done-ring path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: ime-draw .4s .65s ease-out forwards; }

/* step transitions */
.ime .enter-fwd { animation: ime-inFwd .42s cubic-bezier(.16, 1, .3, 1) both; }
.ime .enter-back { animation: ime-inBack .42s cubic-bezier(.16, 1, .3, 1) both; }
.ime .leave-fwd { animation: ime-outFwd .26s ease-in both; }
.ime .leave-back { animation: ime-outBack .26s ease-in both; }
.ime .shake { animation: ime-shake .4s; }

/* page load: content rises in, like the imaginemilk.com hero */
.ime .rise { animation: ime-rise .8s cubic-bezier(.16, 1, .3, 1) both; animation-delay: calc(var(--d, 0) * 90ms); }
.ime .rise.risen { animation: none; opacity: 1; transform: none; filter: none; }

@keyframes ime-inFwd { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: none; } }
@keyframes ime-inBack { from { opacity: 0; transform: translateX(-28px); } to { opacity: 1; transform: none; } }
@keyframes ime-outFwd { to { opacity: 0; transform: translateX(-28px); } }
@keyframes ime-outBack { to { opacity: 0; transform: translateX(28px); } }
@keyframes ime-shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
@keyframes ime-draw { to { stroke-dashoffset: 0; } }
@keyframes ime-spin { to { transform: rotate(360deg); } }
@keyframes ime-rise { from { opacity: 0; transform: translateY(18px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }

@media (prefers-reduced-motion: reduce) {
  .ime *, .ime *::before, .ime *::after { animation-duration: 0.01ms !important; animation-delay: 0ms !important; transition-duration: 0.01ms !important; }
}

/* ---------- friendly touches ---------- */
.ime { --radius: 22px; }
.ime .card { box-shadow: 0 20px 60px -30px color-mix(in srgb, var(--accent) 45%, transparent); }

/* who's going */
.ime .going { display: flex; align-items: center; gap: 12px; margin-top: 18px; color: var(--text-2); font-size: 14px; }
.ime .going b { color: var(--text); font-weight: 600; }
.ime .avatars { display: flex; }
.ime .avatars span {
  width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; margin-left: -9px;
  font-size: 11.5px; font-weight: 600; letter-spacing: .02em; color: #fff; border: 2px solid #000;
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent) calc(100% - var(--i) * 12%), #6248ff), #2a120a);
  animation: ime-pop .5s cubic-bezier(.34, 1.56, .64, 1) both; animation-delay: calc(400ms + var(--i) * 70ms);
}
.ime .avatars span:first-child { margin-left: 0; }
.ime .avatars .more { background: #1a1a1a; color: var(--text-2); font-size: 11px; }

/* rocket riding the progress bar */
.ime .progress { height: 3px; overflow: visible; }
.ime .progress span { position: relative; border-radius: 0 3px 3px 0; }
.ime .progress .rocket {
  position: absolute; right: -11px; top: 50%; font-style: normal; font-size: 15px; line-height: 1;
  transform: translateY(-55%) rotate(45deg); filter: drop-shadow(0 0 6px var(--accent));
  animation: ime-hover 1.6s ease-in-out infinite;
}

/* "Love it ✓" after each answer */
.ime .card-head { align-items: center; }
.ime .cheer { margin-left: auto; margin-right: 12px; color: var(--accent); font-size: 10.5px; opacity: 0; }
.ime .cheer.pop { animation: ime-cheer 1.8s ease forwards; }

/* chips with a little bounce */
.ime .chip { display: inline-flex; align-items: center; gap: 7px; }
.ime .chip .e { font-size: 15px; line-height: 1; transition: transform .25s cubic-bezier(.34, 1.56, .64, 1); }
.ime .chip:hover .e { transform: scale(1.2) rotate(-8deg); }
.ime .chip.boop { animation: ime-boop .35s cubic-bezier(.34, 1.56, .64, 1); }

/* buttons feel a bit springier */
.ime .btn { transition: filter .15s, transform .2s cubic-bezier(.34, 1.56, .64, 1), background .15s, border-color .15s, box-shadow .2s; }
.ime .btn:not(.ghost):not([disabled]):hover { transform: translateY(-1px); box-shadow: 0 10px 28px -10px var(--accent); }

/* confetti burst on success */
.ime .success { position: relative; }
.ime .confetti { position: absolute; left: 50%; top: 58px; width: 0; height: 0; pointer-events: none; }
.ime .confetti i {
  position: absolute; left: 0; top: 0; width: var(--w); height: calc(var(--w) * 1.6); border-radius: 2px; background: var(--c);
  opacity: 0; animation: ime-burst var(--t) cubic-bezier(.12, .7, .3, 1) .15s forwards; font-style: normal;
}
.ime .confetti i.star { background: none; color: var(--c); font-size: 14px; width: auto; height: auto; }

@keyframes ime-pop { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: none; } }
@keyframes ime-hover { 50% { transform: translateY(-75%) rotate(45deg); } }
@keyframes ime-cheer { 0% { opacity: 0; transform: translateY(6px); } 15%, 70% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(-4px); } }
@keyframes ime-boop { 40% { transform: scale(1.1); } }
@keyframes ime-burst {
  0% { opacity: 1; transform: translate(0, 0) rotate(0) scale(.6); }
  70% { opacity: 1; }
  100% { opacity: 0; transform: translate(var(--x), calc(var(--y) + 60px)) rotate(var(--r)) scale(1); }
}
.ime .rise.risen .avatars span { animation: none; opacity: 1; transform: none; }
.ime .telemetry { text-transform: uppercase; }
@media (max-width: 860px) { .ime .event aside .cover { max-width: 420px; } }

/* ---------- white RSVP card (Luma-style) on the black page ---------- */
.ime .card.light {
  --text: #121212;
  --text-2: #4a4a4a;
  --muted: #8a8a8a;
  --line: rgba(0, 0, 0, 0.09);
  --line-2: rgba(0, 0, 0, 0.18);
  --surface: rgba(0, 0, 0, 0.035);
  --surface-2: rgba(0, 0, 0, 0.06);
  --bad: #d93a2b;
  color-scheme: light;
  color: var(--text);
  background: #fff;
  border-color: #fff;
  backdrop-filter: none;
  box-shadow: 0 30px 80px -30px color-mix(in srgb, var(--accent) 55%, transparent), 0 2px 0 rgba(255, 255, 255, 0.4) inset;
}
.ime .card.light .card-head { background: #fafafa; }
.ime .card.light input[type=text], .ime .card.light input[type=email], .ime .card.light input[type=url], .ime .card.light textarea {
  background: #f5f5f4; border-color: transparent; color: #121212;
}
.ime .card.light input::placeholder, .ime .card.light textarea::placeholder { color: #a3a3a3; }
.ime .card.light input:focus, .ime .card.light textarea:focus { background: #fff; border-color: var(--accent); }
.ime .card.light .chip { background: #f5f5f4; border-color: transparent; color: #3a3a3a; }
.ime .card.light .chip:hover { background: #efefed; color: #121212; }
.ime .card.light .chip.on { background: color-mix(in srgb, var(--accent) 12%, #fff); border-color: var(--accent); color: #121212; }
.ime .card.light .toggle .sw { background: #e2e2e0; }
.ime .card.light .toggle .sw::after { box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25); }
.ime .card.light .toggle input:checked + .sw { background: var(--accent); }
.ime .card.light .btn.ghost { color: #121212; border-color: rgba(0, 0, 0, 0.14); }
.ime .card.light .btn.ghost:hover { background: #f5f5f4; }
.ime .card.light .progress { background: #eee; }
.ime .card.light .hint-enter { color: #a3a3a3; }
.ime .card.light .done-ring { filter: none; }
.ime .card.light .eyebrow { color: var(--accent); }
.ime .card.light .notice { background: #f7f7f5; border-color: transparent; color: #3a3a3a; }
.ime .card.light a:not(.btn) { color: var(--accent); }

/* phones: compact cover so the RSVP card is reachable quickly */
@media (max-width: 600px) {
  .ime .event { gap: 20px; }
  .ime .event aside .cover { width: 172px; max-width: 172px; border-radius: 18px; }
  .ime .cover-fallback { padding: 14px; }
  .ime .cover-fallback img { height: 12px; }
  .ime .cover-fallback .t { font-size: 17px; }
  .ime .event aside .going { margin-top: 12px; }
  .ime .event aside .side-block { margin-top: 16px; }
  .ime .event h1 { margin-bottom: 16px; }
  .ime .facts { margin-bottom: 20px; gap: 10px; }
}

/* ---------- readability pass: stronger contrast, larger small labels ---------- */
.ime { --text-2: rgba(255, 255, 255, 0.88); --muted: #b0b0b0; font-weight: 400; font-size: 16px; }
.ime .mono, .ime .eyebrow, .ime .side-label, .ime .field label, .ime .card-head, .ime .stat span, .ime .pill, .ime .tab { letter-spacing: 0.08em; }
.ime .eyebrow { font-size: 12.5px; }
.ime .side-label { font-size: 12px; color: var(--text-2); }
.ime .card-head { font-size: 12px; }
.ime .step-count, .ime .cheer { font-size: 12px; }
.ime .field label { font-size: 12px; color: var(--text); }
.ime .pill { font-size: 11px; }
.ime .telemetry { font-size: 13px; color: var(--text-2); letter-spacing: 0.08em; }
.ime .hint-enter { font-size: 11.5px; }
.ime .small { font-size: 14px; }
.ime .description { font-size: 16px; line-height: 1.7; }
.ime .q-sub { font-size: 15.5px; }
.ime .fact .muted { color: var(--text-2); }
.ime .toggle .muted.small { font-size: 14px; line-height: 1.5; }
.ime .chip { font-size: 15px; }
.ime .tab { font-size: 12px; }
.ime .guest .meta { font-size: 14px; }
.ime .guest details summary { font-size: 11.5px; letter-spacing: 0.08em; }

/* white card: darker greys so they hold up on white */
.ime .card.light { --text-2: #2f2f2f; --muted: #5f5f5f; }
.ime .card.light input::placeholder, .ime .card.light textarea::placeholder { color: #8c8c8c; }
.ime .card.light .hint-enter { color: #7a7a7a; }
.ime .card.light .chip { color: #262626; }
.ime .card.light .card-head { color: #5f5f5f; }
.ime .fact .lock-note { display: flex; gap: 6px; align-items: flex-start; font-size: 14px; }

/* ---------- one-page RSVP form ---------- */
.ime .rsvp { padding: 22px 22px 24px; }
.ime .rsvp .q-sub { margin: 0 0 18px; }
.ime .rsvp .field { margin-bottom: 18px; }
.ime .rsvp .field label {
  font-family: Poppins, system-ui, sans-serif; text-transform: none; letter-spacing: 0;
  font-size: 15px; font-weight: 500; color: var(--text);
}
.ime .rsvp .field .hint { font-weight: 400; color: var(--muted); font-size: 14px; }
.ime .rsvp .chips { margin: 2px 0 10px; }
.ime .rsvp textarea { min-height: 76px; }
.ime .rsvp .toggles { margin: 4px 0 14px; border-top: 1px solid var(--line); }
.ime .rsvp .q-error { text-align: center; min-height: 1.2em; margin: 0 0 10px; }
.ime .rsvp .next { padding-block: 16px; font-size: 16px; }
.ime .folded { display: none; }
.ime .field.err input, .ime .field.err textarea { border-color: var(--bad) !important; background: color-mix(in srgb, var(--bad) 6%, #fff); }
.ime .field.err .chips .chip:not(.on) { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--bad) 55%, transparent); }
.ime .err-msg { margin: 6px 0 0; font-size: 13.5px; color: var(--bad); animation: ime-inFwd .3s ease both; }
.ime .welcome a { font-weight: 500; margin-left: 4px; }
.ime .fade-in { animation: ime-rise .5s cubic-bezier(.16, 1, .3, 1) both; }
@media (max-width: 600px) {
  .ime .rsvp { padding: 18px 16px 20px; }
  .ime .rsvp .chip, .ime .rsvp .chips.single .chip { font-size: 13.5px; padding: 8px 12px; gap: 6px; }
  .ime .rsvp .chip .e { font-size: 14px; }
  .ime .rsvp .chips { gap: 6px; }
}

/* description sits beside the form on desktop, under it on phones/tablets */
.ime .desc-main { display: none; }
@media (max-width: 860px) {
  .ime .desc-side { display: none; }
  .ime .desc-main { display: block; }
}
.ime aside .desc-side .description { font-size: 15.5px; }

/* ---------- Holiday vibe (Events → Vibe = Holiday) ---------- */
.ime .vibe-holiday { --holly: #1f8a4c; --gold: #e8b64c; --berry: #d62e2e; }
.ime .vibe-holiday .backdrop {
  background:
    radial-gradient(60% 42% at 18% -6%, color-mix(in srgb, var(--berry) 34%, transparent), transparent 70%),
    radial-gradient(50% 40% at 88% 4%, color-mix(in srgb, var(--holly) 30%, transparent), transparent 70%),
    radial-gradient(40% 30% at 50% -10%, color-mix(in srgb, var(--gold) 18%, transparent), transparent 70%),
    linear-gradient(to bottom, transparent 60%, #000);
}
.ime .vibe-holiday .backdrop::after { background-image: radial-gradient(color-mix(in srgb, var(--gold) 80%, #fff) 0.7px, transparent 0.7px); opacity: .28; }
.ime .vibe-holiday .eyebrow { color: var(--gold); }
.ime .vibe-holiday .telemetry .dot { background: var(--berry); }

/* falling snow, behind everything and never in the way of clicks */
.ime .snow { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.ime .snow i {
  position: absolute; top: -12px; left: var(--x); width: var(--s); height: var(--s); border-radius: 50%;
  background: #fff; opacity: var(--o); filter: blur(.4px);
  animation: ime-fall var(--d) linear var(--delay) infinite;
}
@keyframes ime-fall { to { transform: translate(var(--drift), 110vh); } }
@media (prefers-reduced-motion: reduce) { .ime .snow { display: none; } }

/* festive placeholder cover (when no Cover Image is uploaded) */
.ime .vibe-holiday .cover:not(img) {
  background:
    radial-gradient(70% 60% at 25% 20%, color-mix(in srgb, var(--berry) 70%, transparent), transparent 70%),
    radial-gradient(60% 55% at 85% 90%, color-mix(in srgb, var(--holly) 65%, transparent), transparent 70%),
    radial-gradient(30% 30% at 70% 30%, color-mix(in srgb, var(--gold) 35%, transparent), transparent 70%),
    #070707;
}
.ime .cover-fallback .flakes { font-size: 34px; letter-spacing: 12px; color: #fff; opacity: .9; text-align: center; text-shadow: 0 0 16px rgba(255,255,255,.6); }
@media (max-width: 600px) { .ime .cover-fallback .flakes { font-size: 20px; letter-spacing: 6px; } }
.ime .vibe-holiday .card.light { box-shadow: 0 30px 80px -30px color-mix(in srgb, var(--berry) 60%, transparent); }
.ime .vibe-holiday .going .avatars span { background: linear-gradient(135deg, var(--berry), var(--holly)); }

/* =====================================================================
   v3 RSVP: dark glass card, underline fields, mobile bottom sheet
   ===================================================================== */
html.ime-lock, html.ime-lock body { overflow: hidden; }

.ime #reg {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025));
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 40px 90px -40px color-mix(in srgb, var(--accent) 55%, transparent), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px) saturate(1.3);
}
.ime #reg .card-head { background: none; border-bottom: 1px solid var(--line); padding: 16px 22px; color: var(--text-2); }
.ime #reg .grab, .ime #reg .sheet-close { display: none; }
.ime #reg .head-right { display: flex; align-items: center; gap: 10px; }

/* fields: quiet underlines instead of boxes */
.ime .rsvp .field { margin-bottom: 22px; }
.ime .rsvp .field label { font-size: 13.5px; font-weight: 500; color: var(--text-2); letter-spacing: 0.01em; }
.ime .rsvp input[type=text], .ime .rsvp input[type=email], .ime .rsvp textarea {
  background: transparent; border: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.22); border-radius: 0;
  padding: 8px 0 11px; font-size: 17.5px; color: var(--text); box-shadow: none; transition: border-color .2s, box-shadow .2s;
}
.ime .rsvp input::placeholder, .ime .rsvp textarea::placeholder { color: rgba(255, 255, 255, 0.32); }
.ime .rsvp input:focus, .ime .rsvp textarea:focus { background: transparent; border-bottom-color: var(--accent); box-shadow: 0 1px 0 0 var(--accent); }
.ime .rsvp textarea { min-height: 44px; resize: none; overflow: hidden; line-height: 1.45; }
.ime .rsvp .row2 { gap: 18px; }
.ime .rsvp .field.err input, .ime .rsvp .field.err textarea { background: transparent; border-bottom-color: var(--bad) !important; box-shadow: 0 1px 0 0 var(--bad); }

.ime .rsvp .chip { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.12); color: var(--text-2); }
.ime .rsvp .chip:hover { background: rgba(255, 255, 255, 0.09); color: var(--text); }
.ime .rsvp .chip.on { background: color-mix(in srgb, var(--accent) 20%, transparent); border-color: var(--accent); color: #fff; }

.ime .req { color: var(--accent); font-weight: 600; }
.ime .req-note { font-size: 13px; color: var(--muted); margin: -8px 0 22px; }
.ime .opt {
  display: inline-block; font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); border: 1px solid var(--line-2); border-radius: 99px; padding: 1px 8px; margin-left: 4px; vertical-align: 1px;
}
.ime .rsvp .toggles { border-top: 1px dashed var(--line-2); margin-top: 8px; padding-top: 6px; }
.ime .extras-label { font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 14px 0 4px; }
.ime .rsvp .toggle { border-bottom-color: var(--line); }
.ime .rsvp .next { margin-top: 6px; box-shadow: 0 14px 36px -12px var(--accent); }
.ime .vibe-holiday #reg { box-shadow: 0 40px 90px -40px color-mix(in srgb, var(--berry) 70%, transparent), inset 0 1px 0 rgba(255, 255, 255, 0.08); }

/* floating bar + sheet only exist on phones */
.ime .cta-bar, .ime .sheet-scrim, .ime .inline-cta { display: none; }

@media (max-width: 600px) {
  /* the page reads like an invitation: full-bleed cover fading into black */
  .ime-shell:has(.event) { padding-top: 0; }
  .ime .event { gap: 0; }
  .ime .event aside .cover {
    width: calc(100% + 32px); max-width: none; margin: 0 -16px; aspect-ratio: 1 / 1; max-height: 58vh; max-height: 58svh;
    border: 0; border-radius: 0;

  }
  .ime .cover-fallback { justify-content: center; align-items: center; gap: 14px; padding-top: 70px; }
  .ime .cover-fallback img { height: 18px; }
  .ime .cover-fallback .t { display: none; }
  .ime .cover-fallback .flakes { font-size: 40px; letter-spacing: 16px; }
  .ime .event aside .going { margin-top: -40px; position: relative; }
  .ime .event section { margin-top: -6px; position: relative; }
  .ime .event h1 { font-size: 38px; margin-bottom: 14px; }

  /* details as a clean list */
  .ime .facts { gap: 0; margin-bottom: 8px; border-top: 1px solid var(--line); }
  .ime .fact { padding: 14px 0; border-bottom: 1px solid var(--line); gap: 14px; }
  .ime .fact-icon { width: 26px; height: 26px; border: 0; background: none; border-radius: 0; }
  .ime .desc-main { margin-top: 26px; }
  .ime-shell .wrap, .ime .wrap { padding-bottom: 130px; }

  /* floating frosted RSVP bar */
  .ime .cta-bar {
    display: flex; position: fixed; z-index: 60; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom));
    align-items: center; justify-content: space-between; gap: 12px; padding: 9px 9px 9px 20px; border-radius: 999px;
    background: rgba(20, 20, 20, 0.72); backdrop-filter: blur(20px) saturate(1.5); -webkit-backdrop-filter: blur(20px) saturate(1.5);
    border: 1px solid rgba(255, 255, 255, 0.16); box-shadow: 0 24px 60px -12px rgba(0, 0, 0, 0.9);
    animation: ime-bar-in .7s .5s cubic-bezier(.16, 1, .3, 1) both;
  }
  .ime .cta-bar.hidden { display: none; }
  .ime .inline-cta { display: flex; justify-content: center; width: 100%; margin-top: 28px; padding: 16px 20px; font-size: 16px; box-shadow: 0 14px 34px -12px var(--accent); }
  .ime .inline-cta.hidden { display: none; }
  .ime .partners-block { margin-bottom: 28px; }
  .ime .cta-bar .t { min-width: 0; }
  .ime .cta-bar .t b { display: block; font-size: 14.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .ime .cta-bar .t span { display: block; font-size: 12.5px; color: var(--muted); }
  .ime .cta-bar .btn { flex: none; padding: 13px 20px; font-size: 15px; box-shadow: 0 10px 26px -8px var(--accent); }

  /* the form becomes a bottom sheet */
  .ime #reg {
    position: fixed; z-index: 1001; left: 0; right: 0; bottom: 0; margin: 0;
    max-height: 92dvh; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
    border-radius: 26px 26px 0 0; border-bottom: 0;
    background: #0c0c0c; backdrop-filter: none;
    transform: translateY(110%); visibility: hidden;
    transition: transform .5s cubic-bezier(.16, 1, .3, 1), visibility 0s linear .5s;
    animation: none !important; opacity: 1 !important; filter: none !important;
    padding-bottom: env(safe-area-inset-bottom);
  }
  .ime #reg.open { transform: none; visibility: visible; transition: transform .5s cubic-bezier(.16, 1, .3, 1), visibility 0s; }
  .ime #reg .card-head { position: sticky; top: 0; z-index: 2; background: rgba(12, 12, 12, 0.92); backdrop-filter: blur(10px); padding: 22px 18px 14px; }
  .ime #reg .grab { display: block; position: absolute; top: 8px; left: 50%; width: 38px; height: 4px; margin-left: -19px; border-radius: 99px; background: rgba(255, 255, 255, 0.25); }
  .ime #reg .sheet-close {
    display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 0;
    background: rgba(255, 255, 255, 0.1); color: var(--text); font-size: 13px; cursor: pointer;
  }
  .ime .sheet-scrim {
    display: block; position: fixed; inset: 0; z-index: 1000; background: rgba(0, 0, 0, 0.62);
    backdrop-filter: blur(3px); opacity: 0; pointer-events: none; transition: opacity .35s ease;
  }
  .ime .sheet-scrim.show { opacity: 1; pointer-events: auto; }
}
@keyframes ime-bar-in { from { opacity: 0; transform: translateY(30px) scale(.96); } to { opacity: 1; transform: none; } }

/* matchmaker question: a toggle that opens "who are you trying to connect with?" */
.ime .rsvp .match-q { padding: 4px 16px; border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--line)); border-radius: 16px; background: color-mix(in srgb, var(--accent) 7%, transparent); }
.ime .rsvp .match-q .toggle { border: 0; padding: 12px 0; }
.ime .rsvp .match-q b { font-size: 16px; }
.ime .ime-show { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .45s cubic-bezier(.16, 1, .3, 1), opacity .3s ease; }
.ime .ime-show > div { overflow: hidden; min-height: 0; }
.ime .ime-show.open { grid-template-rows: 1fr; opacity: 1; }
.ime .rsvp textarea { min-height: 64px; }
.ime .rsvp textarea::placeholder { white-space: normal; }
.ime .back-link { display: inline-block; font-size: 14px; color: var(--text-2); margin: 0 0 14px; }
.ime .back-link:hover { color: var(--text); text-decoration: none; }
.ime .card.glass {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025));
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 40px 90px -40px color-mix(in srgb, var(--accent) 55%, transparent), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.ime .card.glass .notice { background: rgba(255,255,255,.05); }

/* ---------- calmer form: three short sections, more air, fewer boxes ---------- */
.ime .rsvp .q-sub { font-size: 15.5px; margin: 0 0 6px; }
.ime .rsvp .fs { padding: 18px 0 4px; }
.ime .rsvp .fs + .fs { border-top: 1px solid var(--line); margin-top: 6px; }
.ime .rsvp .fs-h { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-size: 13px; font-weight: 600; letter-spacing: .02em; color: var(--text); }
.ime .rsvp .fs-h .n {
  display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; font-size: 12px; font-weight: 600;
  background: color-mix(in srgb, var(--accent) 22%, transparent); color: var(--accent); border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent);
}
.ime .rsvp .field { margin-bottom: 18px; gap: 4px; }
.ime .rsvp .field label { font-size: 13px; color: var(--muted); font-weight: 500; }
.ime .rsvp input[type=text], .ime .rsvp input[type=email], .ime .rsvp textarea, .ime .rsvp select { font-size: 16.5px; }
.ime .rsvp textarea { min-height: 0; }
.ime .rsvp textarea[rows="2"] { min-height: 64px; }
.ime .rsvp textarea[rows="1"] { min-height: 42px; }

/* dropdown in the same underline style */
.ime .rsvp select {
  width: 100%; background-color: transparent; border: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.22); border-radius: 0;
  padding: 8px 28px 11px 0; color: var(--text); background-position: calc(100% - 10px) 50%, calc(100% - 5px) 50%;
}
.ime .rsvp select:invalid, .ime .rsvp select option[value=""] { color: rgba(255, 255, 255, 0.4); }
.ime .rsvp select:focus { border-bottom-color: var(--accent); box-shadow: 0 1px 0 0 var(--accent); }
.ime .rsvp .field.err select { border-bottom-color: var(--bad); box-shadow: 0 1px 0 0 var(--bad); }

/* matchmaker: a quiet toggle row, not a big box */
.ime .rsvp .match-q { padding: 0; border: 0; background: none; border-radius: 0; margin: 2px 0 10px; }
.ime .rsvp .match-q .toggle { padding: 4px 0; }
.ime .rsvp .match-q b, .ime .rsvp .toggle b { font-size: 15px; }
.ime .rsvp .toggle.nl { border: 0; padding: 6px 0 4px; }

/* "who to meet" chips: smaller */
.ime .rsvp .chip { font-size: 13.5px; padding: 7px 12px; gap: 6px; }
.ime .rsvp .chip .e { font-size: 14px; }
.ime .rsvp .chips { gap: 6px; margin: 4px 0 8px; }

.ime .rsvp .fine { text-align: center; font-size: 12.5px; color: var(--muted); margin: 12px 0 0; }

@media (max-width: 600px) {
  /* one swipeable row of chips instead of a wall */
  .ime .rsvp .chips.scroll {
    flex-wrap: nowrap; overflow-x: auto; padding: 2px 0 6px;
    scrollbar-width: none; -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 36px), transparent 100%);
            mask-image: linear-gradient(to right, #000 calc(100% - 36px), transparent 100%);
  }
  .ime .rsvp .chips.scroll::-webkit-scrollbar { display: none; }
  .ime .rsvp .chips.scroll .chip { flex: none; }
  .ime .rsvp .row2 { grid-template-columns: 1fr 1fr; gap: 14px; }
  .ime .rsvp .q-sub { font-size: 15px; }
}
.ime .rsvp .label-row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.ime .rsvp .find-li {
  font-size: 12.5px; font-weight: 500; color: var(--accent); white-space: nowrap;
  padding: 3px 10px; border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent); border-radius: 99px;
}
.ime .rsvp .find-li:hover { background: color-mix(in srgb, var(--accent) 14%, transparent); text-decoration: none; }

.ime #otherReveal input { margin-top: 4px; }

/* ---------- tap-to-pick tiles (biggest focus, how'd you find us) ---------- */
.ime .tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; margin-top: 6px; }
.ime .tile {
  position: relative; display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 10px 14px;
  font: 500 14.5px/1.2 Poppins, system-ui, sans-serif; color: var(--text-2); text-align: left; cursor: pointer;
  background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 14px;
  transition: transform .18s cubic-bezier(.34, 1.56, .64, 1), background .2s, border-color .2s, opacity .25s, color .2s, box-shadow .25s;
  -webkit-tap-highlight-color: transparent;
}
.ime .tile .e { font-size: 19px; line-height: 1; transition: transform .35s cubic-bezier(.34, 1.56, .64, 1); }
.ime .tile:hover { background: rgba(255, 255, 255, 0.08); color: var(--text); }
.ime .tile:active { transform: scale(.96); }
.ime .tile .tick {
  position: absolute; top: -7px; right: -7px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center;
  font-style: normal; font-size: 12px; font-weight: 700; color: #fff; background: var(--accent);
  box-shadow: 0 4px 12px -2px var(--accent); transform: scale(0); transition: transform .35s cubic-bezier(.34, 1.56, .64, 1);
}
.ime .tiles.picked .tile:not(.on) { opacity: .5; }
.ime .tile.on {
  color: #fff; opacity: 1; border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 20%, transparent);
  box-shadow: 0 10px 28px -14px var(--accent), inset 0 0 0 1px color-mix(in srgb, var(--accent) 60%, transparent);
}
.ime .tile.on .e { transform: scale(1.25) rotate(-8deg); }
.ime .tile.on .tick { transform: scale(1); }
.ime .tile.boop { animation: ime-tile-pop .4s cubic-bezier(.34, 1.56, .64, 1); }
@keyframes ime-tile-pop { 0% { transform: scale(.94); } 55% { transform: scale(1.05); } 100% { transform: scale(1); } }
.ime .field.err .tile:not(.on) { border-color: color-mix(in srgb, var(--bad) 55%, transparent); }
.ime .vibe-holiday .tile.on { border-color: var(--accent); }
@media (max-width: 600px) {
  .ime .tiles { grid-template-columns: 1fr 1fr; gap: 8px; }
  .ime .tile { min-height: 46px; padding: 9px 12px; font-size: 14px; }
}

/* "who to meet": compact chips that wrap, so the last one ("Other") is never cut off */
@media (max-width: 600px) {
  .ime .rsvp .chips.scroll { flex-wrap: wrap; overflow: visible; padding: 2px 0 4px; -webkit-mask-image: none; mask-image: none; }
  .ime .rsvp .chips.scroll .chip { font-size: 13px; padding: 6px 11px; gap: 5px; }
  .ime .rsvp .chips.scroll .chip .e { font-size: 13px; }
}

/* show/hide sections with a simple fade (the grid-height trick clipped nested fields on iOS) */
.ime .ime-show, .ime .ime-show.open { display: block; grid-template-rows: none; opacity: 1; transition: none; }
.ime .ime-show > div { overflow: visible; }
.ime .ime-show:not(.open) { display: none; }
.ime .ime-show.open { animation: ime-reveal .35s cubic-bezier(.16, 1, .3, 1) both; }
@keyframes ime-reveal { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.ime #otherReveal { margin-top: 6px; }

/* fields stack plainly (grid rows mis-measured the revealed "Who else?" box and let it spill over) */
.ime .rsvp .field { display: block; }
.ime .rsvp .field > label, .ime .rsvp .field > .label-row { display: block; margin-bottom: 4px; }
.ime .rsvp .field > .chips, .ime .rsvp .field > .tiles { margin-top: 6px; }

/* iOS Safari: extend the sheet and its backdrop down behind the see-through bottom toolbar,
   so the page never peeks out underneath. */
@media (max-width: 600px) {
  .ime #reg { bottom: -120px; padding-bottom: calc(120px + env(safe-area-inset-bottom)); max-height: calc(92dvh + 120px); }
  .ime .sheet-scrim { inset: -120px 0; }
  .ime #reg .rsvp { padding-bottom: 36px; }
}

/* partner badges */
.ime .partners { gap: 8px; }
.ime .partner { gap: 10px; height: 52px; min-width: 0; padding: 8px 14px; background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); }
.ime .partner img { height: 30px; width: auto; max-width: 140px; object-fit: contain; border-radius: 6px; }
.ime .partner .pname { font-size: 13.5px; font-weight: 500; color: var(--text); white-space: nowrap; }
.ime .partner.wide .pname { display: none; }
.ime .partner.wide img { height: 22px; border-radius: 0; }
.ime .partner .wordmark { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
@media (max-width: 600px) { .ime .event aside .side-block:not(.desc-side) { margin-top: 18px; } }

/* host export panel */
.ime .colpicker { gap: 6px 16px; margin: 10px 0 22px; }
.ime .colpicker .check { margin: 2px 0; }
.ime .export-actions { margin: 0; padding-top: 18px; border-top: 1px solid var(--line); gap: 10px; }
.ime .export-actions .btn { padding: 12px 20px; }

/* ── Public events page ───────────────────────────────────────────── */
.ime .evs { max-width: 900px; padding-bottom: 80px; }
.ime .evs-hero { padding: 40px 0 34px; }
.ime .evs-hero h1 { font-size: clamp(34px, 6vw, 58px); max-width: 900px; text-wrap: balance; }
.ime .evs-hero .eyebrow { color: var(--accent); }
.ime .evs-feature { display: block; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; background: var(--surface);
  color: var(--text); margin-bottom: 18px; transition: transform .25s ease, border-color .25s; }
.ime .evs-feature:hover { text-decoration: none; transform: translateY(-3px); border-color: color-mix(in srgb, var(--accent) 55%, var(--line)); }
/* covers are square posters: show them whole, with the details beside them on wide screens */
@media (min-width: 641px) {
  .ime .evs-feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .ime .evs-feature .evs-info { flex-wrap: wrap; align-content: center; padding: 32px; }
  .ime .evs-feature .evs-text { flex: 1 1 60%; }
  .ime .evs-feature .evs-text h2 { font-size: clamp(24px, 3vw, 34px); }
}
.ime .evs-cover { aspect-ratio: 1; background: radial-gradient(120% 120% at 80% 0%, rgba(255,76,26,.55), #111 60%); position: relative; overflow: hidden; }
.ime .evs-cover.holiday { background: radial-gradient(120% 120% at 80% 0%, #b3122e, #0d2b1d 70%); }
.ime .evs-cover img, .ime .evs-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.ime .evs-feature:hover .evs-cover img { transform: scale(1.03); }
.ime .evs-cover span, .ime .evs-thumb span { position: absolute; inset: 0; display: grid; place-items: center; }
.ime .evs-cover span img, .ime .evs-thumb span img { width: 38%; max-width: 260px; height: auto; object-fit: contain; opacity: .9; }
.ime .evs-info { display: flex; align-items: center; gap: 16px; padding: 18px 20px; }
.ime .evs-date { flex: none; width: 54px; text-align: center; border: 1px solid var(--line-2); border-radius: 14px; padding: 6px 0;
  font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); line-height: 1.2; }
.ime .evs-date b { display: block; font-family: Poppins, sans-serif; font-size: 22px; letter-spacing: 0; color: var(--text); font-weight: 700; }
.ime .evs-text { min-width: 0; flex: 1; }
.ime .evs-text h2 { font-size: 22px; }
.ime .evs-text p { margin: 4px 0 0; color: var(--text-2); font-size: 14px; }
.ime .evs-go { flex: none; }
.ime .evs-empty { border: 1px dashed var(--line-2); border-radius: 24px; padding: 44px 20px; text-align: center; }
.ime .evs-empty p { margin: 0 0 16px; font-size: 18px; }
.ime .evs-label { font-family: var(--mono); font-weight: 400; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 46px 0 16px; }
.ime .evs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ime .evs-past { display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
.ime .evs-past span { color: var(--muted); font-size: 12.5px; }
.ime .evs-thumb { aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden; position: relative; margin-bottom: 8px; background: #151515;
  filter: grayscale(.6); transition: filter .3s; }
.ime .evs-past:hover .evs-thumb { filter: none; }
.ime .evs-thumb.holiday { background: linear-gradient(135deg, #5a0f1c, #0d2b1d); }
@media (max-width: 640px) {
  .ime .evs-hero { padding: 72px 0 22px; }
  .ime .evs-feature { border-radius: 20px; }
  .ime .evs-cover { aspect-ratio: 1; }
  .ime .evs-info { padding: 14px 16px; gap: 12px; }
  .ime .evs-text h2 { font-size: 18px; }
  .ime .evs-go { display: none; }
  .ime .evs-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
}

/* ── Admin event header ───────────────────────────────────────────── */
.ime .ev-head { display: flex; gap: 18px; align-items: center; margin-bottom: 22px; }
.ime .ev-head-thumb { width: 72px; height: 72px; border-radius: 16px; object-fit: cover; flex: none; border: 1px solid var(--line);
  background: radial-gradient(120% 120% at 20% 0%, rgba(255,76,26,.5), #111 65%); }
.ime .ev-head-main { flex: 1; min-width: 0; }
.ime .ev-head h1 { font-size: 26px; }
.ime .ev-head-meta { color: var(--text-2); font-size: 14px; margin-top: 6px; }
.ime .ev-head-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.ime .ev-head-tags:empty { display: none; }
.ime .ev-head-view { flex: none; }
.ime .stats { margin: 0 0 6px; }
@media (max-width: 640px) {
  .ime .ev-head { flex-wrap: wrap; gap: 14px; align-items: flex-start; }
  .ime .ev-head-thumb { width: 56px; height: 56px; border-radius: 14px; }
  .ime .ev-head h1 { font-size: 21px; }
  .ime .ev-head-meta { font-size: 13px; margin-top: 4px; }
  .ime .ev-head-tags { margin-top: 8px; }
  .ime .ev-head-view { width: 100%; justify-content: center; text-align: center; }
  .ime .stats { display: flex; gap: 8px; overflow-x: auto; margin: 0 -16px 4px; padding: 0 16px 4px; scrollbar-width: none; }
  .ime .stats::-webkit-scrollbar { display: none; }
  .ime .stats .stat { flex: 1 0 auto; min-width: 84px; padding: 10px 14px; }
  .ime .stats .stat > span { white-space: nowrap; }
  .ime .stats .stat b { font-size: 22px; }
  .ime .tab { padding: 12px 10px; }
}
.ime .toolbar > .btn { align-self: stretch; display: inline-flex; align-items: center; min-height: 46px; }
.ime .empty-note { color: var(--muted); text-align: center; padding: 40px 16px; margin: 0; border: 1px dashed var(--line); border-radius: var(--radius); }
.ime .export-label { display: block; margin: 8px 0 0; font-size: 12px; font-weight: 600; color: var(--text-2); }
@media (max-width: 640px) {
  .ime .toolbar > .btn { flex: 1 1 auto; justify-content: center; }
  .ime .export-actions .btn { flex: 1 1 calc(50% - 5px); justify-content: center; text-align: center; }
  .ime .colpicker { grid-template-columns: 1fr 1fr; }
}
.ime .li-main { flex: 1; min-width: 0; }
.ime .li-main .pill { margin-top: 8px; }
@media (max-width: 640px) {
  .ime .list-item { gap: 14px; padding: 12px; align-items: flex-start; }
  .ime .list-item .thumb { width: 56px; height: 56px; }
}
/* Hide the floating RSVP bar while the website's mobile menu is open */
body:has(.cx-mobile-menu.is-open) .ime .cta-bar { display: none; }

/* ── Sign-up moment: milk drop → splash → orbit around the IM mark ── */
.ime-launch { position: fixed; inset: 0; z-index: 1100; display: grid; place-items: center; cursor: pointer;
  background: radial-gradient(60% 50% at 50% 50%, rgba(255,76,26,.22), rgba(0,0,0,.92) 70%); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  animation: ime-l-fade .35s ease both; }
.ime-launch.out { animation: ime-l-out .5s ease forwards; }
.ime-launch.holiday { background: radial-gradient(60% 50% at 50% 50%, rgba(179,18,46,.28), rgba(4,20,12,.94) 70%); }
.ime-launch .l-stage { position: relative; width: 340px; height: 340px; display: grid; place-items: center; }
.ime-launch .l-drop { position: absolute; width: 22px; height: 30px; background: #fff; border-radius: 50% 50% 50% 50% / 62% 62% 38% 38%;
  box-shadow: 0 0 24px rgba(255,255,255,.6); animation: ime-l-drop .6s cubic-bezier(.55,0,.9,.4) both; }
.ime-launch .l-splash { position: absolute; width: 0; height: 0; }
.ime-launch .l-splash i { position: absolute; width: 10px; height: 10px; margin: -5px; border-radius: 50%; background: #fff; opacity: 0;
  transform: scale(var(--s)); animation: ime-l-burst .9s .58s cubic-bezier(.16,1,.3,1) both; }
.ime-launch.holiday .l-splash i:nth-child(3n) { background: #e8b64c; }
.ime-launch.holiday .l-splash i:nth-child(3n+1) { background: #d62e2e; }
.ime-launch .l-ripple { position: absolute; width: 300px; height: 92px; border-radius: 50%; border: 2px solid #fff; opacity: 0;
  animation: ime-l-ripple .7s .58s ease-out both; }
.ime-launch .l-orbit { position: absolute; width: 340px; overflow: visible; transform: rotate(-14deg); }
.ime-launch .l-orbit path { fill: none; stroke: rgba(255,255,255,.55); stroke-width: 1.5; stroke-dasharray: 1; stroke-dashoffset: 1;
  animation: ime-l-draw .9s .85s cubic-bezier(.65,0,.35,1) forwards; }
.ime-launch .l-sat { fill: var(--accent, #ff4c1a); opacity: 0; filter: drop-shadow(0 0 6px #ff4c1a); animation: ime-l-fade .3s 1s forwards; }
.ime-launch.holiday .l-sat { fill: #e8b64c; filter: drop-shadow(0 0 6px #e8b64c); }
.ime-launch .l-logo { position: relative; width: 168px; opacity: 0; animation: ime-l-logo .8s .95s cubic-bezier(.16,1,.3,1) forwards; }
@keyframes ime-l-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes ime-l-out { to { opacity: 0; transform: scale(1.04); } }
@keyframes ime-l-drop { 0% { transform: translateY(-48vh) scaleY(1.3); opacity: 1; } 92% { transform: translateY(0) scaleY(1.2); opacity: 1; } 100% { transform: translateY(0) scale(1.6, .3); opacity: 0; } }
@keyframes ime-l-burst { 0% { opacity: 1; transform: translate(0, 0) scale(var(--s)); }
  60% { opacity: 1; } 100% { opacity: 0; transform: translate(var(--x), calc(var(--y) + 40px)) scale(calc(var(--s) * .4)); } }
@keyframes ime-l-ripple { 0% { opacity: .9; transform: scale(.05); } 100% { opacity: 0; transform: scale(1); } }
@keyframes ime-l-draw { to { stroke-dashoffset: 0; } }
@keyframes ime-l-logo { from { opacity: 0; transform: scale(.85); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }
@media (max-width: 400px) { .ime-launch .l-stage { transform: scale(.9); } }

.ime .done-ring { overflow: visible; }
.ime .done-ring .ring-sat { fill: var(--accent); filter: drop-shadow(0 0 4px var(--accent)); }
@media (min-width: 900px) { .ime-launch .l-stage { transform: scale(1.4); } }
/* Toggle rows sit inside .field, whose labels are blocks; keep the switch row laid out as a row */
.ime .rsvp .field label.toggle, .ime .field label.toggle { display: flex; }
.ime .toggle .sw { display: block; }

/* ── Past event recap: who came, the video, the photos ────────────── */
.ime .recap { margin-top: 26px; }
.ime .recap-went { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.ime .recap-went b { font-family: Poppins, sans-serif; font-size: 34px; letter-spacing: -0.02em; color: var(--text); font-weight: 700; margin-right: 8px; vertical-align: -4px; }
.ime .recap-video { display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: var(--radius); background: #000; border: 1px solid var(--line); margin-bottom: 28px; }
.ime .recap .side-label { margin-bottom: 12px; }
.ime .recap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ime .recap-photo { display: block; padding: 0; border: 0; border-radius: 12px; overflow: hidden; aspect-ratio: 1; cursor: zoom-in; background: #111; }
.ime .recap-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease, opacity .3s; }
.ime .recap-photo:hover img { transform: scale(1.05); }
@media (max-width: 600px) { .ime .recap-grid { grid-template-columns: repeat(2, 1fr); gap: 6px; } }

.ime-lightbox { position: fixed; inset: 0; z-index: 1100; display: none; place-items: center; background: rgba(0,0,0,.94); }
.ime-lightbox.open { display: grid; animation: ime-l-fade .25s ease both; }
.ime-lightbox img { max-width: 92vw; max-height: 86vh; border-radius: 10px; object-fit: contain; }
.ime-lightbox button { position: absolute; border: 0; background: rgba(255,255,255,.1); color: #fff; width: 44px; height: 44px; border-radius: 50%; font-size: 22px; cursor: pointer; display: grid; place-items: center; }
.ime-lightbox button:hover { background: rgba(255,255,255,.2); }
.ime-lightbox .lb-x { top: 16px; right: 16px; font-size: 15px; }
.ime-lightbox .lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.ime-lightbox .lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
.ime-lightbox .lb-n { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; font: 12px var(--mono, monospace); letter-spacing: .12em; color: rgba(255,255,255,.6); }
@media (max-width: 600px) { .ime-lightbox .lb-prev, .ime-lightbox .lb-next { top: auto; bottom: 8px; transform: none; } }

.ime a.evs-past { color: var(--text); }
.ime a.evs-past:hover { text-decoration: none; }
.ime a.evs-past:hover b { color: var(--accent); }
/* recap photos: one wide lead shot, then pairs */
.ime .recap-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
.ime .recap-photo { aspect-ratio: 4 / 3; }
.ime .recap-photo:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.ime .back-pill { display: flex; width: fit-content; align-items: center; gap: 6px; margin-bottom: 18px; padding: 7px 14px; border: 1px solid var(--line-2); border-radius: 999px;
  font-size: 13px; color: var(--text-2); transition: border-color .2s, color .2s; }
.ime .back-pill:hover { text-decoration: none; color: var(--text); border-color: var(--text-2); }
.ime .event { position: relative; }
.ime .event-topbar { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: -20px; }
.ime .event-topbar .back-pill { margin-bottom: 0; }
@media (max-width: 860px) { .ime .event-topbar { margin-bottom: 0; } }
@media (max-width: 600px) {
  /* phones: float over the top of the full-bleed cover, just under the site's menu bar */
  .ime .event-topbar { position: absolute; z-index: 3; top: 78px; left: 0; right: 0; }
  .ime .event-topbar .back-pill { background: rgba(0,0,0,.45); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-color: rgba(255,255,255,.22); color: #fff; }
}
.ime .host-link:hover { color: var(--text-2); }

/* ── Guest list, Luma-style: status pills with counts, grouped rows ── */
.ime .seg { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 0 0 14px; padding-bottom: 2px; }
.ime .seg::-webkit-scrollbar { display: none; }
.ime .seg-pill { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: transparent;
  color: var(--text-2); font: 500 13.5px Poppins, sans-serif; cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.ime .seg-pill span { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.ime .seg-pill:hover { border-color: var(--line-2); color: var(--text); }
.ime .seg-pill.on { background: var(--text); border-color: var(--text); color: #000; }
.ime .seg-pill.on span { color: rgba(0,0,0,.55); }
.ime .seg-pill.s-Pending:not(.on) span { color: var(--warn); }
.ime .seg-pill.s-Registered:not(.on) span { color: var(--ok); }

.ime .guest-group { display: grid; gap: 8px; }
.ime .guest-group + .guest-group { margin-top: 18px; }
.ime .guest-group-head { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding: 0 4px 2px; }
.ime .guest-group-head span { color: var(--text-2); margin-left: 6px; }

.ime .guest { grid-template-columns: 1fr auto; padding: 12px 14px; }
.ime .g-row { display: flex; align-items: center; gap: 12px; min-width: 0; }
.ime .g-row .who { min-width: 0; flex: 1; }
.ime .g-row .who b, .ime .g-row .meta { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ime .g-row .pill { flex: none; }
.ime .g-av { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 600;
  color: #fff; background: hsl(var(--h) 45% 32%); border: 1px solid hsl(var(--h) 50% 45% / .5); }
@media (max-width: 640px) {
  .ime .guest { grid-template-columns: 1fr; gap: 10px; }
  .ime .guest .btns { justify-content: flex-start; padding-left: 48px; }
  .ime .guest details { padding-left: 48px; }
}

/* capacity bar in the host header */
.ime .cap { display: block; width: 100%; margin: 0 0 14px; padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.ime .cap-top { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; margin-bottom: 8px; }
.ime .cap-top b { font-size: 18px; font-weight: 600; }
.ime .cap-bar { display: flex; height: 10px; border-radius: 99px; background: rgba(255,255,255,.08); overflow: hidden; }
.ime .cap-bar i { display: block; height: 100%; transition: width .5s cubic-bezier(.16,1,.3,1); }
.ime .cap-going { background: linear-gradient(90deg, var(--accent), #ff8a5c); }
.ime .cap-pending { background: repeating-linear-gradient(45deg, rgba(255,176,32,.55) 0 6px, rgba(255,176,32,.3) 6px 12px); }
@media (max-width: 640px) { .ime .cap-top { font-size: 13px; } .ime .cap-top b { font-size: 16px; } }
.ime button.stat { display: block; width: 100%; text-align: left; font: inherit; color: inherit; cursor: pointer; transition: border-color .2s, transform .2s; }
.ime button.stat:hover { border-color: var(--line-2); transform: translateY(-1px); }
.ime button.stat:active { transform: none; }
/* details show straight away under each guest */
.ime .g-detail { grid-column: 1 / -1; padding: 10px 0 0 48px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--text-2); display: grid; gap: 4px; }
.ime .g-detail p { margin: 0; white-space: pre-wrap; }
.ime .g-detail b { color: var(--muted); font-weight: 500; }
@media (max-width: 640px) {
  .ime .g-detail { padding-left: 0; }
  .ime .stats button.stat { width: auto; }
}

/* address map: dark-tinted Google map with Google/Apple buttons */
.ime .map { margin: 6px 0 12px; }
.ime .map-frame { display: block; width: 100%; height: 200px; border: 1px solid var(--line); border-radius: 14px;
  filter: invert(90%) hue-rotate(180deg) saturate(.6) brightness(.95); background: #111; }
.ime .map-btns { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }

/* reminder tab: compose on the left, live email preview on the right */
.ime .remind { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 18px; align-items: start; }
.ime .remind textarea { min-height: 90px; }
.ime .remind-preview iframe { display: block; width: 100%; height: 640px; border: 1px solid var(--line); border-radius: var(--radius); background: #000; }
@media (max-width: 860px) { .ime .remind { grid-template-columns: 1fr; } .ime .remind-preview iframe { height: 560px; } }
/* "Still coming?" on the guest pass */
.ime .attend { margin: 0 0 8px; }
.ime .attend .card-body { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.ime .attend b { font-size: 16px; font-weight: 600; }
.ime .attend-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.ime .attend.nudge { border-color: color-mix(in srgb, var(--accent) 60%, var(--line)); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 14%, transparent); }
/* automatic emails card in the Reminders tab */
.ime .auto-card { margin-bottom: 18px; }
.ime .auto-toggle { padding-top: 0; }
.ime .auto-row { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); flex-wrap: wrap; }
.ime .auto-row b { font-weight: 600; }
.ime .auto-when { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
/* who a reminder is going to */
.ime .recips { margin: 6px 0 4px; border: 1px solid var(--line); border-radius: 14px; max-height: 300px; overflow-y: auto; }
.ime .recips-head { position: sticky; top: 0; z-index: 1; padding: 10px 14px; font-size: 13px; color: var(--text-2); background: #0d0d0d; border-bottom: 1px solid var(--line); }
.ime .recip { display: flex; align-items: center; gap: 10px; padding: 8px 14px; }
.ime .recip + .recip { border-top: 1px solid var(--line); }
.ime .recip > div { flex: 1; min-width: 0; }
.ime .recip b { font-size: 14px; font-weight: 500; }
.ime .recip .g-av { width: 30px; height: 30px; font-size: 11px; }
.ime .recip.skip { opacity: .5; }
.ime .list-item .li-del { flex: none; align-self: center; color: var(--muted); }
.ime .list-item .li-del:hover { color: var(--bad); border-color: var(--bad); }
/* holiday version of the "Still coming?" card */
.ime .attend.xmas { background: linear-gradient(135deg, rgba(179,18,46,.35), rgba(13,43,29,.55)); border-color: rgba(232,182,76,.45); position: relative; overflow: hidden; }
.ime .attend.xmas.nudge { box-shadow: 0 0 0 4px rgba(232,182,76,.18), 0 20px 50px -20px rgba(214,46,46,.6); }
.ime .attend.xmas b { color: #fff; }
.ime .attend.xmas .btn:not(.ghost) { background: #d62e2e; box-shadow: 0 10px 26px -10px #d62e2e; }
.ime .attend-flakes { position: absolute; right: 14px; top: 6px; font-size: 13px; letter-spacing: 8px; color: #cfe8ff; opacity: .7; pointer-events: none; }

/* photo: picker on the RSVP form, and avatars everywhere */
.ime .photo-pick { display: flex !important; align-items: center; gap: 14px; cursor: pointer; text-transform: none; letter-spacing: 0; font-family: Poppins, sans-serif; font-size: 14px; color: var(--text-2); }
.ime .photo-prev { flex: none; width: 56px; height: 56px; border-radius: 50%; border: 1.5px dashed var(--line-2); display: grid; place-items: center; font-size: 22px; color: var(--muted); overflow: hidden; }
.ime .photo-prev img { width: 100%; height: 100%; object-fit: cover; }
.ime .photo-pick:hover .photo-prev { border-color: var(--accent); color: var(--accent); }
.ime .g-av { position: relative; overflow: hidden; }
.ime .g-av img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ime .g-av i { font-style: normal; }
.ime .me-hi { display: flex; align-items: center; gap: 12px; margin: 0 0 10px; }
.ime .me-photo { position: relative; cursor: pointer; display: block; }
.ime .me-av { width: 52px; height: 52px; font-size: 17px; }
.ime .me-photo-tag { position: absolute; left: 50%; bottom: -8px; transform: translateX(-50%); white-space: nowrap; font-size: 10px; padding: 2px 7px; border-radius: 99px; background: var(--accent); color: #fff; font-weight: 600; }
.ime .match-who { display: flex; align-items: center; gap: 12px; }
.ime .match-av { width: 44px; height: 44px; font-size: 15px; }

/* compact guest rows: one line each, tap to expand */
.ime .guests { gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.ime .guest-group { gap: 0; }
.ime .guest-group-head { padding: 12px 14px 6px; background: rgba(255,255,255,.02); }
.ime .guest-group + .guest-group { margin-top: 0; border-top: 1px solid var(--line); }
.ime .guest-row { padding: 9px 14px; cursor: pointer; transition: background .15s; }
.ime .guest-row + .guest-row { border-top: 1px solid var(--line); }
.ime .guest-row:hover { background: rgba(255,255,255,.035); }
.ime .guest-row .g-row { gap: 12px; }
.ime .guest-row .g-av { width: 32px; height: 32px; font-size: 12px; }
.ime .guest-row .who { flex: 0 1 260px; }
.ime .guest-row .who b { font-size: 14.5px; font-weight: 500; }
.ime .guest-row .meta { font-size: 12.5px; color: var(--muted); }
.ime .g-snip { flex: 1; min-width: 0; font-size: 13px; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ime .guest-row .btns { display: flex; gap: 6px; flex: none; }
.ime .guest-row .btns .btn { padding: 5px 11px; font-size: 12px; }
.ime .guest-row .g-detail { display: none; padding: 10px 0 4px 44px; border-top: 0; }
.ime .guest-row.open .g-detail { display: grid; }
.ime .guest-row.open { background: rgba(255,255,255,.035); }
.ime .guest-row.checked .pill { border-color: color-mix(in srgb, var(--ok) 50%, transparent); color: var(--ok); }
@media (max-width: 760px) {
  .ime .g-snip { display: none; }
  .ime .guest-row .g-row { flex-wrap: wrap; }
  .ime .guest-row .who { flex: 1 1 0; }
  .ime .guest-row .btns { width: 100%; padding-left: 44px; }
  .ime .guest-row .g-detail { padding-left: 0; }
}

/* ── Snow that actually shows (in front of the page background, behind the RSVP bar and sheet) ── */
.ime .snow { z-index: 3; }
.ime .snow i { opacity: calc(var(--o) * .8); }
@keyframes ime-fall { to { transform: translate3d(var(--drift), 1100px, 0); } }
@supports (height: 1lvh) { @keyframes ime-fall { to { transform: translate3d(var(--drift), 110lvh, 0); } } }

.ime .cover-box { position: relative; }

/* Phones/tablets: no frosted blur behind cards and buttons (it makes scrolling stutter on iPhone) */
@media (max-width: 860px) {
  .ime .card, .ime .event-topbar .back-pill, .ime #reg .card-head { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .ime .event-topbar .back-pill { background: rgba(0,0,0,.6); }
}
/* Snow never falls across the sign-up: the form sits above it with a solid background */
@media (min-width: 601px) {
  .ime #reg { position: relative; z-index: 4; }
  .ime.vibe-holiday #reg, .ime .vibe-holiday #reg, #ime-root.vibe-holiday #reg { background: #0d0f14; }
}
@media (max-width: 600px) {
  /* covers often carry their own title up top, so the two buttons sit on the cover's faded bottom edge */
  .ime .event-topbar { top: calc(min(100vw, 58svh) - 64px); }
  /* the cover runs right up to the top of the screen, no strip above it */
  .ime-shell:has(.event) .wrap { padding-top: 0; }
}
/* Smoother scrolling on phones: no live blur under the floating RSVP bar, and the snow gets its own layer */
@media (max-width: 600px) {
  .ime .cta-bar { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(18, 18, 18, 0.96); }
}
.ime .snow { contain: strict; transform: translateZ(0); }
.ime .snow i { will-change: transform; }
/* The cover sits above the falling snow; the two buttons stay on top of the cover */
.ime .cover-box { position: relative; z-index: 4; }
.ime .event-topbar { position: relative; z-index: 5; }
@media (max-width: 600px) { .ime .event-topbar { position: absolute; } }

/* ── Smooth scrolling everywhere ──
   Inside the website the page's own glow layer is never visible (the site's black sits on top), so skip it;
   no frosted blur behind cards or the form (it redraws on every scroll frame);
   the phone cover fades to black with a plain gradient instead of a mask. */
.ime-shell .backdrop { display: none; }
.ime .card, .ime #reg { backdrop-filter: none; -webkit-backdrop-filter: none; }
@media (max-width: 600px) {
  .ime .event .cover-box::after { content: ''; position: absolute; top: 0; bottom: 0; left: -16px; right: -16px; pointer-events: none;
    background: linear-gradient(to bottom, rgba(0,0,0,.35) 0%, transparent 22%, transparent 60%, #000 100%); }
}
/* host sign-in: confirmation that the email belongs to a host */
.ime .host-ok { display: inline-flex; align-items: center; gap: 6px; margin: 4px 0 14px; padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 500;
  color: var(--ok); background: color-mix(in srgb, var(--ok) 12%, transparent); border: 1px solid color-mix(in srgb, var(--ok) 35%, transparent); }
.ime .host-ok { display: flex; width: fit-content; }

/* countdown tiles */
.ime .telemetry { align-items: flex-end; gap: 12px 16px; margin: 4px 0 28px; font-family: inherit; font-size: 15px; letter-spacing: 0; text-transform: none; color: var(--text-2); }
.ime .cd-label { margin: 0 0 8px; font-size: 15px; color: var(--text-2); }
.ime .cd-units { display: flex; gap: 8px; }
.ime .cd-unit { display: flex; flex-direction: column; align-items: center; min-width: 68px; padding: 10px 8px 8px; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line); border-radius: 12px; }
.ime .cd-unit b { font-size: 28px; line-height: 1.1; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--text); }
.ime .cd-unit span { margin-top: 2px; font-size: 13px; color: var(--text-2); }
.ime .seat-pill { display: inline-flex; align-items: center; gap: 5px; padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: 15px; color: var(--text); white-space: nowrap; }
.ime .seat-pill b { font-weight: 600; color: var(--text); }
.ime .seat-pill.low, .ime .seat-pill.low b { color: var(--accent); }
@media (max-width: 600px) {
  .ime .cd, .ime .cd-units { width: 100%; }
  .ime .cd-unit { flex: 1; min-width: 0; }
}

/* compact RSVP form */
.ime .rsvp .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); margin: 0; }
.ime .rsvp .fs { padding: 10px 0 0; }
.ime .rsvp .fs + .fs { margin-top: 2px; }
.ime .rsvp .fs-h { margin: 0 0 8px; }
.ime .rsvp .field { margin-bottom: 10px; }
.ime .rsvp .field > label, .ime .rsvp .field > .label-row { margin-bottom: 2px; }
.ime .rsvp input[type=text], .ime .rsvp input[type=email], .ime .rsvp textarea { padding-block: 5px; font-size: 16px; }
.ime .rsvp textarea[rows="1"] { min-height: 36px; }
.ime .rsvp .row2 { margin: 0; }
.ime .rsvp .tiles { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.ime .rsvp .tile { flex: none; width: auto; min-height: 34px; padding: 5px 11px; gap: 6px; font-size: 13.5px; }
.ime .rsvp .tile .e { font-size: 14px; }
.ime .rsvp .tile .tick { display: none; }
.ime .rsvp .toggle.nl { padding: 2px 0; }
.ime .rsvp .next { margin-top: 2px; padding-block: 13px; }
@media (min-width: 601px) {
  .ime .rsvp #basics { grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
  .ime .rsvp #basics:not([style*="none"]) { display: grid; }
  .ime .rsvp #basics .row2 { display: contents; }
}

/* sign-up animation: rocket launch through a star warp */
.ime-launch .l-stage { overflow: visible; transform: none !important; }
.ime-launch .l-warp { position: absolute; left: 50%; top: 50%; width: 0; height: 0; }
.ime-launch .l-warp i { position: absolute; width: 2px; height: 26px; margin-left: -1px; border-radius: 2px; background: linear-gradient(transparent, #fff); opacity: 0; transform: rotate(var(--a)) translateY(-20px) scaleY(.2); animation: ime-l-warp var(--t) var(--d) ease-in infinite; }
.ime-launch .l-planet { position: fixed; left: 50%; top: 68vh; width: 260vmax; height: 260vmax; margin-left: -130vmax; border-radius: 50%; background: radial-gradient(circle at 50% 0, #27408f, #0b1026 12%); box-shadow: 0 -10px 60px #5f8cff; animation: ime-l-planet 2.8s cubic-bezier(.3,0,.5,1) forwards; }
.ime-launch .l-rocket { position: relative; width: 74px; overflow: visible; animation: ime-l-rocket 2.8s cubic-bezier(.5,0,.8,.6) forwards; filter: drop-shadow(0 0 14px rgba(255,255,255,.35)); }
.ime-launch .l-flame { fill: #ffb020; transform-origin: 30px 88px; animation: ime-l-flame .12s linear infinite alternate; }
@keyframes ime-l-warp { 0% { opacity: 0; transform: rotate(var(--a)) translateY(-20px) scaleY(.2); } 30% { opacity: 1; } 100% { opacity: 0; transform: rotate(var(--a)) translateY(-70vmax) scaleY(2.4); } }
@keyframes ime-l-planet { 0% { transform: translateY(0); } 100% { transform: translateY(70vh); } }
@keyframes ime-l-rocket { 0% { transform: translateY(45vh) scale(.9); } 55% { transform: translateY(0) scale(1); } 75% { transform: translateY(-4vh) scale(1); } 100% { transform: translateY(-120vh) scale(.8); } }
@keyframes ime-l-flame { from { transform: scaleY(.8); fill: #ffb020; } to { transform: scaleY(1.25); fill: #ff4c1a; } }

/* larger sponsor logos */
.ime .partners { gap: 10px; }
.ime .partner { height: 72px; padding: 10px 18px; gap: 12px; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2); }
.ime .partner img { height: 46px; max-width: 200px; }
.ime .partner .pname { font-size: 16px; font-weight: 600; }
.ime .partner.wide img { height: 34px; }
.ime .partner { height: 92px; padding: 12px 22px; gap: 14px; }
.ime .partner img { height: 62px; max-width: 260px; }
.ime .partner .pname { font-size: 19px; }
.ime .partner.wide img { height: 46px; }
.ime .rsvp .req { color: var(--accent); font-size: 16px; line-height: 1; }
@media (max-width: 600px) {
  .ime .partners { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .ime .partner { width: auto; height: 76px; padding: 8px 6px; flex-direction: column; justify-content: center; gap: 5px; }
  .ime .partner img { height: 32px; max-width: 100%; }
  .ime .partner.wide img { height: auto; max-height: 30px; width: 100%; }
  .ime .partner .pname { font-size: 12px; font-weight: 600; }
}

/* small rocket, then a full-screen confirmation */
.ime-rocket { position: fixed; inset: 0; z-index: 1100; display: grid; place-items: center; overflow: hidden; background: #000; cursor: pointer; }
.ime-rocket i { position: fixed; width: 2px; height: 2px; border-radius: 50%; background: #fff; opacity: 0; animation: ime-r-tw 1.6s ease-in-out both; }
.ime-rocket svg { width: 30px; overflow: visible; animation: ime-r-up 1.6s cubic-bezier(.45,0,.75,.5) both; }
.ime-rocket .r-flame { transform-origin: 30px 88px; animation: ime-l-flame .12s linear infinite alternate; }
.ime-rocket .r-trail { position: fixed; left: 50%; bottom: 0; width: 2px; height: 45vh; margin-left: -1px; background: linear-gradient(transparent, rgba(255,255,255,.35)); transform-origin: bottom; animation: ime-r-tr 1.6s ease-out both; }
.ime-done { position: fixed; inset: 0; z-index: 1090; display: grid; place-content: center; padding: 24px; text-align: center; background: #000; color: #fff; animation: ime-r-in .5s ease both; }
.ime-done .eyebrow { margin: 0 0 14px; }
.ime-done h2 { margin: 0; font-size: clamp(30px, 6vw, 52px); font-weight: 700; }
.ime-done button { position: absolute; top: 18px; right: 18px; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; background: none; color: #fff; font-size: 16px; cursor: pointer; }
@keyframes ime-r-up { 0% { transform: translateY(38vh); opacity: 0; } 15%, 80% { opacity: 1; } 100% { transform: translateY(-55vh); opacity: 0; } }
@keyframes ime-r-tr { 0% { transform: scaleY(0); opacity: 1; } 70% { transform: scaleY(1); opacity: .8; } 100% { transform: scaleY(1); opacity: 0; } }
@keyframes ime-r-tw { 0%, 100% { opacity: 0; } 50% { opacity: .7; } }
@keyframes ime-r-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (max-width: 880px) { .hide-phone { display: none !important; } }

/* Upcoming event: photos from past events */
.ime .past-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.ime .past-grid .recap-photo, .ime .past-grid .recap-photo:first-child { grid-column: auto; aspect-ratio: 1; border-radius: 8px; }

/* Guest list: long answers wrap instead of running off the row */
.ime .guest-row .g-detail { grid-template-columns: minmax(0, 1fr); }
.ime .guest-row .g-detail > * { min-width: 0; overflow-wrap: anywhere; }
.ime .guest-group { grid-template-columns: minmax(0, 1fr); }
.ime .guest-row .who { flex: 0 0 260px; }
.ime .guest-row .who .meta { white-space: normal; overflow: visible; }
.ime .guest-row .g-snip { white-space: normal; overflow: visible; overflow-wrap: anywhere; }
@media (max-width: 760px) {
  .ime .guest-row .who { flex: 1 1 0; }
  .ime .guest-row .g-snip { display: block; order: 5; flex: 1 1 100%; padding-left: 44px; }
}

/* guest list on the private page */
.ime .gl-opt { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.ime .gl-list { margin-top: 16px; border-top: 1px solid var(--line); }
.ime .gl-row { display: flex; flex-wrap: wrap; gap: 2px 10px; align-items: baseline; padding: 10px 0; border-bottom: 1px solid var(--line); }

.ime .referrals { margin-top: 20px; padding: 14px 18px; border: 1px solid var(--line); border-radius: var(--radius); }
.ime .referrals summary { cursor: pointer; font-weight: 600; }
.ime .referrals summary span { color: var(--muted); font-weight: 400; margin-left: 6px; }
.ime .referrals p { margin: 10px 0 0; overflow-wrap: anywhere; }

/* fewer lines in the RSVP form */
.ime .rsvp .fs { border: 0 !important; }
.ime .ref-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }

/* RSVP inputs: soft rounded fields instead of underlines */
.ime .rsvp .field input[type=text], .ime .rsvp .field input[type=email], .ime .rsvp .field input[type=url], .ime .rsvp .field select, .ime .rsvp .field textarea {
  width: 100%; box-sizing: border-box; min-height: 46px; padding: 12px 18px;
  background: rgba(255, 255, 255, 0.06); border: 1px solid transparent; border-radius: 999px; box-shadow: none;
  transition: background .15s, border-color .15s;
}
.ime .rsvp .field textarea { border-radius: 22px; }
.ime .rsvp .field input:focus, .ime .rsvp .field select:focus, .ime .rsvp .field textarea:focus {
  outline: 0; background: rgba(255, 255, 255, 0.09); border-color: var(--accent);
}
.ime .rsvp .field.err input, .ime .rsvp .field.err select, .ime .rsvp .field.err textarea { border-color: var(--bad); }
.ime .rsvp .field textarea { min-height: 76px; height: auto; }
.ime .rsvp .field input, .ime .rsvp .field textarea, .ime .rsvp .field select { font-size: 15px; }
.ime .rsvp .field label.fs-h { display: flex; align-items: flex-start; gap: 10px; }
.ime .rsvp .field label.fs-h > .n { flex: none; }
.ime .rsvp .field label.fs-h > span:last-child { padding-top: 2px; }

/* RSVP: even spacing and quieter toggles, no section badges */
.ime .rsvp .fs { padding: 0; margin: 0; }
.ime .rsvp .fs + .fs { margin-top: 0; }
.ime .rsvp .toggle.nl { padding: 6px 0; align-items: center; }
.ime .rsvp .toggle.nl b { font-weight: 500; font-size: 14px; }
.ime .rsvp .opt-pill { display: inline-block; margin-left: 4px; padding: 1px 8px; border: 1px solid var(--line); border-radius: 999px; font-size: 11px; font-weight: 400; color: var(--muted); vertical-align: 1px; white-space: nowrap; }
.ime .rsvp .ref-note { margin: -6px 0 12px 4px; }
