/* =========================================================================
   /me — Member web app styles (Phase 0: login + dashboard shell).
   Buildless, vanilla CSS. Brand tokens are defined inline in layouts/app.
   Mirrors the visual language of /clip without depending on its stylesheet.
   ========================================================================= */

/* Brand display face — same OTF the App Clip + /clip ship. Referenced from
   /clip so we don't duplicate the binary; copy to /app/ if /clip is ever
   split to its own host. NersansThree has a single weight (400), so every
   display use sets font-weight:400 + text-transform:uppercase. */
@font-face {
  font-family: "Nersans Three";
  src: url("/clip/NersansThree.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --font-display: "Nersans Three", "Quicksand", "Varela Round", system-ui, sans-serif;
  --r-card: 32px;
}

* { box-sizing: border-box; }

.screen {
  display: flex;
  justify-content: center;
  padding: 32px 20px 48px;
}

.screen-inner {
  width: 100%;
  max-width: 460px;
}

.eyebrow {
  margin: 0 0 18px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gms-terracotta);
}

.hero {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: clamp(44px, 13vw, 60px);
  line-height: 0.92;
  font-weight: 400;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  color: var(--gms-ink);
}

.lead {
  margin: 0 0 28px;
  font-size: 17px;
  line-height: 1.45;
  color: var(--gms-ink);
  opacity: 0.85;
}

.lead strong { opacity: 1; }

/* ── Forms ──────────────────────────────────────────────────────────── */

.form { margin: 0 0 16px; }
.inline-form { margin: 0; }

.field { display: block; margin-bottom: 18px; }

.field-label {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gms-ink);
  opacity: 0.7;
}

.input {
  width: 100%;
  padding: 16px 18px;
  font-size: 18px;
  color: var(--gms-ink);
  background: #fff;
  border: 1.5px solid transparent;
  border-radius: 16px;
  box-shadow: 0 1px 2px rgba(0, 0, 68, 0.06);
  transition: border-color 0.15s ease;
}
.input:focus {
  outline: none;
  border-color: var(--gms-terracotta);
}
.input--code {
  letter-spacing: 0.5em;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

/* ── Buttons ────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 17px 22px;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.06s ease, opacity 0.15s ease;
}
.btn:active { transform: scale(0.98); }

.btn--primary {
  background: var(--gms-terracotta);
  color: var(--gms-beige-warm);
}
.btn--ghost {
  background: transparent;
  color: var(--gms-ink);
  border: 1.5px solid var(--gms-ink);
}

.link-button {
  display: inline-block;
  margin-top: 6px;
  padding: 8px 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--gms-terracotta);
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: underline;
}

/* ── Feedback ───────────────────────────────────────────────────────── */

.error {
  margin: 0 0 18px;
  padding: 12px 16px;
  font-size: 15px;
  font-weight: 600;
  color: #7a1d0e;
  background: rgba(176, 72, 45, 0.12);
  border-radius: 12px;
}

.footnote {
  margin: 14px 0 0;
  font-size: 13px;
  color: var(--gms-ink);
  opacity: 0.55;
}

/* ── Card ───────────────────────────────────────────────────────────── */

.card {
  margin: 8px 0 28px;
  padding: 22px;
  background: var(--gms-beige);
  border-radius: 20px;
}
.card-label {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gms-terracotta);
}
.card-body {
  margin: 0;
  font-size: 16px;
  line-height: 1.45;
  color: var(--gms-ink);
}

/* ── Tabbed app shell ───────────────────────────────────────────────── */

body.has-tabbar .screen { padding-bottom: 108px; } /* clear the fixed tabbar */

.tab-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.tab-head .eyebrow { margin: 0; }
.signout-form { margin: 0; }

.tab-title {
  margin: 0 0 22px;
  font-family: var(--font-display);
  font-size: clamp(34px, 10vw, 46px);
  line-height: 1.0;
  font-weight: 400;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  color: var(--gms-ink);
}

.section-title {
  margin: 26px 0 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gms-ink);
  opacity: 0.6;
}
.day-section:first-of-type .section-title { margin-top: 4px; }

/* ── Banners + empty states ─────────────────────────────────────────── */

.banner {
  margin: 0 0 22px;
  padding: 18px 20px;
  background: var(--gms-beige);
  border-radius: 18px;
}
.banner--reward { background: var(--gms-terracotta); color: var(--gms-beige-warm); }
.banner-title { margin: 0 0 4px; font-size: 16px; font-weight: 700; }
.banner-body { margin: 0; font-size: 15px; line-height: 1.4; opacity: 0.9; }

.empty {
  margin: 8px 0;
  padding: 22px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--gms-ink);
  opacity: 0.6;
  background: rgba(0, 0, 68, 0.03);
  border-radius: 16px;
}

/* ── Stamp card (Card tab) ──────────────────────────────────────────── */

.stampcard {
  margin: 0 0 8px;
  padding: 26px;
  background: var(--gms-terracotta);
  color: var(--gms-beige-warm);
  border-radius: var(--r-card);
}
.stampcard-label {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.8;
}
.stampcard-count { margin: 0 0 18px; line-height: 1; }
.stampcard-num { font-family: var(--font-display); font-size: 80px; font-weight: 400; }
.stampcard-total { font-family: var(--font-display); font-size: 28px; font-weight: 400; opacity: 0.7; }
.stampgrid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  max-width: 320px;
  margin-bottom: 18px;
}
.stampdot {
  flex: 0 0 calc((100% - 4 * 14px) / 5); /* exactly 5 per row → 9 wraps to 5+4, bottom row centered */
  aspect-ratio: 1;
  border-radius: 999px;
  /* Dashed empty dots, matching the iOS CardView's placeholder stamps. */
  border: 1.5px dashed rgba(253, 231, 218, 0.45);
}
.stampdot.is-filled {
  background-color: var(--gms-beige-warm);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23B0482D' d='M12 .587l3.668 7.431 8.2 1.192-5.934 5.784 1.401 8.169L12 18.896l-7.335 3.857 1.401-8.169L.132 9.21l8.2-1.192z'/%3E%3C/svg%3E");
  background-size: 55%;
  background-position: center;
  background-repeat: no-repeat;
  border: 1.5px solid var(--gms-beige-warm);
}

/* Decorative outline-star badge, top-right of the card (mirrors iOS). */
.stampcard { position: relative; }
.stampcard-badge {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(253, 231, 218, 0.16);
  color: rgba(253, 231, 218, 0.75);
}
.stampcard-badge svg { width: 22px; height: 22px; }
.stampcard-foot { margin: 0; font-size: 15px; font-weight: 600; opacity: 0.95; }

/* ── Lists (history, schedule, bookings, credits) ───────────────────── */

.list { list-style: none; margin: 0; padding: 0; }

.list-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 4px;
  border-bottom: 1px solid rgba(0, 0, 68, 0.08);
}
.list-main { font-size: 16px; font-weight: 600; }
.list-meta { font-size: 14px; opacity: 0.6; }

.class-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 4px;
  border-bottom: 1px solid rgba(0, 0, 68, 0.08);
}
.class-time {
  flex: 0 0 64px;
  font-size: 16px;
  font-weight: 700;
  color: var(--gms-terracotta);
  line-height: 1.2;
}
.class-time-hm { font-weight: 700; }
.class-main { flex: 1 1 auto; min-width: 0; }
.class-name { margin: 0 0 2px; font-size: 16px; font-weight: 600; }
.class-meta { margin: 0; font-size: 13px; opacity: 0.6; }
.class-avail { flex: 0 0 auto; }

.pill {
  display: inline-block;
  padding: 5px 11px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  border-radius: 999px;
  background: rgba(0, 0, 68, 0.07);
  color: var(--gms-ink);
  white-space: nowrap;
}
.pill--low { background: rgba(176, 72, 45, 0.14); color: #7a1d0e; }
.pill--full { background: rgba(0, 0, 68, 0.1); color: var(--gms-ink); opacity: 0.65; }
.pill--loyalty { background: var(--gms-terracotta); color: var(--gms-beige-warm); }
.pill--status { background: rgba(0, 29, 162, 0.1); color: var(--gms-blue); }

.credit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 4px;
  border-bottom: 1px solid rgba(0, 0, 68, 0.08);
}
.credit-row.is-dim { opacity: 0.5; }
.credit-main { min-width: 0; }
.credit-name { margin: 0 0 3px; font-size: 16px; font-weight: 600; }
.credit-meta { margin: 0; font-size: 13px; opacity: 0.6; }
.credit-count { flex: 0 0 auto; text-align: right; }
.credit-rem { font-family: var(--font-display); font-size: 26px; font-weight: 400; color: var(--gms-terracotta); }
.credit-total { font-family: var(--font-display); font-size: 16px; font-weight: 400; opacity: 0.55; }

/* ── Bottom tab bar ─────────────────────────────────────────────────── */

/* Floating white pill bar, mirroring the iOS RootTabView treatment. */
.tabbar {
  position: fixed;
  left: 10px; right: 10px;
  bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  display: flex;
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(0, 0, 68, 0.14);
  padding: 4px;
  z-index: 50;
}
.tab {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  margin: 8px 6px;
  padding: 8px 0 7px;
  border-radius: 16px;
  text-decoration: none;
  color: var(--gms-ink);
  opacity: 0.5;
  transition: background-color 0.15s ease, opacity 0.15s ease;
}
/* Active tab gets a filled terracotta-tint pill behind it — mirrors the iOS
   RootTabView selected-pill treatment (was just a color+opacity change). */
.tab.is-active { opacity: 1; color: var(--gms-terracotta); background: rgba(176, 72, 45, 0.12); }
.tab-ico {
  width: 24px; height: 24px;
  fill: currentColor; /* solid glyphs, matching the iOS tab bar */
}
.tab-label { font-size: 11px; font-weight: 700; letter-spacing: 0.02em; }

/* ── Inline book/cancel buttons + notices (Phase 2) ─────────────────── */

.class-avail { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.avail-note { font-size: 12px; font-weight: 600; color: #7a1d0e; }
.book-form, .cancel-form { margin: 0; }

.btn-sm {
  padding: 9px 18px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--gms-beige-warm);
  background: var(--gms-terracotta);
  border: none;
  border-radius: 999px;
  cursor: pointer;
}
.btn-sm--ghost {
  background: transparent;
  color: var(--gms-ink);
  border: 1.5px solid rgba(0, 0, 68, 0.22);
}

.notice {
  margin: 0 0 20px;
  padding: 14px 18px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 14px;
}
.notice--ok  { background: rgba(0, 29, 162, 0.10); color: var(--gms-blue); }
.notice--err { background: rgba(176, 72, 45, 0.14); color: #7a1d0e; }

.banner-cta { display: inline-block; margin-top: 14px; text-decoration: none; }

/* ── Checkout (Phase 4) ─────────────────────────────────────────────── */

.pack-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 4px;
  border-bottom: 1px solid rgba(0, 0, 68, 0.08);
}
.pack-main { min-width: 0; }
.pack-name { margin: 0 0 3px; font-size: 16px; font-weight: 700; }
.pack-meta { margin: 0; font-size: 13px; opacity: 0.6; }
.pack-buy { margin: 0; flex: 0 0 auto; }

.buy-cta { margin-top: 22px; text-decoration: none; }

.order {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 0 0 22px;
  padding: 18px 20px;
  background: var(--gms-beige);
  border-radius: 18px;
}
.order-name { margin: 0 0 3px; font-size: 16px; font-weight: 700; }
.order-meta { margin: 0; font-size: 13px; opacity: 0.65; }
.order-total { margin: 0; font-family: var(--font-display); font-size: 22px; font-weight: 400; color: var(--gms-terracotta); }
.order-price { flex: 0 0 auto; text-align: right; }
.order-was { margin: 2px 0 0; font-size: 13px; font-weight: 600; opacity: 0.6; }

/* Promo code on the checkout page (App::CheckoutController). */
.promo-form { margin: 0 0 22px; }
.promo-row { display: flex; gap: 10px; align-items: stretch; }
.promo-row .input { flex: 1; min-width: 0; }
.promo-row .btn-sm { flex: 0 0 auto; }
.promo-error { margin: 10px 0 0; }
.promo-applied {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0;
  padding: 12px 16px; border-radius: 14px; background: rgba(0, 29, 162, 0.10); color: var(--gms-blue);
  font-size: 15px; font-weight: 600;
}
.promo-remove { margin: 0; padding: 4px 0; }

#express-checkout { margin: 0 0 16px; }
#payment-element { margin: 0 0 20px; }
.pay-section-label {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gms-ink);
  opacity: 0.55;
}
.btn[disabled] { opacity: 0.5; cursor: default; }

/* ── Class end time ─────────────────────────────────────────────────── */
.class-end { display: block; font-size: 12px; font-weight: 600; opacity: 0.55; }

/* ── Week pagination (Schedule) ─────────────────────────────────────── */
.week-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 18px;
}
.week-link {
  font-size: 14px;
  font-weight: 700;
  color: var(--gms-terracotta);
  text-decoration: none;
}
.week-link.is-disabled { color: var(--gms-ink); opacity: 0.3; }
.week-range { font-size: 13px; font-weight: 600; opacity: 0.6; }

/* ── Notice inline CTA (e.g. no-credit → Buy) ───────────────────────── */
.notice-cta {
  display: inline-block;
  margin-left: 8px;
  font-weight: 800;
  color: var(--gms-terracotta);
  text-decoration: underline;
}

/* ── Motion ─────────────────────────────────────────────────────────── */
/* Gold-standard /clip + iOS fade the screen up on appear and pop each stamp
   in with a staggered scale. Gated behind prefers-reduced-motion so print,
   reduced-motion and the no-JS path all show the finished state immediately
   (the hidden start state only exists when motion is allowed). */
@media (prefers-reduced-motion: no-preference) {
  .screen-inner {
    animation: meFadeUp 280ms cubic-bezier(0.22, 1, 0.36, 1) both;
  }
  @keyframes meFadeUp {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: none; }
  }

  .stampdot.is-filled {
    animation: meStampPop 250ms cubic-bezier(0.34, 1.56, 0.64, 1) both;
  }
  /* 30ms stagger by position — matches StampDots.swift's pop timing. */
  .stampdot:nth-child(1).is-filled { animation-delay: 0ms; }
  .stampdot:nth-child(2).is-filled { animation-delay: 30ms; }
  .stampdot:nth-child(3).is-filled { animation-delay: 60ms; }
  .stampdot:nth-child(4).is-filled { animation-delay: 90ms; }
  .stampdot:nth-child(5).is-filled { animation-delay: 120ms; }
  .stampdot:nth-child(6).is-filled { animation-delay: 150ms; }
  .stampdot:nth-child(7).is-filled { animation-delay: 180ms; }
  .stampdot:nth-child(8).is-filled { animation-delay: 210ms; }
  .stampdot:nth-child(9).is-filled { animation-delay: 240ms; }
  @keyframes meStampPop {
    from { transform: scale(0.5); opacity: 0; }
    to   { transform: scale(1);   opacity: 1; }
  }
}

/* ── Card header lockup + account chip (Design P1 follow-up) ─────────── */
.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.lockup { display: inline-flex; align-items: center; gap: 9px; }
.lockup-mark { display: block; border-radius: 999px; }
.lockup-word {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--gms-terracotta);
}
.account-chip {
  padding: 8px 15px;
  font-size: 13px;
  font-weight: 700;
  color: var(--gms-ink);
  background: var(--gms-beige);
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.06s ease;
}
.account-chip:active { transform: scale(0.97); }

/* ── Section head with a count (e.g. "12 CHECK-INS") ─────────────────── */
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 26px 0 10px;
}
.section-head .section-title { margin: 0; }
.section-count {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gms-terracotta);
}

/* ── Visit-row glyphs (✓ visit / ★ reward) ──────────────────────────── */
.list-row { gap: 10px; }
.list-row .list-main { flex: 1 1 auto; }
.visit-glyph {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(0, 0, 68, 0.06);
  color: var(--gms-ink);
  opacity: 0.5;
}
.visit-glyph svg { width: 13px; height: 13px; }
.visit-glyph.is-reward {
  background: rgba(176, 72, 45, 0.14);
  color: var(--gms-terracotta);
  opacity: 1;
}
.visit-glyph.is-reward svg { fill: currentColor; }

/* ── Account / profile page ─────────────────────────────────────────── */

.back-link {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 14px;
  font-weight: 700;
  color: var(--gms-terracotta);
  text-decoration: none;
}

