/* Budlic — light theme: white + Flamingo / Blush Pink / Millennial Pink.
   A warm social layout with a premium, modern feel. */
:root {
  --flamingo: #F26D6D;      /* coral red — primary action */
  --flamingo-2: #F58A98;    /* pinker coral for gradients */
  --blush: #CB9A96;         /* muted rosy taupe */
  --millennial: #FADCD9;    /* soft pink */
  --millennial-soft: #FDEDEB;
  --rose-tint: #FFF6F4;

  --bg: #FFFFFF;
  --bg-soft: #FFF6F4;
  --panel: #FFFFFF;
  --text: #2B2530;
  --muted: #9B8A8C;
  --line: #F2E3E1;
  --line-2: #EAD8D5;

  --good: #2FB56E;
  --gold: #E7A928;

  --grad: linear-gradient(135deg, var(--flamingo-2), var(--flamingo));
  --radius: 16px;
  --shadow: 0 10px 30px rgba(242,109,109,.12);
  --shadow-sm: 0 4px 14px rgba(203,154,150,.16);
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background:
    radial-gradient(900px 500px at 90% -10%, var(--millennial-soft) 0%, transparent 55%),
    radial-gradient(700px 400px at -5% 5%, var(--rose-tint) 0%, transparent 50%),
    var(--bg);
  color: var(--text);
  min-height: 100vh;
}
a { color: var(--flamingo); text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
.hidden { display: none !important; }
::selection { background: var(--millennial); }

/* ---------- top nav ---------- */
header.nav {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; gap: 16px;
  padding: 11px 22px;
  background: rgba(255,255,255,.9); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
/* Header logo: crop the wordmark out of the full logo (hides the tagline at nav size). */
.logo { display: block; flex: none; line-height: 0; }
.logo img { height: 40px; width: 40px; display: block; border-radius: 10px; }  /* favicon mark */
@media (max-width: 780px) { .logo img { height: 36px; width: 36px; } }
.nav-links { display: flex; gap: 4px; margin-left: 6px; flex-wrap: wrap; }
.nav-links a { padding: 8px 13px; border-radius: 999px; color: var(--muted); font-weight: 600; font-size: 14px; }
.nav-links a:hover { background: var(--bg-soft); color: var(--text); }
.nav-links a.active { background: var(--millennial); color: var(--flamingo); }
.nav-spacer { flex: 1; }
.nav-search { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 999px; padding: 9px 14px; color: var(--text); width: 210px; }
.nav-user { display: flex; align-items: center; gap: 10px; }
.icon-btn { position: relative; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--bg-soft); display: grid; place-items: center; font-size: 18px; }
.icon-btn:hover { border-color: var(--flamingo); }
.badge-count { position: absolute; top: -4px; right: -4px; background: var(--flamingo); color: white; font-size: 11px; font-weight: 700; min-width: 18px; height: 18px; border-radius: 999px; display: grid; place-items: center; padding: 0 4px; }

/* ---------- buttons ---------- */
.btn { border: 1px solid var(--line-2); background: var(--bg); color: var(--text); padding: 9px 15px; border-radius: 999px; font-weight: 600; font-size: 14px; transition: .12s; }
.btn:hover { border-color: var(--flamingo); color: var(--flamingo); }
.btn.primary { background: var(--grad); border: none; color: white; box-shadow: var(--shadow-sm); }
.btn.primary:hover { filter: brightness(1.05); color: white; }
.btn.ghost { background: transparent; border-color: transparent; }
.btn.soft { background: var(--millennial-soft); border-color: transparent; color: var(--flamingo); }
.btn.sm { padding: 6px 12px; font-size: 13px; }
.btn:disabled { opacity: .55; cursor: default; }

/* ---------- generic layout ---------- */
main { max-width: 1180px; margin: 0 auto; padding: 22px; }
.page-title { font-size: 26px; font-weight: 800; margin: 4px 0; letter-spacing: -.5px; }
.page-sub { color: var(--muted); margin: 0 0 20px; }
.layout { display: grid; grid-template-columns: 260px 1fr; gap: 22px; align-items: start; }
@media (max-width: 860px) { .layout { grid-template-columns: 1fr; } }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow-sm); }
.panel h3 { margin: 0 0 12px; font-size: 13px; text-transform: uppercase; letter-spacing: .6px; color: var(--muted); }

/* ---------- filters / chips ---------- */
.filter-group { margin-bottom: 16px; }
.filter-group label { display: block; font-size: 12px; color: var(--muted); margin-bottom: 6px; font-weight: 600; }
.filter-group input, .filter-group select { width: 100%; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 10px; padding: 9px 11px; color: var(--text); font-size: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chip { padding: 6px 11px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--bg); color: var(--muted); font-size: 13px; font-weight: 600; }
.chip:hover { border-color: var(--flamingo); color: var(--flamingo); }
.chip.on { background: var(--grad); border-color: transparent; color: white; }
.toggle { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }

/* ---------- cards grid (people) ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 16px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; display: flex; flex-direction: column; gap: 10px; box-shadow: var(--shadow-sm); transition: transform .12s, box-shadow .12s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card .top { display: flex; align-items: center; gap: 12px; }
.avatar { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-size: 24px; background: var(--millennial-soft); border: 1px solid var(--line); flex: none; }
.card .name { font-weight: 700; font-size: 16px; display: flex; align-items: center; gap: 6px; }
.card .headline { color: var(--muted); font-size: 13px; }
.verified { color: var(--flamingo); font-size: 13px; }
.online-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--good); display: inline-block; box-shadow: 0 0 0 3px rgba(47,181,110,.18); }
.tag-row { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font-size: 12px; padding: 3px 9px; border-radius: 999px; background: var(--bg-soft); color: var(--muted); border: 1px solid var(--line); }
.tag.buddy { background: var(--millennial-soft); color: var(--flamingo); border-color: transparent; font-weight: 600; }
.meta { display: flex; gap: 12px; color: var(--muted); font-size: 13px; flex-wrap: wrap; }
.card .actions { display: flex; gap: 8px; margin-top: auto; flex-wrap: wrap; }

/* ---------- match ring ---------- */
.match { display: flex; align-items: center; gap: 10px; }
.ring { --p: 0; width: 46px; height: 46px; border-radius: 50%; flex: none; background: conic-gradient(var(--flamingo) calc(var(--p) * 1%), var(--millennial) 0); display: grid; place-items: center; }
.ring span { width: 36px; height: 36px; border-radius: 50%; background: var(--panel); display: grid; place-items: center; font-size: 12px; font-weight: 800; color: var(--flamingo); }
.reasons { font-size: 12px; color: var(--muted); line-height: 1.5; }

/* ================= DASHBOARD (3-column) ================= */
.dash { display: grid; grid-template-columns: 250px minmax(0,1fr) 300px; gap: 20px; align-items: start; max-width: 1180px; margin: 0 auto; }
@media (max-width: 1080px) { .dash { grid-template-columns: 220px minmax(0,1fr); } .dash-right { display: none; } }
@media (max-width: 780px) { .dash { grid-template-columns: 1fr; } .dash-left { display: none; } }
.sticky { position: sticky; top: 78px; }

/* left module nav */
.sidenav { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 8px; box-shadow: var(--shadow-sm); }
.sidenav .group-label { font-size: 11px; text-transform: uppercase; letter-spacing: .6px; color: var(--muted); padding: 12px 12px 6px; font-weight: 700; }
.sidenav a { display: flex; align-items: center; gap: 11px; padding: 9px 12px; border-radius: 11px; color: var(--text); font-weight: 600; font-size: 14px; }
.sidenav a:hover { background: var(--bg-soft); }
.sidenav a.active { background: var(--millennial-soft); color: var(--flamingo); }
.sidenav a .i { width: 22px; text-align: center; font-size: 16px; }
.sidenav a .cnt { margin-left: auto; font-size: 12px; background: var(--millennial); color: var(--flamingo); border-radius: 999px; padding: 1px 8px; font-weight: 700; }

