/* ═══════════════════════════════════════════
   MATURES — Styles
═══════════════════════════════════════════ */
:root {
  --gold: #C9A96E;
  --gold-l: #E8D5B0;
  --gold-d: #8A6D3A;
  --gold-pale: #FAF4E8;
  --cream: #FAF8F4;
  --cream2: #F2EDE3;
  --cream3: #EAE3D7;
  --deep: #1A1410;
  --mid: #3D2E1E;
  --muted: #7A6A58;
  --muted2: #9A8A78;
  --rose: #C97A6E;
  --rose-l: #F5E8E6;
  --teal: #5B8A8A;
  --green: #5B8A6E;
  --border: rgba(139,108,58,.18);
  --border2: rgba(139,108,58,.32);
  --shadow: 0 4px 24px rgba(26,20,16,.10);
  --shadow-sm: 0 2px 12px rgba(26,20,16,.07);
  --fd: 'Cormorant Garamond', Georgia, serif;
  --fb: 'Jost', sans-serif;
  --r: 16px;
  --rsm: 10px;
  --rpill: 999px;
  --t: .22s cubic-bezier(.4,0,.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; }
body {
  font-family: var(--fb);
  background: var(--cream);
  color: var(--deep);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
button { font-family: var(--fb); cursor: pointer; }
input, select, textarea { font-family: var(--fb); }
a { color: var(--gold-d); text-decoration: none; }

/* ─── App shell ─────────────────────────────────────────────────────────── */
#app {
  max-width: 430px; margin: 0 auto; min-height: 100vh; height: 100vh;
  background: var(--cream); display: flex; flex-direction: column;
  box-shadow: 0 0 60px rgba(0,0,0,.12); position: relative;
  overflow: hidden;
}
#screens { flex: 1; display: flex; flex-direction: column; overflow: hidden; position: relative; }

/* ─── Screens ───────────────────────────────────────────────────────────── */
.screen { display: none; flex: 1; overflow-y: auto; overflow-x: hidden; padding-bottom: 76px; }
.screen.active { display: block; animation: fadeUp .3s ease; }
@keyframes fadeUp { from{opacity:0;transform:translateY(8px)} to{opacity:1;transform:translateY(0)} }

/* ─── Buttons ───────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 7px; padding: .82rem 1.5rem; border-radius: var(--rpill);
  font-size: 14px; font-weight: 500; letter-spacing: .07em;
  border: none; transition: var(--t); width: 100%;
}
.btn:active { transform: scale(.97); }
.btn-gold { background: var(--gold-d); color: #fff; }
.btn-gold:hover { background: var(--gold); }
.btn-outline { background: transparent; color: var(--gold-l); border: 1px solid rgba(201,169,110,.4); }
.btn-outline:hover { background: rgba(201,169,110,.1); }
.btn-rose { background: var(--rose); color: #fff; }
.btn-rose:hover { background: #b86a5e; }
.btn-light { background: var(--cream2); color: var(--deep); }
.btn-light:hover { background: var(--cream3); }
.btn-danger { background: #C97A6E; color: #fff; }
.btn-sm { padding: .5rem 1rem; font-size: 13px; }
.btn + .btn { margin-top: .5rem; }
.btn-row { display: flex; gap: .5rem; }
.btn-row .btn { flex: 1; }

.icon-btn {
  width: 38px; height: 38px; border-radius: 50%; border: none;
  background: none; color: var(--muted); font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  transition: var(--t); position: relative;
}
.icon-btn:hover { background: var(--cream2); color: var(--gold-d); }

/* ─── Badge ─────────────────────────────────────────────────────────────── */
.badge {
  position: absolute; top: 3px; right: 3px;
  background: var(--rose); color: #fff; font-size: 8px; font-weight: 700;
  min-width: 14px; height: 14px; border-radius: 7px; padding: 0 3px;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--cream);
}

/* ─── Top nav ───────────────────────────────────────────────────────────── */
#topnav {
  display: flex; align-items: center; justify-content: space-between;
  padding: .9rem 1.25rem .7rem; background: var(--cream);
  border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 90;
}
.topnav-logo { font-family: var(--fd); font-size: 1.8rem; font-weight: 700; color: var(--gold-d); letter-spacing: .08em; cursor: pointer; transition: var(--t); user-select: none; }
.topnav-logo:hover { opacity: .78; transform: scale(.97); }
.topnav-logo:active { transform: scale(.93); }
.topnav-logo em { color: var(--rose); font-style: italic; }
.topnav-actions { display: flex; gap: 4px; }

/* ─── Bottom nav ────────────────────────────────────────────────────────── */
#bottomnav {
  display: flex; justify-content: space-around;
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 430px;
  background: var(--cream); border-top: 1px solid var(--border); z-index: 90;
  padding: .45rem 0 .25rem;
}
.nav-item {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  font-size: 10px; letter-spacing: .05em; text-transform: uppercase;
  color: var(--muted2); background: none; border: none; padding: 4px 12px;
  border-radius: 12px; transition: var(--t); position: relative;
}
.nav-item.active { color: var(--gold-d); }
.nav-item i { font-size: 22px; }
.nav-badge {
  position: absolute; top: 0; right: 6px;
  background: var(--rose); color: #fff; font-size: 9px;
  border-radius: 50%; min-width: 16px; height: 16px;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--cream);
}

