/* Shared-link pages rendered by landing/worker (meetup, profile, invite fallback, errors).
   Loaded last. `body.share` marks the preview pages; the error pages leave it off and keep the
   darker scrim from pages.css. Every other rule is keyed on a class only these pages emit. */

.app-container { padding-top: 104px; }
@media (min-width: 761px) { .app-container { padding-top: 124px; } }
.share .night-scrim { background: rgba(0, 0, 0, 0.5); }

/* ===== Store buttons ===== */
.profile-buttons {
  display: flex;
  gap: var(--spacing-md);
  justify-content: center;
  margin-bottom: var(--spacing-lg);
}
.store-buttons { display: flex; gap: var(--spacing-md); justify-content: center; margin-top: var(--spacing-lg); }
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: rgba(10, 16, 18, 0.98);
  border: 0.5px solid rgba(153, 246, 228, 0.35);
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 0 18px rgba(45, 212, 191, 0.22);
}
@media (hover: hover) {
  .store-btn:hover { transform: translateY(-3px); }
}
.store-btn:hover {
  box-shadow: 0 0 26px rgba(45, 212, 191, 0.32);
  text-decoration: none;
}
.store-btn .mdi { line-height: 1; font-size: 20px; color: #F7F9FA; }
.store-btn span:last-child { font-size: 16px; font-weight: 600; color: #F7F9FA; }
.hero-buttons-secondary-label {
  font-size: 12px;
  color: #c3cad2;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: var(--spacing-sm);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.65);
}
.invite-fallback .hero-buttons-secondary-label { margin-top: var(--spacing-lg); text-align: center; }
@media (max-width: 400px) {
  .profile-buttons { flex-direction: column; align-items: center; }
  .profile-buttons .store-btn { width: 180px; justify-content: center; }
}

/* ===== Desktop scan-to-join card ===== */
.qr-card {
  background: rgba(8, 14, 16, 0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  max-width: 360px;
  margin: 0 auto var(--spacing-lg);
  text-align: center;
  border: 1px solid rgba(45, 212, 191, 0.16);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
}
.qr-card-title { font-size: 16px; font-weight: 600; margin-bottom: var(--spacing-sm); }
.invite-fallback .qr-card-title { font-size: 18px; }
.qr-card-subtitle { font-size: 13px; color: var(--color-text-muted); margin-bottom: var(--spacing-md); line-height: 1.4; }
.qr-image {
  width: 220px;
  height: 220px;
  margin: 0 auto var(--spacing-md);
  background: #fff;
  padding: 8px;
  border-radius: var(--radius-md);
  display: block;
}
.qr-fallback-link {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--color-text-muted);
  word-break: break-all;
  margin-top: var(--spacing-sm);
}

/* ===== Category and interest chips: fully rounded teal pills, like the wall cards ===== */
.chip {
  border-radius: 999px;
  padding: 4px 11px;
  font-size: 12px;
  background: rgba(45, 212, 191, 0.12);
  border: 1px solid rgba(45, 212, 191, 0.3);
  color: var(--color-primary);
}
.profile-interests .chip { margin: 0; }

/* ===== Meetup ===== */
.host-crown-badge .mdi, .attendee-crown-badge .mdi { font-size: 9px; line-height: 1; color: #0b0f10; }
.hero {
  text-align: center;
  padding: var(--spacing-xl) var(--spacing-md) var(--spacing-lg);
}
.hero-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: var(--spacing-lg);
  line-height: 1.3;
}
.profile-card,
.error-card {
  background: rgba(8, 14, 16, 0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(45, 212, 191, 0.16);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  border-radius: var(--radius-lg);
  margin: 0 var(--spacing-md);
  overflow: hidden;
}
.profile-card-content { padding: var(--spacing-lg); }

/* ===== Profile ===== */
.profile-hero {
  text-align: center;
  padding: var(--spacing-xl) var(--spacing-md) var(--spacing-lg);
}
.profile-avatar {
  width: 110px;
  height: 110px;
  border-radius: 55px;
  object-fit: cover;
  margin-bottom: var(--spacing-md);
  border: 3px solid var(--color-primary);
}
/* A profile without an https photo: the person's initial in the photo's circle. */
.profile-avatar.is-letter {
  display: inline-grid;
  place-items: center;
  background: var(--color-bg-subtle);
  color: var(--color-text-primary);
  font-size: 44px;
  font-weight: 700;
}
.profile-name {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 4px;
}
.profile-username {
  font-size: 16px;
  color: var(--color-text-secondary);
  margin-bottom: var(--spacing-lg);
}
.profile-section { margin-bottom: var(--spacing-lg); }
.profile-section:last-child { margin-bottom: 0; }
.profile-section-label {
  font-size: 11px;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: var(--spacing-xs);
}
.profile-section-value {
  font-size: 15px;
  color: var(--color-text-primary);
  line-height: 1.5;
}
.profile-interests {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-xs);
  margin-top: var(--spacing-xs);
}

/* ===== Not-found and unavailable pages ===== */
.app-container.error-page {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: var(--spacing-md);
}
.error-card { width: 100%; max-width: 400px; margin: 0; }
.error-content { padding: var(--spacing-lg); text-align: center; }
.error-emoji { font-size: 64px; margin-bottom: var(--spacing-md); }
.error-heading { margin-bottom: var(--spacing-md); }
.error-message { margin-bottom: var(--spacing-lg); }
.error-id { font-size: 11px; margin-bottom: var(--spacing-lg); }
.error-buttons { display: flex; flex-wrap: wrap; gap: var(--spacing-sm); justify-content: center; }

/* ===== Invite page: guest views (worker/src/pages/guest*.js) ===== */

/* ===== The plan on the guest views (meetupParts.planFrame): the facts unboxed in the flyer's main column ===== */
.share .plan { display: flex; flex-direction: column; gap: 18px; }
.share .plan p { margin: 0; }
/* The cover photo bleeds to the card's edges and fades into it; a shimmer holds its place while it loads. */
.share .card-cover {
  position: relative;
  height: 190px;
  margin: -18px -20px 4px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.06) 33%, rgba(255, 255, 255, 0.12) 50%, rgba(255, 255, 255, 0.06) 67%);
  background-size: 300% 100%;
  animation: cover-sweep 1.1s linear infinite;
}
/* The skeleton's sweep (nightfeed.css `.sk`) drawn in the background, under the photo that covers it. */
@keyframes cover-sweep { from { background-position: 100% 0; } to { background-position: 0 0; } }
.share .settle-head .card-cover { margin: -20px -20px 8px; align-self: stretch; }
.share .card-cover-img { display: block; width: 100%; height: 100%; object-fit: cover; animation: cover-settle 1.6s cubic-bezier(0.22, 1, 0.36, 1) both; }
@keyframes cover-settle { from { opacity: 0; transform: scale(1.08); } to { opacity: 1; transform: none; } }
.share .card-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 14, 16, 0) 40%, rgba(8, 14, 16, 0.55) 75%, rgba(8, 14, 16, 0.95)); pointer-events: none; }
.share .plan-desc { font-size: 15.5px; line-height: 1.7; color: #c9d1d8; white-space: pre-line; overflow-wrap: anywhere; }
.share .plan-row { display: flex; align-items: center; gap: 10px; min-width: 0; font-size: 15px; color: var(--color-text-secondary); }
.share .plan-row p { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.share .plan-row-icon { display: grid; place-items: center; flex-shrink: 0; width: 22px; font-size: 15px; color: var(--color-primary); }
/* The place: its name, the address on the next line, wrapping as long as it needs, then directions. */
.share .plan-where { align-items: flex-start; }
.share .plan-where .plan-row-icon { margin-top: 1px; }
.share .plan-where-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; line-height: 1.4; }
.share .plan-where-name { font-weight: 600; color: var(--color-text-primary); overflow-wrap: anywhere; }
.share .plan-where-sub { font-size: 13px; color: var(--color-text-muted); overflow-wrap: anywhere; }
.share .plan-where .maps-links { margin-top: 2px; }
/* Who is in: the faces on their own row, the line and the spots under them */
.share .plan-people { flex-direction: column; align-items: flex-start; gap: 10px; }
.share .plan-people-text { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.share .plan-spots { font-size: 13px; color: var(--color-text-muted); }
.share .plan-people .avatar-group { margin: 0; padding: 0; flex-shrink: 0; }
.share .plan-people .attendee-avatar-container { margin-left: -12px; }
.share .plan-people .attendee-avatar-container:first-child { margin-left: 0; }
.share .plan-people .attendee-avatar,
.share .plan-people .more-avatar { display: block; width: 48px; height: 48px; overflow: hidden; border-width: 3px; border-color: #050a0b; font-size: 14px; margin-left: -12px; }
.share .plan-people .attendee-avatar { margin-left: 0; color: transparent; }
.share .plan-people .more-avatar { display: flex; }
.share .plan-people .attendee-crown-badge { width: 18px; height: 18px; top: auto; bottom: -2px; right: -2px; }
.share .plan-people .attendee-crown-badge .mdi { font-size: 10px; }
.share .who-in { font-size: 15px; font-weight: 600; color: var(--color-text-primary); }
.share .plan-row p.who-in { white-space: normal; }
.share .plan .dp-by { margin-top: 0; gap: 12px; }
.share .plan .dp-by .avatar { width: 40px; height: 40px; border: 2px solid #0B1517; font-size: 15px; }
.share .plan .dp-by .avatar + .avatar { margin-left: -12px; }
.share .plan .dp-by-t { font-size: 15px; line-height: 21px; color: #d5dbe0; }
.share .guest-form { padding: 20px; }
.share .guest-form .form-title { margin-bottom: 12px; }
.share .guest-form .text-input { margin-bottom: 12px; padding: 11px 14px; }
.share .page-notice,
.share .repeat-banner {
  margin: 0 var(--spacing-md) 10px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(45, 212, 191, 0.08);
  border: 1px solid rgba(45, 212, 191, 0.22);
  font-size: 13px;
  color: var(--color-text-secondary);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.share .repeat-banner a { font-weight: 600; }
.share .guest-card {
  background: rgba(8, 14, 16, 0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(45, 212, 191, 0.16);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  border-radius: var(--radius-lg);
  margin: 0 var(--spacing-md) var(--spacing-md);
  padding: var(--spacing-lg);
}
.share .form-title { font-family: var(--font-display); font-size: 19px; font-weight: 700; color: var(--color-text-primary); margin-bottom: var(--spacing-md); }
.share .field-label { display: block; font-size: 12px; color: var(--color-text-muted); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: var(--spacing-xs); }
.share .text-input {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border-default);
  background: rgba(0, 0, 0, 0.35);
  color: var(--color-text-primary);
  font: inherit;
  font-size: 16px; /* 16px keeps iOS from zooming into the field */
  margin-bottom: var(--spacing-md);
}
.share .text-input:focus { outline: none; border-color: var(--color-primary); }
.share .field-error,
.share .form-error { font-size: 13px; color: var(--color-error); margin: calc(-1 * var(--spacing-sm)) 0 var(--spacing-md); }
.share .form-error { margin: 0 0 var(--spacing-md); }
.share .vote-options { border: 0; padding: 0; margin: 0 0 var(--spacing-lg); min-width: 0; }
.share .vote-group { margin-top: var(--spacing-md); }
.share .vote-group-head { display: flex; flex-direction: column; gap: 2px; margin-bottom: var(--spacing-md); }
.share .vote-group-label { font-family: var(--font-display); font-size: 16px; font-weight: 700; color: var(--color-text-primary); }
.share .vote-hint { font-size: 13px; color: var(--color-text-muted); }

/* ===== Time slots: the app's hour list (tap cycles Mark, Free, Ideal) ===== */
.share .slot-day + .slot-day { margin-top: var(--spacing-md); }
.share .slot-day-head { display: flex; align-items: baseline; gap: 8px; margin: 0 2px 8px; font-size: 13px; color: var(--color-text-muted); }
.share .slot-day-head span { font-size: 13px; font-weight: 700; color: var(--color-text-secondary); text-transform: uppercase; letter-spacing: 0.6px; }
.share .slot {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 12px var(--spacing-md);
  margin-bottom: 10px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.share .slot-radio { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.share .slot:has(.is-works:checked) { background: rgba(45, 212, 191, 0.07); border-color: rgba(45, 212, 191, 0.6); }
.share .slot:has(.is-ideal:checked) { background: rgba(251, 191, 36, 0.08); border-color: rgba(251, 191, 36, 0.6); }
.share .slot-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.share .slot-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.share .slot-time { font-family: var(--font-display); font-size: 17px; font-weight: 700; color: var(--color-text-primary); }
.share .slot-kicker { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: var(--color-text-muted); }
.share .slot-kicker .ico { font-size: 13px; }
.share .slot-pill {
  display: none;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}
/* The pill's tap target covers the whole row, as the app's row is one tap. */
.share .slot-pill::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius-md); }
.share .slot-pill .ico { font-size: 14px; }
.share .is-skip:checked ~ .slot-top .pill-skip { display: inline-flex; border: 1px solid rgba(45, 212, 191, 0.3); color: var(--color-primary); }
.share .is-works:checked ~ .slot-top .pill-works { display: inline-flex; background: var(--color-primary); color: #06201C; }
.share .is-ideal:checked ~ .slot-top .pill-ideal { display: inline-flex; background: var(--color-warning); color: #06201C; }
.share .is-ideal:checked ~ .slot-top .pill-ideal .ico { fill: currentColor; animation: mark-star 0.35s cubic-bezier(0.34, 1.56, 0.64, 1); }
@keyframes mark-star { from { transform: scale(0.3) rotate(-40deg); } to { transform: none; } }
.share .slot-radio:focus-visible ~ .slot-top .slot-pill { outline: 2px solid var(--color-primary); outline-offset: 2px; }
.share .slot-meter { display: flex; align-items: center; gap: 10px; }
.share .slot-track { flex: 1; height: 6px; border-radius: 999px; background: rgba(255, 255, 255, 0.1); overflow: hidden; }
.share .slot-track i { display: block; height: 100%; border-radius: 999px; background: var(--color-primary); }
.share .slot-count { font-size: 12px; font-weight: 600; color: var(--color-text-secondary); font-variant-numeric: tabular-nums; }

/* ===== Place candidates ===== */
.share .place-option { display: block; margin-bottom: 8px; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.share .place-option input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.share .place-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}
.share .place-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: rgba(45, 212, 191, 0.1);
  border: 1px solid rgba(45, 212, 191, 0.18);
  color: var(--color-primary);
  font-size: 18px;
}
.share .place-text { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.share .place-name { font-size: 15px; font-weight: 600; color: var(--color-text-primary); }
.share .place-landmark { font-size: 12px; color: var(--color-text-muted); }
.share .place-check {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  color: transparent;
  font-size: 15px;
  transition: all 0.2s ease;
}
.share .place-option input:checked + .place-card { border-color: rgba(45, 212, 191, 0.65); background: rgba(45, 212, 191, 0.07); box-shadow: 0 0 16px rgba(45, 212, 191, 0.15); }
.share .place-option input:checked + .place-card .place-check { background: var(--color-primary); border-color: var(--color-primary); color: #06201C; }
.share .place-option input:focus-visible + .place-card { outline: 2px solid var(--color-primary); outline-offset: 2px; }
.share .rsvp-buttons { display: flex; flex-direction: column; gap: var(--spacing-sm); }
.share .rsvp-buttons form { width: 100%; }
.share .rsvp-btn { font-size: 16px; padding: 14px var(--spacing-lg); }
.share .rsvp-btn.is-current { border-color: var(--color-primary); background: rgba(45, 212, 191, 0.12); }

/* ===== The answer: a choice, then the picker it opens, then Send ===== */
.share .rsvp-choices { display: flex; flex-direction: column; gap: 8px; }
.share .rsvp-choice { position: relative; display: block; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.share .rsvp-choice input { position: absolute; left: 50%; bottom: 0; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.share .rsvp-face {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(45, 212, 191, 0.3);
  background: rgba(255, 255, 255, 0.02);
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text-primary);
}
.share .rsvp-mark {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  color: transparent;
  font-size: 15px;
  transition: background 0.3s ease, border-color 0.3s ease, color 0.2s ease, transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.share .rsvp-choice input:checked + .rsvp-face { border-color: var(--rsvp-tone); background: color-mix(in srgb, var(--rsvp-tone) 12%, transparent); box-shadow: 0 0 22px color-mix(in srgb, var(--rsvp-tone) 25%, transparent); }
.share .rsvp-choice input:checked + .rsvp-face .rsvp-mark { background: var(--rsvp-tone); border-color: var(--rsvp-tone); color: #06201C; transform: rotate(360deg); }
.share .rsvp-choice input:focus-visible + .rsvp-face { outline: 2px solid var(--color-primary); outline-offset: 2px; }
.share .rsvp-choice.is-in { --rsvp-tone: var(--color-primary); }
.share .rsvp-choice.is-maybe { --rsvp-tone: var(--color-warning); }
.share .rsvp-choice.is-cant { --rsvp-tone: #9ca3af; }

.share .vote-reveal { margin-top: var(--spacing-md); }
.share .send-btn {
  width: 100%;
  margin-top: var(--spacing-md);
  padding: 15px var(--spacing-lg);
  font-size: 16px;
  border-color: rgba(153, 246, 228, 0.6);
  background: rgba(45, 212, 191, 0.12);
  box-shadow: 0 0 26px rgba(45, 212, 191, 0.25);
}
/* A button that turns into the spinner (nightfeed.css `.spin`) while its request is on its way (Send
   my answer, Yes and No, I'd do this again, I paid, Undo, Change my answer): the label slides up,
   the spinner and its word slide in, a light sweeps across. */
.share .busy-btn { position: relative; overflow: hidden; }
.share .busy-label,
.share .busy-state { display: inline-flex; align-items: center; gap: 10px; transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease; }
.share .busy-state { position: absolute; inset: 0; justify-content: center; opacity: 0; transform: translateY(110%); }
.share .busy-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 20%, rgba(153, 246, 228, 0.28) 50%, transparent 80%);
  transform: translateX(-100%);
  opacity: 0;
}
.share .guest-form.is-sending .busy-btn,
.share .busy-btn.is-busy { pointer-events: none; transform: none; background: rgba(45, 212, 191, 0.12); }
.share .guest-form.is-sending .busy-btn::after,
.share .busy-btn.is-busy::after { opacity: 1; animation: busy-sweep 1.2s cubic-bezier(0.4, 0, 0.2, 1) infinite; }
@keyframes busy-sweep { to { transform: translateX(100%); } }
.share .guest-form.is-sending .busy-label,
.share .busy-btn.is-busy .busy-label { opacity: 0; transform: translateY(-110%); }
.share .guest-form.is-sending .busy-state,
.share .busy-btn.is-busy .busy-state { opacity: 1; transform: none; }
.share .change-answer .busy-label .mdi { display: inline-block; transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1); }
.share .change-answer.is-busy .busy-label .mdi { transform: rotate(-300deg); }
.share .answered .answered-votes,
.share .answered .cal-card,
.share .answered .reactions { transition: opacity 0.3s ease, filter 0.3s ease; }
.share .answered.is-leaving .answered-votes,
.share .answered.is-leaving .cal-card,
.share .answered.is-leaving .reactions { opacity: 0.4; filter: blur(1.5px) saturate(0.6); pointer-events: none; }
.share .guest-form.is-sending .rsvp-choices,
.share .guest-form.is-sending .vote-reveal,
.share .guest-form.is-sending .text-input { opacity: 0.55; pointer-events: none; transition: opacity 0.3s ease; }

/* Where :has() works, the picker and Send wait for the answer; elsewhere both simply show. */
@supports selector(:has(*)) {
  .share .vote-reveal {
    display: grid;
    grid-template-rows: 0fr;
    margin-top: 0;
    opacity: 0;
    transition: grid-template-rows 0.6s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.4s ease, margin-top 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .share .vote-reveal-inner { min-height: 0; overflow: hidden; }
  .share .guest-form:has(.rsvp-choice.is-in input:checked, .rsvp-choice.is-maybe input:checked) .vote-reveal {
    grid-template-rows: 1fr;
    margin-top: var(--spacing-lg);
    opacity: 1;
  }
  .share .guest-form:has(.rsvp-choice.is-in input:checked, .rsvp-choice.is-maybe input:checked) :is(.vote-group-head, .slot-day-head, .slot, .place-option) {
    animation: vote-rise 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: calc(0.12s + var(--i, 0) * 0.045s);
  }
  .share .guest-form:has(.rsvp-choice.is-in input:checked, .rsvp-choice.is-maybe input:checked) .slot::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background: linear-gradient(100deg, transparent 30%, rgba(153, 246, 228, 0.12) 50%, transparent 70%);
    background-size: 250% 100%;
    animation: vote-shimmer 1.1s ease-out both;
    animation-delay: calc(0.2s + var(--i, 0) * 0.045s);
  }
  .share .send-btn { display: none; }
  .share .guest-form:has(.rsvp-choice input:checked) .send-btn { display: inline-flex; animation: vote-rise 0.45s cubic-bezier(0.22, 1, 0.36, 1) both; }
}
@keyframes vote-rise { from { opacity: 0; transform: translateY(14px) scale(0.985); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes vote-shimmer { from { background-position: 120% 0; } to { background-position: -120% 0; } }
.share .install-first .form-title { margin-bottom: var(--spacing-xs); }
.share .install-first .store-buttons { margin: var(--spacing-md) 0; }
.share .continue-web { display: block; text-align: center; font-size: 15px; margin-top: var(--spacing-sm); }
.share .get-app {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  margin: 0 var(--spacing-md) var(--spacing-md);
  padding: 20px;
  border-radius: var(--radius-lg);
  background: rgba(8, 14, 16, 0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(45, 212, 191, 0.16);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  text-align: center;
}
.share .get-app > * { margin: 0; }
/* Called from the vault: the card lights up, a glow ripples out, and this phone's store button pops. */
.share .get-app.is-calling { animation: get-app-glow 1.8s ease-out; }
@keyframes get-app-glow {
  0% { border-color: rgba(45, 212, 191, 0.16); box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45), 0 0 0 0 rgba(45, 212, 191, 0.6); }
  25% { border-color: rgba(153, 246, 228, 0.9); box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45), 0 0 0 6px rgba(45, 212, 191, 0.35), 0 0 60px rgba(45, 212, 191, 0.5); }
  100% { border-color: rgba(45, 212, 191, 0.16); box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45), 0 0 0 18px rgba(45, 212, 191, 0), 0 0 0 rgba(45, 212, 191, 0); }
}
.share .get-app.is-calling .store-btn.is-device,
.share .get-app.is-calling .open-app-link { animation: store-call 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) 0.35s both; }
@keyframes store-call {
  40% { transform: scale(1.08); border-color: rgba(153, 246, 228, 0.9); box-shadow: 0 0 34px rgba(45, 212, 191, 0.65); }
  100% { transform: none; }
}
/* Inside the card the scan code is a section, not a second card. */
.share .get-app .qr-card { width: 100%; max-width: none; margin: 0; padding: 0; background: none; border: 0; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.share .get-app .qr-image { width: 200px; height: 200px; }
.share .get-app .store-buttons { width: 100%; margin: 0; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.06); }
.share .get-app .store-btn { flex: 1; justify-content: center; padding: 12px 16px; }
.share .get-app .store-btn span:last-child { font-size: 15px; white-space: nowrap; }
.share .get-app .open-app-link { margin: 0; }
.share .open-app-link { width: fit-content; margin: 0 auto; padding: 12px 28px; font-size: 15px; }
.share .install-prompt { padding-top: var(--spacing-md); text-align: center; }
.share .install-copy { font-size: 14px; color: var(--color-text-secondary); margin-bottom: var(--spacing-md); }
.share .install-prompt .store-buttons { flex-wrap: wrap; }
.share .ico { width: 1em; height: 1em; display: block; }
.share .app-vault { padding: var(--spacing-lg); }
/* A light runs around the border: a spinning conic gradient behind an inset panel, clipped round. */
.share .vault { position: relative; display: block; padding: 1.5px; border-radius: 20px; overflow: hidden; background: rgba(45, 212, 191, 0.12); text-decoration: none; }
.share .vault::before {
  content: "";
  position: absolute;
  inset: -60%;
  background: conic-gradient(from 0deg, transparent 0 62%, rgba(45, 212, 191, 0.9) 75%, rgba(74, 222, 128, 0.95) 80%, transparent 88%);
  animation: vault-spin 5s linear infinite;
}
@keyframes vault-spin { to { transform: rotate(360deg); } }
.share .vault-inner {
  position: relative;
  display: grid;
  place-items: center;
  height: 150px;
  border-radius: 18.5px;
  background: radial-gradient(80% 90% at 50% 50%, rgba(45, 212, 191, 0.14), transparent 70%), #081013;
  overflow: hidden;
}
.share .vault-mock { position: absolute; inset: 18px 20px; display: flex; flex-direction: column; justify-content: space-between; filter: blur(5px); opacity: 0.65; }
.share .vm-row { display: flex; align-items: center; gap: 6px; }
.share .vm-row:nth-child(even) { padding-left: 24%; }
.share .vm-dot { width: 18px; height: 18px; border-radius: 50%; background: rgba(129, 140, 248, 0.8); }
.share .vm-dot:nth-child(2) { background: rgba(251, 191, 36, 0.8); }
.share .vm-dot:nth-child(3) { background: rgba(74, 222, 128, 0.8); }
.share .vm-bar { flex: 1; height: 10px; border-radius: 999px; background: linear-gradient(90deg, var(--color-primary), rgba(45, 212, 191, 0.2)); }
.share .vm-row:nth-child(2) .vm-bar { flex: 0 0 45%; }
.share .vm-chip { width: 54px; height: 16px; border-radius: 999px; background: rgba(247, 249, 250, 0.35); }
.share .vault-lock {
  position: relative;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid rgba(45, 212, 191, 0.5);
  background: rgba(8, 16, 19, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: var(--color-primary);
  font-size: 22px;
  box-shadow: 0 0 24px rgba(45, 212, 191, 0.25);
}
.share .vault-lock .ico { transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1); }
.share .vault:hover .vault-lock .ico { transform: translateY(-2px) rotate(-8deg); }
.share .vault-hint { position: absolute; bottom: 14px; left: 0; right: 0; text-align: center; font-size: 12px; font-weight: 600; letter-spacing: 0.02em; color: var(--color-primary); text-shadow: 0 1px 8px rgba(0, 0, 0, 0.8); }
.share .vault-inner .vault-lock { margin-bottom: 14px; }
.share .vault-shut,
.share .vault-open { display: grid; place-items: center; grid-area: 1 / 1; transition: opacity 0.2s ease, transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1); }
.share .vault-lock { grid-template-areas: "icon"; }
.share .vault-open { opacity: 0; transform: scale(0.6); }
.share .vault.is-unlocked .vault-shut { opacity: 0; transform: scale(0.6) rotate(-20deg); }
.share .vault.is-unlocked .vault-open { opacity: 1; transform: none; }
/* The unlock: the lock pops and throws a ring, and the blurred content behind it clears a little. */
.share .vault.is-unlocked .vault-lock { animation: vault-pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), vault-ring 0.9s ease-out; border-color: var(--color-primary); color: #99F6E4; }
.share .vault-mock { transition: filter 0.5s ease, opacity 0.5s ease; }
.share .vault.is-unlocked .vault-mock { filter: blur(2.5px); opacity: 0.85; }
@keyframes vault-pop { 40% { transform: scale(1.18); } 100% { transform: none; } }
@keyframes vault-ring { from { box-shadow: 0 0 0 0 rgba(45, 212, 191, 0.7), 0 0 30px rgba(45, 212, 191, 0.6); } to { box-shadow: 0 0 0 26px rgba(45, 212, 191, 0), 0 0 30px rgba(45, 212, 191, 0); } }
.share .vault-title { margin: var(--spacing-lg) 0 12px; font-family: var(--font-display); font-size: 20px; font-weight: 700; color: var(--color-text-primary); }
.share .vault-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.share .vault-list li { margin: 0; display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--color-text-secondary); animation: chat-msg-in 0.4s cubic-bezier(0.22, 1, 0.36, 1) calc(var(--i, 0) * 0.06s) both; }
.share .vault-icon { display: grid; place-items: center; flex-shrink: 0; width: 28px; height: 28px; border-radius: 9px; background: rgba(45, 212, 191, 0.1); color: var(--color-primary); font-size: 15px; }
.share .teaser { border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.share .teaser:last-child { border-bottom: 0; }
.share .teaser summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  cursor: pointer;
  list-style: none;
  font-size: 15px;
  -webkit-tap-highlight-color: transparent;
}
.share .teaser summary::-webkit-details-marker { display: none; }
.share .teaser-label { flex: 1; min-width: 0; }
.share .teaser-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: rgba(45, 212, 191, 0.1);
  border: 1px solid rgba(45, 212, 191, 0.18);
  color: var(--color-primary);
  font-size: 18px;
  transition: transform 0.2s ease, background 0.2s ease;
}
.share .teaser summary:hover .teaser-icon,
.share .teaser[open] .teaser-icon { background: rgba(45, 212, 191, 0.18); transform: scale(1.05); }
.share .teaser[open] { padding-bottom: var(--spacing-md); }
.share .teaser[open] .install-prompt { animation: teaser-reveal 0.25s ease-out; }
@keyframes teaser-reveal { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.share .app-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid var(--color-border-accent);
  font-size: 11px;
  font-weight: 600;
  color: var(--color-primary);
}
.share .app-tag .mdi { font-size: 12px; }

/* ===== Chat bubble: floats bottom right, opens a panel above it ===== */
.share:has(.chat-fab) .app-container { padding-bottom: 88px; }
.share .chat-fab { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 60; }
/* The app's floating glass disc: dark teal frost, a hairline rim, a teal halo past the rim and a
   glowing glyph (BottomNavFab, CTA_BUNDLES.primary). */
.share .chat-fab-button {
  position: relative;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  list-style: none;
  cursor: pointer;
  background: linear-gradient(160deg, rgba(13, 60, 54, 0.62), rgba(8, 14, 12, 0.72));
  border: 1px solid rgba(204, 251, 241, 0.16);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  color: #CCFBF1;
  font-size: 28px;
  box-shadow: 0 0 22px rgba(45, 212, 191, 0.45), 0 10px 24px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
  animation: chat-fab-in 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
  -webkit-tap-highlight-color: transparent;
}
.share .chat-fab-glyph { display: grid; place-items: center; filter: drop-shadow(0 0 6px rgba(45, 212, 191, 0.65)); }
.share .chat-fab-button::-webkit-details-marker { display: none; }
.share .chat-fab-button:hover { box-shadow: 0 0 30px rgba(45, 212, 191, 0.55), 0 0 8px rgba(94, 234, 212, 0.6), 0 10px 24px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.08); }
/* The app's jelly press: wider and shorter for a beat. */
.share .chat-fab-button:active { transform: scale(1.04, 0.92); transition-duration: 0.12s; }
/* The breathing ring from the app's emphasized FAB. */
.share .chat-fab-button::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  border: 2px solid #CCFBF1;
  opacity: 0;
  animation: chat-fab-ring 2.6s cubic-bezier(0, 0, 0.2, 1) 1s infinite;
}
.share .chat-fab[open] .chat-fab-button::before { animation: none; }
.share .chat-fab[open] .chat-fab-button { transform: scale(0.94); }
/* Who sent it: a pill to the left of the bubble, sliding out after the bubble lands. */
.share .chat-fab-peek {
  position: absolute;
  right: calc(100% + 10px);
  top: 50%;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: calc(100vw - 110px);
  padding: 6px 12px 6px 6px;
  border-radius: 999px;
  background: linear-gradient(rgba(153, 246, 228, 0.07), rgba(153, 246, 228, 0.07)), rgba(8, 14, 12, 0.82);
  border: 1px solid rgba(204, 251, 241, 0.14);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.5);
  font-size: 13px;
  color: var(--color-text-secondary);
  white-space: nowrap;
  transform: translateY(-50%);
  animation: chat-peek-in 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.3s both;
  transition: opacity 0.2s ease, transform 0.25s ease;
}
.share .chat-fab-peek span { overflow: hidden; text-overflow: ellipsis; }
.share .chat-fab-peek b { color: var(--color-text-primary); font-weight: 600; }
.share .chat-fab-peek-avatar { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; flex-shrink: 0; background: var(--color-bg-subtle); }
.share .chat-fab-peek .chat-fab-peek-avatar.is-letter { display: grid; place-items: center; overflow: visible; font-size: 11px; font-weight: 700; color: var(--color-text-primary); }
.share .chat-fab[open] .chat-fab-peek { opacity: 0; transform: translate(8px, -50%); pointer-events: none; }
@keyframes chat-peek-in { from { opacity: 0; transform: translate(14px, -50%) scale(0.9); } to { opacity: 1; transform: translateY(-50%); } }
@keyframes chat-fab-in { from { opacity: 0; transform: scale(0.3) translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes chat-fab-ring { 0% { transform: scale(1); opacity: 0.55; } 80%, 100% { transform: scale(1.45); opacity: 0; } }
.share .chat-fab-sheet {
  position: absolute;
  right: 0;
  bottom: 72px;
  width: min(340px, calc(100vw - 32px));
  max-height: 70vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 16px;
  border-radius: 20px;
  border: 1px solid rgba(45, 212, 191, 0.35);
  background: radial-gradient(120% 90% at 100% 100%, rgba(45, 212, 191, 0.14), transparent 60%), rgba(8, 14, 16, 0.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6), 0 0 30px rgba(45, 212, 191, 0.15);
  transform-origin: bottom right;
  animation: chat-sheet-in 0.35s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.share .chat-fab-sheet .install-prompt { padding-top: 0; }
@keyframes chat-sheet-in { from { opacity: 0; transform: translateY(12px) scale(0.92); } to { opacity: 1; transform: none; } }
.share .chat-head { display: flex; align-items: flex-start; gap: 12px; }
.share .chat-close {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  margin: -4px -4px 0 0;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: var(--color-text-secondary);
  font-size: 16px;
  cursor: pointer;
}
.share .chat-close:hover { background: rgba(255, 255, 255, 0.1); color: var(--color-text-primary); }
.share .chat-badge {
  position: absolute;
  top: -3px;
  right: -5px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  background: #EF4444;
  border: 2px solid #050908;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  line-height: 16px;
  text-align: center;
  animation: chat-badge-pop 2.4s ease-in-out infinite;
}
@keyframes chat-badge-pop { 0%, 80%, 100% { transform: scale(1); } 88% { transform: scale(1.2); } }
.share .chat-titles { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.share .chat-title { font-family: var(--font-display); font-size: 17px; font-weight: 700; color: var(--color-text-primary); }
.share .chat-unread { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--color-secondary); }
.share .chat-unread .teaser-label { flex: none; }
.share .chat-from { font-size: 13px; color: var(--color-text-secondary); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.share .live-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--color-secondary); flex-shrink: 0; }
.share .live-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--color-secondary);
  animation: live-ping 1.6s cubic-bezier(0, 0, 0.2, 1) infinite;
}
@keyframes live-ping { 75%, 100% { transform: scale(2.6); opacity: 0; } }
.share .chat-thread { position: relative; display: flex; flex-direction: column; gap: 10px; }
.share .chat-group { display: flex; align-items: flex-end; gap: 8px; animation: chat-msg-in 0.4s cubic-bezier(0.22, 1, 0.36, 1) both; }
.share .chat-group:nth-child(2) { animation-delay: 0.12s; }
.share .chat-group:nth-child(3) { animation-delay: 0.24s; }
@keyframes chat-msg-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.share .chat-group-body { display: flex; flex-direction: column; gap: 3px; flex: 1; min-width: 0; }
.share .chat-preview-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--color-bg-subtle);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.share .chat-bubble {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  min-width: 0;
  padding: 10px 14px 12px;
  border-radius: 16px 16px 16px 4px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.07);
  overflow: hidden;
}
.share .chat-bubble + .chat-bubble { border-radius: 4px 16px 16px 16px; }
.share .chat-bubble-name { font-size: 12px; font-weight: 600; color: var(--color-primary); }
.share .chat-bubble-lines { display: flex; flex-direction: column; gap: 7px; padding: 2px 0; filter: blur(3px); opacity: 0.8; }
.share .chat-bubble-lines i { display: block; height: 9px; border-radius: 5px; background: rgba(247, 249, 250, 0.45); }
.share .chat-bubble-lines i:first-child { width: 92%; }
.share .chat-bubble-lines i:last-child { width: 58%; }
.share .chat-bubble + .chat-bubble .chat-bubble-lines i:last-child { display: none; }
.share .chat-bubble + .chat-bubble .chat-bubble-lines i:first-child { width: 64%; }
.share .chat-group:nth-child(2) .chat-bubble-lines i:first-child { width: 78%; }
.share .chat-group:nth-child(2) .chat-bubble-lines i:last-child { width: 44%; }
.share .chat-bubble-lock {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(8, 14, 16, 0.85);
  border: 1px solid var(--color-border-accent);
  font-size: 11px;
  font-weight: 600;
  color: var(--color-primary);
}
.share .chat-bubble-lock .ico { font-size: 11px; }

/* ===== Answered card ===== */
.share .answered-head { display: flex; align-items: center; gap: 12px; margin-bottom: var(--spacing-md); }
.share .answered-head .form-title { margin-bottom: 0; }
.share .answered-mark {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 20px;
  font-weight: 700;
  animation: answered-pop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes answered-pop { from { transform: scale(0.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.share .answered-mark .mdi { font-size: 22px; line-height: 1; }
.share .tone-in .answered-mark { background: var(--color-secondary); color: #052e16; box-shadow: 0 0 18px rgba(74, 222, 128, 0.45); }
.share .tone-wait .answered-mark,
.share .tone-maybe .answered-mark { background: var(--color-warning); color: #3b2a05; box-shadow: 0 0 18px rgba(251, 191, 36, 0.35); }
.share .tone-cant .answered-mark { background: rgba(255, 255, 255, 0.06); color: var(--color-text-secondary); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12); }
.share .answered-foot { border-top: 1px solid rgba(255, 255, 255, 0.06); padding-top: var(--spacing-md); }
.share .answered-foot .change-answer { width: 100%; padding: 12px var(--spacing-lg); }
/* Directions as quiet links under a place: "Google Maps · Waze". */
.share .maps-links { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-top: 4px; font-size: 13px; color: var(--color-text-muted); }
.share .maps-links .mdi { font-size: 15px; color: var(--color-primary); }
.share .maps-link { font-weight: 600; color: var(--color-primary); text-decoration: none; }
.share .maps-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.share .reactions { font-size: 14px; color: var(--color-text-secondary); margin-bottom: var(--spacing-md); }
.share .answered-votes { margin-bottom: var(--spacing-md); }
.share .vote + .vote { margin-top: var(--spacing-lg); }
.share .vote-title { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-text-muted); margin-bottom: var(--spacing-sm); }
.share .vote-lead { font-weight: 600; color: var(--color-primary); margin-bottom: var(--spacing-sm); }
.share .vote-bar { display: block; height: 6px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.share .vote-bar i {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--color-primary-container), var(--color-primary));
  transform-origin: left;
  animation: vote-grow 0.9s cubic-bezier(0.22, 1, 0.36, 1) calc(0.15s + var(--i, 0) * 0.08s) both;
}
@keyframes vote-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.share .vote-leader {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border-accent);
  background: radial-gradient(120% 140% at 0% 0%, rgba(45, 212, 191, 0.16), transparent 60%), rgba(255, 255, 255, 0.03);
  box-shadow: 0 0 28px rgba(45, 212, 191, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow: hidden;
  animation: vote-rise 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.share .vote-leader::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.07) 50%, transparent 65%);
  transform: translateX(-100%);
  animation: vote-sheen 3.2s ease-in-out 1s infinite;
  pointer-events: none;
}
@keyframes vote-rise { from { opacity: 0; transform: translateY(8px) scale(0.98); } to { opacity: 1; transform: none; } }
@keyframes vote-sheen { 0% { transform: translateX(-100%); } 40%, 100% { transform: translateX(100%); } }
.share .vote-leader-top { display: flex; align-items: center; justify-content: space-between; gap: var(--spacing-sm); }
.share .vote-kicker { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--color-primary); }
.share .vote-total { font-size: 13px; font-weight: 600; color: var(--color-text-secondary); font-variant-numeric: tabular-nums; }
.share .vote-leader-label { margin: 0; font-family: var(--font-display); font-size: 22px; font-weight: 700; line-height: 1.2; color: var(--color-text-primary); }
.share .vote-leader .vote-bar { height: 8px; }
.share .vote-leader .vote-bar i { background: linear-gradient(90deg, var(--color-primary), var(--color-secondary)); box-shadow: 0 0 12px rgba(45, 212, 191, 0.6); }
.share .vote-yours { align-self: flex-start; display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px; background: rgba(45, 212, 191, 0.12); color: var(--color-primary); font-size: 12px; font-weight: 600; }
.share .vote-yours.is-ideal { background: rgba(251, 191, 36, 0.14); color: var(--color-warning); }
.share .vote-yours.is-ideal .ico, .share .vote-mark.is-ideal .ico { fill: currentColor; }

.share .vote-rows { list-style: none; padding: 0; margin: var(--spacing-md) 0 0; display: flex; flex-direction: column; gap: 14px; }
.share .vote-row { margin: 0; display: flex; flex-direction: column; gap: 6px; }
.share .vote-row-head { display: flex; align-items: center; justify-content: space-between; gap: var(--spacing-sm); font-size: 14px; }
.share .vote-row-label { display: inline-flex; align-items: center; gap: 6px; min-width: 0; color: var(--color-text-primary); }
.share .vote-row-count { font-weight: 700; font-variant-numeric: tabular-nums; color: var(--color-text-secondary); }
.share .vote-row.is-mine .vote-row-count { color: var(--color-primary); }
.share .vote-mark { color: var(--color-primary); font-size: 14px; display: inline-flex; }
.share .vote-mark.is-ideal { color: var(--color-warning); }

.share .vote-quiet { margin-top: var(--spacing-md); }
.share .vote-quiet-title { font-size: 12px; font-weight: 600; color: var(--color-text-muted); margin-bottom: 8px; }
.share .vote-chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.share .vote-chip { margin: 0; padding: 5px 11px; border-radius: 999px; border: 1px solid var(--color-border-subtle); background: var(--color-bg-elevated); font-size: 13px; color: var(--color-text-secondary); }
.share .vote-chip.is-more { border-style: dashed; color: var(--color-text-muted); }
.share .heat-scroll { overflow-x: auto; margin: 0 -10px; padding: 8px 10px; scrollbar-width: none; }
.share .heat-scroll::-webkit-scrollbar { display: none; }
.share .heat { display: grid; grid-template-columns: auto repeat(var(--cols), minmax(52px, 1fr)); gap: 6px; align-items: center; }
.share .heat-day { display: flex; flex-direction: column; align-items: center; line-height: 1.2; padding-bottom: 2px; }
.share .heat-day b { font-size: 13px; font-weight: 700; color: var(--color-text-primary); }
.share .heat-day small { font-size: 11px; color: var(--color-text-muted); }
.share .heat-row { padding-right: 4px; font-size: 12px; font-weight: 600; color: var(--color-text-secondary); white-space: nowrap; }
.share .heat-cell {
  position: relative;
  display: grid;
  place-items: center;
  height: 44px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-variant-numeric: tabular-nums;
  animation: heat-in 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) calc(0.1s + var(--i, 0) * 0.04s) both;
}
.share .heat-cell.is-filled { background: rgba(45, 212, 191, var(--a)); border-color: rgba(45, 212, 191, 0.25); }
.share .heat-cell b { font-size: 15px; font-weight: 700; color: #CCFBF1; }
.share .heat-cell.is-bright b { color: #04201C; }
.share .heat-cell.is-front { border: 1.5px solid var(--color-primary); animation: heat-in 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) calc(0.1s + var(--i, 0) * 0.04s) both, heat-glow 2.4s ease-in-out 1s infinite; }
/* An outline, not the border, so it survives the leader's border and reads on any shade of teal. */
.share .heat-cell.is-mine { outline: 2px solid rgba(247, 249, 250, 0.9); outline-offset: 2px; }
.share .heat-cell.is-none { background: none; border: 0; animation: none; }
.share .heat-cell.is-ended { background: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0 4px, transparent 4px 8px); }
.share .heat-badge {
  position: absolute;
  top: -7px;
  right: -7px;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--color-text-primary);
  color: #04201C;
  font-size: 11px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}
