/* ============================================================
   Black Money Project — Premium Dark Luxury Design System
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  --bg:           #050505;
  --surface:      #090909;
  --card:         #0d0d0d;
  --card-hi:      #121212;
  --border:       #1c1c1c;
  --border-hi:    #2a2a2a;
  --gold:         #c9a227;
  --gold-bright:  #f0c844;
  --gold-dim:     rgba(201,162,39,0.12);
  --gold-glow:    rgba(201,162,39,0.25);
  --green:        #00c874;
  --green-dim:    rgba(0,200,116,0.12);
  --red:          #e53935;
  --red-dim:      rgba(229,57,53,0.12);
  --blue:         #4f8ef7;
  --blue-dim:     rgba(79,142,247,0.12);
  --text:         #eeeeee;
  --text-sec:     #aaaaaa;
  --muted:        #555555;
  --faint:        #181818;
  --font:         'Inter', 'Segoe UI', system-ui, sans-serif;
  --font-display: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  --r-sm:         4px;
  --r:            8px;
  --r-lg:         14px;
  --shadow:       0 4px 24px rgba(0,0,0,0.7);
  --shadow-gold:  0 0 24px rgba(201,162,39,0.18);
  --trans:        all 0.22s cubic-bezier(.4,0,.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.65;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(201,162,39,0.06) 0%, transparent 60%),
    radial-gradient(circle, rgba(28,28,28,0.9) 1px, transparent 1px);
  background-size: 100% 100%, 24px 24px;
  min-height: 100vh;
}

/* ---- Animations ---- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes goldPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201,162,39,0); }
  50%       { box-shadow: 0 0 0 6px rgba(201,162,39,0.12); }
}
@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position:  200% center; }
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes countUp {
  from { opacity: 0; transform: scale(0.85); }
  to   { opacity: 1; transform: scale(1); }
}

/* ---- Layout ---- */
.container { width: min(1060px, 94vw); margin: 0 auto; }

main.container {
  padding: 28px 0 60px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: fadeIn 0.3s ease;
}

/* ============================================================ TOPBAR ============================================================ */
.topbar {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(5,5,5,0.94);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}

.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }

.brand-logo {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, #c9a227, #f0c844);
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-size: 19px; font-weight: 900; color: #050505;
  box-shadow: 0 0 16px rgba(201,162,39,0.45);
  font-family: var(--font-display);
  flex-shrink: 0;
}

.brand-text {
  font-family: var(--font-display);
  font-size: 16px; font-weight: 700;
  color: var(--text); letter-spacing: -0.3px; line-height: 1.2;
}

.brand-sub {
  display: block;
  font-size: 8.5px; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); line-height: 1; margin-top: 1px;
}

.nav { display: flex; align-items: center; gap: 2px; flex-wrap: wrap; }

.nav-link {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 7px 11px; border-radius: var(--r-sm);
  font-size: 13.5px; font-weight: 500; color: var(--text-sec);
  text-decoration: none; transition: var(--trans); white-space: nowrap;
}
.nav-link:hover { color: var(--text); background: rgba(255,255,255,0.04); text-decoration: none; }
.nav-link-admin { color: var(--gold) !important; font-weight: 700; }
.nav-link-admin:hover { background: var(--gold-dim) !important; }
.nav-link-sm { font-size: 12.5px; }

.nav-user { display: flex; align-items: center; gap: 7px; }

.nav-user-avatar {
  width: 28px; height: 28px; border-radius: 50%;
  background: linear-gradient(135deg, #c9a227, #f0c844);
  color: #050505; font-size: 12px; font-weight: 800;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}

.nav-user-name { font-size: 13px; font-weight: 600; }
.nav-divider { width: 1px; height: 20px; background: var(--border); margin: 0 4px; flex-shrink: 0; }

.notify-dot {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 18px; height: 18px; padding: 0 5px;
  background: var(--gold); color: #050505;
  border-radius: 9px; font-size: 10px; font-weight: 800;
  animation: goldPulse 2s ease-in-out infinite;
}

.nav-burger {
  display: none; flex-direction: column; justify-content: center; align-items: center;
  gap: 5px; width: 38px; height: 38px;
  background: none; border: 1px solid var(--border); border-radius: var(--r-sm);
  cursor: pointer; padding: 0; flex-shrink: 0;
}
.nav-burger span { display: block; width: 18px; height: 2px; background: var(--text-sec); border-radius: 2px; transition: var(--trans); }

.mobile-dock {
  display: none;
}

.forum-hero-actions,
.forum-topic-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.forum-topic-actions form {
  margin: 0;
}

.forum-topic-actions .btn,
.forum-topic-actions button,
.forum-hero-actions .btn,
.forum-hero-actions button {
  min-height: 40px;
}

.mobile-fab {
  display: none;
}

.forum-hero {
  background:
    radial-gradient(120% 90% at 0% 0%, rgba(201,162,39,.12), transparent 60%),
    radial-gradient(100% 80% at 100% 100%, rgba(79,142,247,.1), transparent 55%),
    var(--card);
}

.forum-quick-search {
  margin-top: 12px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.forum-quick-search input {
  min-width: 280px;
  flex: 1;
}

.topic-row {
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 10px 12px;
  transition: var(--trans);
}

.topic-row:hover {
  border-color: rgba(201,162,39,.28);
  background: rgba(201,162,39,.05);
}

/* ============================================================ CARDS ============================================================ */
.card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 24px 28px;
  transition: var(--trans); position: relative; overflow: hidden;
  animation: fadeInUp 0.3s ease both;
}
.card::before {
  content: ''; position: absolute; inset: 0 0 auto 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0; transition: opacity 0.3s ease;
}
.card:hover::before { opacity: 0.5; }

.subcard {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r); padding: 16px 20px;
  transition: var(--trans); position: relative;
}
.subcard::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  border-radius: 3px 0 0 3px; opacity: 0; transition: opacity 0.2s ease;
}
.subcard:hover { border-color: var(--border-hi); transform: translateX(3px); box-shadow: var(--shadow); }
.subcard:hover::before { opacity: 1; }

.subcard-title { font-size: 15px; font-weight: 600; margin: 0 0 6px; }
.subcard-title a { color: var(--text); text-decoration: none; transition: color 0.2s; }
.subcard-title a:hover { color: var(--gold); }

.stack { display: flex; flex-direction: column; gap: 10px; }

/* ============================================================ TYPOGRAPHY ============================================================ */
h1 { font-family: var(--font-display); font-size: 26px; font-weight: 800; color: var(--text); margin: 0 0 8px; letter-spacing: -0.5px; }
h2 { font-family: var(--font-display); font-size: 18px; font-weight: 700; color: var(--text); margin: 0 0 16px; letter-spacing: -0.3px; }
h3 { font-size: 15px; font-weight: 600; color: var(--text); margin: 0 0 8px; }
p  { margin: 0 0 12px; }
p:last-child { margin-bottom: 0; }
.muted { color: var(--muted); font-size: 13.5px; }
.text-sec { color: var(--text-sec); }
a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ============================================================ BUTTONS ============================================================ */
.btn, button[type="submit"] {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 9px 20px;
  background: linear-gradient(135deg, var(--gold), #a87d18);
  color: #050505; font-weight: 700; font-size: 13.5px; font-family: var(--font);
  border: none; border-radius: var(--r-sm); cursor: pointer;
  text-decoration: none; white-space: nowrap; transition: var(--trans);
  position: relative; overflow: hidden; letter-spacing: 0.01em;
}
.btn:hover, button[type="submit"]:hover {
  background: linear-gradient(135deg, var(--gold-bright), #c9a227);
  box-shadow: var(--shadow-gold); transform: translateY(-1px);
  text-decoration: none; color: #050505;
}

.btn-sm { padding: 6px 14px; font-size: 12.5px; }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 7px; padding: 8px 16px;
  background: transparent; color: var(--text-sec); font-size: 13.5px; font-weight: 500;
  font-family: var(--font); border: 1px solid var(--border); border-radius: var(--r-sm);
  cursor: pointer; text-decoration: none; transition: var(--trans);
}
.btn-ghost:hover { border-color: var(--border-hi); color: var(--text); background: rgba(255,255,255,0.04); text-decoration: none; }

.btn-danger {
  display: inline-flex; align-items: center; gap: 7px; padding: 8px 16px;
  background: var(--red-dim); color: #f87171; font-size: 13.5px; font-weight: 600;
  font-family: var(--font); border: 1px solid rgba(229,57,53,0.3); border-radius: var(--r-sm);
  cursor: pointer; text-decoration: none; transition: var(--trans);
}
.btn-danger:hover { background: rgba(229,57,53,0.22); color: #ff8a8a; text-decoration: none; }

/* ============================================================ FORMS ============================================================ */
label {
  display: block; font-size: 12px; font-weight: 700; color: var(--text-sec);
  margin-bottom: 6px; letter-spacing: 0.05em; text-transform: uppercase;
}

input[type="text"], input[type="email"], input[type="password"], input[type="number"],
input[type="url"], input[type="tel"], select, textarea {
  display: block; width: 100%; padding: 10px 14px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-sm);
  color: var(--text); font-family: var(--font); font-size: 14px;
  outline: none; transition: var(--trans); margin-bottom: 16px; -webkit-appearance: none;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,162,39,0.1); background: var(--card);
}