.profile-identity {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 10px;
  padding: 20px;
  background: var(--gms-beige);
  border-radius: 22px;
}
.avatar {
  flex: 0 0 auto;
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--gms-terracotta);
  color: var(--gms-beige-warm);
  font-family: var(--font-display);
  font-size: 26px;
  text-transform: uppercase;
}
/* Profile picture (2026-07-27): the photo fills the initials disc; the
   overflow clip keeps the circle. Same on the card header chip. */
.avatar { overflow: hidden; }
.avatar img,
.lo-profile-chip img { width: 100%; height: 100%; object-fit: cover; border-radius: 999px; }
.avatar-actions { display: flex; align-items: center; gap: 14px; margin-top: 6px; }
.avatar-actions form { margin: 0; }
.profile-name { margin: 0 0 2px; font-size: 18px; font-weight: 700; }
.profile-phone { margin: 0; font-size: 14px; opacity: 0.6; letter-spacing: 0.03em; }

.profile-section { margin: 0 0 6px; }
.profile-row {
  display: flex;
  flex-wrap: wrap; /* CTA drops below the text on narrow screens */
  align-items: center;
  justify-content: space-between;
  gap: 12px 14px;
  padding: 16px 18px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 1px 2px rgba(0, 0, 68, 0.05);
}
.profile-row-main { flex: 1 1 200px; }
.profile-row-main { min-width: 0; }
.profile-row-title { margin: 0 0 3px; font-size: 15px; font-weight: 700; }
.profile-row-meta { margin: 0; font-size: 13px; opacity: 0.6; line-height: 1.35; }
.profile-row form { margin: 0; flex: 0 0 auto; }
.profile-row .btn-sm { white-space: nowrap; }

.profile-action { margin: 0 0 10px; }
.profile-action .link-button { margin-top: 0; }

.profile-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  margin: 26px 0 0;
  padding-top: 18px;
  border-top: 1px solid rgba(0, 0, 68, 0.1);
}
.profile-legal a {
  font-size: 14px;
  font-weight: 600;
  color: var(--gms-ink);
  opacity: 0.75;
}
.profile-legal a.is-danger { color: var(--gms-terracotta); opacity: 1; }

.profile-foot { margin: 22px 0 0; }
.profile-foot p { margin: 0 0 2px; font-size: 12.5px; opacity: 0.45; }

/* ── Card tab parity (app CTA, link card, visit rows, chip) ─────────── */

.app-cta { margin: 14px 0 6px; gap: 10px; }
.btn-ico { width: 19px; height: 19px; flex: 0 0 auto; }

.chip-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  margin-right: 7px;
  border-radius: 999px;
  background: var(--gms-terracotta);
  color: var(--gms-beige-warm);
  font-size: 12px;
  font-weight: 800;
}
.account-chip { display: inline-flex; align-items: center; text-decoration: none; }

.link-card {
  margin: 16px 0 6px;
  padding: 22px;
  background: var(--gms-beige);
  border: 1.5px dashed rgba(0, 0, 68, 0.28);
  border-radius: 20px;
}
.link-card-eyebrow {
  margin: 0 0 8px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--gms-ink);
  opacity: 0.55;
}
.link-card-title {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 400;
  text-transform: uppercase;
  line-height: 1.05;
  color: var(--gms-ink);
}
.link-card-body { margin: 0 0 16px; font-size: 15px; line-height: 1.45; color: var(--gms-ink); opacity: 0.8; }

.visit-row { align-items: center; }
.visit-when {
  flex: 0 0 58px;
  font-size: 14px;
  font-weight: 700;
  color: var(--gms-ink);
  line-height: 1.25;
}
.visit-time { font-size: 12px; font-weight: 600; opacity: 0.55; }
/* iOS uses a bare terracotta check (no disc) on visit rows. */
.visit-glyph { background: none; color: var(--gms-terracotta); opacity: 0.9; width: 24px; height: 24px; }
.visit-glyph svg { width: 17px; height: 17px; }
.visit-glyph.is-reward { background: none; }

.card-foot { text-align: center; margin-top: 30px; }

/* ── Rich empty states (Bookings / Credits, mirrors iOS) ────────────── */

.empty-state { text-align: center; padding: 34px 10px 8px; }
.empty-ico {
  display: inline-flex;
  width: 56px;
  height: 56px;
  color: var(--gms-ink);
  opacity: 0.45;
  margin-bottom: 14px;
}
.empty-ico svg { width: 100%; height: 100%; }
.empty-title { margin: 0 0 8px; font-size: 20px; font-weight: 700; color: var(--gms-ink); }
.empty-body { margin: 0 auto 22px; max-width: 300px; font-size: 15.5px; line-height: 1.45; color: var(--gms-ink); opacity: 0.7; }
.empty-cta { max-width: 320px; margin: 0 auto; }
.empty-foot { margin: 22px 0 0; font-size: 15px; line-height: 1.5; color: var(--gms-ink); opacity: 0.75; }
.find-account-link { font-weight: 800; color: var(--gms-terracotta); text-decoration: none; }

/* ── Ideas tab (Wishlist) ───────────────────────────────────────────── */

.idea-share { margin: 0 0 26px; }
.idea-share-cta { gap: 10px; cursor: pointer; list-style: none; }
.idea-share-cta::-webkit-details-marker { display: none; }
.idea-share[open] .idea-share-cta { margin-bottom: 16px; }
.idea-share .idea-form { margin-bottom: 0; }

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 999px;
  background: var(--gms-blue);
  color: #fff;
}
.status-dot { width: 6px; height: 6px; border-radius: 999px; background: rgba(255, 255, 255, 0.7); }


.idea-form { margin-bottom: 10px; }
.input--area { resize: vertical; min-height: 76px; font-family: inherit; }
.field-optional { font-weight: 500; opacity: 0.5; text-transform: none; letter-spacing: 0; }

.idea-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 15px 4px;
  border-bottom: 1px solid rgba(0, 0, 68, 0.08);
}
.vote-form { margin: 0; flex: 0 0 auto; }
.vote-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  min-width: 46px;
  padding: 7px 10px;
  background: rgba(0, 0, 68, 0.05);
  border: 1.5px solid transparent;
  border-radius: 12px;
  color: var(--gms-ink);
  cursor: pointer;
  transition: transform 0.06s ease;
}
.vote-btn:active { transform: scale(0.95); }
.vote-btn svg { width: 14px; height: 14px; fill: currentColor; opacity: 0.55; }
.vote-count { font-family: var(--font-display); font-size: 16px; line-height: 1.1; }
.vote-btn.is-voted {
  background: rgba(176, 72, 45, 0.12);
  border-color: var(--gms-terracotta);
  color: var(--gms-terracotta);
}
.vote-btn.is-voted svg { opacity: 1; }

.idea-main { min-width: 0; padding-top: 2px; }
.idea-title { margin: 0 0 3px; font-size: 16px; font-weight: 600; }
.idea-body { margin: 0 0 6px; font-size: 14px; line-height: 1.4; opacity: 0.7; }
.idea-body--muted { opacity: 0.5; }

/* ═══════════════════════════════════════════════════════════════════
   V2 PARTNER LOYALTY — hub, offer detail, switch, reward wallet
   Design tokens + spacing per the 2026-07 design handoff. Radii: hero 28,
   shelf 24, rule tiles 16, pills 999. Flat color only, blobs ≤16%.
   ═══════════════════════════════════════════════════════════════════ */

/* ── Hub header ─────────────────────────────────────────────────── */
.lo-header { display: flex; align-items: flex-start; justify-content: space-between; margin: 4px 0 14px; position: relative; z-index: 2; }
.lo-header > div:first-child { min-width: 0; }
.lo-greeting { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: 22px; text-transform: uppercase; line-height: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lo-subline { margin: 5px 0 0; font-size: 13px; opacity: 0.55; font-weight: 500; }
.lo-profile-chip { width: 42px; height: 42px; border-radius: 50%; background: var(--gms-beige); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 14px; color: var(--gms-ink); text-decoration: none; flex: none; overflow: hidden; }
/* "See all N visits" — continues the visit list visually, recessed so it
   reads as an entry point rather than another visit (2026-07-27). */
.see-all-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 13px 16px; border-radius: 16px; background: rgba(255, 255, 255, 0.55); font-size: 14px; font-weight: 700; color: var(--gms-ink); text-decoration: none; margin-top: 6px; }
.see-all-row span { opacity: 0.4; }
/* Per-offer small print — activation sheet + reward ticket (2026-07-27). */
.lo-fineprint { margin: 10px 2px 0; font-size: 11px; line-height: 1.45; color: var(--gms-ink); opacity: 0.5; }

/* ── Pills & marks ──────────────────────────────────────────────── */
.lo-pill { display: inline-block; padding: 5px 12px; border-radius: 999px; font-family: var(--font-display); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; }
.lo-pill--active { background: rgba(253,231,218,0.18); color: var(--gms-beige-warm); }
.lo-pill--cta { background: var(--gms-terracotta); color: var(--gms-beige-warm); padding: 10px 16px; font-size: 12.5px; letter-spacing: 0.05em; }
.lo-pill--soon { background: rgba(0,29,162,0.1); color: var(--gms-blue); }
.lo-pill--new { background: rgba(0,29,162,0.1); color: var(--gms-blue); padding: 6px 14px; font-size: 12px; }
.lo-pill--days { background: var(--gms-blue); color: var(--gms-beige-warm); padding: 6px 14px; font-size: 12px; }
.lo-pill--muted { background: rgba(0,0,68,0.5); color: var(--gms-beige-warm); padding: 6px 14px; font-size: 12px; }
.lo-pill--closed { background: rgba(0,0,68,0.45); color: var(--gms-beige-warm); font-size: 10.5px; }
.lo-mark { width: 42px; height: 42px; border-radius: 50%; background: var(--gms-beige-warm); color: var(--gms-terracotta); display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 15px; flex: none; }
.lo-mark--ink { background: var(--gms-ink); color: var(--gms-beige-warm); }
.lo-mark--sm { width: 26px; height: 26px; font-size: 10px; }
.lo-mark--soon { background: rgba(0,0,68,0.14); color: var(--gms-ink); }
/* Partner logo image fills the mark disc, clipped to the circle. */
.lo-mark { overflow: hidden; }
.lo-mark img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; display: block; }

/* ── Active card hero ───────────────────────────────────────────── */
.lo-hero { background: var(--gms-terracotta); border-radius: 28px; padding: 22px 22px 20px; color: var(--gms-beige-warm); position: relative; overflow: hidden; margin-bottom: 12px; }
.lo-hero--expired { background: var(--gms-beige); color: var(--gms-ink); }
.lo-hero-blob { position: absolute; right: -70px; bottom: -80px; width: 230px; opacity: 0.14; pointer-events: none; }
.lo-hero-top { display: flex; align-items: center; gap: 12px; position: relative; }
.lo-hero-who { flex: 1; min-width: 0; }
.lo-hero-name { margin: 0; font-family: var(--font-display); font-size: 19px; text-transform: uppercase; line-height: 1; }
.lo-hero-sub { margin: 3px 0 0; font-size: 12.5px; opacity: 0.8; font-weight: 500; line-height: 1.3; }
.lo-hero-progress { display: flex; align-items: center; gap: 20px; margin-top: 16px; position: relative; }
.lo-hero-progress--classic { gap: 18px; }
.lo-hero-progress--classic .lo-hero-count { flex: 1; text-align: right; }
.lo-hero-count.is-muted { opacity: 0.55; }
.lo-count { margin: 0; font-family: var(--font-display); font-size: 44px; line-height: 0.95; }
.lo-count span { font-size: 24px; opacity: 0.7; }
.lo-count-noun { margin: 4px 0 8px; font-size: 13px; font-weight: 600; opacity: 0.9; white-space: nowrap; }
.lo-chips { display: flex; gap: 8px; margin-top: 14px; position: relative; flex-wrap: wrap; }
.lo-chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: 999px; background: rgba(253,231,218,0.16); color: var(--gms-beige-warm); font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.lo-hero--expired .lo-chip { background: rgba(0,0,68,0.06); color: var(--gms-ink); }

/* ── Star grids ─────────────────────────────────────────────────── */
.lo-stargrid { display: inline-flex; flex-direction: column; align-items: center; gap: 9px; }
.lo-stargrid-row { display: flex; align-items: center; gap: 9px; }
/* Past nine: the stamps beyond the grid, in its empty tenth slot. */
.lo-more { flex: none; height: var(--star-size); min-width: calc(var(--star-size) * 1.35); padding: 0 calc(var(--star-size) * 0.28); box-sizing: border-box; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: calc(var(--star-size) * 0.52); line-height: 1; }
.lo-stargrid.on-dark .lo-more { background: var(--gms-beige-warm); color: var(--gms-terracotta); }
.lo-stargrid.on-light .lo-more { background: var(--gms-terracotta); color: var(--gms-beige-warm); }
.lo-stargrid .lo-star { width: var(--star-size); height: var(--star-size); display: block; }
.lo-stargrid.on-dark .lo-star path { fill: none; stroke: rgba(253,231,218,0.4); }
.lo-stargrid.on-dark .lo-star.is-filled path { fill: var(--gms-beige-warm); stroke: var(--gms-beige-warm); }
.lo-stargrid.on-light .lo-star path { fill: none; stroke: rgba(0,0,68,0.22); }
.lo-stargrid.on-light .lo-star.is-filled path { fill: var(--gms-terracotta); stroke: var(--gms-terracotta); }
.lo-tinystars { display: flex; gap: 6px; align-items: center; }
.lo-tinystars .lo-star { width: 15px; height: 15px; display: block; overflow: visible; }
.lo-tinystars.on-dark .lo-star path { fill: none; stroke: rgba(253,231,218,0.4); }
.lo-tinystars.on-dark .lo-star.is-filled path { fill: var(--gms-beige-warm); stroke: var(--gms-beige-warm); }
.lo-tinystars.on-light .lo-star path { fill: none; stroke: rgba(0,0,68,0.22); }
.lo-tinystars.on-light .lo-star.is-filled path { fill: var(--gms-terracotta); stroke: var(--gms-terracotta); }

/* ── Next class strip / rewards strip / expiry banner ───────────── */
.lo-nextclass, .lo-rewards-strip { display: flex; align-items: center; gap: 14px; background: var(--gms-beige-warm); border-radius: 24px; padding: 14px 18px; margin-bottom: 12px; text-decoration: none; color: var(--gms-ink); }
.lo-nextclass-when { width: 46px; height: 46px; border-radius: 16px; background: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; flex: none; }
.lo-nextclass-when b { font-family: var(--font-display); font-weight: 400; font-size: 15px; line-height: 1; text-transform: uppercase; }
/* "TODAY" — 5 glyphs of wide Nersans in a tile sized for "MON"
   (2026-07-27, same fix as iOS: shrink the label, not the tile). */