/* cover / profile header */
.cover { height: 150px; border-radius: var(--radius) var(--radius) 0 0; background: var(--grad); position: relative; }
.cover .cover-emoji { position: absolute; inset: 0; display: grid; place-items: center; font-size: 64px; opacity: .35; }
.profile-header { background: var(--panel); border: 1px solid var(--line); border-top: none; border-radius: 0 0 var(--radius) var(--radius); padding: 0 20px 18px; box-shadow: var(--shadow-sm); }
.profile-header .pfp { width: 96px; height: 96px; border-radius: 50%; background: var(--millennial-soft); border: 4px solid var(--panel); display: grid; place-items: center; font-size: 48px; margin-top: -48px; box-shadow: var(--shadow-sm); }
.profile-header .ph-row { display: flex; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.profile-header .ph-name { font-size: 24px; font-weight: 800; display: flex; align-items: center; gap: 8px; }
.profile-header .ph-meta { color: var(--muted); font-size: 14px; margin-top: 2px; display: flex; gap: 12px; flex-wrap: wrap; }
.profile-header .ph-actions { margin-left: auto; display: flex; gap: 8px; flex-wrap: wrap; }
.intent-badge { display: inline-flex; align-items: center; gap: 5px; padding: 4px 11px; border-radius: 999px; font-size: 12px; font-weight: 700; background: var(--millennial-soft); color: var(--flamingo); }
.intent-badge.date { background: #FDE7EC; color: #E14B6A; }
.intent-badge.net { background: #EAF3FF; color: #3B7DD8; }
.intent-badge.act { background: #EAF8EF; color: #2FB56E; }

/* completeness bar */
.progress { height: 8px; border-radius: 999px; background: var(--millennial-soft); overflow: hidden; }
.progress > i { display: block; height: 100%; background: var(--grad); border-radius: 999px; }
.tip { background: var(--millennial-soft); border: 1px dashed var(--line-2); border-radius: 12px; padding: 10px 12px; font-size: 13px; color: var(--blush); }

/* composer */
.composer { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; box-shadow: var(--shadow-sm); }
.composer .row { display: flex; gap: 12px; }
.composer textarea { flex: 1; border: none; background: var(--bg-soft); border-radius: 14px; padding: 12px 14px; resize: none; font-family: inherit; font-size: 15px; color: var(--text); min-height: 46px; }
.composer textarea:focus { outline: 2px solid var(--millennial); }
.composer .tools { display: flex; align-items: center; gap: 6px; margin-top: 10px; flex-wrap: wrap; }
.composer .tool { display: inline-flex; align-items: center; gap: 6px; padding: 7px 11px; border-radius: 10px; background: var(--bg-soft); border: 1px solid transparent; color: var(--muted); font-size: 13px; font-weight: 600; }
.composer .tool:hover { border-color: var(--flamingo); color: var(--flamingo); }
.composer .tool.on { background: var(--millennial-soft); color: var(--flamingo); }
.composer select { border: 1px solid var(--line); border-radius: 10px; padding: 7px 10px; background: var(--bg-soft); color: var(--text); font-size: 13px; font-weight: 600; }
.preview-media { margin-top: 10px; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); position: relative; }
.preview-media img, .preview-media video { width: 100%; display: block; max-height: 320px; object-fit: cover; }
.preview-media .rm { position: absolute; top: 8px; right: 8px; background: rgba(0,0,0,.55); color: white; border: none; border-radius: 50%; width: 28px; height: 28px; }

/* posts */
.post { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; margin-bottom: 16px; box-shadow: var(--shadow-sm); }
.post .p-head { display: flex; gap: 11px; align-items: center; }
.post .p-head .avatar { width: 42px; height: 42px; font-size: 21px; }
.post .p-name { font-weight: 700; font-size: 15px; display: flex; align-items: center; gap: 5px; }
.post .p-time { color: var(--muted); font-size: 12px; }
.post .p-body { margin: 11px 0; line-height: 1.55; white-space: pre-wrap; }
.vis-pill { font-size: 11px; color: var(--muted); }
.p-media { border-radius: 14px; overflow: hidden; border: 1px solid var(--line); margin: 10px 0; }
.p-media img { width: 100%; display: block; }
.p-media video { width: 100%; display: block; background: #000; }
.p-media.reel { max-width: 300px; }
.p-media.reel video, .p-media.reel img { aspect-ratio: 9/16; object-fit: cover; width: 100%; }
.reel-flag { display: inline-flex; gap: 4px; align-items: center; font-size: 11px; font-weight: 700; color: var(--flamingo); background: var(--millennial-soft); padding: 2px 8px; border-radius: 999px; }
.p-stats { display: flex; gap: 14px; color: var(--muted); font-size: 13px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.p-actions { display: flex; gap: 4px; padding-top: 8px; }
.p-actions button { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 8px; border-radius: 10px; border: none; background: transparent; color: var(--muted); font-weight: 600; font-size: 14px; }
.p-actions button:hover { background: var(--bg-soft); color: var(--flamingo); }
.p-actions button.on { color: var(--flamingo); }
.tagged { font-size: 12px; color: var(--muted); margin-top: 6px; }
.tagged b { color: var(--flamingo); }

/* comments */
.comments { margin-top: 12px; border-top: 1px solid var(--line); padding-top: 12px; }
.comment { display: flex; gap: 9px; margin-bottom: 10px; }
.comment .avatar { width: 32px; height: 32px; font-size: 16px; }
.comment .bubble2 { background: var(--bg-soft); border-radius: 14px; padding: 8px 12px; font-size: 14px; }
.comment .bubble2 b { font-size: 13px; }
.comment-form { display: flex; gap: 8px; margin-top: 10px; }
.comment-form input { flex: 1; border: 1px solid var(--line); background: var(--bg-soft); border-radius: 999px; padding: 9px 14px; color: var(--text); }

/* right rail */
.rail-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; box-shadow: var(--shadow-sm); margin-bottom: 16px; }
.rail-card h4 { margin: 0 0 10px; font-size: 14px; display: flex; align-items: center; gap: 7px; }
.rail-person { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.rail-person:last-child { border-bottom: none; }
.rail-person .avatar { width: 40px; height: 40px; font-size: 20px; }
.rail-person .rp-info { min-width: 0; flex: 1; }
.rail-person .rp-name { font-weight: 700; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rail-person .rp-sub { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-ring { font-size: 12px; font-weight: 800; color: var(--flamingo); background: var(--millennial-soft); border-radius: 999px; padding: 3px 9px; }
.notif-item { display: flex; gap: 10px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.notif-item:last-child { border-bottom: none; }
.notif-item.unread { background: var(--millennial-soft); margin: 0 -6px; padding: 9px 6px; border-radius: 8px; }
.notif-item .dot2 { width: 8px; height: 8px; border-radius: 50%; background: var(--flamingo); flex: none; }

/* score boxes */
.score-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px,1fr)); gap: 12px; margin: 16px 0; }
.score-box { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 12px; padding: 12px; text-align: center; }
.score-box .n { font-size: 24px; font-weight: 800; color: var(--flamingo); }
.score-box .l { font-size: 12px; color: var(--muted); }

/* profile-head (public profile view) */
.profile-head { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.profile-head .avatar { width: 84px; height: 84px; font-size: 44px; }

/* messages */
.msg-thread-item { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 12px; margin-bottom: 10px; box-shadow: var(--shadow-sm); }
.textarea { width: 100%; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 12px; color: var(--text); padding: 11px; font-family: inherit; resize: vertical; }
.bubble { max-width: 72%; padding: 9px 14px; border-radius: 16px; margin: 4px 0; line-height: 1.4; }
.bubble.me { background: var(--grad); color: white; margin-left: auto; border-bottom-right-radius: 5px; }
.bubble.them { background: var(--bg-soft); border-bottom-left-radius: 5px; }

/* modal */
.overlay { position: fixed; inset: 0; background: rgba(80,40,45,.32); display: grid; place-items: center; z-index: 100; padding: 20px; backdrop-filter: blur(3px); }
.modal { background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 26px; width: 100%; max-width: 430px; box-shadow: 0 24px 60px rgba(120,60,65,.28); max-height: 90vh; overflow-y: auto; }
.modal h2 { margin: 0 0 6px; }
.modal .field { margin: 12px 0; }
.modal .field label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.modal .field input, .modal .field select { width: 100%; padding: 11px 12px; border-radius: 11px; border: 1px solid var(--line); background: var(--bg-soft); color: var(--text); }
.tabs { display: flex; gap: 6px; margin-bottom: 8px; }
.tabs button { flex: 1; padding: 10px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg-soft); color: var(--muted); font-weight: 700; }
.tabs button.on { background: var(--grad); color: white; border-color: transparent; }
.err { color: var(--flamingo); font-size: 13px; min-height: 18px; margin-top: 6px; }

/* misc */
.empty { text-align: center; color: var(--muted); padding: 46px 20px; }
.spinner { border: 3px solid var(--millennial); border-top-color: var(--flamingo); border-radius: 50%; width: 30px; height: 30px; animation: spin .8s linear infinite; margin: 44px auto; }
@keyframes spin { to { transform: rotate(360deg); } }
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); background: var(--text); color: white; padding: 12px 20px; border-radius: 999px; z-index: 200; box-shadow: var(--shadow); font-size: 14px; }

/* ================= LANDING ================= */
.landing { max-width: 100%; padding: 0; }
.lp-hero { max-width: 1180px; margin: 0 auto; padding: 40px 22px 20px; display: grid; grid-template-columns: 1.05fr .95fr; gap: 30px; align-items: center; }
@media (max-width: 820px) { .lp-hero { grid-template-columns: 1fr; text-align: center; } }
.lp-hero h1 { font-size: clamp(38px, 6vw, 62px); line-height: 1.02; letter-spacing: -1.5px; margin: 0 0 18px; font-weight: 800; }
.lp-hero h1 .g { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand-taglines { font-weight: 700; font-size: 17px; margin: 10px 0 18px; letter-spacing: .2px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand-taglines span { color: var(--line-2); -webkit-text-fill-color: var(--line-2); margin: 0 4px; }
@media (max-width: 820px) { .brand-taglines { font-size: 15px; } }
.lp-hero p.lead { font-size: 19px; color: var(--blush); max-width: 520px; margin: 0 0 26px; line-height: 1.5; }
@media (max-width: 820px) { .lp-hero p.lead { margin-inline: auto; } }
.lp-cta { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 820px) { .lp-cta { justify-content: center; } }
.lp-cta .btn { padding: 14px 26px; font-size: 16px; }
.lp-orbit { position: relative; aspect-ratio: 1; max-width: 440px; margin: 0 auto; width: 100%; }
.lp-orbit .blob { position: absolute; inset: 8%; border-radius: 46% 54% 52% 48% / 54% 46% 54% 46%; background: var(--grad); filter: blur(2px); opacity: .95; animation: morph 8s ease-in-out infinite; }
@keyframes morph { 0%,100% { border-radius: 46% 54% 52% 48% / 54% 46% 54% 46%; } 50% { border-radius: 54% 46% 44% 56% / 46% 58% 42% 54%; } }
.lp-orbit .face { position: absolute; width: 84px; height: 84px; border-radius: 50%; background: var(--panel); display: grid; place-items: center; font-size: 40px; box-shadow: var(--shadow); border: 3px solid #fff; }
.lp-orbit .f1 { top: 4%; left: 34%; } .lp-orbit .f2 { top: 32%; right: 2%; } .lp-orbit .f3 { bottom: 6%; right: 22%; }
.lp-orbit .f4 { bottom: 14%; left: 4%; } .lp-orbit .f5 { top: 40%; left: 26%; font-size: 30px; width: 64px; height: 64px; }
.lp-center-tag { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); background: #fff; color: var(--flamingo); font-weight: 800; padding: 10px 18px; border-radius: 999px; box-shadow: var(--shadow); font-size: 15px; }

.lp-modes { max-width: 1180px; margin: 30px auto; padding: 0 22px; display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
@media (max-width: 720px) { .lp-modes { grid-template-columns: 1fr; } }
.mode { border-radius: 20px; padding: 26px; color: #fff; min-height: 180px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; position: relative; overflow: hidden; }
.mode h3 { margin: 0 0 6px; font-size: 22px; }
.mode p { margin: 0; opacity: .92; font-size: 14px; }
.mode .em { position: static; font-size: 44px; opacity: .95; margin-bottom: 10px; }
.mode.date { background: linear-gradient(150deg, #F58A98, #E14B6A); }
.mode.bff { background: linear-gradient(150deg, #F9B4A8, var(--flamingo)); }
.mode.net { background: linear-gradient(150deg, var(--blush), #A9756F); }

.lp-features { max-width: 1180px; margin: 40px auto; padding: 0 22px; }
.lp-features h2 { text-align: center; font-size: 32px; letter-spacing: -.8px; margin: 0 0 8px; }
.lp-features .sub { text-align: center; color: var(--muted); margin: 0 auto 28px; max-width: 520px; }
.feat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px,1fr)); gap: 16px; }
.feat { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 22px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; align-items: center; text-align: center; }
.feat .fi { width: 46px; height: 46px; border-radius: 13px; background: var(--millennial-soft); display: grid; place-items: center; font-size: 24px; margin-bottom: 12px; }
.feat h4 { margin: 0 0 6px; font-size: 17px; }
.feat p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.lp-band { background: var(--grad); color: #fff; text-align: center; padding: 54px 22px; margin-top: 30px; }
.lp-band h2 { font-size: 34px; margin: 0 0 10px; letter-spacing: -.6px; }
.lp-band p { opacity: .95; margin: 0 0 22px; font-size: 17px; }
.lp-band .btn { background: #fff; color: var(--flamingo); border: none; padding: 14px 30px; font-size: 16px; }
.lp-footer { text-align: center; color: var(--muted); padding: 30px 22px; font-size: 13px; }
.pill-row { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 22px; }
.pill { background: var(--panel); border: 1px solid var(--line); border-radius: 999px; padding: 8px 15px; font-size: 13px; color: var(--muted); box-shadow: var(--shadow-sm); }

/* ================= STORIES ================= */
/* ---------------- Budlic Club (VIP) ---------------- */
.club-hero { text-align: center; padding: 26px 18px; border-radius: var(--radius); background: linear-gradient(135deg, #2B2530, #4A3B52); color: #fff; box-shadow: var(--shadow-sm); }
.club-hero .club-crest { font-size: 46px; }
.club-hero h1 { margin: 6px 0; font-size: 30px; letter-spacing: .5px; }
.club-hero p { max-width: 560px; margin: 0 auto; color: #E9DCEA; line-height: 1.6; }
.club-tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 20px; }
@media (max-width: 820px) { .club-tiers { grid-template-columns: 1fr; } }
.club-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); position: relative; overflow: hidden; }
.club-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--flamingo); }
.club-card.tier-gold::before { background: linear-gradient(90deg, #E6B450, #F4D06F); }
.club-card.tier-platinum::before { background: linear-gradient(90deg, #9AA4B2, #C9D2DE); }
.club-card.tier-diamond::before { background: linear-gradient(90deg, #7C4DFF, #B388FF); }
.club-card .cc-emoji { font-size: 34px; }
.club-card h2 { margin: 6px 0 2px; font-size: 22px; }
.cc-tag { color: var(--muted); font-size: 13px; min-height: 34px; }
.cc-price { margin: 10px 0 2px; } .cc-price b { font-size: 26px; color: var(--text); } .cc-price span { color: var(--muted); }
.cc-annual { font-size: 12px; color: var(--muted); }
.cc-invite { display: inline-block; margin-top: 8px; font-size: 12px; font-weight: 700; color: #7C4DFF; }
.cc-seats { font-size: 12px; color: var(--flamingo); margin-top: 4px; }
.cc-benefits { list-style: none; padding: 0; margin: 14px 0; display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; flex: 1; }
.cc-benefits .more { color: var(--muted); font-style: italic; }
.cc-apply { width: 100%; }
/* Digital membership card */
.member-card { border-radius: 18px; padding: 22px; color: #fff; background: linear-gradient(135deg, #2B2530, #4A3B52); box-shadow: 0 12px 30px rgba(43,37,48,.28); position: relative; overflow: hidden; }
.member-card.tier-gold { background: linear-gradient(135deg, #6E5A2E, #C9A34E); }
.member-card.tier-platinum { background: linear-gradient(135deg, #4C5563, #99A3B2); }
.member-card.tier-diamond { background: linear-gradient(135deg, #3A2E6E, #7C4DFF); }
.mc-top { display: flex; justify-content: space-between; align-items: center; font-size: 12px; letter-spacing: 2px; opacity: .9; }
.mc-tier { font-weight: 800; letter-spacing: .3px; }
.mc-name { font-size: 24px; font-weight: 800; margin-top: 22px; }
.mc-no { font-family: ui-monospace, monospace; letter-spacing: 2px; opacity: .95; margin-top: 4px; }
.mc-foot { display: flex; justify-content: space-between; font-size: 12px; opacity: .85; margin-top: 16px; max-width: 62%; }
.mc-qr { position: absolute; right: 20px; bottom: 18px; background: #fff; padding: 6px; border-radius: 8px; }
.qr-grid { display: grid; grid-template-columns: repeat(7, 6px); grid-auto-rows: 6px; gap: 1px; }
.qr-grid i { background: transparent; } .qr-grid i.on { background: #1a1420; }
.club-actions { display: flex; gap: 6px; flex-wrap: wrap; margin: 16px 0; }
.ca-tab { border: 1px solid var(--line); background: var(--panel); padding: 9px 14px; border-radius: 999px; font-weight: 600; font-size: 13.5px; cursor: pointer; color: var(--muted); }
.ca-tab.on { background: var(--flamingo); color: #fff; border-color: var(--flamingo); }
.benefit-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 8px; }
.benefit-chip { background: var(--millennial-soft, #FDF0F3); border-radius: 10px; padding: 8px 12px; font-size: 13px; font-weight: 600; }
.exp-row { display: flex; flex-direction: column; gap: 10px; }
.exp-card { display: flex; align-items: center; gap: 12px; padding: 10px; border: 1px solid var(--line); border-radius: 12px; }
.exp-card .exp-emoji { font-size: 26px; } .exp-card > div { flex: 1; }
.con-item { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.con-item:last-child { border-bottom: none; }
/* ---------------- AI re-engagement banner ---------------- */
.reengage-card { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; margin-top: 12px; color: #fff; background: linear-gradient(135deg, #F58A98, var(--flamingo)); box-shadow: 0 8px 22px rgba(244,109,109,.22); }
.reengage-card .re-emoji { font-size: 26px; }
.reengage-card .re-text { flex: 1; font-weight: 600; line-height: 1.35; }
.reengage-card .btn.primary { background: #fff; color: var(--flamingo); border: none; }
.reengage-card .re-close { background: rgba(255,255,255,.25); color: #fff; border: none; width: 26px; height: 26px; border-radius: 999px; cursor: pointer; font-size: 12px; flex: none; }
/* ---------------- AI content generator ---------------- */
.gen-modal { max-width: 520px; }
.gen-types, .gen-tones { display: flex; flex-wrap: wrap; gap: 6px; }
.gen-type, .gen-tone { border: 1px solid var(--line); background: var(--panel); padding: 7px 12px; border-radius: 999px; font-weight: 600; font-size: 13px; cursor: pointer; color: var(--muted); }
.gen-type.on, .gen-tone.on { background: var(--flamingo); color: #fff; border-color: var(--flamingo); }
.gen-type:hover, .gen-tone:hover { border-color: var(--flamingo); }
.gen-out { margin-top: 14px; display: flex; flex-direction: column; gap: 10px; max-height: 320px; overflow-y: auto; }
.gen-card { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; background: var(--panel); }
.gen-card p { margin: 0 0 10px; line-height: 1.55; white-space: pre-wrap; }
.gen-actions { display: flex; gap: 8px; justify-content: flex-end; }
/* ---------------- Social Challenges ---------------- */
.chal-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.chal-card { display: flex; flex-direction: column; padding: 16px; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; text-decoration: none; color: var(--text); box-shadow: var(--shadow-sm); transition: transform .12s, border-color .12s; }
.chal-card:hover { transform: translateY(-3px); border-color: var(--flamingo); }
.chal-top { display: flex; justify-content: space-between; align-items: center; }
.chal-emoji { font-size: 30px; }
.chal-streak { background: var(--millennial-soft, #FDF0F3); color: var(--flamingo); font-weight: 800; font-size: 13px; padding: 3px 10px; border-radius: 999px; }
.chal-days { font-size: 12px; color: var(--muted); font-weight: 600; }
.chal-title { font-weight: 700; font-size: 16px; margin: 8px 0 4px; }
.chal-desc { font-size: 13px; color: var(--muted); line-height: 1.4; min-height: 34px; }
.chal-meta { font-size: 12.5px; color: var(--muted); margin-top: 8px; }
.chal-prog { font-size: 12px; color: var(--muted); margin-top: 5px; font-weight: 600; }
.chal-card .mi-bar { margin-top: 10px; }
.chal-hero { display: flex; gap: 18px; align-items: center; }
.chal-ring { width: 96px; height: 96px; border-radius: 50%; flex: none; background: conic-gradient(var(--flamingo) calc(var(--pct) * 1%), var(--line) 0); display: grid; place-items: center; }
.chal-ring-in { width: 78px; height: 78px; border-radius: 50%; background: var(--panel); display: flex; flex-direction: column; align-items: center; justify-content: center; }
.chal-ring-in .cr-emoji { font-size: 26px; } .chal-ring-in b { font-size: 15px; color: var(--flamingo); }
.chal-stats { margin-top: 8px; font-weight: 600; font-size: 13.5px; }
.chal-done { font-weight: 800; color: var(--flamingo); font-size: 18px; }
.chal-board { display: flex; flex-direction: column; gap: 4px; }
.chal-row { display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 12px; }
.chal-row.me { background: var(--millennial-soft, #FDF0F3); }
.chal-rank { width: 30px; font-weight: 800; text-align: center; }
.chal-row .avatar { width: 34px; height: 34px; font-size: 17px; text-decoration: none; }
.chal-name { flex: 1; font-weight: 600; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chal-cnt { color: var(--muted); font-size: 12.5px; }
/* ---------------- Creator Studio ---------------- */
.creator-hero { text-align: center; padding: 40px 20px; }
.ch-orb { font-size: 54px; filter: drop-shadow(0 8px 18px rgba(244,109,109,.3)); animation: floaty 3s ease-in-out infinite; }
.creator-hero h1 { font-size: 26px; margin: 10px 0 6px; }
.creator-hero p { color: var(--muted); max-width: 460px; margin: 0 auto 18px; line-height: 1.6; }
.cs-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.cs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 14px 0; }
.cs-tile { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 14px; text-align: center; box-shadow: var(--shadow-sm); }
.cs-n { font-size: 22px; font-weight: 800; } .cs-l { font-size: 11.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .5px; }
.cs-earn { background: linear-gradient(135deg, #2B2530, #4A3B52); color: #fff; border-radius: 16px; padding: 18px; }
.cs-earn-n { font-size: 26px; font-weight: 800; } .cs-earn .cs-l { color: #E4D8E8; }
.cs-earn-split { display: flex; gap: 16px; margin-top: 10px; font-size: 13px; color: #E9DCEA; flex-wrap: wrap; }
.cs-earn-cta { margin-top: 10px; font-size: 12.5px; color: #C9B6FF; }
.cs-posts { display: flex; flex-direction: column; gap: 8px; }
.cs-post { display: flex; justify-content: space-between; gap: 12px; padding: 12px 14px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: var(--text); }
.cs-post:hover { border-color: var(--flamingo); }
.cs-post-stats { color: var(--muted); font-size: 12.5px; white-space: nowrap; }
.creator-badge-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.creator-chip { background: var(--millennial-soft, #FDF0F3); color: var(--flamingo); font-weight: 700; font-size: 13px; padding: 5px 12px; border-radius: 999px; }
.creator-badge-row .cs-sub { font-size: 13px; color: var(--muted); }
/* ---------------- AI smart-feed cards ---------------- */
.smart-card { background: linear-gradient(135deg, #FFF, var(--millennial-soft, #FDF0F3)); border: 1px solid var(--line); border-left: 3px solid var(--flamingo); border-radius: 14px; padding: 14px 16px; margin-bottom: 16px; box-shadow: var(--shadow-sm); }
.smart-card .sc-flag { font-size: 10.5px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; color: var(--flamingo); margin-bottom: 6px; }
.smart-card .sc-title { font-weight: 700; font-size: 15px; margin-bottom: 8px; }
.smart-card .sc-row { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.smart-card .sc-emoji { font-size: 26px; }
.smart-card .sc-sub { color: var(--muted); font-size: 12.5px; }
.smart-card .sc-people { display: flex; gap: 8px; margin-bottom: 10px; flex-wrap: wrap; }
.smart-card .sc-person { display: flex; flex-direction: column; align-items: center; gap: 2px; text-decoration: none; color: var(--text); width: 88px; text-align: center; }
.smart-card .sc-person .avatar { width: 42px; height: 42px; font-size: 22px; }
.smart-card .sc-person b { font-size: 13px; } .smart-card .sc-person .sc-sub { font-size: 10.5px; line-height: 1.2; }
.smart-card .sc-offer { display: inline-block; background: var(--flamingo); color: #fff; font-weight: 700; font-size: 12.5px; padding: 5px 12px; border-radius: 999px; }
/* ---------------- Q&A (Quora-style) ---------------- */
.qa-wrap { max-width: 820px; margin: 0 auto; }
.qa-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.qa-topics { display: flex; gap: 8px; flex-wrap: wrap; margin: 14px 0 6px; }
.qa-topic { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--panel); text-decoration: none; color: var(--text); font-weight: 600; font-size: 13px; }
.qa-topic.on, .qa-topic:hover { border-color: var(--flamingo); color: var(--flamingo); }
.qa-topic span { color: var(--muted); font-weight: 500; margin-left: 3px; }
.qa-sort { display: flex; gap: 6px; margin: 12px 0; }
.qa-sort button { border: 1px solid var(--line); background: var(--panel); padding: 7px 14px; border-radius: 999px; font-weight: 600; font-size: 13px; cursor: pointer; color: var(--muted); }
.qa-sort button.on { background: var(--flamingo); color: #fff; border-color: var(--flamingo); }
.qa-list { display: flex; flex-direction: column; gap: 10px; }
.qa-item { display: flex; gap: 14px; align-items: center; padding: 14px 16px; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; text-decoration: none; color: var(--text); box-shadow: var(--shadow-sm); }
.qa-item:hover { border-color: var(--flamingo); }
.qa-stat { text-align: center; min-width: 56px; } .qa-stat b { display: block; font-size: 20px; } .qa-stat span { font-size: 11px; color: var(--muted); }
.qa-title { font-weight: 700; font-size: 16px; line-height: 1.35; }
.qa-meta { font-size: 12.5px; color: var(--muted); margin-top: 4px; } .qa-meta a { color: var(--flamingo); }
.qa-answer { display: flex; gap: 14px; padding: 16px; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; margin-bottom: 10px; }
.qa-answer.best { border-color: var(--flamingo); background: var(--millennial-soft, #FDF0F3); }
.qa-vote { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.qa-up { width: 34px; height: 34px; border-radius: 10px; border: 1px solid var(--line); background: var(--panel); cursor: pointer; font-size: 14px; color: var(--muted); }
.qa-up.on { background: var(--flamingo); color: #fff; border-color: var(--flamingo); }
.qa-votes { font-size: 15px; }
.qa-best-badge { display: inline-block; font-weight: 800; color: var(--flamingo); font-size: 13px; margin-bottom: 6px; }
.qa-solved { color: var(--flamingo); }
/* ---------------- Daily missions & "Today" retention panel ---------------- */
.today-card { background: linear-gradient(135deg, #FFF, var(--millennial-soft, #FDF0F3)); border: 1px solid var(--line); border-radius: 16px; padding: 16px; margin-top: 12px; box-shadow: var(--shadow-sm); }
.today-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.today-part { font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); }
.today-greet { font-size: 18px; font-weight: 800; }
.today-score { font-size: 13px; font-weight: 700; white-space: nowrap; } .today-score span { color: var(--flamingo); }
.today-prompts { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0; }
.today-chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: 999px; background: var(--panel); border: 1px solid var(--line); text-decoration: none; color: var(--text); font-weight: 600; font-size: 13px; }
.today-chip:hover { border-color: var(--flamingo); color: var(--flamingo); }
.missions-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(128px, 1fr); gap: 8px; overflow-x: auto; padding-bottom: 4px; }
@media (max-width: 640px) { .missions-row { grid-auto-columns: minmax(120px, 46%); } }
.mission { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 10px; }
.mission.done { border-color: var(--flamingo); background: var(--millennial-soft, #FDF0F3); }
.mi-top { display: flex; justify-content: space-between; align-items: center; }
.mi-icon { font-size: 22px; } .mi-pts { font-size: 11px; font-weight: 800; color: var(--flamingo); }
.mi-label { font-size: 12.5px; font-weight: 600; margin: 6px 0 8px; line-height: 1.3; min-height: 32px; }
.mi-bar { height: 6px; border-radius: 999px; background: var(--line); overflow: hidden; }
.mi-bar i { display: block; height: 100%; background: var(--flamingo); border-radius: 999px; transition: width .4s; }
.mi-prog { font-size: 11px; color: var(--muted); margin-top: 5px; font-weight: 600; }
.mission.done .mi-prog { color: var(--flamingo); }
/* Brand location marker (replaces the round-pushpin emoji everywhere) */
.pin-ic { width: 1em; height: 1em; display: inline-block; vertical-align: -0.14em; fill: var(--flamingo); flex: none; }
.bottom-nav .pin-ic, .bi .pin-ic { width: 1.25em; height: 1.25em; vertical-align: middle; }
.fi .pin-ic { width: 1em; height: 1em; }
/* Brand home glyph — inherits link colour (muted → flamingo on active). */
.home-ic { width: 1em; height: 1em; display: inline-block; vertical-align: -0.14em; fill: currentColor; flex: none; }
.bottom-nav .home-ic, .bi .home-ic { width: 1.25em; height: 1.25em; vertical-align: middle; }
.sidenav a .i .home-ic { vertical-align: -0.16em; }
/* ---------------- AI Life Assistant ---------------- */
.asst-hero { text-align: center; padding: 30px 20px 14px; }
.asst-orb { font-size: 50px; filter: drop-shadow(0 8px 18px rgba(124,77,255,.3)); animation: floaty 3s ease-in-out infinite; }
.asst-hero h1 { font-size: 26px; margin: 8px 0 6px; }
.asst-hero p { color: var(--muted); max-width: 560px; margin: 0 auto; line-height: 1.6; }
.asst-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; margin: 20px 0; }
.asst-intent { display: flex; flex-direction: column; gap: 3px; padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); text-decoration: none; color: var(--text); box-shadow: var(--shadow-sm); transition: transform .12s, border-color .12s, box-shadow .12s; }
.asst-intent:hover { transform: translateY(-3px); border-color: var(--flamingo); box-shadow: 0 10px 24px rgba(244,109,109,.16); }
.asst-intent .ai-emoji { font-size: 30px; }
.asst-intent .ai-label { font-weight: 700; font-size: 15px; margin-top: 4px; }
.asst-intent .ai-prompt { font-size: 12px; color: var(--muted); }
.asst-q { text-align: center; padding: 10px 0 6px; } .asst-q .aq-emoji { font-size: 40px; } .asst-q h1 { font-size: 22px; margin: 6px 0; }
.asst-form { display: flex; flex-direction: column; gap: 18px; max-width: 640px; margin: 16px auto; }
.aq label { display: block; font-weight: 700; margin-bottom: 8px; }
.aq-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.aq-opts .opt { padding: 9px 15px; border: 1px solid var(--line); border-radius: 999px; background: var(--panel); cursor: pointer; font-weight: 600; font-size: 13.5px; }
.aq-opts .opt:hover { border-color: var(--flamingo); }
.aq-opts .opt.on { background: var(--flamingo); color: #fff; border-color: var(--flamingo); }
.aq input[type=text], .aq input:not([type]) { width: 100%; padding: 11px 14px; border: 1px solid var(--line); border-radius: 12px; }
.aq input[type=range] { width: 100%; accent-color: var(--flamingo); }
.aq-budget { text-align: center; font-weight: 700; color: var(--flamingo); margin-top: 6px; }
.card [data-short].on { background: var(--flamingo); color: #fff; border-color: var(--flamingo); }
/* ---------------- Mood (AI Life Companion) ---------------- */
.mood-wrap { max-width: 900px; margin: 0 auto; }
.mood-hero { text-align: center; padding: 34px 20px 20px; }
.mood-orb { font-size: 54px; filter: drop-shadow(0 8px 18px rgba(244,109,109,.35)); animation: floaty 3s ease-in-out infinite; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.mood-hero h1 { font-size: 28px; margin: 10px 0 6px; }
.mood-hero p { color: var(--muted); max-width: 520px; margin: 0 auto; line-height: 1.6; }
.mood-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; margin: 20px 0; }
.mood-chip { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 14px 8px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); cursor: pointer; font-weight: 600; font-size: 13px; transition: transform .12s, border-color .12s, box-shadow .12s; }
.mood-chip:hover { transform: translateY(-3px); border-color: var(--flamingo); box-shadow: 0 8px 20px rgba(244,109,109,.16); }
.mood-chip .me { font-size: 26px; }
.mood-custom { display: flex; gap: 8px; align-items: center; justify-content: center; flex-wrap: wrap; }
.mood-custom input { flex: 1; min-width: 200px; max-width: 340px; padding: 11px 14px; border: 1px solid var(--line); border-radius: 12px; }
.mood-greet { display: flex; gap: 14px; align-items: flex-start; background: linear-gradient(135deg, #FFF, var(--millennial-soft, #FDF0F3)); border: 1px solid var(--line); border-radius: 18px; padding: 18px; }
.mood-greet .mg-emoji { font-size: 40px; }
.mood-greet h1 { font-size: 20px; margin: 0 0 8px; line-height: 1.4; }
.mood-ctx { display: flex; gap: 6px; flex-wrap: wrap; }
.mood-h { font-size: 18px; margin: 22px 0 12px; }
.mood-act .actions { flex-wrap: wrap; }
.gift-row, .buddy-invite-row { display: flex; gap: 10px; flex-wrap: wrap; }
.gift-chip, .binv { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--panel); cursor: pointer; font-weight: 600; font-size: 13px; }
.gift-chip span { font-size: 18px; } .binv .avatar { width: 26px; height: 26px; font-size: 14px; }
.gift-chip:hover, .binv:hover { border-color: var(--flamingo); }
.mood-cta { text-align: center; margin: 26px 0; }
.itin { display: flex; flex-direction: column; gap: 8px; margin: 12px 0; }
.itin-step { display: flex; gap: 8px; align-items: center; }
.itin-step .it-emoji { width: 46px; text-align: center; } .itin-step .it-time { width: 110px; } .itin-step .it-title { flex: 1; }
.itin-step input { padding: 9px 11px; border: 1px solid var(--line); border-radius: 10px; }
/* ---------- Budlic Club: badges, landing, subscription, confirmation, themes ---------- */
.club-badge { display: inline-flex; align-items: center; gap: 3px; padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 800; vertical-align: middle; box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.club-badge.lg { font-size: 13px; padding: 3px 12px; }

.club-landing { max-width: 1040px; margin: 0 auto; }
.cl-hero { border-radius: 22px; padding: 60px 24px; text-align: center; color: #fff; background: radial-gradient(circle at 50% -20%, #5A4A66, #241C2C 70%); box-shadow: 0 20px 50px rgba(36,28,44,.35); position: relative; overflow: hidden; }
.cl-hero::after { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(45deg, rgba(255,255,255,.03) 0 2px, transparent 2px 22px); pointer-events: none; }
.cl-crest { font-size: 56px; filter: drop-shadow(0 6px 14px rgba(0,0,0,.4)); }
.cl-crest.sm { font-size: 38px; }
.cl-hero h1 { font-size: 42px; margin: 10px 0 12px; letter-spacing: .5px; }
.cl-sub { max-width: 620px; margin: 0 auto; color: #E4D8E8; line-height: 1.7; font-size: 16px; }
.cl-cta { margin-top: 26px; display: flex; gap: 12px; justify-content: center; align-items: center; flex-wrap: wrap; }
.btn.lg { padding: 13px 26px; font-size: 16px; border-radius: 12px; }
.cl-section { margin: 40px 0; }
.cl-section h2 { text-align: center; font-size: 26px; margin-bottom: 22px; }
.cl-who { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.cl-who-item { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 16px; text-align: center; font-weight: 600; font-size: 14px; box-shadow: var(--shadow-sm); }
.cl-who-item span { display: block; font-size: 30px; margin-bottom: 6px; }
.cl-benefits { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.cl-benefit { display: flex; align-items: center; gap: 12px; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; box-shadow: var(--shadow-sm); font-weight: 600; }
.cl-benefit .cb-icon { font-size: 24px; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: var(--millennial-soft, #FDF0F3); }
.cl-foot { text-align: center; padding: 40px 20px; background: linear-gradient(135deg, #2B2530, #4A3B52); color: #fff; border-radius: 22px; }
.cl-foot p { max-width: 540px; margin: 10px auto 20px; color: #E4D8E8; line-height: 1.6; }
.cl-member { display: inline-flex; }

.bill-toggle { display: flex; gap: 0; justify-content: center; margin: 6px 0 22px; }
.bill-toggle button { border: 1px solid var(--line); background: var(--panel); padding: 10px 22px; font-weight: 700; cursor: pointer; color: var(--muted); }
.bill-toggle button:first-child { border-radius: 999px 0 0 999px; }
.bill-toggle button:last-child { border-radius: 0 999px 999px 0; }
.bill-toggle button.on { background: var(--flamingo); color: #fff; border-color: var(--flamingo); }
.bill-toggle .save { font-size: 10px; background: rgba(255,255,255,.25); padding: 1px 6px; border-radius: 999px; margin-left: 4px; }
.club-card.join { align-items: stretch; }
.club-card.join .cc-h { margin: 12px 0 4px; font-size: 12px; text-transform: uppercase; letter-spacing: .5px; color: var(--muted); }
.badge-preview { margin: 8px 0; font-size: 12px; color: var(--muted); }
.theme-preview { margin: 8px 0; border-radius: 10px; padding: 10px; color: #fff; text-align: center; font-size: 12px; font-weight: 700; text-shadow: 0 1px 2px rgba(0,0,0,.3); }

.pay-box, .cf-invoice { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; margin: 12px 0; }
.pay-row { display: flex; justify-content: space-between; padding: 5px 0; font-size: 14px; }
.pay-row.muted, .pay-row .muted { color: var(--muted); }
.pay-row.total { border-top: 1px solid var(--line); margin-top: 4px; padding-top: 8px; font-size: 16px; }
.pay-methods { margin-top: 10px; font-size: 20px; }
.pay-secure { font-size: 12px; color: var(--muted); }
.club-confirm { max-width: 560px; margin: 30px auto; text-align: center; background: var(--panel); border: 1px solid var(--line); border-radius: 22px; padding: 40px 28px; box-shadow: var(--shadow-sm); border-top: 6px solid var(--flamingo); }
.club-confirm.tier-gold { border-top-color: #C9A34E; } .club-confirm.tier-platinum { border-top-color: #99A3B2; } .club-confirm.tier-diamond { border-top-color: #7C4DFF; }
.cf-burst { font-size: 64px; animation: pop .5s ease; } @keyframes pop { from { transform: scale(0); } to { transform: scale(1); } }
.club-confirm h1 { font-size: 24px; margin: 10px 0; }
.cf-badge { margin: 14px 0; } .cf-note { color: var(--muted); font-size: 13px; margin-top: 14px; }
.cf-cta { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 18px; }

/* Membership themes — a tier unlocks accents on their own profile & club surfaces */
body[data-club-tier="gold"] .pfp, body[data-club-tier="gold"] .member-card { box-shadow: 0 0 0 3px #E6B450, var(--shadow-sm); }
body[data-club-tier="platinum"] .pfp { box-shadow: 0 0 0 3px #B9C3D0, var(--shadow-sm); }
body[data-club-tier="diamond"] .pfp { box-shadow: 0 0 0 3px #B388FF, var(--shadow-sm); }
@media (max-width: 640px) { .cl-hero h1 { font-size: 32px; } .cl-hero { padding: 44px 18px; } }
/* Standalone profile — no left sidebar, keeps the right rail; module bar under header */
.profile-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 20px; max-width: 1080px; margin: 0 auto; align-items: start; }
@media (max-width: 900px) { .profile-layout { grid-template-columns: 1fr; } .profile-layout .dash-right { display: none; } }
.profile-page { max-width: 760px; margin: 0 auto; }
.module-menu { display: flex; gap: 4px; flex-wrap: wrap; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 6px; margin: 14px 0; box-shadow: var(--shadow-sm); }
.module-menu a { padding: 8px 14px; border-radius: 10px; font-weight: 600; color: var(--text); text-decoration: none; font-size: 14px; white-space: nowrap; }
.module-menu a:hover { background: var(--millennial-soft, #FDF0F3); color: var(--flamingo); }
/* Profile-page tabs (Posts / About) */
.profile-tabs { display: flex; gap: 6px; margin: 14px 0; border-bottom: 1px solid var(--line); }
.ptab { border: none; background: none; padding: 10px 16px; font-size: 14px; font-weight: 600; color: var(--muted); cursor: pointer; border-bottom: 3px solid transparent; margin-bottom: -1px; border-radius: 8px 8px 0 0; }
.ptab:hover { background: var(--millennial-soft, #FDF0F3); color: var(--text); }
.ptab.on { color: var(--flamingo); border-bottom-color: var(--flamingo); }
/* Sidebar "you" card */
.sidenav-me { display: flex; align-items: center; gap: 10px; font-size: 15px; margin-bottom: 4px; }
.sidenav-me .avatar { width: 34px; height: 34px; font-size: 18px; }
.stories-bar { display: flex; gap: 12px; overflow-x: auto; padding: 4px 2px 8px; }
.stories-bar::-webkit-scrollbar { height: 6px; }
.stories-bar::-webkit-scrollbar-thumb { background: var(--millennial); border-radius: 999px; }
.story-cell, .story-add { flex: none; width: 92px; text-align: center; cursor: pointer; }
.story-thumb { width: 92px; height: 130px; border-radius: 15px; background-size: cover; background-position: center; padding: 3px; box-shadow: 0 0 0 3px var(--flamingo); position: relative; }
.story-thumb .who { position: absolute; bottom: 6px; left: 6px; font-size: 26px; }
.ring-add { width: 92px; height: 130px; border-radius: 15px; border: 2px dashed var(--line-2); display: grid; place-items: center; font-size: 30px; color: var(--flamingo); background: var(--millennial-soft); }
.story-cell span, .story-add span { display: block; font-size: 12px; margin-top: 5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.story-viewer { position: fixed; inset: 0; background: rgba(30,15,18,.92); z-index: 150; display: grid; place-items: center; }
.sv-card { width: min(420px, 94vw); height: min(76vh, 720px); border-radius: 18px; overflow: hidden; position: relative; background: #000; }
.sv-media { width: 100%; height: 100%; object-fit: cover; }
.sv-bars { position: absolute; top: 10px; left: 12px; right: 12px; display: flex; gap: 5px; z-index: 3; }
.sv-bars i { flex: 1; height: 3px; border-radius: 999px; background: rgba(255,255,255,.35); overflow: hidden; }
.sv-bars i b { display: block; height: 100%; width: 0; background: #fff; }
.sv-bars i.done b { width: 100%; }
.sv-bars i.active b { animation: svfill 4s linear forwards; }
@keyframes svfill { to { width: 100%; } }
.sv-head { position: absolute; top: 22px; left: 14px; right: 14px; display: flex; align-items: center; gap: 10px; color: #fff; z-index: 3; text-shadow: 0 1px 4px rgba(0,0,0,.5); }
.sv-head .avatar { width: 36px; height: 36px; font-size: 18px; background: rgba(255,255,255,.2); border: none; }
.sv-cap { position: absolute; bottom: 20px; left: 16px; right: 16px; color: #fff; font-size: 15px; text-shadow: 0 1px 6px rgba(0,0,0,.6); z-index: 3; }
.sv-nav { position: absolute; inset: 0; display: flex; z-index: 2; }
.sv-nav > div { flex: 1; }
.sv-close { position: absolute; top: 18px; right: 18px; color: #fff; font-size: 26px; z-index: 4; cursor: pointer; background: none; border: none; }

/* ================= SWIPE DECK ================= */
.deck-wrap { position: relative; width: min(400px, 92vw); height: 560px; margin: 10px auto 0; }
.swipe-card { position: absolute; inset: 0; background: var(--panel); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; user-select: none; }
.swipe-card .sc-top { height: 300px; background: var(--grad); display: grid; place-items: center; position: relative; }
.swipe-card .sc-emoji { font-size: 140px; filter: drop-shadow(0 8px 16px rgba(0,0,0,.15)); }
.swipe-card .sc-compat { position: absolute; top: 16px; right: 16px; background: #fff; color: var(--flamingo); font-weight: 800; padding: 8px 14px; border-radius: 999px; box-shadow: var(--shadow); font-size: 15px; }
.swipe-card .sc-verified { position: absolute; top: 16px; left: 16px; background: rgba(255,255,255,.9); color: var(--flamingo); padding: 5px 11px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.swipe-card .sc-body { padding: 16px 18px; overflow-y: auto; flex: 1; }
.swipe-card .sc-name { font-size: 24px; font-weight: 800; display: flex; align-items: center; gap: 8px; }
.swipe-card .sc-sub { color: var(--muted); margin: 4px 0 10px; }
.swipe-card .sc-reasons { font-size: 13px; color: var(--blush); margin-top: 10px; line-height: 1.6; }
.swipe-stamp { position: absolute; top: 40px; font-size: 34px; font-weight: 900; padding: 6px 16px; border-radius: 12px; border: 4px solid; opacity: 0; transform: rotate(-16deg); pointer-events: none; z-index: 5; }
.swipe-stamp.like { left: 24px; color: var(--good); border-color: var(--good); }
.swipe-stamp.nope { right: 24px; color: var(--flamingo); border-color: var(--flamingo); transform: rotate(16deg); }
.deck-actions { display: flex; gap: 18px; justify-content: center; margin: 22px 0; }
.deck-btn { width: 62px; height: 62px; border-radius: 50%; border: none; font-size: 26px; display: grid; place-items: center; box-shadow: var(--shadow-sm); background: var(--panel); border: 1px solid var(--line); transition: transform .1s; }
.deck-btn:hover { transform: scale(1.08); }
.deck-btn.pass { color: var(--flamingo); }
.deck-btn.like { color: var(--good); }
.deck-btn.super { color: #3B7DD8; }
.deck-btn.big { width: 72px; height: 72px; font-size: 30px; }

.match-modal { text-align: center; }
.match-modal .m-faces { display: flex; justify-content: center; gap: -10px; margin: 8px 0 16px; }
.match-modal .m-faces .avatar { width: 84px; height: 84px; font-size: 44px; }
.match-modal .m-faces .avatar:nth-child(2) { margin-left: -18px; }
.match-modal h2 { font-size: 30px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ================= CHAT RECEIPTS ================= */
.msg-status { text-align: right; font-size: 11px; color: var(--muted); margin: -2px 4px 6px auto; }
.msg-status.seen { color: var(--flamingo); font-weight: 600; }
.load-older { display: block; margin: 0 auto 10px; }

/* ================= CALLS (WebRTC) ================= */
.call-overlay { position: fixed; inset: 0; background: #140b12; z-index: 180; display: flex; flex-direction: column; }
.call-remote-wrap { flex: 1; position: relative; display: grid; place-items: center; overflow: hidden; }
.call-remote { width: 100%; height: 100%; object-fit: cover; background: #1c1220; }
.call-avatar-big { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; color: #fff; }
.call-avatar-big .a { width: 120px; height: 120px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; font-size: 60px; box-shadow: var(--shadow); }
.call-avatar-big .st { opacity: .85; font-size: 15px; }
.call-local { position: absolute; bottom: 100px; right: 18px; width: 140px; height: 190px; object-fit: cover; border-radius: 14px; border: 2px solid rgba(255,255,255,.5); background: #000; z-index: 2; transform: scaleX(-1); }
.call-name { position: absolute; top: 22px; left: 0; right: 0; text-align: center; color: #fff; font-size: 20px; font-weight: 700; text-shadow: 0 1px 6px rgba(0,0,0,.5); z-index: 2; }
.call-name .t { display: block; font-size: 14px; font-weight: 500; opacity: .85; margin-top: 2px; }
.call-controls { display: flex; gap: 16px; justify-content: center; padding: 20px; background: rgba(0,0,0,.25); }
.call-btn { width: 60px; height: 60px; border-radius: 50%; border: none; font-size: 24px; display: grid; place-items: center; color: #fff; background: rgba(255,255,255,.16); }
.call-btn:hover { background: rgba(255,255,255,.26); }
.call-btn.hang { background: var(--flamingo); }
.call-btn.off { background: #fff; color: #140b12; }

.incoming-call { position: fixed; top: 20px; left: 50%; transform: translateX(-50%); z-index: 190; background: var(--panel); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 20px 50px rgba(120,60,65,.3); padding: 16px 18px; display: flex; align-items: center; gap: 14px; min-width: 320px; animation: ring-in .3s ease; }
@keyframes ring-in { from { transform: translate(-50%,-20px); opacity: 0; } to { transform: translate(-50%,0); opacity: 1; } }
.incoming-call .avatar { width: 48px; height: 48px; font-size: 24px; }
.incoming-call .ic-actions { margin-left: auto; display: flex; gap: 8px; }
.ic-accept { background: var(--good); color: #fff; border: none; width: 44px; height: 44px; border-radius: 50%; font-size: 20px; }
.ic-decline { background: var(--flamingo); color: #fff; border: none; width: 44px; height: 44px; border-radius: 50%; font-size: 20px; }
.call-btn-hdr { border: 1px solid var(--line); background: var(--bg-soft); border-radius: 50%; width: 38px; height: 38px; font-size: 17px; }
.call-btn-hdr:hover { border-color: var(--flamingo); }

/* ================= COMMUNITY CHAT ================= */
.room { display: flex; flex-direction: column; height: 460px; }
.room-log { flex: 1; overflow-y: auto; padding: 6px 2px; display: flex; flex-direction: column; gap: 8px; }
.room-msg { display: flex; gap: 9px; align-items: flex-start; }
.room-msg .avatar { width: 34px; height: 34px; font-size: 17px; }
.room-msg .rm-bubble { background: var(--bg-soft); border-radius: 12px; padding: 8px 12px; max-width: 78%; }
.room-msg.mine { flex-direction: row-reverse; }
.room-msg.mine .rm-bubble { background: var(--millennial-soft); }
.room-msg .rm-who { font-size: 12px; font-weight: 700; color: var(--flamingo); margin-bottom: 2px; }
.room-msg .rm-time { font-size: 10px; color: var(--muted); }
.room-input { display: flex; gap: 8px; margin-top: 10px; }
.room-input input { flex: 1; border: 1px solid var(--line); background: var(--bg-soft); border-radius: 999px; padding: 10px 14px; color: var(--text); }

/* ================= GROUP CALL ================= */
.gcall-grid { position: absolute; inset: 0; display: grid; gap: 8px; padding: 12px; grid-auto-rows: 1fr; }
.gtile { position: relative; background: #1c1220; border-radius: 14px; overflow: hidden; display: grid; place-items: center; }
.gtile video { width: 100%; height: 100%; object-fit: cover; }
.gtile.self video { transform: scaleX(-1); }
.gtile .gt-emoji { font-size: 54px; }
.gtile .gt-name { position: absolute; bottom: 8px; left: 10px; color: #fff; font-size: 13px; font-weight: 600; text-shadow: 0 1px 4px rgba(0,0,0,.6); }
.enable-push { background: var(--millennial-soft); border: 1px dashed var(--line-2); border-radius: 12px; padding: 12px 14px; display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }

/* ================= PREMIUM ================= */
.plan-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px,1fr)); gap: 16px; }
.plan { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 22px; box-shadow: var(--shadow-sm); position: relative; }
.plan.gold { border-color: var(--gold); box-shadow: 0 10px 30px rgba(231,169,40,.18); }
.plan h3 { margin: 0 0 4px; font-size: 20px; }
.plan .price { font-size: 32px; font-weight: 800; color: var(--flamingo); margin: 6px 0; }
.plan .price small { font-size: 14px; font-weight: 500; color: var(--muted); }
.plan.gold .price { color: var(--gold); }
.plan ul { list-style: none; padding: 0; margin: 14px 0; }
.plan li { padding: 6px 0; font-size: 14px; display: flex; gap: 8px; }
.plan li::before { content: '✓'; color: var(--good); font-weight: 800; }
.premium-hero { background: linear-gradient(135deg, #F58A98, #E14B6A); color: #fff; border-radius: 20px; padding: 26px; margin-bottom: 20px; }
.premium-hero h1 { margin: 0 0 6px; font-size: 30px; }
.premium-hero.gold { background: linear-gradient(135deg, #F3C34D, #D9962A); }
.likes-you-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px,1fr)); gap: 14px; }
.liked-card { border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: var(--panel); text-align: center; padding: 16px; position: relative; }
.liked-card.locked { filter: none; }
.liked-card.locked .lc-inner { filter: blur(7px); pointer-events: none; }
.liked-card .lc-emoji { font-size: 44px; }
.liked-card .super-tag { position: absolute; top: 8px; right: 8px; font-size: 12px; background: #3B7DD8; color: #fff; padding: 2px 8px; border-radius: 999px; font-weight: 700; }
.lock-overlay { position: absolute; inset: 0; display: grid; place-items: center; }
.badge-premium { color: var(--flamingo); }

/* ================= AUDIO ROOMS ================= */
.rooms-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px,1fr)); gap: 16px; }
.room-card { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 18px; box-shadow: var(--shadow-sm); }
.room-card .live-dot { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 700; color: var(--flamingo); }
.room-card .live-dot i { width: 8px; height: 8px; border-radius: 50%; background: var(--flamingo); animation: pulse 1.4s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .3; } }
.room-card .spk-row { display: flex; gap: -8px; margin: 10px 0; }
.room-card .spk-row .avatar { width: 38px; height: 38px; font-size: 18px; margin-right: -8px; border: 2px solid var(--panel); }
.stage { display: grid; grid-template-columns: repeat(auto-fill, minmax(90px,1fr)); gap: 16px; margin: 18px 0; }
.stage-person { text-align: center; }
.stage-person .a { width: 68px; height: 68px; border-radius: 50%; background: var(--millennial-soft); display: grid; place-items: center; font-size: 34px; margin: 0 auto 6px; border: 3px solid transparent; position: relative; }
.stage-person.speaking .a { border-color: var(--good); box-shadow: 0 0 0 4px rgba(47,181,110,.2); }
.stage-person .nm { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stage-person .rl { font-size: 11px; color: var(--muted); }
.stage-person .hand { position: absolute; bottom: -2px; right: -2px; font-size: 18px; }
.stage-person .mic-off { position: absolute; bottom: -2px; right: -2px; font-size: 15px; }
.room-toolbar { display: flex; gap: 10px; justify-content: center; padding: 16px; background: var(--bg-soft); border-radius: 16px; position: sticky; bottom: 12px; }

/* ================= GAMIFICATION ================= */
.xp-hero { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; margin-bottom: 22px; }
@media (max-width: 640px) { .xp-hero { grid-template-columns: 1fr; } }
.xp-box { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 20px; text-align: center; box-shadow: var(--shadow-sm); }
.xp-box.pts { background: linear-gradient(135deg, #F58A98, #F26D6D); color: #fff; border: none; }
.xp-box .big { font-size: 40px; font-weight: 800; }
.xp-box .lbl { font-size: 13px; opacity: .9; }
.flame { font-size: 40px; }
.badge-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px,1fr)); gap: 14px; }
.badge { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 18px 12px; text-align: center; box-shadow: var(--shadow-sm); transition: transform .12s; }
.badge.earned { border-color: var(--flamingo); }
.badge.locked { opacity: .5; filter: grayscale(.7); }
.badge.earned:hover { transform: translateY(-3px); }
.badge .be { font-size: 44px; }
.badge .bl { font-weight: 700; font-size: 14px; margin-top: 6px; }
.badge .bd { font-size: 11px; color: var(--muted); margin-top: 3px; }
.lb-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.lb-row .rank { width: 34px; font-weight: 800; font-size: 18px; color: var(--muted); text-align: center; }
.lb-row .rank.top { color: var(--flamingo); }
.lb-row .avatar { width: 42px; height: 42px; font-size: 21px; }
.lb-row .lb-pts { margin-left: auto; font-weight: 800; color: var(--flamingo); }
.mini-badges { display: inline-flex; gap: 2px; font-size: 13px; }

/* ================= LIVE STREAMING ================= */
.live-badge { display: inline-flex; align-items: center; gap: 5px; background: var(--flamingo); color: #fff; font-size: 12px; font-weight: 800; padding: 3px 10px; border-radius: 999px; }
.live-badge i { width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: pulse 1.2s infinite; }
.stream-stage { position: absolute; inset: 0; display: flex; flex-direction: column; }
.stream-video-wrap { flex: 1; position: relative; background: #000; display: grid; place-items: center; }
.stream-video { width: 100%; height: 100%; object-fit: contain; background: #000; }
.stream-top { position: absolute; top: 16px; left: 16px; right: 16px; display: flex; align-items: center; gap: 10px; z-index: 3; color: #fff; }
.stream-top .avatar { width: 40px; height: 40px; font-size: 20px; }
.viewer-pill { background: rgba(0,0,0,.5); color: #fff; padding: 4px 10px; border-radius: 999px; font-size: 13px; margin-left: auto; }
.live-chat { position: absolute; bottom: 80px; left: 12px; right: 12px; max-height: 40%; overflow-y: auto; display: flex; flex-direction: column; gap: 6px; z-index: 3; }
.lc-msg { align-self: flex-start; background: rgba(0,0,0,.5); color: #fff; padding: 6px 12px; border-radius: 14px; font-size: 14px; max-width: 85%; }
.lc-msg b { color: var(--millennial); }
.live-controls { position: absolute; bottom: 16px; left: 12px; right: 12px; display: flex; gap: 8px; z-index: 4; }
.live-controls input { flex: 1; border: none; border-radius: 999px; padding: 11px 16px; background: rgba(255,255,255,.92); }
.live-card { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-sm); }
.live-card .lc-cover { height: 120px; background: linear-gradient(135deg, #F58A98, #E14B6A); display: grid; place-items: center; font-size: 50px; position: relative; }
.live-card .lc-body { padding: 14px; }

/* ================= DISCOVERY / SEARCH ================= */
.why-chip { font-size: 11px; color: var(--flamingo); background: var(--millennial-soft); padding: 1px 8px; border-radius: 999px; font-weight: 600; }
.p-body a { color: var(--flamingo); font-weight: 600; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 10px; }
.tag-pill { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px; box-shadow: var(--shadow-sm); transition: transform .12s; }
.tag-pill:hover { transform: translateY(-2px); border-color: var(--flamingo); }
.tag-pill .t { font-weight: 800; color: var(--flamingo); font-size: 16px; }
.tag-pill .c { font-size: 12px; color: var(--muted); }
.nav-search-wrap { position: relative; }
.search-results { position: absolute; top: 46px; right: 0; width: 340px; max-height: 70vh; overflow-y: auto; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); z-index: 60; padding: 8px; }
.search-results .sr-group { font-size: 11px; text-transform: uppercase; color: var(--muted); font-weight: 700; padding: 8px 8px 4px; }
.search-results a { display: flex; gap: 10px; align-items: center; padding: 8px; border-radius: 10px; color: var(--text); }
.search-results a:hover { background: var(--bg-soft); }
.search-results .sr-sub { font-size: 12px; color: var(--muted); }

/* ================= DIGEST ================= */
.digest-frame { border: 1px solid var(--line); border-radius: 16px; padding: 20px; background: #fff; box-shadow: var(--shadow-sm); }

/* ================= BUDDY AI ================= */
.buddy-fab { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 60px; height: 60px; border-radius: 50%; border: none; background: var(--grad); color: #fff; font-size: 27px; box-shadow: 0 10px 26px rgba(242,109,109,.45); display: grid; place-items: center; animation: floaty 3s ease-in-out infinite; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
.buddy-fab:hover { filter: brightness(1.06); }
@media (max-width: 780px) { .buddy-fab { bottom: 86px; } }

.buddy-panel { position: fixed; right: 20px; bottom: 20px; z-index: 95; width: min(390px, 94vw); height: min(600px, 82vh); background: var(--panel); border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 24px 60px rgba(120,60,65,.3); display: flex; flex-direction: column; overflow: hidden; }
@media (max-width: 780px) { .buddy-panel { right: 3vw; bottom: 12px; } }
.buddy-head { background: var(--grad); color: #fff; padding: 14px 16px; display: flex; align-items: center; gap: 10px; }
.buddy-head .ba { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.25); display: grid; place-items: center; font-size: 20px; }
.buddy-head .bt { font-weight: 800; } .buddy-head .bs { font-size: 12px; opacity: .9; }
.buddy-head button { margin-left: auto; background: rgba(255,255,255,.2); border: none; color: #fff; width: 30px; height: 30px; border-radius: 50%; font-size: 16px; }
.buddy-log { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; background: var(--bg-soft); }
.bmsg { max-width: 88%; padding: 10px 13px; border-radius: 15px; font-size: 14px; line-height: 1.45; white-space: pre-wrap; }
.bmsg.ai { background: var(--panel); border: 1px solid var(--line); align-self: flex-start; border-bottom-left-radius: 5px; }
.bmsg.me { background: var(--grad); color: #fff; align-self: flex-end; border-bottom-right-radius: 5px; }
.bmsg strong, .bmsg b { color: var(--flamingo); } .bmsg.me strong { color: #fff; }
.buddy-cards { display: flex; flex-direction: column; gap: 8px; align-self: stretch; }
.bcard { background: var(--panel); border: 1px solid var(--line); border-radius: 13px; padding: 10px; display: flex; align-items: center; gap: 10px; }
.bcard .avatar { width: 40px; height: 40px; font-size: 20px; }
.bcard .bc-i { flex: 1; min-width: 0; } .bcard .bc-n { font-weight: 700; font-size: 14px; }
.bcard .bc-s { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bcard .bc-pct { font-weight: 800; color: var(--flamingo); font-size: 14px; }
.bplace { background: var(--panel); border: 1px solid var(--line); border-radius: 13px; padding: 10px 12px; display: flex; gap: 10px; align-items: center; font-size: 14px; }
.bplace .pe { font-size: 22px; } .bplace .pw { font-size: 12px; color: var(--muted); }
.bplan-item { display: flex; gap: 10px; padding: 6px 0; font-size: 14px; } .bplan-item b { color: var(--flamingo); min-width: 118px; }
.buddy-suggest { display: flex; gap: 6px; flex-wrap: wrap; padding: 8px 12px; border-top: 1px solid var(--line); background: var(--panel); }
.buddy-suggest button { font-size: 12px; padding: 6px 10px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg-soft); color: var(--flamingo); font-weight: 600; }
.buddy-input { display: flex; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--line); background: var(--panel); }
.buddy-input input { flex: 1; border: 1px solid var(--line); background: var(--bg-soft); border-radius: 999px; padding: 10px 14px; color: var(--text); }

/* AI dashboard */
.ai-hero { background: var(--grad); color: #fff; border-radius: 20px; padding: 24px; margin-bottom: 20px; }
.ai-hero h1 { margin: 0 0 4px; }
.ai-traits { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.ai-trait { background: rgba(255,255,255,.22); padding: 5px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; }
.gauge-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px,1fr)); gap: 14px; }
.gauge { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 16px; text-align: center; box-shadow: var(--shadow-sm); }
.gauge .ring { --p: 0; width: 84px; height: 84px; margin: 0 auto 8px; border-radius: 50%; background: conic-gradient(var(--flamingo) calc(var(--p)*1%), var(--millennial) 0); display: grid; place-items: center; }
.gauge .ring span { width: 64px; height: 64px; border-radius: 50%; background: var(--panel); display: grid; place-items: center; font-weight: 800; font-size: 20px; color: var(--flamingo); }
.gauge .gl { font-size: 13px; color: var(--muted); font-weight: 600; }

/* match report */
.report-dims { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; margin: 14px 0; }
.rdim { }
.rdim .rl { display: flex; justify-content: space-between; font-size: 13px; margin-bottom: 4px; }
.rdim .rl b { color: var(--flamingo); }
.rbar { height: 8px; border-radius: 999px; background: var(--millennial-soft); overflow: hidden; }
.rbar > i { display: block; height: 100%; background: var(--grad); }
.report-overall { text-align: center; }
.report-overall .big { font-size: 52px; font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1; }
.report-lock { text-align: center; padding: 16px; background: var(--millennial-soft); border-radius: 14px; margin-top: 12px; }

/* ================= PRIVACY / TIPS / PAID / BUSINESS ================= */
.setting-row { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.setting-row .sr-i { flex: 1; } .setting-row .sr-t { font-weight: 700; } .setting-row .sr-d { font-size: 13px; color: var(--muted); }
.switch { position: relative; width: 48px; height: 28px; flex: none; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch .track { position: absolute; inset: 0; background: var(--line-2); border-radius: 999px; transition: .2s; cursor: pointer; }
.switch .track::before { content: ''; position: absolute; width: 22px; height: 22px; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: .2s; box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.switch input:checked + .track { background: var(--flamingo); }
.switch input:checked + .track::before { transform: translateX(20px); }
.setting-row select { border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; background: var(--bg-soft); color: var(--text); }
.price-pill { background: var(--millennial-soft); color: var(--flamingo); font-weight: 700; font-size: 12px; padding: 3px 10px; border-radius: 999px; }
.price-pill.free { background: #EAF8EF; color: var(--good); }
.featured-badge { background: var(--gold); color: #fff; font-size: 11px; font-weight: 800; padding: 2px 8px; border-radius: 999px; }
.tip-total { display: inline-flex; align-items: center; gap: 6px; background: var(--millennial-soft); color: var(--flamingo); padding: 5px 12px; border-radius: 999px; font-weight: 700; font-size: 13px; }
.tip-amounts { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0; }
.tip-amt { flex: 1; min-width: 64px; padding: 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg-soft); font-weight: 800; color: var(--flamingo); }
.tip-amt.on { background: var(--grad); color: #fff; border-color: transparent; }

/* ================= BUDCOINS / REFERRAL ================= */
.coin-pill { display: inline-flex; align-items: center; gap: 5px; background: #FFF7E6; color: #C98A16; border: 1px solid #F3E2B8; padding: 6px 12px; border-radius: 999px; font-weight: 800; font-size: 13px; }
.coin-balance { font-size: 40px; font-weight: 800; color: #E7A928; }
.pack-grid, .gift-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px,1fr)); gap: 12px; }
.pack, .gift-card { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 16px; text-align: center; box-shadow: var(--shadow-sm); cursor: pointer; transition: transform .12s; }
.pack:hover, .gift-card:hover { transform: translateY(-2px); border-color: var(--flamingo); }
.pack .pc { font-size: 22px; font-weight: 800; color: #E7A928; } .pack .pp { font-size: 13px; color: var(--muted); margin-top: 4px; }
.gift-card .ge { font-size: 40px; } .gift-card .gn { font-weight: 700; font-size: 14px; text-transform: capitalize; } .gift-card .gc { font-size: 12px; color: #C98A16; font-weight: 700; }
.ledger-row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.ledger-row .up { color: var(--good); font-weight: 700; } .ledger-row .down { color: var(--flamingo); font-weight: 700; }
.ref-code { font-size: 28px; font-weight: 800; letter-spacing: 3px; color: var(--flamingo); background: var(--millennial-soft); padding: 14px; border-radius: 14px; text-align: center; }
.ref-link { display: flex; gap: 8px; margin: 12px 0; } .ref-link input { flex: 1; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; background: var(--bg-soft); color: var(--text); }

/* ================= SPONSORED / ADS ================= */
.post.sponsored { border-color: var(--line-2); background: linear-gradient(180deg, #FFFDF8, var(--panel)); }
.post.sponsored .p-time { color: var(--gold); font-weight: 700; }
.sponsored-tag { font-size: 10px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; color: var(--gold); background: #FFF7E6; padding: 2px 7px; border-radius: 6px; }

/* ================= A11Y ================= */
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--flamingo); color: #fff; padding: 8px 14px; border-radius: 10px; z-index: 300; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--brand-2, #F58A98); outline-offset: 2px; border-radius: 6px; }
.btn:focus-visible, .chip:focus-visible, .icon-btn:focus-visible { outline: 3px solid var(--flamingo); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .lp-orbit .blob { animation: none; }
}

/* ================= MOBILE BOTTOM NAV ================= */
.bottom-nav { display: none; }
@media (max-width: 780px) {
  .bottom-nav {
    display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 45;
    background: rgba(255,255,255,.96); backdrop-filter: blur(12px); border-top: 1px solid var(--line);
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
  }
  .bottom-nav a { flex: 1; text-align: center; color: var(--muted); font-size: 10px; font-weight: 600; padding: 6px 2px; border-radius: 10px; text-decoration: none; }
  .bottom-nav a .bi { display: block; font-size: 21px; line-height: 1.1; }
  .bottom-nav a.active { color: var(--flamingo); }
  .bottom-nav a.active .bi { transform: translateY(-1px); }
  main { padding-bottom: 78px; }
  /* Free up header space on phones: the top links live in the bottom bar. */
  header.nav .nav-links { display: none; }
  header.nav { gap: 10px; padding: 10px 14px; }
  .nav-user .btn.ghost.sm[id="logoutBtn"] { display: none; }
  .logo { font-size: 19px; }
}
@media (max-width: 420px) {
  .nav-user a.btn.ghost.sm { padding: 6px 8px; }
  .dash, main { padding-left: 12px; padding-right: 12px; }
  .modal { padding: 20px; }
}

/* ================================================================ MODULE: PAGES */
.pg-wrap { max-width: 1040px; margin: 0 auto; padding: 8px 14px 60px; }
.pg-hero { background: var(--grad); border-radius: var(--radius); color: #fff; padding: 34px 28px; margin-bottom: 22px; box-shadow: var(--shadow); }
.pg-hero-in h1 { margin: 0 0 8px; font-size: 30px; }
.pg-hero-in p { margin: 0 0 16px; max-width: 640px; line-height: 1.55; opacity: .95; }
.pg-hero-cta { display: flex; gap: 10px; flex-wrap: wrap; }
.pg-hero .btn.ghost { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.4); color: #fff; }
.pg-quota { margin-top: 14px; font-size: 13px; opacity: .92; }
.pg-sec { margin-bottom: 26px; }
.pg-toolbar { display: flex; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.pg-input { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; color: var(--text); font-size: 14px; flex: 1; min-width: 160px; }
.pg-input.sm { flex: 0 0 auto; min-width: 150px; }
.pg-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.pg-chip { border: 1px solid var(--line-2); background: var(--bg); color: var(--muted); padding: 7px 14px; border-radius: 999px; font-weight: 600; font-size: 13px; }
.pg-chip.on, .pg-chip:hover { background: var(--millennial); color: var(--flamingo); border-color: transparent; }
.pg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.pg-card { display: block; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: .15s; }
.pg-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.pg-card-cover { height: 74px; background: var(--grad) center/cover; }
.pg-card-logo { width: 56px; height: 56px; border-radius: 14px; background: var(--panel); border: 3px solid var(--panel); margin: -30px 0 0 16px; display: grid; place-items: center; overflow: hidden; box-shadow: var(--shadow-sm); }
.pg-logo-emoji { font-size: 28px; }
.pg-logo-img { width: 100%; height: 100%; object-fit: cover; }
.pg-card-body { padding: 8px 16px 16px; }
.pg-card-name { font-weight: 700; font-size: 15px; display: flex; align-items: center; gap: 4px; }
.pg-card-cat { color: var(--flamingo); font-size: 12px; font-weight: 600; margin: 2px 0; }
.pg-card-tag { color: var(--muted); font-size: 13px; line-height: 1.4; margin: 4px 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pg-card-meta { color: var(--muted); font-size: 12px; margin-top: 6px; display: flex; align-items: center; gap: 4px; }
.pg-card-meta .pin-ic { width: 12px; height: 12px; }
.pg-verified { background: var(--flamingo); color: #fff; border-radius: 50%; width: 16px; height: 16px; display: inline-grid; place-items: center; font-size: 10px; vertical-align: middle; }

/* wizard */
.pg-wiz { max-width: 760px; }
.wz-steps { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0 16px; }
.wz-step { display: flex; align-items: center; gap: 6px; color: var(--muted); font-weight: 600; font-size: 13px; padding: 6px 12px; border-radius: 999px; background: var(--bg-soft); }
.wz-step span { width: 20px; height: 20px; border-radius: 50%; background: var(--line-2); color: #fff; display: grid; place-items: center; font-size: 12px; }
.wz-step.on { background: var(--millennial); color: var(--flamingo); }
.wz-step.on span, .wz-step.done span { background: var(--flamingo); }
.wz-step.done { color: var(--good); }
.wz-body { margin-bottom: 14px; }
.wz-nav { display: flex; justify-content: space-between; }
.wz-label { display: block; font-weight: 700; margin: 4px 0 6px; }
.wz-hint { color: var(--muted); font-size: 13px; margin: 0 0 12px; }
.wz-picked { background: var(--millennial-soft); color: var(--flamingo); border-radius: 10px; padding: 8px 12px; margin-bottom: 12px; font-size: 13px; }
.wz-cats { max-height: 420px; overflow-y: auto; padding-right: 6px; }
.wz-catgroup h4 { margin: 12px 0 8px; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .5px; }
.wz-catchips { display: flex; gap: 8px; flex-wrap: wrap; }
.wz-catchip { border: 1px solid var(--line-2); background: var(--bg); padding: 7px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; }
.wz-catchip.on, .wz-catchip:hover { background: var(--millennial); color: var(--flamingo); border-color: transparent; }
.wz-brand { display: flex; gap: 14px; align-items: flex-start; }
.wz-avatar { position: relative; width: 64px; height: 64px; border-radius: 16px; background: var(--bg-soft); display: grid; place-items: center; font-size: 32px; border: 1px solid var(--line); flex: 0 0 auto; }
.wz-avatar input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.wz-uname { display: flex; align-items: center; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 10px; padding: 0 0 0 11px; font-size: 13px; color: var(--muted); overflow: hidden; }
.wz-uname input { border: none; background: transparent; padding: 9px 11px; flex: 1; font-size: 14px; color: var(--text); }
.wz-two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.wz-svc { display: flex; gap: 8px; margin-bottom: 8px; }
.wz-svc-x { border: 1px solid var(--line-2); background: var(--bg); border-radius: 8px; width: 34px; color: var(--muted); }
.pg-paid-note { background: #FFF4E5; border: 1px solid var(--gold); border-radius: 12px; padding: 12px 14px; margin-bottom: 14px; font-size: 13px; }

/* standalone profile */
.pg-profile { max-width: 940px; margin: 0 auto; padding-bottom: 60px; }
.pg-cover { height: 230px; background: var(--grad) center/cover; border-radius: 0 0 var(--radius) var(--radius); position: relative; }
.pg-back { position: absolute; top: 14px; left: 14px; background: rgba(0,0,0,.32); color: #fff; padding: 7px 13px; border-radius: 999px; font-weight: 600; font-size: 13px; }
.pg-head { display: flex; align-items: flex-end; gap: 18px; padding: 0 22px; margin-top: -44px; flex-wrap: wrap; }
.pg-avatar { width: 108px; height: 108px; border-radius: 22px; background: var(--panel); border: 4px solid var(--panel); box-shadow: var(--shadow-sm); display: grid; place-items: center; overflow: hidden; flex: 0 0 auto; }
.pg-avatar .pg-logo-emoji { font-size: 52px; }
.pg-head-main { flex: 1; min-width: 220px; padding-bottom: 6px; }
.pg-name { margin: 0; font-size: 26px; display: flex; align-items: center; gap: 6px; }
.pg-sub { color: var(--flamingo); font-weight: 600; font-size: 14px; margin: 3px 0; display: flex; align-items: center; gap: 3px; }
.pg-sub .pin-ic { width: 13px; height: 13px; }
.pg-stats { display: flex; gap: 16px; color: var(--muted); font-size: 14px; margin-top: 4px; flex-wrap: wrap; }
.pg-stats b { color: var(--text); }
.pg-actions { display: flex; gap: 8px; padding-bottom: 8px; flex-wrap: wrap; }
.pg-tabbar { display: flex; gap: 4px; margin: 18px 12px 0; border-bottom: 1px solid var(--line); overflow-x: auto; }
.pg-tab { border: none; background: none; padding: 12px 14px; font-weight: 600; color: var(--muted); border-bottom: 3px solid transparent; white-space: nowrap; font-size: 14px; }
.pg-tab.on { color: var(--flamingo); border-bottom-color: var(--flamingo); }
.pg-tabwrap { padding: 18px 14px 0; }
.pg-h { margin: 18px 0 10px; font-size: 15px; }

/* composer + feed */
.pg-composer { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; margin-bottom: 16px; box-shadow: var(--shadow-sm); }
.pg-comp-row { display: flex; gap: 8px; align-items: center; margin: 8px 0; }
.pg-comp-row .pg-input { flex: 1; }
.pg-feed { display: flex; flex-direction: column; gap: 14px; }
.pg-post { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow-sm); }
.pg-post-head { display: flex; gap: 10px; align-items: center; margin-bottom: 8px; }
.pg-post-av { width: 40px; height: 40px; border-radius: 12px; background: var(--bg-soft); display: grid; place-items: center; font-size: 20px; }
.pg-post-time { color: var(--muted); font-size: 12px; }
.pg-ptag { background: var(--millennial); color: var(--flamingo); border-radius: 999px; padding: 1px 8px; font-size: 11px; font-weight: 700; text-transform: capitalize; }
.pg-post-title { margin: 4px 0; }
.pg-post-body { line-height: 1.55; white-space: pre-wrap; }
.pg-post-media { width: 100%; border-radius: 12px; margin-top: 10px; }
.pg-post-foot { margin-top: 10px; }
.pg-like { border: 1px solid var(--line-2); background: var(--bg); border-radius: 999px; padding: 5px 12px; font-weight: 600; font-size: 13px; }
.pg-like.on { background: var(--millennial-soft); color: var(--flamingo); border-color: transparent; }

/* about */
.pg-about-text { line-height: 1.6; white-space: pre-wrap; }
.pg-info { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 6px 16px; margin: 12px 0; box-shadow: var(--shadow-sm); }
.pg-info-row { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.pg-info-row:last-child { border-bottom: none; }
.pg-info-row span { color: var(--muted); display: flex; align-items: center; gap: 3px; }
.pg-socials { display: flex; gap: 8px; flex-wrap: wrap; margin: 10px 0; }
.pg-social { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: 13px; font-weight: 600; text-transform: capitalize; }
.pg-kw { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }

/* shop */
.pg-shop { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.pg-prod { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-sm); }
.pg-prod img { width: 100%; height: 120px; object-fit: cover; }
.pg-prod-ph { height: 90px; background: var(--bg-soft); display: grid; place-items: center; font-size: 34px; }
.pg-prod-body { padding: 12px; }
.pg-prod-body b { display: block; }
.pg-prod-price { color: var(--flamingo); font-weight: 700; font-size: 14px; }
.pg-prod-body p { color: var(--muted); font-size: 13px; margin: 6px 0 0; }

/* people */
.pg-emp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.pg-emp { display: flex; align-items: center; gap: 10px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; box-shadow: var(--shadow-sm); }
.pg-emp .avatar { width: 42px; height: 42px; border-radius: 12px; background: var(--bg-soft); display: grid; place-items: center; font-size: 20px; flex: 0 0 auto; }
.pg-emp-body { flex: 1; min-width: 0; }
.pg-emp-title { color: var(--muted); font-size: 12px; }
.pg-emp-act { display: flex; gap: 4px; }

/* jobs */
.pg-jobs { display: flex; flex-direction: column; gap: 10px; }
.pg-job { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; box-shadow: var(--shadow-sm); }
.pg-job-meta { color: var(--muted); font-size: 13px; margin: 3px 0; display: flex; align-items: center; gap: 3px; }
.pg-job p { color: var(--muted); font-size: 13px; margin: 6px 0 0; }

/* reviews */
.pg-rev-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; gap: 16px; flex-wrap: wrap; }
.pg-rev-score { text-align: center; }
.pg-rev-score b { font-size: 34px; color: var(--flamingo); }
.pg-rev-score div { color: var(--gold); letter-spacing: 2px; }
.pg-rev-score span { color: var(--muted); font-size: 13px; }
.pg-reviews { display: flex; flex-direction: column; gap: 12px; }
.pg-review { display: flex; gap: 12px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; box-shadow: var(--shadow-sm); }
.pg-review .avatar { width: 40px; height: 40px; border-radius: 12px; background: var(--bg-soft); display: grid; place-items: center; font-size: 20px; flex: 0 0 auto; }
.pg-stars { color: var(--gold); }
.pg-review p { margin: 4px 0; line-height: 1.5; }
.pg-star-pick { font-size: 30px; color: var(--line-2); text-align: center; margin: 6px 0 12px; cursor: pointer; }
.pg-star-pick span { transition: .1s; }
.pg-star-pick span.on { color: var(--gold); }

/* insights */
.pg-metrics { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 12px; }
.pg-metric { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 16px; text-align: center; box-shadow: var(--shadow-sm); }
.pg-metric b { font-size: 24px; color: var(--flamingo); display: block; }
.pg-metric span { color: var(--muted); font-size: 12px; }
.pg-bars { display: flex; flex-direction: column; gap: 6px; }
.pg-bar-row { display: flex; justify-content: space-between; background: var(--bg-soft); border-radius: 8px; padding: 8px 12px; font-size: 14px; text-transform: capitalize; }

/* team modal */
.pg-team-list { display: flex; flex-direction: column; gap: 6px; margin-bottom: 10px; }
.pg-team-row { display: flex; align-items: center; gap: 8px; padding: 8px 10px; background: var(--bg-soft); border-radius: 10px; }
.pg-team-row b { flex: 1; }

@media (max-width: 720px) {
  .wz-two { grid-template-columns: 1fr; }
  .pg-head { margin-top: -34px; }
  .pg-avatar { width: 84px; height: 84px; }
  .pg-actions { width: 100%; }
}