textarea { resize: vertical; min-height: 100px; }

select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23555' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
  padding-right: 34px; cursor: pointer;
}

input[type="color"] { padding: 4px; height: 36px; cursor: pointer; width: 44px; margin-bottom: 0; }

/* ============================================================ ALERTS ============================================================ */
.alert { padding: 12px 16px; border-radius: var(--r); margin-bottom: 16px; font-size: 14px; animation: slideDown 0.25s ease; }
.alert-error   { background: var(--red-dim); border: 1px solid rgba(229,57,53,0.3); color: #ff8a8a; }
.alert-success { background: var(--green-dim); border: 1px solid rgba(0,200,116,0.3); color: var(--green); }
.alert-info    { background: var(--gold-dim); border: 1px solid rgba(201,162,39,0.3); color: var(--gold); }

/* ============================================================ TABS ============================================================ */
.admin-tabs, .page-tabs {
  display: flex; gap: 4px; flex-wrap: wrap;
  border-bottom: 1px solid var(--border); margin-bottom: 20px;
}

.tab-link, .btn-tab {
  padding: 9px 16px; font-size: 13.5px; font-weight: 500; color: var(--muted);
  border-radius: var(--r-sm) var(--r-sm) 0 0; text-decoration: none; transition: var(--trans);
  border-bottom: 2px solid transparent; margin-bottom: -1px;
  background: none; border-left: none; border-right: none; border-top: none;
  cursor: pointer; font-family: var(--font);
}
.tab-link:hover, .btn-tab:hover { color: var(--text-sec); text-decoration: none; }
.tab-link.active, .btn-tab.active { color: var(--gold); border-bottom-color: var(--gold); font-weight: 700; }

/* ============================================================ HERO / INDEX ============================================================ */
.hero-section {
  text-align: center; padding: 56px 32px;
  background: radial-gradient(ellipse at 50% 0%, rgba(201,162,39,0.07) 0%, transparent 65%);
  border: 1px solid var(--border); position: relative; overflow: hidden;
}
.hero-section::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.hero-section h1 {
  font-size: 48px; font-weight: 900; letter-spacing: -2px; line-height: 1.05; margin-bottom: 16px;
  background: linear-gradient(135deg, #ffffff 20%, var(--gold-bright) 70%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-section p.muted { font-size: 16px; max-width: 460px; margin: 0 auto 28px; color: var(--text-sec); }

.hero-badges { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin: 24px 0; }
.hero-badge { padding: 5px 14px; background: var(--gold-dim); border: 1px solid rgba(201,162,39,0.3); border-radius: 20px; font-size: 12px; font-weight: 600; color: var(--gold); letter-spacing: 0.04em; }

.hero-stats { display: flex; justify-content: center; gap: 36px; margin-top: 44px; flex-wrap: wrap; }
.hero-stat { text-align: center; }
.hero-stat-number { font-family: var(--font-display); font-size: 32px; font-weight: 900; color: var(--gold); display: block; letter-spacing: -1px; animation: countUp 0.5s ease both; }
.hero-stat-label { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 2px; }

/* ============================================================ STATS GRID ============================================================ */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin-top: 20px; }

.stat-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r);
  padding: 16px 18px; transition: var(--trans); position: relative; overflow: hidden;
  animation: fadeInUp 0.3s ease both;
}
.stat-card:hover { border-color: rgba(201,162,39,0.4); box-shadow: var(--shadow-gold); }
.stat-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--gold), transparent); }
.stat-card-icon { font-size: 20px; margin-bottom: 8px; }
.stat-card-value { font-family: var(--font-display); font-size: 24px; font-weight: 800; color: var(--text); display: block; letter-spacing: -0.5px; }
.stat-card-label { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; margin-top: 3px; }

/* ============================================================ MARKETPLACE ============================================================ */
.experts-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }

.expert-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 20px; display: flex; flex-direction: column; gap: 10px;
  transition: var(--trans); position: relative; overflow: hidden; animation: fadeInUp 0.3s ease both;
}
.expert-card:hover { border-color: rgba(201,162,39,0.35); box-shadow: var(--shadow-gold); transform: translateY(-3px); }
.expert-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--gold), transparent); opacity: 0; transition: opacity 0.3s; }
.expert-card:hover::before { opacity: 1; }
.expert-card-header { display: flex; align-items: center; gap: 12px; }
.expert-card-avatar { width: 50px; height: 50px; border-radius: 50%; background: linear-gradient(135deg, #1a1a1a, #2a2a2a); border: 2px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 900; color: var(--gold); font-family: var(--font-display); flex-shrink: 0; }
.expert-card-name { font-weight: 700; font-size: 16px; color: var(--text); text-decoration: none; display: block; }
.expert-card-name:hover { color: var(--gold); text-decoration: none; }
.expert-card-headline { font-size: 13.5px; color: var(--text-sec); line-height: 1.5; }
.expert-rating { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.expert-stars { color: var(--gold); letter-spacing: 1px; font-size: 12px; }
.expert-card-footer { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--border); }
.expert-tag { padding: 3px 10px; background: var(--faint); border: 1px solid var(--border); border-radius: 20px; font-size: 11.5px; color: var(--text-sec); }

/* ============================================================ OFFERS ============================================================ */
.offers-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }

.offer-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 20px; display: flex; flex-direction: column; gap: 10px;
  transition: var(--trans); animation: fadeInUp 0.3s ease both;
}
.offer-card:hover { border-color: rgba(201,162,39,0.35); box-shadow: var(--shadow-gold); transform: translateY(-3px); }
.offer-card-title { font-weight: 700; font-size: 15px; color: var(--text); margin: 0; }
.offer-card-desc { font-size: 13px; color: var(--text-sec); line-height: 1.5; }
.offer-card-price { font-family: var(--font-display); font-size: 22px; font-weight: 800; color: var(--gold); }
.offer-card-seller { font-size: 12px; color: var(--muted); }
.offer-card-footer { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--border); }

/* ============================================================ PAGER ============================================================ */
.pager { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 24px; font-size: 14px; }
.pager a { padding: 7px 16px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-sm); color: var(--text-sec); font-weight: 500; text-decoration: none; }
.pager a:hover { border-color: var(--gold); color: var(--gold); }