.lo-nextclass-when b.is-long { font-size: 10.5px; letter-spacing: 0.02em; }
.lo-nextclass-when span { font-size: 10.5px; font-weight: 700; opacity: 0.55; }
.lo-nextclass-main, .lo-rewards-copy { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.lo-nextclass-main b { font-weight: 700; font-size: 14.5px; }
.lo-nextclass-main span, .lo-rewards-copy span { font-size: 12.5px; opacity: 0.6; }
.lo-nextclass-cta { padding: 9px 15px; border-radius: 999px; border: 2px solid var(--gms-ink); font-family: var(--font-display); font-size: 12px; text-transform: uppercase; flex: none; }
.lo-rewards-star { width: 40px; height: 40px; border-radius: 14px; background: #fff; display: flex; align-items: center; justify-content: center; flex: none; }
.lo-rewards-star svg { width: 20px; height: 20px; fill: var(--gms-terracotta); }
.lo-rewards-copy b { font-weight: 700; font-size: 14.5px; }
.lo-rewards-arrow { font-size: 20px; opacity: 0.4; }
.lo-expiry-banner { display: flex; align-items: center; gap: 12px; background: var(--gms-blue); color: var(--gms-beige-warm); border-radius: 20px; padding: 14px 16px; margin-bottom: 14px; text-decoration: none; }
.lo-expiry-copy { flex: 1; font-size: 13px; font-weight: 600; line-height: 1.4; }
.lo-expiry-open { padding: 8px 13px; border-radius: 999px; background: var(--gms-beige-warm); color: var(--gms-blue); font-family: var(--font-display); font-size: 11.5px; text-transform: uppercase; white-space: nowrap; }

/* ── Connect your studio account ─────────────────────────────────
   Shown on the hub to members who aren't linked to Mindbody. Ink
   ground so it reads as informational, not as an error or a reward. */
.lo-connect-banner { display: flex; align-items: flex-start; gap: 12px; background: var(--gms-ink); color: var(--gms-beige-warm); border-radius: 20px; padding: 14px 16px; margin-bottom: 14px; }
.lo-connect-copy { flex: 1; min-width: 0; }
.lo-connect-title { margin: 0; font-size: 14px; font-weight: 800; }
.lo-connect-body { margin: 4px 0 0; font-size: 12px; font-weight: 500; line-height: 1.4; opacity: 0.9; }
.lo-connect-cta { display: inline-block; margin-top: 8px; font-size: 13px; font-weight: 800; color: var(--gms-beige-warm); text-decoration: underline; }
.lo-connect-dismiss { flex: none; font-size: 18px; line-height: 1; padding: 2px 4px; color: var(--gms-beige-warm); opacity: 0.65; text-decoration: none; }

/* ── Shelf ──────────────────────────────────────────────────────── */
.lo-shelf-title { margin: 16px 0 8px; font-family: var(--font-display); font-weight: 400; font-size: 15px; text-transform: uppercase; opacity: 0.55; letter-spacing: 0.06em; }
.lo-shelf { display: flex; flex-direction: column; gap: 10px; }
.lo-shelfcard { display: flex; align-items: center; gap: 14px; background: var(--gms-beige); border-radius: 24px; padding: 15px 18px; text-decoration: none; color: var(--gms-ink); }
.lo-shelfcard--soon { background: transparent; border: 2.5px dashed rgba(0,0,68,0.2); }
.lo-shelf-vessel { flex: none; display: flex; align-items: center; justify-content: center; min-width: 46px; }
.lo-shelfcard--locked .lo-shelf-vessel { opacity: 0.45; }
.lo-shelf-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.lo-shelf-main.is-dim { opacity: 0.62; }
.lo-shelf-main b { font-family: var(--font-display); font-weight: 400; font-size: 16.5px; text-transform: uppercase; line-height: 1.05; }
.lo-shelf-offer { font-size: 13px; font-weight: 600; }
.lo-shelf-rule { font-size: 12px; opacity: 0.6; }
.lo-shelf-paused { text-align: right; flex: none; }
.lo-shelf-paused b { font-family: var(--font-display); font-weight: 400; font-size: 17px; display: block; }
.lo-shelf-paused span { font-size: 10px; font-weight: 700; opacity: 0.55; }
.lo-shelf-locked { text-align: center; flex: none; width: 64px; color: var(--gms-ink); }
.lo-shelf-locked svg { width: 18px; height: 18px; margin: 0 auto; display: block; }
.lo-shelf-locked span { font-size: 10px; font-weight: 700; opacity: 0.55; display: block; margin-top: 3px; line-height: 1.25; }

/* ── Expired hero extras ────────────────────────────────────────── */
.lo-expired-copy { margin: 14px 0 0; font-size: 13px; font-weight: 600; line-height: 1.5; }
.lo-expired-actions { display: flex; gap: 8px; margin-top: 16px; }
.lo-expired-actions form { flex: 1; }
.lo-expired-actions .btn { width: 100%; box-sizing: border-box; }
.lo-classic-strip { display: flex; align-items: center; gap: 12px; padding: 14px 18px; background: rgba(0,29,162,0.06); border-radius: 20px; margin-bottom: 12px; }
.lo-classic-strip svg { width: 18px; height: 18px; flex: none; }
.lo-classic-strip p { margin: 0; font-size: 13px; font-weight: 600; line-height: 1.45; }

/* ── Onboarding ─────────────────────────────────────────────────── */
.lo-onboarding { padding: 24px 0 12px; }
.lo-onboard-cards { position: relative; height: 210px; margin-bottom: 26px; }
.lo-onboard-old { position: absolute; left: 4px; top: 8px; width: 230px; padding: 16px 18px; background: #fff; border-radius: 10px; transform: rotate(-5deg); box-shadow: 0 4px 14px rgba(0,0,68,0.08); border: 1px solid rgba(0,0,68,0.08); }
.lo-onboard-old-label { margin: 0 0 10px; font-family: var(--font-display); font-size: 12px; text-transform: uppercase; opacity: 0.7; }
.lo-onboard-new { position: absolute; right: 2px; bottom: -6px; width: 200px; padding: 16px 18px; background: var(--gms-terracotta); border-radius: 22px; transform: rotate(4deg); box-shadow: 0 12px 32px rgba(0,0,68,0.12); color: var(--gms-beige-warm); }
.lo-onboard-new-label { margin: 0; font-family: var(--font-display); font-size: 12px; text-transform: uppercase; }
.lo-onboard-count { margin: 8px 0 0; font-family: var(--font-display); font-size: 38px; line-height: 1; }
.lo-onboard-count span { font-size: 19px; opacity: 0.7; }
.lo-onboard-note { margin: 6px 0 0; font-size: 11px; opacity: 0.85; font-weight: 600; }
.lo-onboard-title { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: 38px; text-transform: uppercase; line-height: 0.98; }
.lo-onboard-body { margin: 12px 0 0; font-size: 14.5px; font-weight: 500; opacity: 0.7; line-height: 1.55; max-width: 300px; }
.lo-onboard-cta { margin-top: 22px; }
.btn--ink { background: var(--gms-ink); color: var(--gms-beige-warm); }

/* ── Offer detail ───────────────────────────────────────────────── */
.lo-detail-screen { background: var(--gms-beige-warm); min-height: 100dvh; }
.lo-detail-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.lo-back { width: 40px; height: 40px; border-radius: 50%; background: rgba(0,0,68,0.06); display: flex; align-items: center; justify-content: center; color: var(--gms-ink); text-decoration: none; flex: none; }
.lo-back svg { width: 16px; height: 16px; }
.lo-detail-hero { display: flex; align-items: flex-end; gap: 18px; margin-top: 6px; }
.lo-detail-title { padding-bottom: 6px; min-width: 0; }
.lo-detail-partner { margin: 0; display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; }
.lo-detail-headline { margin: 8px 0 0; font-family: var(--font-display); font-weight: 400; font-size: 33px; text-transform: uppercase; line-height: 0.98; }
.lo-rules { background: var(--gms-bg); border-radius: 24px; padding: 20px; margin-top: 20px; display: flex; flex-direction: column; gap: 16px; }
.lo-rule { display: flex; gap: 14px; align-items: flex-start; }
.lo-rule-ico { width: 44px; height: 44px; border-radius: 16px; background: var(--gms-beige); flex: none; display: flex; align-items: center; justify-content: center; font-size: 20px; }
.lo-rule-title { margin: 0; font-weight: 700; font-size: 15.5px; }
.lo-rule-sub { margin: 2px 0 0; font-size: 13px; opacity: 0.6; line-height: 1.45; }
.lo-detail-foot { margin: 14px 4px 0; font-size: 12.5px; opacity: 0.55; line-height: 1.5; }
.lo-detail-cta { margin-top: 22px; padding-bottom: 10px; }
.lo-detail-cta form { margin: 0; }
.lo-detail-cta .lo-gift-cta { margin-top: 10px; }
.btn--block { display: block; width: 100%; box-sizing: border-box; text-align: center; }
.btn--outline { background: transparent; border: 2px solid rgba(0,0,68,0.25); color: var(--gms-ink); }

/* ── Switch page ────────────────────────────────────────────────── */
.lo-switch-title { margin: 16px 0 20px; font-family: var(--font-display); font-weight: 400; font-size: 27px; text-transform: uppercase; line-height: 1; text-align: center; }
.lo-switch-compare { display: flex; gap: 10px; align-items: stretch; }
.lo-switch-side { flex: 1; border-radius: 20px; padding: 14px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.lo-switch-side--current { background: var(--gms-beige); }
.lo-switch-side--target { background: var(--gms-beige-warm); }
.lo-switch-arrow { display: flex; align-items: center; font-size: 18px; opacity: 0.4; }
.lo-switch-name { margin: 8px 0 0; font-size: 12.5px; font-weight: 700; }
.lo-switch-consequence { margin: 2px 0 0; font-size: 12px; opacity: 0.6; font-weight: 600; }
.lo-switch-consequence.is-loss { color: var(--gms-terracotta); opacity: 1; font-weight: 700; }
.lo-switch-copy { margin: 16px 10px 0; font-size: 13px; opacity: 0.65; text-align: center; line-height: 1.5; font-weight: 500; }
.lo-switch-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }

/* ── Reward wallet ticket ───────────────────────────────────────── */
.lo-wallet-head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.lo-wallet-title { flex: 1; margin: 0; font-family: var(--font-display); font-weight: 400; font-size: 24px; text-transform: uppercase; white-space: nowrap; }
.lo-ticket-wrap { position: relative; }
.lo-ticket-wrap.is-muted .lo-ticket { filter: grayscale(0.85); opacity: 0.75; }
.lo-ticket { background: #fff; border-radius: 24px; box-shadow: 0 4px 14px rgba(0,0,68,0.08); overflow: hidden; }
.lo-ticket-top { padding: 24px 24px 20px; }
.lo-ticket-head { display: flex; align-items: center; gap: 12px; }
.lo-ticket-name { margin: 0; font-family: var(--font-display); font-size: 19px; text-transform: uppercase; line-height: 1; }
.lo-ticket-sub { margin: 3px 0 0; font-size: 12.5px; opacity: 0.6; font-weight: 600; }
.lo-ticket-code-row { display: flex; gap: 18px; align-items: center; margin-top: 18px; }
.lo-ticket-qr { flex: none; width: 116px; }
.lo-ticket-qr svg { width: 116px; height: 116px; display: block; border-radius: 8px; }
.lo-ticket-code { flex: 1; min-width: 0; }
.lo-ticket-code-label { margin: 0; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.5; font-weight: 700; }
.lo-ticket-code-value { margin: 6px 0 0; font-family: var(--font-display); font-size: 30px; letter-spacing: 0.06em; line-height: 1.05; overflow-wrap: break-word; }
/* Merchant pool codes come in whatever length the partner prints —
   step the size down so long codes wrap at their hyphens, never
   mid-token at display size. */
.lo-ticket-code-value--long { font-size: 19px; letter-spacing: 0.04em; line-height: 1.25; }
.lo-ticket-code-value--huge { font-size: 15px; letter-spacing: 0.02em; line-height: 1.35; }
.lo-ticket-valid { margin: 8px 0 0; font-size: 11.5px; opacity: 0.55; font-weight: 600; }
.lo-ticket-comp { margin-top: 16px; }
.lo-ticket-comp-line { margin: 6px 0 12px; font-size: 14px; font-weight: 600; line-height: 1.5; }
.lo-ticket-tear { position: relative; height: 0; border-top: 2.5px dashed rgba(0,0,68,0.18); margin: 0 14px; }
.lo-ticket-tear span { position: absolute; top: -12px; width: 24px; height: 24px; border-radius: 50%; background: var(--gms-beige-warm); }
.lo-ticket-tear span:first-child { left: -26px; }
.lo-ticket-tear span:last-child { right: -26px; }
.lo-ticket-bottom { padding: 18px 24px 22px; }
.lo-ticket-how { margin: 0 0 8px; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.5; font-weight: 700; }
.lo-ticket-steps { margin: 0; padding-left: 18px; font-size: 13px; line-height: 1.6; }
.lo-ticket-stamp { position: absolute; top: 84px; left: 50%; transform: translateX(-50%) rotate(-9deg); border: 4px solid var(--gms-terracotta); color: var(--gms-terracotta); border-radius: 14px; padding: 8px 20px; font-family: var(--font-display); font-size: 26px; letter-spacing: 0.1em; text-transform: uppercase; background: rgba(253,231,218,0.9); white-space: nowrap; }
.lo-ticket-stamp--expired { border-color: var(--gms-ink); color: var(--gms-ink); opacity: 0.8; }
.lo-ticket-audit { margin: 14px 6px 0; font-size: 12.5px; opacity: 0.6; line-height: 1.5; font-weight: 600; }
.lo-remind-strip { display: flex; align-items: center; gap: 12px; margin-top: 14px; padding: 13px 16px; background: rgba(0,29,162,0.06); border-radius: 18px; color: var(--gms-blue); }
.lo-remind-strip svg { width: 17px; height: 17px; flex: none; }
.lo-remind-strip p { margin: 0; font-size: 12.5px; font-weight: 600; }
.lo-expired-nudge { display: flex; gap: 12px; align-items: center; background: var(--gms-beige-warm); border-radius: 20px; padding: 16px 18px; margin-top: 14px; }
.lo-expired-nudge p { margin: 0; flex: 1; font-size: 13px; font-weight: 600; line-height: 1.45; }
.lo-earlier-title { margin-top: 22px; }

/* "Your other rewards" as cards (offer-shelf language: white + soft
   shadow so they read as reward cards, not a bland list). Each is a
   tappable link that opens as the hero ticket above. */
.lo-rewardcards { margin-top: 4px; }
.lo-rewardcard {
  background: var(--gms-white, #fff);
  box-shadow: 0 8px 22px rgba(0, 0, 68, 0.06);
  transition: transform 130ms ease, box-shadow 130ms ease;
  -webkit-tap-highlight-color: transparent;
}
.lo-rewardcard:active { transform: scale(0.985); box-shadow: 0 4px 12px rgba(0, 0, 68, 0.08); }
.lo-rewardcard.is-muted { opacity: 0.72; }
.lo-rewardcard .lo-shelf-main b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lo-rewardcard .lo-shelf-rule { letter-spacing: 0.04em; }
.lo-rewardcard-status { flex: none; align-self: center; }

/* ── Profile additions ──────────────────────────────────────────── */
.lo-stat-tiles { display: flex; gap: 10px; margin: 12px 0 4px; }
.lo-stat-tile { flex: 1; background: var(--gms-beige-warm); border-radius: 20px; padding: 14px 16px; text-align: center; }
.lo-stat-num { margin: 0; font-family: var(--font-display); font-size: 26px; }
.lo-stat-label { margin: 2px 0 0; font-size: 11px; font-weight: 700; opacity: 0.55; text-transform: uppercase; letter-spacing: 0.06em; }
.lo-visit-star { width: 18px; height: 18px; flex: none; }
.lo-visit-card { font-size: 11.5px; opacity: 0.55; font-weight: 600; }

/* ── Errors ─────────────────────────────────────────────────────── */
.banner--error { background: rgba(176,72,45,0.1); border-radius: 16px; padding: 12px 16px; margin-bottom: 12px; }

/* ─── Live redemption flash (reward wallet) ───────────────────────────
   Shown by the /me/rewards poller the instant the merchant's scanner
   redeems the on-screen ticket, then the page reloads into the stamped
   state. Green flood on the member side too — success reads the same
   in both directions of the counter. */
.lo-redeem-flash {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: radial-gradient(120% 100% at 50% 0%, #157A4E 0%, #0B4A2F 70%);
  animation: loFlashIn 320ms cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
.lo-redeem-flash[hidden] { display: none; }
@keyframes loFlashIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.lo-redeem-flash-card {
  text-align: center;
  color: #FDE7DA;
  max-width: 340px;
  animation: loFlashPop 360ms cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
@keyframes loFlashPop {
  from { transform: scale(0.86) translateY(10px); opacity: 0; }
  to   { transform: none; opacity: 1; }
}
.lo-flash-ring { display: block; width: 104px; height: 104px; margin: 0 auto 18px; }
.lo-flash-ring svg { width: 100%; height: 100%; display: block; }
.lo-flash-circle {
  stroke-dasharray: 277;
  stroke-dashoffset: 277;
  animation: loFlashDraw 480ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.lo-flash-tick {
  stroke-dasharray: 80;
  stroke-dashoffset: 80;
  animation: loFlashDraw 340ms cubic-bezier(0.22, 1, 0.36, 1) 320ms forwards;
}
@keyframes loFlashDraw { to { stroke-dashoffset: 0; } }
#lo-flash-headline {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 34px;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
#lo-flash-line { margin: 0; font-size: 17px; line-height: 1.5; }
@media (prefers-reduced-motion: reduce) {
  .lo-redeem-flash, .lo-redeem-flash-card { animation-duration: 1ms; }
  .lo-flash-circle, .lo-flash-tick { animation: none; stroke-dashoffset: 0; }
}

/* =====================================================================
   Pre-login sign-in — Claude Design "TapIn Loyalty Screens" §0
   (2026-07-27). Phone step: hero + fanned card stack on the cream
   canvas. Code step: warm-beige canvas (since 24 Oct 2026 the App
   Clip's code entry, below). .si-* is scoped to sessions/new.
   ===================================================================== */
.si-screen { background: var(--gms-bg); }
.si-screen--code { background: var(--gms-beige-warm); }
.si-inner { display: flex; flex-direction: column; min-height: calc(100vh - 40px); max-width: 420px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.si-logo { display: flex; width: 40px; height: 40px; border-radius: 50%; background: var(--gms-terracotta); color: var(--gms-beige-warm); align-items: center; justify-content: center; font-weight: 900; font-size: 20px; flex: none; }
.si-logo--sm { width: 34px; height: 34px; font-size: 17px; margin-left: auto; }
.si-top { display: flex; align-items: center; gap: 14px; }
.si-back { display: flex; width: 40px; height: 40px; border-radius: 50%; background: rgba(0,0,68,0.06); color: var(--gms-ink); align-items: center; justify-content: center; flex: none; }
.si-middle { flex: 1; display: flex; flex-direction: column; justify-content: center; }

.si-hero { font-family: var(--font-display); font-size: 46px; line-height: 0.9; text-transform: uppercase; margin: 22px 0 0; color: var(--gms-ink); font-weight: 400; }
.si-lead { font-size: 14px; font-weight: 500; opacity: 0.65; margin: 12px 0 0; line-height: 1.5; max-width: 300px; }
.si-lead b { opacity: 1; color: var(--gms-ink); }

/* Fanned stack — fixed 300×254 canvas like the artboard. */
.si-stack { position: relative; width: 300px; height: 254px; margin: 26px auto; flex: none; }
.si-peek { position: absolute; display: flex; align-items: center; gap: 10px; width: 282px; height: 70px; box-sizing: border-box; border-radius: 20px; padding: 9px 16px; box-shadow: 0 12px 28px rgba(0,0,68,0.12); color: var(--gms-ink); }
.si-peek--back { left: 16px; top: 0; background: var(--gms-beige); transform: rotate(-3.5deg); }
.si-peek--mid { left: 6px; top: 62px; background: var(--gms-beige-warm); transform: rotate(2.5deg); }
.si-peek-vessel { flex: none; width: 38px; display: flex; justify-content: center; }
.si-peek-main { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 4px; }
.si-peek-main b { font-family: var(--font-display); font-size: 14.5px; font-weight: 400; text-transform: uppercase; line-height: 1; white-space: nowrap; }
.si-peek-main i { font-style: normal; font-size: 11.5px; font-weight: 600; opacity: 0.62; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.si-peek-tint { margin-left: auto; flex: none; font-size: 10.5px; font-weight: 700; opacity: 0.4; letter-spacing: 0.08em; text-transform: uppercase; }
.si-front { position: absolute; left: 0; top: 124px; width: 290px; box-sizing: border-box; border-radius: 22px; background: var(--gms-terracotta); color: var(--gms-beige-warm); transform: rotate(-1.5deg); box-shadow: 0 18px 40px rgba(0,0,68,0.2); padding: 17px 19px 19px; }
.si-front-head { display: flex; align-items: center; gap: 10px; }
.si-front-logo { display: flex; width: 30px; height: 30px; border-radius: 50%; background: var(--gms-beige-warm); color: var(--gms-terracotta); align-items: center; justify-content: center; font-weight: 900; font-size: 15px; flex: none; }
.si-front-title { display: flex; flex-direction: column; gap: 4px; }
.si-front-title b { font-family: var(--font-display); font-size: 15.5px; font-weight: 400; text-transform: uppercase; line-height: 1; white-space: nowrap; }
.si-front-title i { font-style: normal; font-size: 11.5px; font-weight: 600; opacity: 0.8; }
.si-front-stars { display: flex; gap: 7px; margin-top: 15px; }
.si-front-stars svg { display: block; }
.si-front-note { margin: 12px 0 0; font-size: 12.5px; font-weight: 600; opacity: 0.85; }
img.si-logo, img.si-front-logo { display: block; object-fit: cover; }

.si-form { display: flex; flex-direction: column; gap: 12px; margin-top: 0; }
.si-field { display: block; }
.si-field-label { display: block; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; opacity: 0.5; margin-bottom: 7px; }
.si-input { width: 100%; height: 56px; border-radius: 18px; background: #fff; border: 2px solid rgba(0,0,68,0.12); padding: 0 18px; box-sizing: border-box; font-family: var(--font-body); font-size: 16.5px; font-weight: 600; color: var(--gms-ink); outline: none; }
.si-input:focus { border-color: var(--gms-terracotta); }
.si-input--code { font-family: var(--font-display); font-size: 26px; font-weight: 400; letter-spacing: 0.22em; }
.si-cta { display: block; width: 100%; padding: 17px 0; border: 0; border-radius: 999px; background: var(--gms-terracotta); color: var(--gms-beige-warm); text-align: center; font-family: var(--font-display); font-size: 15.5px; font-weight: 400; text-transform: uppercase; letter-spacing: 0.05em; cursor: pointer; }
.si-cta:hover { filter: brightness(0.95); }
.si-ghost { display: block; width: 100%; padding: 13px 0; border: 0; background: none; text-align: center; font-family: var(--font-display); font-size: 12.5px; font-weight: 400; text-transform: uppercase; letter-spacing: 0.05em; opacity: 0.6; color: var(--gms-ink); cursor: pointer; }
.si-alt { margin-top: 10px; }
.si-footnote { font-size: 12px; opacity: 0.55; text-align: center; font-weight: 600; line-height: 1.5; margin: 14px 0 0; }

/* ── Email capture — Claude Design "TapIn Loyalty Screens" §0 / §0b ──────
   The OPTIONAL chip is BLUE, not gray, per the design's decision note:
   gray reads "broken", blue reads "informational". */
.si-field-label { display: flex; align-items: center; gap: 8px; }
.si-optional { font-size: 9.5px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 700; color: var(--gms-blue); background: rgba(0,29,162,0.09); padding: 3px 7px; border-radius: 999px; opacity: 1; }
.si-helper { display: block; font-size: 12px; opacity: 0.55; margin-top: 7px; font-weight: 600; line-height: 1.4; }
.si-input--error { border-color: var(--gms-terracotta); }
.si-inline-error { display: flex; align-items: flex-start; gap: 6px; margin-top: 7px; color: var(--gms-terracotta); font-size: 12px; font-weight: 600; line-height: 1.4; }
.si-inline-error svg { flex: none; margin-top: 1px; }

/* ── Sign-in like the App Clip (24 Oct 2026, docs/2026-10-24-sign-in-flow.md)
   The help line turns red for the last-name nudge and a malformed email,
   as in the App Clip. The country is a real <select> laid over the chip
   and the dial code, so tapping either opens the phone's own picker. */
.si-helper--nudge { color: var(--gms-terracotta); opacity: 1; }
.si-form .error { margin: 0; }
.si-cta:disabled { opacity: 0.55; cursor: default; filter: none; }
.si-phone { display: flex; align-items: center; gap: 10px; height: 56px; border-radius: 18px; background: #fff; border: 2px solid rgba(0,0,68,0.12); padding: 0 18px 0 12px; box-sizing: border-box; }
.si-phone:focus-within { border-color: var(--gms-terracotta); }
.si-country { position: relative; display: inline-flex; align-items: center; gap: 8px; flex: none; }
.si-country-chip { display: inline-flex; align-items: center; gap: 5px; padding: 5px 8px; border-radius: 8px; background: rgba(176,72,45,0.12); color: var(--gms-terracotta); font-family: var(--font-display); font-size: 12.5px; letter-spacing: 0.08em; line-height: 1; }
.si-country-dial { font-size: 16.5px; font-weight: 600; color: rgba(0,0,68,0.55); }
.si-country-select { position: absolute; top: 0; left: 0; width: 100%; height: 100%; margin: 0; padding: 0; border: 0; opacity: 0; font-size: 16px; cursor: pointer; -webkit-appearance: none; appearance: none; }
.si-country:focus-within .si-country-chip { outline: 2px solid var(--gms-terracotta); outline-offset: 2px; }
.si-phone-input { flex: 1; min-width: 0; height: 100%; padding: 0; border: 0; background: transparent; outline: none; font-family: var(--font-body); font-size: 16.5px; font-weight: 600; color: var(--gms-ink); }

/* The code: six boxes over one field (one-time-code autofill fills it). */
button.si-back { padding: 0; border: 0; cursor: pointer; }
.si-code-form { margin-top: 20px; }
.si-code { position: relative; display: block; }
.si-code-boxes { display: none; }
.si-code.is-boxed .si-code-boxes { display: flex; justify-content: space-between; gap: 6px; pointer-events: none; }
.si-code-boxes span { flex: 1 1 0; max-width: 54px; height: 58px; box-sizing: border-box; display: flex; align-items: center; justify-content: center; border-radius: 14px; background: #fff; border: 2px solid rgba(0,0,68,0.2); font-size: 24px; font-weight: 700; color: var(--gms-ink); }
.si-code-boxes span.is-current { border-color: var(--gms-terracotta); }
.si-code.is-boxed .si-input--code { position: absolute; top: 0; left: 0; height: 100%; color: transparent; caret-color: transparent; background: transparent; border-color: transparent; font-size: 16px; letter-spacing: 0; }
.si-code.is-boxed .si-input--code::selection { background: transparent; }
.si-resend { margin-top: 14px; }
.si-link { padding: 0; border: 0; background: none; font: inherit; font-size: 13.5px; font-weight: 700; color: var(--gms-terracotta); text-decoration: underline; cursor: pointer; }
.si-link:disabled { color: rgba(0,0,68,0.45); text-decoration: none; cursor: default; }
.si-note { margin: 8px 0 0; font-size: 13px; font-weight: 600; opacity: 0.75; }
.si-code-step .error { margin: 14px 0 0; }
.si-code-step .si-cta { margin-top: 18px; }

/* The ask (§0b) — its own screen, never over the stamp celebration. */
.em-screen .si-inner { justify-content: space-between; }
.em-body { flex: 1; min-height: 0; }
.em-eyebrow { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; color: var(--gms-terracotta); margin: 0; }
.em-screen .si-hero { margin-top: 10px; font-size: 40px; line-height: 0.92; }
.em-benefits { list-style: none; padding: 0; margin: 20px 0; display: flex; flex-direction: column; gap: 13px; }
.em-benefits li { display: flex; gap: 12px; align-items: flex-start; }
.em-benefits li svg { flex: none; margin-top: 1px; }
.em-benefits span { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.em-benefits b { font-size: 14px; font-weight: 700; line-height: 1.3; }
.em-benefits i { font-style: normal; font-size: 12.5px; opacity: 0.6; font-weight: 500; line-height: 1.4; }
.em-form { margin-top: 4px; }
.em-foot { padding-top: 14px; display: flex; flex-direction: column; gap: 9px; }
.em-foot .si-footnote { margin: 0; opacity: 0.5; font-size: 11.5px; }

/* Saved confirmation — warm-beige canvas. Content centres in the space it
   has; the CTA stays pinned to the bottom (artboard). */
.em-saved .si-inner { text-align: center; align-items: center; }
.em-saved-body { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.em-saved-star { position: relative; display: block; }
.em-saved-star::before { content: ""; position: absolute; inset: -26px; border-radius: 50%; background: rgba(176,72,45,0.1); }
.em-saved-star svg { display: block; position: relative; }
.em-saved .si-hero { font-size: 40px; line-height: 0.95; margin-top: 30px; }
.em-saved .si-lead { margin-top: 12px; font-size: 14.5px; opacity: 0.7; max-width: 290px; }
.em-saved-chip { display: inline-flex; align-items: center; gap: 10px; margin: 20px 0 0; background: rgba(0,0,68,0.05); border-radius: 999px; padding: 9px 16px; font-size: 12.5px; font-weight: 600; color: var(--gms-ink); }
.em-saved-chip svg { flex: none; }
.em-saved .em-foot { width: 100%; padding: 0 0 26px; }
.em-saved .si-cta { text-decoration: none; box-sizing: border-box; }

/* ── US-34: merchant location line + maps chooser ──────────────────── */
/* The address is a quiet third line; the dotted underline is the whole
   affordance (no arrow, no chip). Inherits the muted color of the
   metadata around it. */
.lo-loc {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 2px;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 12px;
  color: var(--gms-ink);
  opacity: 0.55;
  cursor: pointer;
}
.lo-loc svg { width: 11px; height: 11px; flex: none; }
.lo-loc-addr {
  text-decoration: underline dotted;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}
.lo-loc--ondark { color: var(--gms-beige-warm); opacity: 0.7; }
.lo-loc:active { opacity: 0.9; }

.lo-maps-sheet { position: fixed; inset: 0; z-index: 60; }
.lo-maps-scrim {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0, 0, 68, 0.35);
}
.lo-maps-panel {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom));
  background: var(--gms-bg);
  border-radius: 18px;
  padding: 16px 14px 12px;
  box-shadow: 0 -12px 40px rgba(0, 0, 68, 0.18);
}
.lo-maps-title {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--gms-ink);
  text-align: center;
}
.lo-maps-option {
  display: block;
  padding: 12px;
  margin-bottom: 8px;
  border-radius: 12px;
  background: #fff;
  border: 1.5px solid rgba(0, 0, 68, 0.12);
  text-align: center;
  font-weight: 700;
  font-size: 14px;
  color: var(--gms-ink);
  text-decoration: none;
}
.lo-maps-cancel {
  display: block;
  width: 100%;
  padding: 10px;
  border: 0;
  background: none;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--gms-ink);
  opacity: 0.55;
  cursor: pointer;
}

/* ═════════════════════════════════════════════════════════════════════
   US-36 · "WHO'S NEXT" — the neighbourhood wishlist
   Ported 1:1 from the Claude Design handoff (design_handoff_wishlist).
   Namespaced `wn-` like the `lo-` V2 loyalty block above, because the
   handoff's own class names (.btn, .input, .status, .vessel) would
   collide with this stylesheet. Buttons, fields and inputs deliberately
   reuse the existing .btn / .field / .input — they are already the same
   brand shapes, so only what is genuinely new lives here.

   THE ONE NEW RULE IN THE DESIGN SYSTEM: dashed means wished for, solid
   means real. A spot nobody has agreed to yet is drawn as the vessel we
   don't have — a dashed cup with a "?" — and it solidifies when they join.
   ═════════════════════════════════════════════════════════════════════ */

:root {
  --wn-ink-60: rgba(0, 0, 68, 0.6);
  --wn-ink-45: rgba(0, 0, 68, 0.45);
  --wn-ink-14: rgba(0, 0, 68, 0.14);
  --wn-ink-08: rgba(0, 0, 68, 0.07);
  --wn-ter-tint: rgba(176, 72, 45, 0.1);
  --wn-blue-tint: rgba(0, 29, 162, 0.1);
  --wn-ease-pop: cubic-bezier(0.34, 1.56, 0.64, 1);
  --wn-ease-soft: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ── The vessel ─────────────────────────────────────────────────────── */
.wn-vessel {
  position: relative;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wn-vessel svg { display: block; overflow: visible; }
.wn-vessel--mystery { color: rgba(0, 0, 68, 0.32); }
.wn-vessel--talks { color: rgba(176, 72, 45, 0.7); }
.wn-vessel--mystery svg,
.wn-vessel--talks svg,
.wn-vessel--retired svg { stroke-dasharray: 3 2.4; }
.wn-vessel--retired { opacity: 0.4; color: rgba(0, 0, 68, 0.32); }
.wn-vessel__q {
  position: absolute;
  top: 52%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  color: rgba(0, 0, 68, 0.4);
  font-style: normal;
}
.wn-vessel--talks .wn-vessel__q { color: rgba(176, 72, 45, 0.8); }
.wn-vessel--real {
  background: var(--gms-terracotta);
  border-radius: 50%;
  color: var(--gms-beige-warm);
}
.wn-vessel__initials {
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 0.02em;
}
.wn-vessel--ghost {
  border: 2.5px dashed rgba(253, 231, 218, 0.55);
  border-radius: 50%;
}
.wn-vesselstack { display: flex; align-items: center; flex: none; }
.wn-vesselstack .wn-vessel + .wn-vessel { margin-left: -14px; }

/* ── The board row ──────────────────────────────────────────────────── */
.wn-list { display: flex; flex-direction: column; gap: 10px; list-style: none; margin: 0; padding: 0; }
.wn-row {
  display: flex;
  align-items: center;
  gap: 13px;
  background: #fff;
  border: 1.5px solid rgba(0, 0, 68, 0.09);
  border-radius: 22px;
  padding: 13px 13px 13px 15px;
  position: relative;
}
.wn-row--voted { border-color: rgba(176, 72, 45, 0.4); }
/* The handoff tints "your" row beige-warm against its #FBF6F1 canvas. This
   app's page background IS beige-warm, so that tint would make the card
   vanish; `--gms-beige` keeps the same "warmer than the others, no border"
   reading against the surface we actually have. */
.wn-row--mine { background: var(--gms-beige); border-color: transparent; }
.wn-row--out { opacity: 0.62; }
.wn-row--stack { flex-direction: column; align-items: stretch; }
.wn-row__top { display: flex; align-items: center; gap: 13px; }
.wn-row__main { flex: 1; min-width: 0; }
.wn-row__link { flex: 1; min-width: 0; text-decoration: none; color: inherit; }
.wn-name {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 16.5px;
  line-height: 1.05;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0;
}
.wn-meta { display: flex; align-items: center; gap: 7px; margin-top: 5px; flex-wrap: wrap; }
.wn-count {
  font-size: 12.5px;
  color: var(--wn-ink-60);
  margin: 5px 0 0;
  font-weight: 500;
}
.wn-count b {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--gms-terracotta);
  margin-right: 1px;
}
.wn-cat {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--wn-ink-08);
  font-size: 11.5px;
  font-weight: 700;
  white-space: nowrap;
}
.wn-youvoted { font-size: 11.5px; font-weight: 700; color: var(--gms-terracotta); white-space: nowrap; }
.wn-yours {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 9px 4px 7px;
  border-radius: 999px;
  background: var(--gms-terracotta);
  color: var(--gms-beige-warm);
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.wn-yours svg { display: block; }

/* ── Status chips ───────────────────────────────────────────────────── */
.wn-status {
  display: inline-block;
  padding: 5px 11px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 10.5px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  white-space: nowrap;
}
.wn-status--talks { background: var(--wn-blue-tint); color: var(--gms-blue); }
.wn-status--in { background: var(--gms-terracotta); color: var(--gms-beige-warm); }
.wn-status--out { background: var(--wn-ink-08); color: var(--wn-ink-45); }
.wn-status--wait { background: var(--wn-ink-08); color: var(--wn-ink-60); }
.wn-status--priv {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--gms-beige);
  color: var(--wn-ink-60);
}
.wn-status--priv svg { display: block; }

/* ── The one-tap +1 ─────────────────────────────────────────────────── */
.wn-voteform { margin: 0; flex: none; }
.wn-vote {
  width: 58px;
  height: 58px;
  border-radius: 19px;
  border: 2px solid var(--wn-ink-14);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  flex: none;
  background: transparent;
  color: var(--gms-ink);
  cursor: pointer;
  font: inherit;
}
.wn-vote__plus { font-family: var(--font-display); font-size: 17px; line-height: 1; }
.wn-vote__lbl {
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--wn-ink-45);
}
.wn-vote--on {
  background: var(--gms-terracotta);
  border-color: var(--gms-terracotta);
  color: var(--gms-beige-warm);
}
.wn-vote--on .wn-vote__lbl { color: rgba(253, 231, 218, 0.75); }
.wn-ghost {
  position: absolute;
  right: 26px;
  top: -6px;
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--gms-terracotta);
  opacity: 0;
  pointer-events: none;
}

/* ── The status trail ───────────────────────────────────────────────── */
.wn-steps {
  display: flex;
  align-items: flex-start;
  margin-top: 14px;
  /* It is an <ol> for the semantics, never for the markers. */
  list-style: none;
  padding: 0;
}
.wn-step {
  flex: 1;
  position: relative;
  padding-top: 20px;
  padding-right: 10px;
  font-size: 11px;
  font-weight: 700;
  color: var(--wn-ink-45);
  line-height: 1.25;
}
.wn-step:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2.5px solid var(--wn-ink-14);
  background: #fff;
}
.wn-step:after {
  content: "";
  position: absolute;
  top: 5px;
  left: 12px;
  right: 8px;
  height: 2.5px;
  background: var(--wn-ink-14);
}
.wn-step:last-child:after { display: none; }
.wn-step--done { color: var(--gms-ink); }
.wn-step--done:before { background: var(--gms-terracotta); border-color: var(--gms-terracotta); }
.wn-step--now { color: var(--gms-blue); }
.wn-step--now:before {
  background: var(--gms-blue);
  border-color: var(--gms-blue);
  box-shadow: 0 0 0 4px var(--wn-blue-tint);
}

/* ── The shelf's last card: the one that doesn't exist yet ──────────── */
.wn-suggest {
  border: 2.5px dashed rgba(0, 0, 68, 0.24);
  border-radius: 24px;
  padding: 16px 18px 18px;
}
.wn-suggest__top { display: flex; align-items: center; gap: 14px; }
.wn-suggest__ttl {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 17px;
  line-height: 1.05;
  margin: 0;
}
.wn-suggest__sub { font-size: 12.5px; color: var(--wn-ink-60); margin: 4px 0 0; line-height: 1.4; }
.wn-suggest .btn { margin-top: 14px; padding: 14px 20px; font-size: 14px; }

/* ── Compose sheet ──────────────────────────────────────────────────── */
.wn-scrim {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 68, 0.42);
  z-index: 60;
  border: 0;
  width: 100%;
  cursor: pointer;
}
.wn-sheet {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 61;
  background: var(--gms-bg);
  border-radius: 32px 32px 0 0;
  padding: 10px 22px calc(26px + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-height: 92dvh;
  overflow-y: auto;
}
.wn-grabber {
  width: 44px;
  height: 5px;
  border-radius: 99px;
  background: var(--wn-ink-14);
  margin: 0 auto 4px;
  flex: none;
}
.wn-sheet__ttl {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 23px;
  line-height: 1.05;
  margin: 0;
}
.wn-sheet__sub { font-size: 13px; color: var(--wn-ink-60); margin: 6px 0 0; }
.wn-sheet .field { margin-bottom: 0; }
.wn-sheet .input { padding: 14px 16px; font-size: 15.5px; font-weight: 600; }
.wn-sheet .input--area { min-height: 60px; line-height: 1.4; resize: vertical; }

.wn-cats { display: flex; flex-wrap: wrap; gap: 8px; }
.wn-chip {
  padding: 9px 14px;
  border-radius: 999px;
  border: 2px solid var(--wn-ink-14);
  font-size: 13px;
  font-weight: 700;
  background: transparent;
  color: var(--gms-ink);
  cursor: pointer;
  font-family: inherit;
}
.wn-chip--on,
.wn-radio:checked + .wn-chip {
  background: var(--gms-terracotta);
  border-color: var(--gms-terracotta);
  color: var(--gms-beige-warm);
}

/* The category and visibility choices are real radio inputs behind the
   chips, so the sheet is fully usable with JavaScript off. The input is
   visually hidden but still focusable, and focus rings land on the chip. */
.wn-radio {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.wn-radio:focus-visible + .wn-chip,
.wn-radio:focus-visible + .wn-seg__i {
  outline: 2px solid var(--gms-terracotta);
  outline-offset: 2px;
}
.wn-fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.wn-fieldset > legend { padding: 0; }
.wn-form { display: flex; flex-direction: column; gap: 14px; margin: 0; }
.wn-form .btn { margin-top: 2px; }
.wn-gate .btn { text-decoration: none; }
.wn-textbtn {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 10px;
  border: 0;
  background: none;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--wn-ink-60);
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
.wn-capline { font-size: 11.5px; color: var(--wn-ink-45); text-align: center; margin: 0; }
.wn-hint {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 11.5px;
  color: var(--wn-ink-45);
  line-height: 1.4;
  margin: 0;
}
.wn-hint svg { flex: none; margin-top: 1px; }
.wn-note {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: var(--wn-blue-tint);
  border-radius: 18px;
  padding: 13px 15px;
  font-size: 12.5px;
  color: var(--gms-blue);
  line-height: 1.45;
  font-weight: 600;
  margin: 0;
}
.wn-note svg { flex: none; margin-top: 1px; }

/* Who sees it: on the wishlist vs studio only */
.wn-seg { display: flex; gap: 8px; }
.wn-seg__i {
  flex: 1;
  border: 2px solid var(--wn-ink-14);
  border-radius: 16px;
  padding: 10px 12px;
  background: transparent;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: var(--gms-ink);
}
.wn-seg__i b { display: block; font-size: 13.5px; font-weight: 800; }
.wn-seg__i i { display: block; font-style: normal; font-size: 11.5px; color: var(--wn-ink-45); margin-top: 3px; }
.wn-seg__i--on,
.wn-radio:checked + .wn-seg__i { border-color: var(--gms-terracotta); background: var(--gms-beige-warm); }

/* Duplicate catch: matches against the board, pinned under the field */
.wn-ac {
  background: #fff;
  border-radius: 16px;
  border: 2px solid rgba(176, 72, 45, 0.45);
  overflow: hidden;
}
.wn-ac[hidden] { display: none !important; }
.wn-ac__hd {
  padding: 11px 14px;
  background: var(--wn-ter-tint);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--gms-terracotta);
  line-height: 1.35;
  margin: 0;
}
.wn-ac__row {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 12px 11px 14px;
  border-top: 1.5px solid var(--wn-ink-08);
}
.wn-ac__main { flex: 1; min-width: 0; }
.wn-ac__name { font-family: var(--font-display); text-transform: uppercase; font-size: 14.5px; line-height: 1.05; margin: 0; }
.wn-ac__meta { font-size: 11.5px; color: var(--wn-ink-60); margin: 3px 0 0; }
.wn-ac__plus {
  flex: none;
  height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--gms-terracotta);
  color: var(--gms-beige-warm);
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 0;
  cursor: pointer;
}
.wn-ac__foot { padding: 11px 14px; border-top: 1.5px solid var(--wn-ink-08); font-size: 11.5px; color: var(--wn-ink-45); margin: 0; }

/* The friendly cap gate */
.wn-gate { display: flex; flex-direction: column; gap: 14px; }
.wn-gatelist { display: flex; flex-direction: column; gap: 8px; list-style: none; margin: 0; padding: 0; }
.wn-gaterow { display: flex; align-items: center; gap: 11px; background: #fff; border-radius: 16px; padding: 11px 14px; }
.wn-gaterow__name {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 14px;
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ── Moments: thanks, and "they're in" ──────────────────────────────── */
.wn-moment {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: var(--gms-bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 34px;
}
.wn-moment--ter { background: var(--gms-terracotta); color: var(--gms-beige-warm); }
.wn-moment__ttl { font-family: var(--font-display); text-transform: uppercase; font-size: 46px; line-height: 0.94; margin: 28px 0 0; }
.wn-moment__sub { font-size: 17px; font-weight: 600; margin: 14px 0 0; }
.wn-moment__note { font-size: 13.5px; color: var(--wn-ink-60); line-height: 1.5; margin: 12px 0 0; max-width: 284px; }
.wn-moment--ter .wn-moment__note { color: rgba(253, 231, 218, 0.78); }
.wn-moment__card {
  background: #fff;
  border-radius: 20px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  width: 100%;
  max-width: 320px;
  text-align: left;
}
.wn-moment__acts {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: calc(34px + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.wn-moment__acts .btn--warm { background: var(--gms-beige-warm); color: var(--gms-terracotta); }
.wn-moment__acts .btn { text-decoration: none; }
.wn-moment--ter .wn-textbtn { color: rgba(253, 231, 218, 0.8); }
.wn-dashring {
  width: 118px;
  height: 118px;
  border-radius: 50%;
  border: 2.5px dashed rgba(0, 0, 68, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
}
.wn-halo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: rgba(253, 231, 218, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.wn-halo .wn-vessel--ghost { position: absolute; }
.wn-pill {
  display: inline-block;
  padding: 7px 15px;
  border-radius: 999px;
  background: rgba(253, 231, 218, 0.18);
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-top: 20px;
}
.wn-corner-pill {
  position: absolute;
  top: -11px;
  left: 18px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--gms-terracotta);
  color: var(--gms-beige-warm);
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.wn-toast {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: calc(104px + env(safe-area-inset-bottom));
  z-index: 55;
  background: var(--gms-ink);
  color: var(--gms-beige-warm);
  border-radius: 18px;
  padding: 13px 17px;
  font-size: 13.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.18s ease, transform 0.18s ease;
  pointer-events: none;
}
.wn-toast.is-on { opacity: 1; transform: translateY(0); }
.wn-toast svg { flex: none; }

/* Sticky "suggest a spot". The board can run long and the design keeps the
   invitation in reach the whole way down. Offset clears the floating tab
   pill (bottom 10px + its own height) rather than sitting under it. */
.wn-sticky {
  position: sticky;
  bottom: calc(84px + env(safe-area-inset-bottom, 0px));
  z-index: 5;
  margin-top: 16px;
  padding: 14px 0 6px;
  background: linear-gradient(to top, var(--gms-beige-warm) 68%, rgba(253, 231, 218, 0));
}

/* The count at full size on the spot detail */
.wn-bigcount { display: flex; align-items: baseline; gap: 9px; margin-top: 18px; }
.wn-bigcount b {
  font-family: var(--font-display);
  font-size: 44px;
  line-height: 0.95;
  color: var(--gms-terracotta);
  font-weight: 400;
}
.wn-bigcount span { font-size: 13.5px; font-weight: 600; }
.wn-notebox { background: var(--gms-beige); border-radius: 20px; padding: 15px 16px; margin-top: 20px; }

/* ── Motion ─────────────────────────────────────────────────────────── */
@keyframes wnVoteTick { 0% { transform: scale(1); } 38% { transform: scale(0.9); } 100% { transform: scale(1); } }
@keyframes wnVoteGhost { 0% { opacity: 0; transform: translateY(0); } 22% { opacity: 0.85; } 100% { opacity: 0; transform: translateY(-26px); } }
@keyframes wnCountUp { 0% { transform: translateY(9px); opacity: 0; } 100% { transform: translateY(0); opacity: 1; } }
@keyframes wnRowIn { 0% { transform: translateY(14px) scale(0.98); opacity: 0; } 100% { transform: translateY(0) scale(1); opacity: 1; } }
@keyframes wnArrive { 0% { transform: translateY(26px) scale(0.94); opacity: 0; } 62% { transform: translateY(0) scale(1.03); opacity: 1; } 100% { transform: translateY(0) scale(1); } }
@keyframes wnSolidify { 0% { opacity: 0; transform: scale(0.7) rotate(-12deg); } 100% { opacity: 1; transform: scale(1) rotate(0); } }

.is-voting .wn-vote { animation: wnVoteTick 260ms var(--wn-ease-pop); }
.is-voting .wn-ghost { animation: wnVoteGhost 620ms var(--wn-ease-soft) forwards; }
.is-voting .wn-count b { animation: wnCountUp 240ms var(--wn-ease-soft); }
.wn-row.is-new { animation: wnRowIn 320ms var(--wn-ease-soft) both; }
.is-arriving { animation: wnArrive 520ms var(--wn-ease-pop) both; }
.is-solid { animation: wnSolidify 460ms var(--wn-ease-pop) both; }

/* Reduced motion keeps every final frame and the same information —
   only the transforms go. */
@media (prefers-reduced-motion: reduce) {
  .is-voting .wn-vote,
  .is-voting .wn-count b,
  .wn-row.is-new,
  .is-arriving,
  .is-solid { animation: none; }
  .is-voting .wn-ghost { display: none; }
  .wn-toast { transition: none; }
}

/* ── Who's next: page chrome ────────────────────────────────────────── */
.wn-head { display: flex; align-items: center; margin-bottom: 14px; }
.wn-link { color: var(--gms-terracotta); font-weight: 700; text-decoration: none; }
.wn-detail-name { margin-top: 13px; }
.wn-detail-vote { margin: 16px 0 0; }
.wn-notebox__save { margin-top: 4px; }
.wn-capline--foot { margin-top: 16px; }
.wn-count--solo { margin-top: 14px; font-size: 13.5px; }
.wn-freed { margin-top: 14px; font-size: 12.5px; color: var(--gms-terracotta); font-weight: 700; text-align: center; }
.wn-closed {
  font-size: 12.5px;
  color: var(--wn-ink-60);
  line-height: 1.45;
  margin: 12px 0 0;
  padding-top: 12px;
  border-top: 1.5px solid var(--wn-ink-08);
}
.wn-cardlink {
  flex: none;
  padding: 10px 16px;
  border: 2px solid var(--gms-ink);
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 11.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gms-ink);
  text-decoration: none;
}

/* The empty board is the invitation, so it gets the whole screen. */
.wn-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 34px 6px 10px;
}
.wn-empty .wn-moment__ttl { font-size: 38px; }
/* On the terracotta payoff screen the solid vessel inverts, so "solid means
   real" still reads against the flood. */
.wn-moment--ter .wn-vessel--real { background: var(--gms-beige-warm); color: var(--gms-terracotta); }
.wn-note--tight { margin-top: 13px; padding: 10px 13px; font-size: 12px; }
.wn-suggest { margin-top: 14px; }

/* ══════════════════════════════════════════════════════════════════════
   US-39 · GIFT — the claim page a stranger sees
   ──────────────────────────────────────────────────────────────────────
   Rendered for someone with no session, no app, and probably no idea what
   TapIn is. It is the only page in the product designed to be somebody's
   FIRST contact with the studio, so it carries the brand on its own: warm
   ground, one organic shape bleeding off the corner, the display face on a
   single short headline, and exactly one thing to press.
   ══════════════════════════════════════════════════════════════════════ */

.gift-page {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 20px calc(24px + env(safe-area-inset-bottom));
  overflow: hidden;
}

/* One brand blob, cut off at the edge rather than contained — the shape
   rule from the brand guide, done in CSS so the page stays one request. */
.gift-page::before {
  content: "";
  position: absolute;
  top: -140px;
  right: -110px;
  width: 340px;
  height: 300px;
  background: var(--gms-terracotta);
  opacity: 0.14;
  border-radius: 58% 42% 47% 53% / 46% 51% 49% 54%;
  pointer-events: none;
}

.gift-card {
  position: relative;
  width: 100%;
  max-width: 420px;
  background: var(--gms-bg);
  border-radius: 28px;
  padding: 36px 26px 30px;
  text-align: center;
  box-shadow: 0 18px 44px rgba(0, 0, 68, 0.10);
}

.gift-eyebrow {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gms-terracotta);
}

.gift-headline {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: 40px;
  line-height: 1.04;
  font-weight: 400;
  color: var(--gms-ink);
}

/* The giver's own words. Given a card of its own because for the recipient
   this is the part that isn't marketing. */
.gift-message {
  margin: 0 0 18px;
  padding: 14px 16px;
  background: var(--gms-beige);
  border-radius: 16px;
  font-size: 16px;
  line-height: 1.45;
  font-style: italic;
  color: var(--gms-ink);
}
.gift-message::before { content: "\201C"; }
.gift-message::after  { content: "\201D"; }

.gift-body {
  margin: 0 0 22px;
  font-size: 16px;
  line-height: 1.55;
  color: rgba(0, 0, 68, 0.78);
}

.gift-button {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 17px 20px;
  border: 0;
  border-radius: 999px;
  background: var(--gms-terracotta);
  color: var(--gms-beige-warm);
  font-family: inherit;
  font-size: 17px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  -webkit-appearance: none;
}
.gift-button:active { transform: translateY(1px); }

.gift-code-line {
  margin: 0 0 20px;
  font-size: 15px;
  color: rgba(0, 0, 68, 0.72);
}
.gift-code-line strong {
  letter-spacing: 0.08em;
  color: var(--gms-ink);
}

.gift-note {
  margin: 14px 0 0;
  font-size: 14px;
  line-height: 1.45;
  color: rgba(0, 0, 68, 0.60);
}

.gift-error {
  margin: 0 0 16px;
  font-size: 15px;
  font-weight: 600;
  color: var(--gms-terracotta);
}

.gift-foot {
  margin: 26px 0 0;
  font-size: 13px;
  color: rgba(0, 0, 68, 0.48);
}

/* ── the giver's list at /me/gifts ─────────────────────────────────── */

.gift-list { list-style: none; margin: 0; padding: 0; }

.gift-row {
  background: var(--gms-beige);
  border-radius: 18px;
  padding: 16px 18px;
  margin-bottom: 12px;
}

.gift-row-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.gift-row-code {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--gms-ink);
}

.gift-row-status {
  font-size: 13px;
  color: rgba(0, 0, 68, 0.62);
  text-align: right;
}

.gift-row-link {
  display: block;
  margin-top: 10px;
  padding: 10px 12px;
  background: var(--gms-bg);
  border-radius: 12px;
  font-size: 13px;
  word-break: break-all;
  color: rgba(0, 0, 68, 0.72);
}

.gift-row-actions { margin-top: 12px; }

.gift-row-cancel {
  border: 0;
  background: none;
  padding: 0;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--gms-terracotta);
  cursor: pointer;
}

/* US-39 · the giver's side — wallet entry + /me/gifts */

.gift-give {
  margin: 14px 0 0;
  background: var(--gms-beige);
  border-radius: 18px;
  overflow: hidden;
}

.gift-give-summary {
  list-style: none;
  padding: 15px 18px;
  font-size: 15px;
  font-weight: 700;
  color: var(--gms-terracotta);
  cursor: pointer;
}
.gift-give-summary::-webkit-details-marker { display: none; }
.gift-give-summary::before { content: "🎁 "; }

.gift-give-form { padding: 0 18px 18px; }

.gift-give-note {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(0, 0, 68, 0.72);
}

.gift-give-field { display: block; margin-bottom: 14px; }
.gift-give-field span {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--gms-ink);
}
.gift-give-field span i {
  font-style: normal;
  font-weight: 400;
  color: rgba(0, 0, 68, 0.5);
  margin-left: 6px;
}
.gift-give-field input {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  border: 1.5px solid rgba(0, 0, 68, 0.14);
  border-radius: 12px;
  background: var(--gms-bg);
  font-family: inherit;
  font-size: 16px;
  color: var(--gms-ink);
}
.gift-give-field input::placeholder { color: rgba(0, 0, 68, 0.35); }

.gift-card--sent { margin-bottom: 18px; text-align: center; }
.gift-headline--sm { font-size: 30px; }

.gift-flash {
  margin: 0 0 14px;
  padding: 12px 16px;
  background: var(--gms-beige);
  border-radius: 14px;
  font-size: 15px;
  font-weight: 600;
  color: var(--gms-ink);
}

/* =========================================================================
   Stamps to spend (B-01) — one balance, rewards priced in stamps.
   Same parts as the app (iOS StampsToSpendViews), same meanings: a stamp
   is filled once confirmed and a dashed outline while it's reserved. The
   star path is normalised to 70 units (pathLength) so the dash is even.
   ========================================================================= */
.lo-stargrid .lo-star.is-reserved path { fill: none; stroke-width: 2.1; stroke-dasharray: 4.4 2.6; stroke-dashoffset: 2.2; stroke-linecap: round; }
.lo-stargrid.on-dark .lo-star.is-reserved path { stroke: var(--gms-beige-warm); }
.lo-stargrid.on-light .lo-star.is-reserved path { stroke: var(--gms-terracotta); }

.lo-star-inline { display: inline-block; flex: none; vertical-align: -1px; overflow: visible; }
.lo-star-inline path { stroke-width: 1.85; }
.lo-star-inline.is-confirmed.on-light path { fill: var(--gms-terracotta); stroke: var(--gms-terracotta); }
.lo-star-inline.is-confirmed.on-dark path { fill: var(--gms-beige-warm); stroke: var(--gms-beige-warm); }
.lo-star-inline.is-reserved path { fill: none; stroke-width: 2.1; stroke-dasharray: 4.4 2.6; stroke-dashoffset: 2.2; stroke-linecap: round; }
.lo-star-inline.is-reserved.on-light path { stroke: var(--gms-terracotta); }
.lo-star-inline.is-reserved.on-dark path { stroke: var(--gms-beige-warm); }
.lo-star-inline.is-empty path { fill: none; stroke: rgba(0,0,68,0.22); stroke-width: 1.8; }

/* The balance hero: the classic hero, one change of meaning. */
.lo-hero--stamps { display: block; text-decoration: none; color: var(--gms-beige-warm); }
.lo-hero--stamps .lo-mark { width: 44px; height: 44px; }
.lo-hero--stamps .lo-count { font-size: 48px; }
.lo-hero--stamps .lo-count-noun { margin: 4px 0 0; }
.lo-count-reserved { margin: 3px 0 0; font-size: 12.5px; font-weight: 600; opacity: 0.9; white-space: nowrap; }
.lo-hero-goal { margin: 14px 0 0; font-size: 13px; font-weight: 600; position: relative; }
.lo-hero-take { display: block; margin-top: 14px; padding: 14px; border-radius: 999px; background: var(--gms-beige-warm); color: var(--gms-terracotta); text-align: center; font-family: var(--font-display); font-size: 14px; letter-spacing: 0.05em; text-transform: uppercase; position: relative; }
.lo-chip--line { background: transparent; border: 1.5px solid var(--gms-beige-warm); padding: 5.5px 12px; }
/* B-05: the balance hero is a div with one stretched link (the class on us),
   so the random row's chips can open their own rewards above it. */
.lo-hero-link { position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.lo-hero-link:focus-visible { outline: 2px solid var(--gms-beige-warm); outline-offset: -4px; }
.lo-hero--stamps .lo-chips { z-index: 2; }
.lo-chip--spot { gap: 6px; padding: 3px 12px 3px 4px; text-decoration: none; min-width: 0; max-width: 100%; }
.lo-chip--spot .lo-mark--chip { width: 20px; height: 20px; font-size: 8px; }
.lo-chip-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.lo-chip-price { display: inline-flex; align-items: center; gap: 2px; font-weight: 700; opacity: 0.9; }
.lo-chip-price svg { width: 10px; height: 10px; }

/* A reward on the shelf: price line and the three actions. */
.lo-mark--row { width: 46px; height: 46px; }
.lo-price { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; font-weight: 600; color: rgba(0,0,68,0.65); }
.lo-price.is-held { color: var(--gms-blue); }
.lo-pill--confirming { background: transparent; color: var(--gms-terracotta); border: 2px dashed var(--gms-terracotta); padding: 8px 14px; font-size: 12.5px; letter-spacing: 0.05em; }
.lo-pill--more { background: transparent; color: var(--gms-ink); border: 2px solid rgba(0,0,68,0.3); padding: 8px 14px; font-size: 12.5px; letter-spacing: 0.05em; }
.lo-pill--held { background: var(--gms-blue); color: var(--gms-beige-warm); padding: 7px 14px; font-size: 12px; }
.lo-shelf--after { margin-top: 10px; }

/* A reward's page and the confirmations. */
.lo-detail-hero .lo-stargrid { flex: none; padding-bottom: 8px; }
/* The app's confirm sheet sits on the brand canvas, so Now (beige) and After
   (beige-warm) both read; on the beige-warm page After would vanish. */
.lo-confirm-screen { background: var(--gms-bg); min-height: 100dvh; }
.lo-stamps-error { margin: 12px 4px 0; font-size: 13px; font-weight: 600; color: var(--gms-terracotta); }
.lo-stamps-note { margin: 10px 0 0; text-align: center; font-size: 12.5px; opacity: 0.65; }
.lo-stamps-note--lead { margin: 0 0 10px; }
.btn.is-disabled { opacity: 0.45; pointer-events: none; cursor: default; }
.lo-confirm-label { margin: 0; font-size: 11px; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; opacity: 0.65; }
.lo-confirm-count { margin: 6px 0 0; font-family: var(--font-display); font-size: 34px; line-height: 1; }

/* Give it back (under a taken ticket). Beige, not beige-warm: the page is. */
.lo-giveback { display: flex; align-items: center; gap: 12px; margin-top: 12px; padding: 16px; border-radius: 20px; background: var(--gms-beige); color: var(--gms-terracotta); text-decoration: none; }
.lo-giveback-ico { font-size: 18px; flex: none; }
.lo-giveback-copy { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.lo-giveback-copy b { font-size: 14px; font-weight: 700; }
.lo-giveback-copy span { font-size: 12.5px; font-weight: 500; color: rgba(0,0,68,0.65); }

/* Profile: Recent stamps. */
.lo-ledger { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.lo-ledger-row { display: flex; align-items: center; gap: 14px; background: #fff; border-radius: 20px; padding: 13px 16px; }
.lo-ledger-mark { width: 26px; flex: none; display: flex; align-items: center; justify-content: center; }
.lo-ledger-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.lo-ledger-main b { font-size: 15px; font-weight: 700; }
.lo-ledger-main span { font-size: 13px; opacity: 0.65; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lo-ledger-value { font-family: var(--font-display); font-size: 19px; color: var(--gms-terracotta); flex: none; }
.lo-ledger-value.is-spent { color: var(--gms-ink); }

/* The one-time move-over. */
.lo-moveover { display: flex; flex-direction: column; min-height: calc(100dvh - 80px); padding-bottom: env(safe-area-inset-bottom); }
.lo-moveover-cards { position: relative; height: 250px; margin: 8px 0 20px; }
.lo-moveover-card { position: absolute; border-radius: 12px; box-shadow: 0 2px 14px rgba(0,0,68,0.08); }
.lo-moveover-card--first { left: 0; top: 46px; padding: 18px; background: #fff; transform: rotate(-6deg); }
.lo-moveover-card--second { right: 4px; top: 6px; padding: 14px; background: var(--gms-beige); transform: rotate(7deg); }
.lo-moveover-card-name { margin: 0 0 10px; font-family: var(--font-display); font-size: 12px; text-transform: uppercase; opacity: 0.65; }
.lo-moveover-row { display: flex; gap: 5px; }
.lo-moveover-balance { position: absolute; right: 22px; top: 112px; padding: 18px 22px; border-radius: 20px; background: var(--gms-terracotta); color: var(--gms-beige-warm); transform: rotate(4deg); box-shadow: 0 8px 32px rgba(0,0,68,0.16); }
.lo-moveover-balance-label { margin: 0; font-family: var(--font-display); font-size: 11px; text-transform: uppercase; }
.lo-moveover-balance-count { margin: 4px 0 0; font-family: var(--font-display); font-size: 44px; line-height: 1; }
.lo-moveover-balance-line { margin: 6px 0 0; font-size: 12px; font-weight: 700; }
.lo-moveover-title { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: 38px; line-height: 0.95; text-transform: uppercase; }
.lo-moveover-body { margin: 12px 0 0; font-size: 14.5px; font-weight: 500; line-height: 1.5; opacity: 0.7; }
.lo-moveover-held { margin-top: 14px; padding: 14px 16px; border-radius: 20px; background: #fff; }
.lo-moveover-held p { margin: 8px 0 0; font-size: 14px; line-height: 1.45; }
.lo-moveover-cta { margin-top: auto; padding-top: 28px; }

/* ── B-20 slide to use (Raj, 8 Oct 2026) ───────────────────────────
   The rewards list, and one partner reward full screen: Ready
   (terracotta, the slider), Used (blue) and Can't be used (beige). */
.sl-section { margin: 20px 4px 10px; font-family: system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(0,0,68,0.65); }
.sl-section:first-of-type { margin-top: 4px; }
.sl-list { display: flex; flex-direction: column; gap: 12px; }
.sl-row { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 24px; background: #fff; box-shadow: 0 4px 10px rgba(0,0,68,0.08); color: var(--gms-ink); text-decoration: none; }
.sl-row .lo-mark { width: 52px; height: 52px; font-size: 18px; }
.sl-row-main { display: flex; flex-direction: column; gap: 4px; flex: 1; min-width: 0; }
.sl-row-title { font-family: var(--font-display); font-weight: 400; font-size: 20px; line-height: 1; text-transform: uppercase; }
.sl-row-line { font-size: 13px; font-weight: 600; line-height: 1.3; color: rgba(0,0,68,0.65); }
.sl-row-sub { font-size: 12.5px; line-height: 1.3; color: rgba(0,0,68,0.65); }
.sl-row-chev { width: 16px; height: 16px; flex: none; color: rgba(0,0,68,0.65); }
.sl-row.is-used .lo-mark img, .sl-row.is-used .lo-mark { filter: grayscale(1); opacity: 0.85; }
.sl-row.is-used .lo-mark img { opacity: 0.7; }
.sl-row.is-used .sl-row-title { color: rgba(0,0,68,0.65); }

.sl-screen section { position: relative; min-height: 100vh; min-height: 100dvh; box-sizing: border-box; display: flex; flex-direction: column; padding: max(54px, calc(env(safe-area-inset-top) + 10px)) 24px max(40px, calc(env(safe-area-inset-bottom) + 16px)); font-family: system-ui, -apple-system, "Segoe UI", sans-serif; }
.sl-screen section[hidden] { display: none; }
.sl-ready { background: var(--gms-terracotta); color: var(--gms-beige-warm); }
.sl-used { background: var(--gms-blue); color: var(--gms-beige-warm); }
.sl-gone { background: var(--gms-beige); color: var(--gms-ink); }
.sl-close { width: 44px; height: 44px; border-radius: 50%; background: #9B3E26; color: var(--gms-beige-warm); display: flex; align-items: center; justify-content: center; flex: none; }
.sl-close svg { width: 18px; height: 18px; }
.sl-gone .sl-close { background: var(--gms-beige-warm); color: var(--gms-ink); }
.sl-gm { position: absolute; right: 20px; top: max(54px, calc(env(safe-area-inset-top) + 10px)); width: 44px; height: 44px; }
/* Used has no close button above it: start where the others' kicker starts. */
.sl-used .sl-top { margin-top: 74px; }
.sl-top { display: flex; flex-direction: column; margin-top: 30px; }
.sl-kicker { margin: 0; font-size: 12px; font-weight: 700; line-height: 1.3; letter-spacing: 0.14em; text-transform: uppercase; }
.sl-venue { display: flex; align-items: center; gap: 14px; margin-top: 16px; }
.sl-venue .lo-mark { width: 52px; height: 52px; box-shadow: 0 0 0 3px var(--gms-beige-warm); font-size: 18px; }
.sl-venue b { display: block; font-size: 19px; line-height: 1.2; }
.sl-venue span span { display: block; font-size: 14px; line-height: 1.3; }
/* Sized so the longest word fits the screen (--sl-chars, set by the page):
   Nersans capitals run about 0.8em wide. Wraps between words only. */
.sl-title { margin: 22px 0 0; font-family: var(--font-display); font-weight: 400; font-size: min(80px, calc((100vw - 52px) / (var(--sl-chars, 5) * 0.8))); line-height: 0.9; text-transform: uppercase; }
.sl-fine { margin: 12px 0 0; font-size: 17px; line-height: 1.4; }
.sl-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.sl-chip { padding: 8px 14px; border-radius: 999px; background: #9B3E26; color: var(--gms-beige-warm); font-size: 13px; font-weight: 700; text-decoration: none; }
.sl-clock { margin-top: 24px; display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-radius: 20px; }
.sl-clock--terra { background: #9B3E26; color: var(--gms-beige-warm); }
.sl-clock--ink { background: var(--gms-ink); color: var(--gms-beige-warm); }
.sl-clock--light { background: var(--gms-beige-warm); color: var(--gms-ink); }
.sl-live { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.sl-dot { position: relative; width: 20px; height: 20px; flex: none; }
.sl-dot::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: currentColor; opacity: 0.3; animation: sl-breathe 2.2s ease-in-out infinite; }
.sl-dot::after { content: ""; position: absolute; left: 5px; top: 5px; width: 10px; height: 10px; border-radius: 50%; background: currentColor; }
@keyframes sl-breathe { 0%, 100% { transform: scale(0.5); opacity: 0.8; } 50% { transform: scale(1); opacity: 0.2; } }
@media (prefers-reduced-motion: reduce) { .sl-dot::before { animation: none; } }
.sl-clock-time { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; }
.sl-time { font-family: var(--font-display); font-size: 34px; line-height: 1; font-variant-numeric: tabular-nums; }
.sl-day { font-size: 13px; line-height: 1.2; }
.sl-foot { margin-top: auto; padding-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.sl-foot[hidden] { display: none; }
.sl-lede { margin: 0 0 8px; font-size: 17px; font-weight: 600; line-height: 1.35; }
.sl-track { position: relative; height: 64px; border-radius: 999px; background: var(--gms-beige-warm); overflow: hidden; touch-action: none; user-select: none; -webkit-user-select: none; }
.sl-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 999px; background: var(--gms-blue); }
.sl-label { position: absolute; left: 60px; right: 0; top: 0; bottom: 0; display: flex; align-items: center; justify-content: center; font-size: 17px; font-weight: 700; color: var(--gms-ink); transition: opacity 0.12s; }
.sl-going { position: absolute; left: 0; top: 0; bottom: 0; width: 0; display: flex; align-items: center; justify-content: center; font-size: 17px; font-weight: 700; color: var(--gms-beige-warm); white-space: nowrap; overflow: hidden; opacity: 0; }
.sl-knob { position: absolute; left: 4px; top: 4px; width: 56px; height: 56px; border-radius: 50%; border: 0; padding: 0; background: var(--gms-ink); color: var(--gms-beige-warm); display: flex; align-items: center; justify-content: center; cursor: grab; touch-action: none; }
.sl-knob svg { width: 24px; height: 24px; }
.sl-knob:focus-visible { outline: 3px solid var(--gms-beige-warm); outline-offset: 3px; }
.sl-track.is-back .sl-knob { transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1); }
.sl-track.is-back .sl-fill { transition: width 0.35s cubic-bezier(0.34, 1.56, 0.64, 1); }
.sl-spin { display: none; width: 22px; height: 22px; border-radius: 50%; border: 3px solid rgba(253,231,218,0.35); border-top-color: var(--gms-beige-warm); animation: sl-spin 0.8s linear infinite; }
.sl-track.is-busy .sl-knob svg { display: none; }
.sl-track.is-busy .sl-spin { display: block; }
@keyframes sl-spin { to { transform: rotate(360deg); } }
.sl-offline { margin-top: auto; padding: 22px; border-radius: 32px; background: var(--gms-beige-warm); color: var(--gms-ink); display: flex; flex-direction: column; gap: 14px; }
.sl-offline[hidden] { display: none; }
.sl-offline p { margin: 0; font-size: 15px; line-height: 1.45; }
.sl-offline-head { display: flex; align-items: center; gap: 10px; }
.sl-offline-head svg { width: 22px; height: 22px; flex: none; }
.sl-offline-head b { font-family: var(--font-display); font-weight: 400; font-size: 24px; line-height: 1; text-transform: uppercase; }
.sl-nowrap { white-space: nowrap; }
.sl-btn { display: flex; align-items: center; justify-content: center; width: 100%; height: 56px; border: 0; border-radius: 999px; font-family: inherit; font-size: 17px; font-weight: 700; text-decoration: none; cursor: pointer; }
.sl-used > .sl-btn, .sl-gone > .sl-btn { margin-top: auto; }
.sl-offline .sl-btn { height: 52px; font-size: 16px; }
.sl-btn--beige { background: var(--gms-beige-warm); color: var(--gms-blue); }
.sl-btn--ink { background: var(--gms-ink); color: var(--gms-beige-warm); }
.sl-badge { margin-top: 22px; width: 96px; height: 96px; border-radius: 50%; background: var(--gms-beige-warm); color: var(--gms-blue); display: flex; align-items: center; justify-content: center; }
.sl-badge svg { width: 50px; height: 50px; }
.sl-badge--ink { background: var(--gms-ink); color: var(--gms-beige-warm); }
.sl-badge--ink svg { width: 40px; height: 40px; }
.sl-big { margin: 26px 0 0; font-family: var(--font-display); font-weight: 400; font-size: 96px; line-height: 0.9; text-transform: uppercase; }
.sl-big--gone { font-size: 64px; }
.sl-what { margin: 14px 0 0; font-size: 22px; font-weight: 700; line-height: 1.25; }
.sl-gone .sl-what { font-size: 20px; }
.sl-when { margin: 4px 0 0; font-size: 17px; line-height: 1.4; }
.sl-enjoy { margin: 24px 0 0; font-size: 17px; line-height: 1.4; }
.sl-enjoy:empty { display: none; }

/* ── T5: "What's your full name?", asked once (app/names/_sheet) ──────────
   A bottom sheet over the home page, above the tab bar and the report
   button. The brand canvas (--gms-bg), not beige-warm: the page ground is
   beige-warm and a beige-warm sheet would vanish into it. The scrim doesn't
   close it: Save and Not now are the only ways out (both are answers). */
html:has(.nm-root), html:has(.nm-root) body { overflow: hidden; }
.nm-root { position: fixed; inset: 0; z-index: 70; }
.nm-scrim { position: absolute; inset: 0; background: rgba(0, 0, 30, 0.38); }
.nm-sheet {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  max-width: 560px;
  max-height: calc(100dvh - 40px);
  margin: 0 auto;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding: 10px 22px calc(22px + env(safe-area-inset-bottom, 0px));
  border-radius: 32px 32px 0 0;
  background: var(--gms-bg);
  box-shadow: 0 -12px 40px rgba(0, 0, 68, 0.18);
  color: var(--gms-ink);
  animation: nm-up 0.26s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
@keyframes nm-up { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .nm-sheet { animation: none; } }
.nm-grabber { width: 40px; height: 5px; margin: 0 auto 18px; border-radius: 999px; background: rgba(0, 0, 68, 0.18); }
.nm-title { margin: 0; font-family: var(--font-display); font-size: 32px; font-weight: 400; line-height: 1; text-transform: uppercase; color: var(--gms-ink); }
.nm-line { margin: 10px 0 0; font-size: 15px; font-weight: 500; line-height: 1.45; color: rgba(0, 0, 68, 0.64); }
.nm-form { display: flex; flex-direction: column; gap: 12px; margin: 20px 0 0; }
.nm-error { margin: 0; }
.nm-actions { display: flex; flex-direction: column; gap: 4px; margin-top: 18px; }

/* ══════════════════════════════════════════════════════════════════════
   Friend pass (docs/2026-10-18-friend-pass.md): /pass (the regular) and
   /friend (the friend). The Good Moves design system's Product layer, as
   drawn on the Bring a friend canvas: the gift is a blue celebration
   (p-celebrate), the rest sits on the warm ground with white cards. The
   p-* values are the design system's (tokens.json); /me has no shared
   copy of them yet, so they are scoped to these pages.
   ══════════════════════════════════════════════════════════════════════ */

.fp-page {
  --p-ground: #fbf6f1;
  --p-surface: #fff;
  --p-fill: #eedbc3;
  --p-ink: #000044;
  --p-ink-2: rgba(0, 0, 68, 0.65);
  --p-ink-3: rgba(0, 0, 68, 0.45);
  --p-line: rgba(0, 0, 68, 0.12);
  --p-action: #b0482d;
  --p-action-pressed: #9b3e26;
  --p-on-action: #fde7da;
  --p-error: #b8382e;
  --p-celebrate: #001da2;
  --p-celebrate-pressed: #00178f;
  --p-on-celebrate: #fde7da;
  --p-radius-field: 16px;
  --p-radius-row: 20px;
  --p-radius-card: 24px;
  --p-radius-pill: 999px;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--p-ground);
  color: var(--p-ink);
  padding: 28px 20px calc(32px + env(safe-area-inset-bottom));
  box-sizing: border-box;
}
.fp-inner { max-width: 460px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.fp-page p, .fp-page h1, .fp-page h2, .fp-page h3 { margin: 0; }

.fp-eyebrow { font: 600 13px/1.2 system-ui, -apple-system, sans-serif; letter-spacing: 0.12em; text-transform: uppercase; }
.fp-title { font: 400 34px/1 var(--font-display); text-transform: uppercase; }
.fp-title-2 { font: 400 28px/1.05 var(--font-display); text-transform: uppercase; }
.fp-body { font-size: 15px; line-height: 1.45; }
.fp-secondary { font-size: 14px; line-height: 1.4; color: var(--p-ink-2); }
.fp-error { font-size: 15px; font-weight: 600; color: var(--p-error); }

/* The celebration: a whole blue screen for the moment itself. */
.fp-page--celebrate {
  position: relative;
  overflow: hidden;
  display: flex;
  background: var(--p-celebrate);
  color: var(--p-on-celebrate);
}
.fp-page--celebrate::before {
  content: "";
  position: absolute;
  top: -90px;
  left: -130px;
  width: 300px;
  height: 270px;
  background: var(--p-on-celebrate);
  opacity: 0.12;
  border-radius: 58% 42% 47% 53% / 46% 51% 49% 54%;
  pointer-events: none;
}
.fp-page--celebrate .fp-inner { position: relative; flex: 1; justify-content: space-between; width: 100%; }
.fp-celebrate-body { display: flex; flex-direction: column; gap: 16px; padding-top: 18vh; }
.fp-page--celebrate .fp-secondary { color: rgba(253, 231, 218, 0.78); }
.fp-page--celebrate .fp-error { color: var(--p-on-celebrate); background: rgba(253, 231, 218, 0.14); padding: 10px 14px; border-radius: 14px; }

/* The pass as a card on the warm ground (the regular's Send to a friend). */
.fp-card {
  background: var(--p-celebrate);
  color: var(--p-on-celebrate);
  border-radius: var(--p-radius-card);
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.fp-card .fp-secondary { color: rgba(253, 231, 218, 0.78); }
.fp-card-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 4px; }
.fp-card-link { color: var(--p-on-celebrate); font-weight: 600; text-decoration: underline; background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }

.fp-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 56px;
  padding: 0 22px;
  border: 0;
  border-radius: var(--p-radius-pill);
  background: var(--p-action);
  color: var(--p-on-action);
  font: 400 17px/1 var(--font-display);
  letter-spacing: 0.01em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  -webkit-appearance: none;
  box-sizing: border-box;
}
.fp-btn:active { transform: scale(0.96); }
.fp-btn--on-blue { background: var(--p-on-celebrate); color: var(--p-celebrate); }
.fp-btn--sm { width: auto; min-height: 44px; font-size: 15px; }
.fp-btn--ghost { background: transparent; color: inherit; border: 2px solid currentColor; }
.fp-foot { display: flex; flex-direction: column; gap: 10px; text-align: center; }

.fp-head { display: flex; align-items: center; gap: 12px; }
.fp-back {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--p-surface); color: var(--p-ink); flex-shrink: 0;
}
.fp-head-title { font: 400 28px/1.05 var(--font-display); text-transform: uppercase; }

.fp-day { font: 600 13px/1.2 system-ui, -apple-system, sans-serif; letter-spacing: 0.12em; text-transform: uppercase; color: var(--p-ink-2); margin-top: 8px !important; }
.fp-classes { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.fp-class {
  display: flex; align-items: center; gap: 14px;
  background: var(--p-surface); border-radius: var(--p-radius-row); padding: 14px 16px;
}
.fp-class-when { display: flex; flex-direction: column; min-width: 52px; }
.fp-class-time { font-weight: 700; font-size: 17px; }
.fp-class-len { font-size: 12px; color: var(--p-ink-3); }
.fp-class-main { flex: 1; min-width: 0; }
.fp-class-name { font: 400 20px/1.1 var(--font-display); text-transform: uppercase; }
.fp-class-teacher { font-size: 14px; color: var(--p-ink-2); margin-top: 2px !important; }
.fp-class-book {
  flex-shrink: 0; padding: 10px 16px; border-radius: var(--p-radius-pill);
  background: var(--p-action); color: var(--p-on-action); font-weight: 700; font-size: 14px; text-decoration: none;
}

.fp-summary { background: var(--p-surface); border-radius: var(--p-radius-row); padding: 16px; display: flex; flex-direction: column; gap: 4px; }
.fp-summary-when { font-size: 14px; font-weight: 600; color: var(--p-ink-2); }
.fp-summary-name { font: 400 22px/1.1 var(--font-display); text-transform: uppercase; }

.fp-form { display: flex; flex-direction: column; gap: 14px; }
.fp-field { display: flex; flex-direction: column; gap: 6px; }
.fp-field-label { font-size: 14px; font-weight: 600; }
.fp-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.fp-input {
  width: 100%; height: 52px; border-radius: var(--p-radius-field); background: var(--p-surface);
  border: 2px solid var(--p-line); padding: 0 14px; box-sizing: border-box;
  font: 400 17px system-ui, -apple-system, sans-serif; color: var(--p-ink); outline: none;
  -webkit-appearance: none; appearance: none;
}
.fp-input::placeholder { color: var(--p-ink-3); }
.fp-input:focus { border-color: var(--p-action); }
.fp-page--celebrate .fp-input { border-color: transparent; }
/* Friend pass: the mobile number as the design system's PhoneField: the
   country chip (ISO, dial, chevron on p-fill, a real <select> of every
   country laid over it) and the number in one white field. */
.fp-phone {
  display: flex; align-items: center; gap: 8px; width: 100%; height: 52px; box-sizing: border-box;
  border-radius: var(--p-radius-field); background: var(--p-surface); border: 2px solid var(--p-line);
  padding: 0 14px 0 4px;
}
.fp-phone:focus-within { border-color: var(--p-action); }
.fp-page--celebrate .fp-phone { border-color: transparent; }
.fp-cc {
  position: relative; flex: none; display: inline-flex; align-items: center; gap: 4px;
  height: 40px; padding: 0 8px 0 12px; border-radius: 10px; background: var(--p-fill);
}
.fp-cc-iso { font-size: 13px; font-weight: 600; color: var(--p-ink-2); }
.fp-cc-dial { font-size: 17px; font-weight: 600; color: var(--p-ink); }
.fp-cc-chev { width: 10px; height: 7px; color: var(--p-ink-2); margin-left: 2px; }
.fp-cc-select {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%; margin: 0; padding: 0; border: 0; opacity: 0;
  font-size: 16px; cursor: pointer; -webkit-appearance: none; appearance: none;
}
.fp-cc:focus-within { outline: 2px solid var(--p-action); outline-offset: 2px; }
.fp-phone-input {
  flex: 1; min-width: 0; height: 100%; padding: 0; border: 0; background: transparent; outline: none;
  font: 400 17px system-ui, -apple-system, sans-serif; color: var(--p-ink); -webkit-appearance: none; appearance: none;
}
.fp-phone-input::placeholder { color: var(--p-ink-3); }
/* Friend pass: the regular's status page (step 9), Raj 20 Oct 2026. */
.fp-steps { list-style: none; margin: 0; padding: 0; background: var(--p-surface); border-radius: var(--p-radius-row); }
.fp-step { display: flex; align-items: center; gap: 12px; padding: 14px 16px; }
.fp-step + .fp-step { border-top: 1px solid var(--p-line); }
.fp-step-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.fp-step-label { font-weight: 700; }
.fp-step-mark { flex-shrink: 0; font: 700 11px/1 system-ui, -apple-system, sans-serif; letter-spacing: 0.08em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; }
.fp-step-mark--done { background: #e2f1e7; color: #1d5e36; }
.fp-step-mark--wait { background: #e6e9f7; color: #001da2; }
.fp-step-mark--no { background: #f6e1da; color: #8a3520; }
.fp-check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.4; }
.fp-check input {
  width: 22px; height: 22px; margin: 0; flex-shrink: 0; box-sizing: border-box; cursor: pointer;
  -webkit-appearance: none; appearance: none; border-radius: 6px; border: 2px solid var(--p-line);
  background: var(--p-surface) center / 14px 14px no-repeat;
}
.fp-check input:checked {
  border-color: var(--p-action);
  background-color: var(--p-action);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' stroke='%23FDE7DA' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.fp-check input:focus-visible { outline: 2px solid var(--p-action); outline-offset: 2px; }
.fp-check a, .fp-page a.fp-link { color: var(--p-action); font-weight: 600; }

.fp-banner { background: var(--p-fill); border-radius: var(--p-radius-row); padding: 16px; display: flex; flex-direction: column; gap: 4px; }
.fp-banner-title { font-weight: 700; font-size: 15px; }
.fp-banner a { color: var(--p-action); font-weight: 700; }

/* ── The friend's pages, 23 Oct 2026 (canvas "Bring a friend for regulars"):
   the gift and Pick a time on one screen under a blue celebration, Almost
   there, Enter your code, You're booked. The design system's Celebration:
   real blobs, a character arriving, the confetti burst once. ────────────── */

.fp-blob { position: absolute; display: block; pointer-events: none; }

/* The character arrives (p-dur-celebrate). */
.fp-arrive { animation: fp-arrive 480ms cubic-bezier(0.22, 1, 0.36, 1) both; }
@keyframes fp-arrive {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}

/* The burst: 16 pieces from the character's centre, once (p-dur-confetti). */
.fp-burst { position: absolute; left: 50%; top: 50%; width: 0; height: 0; pointer-events: none; }
.fp-bit {
  position: absolute; left: 0; top: 0; display: block; opacity: 0;
  transform: translate(-50%, -50%) scale(0.4);
  animation: fp-burst 1800ms cubic-bezier(0.22, 1, 0.36, 1) both;
}
.fp-bit svg { display: block; width: 100%; height: 100%; }
.fp-bit--dash { width: 14px; height: 4px; border-radius: 2px; }
@keyframes fp-burst {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(0.4) rotate(0deg); }
  10% { opacity: 1; }
  61% { opacity: 1; }
  100% { opacity: 0; transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) scale(1) rotate(var(--rot)); }
}
@media (prefers-reduced-motion: reduce) {
  .fp-arrive, .fp-bit { animation: none; }
  .fp-bit--star { opacity: 1; transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))); }
  .fp-bit--dash { display: none; }
}

/* The link: the celebration on top, Pick a time below it. */
.fp-page--hero { padding: 0 0 calc(32px + env(safe-area-inset-bottom)); }
.fp-hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--p-celebrate); color: var(--p-on-celebrate);
  border-radius: 0 0 32px 32px;
  padding: calc(52px + env(safe-area-inset-top)) 20px 28px;
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
.fp-hero > :not(.fp-blob) { position: relative; }
.fp-hero .fp-blob--a { width: 300px; right: -150px; top: -130px; opacity: 0.2; }
.fp-hero .fp-blob--b { width: 300px; left: -170px; bottom: -170px; opacity: 0.14; }
.fp-hero-art { width: 150px; height: 112px; }
.fp-hero-art img { position: relative; display: block; width: 150px; height: 112px; }
.fp-hero .fp-eyebrow { margin-top: 20px; font-size: 12px; letter-spacing: 0.08em; }
.fp-hero .fp-title { margin-top: 10px; max-width: 320px; text-wrap: balance; }
.fp-hero .fp-body { margin-top: 10px; max-width: 310px; text-wrap: balance; }
.fp-times { padding: 22px 20px 0; gap: 12px; scroll-margin-top: 8px; }
.fp-section-title { font: 400 24px/1.05 var(--font-display); text-transform: uppercase; }

/* Almost there and Enter your code: the button sits at the foot. */
.fp-inner--fill { min-height: calc(100vh - 60px); min-height: calc(100dvh - 60px - env(safe-area-inset-bottom)); }
.fp-form--fill { flex: 1; }
.fp-form-foot { margin-top: auto; padding-top: 8px; display: flex; flex-direction: column; gap: 12px; text-align: center; }
.fp-links { font-size: 15px; }
.fp-page .fp-link, .fp-textlink {
  color: var(--p-action); font: 600 15px system-ui, -apple-system, sans-serif;
  background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline;
}

.fp-code-head { display: flex; flex-direction: column; gap: 14px; padding-top: 40px; }
.fp-title--code { font-size: 44px; }
.fp-lead { font-size: 17px; line-height: 1.45; }
.fp-code { position: relative; margin-top: 8px; }
.fp-code-input { font: 400 28px/1 var(--font-display); letter-spacing: 0.3em; text-align: center; height: 62px; }
.fp-code-boxes { display: none; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.fp-code-box {
  height: 62px; border-radius: var(--p-radius-field); background: var(--p-surface);
  border: 2px solid var(--p-line); box-sizing: border-box;
  display: grid; place-items: center; font: 400 28px/1 var(--font-display);
}
/* With JavaScript the field lies over the boxes, unseen: taps, typing and
   the phone's autofill all reach it. */
.fp-code.is-ready .fp-code-boxes { display: grid; }
.fp-code.is-ready .fp-code-input {
  position: absolute; inset: 0; height: 100%; opacity: 0; font-size: 16px; color: transparent;
  caret-color: transparent; letter-spacing: normal;
}
.fp-code.is-focused .fp-code-box.is-next { border-color: var(--p-action); }

/* You're booked: the whole screen celebrates. */
.fp-page--booked {
  position: relative; overflow: hidden; display: flex;
  background: var(--p-celebrate); color: var(--p-on-celebrate);
  padding: calc(72px + env(safe-area-inset-top)) 20px calc(32px + env(safe-area-inset-bottom));
}
.fp-page--booked .fp-blob--a { width: 320px; right: -150px; top: -120px; opacity: 0.2; }
.fp-page--booked .fp-blob--b { width: 380px; left: -170px; bottom: -150px; opacity: 0.14; }
.fp-page--booked .fp-inner { position: relative; flex: 1; width: 100%; justify-content: space-between; }
.fp-booked-body { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.fp-booked-art { position: relative; width: 176px; height: 160px; margin-top: 24px; }
.fp-booked-art img { position: relative; display: block; width: 176px; height: 160px; }
.fp-booked-body .fp-eyebrow { margin-top: 32px; letter-spacing: 0.08em; }
.fp-title--xl { font-size: 48px; max-width: 330px; }
.fp-booked-body .fp-title--xl { margin-top: 12px; }
.fp-booked-body .fp-booked-when { margin-top: 12px; max-width: 310px; font-size: 17px; line-height: 1.45; }
.fp-booked-body .fp-booked-note { margin-top: 14px; max-width: 300px; font-size: 15px; line-height: 1.45; }
.fp-page--booked .fp-btn { font-size: 19px; }
.fp-foot-note { font-size: 14px; line-height: 1.4; }
.fp-foot-note a { color: inherit; font-weight: 600; }

/* Two players (Raj, 28 Oct 2026, FRIEND_PASS_TWO_PLAYERS): not new, used and
   run out. The gift's shape (the hero on top, the rest below) in soft beige
   with terracotta: terracotta acts here, blue stays for the gift and You're
   booked. */
.fp-page--away { display: flex; flex-direction: column; }
.fp-hero--away { background: var(--p-fill); color: var(--p-ink); }
.fp-hero--away .fp-blob--a { opacity: 0.12; }
.fp-hero--away .fp-blob--b { opacity: 0.1; }
.fp-hero--away .fp-eyebrow { color: var(--p-ink-2); }
.fp-hero--away .fp-title { color: var(--p-action); }
.fp-hero-art--away { width: 123px; }
.fp-hero-art--away img { width: 123px; }
.fp-away-rest { flex: 1; width: 100%; padding: 22px 20px 0; box-sizing: border-box; justify-content: space-between; }
.fp-away-note { background: var(--p-surface); border-radius: var(--p-radius-row); padding: 16px 18px; font-size: 15px; line-height: 1.45; }
.fp-away-foot { text-align: center; margin-top: auto !important; }
/* Used and run out: the whole screen is the soft beige block, like You're
   booked, so nothing waits half empty below it. */
.fp-page--ended { position: relative; overflow: hidden; display: flex; background: var(--p-fill); }
.fp-page--ended .fp-blob--a { width: 320px; right: -150px; top: -120px; opacity: 0.12; }
.fp-page--ended .fp-blob--b { width: 360px; left: -170px; bottom: -150px; opacity: 0.1; }
.fp-page--ended .fp-inner { position: relative; flex: 1; width: 100%; justify-content: space-between; }
.fp-ended-body { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 12px; }
.fp-ended-art { display: block; width: 176px; height: auto; margin-bottom: 18px; }
.fp-ended-body .fp-eyebrow { color: var(--p-ink-2); font-size: 12px; letter-spacing: 0.08em; }
.fp-ended-body .fp-title { color: var(--p-action); max-width: 320px; text-wrap: balance; }
.fp-ended-body .fp-lead { max-width: 320px; text-wrap: balance; }

/* Checked in: green, not checked in yet: gold (docs/2026-10-30-checked-in-green.md,
   board CiEverywhere). A solid tag on the right of a visit row, centred:
   p-checked-in #147A4F with white, p-not-checked-in #D4A82C with ink. */
.ci-tag { flex: none; align-self: center; display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px;
  border-radius: 999px; font-size: 11px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; }
.ci-tag--in { background: #147A4F; color: #FFFFFF; }
.ci-tag--not { background: #D4A82C; color: #000044; }

/* ── No text? The email way in (docs/2026-11-04-email-way-in.md, 3) ──────
   The canvas "No text yet? The email way in": the white card under "Send
   it again", Check your email, Use your email, and "Is this still your
   email?". On the code step's warm-beige canvas. */
.nt-card { margin-top: 22px; background: #fff; border-radius: 24px; padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.nt-card[hidden] { display: none; }
.nt-card-head { display: flex; align-items: center; gap: 12px; }
.nt-envelope { flex: none; display: block; }
.nt-card-text { display: flex; flex-direction: column; gap: 3px; }
.nt-card-title { font-family: var(--font-display); font-size: 17px; text-transform: uppercase; line-height: 1; }
.nt-card-line { font-size: 13px; line-height: 1.4; font-weight: 500; color: rgba(0,0,68,0.75); }
.nt-outline { display: block; width: 100%; box-sizing: border-box; height: 52px; border: 2px solid var(--gms-terracotta); border-radius: 999px; background: #fff; color: var(--gms-terracotta); font-family: var(--font-display); font-size: 15px; letter-spacing: 0.05em; text-transform: uppercase; cursor: pointer; }
.nt-outline--link { display: flex; align-items: center; justify-content: center; margin-top: 12px; background: transparent; text-decoration: none; }
.nt-screen .em-eyebrow { font-size: 13px; letter-spacing: 0.12em; }
.nt-screen .si-hero { margin-top: 10px; font-size: 42px; line-height: 0.96; }
.nt-screen .si-lead { opacity: 1; font-size: 15px; line-height: 1.45; max-width: 330px; }
.nt-form { margin-top: 22px; }
.nt-form .si-cta { margin-top: 10px; }
.nt-info { margin-top: 16px; background: #fff; border-radius: 20px; padding: 14px 16px; display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.45; font-weight: 500; color: rgba(0,0,68,0.8); }
.nt-info svg { flex: none; margin-top: 1px; }
.nt-back, .nt-later { margin-top: 16px; text-align: center; }
.nt-wait { margin-top: 26px; background: #fff; border-radius: 24px; padding: 22px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.nt-wait-line { font-size: 15px; font-weight: 600; text-align: center; }
.nt-waiting { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: rgba(0,0,68,0.65); }
.nt-spinner { width: 14px; height: 14px; box-sizing: border-box; border-radius: 50%; border: 3px solid rgba(0,0,68,0.2); border-top-color: var(--gms-terracotta); animation: nt-spin 1s linear infinite; }
@keyframes nt-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .nt-spinner { animation: none; } }
.nt-fine { margin: 16px 0 0; text-align: center; font-size: 12.5px; line-height: 1.4; color: rgba(0,0,68,0.72); }
.nt-expired { margin-top: 22px; }
.nt-address { margin-top: 22px; background: #fff; border-radius: 24px; padding: 18px 20px; display: flex; align-items: center; gap: 12px; font-size: 17px; font-weight: 600; }
.nt-address .nt-envelope { width: 34px; height: 26px; }
.nt-quiet { color: rgba(0,0,68,0.65); }

/* Rows that answer on a tap (`tap_to_answer`): "Is this you?"
   (docs/2026-11-08-fewest-words-screens.md, section 5) and B-14's "Have you
   been here before?" (docs/2026-11-08-buyer-flow.md). Full bleed on
   p-ground-warm; the title's one line in p-answer; one white card with the
   question in p-question (system 24/800) and big one-line rows in p-answer
   (system 18/800, 58 tall, radius 18, p-ground fill) that answer on a tap;
   the other actions as plain links. "Wait for the studio" opens its box in
   place. No eyebrow, no help line, no class card. */
.screen.sa-warm { background: #FDE7DA; min-height: 100vh; min-height: 100dvh; }
.sa-line { margin: 0 0 20px; font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; font-size: 18px; font-weight: 800; line-height: 1.25; color: var(--gms-ink); }
.sa-card { display: flex; flex-direction: column; gap: 14px; padding: 20px; border-radius: 24px; background: #fff; }
.sa-question { margin: 0; font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; font-size: 24px; font-weight: 800; line-height: 1.2; color: var(--gms-ink); }
.sa-rows { display: flex; flex-direction: column; gap: 10px; }
.sa-rows form { margin: 0; }
.sa-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 58px;
  padding: 14px 18px; border-radius: 18px; border: 2px solid transparent; background: #F7F0E9; color: var(--gms-ink);
  text-align: left; cursor: pointer;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; font-size: 18px; font-weight: 800; line-height: 1.25;
  touch-action: manipulation; -webkit-tap-highlight-color: transparent; list-style: none;
}
.sa-chev { flex: none; font-size: 24px; line-height: 1; opacity: 0.5; }
.sa-row::-webkit-details-marker { display: none; }
.sa-row:focus-visible { outline: 3px solid var(--gms-terracotta); outline-offset: 2px; }
.sa-open[open] > .sa-row { border-color: var(--gms-terracotta); }
.sa-open-form { display: flex; flex-direction: column; gap: 12px; margin-top: 12px; }
.sa-open-form .field-label { text-transform: none; letter-spacing: 0; font-size: 18px; font-weight: 800; opacity: 1; }
.sa-open-form textarea.input { min-height: 96px; resize: vertical; font: inherit; font-size: 17px; line-height: 1.4; background: #F7F0E9; }
.sa-link { display: flex; justify-content: center; margin-top: 14px; }
.sa-link .link-button { font-size: 15px; font-weight: 700; }

/* One screen for every code (CodeScreen; Raj, 13 Nov 2026; the TapIn app
   canvas, "Sign in and sign up", "Every other code: one screen"): the job's
   small heading over "Enter your code" / "Check your email", where it went
   in full ink, and the change link under the hint. */
.cs-eyebrow { font-size: 13px; letter-spacing: 0.12em; }
.si-hero.cs-hero { margin-top: 10px; font-size: 42px; line-height: 0.96; }
.si-lead.cs-lead { opacity: 1; font-size: 15px; line-height: 1.45; max-width: 330px; }
.cs-change { margin-top: 16px; text-align: center; }
.cs-change .si-link { font-size: 14px; }
