:root{--bg:#07100f;--surface:#101b19;--text:#f4f7f5;--muted:#94a29e;--accent:#79f2c0;--line:#26332f}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.55 'Inter', sans-serif; }
a { color: inherit; text-decoration: none; }
.wrap { width: min(1100px, calc(100% - 40px)); margin: auto; }
.mb-header { border-bottom: 1px solid var(--line); padding: 16px 0; display: flex; align-items: center; gap: 24px; }
.mb-brand { font-size: 22px; font-weight: 700; }
.mb-brand span { color: var(--accent); }
.mb-nav { display: flex; gap: 20px; font-size: 14px; color: #c2cdc8; margin-left: 20px; }
.mb-nav a:hover { color: var(--accent); }
.mb-button { background: var(--accent); color: var(--bg); padding: 10px 16px; border-radius: 6px; font-weight: 600; font-size: 13px; margin-left: auto; }
.mb-back { color: var(--muted); font-size: 13px; }
.listings-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; margin-top: 20px; }
.listing-card { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.listing-card img { width: 100%; height: 160px; object-fit: cover; background: #1b2923; }
.listing-body { padding: 12px 14px; }
.listing-body h3 { margin: 0 0 4px; font-size: 15px; }
.listing-meta { font-size: 12px; color: var(--muted); }
.listing-price { font-size: 17px; font-weight: 600; margin-top: 8px; }
.listing-tag { display: inline-block; font-size: 10px; padding: 3px 7px; border: 1px solid #486154; border-radius: 4px; margin-bottom: 6px; }
.empty-state { padding: 40px; text-align: center; color: var(--muted); }
.mb-field { margin-bottom: 18px; }
.mb-field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.mb-field input,
.mb-field select,
.mb-field textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid #34423c;
  border-radius: 5px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
}
.mb-field textarea { resize: vertical; }
.mb-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hidden { display: none !important; }
.location-search-wrap { position: relative; }
.location-dropdown {
  position: absolute; left: 0; right: 0; top: 72px;
  max-height: 220px; overflow: auto;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 8px; z-index: 20;
}
.location-option {
  display: block; width: 100%; text-align: left; border: 0; border-bottom: 1px solid var(--line);
  background: var(--surface); color: var(--text); padding: 10px 12px; font-size: 13px; cursor: pointer;
}
.location-option:hover { background: #1a2b26; color: var(--accent); }
.photo-thumb { width: 70px; height: 70px; object-fit: cover; border-radius: 6px; }
@media (max-width: 640px) { .mb-row { grid-template-columns: 1fr; } }
.mb-workspace {
  display: grid;
  grid-template-columns: 280px 1fr;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  min-height: 560px;
  background: var(--surface);
}
.mb-inbox { border-right: 1px solid var(--line); padding: 16px; overflow-y: auto; }
.mb-thread {
  display: block; width: 100%; text-align: left; background: none; border: 0;
  border-top: 1px solid var(--line); padding: 14px 4px; color: var(--text); cursor: pointer;
}
.mb-thread:first-child { border-top: 0; }
.mb-thread:hover { background: #172720; }
.mb-thread.active { background: #192c24; box-shadow: inset 3px 0 var(--accent); }
.mb-thread strong { display: block; font-size: 13px; }
.mb-thread span { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }
.mb-conversation { display: flex; flex-direction: column; min-width: 0; }
.mb-chat-head { padding: 16px 20px; border-bottom: 1px solid var(--line); }
.mb-chat-head strong { font-size: 15px; }
.mb-chat-head div { font-size: 12px; color: var(--muted); margin-top: 2px; }
.mb-guardrail {
  display: flex; gap: 8px; padding: 10px 20px; background: #14251d; color: #b6c9bd;
  font-size: 11px; border-bottom: 1px solid #294134;
}
.mb-history { padding: 16px 20px; flex: 1; max-height: 380px; overflow-y: auto; }
.mb-msg { max-width: 80%; margin-bottom: 14px; }
.mb-msg .bubble {
  background: #1b2923; border: 1px solid #293b30; border-radius: 0 8px 8px 8px;
  padding: 10px 13px; font-size: 13px; white-space: pre-wrap; overflow-wrap: anywhere;
}
.mb-msg.out { margin-left: auto; }
.mb-msg.out .bubble { background: #203c2e; border-color: #335740; border-radius: 8px 0 8px 8px; }
.mb-msg time { display: block; font-size: 10px; color: var(--muted); margin-top: 4px; }
.mb-msg.out time { text-align: right; }
.mb-composer { padding: 14px 20px; border-top: 1px solid var(--line); }
.mb-composer textarea {
  width: 100%; min-height: 54px; background: var(--bg); border: 1px solid #34423c;
  border-radius: 5px; padding: 10px; color: var(--text); resize: vertical;
}
.mb-composer-actions { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; }
.mb-error { color: #ffb3ab; font-size: 12px; margin-top: 8px; }
@media (max-width: 700px) {
  .mb-workspace { grid-template-columns: 1fr; }
  .mb-workspace.chat-open .mb-inbox { display: none; }
  .mb-workspace:not(.chat-open) .mb-conversation { display: none; }
}
.mb-tab {
  background: none; border: none; color: var(--muted); padding: 10px 4px 12px;
  font-size: 14px; cursor: pointer; border-bottom: 2px solid transparent; margin-right: 20px;
}
.mb-tab.active { color: var(--accent); border-color: var(--accent); }
.mb-listing-row {
  display: flex; gap: 12px; align-items: center; padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.mb-listing-row img { width: 56px; height: 56px; object-fit: cover; border-radius: 6px; background: #1b2923; }
.mb-listing-row .info { flex: 1; min-width: 0; }
.mb-listing-row .info strong { display: block; font-size: 14px; }
.mb-listing-row .info span { font-size: 12px; color: var(--muted); }
.mb-status-pill {
  font-size: 10px; padding: 3px 8px; border-radius: 999px; font-weight: 600;
}
.mb-status-pending { background: #3a2f14; color: #e8b04a; }
.mb-status-active { background: #14271f; color: var(--accent); }
.mb-status-sold { background: #1a2c3d; color: #7c9cff; }
.mb-status-removed { background: #3a1414; color: #ff8a7a; }
.wishlist-btn {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  width: 32px; height: 32px; border-radius: 50%;
  background: #07100fd9; border: 1px solid #ffffff30; color: #fff;
  font-size: 16px; cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.wishlist-btn.saved { color: var(--accent); border-color: var(--accent); }
/* ---- User hub (eBay-style account) ---- */
.hub-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 20px;
}
.hub-stat {
  /* keep your existing styles, then add: */
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: inherit;
  background: inherit;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  width: 100%;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.hub-stat:hover {
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.03);
}
.hub-stat span {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 4px;
}
.hub-stat strong {
  font-size: 18px;
  color: var(--text);
}
.hub-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.hub-card {
  display: block;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: transparent;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  font: inherit;
}
.hub-card strong {
  display: block;
  font-size: 14px;
  margin-bottom: 4px;
  color: var(--accent);
}
.hub-card span {
  font-size: 12px;
  color: var(--muted);
}
.hub-card:hover {
  border-color: var(--accent);
}
.fee-preview {
  margin: 12px 0 0;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(0,0,0,.18);
  font-size: 13px;
}
.fee-preview strong { color: var(--accent); }
@media (max-width: 700px) {
  .hub-summary { grid-template-columns: 1fr 1fr; }
  .hub-cards { grid-template-columns: 1fr; }
}
a.mb-brand {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
a.mb-brand:hover {
  color: var(--accent);
}
.kyc-section input[type="file"] {
  width: 100%;
  font-size: 12px;
  color: var(--muted);
}
.mb-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 600px) {
  .mb-row { grid-template-columns: 1fr; }
}
.photo-thumb {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #111;
}
.listings-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}
.listings-list .listing-card {
  display: grid;
  grid-template-columns: 140px 1fr;
}
.listings-list .listing-card > a {
  display: contents;
}
.listings-list .listing-card img {
  width: 140px;
  height: 120px;
  object-fit: cover;
}
.listings-list .listing-body {
  padding: 12px 14px;
}
.mb-chip {
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.mb-chip:hover {
  border-color: var(--accent);
  color: var(--text);
}
.mb-chip.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #0a0f0c;
}
.ending-card {
  flex: 0 0 200px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: block;
}
.ending-card img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  display: block;
}
.ending-card .ending-body {
  padding: 10px;
}
.ending-card .ending-time {
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  margin-top: 4px;
}
/* ===== Mbikooye site footer ===== */
.mb-site-footer {
  border-top: 1px solid var(--line, #e5e7eb);
  margin-top: 40px;
  padding: 28px 16px 40px;
  background: #fafafa;
  color: var(--muted, #6b7280);
  font-size: 12px;
}
.mb-site-footer-inner {
  max-width: 960px;
  margin: 0 auto;
}
.mb-site-footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-bottom: 14px;
}
.mb-site-footer-nav a {
  color: #2563eb;
  text-decoration: none;
}
.mb-site-footer-nav a:hover {
  text-decoration: underline;
}
.mb-site-footer-copy {
  line-height: 1.55;
  color: #6b7280;
}
.mb-site-footer-copy a {
  color: #2563eb;
  text-decoration: none;
}
.mb-site-footer-copy a:hover {
  text-decoration: underline;
}
/* ===== eBay-style financial statement ===== */
.fs-header {
  margin-bottom: 22px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line, #e5e7eb);
}
.fs-header-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}
.fs-stmt-no {
  font-size: 12px;
  color: var(--muted, #6b7280);
  line-height: 1.4;
  max-width: 220px;
  word-break: break-all;
}
.fs-title {
  font-size: 26px;
  font-weight: 800;
  color: var(--text, #111);
  margin: 0;
  letter-spacing: -0.02em;
}
.fs-meta {
  font-size: 12px;
  color: var(--muted, #6b7280);
  text-align: right;
  line-height: 1.5;
}
.fs-section-title {
  font-size: 18px;
  font-weight: 700;
  margin: 8px 0 6px;
}
.fs-summary {
  border-top: 1px solid var(--line, #e5e7eb);
}
.fs-row {
  border-bottom: 1px solid var(--line, #e5e7eb);
}
.fs-row-btn {
  width: 100%;
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 14px 4px;
  background: none;
  border: none;
  cursor: pointer;
  font: inherit;
  color: inherit;
  text-align: left;
}
.fs-row-btn:hover .fs-label {
  color: #2563eb;
  text-decoration: underline;
}
.fs-label {
  flex: 0 1 auto;
  font-size: 14px;
  color: var(--text, #111);
}
.fs-label small {
  color: var(--muted, #6b7280);
  font-weight: 400;
}
.fs-dots {
  flex: 1;
  border-bottom: 1px dotted #c4c4c4;
  margin: 0 6px 4px;
  min-width: 24px;
}
.fs-amount {
  flex: 0 0 auto;
  font-size: 14px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.fs-amount.closing {
  color: #0a7a3e;
  font-size: 16px;
  font-weight: 800;
}
.fs-detail {
  display: none;
  padding: 0 8px 14px 12px;
  background: #fafafa;
  border-top: 1px dashed #e5e7eb;
}
.fs-row.open .fs-detail {
  display: block;
}
.fs-detail-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid #eee;
  font-size: 13px;
}
.fs-detail-item:last-child {
  border-bottom: none;
}
.fs-detail-item a {
  color: #2563eb;
  text-decoration: none;
}
.fs-detail-item a:hover {
  text-decoration: underline;
}
.fs-detail-empty {
  color: var(--muted, #6b7280);
  font-size: 13px;
  padding: 8px 0;
}
