/* =====================================================
   Honey Lemon — design system v4 "calm premium"
   Informed by CMB/Bumble design audits:
   one accent used sparingly · strong type hierarchy ·
   generous whitespace · calm neutral surfaces
   ===================================================== */

:root {
  --ink: #111318;
  --ink-2: #2c2f36;
  --soft: #6b7280;
  --faint: #9ca3af;
  --bg: #faf9f6;
  --surface: #ffffff;
  --wash: #f4f3ee;
  --line: #eae7e0;

  --honey: #ffc928;
  --honey-deep: #e8a800;
  --honey-tint: #fff4cc;
  --like: #fe3c72;
  --super: #2f80ed;
  --ok: #16a05a;
  --danger: #de2f47;

  --shadow-sm: 0 1px 2px rgba(18, 20, 25, 0.04);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 6px 16px rgba(18, 20, 25, 0.07), 0 20px 44px rgba(18, 20, 25, 0.10);

  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 24px;
}

* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
html { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #e9e8e4;
  color: var(--ink);
  display: flex; justify-content: center; min-height: 100vh;
  font-size: 14.5px; line-height: 1.5;
}

.phone {
  width: 100%; max-width: 430px; min-height: 100vh;
  background: var(--bg);
  display: flex; flex-direction: column; position: relative;
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.14);
  overflow-x: hidden;
}

svg.ic { width: 24px; height: 24px; flex: none; }

/* ---------- splash ---------- */
.splash {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 100vh; text-align: center; background: var(--surface);
}
.splash-emoji { font-size: 76px; animation: float 3s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.splash h1 { font-size: 30px; font-weight: 800; letter-spacing: -0.8px; margin-top: 18px; }
.splash p { color: var(--soft); margin-top: 6px; font-weight: 500; font-size: 14px; }

/* ---------- layout ---------- */
.topbar {
  display: flex; align-items: center; gap: 10px;
  padding: 20px 24px 14px; position: sticky; top: 0; z-index: 20;
  background: rgba(251, 251, 249, 0.86);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}
.topbar h2 { font-size: 23px; font-weight: 800; letter-spacing: -0.6px; flex: 1; }
.topbar .back {
  width: 36px; height: 36px; border-radius: 50%; border: none; cursor: pointer;
  background: var(--wash); font-size: 20px; color: var(--ink);
  display: flex; align-items: center; justify-content: center; transition: transform 0.15s;
}
.topbar .back:active { transform: scale(0.9); }
.topbar .right {
  cursor: pointer; border: none; background: none; color: var(--ink-2);
  width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
  transition: transform 0.15s;
}
.topbar .right:active { transform: scale(0.9); }
.topbar .right svg.ic { width: 23px; height: 23px; }
.quota-pill {
  font-size: 12px; font-weight: 700; color: var(--soft);
  background: var(--wash); border-radius: 99px; padding: 7px 13px;
}
.loc-nudge {
  display: flex; align-items: center; gap: 9px;
  margin: 0 24px 8px; padding: 10px 14px;
  background: var(--honey-tint); border-radius: 14px;
}
.loc-nudge .pin { font-size: 17px; }
.loc-nudge .msg { flex: 1; font-size: 12.5px; font-weight: 600; color: var(--soft); }
.loc-nudge button {
  border: none; background: none; cursor: pointer; font-family: inherit;
}
.loc-nudge #loc-enable { font-size: 12.5px; font-weight: 700; color: var(--ink); padding: 4px 8px; }
.loc-nudge #loc-dismiss { font-size: 13px; color: var(--soft); padding: 4px; }

.screen { flex: 1; overflow-y: auto; padding: 6px 24px 110px; animation: screen-in 0.25s ease; }
.screen.no-tabs { padding-bottom: 36px; }
@keyframes screen-in { from { opacity: 0; transform: translateY(5px); } }

/* tab bar — white, minimal, honey only on the active state */
.tabbar {
  position: fixed; bottom: 0; width: 100%; max-width: 430px; z-index: 30;
  display: flex; padding: 10px 8px calc(12px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 -1px 0 var(--line);
}
.tabbar button {
  flex: 1; padding: 4px 0 2px; border: none; background: none; cursor: pointer;
  font-family: inherit; font-size: 10.5px; font-weight: 600; color: var(--faint);
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  transition: color 0.18s;
}
.tabbar button svg.ic {
  width: 24px; height: 24px; padding: 5px 14px; box-sizing: content-box;
  border-radius: 99px; transition: background 0.18s;
}
.tabbar button.active { color: var(--ink); font-weight: 800; }
.tabbar button.active svg.ic { background: var(--honey-tint); color: var(--honey-deep); }

/* ---------- forms ---------- */
input, select, textarea {
  width: 100%; padding: 15px 16px; border: 1.5px solid var(--line); border-radius: var(--r-md);
  font-size: 15px; font-family: inherit; background: var(--surface); margin-bottom: 12px;
  color: var(--ink); transition: border-color 0.18s, box-shadow 0.18s;
  appearance: none; -webkit-appearance: none;
}
select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%239aa0ac' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
input::placeholder, textarea::placeholder { color: var(--faint); }
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--ink);
  box-shadow: 0 0 0 3.5px rgba(18, 20, 25, 0.08);
}
label.f { font-size: 12px; font-weight: 700; color: var(--soft); display: block; margin: 6px 0 7px; letter-spacing: 0.2px; }