/* ============================================================ FORUM ============================================================ */
.forum-hero { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.forum-hero h1 { margin: 0; }
.forum-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.forum-section-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 20px 22px; display: flex; flex-direction: column; gap: 6px; transition: var(--trans); animation: fadeInUp 0.3s ease both; text-decoration: none; }
.forum-section-card:hover { border-color: rgba(201,162,39,0.35); box-shadow: var(--shadow-gold); transform: translateY(-2px); text-decoration: none; }
.forum-section-card h3 { color: var(--text); transition: color 0.2s; margin: 0; }
.forum-section-card:hover h3 { color: var(--gold); }
.topic-meta { font-size: 12.5px; color: var(--muted); }

/* ============================================================ CHAT ============================================================ */
.chat-list { display: flex; flex-direction: column; gap: 8px; }
.chat-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); transition: var(--trans); text-decoration: none; }
.chat-row:hover { border-color: var(--border-hi); text-decoration: none; }
.chat-window { display: flex; flex-direction: column; gap: 12px; padding: 16px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); max-height: 500px; overflow-y: auto; }
.chat-bubble { max-width: 72%; background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 10px 14px; animation: fadeIn 0.2s ease; }
.chat-bubble.me { align-self: flex-end; background: rgba(201,162,39,0.08); border-color: rgba(201,162,39,0.2); }
.chat-bubble.them { align-self: flex-start; }
.chat-bubble p { margin: 0; }
.chat-meta { font-size: 11px; color: var(--muted); margin-bottom: 4px; }

/* ============================================================ PROFILE ============================================================ */
.profile-head { display: grid; grid-template-columns: 120px 1fr; gap: 28px; align-items: start; }
.profile-avatar-wrap { position: relative; width: 120px; }
.profile-avatar { width: 120px; height: 120px; border-radius: 50%; border: 3px solid var(--border); object-fit: cover; background: var(--faint); display: flex; align-items: center; justify-content: center; font-size: 42px; font-weight: 900; color: var(--gold); font-family: var(--font-display); overflow: hidden; }
.profile-name { font-size: 24px; font-weight: 800; letter-spacing: -0.5px; margin-bottom: 4px; }
.status-pill { display: inline-flex; align-items: center; gap: 5px; padding: 3px 12px; border-radius: 20px; font-size: 12px; font-weight: 600; border: 1px solid; letter-spacing: 0.03em; }
.status-pill-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 10px; }

/* ============================================================ ADMIN ============================================================ */
.admin-hero { margin-bottom: 0; }
.admin-hero h1 { margin: 0 0 6px; }
.admin-grid-form { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; align-items: end; }
.admin-grid-form > div { display: flex; flex-direction: column; }
.admin-grid-form label { margin-bottom: 5px; }
.admin-grid-form input, .admin-grid-form select { margin-bottom: 0; }
.admin-inline-form { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.admin-user-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); flex-wrap: wrap; transition: var(--trans); }
.admin-user-row:hover { border-color: var(--border-hi); }
.admin-user-info { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.admin-badge { padding: 2px 10px; border-radius: 20px; font-size: 11px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; white-space: nowrap; }
.role-superadmin { background: rgba(201,162,39,.18); color: var(--gold); border: 1px solid rgba(201,162,39,.3); }
.role-admin      { background: rgba(249,115,22,.18); color: #fb923c; border: 1px solid rgba(249,115,22,.3); }
.role-moderator  { background: var(--blue-dim); color: #60a5fa; border: 1px solid rgba(79,142,247,.3); }
.role-verified   { background: var(--green-dim); color: var(--green); border: 1px solid rgba(0,200,116,.3); }
.role-guarantor  { background: rgba(168,85,247,.18); color: #c084fc; border: 1px solid rgba(168,85,247,.3); }
.role-registered { background: rgba(100,116,139,.1); color: #94a3b8; border: 1px solid var(--border); }
.log-row { padding: 10px 14px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-sm); font-size: 13px; transition: var(--trans); }
.log-row:hover { border-color: var(--border-hi); }
.moderation-item { padding: 14px 18px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); display: flex; align-items: flex-start; gap: 14px; flex-wrap: wrap; transition: var(--trans); }
.moderation-item:hover { border-color: var(--border-hi); }
.moderation-item-content { flex: 1 1 200px; }
.ad-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.ad-admin-card { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: start; padding: 14px 18px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); }
.status-creator { display: flex; flex-direction: column; gap: 2px; }
.color-input-row { display: flex; gap: 8px; align-items: center; margin-bottom: 14px; }
.color-input-row input[type="text"] { margin-bottom: 0; flex: 1; }
.status-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; }
.status-gif { max-height: 32px; border-radius: 4px; }
.status-preview-box { padding: 12px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-sm); margin: 10px 0; display: flex; align-items: center; gap: 10px; }

.admin-sections-panel {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.admin-sections-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  flex-wrap: wrap;
}

.admin-sections-kpis {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.admin-sections-toolbar {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
}

.admin-sections-toolbar input {
  margin-bottom: 0;
}

.admin-sections-toolbar-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.admin-create-section {
  border: 1px solid var(--border);
  border-radius: var(--r);
  background: var(--surface);
  padding: 12px 14px;
}

.admin-create-section summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--text);
}

.admin-create-grid {
  margin-top: 12px;
}

.admin-create-submit {
  display: flex;
  align-items: flex-end;
}

.admin-create-visibility {
  justify-content: center;
}

.admin-sections-tree {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.admin-section-card {
  border: 1px solid var(--border);
  border-radius: var(--r);
  background: var(--surface);
  overflow: hidden;
}

.admin-section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255,255,255,.05);
  flex-wrap: wrap;
}

.admin-section-title {
  font-size: 15px;
  margin-right: 8px;
}

.admin-section-meta {
  font-size: 12px;
  margin-top: 4px;
}

.admin-section-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.admin-subsection-list {
  display: flex;
  flex-direction: column;
}

.admin-subsection-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  padding: 10px 14px 10px 28px;
  border-top: 1px solid rgba(255,255,255,.05);
}

.admin-subsection-title {
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
}

.admin-subsection-title:hover {
  color: var(--gold);
}

.admin-section-edit {
  background: var(--faint);
  border-top: 1px solid var(--border);
  padding: 12px 14px;
}

.admin-grid-compact {
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
}

.admin-section-edit-sub {
  padding-left: 28px;
}

.admin-section-edit-actions {
  margin-top: 10px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.admin-empty-subsections {
  font-size: 12px;
  padding: 10px 14px 12px 28px;
  border-top: 1px solid rgba(255,255,255,.05);
}

/* Escrow admin deal rows */
.escrow-admin-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; padding: 12px 16px; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--r); flex-wrap: wrap; transition: var(--trans);
}
.escrow-admin-row:hover { border-color: var(--border-hi); }
.escrow-admin-row a { font-weight: 600; color: var(--text); }
.escrow-admin-row a:hover { color: var(--gold); }

/* ============================================================ ESCROW SYSTEM ============================================================ */
.escrow-hero { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; background: radial-gradient(ellipse at 0% 50%, rgba(201,162,39,0.05) 0%, transparent 60%); }
.escrow-hero h1 { margin: 0; }

