/* CIUZO — new web UI (same design as the new app, plus desktop layouts). */
:root {
  --primary: #2563EB;
  --primary-dark: #1D4ED8;
  --primary-08: rgba(37, 99, 235, .08);
  --primary-15: rgba(37, 99, 235, .15);
  --accent: #F5B800;
  --accent-dark: #D9A400;
  --success: #22C55E;
  --success-dark: #16A34A;
  --danger: #EF4444;
  --warning: #F59E0B;
  --text: #1A1A1A;
  --text-2: #6B7280;
  --text-3: #9CA3AF;
  --body: #374151;
  --bg: #FFFFFF;
  --bg-light: #F8FAFC;
  --bg-dark: #E8F4FC;
  --page: #F3F5F8;
  --input: #F1F3F6;
  --border: #E5E7EB;
  --border-light: #F3F4F6;
  --negotiable: #5E9C76;
  --verified: #1D9BF0;
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 24px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, .1);
  --shadow-lg: 0 10px 25px rgba(15, 23, 42, .12);
  --wrap: 1240px;
  --topbar-h: 68px;
  --bnav-h: 74px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body.v2 {
  margin: 0;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 15px;
  line-height: 1.45;
  color: var(--text);
  background: var(--page);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
:where(.v2) a { color: inherit; text-decoration: none; }
:where(.v2) button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:where(.v2) input, :where(.v2) select, :where(.v2) textarea { font: inherit; color: inherit; }
:where(.v2) img { max-width: 100%; display: block; }
:where(.v2) :where(h1, h2, h3, p) { margin: 0; }
[hidden] { display: none !important; }

/* Material Symbols (rounded) */
.ms {
  font-family: 'Material Symbols Rounded';
  font-weight: normal;
  font-style: normal;
  font-size: 20px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  user-select: none;
  flex-shrink: 0;
  overflow: hidden;
  width: 1em;
}
.ms.fill { font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24; }
.ms.bold { font-variation-settings: 'FILL' 0, 'wght' 600, 'GRAD' 0, 'opsz' 24; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--text-2); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 44px; padding: 0 16px; border-radius: var(--r-md);
  font-size: 14.5px; font-weight: 700; white-space: nowrap;
  transition: background .15s, border-color .15s, color .15s, box-shadow .15s, transform .05s;
}
.btn:active { transform: translateY(1px); }
.btn .ms { font-size: 19px; }
.btn-primary { background: var(--primary); color: #fff !important; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-accent { background: var(--accent); color: var(--text) !important; }
.btn-accent:hover { background: #ffc520; }
.btn-success { background: var(--success-dark); color: #fff !important; }
.btn-success:hover { background: #15803d; }
.btn-outline { background: var(--bg); border: 1px solid var(--border); color: var(--text) !important; }
.btn-outline:hover { border-color: #cbd5e1; background: var(--bg-light); }
.btn-outline.blue { color: var(--primary) !important; }
.btn-ghost { color: var(--text-2) !important; padding: 0 10px; }
.btn-ghost:hover { background: var(--input); }
.btn-danger-ghost { color: var(--danger) !important; }
.btn-danger-ghost:hover { background: rgba(239, 68, 68, .08); }
.btn-sm { height: 36px; padding: 0 12px; font-size: 13.5px; border-radius: 10px; }
.btn-block { width: 100%; }
.btn[disabled], .btn.is-loading { opacity: .55; pointer-events: none; }
.spinner {
  width: 18px; height: 18px; border-radius: 50%;
  border: 2.5px solid currentColor; border-right-color: transparent;
  animation: spin .7s linear infinite; display: inline-block;
}
@keyframes spin { to { transform: rotate(360deg); } }
.pill {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 6px 10px; border-radius: 999px;
  background: var(--primary-08); color: var(--primary);
  font-size: 11.5px; font-weight: 700; white-space: nowrap;
}
.pill .ms { font-size: 13px; }

/* ---------- desktop top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--border);
}
.topbar-in { height: var(--topbar-h); display: flex; align-items: center; gap: 22px; }
.topbar .logo img { height: 36px; width: auto; }
.topnav { display: flex; gap: 4px; }
.topnav a {
  display: inline-flex; align-items: center; gap: 7px;
  height: 40px; padding: 0 14px; border-radius: 10px;
  font-weight: 700; font-size: 14.5px; color: var(--text-2);
}
.topnav a .ms { font-size: 20px; }
.topnav a:hover { background: var(--input); color: var(--text); }
.topnav a.active { background: var(--primary-08); color: var(--primary); }
.topsearch {
  flex: 1; max-width: 460px; height: 44px; display: flex; align-items: center; gap: 8px;
  background: var(--input); border-radius: var(--r-md); padding: 0 6px 0 14px;
  border: 1px solid transparent; transition: border-color .15s, background .15s;
}
.topsearch:focus-within { background: #fff; border-color: var(--primary); }
.topsearch .ms { color: var(--text-2); }
.topsearch input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 15px; }
.topsearch button { height: 34px; padding: 0 12px; border-radius: 9px; background: var(--primary); color: #fff; font-weight: 700; font-size: 13.5px; }
.topactions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.iconbtn {
  position: relative; width: 42px; height: 42px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center; color: var(--text-2);
}
.iconbtn:hover { background: var(--input); color: var(--text); }
.iconbtn .ms { font-size: 23px; }
.badge-dot {
  position: absolute; top: 3px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 9px; background: var(--danger); color: #fff; border: 2px solid #fff;
  font-size: 10px; font-weight: 800; display: flex; align-items: center; justify-content: center;
}
.avatar-link { display: inline-flex; border-radius: 50%; }
.avatar-link:hover { box-shadow: 0 0 0 3px var(--primary-15); }

/* ---------- avatar / names ---------- */
.av {
  border-radius: 50%; background: var(--bg-dark); color: var(--primary);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; flex-shrink: 0; overflow: hidden; object-fit: cover;
}
img.av { background: var(--bg-dark); }
.name { display: inline-flex; align-items: center; min-width: 0; max-width: 100%; }
.name > span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.verified { color: var(--verified); margin-left: 4px; font-size: 16px; }

/* ---------- mobile logo bar (app header) ---------- */
.mlogobar { display: flex; align-items: center; gap: 8px; min-height: 40px; }
.mlogobar .logo img { height: 34px; width: auto; }
.mlogobar .spacer { flex: 1; }
.mlogobar .connect { height: 34px; padding: 0 14px; border: 1px solid var(--border); border-radius: 10px; color: var(--primary); font-weight: 600; font-size: 13px; display: inline-flex; align-items: center; }

/* ---------- page top panel (feeds) ---------- */
.ftop { background: var(--bg); padding: 8px 16px 12px; }
.ftop .mlogobar { margin-bottom: 8px; }
.searchrow { display: flex; gap: 8px; }
.search {
  flex: 1; height: 44px; display: flex; align-items: center; gap: 6px;
  background: var(--input); border-radius: var(--r-md); padding: 0 6px 0 12px;
}
.search .ms { color: var(--text-2); font-size: 22px; }
.search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 15px; }
.search input::placeholder { color: var(--text-2); }
.search .clear { width: 30px; height: 30px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: var(--text-2); }
.search .clear .ms { font-size: 18px; }
.filterbtn {
  height: 44px; padding: 0 12px; display: inline-flex; align-items: center; gap: 5px;
  border-radius: var(--r-md); border: 1px solid var(--border); background: var(--bg);
  font-weight: 700; font-size: 13.5px;
}
.filterbtn .ms { font-size: 19px; }
.filterbtn.on { background: var(--primary); border-color: var(--primary); color: #fff; }
.cat-label { font-size: 14.5px; font-weight: 700; margin: 12px 0 8px 2px; }
.cattiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; }
.cattile {
  height: 74px; border-radius: var(--r-lg); border: 1px solid var(--border); background: var(--bg);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  transition: border-color .15s, background .15s, box-shadow .15s; padding: 0 3px;
}
.cattile .ic { width: 34px; height: 34px; border-radius: var(--r-md); display: flex; align-items: center; justify-content: center; }
.cattile .ic .ms { font-size: 20px; }
.cattile .lb { font-size: 12.5px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.cattile:hover { box-shadow: var(--shadow-sm); }
.cattile.sel { border-width: 1.5px; }
.ftop.collapsed .collapse-hide { display: none; }
.ftop.collapsed { padding-top: 6px; padding-bottom: 6px; }

.resultsbar { display: flex; align-items: center; gap: 10px; padding: 12px 16px 6px; }
.resultsbar .count { flex: 1; font-size: 15px; color: var(--text-2); }
.resultsbar .count b { color: var(--text); font-weight: 800; }
.resetpill { display: inline-flex; align-items: center; gap: 4px; padding: 5px 10px; border-radius: 999px; background: var(--primary-08); color: var(--primary); font-weight: 700; font-size: 13px; }
.resetpill .ms { font-size: 16px; }
.sortlink { display: inline-flex; align-items: center; gap: 3px; color: var(--text-2); font-size: 14px; }
.sortlink .ms { font-size: 19px; }
select.sortselect { border: 0; background: transparent; color: var(--text-2); font-size: 14px; cursor: pointer; outline: 0; }

/* ---------- listing row card ---------- */
.cards { display: grid; grid-template-columns: 1fr; gap: 0; padding: 0 0 8px; }
.lcard { margin: 6px 12px; background: var(--bg); border-radius: 14px; overflow: hidden; display: flex; height: 172px; position: relative; transition: box-shadow .15s, transform .15s; }
.lcard:hover { box-shadow: var(--shadow-lg); }
.lcard .ph { width: 168px; flex-shrink: 0; position: relative; background: var(--bg-light); }
.lcard .ph img { width: 100%; height: 100%; object-fit: cover; }
.lcard .ph .noimg { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--text-3); }
.lcard .ph .noimg .ms { font-size: 32px; }
.lcard .cnt { position: absolute; left: 6px; bottom: 6px; display: inline-flex; align-items: center; gap: 3px; padding: 2px 6px; border-radius: 999px; background: rgba(0, 0, 0, .55); color: #fff; font-size: 12.5px; font-weight: 700; }
.lcard .cnt .ms { font-size: 14px; }
.lcard .mine { position: absolute; left: 8px; top: 8px; padding: 4px 8px; border-radius: 999px; background: var(--primary); color: #fff; font-size: 11px; font-weight: 700; }
.lcard .promo { position: absolute; left: 8px; top: 8px; padding: 4px 8px; border-radius: 999px; background: var(--accent); color: var(--text); font-size: 11px; font-weight: 800; }
.lcard.promoted { outline: 2px solid var(--accent); outline-offset: -2px; }
.heart {
  position: absolute; top: 6px; right: 6px; width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255, 255, 255, .92); box-shadow: 0 0 4px rgba(0, 0, 0, .13);
  display: flex; align-items: center; justify-content: center; color: var(--text); z-index: 2;
}
.heart .ms { font-size: 21px; }
.heart.on { color: var(--danger); }
.heart:hover { transform: scale(1.06); }
.lcard .bd { flex: 1; min-width: 0; padding: 12px 14px; display: flex; flex-direction: column; }
.lcard .tt { font-size: 16.5px; font-weight: 600; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lcard .sp { margin-top: 3px; font-size: 13.5px; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lcard .grow { flex: 1; }
.lcard .pr { font-size: 20px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lcard .neg { font-size: 12.5px; font-weight: 500; color: var(--negotiable); min-height: 4px; }
.lcard .meta { margin-top: 3px; display: flex; align-items: center; gap: 2px; color: var(--text-3); font-size: 13px; }
.lcard .meta .ms { font-size: 15px; }
.lcard .meta .loc { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lcard .meta .ago { font-size: 11px; margin-left: 6px; white-space: nowrap; }

/* ---------- carousel ---------- */
.carousel { padding: 10px 0 10px; }
.carousel .hd { display: flex; align-items: center; gap: 5px; padding: 0 16px 8px; }
.carousel .hd .fire { color: var(--accent-dark); font-size: 19px; }
.carousel .hd h3 { flex: 1; font-size: 15.5px; font-weight: 800; }
.arrow { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--border); background: var(--bg); display: inline-flex; align-items: center; justify-content: center; }
.arrow:hover { background: var(--bg-light); }
.arrow .ms { font-size: 20px; }
.ctrack { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 0 12px 2px; scrollbar-width: none; }
.ctrack::-webkit-scrollbar { display: none; }
.ccard { flex: 0 0 calc(44% - 4px); scroll-snap-align: start; background: var(--bg); border-radius: 12px; overflow: hidden; height: 168px; display: flex; flex-direction: column; transition: box-shadow .15s; position: relative; }
.ccard:hover { box-shadow: var(--shadow-md); }
.ccard img { height: 100px; width: 100%; object-fit: cover; background: var(--bg-light); }
.ccard .t { padding: 7px 9px 0; font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ccard .p { padding: 2px 9px 0; font-size: 15px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ccard .star { position: absolute; top: 6px; left: 6px; background: var(--accent); color: var(--text); border-radius: 999px; padding: 2px 7px; font-size: 10.5px; font-weight: 800; }

/* ---------- empty / loading ---------- */
.empty { text-align: center; padding: 44px 20px; color: var(--text-2); }
.empty .ms { font-size: 46px; color: var(--text-3); }
.empty h3 { margin-top: 10px; font-size: 16.5px; font-weight: 800; color: var(--text); }
.empty p { margin-top: 4px; font-size: 14px; }
.empty .btn { margin-top: 16px; }
.loader { display: flex; justify-content: center; padding: 32px 0; color: var(--primary); }
.loader .spinner { width: 30px; height: 30px; border-width: 3px; }
.skel { background: linear-gradient(90deg, #eef1f5 25%, #f6f8fa 37%, #eef1f5 63%); background-size: 400% 100%; animation: skel 1.3s ease infinite; }
@keyframes skel { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }
.skel-card { margin: 6px 12px; height: 172px; border-radius: 14px; }

/* ---------- bottom nav (mobile) ---------- */
.bnav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  background: var(--bg); padding: 4px 8px calc(8px + env(safe-area-inset-bottom) * .5);
}
.bnav-in {
  background: var(--primary); border-radius: 22px; box-shadow: 0 4px 14px rgba(0, 0, 0, .2);
  display: flex; padding: 3px 4px;
}
.bnav a, .bnav button { flex: 1; display: flex; flex-direction: column; align-items: center; padding: 2px 1px; min-width: 0; }
.bnav .tab { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 3px 4px; border-radius: 16px; color: #fff; transition: background .18s; position: relative; }
.bnav .tab .ms { font-size: 20px; }
.bnav .tab .lb { font-size: 10px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.bnav .tab.active { background: #fff; color: var(--primary); }
.bnav .tab.active .lb { font-weight: 800; }
.bnav .cta .circle { width: 34px; height: 34px; border-radius: 50%; background: var(--accent); border: 2px solid rgba(255, 255, 255, .25); box-shadow: 0 3px 10px rgba(0, 0, 0, .25); display: flex; align-items: center; justify-content: center; color: var(--primary-dark); }
.bnav .cta .circle .ms { font-size: 25px; }
.bnav .cta .lb { font-size: 10px; font-weight: 700; color: var(--accent); margin-top: 1px; }
.bnav .unread { position: absolute; top: -2px; left: calc(50% + 4px); min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; background: var(--danger); color: #fff; font-size: 10px; font-weight: 800; display: flex; align-items: center; justify-content: center; border: 1.5px solid var(--primary); }
.bnav .tab.active .unread { border-color: #fff; }
body.has-bnav { padding-bottom: calc(var(--bnav-h) + env(safe-area-inset-bottom) * .5); }

/* ---------- sheets & dialogs ---------- */
.overlay { position: fixed; inset: 0; z-index: 200; background: rgba(15, 23, 42, .45); display: flex; align-items: flex-end; justify-content: center; opacity: 0; transition: opacity .18s; }
.overlay.show { opacity: 1; }
.sheet {
  width: 100%; max-height: 92vh; background: var(--bg); border-radius: 20px 20px 0 0;
  display: flex; flex-direction: column; transform: translateY(24px); transition: transform .2s;
  padding-bottom: env(safe-area-inset-bottom);
}
.overlay.show .sheet { transform: none; }
.sheet .grab { width: 40px; height: 4px; border-radius: 2px; background: var(--border); margin: 8px auto 0; }
.sheet-hd { display: flex; align-items: center; gap: 8px; padding: 12px 8px 8px 16px; }
.sheet-hd h3 { flex: 1; font-size: 17px; font-weight: 800; }
.sheet-hd .x { width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; }
.sheet-hd .x:hover { background: var(--input); }
.sheet-bd { overflow-y: auto; padding: 4px 16px 16px; -webkit-overflow-scrolling: touch; }
.sheet-ft { padding: 10px 16px 14px; border-top: 1px solid var(--border-light); display: flex; gap: 10px; }
.sheet.dialog { max-width: 420px; border-radius: 20px; margin: 16px; }
.optlist { display: flex; flex-direction: column; }
.optlist button { display: flex; align-items: center; gap: 10px; text-align: left; padding: 13px 10px; border-radius: 10px; font-size: 15px; }
.optlist button:hover { background: var(--bg-light); }
.optlist button.sel { color: var(--primary); font-weight: 700; }
.optlist button .ms.chk { margin-left: auto; color: var(--primary); }
.optlist .sub { color: var(--text-3); font-size: 13px; margin-left: 6px; }
.optsearch { position: sticky; top: 0; background: var(--bg); padding: 2px 0 8px; z-index: 1; }

/* ---------- toast ---------- */
.toasts { position: fixed; left: 50%; bottom: calc(var(--bnav-h) + 16px); transform: translateX(-50%); z-index: 400; display: flex; flex-direction: column; gap: 8px; width: min(92vw, 440px); pointer-events: none; }
.toast { background: #1f2937; color: #fff; padding: 12px 16px; border-radius: 12px; font-size: 14px; font-weight: 600; box-shadow: var(--shadow-lg); animation: toastIn .2s ease; pointer-events: auto; }
.toast.ok { background: var(--success-dark); }
.toast.err { background: var(--danger); }
@keyframes toastIn { from { opacity: 0; transform: translateY(8px); } }

/* ---------- forms ---------- */
.field { margin-bottom: 14px; }
.field > label, .flabel { display: block; font-size: 13.5px; font-weight: 600; color: var(--text-2); margin-bottom: 6px; }
.input, .select, .textarea {
  width: 100%; height: 50px; padding: 0 14px; border-radius: var(--r-md); border: 1px solid var(--border);
  background: var(--bg); font-size: 15px; outline: 0; transition: border-color .15s, box-shadow .15s;
}
.textarea { height: auto; min-height: 130px; padding: 12px 14px; resize: vertical; line-height: 1.5; }
.input:focus, .select:focus, .textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-08); }
.input::placeholder, .textarea::placeholder { color: var(--text-3); }
.input.err, .picker.err { border-color: var(--danger); }
.ferr { color: var(--danger); font-size: 12.5px; font-weight: 600; margin-top: 5px; }
.select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='%236B7280'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 38px; cursor: pointer; }
.picker {
  width: 100%; min-height: 50px; padding: 6px 12px 6px 14px; border-radius: var(--r-md); border: 1px solid var(--border);
  background: var(--bg); display: flex; align-items: center; gap: 10px; text-align: left; transition: border-color .15s;
}
.picker:hover { border-color: #cbd5e1; }
.picker .pv { flex: 1; min-width: 0; }
.picker .pl { display: block; font-size: 12px; color: var(--text-2); font-weight: 600; }
.picker .pv .val { display: block; font-size: 15px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.picker .pv .ph { display: block; font-size: 15px; color: var(--text-3); }
.picker .ms { color: var(--text-2); }
.picker[disabled] { opacity: .5; pointer-events: none; }
.picker .brandlogo { width: 28px; height: 28px; object-fit: contain; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.check { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; cursor: pointer; padding: 8px 0; }
.check input { width: 20px; height: 20px; accent-color: var(--primary); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { padding: 7px 12px; border-radius: 999px; border: 1px solid var(--border); background: var(--bg); font-size: 13.5px; font-weight: 600; transition: all .15s; }
.chip:hover { border-color: #cbd5e1; }
.chip.on { background: var(--primary); border-color: var(--primary); color: #fff; }

/* ---------- filters panel ---------- */
.filters .fsec { padding-top: 14px; }
.filters .fsec > .flabel { color: var(--text); font-weight: 700; font-size: 14px; margin-bottom: 7px; }
.filters .hdr { display: flex; align-items: center; gap: 6px; }
.filters .hdr h3 { flex: 1; font-size: 17px; font-weight: 800; }
.filters .hdr .cnt { color: var(--primary); }
.filters .select, .filters .picker { height: 46px; min-height: 46px; }
.side-card { background: var(--bg); border-radius: 16px; padding: 16px; border: 1px solid var(--border-light); }

/* ---------- listing detail ---------- */
.ld { background: var(--bg); padding-bottom: 96px; }
.ld .topline { display: flex; align-items: center; padding: 4px 8px 0 4px; }
.backlink { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 10px; border-radius: 10px; color: var(--text-2); font-weight: 600; font-size: 14px; }
.backlink:hover { background: var(--input); color: var(--text); }
.ld .favbtn { margin-left: auto; width: 42px; height: 42px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: var(--text-2); }
.ld .favbtn.on { color: var(--danger); }
.ld .favbtn:hover { background: var(--input); }
.sellerrow { display: flex; align-items: center; gap: 10px; padding: 4px 16px 10px; }
.sellerrow .who { flex: 1; min-width: 0; }
.sellerrow .who .nm { font-size: 15px; font-weight: 700; }
.sellerrow .who .lb { font-size: 12.5px; color: var(--text-2); }
.sellerrow:hover .nm { color: var(--primary); }
.tagpill { padding: 4px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 700; white-space: nowrap; }
.ld .head { padding: 0 16px; }
.crumb { font-size: 12.5px; color: var(--text-2); }
.ld h1 { margin-top: 6px; font-size: 22px; font-weight: 800; line-height: 1.2; }
.ld .pricerow { display: flex; align-items: center; margin-top: 8px; gap: 8px; }
.ld .bigprice { flex: 1; font-size: 26px; font-weight: 800; }
.sharebtn { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 10px; border-radius: 10px; color: var(--text-2); font-weight: 600; font-size: 14px; }
.sharebtn:hover { background: var(--input); }
.sharebtn .ms { font-size: 18px; }
.published { font-size: 12.5px; color: var(--text-3); }
.gallery { margin-top: 12px; }
.gmain { position: relative; background: var(--bg-light); aspect-ratio: 4 / 3; overflow: hidden; margin: 0 16px; border-radius: var(--r-lg); }
.gmain img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; }
.gnav { position: absolute; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, .9); color: var(--text); display: flex; align-items: center; justify-content: center; }
.gnav.l { left: 8px; } .gnav.r { right: 8px; }
.gnav .ms { font-size: 22px; }
.gcount { position: absolute; bottom: 10px; right: 10px; background: rgba(0, 0, 0, .54); color: #fff; padding: 3px 8px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.gthumbs { display: flex; gap: 6px; overflow-x: auto; padding: 8px 16px 0; scrollbar-width: none; }
.gthumbs::-webkit-scrollbar { display: none; }
.gthumbs button { flex: 0 0 64px; height: 64px; border-radius: 10px; overflow: hidden; border: 2px solid transparent; opacity: .75; }
.gthumbs button.on { border-color: var(--primary); opacity: 1; }
.gthumbs img { width: 100%; height: 100%; object-fit: cover; }
.noimg-big { height: 220px; margin: 0 16px; border-radius: var(--r-lg); background: var(--bg-light); display: flex; align-items: center; justify-content: center; color: var(--text-3); }
.noimg-big .ms { font-size: 44px; }
.sec { padding: 18px 16px 0; }
.sec > h2 { font-size: 18px; font-weight: 800; margin-bottom: 10px; }
.desc { font-size: 15px; line-height: 1.6; color: var(--body); white-space: pre-line; overflow-wrap: anywhere; }
.hl { display: flex; flex-wrap: wrap; gap: 6px; }
.hl span { padding: 5px 10px; border-radius: 999px; background: var(--primary-08); color: var(--primary); font-size: 12.5px; font-weight: 700; }
.dtable .row { display: flex; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--border-light); font-size: 14px; }
.dtable .row:last-child { border-bottom: 0; }
.dtable .k { flex: 1; color: var(--text-2); }
.dtable .v { font-weight: 700; text-align: right; }
.sellercard { display: flex; align-items: center; gap: 12px; padding: 12px; background: var(--bg-light); border: 1px solid var(--border-light); border-radius: var(--r-lg); }
.sellercard:hover { border-color: var(--border); }
.sellercard .who { flex: 1; min-width: 0; }
.sellercard .nm { font-size: 15.5px; font-weight: 800; }
.sellercard .sub { font-size: 12.5px; color: var(--primary); }
.textlink { display: inline-flex; align-items: center; gap: 6px; padding: 8px; border-radius: 10px; color: var(--primary); font-weight: 600; font-size: 14px; margin-top: 4px; }
.textlink:hover { background: var(--primary-08); }
.textlink .ms { font-size: 18px; }
.cererelink { margin-top: 10px; }
.contactbar {
  position: fixed; left: 0; right: 0; bottom: calc(var(--bnav-h) + env(safe-area-inset-bottom) * .5); z-index: 65;
  background: var(--bg); border-top: 1px solid var(--border); padding: 10px 12px; display: flex; align-items: center; gap: 8px;
}
.contactbar .cp { flex: 1; min-width: 0; font-size: 17px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.contactbar .btn { height: 42px; padding: 0 14px; }
.reco { padding: 22px 0 8px; }
.reco h2 { padding: 0 16px; font-size: 18px; font-weight: 800; margin-bottom: 6px; }
.phone-sheet .num { font-size: 26px; font-weight: 800; text-align: center; letter-spacing: .5px; padding: 8px 0 4px; }
.phone-sheet .note { text-align: center; color: var(--text-2); font-size: 13px; }
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(0, 0, 0, .94); display: flex; align-items: center; justify-content: center; }
.lightbox img { max-width: 94vw; max-height: 86vh; object-fit: contain; }
.lightbox .x { position: absolute; top: 14px; right: 14px; color: #fff; width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, .12); }
.lightbox .gnav { background: rgba(255, 255, 255, .15); color: #fff; box-shadow: none; }
.lightbox .lbc { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); color: #fff; font-size: 14px; font-weight: 600; }

/* ---------- cereri feed ---------- */
.banner {
  border-radius: 18px; padding: 14px 16px; color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}
.banner .bt { font-size: 18px; font-weight: 800; line-height: 1.25; }
.banner .bt em { font-style: normal; color: var(--accent); }
.banner .bs { margin-top: 4px; font-size: 13px; color: rgba(255, 255, 255, .85); }
.banner .ba { margin-top: 12px; display: flex; align-items: center; gap: 12px; }
.banner .btn { height: 40px; }
.banner .fast { display: inline-flex; align-items: center; gap: 2px; font-size: 12.5px; color: rgba(255, 255, 255, .8); }
.banner .fast .ms { font-size: 16px; }
.ftop.collapsed .banner { padding: 8px 8px 8px 16px; border-radius: 14px; display: flex; align-items: center; gap: 8px; }
.ftop.collapsed .banner .bt { flex: 1; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ftop.collapsed .banner .bs, .ftop.collapsed .banner .fast { display: none; }
.ftop.collapsed .banner .ba { margin-top: 0; }
.ftop.collapsed .banner .btn { height: 34px; }
.post { background: var(--bg); border-radius: 14px; margin: 6px 12px; padding: 12px 14px 14px; }
.post .ph { display: flex; align-items: center; gap: 10px; }
.post .ph .who { flex: 1; min-width: 0; }
.post .ph .nm { font-size: 15px; font-weight: 700; }
.post .ph .sub { font-size: 12.5px; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.post .ptitle { display: block; margin-top: 10px; font-size: 18px; font-weight: 700; line-height: 1.25; }
.post .ptitle:hover { color: var(--primary); }
.post .pdesc { margin-top: 5px; font-size: 13px; line-height: 1.45; color: #4B5563; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.badges { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 5px; align-items: center; }
.bdg { display: inline-flex; align-items: center; gap: 3px; padding: 4px 7px; border-radius: 999px; background: var(--input); font-size: 11.5px; font-weight: 500; max-width: 200px; }
.bdg span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bdg .ms { font-size: 12px; color: var(--text-2); }
.bdg.strong { font-weight: 800; }
.bdg.alt { background: rgba(34, 197, 94, .12); border: 1px solid rgba(34, 197, 94, .35); color: var(--success-dark); font-weight: 700; }
.bdg.alt .ms { color: var(--success-dark); font-size: 13px; }
.more { font-size: 13px; font-weight: 700; color: var(--primary); padding: 4px; }
.post .stats { margin-top: 12px; display: flex; gap: 18px; font-size: 13.5px; color: var(--text-2); }
.post .stats button { display: inline-flex; align-items: center; gap: 5px; }
.post .stats .ms { font-size: 17px; }
.post .stats button:hover { color: var(--text); }
.post hr { border: 0; border-top: 1px solid var(--border); margin: 12px 0; }
.citem { display: flex; gap: 8px; margin-bottom: 10px; align-items: flex-start; }
.citem .cbody { min-width: 0; flex: 1; }
.bubble { display: inline-block; max-width: 100%; padding: 8px 12px 9px; border-radius: 16px; background: var(--bg-light); border: 1px solid var(--border-light); }
.bubble .cn { font-size: 13px; font-weight: 700; }
.bubble .role { font-size: 12px; color: var(--text-2); font-weight: 500; margin-left: 4px; }
.bubble .role.author { color: var(--primary); font-weight: 700; }
.bubble .cb { font-size: 14px; line-height: 1.4; margin-top: 2px; white-space: pre-line; overflow-wrap: anywhere; }
.cmeta { padding: 3px 0 0 12px; font-size: 12px; color: var(--text-3); display: flex; gap: 14px; }
.cmeta button { font-weight: 700; color: var(--text-2); font-size: 12px; }
.lthread { display: flex; align-items: center; gap: 10px; padding: 8px; margin-top: 6px; border-radius: var(--r-lg); border: 1px solid var(--border); background: var(--bg); }
.lthread:hover { border-color: #cbd5e1; box-shadow: var(--shadow-sm); }
.lthread img, .lthread .ni { width: 64px; height: 64px; border-radius: var(--r-md); object-fit: cover; background: var(--bg-light); flex-shrink: 0; display: flex; align-items: center; justify-content: center; color: var(--text-3); }
.lthread .lt { flex: 1; min-width: 0; }
.lthread .lt b { display: block; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lthread .lt span { display: block; font-size: 12.5px; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 3px; }
.lthread .lp { font-size: 14px; font-weight: 800; white-space: nowrap; }
.bubble.small { padding: 6px 12px; border: 0; }
.seeall { font-size: 13px; font-weight: 700; color: var(--text-2); margin-bottom: 10px; display: inline-block; }
.composer { display: flex; align-items: center; gap: 6px; background: var(--input); border-radius: 999px; padding: 4px 4px 4px 16px; }
.composer input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 15px; height: 38px; }
.composer button { height: 38px; padding: 0 14px; border-radius: 999px; display: inline-flex; align-items: center; gap: 5px; color: var(--primary); font-weight: 700; font-size: 15px; }
.composer button:hover { background: rgba(37, 99, 235, .08); }
.composer button .ms { font-size: 18px; }
.composer.guest { cursor: pointer; color: var(--text-2); padding: 0 16px; height: 46px; }
.sendoffer { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; padding: 6px 4px; color: var(--primary); font-weight: 700; font-size: 14.5px; border-radius: 10px; }
.sendoffer:hover { background: var(--primary-08); }
.sentoffer { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; padding: 6px 4px; color: var(--success-dark); font-weight: 700; font-size: 14px; }

/* ---------- profile ---------- */
.prof-hero { background: var(--bg); padding: 4px 16px 0; }
.prof-top { display: flex; align-items: center; gap: 14px; padding: 8px 0 12px; }
.prof-top h1 { font-size: 22px; font-weight: 800; }
.prof-top .chips2 { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.prof-top .chips2 span { padding: 4px 9px; border-radius: 999px; background: var(--input); font-size: 12px; font-weight: 600; color: var(--text-2); }
.prof-actions { display: flex; gap: 8px; padding-bottom: 12px; }
.tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--border); background: var(--bg); overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { padding: 12px 16px; font-weight: 700; font-size: 14.5px; color: var(--text-2); border-bottom: 2.5px solid transparent; white-space: nowrap; }
.tabs button.on { color: var(--primary); border-bottom-color: var(--primary); }
.vrow { display: flex; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--border-light); font-size: 14px; }
.vrow .ms { color: var(--text-2); }
.vrow .k { flex: 1; }
.vrow .ok { color: var(--success-dark); font-weight: 700; }
.vrow .no { color: var(--text-3); font-weight: 600; }

/* ---------- account / lists ---------- */
.pagehd { background: var(--bg); padding: 10px 16px 12px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--border-light); }
.pagehd h1 { flex: 1; font-size: 20px; font-weight: 800; }
.pagehd .backbtn { width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; margin-left: -8px; }
.pagehd .backbtn:hover { background: var(--input); }
.menu { background: var(--bg); border-radius: 16px; margin: 12px; overflow: hidden; }
.menu a, .menu button { display: flex; align-items: center; gap: 12px; padding: 15px 16px; border-bottom: 1px solid var(--border-light); font-size: 15px; font-weight: 600; width: 100%; text-align: left; }
.menu a:last-child, .menu button:last-child { border-bottom: 0; }
.menu a:hover, .menu button:hover { background: var(--bg-light); }
.menu .mi { width: 38px; height: 38px; border-radius: 12px; background: var(--primary-08); color: var(--primary); display: flex; align-items: center; justify-content: center; }
.menu .mt { flex: 1; min-width: 0; }
.menu .mt small { display: block; font-size: 12.5px; color: var(--text-2); font-weight: 500; }
.menu .chev { color: var(--text-3); }
.acc-hero { display: flex; align-items: center; gap: 14px; background: var(--bg); padding: 16px; border-radius: 16px; margin: 12px; }
.acc-hero h2 { font-size: 19px; font-weight: 800; }
.acc-hero small { color: var(--text-2); font-size: 13px; }
.mcard { background: var(--bg); border-radius: 14px; margin: 8px 12px; overflow: hidden; }
.mcard .mtop { display: flex; gap: 12px; padding: 12px; }
.mcard .mimg { width: 96px; height: 80px; border-radius: 10px; object-fit: cover; background: var(--bg-light); flex-shrink: 0; }
.mcard .minfo { flex: 1; min-width: 0; }
.mcard .minfo b { display: block; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mcard .minfo .mp { font-size: 16px; font-weight: 800; margin-top: 3px; }
.mcard .exp { font-size: 12.5px; font-weight: 600; margin-top: 4px; display: flex; align-items: center; gap: 4px; }
.mcard .exp .ms { font-size: 15px; }
.mcard .tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.mcard .acts { display: flex; border-top: 1px solid var(--border-light); }
.mcard .acts a, .mcard .acts button { flex: 1; display: flex; align-items: center; justify-content: center; gap: 5px; padding: 11px 6px; font-size: 13px; font-weight: 700; color: var(--text-2); }
.mcard .acts a:hover, .mcard .acts button:hover { background: var(--bg-light); color: var(--primary); }
.mcard .acts .ms { font-size: 18px; }
.mcard .acts .promo-act { color: var(--accent-dark); }
.fab { position: fixed; right: 16px; bottom: calc(var(--bnav-h) + 18px); z-index: 60; box-shadow: var(--shadow-lg); border-radius: 16px; height: 52px; padding: 0 18px; }
.periods { display: flex; gap: 6px; padding: 12px 12px 0; flex-wrap: wrap; }
.kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 12px; }
.kpi { background: var(--bg); border-radius: 14px; padding: 14px; }
.kpi .kv { font-size: 28px; font-weight: 800; }
.kpi .kl { font-size: 13px; color: var(--text-2); font-weight: 600; }
.panel { background: var(--bg); border-radius: 14px; margin: 0 12px 12px; padding: 14px; }
.panel > h3 { font-size: 16px; font-weight: 800; margin-bottom: 10px; }
.bars { display: flex; align-items: flex-end; gap: 3px; height: 120px; }
.bars .b { flex: 1; background: var(--primary); border-radius: 4px 4px 0 0; min-height: 2px; position: relative; }
.bars .b:hover { background: var(--primary-dark); }
.bars .b[data-tip]:hover::after { content: attr(data-tip); position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%); background: #111827; color: #fff; font-size: 11.5px; padding: 4px 7px; border-radius: 6px; white-space: nowrap; }
.barlabels { display: flex; justify-content: space-between; font-size: 11px; color: var(--text-3); margin-top: 6px; }
.lrow { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--border-light); font-size: 14px; }
.lrow:last-child { border-bottom: 0; }
.lrow .lt { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lrow .lt small { display: block; color: var(--text-3); font-size: 12px; }
.lrow b { white-space: nowrap; }

/* ---------- wizard ---------- */
.wz { max-width: 680px; margin: 0 auto; min-height: 100vh; background: var(--bg); display: flex; flex-direction: column; }
.wz-hd { position: sticky; top: 0; z-index: 20; background: var(--bg); padding: 10px 12px 0; }
.wz-hd .row1 { display: flex; align-items: center; gap: 8px; }
.wz-hd .row1 h1 { flex: 1; font-size: 17px; font-weight: 800; }
.wz-hd .row1 small { color: var(--text-2); font-weight: 600; font-size: 13px; }
.progress { height: 4px; background: var(--border-light); border-radius: 2px; margin: 10px 4px 0; overflow: hidden; }
.progress i { display: block; height: 100%; background: var(--primary); border-radius: 2px; transition: width .25s; }
.wz-bd { flex: 1; padding: 20px 16px 24px; }
.wz-bd h2 { font-size: 22px; font-weight: 800; }
.wz-bd .lead { font-size: 13px; color: var(--text-2); margin-top: 6px; margin-bottom: 20px; }
.wz-ft { position: sticky; bottom: 0; background: var(--bg); border-top: 1px solid var(--border-light); padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); display: flex; gap: 10px; }
.wz-ft .btn { flex: 1; height: 50px; }
.wz-ft .btn.back { flex: 0 0 auto; }
.catpick { display: flex; align-items: center; gap: 14px; width: 100%; padding: 14px; border-radius: var(--r-lg); border: 1px solid var(--border); background: var(--bg); text-align: left; margin-bottom: 10px; transition: border-color .15s, box-shadow .15s; }
.catpick:hover { border-color: #cbd5e1; box-shadow: var(--shadow-sm); }
.catpick.sel { border-width: 1.5px; }
.catpick .ic { width: 48px; height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center; }
.catpick .ic .ms { font-size: 26px; }
.catpick .tx { flex: 1; }
.catpick .tx b { display: block; font-size: 16px; }
.catpick .tx span { font-size: 13px; color: var(--text-2); }
.titlebox { padding: 12px; border-radius: var(--r-md); background: rgba(37, 99, 235, .06); border: 1px solid rgba(37, 99, 235, .2); margin-bottom: 18px; }
.titlebox small { display: block; font-size: 11.5px; font-weight: 700; color: var(--text-2); }
.titlebox .tv { font-size: 16.5px; font-weight: 800; margin-top: 3px; }
.titlebox .tv.is-empty { font-size: 13.5px; font-weight: 500; color: var(--text-3); }
.missing { font-size: 12.5px; color: var(--text-2); }
.photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.photo { position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--bg-light); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo .rm { position: absolute; top: 5px; right: 5px; width: 28px; height: 28px; border-radius: 50%; background: rgba(0, 0, 0, .6); color: #fff; display: flex; align-items: center; justify-content: center; }
.photo .rm .ms { font-size: 17px; }
.photo .main { position: absolute; left: 5px; bottom: 5px; background: var(--primary); color: #fff; font-size: 10.5px; font-weight: 800; padding: 2px 7px; border-radius: 999px; }
.photo .mv { position: absolute; left: 5px; top: 5px; width: 28px; height: 28px; border-radius: 50%; background: rgba(255, 255, 255, .9); color: var(--text); display: flex; align-items: center; justify-content: center; }
.photo .mv .ms { font-size: 17px; }
.addphoto { aspect-ratio: 1; border-radius: 12px; border: 2px dashed #cbd5e1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: var(--primary); font-weight: 700; font-size: 13px; background: var(--bg-light); cursor: pointer; }
.addphoto:hover { border-color: var(--primary); }
.addphoto .ms { font-size: 30px; }
.dropzone.drag .addphoto { border-color: var(--primary); background: var(--primary-08); }
.photohint { font-size: 13px; color: var(--text-2); margin-top: 10px; }
.summary { padding: 14px; border-radius: var(--r-md); background: rgba(245, 184, 0, .1); }
.summary b { display: block; font-size: 15px; }
.summary .sr { display: flex; justify-content: space-between; font-size: 13.5px; margin-top: 6px; color: var(--text-2); }
.summary .sr span:last-child { color: var(--text); font-weight: 700; }
.pkg { display: block; width: 100%; text-align: left; padding: 14px; border-radius: var(--r-lg); border: 1px solid var(--border); background: var(--bg); margin-bottom: 10px; transition: border-color .15s, background .15s; }
.pkg:hover { border-color: #cbd5e1; }
.pkg.sel { border: 1.6px solid var(--primary); background: rgba(37, 99, 235, .06); padding: 13.4px; }
.pkg .r1 { display: flex; align-items: center; gap: 10px; }
.pkg .rb { font-size: 20px; color: var(--text-3); }
.pkg.sel .rb { color: var(--primary); }
.pkg .pn { flex: 1; min-width: 0; font-size: 16px; font-weight: 800; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.pkg .recp { background: var(--accent); color: var(--text); font-size: 10.5px; font-weight: 800; padding: 2px 7px; border-radius: 999px; }
.pkg .pr2 { display: flex; flex-direction: column; align-items: flex-end; }
.pkg .pp { font-size: 17px; font-weight: 800; color: var(--primary-dark); white-space: nowrap; }
.pkg .pv { font-size: 11.5px; color: var(--text-2); white-space: nowrap; }
.pkg ul { margin: 8px 0 0 30px; padding: 0; list-style: none; }
.pkg li { display: flex; gap: 6px; font-size: 13px; color: var(--text-2); margin-top: 3px; }
.pkg li .ms { color: var(--success-dark); font-size: 16px; margin-top: 1px; }
.paynote { display: flex; gap: 8px; align-items: flex-start; font-size: 12.5px; color: var(--text-2); margin-top: 6px; }
.paynote .ms { font-size: 17px; }

/* ---------- auth ---------- */
.auth { min-height: 100vh; display: flex; flex-direction: column; align-items: center; padding: 24px 16px 40px; background: var(--page); }
.auth .alogo img { height: 40px; margin: 8px auto 20px; }
.auth-card { width: 100%; max-width: 420px; background: var(--bg); border-radius: 20px; padding: 24px 20px; box-shadow: var(--shadow-sm); }
.auth-card h1 { font-size: 22px; font-weight: 800; }
.auth-card .lead { color: var(--text-2); font-size: 14px; margin: 6px 0 18px; }
.auth-card .alt { margin-top: 16px; text-align: center; font-size: 14px; color: var(--text-2); }
.auth-card .alt a { color: var(--primary); font-weight: 700; }
.auth-back { align-self: flex-start; }
.formerr { background: rgba(239, 68, 68, .08); color: var(--danger); border: 1px solid rgba(239, 68, 68, .25); padding: 10px 12px; border-radius: 10px; font-size: 13.5px; font-weight: 600; margin-bottom: 14px; }
.pwd { position: relative; }
.pwd button { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; color: var(--text-2); border-radius: 50%; }

/* ---------- chat ---------- */
.chat-wrap { display: flex; height: calc(100vh - var(--bnav-h)); background: var(--bg); }
.chat-list { width: 100%; overflow-y: auto; }
.conv { display: flex; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--border-light); align-items: center; }
.conv:hover { background: var(--bg-light); }
.conv.on { background: var(--primary-08); }
.conv .ci { flex: 1; min-width: 0; }
.conv .ct { font-size: 12px; color: var(--primary); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.conv .cn { font-weight: 700; font-size: 15px; display: flex; gap: 6px; }
.conv .cn .tm { margin-left: auto; font-size: 11.5px; color: var(--text-3); font-weight: 500; }
.conv .cl { font-size: 13.5px; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.conv.unread .cl { color: var(--text); font-weight: 700; }
.conv .ub { min-width: 20px; height: 20px; border-radius: 10px; background: var(--primary); color: #fff; font-size: 11px; font-weight: 800; display: flex; align-items: center; justify-content: center; padding: 0 6px; }
.thread { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.thread-hd { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-bottom: 1px solid var(--border); }
.thread-hd .who { flex: 1; min-width: 0; }
.thread-hd .who b { display: block; font-size: 15px; }
.thread-hd .who small { display: block; font-size: 12px; color: var(--primary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.msgs { flex: 1; overflow-y: auto; padding: 14px 12px; background: var(--bg-light); display: flex; flex-direction: column; gap: 6px; }
.msg { max-width: 78%; padding: 8px 12px; border-radius: 16px; font-size: 14.5px; line-height: 1.4; white-space: pre-line; overflow-wrap: anywhere; background: var(--bg); border: 1px solid var(--border-light); align-self: flex-start; }
.msg.me { align-self: flex-end; background: var(--primary); color: #fff; border-color: var(--primary); }
.msg .mt { display: block; font-size: 10.5px; opacity: .65; margin-top: 3px; text-align: right; }
.msg img { border-radius: 10px; max-width: 240px; margin-bottom: 4px; }
.daysep { align-self: center; font-size: 11.5px; color: var(--text-3); font-weight: 700; margin: 8px 0; }
.msgbox { display: flex; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); border-top: 1px solid var(--border); background: var(--bg); align-items: flex-end; }
.msgbox textarea { flex: 1; min-height: 44px; max-height: 140px; resize: none; border: 1px solid var(--border); border-radius: 22px; padding: 11px 16px; font-size: 15px; outline: 0; line-height: 1.35; }
.msgbox textarea:focus { border-color: var(--primary); }
.msgbox .send { width: 44px; height: 44px; border-radius: 50%; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.chat-empty { flex: 1; display: none; align-items: center; justify-content: center; flex-direction: column; color: var(--text-2); }
.chat-empty .ms { font-size: 54px; color: var(--text-3); }

/* ---------- footer (desktop) ---------- */
.footer { background: #0f172a; color: #cbd5e1; margin-top: 40px; padding: 36px 0 28px; font-size: 14px; }
.footer .cols { display: flex; gap: 48px; flex-wrap: wrap; }
.footer .brand { max-width: 320px; }
.footer .brand img { height: 32px; filter: brightness(0) invert(1); margin-bottom: 10px; }
.footer .brand p { color: #94a3b8; font-size: 13.5px; }
.footer h4 { margin: 0 0 10px; color: #fff; font-size: 14px; }
.footer a { display: block; color: #cbd5e1; padding: 3px 0; }
.footer a:hover { color: #fff; }
.footer .copy { margin-top: 26px; padding-top: 18px; border-top: 1px solid #1e293b; color: #64748b; font-size: 12.5px; }

/* ---------- misc ---------- */
.notfound { text-align: center; padding: 80px 20px; }
.notfound .ms { font-size: 56px; color: var(--text-3); }
.notfound h1 { font-size: 22px; font-weight: 800; margin-top: 10px; }
.notfound p { color: var(--text-2); margin: 6px 0 18px; }
.result { max-width: 460px; margin: 40px auto; background: var(--bg); border-radius: 20px; padding: 28px 22px; text-align: center; }
.result .ms { font-size: 56px; }
.result h1 { font-size: 21px; font-weight: 800; margin-top: 8px; }
.result p { color: var(--text-2); margin: 6px 0 18px; font-size: 14.5px; }

/* =================================================================
   Desktop
   ================================================================= */
@media (min-width: 960px) {
  .m-only { display: none !important; }
  body.has-bnav { padding-bottom: 0; }
  .bnav { display: none; }
  .toasts { bottom: 28px; }
  .overlay { align-items: center; }
  .sheet { max-width: 520px; border-radius: 20px; max-height: 86vh; margin: 16px; }
  .sheet .grab { display: none; }

  .feed-layout { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 24px; align-items: start; padding-top: 22px; padding-bottom: 20px; }
  .feed-layout .sidebar { position: sticky; top: calc(var(--topbar-h) + 18px); max-height: calc(100vh - var(--topbar-h) - 36px); overflow-y: auto; scrollbar-width: thin; }
  .feed-main .ftop { border-radius: 18px; padding: 16px 18px 18px; }
  .feed-main .cat-label { margin-top: 0; font-size: 15px; }
  .feed-main .cattiles { gap: 10px; }
  .feed-main .cattile { height: 86px; flex-direction: row; gap: 12px; justify-content: flex-start; padding: 0 16px; }
  .feed-main .cattile .ic { width: 44px; height: 44px; }
  .feed-main .cattile .ic .ms { font-size: 24px; }
  .feed-main .cattile .lb { font-size: 15px; }
  .carousel { padding: 18px 0 6px; }
  .carousel .hd { padding: 0 2px 10px; }
  .carousel .hd h3 { font-size: 17px; }
  .ctrack { padding: 0 0 4px; gap: 12px; }
  .ccard { flex: 0 0 216px; height: 196px; }
  .ccard img { height: 124px; }
  .resultsbar { padding: 14px 2px 8px; }
  .cards { grid-template-columns: repeat(auto-fill, minmax(400px, 1fr)); gap: 14px; padding-top: 6px; }
  .lcard { margin: 0; height: 184px; border: 1px solid var(--border-light); }
  .lcard .ph { width: 196px; }
  .skel-card { margin: 0; height: 184px; }

  .ld-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 28px; align-items: start; padding-top: 18px; padding-bottom: 30px; }
  .ld { background: transparent; padding-bottom: 0; }
  .ld .main-col { background: var(--bg); border-radius: 20px; overflow: hidden; padding-bottom: 24px; }
  .ld .side-col { position: sticky; top: calc(var(--topbar-h) + 18px); display: flex; flex-direction: column; gap: 14px; }
  .ld .gallery { margin-top: 0; }
  .ld .gmain { aspect-ratio: 16 / 10; margin: 0; border-radius: 0; }
  .ld .gthumbs { padding: 10px 16px 0; }
  .ld .gthumbs button { flex-basis: 84px; height: 64px; }
  .ld .sec { padding: 22px 26px 0; }
  .ld .head.side { padding: 20px; background: var(--bg); border-radius: 20px; }
  .ld .head.side h1 { font-size: 24px; }
  .ld .head.side .bigprice { font-size: 30px; }
  .ld .head.side .cbtns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
  .ld .head.side .cbtns .btn { height: 50px; font-size: 15px; }
  .ld .side-col .sellercard { background: var(--bg); padding: 16px; border-radius: 20px; border: 0; }
  .ld .topline { padding: 0 0 12px; }
  .contactbar { display: none; }
  .reco { padding: 8px 0 8px; }
  .reco h2 { padding: 0 2px; font-size: 20px; }
  .reco .cards { grid-template-columns: repeat(auto-fill, minmax(380px, 1fr)); }

  .cereri-layout { display: grid; grid-template-columns: 260px minmax(0, 640px) 300px; gap: 24px; justify-content: center; align-items: start; padding-top: 22px; padding-bottom: 30px; }
  .cereri-layout .lside, .cereri-layout .rside { position: sticky; top: calc(var(--topbar-h) + 18px); display: flex; flex-direction: column; gap: 14px; }
  .cereri-layout .ftop { border-radius: 18px; padding: 0; background: transparent; }
  .cereri-layout .post { margin: 0 0 14px; padding: 16px 18px 18px; border: 1px solid var(--border-light); }
  .vcats { display: flex; flex-direction: column; gap: 6px; }
  .vcats .cattile { height: 56px; flex-direction: row; justify-content: flex-start; gap: 12px; padding: 0 12px; }
  .vcats .cattile .lb { font-size: 14.5px; }
  .tips li { margin-bottom: 10px; font-size: 13.5px; color: var(--body); display: flex; gap: 8px; }
  .tips li .ms { color: var(--primary); font-size: 19px; }
  .tips { padding: 0; margin: 0; list-style: none; }

  .narrow { max-width: 900px; margin: 0 auto; padding-top: 18px; padding-bottom: 30px; }
  .narrow .pagehd { border-radius: 18px 18px 0 0; }
  .menu, .acc-hero, .mcard, .panel { margin-left: 0; margin-right: 0; }
  .kpis, .periods { padding-left: 0; padding-right: 0; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .my-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .my-grid .mcard { margin: 0; }
  .fab { bottom: 28px; right: 28px; }

  .prof-wrap { max-width: 1000px; margin: 0 auto; padding-top: 18px; padding-bottom: 30px; }
  .prof-hero { border-radius: 20px 20px 0 0; padding: 18px 24px 0; }
  .prof-top .av { width: 84px !important; height: 84px !important; font-size: 28px !important; }
  .prof-body .cards { padding-top: 14px; }

  .wz-page { padding: 26px 16px 40px; }
  .wz { min-height: 0; border-radius: 22px; box-shadow: var(--shadow-sm); overflow: visible; }
  .wz-hd { border-radius: 22px 22px 0 0; padding: 16px 20px 0; top: var(--topbar-h); }
  .wz-bd { padding: 26px 28px 28px; }
  .wz-ft { border-radius: 0 0 22px 22px; padding: 14px 28px; }
  .photos { grid-template-columns: repeat(4, 1fr); }

  .chat-wrap { height: calc(100vh - var(--topbar-h)); max-width: var(--wrap); margin: 0 auto; border-left: 1px solid var(--border); border-right: 1px solid var(--border); }
  .chat-list { width: 360px; flex-shrink: 0; border-right: 1px solid var(--border); }
  .chat-empty { display: flex; }
}

@media (min-width: 960px) and (max-width: 1180px) {
  .cereri-layout { grid-template-columns: 230px minmax(0, 1fr); }
  .cereri-layout .rside { display: none; }
  .feed-layout { grid-template-columns: 260px minmax(0, 1fr); }
}

@media (max-width: 959px) {
  .d-only { display: none !important; }
  .feed-layout.wrap, .cereri-layout.wrap, .ld-grid.wrap, .reco.wrap, .narrow.wrap, .prof-wrap.wrap { padding-left: 0; padding-right: 0; }
  .topbar, .footer { display: none; }
  body.has-bnav .contactbar ~ .reco { padding-bottom: 70px; }
  .feed-main .ftop { position: sticky; top: 0; z-index: 40; box-shadow: 0 1px 0 var(--border-light); }
  .cereri-layout .ftop { position: sticky; top: 0; z-index: 40; box-shadow: 0 1px 0 var(--border-light); }
  .chat-wrap.in-thread .chat-list { display: none; }
  .chat-wrap:not(.in-thread) .thread { display: none; }
  .wz-page { padding: 0; }
}

@media (max-width: 380px) {
  .lcard .ph { width: 140px; }
  .lcard .pr { font-size: 18px; }
  .bnav .tab .lb { font-size: 9.5px; }
}

/* equal tabs (Anunturile mele), FAB without bottom nav */
.tabs.eq button { flex: 1; }
body.is-bare .fab { bottom: calc(18px + env(safe-area-inset-bottom)); }
body.is-bare .toasts { bottom: 24px; }
.mcard .exp { flex-wrap: wrap; }
.banner .lbl-short { display: none; }
.ftop.collapsed .banner .lbl-long { display: none; }
.ftop.collapsed .banner .lbl-short { display: inline; }
.ftop.collapsed .banner .btn { padding: 0 14px; }

/* live search suggestions */
.has-suggest { position: relative; }
input[type=search]::-webkit-search-cancel-button { -webkit-appearance: none; display: none; }
.tclear { width: auto !important; height: 28px; padding: 0 10px; border-radius: 8px; background: transparent !important; color: var(--text-2) !important; font-size: 13px !important; font-weight: 600 !important; white-space: nowrap; }
.tclear:hover { background: rgba(15, 23, 42, .06) !important; color: var(--text) !important; }
.suggest { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 80; margin: 0; padding: 6px 0; list-style: none; background: #fff; border: 1px solid var(--border); border-radius: 12px; box-shadow: 0 12px 32px rgba(15, 23, 42, .14); max-height: 380px; overflow-y: auto; }
.suggest li { display: flex; align-items: center; gap: 10px; padding: 10px 14px; cursor: pointer; font-size: 14.5px; color: var(--text); }
.suggest li.on, .suggest li:hover { background: var(--input); }
.suggest .si { font-size: 18px !important; color: var(--text-3) !important; }
.suggest .st { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.suggest .typed { font-weight: 400; }
.suggest b { font-weight: 800; }
.suggest .sc { font-size: 20px !important; color: var(--text-3) !important; }
/* +40 phone field */
.phonefield { display: flex; align-items: stretch; border: 1px solid var(--border); border-radius: var(--r-md); background: var(--bg); overflow: hidden; }
.phonefield:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(37, 99, 235, .12); }
.phonefield.bad { border-color: var(--danger); }
.phonefield .pfx { display: flex; align-items: center; padding: 0 12px; background: var(--input); color: var(--text); font-weight: 700; font-size: 15px; border-right: 1px solid var(--border); }
.phonefield .input { border: 0 !important; box-shadow: none !important; border-radius: 0; flex: 1; min-width: 0; letter-spacing: .3px; }
.ferr { color: var(--danger); font-size: 12.5px; margin-top: 5px; }

/* mobile search overlay */
.soverlay { position: fixed; inset: 0; z-index: 120; background: var(--bg); padding: calc(10px + env(safe-area-inset-top)) 12px 12px; }
.soverlay .sohd { display: flex; align-items: center; gap: 6px; }
.soverlay .search { flex: 1; }
.soverlay .suggest { position: static; margin-top: 10px; box-shadow: none; border: 0; max-height: none; padding: 0; }
.soverlay .suggest li { padding: 14px 6px; border-bottom: 1px solid var(--border-light); }
.mlogobar .msearch { color: var(--text); margin-right: 4px; }
body.noscroll { overflow: hidden; }

/* SEO: headings, breadcrumbs, pager, server-rendered blocks */
.feed-h1 { font-size: 17px; font-weight: 800; margin: 6px 16px 0; color: var(--text); }
@media (min-width: 1024px) { .feed-h1 { margin: 4px 2px 10px; font-size: 20px; } }
.lcard h2.tt, .lcard .tt { margin: 0; font-size: inherit; }
h2.ptitle { margin: 0; }
h2.ptitle a, h1.ptitle { color: inherit; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 12.5px; color: var(--text-2); padding: 8px 0; }
.crumbs a { color: var(--text-2); }
.crumbs a:hover { color: var(--primary); }
.crumbs .sep { color: var(--text-3); }
.crumbwrap { min-width: 0; overflow: hidden; }
.pager { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; padding: 18px 0; }
.pager a, .pager .cur { min-width: 38px; height: 38px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; gap: 4px; border-radius: 10px; border: 1px solid var(--border); background: var(--bg); font-weight: 600; font-size: 14px; color: var(--text); }
.pager .cur { background: var(--primary); border-color: var(--primary); color: #fff; }
.ssr-detail { padding: 12px 16px; }
.ssr-detail h1 { font-size: 22px; font-weight: 800; margin: 8px 0; }
.ssr-detail .price { font-size: 24px; font-weight: 800; }
.ssr-detail .thumbs { display: flex; gap: 8px; overflow-x: auto; padding: 8px 0; }
.ssr-detail .thumbs img { width: 120px; height: 90px; object-fit: cover; border-radius: 10px; }
.ssr-detail .sec { padding: 10px 0; }
.ssr-detail h2 { font-size: 17px; font-weight: 800; margin-bottom: 6px; }
.suggest .scat { font-size: 12px; color: var(--text-2); white-space: nowrap; margin-left: 6px; }
.cerere-page .pagehd { gap: 8px; }

/* required-field asterisk (shared) */
.req { color: #DC2626; font-weight: 700; }
/* developer credit in the footer */
.footer .copy { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; }
.footer .credit { font-size: 11.5px; color: #64748b; }
.footer .credit a { display: inline; padding: 0; color: #94a3b8; text-decoration: none; }
.footer .credit a:hover { color: #cbd5e1; text-decoration: underline; }
.mcredit { text-align: center; font-size: 11px; color: var(--text-3); padding: 18px 16px 6px; margin: 0; }
.mcredit a { color: var(--text-2); }
body.has-bnav .mcredit { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
@media (min-width: 960px) { .mcredit { display: none; } }

/* saved with a package, not paid → not published */
.unpaid { border: 1px solid rgba(245, 158, 11, .45); background: rgba(245, 158, 11, .08); border-radius: var(--r-lg); padding: 16px; margin-bottom: 16px; text-align: left; }
.unpaid .ui { color: #B45309; font-size: 26px; }
.unpaid h2 { font-size: 17px; font-weight: 800; margin: 6px 0 4px; color: var(--text); }
.unpaid p { font-size: 13.5px; color: var(--text-2); margin: 0 0 12px; }
.unpaid .uacts { display: flex; flex-wrap: wrap; gap: 8px; }
.unpaid .uacts .btn { flex: 1 1 auto; }
.result .unpaid { max-width: 520px; margin: 0 auto; }

/* comment refused: the reason, right under the field */
.cerr { display: flex; gap: 6px; align-items: flex-start; margin: 6px 4px 0; color: var(--danger); font-size: 13px; font-weight: 600; line-height: 1.4; }
.cerr .ms { font-size: 17px; flex-shrink: 0; }
/* listing added to a cerere thread by the automatic matching */
.automatch { display: inline-flex; align-items: center; gap: 4px; margin: 4px 0 0 4px; color: var(--primary); font-size: 12px; font-weight: 700; }
.automatch .ms { font-size: 15px; }
/* owner panel on the listing page */
.ownerpanel { background: var(--bg-light); border: 1px solid var(--border-light, #eef0f3); border-radius: 14px; padding: 14px; margin: 14px 0; }
.ownerpanel h3 { font-size: 15px; font-weight: 800; margin: 0 0 10px; }
.ownerpanel .stats3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ownerpanel .st { background: #fff; border: 1px solid var(--border-light, #eef0f3); border-radius: 10px; padding: 10px; }
.ownerpanel .st .ms { color: var(--primary); font-size: 18px; }
.ownerpanel .st b { display: block; font-size: 19px; font-weight: 800; margin-top: 4px; }
.ownerpanel .st span { display: block; font-size: 11.5px; color: var(--text-2); }
.ownerpanel .st small { display: block; min-height: 15px; font-size: 10.5px; font-weight: 700; color: var(--success-dark, #15803d); }
.ownerpanel hr { border: 0; border-top: 1px solid var(--border-light, #eef0f3); margin: 12px 0; }
.ownerpanel .ptitle { display: flex; align-items: center; gap: 6px; font-weight: 800; font-size: 14px; }
.ownerpanel .ptitle .ms { font-size: 18px; color: var(--text-3); }
.ownerpanel .ptitle.on .ms { color: var(--success-dark, #15803d); }
.ownerpanel .prow { margin-top: 8px; font-size: 13px; }
.ownerpanel .prow .l { display: flex; justify-content: space-between; font-weight: 600; }
.ownerpanel .prow .l b { color: var(--success-dark, #15803d); }
.ownerpanel .prow .l b.off { color: var(--text-3); }
.ownerpanel .bar { height: 6px; background: var(--border-light, #eef0f3); border-radius: 4px; margin-top: 5px; overflow: hidden; }
.ownerpanel .bar i { display: block; height: 100%; background: var(--success, #22c55e); border-radius: 4px; }
.ownerpanel .note { font-size: 12px; color: var(--text-2); margin-top: 6px; }
.ownerpanel .pbtns { display: flex; gap: 8px; margin-top: 10px; }
.ownerpanel .pbtns .btn { flex: 1; }
.ownerpanel .manage { display: flex; gap: 8px; }
.ownerpanel .manage button { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 40px; border-radius: 10px; font-weight: 700; font-size: 14px; }
.ownerpanel .manage button:hover { background: rgba(0,0,0,.04); }
.ownerpanel .manage .del { color: var(--danger); }
.mcard .acts.manage { border-top: 1px solid var(--border-light, #eef0f3); }
.mcard .acts .del { color: var(--danger); }

/* notifications (bell) */
.notiflist { display: flex; flex-direction: column; gap: 2px; }
.nitem { display: flex; gap: 12px; padding: 12px 10px; border-radius: 12px; color: var(--text); }
.nitem:hover { background: var(--input); }
.nitem.unread { background: var(--primary-08, rgba(37,99,235,.08)); }
.nitem .nic { width: 38px; height: 38px; border-radius: 50%; background: var(--input); color: var(--primary); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.nitem.unread .nic { background: #fff; }
.nitem .nt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.nitem .nt b { font-size: 14px; font-weight: 800; }
.nitem .nt span { font-size: 13px; color: var(--text-2); line-height: 1.4; }
.nitem .nt small { font-size: 11.5px; color: var(--text-3); }

/* single cerere page: the card is as wide as the breadcrumb bar above it */
.cerere-page .post { margin-left: 0; margin-right: 0; }
