/* ==========================================================================
   Componentes
   ========================================================================== */

/* ------------------------------ Vidro / cards ------------------------------ */
.glass {
  background: var(--glass);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  border: 1px solid var(--border);
}
/* Vidro: fundo translúcido + desfoque + borda clara e brilho na aresta de cima */
.card {
  background: var(--glass-card);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  border: 1px solid var(--border);
  border-radius: var(--r);
  box-shadow: var(--edge), 0 14px 40px -24px rgba(8, 2, 20, 0.9);
}
.glass { box-shadow: var(--edge); }
.pressable { transition: transform var(--t-fast) var(--ease), background var(--t-fast); }
.pressable:active { transform: scale(0.97); }

/* ------------------------------ Botões ------------------------------ */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 18px;
  border-radius: var(--r-full);
  font-weight: 800; font-size: 15px; letter-spacing: -0.005em;
  white-space: nowrap;
  transition: transform var(--t-fast) var(--ease), opacity var(--t-fast), background var(--t-fast), box-shadow var(--t);
  user-select: none;
}
.btn:active:not(:disabled) { transform: scale(0.96); }
.btn:disabled { opacity: 0.45; }
.btn--primary { background: var(--grad); color: #fff; box-shadow: var(--glow); }
.btn--primary::before { content: ''; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(180deg, rgba(255, 255, 255, 0.22), transparent 55%); pointer-events: none; }
.btn--glass { background: var(--surface-2); border: 1px solid var(--border-2); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); }
.btn--glass:hover { background: var(--surface-3); }
.btn--ghost { background: var(--surface); color: var(--text-2); }
.btn--white { background: #fff; color: #111; box-shadow: 0 10px 30px -10px rgba(255, 255, 255, 0.35); }
.btn--danger { background: linear-gradient(135deg, #e11d48, #ff3d5a); color: #fff; }
.btn--going { background: rgba(52, 211, 153, 0.14); color: var(--ok); border: 1px solid rgba(52, 211, 153, 0.35); }
.btn--link { height: auto; padding: 6px 4px; background: none; color: var(--text-2); font-weight: 700; }
.btn--link:hover { color: var(--text); }
.btn--sm { height: 36px; padding: 0 14px; font-size: 13.5px; gap: 6px; }
.btn--lg { height: 54px; font-size: 16px; padding: 0 24px; }
.btn--block { width: 100%; }
.btn--grow { flex: 1; }
.btn .btn__label { transition: opacity var(--t-fast); }
.btn.is-loading { pointer-events: none; }
.btn.is-loading > * { opacity: 0; }
.btn.is-loading::after {
  content: ''; position: absolute; width: 20px; height: 20px; border-radius: 50%;
  border: 2.5px solid currentColor; border-right-color: transparent;
  animation: spin 0.7s linear infinite;
}
.btn.pop { animation: pop 0.45s var(--spring); }

.icon-btn {
  display: inline-grid; place-items: center; flex: none;
  width: 42px; height: 42px; border-radius: 50%;
  color: var(--text);
  transition: transform var(--t-fast) var(--ease), background var(--t-fast);
}
.icon-btn:active { transform: scale(0.9); }
.icon-btn--ghost { color: var(--text-2); }
.icon-btn--ghost:hover { background: var(--surface); color: var(--text); }
.icon-btn--glass { background: var(--surface-2); border: 1px solid var(--border); }
.icon-btn--blur { background: rgba(18, 8, 34, 0.45); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); border: 1px solid rgba(255, 255, 255, 0.1); }
.icon-btn--clear { color: #fff; }
.icon-btn--sm { width: 36px; height: 36px; }
.icon-btn.is-on { background: #fff; color: #111; }

.fab {
  display: grid; place-items: center;
  width: 48px; height: 48px; border-radius: 16px;
  box-shadow: var(--shadow);
  transition: transform var(--t-fast) var(--ease);
}
.fab:active { transform: scale(0.9); }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pop { 0% { transform: scale(1); } 40% { transform: scale(1.12); } 100% { transform: scale(1); } }
.spinner { width: 28px; height: 28px; border-radius: 50%; border: 3px solid var(--surface-3); border-top-color: var(--violet); animation: spin 0.8s linear infinite; }

/* ------------------------------ Chips / pílulas ------------------------------ */
.chip {
  display: inline-flex; align-items: center; gap: 6px; flex: none;
  height: 36px; padding: 0 14px;
  border-radius: var(--r-full);
  background: var(--surface-2); border: 1px solid var(--border);
  font-size: 13.5px; font-weight: 700; white-space: nowrap;
  transition: background var(--t-fast), border-color var(--t-fast), transform var(--t-fast) var(--ease), color var(--t-fast);
}
.chip:active { transform: scale(0.95); }
.chip.is-on { background: #fff; color: #140a24; border-color: #fff; }
.chip .i { flex: none; }
.chip .vibe-ico, .chip--vibe .i { color: var(--soft); }
.chip.is-on .i { color: var(--violet); }
.chip--sm { height: 30px; padding: 0 11px; font-size: 12.5px; }
.chip--outline { background: transparent; border-color: var(--border-2); color: var(--text-2); }
.chip--vibe { background: var(--glass); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); box-shadow: 0 6px 18px -8px rgba(0, 0, 0, 0.6); }
.chip--event { background: var(--grad-soft); border-color: rgba(255, 92, 138, 0.35); max-width: 60%; overflow: hidden; text-overflow: ellipsis; }

.rail { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-inline: var(--gutter); padding: 2px var(--gutter); scrollbar-width: none; }
.rail > * { scroll-snap-align: start; }
.rail--wrap { flex-wrap: wrap; overflow: visible; padding: 0; }

.pill {
  display: inline-flex; align-items: center; gap: 5px;
  height: 22px; padding: 0 8px;
  border-radius: var(--r-full);
  font-size: 11px; font-weight: 800; letter-spacing: 0.03em; white-space: nowrap;
  background: var(--surface-2); color: var(--text-2);
}
.pill--live { background: rgba(255, 61, 90, 0.16); color: #ff6b81; }
.pill--soon { background: rgba(251, 191, 36, 0.14); color: var(--warn); }
.pill--date { background: var(--surface-2); color: var(--text); }
.pill--muted { background: var(--surface); color: var(--text-3); }
.pill--boost { background: linear-gradient(135deg, rgba(200, 255, 77, 0.2), rgba(34, 211, 238, 0.14)); color: var(--lime); }
.pill--me { background: var(--grad-soft); color: var(--soft); }

/* "Ao vivo": mini equalizador — três barrinhas pulando como numa mesa de som */
.eq { display: inline-flex; align-items: flex-end; gap: 1.5px; width: 11px; height: 10px; flex: none; color: #ff4f7b; }
.eq b { flex: 1; height: 100%; border-radius: 1.5px; background: currentColor; transform-origin: bottom; animation: eq 0.9s ease-in-out infinite; box-shadow: 0 0 6px currentColor; }
.eq b:nth-child(1) { animation-duration: 0.82s; animation-delay: -0.3s; }
.eq b:nth-child(2) { animation-duration: 0.64s; animation-delay: -0.1s; }
.eq b:nth-child(3) { animation-duration: 1.02s; animation-delay: -0.55s; }
@keyframes eq { 0%, 100% { transform: scaleY(0.3); } 50% { transform: scaleY(1); } }
.dot-on { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); display: inline-block; box-shadow: 0 0 10px var(--ok); }

.badge {
  position: absolute; top: -5px; right: -8px;
  min-width: 18px; height: 18px; padding: 0 5px;
  display: grid; place-items: center;
  border-radius: 9px; background: var(--pink); color: #fff;
  font-size: 10.5px; font-weight: 800; font-style: normal;
  box-shadow: 0 0 0 2.5px var(--bg);
}
.tag { display: inline-flex; align-items: center; gap: 3px; font-size: 10.5px; font-weight: 800; padding: 2px 6px; border-radius: 6px; }
.tag--venue { background: rgba(52, 211, 153, 0.12); color: var(--ok); }

.verified { display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: var(--grad); color: #fff; vertical-align: -2px; margin-left: 2px; }
.verified .i { stroke-width: 3.5; }

/* ------------------------------ Avatar ------------------------------ */
.avatar { position: relative; display: inline-block; flex: none; width: var(--s); height: var(--s); border-radius: 50%; }
.avatar__in {
  position: absolute; inset: 0; border-radius: 50%; overflow: hidden;
  background: linear-gradient(135deg, hsl(var(--h) 70% 55%), hsl(calc(var(--h) + 50) 75% 45%));
  display: grid; place-items: center;
}
.avatar__fallback { font-weight: 800; font-size: calc(var(--s) * 0.38); color: #fff; letter-spacing: -0.02em; }
.avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.avatar--ring { padding: 3px; }
.avatar--ring::before { content: ''; position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 200deg, #FFA64D, #FF5C8A, #E040FB, #7B2FF7, #FFA64D); }
.avatar--ring .avatar__in { inset: 3px; box-shadow: 0 0 0 2.5px var(--bg); }
.avatar--ring.is-seen::before { background: var(--surface-3); }
.avatar__online { position: absolute; right: 1px; bottom: 1px; width: 28%; height: 28%; max-width: 14px; max-height: 14px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 2.5px var(--bg); }
.avatar-stack { display: inline-flex; }
.avatar-stack .avatar { box-shadow: 0 0 0 2px var(--bg); border-radius: 50%; }
.avatar-stack .avatar + .avatar { margin-left: calc(var(--s) * -0.34); }
.thumb { flex: none; width: 48px; height: 48px; border-radius: 14px; background-size: cover; background-position: center; }
.thumb--lg { width: 60px; height: 60px; border-radius: 16px; }

/* ------------------------------ Formulários ------------------------------ */
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.field > span, .field__label { font-size: 13px; font-weight: 700; color: var(--text-2); display: flex; align-items: baseline; gap: 6px; }
.field__label { margin-bottom: 8px; }
.field > span em, .field__label em { font-style: normal; color: var(--text-3); font-weight: 600; }
.field__count { margin-left: auto; }
.field input, .field textarea, .field select, .field__wrap {
  width: 100%;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 14px; padding: 13px 14px;
  font-size: 16px; font-weight: 600; color: var(--text);
  transition: border-color var(--t-fast), background var(--t-fast), box-shadow var(--t-fast);
  -webkit-appearance: none; appearance: none;
}
.field textarea { resize: none; line-height: 1.45; }
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--text-2) 50%), linear-gradient(135deg, var(--text-2) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%; background-size: 5px 5px; background-repeat: no-repeat; }
.field select option { background: var(--bg-3); }
.field input::placeholder, .field textarea::placeholder { color: var(--text-3); font-weight: 500; }
.field input:focus, .field textarea:focus, .field select:focus, .field__wrap:focus-within { border-color: rgba(138, 77, 255, 0.7); background: rgba(138, 77, 255, 0.07); box-shadow: 0 0 0 4px rgba(138, 77, 255, 0.14); }
.field input[type='date'], .field input[type='time'] { color-scheme: dark; min-height: 50px; }
.field__wrap { display: flex; align-items: center; gap: 4px; padding: 0 0 0 14px; }
.field__wrap i { font-style: normal; color: var(--text-3); font-weight: 700; }
.field__wrap input { border: 0; background: none; padding: 13px 14px 13px 0; box-shadow: none !important; }
.field__wrap--btn { padding-right: 6px; }
.field__wrap--btn input { padding-left: 0; }
.field__wrap--btn .btn { flex: none; }
.field__status { font-size: 12.5px; font-weight: 700; color: var(--text-3); display: flex; align-items: center; gap: 5px; min-height: 16px; }
.field__status.is-ok { color: var(--ok); }
.field__status.is-err, .field__err { color: var(--hot); }
.field__err { font-size: 12.5px; font-weight: 700; min-height: 0; }
.field.has-err input, .field.has-err .field__wrap { border-color: rgba(251, 113, 133, 0.7); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hint { font-size: 13px; color: var(--text-2); display: flex; gap: 6px; align-items: flex-start; line-height: 1.4; }
.hint .i { margin-top: 2px; }

.switch { position: relative; flex: none; width: 50px; height: 30px; }
.switch input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; z-index: 1; }
.switch i { position: absolute; inset: 0; border-radius: 15px; background: var(--surface-3); transition: background var(--t) var(--ease); }
.switch 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, 0.35); transition: transform var(--t) var(--spring); }
.switch input:checked + i { background: var(--grad); }
.switch input:checked + i::after { transform: translateX(20px); }

.radio { flex: none; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--border-2); position: relative; transition: border-color var(--t-fast); }
.radio::after { content: ''; position: absolute; inset: 3px; border-radius: 50%; background: var(--grad); transform: scale(0); transition: transform var(--t) var(--spring); }
.is-sel .radio { border-color: var(--magenta); }
.is-sel .radio::after { transform: scale(1); }

/* Segmented control com tinta deslizante */
.seg { position: relative; display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr; padding: 4px; border-radius: var(--r-full); background: var(--surface); border: 1px solid var(--border); isolation: isolate; }
.seg > button { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 34px; padding: 0 14px; border-radius: var(--r-full); font-size: 13.5px; font-weight: 800; color: var(--text-2); transition: color var(--t) var(--ease); }
.seg > button.is-on { color: #140a24; }
.seg > button:disabled { opacity: 0.5; }
.seg__ink { position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 4px; width: calc((100% - 8px) / 2); border-radius: var(--r-full); background: #fff; transition: transform 0.42s var(--spring); box-shadow: 0 4px 14px -4px rgba(0, 0, 0, 0.5); }
.seg--3 .seg__ink { width: calc((100% - 8px) / 3); }
.seg--block { display: grid; width: 100%; }
.seg--lg > button { height: 42px; font-size: 14.5px; }

/* ------------------------------ Barra superior ------------------------------ */
.topbar {
  position: relative; z-index: 5;
  display: flex; align-items: center; gap: 6px;
  padding: calc(var(--safe-t) + 8px) 8px 8px;
  border-width: 0 0 1px;
  border-radius: 0;
}
.topbar--clear { background: none; border: 0; }
.topbar__spacer { width: 42px; flex: none; }
.topbar__titles { flex: 1; min-width: 0; text-align: center; }
.topbar__title { font-size: 16px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar__sub { font-size: 12px; color: var(--text-2); font-weight: 600; }
.topbar__actions { display: flex; min-width: 42px; justify-content: flex-end; }
.float-bar { position: absolute; top: 0; left: 0; right: 0; z-index: 5; display: flex; padding: calc(var(--safe-t) + 8px) 10px; pointer-events: none; }
.float-bar > * { pointer-events: auto; }
.float-bar--end { justify-content: flex-end; }

/* ------------------------------ Busca ------------------------------ */
.searchbar {
  display: flex; align-items: center; gap: 10px;
  height: 52px; padding: 0 6px 0 16px;
  border-radius: var(--r-full);
  box-shadow: var(--shadow);
  color: var(--text-2);
}
.searchbar input { flex: 1; min-width: 0; height: 100%; background: none; border: 0; font-size: 15.5px; font-weight: 600; color: var(--text); }
.searchbar input::placeholder { color: var(--text-3); }
.searchbar input::-webkit-search-cancel-button { display: none; }
.searchbar__clear { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--surface-2); color: var(--text); }
.searchbar__me { flex: none; border-radius: 50%; transition: transform var(--t-fast) var(--ease); }
.searchbar__me:active { transform: scale(0.9); }
.searchbar--inline { margin: 4px var(--gutter) 6px; height: 46px; background: var(--surface); border: 1px solid var(--border); box-shadow: none; padding-right: 10px; }
.searchbar--inline:focus-within { border-color: rgba(138, 77, 255, 0.6); }

/* ------------------------------ Termômetro ------------------------------ */
.crowd { --c: var(--ok); padding: 16px; }
.crowd--low { --c: var(--ok); }
.crowd--mid { --c: var(--warn); }
.crowd--high { --c: var(--hot); }
.crowd--max { --c: var(--max); }
.crowd__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.crowd__title { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 800; color: var(--text-2); }
.crowd__title .i { color: var(--c); }
.crowd__pct { font-family: var(--font-display); font-weight: 700; font-size: 22px; color: var(--c); transition: color var(--t); font-variant-numeric: tabular-nums; }
.crowd__track { position: relative; height: 12px; border-radius: 6px; background: var(--crowd-grad); }
.crowd__fill { position: absolute; top: 0; right: 0; bottom: 0; left: calc(var(--v) * 100%); border-radius: 0 6px 6px 0; background: rgba(12, 10, 20, 0.78); transition: left 1.2s var(--ease-out); }
.crowd__knob { position: absolute; top: 50%; left: calc(var(--v) * 100%); width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px var(--c), 0 0 22px 4px var(--c); transition: left 1.2s var(--ease-out), box-shadow var(--t); }
.crowd--max .crowd__knob, .crowd--high .crowd__knob { animation: knob 1.4s ease-in-out infinite; }
@keyframes knob { 50% { box-shadow: 0 0 0 5px var(--c), 0 0 34px 10px var(--c); } }
.crowd__foot { display: flex; align-items: baseline; justify-content: space-between; margin-top: 12px; font-size: 12.5px; color: var(--text-3); font-weight: 600; }
.crowd__foot b { font-size: 15px; color: var(--text); }

.crowd-mini { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 800; }
.crowd-mini b { color: var(--c); font-weight: 800; transition: color var(--t); }
.crowd-mini__bars { display: inline-flex; align-items: flex-end; gap: 2px; height: 14px; }
.crowd-mini__bars i { width: 4px; border-radius: 2px; background: var(--surface-3); transition: background var(--t); }
.crowd-mini__bars i:nth-child(1) { height: 5px; } .crowd-mini__bars i:nth-child(2) { height: 7px; } .crowd-mini__bars i:nth-child(3) { height: 9px; } .crowd-mini__bars i:nth-child(4) { height: 11.5px; } .crowd-mini__bars i:nth-child(5) { height: 14px; }
.crowd-mini.crowd--low i:nth-child(-n + 2), .crowd-mini.crowd--mid i:nth-child(-n + 3), .crowd-mini.crowd--high i:nth-child(-n + 4), .crowd-mini.crowd--max i { background: var(--c); }
.crowd-mini.crowd--max .crowd-mini__bars { animation: pop 1s var(--ease) infinite; }

/* ------------------------------ Distância ------------------------------ */
.dist { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 800; color: var(--cyan); white-space: nowrap; }
.dist.is-empty { display: none; }

/* ------------------------------ Cards de evento ------------------------------ */
.ecard {
  flex: none; display: flex; gap: 12px;
  width: var(--card-w); padding: 10px;
  border-radius: 22px;
  background: var(--glass-strong);
  -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  scroll-snap-align: center;
  cursor: pointer;
  transition: transform 0.35s var(--ease-out), border-color var(--t), box-shadow var(--t);
}
.ecard.is-active { border-color: rgba(255, 62, 154, 0.55); box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 62, 154, 0.25), 0 10px 40px -12px rgba(255, 62, 154, 0.55); }
.ecard__cover { position: relative; flex: none; width: 96px; height: 118px; border-radius: 16px; background-size: cover; background-position: center; }
.boost-badge { position: absolute; top: 6px; left: 6px; width: 24px; height: 24px; border-radius: 8px; display: grid; place-items: center; background: var(--lime); color: #111; box-shadow: 0 4px 12px rgba(200, 255, 77, 0.4); }
.ecard__body { flex: 1; min-width: 0; display: flex; flex-direction: column; padding: 2px 2px 2px 0; }
.ecard__top { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.ecard__title { margin-top: 7px; font-size: 15.5px; font-weight: 800; line-height: 1.22; letter-spacing: -0.01em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ecard__meta { margin-top: 3px; font-size: 13px; color: var(--text-2); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ecard__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; min-width: 0; }
.ecard__going { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 800; color: var(--text-2); white-space: nowrap; flex: none; }
.crowd-mini { min-width: 0; }
.crowd-mini b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ecard--empty { width: var(--card-w); justify-content: center; cursor: default; }
.ecard--empty .empty { padding: 12px; }

.wcard { border-radius: 22px; overflow: hidden; background: var(--bg-2); border: 1px solid var(--border); cursor: pointer; }
.wcard__cover { position: relative; aspect-ratio: 16 / 9; background-size: cover; background-position: center; }
.wcard__cover::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0.25), transparent 40%, rgba(11, 6, 24, 0.85)); }
.wcard__badges { position: absolute; z-index: 1; top: 10px; left: 10px; display: flex; gap: 6px; }
.wcard__badges .pill { -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); background: rgba(18, 8, 34, 0.6); }
.wcard__badges .pill--live { color: #ff6b81; }
.wcard__badges .pill--boost { color: var(--lime); }
.wcard__price { position: absolute; z-index: 1; right: 12px; bottom: 10px; font-size: 13px; font-weight: 800; padding: 5px 10px; border-radius: var(--r-full); background: rgba(255, 255, 255, 0.92); color: #111; }
.wcard__body { padding: 12px 14px 14px; }
.wcard__date { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--text-2); font-weight: 600; }
.wcard__date b { color: var(--pink); }
.wcard__date .dist { margin-left: auto; }
.wcard__title { font-size: 17px; font-weight: 800; margin-top: 4px; letter-spacing: -0.01em; line-height: 1.25; }
.wcard__venue { display: flex; align-items: center; gap: 4px; font-size: 13px; color: var(--text-2); margin-top: 3px; }
.wcard__foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 12px; }
.wcard__friends { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; }
.list-grid { display: grid; gap: 14px; padding-bottom: 20px; }

/* ------------------------------ Pessoas ------------------------------ */
.people { display: flex; flex-direction: column; }
.person { display: flex; align-items: center; gap: 12px; padding: 10px var(--gutter); cursor: pointer; border-radius: 14px; }
.sheet .person { padding-left: 0; padding-right: 0; }
.person__txt { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.person__txt b { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.person__txt small { font-size: 13px; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.person > .i { color: var(--text-3); }
.friend-bubble { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 70px; font-size: 12px; font-weight: 700; color: var(--text-2); flex: none; }
.friend-bubble span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ------------------------------ Vazio ------------------------------ */
.empty { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 40px 24px; gap: 8px; }
.empty__ico { width: 64px; height: 64px; border-radius: 22px; display: grid; place-items: center; background: var(--grad-soft); color: #e9d5ff; margin-bottom: 6px; border: 1px solid rgba(255, 92, 138, 0.25); }
.empty__title { font-size: 17px; font-weight: 800; }
.empty__text { color: var(--text-2); font-size: 14px; max-width: 280px; }
.empty .btn { margin-top: 10px; }

/* ------------------------------ Bottom sheet ------------------------------ */
.sheet-wrap { position: absolute; inset: 0; z-index: 70; display: flex; align-items: flex-end; }
.sheet-backdrop { position: absolute; inset: 0; background: rgba(8, 3, 18, 0.6); opacity: 0; transition: opacity 0.36s var(--ease); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.sheet {
  position: relative; width: 100%;
  max-height: calc(100% - var(--safe-t) - 40px);
  display: flex; flex-direction: column;
  background: linear-gradient(180deg, rgba(28, 24, 42, 0.97), rgba(22, 10, 40, 0.98));
  border: 1px solid var(--border-2); border-bottom: 0;
  border-radius: 28px 28px 0 0;
  box-shadow: 0 -30px 80px -20px rgba(0, 0, 0, 0.8);
  transform: translate3d(0, 105%, 0);
  transition: transform 0.46s var(--ease-out);
  will-change: transform;
}
.sheet--tall { height: calc(100% - var(--safe-t) - 48px); }
.sheet-wrap.is-open .sheet-backdrop { opacity: 1; }
.sheet-wrap.is-open .sheet { transform: none; }
.sheet__head { position: relative; display: flex; align-items: flex-start; gap: 10px; padding: 22px 16px 8px 22px; touch-action: none; cursor: grab; flex: none; }
.sheet__grab { position: absolute; top: 8px; left: 50%; width: 40px; height: 5px; margin-left: -20px; border-radius: 3px; background: var(--surface-3); }
.sheet__titles { flex: 1; min-width: 0; padding-top: 4px; }
.sheet__title { font-size: 19px; font-weight: 800; letter-spacing: -0.01em; }
.sheet__sub { font-size: 13.5px; color: var(--text-2); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sheet__close { margin-top: -4px; }
.sheet__body { flex: 1; overflow-y: auto; padding: 8px 22px calc(var(--safe-b) + 24px); overscroll-behavior: contain; }

.sheet-wrap--dialog { align-items: center; justify-content: center; padding: 24px; }
.sheet-wrap--dialog .sheet { border-radius: 28px; border-bottom: 1px solid var(--border-2); transform: scale(0.9); opacity: 0; transition: transform 0.4s var(--spring), opacity 0.25s; max-width: 380px; }
.sheet-wrap--dialog.is-open .sheet { transform: none; opacity: 1; }
.sheet-wrap--dialog .sheet__head { display: none; }
.sheet-wrap--dialog .sheet__body { padding: 26px 22px 22px; }
.dialog { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; }
.dialog__ico { width: 60px; height: 60px; border-radius: 20px; display: grid; place-items: center; background: var(--surface-2); color: var(--text); margin-bottom: 6px; }
.dialog__ico.is-danger { background: rgba(251, 113, 133, 0.14); color: var(--hot); }
.dialog__ico--brand { background: var(--grad); color: #fff; box-shadow: var(--glow); }
.dialog__title { font-size: 19px; font-weight: 800; }
.dialog__text { color: var(--text-2); font-size: 14.5px; }
.dialog__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; margin-top: 14px; }

/* ------------------------------ Toast ------------------------------ */
.toast-host { position: absolute; z-index: 200; top: calc(var(--safe-t) + 10px); left: 12px; right: 12px; display: flex; flex-direction: column; align-items: center; gap: 8px; pointer-events: none; }
.toast {
  pointer-events: auto;
  display: flex; align-items: center; gap: 10px;
  max-width: 100%; padding: 11px 14px 11px 12px;
  border-radius: 18px;
  background: rgba(24, 20, 36, 0.92);
  -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  border: 1px solid var(--border-2);
  box-shadow: var(--shadow-lg);
  font-size: 14px; font-weight: 700;
  transform: translate3d(0, -24px, 0) scale(0.96); opacity: 0;
  transition: transform 0.45s var(--spring), opacity 0.25s;
}
.toast.is-in { transform: none; opacity: 1; }
.toast.is-out { transform: translate3d(0, -16px, 0) scale(0.96); opacity: 0; transition-duration: 0.25s; }
.toast__ico { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 10px; background: var(--grad-soft); color: #e9d5ff; flex: none; }
.toast--ok .toast__ico { background: rgba(52, 211, 153, 0.16); color: var(--ok); }
.toast--err .toast__ico { background: rgba(251, 113, 133, 0.16); color: var(--hot); }
.toast__action { margin-left: 6px; color: var(--cyan); font-weight: 800; }

/* ------------------------------ Confete ------------------------------ */
.confetti { position: fixed; inset: 0; z-index: 300; pointer-events: none; overflow: hidden; }
.confetti i { position: absolute; animation: confetti var(--d) var(--ease-out) forwards; }
@keyframes confetti {
  0% { transform: translate3d(0, 0, 0) rotate(0); opacity: 1; }
  70% { opacity: 1; }
  100% { transform: translate3d(var(--dx), calc(var(--dy) + 260px), 0) rotate(var(--r)); opacity: 0; }
}

/* ------------------------------ Barra de progresso / anel ------------------------------ */
.progress { height: 6px; border-radius: 3px; background: var(--surface-2); overflow: hidden; }
.progress i { display: block; height: 100%; border-radius: 3px; background: var(--grad); transition: width 0.8s var(--ease-out); }
.ring { --p: 0; position: relative; width: 52px; height: 52px; border-radius: 50%; background: conic-gradient(var(--ok) calc(var(--p) * 360deg), var(--surface-3) 0); display: grid; place-items: center; flex: none; transition: background 0.6s; }
.ring::before { content: ''; position: absolute; inset: 5px; border-radius: 50%; background: var(--bg-2); }
.ring span { position: relative; font-size: 12px; font-weight: 800; }

/* ------------------------------ Checkout ------------------------------ */
.tiers { display: flex; flex-direction: column; gap: 10px; }
.tier { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 18px; background: var(--surface); border: 1.5px solid var(--border); transition: border-color var(--t-fast), background var(--t-fast), transform var(--t-fast) var(--ease); width: 100%; }
.tier:active:not(:disabled) { transform: scale(0.98); }
.tier.is-sel { border-color: rgba(255, 62, 154, 0.75); background: rgba(255, 92, 138, 0.08); }
.tier:disabled { opacity: 0.45; }
.tier__info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.tier__info b { font-size: 15.5px; }
.tier__info small { font-size: 12.5px; color: var(--text-2); line-height: 1.35; }
.tier__left { display: inline-flex; align-items: center; gap: 3px; font-style: normal; font-size: 12px; font-weight: 800; color: var(--pink); margin-top: 2px; }
.tier__price { font-weight: 800; font-size: 16px; font-variant-numeric: tabular-nums; }
.qty-row { display: flex; align-items: center; justify-content: space-between; margin: 18px 0 4px; }
.qty-row > span { display: flex; flex-direction: column; }
.qty-row small { color: var(--text-3); font-size: 12px; font-weight: 600; }
.stepper { display: flex; align-items: center; gap: 4px; padding: 4px; border-radius: var(--r-full); background: var(--surface); border: 1px solid var(--border); }
.stepper button { width: 36px; height: 36px; border-radius: 50%; font-size: 20px; font-weight: 700; display: grid; place-items: center; background: var(--surface-2); transition: transform var(--t-fast); }
.stepper button:active:not(:disabled) { transform: scale(0.88); }
.stepper button:disabled { opacity: 0.35; }
.stepper b { min-width: 30px; text-align: center; font-size: 17px; font-variant-numeric: tabular-nums; }
.methods { display: flex; flex-direction: column; gap: 8px; }
.method { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 14px; border-radius: 16px; background: var(--surface); border: 1.5px solid var(--border); transition: border-color var(--t-fast), background var(--t-fast); }
.method.is-sel { border-color: rgba(255, 62, 154, 0.7); background: rgba(255, 92, 138, 0.07); }
.method__ico { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--surface-2); flex: none; }
.method__txt { flex: 1; display: flex; flex-direction: column; }
.method__txt small { font-size: 12.5px; color: var(--text-2); }
.summary { margin: 18px 0; padding: 14px 16px; border-radius: 18px; background: var(--surface); border: 1px dashed var(--border-2); display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--text-2); font-weight: 600; }
.summary > div { display: flex; justify-content: space-between; gap: 10px; }
.summary__total { padding-top: 10px; border-top: 1px solid var(--border); color: var(--text); font-weight: 800; font-size: 16px; }
.summary__total b { font-family: var(--font-display); font-size: 19px; }
.fine { font-size: 12.5px; color: var(--text-3); margin-top: 12px; line-height: 1.5; }
.fine.center { text-align: center; }
.fine a { color: var(--text-2); text-decoration: underline; }
.fine .i { display: inline-block; vertical-align: -2px; margin-right: 3px; }

.success { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 20px 4px 8px; gap: 10px; }
.success h3 { font-family: var(--font-display); font-size: 24px; font-weight: 700; margin-top: 8px; }
.success p { color: var(--text-2); font-size: 15px; max-width: 320px; }
.success__badge { width: 92px; height: 92px; border-radius: 30px; display: grid; place-items: center; background: linear-gradient(135deg, #10b981, #34d399); color: #fff; box-shadow: 0 16px 50px -10px rgba(52, 211, 153, 0.6); animation: badgeIn 0.7s var(--spring) both; }
.success__badge .i { stroke-width: 3; animation: drawIn 0.6s 0.25s var(--ease-out) both; }
.success__badge--boost { background: var(--grad); box-shadow: var(--glow); }
.success__actions { display: flex; flex-direction: column; gap: 10px; width: 100%; margin-top: 16px; }
@keyframes badgeIn { from { transform: scale(0.3) rotate(-20deg); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes drawIn { from { transform: scale(0.4); opacity: 0; } to { transform: none; opacity: 1; } }

/* ------------------------------ Convite ------------------------------ */
.share-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(90px, 1fr)); gap: 10px; }
.share-opt { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 6px; border-radius: 18px; background: var(--surface); border: 1px solid var(--border); font-size: 13px; font-weight: 700; transition: transform var(--t-fast) var(--ease); }
.share-opt:active { transform: scale(0.95); }
.share-opt__ico { width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; background: var(--surface-2); }
.share-opt--wa .share-opt__ico { background: #25d366; color: #fff; box-shadow: 0 10px 26px -8px rgba(37, 211, 102, 0.7); }

/* ------------------------------ Scanner ------------------------------ */
.scanner { position: absolute; inset: 0; overflow: hidden; background: #000; }
.scanner__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.5s; }
.scanner.is-live .scanner__video { opacity: 1; }
.scanner__frame { position: absolute; top: 50%; left: 50%; width: min(66vw, 260px); aspect-ratio: 1; transform: translate(-50%, -54%); border-radius: 28px; box-shadow: 0 0 0 100vmax rgba(8, 3, 18, 0.55); }
.scanner__frame i { position: absolute; width: 44px; height: 44px; border: 4px solid #fff; border-radius: 4px; }
.scanner__frame i:nth-child(1) { top: -2px; left: -2px; border-right: 0; border-bottom: 0; border-top-left-radius: 26px; }
.scanner__frame i:nth-child(2) { top: -2px; right: -2px; border-left: 0; border-bottom: 0; border-top-right-radius: 26px; }
.scanner__frame i:nth-child(3) { bottom: -2px; left: -2px; border-right: 0; border-top: 0; border-bottom-left-radius: 26px; }
.scanner__frame i:nth-child(4) { bottom: -2px; right: -2px; border-left: 0; border-top: 0; border-bottom-right-radius: 26px; }
.scanner.is-live .scanner__frame i { animation: frameBreath 2.4s var(--ease) infinite; }
@keyframes frameBreath { 50% { transform: scale(1.04); } }
.scanner__laser { position: absolute; left: 10%; right: 10%; top: 10%; height: 2px; border-radius: 2px; background: linear-gradient(90deg, transparent, var(--magenta), var(--pink), transparent); box-shadow: 0 0 18px 3px rgba(255, 62, 154, 0.6); opacity: 0; }
.scanner.is-live .scanner__laser { opacity: 1; animation: laser 2.2s ease-in-out infinite; }
.scanner.is-paused .scanner__laser { animation-play-state: paused; opacity: 0.3; }
@keyframes laser { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(calc(min(66vw, 260px) * 0.78)); } }
.scanner.is-starting .scanner__frame { opacity: 0.5; }
.scanner__hint { position: absolute; left: 0; right: 0; top: calc(50% + min(33vw, 130px) + 10px); text-align: center; font-weight: 700; font-size: 14px; color: rgba(255, 255, 255, 0.85); text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6); }
.scanner.is-error .scanner__frame, .scanner.is-error .scanner__hint { display: none; }
.scanner__state { position: absolute; inset: 0; display: grid; place-items: center; padding: 24px; background: radial-gradient(circle at 50% 40%, rgba(138, 77, 255, 0.2), transparent 60%), #06050b; }
.scanner__err { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; max-width: 290px; }
.scanner__err-ico { width: 64px; height: 64px; border-radius: 22px; display: grid; place-items: center; background: var(--surface-2); margin-bottom: 6px; }
.scanner__err h3 { font-size: 17px; font-weight: 800; }
.scanner__err p { color: var(--text-2); font-size: 14px; margin-bottom: 8px; }

/* ------------------------------ QR ------------------------------ */
.qr-svg { width: 100%; height: auto; display: block; }
.qr-skel { width: 100%; aspect-ratio: 1; border-radius: 16px; background: linear-gradient(90deg, #ececf3 25%, #f8f8fc 45%, #ececf3 65%); background-size: 300% 100%; animation: shimmer 1.3s linear infinite; }
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: -100% 0; } }
.qr-fallback { aspect-ratio: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; color: #333; font-size: 13.5px; font-weight: 600; padding: 16px; }

/* ------------------------------ Tab bar ------------------------------ */
.tabbar {
  position: relative;
  pointer-events: auto;
  display: grid; grid-template-columns: repeat(5, 1fr);
  margin: 0 12px calc(var(--safe-b) + 10px);
  height: 64px; padding: 0 6px;
  border-radius: 26px;
  background: rgba(16, 13, 26, 0.72);
  -webkit-backdrop-filter: saturate(180%) blur(26px); backdrop-filter: saturate(180%) blur(26px);
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 20px 50px -12px rgba(0, 0, 0, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.tabbar__blob { position: absolute; left: 0; top: 8px; width: 52px; height: 48px; border-radius: 18px; background: var(--grad-soft); border: 1px solid rgba(255, 62, 154, 0.28); transition: transform 0.5s var(--spring); box-shadow: 0 8px 26px -8px rgba(255, 62, 154, 0.55); }
.tabbar__item { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: var(--text-3); transition: color var(--t) var(--ease); }
.tabbar__item.is-active { color: #fff; }
.tabbar__ico { position: relative; display: grid; place-items: center; height: 26px; transition: transform 0.4s var(--spring); }
.tabbar__item:active .tabbar__ico { transform: scale(0.84); }
.tabbar__item.is-active .tabbar__ico { transform: translateY(-1px); }
.tabbar__label { font-size: 10.5px; font-weight: 800; letter-spacing: 0.01em; }
.tabbar__avatar { box-shadow: 0 0 0 2px transparent; border-radius: 50%; transition: box-shadow var(--t); }
.tabbar__item.is-active .tabbar__avatar { box-shadow: 0 0 0 2px #fff; }

/* ------------------------------ Stories ------------------------------ */
.story { position: absolute; inset: 0; z-index: 120; background: rgba(0, 0, 0, calc(0.96 * var(--fade, 1))); opacity: 0; transition: opacity 0.3s var(--ease); }
.story.is-open { opacity: 1; }
.story.is-closing { opacity: 0; }
.story__stage { position: absolute; inset: 0; overflow: hidden; background: #0c0a14; transform-origin: center; transition: transform 0.3s var(--ease-out); touch-action: none; user-select: none; }
.story.is-open .story__stage { animation: storyIn 0.42s var(--ease-out); }
@keyframes storyIn { from { transform: scale(0.88) translateY(30px); border-radius: 30px; } }
.story__stage.slide-l { animation: slideL 0.38s var(--ease-out); }
.story__stage.slide-r { animation: slideR 0.38s var(--ease-out); }
@keyframes slideL { from { transform: translate3d(40%, 0, 0) scale(0.92); opacity: 0.4; } }
@keyframes slideR { from { transform: translate3d(-40%, 0, 0) scale(0.92); opacity: 0.4; } }
.story__media { position: absolute; inset: 0; background: radial-gradient(circle at 20% 20%, #7B2FF7, transparent 60%), radial-gradient(circle at 80% 90%, #FF3E9A, transparent 55%), #15111f; }
.story__media img { width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity 0.35s, transform 6s linear; }
.story__media img.is-loaded { opacity: 1; transform: scale(1.1); }
.story__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 22%, transparent 62%, rgba(0, 0, 0, 0.75)); pointer-events: none; }
.story__bars { position: absolute; top: calc(var(--safe-t) + 10px); left: 10px; right: 10px; display: flex; gap: 4px; z-index: 2; }
.story__bars i { flex: 1; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, 0.3); overflow: hidden; }
.story__bars b { display: block; height: 100%; background: #fff; transform: scaleX(0); transform-origin: left; }
.story__bars i.is-done b { transform: scaleX(1); }
.story__head { position: absolute; top: calc(var(--safe-t) + 22px); left: 12px; right: 6px; display: flex; align-items: center; justify-content: space-between; z-index: 3; }
.story__who { display: flex; align-items: center; gap: 10px; color: #fff; cursor: pointer; }
.story__who span { display: flex; flex-direction: column; }
.story__who b { font-size: 14px; }
.story__who small { font-size: 12px; opacity: 0.85; display: flex; align-items: center; gap: 4px; white-space: nowrap; }
.story__ev { display: inline-flex; align-items: center; gap: 2px; }
.story__caption { position: absolute; left: 20px; right: 20px; bottom: calc(var(--safe-b) + 96px); z-index: 2; color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 24px; line-height: 1.2; text-shadow: 0 4px 24px rgba(0, 0, 0, 0.6); letter-spacing: -0.01em; }
.story__tap { position: absolute; top: 90px; bottom: 90px; z-index: 1; }
.story__tap--prev { left: 0; width: 30%; }
.story__tap--next { right: 0; width: 70%; }
.story__foot { position: absolute; left: 12px; right: 8px; bottom: calc(var(--safe-b) + 18px); z-index: 3; display: flex; align-items: center; gap: 8px; }
.story__reply { flex: 1; display: flex; align-items: center; height: 50px; padding: 0 4px 0 18px; border-radius: var(--r-full); border: 1.5px solid rgba(255, 255, 255, 0.55); background: rgba(0, 0, 0, 0.2); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.story__reply input { flex: 1; min-width: 0; background: none; border: 0; color: #fff; font-size: 15px; font-weight: 600; }
.story__reply input::placeholder { color: rgba(255, 255, 255, 0.75); }
.story__like.is-liked { color: var(--pink); animation: pop 0.5s var(--spring); }
.story__like.is-liked .i { fill: currentColor; }
.story.is-paused .story__head, .story.is-paused .story__bars { opacity: 0.4; transition: opacity 0.2s; }

/* ------------------------------ Match (nova conexão) ------------------------------ */
.match { position: absolute; inset: 0; z-index: 130; display: grid; place-items: center; padding: 24px; opacity: 0; transition: opacity 0.35s var(--ease); }
.match.is-open { opacity: 1; }
.match__bg { position: absolute; inset: 0; background: radial-gradient(circle at 50% 35%, rgba(255, 92, 138, 0.55), transparent 55%), radial-gradient(circle at 50% 80%, rgba(34, 211, 238, 0.18), transparent 50%), rgba(5, 4, 10, 0.94); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.match__content { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; width: 100%; max-width: 360px; }
.match__avatars { position: relative; display: flex; align-items: center; justify-content: center; height: 130px; margin-bottom: 14px; }
.match__a, .match__b { border-radius: 50%; box-shadow: 0 0 0 4px var(--bg), 0 20px 50px -10px rgba(0, 0, 0, 0.8); }
.match__a { transform: translateX(-60px) rotate(-8deg); z-index: 1; }
.match__b { transform: translateX(60px) rotate(8deg); margin-left: -22px; z-index: 2; }
.match.is-open .match__a { animation: meetA 0.8s var(--spring) both; }
.match.is-open .match__b { animation: meetB 0.8s var(--spring) both; }
@keyframes meetA { from { transform: translateX(-160px) rotate(-30deg); opacity: 0; } to { transform: translateX(0) rotate(-8deg); } }
@keyframes meetB { from { transform: translateX(160px) rotate(30deg); opacity: 0; } to { transform: translateX(0) rotate(8deg); } }
.match__spark { position: absolute; z-index: 3; top: -6px; left: 50%; width: 52px; height: 52px; margin-left: -26px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--magenta); box-shadow: 0 0 40px 10px rgba(255, 62, 154, 0.6); transform: scale(0); }
.match.is-open .match__spark { animation: spark 0.6s 0.5s var(--spring) forwards; }
@keyframes spark { to { transform: scale(1) rotate(360deg); } }
.match__via { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 800; color: var(--cyan); padding: 6px 12px; border-radius: var(--r-full); background: rgba(34, 211, 238, 0.12); }
.match__title { font-family: var(--font-display); font-size: 32px; font-weight: 800; letter-spacing: -0.02em; margin-top: 12px; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.match__text { color: var(--text-2); margin-top: 8px; font-size: 15px; }
.match__actions { display: flex; flex-direction: column; gap: 10px; width: 100%; margin-top: 26px; }
.match.is-open .match__title, .match.is-open .match__text, .match.is-open .match__actions, .match.is-open .match__via { animation: rise 0.6s 0.35s var(--ease-out) both; }
@keyframes rise { from { transform: translateY(20px); opacity: 0; } }

/* ------------------------------ Banner SMS (demo OTP) ------------------------------ */
.sms-banner {
  position: absolute; z-index: 210; left: 10px; right: 10px; top: calc(var(--safe-t) + 8px);
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; border-radius: 22px;
  background: rgba(38, 34, 52, 0.94);
  -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  border: 1px solid var(--border-2);
  box-shadow: var(--shadow-lg);
  transform: translate3d(0, -140%, 0);
  transition: transform 0.55s var(--spring);
}
.sms-banner.is-in { transform: none; }
.sms-banner__ico { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: #34c759; color: #fff; flex: none; }
.sms-banner__txt { flex: 1; min-width: 0; display: flex; flex-direction: column; font-size: 13px; line-height: 1.35; }
.sms-banner__txt small { font-size: 10.5px; font-weight: 800; letter-spacing: 0.06em; color: var(--text-3); }
.sms-banner__txt span { color: var(--text-2); }
.sms-banner__cta { font-size: 12.5px; font-weight: 800; color: var(--cyan); flex: none; }