/* CTAs: ink-dark = premium default; honey reserved for THE brand moments */
.btn {
  width: 100%; padding: 16px; border: none; border-radius: var(--r-md);
  background: var(--ink); color: #fff;
  font-family: inherit; font-weight: 700; font-size: 15px; letter-spacing: -0.1px;
  cursor: pointer; margin-bottom: 10px;
  transition: transform 0.15s, opacity 0.15s, box-shadow 0.15s;
  box-shadow: 0 6px 16px rgba(18, 20, 25, 0.18);
}
.btn:active { transform: scale(0.98); }
.btn:disabled { opacity: 0.4; }
.btn.honey { background: var(--honey); color: var(--ink); box-shadow: 0 6px 16px rgba(232, 168, 0, 0.3); }
.btn.outline { background: var(--surface); color: var(--ink); border: 1.5px solid var(--line); box-shadow: none; }
.btn.danger { background: var(--danger); color: #fff; box-shadow: 0 6px 16px rgba(222, 47, 71, 0.25); }
.btn.ghost { background: none; color: var(--soft); font-weight: 600; font-size: 14px; padding: 10px; box-shadow: none; }
.btn.small { width: auto; padding: 9px 18px; font-size: 13px; margin: 0; border-radius: 12px; }

.row { display: flex; gap: 10px; align-items: center; }
.row > * { flex: 1; }
.row .btn.small { flex: none; }

.phone-row { display: flex; gap: 8px; }
.phone-row select { flex: 0 0 100px; padding-left: 12px; padding-right: 28px; }
.phone-row input { flex: 1; min-width: 0; }

.error { color: var(--danger); font-size: 13px; font-weight: 600; margin: 4px 0 10px; }
.hint { color: var(--soft); font-size: 13.5px; margin-bottom: 16px; line-height: 1.6; }
.center { text-align: center; }
h3.section { font-size: 16px; font-weight: 800; letter-spacing: -0.3px; margin: 22px 0 12px; }

/* ---------- auth ---------- */
.auth-hero { text-align: center; padding: 52px 0 30px; }
.auth-hero .logo-badge {
  width: 80px; height: 80px; margin: 0 auto 18px; border-radius: 26px;
  background: var(--honey-tint); border: 1.5px solid #f4df9a;
  display: flex; align-items: center; justify-content: center; font-size: 40px;
}
.auth-hero h2 { font-size: 27px; font-weight: 800; letter-spacing: -0.7px; }
.auth-hero p { color: var(--soft); margin-top: 6px; font-size: 13.5px; font-weight: 500; }

.trust-row { display: flex; align-items: center; gap: 10px; margin: 4px 0 20px; }
.trust-avatars { display: flex; }
.trust-avatars span {
  width: 26px; height: 26px; border-radius: 50%; border: 2px solid #fdf7ea;
  margin-left: -10px; display: inline-block;
}
.trust-avatars span:first-child { margin-left: 0; }
.trust-row .trust-text { font-size: 13.5px; }
.trust-row .trust-text b { font-weight: 800; color: var(--ink); }
.trust-row .trust-text small { display: block; color: var(--soft); font-weight: 500; }

/* ---------- image placeholder (deals / events with no photo yet) ---------- */
.img-placeholder {
  background: var(--honey-tint); display: flex; align-items: center;
  justify-content: center; color: var(--honey-deep);
}
.img-placeholder .ph-icon { width: 34px; height: 34px; opacity: 0.5; }

/* ---------- chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.chip {
  padding: 10px 17px; border-radius: 99px; border: 1.5px solid var(--line);
  background: var(--surface); font-family: inherit; font-size: 13px; font-weight: 600;
  color: var(--ink-2); cursor: pointer; transition: all 0.15s;
}
.chip:active { transform: scale(0.95); }
.chip.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip.mini { padding: 4px 11px; font-size: 11px; font-weight: 700; background: var(--wash); color: var(--soft); border: none; }

/* ---------- cards ---------- */
.card {
  background: var(--surface); border-radius: var(--r-lg);
  box-shadow: var(--shadow-md); border: 1px solid var(--line);
  margin-bottom: 14px; overflow: hidden;
  transition: transform 0.16s;
}
.card:active { transform: scale(0.99); }
.card .pad { padding: 20px; }

/* ---------- monogram avatars (replaces emoji placeholders) ---------- */
.avatar.tiny { width: 32px; height: 32px; font-size: 13px; }
.chat-who { display: flex; align-items: center; gap: 9px; cursor: pointer; flex: 1; min-width: 0; }
.chat-who h2 { font-size: 17px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.avatar {
  width: 54px; height: 54px; border-radius: 50%;
  background-color: var(--wash);
  background-size: cover; background-position: center; flex: none;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 800;
  box-shadow: inset 0 0 0 1px rgba(18, 20, 25, 0.06);
}
.mono-0 { background-color: #ffeccc; color: #8a5c00; }
.mono-1 { background-color: #dcebff; color: #1d4f91; }
.mono-2 { background-color: #e8e1ff; color: #4a3a99; }
.mono-3 { background-color: #dcf4e4; color: #156239; }
.mono-4 { background-color: #ffe1e8; color: #99203f; }
.mono-5 { background-color: #f5e9d7; color: #6b4a1b; }

/* ---------- swipe deck ---------- */
.swipe-wrap { position: relative; height: 64vh; margin-top: 2px; }
.swipe-card {
  position: absolute; inset: 0; border-radius: 30px; overflow: hidden;
  background: var(--wash);
  box-shadow: var(--shadow-lg);
  display: flex; align-items: flex-end;
  background-size: cover; background-position: center top;
  transition: transform 0.28s cubic-bezier(0.3, 0.7, 0.4, 1), opacity 0.28s;
}
/* warm layered gradient when there's no photo — never feels empty */
.swipe-card.no-photo {
  background-image:
    radial-gradient(420px 320px at 85% -5%, rgba(255, 196, 0, 0.35), transparent 65%),
    radial-gradient(360px 300px at 0% 30%, rgba(255, 255, 255, 0.55), transparent 70%),
    linear-gradient(165deg, #fff3c9 0%, #ffe18f 48%, #f8c64e 100%);
}
.swipe-card .placeholder {
  position: absolute; top: 12%; left: 0; right: 0; display: flex; justify-content: center;
  font-size: 120px; font-weight: 800; letter-spacing: -4px; opacity: 0.85;
  text-shadow: 0 10px 30px rgba(140, 95, 0, 0.25);
}
.swipe-card .info {
  position: relative; width: 100%; padding: 130px 24px 56px; color: #fff;
  background: linear-gradient(180deg, transparent 0%, rgba(8, 9, 12, 0.30) 30%, rgba(8, 9, 12, 0.88) 100%);
}
.verify-pill {
  display: inline-block; font-size: 10.5px; font-weight: 800; letter-spacing: 0.4px;
  background: rgba(255, 196, 0, 0.95); color: #4a3500;
  padding: 5px 12px; border-radius: 99px; margin-bottom: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
}
.swipe-card .info h3 { font-size: 32px; font-weight: 800; letter-spacing: -0.9px; line-height: 1.05; }
.swipe-card .info h3 .age { font-weight: 600; opacity: 0.85; }
.swipe-card .info .meta-row {
  color: rgba(255, 255, 255, 0.88); font-size: 13.5px; font-weight: 600; margin-top: 6px;
}
.swipe-card .info .card-bio {
  font-size: 14.5px; line-height: 1.45; font-weight: 500; font-style: italic;
  color: rgba(255, 255, 255, 0.92); margin-top: 10px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.swipe-card .info .chip.mini {
  background: rgba(255, 255, 255, 0.16); color: #fff; font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.26);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.swipe-card.fly-right { transform: translateX(130%) rotate(13deg); opacity: 0; }
.swipe-card.fly-left { transform: translateX(-130%) rotate(-13deg); opacity: 0; }
.swipe-card.fly-up { transform: translateY(-130%) scale(0.92); opacity: 0; }

/* action buttons float over the card's bottom edge */
.swipe-actions {
  display: flex; justify-content: center; align-items: center; gap: 22px;
  margin-top: -34px; position: relative; z-index: 5;
}
.fab {
  border: none; border-radius: 50%; cursor: pointer; background: var(--surface);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 5px var(--bg), var(--shadow-md);
  transition: transform 0.15s;
}
.fab:active { transform: scale(0.86); }
.fab.pass { width: 58px; height: 58px; color: var(--ink-2); }
.fab.super { width: 50px; height: 50px; color: var(--super); }
.fab.like {
  width: 70px; height: 70px; background: var(--ink); color: #fff;
  box-shadow: 0 0 0 5px var(--bg), 0 12px 28px rgba(18, 20, 25, 0.32);
}
.fab.like svg.ic { width: 31px; height: 31px; fill: var(--honey); stroke: var(--honey); }
.fab.like { font-size: 28px; }
.fab.pass svg.ic { width: 25px; height: 25px; }
.fab.super svg.ic { width: 22px; height: 22px; fill: currentColor; }

/* ---------- lists ---------- */
.li {
  display: flex; align-items: center; gap: 14px; padding: 15px 4px;
  border-bottom: 1px solid var(--line);
  cursor: pointer; transition: opacity 0.15s;
}
.li:active { opacity: 0.6; }
.li .meta { flex: 1; min-width: 0; }
.li .meta b { display: flex; align-items: center; gap: 5px; font-size: 15.5px; letter-spacing: -0.2px; }
.li .meta .sub { color: var(--soft); font-size: 13px; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.li > span:last-child { color: var(--faint); font-size: 17px; }

/* ---------- chat ---------- */
.chat-area { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; background: var(--bg); }
.bubble {
  max-width: 76%; padding: 11px 15px; margin-bottom: 7px;
  font-size: 14.5px; line-height: 1.45; word-wrap: break-word;
  animation: bubble-in 0.2s ease;
}
@keyframes bubble-in { from { opacity: 0; transform: translateY(5px); } }
.bubble.mine {
  align-self: flex-end; background: var(--ink); color: #fff;
  border-radius: 19px 19px 5px 19px;
}
.bubble.theirs {
  align-self: flex-start; background: var(--surface);
  border-radius: 19px 19px 19px 5px;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.bubble img { max-width: 100%; border-radius: 12px; display: block; }
.bubble video { max-width: 100%; border-radius: 12px; display: block; background: #000; }
.bubble .read { font-size: 10px; font-weight: 600; color: rgba(255, 255, 255, 0.55); text-align: right; margin-top: 3px; }
.chat-input {
  display: flex; gap: 9px; padding: 12px 16px calc(14px + env(safe-area-inset-bottom));
  align-items: center; position: sticky; bottom: 0;
  background: rgba(251, 251, 249, 0.92);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 -1px 0 var(--line);
}
.chat-input input { flex: 1; margin: 0; border-radius: 99px; padding: 13px 18px; }
.chat-input .send {
  width: 48px; height: 48px; border-radius: 50%; border: none; cursor: pointer;
  background: var(--ink); color: var(--honey); flex: none;
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.15s;
}
.chat-input .send:active { transform: scale(0.88); }
.chat-input .send svg.ic { width: 20px; height: 20px; }
.chat-input .attach {
  border: none; background: var(--wash); cursor: pointer; flex: none;
  width: 44px; height: 44px; border-radius: 50%; color: var(--soft);
  display: flex; align-items: center; justify-content: center;
}
.chat-input .attach svg.ic { width: 21px; height: 21px; }

/* ---------- badges / stats ---------- */
.badge {
  display: inline-block; padding: 4px 11px; border-radius: 99px;
  font-size: 10.5px; font-weight: 800; letter-spacing: 0.4px;
}
.badge.PENDING { background: var(--honey-tint); color: #8a6400; }
.badge.APPROVED, .badge.PAID, .badge.ACTIVE { background: #def2e6; color: #14603c; }
.badge.REJECTED, .badge.FAILED { background: #fde1e5; color: #9c1c30; }
.badge.EXPIRED, .badge.NONE, .badge.RESTING { background: var(--wash); color: var(--soft); }

.stat-row { display: flex; justify-content: space-around; padding: 18px 10px; }
.stat-row div { text-align: center; }
.stat-row b { display: block; font-size: 20px; font-weight: 800; letter-spacing: -0.5px; }
.stat-row span { font-size: 11px; font-weight: 600; color: var(--soft); }

/* ---------- profile ---------- */
.profile-hero {
  text-align: center; padding: 30px 20px 24px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--shadow-md);
  margin: 8px 0 18px;
}
.profile-hero .avatar {
  width: 88px; height: 88px; margin: 0 auto 12px; font-size: 34px;
  box-shadow: 0 0 0 3px var(--surface), 0 0 0 5.5px var(--honey);
}
.profile-hero h3 { font-size: 22px; font-weight: 800; letter-spacing: -0.5px; }
.profile-hero .badges { margin-top: 10px; display: flex; gap: 6px; justify-content: center; }

/* ---------- photos ---------- */
.photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 18px; }
.photo-grid .ph {
  aspect-ratio: 3/4; border-radius: var(--r-md);
  background: var(--wash) center/cover;
  position: relative; display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); overflow: hidden;
}
.photo-grid .ph .del {
  position: absolute; top: 6px; right: 6px; background: rgba(10, 10, 14, 0.62); color: #fff;
  backdrop-filter: blur(6px); border: none; border-radius: 50%;
  width: 26px; height: 26px; cursor: pointer; font-size: 12px;
}
.photo-grid .ph .av {
  position: absolute; left: 6px; top: 6px; background: var(--honey);
  font-size: 9.5px; font-weight: 800; padding: 3px 9px; border-radius: 99px;
}
.photo-grid .ph.add { background: var(--surface); border: 1.5px dashed var(--faint); cursor: pointer; font-size: 26px; color: var(--soft); }

/* ---------- misc ---------- */
.empty { text-align: center; padding: 76px 36px; color: var(--soft); font-weight: 500; }
.empty .big { font-size: 40px; margin-bottom: 12px; }
.empty b { display: block; color: var(--ink); font-size: 16px; margin-bottom: 4px; letter-spacing: -0.2px; }

.toast {
  position: fixed; bottom: 100px; left: 50%; transform: translateX(-50%);
  background: rgba(18, 20, 25, 0.94); color: #fff;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  padding: 13px 22px; border-radius: 99px;
  font-size: 13.5px; font-weight: 600; z-index: 100; max-width: 86%; text-align: center;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
  animation: toast-in 0.25s cubic-bezier(0.2, 0.9, 0.3, 1.2);
}
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, 12px) scale(0.95); } }

.modal-bg {
  position: fixed; inset: 0; background: rgba(12, 12, 16, 0.45); z-index: 50;
  display: flex; align-items: center; justify-content: center; padding: 24px;
  backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px);
  animation: fade 0.2s ease;
}
@keyframes fade { from { opacity: 0; } }
.modal {
  position: relative;
  background: var(--surface); border-radius: 26px; padding: 28px;
  width: 100%; max-width: 380px; max-height: 80vh; overflow-y: auto;
  box-shadow: var(--shadow-lg);
  animation: modal-in 0.26s cubic-bezier(0.2, 0.9, 0.3, 1.12);
}
@keyframes modal-in { from { opacity: 0; transform: translateY(18px) scale(0.96); } }
.modal h3 { font-size: 19px; font-weight: 800; letter-spacing: -0.4px; margin-bottom: 12px; }
.modal-x {
  position: absolute; top: 14px; right: 14px; border: none; background: none;
  font-size: 15px; color: var(--soft); cursor: pointer; padding: 6px;
}

.switch-li {
  display: flex; align-items: center; padding: 17px 4px;
  border-bottom: 1px solid var(--line);
}
.switch-li span { flex: 1; font-weight: 600; font-size: 14.5px; }
.switch-li small.hint { font-weight: 500; }
.switch-li input[type="checkbox"] {
  width: 50px; height: 30px; appearance: none; -webkit-appearance: none; margin: 0;
  background: #e2e1dc; border-radius: 99px; position: relative; cursor: pointer; border: none;
  transition: background 0.2s; flex: none; padding: 0;
}
.switch-li input[type="checkbox"]::after {
  content: ''; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px;
  background: #fff; border-radius: 50%; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
  transition: left 0.2s;
}
.switch-li input[type="checkbox"]:checked { background: var(--ink); }
.switch-li input[type="checkbox"]:checked::after { left: 23px; }

.filters-bar { display: flex; gap: 7px; overflow-x: auto; padding: 6px 0 16px; scrollbar-width: none; }
.filters-bar::-webkit-scrollbar { display: none; }
.filters-bar .chip { flex: none; }

.match-pop { text-align: center; }
.match-pop .big { font-size: 62px; animation: pop 0.5s cubic-bezier(0.2, 1.4, 0.4, 1); }
@keyframes pop { from { transform: scale(0.3) rotate(-10deg); opacity: 0; } }
.match-pop h3 { font-size: 24px; }

.super-picker h3 { font-size: 18px; margin-bottom: 4px; }
.super-opt {
  display: flex; align-items: center; gap: 12px; width: 100%;
  border: 1.5px solid var(--line); background: var(--surface);
  border-radius: 14px; padding: 13px 16px; margin-top: 8px;
  font-family: inherit; font-size: 14.5px; font-weight: 600; color: var(--ink);
  cursor: pointer; transition: transform 0.12s, border-color 0.12s;
}
.super-opt:active { transform: scale(0.98); border-color: var(--honey); }
.super-opt span { font-size: 24px; }

.push-banner {
  position: fixed; top: 12px; left: 50%; transform: translateX(-50%);
  width: calc(100% - 28px); max-width: 402px; z-index: 200;
  background: rgba(18, 20, 25, 0.95); color: #fff;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-radius: 20px; border: 1px solid rgba(255, 255, 255, 0.07);
  padding: 14px 18px; display: flex; gap: 13px; align-items: center;
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.4); cursor: pointer;
  animation: drop-in 0.38s cubic-bezier(0.2, 0.9, 0.3, 1.16);
}
.push-banner .ico { font-size: 24px; }
.push-banner b { font-size: 14.5px; letter-spacing: -0.2px; }
.push-banner .pb-body { font-size: 12.5px; color: #b9bcc4; margin-top: 2px; }
.push-banner.hide { transition: all 0.4s; opacity: 0; transform: translate(-50%, -90px); }
@keyframes drop-in { from { opacity: 0; transform: translate(-50%, -90px); } }

.bell-badge {
  position: absolute; top: 2px; right: 2px; background: var(--like); color: #fff;
  font-size: 9.5px; font-weight: 800; border-radius: 99px; padding: 2px 5px; min-width: 17px;
  text-align: center;
}
.notif-li { display: flex; gap: 14px; padding: 16px 4px; border-bottom: 1px solid var(--line); }
.notif-li.unread { background: var(--honey-tint); margin: 0 -24px; padding: 16px 28px; border-bottom: 1px solid #f1e3b0; }
.notif-li .ico { font-size: 23px; flex: none; }
.notif-li b { font-size: 14.5px; letter-spacing: -0.2px; }
.notif-li .when { font-size: 11px; font-weight: 600; color: var(--faint); margin-top: 4px; }

/* ---------- full profile view ---------- */
.pv-hero { position: relative; margin: 0 -24px; }
.pv-photos {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; height: 50vh;
}
.pv-photos::-webkit-scrollbar { display: none; }
.pv-photo {
  flex: none; width: 100%; height: 100%; scroll-snap-align: center;
  background: var(--wash) center/cover;
}
.pv-float {
  position: absolute; top: calc(14px + env(safe-area-inset-top)); left: 16px;
  width: 38px; height: 38px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(18, 20, 25, 0.45); color: #fff; font-size: 21px; font-weight: 600;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: center; z-index: 6;
  transition: transform 0.15s;
}
.pv-float:active { transform: scale(0.9); }
.pv-float.right { left: auto; right: 16px; }
.pv-float.right2 { left: auto; right: 66px; }
.pv-dots.overlay {
  position: absolute; bottom: 14px; left: 0; right: 0; margin: 0; z-index: 5;
}
.pv-dots.overlay .pv-dot { background: rgba(255, 255, 255, 0.55); }
.pv-dots.overlay .pv-dot.on { background: #fff; }

.pv-actions {
  position: fixed; bottom: calc(18px + env(safe-area-inset-bottom)); left: 50%;
  transform: translateX(-50%); z-index: 25;
  display: flex; align-items: center; gap: 22px;
}
.pv-bio { font-size: 16.5px; line-height: 1.55; font-weight: 600; letter-spacing: -0.2px; margin-top: 10px; color: var(--ink-2); }
.about-row {
  display: flex; gap: 12px; align-items: baseline; padding: 9px 0;
  font-size: 14px; font-weight: 600; color: var(--ink-2);
}
.about-row + .about-row { border-top: 1px solid var(--line); }
.about-row > span:first-child { flex: none; }
.chip.mini.shared { background: var(--honey-tint); color: #8a6400; border: 1px solid #efd98f; font-weight: 800; }
.pv-dots { display: flex; gap: 6px; justify-content: center; margin-top: 12px; }
.pv-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--line); transition: all .2s; }
.pv-dot.on { background: var(--ink); width: 18px; border-radius: 99px; }

.range-row { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.range-row input[type="range"] {
  flex: 1; margin: 0; padding: 0; height: 5px; border: none; border-radius: 99px;
  background: #e2e1dc; appearance: none; -webkit-appearance: none;
}
.range-row input[type="range"]::-webkit-slider-thumb {
  appearance: none; -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%;
  background: var(--ink); cursor: pointer; border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(18, 20, 25, 0.3);
}
.range-row .val { font-weight: 800; min-width: 36px; text-align: right; font-size: 16px; }
.range-row > span:first-child { font-size: 12px; font-weight: 700; color: var(--soft); width: 30px; }

/* =====================================================
   Discover glow-up — "balanced Gen Z pass" (2026-07)
   gradient accents · glassy chips · micro-animations
   ===================================================== */

/* brand title: ink → honey gradient text */
.topbar h2.brand {
  background: linear-gradient(100deg, var(--ink) 35%, var(--honey-deep) 78%, var(--honey));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: var(--ink); /* fallback */
}

/* photo-first: taller card, compact overlay, buttons BELOW the image */
.swipe-wrap { height: 66vh; }
.swipe-card { border-radius: 28px; }
.swipe-card .info { padding: 96px 22px 22px; }
.swipe-card .info h3 { font-size: 28px; letter-spacing: -0.7px; }
.swipe-card .info .meta-row { font-size: 13px; margin-top: 5px; }
.swipe-card .info .card-bio { font-size: 14px; margin-top: 8px; }
.swipe-actions { margin-top: 16px; gap: 20px; }
.fab { box-shadow: var(--shadow-md); }
.fab.pass { width: 54px; height: 54px; }
.fab.super { width: 46px; height: 46px; }
.fab.like { width: 62px; height: 62px; font-size: 24px; }
.pv-actions .fab { box-shadow: 0 4px 14px rgba(18, 20, 25, 0.16); }

/* filter chips: black reserved for the main segment toggle;
   soft honey tint for active filters; grey outline inactive */
.filters-bar .chip.on { background: var(--honey-tint); border-color: #eedc9a; color: #8a6400; }
.filters-bar .chip.seg.on { background: var(--ink); border-color: var(--ink); color: #fff; }

/* branded fallback when a deal/event has no image yet */
.brand-fallback {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 5px; background: var(--honey-tint); color: #8a6400;
}
.brand-fallback .bf-emoji { font-size: 34px; }
.brand-fallback small { font-size: 11px; font-weight: 800; letter-spacing: 0.3px; opacity: 0.75; }

/* soft ambient color glow behind the deck */
.swipe-wrap::before {
  content: ''; position: absolute; inset: -16px -8px 20%; z-index: -1;
  background:
    radial-gradient(230px 190px at 15% 5%, rgba(255, 196, 0, 0.22), transparent 70%),
    radial-gradient(250px 210px at 90% 34%, rgba(254, 60, 114, 0.12), transparent 70%);
  filter: blur(14px);
}

/* card deals in with a playful tilt */
.swipe-card { animation: card-in 0.45s cubic-bezier(0.2, 0.9, 0.3, 1.12); }
@keyframes card-in {
  from { opacity: 0; transform: translateY(20px) scale(0.955) rotate(-1.4deg); }
}

/* info scrim: plum-tinted instead of flat black — warmer at night-mode vibes */
.swipe-card .info {
  background: linear-gradient(180deg, transparent 0%, rgba(26, 12, 34, 0.32) 30%, rgba(22, 10, 30, 0.90) 100%);
}

/* verified pill: shimmering honey */
.verify-pill {
  background: linear-gradient(110deg, #ffd34d 25%, #ffc400 40%, #ffe89e 50%, #ffc400 60%, #ffd34d 75%);
  background-size: 220% 100%;
  animation: shimmer 2.8s linear infinite;
}
@keyframes shimmer { to { background-position: -220% 0; } }

/* glassier interest chips */
.swipe-card .info .chip.mini {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.34);
}

/* springier action buttons */
.fab { transition: transform 0.18s cubic-bezier(0.3, 1.6, 0.4, 1); }
.fab:active { transform: scale(0.85) rotate(-5deg); }

/* like = THE brand moment: honey gradient + breathing glow ring */
.fab.like {
  background: linear-gradient(135deg, #ffd95e, #ffb300);
  color: var(--ink); position: relative;
  box-shadow: 0 0 0 5px var(--bg), 0 12px 28px rgba(232, 168, 0, 0.42);
}
.fab.like::after {
  content: ''; position: absolute; inset: -5px; border-radius: 50%;
  border: 2px solid rgba(255, 196, 0, 0.55);
  animation: pulse-ring 2.2s ease-out infinite; pointer-events: none;
}
@keyframes pulse-ring {
  0% { transform: scale(0.92); opacity: 0.8; }
  70% { transform: scale(1.28); opacity: 0; }
  100% { transform: scale(1.28); opacity: 0; }
}

/* the wave says hi every few seconds */
.fab .wave { display: inline-block; animation: wave-wiggle 3s ease-in-out infinite; transform-origin: 70% 70%; }
@keyframes wave-wiggle {
  0%, 78%, 100% { transform: rotate(0); }
  82% { transform: rotate(16deg); }
  86% { transform: rotate(-10deg); }
  90% { transform: rotate(13deg); }
  95% { transform: rotate(-5deg); }
}

/* ---------- "Likes You": blurred until VIP ---------- */
.likes-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 4px; }
.like-card {
  aspect-ratio: 3 / 4; border-radius: 18px; overflow: hidden; position: relative;
  cursor: pointer; background: var(--wash); box-shadow: var(--shadow-sm);
}
.like-card .lc-img {
  position: absolute; inset: 0; background-size: cover; background-position: center top;
}
.like-card.locked .lc-img { filter: blur(16px) saturate(1.1); transform: scale(1.15); }
.like-card .lc-lock {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-size: 26px; text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}
.like-card .lc-name {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 26px 12px 10px;
  color: #fff; font-weight: 700; font-size: 13.5px;
  background: linear-gradient(transparent, rgba(10, 8, 16, 0.65));
}

/* ---------- loading: honey spinner + skeleton deck ---------- */
.loader {
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  padding: 80px 0 20px; color: var(--faint); font-size: 13px; font-weight: 600;
}
.spin {
  width: 42px; height: 42px; border-radius: 50%;
  border: 3px solid var(--honey-tint); border-top-color: var(--honey);
  animation: spin 0.8s cubic-bezier(0.5, 0.15, 0.5, 0.85) infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* discover: shimmer skeleton shaped like the real deck */
.skel-wrap { margin-top: 2px; }
.skel-card, .skel-fab {
  background: linear-gradient(100deg, #f1efe8 40%, #faf8f1 50%, #f1efe8 60%);
  background-size: 200% 100%;
  animation: skel 1.3s linear infinite;
}
.skel-card { height: 66vh; border-radius: 28px; }
.skel-fabs { display: flex; justify-content: center; gap: 20px; margin-top: 16px; }
.skel-fab { border-radius: 50%; }
.skel-fab:nth-child(1) { width: 54px; height: 54px; }
.skel-fab:nth-child(2) { width: 46px; height: 46px; }
.skel-fab:nth-child(3) { width: 62px; height: 62px; }
@keyframes skel { to { background-position: -200% 0; } }

/* respect reduced-motion users */
@media (prefers-reduced-motion: reduce) {
  .verify-pill, .fab.like::after, .fab .wave, .swipe-card,
  .spin, .skel-card, .skel-fab { animation: none; }
}
