/*
 * The dating screens: Discover, Explore, Likes, Profile hub, profile setup, chat extras.
 * Loaded on every frontend page after vl-genz.css and built on its --gz-* tokens.
 * Patterns follow the Tinder/Bumble references in docs/dating-reference.
 */

/* ---------- Page shells ---------- */
.dc-page {
    min-height: calc(100vh - 76px); padding: 18px 0 110px; color: #fff;
    background:
        radial-gradient(600px 400px at 10% 0%, rgba(4, 28, 64, .28), transparent 60%),
        radial-gradient(500px 420px at 100% 30%, rgba(250, 211, 230, .25), transparent 60%),
        radial-gradient(500px 400px at 30% 100%, rgba(200, 24, 106, .18), transparent 60%),
        var(--gz-ink);
}
.dc-page.is-light { color: var(--gz-ink); background: var(--gz-paper); }
.dc-shell { max-width: 440px; margin: 0 auto; }
.ex-shell, .lk-shell, .me-shell { max-width: 960px; margin: 0 auto; }
.me-shell { max-width: 640px; }

/* ---------- Discover top bar and notes ---------- */
.dc-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.dc-top-title { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.dc-top h1 { color: #fff; font-size: 30px; margin: 0; }
.dc-vibe { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: var(--gz-lime); color: var(--gz-ink); font-weight: 800; font-size: 13px; }
.dc-vibe:hover { color: var(--gz-ink); text-decoration: none; }
.dc-top-actions { display: flex; gap: 8px; }
.dc-icon-btn {
    width: 44px; height: 44px; border-radius: 50%; border: 0; display: inline-flex; align-items: center; justify-content: center;
    background: rgba(255, 255, 255, .12); color: #fff; font-size: 22px; backdrop-filter: blur(10px);
}
.dc-icon-btn:hover { background: rgba(255, 255, 255, .22); color: #fff; text-decoration: none; }
.dc-icon-btn.is-light { background: var(--gz-fog); color: var(--gz-ink); }
.dc-note {
    display: flex; align-items: center; gap: 10px; padding: 10px 14px; margin-bottom: 10px; border-radius: 18px;
    background: rgba(255, 255, 255, .1); color: #fff; font-size: 14px; backdrop-filter: blur(10px);
}
.dc-note p { flex: 1; margin: 0; }
.dc-note button { border: 0; border-radius: 999px; padding: 6px 12px; background: #fff; color: var(--gz-ink); font-weight: 800; font-size: 13px; white-space: nowrap; }
.dc-note form { margin: 0; }

/* ---------- The stack ---------- */
.dc-stack { position: relative; height: min(640px, calc(100vh - 270px)); min-height: 440px; }
.dc-card {
    position: absolute; inset: 0; border-radius: 28px; overflow: hidden; background: var(--gz-ink-2);
    box-shadow: 0 30px 60px rgba(0, 0, 0, .45); transition: transform .34s cubic-bezier(.2, .8, .2, 1), opacity .34s ease;
    touch-action: none; user-select: none; visibility: hidden;
}
.dc-card.is-top { visibility: visible; cursor: grab; }
.dc-card.is-next { visibility: visible; transform: scale(.95) translateY(14px); filter: brightness(.7); }
.dc-card.is-dragging { transition: none; cursor: grabbing; }
.dc-card.go-right { transform: translateX(150%) rotate(20deg) !important; opacity: 0; }
.dc-card.go-left { transform: translateX(-150%) rotate(-20deg) !important; opacity: 0; }
.dc-card.go-up { transform: translateY(-150%) scale(.9) !important; opacity: 0; }

.dc-photo { position: absolute; inset: 0; background: var(--gz-grad-dream); }
.dc-photo img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.dc-photo img[hidden] { display: none; }
.dc-initials { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font: 800 96px/1 var(--gz-display); color: rgba(255, 255, 255, .9); }
.dc-bars { position: absolute; top: 10px; left: 12px; right: 12px; display: flex; gap: 5px; z-index: 3; }
.dc-bars span { flex: 1; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .35); }
.dc-bars span.is-on { background: #fff; }
.dc-badges { position: absolute; top: 24px; left: 12px; right: 12px; display: flex; flex-wrap: wrap; gap: 6px; z-index: 3; }
.dc-badge { display: inline-flex; align-items: center; gap: 4px; padding: 5px 11px; border-radius: 999px; font-size: 12px; font-weight: 800; background: rgba(4, 28, 64, .55); color: #fff; backdrop-filter: blur(8px); }
.dc-badge.is-like { background: var(--gz-hot); }
.dc-badge.is-super { background: var(--gz-sun); color: var(--gz-ink); }

.dc-stamp {
    position: absolute; top: 60px; z-index: 4; padding: 4px 16px; border: 4px solid; border-radius: 14px;
    font: 800 34px/1.1 var(--gz-display); text-transform: uppercase; letter-spacing: .04em; opacity: 0; pointer-events: none;
}
.dc-stamp-like { left: 22px; color: var(--gz-lime); border-color: var(--gz-lime); transform: rotate(-16deg); opacity: var(--like, 0); }
.dc-stamp-pass { right: 22px; color: var(--gz-hot); border-color: var(--gz-hot); transform: rotate(16deg); opacity: var(--pass, 0); }
.dc-stamp-super { left: 50%; top: auto; bottom: 46%; color: var(--gz-sky); border-color: var(--gz-sky); transform: translateX(-50%) rotate(-6deg); opacity: var(--super, 0); }

.dc-info {
    position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; padding: 70px 18px 18px;
    background: linear-gradient(to top, rgba(4, 28, 64, .92) 10%, rgba(4, 28, 64, .55) 55%, rgba(4, 28, 64, 0));
}
.dc-info h2 { color: #fff; font-size: 34px; margin: 0 0 8px; display: flex; align-items: baseline; gap: 10px; padding-right: 50px; }
.dc-info h2 span { font-family: var(--gz-text); font-weight: 500; font-size: 26px; }
.dc-verified { color: var(--gz-sky); font-size: 26px; align-self: center; }
.dc-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.dc-chips span { display: inline-flex; align-items: center; gap: 4px; padding: 5px 11px; border-radius: 999px; font-size: 13px; font-weight: 700; background: rgba(255, 255, 255, .16); color: #fff; backdrop-filter: blur(8px); }
.dc-chips span.is-shared { background: var(--gz-lime); color: var(--gz-ink); }
/* Why this person: a shared goal and how many interests in common (Icebreakers::why) */
.dc-why { display: flex; align-items: center; flex-wrap: wrap; gap: 0 4px; margin: -2px 0 8px; color: var(--gz-gold-soft); font-size: 13px; font-weight: 700; }
.dc-why > i { color: var(--gz-gold); font-size: 15px; }
.dc-badge.is-verified { background: var(--gz-gold); color: var(--gz-deep); }
.dc-bio { color: rgba(255, 255, 255, .88); font-size: 14px; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dc-open {
    position: absolute; right: 16px; bottom: 18px; width: 40px; height: 40px; border-radius: 50%; border: 0;
    background: #fff; color: var(--gz-ink); font-size: 20px; display: inline-flex; align-items: center; justify-content: center;
}

/* Details sheet over the photo */
.dc-sheet {
    position: absolute; inset: 0; z-index: 6; background: var(--gz-paper); color: var(--gz-ink); padding: 22px 20px 26px;
    overflow-y: auto; transform: translateY(102%); transition: transform .32s cubic-bezier(.2, .8, .2, 1); border-radius: 28px;
}
.dc-card.is-open .dc-sheet { transform: none; }
.dc-sheet h3 { font-size: 28px; margin: 0 0 12px; }
.dc-sheet-close { position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--gz-ink); color: #fff; font-size: 20px; }
.dc-block { margin-bottom: 14px; }
.dc-block small, .dc-goal-card small, .me-card small { display: block; font-weight: 800; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--gz-muted); margin-bottom: 6px; }
.dc-goal-card { background: var(--gz-grad-soft); border-radius: 18px; padding: 12px 14px; margin-bottom: 14px; }
.dc-goal-card b { font: 800 18px/1.2 var(--gz-display); }
.gz-about { font: 400 24px/1.25 var(--gz-serif); color: var(--gz-ink); margin: 0; }
.dc-prompt { background: #fff; border: 1.5px solid var(--gz-line); border-radius: 18px; padding: 12px 14px; margin-bottom: 10px; color: var(--gz-ink); font: 700 17px/1.3 var(--gz-display); }
.dc-prompt span { display: block; font: 600 13px/1.3 var(--gz-text); color: var(--gz-muted); margin-bottom: 4px; }
.dc-interests, .dc-facts { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.dc-interests li { border: 1.5px solid var(--gz-line); border-radius: 999px; padding: 4px 12px; font-size: 13px; font-weight: 700; color: var(--gz-ink); background: #fff; }
.dc-interests li.is-shared { border-color: var(--gz-ink); background: var(--gz-lime); }
.dc-facts li { background: var(--gz-fog); border-radius: 999px; padding: 5px 12px; font-size: 13px; font-weight: 600; color: var(--gz-ink); }
.dc-facts i { color: var(--gz-hot); margin-right: 4px; }
.dc-more { display: inline-block; margin-top: 8px; font-weight: 800; font-size: 14px; }

.dc-empty {
    position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-align: center; padding: 28px; border-radius: 28px; background: rgba(255, 255, 255, .06); border: 2px dashed rgba(255, 255, 255, .2);
}
.dc-empty[hidden] { display: none; }
.dc-empty h2, .gz-empty h2 { color: inherit; font-size: 28px; margin: 6px 0; }
.dc-empty p, .gz-empty p { opacity: .8; max-width: 320px; margin: 0 auto 16px; }
.dc-empty-art { font-size: 72px; line-height: 1; filter: drop-shadow(0 14px 20px rgba(0, 0, 0, .3)); animation: gz-float 3s ease-in-out infinite; }
.dc-empty .gz-btn.is-light { box-shadow: none; }

/* ---------- Action buttons (Tinder order: rewind, nope, super, like) ---------- */
.dc-actions { display: flex; justify-content: center; align-items: center; gap: 16px; margin-top: 16px; }
.dc-actions[hidden] { display: none; }
.dc-btn {
    position: relative; width: 58px; height: 58px; border-radius: 50%; border: 0; display: inline-flex; align-items: center; justify-content: center;
    font-size: 28px; background: rgba(255, 255, 255, .1); backdrop-filter: blur(12px); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .18);
    transition: transform .15s ease;
}
.dc-btn:hover { transform: scale(1.08); }
.dc-btn.is-pop { animation: gz-pop .3s ease; }
.dc-btn.is-rewind, .dc-btn.is-super { width: 48px; height: 48px; font-size: 22px; }
.dc-btn.is-rewind { color: var(--gz-sun); }
.dc-btn.is-nope { width: 66px; height: 66px; color: var(--gz-hot); font-size: 32px; }
.dc-btn.is-super { color: var(--gz-sky); }
.dc-btn.is-like { width: 66px; height: 66px; color: #fff; background: var(--gz-grad); box-shadow: 0 10px 28px rgba(4, 28, 64, .45); font-size: 32px; }
.dc-super-left { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--gz-sky); color: var(--gz-ink); font-size: 11px; line-height: 20px; }
.dc-toast { position: fixed; left: 50%; bottom: 96px; transform: translateX(-50%); z-index: 1090; padding: 10px 18px; border-radius: 999px; background: #fff; color: var(--gz-ink); font-weight: 700; font-size: 14px; box-shadow: var(--gz-shadow-lg); max-width: calc(100% - 32px); text-align: center; }

/* ---------- Sheets, fields, toggles (settings, safety) ---------- */
.gz-sheet { position: fixed; inset: 0; z-index: 1080; background: rgba(4, 28, 64, .55); display: flex; align-items: flex-end; justify-content: center; backdrop-filter: blur(4px); }
.gz-sheet[hidden] { display: none; }
.gz-sheet-box {
    width: 100%; max-width: 480px; max-height: 92vh; overflow-y: auto; background: var(--gz-paper); color: var(--gz-ink);
    border-radius: 28px 28px 0 0; padding: 20px 20px 28px; animation: gz-up .28s ease;
}
@media (min-width: 768px) { .gz-sheet { align-items: center; } .gz-sheet-box { border-radius: 28px; } }
.gz-sheet-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.gz-sheet-head h2 { font-size: 24px; margin: 0; }
.gz-field { background: #fff; border-radius: 20px; padding: 14px 16px; margin-bottom: 10px; }
.gz-field > label { display: flex; justify-content: space-between; font-weight: 800; color: var(--gz-ink); margin-bottom: 10px; }
.gz-field > label b { color: var(--gz-hot); }
.gz-field small { color: var(--gz-muted); font-size: 12px; }
.gz-seg { display: flex; background: var(--gz-fog); border-radius: 999px; padding: 4px; }
.gz-seg label { flex: 1; margin: 0; }
.gz-seg input { position: absolute; opacity: 0; }
.gz-seg span { display: block; text-align: center; padding: 8px 6px; border-radius: 999px; font-weight: 700; font-size: 14px; cursor: pointer; }
.gz-seg input:checked + span { background: var(--gz-ink); color: #fff; }
.gz-seg input:focus-visible + span { outline: 2px solid var(--gz-hot); }
.gz-range { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 6px; margin: 10px 0; background: linear-gradient(90deg, var(--gz-hot) var(--fill, 50%), var(--gz-line) var(--fill, 50%)); }
.gz-range::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 3px solid var(--gz-hot); box-shadow: 0 3px 8px rgba(0, 0, 0, .2); cursor: pointer; }
.gz-range::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 3px solid var(--gz-hot); cursor: pointer; }
/* Two-handle range: both sliders share the wrapper's track, filled between the handles (--lo, --hi) */
.gz-dual { position: relative; height: 26px; margin: 10px 0; }
.gz-dual::before {
    content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 6px; margin-top: -3px; border-radius: 6px;
    background: linear-gradient(90deg, var(--gz-line) var(--lo, 0%), var(--gz-hot) var(--lo, 0%), var(--gz-hot) var(--hi, 100%), var(--gz-line) var(--hi, 100%));
}
.gz-dual .gz-range { position: absolute; inset: 0; z-index: 2; height: 26px; margin: 0; background: none; pointer-events: none; }
.gz-dual .gz-range::-webkit-slider-runnable-track { background: none; }
.gz-dual .gz-range::-moz-range-track { background: none; }
.gz-dual .gz-range::-webkit-slider-thumb { pointer-events: auto; }
.gz-dual .gz-range::-moz-range-thumb { pointer-events: auto; }
.gz-toggle { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: #fff; border-radius: 20px; padding: 14px 16px; margin: 0 0 10px; cursor: pointer; }
.gz-toggle b { display: block; color: var(--gz-ink); }
.gz-toggle small { color: var(--gz-muted); }
.gz-toggle input { position: absolute; opacity: 0; }
.gz-toggle i { flex: 0 0 auto; width: 50px; height: 30px; border-radius: 999px; background: var(--gz-line); position: relative; transition: background .2s; }
.gz-toggle i::after { content: ''; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .2); transition: transform .2s; }
.gz-toggle input:checked + i { background: var(--gz-grad); }
.gz-toggle input:checked + i::after { transform: translateX(20px); }
.gz-link { border: 0; background: none; padding: 0; color: var(--gz-hot); font-weight: 700; text-decoration: underline; font-size: 12px; }
.gz-chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.gz-pill { border: 1.5px solid var(--gz-line); background: #fff; border-radius: 999px; padding: 8px 14px; font-weight: 700; font-size: 14px; color: var(--gz-ink); }
.gz-pill:hover, .gz-pill.is-on { background: var(--gz-ink); color: #fff; border-color: var(--gz-ink); }
.gz-btn.is-ghost { background: transparent; color: #fff; }

/* ---------- It's a match ---------- */
.gz-match { position: fixed; inset: 0; z-index: 1090; display: flex; align-items: center; justify-content: center; padding: 20px; background: var(--gz-grad-dream); }
.gz-match[hidden] { display: none; }
.gz-match-box { width: 100%; max-width: 380px; text-align: center; color: #fff; animation: gz-pop .45s ease; }
.gz-match-box h2 { color: #fff; font-size: 54px; line-height: .95; margin: 22px 0 10px; }
.gz-match-box h2 .gz-serif { display: block; font-size: 46px; }
.gz-match-box p { font-weight: 600; margin-bottom: 22px; }
.gz-match-box .gz-btn { margin-bottom: 8px; }
.gz-match-box .gz-btn:not(.is-ghost) { background: #fff; color: var(--gz-ink); }
.gz-match-photos { position: relative; display: flex; justify-content: center; height: 180px; }
.gz-match-photo {
    width: 130px; height: 170px; border-radius: 22px; overflow: hidden; border: 4px solid #fff; background: var(--gz-ink-2);
    display: inline-flex; align-items: center; justify-content: center; font: 800 48px var(--gz-display); color: #fff; box-shadow: var(--gz-shadow-lg);
}
.gz-match-photo img { width: 100%; height: 100%; object-fit: cover; }
.gz-match-photo.is-me { transform: rotate(-9deg) translateX(14px); }
.gz-match-photo.is-them { transform: rotate(8deg) translateX(-14px); }
.gz-match-heart { position: absolute !important; left: 50%; bottom: -6px; margin-left: -29px; animation: gz-float 2s ease-in-out infinite; }

/* ---------- First-visit coach marks ---------- */
.gz-coach { position: fixed; inset: 0; z-index: 1085; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(4, 28, 64, .82); backdrop-filter: blur(6px); color: #fff; text-align: center; }
.gz-coach[hidden], .gz-coach-step[hidden] { display: none; }
.gz-coach-step { max-width: 340px; }
.gz-coach-art { animation: gz-swipe 1.6s ease-in-out infinite; }
.gz-coach h2 { color: #fff; font-size: 30px; margin: 10px 0; }
.gz-coach p { color: rgba(255, 255, 255, .85); }
.gz-coach .gz-btn.is-light { margin-top: 10px; }

/* ---------- Explore ---------- */
.ex-head h1 { font-size: clamp(34px, 6vw, 52px); margin: 6px 0 4px; }
.ex-head p { color: var(--gz-muted); margin-bottom: 18px; }
.ex-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 768px) { .ex-grid { grid-template-columns: repeat(4, 1fr); } }
.ex-tile {
    position: relative; display: flex; flex-direction: column; justify-content: flex-end; aspect-ratio: 4 / 5; padding: 14px;
    border-radius: 24px; background: var(--tint, var(--gz-fog)); color: var(--gz-ink); overflow: hidden; transition: transform .15s ease;
}
.ex-tile:hover { transform: translateY(-3px) rotate(-1deg); color: var(--gz-ink); text-decoration: none; }
.ex-name { font: 800 17px/1.15 var(--gz-display); padding-right: 34px; }
.ex-count { position: absolute; right: 14px; bottom: 14px; font-weight: 800; font-size: 13px; background: #fff; border-radius: 999px; padding: 2px 9px; }
.ex-row { margin-top: 30px; }
.ex-row-head { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.ex-row-head h2 { font-size: 22px; margin: 0; }
.ex-row-head span { color: var(--gz-muted); font-size: 13px; }
.ex-scroll { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; }
.ex-person { position: relative; flex: 0 0 160px; height: 220px; border-radius: 22px; overflow: hidden; background: var(--gz-grad-dream); scroll-snap-align: start; color: #fff; }
.ex-person img { width: 100%; height: 100%; object-fit: cover; }
.ex-person::after { content: ''; position: absolute; inset: 40% 0 0; background: linear-gradient(to top, rgba(4, 28, 64, .8), transparent); }
.ex-initials { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font: 800 44px var(--gz-display); color: rgba(255, 255, 255, .9); }
.ex-chip { position: absolute; top: 10px; left: 10px; right: 10px; z-index: 2; font-size: 12px; font-weight: 800; background: rgba(255, 255, 255, .9); color: var(--gz-ink); border-radius: 999px; padding: 3px 9px; width: max-content; max-width: calc(100% - 20px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ex-person-name { position: absolute; left: 12px; bottom: 10px; z-index: 2; font: 800 18px var(--gz-display); }
.ex-person:hover { color: #fff; text-decoration: none; }

/* ---------- Likes ---------- */
.gz-tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 16px; }
.gz-tabs a { flex: 0 0 auto; padding: 9px 16px; border-radius: 999px; background: #fff; color: var(--gz-ink); font-weight: 800; font-size: 14px; border: 1.5px solid var(--gz-line); }
.gz-tabs a b { margin-left: 4px; color: var(--gz-hot); }
.gz-tabs a.is-active { background: var(--gz-ink); color: #fff; border-color: var(--gz-ink); }
.gz-tabs a.is-active b { color: var(--gz-lime); }
.gz-tabs a:hover { text-decoration: none; }
.gz-empty { text-align: center; padding: 40px 16px; }
.lk-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 768px) { .lk-grid { grid-template-columns: repeat(4, 1fr); } }
.lk-tile { position: relative; border-radius: 22px; overflow: hidden; background: var(--gz-ink-2); aspect-ratio: 3 / 4; }
.lk-tile.is-super { box-shadow: 0 0 0 3px var(--gz-sun); }
.lk-photo { position: absolute; inset: 0; color: #fff; background: var(--gz-grad-dream); }
.lk-photo:hover { color: #fff; text-decoration: none; }
.lk-photo img { width: 100%; height: 100%; object-fit: cover; }
.lk-photo::after { content: ''; position: absolute; inset: 45% 0 0; background: linear-gradient(to top, rgba(4, 28, 64, .9), transparent); }
.lk-photo .dc-badge { position: absolute; top: 10px; left: 10px; z-index: 2; }
.lk-name { position: absolute; left: 12px; right: 12px; bottom: 58px; z-index: 2; font: 800 19px/1.1 var(--gz-display); }
.lk-name small { display: block; font: 600 12px var(--gz-text); opacity: .9; margin-top: 3px; }
.lk-actions { position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 3; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.lk-btn { width: 42px; height: 42px; border-radius: 50%; border: 0; display: inline-flex; align-items: center; justify-content: center; font-size: 20px; background: rgba(255, 255, 255, .92); }
.lk-btn.is-nope { color: var(--gz-hot); }
.lk-btn.is-like { background: var(--gz-grad); color: #fff; }
.lk-btn.is-small { margin-left: auto; color: var(--gz-ink); }
.lk-when { color: #fff; font-size: 12px; font-weight: 600; opacity: .85; }
.lk-chat { min-height: 42px; font-size: 14px; }
/* The few seconds to undo a like back, pass or take back; above the bottom nav below 1200px */
.lk-undo {
    /* left/right 0 with auto margins centres it at full available width (left: 50% would halve it) */
    position: fixed; left: 0; right: 0; margin: 0 auto; width: max-content; bottom: calc(84px + env(safe-area-inset-bottom)); z-index: 1045;
    display: flex; align-items: center; gap: 14px; max-width: calc(100vw - 32px); padding: 10px 10px 10px 18px;
    border-radius: 999px; background: var(--gz-deep); color: var(--gz-cream); box-shadow: var(--gz-shadow-lg);
    font-weight: 700; font-size: 14px;
}
.lk-undo[hidden] { display: none; }
.lk-undo.is-error { box-shadow: inset 0 0 0 2px var(--gz-gold), var(--gz-shadow-lg); }
.lk-undo-text { min-width: 0; }
.lk-undo-btn {
    flex: none; min-height: 36px; padding: 0 16px; border: 0; border-radius: 999px; display: inline-flex; align-items: center;
    background: var(--gz-gold); color: var(--gz-deep); font-weight: 800; font-size: 14px;
}
.lk-undo-btn[hidden] { display: none; }
.lk-undo-btn:hover, .lk-undo-btn:focus { background: var(--gz-gold-soft); color: var(--gz-deep); text-decoration: none; }
.lk-undo-btn:focus-visible { outline: 2px solid var(--gz-cream); outline-offset: 2px; }
@media (min-width: 1200px) { .lk-undo { bottom: 28px; } }
@media (prefers-reduced-motion: no-preference) {
    .lk-undo:not([hidden]) { animation: lk-undo-in .2s ease-out; }
    @keyframes lk-undo-in { from { opacity: 0; transform: translateY(12px); } }
}

/* ---------- Profile hub ---------- */
.me-head { display: flex; align-items: center; gap: 18px; background: #fff; border-radius: 28px; padding: 18px; box-shadow: var(--gz-shadow); }
.me-ring {
    position: relative; flex: 0 0 auto; width: 104px; height: 104px; border-radius: 50%; padding: 5px;
    background: conic-gradient(var(--gz-hot) calc(var(--p) * 1%), var(--gz-line) 0);
}
.me-ring img, .me-ring span { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 3px solid #fff; display: flex; align-items: center; justify-content: center; background: var(--gz-grad-dream); color: #fff; font: 800 32px var(--gz-display); }
.me-ring b { position: absolute; left: 50%; bottom: -8px; transform: translateX(-50%); background: var(--gz-ink); color: #fff; font-size: 12px; padding: 2px 9px; border-radius: 999px; }
.me-who h1 { font-size: 32px; margin: 0 0 6px; }
.me-who h1 span { font-family: var(--gz-text); font-weight: 500; }
.me-actions { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.me-actions .gz-btn { min-height: 42px; padding: 0 18px; font-size: 14px; }
.me-tip { display: flex; gap: 10px; align-items: center; background: var(--gz-grad-soft); border-radius: 20px; padding: 12px 14px; margin: 14px 0 10px; color: var(--gz-ink); }
.me-tip p { margin: 0; font-size: 14px; }
.me-chips { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 10px; }
.me-chip { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1.5px dashed var(--gz-hot); color: var(--gz-ink); font-weight: 700; font-size: 13px; }
.me-chip.is-done { border-style: solid; border-color: var(--gz-line); }
.me-chip.is-done i { color: #16a34a; }
.me-chip:hover { text-decoration: none; color: var(--gz-ink); }
.me-card { position: relative; display: block; background: #fff; border-radius: 24px; padding: 16px; margin-bottom: 12px; color: var(--gz-ink); box-shadow: var(--gz-shadow); }
a.me-card:hover { color: var(--gz-ink); text-decoration: none; transform: translateY(-2px); }
.me-card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.me-card-head h2 { font-size: 18px; margin: 0; }
.me-edit { background: var(--gz-ink); color: #fff; border-radius: 999px; padding: 5px 14px; font-weight: 800; font-size: 13px; }
.me-edit:hover { color: #fff; text-decoration: none; }
.me-photos { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.me-photos img, .me-photo-add { width: 100%; aspect-ratio: 3 / 4; border-radius: 12px; object-fit: cover; }
.me-photo-add { display: flex; align-items: center; justify-content: center; background: var(--gz-fog); color: var(--gz-muted); font-size: 20px; }
@media (max-width: 575.98px) { .me-photos { grid-template-columns: repeat(3, 1fr); } }
.me-bento { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.me-bento .me-card { margin: 0; }
.me-bento .is-about { grid-column: span 2; background: var(--gz-ink); color: #fff; }
.me-bento .is-about .gz-about, .me-bento .is-about small { color: #fff; }
.me-bento .is-about:hover { color: #fff; }
@media (max-width: 575.98px) { .me-bento { grid-template-columns: 1fr; } .me-bento .is-about { grid-column: auto; } }
.me-fab { position: absolute; top: 12px; right: 12px; width: 30px; height: 30px; border-radius: 50%; background: var(--gz-fog); color: var(--gz-ink); display: inline-flex; align-items: center; justify-content: center; }
.is-about .me-fab { background: rgba(255, 255, 255, .15); color: #fff; }
.me-empty { color: var(--gz-muted); font-size: 14px; margin: 0; }
.me-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 14px 0; }
.me-stat { display: flex; flex-direction: column; align-items: center; gap: 2px; background: #fff; border-radius: 20px; padding: 12px 6px; color: var(--gz-ink); text-align: center; box-shadow: var(--gz-shadow); }
.me-stat:hover { color: var(--gz-ink); text-decoration: none; }
.me-stat b { font: 800 22px var(--gz-display); }
.me-stat small { font-size: 12px; color: var(--gz-muted); font-weight: 600; }
.me-list { padding: 4px 16px; }
.me-list a { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--gz-line); color: var(--gz-ink); font-weight: 700; }
.me-list a:last-child { border-bottom: 0; }
.me-list a i { font-size: 20px; color: var(--gz-hot); }
.me-list a b { margin-left: auto; font-weight: 600; color: var(--gz-muted); font-size: 14px; }
.me-list a:hover { text-decoration: none; }

/* ---------- Profile setup: one question per screen ---------- */
.st-page { min-height: calc(100vh - 76px); background: var(--gz-paper); padding: 16px 0 110px; }
.st-shell { max-width: 560px; margin: 0 auto; padding: 0 16px; color: var(--gz-ink); }
.st-top { display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 12px; margin-bottom: 18px; }
.st-back { font-size: 24px; color: var(--gz-ink); }
.st-progress { height: 6px; border-radius: 6px; background: var(--gz-line); overflow: hidden; }
.st-progress span { display: block; height: 100%; border-radius: 6px; background: var(--gz-grad); transition: width .3s; }
.st-skip { border: 0; background: none; font-weight: 800; color: var(--gz-ink); }
.st-edit-tag { font-weight: 800; font-size: 13px; background: var(--gz-lime); padding: 4px 10px; border-radius: 999px; }
.st-title { font-size: clamp(30px, 6vw, 40px); line-height: 1.05; margin: 0 0 8px; }
.st-hint { color: var(--gz-muted); font-size: 15px; margin-bottom: 18px; }
.st-error { background: #fff1f7; color: #c8186a; border-radius: 14px; padding: 10px 14px; margin-bottom: 12px; font-weight: 600; }
.st-cat { display: flex; align-items: center; gap: 8px; font: 800 17px/1.2 var(--gz-display); margin: 22px 0 10px; color: var(--gz-ink); }
.st-cat span, .st-cat i { font-size: 20px; }
.st-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.st-chip { margin: 0; cursor: pointer; }
.st-chip input { position: absolute; opacity: 0; pointer-events: none; }
.st-chip span { display: inline-block; padding: 8px 15px; border-radius: 999px; background: var(--gz-fog); border: 1.5px solid transparent; font-size: 14px; font-weight: 600; color: var(--gz-ink); transition: all .12s ease; }
.st-chip:hover span { border-color: var(--gz-ink); }
.st-chip input:checked + span { background: var(--gz-ink); color: #fff; font-weight: 800; }
.st-chip input:focus-visible + span { outline: 2px solid var(--gz-hot); outline-offset: 2px; }
.st-chip input:disabled + span { opacity: .4; cursor: not-allowed; }
.st-cat-block[data-collapsed="1"] .st-chip:nth-child(n+9) { display: none; }
.st-more { display: block; margin: 10px auto 0; border: 0; background: none; font-weight: 800; font-size: 13px; color: var(--gz-muted); }
.st-cat-block[data-collapsed="1"] .is-less, .st-cat-block[data-collapsed="0"] .is-more { display: none; }
.st-tray { position: sticky; top: 64px; z-index: 5; display: flex; gap: 6px; overflow-x: auto; padding: 8px 0; background: var(--gz-paper); }
.st-tray[hidden] { display: none; }
.st-tray-chip { flex: 0 0 auto; border: 0; border-radius: 999px; padding: 6px 12px; background: var(--gz-grad); color: #fff; font-weight: 800; font-size: 13px; }
.st-foot { padding: 22px 0 10px; text-align: center; }
.st-foot.is-sticky { position: sticky; bottom: 70px; background: linear-gradient(to top, var(--gz-paper) 70%, rgba(255, 255, 255, 0)); }
@media (min-width: 1200px) { .st-foot.is-sticky { bottom: 0; } }
.st-later { display: inline-block; margin-top: 12px; font-size: 14px; color: var(--gz-muted); font-weight: 700; }
.st-note { font-size: 13px; color: var(--gz-muted); margin: 12px 0 0; }
.st-tip { background: #fff; border-radius: 18px; padding: 12px 14px; box-shadow: var(--gz-shadow); font-size: 14px; margin-top: 6px; }
.st-rules { display: grid; gap: 12px; }
.st-rule { display: flex; gap: 14px; background: #fff; border-radius: 20px; padding: 14px 16px; box-shadow: var(--gz-shadow); }
.st-rule b { font: 800 18px var(--gz-display); }
.st-rule p { margin: 2px 0 0; color: var(--gz-muted); font-size: 14px; }
.st-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.st-photo { position: relative; aspect-ratio: 3 / 4; border-radius: 18px; background: var(--gz-fog); margin: 0; }
.st-photo > img, .st-photo label img { width: 100%; height: 100%; object-fit: cover; border-radius: 18px; }
.st-photo label { display: block; width: 100%; height: 100%; margin: 0; cursor: pointer; }
/* The file input stays focusable (Tab, then Enter or Space opens the picker) but is not seen (A11Y-11) */
.st-photo .st-file { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; opacity: 0; }
.st-photo label:focus-within { outline: 3px solid var(--gz-ink); outline-offset: 3px; border-radius: 18px; }
.st-photo.is-main { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.st-photo-add { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; width: 100%; height: 100%; border: 2px dashed #eceaf2; border-radius: 18px; color: var(--gz-muted); font-size: 13px; font-weight: 700; }
.st-photo-add i { width: 34px; height: 34px; border-radius: 50%; background: var(--gz-ink); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 18px; }
.st-photo label:hover .st-photo-add { border-color: var(--gz-hot); }
.st-photo-del, .st-photo-pen { position: absolute; top: -6px; right: -6px; width: 30px; height: 30px; border-radius: 50%; border: 2px solid #fff; background: var(--gz-ink); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.st-photo-badge { position: absolute; left: 8px; bottom: 8px; background: #fff; color: var(--gz-ink); font-size: 12px; font-weight: 800; padding: 2px 9px; border-radius: 999px; }
.st-prompt { position: relative; background: #fff; border-radius: 20px; padding: 12px 14px 12px 50px; margin-bottom: 12px; box-shadow: var(--gz-shadow); }
.st-prompt-n { position: absolute; left: 14px; top: 14px; width: 26px; height: 26px; border-radius: 50%; background: var(--gz-ink); color: #fff; font-weight: 800; font-size: 13px; display: inline-flex; align-items: center; justify-content: center; }
.st-prompt select, .st-prompt textarea { width: 100%; border: 0; background: transparent; color: var(--gz-ink); }
.st-prompt select { font: 800 16px var(--gz-display); padding: 4px 0; margin-bottom: 4px; }
.st-prompt textarea { resize: vertical; font-size: 15px; border-top: 1px dashed var(--gz-line); padding-top: 8px; }
.st-prompt textarea:focus, .st-prompt select:focus { outline: none; }

/* ---------- Chats ---------- */
.cm-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.cm-head h1 { font-size: 32px; margin: 0; }
.cm-new { margin-bottom: 16px; }
.cm-new h2 { font-size: 16px; margin: 0 0 10px; }
.cm-new h2 span { background: var(--gz-grad); color: #fff; border-radius: 999px; padding: 1px 8px; font-size: 12px; }
.cm-row { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 6px; }
.cm-match { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; gap: 4px; color: var(--gz-ink); font-weight: 700; font-size: 13px; }
.cm-match:hover { text-decoration: none; color: var(--gz-ink); }
.cm-ring { width: 72px; height: 72px; border-radius: 50%; padding: 3px; background: var(--gz-grad); }
.cm-ring img, .cm-ring b { width: 100%; height: 100%; border-radius: 50%; border: 3px solid #fff; object-fit: cover; display: flex; align-items: center; justify-content: center; background: var(--gz-ink-2); color: #fff; font: 800 22px var(--gz-display); }
.sf-box { text-align: center; }
.sf-label { display: inline-flex; gap: 6px; align-items: center; font-weight: 800; font-size: 13px; background: var(--gz-fog); border-radius: 999px; padding: 4px 12px; }
.sf-art { margin: 14px auto 6px; }
.sf-page h3 { font-size: 20px; margin: 12px 0 4px; }
.sf-page p { color: var(--gz-muted); margin: 0; }
.sf-dots { display: flex; justify-content: center; gap: 6px; margin: 18px 0; }
.sf-dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--gz-line); }
.sf-dots i.is-on { width: 22px; border-radius: 8px; background: var(--gz-ink); }

/* ---------- Icon orbs: glossy gradient badges in place of emoji art ---------- */
.gz-orb {
    position: relative; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto;
    width: 52px; height: 52px; border-radius: 50%; color: #fff; font-size: 26px; overflow: hidden;
    background: var(--orb, var(--gz-grad));
    box-shadow: 0 10px 22px rgba(4, 28, 64, .28), inset 0 -6px 12px rgba(0, 0, 0, .12), inset 0 6px 10px rgba(255, 255, 255, .35);
}
.gz-orb::before { content: ''; position: absolute; top: 9%; left: 18%; width: 40%; height: 28%; border-radius: 50%; background: rgba(255, 255, 255, .45); filter: blur(2px); transform: rotate(-20deg); }
.gz-orb i { position: relative; z-index: 1; }
.gz-orb.is-sm { width: 36px; height: 36px; font-size: 18px; }
.gz-orb.is-xl { width: 104px; height: 104px; font-size: 52px; }
.gz-orb.is-sun { --orb: linear-gradient(135deg, #fc3890, #fc3890); color: var(--gz-ink); box-shadow: 0 10px 22px rgba(252, 56, 144, .3), inset 0 -6px 12px rgba(0, 0, 0, .08), inset 0 6px 10px rgba(255, 255, 255, .5); }
.gz-orb.is-lilac { --orb: linear-gradient(135deg, #fad3e6, #fad3e6); box-shadow: 0 10px 22px rgba(250, 211, 230, .3), inset 0 -6px 12px rgba(0, 0, 0, .1), inset 0 6px 10px rgba(255, 255, 255, .35); }
.gz-orb.is-sky { --orb: linear-gradient(135deg, #fad3e6, #fc3890); box-shadow: 0 10px 22px rgba(252, 56, 144, .3), inset 0 -6px 12px rgba(0, 0, 0, .1), inset 0 6px 10px rgba(255, 255, 255, .35); }
.gz-orb.is-lime { --orb: linear-gradient(135deg, #fff1f7, #fc3890); color: var(--gz-ink); }
.dc-empty-art.gz-orb { animation: gz-float 3s ease-in-out infinite; }
.ex-orb { position: absolute; top: 16%; left: 50%; transform: translateX(-50%); width: 92px; height: 92px; font-size: 46px; --orb: var(--accent, var(--gz-grad)); transition: transform .2s; }
.ex-tile:hover .ex-orb { transform: translateX(-50%) scale(1.08) rotate(-6deg); }
.ex-tile:nth-child(6n+2) .ex-orb { --orb: linear-gradient(135deg, #fc3890, #fc3890); color: var(--gz-ink); }
.ex-tile:nth-child(6n+3) .ex-orb { --orb: linear-gradient(135deg, #fff1f7, #fc3890); }
.ex-tile:nth-child(6n+4) .ex-orb { --orb: linear-gradient(135deg, #fad3e6, #fad3e6); }
.ex-tile:nth-child(6n+5) .ex-orb { --orb: linear-gradient(135deg, #fad3e6, #fc3890); }
.ex-tile:nth-child(6n+6) .ex-orb { --orb: linear-gradient(135deg, #fad3e6, #c8186a); }
.ex-chip i, .dc-badge i, .dc-chips span i, .gz-tabs a i { margin-right: 3px; }
.me-chip-icon { color: var(--gz-hot); font-size: 16px; }
.st-rule .gz-orb { width: 44px; height: 44px; font-size: 22px; }
.st-tray-chip i { margin-left: 4px; }
.st-note i, .st-tip i { color: var(--gz-hot); font-size: 16px; }
.dc-note .gz-orb { box-shadow: none; }
.gz-match-heart.gz-orb { width: 58px; height: 58px; font-size: 30px; bottom: -14px; }
.me-stat .gz-orb { margin-bottom: 4px; }
.dc-goal-card b i { color: var(--gz-hot); }

/* Sideways-scrolling rows scroll by touch or trackpad without a visible scrollbar */
.gz-tabs, .me-chips, .ex-scroll, .cm-row, .st-tray { scrollbar-width: none; }
.gz-tabs::-webkit-scrollbar, .me-chips::-webkit-scrollbar, .ex-scroll::-webkit-scrollbar, .cm-row::-webkit-scrollbar, .st-tray::-webkit-scrollbar { display: none; }
.dc-page.is-light .gz-empty h2, .gz-empty h2 { color: var(--gz-ink); }

/* ---------- Motion ---------- */
@keyframes gz-pop { 0% { transform: scale(.85); } 60% { transform: scale(1.08); } 100% { transform: scale(1); } }
@keyframes gz-up { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes gz-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes gz-swipe { 0%, 100% { transform: translateX(-12px) rotate(-8deg); } 50% { transform: translateX(14px) rotate(8deg); } }

@media (max-width: 575.98px) {
    .dc-page { padding-top: 10px; }
    .dc-top h1 { font-size: 26px; }
    /* Leave room for the header, the buttons and the bottom tab bar */
    .dc-stack { height: calc(100vh - 300px); height: calc(100svh - 300px); min-height: 380px; }
    .dc-info h2 { font-size: 28px; }
    .dc-actions { gap: 12px; margin-top: 12px; }
    .me-head { flex-direction: column; text-align: center; }
    .me-actions { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
    .dc-card, .dc-btn, .dc-sheet, .ex-tile { transition: none; }
    .dc-empty-art, .gz-match-heart, .gz-coach-art, .gz-match-box, .gz-sheet-box { animation: none; }
}

/* Full profile (public_profile/index): photo reel left, details right; one column on phones */
.pf-shell { max-width: 1040px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 24px; align-items: start; }
.pf-photos { position: sticky; top: 96px; }
.pf-reel { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; border-radius: 28px; box-shadow: var(--gz-shadow-lg); aspect-ratio: 4 / 5; background: var(--gz-fog); scrollbar-width: none; }
.pf-reel::-webkit-scrollbar { display: none; }
.pf-reel img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; scroll-snap-align: start; }
.pf-reel.is-empty { align-items: center; justify-content: center; background: var(--gz-grad-soft); }
.pf-reel.is-empty span { font: 800 64px/1 var(--gz-display); color: var(--gz-ink); }
.pf-dots { display: flex; justify-content: center; gap: 6px; margin-top: 10px; }
.pf-dots span { width: 8px; height: 8px; border-radius: 999px; background: var(--gz-line); cursor: pointer; transition: width .2s, background .2s; }
.pf-dots span.is-on { width: 22px; background: var(--gz-hot); }
.pf-head h1 { font: 800 34px/1.1 var(--gz-display); margin: 0 0 8px; color: var(--gz-ink); }
.pf-head h1 span { font-weight: 500; }
.pf-badges { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-bottom: 10px; }
.pf-active { font-size: 13px; font-weight: 700; color: #1a9b5b; }
.pf-meta { list-style: none; padding: 0; margin: 0 0 4px; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 14px; color: var(--gz-muted); }
.pf-meta i { color: var(--gz-hot); margin-right: 4px; }
.pf-meta b { color: var(--gz-ink); }
.pf-actions { display: flex; align-items: center; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.pf-actions .gz-btn { flex: 1 1 auto; justify-content: center; }
.pf-actions .dc-icon-btn { width: 48px; height: 48px; font-size: 22px; }
.pf-actions .dc-icon-btn.is-on { background: var(--gz-ink); color: #fff; }
.pf-h { font: 800 18px/1.2 var(--gz-display); margin: 0 0 10px; color: var(--gz-ink); }
.pf-bio { margin: 0; font-size: 15px; line-height: 1.6; white-space: pre-line; color: var(--gz-ink); }
.pf-more { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0; font-size: 14px; }
.pf-more dt { font-weight: 700; }
.pf-more dd { margin: 0; color: var(--gz-ink-2); }
.pf-note { font-size: 13px; color: var(--gz-muted); margin: 10px 0 0; }
.pf-note i { color: var(--gz-hot); }
@media (max-width: 991.98px) {
    .pf-shell { grid-template-columns: 1fr; gap: 16px; }
    .pf-photos { position: static; }
    .pf-head h1 { font-size: 28px; }
}

.pf-body .vl-profile-extras { background: #fff; border: 0; border-radius: 24px; box-shadow: var(--gz-shadow); padding: 16px; margin-bottom: 12px !important; }

/* Plans page (frontend/package/packages) */
.pk-head { text-align: center; max-width: 620px; margin: 10px auto 26px; }
.pk-head h1 { font: 800 40px/1.1 var(--gz-display); color: var(--gz-ink); margin: 14px 0 8px; }
.pk-head p { color: var(--gz-muted); font-size: 16px; margin: 0; }
.pk-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; max-width: 1040px; margin: 0 auto; }
.pk-card { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: 28px; padding: 22px; box-shadow: var(--gz-shadow); color: var(--gz-ink); }
.pk-card.is-paid { background: linear-gradient(#fff, #fff) padding-box, var(--gz-grad) border-box; border: 2.5px solid transparent; }
.pk-card.is-current { box-shadow: 0 0 0 3px var(--gz-lime), var(--gz-shadow); }
.pk-badge { position: absolute; top: -12px; right: 18px; }
.pk-img { width: 56px; height: 56px; object-fit: contain; margin-bottom: 8px; }
.pk-card h2 { font: 800 22px/1.2 var(--gz-display); margin: 0 0 6px; }
.pk-price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 14px; }
.pk-price b { font: 800 30px/1 var(--gz-display); }
.pk-price span { color: var(--gz-muted); font-size: 14px; font-weight: 600; }
.pk-perks { list-style: none; padding: 0; margin: 0 0 18px; flex: 1; }
.pk-perks li { display: flex; align-items: center; gap: 10px; padding: 7px 0; font-size: 15px; font-weight: 600; border-bottom: 1px dashed var(--gz-line); }
.pk-perks li:last-child { border-bottom: 0; }
.pk-perks i { color: var(--gz-hot); font-size: 20px; }
.pk-note { text-align: center; color: var(--gz-muted); font-size: 13px; margin: 18px 0 0; }
@media (max-width: 575.98px) { .pk-head h1 { font-size: 32px; } }

/* ---------- Verification (member_verifiction_form), after Bumble's verify screens ---------- */
.vf-page { max-width: 560px; margin: 0 auto; padding: 8px 0 24px; }
.vf-intro { text-align: center; padding: 8px 8px 20px; }
.vf-intro .vf-art { margin: 0 auto 16px; }
.vf-intro h1 { font-size: clamp(26px, 4vw, 34px); line-height: 1.1; margin: 0 0 10px; }
.vf-intro p { color: var(--gz-muted); font-size: 15px; margin: 0 auto; max-width: 420px; }
.vf-points { list-style: none; margin: 0 0 18px; padding: 6px 18px; background: #fff; border: 1px solid var(--gz-line); border-radius: var(--gz-radius); }
.vf-points li { display: flex; gap: 14px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--gz-line); }
.vf-points li:last-child { border-bottom: 0; }
.vf-points i { flex: none; width: 36px; height: 36px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
    background: var(--gz-blush-soft); color: var(--gz-maroon); font-size: 19px; }
.vf-points span { font-size: 14px; color: var(--gz-muted); line-height: 1.45; }
.vf-points strong { display: block; color: var(--gz-ink); font-size: 15px; }
.vf-card { background: #fff; border: 1px solid var(--gz-line); border-radius: var(--gz-radius); padding: 22px 20px; }
.vf-card h2 { font-size: 20px; margin: 0 0 6px; }
.vf-help { color: var(--gz-muted); font-size: 14px; margin: 0 0 16px; }
.vf-card .form-group label { font-weight: 700; color: var(--gz-ink); font-size: 14px; }
.vf-privacy { display: flex; gap: 12px; align-items: flex-start; margin: 6px 0 18px; padding: 14px 16px; border-radius: var(--gz-radius-sm); background: var(--gz-gold-soft); }
.vf-privacy i { color: var(--gz-gold-dark); font-size: 22px; margin-top: 1px; }
.vf-privacy strong { color: var(--gz-ink); font-size: 14px; }
.vf-privacy p { margin: 2px 0 0; font-size: 13px; color: var(--gz-muted); line-height: 1.5; }
.lk-verify {
    display: flex; align-items: center; gap: 14px; max-width: 420px; margin: 22px auto 0; padding: 14px 16px; text-align: left;
    border: 1px solid var(--gz-line); border-radius: var(--gz-radius-sm); background: #fff; color: var(--gz-muted) !important; font-size: 13px; line-height: 1.45;
}
.lk-verify:hover { border-color: var(--gz-maroon); text-decoration: none; }
.lk-verify > i:first-child { flex: none; width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--gz-gold-soft); color: var(--gz-maroon); font-size: 21px; }
.lk-verify > i:last-child { margin-left: auto; color: var(--gz-maroon); font-size: 18px; }
.lk-verify strong { display: block; color: var(--gz-ink); font-size: 15px; }

/* ---------- Setup closing screens and the identity page (member/setup) ---------- */
.st-hero { display: flex; justify-content: center; padding: 18px 0 10px; }
.st-hero .gz-orb { animation: gz-float 3s ease-in-out infinite; }
.st-hero.is-done .gz-orb { background: radial-gradient(circle at 30% 25%, #c8186a, var(--gz-maroon) 70%); color: var(--gz-gold); }
.st-facts { list-style: none; margin: 14px 0 0; padding: 4px 16px; background: #fff; border: 1px solid var(--gz-line); border-radius: var(--gz-radius); }
.st-facts li { display: flex; align-items: flex-start; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--gz-line); font-size: 14.5px; color: var(--gz-ink); line-height: 1.45; }
.st-facts li:last-child { border-bottom: 0; }
.st-facts i { flex: none; width: 32px; height: 32px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--gz-blush-soft); color: var(--gz-maroon); font-size: 17px; }
.st-cat small { margin-left: auto; font: 600 13px/1 var(--gz-text); color: var(--gz-muted); }
.st-small { font-size: 12.5px; color: var(--gz-muted); margin: 8px 0 0; }
.st-switch { display: inline-flex; align-items: center; gap: 10px; margin: 14px 0 0; cursor: pointer; font-size: 14px; font-weight: 700; color: var(--gz-ink); }
.st-switch input { position: absolute; opacity: 0; pointer-events: none; }
.st-switch-ui { position: relative; flex: 0 0 42px; width: 42px; height: 24px; border-radius: 999px; background: var(--gz-line); transition: background .15s; }
.st-switch-ui::after { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(4, 28, 64, .25); transition: transform .15s; }
.st-switch input:checked + .st-switch-ui { background: var(--gz-maroon); }
.st-switch input:checked + .st-switch-ui::after { transform: translateX(18px); }
.st-switch input:focus-visible + .st-switch-ui { outline: 2px solid var(--gz-gold); outline-offset: 2px; }
.st-switch input:disabled ~ span { opacity: .5; }
/* "Show me" with four choices (Men, Women, Beyond binary, Everyone): a 2 x 2 grid */
.gz-seg:has(label:nth-child(4)) { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; border-radius: 18px; }
.gz-seg:has(label:nth-child(4)) span { border-radius: 14px; }

/* ---------- "Finish signing up" (member/setup/complete) ---------- */
.st-dob { display: grid; grid-template-columns: 1fr 1.4fr 1.1fr; gap: 8px; max-width: 420px; }
.st-dob select { height: 46px; border: 1px solid var(--gz-line); border-radius: 14px; padding: 0 12px; background: #fff; font-size: 15px; color: var(--gz-ink); }
.st-dob select:focus { border-color: var(--gz-maroon); outline: 0; box-shadow: 0 0 0 3px rgba(200, 24, 106, .1); }
.st-terms { display: flex; gap: 10px; align-items: flex-start; margin: 22px 0 0; font-size: 14px; color: var(--gz-ink); }
.st-terms input { width: 18px; height: 18px; margin-top: 2px; flex: 0 0 18px; accent-color: var(--gz-maroon); }
.st-terms a { color: var(--gz-maroon); font-weight: 700; text-decoration: underline; }

/* ---------- Prompt picker sheet (Bumble 079-084) ---------- */
.st-prompt-pick { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; text-align: left; border: 0; background: var(--gz-blush-soft); color: var(--gz-muted); border-radius: 14px; padding: 12px 14px; font-weight: 700; font-size: 14.5px; }
.st-prompt-pick.is-set { color: var(--gz-ink); background: #fff; border: 1px solid var(--gz-line); }
.st-prompt-pick i { color: var(--gz-maroon); font-size: 18px; }
.st-sheet { position: fixed; inset: 0; z-index: 1100; background: rgba(4, 28, 64, .45); display: flex; align-items: flex-end; justify-content: center; }
.st-sheet-box { width: 100%; max-width: 560px; max-height: 88vh; display: flex; flex-direction: column; background: #fff; border-radius: 24px 24px 0 0; padding: 16px 16px 20px; animation: st-up .2s ease; }
@keyframes st-up { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (min-width: 768px) { .st-sheet { align-items: center; } .st-sheet-box { border-radius: 24px; } }
.st-sheet-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.st-sheet-head h2 { font: 800 18px/1.2 var(--gz-display); margin: 0; color: var(--gz-ink); }
.st-sheet-close { border: 0; background: var(--gz-blush-soft); color: var(--gz-maroon); width: 36px; height: 36px; border-radius: 50%; font-size: 18px; }
.st-tabs { display: flex; gap: 18px; overflow-x: auto; border-bottom: 1px solid var(--gz-line); margin: 0 -16px 10px; padding: 0 16px; scrollbar-width: none; }
.st-tabs::-webkit-scrollbar { display: none; }
.st-tabs button { flex: none; border: 0; background: none; padding: 10px 0; font-weight: 700; font-size: 14px; color: var(--gz-muted); border-bottom: 3px solid transparent; }
.st-tabs button.is-on { color: var(--gz-ink); border-bottom-color: var(--gz-maroon); }
.st-prompt-list { overflow-y: auto; display: grid; gap: 8px; padding: 2px; }
.st-prompt-list button { display: flex; align-items: center; justify-content: space-between; gap: 10px; text-align: left; border: 0; background: var(--gz-blush-soft); color: var(--gz-ink); border-radius: 14px; padding: 13px 14px; font-weight: 600; font-size: 14.5px; }
.st-prompt-list button:hover { background: #fad3e6; }
.st-prompt-list button:disabled { opacity: .4; cursor: not-allowed; }
.st-prompt-list i { color: var(--gz-maroon); }
.st-sheet[hidden] { display: none; }

/* Photos step: make main, drag, tips (Bumble 085) */
.st-photo-main { position: absolute; right: 8px; bottom: 8px; width: 30px; height: 30px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); color: var(--gz-maroon); display: inline-flex; align-items: center; justify-content: center; font-size: 16px; box-shadow: 0 2px 6px rgba(4, 28, 64, .2); }
.st-photo-main:hover { background: var(--gz-gold); color: var(--gz-maroon); }
.st-photo[draggable="true"] { cursor: grab; }
.st-photo.is-dragging { opacity: .45; }
.st-tips-card { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; margin-top: 14px; padding: 12px 14px; border: 1px solid var(--gz-line); border-radius: 16px; background: #fff; font-size: 14px; color: var(--gz-muted); }
.st-tips-card b { display: block; color: var(--gz-maroon); text-decoration: underline; }
.st-tips-ico { flex: none; width: 38px; height: 38px; border-radius: 12px; background: var(--gz-maroon); color: var(--gz-gold); display: inline-flex; align-items: center; justify-content: center; font-size: 20px; }
.st-howto { margin-top: 10px; text-align: center; }
.st-howto summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--gz-maroon); font-size: 14.5px; padding: 6px 0; }
.st-howto summary::-webkit-details-marker { display: none; }
.st-howto[open] summary i { transform: rotate(180deg); }
.st-howto .st-facts { text-align: left; }
.st-textarea { width: 100%; border: 1px solid var(--gz-line); border-radius: 16px; padding: 12px 14px; font-size: 15px; background: #fff; color: var(--gz-ink); resize: vertical; }
.st-textarea:focus { border-color: var(--gz-maroon); outline: 0; box-shadow: 0 0 0 3px rgba(200, 24, 106, .1); }
.st-chip-static { display: inline-flex; align-items: center; padding: 6px 12px; border-radius: 999px; background: var(--gz-blush-soft); color: var(--gz-ink); font-size: 13.5px; font-weight: 600; }

/* First pass / first like (Bumble 091, 095) */
.dc-first { position: fixed; inset: 0; z-index: 1150; background: rgba(4, 28, 64, .45); display: flex; align-items: center; justify-content: center; padding: 16px; }
.dc-first[hidden] { display: none; }
.dc-first-box { width: 100%; max-width: 340px; background: #fff; border-radius: 22px; padding: 22px 20px 16px; box-shadow: 0 20px 50px rgba(4, 28, 64, .3); }
.dc-first-box h3 { font: 800 20px/1.2 var(--gz-display); margin: 0 0 8px; color: var(--gz-ink); }
.dc-first-box p { font-size: 14.5px; color: var(--gz-muted); margin: 0 0 18px; }
.dc-first-actions { display: flex; gap: 10px; }
.dc-first-actions button { flex: 1; min-height: 44px; border-radius: 999px; border: 1px solid var(--gz-line); background: #fff; color: var(--gz-ink); font-weight: 800; }
.dc-first-actions .is-ok { background: var(--gz-maroon); border-color: var(--gz-maroon); color: #fff; }

/* Optional answers can be cleared: a chosen chip shows a cross (Bumble 077), tapping it again clears it */
.st-chip.is-clearable input:checked + span::after { content: "\00d7"; display: inline-block; margin-left: 7px; font-weight: 800; opacity: .8; }

/* Sensitive questions note and "Why we're asking" (Bumble 076) */
.st-sensitive { margin: 6px 0 18px; padding: 12px 14px; border-radius: 16px; background: var(--gz-blush-soft); }
.st-sensitive p { display: flex; gap: 8px; align-items: flex-start; margin: 0; font-size: 13.5px; color: var(--gz-ink); }
.st-sensitive p i { font-size: 18px; color: var(--gz-maroon); margin-top: 1px; }
.st-sensitive .st-howto { text-align: left; margin-top: 6px; }

/* A text field on the setup pages ("Tell us if we're missing something") */
.st-field { margin: 14px 0 4px; }
.st-field label { display: block; font-size: 13.5px; font-weight: 700; color: var(--gz-ink); margin-bottom: 6px; }
.st-input { width: 100%; border: 1px solid var(--gz-line); border-radius: 14px; padding: 10px 14px; font-size: 15px; background: #fff; color: var(--gz-ink); }
.st-input:focus { border-color: var(--gz-maroon); outline: 0; box-shadow: 0 0 0 3px rgba(200, 24, 106, .1); }
.st-field small { display: block; margin-top: 6px; font-size: 12.5px; color: var(--gz-muted); }

/* Mode selection: Date vs BFF (Bumble 072) */
.st-modes { display: grid; gap: 14px; margin: 16px 0; }
.st-mode-card { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 20px; border: 2px solid var(--gz-line); background: #fff; cursor: pointer; transition: all .2s ease; position: relative; }
.st-mode-card input { position: absolute; opacity: 0; pointer-events: none; }
.st-mode-card:hover { border-color: var(--gz-gold); transform: translateY(-1px); }
.st-mode-card.is-selected { border-color: var(--gz-maroon); background: var(--gz-blush-soft); box-shadow: 0 4px 14px rgba(4, 28, 64, .08); }
.st-mode-info b { display: block; font-size: 17px; color: var(--gz-ink); font-family: var(--gz-display); }
.st-mode-info p { margin: 3px 0 0; font-size: 13.5px; color: var(--gz-muted); line-height: 1.35; }

/* Discover top mode switcher */
.dc-mode-switch { display: inline-flex; background: rgba(0, 0, 0, .05); padding: 3px; border-radius: 999px; gap: 3px; }
.dc-mode-pill { border: 0; background: transparent; padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 700; color: var(--gz-muted); cursor: pointer; transition: all .15s ease; display: inline-flex; align-items: center; gap: 6px; }
.dc-mode-pill:hover { color: var(--gz-ink); }
.dc-mode-pill.is-active { background: #fff; color: var(--gz-maroon); box-shadow: 0 2px 6px rgba(0, 0, 0, .08); }


/* Pronouns under the name on a profile (Bumble 116) */
.pf-pronouns { margin: -4px 0 10px; font-size: 14px; font-weight: 600; color: var(--gz-muted); }

/* Chat safety (App\Utility\ChatSafety): a warning under messages with contact details, images blurred until tapped */
.vl-chat-warn { display: flex; gap: 6px; align-items: flex-start; max-width: 320px; margin-top: 6px; padding: 7px 10px; border-radius: 12px; background: #fff1f7; color: #041c40; font-size: 12.5px; line-height: 1.35; }
.vl-chat-warn i { font-size: 15px; margin-top: 1px; }
.file-preview-item .thumb { position: relative; overflow: hidden; }
.img-fit.vl-blur { filter: blur(18px); transform: scale(1.1); cursor: pointer; }
.thumb:has(.vl-blur)::after { content: "\f06e"; font-family: "Line Awesome Free"; font-weight: 900; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 26px; color: #fff; text-shadow: 0 1px 6px rgba(0, 0, 0, .5); pointer-events: none; }

/* Narrow phones: the title and Date/BFF switch wrap instead of pushing the buttons off screen */
.dc-top-title { min-width: 0; flex: 1 1 auto; }
.dc-top-actions { flex-shrink: 0; }
.dc-top-title > * { flex-shrink: 0; }
@media (max-width: 420px) {
    .dc-top { flex-wrap: wrap; row-gap: 8px; }
    .dc-mode-switch { order: 3; }
}

/* Setup progress: the same "Step n of 5" as the sign-up form */
.st-progress-wrap { min-width: 0; }
.st-progress-label { margin: 0 0 6px; font-size: 12.5px; color: var(--gz-muted); display: flex; gap: .4rem; flex-wrap: wrap; }
.st-progress-label b { color: var(--gz-maroon); }
a.st-skip { font-size: 14px; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; min-height: 44px; display: inline-flex; align-items: center; }
.st-more-links { list-style: none; margin: .4rem 0 0; padding: 0; display: grid; gap: .45rem; }
.st-more-links a { display: block; padding: .7rem .9rem; border: 1px solid var(--gz-line); border-radius: 12px; color: var(--gz-ink); font-weight: 600; font-size: 14px; }
.st-more-links a:hover { border-color: var(--gz-maroon); color: var(--gz-maroon); text-decoration: none; }

/* ---------- Photo verification: the pose and the live selfie (App\Utility\FaceCheck) ---------- */
.fc-pose { display: flex; align-items: center; gap: 14px; margin: 10px 0 12px; padding: 14px 16px; border-radius: var(--gz-radius-sm); background: var(--gz-gold-soft); }
.fc-pose i { flex: none; width: 56px; height: 56px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--gz-maroon); color: var(--gz-gold); font-size: 32px; }
.fc-pose b { color: var(--gz-ink); font-size: 16px; line-height: 1.3; }
.fc-stage { position: relative; aspect-ratio: 3 / 4; max-height: 420px; margin: 0 auto; border-radius: var(--gz-radius-sm); overflow: hidden; background: var(--gz-grad-dream); }
.fc-stage video, .fc-stage img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fc-stage video, .fc-stage img.is-mirrored { transform: scaleX(-1); } /* like a mirror while taking it; the saved photo is not flipped */
.fc-stage [hidden] { display: none; }
.fc-empty { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--gz-gold-soft); font-size: 56px; opacity: .7; }
.fc-actions { display: grid; gap: 10px; margin-top: 12px; }
.fc-actions [hidden] { display: none !important; }
.fc-file { position: relative; margin: 0; cursor: pointer; }
.fc-file input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.fc-file:focus-within { outline: 2px solid var(--gz-maroon); outline-offset: 2px; }
.fc-actions .gz-btn.is-light:hover { color: var(--gz-ink); }

/* ---------- Sensitive-data consents (App\Utility\Consents) ---------- */
.vl-consent { margin: 10px 0 4px; }
.vl-consent-box { display: flex; gap: 10px; align-items: flex-start; margin: 0; padding: 10px 12px; border-radius: 14px; background: var(--gz-gold-soft); font-size: 13px; line-height: 1.45; color: var(--gz-ink); cursor: pointer; }
.vl-consent-box input { flex: none; width: 18px; height: 18px; margin-top: 1px; accent-color: var(--gz-maroon); }
.vl-consent-box small { display: block; color: var(--gz-muted); margin-top: 2px; }
.vl-consent-given { margin: 0; font-size: 13px; color: var(--gz-muted); }
.vl-consent-given i { color: var(--gz-maroon); }
.vl-consent-given a { font-weight: 700; color: var(--gz-maroon); margin-left: 4px; }
.vl-consent-error { margin: 4px 0 0; font-size: 13px; font-weight: 600; color: var(--gz-maroon); }
.vl-consent-error:empty { display: none; }
.cn-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.cn-head h2 { margin: 0; font-size: 18px; }
.cn-state { flex: none; padding: 3px 10px; border-radius: 999px; background: var(--gz-fog); color: var(--gz-muted); font-size: 12px; font-weight: 800; }
.cn-state.is-on { background: var(--gz-gold-soft); color: var(--gz-maroon); }
.cn-state i { margin-right: 3px; }
.cn-meta { margin: 0 0 8px; font-size: 13px; color: var(--gz-muted); }
.cn-meta a { font-weight: 700; color: var(--gz-maroon); }
.cn-withdraw { margin: 0; }
.cn-history summary { font-weight: 800; color: var(--gz-ink); cursor: pointer; }
.cn-history ul { margin: 10px 0 0; padding-left: 18px; font-size: 13px; color: var(--gz-muted); }