.escrow-status-badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 12px; border-radius: 20px; font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; white-space: nowrap; }
.escrow-status-badge::before { content: '●'; font-size: 7px; }
.status-created   { background: rgba(100,116,139,.12); color: #94a3b8; border: 1px solid rgba(100,116,139,.2); }
.status-accepted  { background: var(--blue-dim); color: #60a5fa; border: 1px solid rgba(79,142,247,.25); }
.status-paid      { background: var(--gold-dim); color: var(--gold); border: 1px solid rgba(201,162,39,.25); }
.status-delivered { background: rgba(168,85,247,.12); color: #c084fc; border: 1px solid rgba(168,85,247,.25); }
.status-completed { background: var(--green-dim); color: var(--green); border: 1px solid rgba(0,200,116,.3); }
.status-disputed  { background: var(--red-dim); color: #f87171; border: 1px solid rgba(229,57,53,.3); }
.status-cancelled { background: rgba(100,116,139,.08); color: #555; border: 1px solid var(--border); }
.status-refunded  { background: var(--blue-dim); color: #93c5fd; border: 1px solid rgba(79,142,247,.2); }

.escrow-row { transition: var(--trans); }
.escrow-row-main { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.escrow-row-title { font-weight: 600; font-size: 15px; color: var(--text); transition: color 0.2s; }
.escrow-row-title:hover { color: var(--gold); }
.escrow-row-meta { display: flex; gap: 14px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }

.escrow-deal-header { display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 14px; }
.escrow-deal-header h1 { margin: 0 0 8px; }
.escrow-deal-amount { text-align: right; }
.escrow-amount-big { font-family: var(--font-display); font-size: 32px; font-weight: 900; color: var(--gold); display: block; letter-spacing: -1px; }
.escrow-deal-grid { display: grid; grid-template-columns: 1fr 380px; gap: 18px; align-items: start; }
.escrow-parties { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding: 14px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); }
.escrow-party { display: flex; flex-direction: column; gap: 3px; }
.escrow-party-role { font-size: 10.5px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; }
.escrow-party-name { font-weight: 700; font-size: 15px; color: var(--text); }
.escrow-party-you { font-size: 11px; color: var(--gold); font-weight: 700; }
.escrow-party-arrow { font-size: 20px; color: var(--border-hi); }

.escrow-steps { display: flex; align-items: center; padding: 8px 0 12px; overflow-x: auto; }
.escrow-step { display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 68px; text-align: center; }
.escrow-step-dot { width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; background: var(--card); border: 2px solid var(--border); color: var(--muted); transition: all 0.3s ease; }
.escrow-step.done .escrow-step-dot { background: linear-gradient(135deg, var(--gold), #a87d18); border-color: var(--gold); color: #050505; }
.escrow-step.current .escrow-step-dot { border-color: var(--gold); color: var(--gold); box-shadow: 0 0 14px rgba(201,162,39,0.4); animation: goldPulse 2s ease-in-out infinite; }
.escrow-step-label { font-size: 11px; color: var(--muted); max-width: 66px; line-height: 1.3; }
.escrow-step.done .escrow-step-label { color: var(--text-sec); }
.escrow-step.current .escrow-step-label { color: var(--gold); font-weight: 600; }
.escrow-step-line { flex: 1; height: 2px; background: var(--border); min-width: 16px; transition: background 0.3s; }
.escrow-step-line.done { background: var(--gold); }

.escrow-disputed-banner { margin-top: 12px; padding: 12px 16px; background: var(--red-dim); border: 1px solid rgba(229,57,53,.3); border-radius: var(--r); color: #f87171; font-weight: 500; }
.escrow-cancelled-banner { margin-top: 12px; padding: 12px 16px; background: var(--faint); border: 1px solid var(--border); border-radius: var(--r); color: var(--muted); }
.escrow-dispute-card { border-left: 3px solid var(--red); }

.escrow-chat-window { background: var(--bg); border: 1px solid var(--border); border-radius: var(--r); padding: 16px; max-height: 440px; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; }
.escrow-system-msg { text-align: center; font-size: 12px; color: var(--muted); padding: 5px 12px; background: rgba(255,255,255,.02); border-radius: var(--r-sm); border: 1px solid var(--border); }
.escrow-chat-bubble { max-width: 85%; display: flex; flex-direction: column; gap: 4px; animation: fadeIn 0.2s ease; }
.escrow-chat-bubble.me { align-self: flex-end; }
.escrow-chat-bubble.them { align-self: flex-start; }
.escrow-chat-bubble p { margin: 0; padding: 10px 14px; border-radius: 10px; font-size: 14px; white-space: pre-wrap; word-break: break-word; background: var(--surface); border: 1px solid var(--border); }
.escrow-chat-bubble.me p { background: rgba(201,162,39,0.08); border-color: rgba(201,162,39,0.2); }
.escrow-chat-meta { display: flex; gap: 8px; align-items: baseline; font-size: 12px; color: var(--muted); }
.escrow-chat-bubble.me .escrow-chat-meta { justify-content: flex-end; }
.escrow-amount-row { display: grid; grid-template-columns: 1fr 150px; gap: 14px; }
.escrow-notice { background: rgba(201,162,39,.05); border: 1px solid rgba(201,162,39,.18); border-radius: var(--r); padding: 16px 20px; margin: 14px 0; }
.escrow-notice strong { color: var(--gold); }
.escrow-notice ol { margin: 10px 0 0 20px; color: var(--text-sec); font-size: 13.5px; }
.escrow-notice li { margin-bottom: 6px; }

.service-pick-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); padding: 16px; cursor: pointer; transition: var(--trans); position: relative; }
.service-pick-card:hover { border-color: var(--gold); box-shadow: var(--shadow-gold); transform: translateY(-2px); }
.service-pick-card.selected { border-color: var(--gold); background: var(--gold-dim); }
.service-picker-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; margin: 12px 0; }
.service-price { font-size: 17px; font-weight: 700; color: var(--gold); margin-top: 8px; }

/* ============================================================ MISC ============================================================ */
hr { border: none; border-top: 1px solid var(--border); margin: 20px 0; }
.badge { display: inline-flex; align-items: center; padding: 2px 9px; border-radius: 20px; font-size: 11.5px; font-weight: 600; }
.badge-gold  { background: var(--gold-dim); color: var(--gold); border: 1px solid rgba(201,162,39,.2); }
.badge-green { background: var(--green-dim); color: var(--green); border: 1px solid rgba(0,200,116,.2); }
.badge-red   { background: var(--red-dim); color: #f87171; border: 1px solid rgba(229,57,53,.2); }
.badge-blue  { background: var(--blue-dim); color: var(--blue); border: 1px solid rgba(79,142,247,.2); }
.badge-gray  { background: rgba(100,116,139,.1); color: #94a3b8; border: 1px solid var(--border); }
.notification-item { padding: 14px 18px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); display: flex; align-items: flex-start; gap: 12px; transition: var(--trans); }
.notification-item.unread { border-left: 3px solid var(--gold); }
.notification-item:hover { border-color: var(--border-hi); }
.notification-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); margin-top: 5px; flex-shrink: 0; animation: goldPulse 2s ease infinite; }
.error-page { text-align: center; padding: 60px 20px; }
.error-page h1 { font-size: 72px; color: var(--gold); margin-bottom: 8px; -webkit-text-fill-color: unset; }

/* ============================================================ RESPONSIVE ============================================================ */
@media (max-width: 900px) {
  .escrow-deal-grid { grid-template-columns: 1fr; }
  .escrow-deal-amount { text-align: left; }
}

@media (max-width: 700px) {
  .nav { display: none; position: absolute; top: 64px; left: 0; right: 0; background: rgba(5,5,5,0.97); border-bottom: 1px solid var(--border); flex-direction: column; align-items: stretch; padding: 12px; gap: 2px; backdrop-filter: blur(20px); z-index: 100; animation: slideDown 0.2s ease; }
  .nav.nav-open { display: flex; }
  .nav-link { width: 100%; padding: 10px 14px; }
  .nav-divider { width: 100%; height: 1px; margin: 4px 0; }
  .nav-burger { display: flex; }
  .forum-grid { grid-template-columns: 1fr; }
  .hero-section h1 { font-size: 30px; }
  .hero-section { padding: 36px 20px; }
  .profile-head { grid-template-columns: 1fr; }
  .admin-grid-form { grid-template-columns: 1fr; }
  .experts-grid { grid-template-columns: 1fr; }
  .escrow-amount-big { font-size: 24px; }
  .chat-row { flex-direction: column; align-items: flex-start; }
  .chat-bubble { max-width: 100%; }

  .admin-sections-toolbar {
    grid-template-columns: 1fr;
  }

  .admin-sections-toolbar-actions {
    width: 100%;
  }

  .admin-sections-toolbar-actions .btn-ghost {
    flex: 1;
  }

  .admin-section-header,
  .admin-subsection-row {
    padding: 12px;
  }

  .admin-subsection-row {
    padding-left: 18px;
  }

  .admin-section-actions {
    width: 100%;
  }

  .admin-section-actions .btn-ghost,
  .admin-section-actions .btn,
  .admin-section-actions .btn-danger {
    flex: 1;
    text-align: center;
  }

  .admin-section-edit-sub {
    padding-left: 12px;
  }

  body {
    padding-bottom: calc(70px + env(safe-area-inset-bottom));
  }

  .topic-row {
    padding: 12px 0;
    gap: 8px;
  }

  .topic-row-title {
    white-space: normal;
    line-height: 1.35;
    font-size: 0.98rem;
  }

  .forum-section-row {
    align-items: flex-start;
  }

  .forum-section-title {
    font-size: 1rem;
    line-height: 1.35;
  }

  .forum-quick-search {
    flex-direction: column;
    align-items: stretch;
  }

  .forum-quick-search .btn,
  .forum-quick-search button {
    width: 100%;
    min-height: 42px;
  }

  .forum-hero-actions,
  .forum-topic-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .forum-topic-actions form,
  .forum-topic-actions form button,
  .forum-topic-actions a,
  .forum-hero-actions a,
  .forum-hero-actions button {
    width: 100%;
  }

  .mobile-fab {
    position: fixed;
    right: 14px;
    bottom: calc(76px + env(safe-area-inset-bottom));
    z-index: 180;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 16px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--gold), #a87d18);
    color: #050505;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(0,0,0,0.45);
  }

  .mobile-dock {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 190;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
    background: rgba(5, 5, 5, 0.96);
    border-top: 1px solid var(--border);
    backdrop-filter: blur(12px);
  }

  .mobile-dock-link {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: var(--text);
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    background: rgba(255,255,255,0.03);
  }

  .mobile-dock-link:active,
  .mobile-dock-link:hover {
    background: var(--gold-dim);
    color: var(--gold);
    text-decoration: none;
  }
}

@media (max-width: 480px) {
  .card { padding: 16px 18px; }
  h1 { font-size: 22px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .escrow-steps { flex-wrap: wrap; gap: 6px; }
  .escrow-step-line { display: none; }
  .ad-admin-card { grid-template-columns: 1fr; }
}

/* ============================================================ MARKETPLACE SEARCH ============================================================ */
.marketplace-hero-card { padding-bottom: 20px; }

.market-filter-bar {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding-top: 18px; margin-top: 16px;
  border-top: 1px solid var(--border);
}

.market-search-wrap {
  position: relative; flex: 1; min-width: 200px;
  display: flex; align-items: center;
}
.market-search-icon {
  position: absolute; left: 12px; font-size: 14px; pointer-events: none; z-index: 1;
}
.market-search-input {
  padding-left: 36px !important; padding-right: 36px !important;
  margin-bottom: 0 !important;
}
.market-search-clear {
  position: absolute; right: 12px; color: var(--muted); font-size: 13px;
  cursor: pointer; padding: 2px 4px; border-radius: 4px; transition: var(--trans);
}
.market-search-clear:hover { color: var(--text); text-decoration: none; }

.market-filter-chips {
  display: flex; gap: 6px; flex-wrap: wrap; align-items: center;
}

.filter-chip {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 7px 14px; border: 1px solid var(--border); border-radius: 20px;
  font-size: 12.5px; font-weight: 600; color: var(--muted);
  cursor: pointer; transition: var(--trans); user-select: none;
  background: transparent; white-space: nowrap;
}
.filter-chip:hover { border-color: var(--border-hi); color: var(--text); }
.filter-chip.active {
  border-color: var(--gold); color: var(--gold);
  background: var(--gold-dim);
}

.market-sort-wrap { display: flex; align-items: center; }

/* ============================================================ ANALYTICS TAB ============================================================ */
.analytics-chart-box {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r); padding: 18px 20px;
  transition: var(--trans);
}
.analytics-chart-box:hover { border-color: var(--border-hi); }
.analytics-chart-title {
  font-size: 13px; font-weight: 700; color: var(--text-sec);
  margin-bottom: 14px; letter-spacing: 0.03em;
}

@media (max-width: 780px) {
  .analytics-charts-grid { grid-template-columns: 1fr !important; }
  .market-filter-bar { flex-direction: column; align-items: stretch; }
  .market-search-wrap { min-width: 0; }
}

/* ===== INDEX PAGE ===== */
.hero-eyebrow {
  font-size: .75rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: .7;
  margin-bottom: 8px;
}
.hero-tagline {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 22px;
  line-height: 1.6;
}
.hero-cta-row {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 30px;
}
.btn-lg { padding: 12px 28px; font-size: 1rem; }

.index-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 22px;
  align-items: start;
}
@media (max-width: 900px) {
  .index-grid { grid-template-columns: 1fr; }
}

.section-heading {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
  margin: 0 0 14px;
  letter-spacing: .02em;
}
.index-about p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 14px;
}
.about-points { display: flex; flex-direction: column; gap: 14px; margin-top: 4px; }
.about-point {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.about-point-icon { font-size: 1.4rem; flex-shrink: 0; margin-top: 2px; }
.about-point strong { display: block; color: var(--text); margin-bottom: 2px; }
.about-point span { font-size: .88rem; color: var(--text-muted); line-height: 1.5; }

.index-sidebar { display: flex; flex-direction: column; gap: 18px; }
.sidebar-card { padding: 18px 20px; }
.sidebar-heading {
  font-size: .95rem;
  font-weight: 700;
  color: var(--gold);
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.sidebar-more {
  display: block;
  margin-top: 10px;
  font-size: .85rem;
  color: var(--gold);
  opacity: .8;
  text-decoration: none;
}
.sidebar-more:hover { opacity: 1; }

.deal-feed { display: flex; flex-direction: column; gap: 10px; }
.deal-feed-item {
  border-left: 2px solid var(--border);
  padding-left: 10px;
}
.deal-feed-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
}
.deal-feed-title { font-size: .9rem; color: var(--text); }
.deal-feed-amount { font-weight: 700; font-size: .9rem; color: var(--gold); white-space: nowrap; }
.deal-feed-cur { font-size: .75rem; opacity: .7; }
.deal-feed-meta {
  display: flex;
  justify-content: space-between;
  margin-top: 2px;
  font-size: .78rem;
  color: var(--text-muted);
}
.deal-feed-status { font-weight: 600; }
.feed-status-ok { color: #4ade80; }
.feed-status-warn { color: #facc15; }
.feed-status-bad { color: #f87171; }

.topic-feed { display: flex; flex-direction: column; gap: 9px; }
.topic-feed-item { padding-bottom: 9px; border-bottom: 1px solid var(--border); }
.topic-feed-item:last-child { border-bottom: none; padding-bottom: 0; }
.topic-feed-title {
  display: block;
  font-size: .9rem;
  color: var(--text);
  text-decoration: none;
  line-height: 1.4;
  margin-bottom: 3px;
}
.topic-feed-title:hover { color: var(--gold); }
.topic-feed-meta { font-size: .75rem; color: var(--text-muted); }
.dot-sep { margin: 0 4px; opacity: .4; }

.how-list {
  padding-left: 20px;
  color: var(--text-muted);
  font-size: .88rem;
  line-height: 1.7;
  margin: 0;
}
.how-list li { margin-bottom: 6px; }

/* ===== FORUM FEED ===== */
.feed-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.feed-header h2 { margin: 0; }
.btn-sm { padding: 6px 14px; font-size: .82rem; }

.topic-list { display: flex; flex-direction: column; }
.topic-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.topic-row:last-child { border-bottom: none; }
.topic-row-main { flex: 1; min-width: 0; }
.topic-row-title {
  display: block;
  font-size: .95rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.topic-row-title:hover { color: var(--gold); }
.topic-row-meta {
  font-size: .78rem;
  color: var(--text-muted);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px;
}
.topic-row-section {
  background: rgba(212,175,55,.1);
  color: var(--gold);
  border-radius: 4px;
  padding: 1px 6px;
  font-size: .72rem;
}
.topic-row-time {
  font-size: .75rem;
  color: var(--text-muted);
  white-space: nowrap;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ===== VERIFICATION PAGE ===== */
.verification-hero {
  text-align: center;
  padding: 40px 24px;
}
.verif-badge-wrap {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(212,175,55,.15);
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  font-size: 1.8rem;
  color: var(--gold);
}
.verif-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 22px;
  align-items: start;
}
@media (max-width: 860px) {
  .verif-grid { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .forum-quick-search input {
    min-width: 100%;
  }
}
.verif-section { margin-bottom: 0; }
.verif-heading {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold);
  margin: 0 0 14px;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.verif-intro {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: .93rem;
}
.verif-list {
  padding-left: 18px;
  color: var(--text-muted);
  font-size: .92rem;
  line-height: 1.8;
  margin: 0;
}
.verif-list li { margin-bottom: 6px; }
.verif-list li strong { color: var(--text); }
.badge-verified {
  display: inline-block;
  background: rgba(212,175,55,.15);
  color: var(--gold);
  border: 1px solid rgba(212,175,55,.4);
  border-radius: 4px;
  padding: 1px 8px;
  font-size: .82rem;
  font-weight: 600;
}

/* Verification checkmark badge in profile headers */
.verified-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gold);
  color: #0b0d14;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  margin-left: 8px;
  vertical-align: middle;
  cursor: default;
  position: relative;
  flex-shrink: 0;
}
.verified-check::after {
  content: attr(data-tip);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: #1a1d2e;
  color: var(--gold);
  border: 1px solid rgba(212,175,55,.4);
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity .15s;
  z-index: 100;
}
.verified-check:hover::after {
  opacity: 1;
}

/* Already-verified banner on /verification page */
.verif-already-banner {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(212,175,55,.08);
  border: 1px solid rgba(212,175,55,.35);
  border-radius: 10px;
  padding: 16px 22px;
  margin-bottom: 24px;
  color: var(--gold);
  font-weight: 600;
  font-size: 1rem;
}
.verif-already-banner .verif-already-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--gold);
  color: #0b0d14;
  font-size: 20px;
  font-weight: 900;
  flex-shrink: 0;
}
.verif-already-banner span {
  color: var(--text);
  font-weight: 400;
  font-size: .9rem;
  display: block;
  margin-top: 2px;
}

.score-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 600px) {
  .score-grid { grid-template-columns: 1fr; }
}
.score-card {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 14px;
  transition: border-color .2s;
}
.score-card:hover { border-color: rgba(212,175,55,.4); }
.score-card-gold { border-color: rgba(212,175,55,.3); background: rgba(212,175,55,.05); }
.score-val {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  flex-shrink: 0;
  min-width: 32px;
}
.score-desc {
  font-size: .86rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.score-desc strong { color: var(--text); }
.score-note {
  font-size: .78rem;
  opacity: .7;
  display: block;
  margin-top: 3px;
}

.perks-list { display: flex; flex-direction: column; gap: 12px; }
.perk-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 10px 12px;
  background: rgba(255,255,255,.02);
  border-radius: 6px;
  border: 1px solid var(--border);
}
.perk-icon { font-size: 1.2rem; flex-shrink: 0; margin-top: 1px; }
.perk-item strong { display: block; color: var(--text); margin-bottom: 2px; font-size: .92rem; }
.perk-item span { font-size: .82rem; color: var(--text-muted); }

.verif-warning { border-left: 3px solid rgba(248,113,113,.5); }
.verif-warning .verif-heading { color: #f87171; }

.verif-sidebar { display: flex; flex-direction: column; gap: 18px; }

/* ── QUILL RICH TEXT EDITOR ── */
.ql-toolbar.ql-snow {
  background: #1a1a1a;
  border: 1px solid var(--border);
  border-radius: 8px 8px 0 0;
}
.ql-container.ql-snow {
  background: #0e0e0e;
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 8px 8px;
  color: var(--text);
  font-size: 15px;
  min-height: 130px;
}
.ql-editor { min-height: 130px; font-family: inherit; line-height: 1.6; }
.ql-editor p { margin: 0 0 6px; }
.ql-editor.ql-blank::before { color: var(--text-muted); font-style: normal; }
.ql-snow .ql-stroke { stroke: #999; }
.ql-snow .ql-fill { fill: #999; }
.ql-snow .ql-picker { color: #999; }
.ql-snow .ql-picker-options { background: #1a1a1a; border-color: var(--border); color: var(--text); }
.ql-snow .ql-picker-item:hover, .ql-snow .ql-picker-item.ql-selected { color: var(--accent); }
.ql-snow .ql-toolbar button:hover .ql-stroke,
.ql-snow .ql-toolbar button.ql-active .ql-stroke { stroke: var(--accent); }
.ql-snow .ql-toolbar button:hover .ql-fill,
.ql-snow .ql-toolbar button.ql-active .ql-fill { fill: var(--accent); }
.ql-snow .ql-toolbar button:hover,
.ql-snow .ql-toolbar button.ql-active { color: var(--accent); }
.ql-snow a { color: var(--accent); }
.ql-editor blockquote {
  border-left: 3px solid var(--accent);
  padding-left: 12px;
  color: var(--text-muted);
  margin: 8px 0;
}
.ql-editor pre.ql-syntax {
  background: #0a0a0a;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 10px 14px;
  font-size: 13px;
  color: #d4a846;
}
.post-html-content { line-height: 1.65; }
.post-html-content p { margin: 0 0 8px; }
.post-html-content ul, .post-html-content ol { padding-left: 24px; margin-bottom: 8px; }
.post-html-content blockquote {
  border-left: 3px solid var(--accent);
  padding-left: 12px;
  color: var(--text-muted);
  margin: 8px 0;
}
.post-html-content pre {
  background: #0a0a0a;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 10px 14px;
  font-size: 13px;
  overflow-x: auto;
}
.post-html-content a { color: var(--accent); }
.post-html-content strong { color: var(--text); }

/* ── EMOJI PICKER ── */
.editor-footer { display: flex; align-items: center; gap: 8px; margin-top: 6px; position: relative; }
.emoji-toggle-btn {
  background: #1a1a1a;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: #aaa;
  padding: 3px 10px;
  cursor: pointer;
  font-size: 18px;
  line-height: 1.4;
  transition: border-color .2s;
}
.emoji-toggle-btn:hover { border-color: var(--accent); }
.emoji-panel {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  background: #1a1a1a;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px;
  width: 310px;
  max-height: 240px;
  overflow-y: auto;
  z-index: 200;
  box-shadow: 0 8px 32px rgba(0,0,0,.6);
}
.emoji-panel.open { display: block; }
.emoji-cat-label { font-size: 10px; color: var(--text-muted); text-transform: uppercase; letter-spacing: .05em; margin: 6px 0 3px; }
.emoji-grid { display: flex; flex-wrap: wrap; gap: 1px; }
.emoji-btn {
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  padding: 3px 4px;
  border-radius: 5px;
  line-height: 1;
  transition: background .15s;
}
.emoji-btn:hover { background: #2a2a2a; }

/* ── FORUM HIERARCHY ── */
.forum-category {
  margin-bottom: 28px;
  border: 1px solid var(--border);
  border-radius: var(--r, 10px);
  overflow: hidden;
}
.forum-cat-header {
  background: rgba(255,255,255,.03);
  border-bottom: 1px solid var(--border);
  padding: 14px 20px 12px;
}
.forum-cat-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--text);
  text-transform: uppercase;
}
.forum-cat-link { color: var(--text); text-decoration: none; }
.forum-cat-link:hover { color: var(--accent); }
.forum-cat-desc { margin: 3px 0 0; font-size: .82rem; }
.forum-section-list { display: flex; flex-direction: column; }
.forum-section-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 20px;
  border-bottom: 1px solid rgba(255,255,255,.04);
  transition: background .15s;
}
.forum-section-row:last-child { border-bottom: none; }
.forum-section-row:hover { background: rgba(255,255,255,.02); }
.forum-section-icon { font-size: 1.3rem; flex-shrink: 0; opacity: .7; }
.forum-section-info { flex: 1; min-width: 0; }
.forum-section-title {
  font-weight: 600;
  font-size: .95rem;
  color: var(--text);
  text-decoration: none;
  display: block;
}
.forum-section-title:hover { color: var(--accent); }
.forum-section-desc { margin: 2px 0 0; font-size: .8rem; line-height: 1.4; }
.forum-section-stats {
  display: flex;
  gap: 20px;
  flex-shrink: 0;
  text-align: center;
  font-size: .85rem;
}
.forum-stat { display: flex; flex-direction: column; align-items: center; gap: 0; }
@media (max-width: 600px) {
  .forum-section-stats { display: none; }
  .forum-section-row { gap: 10px; padding: 11px 14px; }
}

/* ============================================================
   UX UPGRADE — Nav dropdown, Marketplace, Escrow, Forum
   ============================================================ */

/* ── Nav active state ────────────────────────────────────── */
.nav-link.active {
  color: var(--gold) !important;
  background: var(--gold-dim) !important;
}
.nav-icon { font-size: 13px; }

/* ── Nav dropdown (user menu) ────────────────────────────── */
.nav-user-menu { position: relative; }
.nav-user { cursor: pointer; font-family: var(--font); gap: 7px; border: none; background: none; }
.nav-chevron { font-size: 10px; color: var(--muted); transition: transform 0.2s; }
.nav-user-menu.open .nav-chevron { transform: rotate(180deg); }

.nav-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 200px;
  background: rgba(13,13,13,0.98);
  border: 1px solid var(--border-hi);
  border-radius: var(--r);
  box-shadow: 0 16px 48px rgba(0,0,0,0.7);
  backdrop-filter: blur(20px);
  z-index: 300;
  animation: slideDown 0.15s ease;
  overflow: hidden;
}
.nav-user-menu.open .nav-dropdown { display: block; }

.nav-drop-item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 16px;
  font-size: 13.5px;
  color: var(--text-sec);
  text-decoration: none;
  transition: var(--trans);
  white-space: nowrap;
}
.nav-drop-item:hover { background: rgba(255,255,255,0.05); color: var(--text); text-decoration: none; }
.nav-drop-danger { color: #f87171; }
.nav-drop-danger:hover { background: var(--red-dim); color: #ff8a8a; }
.nav-drop-divider { height: 1px; background: var(--border); margin: 4px 0; }

/* ── Marketplace v2 ──────────────────────────────────────── */
.mkt-hero {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 28px;
  align-items: start;
  background: radial-gradient(ellipse at 0% 50%, rgba(201,162,39,0.07) 0%, transparent 60%);
}
.mkt-hero-eyebrow {
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold); opacity: 0.7; margin-bottom: 8px;
}
.mkt-hero-title { font-size: 28px; margin-bottom: 6px; }
.mkt-hero-sub { color: var(--text-sec); font-size: 14px; margin-bottom: 16px; }

.mkt-search-form { display: flex; gap: 10px; align-items: center; }
.mkt-search-box {
  position: relative; flex: 1; display: flex; align-items: center;
}
.mkt-search-ico { position: absolute; left: 11px; width: 16px; height: 16px; pointer-events: none; }
.mkt-search-input {
  flex: 1; padding-left: 36px !important; padding-right: 36px !important; margin-bottom: 0 !important;
}
.mkt-search-clear {
  position: absolute; right: 12px; color: var(--muted); font-size: 13px;
  cursor: pointer; padding: 2px 4px; border-radius: 4px; transition: var(--trans);
}
.mkt-search-clear:hover { color: var(--text); text-decoration: none; }

.mkt-hero-right {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 20px; background: var(--faint); border: 1px solid var(--border);
  border-radius: var(--r); text-align: center;
}
.mkt-hero-stat { display: flex; flex-direction: column; align-items: center; }
.mkt-hero-num { font-family: var(--font-display); font-size: 26px; font-weight: 900; color: var(--gold); }
.mkt-hero-lbl { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.mkt-hero-stat-sep { width: 32px; height: 1px; background: var(--border); margin: 4px 0; }

.mkt-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 18px;
  align-items: start;
}

.mkt-sidebar {
  padding: 18px 16px;
  position: sticky;
  top: 80px;
}
.mkt-sidebar-section { margin-bottom: 20px; }
.mkt-sidebar-section:last-child { margin-bottom: 0; }
.mkt-sidebar-title {
  font-size: 10.5px; font-weight: 800; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 10px;
}

.mkt-radio-group { display: flex; flex-direction: column; gap: 4px; }
.mkt-radio {
  display: flex; align-items: center; gap: 8px;
  padding: 7px 10px; border-radius: var(--r-sm);
  font-size: 13px; color: var(--text-sec);
  cursor: pointer; transition: var(--trans);
}
.mkt-radio input { display: none; }
.mkt-radio:hover { background: rgba(255,255,255,0.04); color: var(--text); }
.mkt-radio.active { background: var(--gold-dim); color: var(--gold); font-weight: 600; }

.mkt-checkbox {
  display: flex; align-items: center; gap: 9px;
  padding: 7px 10px; border-radius: var(--r-sm);
  font-size: 13px; color: var(--text-sec);
  cursor: pointer; transition: var(--trans); margin-bottom: 4px;
}
.mkt-checkbox input { display: none; }
.mkt-checkbox-box {
  width: 16px; height: 16px; border: 1.5px solid var(--border); border-radius: 4px;
  background: var(--surface); flex-shrink: 0; transition: var(--trans);
  display: flex; align-items: center; justify-content: center;
}
.mkt-checkbox:hover { background: rgba(255,255,255,0.04); color: var(--text); }
.mkt-checkbox.active .mkt-checkbox-box {
  background: var(--gold); border-color: var(--gold);
}
.mkt-checkbox.active .mkt-checkbox-box::after {
  content: '✓'; font-size: 10px; font-weight: 900; color: #050505;
}
.mkt-checkbox.active { color: var(--gold); font-weight: 600; }

.mkt-results-bar {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 14px; flex-wrap: wrap; gap: 8px;
}

.mkt-empty {
  text-align: center; padding: 60px 20px;
}
.mkt-empty-icon { font-size: 44px; margin-bottom: 14px; }
.mkt-empty-title { font-size: 18px; font-weight: 700; margin-bottom: 6px; }

/* Expert card v2 */
.expert-card-v2 {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 20px; display: flex; flex-direction: column; gap: 12px;
  transition: var(--trans); position: relative; overflow: hidden;
  animation: fadeInUp 0.3s ease both;
}
.expert-card-v2:hover {
  border-color: rgba(201,162,39,0.4); box-shadow: var(--shadow-gold); transform: translateY(-3px);
}
.expert-card-v2::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0; transition: opacity 0.3s;
}
.expert-card-v2:hover::before { opacity: 1; }

.ec2-header { display: flex; align-items: flex-start; gap: 12px; }
.ec2-avatar {
  width: 52px; height: 52px; border-radius: 50%;
  background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
  border: 2px solid var(--border); display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 900; color: var(--gold); font-family: var(--font-display); flex-shrink: 0;
}
.ec2-head-info { flex: 1; min-width: 0; }
.ec2-name { font-weight: 700; font-size: 15px; color: var(--text); display: block; margin-bottom: 4px; }
.ec2-name:hover { color: var(--gold); text-decoration: none; }
.ec2-rating { display: flex; align-items: center; gap: 5px; font-size: 12.5px; color: var(--muted); margin-bottom: 6px; }
.ec2-stars { letter-spacing: 1px; font-size: 11px; }
.ec2-score { font-weight: 700; color: var(--text-sec); }
.ec2-badges { display: flex; flex-wrap: wrap; gap: 4px; }
.ec2-headline { font-size: 13px; color: var(--text-sec); line-height: 1.5; }

.ec2-stats {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px; background: var(--faint);
  border: 1px solid var(--border); border-radius: var(--r-sm);
}
.ec2-stat { display: flex; flex-direction: column; align-items: center; flex: 1; }
.ec2-stat-val { font-family: var(--font-display); font-size: 16px; font-weight: 800; color: var(--text); }
.ec2-stat-lbl { font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; margin-top: 1px; }
.ec2-stat-sep { width: 1px; height: 28px; background: var(--border); }

.ec2-actions { display: flex; gap: 8px; }
.ec2-actions .btn, .ec2-actions .btn-ghost { flex: 1; justify-content: center; }

/* Pager numbers */
.pager-current {
  background: var(--gold-dim) !important;
  border-color: var(--gold) !important;
  color: var(--gold) !important;
}
.pager-info { font-size: 12px; color: var(--muted); }

/* ── Escrow list v2 ──────────────────────────────────────── */
.deal-list { display: flex; flex-direction: column; gap: 10px; }

.deal-card {
  display: flex; align-items: stretch;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r); overflow: hidden;
  text-decoration: none; color: var(--text);
  transition: var(--trans);
}
.deal-card:hover {
  border-color: var(--border-hi); box-shadow: var(--shadow);
  transform: translateX(3px); text-decoration: none; color: var(--text);
}

.deal-card-status-bar { width: 4px; flex-shrink: 0; }
.deal-card--completed .deal-card-status-bar { background: var(--green); }
.deal-card--paid .deal-card-status-bar { background: var(--gold); }
.deal-card--accepted .deal-card-status-bar { background: var(--blue); }
.deal-card--created .deal-card-status-bar { background: #555; }
.deal-card--disputed .deal-card-status-bar { background: var(--red); }
.deal-card--cancelled .deal-card-status-bar { background: #333; }
.deal-card--refunded .deal-card-status-bar { background: var(--blue); }

.deal-card-body { flex: 1; padding: 12px 16px; }
.deal-card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; }
.deal-card-title { font-weight: 600; font-size: 14.5px; color: var(--text); }
.deal-card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 12.5px; }
.deal-card-amount { font-weight: 700; color: var(--gold); font-family: var(--font-display); font-size: 14px; }
.deal-card-cur { font-size: 11px; opacity: 0.7; }
.deal-card-sep { color: var(--border-hi); }
.deal-card-arrow { display: flex; align-items: center; padding: 0 14px; color: var(--muted); font-size: 20px; flex-shrink: 0; }

.escrow-empty {
  text-align: center; padding: 60px 20px;
}
.escrow-empty-icon { font-size: 48px; margin-bottom: 16px; }
.escrow-empty-title { font-size: 18px; font-weight: 700; margin-bottom: 8px; }

/* ── Escrow new v2 — Wizard ──────────────────────────────── */
.wizard-bar {
  display: flex; align-items: center; gap: 0;
  padding: 16px 24px;
}
.wizard-step {
  display: flex; align-items: center; gap: 10px;
  flex: 1; position: relative;
}
.wizard-dot {
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 800;
  background: var(--faint); border: 2px solid var(--border);
  color: var(--muted); flex-shrink: 0; transition: all 0.3s;
}
.wizard-step span { font-size: 13px; color: var(--muted); font-weight: 500; white-space: nowrap; }
.wizard-step.wizard-done .wizard-dot {
  background: linear-gradient(135deg, var(--gold), #a87d18);
  border-color: var(--gold); color: #050505;
}
.wizard-step.wizard-done span { color: var(--text-sec); }
.wizard-step.wizard-current .wizard-dot {
  border-color: var(--gold); color: var(--gold);
  box-shadow: 0 0 12px rgba(201,162,39,0.35);
}
.wizard-step.wizard-current span { color: var(--gold); font-weight: 700; }
.wizard-line {
  flex: 1; height: 2px; background: var(--border); margin: 0 10px; flex-shrink: 0;
  max-width: 60px;
}

.escrow-new-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 18px;
  align-items: start;
}
.escrow-new-section-head {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 8px; margin-bottom: 14px;
}
.escrow-new-section-head h2 { margin: 0; }

.svc-search-wrap { margin-bottom: 12px; }
.svc-search-wrap input { margin-bottom: 0; }

.svc-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r);
  padding: 14px 16px; cursor: pointer; transition: var(--trans); position: relative;
  overflow: hidden;
}
.svc-card:hover { border-color: var(--gold); box-shadow: var(--shadow-gold); transform: translateY(-2px); }
.svc-card.selected { border-color: var(--gold); background: var(--gold-dim); }
.svc-card-title { font-weight: 700; font-size: 14px; margin-bottom: 6px; }
.svc-card-price { font-family: var(--font-display); font-size: 18px; font-weight: 800; color: var(--gold); }
.svc-card-cur { font-size: 12px; opacity: 0.7; }
.svc-card-seller { font-size: 12px; color: var(--muted); margin-top: 4px; }
.svc-card-desc { font-size: 12px; color: var(--text-sec); margin-top: 6px; line-height: 1.4; }
.svc-card-check {
  position: absolute; top: 10px; right: 10px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--gold); color: #050505; font-size: 11px; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.2s;
}
.svc-card.selected .svc-card-check { opacity: 1; }