/* ─── Forms ─────────────────────────────────────────────────────────────── */
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-size: 11px; letter-spacing: .1em; color: var(--muted); text-transform: uppercase; margin-bottom: .4rem; font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; padding: .72rem 1rem;
  border: 1px solid var(--border2); border-radius: var(--rsm);
  font-size: 14px; color: var(--deep); background: #fff; outline: none;
  transition: var(--t); appearance: none;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,169,110,.12);
}
.field textarea { resize: vertical; min-height: 90px; line-height: 1.6; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.field-hint { font-size: 11px; color: var(--muted2); margin-top: .3rem; line-height: 1.5; }
.field-error { font-size: 11px; color: var(--rose); margin-top: .3rem; display: none; }
.field-error.show { display: block; }
.checkbox-row { display: flex; align-items: flex-start; gap: 9px; cursor: pointer; }
.checkbox-row input[type=checkbox] { width: 17px; height: 17px; flex-shrink: 0; margin-top: 2px; accent-color: var(--gold-d); }
.checkbox-label { font-size: 12px; color: var(--muted); line-height: 1.6; }

/* ─── SPLASH ────────────────────────────────────────────────────────────── */
#screen-splash {
  background: linear-gradient(160deg, #1A1410 0%, #2E2218 60%, #3D2E1E 100%);
  display: flex; align-items: center; justify-content: center;
  min-height: 100vh; padding-bottom: 0;
}
.splash-inner { padding: 2.5rem 2rem; text-align: center; }
.splash-ornament { font-size: 72px; color: var(--gold); margin-bottom: 1.2rem; display: block; animation: pulse 3s ease infinite; }
@keyframes pulse { 0%,100%{opacity:.7;transform:scale(1)} 50%{opacity:1;transform:scale(1.05)} }
.splash-logo { font-family: var(--fd); font-size: 3.4rem; font-weight: 700; color: var(--gold-l); letter-spacing: .12em; margin-bottom: .4rem; }
.splash-logo em { color: var(--rose); font-style: italic; }
.splash-tagline { font-size: 12px; color: var(--muted2); letter-spacing: .15em; text-transform: uppercase; margin-bottom: 2.5rem; }
.splash-btns { display: flex; flex-direction: column; gap: .75rem; }
.splash-footer { margin-top: 2rem; font-size: 11px; color: rgba(255,255,255,.22); line-height: 1.8; }

/* ─── AUTH ──────────────────────────────────────────────────────────────── */
#screen-auth { padding-bottom: 0; min-height: 100vh; overflow-y: auto; }
.auth-header { background: linear-gradient(160deg,#1A1410,#2E2218); padding: 2.5rem 1.5rem 1.5rem; text-align: center; }
.auth-logo { font-family: var(--fd); font-size: 2.4rem; font-weight: 700; color: var(--gold-l); letter-spacing: .1em; }
.auth-logo em { color: var(--rose); font-style: italic; }
.auth-sub { font-size: 12px; color: var(--muted2); letter-spacing: .1em; margin-top: .3rem; }
.auth-tabs { display: flex; background: var(--cream2); margin: 1.25rem 1.25rem 0; border-radius: var(--rpill); padding: 4px; }
.auth-tab { flex: 1; padding: .58rem; border: none; background: none; border-radius: var(--rpill); font-size: 13px; font-weight: 500; letter-spacing: .06em; color: var(--muted); transition: var(--t); }
.auth-tab.active { background: var(--gold-d); color: #fff; }
.auth-body { padding: 1.25rem 1.25rem 2rem; min-height: 200px; display: block; }
.step-indicator { display: flex; justify-content: center; gap: 8px; margin-bottom: 1.5rem; }
.step-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cream3); transition: var(--t); }
.step-dot.active { background: var(--gold-d); width: 22px; border-radius: 4px; }
.step-dot.done { background: var(--green); }
.step-title { font-family: var(--fd); font-size: 1.5rem; font-weight: 600; color: var(--deep); margin-bottom: .2rem; }
.step-sub { font-size: 13px; color: var(--muted); margin-bottom: 1.2rem; line-height: 1.6; }
.age-notice {
  background: var(--gold-pale); border: 1px solid var(--gold-l); border-radius: var(--rsm);
  padding: .75rem 1rem; display: flex; gap: 9px; align-items: flex-start; margin-bottom: 1.2rem;
}
.age-notice i { color: var(--gold-d); margin-top: 2px; flex-shrink: 0; font-size: 14px; }
.age-notice p { font-size: 12px; color: var(--gold-d); line-height: 1.5; }

/* ─── DISCOVER ──────────────────────────────────────────────────────────── */
.filter-bar { padding: .6rem 1.25rem .4rem; }
.filter-scroll { display: flex; gap: 7px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.filter-scroll::-webkit-scrollbar { display: none; }
.chip { white-space: nowrap; padding: 5px 13px; border-radius: var(--rpill); font-size: 12px; letter-spacing: .05em; cursor: pointer; transition: var(--t); border: 1px solid var(--border2); color: var(--muted); background: transparent; flex-shrink: 0; }
.chip.active { background: var(--gold-d); color: #fff; border-color: var(--gold-d); }

.card-stack { position: relative; margin: .6rem 1.25rem 0; height: 516px; }
.profile-card {
  position: absolute; inset: 0; background: #fff; border-radius: 20px;
  border: 1px solid var(--border); overflow: hidden; box-shadow: var(--shadow);
  transition: transform .38s cubic-bezier(.25,.46,.45,.94), opacity .3s ease;
  cursor: grab; user-select: none;
}
.profile-card.back  { transform: scale(.95) translateY(13px); opacity: .92; pointer-events: none; z-index: 1; }
.profile-card.front { z-index: 2; }
.profile-card.fly-r { transform: translateX(160%) rotate(26deg) !important; opacity: 0 !important; transition: transform .46s ease, opacity .35s ease !important; }
.profile-card.fly-l { transform: translateX(-160%) rotate(-26deg) !important; opacity: 0 !important; transition: transform .46s ease, opacity .35s ease !important; }
.profile-card.fly-u { transform: translateY(-140%) scale(.88) !important; opacity: 0 !important; transition: transform .46s ease, opacity .35s ease !important; }
.card-photo {
  height: 295px; overflow: hidden; position: relative;
  background: linear-gradient(145deg, var(--cream2), var(--cream3));
  display: flex; align-items: center; justify-content: center; flex-direction: column;
}
.card-initials { width: 96px; height: 96px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--fd); font-size: 2rem; font-weight: 600; color: #fff; }
.card-img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.card-verified { position: absolute; top: 11px; right: 11px; background: rgba(26,20,16,.72); backdrop-filter: blur(6px); border-radius: var(--rpill); padding: 4px 10px; display: flex; align-items: center; gap: 4px; color: var(--gold-l); font-size: 11px; }
.card-verified i { color: var(--gold); }
.card-media-tags { position: absolute; bottom: 9px; left: 9px; display: flex; gap: 5px; flex-wrap: wrap; }
.media-tag { background: rgba(26,20,16,.65); border-radius: var(--rpill); padding: 3px 9px; font-size: 10px; color: #fff; display: flex; align-items: center; gap: 4px; }
.card-body { padding: .9rem 1.1rem 1rem; }
.card-name-row { display: flex; align-items: baseline; justify-content: space-between; }
.card-name { font-family: var(--fd); font-size: 1.55rem; font-weight: 600; color: var(--deep); }
.card-age { font-size: 13px; color: var(--muted); }
.card-meta { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 3px; }
.card-meta span { font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 4px; }
.card-bio { font-size: 13px; color: var(--mid); margin-top: .55rem; line-height: 1.65; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card-interests { display: flex; flex-wrap: wrap; gap: 5px; margin-top: .6rem; }
.interest-tag { padding: 4px 10px; border-radius: var(--rpill); font-size: 11px; background: var(--cream2); color: var(--muted); }

.action-bar { display: flex; justify-content: center; align-items: center; gap: 14px; padding: .8rem 1.25rem 0; position: relative; z-index: 10; overflow: hidden; }
.act-btn { border-radius: 50%; border: 1.5px solid var(--border2); background: #fff; display: flex; align-items: center; justify-content: center; transition: var(--t); box-shadow: var(--shadow-sm); }
.act-btn:active { transform: scale(.93) !important; }
.act-nope  { width: 56px; height: 56px; font-size: 21px; color: var(--muted); }
.act-nope:hover  { background: var(--cream2); }
.act-info  { width: 48px; height: 48px; font-size: 17px; color: var(--teal); border-color: rgba(91,138,138,.3); }
.act-info:hover  { background: var(--teal); color: #fff; border-color: var(--teal); }
.act-super { width: 52px; height: 52px; font-size: 19px; color: var(--gold-d); }
.act-super:hover { background: var(--gold-d); color: #fff; border-color: var(--gold-d); }
.act-like  { width: 64px; height: 64px; font-size: 25px; color: var(--rose); border-color: rgba(201,122,110,.35); }
.act-like:hover  { background: var(--rose); color: #fff; border-color: var(--rose); }
.act-btn:hover { transform: scale(1.1); }
.swipe-hint { text-align: center; padding: .35rem; font-size: 11px; color: var(--muted2); letter-spacing: .06em; position: relative; z-index: 10; overflow: hidden; white-space: nowrap; max-width: 100%; }

.empty-discover { text-align: center; padding: 3rem 1.5rem; }
.empty-discover i { font-size: 46px; color: var(--gold-l); margin-bottom: 1rem; display: block; }
.empty-discover h3 { font-family: var(--fd); font-size: 1.4rem; color: var(--mid); }
.empty-discover p { font-size: 13px; color: var(--muted); margin-top: .4rem; line-height: 1.6; }

/* ─── MESSAGES ──────────────────────────────────────────────────────────── */
.section-title { padding: .9rem 1.25rem .2rem; font-family: var(--fd); font-size: 1.3rem; font-weight: 600; color: var(--deep); }
.section-title.sm { font-size: 1rem; padding-top: .5rem; }
.matches-row { display: flex; gap: 11px; overflow-x: auto; padding: .4rem 1.25rem .65rem; scrollbar-width: none; }
.matches-row::-webkit-scrollbar { display: none; }
.match-thumb { display: flex; flex-direction: column; align-items: center; gap: 4px; cursor: pointer; min-width: 58px; }
.match-av { width: 54px; height: 54px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--fd); font-size: .95rem; font-weight: 600; color: #fff; border: 2.5px solid var(--gold); flex-shrink: 0; position: relative; }
.match-av.online::after { content:''; position:absolute; bottom:1px; right:1px; width:9px; height:9px; border-radius:50%; background:var(--green); border:2px solid var(--cream); }
.match-nm { font-size: 10px; color: var(--muted); text-align: center; max-width: 56px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.search-wrap { padding: .4rem 1.25rem .2rem; }
.search-field { position: relative; }
.search-field i { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); color: var(--muted2); font-size: 15px; }
.search-field input { width: 100%; padding: .6rem .9rem .6rem 2.1rem; border: 1px solid var(--border); border-radius: var(--rpill); font-size: 13px; background: var(--cream2); outline: none; transition: var(--t); }
.search-field input:focus { border-color: var(--gold); background: #fff; }
.conv-divider { height: 1px; background: var(--border); margin: .2rem 1.25rem; }
.conv-item { display: flex; align-items: center; gap: 11px; padding: .7rem 1.25rem; cursor: pointer; transition: var(--t); }
.conv-item:hover { background: var(--cream2); }
.conv-av { width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--fd); font-size: .95rem; font-weight: 600; color: #fff; flex-shrink: 0; position: relative; }
.conv-av.online::after { content:''; position:absolute; bottom:1px; right:1px; width:9px; height:9px; border-radius:50%; background:var(--green); border:2px solid var(--cream); }
.conv-body { flex: 1; min-width: 0; }
.conv-top { display: flex; justify-content: space-between; }
.conv-name { font-size: 14px; font-weight: 500; color: var(--deep); }
.conv-time { font-size: 11px; color: var(--muted2); }
.conv-preview { font-size: 12px; color: var(--muted2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; }
.conv-preview.unread { color: var(--mid); font-weight: 500; }
.unread-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--rose); flex-shrink: 0; }
.empty-state { text-align: center; padding: 2.5rem 1.5rem; }
.empty-state i { font-size: 42px; color: var(--gold-l); margin-bottom: .75rem; display: block; }
.empty-state p { font-size: 13px; color: var(--muted); line-height: 1.7; }

/* ─── CHAT PANEL ────────────────────────────────────────────────────────── */
.overlay-panel {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  z-index: 200; background: var(--cream);
  display: flex; flex-direction: column; width: 100%;
  overflow-y: auto;
}
.overlay-panel[hidden] { display: none; }
.panel-open { animation: slideIn .3s ease; }
@keyframes slideIn { from { transform: translateX(30px); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

.chat-header { display: flex; align-items: center; gap: 10px; padding: .9rem 1rem .7rem; border-bottom: 1px solid var(--border); background: var(--cream); }
.back-btn { width: 36px; height: 36px; border-radius: 50%; border: none; background: none; font-size: 18px; color: var(--muted); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: var(--t); }
.back-btn:hover { background: var(--cream2); color: var(--deep); }
.chat-av { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--fd); font-size: .88rem; font-weight: 600; color: #fff; flex-shrink: 0; }
.chat-info { flex: 1; }
.chat-pname { font-size: 14px; font-weight: 500; color: var(--deep); }
.chat-pstatus { font-size: 11px; color: var(--green); }
.chat-pstatus.away { color: var(--muted2); }
.chat-hbtns { display: flex; gap: 2px; }

.chat-search-bar { display: flex; align-items: center; gap: 6px; padding: .6rem .8rem; border-bottom: 1px solid var(--border); background: var(--cream); }
.chat-search-bar[hidden] { display: none; }
.chat-search-input { flex: 1; border: 1px solid var(--border); border-radius: 20px; padding: .5rem .9rem; font-size: 13px; background: var(--surface, #fff); color: var(--deep); }
.chat-search-input:focus { outline: none; border-color: var(--gold-d); }
.chat-search-count { font-size: 11px; color: var(--muted2); white-space: nowrap; min-width: 30px; text-align: center; }
.bubble.search-highlight { box-shadow: 0 0 0 2px var(--gold-d) inset; }
.bubble.search-highlight-active { background: var(--gold-l, #f0d99a); color: var(--deep); }
.medias-tab.active { background: var(--gold-d); color: #fff; border-color: var(--gold-d); }

.chat-messages { flex: 1; overflow-y: auto; padding: .9rem 1.1rem; display: flex; flex-direction: column; gap: 7px; scroll-behavior: smooth; }
.day-sep { text-align: center; font-size: 11px; color: var(--muted2); letter-spacing: .05em; padding: .4rem 0; }
.msg-wrap { display: flex; flex-direction: column; gap: 2px; }
.msg-wrap.me { align-items: flex-end; }
.msg-wrap.them { align-items: flex-start; }
.bubble { max-width: 78%; padding: .62rem .9rem; font-size: 13.5px; line-height: 1.6; word-break: break-word; }
.bubble.them { background: #fff; border: 1px solid var(--border); color: var(--deep); border-radius: 4px 17px 17px 17px; }
.bubble.me { background: var(--gold-d); color: #fff; border-radius: 17px 4px 17px 17px; }
.bubble-time { font-size: 10px; color: var(--muted2); padding: 0 3px; }
.voice-bubble { max-width: 195px; padding: .55rem .8rem; display: flex; align-items: center; gap: 7px; border-radius: 4px 17px 17px 17px; background: #fff; border: 1px solid var(--border); }
.voice-bubble.me { border-radius: 17px 4px 17px 17px; background: var(--gold-d); border: none; }
.play-btn { width: 28px; height: 28px; border-radius: 50%; border: none; display: flex; align-items: center; justify-content: center; font-size: 12px; flex-shrink: 0; transition: var(--t); background: var(--gold-d); color: #fff; }
.voice-bubble.me .play-btn { background: rgba(255,255,255,.22); }
.waveform { display: flex; align-items: center; gap: 2px; height: 26px; flex: 1; }
.wbar { width: 3px; border-radius: 2px; background: var(--gold-l); flex-shrink: 0; }
.voice-bubble.me .wbar { background: rgba(255,255,255,.45); }
.voice-dur { font-size: 11px; color: var(--muted2); }
.voice-bubble.me .voice-dur { color: rgba(255,255,255,.65); }
.vid-bubble { max-width: 195px; border-radius: 12px; overflow: hidden; cursor: pointer; background: var(--mid); display: flex; align-items: center; justify-content: center; aspect-ratio: 4/3; }
.vid-bubble-play { width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.82); display: flex; align-items: center; justify-content: center; font-size: 17px; color: var(--deep); }
.img-bubble { max-width: 195px; border-radius: 12px; overflow: hidden; cursor: pointer; }
.img-bubble-inner { width: 100%; aspect-ratio: 4/3; background: var(--cream2); display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 5px; }
.img-bubble-inner i { font-size: 28px; color: var(--gold-l); }
.img-bubble-inner span { font-size: 11px; color: var(--muted); }
.typing-wrap { display: flex; align-items: center; gap: 5px; padding: .55rem .85rem; background: #fff; border: 1px solid var(--border); border-radius: 4px 17px 17px 17px; width: fit-content; }
.typing-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--muted2); animation: typingB 1.2s ease infinite; }
.typing-dot:nth-child(2) { animation-delay: .2s; }
.typing-dot:nth-child(3) { animation-delay: .4s; }
@keyframes typingB { 0%,60%,100%{transform:translateY(0)} 30%{transform:translateY(-6px)} }

.chat-input-zone { padding: .65rem .55rem; border-top: 1px solid var(--border); background: var(--cream); display: flex; align-items: flex-end; gap: 4px; position: relative; }
.chat-input-zone .iw { flex: 1; position: relative; }
.chat-input-zone textarea { width: 100%; padding: .62rem 2.5rem .62rem .9rem; border: 1px solid var(--border2); border-radius: 22px; font-size: 14px; color: var(--deep); background: var(--cream2); outline: none; resize: none; max-height: 110px; overflow-y: auto; line-height: 1.5; transition: var(--t); }
.chat-input-zone textarea:focus { border-color: var(--gold); background: #fff; }
.composer-tool { width: 34px; height: 34px; flex-shrink: 0; border-radius: 50%; background: none; border: none; display: flex; align-items: center; justify-content: center; font-size: 15px; color: var(--muted2); align-self: flex-end; transition: var(--t); }
.composer-tool:hover { background: var(--cream2); color: var(--gold-d); }
.attach-toggle { position: absolute; right: 9px; bottom: 8px; font-size: 16px; color: var(--muted2); background: none; border: none; padding: 0; transition: var(--t); }
.attach-toggle:hover { color: var(--gold-d); }
.chat-mic-btn { position: absolute; right: 6px; bottom: 6px; width: 28px; height: 28px; border-radius: 50%; background: none; border: none; display: flex; align-items: center; justify-content: center; font-size: 14px; color: var(--muted2); padding: 0; transition: var(--t); }
.chat-mic-btn:hover { color: var(--gold-d); }
.send-btn { width: 40px; height: 40px; border-radius: 50%; background: var(--gold-d); color: #fff; border: none; display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; align-self: flex-end; transition: var(--t); }
.send-btn:hover { background: var(--gold); transform: scale(1.08); }
.attach-menu { display: none; position: absolute; bottom: 58px; right: 0; background: #fff; border: 1px solid var(--border); border-radius: var(--r); padding: .45rem; box-shadow: var(--shadow); min-width: 158px; z-index: 5; }
.attach-menu.open { display: block; animation: fadeUp .18s ease; }
.attach-opt { display: flex; align-items: center; gap: 9px; padding: .55rem .7rem; border-radius: var(--rsm); font-size: 13px; color: var(--mid); cursor: pointer; transition: var(--t); }
.attach-opt:hover { background: var(--cream2); }
.attach-opt i { font-size: 16px; color: var(--gold-d); width: 18px; text-align: center; }

/* ─── PROFILE DETAIL ────────────────────────────────────────────────────── */
#profile-detail { overflow-y: auto; }
.pd-photo { height: 340px; display: flex; align-items: center; justify-content: center; position: relative; flex-shrink: 0; }
.pd-photo .pd-initials { width: 110px; height: 110px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--fd); font-size: 2.4rem; font-weight: 600; color: #fff; }
.pd-back { position: absolute; top: 1rem; left: 1rem; width: 38px; height: 38px; border-radius: 50%; background: rgba(26,20,16,.62); color: #fff; font-size: 17px; display: flex; align-items: center; justify-content: center; border: none; }
.pd-body { padding: 1.1rem 1.1rem 1rem; flex: 1; }
.pd-name { font-family: var(--fd); font-size: 1.85rem; font-weight: 700; color: var(--deep); }
.pd-verified-tag { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; color: var(--gold-d); background: var(--gold-pale); padding: 3px 10px; border-radius: var(--rpill); border: 1px solid var(--gold-l); margin-left: 8px; }
.pd-meta { display: flex; gap: 9px; flex-wrap: wrap; font-size: 12px; color: var(--muted); margin: .4rem 0 1rem; }
.pd-meta span { display: flex; align-items: center; gap: 4px; }
.pd-sh { font-family: var(--fd); font-size: 1.1rem; font-weight: 600; color: var(--deep); margin: 1.1rem 0 .45rem; }
.pd-bio { font-size: 14px; color: var(--mid); line-height: 1.7; }
.pd-media-row { display: flex; gap: 7px; overflow-x: auto; scrollbar-width: none; }
.pd-media-row::-webkit-scrollbar { display: none; }
.pd-media-item { width: 86px; height: 86px; border-radius: 10px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 26px; color: var(--muted2); background: var(--cream2); cursor: pointer; flex-direction: column; gap: 4px; }
.pd-media-item span { font-size: 10px; color: var(--muted2); }
.pd-actions { position: relative; bottom: auto; left: auto; transform: none; width: 100%; padding: .9rem 1.25rem 1.25rem; background: linear-gradient(transparent, var(--cream) 28%); display: flex; gap: 10px; z-index: 10; margin-top: auto; }
.pd-pass-btn { flex: 1; }
.pd-like-btn { flex: 2; }

/* ─── MATCH POPUP ───────────────────────────────────────────────────────── */
.fullscreen-overlay { position: fixed; inset: 0; z-index: 300; background: rgba(26,20,16,.88); display: flex; align-items: center; justify-content: center; flex-direction: column; text-align: center; padding: 2rem; }
.fullscreen-overlay[hidden] { display: none; }
.match-popup-inner { animation: fadeUp .4s ease; }
.match-title { font-family: var(--fd); font-size: 2.4rem; font-weight: 700; color: var(--gold-l); letter-spacing: .1em; margin-bottom: .4rem; }
.match-sub { font-size: 13px; color: var(--muted2); margin-bottom: 1.75rem; letter-spacing: .05em; }
.match-avs { display: flex; align-items: center; gap: 18px; margin-bottom: 2rem; justify-content: center; }
.match-av { width: 88px; height: 88px; border-radius: 50%; border: 3px solid var(--gold); display: flex; align-items: center; justify-content: center; font-family: var(--fd); font-size: 1.7rem; font-weight: 600; color: #fff; }
.match-heart { font-size: 1.8rem; color: var(--rose); }
.match-btns { display: flex; flex-direction: column; gap: .7rem; width: 100%; max-width: 270px; }

/* ─── VERIFY ────────────────────────────────────────────────────────────── */
.verify-hero { padding: 1.35rem 1.25rem .9rem; background: linear-gradient(135deg, var(--cream2), var(--gold-pale)); border-bottom: 1px solid var(--border); }
.verify-hero h2 { font-family: var(--fd); font-size: 1.55rem; font-weight: 600; color: var(--deep); }
.verify-hero p { font-size: 13px; color: var(--muted); margin-top: .2rem; line-height: 1.6; }
.vp-wrap { margin-top: .9rem; }
.vp-labels { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); margin-bottom: .35rem; letter-spacing: .05em; }
.vp-track { height: 5px; background: var(--cream3); border-radius: 3px; overflow: hidden; }
.vp-fill { height: 100%; border-radius: 3px; background: linear-gradient(90deg, var(--gold-d), var(--gold)); transition: width .6s ease; }

.verify-list { padding: .9rem 1.25rem; display: flex; flex-direction: column; gap: .7rem; }
.verify-card { background: #fff; border-radius: var(--r); border: 1px solid var(--border); padding: .9rem 1.1rem; display: flex; align-items: flex-start; gap: 11px; cursor: pointer; transition: var(--t); }
.verify-card:hover:not(.done) { border-color: var(--gold); transform: translateY(-1px); box-shadow: 0 4px 20px rgba(201,169,110,.14); }
.verify-card.done { border-color: rgba(91,138,110,.35); background: rgba(91,138,110,.03); cursor: default; }
.v-icon { width: 44px; height: 44px; border-radius: 11px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 20px; }
.v-icon.pend { background: var(--gold-pale); color: var(--gold-d); }
.v-icon.req { background: var(--rose-l); color: var(--rose); }
.v-icon.ok { background: rgba(91,138,110,.1); color: var(--green); }
.v-text { flex: 1; min-width: 0; }
.v-label { font-size: 14px; font-weight: 500; color: var(--deep); }
.v-desc { font-size: 12px; color: var(--muted); margin-top: 2px; line-height: 1.5; }
.v-status { font-size: 11px; font-weight: 600; margin-top: 4px; letter-spacing: .04em; }
.v-status.ok { color: var(--green); }
.v-status.pend { color: var(--gold-d); }
.v-status.req { color: var(--rose); }
.v-arrow { color: var(--muted2); font-size: 15px; align-self: center; }

.media-section { margin: 0 1.25rem 1.5rem; background: #fff; border-radius: var(--r); border: 1px solid var(--border); padding: 1.1rem; }
.media-section-title { font-size: 14px; font-weight: 500; color: var(--deep); margin-bottom: .9rem; display: flex; align-items: center; gap: 6px; }
.media-section-title i { color: var(--gold-d); }
.media-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.media-slot { aspect-ratio: 1; border-radius: 11px; border: 1.5px dashed var(--border2); display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 4px; cursor: pointer; transition: var(--t); background: var(--cream2); font-size: 11px; color: var(--muted2); text-align: center; padding: 4px; }
.media-slot i { font-size: 20px; }
.media-slot:hover { border-color: var(--gold); color: var(--gold-d); background: var(--gold-pale); }
.media-slot.filled { border-style: solid; border-color: var(--border); }
.media-slot.filled i { color: var(--green); }
.media-note { font-size: 11px; color: var(--muted2); margin-top: .65rem; line-height: 1.6; text-align: center; }

/* ─── MY PROFILE ────────────────────────────────────────────────────────── */
.profile-hero { background: linear-gradient(160deg,#1A1410,#2E2218 80%); padding: 2.2rem 1.25rem 1.5rem; text-align: center; }
.my-avatar-wrap { position: relative; display: inline-block; margin-bottom: .9rem; }
.my-avatar { width: 92px; height: 92px; border-radius: 50%; border: 3px solid var(--gold); display: flex; align-items: center; justify-content: center; font-family: var(--fd); font-size: 2rem; font-weight: 600; color: var(--gold-l); background: rgba(201,169,110,.13); }
.my-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.verified-ring { position: absolute; bottom: 1px; right: 1px; width: 24px; height: 24px; border-radius: 50%; background: var(--green); border: 2.5px solid #2E2218; display: flex; align-items: center; justify-content: center; font-size: 11px; color: #fff; }
.my-name { font-family: var(--fd); font-size: 1.9rem; font-weight: 700; color: var(--gold-l); letter-spacing: .05em; }
.my-meta { font-size: 12px; color: var(--muted2); letter-spacing: .08em; margin-top: .2rem; }
.completeness { max-width: 190px; margin: .85rem auto 0; }
.complete-label { font-size: 11px; color: var(--muted2); text-align: center; margin-bottom: .35rem; }
.pc-track { height: 4px; background: rgba(255,255,255,.1); border-radius: 2px; overflow: hidden; }
.pc-fill { height: 100%; background: var(--gold); border-radius: 2px; }
.profile-body { padding: 1rem 1.25rem 2rem; }
.premium-card { background: linear-gradient(135deg, var(--gold-d), var(--gold)); border-radius: var(--r); padding: 1.1rem 1.2rem; margin-bottom: 1.1rem; display: flex; justify-content: space-between; align-items: center; cursor: pointer; }
.prem-text h4 { font-family: var(--fd); font-size: 1.2rem; font-weight: 600; color: #fff; }
.prem-text p { font-size: 12px; color: rgba(255,255,255,.82); margin-top: .15rem; }
.prem-btn { padding: .45rem 1rem; border-radius: var(--rpill); background: rgba(255,255,255,.18); color: #fff; border: 1px solid rgba(255,255,255,.38); font-size: 12px; cursor: pointer; transition: var(--t); }
.prem-btn:hover { background: rgba(255,255,255,.32); }
.prof-section { margin-bottom: 1.1rem; }
.prof-section-title { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted2); margin-bottom: .5rem; font-weight: 500; }
.prof-card { background: #fff; border-radius: var(--r); border: 1px solid var(--border); overflow: hidden; }
.prof-row { display: flex; justify-content: space-between; align-items: center; padding: .7rem 1rem; border-bottom: 1px solid var(--border); }
.prof-row:last-child { border-bottom: none; }
.prof-key { font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 7px; }
.prof-key i { font-size: 14px; width: 16px; text-align: center; }
.prof-val { font-size: 13px; color: var(--deep); }
.prof-link { font-size: 12px; color: var(--gold-d); display: flex; align-items: center; gap: 3px; cursor: pointer; }
.danger-zone { background: var(--rose-l); border-radius: var(--r); border: 1px solid rgba(201,122,110,.28); overflow: hidden; }
.danger-row { padding: .7rem 1rem; display: flex; align-items: center; gap: 9px; font-size: 13px; color: var(--rose); cursor: pointer; border-bottom: 1px solid rgba(201,122,110,.18); transition: var(--t); }
.danger-row:last-child { border-bottom: none; }
.danger-row:hover { background: rgba(201,122,110,.1); }
.danger-row i { font-size: 15px; width: 18px; text-align: center; }

/* ─── MODALS ────────────────────────────────────────────────────────────── */
.modal-overlay { display: none; position: fixed; inset: 0; z-index: 1000; background: rgba(26,20,16,.55); align-items: flex-end; justify-content: center; }
.modal-overlay.open { display: flex; animation: fadeIn .2s ease; }
@keyframes fadeIn { from{opacity:0} to{opacity:1} }
.modal-sheet { background: var(--cream); border-radius: 22px 22px 0 0; padding: 0 1.4rem 2rem; width: 100%; max-width: 430px; max-height: 90vh; overflow-y: auto; animation: sheetUp .28s cubic-bezier(.34,1.2,.64,1); position: relative; }
@keyframes sheetUp { from{transform:translateY(100%)} to{transform:translateY(0)} }
.modal-handle { width: 38px; height: 4px; background: var(--border2); border-radius: 2px; margin: .8rem auto 0; }
.modal-title { font-family: var(--fd); font-size: 1.35rem; font-weight: 600; color: var(--deep); margin: 1.1rem 0 .2rem; }
.modal-sub { font-size: 13px; color: var(--muted); line-height: 1.6; margin-bottom: 1.1rem; }
.modal-close { position: absolute; top: 1.1rem; right: 1.1rem; width: 30px; height: 30px; border-radius: 50%; background: var(--cream2); border: none; display: flex; align-items: center; justify-content: center; font-size: 15px; color: var(--muted); cursor: pointer; transition: var(--t); }
.modal-close:hover { background: var(--cream3); }
.upload-zone { border: 2px dashed var(--border2); border-radius: var(--r); padding: 1.75rem 1rem; text-align: center; cursor: pointer; transition: var(--t); margin-bottom: .9rem; background: var(--cream2); }
.upload-zone:hover { border-color: var(--gold); background: var(--gold-pale); }
.upload-zone i { font-size: 40px; color: var(--gold-l); margin-bottom: .65rem; display: block; }
.upload-zone p { font-size: 13px; color: var(--muted); }
.upload-zone p strong { color: var(--gold-d); }
.info-box { background: rgba(91,138,138,.07); border: 1px solid rgba(91,138,138,.2); border-radius: var(--rsm); padding: .6rem .8rem; display: flex; gap: 7px; margin-bottom: .9rem; }
.info-box i { color: var(--teal); flex-shrink: 0; margin-top: 2px; font-size: 13px; }
.info-box p { font-size: 12px; color: var(--teal); line-height: 1.5; }
.record-btn { width: 58px; height: 58px; border-radius: 50%; background: var(--rose); color: #fff; border: none; display: flex; align-items: center; justify-content: center; font-size: 22px; margin: 0 auto; transition: var(--t); }
.record-btn:hover { background: #b86a5e; }
.record-btn.recording { background: var(--deep); animation: recPulse 1s ease infinite; }
@keyframes recPulse { 0%,100%{transform:scale(1)} 50%{transform:scale(1.1)} }
.sms-code-section { margin-top: .9rem; }
hr.sep { border: none; border-top: 1px solid var(--border); margin: .65rem 0; }

/* ─── TOAST ─────────────────────────────────────────────────────────────── */
#toast {
  position: fixed; top: 1.1rem; left: 50%; z-index: 1200;
  transform: translateX(-50%) translateY(-72px);
  background: var(--deep); color: var(--gold-l);
  padding: .6rem 1.35rem; border-radius: var(--rpill);
  font-size: 13px; letter-spacing: .04em;
  transition: transform .32s cubic-bezier(.34,1.2,.64,1);
  white-space: nowrap; box-shadow: var(--shadow); max-width: 90%;
}
#toast.show { transform: translateX(-50%) translateY(0); }

/* ─── Loading spinner ───────────────────────────────────────────────────── */
.spinner { width: 24px; height: 24px; border: 2px solid var(--border2); border-top-color: var(--gold-d); border-radius: 50%; animation: spin .75s linear infinite; margin: 2rem auto; }
@keyframes spin { to{transform:rotate(360deg)} }

/* ─── Utility ───────────────────────────────────────────────────────────── */
.mt1 { margin-top: 1rem; }
.w100 { width: 100%; }
.center { text-align: center; }
[hidden] { display: none !important; }

/* ─── Scrollbar ─────────────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 4px; height: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--cream3); border-radius: 2px; }

@media (max-width: 380px) { .splash-logo { font-size: 2.8rem; } .card-name { font-size: 1.35rem; } }

/* ═══════════════════════════════════════════
   PAIEMENT — Styles
═══════════════════════════════════════════ */

/* Hero paiement */
.pay-hero { text-align:center; padding:.5rem 0 1rem; }
.pay-hero-icon { font-size:3rem; margin-bottom:.3rem; }
.pay-hero-sub { font-size:13px; color:var(--muted); }

/* Features */
.pay-features { display:flex; flex-direction:column; gap:.6rem; margin-bottom:1.2rem; }
.pay-feat { display:flex; align-items:flex-start; gap:10px; }
.pay-feat-icon { width:32px; height:32px; border-radius:8px; background:var(--gold-pale); display:flex; align-items:center; justify-content:center; color:var(--gold-d); font-size:14px; flex-shrink:0; }
.pay-feat-titre { font-size:13px; font-weight:500; color:var(--deep); }
.pay-feat-desc { font-size:11px; color:var(--muted2); margin-top:1px; line-height:1.4; }

/* Plans */
.pay-plans { display:grid; grid-template-columns:1fr 1fr; gap:.7rem; margin-bottom:.9rem; }
.pay-plan { border:1.5px solid var(--border2); border-radius:14px; padding:.9rem .8rem; cursor:pointer; transition:var(--t); position:relative; }
.pay-plan.best { border-color:var(--gold); background:var(--gold-pale); }
.pay-plan.selected { border-color:var(--gold-d); background:var(--gold-pale); box-shadow:0 0 0 3px rgba(201,169,110,.2); }
.pay-plan:hover { border-color:var(--gold); }
.pay-plan-badge { position:absolute; top:-10px; left:50%; transform:translateX(-50%); background:var(--rose); color:#fff; font-size:9px; font-weight:700; padding:2px 9px; border-radius:9px; white-space:nowrap; letter-spacing:.05em; }
.pay-plan-name { font-size:12px; color:var(--muted); margin-bottom:.2rem; letter-spacing:.05em; }
.pay-plan-price { font-family:var(--fd); font-size:1.5rem; font-weight:700; color:var(--deep); }
.pay-plan-price span { font-family:var(--fb); font-size:11px; color:var(--muted2); font-weight:400; }
.pay-plan-detail { font-size:11px; color:var(--muted2); margin-top:.2rem; line-height:1.4; }

/* Abonnement actif */
.pay-current-abo { display:flex; align-items:center; gap:10px; background:rgba(91,138,110,.06); border:1px solid rgba(91,138,110,.2); border-radius:12px; padding:.8rem 1rem; margin-bottom:.9rem; }
.pay-current-abo i { font-size:20px; flex-shrink:0; }
.pay-current-abo div { flex:1; font-size:13px; color:var(--mid); }

/* Stripe non configuré */
.pay-nostripe { background:var(--rose-l); border:1px solid rgba(201,122,110,.3); border-radius:10px; padding:.65rem .9rem; font-size:12px; color:var(--rose); display:flex; gap:7px; align-items:center; margin-bottom:.8rem; }

/* Legal */
.pay-legal { font-size:11px; color:var(--muted2); text-align:center; margin-top:.8rem; line-height:1.6; }
.pay-legal strong { color:var(--mid); }

/* Super likes solde */
.pay-sl-solde { background:var(--gold-pale); border:1px solid var(--gold-l); border-radius:10px; padding:.65rem 1rem; display:flex; align-items:center; gap:9px; font-size:13px; color:var(--gold-d); margin-bottom:.9rem; }

/* Boost actif */
.pay-boost-actif { display:flex; align-items:center; gap:12px; background:var(--gold-pale); border:1px solid var(--gold-l); border-radius:12px; padding:.9rem 1rem; margin-bottom:.9rem; }

/* Quick row profil */
.pay-quick-row { display:grid; grid-template-columns:1fr 1fr; gap:.6rem; margin-bottom:1rem; }
.pay-quick-card { background:#fff; border:1px solid var(--border); border-radius:14px; padding:.85rem .8rem; display:flex; flex-direction:column; align-items:center; gap:4px; cursor:pointer; transition:var(--t); }
.pay-quick-card:hover { border-color:var(--gold); transform:translateY(-1px); box-shadow:var(--shadow-sm); }
.pay-quick-card i { font-size:22px; color:var(--gold-d); }
.pq-label { font-size:11px; color:var(--muted); letter-spacing:.05em; }
.pq-val { font-size:12px; font-weight:600; color:var(--deep); }

/* Premium actif card */
.premium-card.prem-active { background:linear-gradient(135deg,var(--green),#3d7a5e); }

/* ═══════════════════════════════════════════
   FILTRES & RECHERCHE — Styles
═══════════════════════════════════════════ */

/* Sections de filtres */
.filtre-section { margin-bottom: 1rem; }
.filtre-section-title { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: .45rem; font-weight: 500; display: flex; align-items: center; gap: 6px; }
.filtre-select { width: 100%; padding: .62rem .9rem; border: 1px solid var(--border2); border-radius: var(--rsm); font-size: 14px; color: var(--deep); background: #fff; appearance: none; outline: none; transition: var(--t); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237A6A58' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .85rem center; padding-right: 2.4rem; }
.filtre-select:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,169,110,.12); }
.filtre-input { width: 100%; padding: .62rem 1rem; border: 1px solid var(--border2); border-radius: var(--rsm); font-size: 14px; color: var(--deep); outline: none; transition: var(--t); }
.filtre-input:focus { border-color: var(--gold); }
.filtre-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.filtre-age-row { display: flex; align-items: center; gap: .6rem; }
.filtre-age-field { flex: 1; }
.filtre-age-field label { display: block; font-size: 11px; color: var(--muted2); margin-bottom: .25rem; }
.filtre-age-field input { width: 100%; padding: .55rem .75rem; border: 1px solid var(--border2); border-radius: var(--rsm); font-size: 15px; text-align: center; font-weight: 500; outline: none; transition: var(--t); }
.filtre-age-field input:focus { border-color: var(--gold); }
.filtre-age-sep { color: var(--muted2); font-size: 18px; margin-top: 14px; }
.filtre-actions { display: flex; gap: .6rem; margin-top: 1.2rem; }
.filtre-actions .btn { flex: 1; }

/* Banner premium dans filtres */
.filtre-premium-banner { display: flex; align-items: center; gap: 10px; background: linear-gradient(135deg, #1A1410, #2E2218); border-radius: var(--r); padding: .9rem 1rem; margin-bottom: .9rem; }
.filtre-premium-banner i { color: var(--gold); font-size: 1.3rem; flex-shrink: 0; }
.filtre-premium-banner div { flex: 1; }
.filtre-premium-banner strong { font-size: 13px; color: var(--gold-l); }
.filtre-premium-banner p { font-size: 11px; color: var(--muted2); margin-top: 2px; line-height: 1.4; }

/* Tag MATURES+ dans les titres */
.premium-tag { background: var(--gold-d); color: #fff; font-size: 8px; padding: 2px 6px; border-radius: 6px; letter-spacing: .05em; font-weight: 600; margin-left: 2px; }

/* Résultats de recherche */
.search-result-item { display: flex; align-items: center; gap: 10px; padding: .65rem 0; border-bottom: 1px solid var(--border); cursor: pointer; }
.search-result-item:last-child { border-bottom: none; }
.search-result-item:hover { background: var(--cream2); margin: 0 -1rem; padding: .65rem 1rem; border-radius: 10px; }
.search-av { width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-family: var(--fd); font-size: .95rem; font-weight: 600; color: #fff; }
.search-info { flex: 1; min-width: 0; }
.search-name { font-size: 14px; font-weight: 500; color: var(--deep); }
.search-meta { font-size: 11px; color: var(--muted2); margin-top: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.search-tag { display: inline-block; font-size: 10px; background: var(--gold-pale); color: var(--gold-d); padding: 2px 8px; border-radius: 9px; margin-top: 3px; border: 1px solid var(--gold-l); }

/* ═══════════════════════════════════════════
   DEVISES — Styles
═══════════════════════════════════════════ */
.devise-badge {
  display: inline-block; font-size: 11px; color: var(--muted2);
  background: var(--cream2); border: 1px solid var(--border);
  border-radius: var(--rpill); padding: 2px 8px; margin: 3px auto 0;
  text-align: center;
}
.devise-note {
  background: rgba(91,138,138,.07); border: 1px solid rgba(91,138,138,.2);
  border-radius: var(--rsm); padding: .55rem .8rem; font-size: 12px;
  color: var(--teal); display: flex; gap: 7px; align-items: flex-start;
  margin: .7rem 0 .4rem; line-height: 1.5;
}
.devise-note i { flex-shrink: 0; margin-top: 2px; }
.devise-info {
  font-size: 11px; color: var(--muted2); text-align: center;
  padding: .4rem 0; display: flex; align-items: center; justify-content: center; gap: 5px;
}
.devise-info i { color: var(--gold-d); }
.pq-price {
  font-size: 11px; color: var(--gold-d); font-weight: 500;
  background: var(--gold-pale); border-radius: var(--rpill);
  padding: 2px 7px; margin-top: 2px;
}

/* ═══════════════════════════════════════════
   RÈGLES D'ÂGE — Splash screen
═══════════════════════════════════════════ */

/* Bloc règles d'âge sur l'écran d'accueil */
.splash-age-rules {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  margin: 1.1rem 0 1.8rem;
  flex-wrap: wrap;
}

.age-rule {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(201,169,110,.12);
  border: 1px solid rgba(201,169,110,.3);
  border-radius: 14px;
  padding: .65rem 1.2rem;
  min-width: 110px;
  gap: 2px;
  transition: var(--t);
}

.age-rule:hover {
  background: rgba(201,169,110,.22);
  border-color: rgba(201,169,110,.55);
}

.age-rule-icon {
  font-size: 1.4rem;
  color: var(--gold-l);
  line-height: 1;
  margin-bottom: 1px;
}

.age-rule-label {
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted2);
  font-weight: 500;
}

.age-rule-val {
  font-family: var(--fd);
  font-size: 1rem;
  font-weight: 600;
  color: var(--gold-l);
  letter-spacing: .03em;
}

.age-rule-sep {
  color: rgba(201,169,110,.4);
  font-size: 1.4rem;
  align-self: center;
  margin: 0 .1rem;
}

/* Badge dans le formulaire d'inscription */
#age-min-badge {
  animation: fadeIn .25s ease;
  transition: color .2s ease;
}

/* Notice d'âge améliorée dans auth */
.age-notice div p:first-child {
  font-size: 13px;
  color: var(--gold-d);
  font-weight: 500;
}

/* ── Séparateur "ou" ────────────────────────────────────────────── */
.or-sep {
  display: flex; align-items: center; gap: .7rem;
  margin: .9rem 0; color: var(--muted2); font-size: 12px;
}
.or-sep::before, .or-sep::after {
  content: ''; flex: 1; height: 1px; background: var(--border);
}

/* ═══════════════════════════════════════════
   APPELS AUDIO / VIDÉO
═══════════════════════════════════════════ */
#call-overlay {
  font-family: var(--fb);
}
#call-overlay button:hover {
  opacity: .85;
  transform: scale(1.05);
  transition: .2s ease;
}
#call-incoming {
  animation: slideIn .3s ease;
}

/* ── Checkboxes personnalisées (inscription) ─────────────────────── */
.custom-check-field {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: .85rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--r);
  cursor: pointer;
  transition: var(--t);
  background: #fff;
  user-select: none;
}
.custom-check-field:hover {
  border-color: var(--gold);
  background: var(--gold-pale);
}
.custom-check-field:active {
  transform: scale(.98);
}
.custom-check-box {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  border: 2px solid var(--border2);
  background: #fff;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
  transition: var(--t);
  font-size: 12px;
  color: #fff;
}
.custom-check-label {
  font-size: 13px;
  color: var(--mid);
  line-height: 1.6;
}
.custom-check-label strong {
  color: var(--deep);
}
.check-link {
  color: var(--gold-d);
  text-decoration: underline;
  cursor: pointer;
  font-weight: 500;
}
.check-link:hover {
  color: var(--gold);
}
/* Demandes de conversation envoyées par un membre Diamant avant le match. */
.diamond-requests-section{margin:0 0 1.1rem;padding:1rem;border:1px solid rgba(184,134,11,.3);border-radius:18px;background:linear-gradient(135deg,rgba(255,249,229,.92),rgba(255,255,255,.98));box-shadow:0 10px 30px rgba(91,58,12,.06)}
.diamond-requests-heading{display:flex;align-items:center;justify-content:space-between;gap:1rem}.diamond-requests-heading h2{margin:.15rem 0 0;font-size:1.05rem}.diamond-kicker{font-size:9px;font-weight:800;letter-spacing:.18em;color:var(--gold-d)}
.diamond-requests-count{display:grid;place-items:center;min-width:28px;height:28px;padding:0 8px;border-radius:50%;background:var(--deep);color:var(--gold-l);font-weight:800;font-size:12px}.diamond-requests-note{margin:.35rem 0 .8rem;color:var(--muted);font-size:11px}
.diamond-request-card{display:flex;gap:.75rem;padding:.8rem 0;border-top:1px solid rgba(184,134,11,.18)}.diamond-request-avatar{width:48px;height:48px;flex:0 0 48px;border-radius:50%;overflow:hidden;display:grid;place-items:center;color:#fff;font-weight:800}.diamond-request-content{min-width:0;flex:1}.diamond-request-profile-trigger{border:0;padding:0;cursor:pointer}.diamond-request-profile-trigger:focus-visible{outline:3px solid rgba(33,185,239,.42);outline-offset:3px}.diamond-request-name{display:inline-flex;align-items:center;background:none;font:inherit;font-weight:800;font-size:13px;color:var(--deep);text-align:left}.diamond-request-name:hover{text-decoration:underline;text-decoration-color:#21b9ef;text-underline-offset:3px}.diamond-request-name .diamond-request-gem{color:#21b9ef;margin-right:.35rem;filter:drop-shadow(0 1px 2px rgba(8,103,189,.38));text-shadow:0 0 7px rgba(85,216,255,.62)}.diamond-request-content p{margin:.3rem 0 .65rem;line-height:1.45;font-size:13px;color:var(--mid);overflow-wrap:anywhere}.diamond-request-actions{display:flex;align-items:center;flex-wrap:wrap;gap:.45rem}.diamond-request-actions .btn{padding:.38rem .7rem;font-size:11px;color:#031b2a}.diamond-request-report{border:0;background:none;color:#b24a4a;text-decoration:underline;font-size:11px;cursor:pointer}.diamond-original-message{padding:.8rem;margin-bottom:.8rem;border-left:3px solid #21b9ef;background:rgba(200,247,255,.22);border-radius:0 10px 10px 0;color:var(--mid);font-size:13px;line-height:1.5}
.pd-diamond-message-btn{white-space:nowrap}
.btn-diamond{background:linear-gradient(135deg,#c8f7ff 0%,#55d8ff 34%,#159bdf 68%,#0867bd 100%);color:#031b2a;border:1px solid rgba(133,231,255,.95);box-shadow:0 7px 18px rgba(21,155,223,.28),inset 0 1px 0 rgba(255,255,255,.72);font-weight:800}
.btn-diamond:hover{background:linear-gradient(135deg,#e1fbff 0%,#76e3ff 34%,#24a9e8 68%,#0871c9 100%);box-shadow:0 9px 23px rgba(21,155,223,.38),0 0 0 2px rgba(85,216,255,.16),inset 0 1px 0 rgba(255,255,255,.8);transform:translateY(-1px)}
.btn-diamond:active{transform:translateY(0);box-shadow:0 4px 11px rgba(21,155,223,.26),inset 0 2px 5px rgba(3,27,42,.13)}
.btn-diamond:disabled{opacity:.55;filter:saturate(.45);box-shadow:none;transform:none}
.btn-diamond-soft{background:linear-gradient(135deg,#f0fdff 0%,#c8f7ff 45%,#8ce8ff 100%);color:#031b2a;border:1px solid #55d8ff;box-shadow:0 5px 14px rgba(21,155,223,.16);font-weight:800}.btn-diamond-soft:hover{background:linear-gradient(135deg,#fff 0%,#d9faff 40%,#a8efff 100%);box-shadow:0 7px 18px rgba(21,155,223,.24);transform:translateY(-1px)}
.diamond-first-upgrade-icon{width:66px;height:66px;margin:0 auto .9rem;border-radius:50%;display:grid;place-items:center;background:radial-gradient(circle at 34% 25%,rgba(225,251,255,.98),rgba(85,216,255,.23) 43%,rgba(8,103,189,.12) 72%);border:1px solid rgba(85,216,255,.72);box-shadow:0 0 0 6px rgba(85,216,255,.08),0 10px 26px rgba(8,103,189,.2),inset 0 1px 0 rgba(255,255,255,.9)}
.diamond-first-upgrade-icon i{font-size:2.35rem;color:#21b9ef;text-shadow:0 1px 0 #e6fbff,0 0 12px rgba(33,185,239,.7);filter:drop-shadow(0 5px 5px rgba(8,103,189,.2))}
@media(max-width:520px){.pd-actions{gap:.35rem}.pd-actions .btn{padding:.65rem .55rem;font-size:11px}.pd-diamond-message-btn{flex:1.25}.diamond-request-card{align-items:flex-start}}