.share .heat-badge .ico { stroke-width: 3; }
.share .heat-badge.is-ideal { background: var(--color-warning); color: #3A2A00; }
.share .heat-badge.is-ideal .ico { fill: currentColor; stroke-width: 2; }
@keyframes heat-in { from { opacity: 0; transform: scale(0.6); } to { opacity: 1; transform: none; } }
@keyframes heat-glow { 0%, 100% { box-shadow: 0 0 0 rgba(45, 212, 191, 0); } 50% { box-shadow: 0 0 18px rgba(45, 212, 191, 0.55); } }
.share .heat-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 12px; font-size: 12px; color: var(--color-text-muted); }
.share .heat-scale { display: inline-flex; align-items: center; gap: 3px; }
.share .heat-scale small { font-size: 11px; margin: 0 3px; }
.share .heat-scale i { width: 14px; height: 10px; border-radius: 3px; background: rgba(45, 212, 191, 0.15); }
.share .heat-scale i:nth-of-type(2) { background: rgba(45, 212, 191, 0.38); }
.share .heat-scale i:nth-of-type(3) { background: rgba(45, 212, 191, 0.6); }
.share .heat-scale i:nth-of-type(4) { background: rgba(45, 212, 191, 0.84); }
.share .heat-key { display: inline-flex; align-items: center; gap: 5px; }
.share .heat-key-mine { display: grid; place-items: center; width: 14px; height: 14px; border-radius: 50%; background: var(--color-text-primary); color: #04201C; font-size: 9px; font-style: normal; }
.share .heat-key-mine .ico { stroke-width: 3; }
.share .heat-key.is-ideal { color: var(--color-warning); }
.share .heat-key.is-ideal .ico { fill: currentColor; }
.share .vote-closes { display: flex; align-items: center; gap: 6px; margin-top: var(--spacing-md); font-size: 13px; color: var(--color-text-muted); }
/* "Add to calendar" as a calendar entry: a date leaf beside the event, then one row per calendar. */
/* "Add to calendar" as a calendar entry: a date leaf beside the event, then one row per calendar,
   all in the store buttons' colours: dark glass, a thin teal rim, a soft glow, white glyphs. */
.share .cal-card { margin-bottom: var(--spacing-md); border-radius: var(--radius-lg); border: 0.5px solid rgba(153, 246, 228, 0.35); background: rgba(10, 16, 18, 0.98); box-shadow: 0 0 18px rgba(45, 212, 191, 0.22); overflow: hidden; }
.share .cal-event { display: flex; align-items: center; gap: 14px; padding: 14px; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.share .cal-leaf { display: flex; flex-direction: column; align-items: center; flex-shrink: 0; width: 58px; padding: 6px 0 7px; border-radius: 12px; background: rgba(255, 255, 255, 0.04); border: 0.5px solid rgba(153, 246, 228, 0.35); }
.share .cal-leaf-month { font-size: 11px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-primary); }
.share .cal-leaf-day { font-family: var(--font-display); font-size: 24px; font-weight: 700; line-height: 1.15; color: #F7F9FA; }
.share .cal-leaf-weekday { font-size: 11px; font-weight: 600; color: var(--color-text-muted); }
.share .cal-info { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.share .cal-title { font-size: 15px; font-weight: 700; color: var(--color-text-primary); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.share .cal-when,
.share .cal-where { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--color-text-secondary); min-width: 0; }
.share .cal-where { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.share .cal-when .ico,
.share .cal-where .ico { flex-shrink: 0; color: var(--color-primary); }
.share .cal-actions { display: flex; flex-direction: column; }
.share .cal-add { display: flex; align-items: center; gap: 12px; padding: 12px 14px; color: #F7F9FA; text-decoration: none; font-size: 15px; font-weight: 600; -webkit-tap-highlight-color: transparent; transition: background 0.2s ease; }
.share .cal-add + .cal-add { border-top: 1px solid rgba(255, 255, 255, 0.06); }
.share .cal-add:hover { background: rgba(255, 255, 255, 0.03); text-decoration: none; }
.share .cal-add:active { background: rgba(255, 255, 255, 0.06); }
.share .cal-add-logo { display: grid; place-items: center; flex-shrink: 0; width: 32px; height: 32px; border-radius: 9px; background: rgba(255, 255, 255, 0.04); border: 0.5px solid rgba(153, 246, 228, 0.25); font-size: 18px; color: #F7F9FA; }
.share .cal-add-logo .ico { width: 17px; height: 17px; }
.share .cal-add-label { flex: 1; min-width: 0; }
.share .cal-add-go { color: var(--color-text-muted); font-size: 16px; transition: transform 0.2s ease, color 0.2s ease; }
.share .cal-add:hover .cal-add-go { transform: translateX(3px); color: var(--color-primary); }
.share .change-answer,
.share .up-for-another { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 15px; }
.share .up-for-another { color: var(--color-text-secondary); }
.share .confetti { position: fixed; inset: 0; pointer-events: none; overflow: hidden; z-index: 100; }
.share .confetti i {
  position: absolute;
  top: -12px;
  width: 8px;
  height: 14px;
  border-radius: 2px;
  animation: confetti-fall 2.6s ease-in forwards;
}
@keyframes confetti-fall {
  to { transform: translateY(105vh) rotate(540deg); opacity: 0.2; }
}
/* Carry code (components.carryCard) */
.share .carry { width: 100%; margin-top: 0; padding: 16px; border-radius: var(--radius-md); background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.06); }
.share .carry-ios { font-size: 14px; color: var(--color-text-secondary); margin: var(--spacing-md) 0 0; }
.share .carry .carry-ios { margin: 0 0 var(--spacing-md); }
.share .carry-label { font-size: 12px; color: var(--color-text-muted); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: var(--spacing-xs); }
.share .carry-code {
  display: inline-block;
  padding: 8px 18px;
  border-radius: var(--radius-md);
  border: 1px dashed var(--color-border-accent);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--color-text-primary);
  user-select: all;
  -webkit-user-select: all;
  margin-bottom: var(--spacing-sm);
}
.share .carry-hint { font-size: 13px; color: var(--color-text-muted); max-width: 360px; margin: 0 auto; }

/* A guest's bill (pages/guestBill.js) */
.share .bill-view { margin-bottom: var(--spacing-md); }
.share .bill-headline { font-family: var(--font-display); font-size: 19px; font-weight: 700; color: var(--color-text-primary); margin-bottom: var(--spacing-md); }
.share .bill-line { font-size: 15px; color: var(--color-text-secondary); margin-bottom: var(--spacing-sm); }
.share .pay-to-list { list-style: none; padding: 0; margin: 0 0 var(--spacing-md); display: flex; flex-direction: column; gap: 12px; }
/* One person to pay: who, how much, their QR in a glowing frame, how to pay, and the guest's claim. */
.share .pay-to {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border-radius: 20px;
  border: 0.5px solid rgba(153, 246, 228, 0.25);
  background: radial-gradient(120% 80% at 100% 0%, rgba(45, 212, 191, 0.10), transparent 55%), rgba(10, 16, 18, 0.9);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}
.share .pay-to-head { display: flex; align-items: center; gap: 12px; align-self: stretch; }
.share .pay-to-who { display: flex; flex-direction: column; flex: 1; min-width: 0; line-height: 1.25; }
.share .pay-to-label { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-text-muted); }
.share .pay-to-name { font-size: 16px; font-weight: 700; color: var(--color-text-primary); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.share .pay-to-amount { flex-shrink: 0; font-family: var(--font-display); font-size: 24px; font-weight: 800; letter-spacing: -0.02em; background: linear-gradient(90deg, #F7F9FA, #99F6E4); -webkit-background-clip: text; background-clip: text; color: transparent; }
.share .pay-qr-frame { position: relative; display: block; max-width: 100%; padding: 10px; border-radius: 22px; background: #FFFFFF; box-shadow: 0 0 0 1px rgba(153, 246, 228, 0.35), 0 0 32px rgba(45, 212, 191, 0.28); }
.share .pay-qr { display: block; width: 220px; height: 220px; max-width: 100%; object-fit: contain; border-radius: 14px; background: #FFFFFF; cursor: zoom-in; }
.share .pay-qr-zoom { position: absolute; right: 16px; bottom: 16px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: rgba(8, 14, 16, 0.8); color: #fff; font-size: 14px; pointer-events: none; }
/* The QR full screen: white card on a dark blur, scaling up from the tap. */
.share .qr-lightbox { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 24px; background: rgba(2, 6, 8, 0.82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); opacity: 0; transition: opacity 0.25s ease; }
.share .qr-lightbox[hidden] { display: none; }
.share .qr-lightbox.is-open { opacity: 1; }
.share .qr-lightbox-card { display: flex; flex-direction: column; align-items: center; gap: 12px; width: min(92vw, 420px); padding: 18px; border-radius: 24px; background: #FFFFFF; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6); transform: scale(0.85); transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1); }
.share .qr-lightbox.is-open .qr-lightbox-card { transform: none; }
.share .qr-lightbox-img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; }
.share .qr-lightbox-name { margin: 0; font-size: 16px; font-weight: 700; color: #0B1416; }
.share .qr-lightbox-close { position: absolute; top: calc(16px + env(safe-area-inset-top)); right: 16px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.2); background: rgba(255, 255, 255, 0.1); color: #fff; font-size: 20px; cursor: pointer; }
.share .pay-to-actions { display: flex; flex-direction: column; gap: 8px; align-self: stretch; }
.share .pay-action { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 12px var(--spacing-lg); font-size: 15px; }
.share .pay-action .mdi,
.share .pay-action .ico { font-size: 17px; color: var(--color-primary); }
.share .pay-to-waiting { display: flex; align-items: center; gap: 8px; margin: 0; align-self: stretch; font-size: 14px; color: var(--color-text-muted); }
.share .pay-to-waiting .ico { flex-shrink: 0; color: var(--color-warning); }

.share .pay-claim { display: flex; flex-direction: column; gap: 10px; align-self: stretch; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, 0.06); }
/* A claim's progress: two steps joined by a line, in teal; a turned-down claim ends in a muted red. */
.share .pay-track { display: flex; align-items: flex-end; gap: 12px; padding: 14px; border-radius: 16px; background: rgba(255, 255, 255, 0.03); border: 0.5px solid rgba(153, 246, 228, 0.18); }
.share .pay-steps { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; flex: 1; min-width: 0; }
.share .pay-step { display: flex; align-items: center; gap: 12px; min-width: 0; margin: 0; }
/* The line between the steps: a light runs along it while the claim waits. */
.share .pay-step-line { width: 2px; height: 16px; margin: 3px 0 3px 12px; border-radius: 2px; background: linear-gradient(180deg, var(--color-primary), rgba(45, 212, 191, 0.2)); background-size: 100% 200%; animation: pay-flow 1.6s linear infinite; }
.share .pay-track.is-rejected .pay-step-line { background: linear-gradient(180deg, var(--color-primary), rgba(239, 68, 68, 0.5)); animation: none; }
@keyframes pay-flow { from { background-position: 0 100%; } to { background-position: 0 -100%; } }
.share .pay-step-dot { position: relative; display: grid; place-items: center; flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; font-size: 13px; }
.share .pay-step-dot .ico { stroke-width: 3; }
.share .pay-step.is-done .pay-step-dot { background: var(--color-primary); color: #04201C; box-shadow: 0 0 14px rgba(45, 212, 191, 0.45); }
.share .pay-step.is-now .pay-step-dot { border: 2px solid var(--color-primary); background: rgba(45, 212, 191, 0.08); }
.share .pay-step.is-now .pay-step-dot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--color-primary); animation: pay-now 1.6s ease-in-out infinite; }
.share .pay-step.is-now .pay-step-dot::after { content: ""; position: absolute; inset: -2px; border-radius: 50%; border: 2px solid rgba(45, 212, 191, 0.5); animation: pay-ring 1.8s ease-out infinite; }
@keyframes pay-now { 50% { transform: scale(0.6); opacity: 0.6; } }
@keyframes pay-ring { from { transform: scale(1); opacity: 0.8; } to { transform: scale(1.6); opacity: 0; } }
.share .pay-step.is-failed .pay-step-dot { background: rgba(239, 68, 68, 0.14); border: 1.5px solid rgba(239, 68, 68, 0.55); color: #FCA5A5; }
.share .pay-step-text { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 5px; min-width: 0; line-height: 1.3; font-size: 14px; color: var(--color-text-secondary); }
.share .pay-step-text b { font-weight: 700; color: var(--color-text-primary); overflow-wrap: anywhere; }
.share .pay-step.is-done .pay-step-text span { color: var(--color-primary); font-weight: 600; }
.share .pay-step.is-failed .pay-step-text span { color: #FCA5A5; }
.share .pay-undo-form { flex-shrink: 0; margin: 0; }
.share .pay-undo { width: auto; padding: 8px 18px; font-size: 14px; }
.share .pay-undo .spin { width: 14px; height: 14px; }
.share .pay-form { display: flex; flex-direction: column; gap: 10px; margin: 0; }
.share .pay-proof { position: relative; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 16px; border: 1px dashed rgba(153, 246, 228, 0.3); color: var(--color-text-secondary); font-size: 14px; cursor: pointer; }
.share .pay-proof input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.share .pay-proof-icon { display: grid; place-items: center; flex-shrink: 0; width: 30px; height: 30px; border-radius: 10px; background: rgba(45, 212, 191, 0.1); color: var(--color-primary); font-size: 15px; }
.share .pay-proof:hover { border-color: var(--color-border-accent); }
.share .pay-form.has-proof .pay-proof { border-style: solid; border-color: var(--color-primary); background: rgba(45, 212, 191, 0.08); color: var(--color-text-primary); }
.share .pay-btn { display: flex; align-items: center; justify-content: center; width: 100%; padding: 13px var(--spacing-lg); font-size: 15px; }
.share .pay-btn .busy-label .ico { font-size: 16px; }
.share .bill-decided { list-style: none; padding: 0; margin: 0; font-size: 14px; color: var(--color-text-secondary); }
.share .bill-decided li { padding: 6px 0; border-top: 1px solid var(--color-border-subtle); }

/* The settle-up page (pages/settle.js) */
.share .settle-head { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 20px; background: radial-gradient(120% 120% at 0% 0%, rgba(45, 212, 191, 0.14), transparent 55%), rgba(8, 14, 16, 0.78); }
.share .settle-kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-primary); }
.share .settle-kicker-icon { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; background: rgba(45, 212, 191, 0.12); border: 1px solid rgba(45, 212, 191, 0.25); font-size: 15px; }
.share .settle-title { margin: 4px 0 0; font-family: var(--font-display); font-size: 23px; font-weight: 800; line-height: 1.2; letter-spacing: -0.3px; color: var(--color-text-primary); overflow-wrap: anywhere; }
.share .settle-sub { margin: 0; font-size: 14px; color: var(--color-text-secondary); }
.share .settle { padding: 20px; }
.share .settle .form-title { margin-bottom: 4px; }
.share .settle-hint { font-size: 14px; color: var(--color-text-secondary); margin-bottom: var(--spacing-md); }

/* Names as tiles: a coloured initial, the name, a check once picked, a spinner while it loads. */
.share .settle-names { list-style: none; padding: 0; margin: 0 0 var(--spacing-md); display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 8px; }
.share .settle-names li { margin: 0; animation: chat-msg-in 0.4s cubic-bezier(0.22, 1, 0.36, 1) calc(var(--i, 0) * 0.04s) both; }
.share .settle-name {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px 8px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: var(--color-text-primary);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}
.share .settle-name:hover { border-color: var(--color-border-accent); }
.share .settle-name.is-current { border-color: var(--color-primary); background: rgba(45, 212, 191, 0.1); box-shadow: 0 0 18px rgba(45, 212, 191, 0.18); }
.share .settle-name-label { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.share .settle-check { position: absolute; left: 28px; bottom: 4px; display: grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; border: 2px solid #0b1214; background: var(--color-primary); color: #04201C; font-size: 9px; opacity: 0; transform: scale(0.4); transition: opacity 0.2s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1); }
.share .settle-check .ico { stroke-width: 3; }
.share .settle-name.is-current .settle-check { opacity: 1; transform: none; }
.share .settle-name.is-picking .settle-check { opacity: 0; }
.share .name-avatar {
  position: relative;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, hsl(var(--h) 65% 55%), hsl(calc(var(--h) + 40) 70% 40%));
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}
.share .settle-name .spin { position: absolute; inset: -4px; width: auto; height: auto; opacity: 0; transition: opacity 0.2s ease; }
.share .settle-name.is-picking .spin { opacity: 1; }

/* The picked guest's bill, and the skeleton that stands in for it while the page loads. */
.share .settle-bill-slot { scroll-margin-top: 16px; }
.share .settle-bill,
.share .settle-skeleton { border-top: 1px solid rgba(255, 255, 255, 0.06); padding-top: var(--spacing-md); }
.share .settle-bill { animation: vote-rise 0.45s cubic-bezier(0.22, 1, 0.36, 1) both; }
.share .settle-bill-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.share .settle-bill-name { font-size: 15px; font-weight: 700; color: var(--color-text-primary); }
.share .settle .bill-headline { font-size: 24px; background: linear-gradient(90deg, #F7F9FA, #99F6E4); -webkit-background-clip: text; background-clip: text; color: transparent; }
.share .settle-skeleton { display: none; flex-direction: column; gap: 10px; }
.share .settle.is-loading .settle-bill { display: none; }
.share .settle.is-loading .settle-skeleton { display: flex; }
.share .settle-skeleton .settle-bill-head { margin-bottom: 2px; }
.share .sk-avatar { width: 32px; height: 32px; border-radius: 50%; }
.share .sk-name { width: 90px; height: 15px; border-radius: 7px; }
.share .sk-amount { width: 60%; height: 26px; }
.share .sk-row { height: 64px; border-radius: var(--radius-md); }

/* The bill on any page: each person to pay as a card with the amount large. */

/* ===== posterBlock (worker/src/pages/happening.js): the poster's images and its date leaf, for the
   happening page and Discover's poster slot; the price and age badges ===== */
.share .poster-blur {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(28px) brightness(0.55);
  transform: scale(1.2);
}
.share .poster-image {
  position: relative;
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.share .poster-month { font-family: var(--font-display); font-size: 16px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--color-primary); }
.share .poster-day { font-family: var(--font-display); font-size: 76px; font-weight: 800; line-height: 1; color: var(--color-text-primary); }
.share .poster-weekday { font-size: 14px; letter-spacing: 1px; text-transform: uppercase; color: var(--color-text-secondary); margin-top: var(--spacing-xs); }
.share .badge {
  border-radius: var(--radius-full);
  padding: 3px 10px;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid var(--color-border-accent);
  color: var(--color-primary);
}
.share .badge-age { border-color: rgba(251, 191, 36, 0.4); color: var(--color-warning); }

/* ===== Flyer (worker/src/pages/flyer.js): the frame of every meetup and happening page =====
   Partiful's event-page pattern, in the site's own look. On a phone one column: the top row (Back,
   a notice), the tags and a big centered title, the art with the page's main action under it, then
   the main column, nothing boxed: the facts, the description, the guest list, the chat, the view's
   own part. From 900px two columns: the top row, the title (left-aligned) and the main column on
   the left; the art and the action on the right, sticky. No footer and no pinned bar. The facts'
   rows, pills and host line are nightfeed.css's shared `.dp-*` parts. */
/* The page's text sits right on the card wall, as Discover's does, so the wall is dimmed further than behind the other pages' cards */
.share:has(.fl) .night-scrim { background: rgba(0, 0, 0, 0.88); }
/* The frame sets its own width and gutters */
.share .app-container:has(> .fl) { max-width: none; padding-left: 0; padding-right: 0; }
.share .fl { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; max-width: 560px; margin: 0 auto; padding: 0 var(--spacing-md) 56px; }
.share .fl { position: relative; z-index: 0; }
/* Nothing on the page is boxed, so a dark band behind the column keeps the card wall to the edges */
.share .fl::before { content: ''; position: absolute; z-index: -1; inset: -160px -24px 0; background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.82) 7%, rgba(0, 0, 0, 0.82) 93%, transparent); pointer-events: none; }
.share .fl > * { min-width: 0; }
.share .fl-top { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.share .fl-top > * { margin: 0; }
.share .fl-top .page-notice,
.share .fl-top .repeat-banner { max-width: 100%; padding: 8px 14px; border-radius: 14px; background: linear-gradient(rgba(45, 212, 191, 0.1), rgba(45, 212, 191, 0.1)), rgba(8, 14, 16, 0.85); text-align: left; white-space: normal; }
.share .sharer-line { display: inline-flex; align-items: center; padding: 5px 12px; border-radius: var(--radius-full); background: rgba(45, 212, 191, 0.12); border: 1px solid rgba(45, 212, 191, 0.35); font-size: 14px; font-weight: 600; color: #5EEAD4; }
/* Back: a small ghost pill on its own line, so the tags and title start where they always do */
.share.ev .ev-back { display: inline-flex; align-items: center; gap: 4px; height: 32px; margin-bottom: 2px; padding: 0 14px 0 9px; border-radius: var(--radius-full); border: 1px solid rgba(153, 246, 228, 0.25); background: rgba(8, 14, 16, 0.6); color: #d5dbe0; font-size: 13px; font-weight: 600; line-height: 1; text-decoration: none; }
.share.ev .ev-back .ico { width: 16px; height: 16px; color: #5EEAD4; transition: transform 0.2s ease; }
.share.ev .ev-back:hover { border-color: rgba(45, 212, 191, 0.6); background: rgba(45, 212, 191, 0.12); color: var(--color-text-primary); text-decoration: none; }
.share.ev .ev-back:hover .ico { transform: translateX(-2px); }

/* The head: the tags over a big title, centered on a phone */
.share .fl-head { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.share .fl-head > * { margin: 0; }
.share .fl-tags { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; max-width: 100%; }
.share .fl-tags .pill { padding: 3px 10px; font-size: 12px; }
/* A long category ellipsizes on its own line instead of widening the page */
.share .fl-tags .pill--cat { display: block; min-width: 0; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.share .fl-tags .happening-badges { display: contents; }
.share .fl-tags .badge { display: inline-flex; line-height: 16px; background: rgba(8, 14, 16, 0.72); }
.share .fl-title { font-family: var(--font-display); font-size: clamp(34px, 10vw, 46px); font-weight: 800; line-height: 1.05; letter-spacing: -0.03em; color: var(--color-text-primary); overflow-wrap: anywhere; text-wrap: balance; text-shadow: 0 4px 30px rgba(0, 0, 0, 0.6); }
.share .fl-stage { font-size: 16px; font-weight: 600; line-height: 1.4; color: var(--color-primary); }

/* The side: the art full width, square for a meetup, the poster's own shape for a happening, and
   the main action under it */
.share .fl-side { display: flex; flex-direction: column; align-items: stretch; gap: 14px; }
.share .fl-cover { position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 20px; border: 1px solid rgba(153, 246, 228, 0.16); background: radial-gradient(120% 110% at 22% 12%, rgba(45, 212, 191, 0.4), rgba(45, 212, 191, 0.08) 55%, rgba(129, 140, 248, 0.2) 100%), #0A1517; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5); }
.share .fl-emoji { font-size: 128px; line-height: 1; filter: drop-shadow(0 14px 32px rgba(0, 0, 0, 0.5)); }
.share .fl-cover.has-img .fl-emoji { opacity: 0.35; }
.share .fl-cover-img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; animation: cover-settle 1.6s cubic-bezier(0.22, 1, 0.36, 1) both; }
.share .happening-poster { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 16px; overflow: hidden; border-radius: 20px; border: 1px solid rgba(153, 246, 228, 0.16); background: var(--color-bg-card); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5); }
.share .happening-poster .poster-image { max-height: 70vh; border-radius: 10px; box-shadow: 0 16px 36px rgba(0, 0, 0, 0.55); }
.share .happening-poster.is-fallback { aspect-ratio: 1 / 1; background: linear-gradient(160deg, rgba(45, 212, 191, 0.3), rgba(129, 140, 248, 0.24) 55%, rgba(8, 14, 16, 0.92)), #0A1517; border-color: var(--color-border-accent); }
.share .happening-poster.is-fallback .poster-day { font-size: 112px; }
.share .fl-act { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; }
.share .fl-act form { display: flex; margin: 0; }

/* The main column: its parts on the page, parted by space alone */
.share .fl-main { display: flex; flex-direction: column; gap: 28px; }
.share .fl-main > * { margin: 0; }
.share .fl-main > .ad-slot { margin: 0; }
.share.ev .ev-org { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(153, 246, 228, 0.25); background: rgba(45, 212, 191, 0.12); color: #5EEAD4; }
.share.ev .ev-org .ico { width: 18px; height: 18px; }

/* The facts: when big, the calendar or ticket pills, the host line, where and the seats */
.share .fl-facts { display: flex; flex-direction: column; gap: 18px; }
.share .fl-facts .dp-rows { margin-top: 0; gap: 18px; }
.share .fl-facts .dp-rows:first-child .dp-l1 { font-family: var(--font-display); font-size: 22px; font-weight: 700; line-height: 1.25; }
.share .fl-facts .dp-ic.is-off { border-color: rgba(255, 255, 255, 0.12); color: var(--color-text-secondary); }
.share .fl-facts .dp-rt .pips { margin-top: 8px; }
.share .fl-facts .dp-acts { margin-top: 0; }
.share .fl-facts .dp-facts { margin-top: 0; padding-top: 16px; }
.share .fl-facts .dp-by { margin-top: 0; gap: 12px; }
.share .fl-facts .dp-by .avatar { width: 40px; height: 40px; border: 2px solid #0B1517; font-size: 15px; }
.share .fl-facts .dp-by .avatar + .avatar { margin-left: -12px; }
.share .fl-facts .dp-by-t { font-size: 15px; line-height: 21px; color: #d5dbe0; }
/* On a small phone the two calendar pills stack so neither label is cut */
@media (max-width: 399.98px) {
  .share .fl-facts .dp-acts { grid-template-columns: minmax(0, 1fr); }
}

/* Sections: a heading over their part, on the page */
.share.ev .ev-sec-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.share.ev .ev-h { margin: 0; font-family: var(--font-display); font-size: 19px; font-weight: 700; line-height: 1.3; color: var(--color-text-primary); }
.share.ev .ev-desc { margin: 0; font-size: 15.5px; line-height: 1.7; color: #c9d1d8; white-space: pre-line; overflow-wrap: anywhere; }
.share.ev .ev-see-all { flex-shrink: 0; height: 32px; padding: 0 14px; border-radius: var(--radius-full); border: 1px solid rgba(153, 246, 228, 0.25); background: transparent; color: #5EEAD4; font-family: var(--font-family); font-size: 13px; font-weight: 600; cursor: pointer; -webkit-appearance: none; appearance: none; }
.share.ev .ev-see-all:hover { border-color: rgba(45, 212, 191, 0.6); background: rgba(45, 212, 191, 0.12); color: var(--color-text-primary); }
.share.ev .ev-empty { margin: 0; font-size: 14px; color: var(--color-text-secondary); }

/* Guest list: the count, then the faces overlapping, hosts crowned, then "+n" */
.share.ev .ev-count { margin: 0 0 12px; font-size: 14px; font-weight: 600; color: var(--color-text-secondary); }
.share.ev .ev-faces { display: flex; align-items: center; padding: 0; border: 0; background: none; cursor: pointer; -webkit-appearance: none; appearance: none; }
.share.ev .ev-face { position: relative; flex-shrink: 0; }
.share.ev .ev-face + .ev-face,
.share.ev .ev-faces-more { margin-left: -12px; }
.share.ev .ev-face .avatar { display: block; width: 48px; height: 48px; border: 3px solid #050a0b; font-size: 18px; }
.share.ev .ev-face.is-host .avatar { border-color: var(--color-primary); }
.share.ev .ev-crown { position: absolute; right: -2px; bottom: -2px; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--color-secondary); border: 2px solid #050a0b; }
.share.ev .ev-crown .mdi { font-size: 10px; line-height: 1; color: #0b0f10; }
.share.ev .ev-faces-more { display: grid; place-items: center; flex-shrink: 0; width: 48px; height: 48px; border-radius: 50%; border: 3px solid #050a0b; background: rgba(45, 212, 191, 0.18); font-size: 14px; font-weight: 700; color: #5EEAD4; }

/* A happening's counts as two figures */
.share.ev .ev-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.share.ev .ev-stat { margin: 0; font-size: 14px; color: #c3cad2; }
.share.ev .ev-stat b { display: block; font-family: var(--font-display); font-size: 34px; font-weight: 800; line-height: 1.15; color: var(--color-text-primary); }
.share.ev .app-vault { margin: 0; max-width: none; }

/* Group chat (detailLayout.chatSection): the count and who sent it, then a slice of the thread whose
   bubbles are blurred bars, arriving one after another, fading out under the lock and the way in.
   Widths and name colours vary by turn so it reads as a conversation; classes only, no inline style. */
.share.ev .ev-chat .ev-sec-head { margin-bottom: 6px; }
.share.ev .ev-chat-faces { flex-shrink: 0; }
.share.ev .ev-chat-faces .avatar { width: 30px; height: 30px; border: 2px solid #0B1517; font-size: 12px; }
.share.ev .ev-chat-faces .avatar + .avatar { margin-left: -9px; }
.share.ev .ev-chat-line { display: flex; align-items: flex-start; gap: 9px; margin: 0 0 18px; font-size: 14px; font-weight: 600; line-height: 20px; color: #d5dbe0; overflow-wrap: anywhere; }
.share.ev .ev-chat-line .live-dot { margin-top: 6px; }
.share.ev .ev-chat-win { position: relative; }
.share.ev .ev-chat-thread { gap: 12px; padding: 2px 0 44px; -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 92px), transparent); mask-image: linear-gradient(to bottom, #000 calc(100% - 92px), transparent); }
.share.ev .ev-chat-more { align-self: center; margin: 0 0 2px; padding: 3px 12px; border-radius: var(--radius-full); background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.08); font-size: 12px; font-weight: 600; line-height: 16px; color: var(--color-text-secondary); animation: chat-msg-in 0.4s ease-out both; }
.share.ev .ev-chat .chat-group { animation: none; gap: 10px; }
.share.ev .ev-chat .chat-preview-avatar { width: 32px; height: 32px; animation: ev-chat-face 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) var(--d, 0s) both; }
.share .chat-preview-avatar.is-anon { display: grid; place-items: center; background: rgba(45, 212, 191, 0.1); border-color: rgba(153, 246, 228, 0.18); color: rgba(153, 246, 228, 0.6); }
.share .chat-preview-avatar.is-anon .ico { width: 16px; height: 16px; }
.share .chat-preview-avatar.is-letter { display: grid; place-items: center; font-size: 12px; font-weight: 700; color: var(--color-text-primary); }
.share.ev .ev-chat .chat-group-body { align-items: flex-start; gap: 4px; }
.share.ev .ev-chat .chat-bubble { flex: none; width: var(--w, 72%); min-width: 104px; max-width: 100%; background: rgba(255, 255, 255, 0.07); transform-origin: 0 100%; animation: ev-chat-bubble 0.5s cubic-bezier(0.22, 1, 0.36, 1) calc(var(--d, 0s) + 0.08s) both; }
.share.ev .ev-chat .chat-bubble + .chat-bubble { width: var(--w2, 52%); animation-delay: calc(var(--d, 0s) + 0.34s); }
.share.ev .ev-chat .chat-bubble-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.share.ev .ev-chat .chat-bubble-lines i:first-child { width: 100%; }
.share.ev .ev-chat .chat-bubble-lines i:last-child { width: 62%; }
.share.ev .ev-chat .chat-group:nth-of-type(4n+1) { --d: 0.1s; --w: 82%; --w2: 54%; }
.share.ev .ev-chat .chat-group:nth-of-type(4n+2) { --d: 0.6s; --w: 64%; --w2: 86%; }
.share.ev .ev-chat .chat-group:nth-of-type(4n+3) { --d: 1.1s; --w: 76%; --w2: 44%; }
.share.ev .ev-chat .chat-group:nth-of-type(4n+4) { --d: 1.6s; --w: 58%; --w2: 70%; }
.share.ev .ev-chat .chat-group:nth-of-type(4n+2) .chat-bubble-name { color: #A5B4FC; }
.share.ev .ev-chat .chat-group:nth-of-type(4n+3) .chat-bubble-name { color: #FDBA74; }
.share.ev .ev-chat .chat-group:nth-of-type(4n+4) .chat-bubble-name { color: #F9A8D4; }
/* Held back by the section's script until it scrolls into view, then they arrive */
.share.ev .ev-chat.is-waiting .chat-preview-avatar,
.share.ev .ev-chat.is-waiting .chat-bubble,
.share.ev .ev-chat.is-waiting .ev-chat-more { animation: none; opacity: 0; }
@keyframes ev-chat-face { from { opacity: 0; transform: scale(0.4); } to { opacity: 1; transform: none; } }
@keyframes ev-chat-bubble { from { opacity: 0; transform: translateY(10px) scale(0.9); } to { opacity: 1; transform: none; } }
.share.ev .ev-chat-gate { position: relative; display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: -36px; }
.share.ev .ev-chat-lock { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: var(--radius-full); background: rgba(8, 14, 16, 0.92); border: 1px solid var(--color-border-accent); font-size: 12px; font-weight: 600; line-height: 16px; color: var(--color-primary); }
.share.ev .ev-chat-lock .ico { width: 13px; height: 13px; }

/* Get the app: the scan code (a computer), the store badges, and after a tap the carry code */
.share .fl-main .get-app { max-width: none; margin: 0; gap: 14px; padding: 20px; border-radius: 20px; }
.share .fl-main .get-app .hero-buttons-secondary-label { margin: 0; }
.share .fl-main .get-app .qr-card + .hero-buttons-secondary-label { width: 100%; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, 0.06); }
.share .fl-main .get-app .qr-image { width: 180px; height: 180px; }
.share .fl-main .get-app .store-buttons { flex-wrap: wrap; gap: 10px; padding-top: 0; border-top: 0; }
.share .fl-main .get-app .open-app-link + .store-buttons { padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, 0.06); }
.share .fl-main .get-app .store-btn { padding: 12px 14px; }

/* The main action under the art, and the chat's way in: bordered ghost pills */
.share.ev .ev-btn,
.share.ev .fl-act .open-app-link { display: inline-flex; align-items: center; justify-content: center; gap: 7px; width: auto; height: 40px; margin: 0; padding: 0 16px; border-radius: var(--radius-full); border: 1px solid rgba(45, 212, 191, 0.55); background: transparent; color: var(--color-text-primary); font-family: var(--font-family); font-size: 14px; font-weight: 600; line-height: 1; white-space: nowrap; box-shadow: 0 0 20px rgba(45, 212, 191, 0.18); cursor: pointer; -webkit-appearance: none; appearance: none; }
.share.ev .ev-btn:hover,
.share.ev .fl-act .open-app-link:hover { border-color: rgba(94, 234, 212, 0.85); background: rgba(45, 212, 191, 0.12); color: var(--color-text-primary); text-decoration: none; box-shadow: 0 0 28px rgba(45, 212, 191, 0.28); transform: none; }
.share.ev .ev-btn .ico { width: 16px; height: 16px; flex-shrink: 0; color: #5EEAD4; }
.share.ev .ev-btn.is-quiet { border-color: rgba(153, 246, 228, 0.25); box-shadow: none; }
.share.ev .interested-done { display: inline-flex; align-items: center; gap: 6px; height: 40px; margin: 0; padding: 0 14px; border-radius: var(--radius-full); border: 1px solid rgba(45, 212, 191, 0.35); background: rgba(45, 212, 191, 0.1); font-size: 14px; font-weight: 600; color: #5EEAD4; white-space: nowrap; }
.share.ev .interested-done .ico { width: 16px; height: 16px; }
/* Interested once tapped: the star gives way to the sheet's spinner (nightfeed.css) while the post loads */
.share.ev .interest-btn.is-busy { cursor: progress; }
.share.ev .interest-btn.is-busy .ico { display: none; }
.share.ev .interest-btn .spin { display: none; }
.share.ev .interest-btn.is-busy .spin { display: inline-block; width: 16px; height: 16px; }

/* From 900px: two columns, the art and the action sticky on the right */
@media (min-width: 900px) {
  .share .fl { grid-template-columns: minmax(0, 1fr) 400px; grid-template-areas: "top side" "head side" "main side"; grid-template-rows: auto auto 1fr; gap: 24px 48px; max-width: 1080px; padding: 0 var(--spacing-xl) 72px; }
  .share .fl-top { grid-area: top; }
  .share .fl-head { grid-area: head; align-items: flex-start; text-align: left; }
  .share .fl-tags { justify-content: flex-start; }
  .share .fl-title { font-size: 52px; }
  .share .fl-side { grid-area: side; position: sticky; top: var(--spacing-lg); align-self: start; }
  .share .fl-main { grid-area: main; }
  .share.ev .ev-h { font-size: 21px; }
  .share.ev .ev-btn,
  .share.ev .fl-act .open-app-link { height: 46px; padding: 0 24px; font-size: 15px; }
  .share.ev .interested-done { height: 46px; padding: 0 18px; font-size: 15px; }
}

@media (min-width: 600px) {
  .share .guest-card,
  .share .get-app,
  .share .repeat-banner { max-width: 520px; margin-left: auto; margin-right: auto; }
  .share .fl .guest-card,
  .share .fl .get-app,
  .share .fl .app-vault { max-width: none; margin-left: 0; margin-right: 0; }
}
/* The AdSense banner (components.adSlot): a fixed 320x100 box, so the page never shifts when it fills. */
.share .ad-slot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin: 0 var(--spacing-md) var(--spacing-md);
}
.share .ad-label { font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase; color: rgba(255, 255, 255, 0.4); }
.share .ad-slot .adsbygoogle { max-width: 100%; overflow: hidden; border-radius: 8px; background: rgba(255, 255, 255, 0.03); }

/* ===== Discover (/discover, worker/src/pages/discover*.js) =====================================
   Ported from docs/design/discover/ (A-Mobile-* for the base, A-Discover-* from 900px). Everything
   is scoped to `body.share.discover`. The card is `.d-card` because theme.css styles `.card`. The
   linked cards' parts that the home page's band shares (the surface, the app card's adjustments,
   the meta lines, pills, type tags, faces, pips and day strip) and the cards' preview sheet live in
   nightfeed.css's last section. */
.share.discover { display: flex; flex-direction: column; line-height: 1.5; }
.share.discover .night-scrim { background: rgba(0, 0, 0, 0.82); }
.share.discover a:hover { text-decoration: none; }
/* No z-index here: the pickers' sheets (fixed, inside) must rise above the nav and the app bar. */
.share.discover .fg { position: relative; flex: 1 0 auto; }
.share.discover .wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--spacing-md); }

/* Nav: the brand, then only the current link (Discover), then "Get the app". */
:is(.share.discover, .share.ev) .site-nav { justify-content: space-between; padding: 14px var(--spacing-md); }
:is(.share.discover, .share.ev) .nav-brand { gap: var(--spacing-sm); min-height: 44px; }
:is(.share.discover, .share.ev) .nav-brand img { width: 32px; height: 32px; filter: drop-shadow(0 0 12px rgba(45, 212, 191, 0.5)); }
:is(.share.discover, .share.ev) .nav-brand span { font-size: 18px; }
:is(.share.discover, .share.ev) .nav-links { display: flex; align-items: center; gap: 28px; }
/* 8px of padding each side (cancelled by the margin) so the underline reaches past the label */
:is(.share.discover, .share.ev) .nav-links a { display: none; padding: 6px 8px; margin: 0 -8px; border-bottom: 2px solid transparent; font-size: 14px; font-weight: 500; color: #c3cad2; white-space: nowrap; }
:is(.share.discover, .share.ev) .nav-links a:hover { color: var(--color-text-primary); }
/* Under 360px the brand and "Get the app" fill the bar, so the current link shows from there up. */
:is(.share.discover, .share.ev) .nav-links a.is-active { align-items: center; gap: 7px; color: var(--color-text-primary); font-weight: 600; border-bottom-color: var(--color-primary); }
@media (min-width: 360px) {
  :is(.share.discover, .share.ev) .nav-links a.is-active { display: inline-flex; }
}
:is(.share.discover, .share.ev) .nav-links .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--color-primary); box-shadow: 0 0 10px rgba(45, 212, 191, 0.9); }
:is(.share.discover, .share.ev) .nav-cta { min-height: 44px; padding: 0 14px; white-space: nowrap; }
:is(.share.discover, .share.ev) .nav-cta .mdi { display: none; }

/* Head and toggle. The nav above is absolute and 72px tall here. */
.share.discover .dhead { padding-top: 80px; }
.share.discover .h1 { margin: 0; font-family: var(--font-display); font-size: 28px; font-weight: 800; line-height: 34px; letter-spacing: -0.03em; color: var(--color-text-primary); }
.share.discover .desc { margin: var(--spacing-xs) 0 0; font-size: 14px; line-height: 21px; color: #c3cad2; }
/* "Discover" over the view's own heading, in the section heads' kicker type (.kicker, below). */
.share.discover .dhead .kicker { display: block; margin: 0 0 4px; }

/* About: what the view lists, after the list and the rail. Text, so search and AI crawlers can quote it. */
.share.discover .about { margin-top: 40px; padding-top: var(--spacing-lg); border-top: 1px solid rgba(153, 246, 228, 0.14); }
.share.discover .about-h { margin: 0; font-family: var(--font-display); font-size: 18px; font-weight: 700; line-height: 24px; letter-spacing: -0.01em; color: var(--color-text-primary); }
.share.discover .about-items { display: grid; gap: var(--spacing-md); margin-top: var(--spacing-md); }
.share.discover .about-q { margin: 0; font-family: var(--font-display); font-size: 15px; font-weight: 700; line-height: 21px; color: var(--color-text-primary); }
.share.discover .about-a { margin: 2px 0 0; font-size: 13px; line-height: 19px; color: #c3cad2; text-wrap: pretty; }
.share.discover .tabs { display: flex; margin-top: var(--spacing-md); border-bottom: 1px solid rgba(153, 246, 228, 0.16); }
.share.discover .tab { flex: 1 1 auto; display: flex; align-items: center; justify-content: center; gap: 5px; min-height: 48px; margin-bottom: -1px; padding: 0 var(--spacing-xs); border-bottom: 2px solid transparent; font-family: var(--font-display); font-size: 15px; font-weight: 700; line-height: 22px; color: var(--color-text-secondary); white-space: nowrap; }
.share.discover .tab:hover { color: var(--color-text-primary); }
.share.discover .tab span { font-family: var(--font-family); font-size: 12.5px; font-weight: 600; color: var(--color-text-secondary); }
/* The count keeps a little air from its label and from the New pill */
.share.discover .tab > span:not(.tab-new) { padding: 0 2px; }
.share.discover .tab.on { color: var(--color-text-primary); border-bottom-color: var(--color-primary); }
.share.discover .tab .tab-new { padding: 2px 6px; border-radius: var(--radius-full); border: 1px solid rgba(94, 234, 212, 0.45); background: rgba(45, 212, 191, 0.12); box-shadow: 0 0 12px rgba(45, 212, 191, 0.22); color: #99F6E4; font-size: 9px; font-weight: 700; letter-spacing: 0.12em; line-height: 11px; text-transform: uppercase; }


/* Definition strip. On a phone: the mark and text, a rule, then the steps as one wrapping line. */
.share.discover .def { position: relative; overflow: hidden; margin-top: 14px; padding: 14px var(--spacing-md); border-radius: 18px; background: rgba(6, 14, 13, 0.74); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid rgba(153, 246, 228, 0.14); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4); }
.share.discover .def.is-meetups { border-color: rgba(45, 212, 191, 0.22); }
.share.discover .def.is-events { border-color: rgba(255, 255, 255, 0.14); }
.share.discover .def > * { position: relative; z-index: 1; }
.share.discover .def > .def-light { position: absolute; z-index: 0; left: -90px; top: -110px; width: 260px; height: 260px; border-radius: 50%; pointer-events: none; background: radial-gradient(closest-side, rgba(45, 212, 191, 0.20), transparent); }
.share.discover .def.is-events > .def-light { background: radial-gradient(closest-side, rgba(255, 255, 255, 0.12), transparent); }
.share.discover .def-row { display: flex; align-items: center; gap: 12px; }
.share.discover .def-mark { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 40px; height: 40px; border-radius: var(--radius-md); }
.share.discover .def-mark .ico { width: 18px; height: 18px; }
.share.discover .def-mark.is-m { background: radial-gradient(closest-side, rgba(45, 212, 191, 0.22), rgba(45, 212, 191, 0.06)); border: 1px solid rgba(45, 212, 191, 0.32); color: #5EEAD4; }
.share.discover .def-mark.is-h { background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.22); color: var(--color-text-primary); }
.share.discover .def-pair { position: relative; display: flex; align-items: center; flex-shrink: 0; width: 56px; height: 40px; }
.share.discover .def-pair .def-mark { width: 34px; height: 34px; border-radius: 10px; }
.share.discover .def-pair .def-mark .ico { width: 16px; height: 16px; }
.share.discover .def-pair .def-mark + .def-mark { margin-left: -12px; }
.share.discover .def-pair .def-mark.is-h { background: #171C1E; }
.share.discover .def-pair .def-mark.is-m { position: relative; z-index: 1; background: radial-gradient(closest-side, rgba(45, 212, 191, 0.26), rgba(45, 212, 191, 0.08)), #0A1517; }
.share.discover .def-text { flex: 1; min-width: 0; }
.share.discover .def-title { margin: 0; font-family: var(--font-display); font-size: 16px; font-weight: 700; line-height: 22px; letter-spacing: -0.01em; color: var(--color-text-primary); }
.share.discover .def-sub { margin: 2px 0 0; font-size: 13px; line-height: 19px; color: #c3cad2; text-wrap: pretty; }
.share.discover .def-sep { display: block; height: 1px; margin: 12px 0; background: rgba(153, 246, 228, 0.14); }
.share.discover .def-label,
.share.discover .def-n { display: none; }
.share.discover .def-steps { display: flex; align-items: center; flex-wrap: wrap; gap: var(--spacing-xs) var(--spacing-sm); font-size: 12.5px; font-weight: 600; line-height: 20px; color: #E6EAEE; }
.share.discover .def-join { display: inline-flex; width: 12px; height: 12px; flex-shrink: 0; color: #5EEAD4; }
.share.discover .def.is-events .def-join { color: #c3cad2; }
.share.discover .def-join .ico { width: 12px; height: 12px; stroke-width: 2.4; }
.share.discover .def-legend { display: flex; align-items: center; flex-wrap: wrap; gap: var(--spacing-sm) var(--spacing-md); }
.share.discover .def-item { display: inline-flex; align-items: center; gap: var(--spacing-sm); font-size: 13px; font-weight: 500; line-height: 22px; color: #c3cad2; white-space: nowrap; }

/* Picker pills (below 900px); each opens its bottom sheet (`details[open]`) over a scrim. */
.share.discover .filters { display: flex; gap: var(--spacing-sm); margin-top: 14px; }
/* Sized by their labels, so the longest choice ("This weekend") gets the room it needs beside two others. */
.share.discover .picker { flex: 1 1 auto; min-width: 0; }
.share.discover .fpill { display: flex; align-items: center; justify-content: center; gap: 4px; height: 44px; padding: 0 10px; white-space: nowrap; border-radius: var(--radius-full); border: 1px solid rgba(153, 246, 228, 0.22); background: rgba(6, 14, 13, 0.72); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); color: #e5e7eb; font-size: 13px; font-weight: 600; white-space: nowrap; cursor: pointer; list-style: none; }
.share.discover .fpill::-webkit-details-marker { display: none; }
.share.discover .fpill b { font-weight: 600; color: var(--color-text-secondary); }
.share.discover .fpill .ico { width: 14px; height: 14px; flex-shrink: 0; color: var(--color-primary); stroke-width: 2.4; }
.share.discover .fpill.on,
.share.discover .picker[open] > .fpill { border-color: rgba(45, 212, 191, 0.7); background: rgba(45, 212, 191, 0.12); color: var(--color-text-primary); box-shadow: 0 0 16px rgba(45, 212, 191, 0.18); }
.share.discover .sheet-scrim { position: fixed; inset: 0; z-index: 60; background: rgba(0, 0, 0, 0.6); }
.share.discover .sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 61; max-height: 100vh; overflow-y: auto; padding: 10px var(--spacing-md) 20px; background: #0A1214; border: 1px solid rgba(153, 246, 228, 0.16); border-bottom: none; border-radius: 20px 20px 0 0; box-shadow: 0 -18px 50px rgba(0, 0, 0, 0.6); }
.share.discover .handle { width: 36px; height: 4px; margin: 0 auto 10px; border-radius: 2px; background: var(--color-border-default); }
.share.discover .sheet-head { display: flex; align-items: center; justify-content: space-between; margin: 0 0 var(--spacing-sm); }
.share.discover .sheet-h { margin: 0; font-family: var(--font-display); font-size: 18px; font-weight: 700; line-height: 24px; color: var(--color-text-primary); }
.share.discover .sheet-clear { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--spacing-xs); color: #5EEAD4; font-size: 14px; font-weight: 600; }
.share.discover .srows { display: flex; flex-direction: column; gap: 2px; }
.share.discover .srow { display: flex; align-items: center; gap: 12px; width: 100%; height: 52px; padding: 0 12px; border-radius: var(--radius-md); color: #e5e7eb; font-size: 15px; font-weight: 500; }
.share.discover .srow.on { background: rgba(45, 212, 191, 0.12); color: var(--color-text-primary); font-weight: 600; }
.share.discover .srow .ic { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; flex-shrink: 0; color: var(--color-primary); }
.share.discover .srow .ic .ico { width: 18px; height: 18px; }
.share.discover .srow .nm { flex: 1; }
.share.discover .srow .n { font-size: 14px; font-weight: 600; color: var(--color-text-secondary); }
.share.discover .srow .tick { display: inline-flex; width: 18px; height: 18px; color: var(--color-primary); }
.share.discover .srow .tick .ico { width: 18px; height: 18px; }
.share.discover .srow.is-zero { color: var(--color-text-secondary); }
.share.discover .srow.is-zero .ic { opacity: 0.5; }
.share.discover .done { width: 100%; margin-top: 14px; }

/* The When filter's "Pick dates" calendar (pages/discoverFilters.js calendar), under the rows of the
   rail's panel and of the sheet: every day a link, a range a teal band with solid ends. */
.share.discover .cal { --cal-cell: 40px; margin-top: 10px; padding: 10px; border-radius: 12px; background: rgba(0, 0, 0, 0.25); border: 0.5px solid rgba(153, 246, 228, 0.1); }
.share.discover .cal-head { display: flex; align-items: center; justify-content: space-between; gap: var(--spacing-sm); }
.share.discover .cal-m { font-size: 14px; font-weight: 700; color: var(--color-text-primary); }
.share.discover .cal-nav { display: flex; gap: 6px; }
.share.discover .cal-btn { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; border: 0.5px solid rgba(153, 246, 228, 0.25); color: #CCFBF1; }
.share.discover .cal-btn:hover { background: rgba(45, 212, 191, 0.12); color: var(--color-text-primary); }
.share.discover .cal-btn.is-gone { visibility: hidden; }
.share.discover .cal-btn .ico { width: 15px; height: 15px; stroke-width: 2.4; }
.share.discover .cal-wd,
.share.discover .cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.share.discover .cal-wd { margin-top: var(--spacing-sm); font-size: 10.5px; font-weight: 700; line-height: 16px; text-align: center; color: rgba(153, 246, 228, 0.55); }
.share.discover .cal-grid { row-gap: 2px; margin-top: 4px; }
.share.discover .cal-d { display: flex; align-items: center; justify-content: center; height: var(--cal-cell); color: var(--color-text-primary); font-size: 13px; font-weight: 500; }
.share.discover .cal-n { display: flex; align-items: center; justify-content: center; width: calc(var(--cal-cell) - 2px); height: calc(var(--cal-cell) - 2px); border-radius: 50%; }
.share.discover a.cal-d:hover .cal-n { background: rgba(45, 212, 191, 0.14); }
.share.discover .cal-d.is-today .cal-n { box-shadow: inset 0 0 0 1px rgba(45, 212, 191, 0.55); }
.share.discover .cal-d.is-off { color: var(--color-text-secondary); opacity: 0.45; }
.share.discover .cal-d.in { background: rgba(45, 212, 191, 0.16); color: #CCFBF1; font-weight: 700; }
.share.discover .cal-d.is-from { border-radius: calc(var(--cal-cell) / 2) 0 0 calc(var(--cal-cell) / 2); }
.share.discover .cal-d.is-to { border-radius: 0 calc(var(--cal-cell) / 2) calc(var(--cal-cell) / 2) 0; }
.share.discover .cal-d.is-from.is-to { background: none; }
.share.discover .cal-d:is(.is-from, .is-to) .cal-n { background: #2DD4BF; color: #0B0F10; font-weight: 700; box-shadow: none; }
.share.discover .cal-hint { margin: var(--spacing-sm) 0 0; font-size: 12px; line-height: 18px; color: var(--color-text-secondary); }

/* Status marks (rail and sheets). */
.share.discover .sdot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.share.discover .sdot-live { background: var(--color-error); box-shadow: 0 0 8px rgba(239, 68, 68, 0.8); }
.share.discover .sdot-open { border: 1.5px solid var(--color-warning); }

/* Body: the main column; the rail joins it from 900px. */
.share.discover .main { min-width: 0; }
.share.discover .rail { display: none; }
.share.discover .kicker { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; line-height: 18px; text-transform: uppercase; color: #5EEAD4; }

/* Applied-filter line. */
.share.discover .applied { display: flex; align-items: center; gap: 14px; margin: 14px 0 0; }
.share.discover .fchip { display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 14px 0 var(--spacing-md); border-radius: var(--radius-full); border: 1px solid rgba(45, 212, 191, 0.7); background: rgba(45, 212, 191, 0.12); color: var(--color-text-primary); font-size: 13px; font-weight: 600; }
.share.discover .fchip .ico { width: 14px; height: 14px; color: #5EEAD4; stroke-width: 2.4; }
/* The Trending sort's pill reads in rose, as the trending strip and badges do. */
.share.discover .fchip.is-tr { border-color: rgba(253, 164, 175, 0.7); color: #FDA4AF; }
.share.discover .fchip.is-tr .ico { color: #FDA4AF; }
.share.discover .clear { display: inline-flex; align-items: center; min-height: 44px; padding: 0 6px; color: #5EEAD4; font-size: 14px; font-weight: 600; }
.share.discover .clear:hover { color: #99F6E4; }

/* Section head and the Happenings day list. */
.share.discover .sec-head { display: flex; flex-direction: column; gap: 6px; margin: 36px 0 14px; padding-bottom: 14px; border-bottom: 1px solid rgba(153, 246, 228, 0.16); }
.share.discover .sec-head.is-top { margin-top: var(--spacing-lg); }
.share.discover .h2 { margin: 0; font-family: var(--font-display); font-size: 24px; font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; color: var(--color-text-primary); }
.share.discover .day-label { display: flex; align-items: baseline; gap: var(--spacing-sm); margin: 22px 0 10px; }
.share.discover .day-label b { font-family: var(--font-display); font-size: 15px; font-weight: 700; line-height: 22px; }
.share.discover .day-label span { font-size: 13px; color: var(--color-text-secondary); }
.share.discover .day-body { display: flex; flex-direction: column; gap: 12px; }

/* Happening card: text on the left, the poster slot on the right, on the linked-card surface
   (.d-card). */
.share.discover .wcard { position: relative; overflow: hidden; display: flex; align-items: center; gap: 14px; color: var(--color-text-primary); }
.share.discover .w-text { position: relative; flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 3px; }
.share.discover .w-time { font-size: 14px; font-weight: 600; line-height: 20px; color: var(--color-primary); }
.share.discover .w-title { margin: 0; font-family: var(--font-display); font-size: 16px; font-weight: 600; line-height: 22px; color: var(--color-text-primary); overflow-wrap: anywhere; }
.share.discover .w-tags { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; max-width: 100%; min-height: 24px; margin: 3px 0 1px; }
/* A long group or happening name ellipsizes instead of widening the card. */
.share.discover .w-tags > .pill--group { display: block; min-width: 0; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
/* The price and age badges sit inline with the pills, not in share.css's centred row. */
.share.discover .w-tags .happening-badges { display: contents; }
.share.discover .w-tags .badge { display: inline-flex; padding: 2px 10px; }
.share.discover .w-tags .badge-price { border-color: rgba(45, 212, 191, 0.35); color: #5EEAD4; }
.share.discover .w-counts { font-size: 12.5px; line-height: 18px; color: var(--color-text-secondary); }
/* The calendar leaf of a happening without a poster (posterBlock); one with a poster is drawn over it. */
.share.discover .pslot { position: relative; flex-shrink: 0; width: 92px; height: 92px; border-radius: var(--radius-md); overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.share.discover .pslot.is-fallback { background: linear-gradient(160deg, rgba(45, 212, 191, 0.3), rgba(129, 140, 248, 0.24) 55%, rgba(8, 14, 16, 0.92)); border: 1px solid var(--color-border-accent); }
.share.discover .pslot .poster-month { font-size: 11px; letter-spacing: 1px; }
.share.discover .pslot .poster-day { font-size: 28px; }
.share.discover .pslot .poster-weekday { font-size: 10px; margin-top: 2px; }
/* With a picture (nightfeed.css's has-photo): no poster slot or tile; the text sits at the bottom. */
.share.discover .wcard.has-photo { align-items: flex-end; }

/* Buttons: bordered ghost pills. */
.share.discover .ghost { display: flex; align-items: center; justify-content: center; min-height: 48px; margin-top: 14px; padding: 0 14px; border-radius: var(--radius-full); border: 1px solid rgba(45, 212, 191, 0.45); background: transparent; color: var(--color-text-primary); font-size: 15px; font-weight: 600; white-space: nowrap; box-shadow: 0 0 18px rgba(45, 212, 191, 0.15); cursor: pointer; }
.share.discover .ghost:hover { color: var(--color-text-primary); background: rgba(45, 212, 191, 0.12); }

/* Empty panels (and the Meetups and All placeholders for now). */
.share.discover .empty { display: flex; flex-direction: column; align-items: center; gap: var(--spacing-sm); margin-top: var(--spacing-md); padding: 28px 18px 18px; border-radius: 20px; text-align: center; background: rgba(6, 14, 13, 0.72); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid rgba(153, 246, 228, 0.12); }
.share.discover .empty-ic { display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; margin-bottom: var(--spacing-sm); border-radius: 50%; background: rgba(45, 212, 191, 0.10); color: #5EEAD4; }
.share.discover .empty-ic .ico { width: 28px; height: 28px; }
.share.discover .empty-h { margin: 0; font-family: var(--font-display); font-size: 22px; font-weight: 700; line-height: 28px; color: var(--color-text-primary); }
.share.discover .empty-p { margin: 0; font-size: 14px; line-height: 21px; color: #c3cad2; }
.share.discover .empty-acts { display: flex; flex-direction: column; gap: 10px; width: 100%; margin-top: 10px; }
.share.discover .empty-acts .ghost { width: 100%; margin-top: 0; }

/* Footer. The app bar is sticky, so it keeps its own place below the footer and never covers it. */
.share.discover .page-footer { margin-top: var(--spacing-xl); padding: 22px 0 28px; font-size: 13px; color: #c3cad2; }
.share.discover .page-footer p { margin: 0; color: inherit; }
.share.discover .page-footer a { display: inline-flex; align-items: center; min-height: 44px; margin: 0; padding: 0 var(--spacing-sm); color: #c3cad2; }
.share.discover .page-footer a:hover { color: var(--color-primary); }

/* Phone app bar, pinned to the bottom of the screen. */
.share.discover .appbar { position: sticky; bottom: 0; z-index: 6; display: flex; align-items: center; gap: 12px; padding: 10px var(--spacing-md); background: rgba(6, 14, 13, 0.88); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-top: 1px solid rgba(153, 246, 228, 0.16); }
.share.discover .appbar picture { display: contents; }
.share.discover .appbar img { width: 32px; height: 32px; display: block; flex-shrink: 0; filter: drop-shadow(0 0 10px rgba(45, 212, 191, 0.45)); }
.share.discover .appbar-t { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.share.discover .appbar-t b { font-family: var(--font-display); font-size: 14px; font-weight: 700; line-height: 20px; }
.share.discover .appbar-t span { font-size: 12px; line-height: 18px; color: #c3cad2; }
.share.discover .appbar-cta { display: inline-flex; align-items: center; height: 44px; padding: 0 18px; border-radius: var(--radius-full); background: rgba(10, 16, 18, 0.98); border: 0.5px solid rgba(153, 246, 228, 0.35); color: var(--color-text-primary); font-size: 13px; font-weight: 600; white-space: nowrap; box-shadow: 0 0 14px rgba(45, 212, 191, 0.22); }
.share.discover .appbar-cta:hover { color: var(--color-text-primary); border-color: rgba(153, 246, 228, 0.7); }

/* Live now: one markup, a column card on a phone and a wide row from 900px. */
.share.discover .live-label { display: flex; align-items: center; gap: var(--spacing-sm); margin: 36px 0 10px; }
.share.discover .live-label.is-top { margin-top: var(--spacing-lg); }
.share.discover .live-list { position: relative; display: flex; flex-direction: column; gap: 12px; }
/* The glow stops at the page gutter so it never scrolls the page sideways. */
.share.discover .live-list::before { content: ''; position: absolute; top: -40px; bottom: -40px; left: calc(-1 * var(--spacing-md)); right: calc(-1 * var(--spacing-md)); background: radial-gradient(closest-side, rgba(45, 212, 191, 0.16), transparent); pointer-events: none; }
.share.discover .live-card { position: relative; display: flex; flex-direction: column; padding: 14px var(--spacing-md); border-radius: var(--radius-lg); color: var(--color-text-primary); background: linear-gradient(180deg, rgba(45, 212, 191, 0.08) 0%, rgba(8, 14, 16, 0.94) 55%); border: 1px solid rgba(45, 212, 191, 0.45); box-shadow: 0 0 36px rgba(45, 212, 191, 0.18), 0 10px 30px rgba(0, 0, 0, 0.45); }
.share.discover .live-card:hover { color: var(--color-text-primary); border-color: rgba(45, 212, 191, 0.8); }
.share.discover .ls-body { min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.share.discover .ls-top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: var(--spacing-sm); min-height: 24px; }
.share.discover .ls-state { order: 1; display: flex; align-items: center; gap: 6px; flex-shrink: 0; margin-left: auto; }
.share.discover .ls-title { display: flex; align-items: flex-start; gap: 10px; margin: 0; font-family: var(--font-display); font-size: 19px; font-weight: 600; line-height: 26px; color: var(--color-text-primary); overflow-wrap: anywhere; }
.share.discover .ls-meta { display: flex; flex-direction: column; gap: 10px; }
/* Phone: avatars and the seats line on the left, the pips on the right. */
.share.discover .ls-seats { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.share.discover .ls-seats .avatar-stack { flex-shrink: 0; }
.share.discover .ls-seats .lbl { order: 1; margin: 0 auto 0 0; }
.share.discover .ls-seats .pips { order: 2; }
.share.discover .ls-cta { display: none; }
/* With a photo (nightfeed.css's has-photo): the title, meta and seats sit at the bottom. */
.share.discover .live-card.has-photo .ls-body { flex: 1; }
.share.discover .live-card.has-photo .ls-title { margin-top: auto; text-shadow: 0 1px 12px rgba(0, 0, 0, 0.5); }



/* All view, mixed list: who is in, and a meetup's emoji tile in the poster's
   place. The surfaces load after .d-card's (nightfeed.css) so they win; the hover border is
   restated for the same reason. */
.share.discover .w-who { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
/* An undated meetup's time on a wide card ("TBD · sometime this week"), in the amber of "Finding a time". */
.share.discover .w-time.is-open { color: var(--color-warning); }
.share.discover .w-time.is-open b { font-weight: 700; }
.share.discover .w-who .lbl { margin-left: 0; }
.share.discover .w-who .pips { display: none; }
.share.discover .wcard.is-hap { background: rgba(8, 14, 16, 0.94); border-color: rgba(255, 255, 255, 0.12); }
.share.discover .wcard.is-meetup { background: linear-gradient(180deg, rgba(45, 212, 191, 0.08) 0%, rgba(8, 14, 16, 0.94) 48%); border-color: rgba(45, 212, 191, 0.26); }
.share.discover .wcard.is-hap:hover,
.share.discover .wcard.is-meetup:hover { border-color: rgba(45, 212, 191, 0.5); }
/* The type tag closes each card's bottom row, at the card's right: a row across the wide cards
   (under the text and the tile or poster slot), the seats row of a live card, and after the
   deadline on an undated one. */
.share.discover .wcard.is-hap,
.share.discover .wcard.is-meetup { flex-wrap: wrap; row-gap: 10px; }
.share.discover .wcard.has-photo { align-content: flex-end; }
.share.discover .w-foot { position: relative; flex-basis: 100%; min-width: 0; display: flex; align-items: center; gap: 10px; }
.share.discover .w-foot > .type,
.share.discover .ls-seats > .type { margin-left: auto; }
.share.discover .ls-seats > .type { order: 3; }
.share.discover .b-end { display: flex; align-items: center; gap: var(--spacing-sm); margin-left: auto; }

/* Trending (pages/discoverTrending.js, pages/trendingMarks.js), in rose because amber already means
   "Finding a time": the strip at the top of the main column (a horizontal scroller of short cards on
   a phone, one row of tall cards from 900px), the ranked list under the Trending sort, and on the
   feed's cards the "#N Trending" tag, the rose border and, on the ranked list, the week's gain. */
.share.discover .trend { margin-top: var(--spacing-lg); }
.share.discover .tr-head { display: flex; align-items: center; gap: var(--spacing-sm); margin-bottom: 10px; }
.share.discover .tr-ic { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 30px; height: 30px; border-radius: 10px; background: rgba(251, 113, 133, 0.14); border: 0.5px solid rgba(251, 113, 133, 0.4); color: #FB7185; }
.share.discover .tr-ic .ico { width: 16px; height: 16px; stroke-width: 2.2; }
.share.discover .tr-h { min-width: 0; margin: 0; font-family: var(--font-display); font-size: 16px; font-weight: 700; line-height: 22px; letter-spacing: -0.01em; color: var(--color-text-primary); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.share.discover .tr-sub { display: none; font-size: 12.5px; color: rgba(153, 246, 228, 0.6); white-space: nowrap; }
.share.discover .tr-all { display: inline-flex; align-items: center; gap: 2px; flex-shrink: 0; min-height: 44px; margin-left: auto; color: #5EEAD4; font-size: 13px; font-weight: 600; white-space: nowrap; }
.share.discover .tr-all:hover { color: #99F6E4; }
.share.discover .tr-all .ico { width: 14px; height: 14px; stroke-width: 2.4; }
.share.discover .tr-all-long { display: none; }
/* The scroller runs to the screen's edges and starts at the gutter. */
.share.discover .tr-strip { display: flex; gap: 10px; margin: 0 calc(-1 * var(--spacing-md)); padding: 0 var(--spacing-md) 4px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--spacing-md); scrollbar-width: none; }
.share.discover .tr-strip::-webkit-scrollbar { display: none; }
/* A card: the picture's band on top (the whole card from 900px), the rank and the gain on it, the text under it. */
.share.discover .tr-card { position: relative; isolation: isolate; overflow: hidden; flex: 0 0 148px; display: flex; flex-direction: column; justify-content: flex-end; min-height: 0; padding: 128px 10px 10px; border-radius: 14px; background: rgba(8, 14, 16, 0.94); border: 0.5px solid rgba(255, 255, 255, 0.12); color: var(--color-text-primary); scroll-snap-align: start; }
.share.discover .tr-card:hover { color: var(--color-text-primary); border-color: rgba(251, 113, 133, 0.5); }
.share.discover .tr-card :is(.card-photo, .card-scrim),
.share.discover .tr-card.has-photo::before { bottom: auto; height: 120px; }
.share.discover .tr-card .card-scrim { background: linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, 0.35) 100%); }
.share.discover .tr-poster { position: absolute; left: 0; right: 0; top: 0; z-index: -2; height: 120px; display: flex; align-items: center; justify-content: center; padding: 21px 0; overflow: hidden; }
.share.discover .tr-poster .poster-image { max-height: 100%; }
.share.discover .tr-poster.is-fallback { flex-direction: column; padding: 0; background: linear-gradient(160deg, rgba(45, 212, 191, 0.3), rgba(129, 140, 248, 0.24) 55%, rgba(8, 14, 16, 0.92)); }
.share.discover .tr-poster .poster-month { font-size: 11px; letter-spacing: 1px; }
.share.discover .tr-poster .poster-day { font-size: 34px; }
.share.discover .tr-poster .poster-weekday { font-size: 10px; margin-top: 2px; }
.share.discover .tr-rank { position: absolute; top: 4px; left: 8px; font-family: var(--font-display); font-size: 34px; font-weight: 800; line-height: 1; letter-spacing: -1.5px; color: #FFFFFF; text-shadow: 0 2px 10px rgba(0, 0, 0, 0.75); }
.share.discover .tr-gain { display: inline-flex; align-items: center; gap: 2px; padding: 2px 7px; border-radius: var(--radius-full); background: rgba(40, 8, 14, 0.8); border: 0.5px solid rgba(251, 113, 133, 0.5); color: #FDA4AF; font-size: 10.5px; font-weight: 700; line-height: 16px; }
.share.discover .tr-gain .ico { width: 10px; height: 10px; stroke-width: 2.8; }
.share.discover .tr-card .tr-gain { position: absolute; top: 8px; right: 8px; }
.share.discover .tr-text { position: relative; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.share.discover .tr-text .type { align-self: flex-start; }
.share.discover .tr-title { font-size: 13px; font-weight: 700; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.share.discover .tr-when { display: none; font-size: 11.5px; line-height: 16px; color: #D1D5DB; }
.share.discover .tr-when.is-open { color: var(--color-warning); }
.share.discover .tr-count { font-size: 11px; font-weight: 600; line-height: 16px; color: #5EEAD4; }
/* On the feed's cards */
.share.discover .tr-badge { display: inline-flex; align-items: center; flex-shrink: 0; height: 22px; padding: 0 var(--spacing-sm); border-radius: var(--radius-full); background: rgba(251, 113, 133, 0.12); border: 0.5px solid rgba(251, 113, 133, 0.45); color: #FDA4AF; font-size: 11px; font-weight: 800; line-height: 1; white-space: nowrap; }
.share.discover .has-photo .tr-badge { background: rgba(40, 8, 14, 0.8); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.share.discover :is(.d-card, .live-card).is-trending { border-color: rgba(251, 113, 133, 0.4); }
.share.discover .tr-up { position: relative; display: inline-flex; align-items: center; gap: 2px; font-size: 12.5px; font-weight: 700; line-height: 18px; color: #FDA4AF; }
.share.discover .tr-up .ico { width: 12px; height: 12px; stroke-width: 2.8; }
.share.discover .wcard > .tr-up { flex-basis: 100%; }
/* The ranked list: each card with its rank before it, the first three bright. */
.share.discover .tr-h-sub { font-size: 0.6em; font-weight: 600; letter-spacing: 0; color: rgba(153, 246, 228, 0.6); }
.share.discover .tr-list { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 0; list-style: none; }
.share.discover .tr-row { display: flex; align-items: center; gap: 10px; }
.share.discover .tr-row > :last-child { flex: 1; min-width: 0; }
.share.discover .tr-n { flex: 0 0 28px; font-family: var(--font-display); font-size: 26px; font-weight: 800; line-height: 1; letter-spacing: -1px; text-align: center; color: rgba(153, 246, 228, 0.45); }
.share.discover .tr-n.is-top { color: #FFFFFF; }
.share.discover .empty-ic.is-trending { background: rgba(251, 113, 133, 0.12); color: #FB7185; }


/* The skeletons (discoverLoading.js) are the real list's markup with skeleton blocks in it, so the
   list's and the cards' own rules lay them out. The list's stand-in is hidden until a tap on another
   view puts it in, then it alone fills the column until that page arrives; the streamed page's
   (#d-wait, pages/discover.js discoverStream) shows until the real body follows, with skeleton
   counts in the tabs and the rail. Skeleton cards take no pointer, so they neither lift nor sink. */
.share.discover .tab .sk-count { display: inline-block; width: 16px; height: 11px; border-radius: 6px; vertical-align: middle; }
.share.discover .d-skel { display: none; }
.share.discover .main.is-loading > :not(.d-skel) { display: none; }
.share.discover .main.is-loading > .d-skel { display: block; animation: d-skel-in 0.25s ease both; }
@keyframes d-skel-in { from { opacity: 0; } to { opacity: 1; } }
.share.discover :is(.d-skel, .sk-more) .d-card { pointer-events: none; }
.share.discover .sk.avatar { border-radius: 50%; }
.share.discover .sk-emoji { width: 24px; height: 24px; margin: 2px; }
.share.discover .sk-pip { width: 8px; height: 8px; border-radius: 50%; }
/* "Finding a time" and the type tag, at their real widths. */
.share.discover .sk-chip.is-long { width: 108px; }
.share.discover .sk-type { width: 84px; margin-left: auto; }
/* "See more": while the next page loads (pages/discoverNav.js) skeleton cards stand where it
   will land and the link shows the spinner and takes no taps. */
.share.discover .more { flex-wrap: wrap; }
.share.discover .sk-more { display: none; flex-basis: 100%; flex-direction: column; gap: 12px; margin-bottom: 6px; }
.share.discover .more.is-loading .sk-more { display: flex; }
.share.discover .more .ghost { gap: 10px; }
.share.discover .more .ghost .spin { display: none; }
.share.discover .more .ghost.is-loading { pointer-events: none; background: rgba(45, 212, 191, 0.12); }
.share.discover .more .ghost.is-loading .spin { display: inline-block; }

/* All view, switch pills: two columns (one pill spans both); a narrow phone wraps a label inside
   its pill rather than overflowing. */
.share.discover .pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: var(--spacing-lg); }
.share.discover .pair .ghost { min-width: 0; margin-top: 0; white-space: normal; text-align: center; line-height: 20px; }
.share.discover .pair .ghost:only-child { grid-column: 1 / -1; }

@media (min-width: 900px) {
  .share.discover .wrap { padding: 0 28px; }
  :is(.share.discover, .share.ev) .site-nav { padding: 14px 28px; }
  :is(.share.discover, .share.ev) .nav-brand { gap: 10px; min-height: 0; }
  :is(.share.discover, .share.ev) .nav-brand img { width: 40px; height: 40px; }
  :is(.share.discover, .share.ev) .nav-brand span { font-size: 22px; }
  :is(.share.discover, .share.ev) .nav-links a { display: block; }
  :is(.share.discover, .share.ev) .nav-cta { min-height: 0; padding: 9px 18px; white-space: normal; }
  :is(.share.discover, .share.ev) .nav-cta .mdi { display: inline; }

  .share.discover .dhead { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--spacing-sm) var(--spacing-lg); flex-wrap: wrap; padding-top: 104px; }
  .share.discover .h1 { font-size: 40px; line-height: 44px; }
  .share.discover .desc { font-size: 15px; line-height: 22px; }
  .share.discover .about { margin-top: 56px; }
  .share.discover .about-h { font-size: 20px; line-height: 26px; }
  .share.discover .about-items { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--spacing-lg); }
  .share.discover .about-a { font-size: 14px; line-height: 21px; }
  /* Each tab's underline reaches 12px past its label and count; the first tab's text still lines up with the column. */
  .share.discover .tabs { align-items: flex-end; gap: 12px; margin-top: var(--spacing-lg); }
  .share.discover .tab:first-child { margin-left: -12px; }
  .share.discover .tab { flex: 0 0 auto; display: inline-flex; align-items: baseline; justify-content: flex-start; gap: var(--spacing-sm); min-height: 0; padding: 14px 12px; font-size: 22px; line-height: 30px; letter-spacing: -0.01em; white-space: normal; }
  .share.discover .tab span { font-size: 14px; letter-spacing: 0; }
  .share.discover .tab .tab-new { align-self: center; padding: 3px var(--spacing-sm); box-shadow: 0 0 14px rgba(45, 212, 191, 0.25); font-size: 10px; letter-spacing: 0.14em; line-height: 12px; }

  /* Definition strip in one row; it wraps the steps under the text until 1000px. */
  .share.discover .def { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 20px; padding: var(--spacing-md) 22px; border-radius: 20px; }
  .share.discover .def-row { flex: 1; min-width: 0; gap: 18px; }
  .share.discover .def-mark { width: 48px; height: 48px; border-radius: 14px; }
  .share.discover .def-mark .ico { width: 22px; height: 22px; }
  .share.discover .def-pair { width: 68px; height: 48px; }
  .share.discover .def-pair .def-mark { width: 40px; height: 40px; border-radius: var(--radius-md); }
  .share.discover .def-pair .def-mark .ico { width: 18px; height: 18px; }
  .share.discover .def-title { font-size: 19px; line-height: 26px; }
  .share.discover .def-sub { font-size: 14px; line-height: 21px; }
  .share.discover .def-sep { display: none; align-self: stretch; width: 1px; height: auto; margin: 0; flex-shrink: 0; }
  .share.discover .def-side { display: flex; flex-direction: column; gap: var(--spacing-sm); flex-shrink: 0; flex-basis: 100%; padding-left: 0; }
  .share.discover .def-label { display: block; font-size: 10px; font-weight: 700; letter-spacing: 0.14em; line-height: 14px; text-transform: uppercase; color: var(--color-text-secondary); }
  .share.discover .def-steps { gap: 10px; }
  .share.discover .def-step { display: inline-flex; align-items: center; gap: var(--spacing-sm); font-size: 13px; font-weight: 600; line-height: 20px; color: #E6EAEE; white-space: nowrap; }
  .share.discover .def-n { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 50%; flex-shrink: 0; font-size: 11px; font-weight: 700; line-height: 1; border: 1px solid rgba(45, 212, 191, 0.5); color: #5EEAD4; }
  .share.discover .def.is-events .def-n { border-color: rgba(255, 255, 255, 0.4); color: var(--color-text-primary); }
  .share.discover .def-join { width: 18px; height: 1px; background: rgba(45, 212, 191, 0.4); }
  .share.discover .def.is-events .def-join { background: rgba(255, 255, 255, 0.3); }
  .share.discover .def-join .ico { display: none; }
  .share.discover .def-legend { gap: var(--spacing-sm) 20px; }

  /* The rail replaces the pickers; the app bar goes. */
  .share.discover .filters,
  .share.discover .appbar { display: none; }
  .share.discover .body { display: flex; gap: var(--spacing-xl); align-items: flex-start; margin-top: 28px; }
  .share.discover .main { flex: 1; }
  /* The rail stays in view as the list scrolls, never taller than the screen: when its filters do not fit
     (the All view has three), they scroll inside it and "Join from the app" stays at its foot. */
  .share.discover .rail { position: sticky; top: var(--spacing-lg); width: 300px; flex-shrink: 0; display: flex; flex-direction: column; gap: var(--spacing-md); max-height: calc(100vh - 2 * var(--spacing-lg)); max-height: calc(100dvh - 2 * var(--spacing-lg)); }
  .share.discover .rail-filters { display: flex; flex-direction: column; gap: var(--spacing-md); min-height: 0; overflow-y: auto; overscroll-behavior: contain; border-radius: 20px; scrollbar-width: thin; scrollbar-color: rgba(153, 246, 228, 0.22) transparent; }
  .share.discover .rail-app { flex: none; }
  .share.discover .panel { padding: 18px; border-radius: 20px; background: rgba(6, 14, 13, 0.72); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid rgba(153, 246, 228, 0.12); }
  .share.discover .panel .kicker { display: block; margin: 0 0 10px; }
  .share.discover .panel-head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--spacing-sm); margin: 0 0 10px; }
  .share.discover .panel-head .kicker { margin: 0; }
  .share.discover .panel-reset { font-size: 12px; font-weight: 600; color: #5EEAD4; }
  .share.discover .panel-reset:hover { color: #99F6E4; }
  .share.discover .cal { --cal-cell: 30px; }
  .share.discover .cal-m { font-size: 13px; }
  .share.discover .cal-btn { width: 28px; height: 28px; }
  .share.discover .cal-btn .ico { width: 13px; height: 13px; }
  .share.discover .cal-d { font-size: 12px; }
  .share.discover .cal-hint { font-size: 11.5px; }
  .share.discover .rows { display: flex; flex-direction: column; gap: 2px; }
  .share.discover .rrow { display: flex; align-items: center; gap: 10px; width: 100%; height: 40px; padding: 0 10px; border-radius: 10px; color: #e5e7eb; font-size: 14px; font-weight: 500; }
  .share.discover .rrow:hover { background: rgba(255, 255, 255, 0.05); color: var(--color-text-primary); }
  .share.discover .rrow.on { background: rgba(45, 212, 191, 0.12); color: var(--color-text-primary); font-weight: 600; }
  .share.discover .rrow .ic { display: inline-flex; align-items: center; justify-content: center; width: 16px; height: 16px; flex-shrink: 0; color: var(--color-primary); }
  .share.discover .rrow .ic .ico { width: 16px; height: 16px; }
  .share.discover .rrow .nm { flex: 1; }
  .share.discover .rrow .n { font-size: 13px; font-weight: 600; color: var(--color-text-secondary); font-variant-numeric: tabular-nums; }
  .share.discover .rrow .tick { display: inline-flex; width: 16px; height: 16px; color: var(--color-primary); }
  .share.discover .rrow .tick .ico { width: 16px; height: 16px; }
  .share.discover .rrow.is-zero { color: var(--color-text-secondary); }
  .share.discover .rrow.is-zero .ic { opacity: 0.5; }
  .share.discover .app-h { margin: 0; font-family: var(--font-display); font-size: 18px; font-weight: 700; line-height: 24px; color: var(--color-text-primary); }
  .share.discover .app-p { margin: var(--spacing-xs) 0 14px; font-size: 14px; line-height: 20px; color: #c3cad2; }
  .share.discover .stores { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--spacing-sm); }
  .share.discover .stores .store-btn { justify-content: center; height: 44px; padding: 0; box-shadow: 0 0 14px rgba(45, 212, 191, 0.18); white-space: nowrap; }
  .share.discover .stores .store-btn:hover { border-color: rgba(153, 246, 228, 0.7); }
  .share.discover .stores .store-btn span:last-child { font-size: 14px; }

  .share.discover .applied { margin: 0 0 var(--spacing-md); }
  .share.discover .fchip { height: 36px; padding: 0 12px 0 14px; }
  .share.discover .clear { min-height: 0; padding: 0; }

  .share.discover .sec-head { margin: var(--spacing-2xl) 0 20px; padding-bottom: var(--spacing-md); }
  .share.discover .sec-head.is-top { margin-top: 0; }
  .share.discover .h2 { font-size: 28px; line-height: 1.15; }
  /* The day's label sits over its cards, as on a phone, so a day's cards take the column's full width
     in one grid: every card is one size. */
  .share.discover .day { padding: 20px 0; border-top: 1px solid rgba(153, 246, 228, 0.12); }
  .share.discover .day:first-child { border-top: 0; padding-top: 0; }
  .share.discover .day-label { margin: 0 0 var(--spacing-md); }
  .share.discover .day-body { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr)); gap: var(--spacing-md); }
  /* "See more"'s skeletons take the day's grid, so they stand where the cards will land. */
  .share.discover .more.is-loading .sk-more { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr)); gap: var(--spacing-md); }

  .share.discover .wcard { gap: 20px; }
  .share.discover .w-text { gap: var(--spacing-xs); }
  .share.discover .w-time { font-size: 15px; line-height: 22px; }
  .share.discover .w-title { font-size: 18px; line-height: 24px; }
  .share.discover .w-tags { margin: var(--spacing-xs) 0 2px; }
  .share.discover .w-counts { font-size: 13px; }
  .share.discover .pslot { width: 112px; height: 112px; }
  .share.discover .pslot .poster-month { font-size: 13px; letter-spacing: 1.5px; }
  .share.discover .pslot .poster-day { font-size: 34px; }
  .share.discover .pslot .poster-weekday { font-size: 11px; }

  .share.discover .ghost { display: inline-flex; gap: var(--spacing-sm); min-height: 0; margin-top: 0; padding: 13px 28px; line-height: 22px; }
  .share.discover .ghost.sm { padding: 10px 20px; font-size: 14px; }
  .share.discover .more { display: flex; justify-content: center; gap: 12px; margin-top: var(--spacing-lg); }

  /* Live now as wide rows: LIVE, minutes and pills in one line, the time and place as one line
     of text, then avatars, pips and seats, with "View meetup" on the right. */
  .share.discover .live-label { margin: var(--spacing-2xl) 0 12px; }
  .share.discover .live-label.is-top { margin-top: 0; }
  .share.discover .live-list::before { content: none; }
  .share.discover .live-card { flex-direction: row; align-items: center; gap: var(--spacing-lg); padding: 20px var(--spacing-lg); border-radius: 20px; }
  .share.discover .live-card:hover { box-shadow: 0 0 48px rgba(45, 212, 191, 0.26), 0 14px 34px rgba(0, 0, 0, 0.55); }
  .share.discover .ls-body { flex: 1; gap: var(--spacing-sm); }
  .share.discover .ls-top { justify-content: flex-start; gap: 6px; min-height: 0; }
  .share.discover .ls-state { order: 0; margin-left: 0; }
  .share.discover .ls-title { align-items: center; font-size: 22px; line-height: 30px; }
  .share.discover .ls-meta { display: block; font-size: 14px; line-height: 20px; color: #c3cad2; overflow-wrap: anywhere; }
  .share.discover .ls-meta .meta { display: inline; font-size: inherit; line-height: inherit; color: inherit; }
  .share.discover .ls-meta .meta .ico { display: none; }
  .share.discover .ls-meta .meta + .meta::before { content: ' · '; }
  .share.discover .ls-seats { gap: 14px; margin-top: 2px; }
  .share.discover .ls-seats .lbl { order: 0; margin: 0; }
  .share.discover .ls-seats .pips { order: 0; }
  .share.discover .ls-cta { display: inline-flex; flex-shrink: 0; }
  /* The wide row reads left to right, so its scrim darkens the text side instead of the bottom. */
  .share.discover .live-card.has-photo { align-items: flex-end; min-height: 180px; }
  .share.discover .live-card.has-photo .card-scrim { background: linear-gradient(90deg, rgba(3, 16, 14, 0.95) 0%, rgba(3, 16, 14, 0.82) 40%, rgba(0, 0, 0, 0.25) 100%); }
  .share.discover .live-card.has-photo .ls-cta { background: rgba(3, 16, 14, 0.62); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }



  /* All view: larger tiles, pips beside the seats, and the switch pills centred in a row. */
  .share.discover .w-who { gap: 12px; }
  .share.discover .w-who .pips { display: flex; }
  .share.discover .pair { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: var(--spacing-xl); }
  .share.discover .pair .ghost { white-space: nowrap; line-height: 22px; }

  /* Trending: one row of tall cards, as many as fit (four in the column at full width); the rest
     stay in the ranked list. The picture fills the card under the text. */
  .share.discover .trend { margin-top: 0; margin-bottom: var(--spacing-2xl); }
  .share.discover .tr-head { gap: 10px; margin-bottom: 12px; }
  .share.discover .tr-h { font-size: 19px; line-height: 26px; letter-spacing: -0.02em; }
  .share.discover .tr-sub { display: inline; }
  .share.discover .tr-all-long { display: inline; }
  .share.discover .tr-all-short { display: none; }
  .share.discover .tr-all { min-height: 0; }
  .share.discover .tr-strip { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); grid-template-rows: 236px; grid-auto-rows: 0; gap: 0 12px; margin: 0; padding: 0; overflow: hidden; scroll-snap-type: none; }
  .share.discover .tr-card { padding: 12px; border-radius: 16px; }
  .share.discover .tr-card :is(.card-photo, .card-scrim),
  .share.discover .tr-card.has-photo::before { bottom: 0; height: auto; }
  .share.discover .tr-card .card-scrim { background: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0) 28%, rgba(0, 0, 0, 0.6) 55%, rgba(0, 0, 0, 0.94) 100%); }
  .share.discover .tr-poster { bottom: 0; height: auto; align-items: flex-start; padding: 30px 0 102px; }
  .share.discover .tr-poster.is-fallback { align-items: center; justify-content: flex-start; padding-top: 44px; }
  .share.discover .tr-rank { top: 6px; left: 12px; font-size: 44px; letter-spacing: -2px; text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6); }
  .share.discover .tr-card .tr-gain { top: 10px; right: 10px; padding: 3px 8px; font-size: 11px; }
  .share.discover .tr-gain .ico { width: 11px; height: 11px; stroke-width: 2.6; }
  .share.discover .tr-text { gap: 5px; }
  .share.discover .tr-title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-family: var(--font-display); font-size: 15px; line-height: 1.22; white-space: normal; }
  .share.discover .tr-when { display: block; }
  .share.discover .tr-count { font-size: 12px; font-weight: 700; }
  .share.discover .tr-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(380px, 100%), 1fr)); gap: var(--spacing-md); }
  .share.discover .tr-row { gap: 12px; }
  .share.discover .tr-n { flex-basis: 36px; font-size: 30px; }

  .share.discover .empty { min-height: 300px; justify-content: center; margin-top: 0; padding: var(--spacing-xl) var(--spacing-lg); }
  .share.discover .empty-h { line-height: 30px; }
  .share.discover .empty-p { font-size: 15px; line-height: 22px; }
  .share.discover .empty-acts { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 12px; width: auto; margin-top: 14px; }
  .share.discover .empty-acts .ghost { width: auto; }

  .share.discover .page-footer { margin-top: 72px; padding: 28px 0 40px; font-size: 14px; text-align: left; }
  .share.discover .page-footer a { display: inline; min-height: 0; margin: 0 var(--spacing-sm); padding: 0; }
  .share.discover .page-footer a:first-child { margin-left: 0; }
}
@media (min-width: 1001px) {
  .share.discover .def { flex-wrap: nowrap; }
  .share.discover .def-sep { display: block; }
  .share.discover .def-side { flex-basis: auto; padding-left: var(--spacing-xs); }
  .share.discover .def-steps { flex-wrap: nowrap; }
}

/* The note /scripts/calendar.js shows when a chat app's browser on iPhone would not hand a calendar link to Safari. */
.cal-hint { position: fixed; left: 16px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 1000; max-width: 480px; margin: 0 auto; padding: 12px 16px; border-radius: 14px; border: 1px solid rgba(45, 212, 191, 0.35); background: rgba(8, 14, 16, 0.96); box-shadow: 0 8px 28px rgba(0, 0, 0, 0.5); color: var(--color-text-primary); font-size: 14px; line-height: 1.4; opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity 0.2s ease, transform 0.2s ease; }
.cal-hint.is-shown { opacity: 1; transform: none; pointer-events: auto; }
