/* =====================================================================
   UGC ARABIA — design system
   Black & gold, RTL-first (logical properties everywhere)
   ===================================================================== */

/* ---------- fonts (self-hosted: no render-blocking request to Google, preloaded, less layout shift) ---------- */
@font-face { font-family: 'Cairo'; font-style: normal; font-weight: 400 900; font-display: swap; src: url('../fonts/cairo-400-900-arabic.woff2') format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1; }
@font-face { font-family: 'Cairo'; font-style: normal; font-weight: 400 900; font-display: swap; src: url('../fonts/cairo-400-900-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Cairo'; font-style: normal; font-weight: 400 900; font-display: swap; src: url('../fonts/cairo-400-900-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/poppins-400-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/poppins-400-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/poppins-500-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/poppins-500-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/poppins-600-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/poppins-600-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/poppins-700-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/poppins-700-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 800; font-display: swap; src: url('../fonts/poppins-800-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 800; font-display: swap; src: url('../fonts/poppins-800-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --ink: #111111;
  --ink-2: #1c1c1e;
  --ink-3: #2a2a2d;
  --gold: #C4955A;
  --gold-2: #D9B27C;
  --gold-3: #A57A42;
  --gold-4: #8a6534;
  --gold-soft: #F7EFE3;
  --gold-line: #EAD9BF;
  --gold-grad: linear-gradient(135deg, #E0BD8A 0%, #C4955A 48%, #A57A42 100%);
  --bg: #FAF8F5;
  --surface: #FFFFFF;
  --surface-2: #F4F1EC;
  --surface-3: #EEE9E1;
  --line: #ECE6DC;
  --line-2: #E0D8CB;
  --text: #17171A;
  --muted: #6B6760;
  --muted-2: #9A958E;
  --green: #17915A;
  --green-soft: #E4F5EC;
  --amber: #C27C0E;
  --amber-soft: #FDF1DC;
  --red: #CF3B33;
  --red-soft: #FCEAE8;
  --blue: #2F68D8;
  --blue-soft: #E7EFFD;
  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius: 16px;
  --radius-lg: 22px;
  --shadow-xs: 0 1px 2px rgba(17, 17, 17, .05);
  --shadow-sm: 0 2px 8px -2px rgba(17, 17, 17, .08);
  --shadow: 0 10px 30px -12px rgba(17, 17, 17, .18);
  --shadow-lg: 0 30px 70px -24px rgba(17, 17, 17, .35);
  --header-h: 68px;
  --font: 'Cairo', system-ui, -apple-system, 'Segoe UI', Tahoma, sans-serif;
  --font-latin: 'Poppins', 'Cairo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
html[lang="en"] body { font-family: var(--font-latin); }
img, video, iframe { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--gold-3); }
p { margin: 0 0 12px; }
h1, h2, h3, h4, h5 { margin: 0 0 10px; line-height: 1.3; font-weight: 800; letter-spacing: -.01em; color: var(--ink); }
h1 { font-size: clamp(28px, 4vw, 40px); }
h2 { font-size: clamp(22px, 3vw, 30px); }
h3 { font-size: 19px; }
h4 { font-size: 16px; }
small { font-size: 13px; }
hr { border: 0; border-top: 1px solid var(--line); margin: 20px 0; }
button { font: inherit; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
::selection { background: var(--gold-2); color: var(--ink); }
:focus-visible { outline: 3px solid rgba(196, 149, 90, .55); outline-offset: 2px; border-radius: 6px; }

.i { width: 1.25em; height: 1.25em; flex: none; vertical-align: -0.2em; }
.muted { color: var(--muted); }
.muted-2 { color: var(--muted-2); }
.gold { color: var(--gold-3); }
.ltr { direction: ltr; unicode-bidi: isolate; }
.nowrap { white-space: nowrap; }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }
.hp-field { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; opacity: 0; pointer-events: none; }
.skip-link { position: absolute; inset-inline-start: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 999; }
.skip-link:focus { inset-inline-start: 8px; }

.container { width: 100%; max-width: 1220px; margin-inline: auto; padding-inline: 16px; }
.container-narrow { max-width: 820px; }
.container-sm { max-width: 520px; }
@media (min-width: 768px) { .container { padding-inline: 24px; } }

.site-main { flex: 1 0 auto; }
.section { padding-block: 56px; }
.section-sm { padding-block: 32px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.section-head p { margin: 4px 0 0; color: var(--muted); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-3); margin-bottom: 10px; }
.page-head { padding-block: 28px 8px; }
.page-head h1 { margin-bottom: 6px; }
.page-head p { color: var(--muted); margin: 0; }

/* ---------- grid helpers ---------- */
.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.row { display: flex; align-items: center; gap: 10px; }
.row-wrap { flex-wrap: wrap; }
.row-between { justify-content: space-between; }
.stack { display: flex; flex-direction: column; gap: 12px; }
.stack-sm { gap: 6px; }
.stack-lg { gap: 22px; }
.mt-0 { margin-top: 0 !important; } .mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 36px; }
.mb-0 { margin-bottom: 0 !important; } .mb-1 { margin-bottom: 8px; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; }
.w-100 { width: 100%; }
.flex-1 { flex: 1 1 auto; min-width: 0; }

.layout-side { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; align-items: start; }
.layout-side > * { min-width: 0; }
@media (min-width: 1000px) {
  .layout-side { grid-template-columns: minmax(0, 1fr) 340px; }
  .layout-side.side-start { grid-template-columns: 290px minmax(0, 1fr); }
  .sticky-side { position: sticky; top: calc(var(--header-h) + 16px); }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 20px; border-radius: 12px; border: 1px solid transparent;
  font-weight: 700; font-size: 15px; line-height: 1; cursor: pointer; white-space: nowrap;
  transition: transform .15s var(--ease), box-shadow .2s var(--ease), background .2s, border-color .2s, color .2s, filter .2s;
  user-select: none; text-decoration: none;
}
.btn:active { transform: translateY(1px); }
.btn[disabled], .btn.is-disabled { opacity: .55; pointer-events: none; }
.btn-gold { background: var(--gold-grad); color: var(--ink); box-shadow: 0 8px 20px -10px rgba(165, 122, 66, .9); }
.btn-gold:hover { color: var(--ink); filter: brightness(1.06); box-shadow: 0 12px 26px -10px rgba(165, 122, 66, .95); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-3); color: #fff; }
.btn-outline { background: var(--surface); border-color: var(--line-2); color: var(--text); }
.btn-outline:hover { border-color: var(--ink); color: var(--ink); }
.btn-ghost { background: transparent; color: var(--text); }
.btn-ghost:hover { background: var(--surface-2); color: var(--ink); }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { background: var(--gold-soft); color: var(--ink); }
.btn-outline-light { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .28); color: #fff; }
.btn-outline-light:hover { border-color: var(--gold-2); color: var(--gold-2); background: rgba(255, 255, 255, .06); }
.btn-danger { background: var(--red-soft); color: var(--red); }
.btn-danger:hover { background: var(--red); color: #fff; }
.btn-success { background: var(--green); color: #fff; }
.btn-success:hover { filter: brightness(1.08); color: #fff; }
.btn-soft { background: var(--gold-soft); color: var(--gold-4); }
.btn-soft:hover { background: var(--gold-line); color: var(--ink); }
.btn-sm { height: 38px; padding: 0 14px; font-size: 14px; border-radius: 10px; }
.btn-xs { height: 30px; padding: 0 10px; font-size: 13px; border-radius: 8px; gap: 5px; }
.btn-lg { height: 56px; padding: 0 28px; font-size: 17px; border-radius: 14px; }
.btn-block { width: 100%; }
.btn-multiline { white-space: normal; height: auto; min-height: 46px; padding-block: 11px; line-height: 1.5; text-align: center; max-width: 100%; }
.btn-icon { width: 42px; padding: 0; }
.btn-sm.btn-icon { width: 38px; }
.btn .i { width: 18px; height: 18px; }
.btn.is-loading { position: relative; color: transparent !important; pointer-events: none; }
.btn.is-loading::after { content: ""; position: absolute; width: 18px; height: 18px; border-radius: 50%; border: 2px solid currentColor; border-color: var(--ink) transparent var(--ink) transparent; animation: spin .7s linear infinite; }
.btn-dark.is-loading::after { border-color: #fff transparent #fff transparent; }
@keyframes spin { to { transform: rotate(360deg); } }
.link { color: var(--gold-3); font-weight: 700; }
.link:hover { text-decoration: underline; }
.link-btn { background: none; border: 0; padding: 0; color: var(--gold-3); font-weight: 700; cursor: pointer; }

/* ---------- cards ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-xs); }
.card-pad { padding: 20px; }
@media (min-width: 768px) { .card-pad { padding: 24px; } }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.card-head h3 { margin: 0; font-size: 17px; }
.card-body { padding: 20px; }
.card-foot { padding: 14px 20px; border-top: 1px solid var(--line); background: #FDFCFA; border-radius: 0 0 var(--radius) var(--radius); }
.card-title { font-size: 17px; margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.card-dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.card-dark h2, .card-dark h3 { color: #fff; }
.card-gold { background: var(--gold-soft); border-color: var(--gold-line); }

/* ---------- chips / pills / badges ---------- */
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; background: var(--surface-2); color: var(--text); font-size: 13px; font-weight: 600; line-height: 1.6; white-space: nowrap; }
.chip .i { width: 14px; height: 14px; }
.chip-soft { background: var(--surface-2); color: #4a4640; }
.chip-gold { background: var(--gold-soft); color: var(--gold-4); }
.chip-dark { background: var(--ink); color: #fff; }
.chip-green { background: var(--green-soft); color: var(--green); }
.chip-amber { background: var(--amber-soft); color: var(--amber); }
.chip-red { background: var(--red-soft); color: var(--red); }
.chip-blue { background: var(--blue-soft); color: var(--blue); }
.chip-outline { background: transparent; border: 1px solid var(--line-2); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.pill { display: inline-flex; align-items: center; gap: 7px; padding: 4px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; }
.pill .dot { width: 8px; height: 8px; }
.pill-green { background: var(--green-soft); color: var(--green); }
.pill-amber { background: var(--amber-soft); color: var(--amber); }
.pill-red { background: var(--red-soft); color: var(--red); }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--muted-2); flex: none; }
.dot-green, .pill-green .dot { background: #1DB26B; box-shadow: 0 0 0 3px rgba(29, 178, 107, .16); }
.dot-amber, .pill-amber .dot { background: #E7A01F; box-shadow: 0 0 0 3px rgba(231, 160, 31, .16); }
.dot-red, .pill-red .dot { background: #DD4B43; box-shadow: 0 0 0 3px rgba(221, 75, 67, .14); }
.badge-count { position: absolute; top: 2px; inset-inline-end: 0; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--red); color: #fff; font-size: 11px; font-weight: 800; line-height: 18px; text-align: center; border: 2px solid #fff; box-sizing: content-box; }
.tick { display: inline-flex; color: var(--gold); vertical-align: middle; }
.tick .blue-tick { width: 1.1em; height: 1.1em; }

/* ---------- avatar ---------- */
.avatar { border-radius: 50%; object-fit: cover; flex: none; background: var(--surface-2); display: inline-block; }
.avatar-initials { display: inline-grid; place-items: center; color: #5b4a33; font-weight: 800; text-transform: uppercase; letter-spacing: 0; }
.avatar-wrap { position: relative; display: inline-flex; flex: none; }
.online-dot { position: absolute; bottom: 1px; inset-inline-end: 1px; width: 12px; height: 12px; border-radius: 50%; background: #1DB26B; border: 2px solid #fff; }

/* ---------- stars ---------- */
.stars { display: inline-flex; align-items: center; gap: 2px; font-size: 14px; white-space: nowrap; }
.stars b { margin-inline-start: 4px; font-weight: 800; }
.stars .i { width: 15px; height: 15px; }
.star-on { color: #E8A93A; fill: #E8A93A; }
.star-half { color: #E8A93A; fill: rgba(232, 169, 58, .45); }
.star-off { color: #D9D3C9; fill: #EEEAE3; }
.stars-empty { color: var(--muted); gap: 4px; font-weight: 600; font-size: 13px; }
.stars-empty .i { color: var(--gold); }

/* ---------- alerts / flash ---------- */
.flash-stack { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.alert { display: flex; align-items: flex-start; gap: 10px; padding: 13px 16px; border-radius: 14px; border: 1px solid transparent; font-weight: 600; font-size: 15px; }
.alert > div { flex: 1; }
.alert .i { margin-top: 3px; }
.alert-success { background: var(--green-soft); color: #0f6b41; border-color: #c9ead8; }
.alert-error { background: var(--red-soft); color: #a52a23; border-color: #f4ccc8; }
.alert-info { background: var(--blue-soft); color: #1f4ea8; border-color: #cfdcf8; }
.alert-warn { background: var(--amber-soft); color: #8d5a07; border-color: #f3dfb6; }
.alert-x { background: none; border: 0; cursor: pointer; opacity: .6; padding: 2px; }
.alert-x:hover { opacity: 1; }
.announce { background: var(--gold-grad); color: var(--ink); text-align: center; font-weight: 700; font-size: 14px; padding: 8px 16px; }
.announce a { text-decoration: underline; }
.verify-banner { background: var(--amber-soft); color: #7a4d05; text-align: center; font-weight: 600; font-size: 14px; padding: 9px 16px; border-bottom: 1px solid #f3dfb6; }
.verify-banner a { font-weight: 800; text-decoration: underline; margin-inline-start: 6px; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .9); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid var(--line); }
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 18px; }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 42px; width: auto; }
.main-nav { display: none; align-items: center; gap: 4px; flex: 1; }
.nav-link { padding: 8px 14px; border-radius: 10px; font-weight: 700; font-size: 15px; color: #3a3833; transition: background .2s, color .2s; }
.nav-link:hover { background: var(--surface-2); color: var(--ink); }
.nav-link.is-active { color: var(--ink); background: var(--gold-soft); }
.header-actions { display: flex; align-items: center; gap: 6px; margin-inline-start: auto; }
.icon-btn { position: relative; display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; border: 0; background: transparent; color: #2d2b27; cursor: pointer; transition: background .2s; }
.icon-btn:hover, .icon-btn.is-active { background: var(--surface-2); color: var(--ink); }
.avatar-btn { display: inline-flex; align-items: center; gap: 4px; border: 0; background: transparent; padding: 3px; border-radius: 999px; cursor: pointer; }
.avatar-btn:hover { background: var(--surface-2); }
.lang-switch { display: inline-flex; align-items: center; gap: 5px; height: 38px; padding: 0 10px; border-radius: 10px; font-weight: 800; font-size: 14px; color: #3a3833; }
.lang-switch:hover { background: var(--surface-2); color: var(--ink); }
.lang-switch-dark { color: #cfc9bf; }
.lang-switch-dark:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.menu-toggle { display: inline-grid; }
@media (min-width: 960px) {
  .main-nav { display: flex; }
  .menu-toggle { display: none; }
}
@media (max-width: 959px) { .hide-md { display: none !important; } }
@media (max-width: 640px) { .hide-sm { display: none !important; } .header-inner { gap: 10px; } .brand img { height: 38px; } }
@media (min-width: 641px) { .show-sm { display: none !important; } }
.mobile-menu { border-top: 1px solid var(--line); background: #fff; padding-block: 10px 16px; box-shadow: var(--shadow); }
.mobile-menu a:not(.btn) { display: flex; align-items: center; gap: 12px; padding: 12px 6px; font-weight: 700; border-bottom: 1px solid var(--line); }
.mobile-menu-cta { display: grid; gap: 10px; margin-top: 14px; }
@media (min-width: 960px) { .mobile-menu { display: none !important; } }

/* dropdowns */
.dropdown { position: relative; }
.dropdown-menu { position: absolute; top: calc(100% + 8px); inset-inline-end: 0; min-width: 250px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); padding: 8px; z-index: 60; display: none; transform-origin: top; }
.dropdown.is-open > .dropdown-menu { display: block; animation: pop .16s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(-6px) scale(.98); } to { opacity: 1; transform: none; } }
.dropdown-item { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border-radius: 10px; font-weight: 600; font-size: 15px; color: #2d2b27; background: none; border: 0; cursor: pointer; text-align: start; }
.dropdown-item:hover { background: var(--surface-2); color: var(--ink); }
.dropdown-item .i { color: var(--muted); }
.dropdown-item-gold { color: var(--gold-4); }
.dropdown-item-gold .i { color: var(--gold-3); }
.dropdown-item-danger { color: var(--red); }
.dropdown-item-danger .i { color: var(--red); }
.dropdown-form { margin: 0; border-top: 1px solid var(--line); margin-top: 6px; padding-top: 6px; }
.dropdown-user-head { display: flex; align-items: center; gap: 10px; padding: 8px 10px 12px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.dropdown-user-head b { display: block; line-height: 1.3; }
.dropdown-user-head small { color: var(--muted); }
.dropdown-user { min-width: 270px; }
.dropdown-head { display: flex; align-items: center; justify-content: space-between; padding: 6px 8px 10px; border-bottom: 1px solid var(--line); }
.dropdown-head a { font-size: 13px; font-weight: 700; color: var(--gold-3); }
.dropdown-notifs { width: min(380px, calc(100vw - 24px)); padding: 8px; }
@media (max-width: 640px) { .dropdown-notifs { position: fixed; top: calc(var(--header-h) + 6px); inset-inline: 12px; width: auto; } }
.notif-list { max-height: 420px; overflow-y: auto; }
.notif-item { display: flex; gap: 10px; padding: 10px; border-radius: 12px; align-items: flex-start; font-size: 14px; line-height: 1.55; }
.notif-item:hover { background: var(--surface-2); }
.notif-item.is-unread { background: #FFFBF4; }
.notif-item.is-unread::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); flex: none; margin-top: 8px; }
.notif-ico { width: 38px; height: 38px; border-radius: 50%; background: var(--gold-soft); color: var(--gold-3); display: grid; place-items: center; flex: none; overflow: hidden; }
.notif-ico img { width: 100%; height: 100%; object-fit: cover; }
.notif-text { flex: 1; min-width: 0; color: #2d2b27; }
.notif-text small { display: block; color: var(--muted-2); margin-top: 2px; }
.notif-empty { padding: 26px 10px; text-align: center; color: var(--muted); font-size: 14px; }

/* bottom nav (mobile, logged in) */
.bottom-nav { display: none; }
@media (max-width: 767px) {
  .is-logged .bottom-nav { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; bottom: 0; inset-inline: 0; z-index: 55; background: rgba(255, 255, 255, .96); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
  .bottom-nav a { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 2px 7px; font-size: 11px; font-weight: 700; color: #6b675f; }
  .bottom-nav a.is-active { color: var(--ink); }
  .bottom-nav a.is-active .i { color: var(--gold-3); }
  .bottom-nav .badge-count { top: 3px; inset-inline-end: calc(50% - 22px); }
  .is-logged .site-footer { padding-bottom: 80px; }
  .is-logged .toast-root { bottom: 84px; }
}

/* ---------- footer ---------- */
.site-footer { background: #0D0D0E; color: #bdb7ad; margin-top: 64px; padding-top: 52px; }
.footer-grid { display: grid; gap: 30px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); padding-bottom: 36px; }
.footer-brand { grid-column: 1 / -1; max-width: 420px; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } .footer-brand { grid-column: auto; } }
.footer-brand img { height: 58px; width: auto; margin-bottom: 14px; }
.footer-brand p { font-size: 14px; line-height: 1.8; color: #a39d93; }
.site-footer h4 { color: #fff; font-size: 15px; margin-bottom: 14px; }
.site-footer a:not(.social-ico):not(.lang-switch):not(.fbg-footer) { display: block; color: #bdb7ad; font-size: 14px; padding: 5px 0; }
.site-footer a:hover { color: var(--gold-2); }
.footer-social { display: flex; gap: 8px; margin-top: 14px; }
.social-ico { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: rgba(255, 255, 255, .06); color: #e8e2d8; }
.social-ico:hover { background: var(--gold); color: var(--ink); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-top: 1px solid rgba(255, 255, 255, .08); padding-block: 18px; font-size: 13px; color: #8a847b; }

/* ---------- forms ---------- */
.form-card { max-width: 560px; margin-inline: auto; }
.field { margin-bottom: 18px; }
.field:last-child { margin-bottom: 0; }
.label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 7px; color: #2b2925; }
.label .req { color: var(--red); margin-inline-start: 2px; }
.label .opt { color: var(--muted-2); font-weight: 500; font-size: 12px; margin-inline-start: 4px; }
.input, .select, .textarea {
  width: 100%; height: 48px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 12px; background: #fff;
  font-size: 15px; color: var(--text); transition: border-color .2s, box-shadow .2s; appearance: none; -webkit-appearance: none;
}
.input::placeholder, .textarea::placeholder { color: #aaa49b; }
/* iPhone/iPad zoom into any field under 16px on focus — keep fields at 16px there */
@supports (-webkit-touch-callout: none) {
  input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]):not(.code-input), select, textarea { font-size: 16px !important; }
}
.input:hover, .select:hover, .textarea:hover { border-color: #cfc5b5; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(196, 149, 90, .18); }
.textarea { height: auto; min-height: 120px; padding: 12px 14px; resize: vertical; line-height: 1.7; }
.select { padding-inline-end: 38px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b6760' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: left 14px center; }
html[dir="ltr"] .select { background-position: right 14px center; }
select[multiple].select { height: auto; min-height: 110px; padding: 8px; background-image: none; }
.input-sm, .select-sm { height: 40px; font-size: 14px; border-radius: 10px; }
.is-invalid { border-color: var(--red) !important; }
.field-error { color: var(--red); font-size: 13px; font-weight: 600; margin-top: 6px; }
.help { font-size: 13px; color: var(--muted); margin-top: 6px; line-height: 1.6; }
.form-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.form-row > * { min-width: 0; }
@media (max-width: 639px) {
  /* stacked on phones: space the fields exactly like standalone ones */
  .form-row { row-gap: 0; }
  .form-row > .field:last-child { margin-bottom: 18px; }
  .form-row:last-child > .field:last-child { margin-bottom: 0; }
}
@media (min-width: 640px) { .form-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } .form-row-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.input-group { display: flex; align-items: stretch; border: 1px solid var(--line-2); border-radius: 12px; background: #fff; overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.input-group:focus-within { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(196, 149, 90, .18); }
.input-group .input, .input-group .select { border: 0; box-shadow: none !important; border-radius: 0; }
.input-group .addon { display: flex; align-items: center; padding: 0 12px; background: var(--surface-2); color: var(--muted); font-weight: 700; font-size: 14px; white-space: nowrap; }
.input-group .select.addon-select { width: auto; flex: none; max-width: 150px; background-color: var(--surface-2); font-weight: 700; direction: ltr; }
.phone-group { direction: ltr; }
.phone-group .input { direction: ltr; text-align: left; }
.form-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 22px; }
.form-section { padding-block: 6px 22px; margin-bottom: 22px; border-bottom: 1px solid var(--line); }
.form-section:last-of-type { border-bottom: 0; margin-bottom: 0; }
.form-section h3 { font-size: 17px; margin-bottom: 4px; }
.form-section > p { color: var(--muted); font-size: 14px; margin-bottom: 16px; }
.counter { font-size: 12px; color: var(--muted-2); text-align: end; margin-top: 4px; }
html[dir="rtl"] .counter { direction: ltr; text-align: left; }

.check { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-weight: 600; font-size: 15px; }
.check input { width: 20px; height: 20px; accent-color: var(--ink); flex: none; margin: 0; }
.checks { display: flex; flex-direction: column; gap: 10px; }
.switch { position: relative; display: inline-flex; align-items: center; gap: 12px; cursor: pointer; font-weight: 600; }
.switch input { position: absolute; opacity: 0; pointer-events: none; }
.switch-ui { width: 46px; height: 26px; border-radius: 999px; background: #d8d1c5; position: relative; transition: background .2s; flex: none; }
.switch-ui::after { content: ""; position: absolute; top: 3px; inset-inline-start: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); transition: transform .2s var(--ease); }
.switch input:checked + .switch-ui { background: var(--ink); }
.switch input:checked + .switch-ui::after { transform: translateX(20px); }
html[dir="rtl"] .switch input:checked + .switch-ui::after { transform: translateX(-20px); }
.switch input:focus-visible + .switch-ui { outline: 3px solid rgba(196, 149, 90, .55); outline-offset: 2px; }

.chipset { display: flex; flex-wrap: wrap; gap: 8px; }
.chipcheck { position: relative; cursor: pointer; }
.chipcheck input { position: absolute; opacity: 0; pointer-events: none; }
.chipcheck span { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; font-weight: 600; font-size: 14px; transition: all .15s; }
.chipcheck:hover span { border-color: #cbbfa9; }
.chipcheck input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.chipcheck input:focus-visible + span { outline: 3px solid rgba(196, 149, 90, .55); outline-offset: 2px; }
.chipset-sm .chipcheck span { padding: 5px 11px; font-size: 13px; }

.option-cards { display: grid; gap: 12px; }
@media (min-width: 640px) { .option-cards { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); } }
.option-card { position: relative; cursor: pointer; }
.option-card input { position: absolute; opacity: 0; pointer-events: none; }
.option-card .oc-body { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 18px; border-radius: 16px; border: 1.5px solid var(--line-2); background: #fff; transition: all .15s; }
.option-card .oc-body .i { width: 26px; height: 26px; color: var(--gold-3); }
.option-card .oc-body b { font-size: 16px; }
.option-card .oc-body small { color: var(--muted); line-height: 1.6; }
.option-card:hover .oc-body { border-color: #cbbfa9; }
.option-card input:checked + .oc-body { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(17, 17, 17, .08); background: #FFFDF9; }
.option-card input:checked + .oc-body::after { content: "✓"; position: absolute; top: 12px; inset-inline-end: 14px; width: 24px; height: 24px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 13px; display: grid; place-items: center; font-weight: 800; }

.upload-box { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; padding: 16px; border: 1.5px dashed var(--line-2); border-radius: 16px; background: #FDFCFA; }
.upload-box > .stack { flex: 1 1 150px; min-width: 0; }
.upload-box:hover { border-color: var(--gold); }
.upload-preview { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; background: var(--surface-2); flex: none; display: grid; place-items: center; overflow: hidden; color: var(--muted-2); }
.upload-preview img { width: 100%; height: 100%; object-fit: cover; }
.upload-preview.is-wide { width: 160px; height: 60px; border-radius: 12px; }
.file-btn { position: relative; overflow: hidden; }
.file-btn input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }

/* ---------- auth ---------- */
.auth-wrap { min-height: calc(100vh - var(--header-h)); display: grid; }
@media (min-width: 1000px) { .auth-wrap { grid-template-columns: 1fr 1fr; } }
.auth-side { display: none; position: relative; overflow: hidden; background: #0D0D0E; color: #fff; padding: 56px; }
@media (min-width: 1000px) { .auth-side { display: flex; flex-direction: column; justify-content: center; } }
.auth-side::before { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(196, 149, 90, .35), transparent 65%); top: -140px; inset-inline-end: -160px; }
.auth-side::after { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(196, 149, 90, .18), transparent 65%); bottom: -160px; inset-inline-start: -120px; }
.auth-side > * { position: relative; z-index: 1; }
.auth-side > img { align-self: flex-start; }
.auth-side h2 { color: #fff; font-size: 34px; line-height: 1.35; }
.auth-side h2 em { font-style: normal; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.auth-side ul { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.auth-side li { display: flex; gap: 12px; align-items: flex-start; color: #d9d3c9; }
.auth-side li .i { color: var(--gold-2); margin-top: 3px; }
.auth-main { display: flex; align-items: center; justify-content: center; padding: 36px 16px 56px; }
@media (max-width: 999px) { .auth-wrap { min-height: 0; } .auth-main { align-items: flex-start; padding-top: 26px; } }
.auth-card { width: 100%; max-width: 480px; }
.auth-card h1 { font-size: 28px; }
.auth-card .sub { color: var(--muted); margin-bottom: 24px; }
.auth-switch { text-align: center; margin-top: 18px; color: var(--muted); }
.code-input { font-size: 30px !important; letter-spacing: 12px; text-align: center; font-weight: 800; height: 64px !important; direction: ltr; font-family: 'Poppins', monospace; }
.divider-text { display: flex; align-items: center; gap: 12px; color: var(--muted-2); font-size: 13px; margin: 18px 0; }
.divider-text::before, .divider-text::after { content: ""; flex: 1; border-top: 1px solid var(--line); }
/* listing visibility note (creator's own screens) */
.listing-status { display: flex; align-items: flex-start; gap: 8px; margin: 10px 0 4px; font-size: 13.5px; font-weight: 700; line-height: 1.6; }
.listing-status .i { flex: none; margin-top: 2px; }
.listing-status.is-on { color: var(--green); }
.listing-status.is-off { color: #9a5b12; }
/* social sign-in */
.social-auth { display: grid; gap: 10px; }
.btn-social { height: 52px; border-radius: 14px; gap: 12px; font-size: 15.5px; font-weight: 700; justify-content: center; }
.btn-social .sa-logo { width: 20px; height: 20px; flex: none; }
.btn-google { background: #fff; color: #1f1f1f; border-color: #d6d3cd; }
.btn-google:hover { background: #f8f7f4; color: #1f1f1f; border-color: #b9b4ab; }
.btn-facebook { background: #1877F2; color: #fff; border-color: #1877F2; }
.btn-facebook:hover { background: #166fe0; color: #fff; }
.btn-facebook .sa-logo { color: #fff; }
.sa-connected { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: #FDFCFA; margin-bottom: 20px; }
.sa-connected > div { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.5; }
.sa-connected > div span { color: var(--muted); font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sa-connected .sa-logo { width: 22px; height: 22px; flex: none; }
.sa-connected svg.sa-logo { color: #1877F2; }
.sa-terms { margin: 2px 0 0; font-size: 12.5px; line-height: 1.7; color: var(--muted); text-align: center; }
.sa-roles { display: grid; gap: 12px; }
@media (min-width: 480px) { .sa-roles { grid-template-columns: 1fr 1fr; } }
.sa-role { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 22px 16px; border: 1.5px solid var(--line-2); border-radius: 16px; background: #fff; cursor: pointer; font: inherit; color: var(--ink); text-align: center; transition: border-color .15s, box-shadow .15s, transform .15s; }
.sa-role .i { color: var(--gold-3); }
.sa-role b { font-size: 16px; }
.sa-role small { color: var(--muted); line-height: 1.6; }
.sa-role:hover, .sa-role:focus-visible { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(17, 17, 17, .08); }
.sa-role:active { transform: translateY(1px); }
.sa-role.is-loading { opacity: .6; pointer-events: none; }
.auth-card > .sa-terms { margin-top: 14px; }

/* ---------- hero (home) ---------- */
.hero { position: relative; overflow: hidden; background: #0C0C0D; color: #fff; }
.hero::before { content: ""; position: absolute; inset: 0; background:
  radial-gradient(640px 420px at 85% 10%, rgba(196, 149, 90, .28), transparent 60%),
  radial-gradient(520px 380px at 5% 100%, rgba(196, 149, 90, .16), transparent 60%); pointer-events: none; }
.hero::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px); background-size: 44px 44px; mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%); pointer-events: none; }
.hero-inner { position: relative; z-index: 1; display: grid; gap: 40px; align-items: center; padding-block: 56px 64px; }
@media (min-width: 1000px) { .hero-inner { grid-template-columns: 1.08fr .92fr; padding-block: 84px 92px; } }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 8px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); color: #eadcc6; font-size: 13px; font-weight: 700; margin-bottom: 18px; }
html[dir="rtl"] .hero-badge { padding: 6px 8px 6px 14px; }
.hero-badge b { background: var(--gold-grad); color: var(--ink); padding: 2px 10px; border-radius: 999px; font-size: 12px; }
.hero h1 { color: #fff; font-size: clamp(32px, 5.2vw, 58px); line-height: 1.22; font-weight: 900; margin-bottom: 18px; letter-spacing: -.02em; }
.hero h1 .gold-text { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lead { font-size: clamp(16px, 1.6vw, 19px); color: #cfc8bd; max-width: 620px; line-height: 1.85; margin-bottom: 28px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 26px; }
.hero-cta .btn { min-width: 210px; }
.hero-paths { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); max-width: 620px; margin-bottom: 24px; }
.hero-path { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 18px; border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .06); color: #fff; transition: transform .2s var(--ease), border-color .2s, background .2s; min-height: 76px; }
.hero-path > span:nth-child(2) { flex: 1; min-width: 0; }
.hero-path b { display: block; font-size: 16px; line-height: 1.3; }
.hero-path small { display: block; color: #bfb7aa; font-size: 13px; font-weight: 600; margin-top: 2px; line-height: 1.5; }
.hero-path-ico { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; flex: none; background: rgba(255, 255, 255, .1); color: var(--gold-2); }
.hero-path.is-brand { background: var(--gold-grad); border-color: transparent; color: var(--ink); }
.hero-path.is-brand small { color: #4a3517; }
.hero-path.is-brand .hero-path-ico { background: rgba(17, 17, 17, .12); color: var(--ink); }
.hero-path-arrow { flex: none; opacity: .7; transition: transform .2s var(--ease); }
.hero-path:hover { transform: translateY(-2px); color: #fff; border-color: rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .1); }
.hero-path.is-brand:hover { color: var(--ink); background: var(--gold-grad); filter: brightness(1.04); }
.hero-path:hover .hero-path-arrow { transform: translateX(calc(-3px * var(--dir, 1))); }
[dir="ltr"] .hero-path:hover .hero-path-arrow { transform: translateX(3px); }
.hero-stats { display: flex; flex-wrap: wrap; gap: 8px 26px; margin: 0 0 6px; padding: 14px 0 0; border-top: 1px solid rgba(255, 255, 255, .1); }
.hero-stats > div { display: flex; flex-direction: column-reverse; gap: 0; min-width: 72px; }
.hero-stats dd { margin: 0; font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 24px; line-height: 1.15; color: #fff; direction: ltr; }
.hero-stats dt { font-size: 12.5px; font-weight: 700; color: #a9a295; letter-spacing: .02em; }
@media (max-width: 520px) { .hero-cta .btn { flex: 1 1 100%; } }
.hero-search { display: flex; flex-wrap: wrap; gap: 8px; padding: 8px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: 18px; max-width: 620px; }
.hero-search .select { flex: 1 1 160px; background-color: rgba(255, 255, 255, .95); border-color: transparent; height: 48px; }
.hero-search .btn { flex: 0 0 auto; }
@media (max-width: 520px) { .hero-search .btn { flex: 1 1 100%; } }
.hero-trust { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 22px; color: #a9a295; font-size: 14px; font-weight: 600; }
.hero-trust span { display: inline-flex; align-items: center; gap: 7px; }
.hero-trust .i { color: var(--gold-2); }

.hero-visual { position: relative; height: 480px; display: none; }
@media (min-width: 1000px) { .hero-visual { display: block; } }
.phone { position: absolute; width: 230px; aspect-ratio: 9 / 16; border-radius: 28px; padding: 8px; background: #1b1b1d; border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(196, 149, 90, .12); }
.phone-screen { position: relative; width: 100%; height: 100%; border-radius: 21px; overflow: hidden; background: #2a2622; }
.phone-screen img, .phone-screen video { width: 100%; height: 100%; object-fit: cover; }
.phone-1 { inset-inline-start: 6%; top: 44px; transform: rotate(-7deg); }
.phone-2 { inset-inline-start: 34%; top: 0; z-index: 2; width: 250px; }
.phone-3 { inset-inline-end: 0; top: 70px; transform: rotate(7deg); }
.phone-grad-1 { background: linear-gradient(160deg, #3b2c1c, #8d6537 55%, #d6ae74); }
.phone-grad-2 { background: linear-gradient(170deg, #1d1d20, #4b3a26 60%, #c4955a); }
.phone-grad-3 { background: linear-gradient(165deg, #2b2320, #6b4b33 50%, #e2c29a); }
.phone-ui { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; padding: 14px; }
.phone-top { display: flex; align-items: center; gap: 8px; }
.phone-top .pa { width: 30px; height: 30px; border-radius: 50%; background: rgba(255, 255, 255, .85); flex: none; }
.phone-top .pb { height: 8px; width: 70px; border-radius: 99px; background: rgba(255, 255, 255, .75); }
.phone-play { width: 58px; height: 58px; border-radius: 50%; margin: 0 auto; background: rgba(255, 255, 255, .18); border: 1px solid rgba(255, 255, 255, .35); backdrop-filter: blur(6px); display: grid; place-items: center; color: #fff; }
.phone-play .i { width: 24px; height: 24px; fill: #fff; }
.phone-bottom { display: grid; gap: 6px; }
.phone-bottom .pl { height: 7px; border-radius: 99px; background: rgba(255, 255, 255, .7); }
.phone-bottom .pl.s { width: 60%; }
.phone-tag { position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: #fff; color: var(--ink); border-radius: 14px; box-shadow: var(--shadow-lg); font-size: 13px; font-weight: 700; white-space: nowrap; }
.phone-tag .i { color: var(--gold-3); }
.phone-tag small { display: block; color: var(--muted); font-weight: 600; }
.tag-1 { top: 36px; inset-inline-end: 34%; }
.tag-2 { bottom: 40px; inset-inline-start: 0; }
.tag-3 { bottom: 110px; inset-inline-end: -8px; }

/* value props */
.values { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-top: -34px; position: relative; z-index: 2; }
.value { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px; display: flex; gap: 14px; align-items: flex-start; box-shadow: var(--shadow-sm); }
.value-ico { width: 44px; height: 44px; border-radius: 12px; background: var(--ink); color: var(--gold-2); display: grid; place-items: center; flex: none; }
.value b { display: block; font-size: 15px; margin-bottom: 2px; }
.value p { margin: 0; font-size: 13.5px; color: var(--muted); line-height: 1.6; }

/* categories */
.cat-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.cat-tile { display: flex; align-items: center; gap: 12px; padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: 16px; transition: all .2s var(--ease); }
.cat-tile:hover { border-color: var(--gold); transform: translateY(-2px); box-shadow: var(--shadow-sm); color: var(--ink); }
.cat-emoji { width: 42px; height: 42px; border-radius: 12px; background: var(--gold-soft); display: grid; place-items: center; font-size: 21px; flex: none; }
.cat-tile b { display: block; font-size: 14px; line-height: 1.35; }
.cat-tile small { color: var(--muted-2); }

/* how it works */
.how { background: #fff; border-block: 1px solid var(--line); }
.how-tabs { display: inline-flex; padding: 5px; border-radius: 14px; background: var(--surface-2); gap: 4px; margin-bottom: 26px; }
.how-tabs button { border: 0; background: transparent; padding: 10px 20px; border-radius: 10px; font-weight: 800; cursor: pointer; color: var(--muted); }
.how-tabs button.is-active { background: var(--ink); color: #fff; }
.steps { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); counter-reset: step; }
.step { position: relative; padding: 22px; border-radius: 18px; background: var(--bg); border: 1px solid var(--line); }
.step::before { counter-increment: step; content: counter(step); position: absolute; top: 18px; inset-inline-end: 18px; font-family: 'Poppins', sans-serif; font-size: 40px; font-weight: 800; color: #ece4d6; line-height: 1; }
.step-ico { width: 48px; height: 48px; border-radius: 14px; background: var(--gold-grad); color: var(--ink); display: grid; place-items: center; margin-bottom: 14px; }
.step h3 { font-size: 17px; margin-bottom: 6px; }
.step p { font-size: 14px; color: var(--muted); margin: 0; line-height: 1.75; }

.feature-band { background: #0D0D0E; color: #fff; border-radius: 26px; padding: 34px; position: relative; overflow: hidden; }
.feature-band::before { content: ""; position: absolute; width: 460px; height: 460px; border-radius: 50%; background: radial-gradient(circle, rgba(196, 149, 90, .25), transparent 65%); top: -200px; inset-inline-start: -120px; }
.feature-band > * { position: relative; }
.feature-band h2 { color: #fff; }
.feature-band p { color: #bdb6aa; }
.flow { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.flow span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); font-size: 14px; font-weight: 700; color: #eee6d9; }
.flow span .i { color: var(--gold-2); }
.rights { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); margin-top: 22px; }
.rights div { padding: 14px; border-radius: 14px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); font-size: 14px; color: #ddd5c8; }
.rights div b { display: block; color: #fff; margin-bottom: 2px; }

.cta-band { border-radius: 26px; padding: 38px 28px; background: var(--gold-grad); color: var(--ink); display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
.cta-band h2 { margin: 0 0 4px; }
.cta-band p { margin: 0; color: #3b2b14; font-weight: 600; }

/* faq */
.faq { display: grid; gap: 10px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 0 18px; transition: border-color .2s; }
.faq details[open] { border-color: var(--gold-line); box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; list-style: none; padding: 16px 0; font-weight: 800; display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; color: var(--gold-3); font-weight: 700; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 16px; margin: 0; line-height: 1.85; }

/* phones: the long grids become one-row swipe strips (keeps the home page short) */
@media (max-width: 639px) {
  .hscroll-m.hscroll-m { display: flex; grid-template-columns: none; gap: 12px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: 16px; padding: 4px 16px 14px; margin-inline: -16px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .hscroll-m::-webkit-scrollbar { display: none; }
  .hscroll-m > * { flex: 0 0 auto; scroll-snap-align: start; }
  .creators-grid.hscroll-m > * { width: min(78vw, 300px); }
  .jobs-grid.hscroll-m > * { width: min(86vw, 340px); }
  .cat-grid.hscroll-m > * { width: 196px; }
  .tm-grid.hscroll-m > * { width: min(84vw, 330px); }
  .steps.hscroll-m > * { width: min(80vw, 300px); }
  .steps.hscroll-m[hidden] { display: none; }
  .rights { grid-template-columns: 1fr 1fr; gap: 8px; }
  .rights div { padding: 12px; font-size: 13px; }
  .feature-band { padding: 26px 20px; }
  .world-flags .chips { flex-wrap: nowrap; overflow-x: auto; padding: 2px 16px 10px; margin-inline: -16px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .world-flags .chips::-webkit-scrollbar { display: none; }
  .world-flags .chips > * { flex: 0 0 auto; }
  .faq summary { padding: 13px 0; font-size: 15px; }
  .pro-band { padding: 24px 20px; }
  .creators-grid.hscroll-m > * { width: min(66vw, 260px); }
  .hero-trust { display: none; }
  .hero-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
  .hero-stats > div { min-width: 0; }
  .hero-stats dd { font-size: 20px; }
  .hero-stats dt { font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .values { grid-template-columns: 1fr 1fr; }
  .value { flex-direction: column; gap: 8px; padding: 12px; }
  .value-ico { width: 36px; height: 36px; }
  .value b { font-size: 14px; }
  .value p { font-size: 12.5px; }
  .fbg-band { padding: 22px 18px; gap: 14px; }
  .fbg-band .fbg-list-lg { display: none; }
  .fbg-band p { margin-bottom: 12px; }
  .cta-band { padding: 26px 20px; }
  .site-footer { margin-top: 44px; padding-top: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 20px 16px; padding-bottom: 24px; }
  .footer-brand img { height: 46px; }
  .site-footer h4 { margin-bottom: 8px; }
  .site-footer a:not(.social-ico):not(.lang-switch):not(.fbg-footer) { padding: 3px 0; }
  .section { padding-block: 40px; }
  .section-head { margin-bottom: 16px; }
  .values { margin-top: -22px; gap: 10px; }
  .value { padding: 14px; }
  .hero-inner { padding-block: 40px 44px; }
  .hero-lead { margin-bottom: 20px; }
}

/* ---------- platform reviews («بيقولوا عننا») ---------- */
.tm-section { background: #fff; border-block: 1px solid var(--line); }
.tm-score { margin: 8px 0 0 !important; display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; font-size: 14px; }
.tm-score b { font-family: 'Poppins', sans-serif; font-size: 18px; color: var(--ink); }
.tm-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.tm-card { margin: 0; display: flex; flex-direction: column; gap: 10px; padding: 20px; border: 1px solid var(--line); border-radius: 20px; background: var(--bg); position: relative; }
.tm-section .tm-card { background: var(--bg); }
.tm-card.is-featured { border-color: var(--gold-line); background: linear-gradient(180deg, #fffdf9, var(--gold-soft)); }
.tm-card .tm-stars { display: inline-flex; gap: 2px; }
.tm-card blockquote { margin: 0; flex: 1; }
.tm-card blockquote p { margin: 0; font-size: 15px; line-height: 1.85; color: var(--text); }
.tm-card blockquote p::before { content: "\201C"; color: var(--gold); font-family: 'Poppins', serif; font-size: 26px; line-height: 0; vertical-align: -8px; margin-inline-end: 4px; }
.tm-card figcaption { display: flex; align-items: center; gap: 10px; padding-top: 12px; border-top: 1px solid var(--line); }
.tm-who { display: flex; flex-direction: column; min-width: 0; }
.tm-who b { display: inline-flex; align-items: center; gap: 4px; font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tm-who small { color: var(--muted-2); font-size: 12.5px; font-weight: 600; }
.tm-anon { display: inline-grid !important; place-items: center; background: var(--gold-soft); color: var(--gold-3); }
.tm-ask-band { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 18px 20px; border-radius: 20px; background: var(--gold-soft); border: 1px solid var(--gold-line); }
.tm-ask-band > .i { color: var(--gold-3); flex: none; }
.tm-ask-band > div { flex: 1 1 240px; }
.tm-ask-band b { display: block; font-size: 15.5px; }
.tm-ask-band small { display: block; color: var(--muted); font-weight: 600; margin-top: 2px; }

/* the star picker (radio buttons, visually reversed in the markup) */
.star-pick { display: inline-flex; flex-direction: row-reverse; gap: 2px; direction: ltr; }
.star-pick input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.star-pick label { cursor: pointer; color: #D9D3C9; padding: 2px; border-radius: 8px; transition: transform .15s var(--ease), color .15s; line-height: 0; }
.star-pick label .i { fill: #EEEAE3; stroke: currentColor; transition: fill .15s; }
.star-pick label:hover { transform: scale(1.12); }
.star-pick input:checked ~ label, .star-pick input:checked + label { color: #E8A93A; }
.star-pick input:checked ~ label .i, .star-pick input:checked + label .i { fill: #E8A93A; }
.star-pick:hover label { color: #D9D3C9; }
.star-pick:hover label .i { fill: #EEEAE3; }
.star-pick label:hover, .star-pick label:hover ~ label { color: #E8A93A; }
.star-pick label:hover .i, .star-pick label:hover ~ label .i { fill: #E8A93A; }
.star-pick input:focus-visible + label { outline: 2px solid var(--gold); outline-offset: 2px; }
.star-pick-sm label .i { width: 26px; height: 26px; }

/* dashboard card + /review page */
.tm-ask { border-color: var(--gold-line); background: linear-gradient(180deg, #fffdf9, var(--gold-soft)); }
.tm-ask-head { display: flex; gap: 12px; align-items: flex-start; }
.tm-ask-head b { display: block; font-size: 15px; }
.tm-ask-head small { display: block; color: var(--muted); font-size: 13px; line-height: 1.6; margin-top: 2px; }
.tm-ask-ico { width: 40px; height: 40px; border-radius: 12px; background: var(--ink); color: var(--gold-2); display: grid; place-items: center; flex: none; }
.tm-ask-form { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.tm-ask-later { border: 0; background: transparent; color: var(--muted-2); font-size: 13px; font-weight: 700; cursor: pointer; padding: 6px 0 0; }
.tm-ask-later:hover { color: var(--ink); text-decoration: underline; }
.tm-wait { display: flex; gap: 14px; align-items: flex-start; }
.tm-wait b { display: block; font-size: 16px; margin-bottom: 4px; }
.tm-mine .tm-card { margin-top: 14px; margin-bottom: 14px; background: var(--bg); }
.tm-form .star-pick label .i { width: 38px; height: 38px; }
.tm-side .tm-card { padding: 16px; }
.tm-side .tm-card + .tm-card { margin-top: 10px; }
.tm-side-score { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.tm-side-score > b { font-family: 'Poppins', sans-serif; font-size: 34px; line-height: 1; color: var(--ink); }
.tm-side-score > span { display: flex; flex-direction: column; gap: 2px; }
.tm-side-score small { color: var(--muted); font-weight: 600; font-size: 12.5px; }
.review-page .page-head p { max-width: 640px; }
@media (min-width: 960px) { .review-page .layout-side { grid-template-columns: minmax(0, 1fr) 340px; } }

/* Creator Pro teaser band (home) */
.pro-band { display: grid; gap: 22px; align-items: center; padding: 30px; border-radius: 26px; background: linear-gradient(135deg, #fff9ef 0%, var(--gold-soft) 55%, #fff 100%); color: var(--ink); position: relative; overflow: hidden; border: 1px solid var(--gold-line); }
.pro-band::after { content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(196, 149, 90, .22), transparent 65%); bottom: -220px; inset-inline-end: -120px; pointer-events: none; }
.pro-band > * { position: relative; z-index: 1; }
.pro-band h2 { margin: 4px 0 8px; font-size: clamp(22px, 2.6vw, 30px); }
.pro-band p { color: var(--muted); margin: 0; max-width: 560px; line-height: 1.8; }
.pro-band-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.pro-band-chips span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--gold-line); font-size: 13px; font-weight: 700; color: var(--ink); }
.pro-band-chips .i { color: var(--gold-3); }
.pro-band-cta { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.pro-band-cta .btn-gold { background: var(--ink); color: #fff; }
.pro-band-cta .btn-gold:hover { background: #2a2a2d; color: #fff; }
.pro-band-cta small { color: var(--muted); font-weight: 600; font-size: 13px; }
@media (min-width: 900px) { .pro-band { grid-template-columns: minmax(0, 1fr) auto; padding: 36px 40px; } .pro-band-cta { align-items: center; text-align: center; } }

/* ---------- who may open a chat (app/lib/outreach.php) ---------- */
.dm-gate { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 12px; border-color: var(--gold-line); background: var(--gold-soft); }
.dm-gate > div { flex: 1 1 240px; min-width: 0; }
.dm-gate b { display: block; font-size: 15px; }
.dm-gate small { display: block; color: var(--muted); font-weight: 600; font-size: 13px; line-height: 1.6; margin-top: 2px; }
.dm-gate-ico { width: 42px; height: 42px; border-radius: 12px; background: var(--ink); color: var(--gold-2); display: grid; place-items: center; flex: none; }
.dm-left { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: 8px; font-size: 12.5px; font-weight: 700; color: var(--muted); }
.dm-left .i { color: var(--gold-3); }
.dm-left.is-out { color: var(--amber); }
.dm-left.is-out .i { color: var(--amber); }

/* ---------- referral programme («ادعُ واكسب») ---------- */
.rfl-strip { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: var(--gold-soft); border: 1px solid var(--gold-line); margin-bottom: 16px; color: var(--ink); text-align: start; }
.rfl-strip b { display: block; font-size: 14.5px; }
.rfl-strip small { display: block; color: var(--muted); font-weight: 600; font-size: 13px; line-height: 1.5; }
.page-lp .rfl-strip { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .18); color: #fff; }
.page-lp .rfl-strip small { color: #cfc8bd; }
.rfl-code-field { margin-bottom: 14px; }
.rfl-code-field summary { cursor: pointer; list-style: none; font-weight: 700; font-size: 14px; color: var(--gold-4); display: inline-flex; align-items: center; gap: 6px; }
.rfl-code-field summary::-webkit-details-marker { display: none; }
.dropdown-ref .chip { margin-inline-start: auto; font-size: 11.5px; }

.rfl-card { border-color: var(--gold-line); background: linear-gradient(180deg, #fffdf9, var(--gold-soft)); }
.rfl-card-head { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 12px; }
.rfl-card-head b { display: block; font-size: 15px; }
.rfl-card-head small { display: block; color: var(--muted); font-size: 13px; line-height: 1.6; margin-top: 2px; }
.rfl-card-ico { width: 40px; height: 40px; border-radius: 12px; background: var(--gold-grad); color: var(--ink); display: grid; place-items: center; flex: none; }
.rfl-code-row { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.rfl-code-label { font-size: 13px; color: var(--muted); font-weight: 700; }
.rfl-code { font-family: var(--font-latin); font-weight: 900; letter-spacing: .14em; font-size: 18px; background: #fff; border: 1px dashed var(--gold); border-radius: 10px; padding: 4px 12px; }
.rfl-link-row { display: flex; gap: 8px; }
.rfl-link-row .input { flex: 1; min-width: 0; font-size: 13.5px; }
.rfl-share-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.rfl-btn-wa { background: #25D366; color: #fff; }
.rfl-btn-wa:hover { background: #1ebe5a; color: #fff; }
.rfl-btn-tg { background: #229ED9; color: #fff; }
.rfl-btn-tg:hover { background: #1b8cc2; color: #fff; }
.rfl-progress { margin-top: 12px; }
.rfl-progress small { display: block; color: var(--muted); font-weight: 600; margin-top: 6px; font-size: 12.5px; }
.rfl-progress-bar { height: 8px; border-radius: 99px; background: #eee6d8; overflow: hidden; }
.rfl-progress-bar span { display: block; height: 100%; border-radius: 99px; background: var(--gold-grad); transition: width .4s var(--ease); }
.rfl-progress-bar.big { height: 12px; margin: 12px 0; }

.rfl-page .page-head p { max-width: 720px; }
.rfl-hero { display: grid; gap: 18px; margin-bottom: 16px; }
@media (min-width: 900px) { .rfl-hero { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: stretch; } }
.rfl-hero-main { background: #0D0D0E; color: #fff; border-radius: 24px; padding: 24px; position: relative; overflow: hidden; }
.rfl-hero-main::before { content: ""; position: absolute; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(196, 149, 90, .3), transparent 65%); top: -200px; inset-inline-end: -120px; pointer-events: none; }
.rfl-hero-main > * { position: relative; }
.rfl-hero-main .label { color: #cfc8bd; }
.rfl-hero-main .help { color: #a9a295; }
.rfl-hero-main .help .link { color: var(--gold-2); }
.rfl-hero-main .input { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .16); color: #fff; }
.rfl-hero-main .btn-outline { background: transparent; border-color: rgba(255, 255, 255, .3); color: #fff; }
.rfl-hero-main .btn-outline:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.rfl-hero-main .btn-ghost { color: #cfc8bd; }
.rfl-hero-main .btn-dark { background: var(--gold-grad); color: var(--ink); }
.rfl-code-big { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.rfl-code-big span { color: #a9a295; font-weight: 700; font-size: 13px; }
.rfl-code-big b { font-family: var(--font-latin); font-size: 30px; font-weight: 900; letter-spacing: .18em; background: rgba(255, 255, 255, .06); border: 1px dashed var(--gold-2); border-radius: 12px; padding: 4px 16px; color: var(--gold-2); }
.rfl-hero-btns { margin-top: 16px; }
.rfl-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.rfl-stat { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 16px; display: flex; flex-direction: column; gap: 4px; justify-content: center; }
.rfl-stat b { font-family: var(--font-latin); font-size: 26px; font-weight: 900; line-height: 1.1; }
.rfl-stat span { font-size: 13px; color: var(--muted); font-weight: 700; }
.rfl-stat.is-gold { background: var(--gold-soft); border-color: var(--gold-line); }
.rfl-progress-card { margin-bottom: 20px; }
.rfl-funnel { display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--muted); font-size: 13.5px; font-weight: 600; }
.rfl-funnel span { display: inline-flex; align-items: center; gap: 6px; }
.rfl-funnel .i { color: var(--gold-3); }
@media (min-width: 960px) { .rfl-grid { grid-template-columns: minmax(0, 1fr) 360px; } }
.rfl-text-list { display: none; gap: 14px; }
.rfl-text-list.is-active { display: grid; }
.rfl-text { border: 1px solid var(--line); border-radius: 16px; padding: 14px; background: var(--bg); }
.rfl-text-head { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-size: 14.5px; }
.rfl-text-head .i { color: var(--gold-3); }
.rfl-text-body { font-size: 14.5px; line-height: 1.8; background: #fff; resize: vertical; }
.rfl-list { display: grid; }
.rfl-row { display: flex; align-items: center; gap: 12px; padding: 12px 18px; border-top: 1px solid var(--line); }
.rfl-row-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.rfl-row-main b { font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rfl-row-main small { color: var(--muted-2); font-size: 12.5px; font-weight: 600; }
.rfl-row-line { color: var(--muted) !important; }
.rfl-row-line.is-ok { color: var(--green) !important; }
.rfl-wlist { margin-top: 14px; display: grid; gap: 8px; }
.rfl-wrow { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 12px; background: var(--surface-2); }
.rfl-wrow small { display: block; color: var(--muted); font-size: 12.5px; font-weight: 600; }
.rfl-rules { margin: 0; padding-inline-start: 18px; display: grid; gap: 8px; color: var(--muted); font-size: 14px; line-height: 1.75; }
.rfl-rules li::marker { color: var(--gold-3); font-weight: 800; }
@media (max-width: 639px) {
  .rfl-hero-main { padding: 18px; }
  .rfl-code-big b { font-size: 24px; }
  .rfl-stat b { font-size: 22px; }
  .rfl-link-row { flex-wrap: wrap; }
  .rfl-link-row .btn { flex: 1; }
}

@media (prefers-reduced-motion: reduce) { .hscroll-m { scroll-snap-type: none; } }

/* ---------- creator card ---------- */
.creators-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 262px), 1fr)); }
.ccard { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s; }
.ccard:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #e2d6c3; }
.ccard-media { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; height: 168px; background: var(--surface-2); }
.ccard-noport { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: var(--muted-2); background: linear-gradient(135deg, #f6f1e9, #efe7da); }
.ccard-noport small { font-size: 12px; font-weight: 600; }
.ccard-save { position: absolute; top: 10px; inset-inline-end: 10px; width: 38px; height: 38px; border-radius: 50%; border: 0; display: grid; place-items: center; background: rgba(255, 255, 255, .92); color: #3d3a35; cursor: pointer; box-shadow: var(--shadow-sm); transition: transform .15s; z-index: 2; }
.ccard-save:hover { transform: scale(1.08); }
.ccard-save.is-on { color: #E0433A; }
.ccard-save.is-on .i { fill: #E0433A; }
.ccard-body { padding: 0 16px 16px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.ccard-head { display: flex; align-items: flex-end; gap: 10px; margin-top: -24px; }
.ccard-avatar { border: 3px solid #fff; box-shadow: var(--shadow-sm); position: relative; z-index: 1; }
.ccard-name { display: flex; align-items: center; gap: 4px; padding-bottom: 2px; min-width: 0; }
.ccard-name b { font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ccard-headline { margin: 0; font-size: 13.5px; color: #5b5750; line-height: 1.6; }
.ccard-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.ccard-meta .i { width: 14px; height: 14px; }
.ccard-meta .sep { color: #cfc8bd; }
.ccard-cats { display: flex; flex-wrap: wrap; gap: 5px; }
.ccard-cats .chip { font-size: 12px; padding: 2px 9px; }
.ccard-stats { display: flex; align-items: center; gap: 12px; font-size: 13px; margin-top: auto; padding-top: 4px; }
.ccard-reach { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; color: #3d3a35; }
.ccard-reach .i { width: 15px; height: 15px; color: var(--muted); }
.ccard-stats .dot { margin-inline-start: auto; }
.ccard-price { font-weight: 800; font-size: 14px; color: var(--ink); padding-top: 10px; border-top: 1px dashed var(--line-2); }

/* portfolio thumbs */
.pthumb { position: relative; display: block; overflow: hidden; background: #2b2724; width: 100%; height: 100%; }
.pthumb img, .pthumb video { width: 100%; height: 100%; object-fit: cover; }
.pthumb-play { position: absolute; bottom: 6px; inset-inline-start: 6px; width: 24px; height: 24px; border-radius: 50%; background: rgba(0, 0, 0, .45); color: #fff; display: grid; place-items: center; }
.pthumb-play .i { width: 12px; height: 12px; fill: #fff; }
.pthumb-logo { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -60%); width: 26px; height: 26px; color: #fff; opacity: .95; }
.pthumb-empty { background: linear-gradient(135deg, #f3ede3, #ebe3d6); }
.pthumb.is-framed .pthumb-logo { display: none; }
.pthumb.is-framed img { animation: pthumb-in .25s ease-out; }
@keyframes pthumb-in { from { opacity: 0; } }
.pthumb-instagram { background: linear-gradient(135deg, #5b2ed1 0%, #c1318a 50%, #f5a142 100%); }
.pthumb-tiktok { background: linear-gradient(145deg, #0b0b0b 0%, #1f1f22 60%, #25f4ee 140%); }
.pthumb-facebook { background: linear-gradient(145deg, #0c3aa3, #1877F2); }
.pthumb-youtube { background: linear-gradient(145deg, #3a0000, #cc0000); }
.pthumb-drive { background: linear-gradient(145deg, #0c6b3a, #1fa463 60%, #f6c032); }
.pthumb-vimeo { background: linear-gradient(145deg, #0b4f64, #1ab7ea); }
.pthumb-snapchat { background: linear-gradient(145deg, #e6d800, #fffc00); }
.pthumb-snapchat .pthumb-logo { color: #111; }
.pthumb-x, .pthumb-other, .pthumb-upload { background: linear-gradient(145deg, #1b1b1d, #4a3b28); }

/* portfolio grid (profile) */
.portfolio-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(46%, 180px), 1fr)); }
.ptile { position: relative; aspect-ratio: 9 / 16; border-radius: 16px; overflow: hidden; cursor: pointer; background: #1b1b1d; border: 0; padding: 0; display: block; width: 100%; text-align: start; color: #fff; }
.ptile .pthumb { position: absolute; inset: 0; }
.ptile .pthumb-play { display: none; }
.ptile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .0) 45%, rgba(0, 0, 0, .75)); pointer-events: none; }
.ptile-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 54px; height: 54px; border-radius: 50%; background: rgba(255, 255, 255, .2); border: 1px solid rgba(255, 255, 255, .45); backdrop-filter: blur(6px); display: grid; place-items: center; z-index: 1; transition: transform .2s var(--ease), background .2s; }
.ptile-play .i { width: 22px; height: 22px; fill: #fff; }
.ptile:hover .ptile-play { transform: translate(-50%, -50%) scale(1.08); background: var(--gold); border-color: var(--gold); }
.ptile-info { position: absolute; bottom: 0; inset-inline: 0; padding: 12px; z-index: 1; display: flex; flex-direction: column; gap: 5px; }
.ptile-info b { font-size: 13.5px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ptile-meta { display: flex; align-items: center; gap: 6px; font-size: 12px; color: #e9e2d6; flex-wrap: wrap; }
.ptile-meta .chip { background: rgba(255, 255, 255, .18); color: #fff; font-size: 11.5px; padding: 1px 8px; backdrop-filter: blur(4px); }
.ptile-plat { position: absolute; top: 10px; inset-inline-start: 10px; z-index: 1; width: 30px; height: 30px; border-radius: 9px; background: rgba(0, 0, 0, .45); display: grid; place-items: center; }
.ptile-plat .i { width: 16px; height: 16px; }

/* ---------- job card ---------- */
.jobs-list { display: grid; gap: 14px; }
.jobs-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.jcard { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 18px; display: flex; flex-direction: column; gap: 10px; transition: box-shadow .25s var(--ease), border-color .25s, transform .25s var(--ease); }
.jcard:hover { box-shadow: var(--shadow); border-color: #e2d6c3; transform: translateY(-2px); }
.jcard-brand { display: flex; align-items: center; gap: 10px; }
.jcard-brand b { font-size: 14px; display: inline-flex; align-items: center; gap: 4px; }
.jcard-brand small { display: block; color: var(--muted-2); font-size: 12px; }
.jcard-title { font-size: 17px; font-weight: 800; line-height: 1.5; color: var(--ink); }
.jcard-title:hover { color: var(--gold-3); }
html[dir="rtl"] .jcard-title { text-align: right; }
html[dir="ltr"] .jcard-title { text-align: left; }
.jcard-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.jcard-facts { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 14px; color: #45413b; font-weight: 600; }
.jcard-facts span { display: inline-flex; align-items: center; gap: 6px; }
.jcard-facts .i { width: 16px; height: 16px; color: var(--gold-3); }
.jcard-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 12px; margin-top: auto; border-top: 1px solid var(--line); font-size: 13px; }
.jcard-foot .muted { display: inline-flex; align-items: center; gap: 5px; }

/* ---------- filters (search pages) ---------- */
.filters { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 18px; }
.filters .field { margin-bottom: 14px; }
.filters .label { font-size: 13px; }
.filters-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.filters-head h3 { margin: 0; font-size: 16px; display: flex; gap: 8px; align-items: center; }
.filter-toggle { display: none; }
@media (max-width: 999px) {
  .filters-panel { position: fixed; inset: 0; z-index: 80; background: rgba(12, 12, 13, .5); display: none; }
  .filters-panel.is-open { display: block; }
  .filters-panel .filters { position: absolute; top: 0; bottom: 0; inset-inline-start: 0; width: min(360px, 92vw); border-radius: 0; overflow-y: auto; animation: slidein .2s var(--ease); padding-bottom: 90px; }
  .filter-toggle { display: inline-flex; }
}
@keyframes slidein { from { transform: translateX(30px); opacity: 0; } to { transform: none; opacity: 1; } }
.results-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.results-bar .select { width: auto; min-width: 190px; height: 42px; }
.search-top { display: flex; gap: 10px; margin-bottom: 18px; }
.search-top .input { height: 50px; }
.active-filters { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.active-filters a { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 13px; font-weight: 600; }
.active-filters a:hover { background: var(--ink-3); color: #fff; }
.active-filters a .i { width: 13px; height: 13px; }

/* ---------- profile ---------- */
.profile-cover { height: 210px; background: linear-gradient(120deg, #141415 0%, #3a2c1b 55%, #c4955a 130%); position: relative; overflow: hidden; }
.profile-cover img { width: 100%; height: 100%; object-fit: cover; }
.profile-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, .25)); }
@media (min-width: 768px) { .profile-cover { height: 260px; } }
.profile-head { position: relative; display: flex; flex-wrap: wrap; gap: 18px; align-items: flex-end; margin-top: -64px; padding-bottom: 20px; border-bottom: 1px solid var(--line); z-index: 1; }
.profile-avatar { border: 5px solid #fff; box-shadow: var(--shadow); }
.profile-id { flex: 1 1 280px; min-width: 0; padding-bottom: 4px; }
.profile-id h1 { font-size: clamp(24px, 3vw, 32px); margin: 0 0 4px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.profile-id .headline { color: #4b473f; font-weight: 600; margin: 0 0 8px; }
.profile-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; color: var(--muted); font-size: 14px; }
.profile-meta span { display: inline-flex; align-items: center; gap: 6px; }
.profile-meta .i { width: 16px; height: 16px; }
.profile-actions { display: flex; gap: 8px; flex-wrap: wrap; padding-bottom: 6px; }
.profile-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; margin-block: 20px; }
.pstat { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px; }
.pstat b { display: block; font-size: 22px; font-weight: 900; line-height: 1.2; font-family: 'Poppins', var(--font); }
.pstat span { color: var(--muted); font-size: 13px; font-weight: 600; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 20px; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { padding: 12px 16px; font-weight: 800; color: var(--muted); border: 0; background: none; cursor: pointer; border-bottom: 3px solid transparent; margin-bottom: -1px; white-space: nowrap; display: inline-flex; gap: 6px; align-items: center; }
.tab:hover { color: var(--ink); }
.tab.is-active { color: var(--ink); border-bottom-color: var(--gold); }
.tab .count { background: var(--surface-2); border-radius: 999px; padding: 0 8px; font-size: 12px; color: var(--muted); }
.tab-panel { display: none; }
.tab-panel.is-active { display: block; animation: fade .25s var(--ease); }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.info-list { display: grid; gap: 12px; }
.info-row { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; }
.info-row > .i { color: var(--gold-3); margin-top: 4px; }
.info-row small { display: block; color: var(--muted); font-size: 12.5px; font-weight: 700; }

/* packages */
.packages { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.package { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.package:hover { border-color: var(--gold-line); box-shadow: var(--shadow-sm); }
.package h4 { margin: 0; font-size: 16px; }
.package-price { font-size: 24px; font-weight: 900; color: var(--ink); font-family: 'Poppins', var(--font); }
.package-price small { font-size: 13px; color: var(--muted); font-weight: 600; font-family: var(--font); }
.package ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; font-size: 14px; color: #45413b; }
.package li { display: flex; gap: 8px; align-items: flex-start; }
.package li .i { width: 17px; height: 17px; color: var(--green); margin-top: 3px; }
.package .btn { margin-top: auto; }

/* socials list */
.social-list { display: grid; gap: 10px; }
.social-row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.social-row:hover { border-color: var(--gold-line); }
.social-badge { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: #fff; flex: none; }
.social-badge .i { width: 22px; height: 22px; }
.sb-instagram { background: linear-gradient(135deg, #5b2ed1, #c1318a 55%, #f5a142); }
.sb-tiktok { background: #111; }
.sb-youtube { background: #FF0000; }
.sb-facebook { background: #1877F2; }
.sb-snapchat { background: #FFFC00; color: #111; }
.sb-x, .sb-threads { background: #111; }
.sb-linkedin { background: #0A66C2; }
.social-name { flex: 1; min-width: 0; }
.social-name b { display: flex; align-items: center; gap: 5px; font-size: 15px; }
.social-name small { color: var(--muted); display: block; direction: ltr; text-align: start; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html[dir="rtl"] .social-name small { text-align: right; }
.social-count { text-align: end; font-weight: 900; font-size: 17px; white-space: nowrap; font-family: 'Poppins', var(--font); }
.social-count small { display: block; font-size: 12px; color: var(--muted); font-weight: 600; font-family: var(--font); }

/* reviews */
.review { padding: 18px 0; border-bottom: 1px solid var(--line); }
.review:last-child { border-bottom: 0; }
.review-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.review-head b { display: block; font-size: 15px; }
.review-head small { color: var(--muted-2); }
.review-scores { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0; }
.review-scores span { font-size: 12.5px; background: var(--surface-2); padding: 2px 10px; border-radius: 999px; color: #4b473f; font-weight: 600; }
.review p { margin: 0; line-height: 1.8; }
.review-reply { margin-top: 10px; margin-inline-start: 18px; padding: 10px 14px; background: var(--surface-2); border-radius: 12px; font-size: 14px; border-inline-start: 3px solid var(--gold); }
.rating-summary { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; padding: 18px; background: var(--gold-soft); border-radius: 18px; margin-bottom: 8px; }
.rating-big { font-size: 46px; font-weight: 900; line-height: 1; font-family: 'Poppins', sans-serif; }
.rating-bars { display: grid; gap: 6px; flex: 1; min-width: 220px; }
.rating-bar { display: grid; grid-template-columns: 140px 1fr 34px; gap: 10px; align-items: center; font-size: 13px; font-weight: 600; }
.rating-bar .bar { height: 8px; background: rgba(0, 0, 0, .08); border-radius: 99px; overflow: hidden; }
.rating-bar .bar i { display: block; height: 100%; background: var(--gold-grad); border-radius: 99px; }
.star-input { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
html[dir="rtl"] .star-input { flex-direction: row-reverse; }
.star-input input { position: absolute; opacity: 0; pointer-events: none; }
.star-input label { cursor: pointer; color: #d9d3c9; font-size: 28px; line-height: 1; transition: color .1s, transform .1s; }
.star-input label:hover { transform: scale(1.12); }
.star-input input:checked ~ label, .star-input label:hover, .star-input label:hover ~ label { color: #E8A93A; }
.criteria { display: grid; gap: 12px; }
.criterion { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 10px 14px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.criterion b { font-size: 14px; }

/* ---------- dashboard ---------- */
.stat-tiles { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 170px), 1fr)); }
.stat-tile { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 16px; display: flex; flex-direction: column; gap: 4px; transition: border-color .2s, transform .2s var(--ease); }
a.stat-tile:hover { border-color: var(--gold-line); transform: translateY(-2px); color: inherit; }
.stat-tile .st-ico { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--gold-soft); color: var(--gold-3); margin-bottom: 8px; }
.stat-tile .st-value { font-size: 26px; font-weight: 900; line-height: 1.1; font-family: 'Poppins', var(--font); color: var(--ink); }
.stat-tile .st-label { font-size: 13px; color: var(--muted); font-weight: 700; }
.stat-tile .st-sub { font-size: 12px; color: var(--green); font-weight: 700; }
.progress { height: 10px; background: var(--surface-3); border-radius: 99px; overflow: hidden; }
.progress i { display: block; height: 100%; background: var(--gold-grad); border-radius: 99px; transition: width .6s var(--ease); }
.checklist { display: grid; gap: 8px; margin-top: 14px; }
.checklist a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); background: #fff; font-weight: 600; font-size: 14px; }
.checklist a.done { color: var(--muted); text-decoration: line-through; background: var(--surface-2); }
.checklist a .i { color: var(--muted-2); }
.checklist a.done .i { color: var(--green); }
.checklist a:not(.done):hover { border-color: var(--gold); }
/* dashboard: blue badge suggestion (creators) */
.bb-promo { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-color: #cfe6fb; background: linear-gradient(135deg, #f2f9ff 0%, #fff 62%); }
.bb-promo-ico { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: #e3f2fe; flex: none; }
.bb-promo-ico .blue-tick { width: 34px; height: 34px; }
.bb-promo-body { flex: 1; min-width: 0; }
.bb-promo-title { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.bb-promo-title b { font-size: 17px; }
.bb-promo-tag { background: var(--blue); color: #fff; font-size: 12px; font-weight: 800; line-height: 1; padding: 5px 10px; border-radius: 999px; }
.bb-promo p { margin: 6px 0 0; font-size: 14px; color: #3b3832; line-height: 1.75; }
.bb-promo p.bb-promo-note { display: flex; align-items: flex-start; gap: 6px; color: #a52a23; font-weight: 600; }
.bb-promo-note .i { flex: none; margin-top: 4px; }
.bb-promo-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 8px; color: var(--muted); font-size: 12.5px; }
.bb-promo-meta span { display: inline-flex; align-items: center; gap: 5px; }
.bb-promo-cta { flex: none; }
.bb-promo-cta .blue-tick { width: 18px; height: 18px; }
a.bb-promo-wait { color: inherit; border-color: var(--line); background: var(--surface); padding: 14px 18px; }
a.bb-promo-wait:hover { border-color: var(--gold); }
.bb-promo-wait .bb-promo-ico { width: 44px; height: 44px; border-radius: 12px; background: var(--amber-soft); color: var(--amber); }
.bb-promo-wait b { display: block; font-size: 15px; }
.bb-promo-wait small { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }
@media (max-width: 640px) {
  .bb-promo { flex-wrap: wrap; align-items: flex-start; gap: 12px 14px; padding: 16px; }
  .bb-promo:not(.bb-promo-wait) .bb-promo-ico { width: 46px; height: 46px; border-radius: 14px; }
  .bb-promo:not(.bb-promo-wait) .bb-promo-ico .blue-tick { width: 30px; height: 30px; }
  .bb-promo-body { flex-basis: calc(100% - 60px); }
  .bb-promo-cta { width: 100%; justify-content: center; }
}
.list-rows { display: grid; }
.list-row { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.list-row:last-child { border-bottom: 0; }
.list-row .flex-1 b { display: block; font-size: 15px; line-height: 1.4; }
.list-row .flex-1 small { color: var(--muted); }
.welcome { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 22px; border-radius: 22px; background: #0D0D0E; color: #fff; position: relative; overflow: hidden; margin-bottom: 20px; }
.welcome::before { content: ""; position: absolute; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(196, 149, 90, .3), transparent 65%); top: -170px; inset-inline-end: -60px; }
.welcome > * { position: relative; }
.welcome h1 { color: #fff; font-size: 24px; margin: 0 0 4px; }
.welcome p { margin: 0; color: #bdb6aa; }

/* side nav (settings/admin) */
.side-nav { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.side-nav::-webkit-scrollbar { display: none; }
.side-nav a { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px; font-weight: 700; font-size: 14.5px; color: #4b473f; white-space: nowrap; border: 1px solid var(--line); background: #fff; }
.side-nav a:hover { color: var(--ink); border-color: var(--line-2); }
.side-nav a.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.side-nav a.is-active .i { color: var(--gold-2); }
.side-nav a .badge { margin-inline-start: auto; background: var(--red); color: #fff; font-size: 11px; font-weight: 800; border-radius: 999px; padding: 0 7px; }
@media (min-width: 1000px) {
  .side-nav { flex-direction: column; overflow: visible; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 8px; }
  .side-nav a { border: 0; background: transparent; }
  .side-nav a.is-active { background: var(--ink); }
}

/* tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th, .table td { padding: 12px 14px; text-align: start; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table th { background: #FBF9F6; font-size: 12.5px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .03em; white-space: nowrap; }
.table tr:last-child td { border-bottom: 0; }
.table tr:hover td { background: #FDFCFA; }

/* ---------- empty / pager / misc ---------- */
.empty { text-align: center; padding: 48px 20px; background: #fff; border: 1px dashed var(--line-2); border-radius: 20px; }
.empty-icon { width: 64px; height: 64px; border-radius: 20px; background: var(--gold-soft); color: var(--gold-3); display: grid; place-items: center; margin: 0 auto 14px; }
.empty h3 { margin-bottom: 6px; }
.empty p { color: var(--muted); max-width: 440px; margin: 0 auto 16px; }
.pager { display: flex; gap: 6px; justify-content: center; margin-top: 28px; flex-wrap: wrap; }
.pager-btn { min-width: 42px; height: 42px; padding: 0 10px; display: inline-grid; place-items: center; border-radius: 12px; background: #fff; border: 1px solid var(--line); font-weight: 800; }
.pager-btn:hover { border-color: var(--ink); color: var(--ink); }
.pager-btn.is-current { background: var(--ink); color: #fff; border-color: var(--ink); }
.pager-gap { display: inline-grid; place-items: center; min-width: 20px; color: var(--muted-2); }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 10px 18px; font-size: 14.5px; }
.kv dt { color: var(--muted); font-weight: 700; }
.kv dd { margin: 0; font-weight: 600; }
.terms-grid { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); }
.term { padding: 12px 14px; border-radius: 14px; background: var(--surface-2); }
.term small { display: block; color: var(--muted); font-weight: 700; font-size: 12px; margin-bottom: 2px; }
.term b { font-size: 15px; }
.prose { line-height: 1.95; font-size: 16px; }
.prose h2 { margin-top: 30px; font-size: 22px; }
.prose h3 { margin-top: 22px; }
.prose ul, .prose ol { padding-inline-start: 22px; }
.prose li { margin-bottom: 6px; }
.copy-field { display: flex; gap: 8px; }
.copy-field .input { direction: ltr; font-family: 'Poppins', monospace; font-size: 14px; }

/* ---------- modal ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(10, 10, 11, .72); backdrop-filter: blur(4px); animation: fade .18s ease; }
.modal-box { position: relative; background: #fff; border-radius: 22px; width: min(520px, 100%); max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); overflow-y: auto; box-shadow: var(--shadow-lg); animation: pop .2s var(--ease); }
.modal-box.is-wide { width: min(760px, 100%); }
.modal-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 20px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: #fff; z-index: 1; }
.modal-head h3 { margin: 0; font-size: 18px; }
.modal-body { padding: 20px; }
.modal-foot { display: flex; gap: 10px; justify-content: flex-end; padding: 14px 20px; border-top: 1px solid var(--line); }
.modal-x { width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--surface-2); cursor: pointer; display: grid; place-items: center; }
.modal-x:hover { background: var(--surface-3); }
.video-modal { background: rgba(5, 5, 6, .92); }
.video-box { position: relative; display: flex; flex-direction: column; align-items: center; gap: 12px; animation: pop .2s var(--ease); max-width: 100%; }
.video-frame { background: #000; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-lg); }
.video-frame.vertical { width: min(400px, calc((100vh - 140px) * 9 / 16), 92vw); width: min(400px, calc((100dvh - 140px) * 9 / 16), 92vw); aspect-ratio: 9 / 16; }
.video-frame.horizontal { width: min(960px, 94vw); aspect-ratio: 16 / 9; }
.video-frame.square { width: min(540px, 92vw, calc(100vh - 150px)); width: min(540px, 92vw, calc(100dvh - 150px)); aspect-ratio: 4 / 5; }
.video-frame.instagram { width: min(420px, 92vw); height: min(760px, calc(100vh - 130px)); height: min(760px, calc(100dvh - 130px)); aspect-ratio: auto; background: #fff; }
.video-frame iframe, .video-frame video { width: 100%; height: 100%; border: 0; background: #000; }
.video-frame.instagram iframe { background: #fff; }
.video-frame.video-failed { position: relative; display: grid; place-items: center; }
.video-frame.video-failed img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.video-failed-msg { position: relative; display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 20px; text-align: center; color: #fff; font-size: 15px; }
.video-caption { display: flex; align-items: center; gap: 12px; color: #eee; font-size: 14px; flex-wrap: wrap; justify-content: center; }
.video-caption a { color: var(--gold-2); font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.video-close { position: fixed; top: 14px; inset-inline-end: 14px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer; display: grid; place-items: center; z-index: 2; }
.video-close:hover { background: rgba(255, 255, 255, .22); }
body.modal-open { overflow: hidden; }

/* ---------- toast ---------- */
.toast-root { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); z-index: 200; display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; width: max-content; max-width: calc(100vw - 24px); }
.toast { pointer-events: auto; display: flex; align-items: center; gap: 10px; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 14px; box-shadow: var(--shadow-lg); font-weight: 600; font-size: 14.5px; animation: toastin .25s var(--ease); }
.toast.is-error { background: var(--red); }
.toast .i { color: var(--gold-2); }
.toast.is-error .i { color: #fff; }
@keyframes toastin { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- collab timeline ---------- */
.progress-steps { display: flex; gap: 6px; align-items: center; overflow-x: auto; padding: 4px 0 8px; scrollbar-width: none; }
.progress-steps::-webkit-scrollbar { display: none; }
.pstep { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--muted-2); white-space: nowrap; }
.pstep .n { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-3); color: var(--muted); font-size: 12px; font-weight: 800; }
.pstep.done .n { background: var(--ink); color: var(--gold-2); }
.pstep.done { color: var(--ink); }
.pstep.current .n { background: var(--gold-grad); color: var(--ink); box-shadow: 0 0 0 4px rgba(196, 149, 90, .2); }
.pstep.current { color: var(--ink); }
.pstep-line { width: 26px; height: 2px; background: var(--line-2); flex: none; }
.timeline { position: relative; display: grid; gap: 18px; padding-inline-start: 26px; }
.timeline::before { content: ""; position: absolute; top: 6px; bottom: 6px; inset-inline-start: 9px; width: 2px; background: var(--line); }
.tl-item { position: relative; }
.tl-item::before { content: ""; position: absolute; inset-inline-start: -22px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 3px solid var(--gold); }
.tl-item.tl-muted::before { border-color: var(--line-2); }
.tl-head { font-size: 14px; font-weight: 800; }
.tl-head small { font-weight: 600; color: var(--muted-2); margin-inline-start: 6px; }
.tl-body { margin-top: 6px; font-size: 14.5px; color: #3b3832; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; line-height: 1.8; }
.file-chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 12px; background: var(--surface-2); font-size: 13.5px; font-weight: 600; margin: 6px 6px 0 0; max-width: 100%; }
.file-chip .i { color: var(--gold-3); }
.file-chip span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.delivery-media { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); margin-top: 10px; }
.delivery-media video, .delivery-media img { width: 100%; border-radius: 12px; background: #000; max-height: 360px; object-fit: contain; }

/* ---------- utilities for text blocks ---------- */
.text-block { white-space: pre-wrap; word-break: break-word; line-height: 1.85; }
.clamp-3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.badge-new { background: var(--gold-grad); color: var(--ink); font-size: 11px; font-weight: 800; padding: 2px 8px; border-radius: 999px; }
.kbd { font-family: 'Poppins', monospace; background: var(--surface-2); padding: 2px 8px; border-radius: 6px; font-size: 13px; direction: ltr; display: inline-block; }
.error-page { text-align: center; padding: 90px 16px; }
.error-code { font-size: 96px; font-weight: 900; line-height: 1; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-family: 'Poppins', sans-serif; }

/* ---------- installable app + push notifications ---------- */
.pwa-sheet { position: fixed; z-index: 90; inset-inline: 12px; bottom: calc(14px + env(safe-area-inset-bottom)); display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; align-items: center;
  background: var(--ink); color: #fff; border-radius: 20px; padding: 16px 16px 14px; box-shadow: 0 24px 60px -18px rgba(0, 0, 0, .55); border: 1px solid rgba(217, 178, 124, .22);
  transform: translateY(calc(100% + 30px)); opacity: 0; transition: transform .32s var(--ease), opacity .25s ease; }
.pwa-sheet.is-in { transform: none; opacity: 1; }
@media (max-width: 767px) { .is-logged .pwa-sheet { bottom: calc(76px + env(safe-area-inset-bottom)); } }
@media (min-width: 768px) { .pwa-sheet { inset-inline: auto 22px; width: 400px; bottom: 22px; } }
.pwa-sheet-ico { grid-row: span 2; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: rgba(196, 149, 90, .16); color: var(--gold-2); flex: none; overflow: hidden; }
.pwa-sheet-ico .i { width: 24px; height: 24px; }
.pwa-sheet-ico img { width: 48px; height: 48px; display: block; border-radius: 13px; border: 1px solid rgba(255, 255, 255, .14); }
.pwa-sheet.is-install .pwa-sheet-ico { background: none; }
.pwa-sheet.is-group .pwa-sheet-ico { background: #1877F2; color: #fff; }
.pwa-sheet.is-group [data-ok] { background: #1877F2; color: #fff; box-shadow: none; }
.pwa-sheet-text { display: flex; flex-direction: column; gap: 2px; padding-inline-end: 22px; }
.pwa-sheet-text b { font-size: 15.5px; line-height: 1.5; }
.pwa-sheet-text span { font-size: 13.5px; line-height: 1.7; color: #cfc8bc; }
.pwa-sheet-actions { grid-column: 2; display: flex; gap: 8px; margin-top: 6px; flex-wrap: wrap; }
.pwa-sheet-actions .btn-ghost { color: #d9d2c6; }
.pwa-sheet-actions .btn-ghost:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.pwa-sheet-x { position: absolute; top: 8px; inset-inline-end: 8px; width: 30px; height: 30px; border-radius: 50%; border: 0; background: transparent; color: #a9a195; cursor: pointer; font-size: 14px; }
.pwa-sheet-x:hover { background: rgba(255, 255, 255, .08); color: #fff; }

.pwa-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.pwa-steps li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.pwa-step-n { width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: var(--gold-2); font-weight: 800; font-size: 13px; display: grid; place-items: center; flex: none; font-family: var(--font-latin); }
.pwa-step-ico { width: 40px; height: 40px; border-radius: 12px; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; flex: none; }
.pwa-step-ico .i { width: 22px; height: 22px; }
.pwa-step-t { display: flex; flex-direction: column; gap: 2px; line-height: 1.6; }
.pwa-step-t small { color: var(--muted); font-size: 13px; }
.pwa-note { margin: 14px 0 0; padding: 12px 14px; border-radius: 12px; background: var(--gold-soft); color: #5b4526; font-size: 14px; line-height: 1.8; display: flex; gap: 8px; align-items: flex-start; }
.pwa-note .i { color: var(--gold-3); flex: none; margin-top: 4px; }
.modal-body > .pwa-note:first-child { margin-top: 0; }
.pwa-demo { display: flex; flex-direction: column; align-items: center; gap: 8px; margin: -4px 0 16px; }
.pwa-demo video, .pwa-demo img { display: block; width: min(210px, 56vw); height: auto; aspect-ratio: 340 / 760; border-radius: 20px; background: #0c0c0d; box-shadow: var(--shadow); object-fit: cover; }
.pwa-demo a { font-size: 13.5px; font-weight: 700; color: var(--gold-4); }

.notif-push-cta { display: flex; align-items: center; gap: 10px; margin: 8px 2px 4px; padding: 10px 12px; border-radius: 12px; background: var(--gold-soft); border: 1px solid var(--gold-line); }
.notif-push-cta[hidden] { display: none; }
.npc-ico { color: var(--gold-3); display: grid; place-items: center; flex: none; }
.npc-text { flex: 1; font-size: 13px; font-weight: 700; line-height: 1.6; color: #4a3a22; }

.push-state { display: flex; align-items: flex-start; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--surface-2); margin-bottom: 12px; }
.push-state > div { display: flex; flex-direction: column; gap: 2px; }
.push-state b { font-size: 15px; }
.push-state small { color: var(--muted); font-size: 13.5px; line-height: 1.7; }
.push-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--muted-2); margin-top: 7px; flex: none; }
.push-state.is-on { background: var(--green-soft); }
.push-state.is-on .push-dot { background: var(--green); box-shadow: 0 0 0 4px rgba(23, 145, 90, .16); }
.push-state.is-bad { background: var(--red-soft); }
.push-state.is-bad .push-dot { background: var(--red); }
.push-state.is-warn { background: var(--amber-soft); }
.push-state.is-warn .push-dot { background: var(--amber); }
.push-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.push-actions:empty { display: none; }
@media (max-width: 520px) { .push-actions .btn { flex: 1 1 100%; justify-content: center; } }
.push-devices { border: 1px solid var(--line); border-radius: 14px; padding: 6px 12px; margin-bottom: 16px; }
.push-devices-head { display: flex; align-items: center; gap: 8px; padding: 8px 0; font-size: 14px; }
.push-devices-head .i { color: var(--gold-3); }
.push-device { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line); }
.pd-ico { width: 34px; height: 34px; border-radius: 10px; background: var(--surface-2); display: grid; place-items: center; color: var(--muted); flex: none; }
.pd-text { flex: 1; min-width: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 14px; }
.pd-text small { flex-basis: 100%; font-size: 12.5px; }
.push-device form { margin: 0; }
.push-prefs { border-top: 1px solid var(--line); padding-top: 14px; }

/* ---------- worldwide + Facebook group ---------- */
.world-band { display: grid; gap: 22px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 26px; padding: 28px; box-shadow: var(--shadow-xs); }
@media (min-width: 960px) { .world-band { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); padding: 34px; } }
.world-band > * { min-width: 0; }
.world-text h2 { margin: 0 0 8px; }
.world-text p { margin: 0; color: var(--muted); line-height: 1.9; }
.world-flags .chip { font-size: 13px; padding: 4px 11px; }
.world-flags .chip:hover { border-color: var(--gold-2); background: var(--gold-soft); }

.fbg-btn { background: #1877F2; color: #fff; border: 0; box-shadow: 0 10px 22px -12px rgba(24, 119, 242, .85); }
.fbg-btn:hover { background: #0f66d8; color: #fff; }
.fbg-btn .i { width: 18px; height: 18px; }
.fbg-ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: #1877F2; color: #fff; flex: none; }
.fbg-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.fbg-list li { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 14.5px; }
.fbg-list .i { color: #1877F2; flex: none; }
.fbg-band { display: grid; gap: 22px; align-items: center; border-radius: 26px; padding: 30px 26px; background: linear-gradient(135deg, #eef4ff 0%, #f8fbff 60%, #ffffff 100%); border: 1px solid #d9e6fb; }
@media (min-width: 900px) { .fbg-band { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); padding: 36px 40px; } }
.fbg-band h2 { margin: 0 0 8px; }
.fbg-band p { margin: 0 0 18px; color: #4a4f5a; line-height: 1.9; }
.fbg-eyebrow { color: #1877F2; }
.fbg-list-lg { background: #fff; border: 1px solid #dfe8f7; border-radius: 18px; padding: 18px 18px; }
.fbg-list-lg li { font-size: 15px; }
.fbg-side { background: linear-gradient(160deg, #eef4ff, #fff 70%); border: 1px solid #d9e6fb; border-radius: 20px; padding: 16px; display: flex; flex-direction: column; gap: 14px; }
.fbg-side-head { display: flex; align-items: center; gap: 10px; }
.fbg-side-head b { font-size: 15px; line-height: 1.5; }
.fbg-side .fbg-btn { width: 100%; justify-content: center; }
.fbg-strip { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; background: linear-gradient(135deg, #eef4ff, #fff); border: 1px solid #d9e6fb; border-radius: 18px; padding: 12px 14px; }
.fbg-strip-text { flex: 1 1 200px; font-size: 14px; line-height: 1.7; color: #3d4350; }
.fbg-strip .fbg-btn { height: 38px; padding: 0 14px; font-size: 14px; border-radius: 10px; }
.cm-fbg-mobile:empty { display: none; }
@media (min-width: 1000px) { .cm-fbg-mobile { display: none; } }
.fbg-footer { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding: 12px 14px; border-radius: 14px; background: rgba(24, 119, 242, .12); border: 1px solid rgba(24, 119, 242, .35); color: #fff; max-width: 360px; }
.fbg-footer .i { width: 26px; height: 26px; color: #6aa7ff; flex: none; }
.fbg-footer span { display: flex; flex-direction: column; line-height: 1.5; }
.fbg-footer b { color: #fff; font-size: 14.5px; }
.fbg-footer small { color: #a9b8d3; font-size: 12.5px; }
.fbg-footer:hover { background: rgba(24, 119, 242, .2); color: #fff; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* video player: «اطلب فيديو زي ده» under the caption (brands / visitors) */
.video-box .video-req { align-self: center; box-shadow: 0 12px 30px -12px rgba(196, 149, 90, .7); }

/* ---------- the «Manager» account (app/lib/staff.php): gold badge, glowing ring, crown mark ---------- */
.mgr-badge { display: inline-flex; align-items: center; gap: 4px; flex: none; vertical-align: middle; margin-inline-start: 4px; white-space: nowrap; line-height: 1; }
.mgr-badge .mgr-seal { flex: none; filter: drop-shadow(0 1px 2px rgba(138, 101, 52, .35)); }
.mgr-pill { position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 3px; height: 19px; padding: 0 8px 0 7px; border-radius: 999px;
  background: linear-gradient(135deg, #2a2a2d 0%, #0b0b0c 100%); border: 1px solid rgba(224, 189, 138, .8);
  box-shadow: 0 3px 10px -4px rgba(196, 149, 90, .75), inset 0 1px 0 rgba(255, 255, 255, .08); direction: ltr; }
.mgr-pill .i { width: 11px; height: 11px; color: #E0BD8A; flex: none; }
.mgr-pill-txt { font-family: var(--font-latin); font-size: 10px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase;
  background: linear-gradient(180deg, #F7E3BC 0%, #D9B27C 60%, #C4955A 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mgr-pill::after { content: ""; position: absolute; inset: -2px; background: linear-gradient(105deg, transparent 35%, rgba(255, 236, 200, .55) 50%, transparent 65%);
  transform: translateX(-130%); animation: mgrShine 4.2s ease-in-out infinite; pointer-events: none; }
@keyframes mgrShine { 0%, 62% { transform: translateX(-130%); } 92%, 100% { transform: translateX(130%); } }
.mgr-badge.is-sm .mgr-pill { height: 17px; padding: 0 6px 0 5px; }
.mgr-badge.is-sm .mgr-pill-txt { font-size: 9px; }
.mgr-badge.is-sm .mgr-pill .i { width: 10px; height: 10px; }
.mgr-badge.is-lg { gap: 6px; }
.mgr-badge.is-lg .mgr-pill { height: 24px; padding: 0 11px 0 9px; }
.mgr-badge.is-lg .mgr-pill-txt { font-size: 12px; }
.mgr-badge.is-lg .mgr-pill .i { width: 14px; height: 14px; }

.avatar.is-mgr { box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px #C4955A, 0 0 16px 3px rgba(224, 189, 138, .55); animation: mgrGlow 3s ease-in-out infinite; }
.avatar.is-mgr-sm { box-shadow: 0 0 0 1.5px var(--surface), 0 0 0 3px #C4955A, 0 0 10px 1px rgba(224, 189, 138, .5); animation-name: mgrGlowSm; }
@keyframes mgrGlow { 50% { box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px #E0BD8A, 0 0 24px 6px rgba(224, 189, 138, .8); } }
@keyframes mgrGlowSm { 50% { box-shadow: 0 0 0 1.5px var(--surface), 0 0 0 3px #E0BD8A, 0 0 14px 3px rgba(224, 189, 138, .75); } }

.chip-mgr { background: linear-gradient(135deg, #2a2a2d, #0b0b0c); color: #E9C893; border: 1px solid rgba(224, 189, 138, .7); font-family: var(--font-latin); font-weight: 800; letter-spacing: .04em; }
.chip-mgr .i { color: #E0BD8A; }

.dropdown-user-head.is-mgr { margin: -8px -8px 8px; padding: 14px; border-radius: 15px 15px 0 0; border-bottom: 0;
  background: radial-gradient(120% 140% at 0% 0%, #3a2f1f 0%, #141414 55%, #0b0b0c 100%); }
.dropdown-user-head.is-mgr b { color: #fff; display: flex; align-items: center; flex-wrap: wrap; gap: 2px; }
.dropdown-user-head.is-mgr small { color: #E0BD8A; font-weight: 700; }
.dropdown-user-head.is-mgr .avatar.is-mgr { box-shadow: 0 0 0 2px #141414, 0 0 0 4px #C4955A, 0 0 16px 3px rgba(224, 189, 138, .5); animation: none; }

.notif-item.is-mgr { background: linear-gradient(135deg, #FFF9EF, #F8EEDC); box-shadow: inset 0 0 0 1px var(--gold-line); }
.notif-item.is-mgr + .notif-item.is-mgr { margin-top: 4px; }
.notif-item.is-mgr .notif-ico { box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px #C4955A; }

@media (prefers-reduced-motion: reduce) {
  .mgr-pill::after { animation: none !important; display: none; }
  .avatar.is-mgr { animation: none !important; }
}

/* ---------- profile photo viewer: tap a photo and it opens big, Instagram-style (app.js) ---------- */
img.avatar.av-zoom { cursor: zoom-in; }
img.avatar.av-zoom:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.avv { position: fixed; inset: 0; z-index: 1100; display: grid; place-items: center; overflow: hidden; touch-action: none; overscroll-behavior: contain;
  -webkit-tap-highlight-color: transparent; -webkit-user-select: none; user-select: none; cursor: zoom-out; }
.avv-bg { position: absolute; inset: 0; background: rgba(8, 8, 10, .82); -webkit-backdrop-filter: blur(20px) saturate(1.2); backdrop-filter: blur(20px) saturate(1.2); }
.avv-fig { position: relative; margin: 0; display: flex; flex-direction: column; align-items: center; gap: 22px; max-width: 100%;
  padding: calc(72px + env(safe-area-inset-top)) 16px calc(32px + env(safe-area-inset-bottom)); }
.avv-photo { --s: min(84vw, 56vh, 440px); position: relative; flex: none; width: var(--s); height: var(--s); border-radius: 50%; overflow: hidden; background: #1c1c1e;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 34px 90px -24px rgba(0, 0, 0, .85); transform-origin: 50% 50%; will-change: transform; }
.avv-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; -webkit-user-drag: none; }
.avv-hi { opacity: 0; transition: opacity .3s ease; }
.avv-hi.is-in { opacity: 1; }
.avv-photo.is-logo { border-radius: 22%; background: #fff; }
.avv-photo.is-lq { --s: min(62vw, 40vh, 260px); }   /* a small, blown-up photo: shown smaller so it doesn't look pixelated */
.avv-photo.is-mgr { box-shadow: 0 0 0 5px #0d0d0e, 0 0 0 9px #C4955A, 0 0 70px 14px rgba(224, 189, 138, .45), 0 34px 90px -24px rgba(0, 0, 0, .85); }
.avv-cap { display: flex; flex-direction: column; align-items: center; gap: 6px; max-width: min(92vw, 520px); color: #fff; text-align: center; cursor: default; }
.avv-name { display: inline-flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 4px 6px; font-size: 21px; line-height: 1.35; }
.avv-name b { font-weight: 800; overflow-wrap: anywhere; }
.avv-badge { display: inline-flex; align-items: center; }
.avv-badge:empty { display: none; }
.avv-badge .mgr-badge { margin: 0; }
.avv-sub { display: inline-flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 2px 8px; font-size: 14px; color: rgba(255, 255, 255, .72); }
.avv-sub [dir="ltr"] { font-family: var(--font-latin); }
.avv-cta { margin-top: 12px; display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 22px; border-radius: 999px; background: var(--gold-grad); color: #111;
  font-size: 15px; font-weight: 800; text-decoration: none; box-shadow: 0 12px 30px -12px rgba(196, 149, 90, .8); cursor: pointer; transition: transform .15s var(--ease), box-shadow .15s; }
.avv-cta:hover { color: #111; transform: translateY(-1px); box-shadow: 0 16px 34px -12px rgba(196, 149, 90, .95); }
.avv-cta:active { transform: scale(.97); }
.avv-x { position: absolute; top: calc(14px + env(safe-area-inset-top)); inset-inline-end: 14px; z-index: 2; width: 46px; height: 46px; padding: 0; border: 0; border-radius: 50%;
  display: grid; place-items: center; background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer; transition: background .15s; }
.avv-x:hover { background: rgba(255, 255, 255, .22); }
.avv-x:focus-visible, .avv-cta:focus-visible { outline: 3px solid #E0BD8A; outline-offset: 3px; }
.avv-x:focus:not(:focus-visible) { outline: none; }
.avv.is-dragging { cursor: grabbing; }
@media (max-height: 520px) and (orientation: landscape) {
  .avv-fig { flex-direction: row; gap: 28px; padding: 16px 76px; }
  .avv-photo { --s: min(72vh, 300px); }
  .avv-cap { align-items: flex-start; text-align: start; }
}
@media (prefers-reduced-motion: reduce) { .avv-hi, .avv-cta { transition: none; } }
@media (forced-colors: active) { .avv-bg { background: Canvas; } .avv-x { border: 1px solid ButtonText; } }

/* ---------- a blurry (blown-up) profile photo: ask for a sharper one ---------- */
.av-lq-promo .bb-promo-ico { background: var(--gold-soft); color: var(--gold-3); }
.av-lq-hint { display: flex; align-items: flex-start; gap: 6px; margin: 8px 0 0; color: #8a5a12; font-size: 13.5px; font-weight: 600; line-height: 1.7; }
.av-lq-hint .i { flex: none; margin-top: 3px; }

/* ---------- WhatsApp button (brands with WhatsApp contact on) ---------- */
.btn-wa { background: #25D366; border-color: #25D366; color: #052e16; }
.btn-wa:hover { background: #1fbe5b; border-color: #1fbe5b; color: #052e16; }
.btn-wa .i { color: inherit; }
.btn-wa[disabled] { opacity: .45; cursor: not-allowed; }

/* ---------- pop-up messenger (app.js «mdock»): the inbox in a panel over any page ---------- */
/* a small round bubble (it floats over pages, so it stays out of the way); the label shows on hover */
.mdock-launcher { position: fixed; z-index: 60; bottom: 18px; inset-inline-end: 18px; width: 54px; height: 54px; padding: 0; display: grid; place-items: center;
  border: 0; border-radius: 50%; background: var(--ink); color: #fff; font: inherit; box-shadow: 0 14px 34px -12px rgba(17, 17, 17, .6);
  cursor: pointer; transition: transform .15s var(--ease), box-shadow .15s; }
.mdock-launcher:hover { transform: translateY(-2px); box-shadow: 0 18px 38px -12px rgba(17, 17, 17, .65); }
.mdock-launcher:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.mdock-launcher > .i { width: 24px; height: 24px; color: var(--gold-2); }
.mdock-launcher > span:not(.badge-count) { position: absolute; inset-inline-end: calc(100% + 10px); top: 50%; transform: translateY(-50%); padding: 6px 12px; border-radius: 10px;
  background: var(--ink); color: #fff; font-size: 13.5px; font-weight: 800; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .15s; }
.mdock-launcher:hover > span:not(.badge-count), .mdock-launcher:focus-visible > span:not(.badge-count) { opacity: 1; }
.mdock-launcher .badge-count { top: -2px; inset-inline-end: -2px; border-color: var(--bg); }
html.mdock-on .mdock-launcher { display: none; }
.mdock { position: fixed; z-index: 95; bottom: 16px; inset-inline-end: 16px; display: flex; flex-direction: column; overflow: hidden;
  width: min(400px, calc(100vw - 32px)); height: min(640px, calc(100vh - 32px)); height: min(640px, calc(100dvh - 32px));
  background: var(--surface); border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 30px 80px -24px rgba(17, 17, 17, .45); animation: mdockIn .22s var(--ease); }
.mdock[hidden] { display: none; }
.mdock-head { flex: none; display: flex; align-items: center; gap: 2px; height: 52px; padding-inline: 14px 6px; background: var(--ink); color: #fff; }
.mdock-title { flex: 1 1 auto; min-width: 0; display: inline-flex; align-items: center; gap: 8px; font-size: 16px; }
.mdock-title .i { color: var(--gold-2); }
.mdock-btn { flex: none; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 10px; display: grid; place-items: center; background: transparent; color: #fff; cursor: pointer; }
.mdock-btn:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.mdock-btn:focus-visible { outline: 2px solid var(--gold-2); outline-offset: -2px; }
.mdock-body { position: relative; flex: 1 1 auto; min-height: 0; background: var(--bg); }
.mdock-frame { display: block; width: 100%; height: 100%; border: 0; background: var(--bg); }
.mdock-loading { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.mdock-loading::after { content: ""; width: 30px; height: 30px; border-radius: 50%; border: 3px solid var(--line-2); border-top-color: var(--gold); animation: mdockSpin .8s linear infinite; }
.mdock.is-ready .mdock-loading { display: none; }
@keyframes mdockIn { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes mdockUp { from { transform: translateY(100%); } to { transform: none; } }
@keyframes mdockSpin { to { transform: rotate(360deg); } }
@media (max-width: 859px) {
  .mdock-launcher { display: none; }
  .mdock { inset: 0; width: auto; height: auto; border: 0; border-radius: 0; animation-name: mdockUp; animation-duration: .26s; }
  .mdock-head { height: calc(54px + env(safe-area-inset-top)); padding-top: env(safe-area-inset-top); }
  html.mdock-sheet, html.mdock-sheet body { overflow: hidden; }
}
@media (prefers-reduced-motion: reduce) { .mdock { animation: none; } .mdock-loading::after { animation-duration: 2s; } }
@media print { .mdock, .mdock-launcher { display: none !important; } }

/* ---------------- reason picker: preset reasons + «other» (app/lib/reasons.php) ---------------- */
.rsn { border: 0; margin: 0; padding: 0; min-width: 0; }
.rsn-legend { padding: 0; margin: 0 0 10px; font-weight: 800; font-size: 15px; color: var(--ink); }
.rsn-list { display: grid; gap: 8px; }
.rsn-opt { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border: 1.5px solid var(--line); border-radius: 14px; background: #fff; cursor: pointer;
  font-weight: 600; font-size: 14.5px; line-height: 1.55; color: var(--text); transition: border-color .15s, background-color .15s; -webkit-tap-highlight-color: transparent; }
.rsn-opt:hover { border-color: var(--line-2); background: var(--surface-2); }
.rsn-ico { width: 34px; height: 34px; flex: none; display: grid; place-items: center; border-radius: 10px; background: var(--surface-2); color: var(--ink-2); transition: background-color .15s, color .15s; }
.rsn-txt { flex: 1; min-width: 0; }
.rsn-opt input { width: 19px; height: 19px; flex: none; margin: 0; accent-color: var(--ink); }
.rsn-opt:has(input:checked) { border-color: var(--ink); background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--ink); }
.rsn-opt:has(input:checked) .rsn-ico { background: var(--ink); color: #fff; }
.rsn-opt:has(input:focus-visible) { outline: 2px solid var(--gold-3); outline-offset: 2px; }
.rsn-note { display: none; position: relative; margin-top: 10px; }
.rsn.is-other .rsn-note, .rsn:has(.rsn-opt-other input:checked) .rsn-note { display: block; }
.rsn-note .textarea { min-height: 96px; padding-bottom: 28px; font-size: 15px; resize: none; }
.rsn-count { position: absolute; inset-inline-end: 12px; bottom: 8px; font-size: 12px; font-weight: 600; color: var(--muted-2); font-variant-numeric: tabular-nums; pointer-events: none; }

/* ---------------- collab campaigns: a campaign co-posted by a brand and its partners (app/lib/partners.php) ---------------- */
.collab-avs { display: inline-flex; align-items: center; flex: none; }
.collab-avs > .avatar, .collab-avs > .avatar-wrap { position: relative; box-shadow: 0 0 0 2px #fff; }
.collab-avs > :first-child { z-index: 2; }
.collab-avs > * + * { margin-inline-start: -11px; }
.collab-names { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 2px 6px; min-width: 0; }
.collab-names a { color: inherit; }
.collab-names a:hover { color: var(--gold-3); }
.collab-name { display: inline-flex; align-items: center; gap: 3px; min-width: 0; }
.collab-x { color: var(--gold-3); font-weight: 800; }
.collab-more { font-size: .85em; font-weight: 700; color: var(--muted); }
.collab-tag { display: inline-flex; align-items: center; gap: 3px; padding: 1px 8px 1px 7px; border-radius: 999px; border: 1px solid var(--gold-line); background: var(--gold-soft);
  color: var(--gold-4); font-family: var(--font-latin), var(--font); font-size: 11px; font-weight: 800; line-height: 1.6; letter-spacing: .02em; vertical-align: middle; white-space: nowrap; }
.collab-tag .i { width: 12px; height: 12px; }
.jcard-brand.is-collab .collab-names { font-size: 14px; font-weight: 800; }
.jcard-brand.is-collab small { display: flex; align-items: center; gap: 5px; }
.collab-chip { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--gold-line); background: var(--gold-soft); color: var(--gold-4); }
.collab-chip .collab-avs > * + * { margin-inline-start: -6px; }
.collab-chip .collab-avs > .avatar { box-shadow: 0 0 0 1.5px var(--gold-soft); }
.collab-dash { padding: 16px 18px; border-color: var(--gold-line); background: linear-gradient(180deg, #FFFBF3, #fff 60%); }
.collab-dash-head h2 { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 17px; }
.collab-dash-head h2 .i { color: var(--gold-3); }
.collab-dash-head .count { min-width: 22px; height: 22px; padding: 0 7px; border-radius: 999px; background: var(--ink); color: var(--gold-2); display: inline-grid; place-items: center; font-size: 12px; font-weight: 800; }
.collab-dash-head small { display: block; margin-top: 2px; color: var(--muted); font-size: 13px; line-height: 1.7; }
.collab-dash-list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 10px; }
.collab-dash-list li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.collab-dash-av { display: inline-flex; flex: none; }
.collab-dash-txt { flex: 1; min-width: 0; font-size: 14px; line-height: 1.7; overflow-wrap: anywhere; }
.collab-dash-txt small { display: block; color: var(--muted-2); font-size: 12px; }
.collab-dash-actions { display: flex; gap: 6px; flex: none; }
.collab-dash-actions form { margin: 0; }
@media (max-width: 560px) {
  .collab-dash-list li { flex-wrap: wrap; }
  .collab-dash-actions { width: 100%; }
  .collab-dash-actions form { flex: 1 1 0; }
  .collab-dash-actions .btn { width: 100%; }
}
.disc-collab-note { display: flex; gap: 8px; align-items: flex-start; margin: 0 0 14px; padding: 10px 12px; border-radius: 12px; background: var(--gold-soft);
  color: #5b4220; font-size: 14px; font-weight: 600; line-height: 1.7; }
.disc-collab-note .i { flex: none; margin-top: 3px; color: var(--gold-3); }
.mgr-campaigns { margin-bottom: 26px; }

/* the bar along the top while the next page loads (assets/js/app.js) */
.nav-progress { position: fixed; top: 0; inset-inline: 0; z-index: 3000; height: 3px; background: linear-gradient(90deg, var(--gold), #e8c58f, var(--gold)); opacity: 0;
  transform: scaleX(0); transform-origin: left center; pointer-events: none; transition: opacity .25s; }
html[dir="rtl"] .nav-progress { transform-origin: right center; }
.nav-progress.is-on { opacity: 1; animation: nav-progress 9s cubic-bezier(.08, .65, .2, 1) forwards; }
@keyframes nav-progress { 0% { transform: scaleX(0); } 8% { transform: scaleX(.3); } 40% { transform: scaleX(.7); } 100% { transform: scaleX(.95); } }
@media (prefers-reduced-motion: reduce) { .nav-progress.is-on { animation: none; transform: scaleX(.6); } }

/* Checklists before applying (creators) / publishing (brands) — app/lib/samples.php, app/lib/publish.php */
.apply-reqs { display: grid; gap: 10px; }
.apply-reqs-title { font-size: 15px; }
.apply-reqs ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.apply-reqs li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.apply-reqs li.is-todo { border-color: #ecd9b9; background: #fffaf2; }
.apply-reqs-ico { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%; background: #f4e9d7; color: #8a6534; }
.apply-reqs li.is-done .apply-reqs-ico { background: #e3f4ea; color: #1f8a4c; }
.apply-reqs-txt { display: flex; flex: 1; flex-direction: column; gap: 2px; min-width: 0; }
.apply-reqs-txt b { font-size: 14px; }
.apply-reqs li.is-done .apply-reqs-txt b { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(0, 0, 0, .25); }
.apply-reqs-txt small { color: var(--muted); font-size: 12.5px; line-height: 1.6; }
.apply-reqs li .btn { flex: none; }
.apply-reqs-ok { flex: none; color: #1f8a4c; font-size: 13px; font-weight: 800; }
.apply-reqs.is-compact ul { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.apply-reqs li.is-wait { border-color: #f1dfaf; background: #fffbea; }
.apply-reqs li.is-wait .apply-reqs-ico { background: #fdf0c9; color: #9a6b00; }
.apply-reqs-wait { flex: none; color: #9a6b00; font-size: 13px; font-weight: 800; }
.apply-reqs li.has-form { flex-wrap: wrap; }
.apply-reqs-form { display: grid; flex: 1 1 100%; gap: 6px; padding-inline-start: 44px; }
.apply-reqs-form .phone-prompt-form { margin-top: 0; }
.apply-reqs-form .field-error { margin: 0; }
@media (max-width: 480px) { .apply-reqs-form { padding-inline-start: 0; } }
.publish-gate { display: grid; gap: 14px; border-color: #ecd9b9; background: linear-gradient(135deg, #fffaf2, #fff); }
.publish-gate-head { display: flex; align-items: flex-start; gap: 12px; color: #8a6534; }
.publish-gate-head > .i { flex: none; margin-top: 2px; }
.publish-gate-head h2 { margin: 0 0 4px; color: var(--ink); font-size: 18px; }
.publish-gate-head p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.8; }
.job-form-gate { max-width: 760px; }
.jf-status-gate { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 8px; color: #8a6534; }
/* «Add your photo» / «Add your mobile number» (app/lib/photo.php, app/lib/phone.php) — home page + dashboard */
.member-prompts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 12px; margin-bottom: 18px; }
.member-prompt { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 12px 14px; margin: 0; padding: 16px 18px; border-color: #ecd9b9; background: linear-gradient(135deg, #fffaf2, #fff); }
.member-prompt-ico { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; background: #f4e9d7; color: #8a6534; }
.member-prompt-body { display: grid; flex: 1 1 260px; gap: 6px; min-width: 0; }
.member-prompt-body > b { font-size: 16px; }
.member-prompt-body > small { color: var(--muted); font-size: 13.5px; line-height: 1.7; }
.member-prompt-body .field-error { margin: 0; }
.phone-prompt-form { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.phone-prompt-form .phone-group { flex: 1 1 220px; max-width: 360px; }
.phone-prompt-form .btn { flex: none; }
.photo-prompt-form { display: flex; margin-top: 4px; }
.photo-prompt-form .file-btn { flex: none; }
.member-prompts-top { padding-top: 16px; }
.member-prompts-top .member-prompts { margin-bottom: 0; }
/* Creator Pro (app/lib/pro.php): the mark, the dashboard card, the early-access gate, the «seen» line */
.pro-badge { display: inline-flex; align-items: center; gap: 2px; padding: 2px 7px 2px 5px; border-radius: 999px; background: var(--gold-grad); color: var(--ink); font-size: 10.5px; font-weight: 900; letter-spacing: .04em; line-height: 1.4; font-family: 'Poppins', var(--font); vertical-align: middle; flex: none; }
.pro-badge .i { width: 11px; height: 11px; }
.pro-badge-lg { font-size: 13px; padding: 4px 11px 4px 8px; }
.pro-badge-lg .i { width: 13px; height: 13px; }
.dropdown-pro .pro-badge, .dropdown-pro .dropdown-pro-try { margin-inline-start: auto; }
.dropdown-pro .dropdown-pro-try { font-size: 11.5px; padding: 2px 9px; }
.pro-card { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; padding: 16px 18px; border-color: #ecd9b9; background: linear-gradient(135deg, #fffaf2, #fff 62%); color: inherit; text-decoration: none; }
.pro-card.is-on { border-color: var(--gold-line); background: linear-gradient(135deg, #f7efe3, #fff 60%); }
.pro-card.is-wait { border-color: #f1dfaf; background: linear-gradient(135deg, #fffbea, #fff); }
.pro-card-ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--gold-soft); color: var(--gold-3); flex: none; }
.pro-card-body { flex: 1 1 280px; min-width: 0; display: grid; gap: 4px; }
.pro-card-title { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.pro-card-title b { font-size: 16px; }
.pro-card-body p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.pro-card-feats { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 2px; color: var(--gold-4); font-size: 12.5px; font-weight: 700; }
.pro-card-feats span { display: inline-flex; align-items: center; gap: 4px; }
.pro-card-actions { display: flex; align-items: center; gap: 8px 12px; flex-wrap: wrap; }
.pro-card-actions form { display: contents; }
.early-gate { display: grid; gap: 10px; justify-items: start; }
.early-gate-ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--gold-soft); color: var(--gold-3); }
.early-gate .card-title { margin: 0; }
.early-gate .muted { margin: 0; line-height: 1.75; }
.early-gate-time { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: var(--surface-2); font-weight: 800; font-size: 13.5px; }
.early-gate form { display: contents; }
.early-gate .btn-block { justify-self: stretch; }
.early-gate-more { font-size: 13.5px; }
.jcard-early { background: var(--ink); color: var(--gold-2); }
.apps-early { display: flex; align-items: flex-start; gap: 8px; margin: 0 0 14px; padding: 12px 14px; border-radius: 14px; background: var(--gold-soft); color: var(--gold-4); font-size: 14px; line-height: 1.7; font-weight: 600; }
.apps-early .i { flex: none; margin-top: 4px; }
.myapp-seen { display: flex; align-items: center; gap: 6px; margin: 10px 0 0; font-size: 13.5px; color: var(--muted); font-weight: 600; text-decoration: none; }
.myapp-seen.is-seen { color: var(--green); }
.myapp-seen.is-locked { color: var(--gold-4); }
.myapp-seen.is-locked:hover { text-decoration: underline; }

/* the paid-ad term on job cards (app/lib/jobs.php: jobs_ads_chip) + the brand dashboard reminder */
.jcard-ads { background: #FFF3DE; color: #6b4a1c; border: 1px solid var(--gold-line); }
.jcard-ads .i { color: var(--gold-3); }
.jcard-ads-off { color: #5a564f; }
.ads-unset { border-color: var(--gold-line); background: linear-gradient(135deg, #FFF8EC 0%, #fff 62%); align-items: flex-start; }
.ads-unset .bb-promo-ico { background: var(--ink); color: var(--gold-2); }
.ads-unset .bb-promo-tag { background: var(--ink); color: var(--gold-2); }
.ads-unset .chips { margin-top: 10px; gap: 6px; }
.ads-unset .chip-outline { background: #fff; white-space: normal; }
.ads-unset .chip-outline:hover { background: var(--gold-soft); }
.app-terms b { display: inline-flex; align-items: center; gap: 5px; color: var(--green); }
.app-terms.is-changed b { color: var(--amber); }
.app-terms .app-terms-note { display: block; margin-top: 3px; color: var(--amber); font-weight: 600; font-size: 12.5px; line-height: 1.5; }

/* Business Pro (app/lib/bizpro.php): the brand badge, the campaign-quota line and the upsell card. */
.bzp-badge { background: linear-gradient(135deg, #1f2937, #0b1220); color: var(--gold-2); }
.bzp-gate { border-color: var(--gold-line); background: var(--gold-soft); }
.bzp-left { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: 8px; font-size: 12.5px; font-weight: 700; color: var(--muted); }
.bzp-left .i { color: var(--gold-3); }
.bzp-left.is-out, .bzp-left.is-out .i { color: var(--amber); }
.bzp-quota { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.bzp-quota.is-out { border-color: var(--gold-line); background: var(--gold-soft); }
.btn.is-locked { opacity: .78; }
.adm-sub { margin: 18px 0 8px; font-size: 14px; font-weight: 800; color: var(--muted); }