.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.escrow-how-card h3 { margin-bottom: 16px; }
.escrow-how-steps { display: flex; flex-direction: column; gap: 14px; }
.escrow-how-step { display: flex; gap: 12px; align-items: flex-start; }
.escrow-how-num {
  width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0;
  background: var(--gold-dim); border: 1px solid rgba(201,162,39,0.3);
  color: var(--gold); font-size: 12px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.escrow-how-step strong { font-size: 13.5px; display: block; margin-bottom: 2px; }
.escrow-how-step p { margin: 0; }

/* ── Forum: section rows as links ────────────────────────── */
.forum-section-row--link {
  display: flex; text-decoration: none; transition: var(--trans);
}
.forum-section-row--link:hover { background: rgba(255,255,255,0.03); text-decoration: none; }
.forum-section-row--link .forum-section-title { color: var(--text); font-weight: 600; }
.forum-section-row--link:hover .forum-section-title { color: var(--gold); }

/* ── Responsive additions ────────────────────────────────── */
@media (max-width: 960px) {
  .mkt-hero { grid-template-columns: 1fr; }
  .mkt-hero-right { flex-direction: row; flex-wrap: wrap; justify-content: center; padding: 14px; }
  .mkt-layout { grid-template-columns: 1fr; }
  .mkt-sidebar { position: static; }
  .mkt-radio-group { flex-direction: row; flex-wrap: wrap; }
  .escrow-new-layout { grid-template-columns: 1fr; }
  .wizard-bar { padding: 12px 16px; }
  .wizard-step span { display: none; }
  .form-row-2 { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .deal-card-meta { gap: 4px; font-size: 12px; }
  .deal-card-sep { display: none; }
  .mkt-hero-title { font-size: 22px; }
  .mkt-search-form { flex-direction: column; align-items: stretch; }
}

/* ── Mobile dock update ──────────────────────────────────── */
@media (max-width: 700px) {
  .nav-user-menu { position: static; }
  .nav-dropdown { position: fixed; bottom: 70px; left: 10px; right: 10px; top: auto; }
}

/* Mobile dock icons */
.mobile-dock-icon { display: block; font-size: 18px; margin-bottom: 2px; }
.mobile-dock-link { flex-direction: column; font-size: 10.5px !important; gap: 0 !important; }
