/* fyn.me — design system from Halo handoff */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; overflow-x: hidden; }
body {
  font-family: 'DM Sans', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  color: #16181D;
}
a { color: #7B5BE6; text-decoration: none; }
a:hover { color: #5B3FD6; }
button { font-family: 'DM Sans', system-ui, sans-serif; }
::-webkit-scrollbar { width: 9px; height: 9px; }
::-webkit-scrollbar-thumb { background: rgba(20,20,20,.16); border-radius: 20px; }
::-webkit-scrollbar-track { background: transparent; }

@keyframes floaty  { 0%,100% { transform: translateY(0) } 50% { transform: translateY(-16px) } }
@keyframes floaty2 { 0%,100% { transform: translateY(0) } 50% { transform: translateY(14px) } }
@keyframes spinblob { to { transform: rotate(360deg) } }
@keyframes pop { from { transform: scale(.9); opacity: 0 } to { transform: scale(1); opacity: 1 } }
@keyframes dot { 0%,60%,100% { transform: translateY(0); opacity:.4 } 30% { transform: translateY(-5px); opacity:1 } }

.page {
  min-height: 100vh; width: 100%; position: relative;
  background: linear-gradient(140deg,#cfd3e4 0%,#c2c6da 38%,#d9d2df 72%,#c8cddd 100%);
}
.blob { position: fixed; border-radius: 50%; pointer-events: none; z-index: 0; }
.blob-a {
  top: -120px; left: -100px; width: 420px; height: 420px;
  background: radial-gradient(circle at 30% 30%,#b98bf5,#7b5be6 55%,transparent 72%);
  filter: blur(30px); opacity: .35; animation: floaty 9s ease-in-out infinite;
}
.blob-b {
  bottom: -140px; right: -90px; width: 460px; height: 460px;
  background: radial-gradient(circle at 60% 40%,#ff7fa6,#ff5c8a 50%,transparent 72%);
  filter: blur(34px); opacity: .28; animation: floaty2 11s ease-in-out infinite;
}
.hidden { display: none !important; }

/* ---------- brand ---------- */
.brand { display: inline-flex; align-items: center; gap: 11px; cursor: pointer; }
.logo {
  display: inline-block; width: 44px; height: 44px; border-radius: 14px;
  background: conic-gradient(from 210deg,#7b5be6,#ff5c8a,#ffb15c,#48c9b0,#7b5be6);
  box-shadow: 0 8px 22px rgba(123,91,230,.4);
}
.logo-sm { width: 38px; height: 38px; border-radius: 12px; box-shadow: 0 6px 16px rgba(123,91,230,.34); }
.logo-white { background: rgba(255,255,255,.9); box-shadow: none; }
.wordmark { font-family: 'Poppins'; font-weight: 800; font-size: 24px; letter-spacing: -.5px; color: #16181D; }
.wordmark-sm { font-size: 22px; }
.wordmark-white { color: #fff; font-size: 20px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  border: none; cursor: pointer; font-weight: 600; font-size: 15px;
  padding: 12px 22px; border-radius: 30px; transition: filter .15s, background .15s;
}
.btn:hover { filter: brightness(1.06); }
.btn-dark { background: #141414; color: #fff !important; box-shadow: 0 10px 24px rgba(20,20,20,.28); }
.btn-frost { background: rgba(255,255,255,.6); color: #16181D !important; backdrop-filter: blur(8px); }
.btn-white { background: #fff; color: #16181D !important; }
.btn-light { background: #F3F4F7; color: #16181D !important; }
.btn-quiet { background: transparent; color: #9AA0AB !important; }
.btn-grad {
  background: linear-gradient(100deg,#7b5be6,#ff5c8a); color: #fff !important; font-weight: 700;
  box-shadow: 0 8px 22px rgba(123,91,230,.4);
}
.btn-ghost-light { background: transparent; border: 1.5px solid rgba(255,255,255,.25); color: #fff !important; }
.btn-lg { font-size: 16px; font-weight: 700; padding: 16px 28px; border-radius: 34px; }
.btn-sm { font-size: 13.5px; padding: 10px 18px; border-radius: 20px; }
.btn-xs { font-size: 12.5px; padding: 7px 14px; border-radius: 16px; }
.btn-block { width: 100%; }

/* ---------- chips / badges ---------- */
.chip { display: inline-flex; align-items: center; gap: 5px; border: none; cursor: default;
  font-weight: 600; font-size: 13px; padding: 7px 14px; border-radius: 20px; }
button.chip, .chip.quick { cursor: pointer; }
.chip-lilac { background: #F2EEFB; color: #7b5be6; }
.chip-blue  { background: #E9F0FE; color: #3d7ae6; }
.chip-pink  { background: #FDEBF1; color: #ff5c8a; }
.chip-mint  { background: #EAF7F0; color: #1f9d6b; }
.chip-cream { background: #FBF1DB; color: #c78a1e; }
.tint-blue  { background: #E9F0FE; }
.tint-cream { background: #FBF1DB; }
.tint-pink  { background: #FDEBF1; }
.tint-mint  { background: #EAF7F0; }
.badge {
  min-width: 22px; height: 22px; padding: 0 6px; border-radius: 12px; font-style: normal;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700;
}
.badge-pink { background: #ff5c8a; color: #fff; }
.badge-lilac { background: #F2EEFB; color: #7b5be6; }

.dot-online { width: 8px; height: 8px; border-radius: 50%; background: #43e97b; display: inline-block; }
.dot-online.glow { box-shadow: 0 0 0 3px rgba(67,233,123,.25); }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: #48c9b0; box-shadow: 0 0 0 4px rgba(72,201,176,.25); }

/* ---------- cards ---------- */
.card { background: #fff; border-radius: 24px; box-shadow: 0 16px 36px rgba(60,50,90,.12); position: relative; z-index: 1; }
.pad-card { padding: 16px 20px 20px; }
.pad-card-lg { padding: 26px; margin-bottom: 18px; }
.card-label { font-size: 12px; font-weight: 700; color: #9AA0AB; letter-spacing: .6px; text-transform: uppercase; margin-bottom: 12px; }
.card-title { font-family: 'Poppins'; font-weight: 700; font-size: 19px; margin: 0 0 16px; }
.empty-note { text-align: center; color: #9AA0AB; font-size: 14.5px; padding: 26px 18px; }
.empty-mini { color: #b3b8c2; font-size: 13px; }

.flash { border-radius: 14px; padding: 12px 16px; font-size: 14px; font-weight: 600; margin: 12px 0; }
.flash-err { background: #FDEBF1; color: #d43f6d; }
.flash-ok  { background: #EAF7F0; color: #1f9d6b; }

/* ---------- forms ---------- */
.f-label { font-size: 13px; font-weight: 600; color: #4b5560; display: block; margin: 14px 0 7px; }
.f-hint { color: #9AA0AB; font-weight: 500; }
.f-input {
  width: 100%; border: none; background: #F3F4F7; border-radius: 14px;
  padding: 14px 16px; font-size: 15px; font-family: 'DM Sans'; outline: none; color: #16181D;
}
.f-input:focus { box-shadow: 0 0 0 2px rgba(123,91,230,.35); }
.f-area { min-height: 90px; resize: vertical; }
.f-input-row { display: flex; align-items: center; padding: 0 0 0 14px; }
.f-prefix { color: #9AA0AB; font-weight: 600; }
.f-input-row input { flex: 1; border: none; background: transparent; padding: 14px 12px 14px 4px; font-size: 15px; font-family: 'DM Sans'; outline: none; min-width: 0; }
.f-grid3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.f-grid4 { grid-template-columns: repeat(2,1fr); }
form .btn { margin-top: 20px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ---------- segmented ---------- */
.seg { display: flex; background: #F3F4F7; padding: 5px; border-radius: 30px; gap: 2px; }
.seg-btn {
  flex: 1; border: none; background: transparent; text-align: center; cursor: pointer;
  font-weight: 700; font-size: 14px; padding: 11px; border-radius: 26px; color: #9AA0AB !important;
}
.seg-btn.is-active { background: #fff; color: #141414 !important; box-shadow: 0 3px 8px rgba(0,0,0,.08); }
.seg-dark { background: rgba(255,255,255,.1); max-width: 420px; margin-bottom: 14px; }
.seg-dark .seg-btn { color: rgba(255,255,255,.6) !important; }
.seg-dark .seg-btn.is-active { background: #fff; color: #141414 !important; box-shadow: 0 3px 8px rgba(0,0,0,.18); }
.seg-light .seg-btn { padding: 8px 15px; font-size: 13px; font-weight: 600; flex: none; }

/* ---------- top navbar ---------- */
.topnav {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255,255,255,.82); backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(20,20,20,.06);
}
.topnav-in { width: 100%; padding: 12px 26px; display: flex; align-items: center; gap: 22px; }
.topnav-tabs { display: flex; align-items: center; gap: 4px; }
.toptab { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; font-size: 14.5px; padding: 10px 18px; border-radius: 22px; color: #4b5560 !important; white-space: nowrap; }
.toptab .badge { font-size: 11px; min-width: 19px; height: 19px; }
.toptab:hover { background: #f5f6f8; }
.toptab.is-active { background: #141414; color: #fff !important; }
.topnav-search {
  flex: 1; max-width: 360px; margin-left: auto; display: flex; align-items: center; gap: 9px;
  background: #fff; border: 1.5px solid rgba(20,20,20,.08); border-radius: 22px;
  padding: 5px 6px 5px 15px; box-shadow: 0 2px 10px rgba(20,20,20,.05);
}
.ts-icon { display: flex; align-items: center; opacity: .5; color: #4b5560; }
.ts-icon .ico { width: 16px; height: 16px; vertical-align: middle; }
.topnav-search input { flex: 1; border: none; background: transparent; font-size: 14px; outline: none; color: #16181D; min-width: 0; padding: 8px 0; font-family:'DM Sans'; }
.topnav-right { display: flex; align-items: center; gap: 12px; flex: none; }
.btn-match { border: none; background: #141414; color: #fff; font-weight: 600; font-size: 14px; padding: 11px 18px; border-radius: 22px; cursor: pointer; white-space: nowrap; }
.nav-avatar {
  width: 42px; height: 42px; border-radius: 14px; flex: none;
  display: flex; align-items: center; justify-content: center;
  color: #fff !important; font-family: 'Poppins'; font-weight: 800; font-size: 16px;
}
.mobilenav { display: none; }

/* ---------- landing ---------- */
.landing { position: relative; z-index: 2; max-width: 1200px; margin: 0 auto; padding: 28px 28px 60px; }
.landing-top { display: flex; align-items: center; justify-content: space-between; }
.landing-top-actions { display: flex; align-items: center; gap: 10px; }
.hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; margin-top: 56px; }
.live-badge {
  display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.6);
  padding: 7px 14px; border-radius: 30px; font-size: 13px; font-weight: 600; color: #5B3FD6; margin-bottom: 22px;
}
.hero-h1 { font-family: 'Poppins'; font-weight: 800; font-size: 58px; line-height: 1.04; letter-spacing: -1.8px; margin: 0 0 20px; }
.grad-text { background: linear-gradient(100deg,#7b5be6,#ff5c8a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { font-size: 18px; line-height: 1.55; color: #4b4f5a; max-width: 440px; margin: 0 0 30px; font-weight: 500; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.social-proof { display: flex; align-items: center; gap: 14px; margin-top: 30px; }
.avatar-stack { display: flex; }
.avatar-stack span { width: 38px; height: 38px; border-radius: 50%; border: 3px solid #d6d0dc; }
.avatar-stack span + span { margin-left: -12px; }
.proof-text { font-size: 14px; color: #4b4f5a; font-weight: 600; }

.hero-art { position: relative; height: 480px; }
.hero-card-q {
  position: absolute; top: 20px; right: 0; width: 320px; background: #fff; border-radius: 28px;
  padding: 20px; box-shadow: 0 30px 60px rgba(60,50,90,.25); animation: floaty 7s ease-in-out infinite;
}
.hcq-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.anon-ava {
  width: 40px; height: 40px; border-radius: 50%; flex: none;
  background: linear-gradient(135deg,#7b5be6,#ff5c8a);
  display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 15px;
}
.hcq-name { font-weight: 700; font-size: 14px; font-family: 'Poppins'; }
.hcq-time { font-size: 12px; color: #9AA0AB; }
.hero-card-q p { margin: 0; font-size: 15px; line-height: 1.5; color: #2b2e36; font-weight: 500; }
.hcq-actions { display: flex; gap: 8px; margin-top: 14px; }
.hero-card-chat {
  position: absolute; top: 220px; left: 0; width: 290px; background: #141414; border-radius: 26px;
  padding: 18px; box-shadow: 0 26px 50px rgba(20,20,20,.4); animation: floaty2 8s ease-in-out infinite;
}
.hcc-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; color: #fff; font-weight: 600; font-size: 14px; }
.hcc-ava { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg,#43e97b,#38f9d7); }
.hcc-head .dot-online { margin-left: auto; }
.hcc-bubble-in { background: #26262b; color: #eee; font-size: 14px; padding: 10px 14px; border-radius: 16px 16px 16px 4px; max-width: 80%; margin-bottom: 8px; }
.hcc-bubble-out { background: linear-gradient(100deg,#7b5be6,#ff5c8a); color: #fff; font-size: 14px; padding: 10px 14px; border-radius: 16px 16px 4px 16px; max-width: 80%; margin-left: auto; }
.hero-tile {
  position: absolute; top: 0; left: 40px; width: 78px; height: 78px; border-radius: 24px;
  background: conic-gradient(from 40deg,#ffb15c,#ff5c8a,#7b5be6,#48c9b0,#ffb15c);
  box-shadow: 0 16px 30px rgba(255,92,138,.4); animation: spinblob 14s linear infinite;
}
.features { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-top: 60px; }
.feature { border-radius: 26px; padding: 26px; }
.feature-ico { width: 48px; height: 48px; border-radius: 16px; background: #fff; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.feature-ico .ico { width: 23px; height: 23px; vertical-align: middle; }
.fi-lilac { color: #7b5be6; }
.fi-mint { color: #1f9d6b; }
.fi-blue { color: #2f6fd0; }
.feature h3 { font-family: 'Poppins'; font-weight: 700; font-size: 19px; margin: 0 0 8px; }
.feature p { margin: 0; font-size: 14.5px; line-height: 1.5; color: #4b5560; }

/* ---------- auth ---------- */
.auth-wrap { position: relative; z-index: 2; min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 28px; }
.auth-card {
  width: 100%; max-width: 960px; background: #fff; border-radius: 34px;
  box-shadow: 0 40px 90px rgba(60,50,90,.28); overflow: hidden;
  display: grid; grid-template-columns: 1fr 1fr; min-height: 560px;
}
.auth-brand {
  background: linear-gradient(150deg,#7b5be6,#ff5c8a); padding: 40px; color: #fff;
  position: relative; overflow: hidden; display: flex; flex-direction: column;
}
.auth-brand-copy { margin-top: auto; }
.auth-brand-copy h2 { font-family: 'Poppins'; font-weight: 800; font-size: 34px; line-height: 1.1; letter-spacing: -1px; margin: 0 0 14px; }
.auth-brand-copy p { font-size: 15px; line-height: 1.6; opacity: .9; margin: 0; }
.auth-circle { position: absolute; border-radius: 50%; }
.auth-circle.a { top: -60px; right: -60px; width: 200px; height: 200px; background: rgba(255,255,255,.14); }
.auth-circle.b { bottom: 40px; right: -30px; width: 120px; height: 120px; background: rgba(255,255,255,.1); }
.auth-form { padding: 44px 46px; display: flex; flex-direction: column; justify-content: center; }
.auth-form .seg { margin-bottom: 26px; }
.auth-title { font-family: 'Poppins'; font-weight: 700; font-size: 26px; margin: 0 0 6px; }
.auth-sub { font-size: 14px; color: #9AA0AB; margin: 0 0 10px; }
.auth-form .btn-dark { width: 100%; margin-top: 22px; border-radius: 16px; padding: 15px; font-size: 16px; font-weight: 700; }

/* ---------- profile ---------- */
.profile-wrap { position: relative; z-index: 2; max-width: 1440px; margin: 0 auto; padding: 24px 26px 80px; }
.guest-bar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.profile-grid { display: grid; grid-template-columns: 360px 1fr; gap: 22px; align-items: start; }
.profile-side { position: sticky; top: 88px; display: flex; flex-direction: column; gap: 16px; }
.profile-card { border-radius: 30px; overflow: hidden; box-shadow: 0 24px 50px rgba(60,50,90,.16); }
.profile-cover { height: 120px; background: linear-gradient(120deg,#a18cd1,#fbc2eb 60%,#ffd6a5); }
.profile-card-body { padding: 0 26px 26px; text-align: center; }
.profile-ava {
  width: 110px; height: 110px; border-radius: 34px; border: 5px solid #fff; margin: -55px auto 0;
  display: flex; align-items: center; justify-content: center; color: #fff;
  font-family: 'Poppins'; font-weight: 800; font-size: 40px; box-shadow: 0 12px 24px rgba(123,91,230,.3);
}
.profile-name { font-family: 'Poppins'; font-weight: 800; font-size: 24px; margin: 14px 0 2px; letter-spacing: -.5px; }
.profile-handle { color: #9AA0AB; font-weight: 600; font-size: 14.5px; }
.profile-bio { margin: 14px 0 0; font-size: 14.5px; line-height: 1.55; color: #3b3f48; }
.profile-chips { display: flex; justify-content: center; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.profile-stats { display: flex; justify-content: center; gap: 26px; margin-top: 20px; padding-top: 20px; border-top: 1px solid #f1f2f5; }
.profile-stats b { display: block; font-family: 'Poppins'; font-weight: 800; font-size: 22px; }
.profile-stats span { font-size: 12px; color: #9AA0AB; }
.profile-actions { display: flex; justify-content: center; gap: 8px; margin-top: 18px; }
.profile-actions .btn { margin: 0; }
.btn-block-user {
  background: #FDEBF1; color: #d43f6d !important; font-weight: 700;
  transition: background .18s, color .18s, box-shadow .18s, transform .12s;
}
.btn-block-user:hover {
  background: #ff5c8a; color: #fff !important; filter: none;
  box-shadow: 0 8px 18px rgba(255,92,138,.38); transform: translateY(-1px);
}
.btn-block-user:active { transform: translateY(0); }
.btn-unblock-user {
  background: #EAF7F0; color: #1f9d6b !important; font-weight: 700;
  transition: background .18s, color .18s, box-shadow .18s;
}
.btn-unblock-user:hover {
  background: #43e97b; color: #fff !important; filter: none;
  box-shadow: 0 8px 18px rgba(67,233,123,.35);
}
.follow-list { display: flex; flex-direction: column; gap: 12px; }
.follow-row { display: flex; align-items: center; gap: 12px; padding: 14px 18px; }
.follow-row .block-ava { position: relative; }
.follow-row .btn { margin: 0; }
.fol-online { color: #1f9d6b !important; font-weight: 700; }
.social-row { display: flex; gap: 10px; flex-wrap: wrap; }
.social-pill { flex: 1 1 calc(50% - 5px); display: flex; align-items: center; justify-content: center; gap: 7px; font-weight: 700; font-size: 13px; padding: 11px 0; border-radius: 16px; }

.online-label { display: flex; align-items: center; gap: 7px; }
.shuffle-btn {
  margin-left: auto; border: none; background: #F3F4F7; width: 30px; height: 30px; border-radius: 50%;
  cursor: pointer; display: flex; align-items: center; justify-content: center; color: #4b5560;
}
.shuffle-btn .ico { width: 15px; height: 15px; vertical-align: middle; }
.shuffle-btn:hover { background: #e8eaef; }
.online-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; }
.online-cell { position: relative; cursor: pointer; display: block; }
.online-ava {
  width: 100%; aspect-ratio: 1; border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-family: 'Poppins'; font-weight: 800; font-size: 20px;
}
.online-dot { position: absolute; bottom: 2px; right: 2px; width: 11px; height: 11px; border-radius: 50%; background: #43e97b; border: 2.5px solid #fff; }
.online-tip {
  display: none; position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%);
  background: #141414; color: #fff; border-radius: 16px; padding: 12px 14px; width: 170px; z-index: 30;
  box-shadow: 0 14px 30px rgba(0,0,0,.35); animation: pop .15s ease; text-align: center;
}
.online-cell:hover .online-tip { display: block; }
.online-tip::after { content: ''; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); border: 6px solid transparent; border-top-color: #141414; }
.online-tip b { display: block; font-family: 'Poppins'; font-weight: 700; font-size: 14px; }
.online-tip i { display: block; font-style: normal; font-size: 12px; color: rgba(255,255,255,.55); margin-bottom: 6px; }
.online-tip em { display: block; font-style: normal; font-size: 12px; line-height: 1.4; color: rgba(255,255,255,.8); }
.tip-cta { display: block; margin-top: 8px; background: linear-gradient(100deg,#7b5be6,#ff5c8a); border-radius: 14px; padding: 7px 0; font-weight: 700; font-size: 12px; }

.compose-card {
  background: linear-gradient(150deg,#141414,#2a2a30); border-radius: 26px; padding: 22px;
  box-shadow: 0 20px 40px rgba(20,20,20,.28); margin-bottom: 20px; position: relative; z-index: 1;
}
.compose-card textarea {
  width: 100%; border: none; background: rgba(255,255,255,.08); color: #fff; border-radius: 16px;
  padding: 14px; font-size: 15px; font-family: 'DM Sans'; outline: none; resize: none; height: 76px;
}
.compose-card textarea::placeholder { color: rgba(255,255,255,.45); }
.compose-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; gap: 10px; flex-wrap: wrap; }
.compose-note { color: rgba(255,255,255,.5); font-size: 13px; }
.compose-actions { display: flex; gap: 8px; }
.compose-actions .btn { font-size: 14px; padding: 11px 20px; border-radius: 22px; }

.answers-head { display: flex; align-items: center; gap: 8px; margin: 6px 4px 16px; }
.answers-head span:first-child { font-family: 'Poppins'; font-weight: 700; font-size: 20px; }
.count-pill { background: #141414; color: #fff; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 20px; }
.answers-list { display: flex; flex-direction: column; gap: 16px; }
.answer-card { border-radius: 26px; padding: 24px; }
.answer-meta { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; margin-bottom: 10px; }
.qmark { width: 24px; height: 24px; border-radius: 50%; background: #fff; display: inline-flex; align-items: center; justify-content: center; }
.answer-q { margin: 0 0 12px; font-weight: 600; font-size: 17px; color: #1c1e24; }
.answer-a { margin: 0; font-size: 15.5px; line-height: 1.55; color: #3b3f48; }
.answer-foot { display: flex; gap: 16px; margin-top: 16px; }
.like-btn { border: none; background: transparent; font-size: 14px; color: #8890a0; font-weight: 600; cursor: pointer; padding: 0; }
.like-btn.liked { color: #ff5c8a; }
.share-wrap { position: relative; display: inline-block; }
.share-menu {
  position: absolute; bottom: calc(100% + 8px); left: 0; z-index: 50;
  background: #fff; border-radius: 18px; padding: 8px; min-width: 180px;
  box-shadow: 0 18px 44px rgba(20,20,20,.22); animation: pop .15s ease;
  display: flex; flex-direction: column; gap: 2px;
}
.share-item {
  display: block; text-align: left; border: none; background: transparent; cursor: pointer;
  font-family: 'DM Sans'; font-weight: 600; font-size: 14px; color: #16181D !important;
  padding: 10px 14px; border-radius: 12px; text-decoration: none;
}
.share-item:hover { background: #F3F4F7; }
.answer-single { margin-bottom: 16px; }
.answer-cta { display: flex; align-items: center; gap: 12px; padding: 16px 18px; }
.answer-cta .btn { margin-left: auto; }

/* ---------- share banner ---------- */
.share-banner {
  background: linear-gradient(120deg,#E9F0FE,#F2EEFB); border-radius: 24px; padding: 20px;
  margin-bottom: 18px; display: flex; align-items: center; gap: 16px; position: relative; z-index: 1;
}
.share-ico { width: 52px; height: 52px; border-radius: 16px; background: #fff; display: flex; align-items: center; justify-content: center; flex: none; color: #7b5be6; }
.share-ico .ico { width: 24px; height: 24px; vertical-align: middle; }
.share-copy { flex: 1; min-width: 0; }
.share-copy b { display: block; font-family: 'Poppins'; font-weight: 700; font-size: 16px; }
.share-copy span { font-size: 13.5px; color: #5b6270; }

/* ---------- dashboard ---------- */
.dash {
  position: relative; z-index: 2; background: #fff; display: grid;
  grid-template-columns: 264px 1fr 316px; min-height: calc(100vh - 67px);
}
.dash-2col { grid-template-columns: 264px 1fr; }
.feed-narrow { max-width: 680px; }
.view-all { margin-left: auto; }
.dash-side { padding: 26px 20px; display: flex; flex-direction: column; border-right: 1px solid #f1f2f5; }
.dash-me { display: flex; align-items: center; gap: 12px; margin-bottom: 26px; }
.dash-me-ava {
  position: relative; width: 52px; height: 52px; border-radius: 50%; flex: none;
  display: flex; align-items: center; justify-content: center; color: #fff;
  font-family: 'Poppins'; font-weight: 800; font-size: 20px;
}
.presence { position: absolute; bottom: 0; right: 0; width: 14px; height: 14px; border-radius: 50%; background: #43e97b; border: 3px solid #fff; }
.dash-me b { display: block; font-family: 'Poppins'; font-weight: 700; font-size: 16px; }
.dash-me span { font-size: 13px; color: #9AA0AB; }
.dash-nav { display: flex; flex-direction: column; gap: 4px; }
.dnav {
  display: flex; align-items: center; gap: 13px; padding: 14px 16px; border-radius: 16px;
  color: #3b3f48 !important; font-weight: 600; font-size: 15px; cursor: pointer;
  border: none; background: transparent; text-align: left; width: 100%;
}
.dnav:hover { background: #f5f6f8; }
.dnav.is-active { background: #141414; color: #fff !important; }
.dnav .badge { margin-left: auto; }
.dnav-quiet { color: #9AA0AB !important; }
.promo-card { margin-top: auto; background: linear-gradient(150deg,#7b5be6,#ff5c8a); border-radius: 22px; padding: 18px; color: #fff; }
.promo-card b { display: block; font-family: 'Poppins'; font-weight: 700; font-size: 15px; margin-bottom: 4px; }
.promo-card span { display: block; font-size: 12.5px; opacity: .9; line-height: 1.4; margin-bottom: 12px; }
.btn-promo { border: none; background: #fff; color: #7b5be6; font-weight: 700; font-size: 13px; padding: 9px 16px; border-radius: 20px; cursor: pointer; width: 100%; }
.logout-form { margin-top: 8px; }

.dash-feed { padding: 26px 34px; overflow-y: auto; max-height: calc(100vh - 67px); }
.dash-feed-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; gap: 14px; flex-wrap: wrap; }
.dash-feed-head h1 { font-family: 'Poppins'; font-weight: 800; font-size: 26px; margin: 0; letter-spacing: -.5px; }
.dash-feed-head p { margin: 2px 0 0; font-size: 14px; color: #9AA0AB; }

.inbox-card { border-radius: 24px; padding: 20px; margin-bottom: 14px; }
.inbox-card-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.inbox-card-head b { display: block; font-weight: 700; font-size: 14.5px; font-family: 'Poppins'; }
.inbox-card-head span { font-size: 12px; color: #9AA0AB; }
.new-pill { margin-left: auto; background: #fff; color: #7b5be6; font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 14px; font-style: normal; }
.answered-pill { margin-left: auto; background: #fff; color: #1f9d6b; font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 14px; font-style: normal; }
.inbox-answer { background: rgba(255,255,255,.65); border-radius: 16px; padding: 12px 16px; margin-top: 12px; }
.ia-label { font-size: 11.5px; font-weight: 700; color: #9AA0AB; letter-spacing: .4px; text-transform: uppercase; display: block; margin-bottom: 5px; }
.ia-text { margin: 0; font-size: 14.5px; line-height: 1.5; color: #3b3f48; }
.inbox-body { margin: 0; font-size: 16px; line-height: 1.5; color: #1c1e24; font-weight: 500; }
.inbox-actions { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.answer-box { margin-top: 14px; }
.answer-box textarea {
  width: 100%; border: none; background: rgba(255,255,255,.75); border-radius: 14px;
  padding: 12px 14px; font-size: 14.5px; font-family: 'DM Sans'; outline: none; resize: vertical; min-height: 70px;
}
.answer-box-foot { display: flex; gap: 8px; margin-top: 10px; }

.dash-rail { padding: 26px 24px; border-left: 1px solid #f1f2f5; overflow-y: auto; max-height: calc(100vh - 67px); }
.dash-rail h3 { font-family: 'Poppins'; font-weight: 700; font-size: 18px; margin: 0 0 14px; }
.live-row { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 10px; margin-bottom: 8px; }
.live-cell { min-width: 74px; text-align: center; }
.live-ava {
  width: 64px; height: 64px; border-radius: 22px; margin: 0 auto 6px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-family: 'Poppins'; font-weight: 800; font-size: 22px;
}
.live-name { font-size: 12px; font-weight: 600; color: #16181D; display: block; }
.stats-card { background: #141414; border-radius: 22px; padding: 18px; color: #fff; margin: 6px 0 22px; }
.stats-card > span { font-size: 13px; opacity: .7; display: block; margin-bottom: 4px; }
.stats-row { display: flex; align-items: flex-end; gap: 16px; }
.stats-row b { display: block; font-family: 'Poppins'; font-weight: 800; font-size: 28px; }
.stats-row span { font-size: 12px; opacity: .7; }
.meet-list { display: flex; flex-direction: column; gap: 12px; }
.meet-row { display: flex; align-items: center; gap: 11px; }
.meet-ava { width: 44px; height: 44px; border-radius: 14px; flex: none; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; }
.meet-info { flex: 1; min-width: 0; }
.meet-info b { display: block; font-weight: 700; font-size: 14px; color: #16181D; }
.meet-info span { font-size: 12px; color: #9AA0AB; }

/* ---------- chat ---------- */
.chat-layout {
  position: relative; z-index: 2; background: #fff; display: grid;
  grid-template-columns: 340px 1fr; height: calc(100vh - 67px); overflow: hidden;
}
.chat-list { border-right: 1px solid #f1f2f5; display: flex; flex-direction: column; min-height: 0; }
.chat-list-head { padding: 22px 20px 14px; display: flex; align-items: center; gap: 10px; }
.chat-back { display: inline-flex; color: #16181D !important; }
.chat-back .ico { width: 20px; height: 20px; vertical-align: middle; }
.chat-back-mob { display: none; color: #16181D !important; margin-right: 4px; }
.chat-back-mob .ico { width: 20px; height: 20px; vertical-align: middle; }
.chat-list-title { font-family: 'Poppins'; font-weight: 800; font-size: 20px; }
.chat-list-scroll { padding: 0 12px; overflow-y: auto; flex: 1; }
.conv-row { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 18px; margin-bottom: 4px; }
.conv-row:hover { background: #f7f7f9; }
.conv-row.is-active { background: #F2EEFB; }
.conv-ava {
  position: relative; width: 46px; height: 46px; border-radius: 16px; flex: none;
  display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 17px;
}
.conv-dot { position: absolute; bottom: -2px; right: -2px; width: 13px; height: 13px; border-radius: 50%; background: #43e97b; border: 2.5px solid #fff; }
.conv-info { flex: 1; min-width: 0; }
.conv-info b { display: block; font-weight: 700; font-size: 14.5px; color: #16181D; }
.conv-info span { display: block; font-size: 12.5px; color: #9AA0AB; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.conv-time { font-size: 11px; color: #c1c5cd; font-style: normal; }
.chat-list-foot { padding: 14px; }

.chat-window { display: flex; flex-direction: column; background: #FAFAFB; min-height: 0; }
.chat-empty { align-items: center; justify-content: center; }
.chat-head { padding: 14px 22px; background: #fff; border-bottom: 1px solid #f1f2f5; display: flex; align-items: center; gap: 10px; }
.chat-head .btn, .chat-head .photo-toggle { flex: none; white-space: nowrap; }
.peer-link { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; overflow: hidden; color: inherit !important; }
.peer-link[href]:hover .chat-peer b { color: #7b5be6; }
[data-theme="dark"] .peer-link[href]:hover .chat-peer b { color: #a18cd1; }
.chat-peer { flex: 1; min-width: 0; overflow: hidden; }
.chat-peer b { display: block; font-family: 'Poppins'; font-weight: 700; font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-peer span { display: block; font-size: 12.5px; color: #9AA0AB; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-peer span.is-online { color: #43e97b; }
.photo-toggle { display: inline-flex; align-items: center; gap: 6px; background: #F3F4F7; border-radius: 20px; padding: 8px 14px; font-size: 13px; font-weight: 600; cursor: pointer; user-select: none; }
.photo-toggle input { accent-color: #7b5be6; }

/* ---------- icon system ----------
   Inline SVG that inherits colour and scales with the text it sits next to. */
.ico { width: 1.15em; height: 1.15em; flex: none; display: inline-block;
  vertical-align: -0.19em; stroke-width: 1.75; }
.ico-sm { width: 1em; height: 1em; vertical-align: -0.15em; }
.ico-lg { width: 1.5em; height: 1.5em; vertical-align: -0.3em; }
.ico-xl { width: 26px; height: 26px; vertical-align: middle; stroke-width: 1.6; }
/* larger glyphs read better slightly thinner */
.ico-lg, .ico-xl { stroke-width: 1.6; }
.btn .ico, .dnav .ico, .seg-btn .ico { margin-right: 2px; }
.btn .ico:only-child { margin-right: 0; }

/* theme toggle shows one glyph per theme; no JS repaint, so no flash on load */
.btn-theme .ico-sun { display: none; }
[data-theme="dark"] .btn-theme .ico-moon { display: none; }
[data-theme="dark"] .btn-theme .ico-sun { display: inline-block; }

/* contexts where an icon sits alone in a pill/tag rather than beside a label */
.answered-pill .ico, .revealed-tag .ico, .closed-tag .ico, .po-status .ico,
.pm-tag .ico, .badge .ico { vertical-align: -0.14em; }
.key-dot { display: grid !important; place-items: center; }
.key-dot .ico { width: 14px; height: 14px; vertical-align: middle; }
.pm-icon .ico { width: 19px; height: 19px; vertical-align: middle; color: #6d7180; }
.settings-tab .ico { width: 15px; height: 15px; vertical-align: -0.2em; margin-right: 3px; }
.tip-cta .ico, .compose-note .ico, .chat-notice .ico, .ended-note .ico { vertical-align: -0.16em; }
.admin-section-title .ico, .card-title .ico { vertical-align: -0.2em; margin-right: 4px; }
/* mobile tab bar: glyph above label */
.mobilenav a .ico { width: 21px; height: 21px; vertical-align: middle; }

/* a tinted round plate for feature/empty-state icons */
.ico-plate { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center;
  flex: none; background: #F3F4F7; color: #6d7180; }
.ico-plate .ico { width: 21px; height: 21px; vertical-align: middle; }
.ico-plate-lilac { background: #F2EEFB; color: #7b5be6; }
.ico-plate-pink  { background: #FDEBF1; color: #d43f6d; }
.ico-plate-mint  { background: #EAF7F0; color: #1f9d6b; }
.ico-plate-blue  { background: #E9F0FE; color: #2f6fd0; }
.ico-plate-cream { background: #FBF1DB; color: #9a7b1f; }

/* ---------- earnings & payouts ---------- */
.badge-mint { background: #EAF7F0; color: #1f9d6b; }
.balance-card { background: linear-gradient(135deg, #F2EEFB 0%, #EAF7F0 100%); }
.bal-main { text-align: center; padding: 6px 0 14px; }
.bal-amount { display: block; font-family: 'Poppins', system-ui, sans-serif; font-weight: 800;
  font-size: 42px; line-height: 1.1; margin-top: 4px; }
.bal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.bal-grid > div { background: rgba(255,255,255,.7); border-radius: 14px; padding: 10px 8px; text-align: center; }
.bal-grid b { display: block; font-size: 17px; font-weight: 800; }
.bal-grid span { font-size: 11.5px; color: #7c8090; font-weight: 600; }

.pm-row { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid #F0F1F4; }
.pm-row:last-of-type { border-bottom: 0; }
.pm-icon { width: 38px; height: 38px; flex: none; border-radius: 12px; background: #F3F4F7;
  display: grid; place-items: center; font-size: 18px; }
.pm-info { flex: 1; min-width: 0; }
.pm-info b { display: block; font-size: 14px; }
.pm-info > span { font-size: 12.5px; color: #9AA0AB; font-weight: 600; word-break: break-all; }
.pm-tag { font-size: 10.5px; font-weight: 800; color: #1f9d6b; background: #EAF7F0;
  padding: 2px 8px; border-radius: 12px; font-style: normal; margin-left: 4px; vertical-align: middle; }
.pm-act { flex: none; }
.pm-add { margin-top: 16px; padding-top: 16px; border-top: 1px dashed #E4E5EB; }
.pm-types { margin-bottom: 6px; }
.pm-locked { display: flex; align-items: center; gap: 14px; background: #FBF1DB; border-radius: 16px; padding: 14px 16px; }
.pm-locked > span { font-size: 22px; }
.pm-locked div { flex: 1; min-width: 0; }
.pm-locked b { display: block; font-size: 14px; }
.pm-locked div span { font-size: 12.5px; color: #8a7c5c; font-weight: 600; }

.po-row { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid #F0F1F4; }
.po-row:last-of-type { border-bottom: 0; }
.po-info { flex: 1; min-width: 0; }
.po-info b { display: block; font-size: 15px; }
.po-info > span { display: block; font-size: 12.5px; color: #9AA0AB; font-weight: 600; }
.po-note { color: #7b5be6 !important; margin-top: 2px; }
.po-status { flex: none; font-size: 11.5px; font-weight: 800; padding: 6px 11px; border-radius: 14px; white-space: nowrap; }
.st-wait { background: #FBF1DB; color: #9a7b1f; }
.st-proc { background: #E9F0FE; color: #2f6fd0; }
.st-paid { background: #EAF7F0; color: #1f9d6b; }
.st-rej  { background: #FDEBF1; color: #d43f6d; }


/* saved-secret banner (admin) */
.key-saved { display: flex; align-items: center; gap: 12px; background: #EAF7F0; border: 1px solid #cbe9d9;
  border-radius: 16px; padding: 11px 14px; margin-bottom: 10px; }
.key-saved > div { flex: 1; min-width: 0; }
.key-saved b { display: block; font-size: 13.5px; color: #1f9d6b; }
.key-saved span { font-size: 12.5px; color: #6d8a7d; font-weight: 600; word-break: break-all; }
.key-dot { width: 26px; height: 26px; flex: none; border-radius: 50%; background: #1f9d6b; color: #fff;
  display: grid; place-items: center; font-size: 14px; font-weight: 700; }
.key-clear { background: #fff; flex: none; }

/* bot language picker (admin) */
.bot-langs { margin-top: 18px; padding: 16px; border: 1px solid #ECEDF1; border-radius: 18px; background: #FBFBFD; }
.bot-langs .f-label { margin-top: 0; }
.lang-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.lang-chip { display: inline-flex; align-items: center; gap: 7px; background: #fff; border: 1px solid #E4E5EB;
  border-radius: 20px; padding: 7px 13px; font-size: 13px; font-weight: 600; cursor: pointer; user-select: none;
  transition: background .15s, border-color .15s, color .15s; }
.lang-chip:hover { border-color: #b9a6f0; }
.lang-chip input { accent-color: #7b5be6; margin: 0; }
.lang-chip.on { background: #F1ECFE; border-color: #b9a6f0; color: #5c3fc4; }
.lang-actions { display: flex; align-items: center; gap: 12px; margin-top: 12px; }
.revealed-tag { font-size: 12.5px; color: #1f9d6b; font-weight: 700; background: #EAF7F0; padding: 8px 14px; border-radius: 20px; }
.closed-tag { font-size: 12.5px; color: #d43f6d; font-weight: 700; background: #FDEBF1; padding: 8px 14px; border-radius: 20px; white-space: nowrap; }
.chat-ended { text-align: center; }
.ended-note { font-size: 13.5px; color: #9AA0AB; font-weight: 600; padding: 10px 0; }

.chat-canvas { flex: 1; overflow-y: auto; padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.chat-notice { text-align: center; font-size: 12px; color: #b3b8c2; font-weight: 600; margin-bottom: 6px; }
.chat-sys { text-align: center; font-size: 12.5px; color: #8890a0; font-weight: 600; background: #f1f2f5; border-radius: 14px; padding: 8px 14px; align-self: center; max-width: 90%; }
.brow { display: flex; }
.brow.mine { justify-content: flex-end; }
.brow.theirs { justify-content: flex-start; }
.bubble { max-width: 74%; font-size: 15px; line-height: 1.45; padding: 12px 16px; word-wrap: break-word; overflow-wrap: break-word; }
.brow.theirs .bubble { background: #fff; color: #1c1e24; border-radius: 20px 20px 20px 5px; box-shadow: 0 4px 12px rgba(0,0,0,.05); }
.brow.mine .bubble { background: linear-gradient(100deg,#7b5be6,#ff5c8a); color: #fff; border-radius: 20px 20px 5px 20px; }
.bubble-photo { padding: 4px; background: #fff; border-radius: 18px; box-shadow: 0 4px 12px rgba(0,0,0,.08); display: block; max-width: 74%; }
.brow.mine .bubble-photo { background: linear-gradient(100deg,#7b5be6,#ff5c8a); }
.bubble-photo img { display: block; max-width: 260px; max-height: 300px; width: 100%; object-fit: cover; border-radius: 15px; }
.typing { align-self: flex-start; background: #fff; border-radius: 18px 18px 18px 5px; padding: 14px 16px; display: flex; gap: 5px; box-shadow: 0 4px 12px rgba(0,0,0,.05); }
.typing span { width: 7px; height: 7px; border-radius: 50%; background: #b3b8c2; animation: dot 1.2s infinite; }
.typing span:nth-child(2) { animation-delay: .2s; }
.typing span:nth-child(3) { animation-delay: .4s; }

.chat-composer { padding: 14px 18px; background: #fff; border-top: 1px solid #f1f2f5; }
.quick-chips { display: flex; gap: 8px; margin-bottom: 10px; flex-wrap: wrap; }
.composer-row { display: flex; align-items: center; gap: 10px; background: #F3F4F7; border-radius: 24px; padding: 6px 6px 6px 18px; }
#chat-input { flex: 1; border: none; background: transparent; font-size: 15px; font-family: 'DM Sans'; outline: none; padding: 10px 0; min-width: 0; }
.photo-btn { font-size: 19px; cursor: pointer; padding: 4px; }
.photo-btn.is-off { opacity: .35; cursor: not-allowed; }
.send-btn {
  border: none; background: #141414; color: #fff; width: 44px; height: 44px; border-radius: 50%;
  cursor: pointer; display: flex; align-items: center; justify-content: center; flex: none;
}
.send-btn .ico { width: 19px; height: 19px; vertical-align: middle; margin-right: 2px; }

/* ---------- photo settings ---------- */
.ps-item { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; flex-wrap: wrap; }
.ps-item:last-of-type { margin-bottom: 0; }
.ps-ava {
  width: 56px; height: 56px; border-radius: 18px; flex: none;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-family: 'Poppins'; font-weight: 800; font-size: 22px;
}
.ps-cover { width: 96px; height: 32px; border-radius: 10px; flex: none; display: inline-block; }
.ps-upload { cursor: pointer; }
.ps-item .btn { margin: 0; }

/* ---------- blocked list (settings) ---------- */
.block-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 6px; }
.block-row { display: flex; align-items: center; gap: 12px; }
.block-ava {
  width: 42px; height: 42px; border-radius: 14px; flex: none;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 16px;
}
.block-info { flex: 1; min-width: 0; }
.block-info b { display: block; font-weight: 700; font-size: 14px; color: #16181D; }
.block-info span { font-size: 12px; color: #9AA0AB; }
.block-row .btn { margin: 0; }
.block-label-2 { margin-top: 20px; }
.block-empty { display: block; margin: 0 0 8px; }

/* ---------- confirm modal ---------- */
.modal-overlay {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(20,20,20,.45); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  padding: 22px; animation: fadein .15s ease;
}
@keyframes fadein { from { opacity: 0 } to { opacity: 1 } }
.modal-card {
  background: #fff; border-radius: 26px; padding: 26px;
  width: 100%; max-width: 380px; text-align: center;
  box-shadow: 0 40px 90px rgba(60,50,90,.35);
  animation: pop .18s ease;
}
.modal-ico {
  width: 56px; height: 56px; border-radius: 18px; margin: 0 auto 14px;
  display: flex; align-items: center; justify-content: center;
  color: #2b2e36; /* icons stay dark on the pastel tile in BOTH themes */
}
.modal-title { font-family: 'Poppins'; font-weight: 700; font-size: 19px; margin: 0 0 8px; color: #16181D; }
.modal-text { margin: 0 0 22px; font-size: 14.5px; line-height: 1.55; color: #4b5560; }
.modal-actions { display: flex; gap: 10px; }
.modal-actions .btn { flex: 1; margin: 0; padding: 13px; border-radius: 16px; font-size: 14.5px; font-weight: 700; }
.btn-danger { background: #ff5c8a; color: #fff !important; box-shadow: 0 8px 22px rgba(255,92,138,.35); }

/* ---------- narrow pages ---------- */
.narrow-wrap { position: relative; z-index: 2; max-width: 640px; margin: 0 auto; padding: 30px 22px 80px; }
.narrow-wrap.wide { max-width: 1000px; }
.page-title { font-family: 'Poppins'; font-weight: 800; font-size: 26px; letter-spacing: -.5px; margin: 0 0 20px; }
.center-note { text-align: center; padding-top: 90px; }
.discover-search { display: flex; gap: 10px; margin-bottom: 22px; }
.discover-search .btn { margin: 0; }
.discover-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.discover-card { padding: 22px; text-align: center; display: block; }
.disc-ava {
  position: relative; width: 64px; height: 64px; border-radius: 22px; margin: 0 auto 10px;
  display: flex; align-items: center; justify-content: center; color: #fff;
  font-family: 'Poppins'; font-weight: 800; font-size: 24px;
}
.discover-card b { display: block; font-family: 'Poppins'; font-weight: 700; font-size: 16px; color: #16181D; }
.disc-handle { font-size: 13px; color: #9AA0AB; font-weight: 600; }
.discover-card p { margin: 8px 0 0; font-size: 13px; color: #4b5560; line-height: 1.4; }

/* ---------- responsive ---------- */
.mob-only { display: none; }
.online-card-mob { margin-bottom: 20px; }
@media (max-width: 1080px) {
  .topnav-search { display: none; }
  .topnav-right { margin-left: auto; }
  .desk-only { display: none; }
  .mob-only { display: block; }
  .hero { grid-template-columns: 1fr; }
  .hero-art { display: none; }
  .profile-grid { grid-template-columns: 1fr; }
  .profile-side { position: static; }
  .dash { grid-template-columns: 264px 1fr; }
  .dash-rail { display: none; }
  .discover-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 760px) {
  .hero { margin-top: 36px; }
  .hero-h1 { font-size: 40px; letter-spacing: -1.2px; }
  .features { grid-template-columns: 1fr; margin-top: 40px; }
  .auth-card { grid-template-columns: 1fr; min-height: 0; }
  .auth-brand { min-height: 180px; padding: 28px; }
  .auth-form { padding: 30px 24px; }
  .dash { grid-template-columns: 1fr; min-height: auto; }
  .dash-side { display: none; }
  .bal-amount { font-size: 34px; }
  .bal-grid { grid-template-columns: 1fr; }
  .bal-grid > div { display: flex; justify-content: space-between; align-items: center; padding: 9px 14px; }
  .bal-grid b { font-size: 15px; }
  .pm-row, .po-row { flex-wrap: wrap; }
  .pm-info, .po-info { flex-basis: 60%; }
  .po-field b { text-align: left; }
  .dash-feed { max-height: none; padding: 20px 16px 90px; }
  .topnav-tabs { display: none; }
  .topnav-in { padding: 10px 14px; gap: 10px; }
  /* chat: list-first navigation — the window only opens for an explicitly chosen chat */
  .chat-layout { grid-template-columns: 1fr; height: calc(100vh - 63px); height: calc(100dvh - 63px); }
  .chat-layout.has-active .chat-list { display: none; }
  .chat-layout:not(.has-active) .chat-window { display: none; }
  .chat-back-mob { display: inline; }
  .chat-list-scroll { padding-bottom: 84px; }   /* keep last rows above the bottom tab bar */
  .chat-list-foot { padding-bottom: calc(14px + 58px + env(safe-area-inset-bottom)); }
  /* full-screen conversation: hide the bottom tab bar so the composer is reachable */
  .page:has(.chat-layout.has-active) .mobilenav { display: none; }
  .chat-layout.has-active { height: calc(100vh - 63px); height: calc(100dvh - 63px); }
  .chat-composer { padding-bottom: calc(14px + env(safe-area-inset-bottom)); }
  /* compact header: name row first, action buttons wrap to a second row if needed */
  .chat-head { padding: 10px 12px; gap: 7px; row-gap: 8px; flex-wrap: wrap; }
  .peer-link { flex: 1 1 0; min-width: 45%; }
  .chat-head .conv-ava { width: 38px; height: 38px; font-size: 15px; }
  .chat-peer b { font-size: 14.5px; }
  .chat-peer span { font-size: 11.5px; }
  .chat-head .btn-sm { font-size: 11.5px; padding: 7px 10px; }
  .photo-toggle { padding: 6px 9px; font-size: 11.5px; gap: 4px; }
  .revealed-tag, .closed-tag { font-size: 11px; padding: 6px 9px; }
  .quick-chips { display: none; }               /* reclaim vertical space on small screens */
  .chat-canvas { padding: 14px; }
  /* browsers without :has() keep the tab bar — lift the composer above it */
  @supports not selector(:has(*)) {
    .chat-layout.has-active .chat-composer { padding-bottom: calc(14px + 60px + env(safe-area-inset-bottom)); }
  }
  .f-grid3 { grid-template-columns: 1fr; }
  .discover-grid { grid-template-columns: 1fr; }
  .profile-wrap { padding: 16px 14px 100px; }
  .mobilenav {
    display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 45;
    background: rgba(255,255,255,.92); backdrop-filter: blur(16px);
    border-top: 1px solid rgba(20,20,20,.06); padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
  }
  .mobilenav a {
    flex: 1; text-align: center; color: #9AA0AB !important;
    display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 5px 0; border-radius: 12px;
  }
  .mobilenav a span { font-size: 10.5px; font-weight: 600; }
  .mobilenav a.is-active { color: #141414 !important; }
  .mobilenav .mob-chat { position: relative; }
  .mob-badge {
    position: absolute; top: 0; left: calc(50% + 6px);
    background: #ff5c8a; color: #fff; font-style: normal;
    font-size: 10px; font-weight: 700; min-width: 17px; height: 17px; padding: 0 4px;
    border-radius: 10px; display: inline-flex; align-items: center; justify-content: center;
    border: 2px solid #fff;
  }
  .narrow-wrap { padding-bottom: 100px; }
}

/* ---------- theme toggle ---------- */
.theme-btn {
  border: none; background: rgba(255,255,255,.55); width: 42px; height: 42px;
  border-radius: 50%; cursor: pointer; font-size: 17px; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
}
.theme-btn:hover { filter: brightness(1.06); }

/* ---------- DARK MODE ---------- */
[data-theme="dark"] body { color: #e8e9ee; }
[data-theme="dark"] .page {
  background: linear-gradient(140deg,#181a22 0%,#14151c 38%,#1c1826 72%,#161824 100%);
}
[data-theme="dark"] .blob { opacity: .18; }
[data-theme="dark"] .wordmark, [data-theme="dark"] .wordmark-sm { color: #f2f3f7; }
[data-theme="dark"] .hero-h1, [data-theme="dark"] .page-title,
[data-theme="dark"] .answers-head span:first-child { color: #f2f3f7; }
[data-theme="dark"] .hero-sub, [data-theme="dark"] .proof-text { color: #a7abb8; }
[data-theme="dark"] .live-badge { background: rgba(255,255,255,.08); }

[data-theme="dark"] .card, [data-theme="dark"] .profile-card {
  background: #1e2028; box-shadow: 0 16px 36px rgba(0,0,0,.4); color: #e8e9ee;
}
[data-theme="dark"] .card-title, [data-theme="dark"] .profile-name,
[data-theme="dark"] .block-info b, [data-theme="dark"] .meet-info b,
[data-theme="dark"] .conv-info b, [data-theme="dark"] .chat-peer b,
[data-theme="dark"] .discover-card b, [data-theme="dark"] .dash-me b,
[data-theme="dark"] .live-name, [data-theme="dark"] .share-copy b { color: #f2f3f7; }
[data-theme="dark"] .profile-bio { color: #b8bcc8; }
[data-theme="dark"] .empty-note { color: #7c8090; }
[data-theme="dark"] .empty-note a { color: #a18cd1; }

[data-theme="dark"] .btn-frost { background: rgba(255,255,255,.1); color: #e8e9ee !important; }
[data-theme="dark"] .btn-white, [data-theme="dark"] .btn-light { background: #2a2c36; color: #e8e9ee !important; }
[data-theme="dark"] .theme-btn { background: rgba(255,255,255,.1); }
[data-theme="dark"] .ico-plate { background: #2a2c36; color: #a7abb8; }
[data-theme="dark"] .ico-plate-lilac { background: #2e2745; color: #b9a6f0; }
[data-theme="dark"] .ico-plate-pink  { background: #3a2029; color: #f5809f; }
[data-theme="dark"] .ico-plate-mint  { background: #1c2c25; color: #43e97b; }
[data-theme="dark"] .ico-plate-blue  { background: #1e2a3d; color: #7ab0f5; }
[data-theme="dark"] .ico-plate-cream { background: #33301f; color: #e8c65c; }
[data-theme="dark"] .badge-mint { background: #1c2c25; color: #43e97b; }
[data-theme="dark"] .balance-card { background: linear-gradient(135deg, #272338 0%, #1c2c25 100%); }
[data-theme="dark"] .bal-grid > div { background: rgba(255,255,255,.06); }
[data-theme="dark"] .bal-grid span, [data-theme="dark"] .pm-info > span,
[data-theme="dark"] .po-info > span, [data-theme="dark"] .po-when { color: #8b8f9c; }
[data-theme="dark"] .pm-row, [data-theme="dark"] .po-row,
[data-theme="dark"] .po-detail { border-color: #2f313b; }
[data-theme="dark"] .pm-add { border-color: #33353f; }
[data-theme="dark"] .pm-icon { background: #2a2c36; }
[data-theme="dark"] .pm-tag { background: #1c2c25; color: #43e97b; }
[data-theme="dark"] .pm-locked { background: #33301f; }
[data-theme="dark"] .pm-locked div span { color: #bfae83; }
[data-theme="dark"] .st-wait { background: #33301f; color: #e8c65c; }
[data-theme="dark"] .st-proc { background: #1e2a3d; color: #7ab0f5; }
[data-theme="dark"] .st-paid { background: #1c2c25; color: #43e97b; }
[data-theme="dark"] .st-rej  { background: #3a2029; color: #f5809f; }
[data-theme="dark"] .po-account { background: #23252e; border-color: #33353f; }
[data-theme="dark"] .po-field { border-color: #2f313b; }
[data-theme="dark"] .po-field > span, [data-theme="dark"] .po-method { color: #8b8f9c; }
[data-theme="dark"] .po-who { color: #a7abb8; }
[data-theme="dark"] .po-detail { border-color: #2f313b; }
[data-theme="dark"] .po-admin.is-open { box-shadow: 0 0 0 2px #7b5be6, 0 16px 36px rgba(0,0,0,.4); }
[data-theme="dark"] .key-saved { background: #1c2c25; border-color: #2c463a; }
[data-theme="dark"] .key-saved b { color: #43e97b; }
[data-theme="dark"] .key-saved span { color: #8fae9f; }
[data-theme="dark"] .key-clear { background: #2a2c36; }
[data-theme="dark"] .bot-langs { background: #23252e; border-color: #33353f; }
[data-theme="dark"] .lang-chip { background: #2a2c36; border-color: #3a3d48; color: #e8e9ee; }
[data-theme="dark"] .lang-chip:hover { border-color: #7b5be6; }
[data-theme="dark"] .lang-chip.on { background: #362d55; border-color: #7b5be6; color: #d7c9ff; }
[data-theme="dark"] .f-input, [data-theme="dark"] .f-input-row { background: #262832; color: #e8e9ee; }
[data-theme="dark"] .f-input::placeholder { color: #6d7180; }
[data-theme="dark"] .f-input-row input { color: #e8e9ee; }
[data-theme="dark"] .f-label { color: #a7abb8; }
[data-theme="dark"] .seg { background: #262832; }
[data-theme="dark"] .seg-btn.is-active { background: #3a3d4a; color: #f2f3f7 !important; }
[data-theme="dark"] .seg-dark { background: rgba(255,255,255,.1); }
[data-theme="dark"] .seg-dark .seg-btn.is-active { background: #fff; color: #141414 !important; }

[data-theme="dark"] .topnav { background: rgba(24,26,34,.86); border-bottom-color: rgba(255,255,255,.06); }
[data-theme="dark"] .toptab { color: #b8bcc8 !important; }
[data-theme="dark"] .toptab:hover { background: rgba(255,255,255,.06); }
[data-theme="dark"] .toptab.is-active { background: #f2f3f7; color: #16181D !important; }
[data-theme="dark"] .topnav-search { background: #262832; border-color: rgba(255,255,255,.08); }
[data-theme="dark"] .topnav-search input { color: #e8e9ee; }
[data-theme="dark"] .mobilenav { background: rgba(24,26,34,.92); border-top-color: rgba(255,255,255,.06); }
[data-theme="dark"] .mobilenav a.is-active { color: #f2f3f7 !important; }
[data-theme="dark"] .mob-badge { border-color: #1e2028; }

[data-theme="dark"] .dash, [data-theme="dark"] .chat-layout { background: #171921; }
[data-theme="dark"] .dash-side, [data-theme="dark"] .dash-rail,
[data-theme="dark"] .chat-list { border-color: #262832; }
[data-theme="dark"] .dnav { color: #b8bcc8 !important; }
[data-theme="dark"] .dnav:hover { background: rgba(255,255,255,.05); }
[data-theme="dark"] .dnav.is-active { background: #f2f3f7; color: #16181D !important; }
[data-theme="dark"] .dash-feed-head h1, [data-theme="dark"] .dash-rail h3,
[data-theme="dark"] .chat-list-title, [data-theme="dark"] .chat-back,
[data-theme="dark"] .chat-back-mob { color: #f2f3f7 !important; }
[data-theme="dark"] .conv-row:hover { background: rgba(255,255,255,.04); }
[data-theme="dark"] .conv-row.is-active { background: #2b2640; }
[data-theme="dark"] .conv-dot, [data-theme="dark"] .online-dot, [data-theme="dark"] .presence { border-color: #1e2028; }

[data-theme="dark"] .chat-window { background: #14161d; }
[data-theme="dark"] .chat-head, [data-theme="dark"] .chat-composer { background: #1b1d26; border-color: #262832; }
[data-theme="dark"] .brow.theirs .bubble { background: #262832; color: #e8e9ee; box-shadow: none; }
[data-theme="dark"] .composer-row { background: #262832; }
[data-theme="dark"] #chat-input { color: #e8e9ee; }
[data-theme="dark"] .chat-sys { background: #262832; color: #8b8fa0; }
[data-theme="dark"] .typing { background: #262832; }
[data-theme="dark"] .bubble-photo { background: #262832; }
[data-theme="dark"] .photo-toggle { background: #262832; color: #e8e9ee; }

[data-theme="dark"] .tint-blue  { background: #1f2536; }
[data-theme="dark"] .tint-cream { background: #2b2618; }
[data-theme="dark"] .tint-pink  { background: #2e1d26; }
[data-theme="dark"] .tint-mint  { background: #17281f; }
[data-theme="dark"] .answer-q, [data-theme="dark"] .inbox-body { color: #f2f3f7; }
[data-theme="dark"] .answer-a, [data-theme="dark"] .ia-text { color: #b8bcc8; }
[data-theme="dark"] .qmark, [data-theme="dark"] .new-pill,
[data-theme="dark"] .answered-pill, [data-theme="dark"] .feature-ico { background: #1e2028; }
[data-theme="dark"] .inbox-answer { background: rgba(0,0,0,.25); }
[data-theme="dark"] .answer-box textarea { background: rgba(0,0,0,.3); color: #e8e9ee; }
[data-theme="dark"] .share-banner { background: linear-gradient(120deg,#1f2536,#251f38); }
[data-theme="dark"] .share-copy span { color: #a7abb8; }
[data-theme="dark"] .share-menu { background: #262832; box-shadow: 0 18px 44px rgba(0,0,0,.5); }
[data-theme="dark"] .share-item { color: #e8e9ee !important; }
[data-theme="dark"] .share-item:hover { background: rgba(255,255,255,.07); }

[data-theme="dark"] .auth-card { background: #1e2028; }
[data-theme="dark"] .auth-title { color: #f2f3f7; }
[data-theme="dark"] .modal-card { background: #1e2028; }
[data-theme="dark"] .modal-title { color: #f2f3f7; }
[data-theme="dark"] .modal-text { color: #a7abb8; }
[data-theme="dark"] .modal-ico { color: #2b2e36; }
[data-theme="dark"] .feature p { color: #a7abb8; }
[data-theme="dark"] .feature h3 { color: #f2f3f7; }
[data-theme="dark"] .shuffle-btn { background: #262832; color: #e8e9ee; }
[data-theme="dark"] .stats-card { background: #101116; }
[data-theme="dark"] .btn-match { background: #f2f3f7; color: #16181D; }
[data-theme="dark"] .send-btn { background: #f2f3f7; color: #16181D; }
[data-theme="dark"] .btn-dark { background: #f2f3f7; color: #16181D !important; box-shadow: 0 10px 24px rgba(0,0,0,.4); }
[data-theme="dark"] .count-pill { background: #f2f3f7; color: #16181D; }
[data-theme="dark"] .chip-lilac { background: #2b2640; }
[data-theme="dark"] .chip-blue  { background: #1f2536; }
[data-theme="dark"] .chip-pink  { background: #2e1d26; }
[data-theme="dark"] .chip-mint  { background: #17281f; }
[data-theme="dark"] .chip-cream { background: #2b2618; }
[data-theme="dark"] .btn-block-user { background: #2e1d26; }
[data-theme="dark"] .btn-unblock-user { background: #17281f; }
[data-theme="dark"] ::-webkit-scrollbar-thumb { background: rgba(255,255,255,.18); }

/* ---------- admin ---------- */
/* The tiles carry a drop shadow, so whatever follows needs real clearance —
   without it the next block sits flush and the two read as one collided lump. */
.admin-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px; margin-bottom: 20px; }
.admin-stats:last-child { margin-bottom: 0; }
.stat-tile { text-align: center; }
.stat-tile b { display: block; font-family: 'Poppins'; font-weight: 800; font-size: 30px; }
.stat-tile span { font-size: 12.5px; color: #9AA0AB; }
.stat-warn b { color: #ff5c8a; }
.admin-list { display: flex; flex-direction: column; gap: 10px; }
.admin-row { display: flex; align-items: center; gap: 12px; padding: 14px 18px; flex-wrap: wrap; }
.admin-row.is-banned { opacity: .6; }
.admin-row-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; flex-wrap: wrap; }
.admin-row-actions form { display: flex; gap: 6px; }
.admin-row-actions .btn { margin: 0; }

/* ---------- admin payouts ----------
   Declared after .admin-row on purpose: these rows are their own layout and
   must not inherit the generic row's centring. */
.po-filter { display: inline-flex; width: auto; max-width: 100%; margin-bottom: 16px; flex-wrap: wrap; }
.po-admin { display: block; padding: 16px 18px; }
.po-admin + .po-admin { margin-top: 12px; }
.po-admin.is-open { box-shadow: 0 0 0 2px #7b5be6, 0 16px 36px rgba(20,20,20,.08); }

.po-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.po-status { flex: none; }
.po-amt { font-size: 19px; font-weight: 800; flex: none; }
.po-who { font-size: 13.5px; font-weight: 600; color: #6d7180; min-width: 0;
  display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.po-who a { font-weight: 700; }
.po-method { color: #9AA0AB; word-break: break-word; }
.po-method::before { content: '·'; margin-right: 6px; }
.po-when { margin-left: auto; font-size: 12px; color: #9AA0AB; font-weight: 600; white-space: nowrap; }
.po-manage { flex: none; margin: 0 !important; }

.po-detail { margin-top: 16px; padding-top: 16px; border-top: 1px solid #F0F1F4; }
.po-detail .f-label:first-child { margin-top: 0; }
.po-account { background: #F8F9FB; border: 1px solid #ECEDF1; border-radius: 14px;
  padding: 14px 16px; margin-bottom: 16px; }
.po-account .card-label { margin-bottom: 10px; }
.po-field { display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding: 6px 0; font-size: 13px; border-top: 1px solid #EDEEF2; }
.po-field:first-of-type { border-top: 0; }
.po-field > span { color: #9AA0AB; font-weight: 600; flex: none; }
.po-field b { font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: 13px;
  word-break: break-all; text-align: right; min-width: 0; }
.ban-tag { font-style: normal; background: #FDEBF1; color: #d43f6d; font-size: 10px; font-weight: 800; padding: 2px 7px; border-radius: 8px; letter-spacing: .5px; }
.admin-q-body { display: block; font-size: 13.5px; color: #4b5560; margin-top: 3px; word-break: break-word; }
[data-theme="dark"] .admin-q-body { color: #a7abb8; }
[data-theme="dark"] .stat-tile span { color: #7c8090; }

/* ---------- pagination & infinite scroll ---------- */
.pager { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 22px 0 6px; }
.pager .btn { margin: 0; }
.pager-num { font-size: 13px; font-weight: 700; color: #9AA0AB; }
.answers-sentinel { display: flex; justify-content: center; padding: 22px 0; }
.loading-dots { display: inline-flex; gap: 5px; }
.loading-dots i { width: 8px; height: 8px; border-radius: 50%; background: #9AA0AB; animation: dot 1.2s infinite; }
.loading-dots i:nth-child(2) { animation-delay: .2s; }
.loading-dots i:nth-child(3) { animation-delay: .4s; }
.answer-q, .answer-a { white-space: pre-line; }

/* ---------- report fixes & report modal ---------- */
.act-report.is-reported, .act-report-answer.is-reported { color: #1f9d6b !important; opacity: 1; }
.act-report:disabled, .act-report-answer:disabled { cursor: default; }
[data-theme="dark"] .btn-quiet { color: #9ba0b0 !important; }
[data-theme="dark"] .btn-quiet:hover { color: #c8ccda !important; }
[data-theme="dark"] .act-report.is-reported,
[data-theme="dark"] .act-report-answer.is-reported { color: #43e97b !important; }
[data-theme="dark"] .like-btn { color: #9ba0b0; }
.modal-report { text-align: left; }
.modal-report .modal-ico, .modal-report .modal-title { text-align: center; margin-left: auto; margin-right: auto; }
.modal-report .modal-title { text-align: center; }
.modal-left { text-align: left; }
.modal-report select.f-input { appearance: auto; cursor: pointer; }
.modal-report .modal-actions { margin-top: 20px; }
.modal-report .flash { margin: 10px 0 0; }
.report-reason { text-transform: capitalize; font-size: 11px; padding: 4px 10px; }
.report-note { font-style: italic; color: #7b5be6 !important; }
[data-theme="dark"] .report-note { color: #a18cd1 !important; }

/* ---------- branding, legal, auth extras ---------- */
.brand-img { height: 44px; width: auto; max-width: 220px; display: block; }
.brand-img-sm { height: 36px; }
.brand-preview { display: inline-flex; align-items: center; justify-content: center; min-width: 96px; height: 44px; background: repeating-conic-gradient(#e8eaf1 0% 25%, #f7f8fb 0% 50%) 0 0/16px 16px; border-radius: 10px; padding: 4px 8px; }
.brand-preview img { max-height: 36px; max-width: 140px; }
.brand-preview-sq { width: 52px; min-width: 52px; height: 52px; }
.brand-preview-sq img { max-height: 40px; max-width: 40px; }
[data-theme="dark"] .brand-preview { background: repeating-conic-gradient(#2a2c36 0% 25%, #1e2028 0% 50%) 0 0/16px 16px; }
/* settings sub-navigation — wraps cleanly no matter how many tabs exist */
.settings-tabs {
  display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px;
  padding-bottom: 4px;
}
.settings-tab {
  display: inline-flex; align-items: center; gap: 5px;
  font-weight: 600; font-size: 13.5px; color: #4b5560 !important;
  background: #fff; border: 1.5px solid rgba(20,20,20,.08);
  padding: 9px 16px; border-radius: 14px; white-space: nowrap;
  transition: background .15s, border-color .15s, color .15s, transform .1s;
}
.settings-tab:hover { border-color: rgba(123,91,230,.4); color: #7b5be6 !important; }
.settings-tab.is-active {
  background: #141414; color: #fff !important; border-color: #141414;
  box-shadow: 0 6px 16px rgba(20,20,20,.2);
}
[data-theme="dark"] .settings-tab { background: #1e2028; border-color: rgba(255,255,255,.1); color: #b8bcc8 !important; }
[data-theme="dark"] .settings-tab:hover { border-color: rgba(161,140,209,.5); color: #a18cd1 !important; }
[data-theme="dark"] .settings-tab.is-active { background: #f2f3f7; color: #16181D !important; border-color: #f2f3f7; }
.agree-row { display: flex; align-items: flex-start; gap: 9px; margin-top: 16px; font-size: 13.5px; color: #4b5560; line-height: 1.45; cursor: pointer; }
.agree-row input { margin-top: 2px; accent-color: #7b5be6; }
[data-theme="dark"] .agree-row { color: #a7abb8; }
.agree-row { display: flex; align-items: flex-start; gap: 9px; margin-top: 16px; font-size: 13.5px; color: #4b5560; line-height: 1.45; cursor: pointer; }
.agree-row input { margin-top: 2px; accent-color: #7b5be6; }
[data-theme="dark"] .agree-row { color: #a7abb8; }
.forgot-row { text-align: right; margin-top: 10px; font-size: 13.5px; font-weight: 600; }
.resend-form { margin-bottom: 14px; }
.notif-toggle { display: inline-flex; margin-bottom: 14px; }
.legal-updated { color: #9AA0AB; font-size: 13px; margin: -10px 0 18px; }
.legal-body h3 { font-family: 'Poppins'; font-size: 16px; margin: 22px 0 8px; }
.legal-body h3:first-child { margin-top: 0; }
.legal-body p { font-size: 14.5px; line-height: 1.65; color: #3b3f48; margin: 0 0 10px; }
[data-theme="dark"] .legal-body p { color: #b8bcc8; }
[data-theme="dark"] .legal-body h3 { color: #f2f3f7; }
.legal-links { text-align: center; margin-top: 20px; font-size: 14px; font-weight: 600; }
.landing-foot { text-align: center; margin-top: 46px; font-size: 13.5px; font-weight: 600; color: #4b4f5a; }

/* ---------- profile followers / guest chat note / report ---------- */
.profile-stats { gap: 18px; }
.guest-chat-note { background: rgba(255,255,255,.1); border-radius: 14px; padding: 12px 14px; font-size: 13px; line-height: 1.5; color: rgba(255,255,255,.85); margin-bottom: 14px; }
.guest-chat-note a { color: #fff; text-decoration: underline; font-weight: 700; }
.back-home { display: block; text-align: center; margin-top: 16px; font-size: 13.5px; font-weight: 600; color: #9AA0AB !important; }
.back-home:hover { color: #7b5be6 !important; }

/* ---------- blocked list modal ---------- */
.modal-blocked { max-width: 480px; text-align: left; max-height: 82vh; overflow-y: auto; position: relative; }
.modal-blocked .modal-title { text-align: center; margin-bottom: 18px; }
.modal-x { position: absolute; top: 16px; right: 16px; border: none; background: #F3F4F7; width: 34px; height: 34px; border-radius: 50%; cursor: pointer; color: #4b5560; display: grid; place-items: center; }
.modal-x .ico { width: 16px; height: 16px; vertical-align: middle; }
[data-theme="dark"] .modal-x { background: #2a2c36; color: #c8ccda; }

/* ---------- chat direction filter & indicator ---------- */
.chat-dir-seg { margin: 0 12px 10px; }
.chat-dir-seg .seg-btn { flex: 1; padding: 8px 10px; font-size: 12.5px; white-space: nowrap; }
.dir-badge {
  position: absolute; top: -5px; left: -6px; width: 19px; height: 19px;
  border-radius: 50%; font-style: normal; line-height: 1; color: #4b5560;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid #fff; box-shadow: 0 2px 5px rgba(20,20,20,.18); z-index: 2;
}
.dir-badge .ico { width: 11px; height: 11px; vertical-align: middle; }
.dir-badge-out { background: #F2EEFB; color: #7b5be6; }
.dir-badge-in { background: #E9F0FE; }
.conv-row .conv-ava { overflow: visible; }
[data-theme="dark"] .dir-badge { border-color: #1e2028; }
[data-theme="dark"] .dir-badge-out { background: #2b2640; }
[data-theme="dark"] .dir-badge-in { background: #1f2536; }
.admin-section-title { font-family: 'Poppins'; font-weight: 700; font-size: 15px; margin: 0 0 10px; }
[data-theme="dark"] .admin-section-title { color: #f2f3f7; }
.discover-search .btn-light { text-decoration: none; }

/* ---------- boost ---------- */
.boost-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-top: 8px; }
.boost-card { padding: 24px 20px; text-align: center; position: relative; }
.boost-featured { outline: 2px solid #7b5be6; outline-offset: -2px; }
.boost-badge { position: absolute; top: 12px; right: 12px; background: linear-gradient(100deg,#7b5be6,#ff5c8a); color: #fff; font-size: 10px; font-weight: 800; padding: 4px 9px; border-radius: 10px; letter-spacing: .5px; }
.boost-name { font-family: 'Poppins'; font-weight: 800; font-size: 18px; margin-bottom: 6px; }
.boost-dur { font-size: 13.5px; color: #9AA0AB; margin-bottom: 14px; }
.boost-price { font-family: 'Poppins'; font-weight: 800; font-size: 30px; margin-bottom: 16px; }
[data-theme="dark"] .boost-name { color: #f2f3f7; }
.boost-active { background: linear-gradient(120deg,#FBF1DB,#FDEBF1); font-size: 14.5px; margin-bottom: 16px; }
[data-theme="dark"] .boost-active { background: linear-gradient(120deg,#2b2618,#2e1d26); color: #e8e9ee; }
/* boosted profile: gradient story-ring + crown badge + soft pulsing glow */
@keyframes boost-glow {
  0%, 100% { box-shadow: 0 4px 12px rgba(123,91,230,.30); }
  50%      { box-shadow: 0 4px 18px rgba(255,92,138,.55); }
}
.online-cell.is-boosted {
  padding: 3px;
  border-radius: 20px;
  background: conic-gradient(from 210deg, #7b5be6, #ff5c8a, #ffb15c, #48c9b0, #7b5be6);
  animation: boost-glow 2.6s ease-in-out infinite;
}
.online-cell.is-boosted .online-ava {
  border: 2px solid #fff;
  border-radius: 14px;
  font-size: 18px;
}
[data-theme="dark"] .online-cell.is-boosted .online-ava { border-color: #1e2028; }
.online-cell.is-boosted .online-dot { bottom: 4px; right: 4px; }
.boost-crown {
  position: absolute; top: -8px; left: 50%; transform: translateX(-50%);
  line-height: 1; z-index: 3; color: #fff; display: flex;
  background: linear-gradient(100deg, #7b5be6, #ff5c8a);
  padding: 3px 6px; border-radius: 9px; border: 1.5px solid #fff;
  box-shadow: 0 2px 6px rgba(123,91,230,.5);
}
.boost-crown .ico { width: 11px; height: 11px; vertical-align: middle; }
[data-theme="dark"] .boost-crown { border-color: #1e2028; }
.code-area { font-family: 'Courier New', monospace; font-size: 12.5px; min-height: 200px; white-space: pre; }

/* ---------- gifts ---------- */
.gift-thumb { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; flex: none; }
.gift-thumb img { max-width: 100%; max-height: 100%; }
.gift-emoji { font-size: 30px; line-height: 1; }
.gift-thumb-sm { width: 30px; height: 30px; }
.gift-thumb-sm .gift-emoji { font-size: 20px; }
.btn-gift-cta {
  display: block; width: 100%; margin-top: 10px;
  background: linear-gradient(100deg,#ffb15c,#ff5c8a); color: #fff !important; font-weight: 700;
  box-shadow: 0 8px 20px rgba(255,140,90,.34);
}
.modal-gift { max-width: 440px; text-align: left; }
.modal-gift .modal-title, .modal-gift .modal-text { text-align: center; }
.gift-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; margin: 6px 0 4px; }
.gift-pick {
  border: 1.5px solid transparent; background: #F3F4F7; border-radius: 18px; padding: 12px 8px;
  cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 4px;
  font-family: 'DM Sans'; transition: background .15s, border-color .15s, transform .12s;
}
.gift-pick:hover { transform: translateY(-2px); }
.gift-pick.is-on { border-color: #7b5be6; background: #F2EEFB; }
.gift-pick b { font-size: 12.5px; color: #16181D; }
.gift-pick span:last-child { font-size: 12px; color: #9AA0AB; font-weight: 600; }
[data-theme="dark"] .gift-pick { background: #262832; }
[data-theme="dark"] .gift-pick.is-on { background: #2b2640; }
[data-theme="dark"] .gift-pick b { color: #f2f3f7; }
.gift-pay { margin-top: 14px; min-height: 120px; }
.earnings-card { margin-top: 18px; }
.earnings-total { font-family: 'Poppins'; font-weight: 800; font-size: 28px; }
.earnings-sub { font-size: 12.5px; color: #9AA0AB; margin-bottom: 10px; }
.earnings-list { display: flex; flex-direction: column; gap: 8px; }
.earnings-row { display: flex; align-items: center; gap: 9px; }
.earnings-info { flex: 1; min-width: 0; }
.earnings-info b { display: block; font-size: 13px; color: #16181D; }
.earnings-info span { font-size: 11.5px; color: #9AA0AB; }
.earnings-amt { font-style: normal; font-weight: 800; font-size: 13px; color: #1f9d6b; }
[data-theme="dark"] .earnings-info b { color: #f2f3f7; }

/* ---------- responsive tail ----------
   Kept at the end of the file so these overrides win over the base rules they
   refine, regardless of where those rules are declared above. */
/* Between the mobile tab bar (≤760) and the full navbar there is a band where
   four labelled tabs plus the right-hand controls no longer fit on one line and
   the page picked up a horizontal scrollbar. The tabs drop to icons only. */
@media (max-width: 980px) {
  .topnav-in { gap: 14px; padding: 12px 16px; }
  .topnav-tabs { min-width: 0; }
  .toptab { padding: 10px 13px; gap: 0; }
  .toptab-label { display: none; }
  .toptab .badge { position: absolute; top: 2px; right: 2px; }
  .toptab { position: relative; }
  .topnav-right { gap: 8px; }
  .btn-match { padding: 11px 14px; }
}
@media (max-width: 860px) {
  .btn-match .btn-match-label { display: none; }
  .btn-match { padding: 11px 13px; }
}

/* Below the full desktop width the admin feed gets narrow while the sidebar is
   still on screen, so the breakpoint that matters here is 1080, not 760. */
@media (max-width: 1080px) {
  /* section tabs and payout filters scroll sideways instead of wrapping */
  .dash-feed-head { flex-direction: column; align-items: stretch; gap: 12px; }
  .dash-feed-head .seg, .po-filter {
    display: flex; flex-wrap: nowrap; overflow-x: auto; max-width: 100%;
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
  }
  .dash-feed-head .seg::-webkit-scrollbar, .po-filter::-webkit-scrollbar { display: none; }
  .dash-feed-head .seg-btn, .po-filter .seg-btn { white-space: nowrap; flex: none; }

  .admin-stats { grid-template-columns: repeat(auto-fit, minmax(148px, 1fr)); gap: 10px; }
  .admin-stats .stat-tile b { font-size: 24px; }

  /* payout row: status + amount + timestamp on line one, account below, action last */
  .po-head { gap: 8px 10px; }
  .po-amt { font-size: 18px; }
  .po-who { flex-basis: 100%; order: 3; }
  .po-when { margin-left: auto; order: 2; }
  .po-manage { order: 4; margin-left: auto !important; }
}

@media (max-width: 760px) {
  .po-admin { padding: 14px 15px; }
  .po-amt { font-size: 17px; }
  .po-manage { flex-basis: 100%; text-align: center; margin-top: 4px !important; }
  .po-detail { margin-top: 14px; padding-top: 14px; }
  .po-account { padding: 12px 13px; }
  .po-field { flex-direction: column; align-items: stretch; gap: 2px; }
  .po-field b { text-align: left; }
  .admin-stats { grid-template-columns: repeat(2, 1fr); }
  .admin-stats .stat-tile b { font-size: 22px; }
  .admin-stats .stat-tile { padding: 14px 10px; }
}
