:root {
  --ink: #111713;
  --ink-2: #18211c;
  --ink-3: #202c25;
  --paper: #f4f2eb;
  --paper-2: #ebe9df;
  --muted: #8e9b91;
  --muted-dark: #6d786f;
  --line: rgba(213, 223, 214, 0.12);
  --line-light: rgba(17, 23, 19, 0.1);
  --orange: #ff6a3d;
  --orange-light: #ff9474;
  --lime: #c9f27d;
  --blue: #8ac9ff;
  --yellow: #ffd166;
  --green: #9cdda9;
  --danger: #ff8d82;
  --shadow: 0 20px 70px rgba(5, 11, 7, 0.18);
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 10px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
.skip-link {
  position: fixed;
  left: 14px;
  top: 10px;
  z-index: 100;
  padding: 9px 13px;
  border-radius: 8px;
  color: #fff;
  background: #4c1d95;
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }
.noscript { margin: 20px; padding: 16px; border-radius: 10px; color: #14263d; background: #fffefa; text-align: center; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, a:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 3px;
}
a { color: inherit; text-decoration: none; }

.app-shell { min-height: 100vh; overflow: hidden; }
.site-header {
  height: 78px;
  display: flex;
  align-items: center;
  gap: 46px;
  padding: 0 clamp(20px, 4vw, 64px);
  border-bottom: 1px solid var(--line);
  background: rgba(17, 23, 19, 0.96);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(18px);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 800; letter-spacing: -0.06em; }
.brand-word { transform: translateY(-1px); }
.brand-mark { display: inline-flex; align-items: end; gap: 3px; width: 24px; height: 24px; }
.brand-mark span { display: block; width: 6px; border-radius: 4px 4px 1px 1px; background: var(--orange); transform: skew(-13deg); }
.brand-mark span:nth-child(1) { height: 13px; opacity: .78; }
.brand-mark span:nth-child(2) { height: 20px; background: var(--lime); }
.brand-mark span:nth-child(3) { height: 16px; opacity: .9; }
.brand-mark.small { width: 17px; height: 17px; gap: 2px; }
.brand-mark.small span { width: 4px; }
.brand-mark.small span:nth-child(1) { height: 9px; }
.brand-mark.small span:nth-child(2) { height: 15px; }
.brand-mark.small span:nth-child(3) { height: 12px; }
.top-nav { display: flex; align-items: center; gap: 30px; height: 100%; }
.nav-link {
  color: var(--muted);
  border: 0;
  background: transparent;
  padding: 27px 0 24px;
  position: relative;
  font-weight: 650;
  font-size: 14px;
}
.nav-link:hover, .nav-link.active { color: var(--paper); }
.nav-link.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  border-radius: 2px;
  background: var(--orange);
}
.nav-link-with-dot { display: flex; gap: 8px; align-items: center; }
.nav-dot {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--ink);
  font-size: 10px;
  font-weight: 900;
}
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.icon-btn, .user-menu {
  color: var(--paper);
  border: 0;
  background: transparent;
  display: inline-flex;
  align-items: center;
}
.icon-btn { width: 28px; height: 36px; padding: 3px; position: relative; }
.icon-btn svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.icon-btn:hover { color: var(--lime); }
.notification-badge {
  position: absolute;
  right: -1px;
  top: 2px;
  width: 14px;
  height: 14px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 8px;
  font-weight: 900;
  background: var(--orange);
  color: var(--ink);
  border: 2px solid var(--ink);
}
.user-menu { gap: 9px; padding: 4px 0; }
.user-name { font-size: 14px; font-weight: 700; }
.avatar {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: -.03em;
}
.avatar-orange { background: var(--orange); color: var(--ink); }
.avatar-lime { background: var(--lime); color: var(--ink); }
.avatar-blue { background: var(--blue); color: var(--ink); }
.avatar-cream { background: #e8d6bd; color: var(--ink); }
.chevron { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; opacity: .65; }

#app-main { max-width: 1500px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 64px) 42px; }
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, .9fr);
  gap: 28px;
  padding: 57px 0 42px;
  align-items: end;
}
.eyebrow { display: flex; align-items: center; gap: 9px; color: var(--lime); text-transform: uppercase; letter-spacing: .13em; font-size: 11px; font-weight: 850; }
.eyebrow::before { content: ""; width: 23px; height: 2px; background: var(--orange); border-radius: 2px; }
.hero h1 { max-width: 730px; margin: 16px 0 14px; font-size: clamp(38px, 5vw, 70px); line-height: .98; letter-spacing: -.073em; font-weight: 850; }
.hero h1 em { color: var(--orange); font-style: normal; }
.hero-copy { max-width: 585px; color: var(--muted); margin: 0; font-size: 16px; }
.hero-actions { justify-self: end; display: flex; align-items: center; gap: 10px; padding-bottom: 4px; }
.btn {
  min-height: 45px;
  border: 1px solid transparent;
  border-radius: 9px;
  padding: 0 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 800;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, color .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--orange); color: var(--ink); }
.btn-primary:hover { background: var(--orange-light); }
.btn-secondary { background: rgba(255,255,255,.04); border-color: var(--line); color: var(--paper); }
.btn-secondary:hover { background: rgba(255,255,255,.09); border-color: rgba(255,255,255,.24); }
.btn-lime { background: var(--lime); color: var(--ink); }
.btn-lime:hover { background: #dcff9b; }
.btn-ghost { color: var(--muted); background: transparent; padding-left: 8px; padding-right: 8px; }
.btn-ghost:hover { color: var(--paper); }
.btn-danger { background: rgba(255,141,130,.12); color: var(--danger); border-color: rgba(255,141,130,.2); }
.btn svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.btn-sm { min-height: 36px; padding: 0 12px; font-size: 12px; }
.btn-block { width: 100%; }

.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat-cell { padding: 20px 24px 19px 0; border-right: 1px solid var(--line); }
.stat-cell:not(:first-child) { padding-left: 25px; }
.stat-cell:last-child { border-right: 0; }
.stat-value { font-size: 26px; font-weight: 800; letter-spacing: -.045em; }
.stat-label { display: block; margin-top: 3px; color: var(--muted); font-size: 12px; }
.stat-accent { color: var(--lime); }

.workspace-toolbar { padding: 34px 0 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.search-wrap { position: relative; flex: 1; max-width: 530px; }
.search-wrap svg { position: absolute; left: 16px; top: 14px; width: 19px; height: 19px; fill: none; stroke: var(--muted); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.search-input {
  width: 100%;
  height: 47px;
  color: var(--paper);
  background: rgba(255,255,255,.055);
  border: 1px solid var(--line);
  border-radius: 10px;
  outline: 0;
  padding: 0 44px;
  font-size: 14px;
}
.search-input::placeholder { color: #778279; }
.search-input:focus { border-color: rgba(201,242,125,.7); box-shadow: 0 0 0 3px rgba(201,242,125,.08); }
.shortcut { position: absolute; right: 12px; top: 12px; padding: 2px 6px; border: 1px solid var(--line); border-radius: 5px; color: var(--muted); font-size: 11px; }
.view-switcher { display: flex; align-items: center; gap: 4px; padding: 4px; background: rgba(255,255,255,.045); border: 1px solid var(--line); border-radius: 9px; }
.switch-btn { border: 0; border-radius: 6px; padding: 8px 12px; color: var(--muted); background: transparent; font-size: 12px; font-weight: 750; }
.switch-btn:hover, .switch-btn.active { color: var(--ink); background: var(--paper); }

.market-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr) 255px; gap: 28px; align-items: start; }
.filter-panel { position: sticky; top: 102px; }
.filter-title { display: flex; justify-content: space-between; align-items: center; margin-bottom: 17px; font-size: 12px; color: var(--paper); text-transform: uppercase; letter-spacing: .1em; font-weight: 850; }
.filter-clear { border: 0; background: transparent; color: var(--orange); text-transform: none; letter-spacing: 0; font-size: 11px; font-weight: 700; }
.filter-group { border-top: 1px solid var(--line); padding: 18px 0; }
.filter-group:last-child { border-bottom: 1px solid var(--line); }
.filter-label { display: block; margin-bottom: 11px; color: var(--muted); font-size: 12px; font-weight: 700; }
.category-list { display: grid; gap: 3px; }
.category-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 0;
  border-radius: 7px;
  padding: 8px 9px;
  color: var(--muted);
  background: transparent;
  text-align: left;
  font-size: 13px;
}
.category-btn span:last-child { color: #5e6b62; font-size: 11px; }
.category-btn:hover { color: var(--paper); background: rgba(255,255,255,.045); }
.category-btn.active { color: var(--ink); background: var(--lime); font-weight: 800; }
.category-btn.active span:last-child { color: var(--ink); opacity: .6; }
.filter-select, .filter-number {
  width: 100%;
  min-height: 38px;
  padding: 0 10px;
  background: rgba(255,255,255,.045);
  border: 1px solid var(--line);
  color: var(--paper);
  border-radius: 7px;
  font-size: 12px;
  outline: 0;
}
.filter-select:focus, .filter-number:focus { border-color: var(--lime); }
.filter-select option { color: var(--ink); }
.range-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.check-row { display: flex; gap: 9px; align-items: center; color: var(--muted); font-size: 12px; margin-top: 10px; }
.check-row input { accent-color: var(--lime); }

.results-head { display: flex; justify-content: space-between; align-items: end; margin-bottom: 17px; }
.results-title { margin: 0; font-size: 20px; letter-spacing: -.045em; }
.results-meta { color: var(--muted); font-size: 12px; margin-top: 3px; }
.sort-wrap { display: flex; align-items: center; gap: 8px; }
.sort-wrap label { color: var(--muted); font-size: 12px; }
.sort-select { background: transparent; border: 0; color: var(--paper); font-size: 12px; font-weight: 750; outline: 0; }
.sort-select option { color: var(--ink); }
.listings-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.listing-card {
  min-width: 0;
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--ink-2);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
  cursor: pointer;
}
.listing-card:hover { transform: translateY(-4px); border-color: rgba(201,242,125,.48); box-shadow: 0 18px 50px rgba(0,0,0,.2); }
.product-art {
  height: 188px;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #243b32;
}
.product-art::before, .product-art::after { content: ""; position: absolute; border-radius: 50%; filter: blur(1px); }
.product-art::before { width: 180px; height: 180px; right: -52px; top: -75px; background: rgba(255,255,255,.11); }
.product-art::after { width: 100px; height: 100px; left: -38px; bottom: -45px; background: rgba(201,242,125,.14); }
.art-orange { background: linear-gradient(140deg, #783c2d, #e1663e 47%, #2b211c); }
.art-blue { background: linear-gradient(140deg, #233d5d, #4777a5 48%, #121f35); }
.art-purple { background: linear-gradient(140deg, #432f59, #785f99 48%, #1d182d); }
.art-yellow { background: linear-gradient(140deg, #705221, #bd9143 48%, #2b2416); }
.art-green { background: linear-gradient(140deg, #24493b, #4e936e 48%, #172b24); }
.art-red { background: linear-gradient(140deg, #692e32, #c64c47 48%, #2e191f); }
.product-emoji { position: relative; z-index: 1; font-size: 76px; line-height: 1; filter: drop-shadow(0 18px 10px rgba(0,0,0,.28)); transform: rotate(-7deg); user-select: none; }
.art-label { position: absolute; left: 13px; bottom: 11px; z-index: 2; padding: 5px 8px; border-radius: 5px; background: rgba(14,20,16,.72); color: rgba(255,255,255,.82); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; backdrop-filter: blur(6px); }
.heart-btn {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  position: absolute;
  top: 11px;
  right: 11px;
  z-index: 3;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
  background: rgba(14,20,16,.38);
  color: white;
  backdrop-filter: blur(6px);
}
.heart-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.heart-btn.active { color: var(--orange); background: var(--paper); border-color: var(--paper); }
.heart-btn.active svg { fill: currentColor; }
.boost-ribbon { position: absolute; left: 11px; top: 11px; z-index: 3; background: var(--lime); color: var(--ink); border-radius: 5px; padding: 5px 8px; font-size: 10px; font-weight: 900; letter-spacing: .05em; text-transform: uppercase; }
.listing-content { padding: 14px 15px 15px; }
.listing-meta { display: flex; justify-content: space-between; align-items: center; gap: 8px; color: var(--muted); font-size: 11px; }
.listing-category { color: var(--orange-light); text-transform: uppercase; font-size: 10px; font-weight: 850; letter-spacing: .08em; }
.listing-title { min-height: 43px; margin: 9px 0 11px; color: var(--paper); font-size: 15px; line-height: 1.3; letter-spacing: -.025em; font-weight: 750; }
.price-row { display: flex; align-items: end; justify-content: space-between; gap: 8px; }
.listing-price { font-size: 21px; font-weight: 850; letter-spacing: -.055em; }
.listing-price small { color: var(--muted); font-size: 11px; font-weight: 600; letter-spacing: 0; }
.price-state { display: inline-flex; align-items: center; gap: 4px; margin-bottom: 3px; padding: 4px 6px; border-radius: 4px; background: rgba(156,221,169,.12); color: var(--green); font-size: 10px; font-weight: 800; white-space: nowrap; }
.price-state.mid { background: rgba(255,209,102,.12); color: var(--yellow); }
.price-state.high { background: rgba(255,141,130,.12); color: var(--danger); }
.card-footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 15px; padding-top: 11px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.seller-inline { display: flex; align-items: center; gap: 7px; min-width: 0; }
.seller-inline .avatar { width: 22px; height: 22px; font-size: 8px; }
.seller-inline span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card-stats { display: flex; gap: 8px; }
.card-stat { display: inline-flex; align-items: center; gap: 3px; white-space: nowrap; }
.card-stat svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.insight-rail { display: grid; gap: 15px; }
.rail-card { border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--ink-2); padding: 17px; }
.rail-card.highlight { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.rail-heading { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 15px; }
.rail-heading h3 { margin: 0; font-size: 13px; letter-spacing: -.015em; }
.rail-heading svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.radar-score { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; padding-bottom: 14px; }
.score-ring { flex: 0 0 75px; width: 75px; height: 75px; aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; background: conic-gradient(var(--orange) 0 82%, rgba(17,23,19,.16) 82% 100%); position: relative; }
.score-ring::after { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: var(--lime); }
.score-number { position: relative; z-index: 1; font-size: 22px; font-weight: 900; letter-spacing: -.08em; }
.score-copy { flex: 1 1 110px; min-width: 0; overflow-wrap: anywhere; font-size: 12px; line-height: 1.5; }
.score-copy strong { display: block; margin-bottom: 3px; font-size: 13px; }
.score-copy span { opacity: .65; }
.rail-copy { color: var(--muted); font-size: 12px; line-height: 1.5; margin: 0 0 14px; }
.highlight .rail-copy { color: rgba(17,23,19,.67); }
.benchmark-row { display: flex; justify-content: space-between; align-items: end; padding: 11px 0; border-top: 1px solid var(--line); }
.benchmark-row:last-child { border-bottom: 1px solid var(--line); }
.benchmark-label { color: var(--muted); font-size: 11px; }
.benchmark-value { font-size: 13px; font-weight: 850; }
.highlight .benchmark-row { border-color: rgba(17,23,19,.16); }
.highlight .benchmark-label { color: rgba(17,23,19,.6); }
.boost-icon { width: 34px; height: 34px; display: grid; place-items: center; margin-bottom: 13px; border-radius: 9px; color: var(--ink); background: var(--orange); }
.boost-icon svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.highlight h3 { font-size: 17px; }
.trust-list { display: grid; gap: 13px; }
.trust-item { display: grid; grid-template-columns: 26px 1fr; gap: 9px; align-items: start; }
.trust-item svg { width: 18px; height: 18px; margin-top: 1px; fill: none; stroke: var(--lime); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.trust-item strong { display: block; font-size: 12px; }
.trust-item span { display: block; margin-top: 2px; color: var(--muted); font-size: 11px; line-height: 1.35; }

.empty-state { grid-column: 1 / -1; padding: 60px 20px; border: 1px dashed var(--line); border-radius: var(--radius-md); text-align: center; }
.empty-icon { width: 48px; height: 48px; display: grid; place-items: center; margin: 0 auto 12px; border-radius: 14px; background: rgba(201,242,125,.12); color: var(--lime); }
.empty-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.empty-state h3 { margin: 0 0 5px; font-size: 17px; }
.empty-state p { margin: 0 0 17px; color: var(--muted); font-size: 13px; }

.page-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; padding: 48px 0 27px; border-bottom: 1px solid var(--line); }
.page-heading h1 { margin: 10px 0 5px; font-size: 38px; letter-spacing: -.065em; line-height: 1; }
.page-heading p { margin: 0; color: var(--muted); font-size: 14px; }
.dashboard-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 24px 0; }
.dashboard-stat { padding: 18px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--ink-2); }
.dashboard-stat .stat-label { margin-bottom: 7px; }
.dashboard-stat .stat-value { font-size: 30px; }
.dashboard-stat .trend { margin-top: 7px; color: var(--green); font-size: 11px; font-weight: 750; }
.dashboard-table { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--ink-2); }
.table-head, .table-row { display: grid; grid-template-columns: minmax(230px, 1.5fr) 110px 110px 100px 125px; align-items: center; gap: 18px; padding: 14px 18px; }
.table-head { color: var(--muted); border-bottom: 1px solid var(--line); font-size: 10px; text-transform: uppercase; letter-spacing: .09em; font-weight: 800; }
.table-row { min-height: 76px; border-bottom: 1px solid var(--line); font-size: 12px; }
.table-row:last-child { border-bottom: 0; }
.table-product { display: flex; align-items: center; gap: 11px; min-width: 0; }
.table-thumb { width: 44px; height: 44px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 9px; font-size: 23px; background: #304d3d; }
.table-product strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
.table-product span { display: block; margin-top: 3px; color: var(--muted); font-size: 11px; }
.table-cell-muted { color: var(--muted); }
.table-actions { display: flex; justify-content: end; gap: 5px; }
.status-pill { display: inline-flex; width: fit-content; align-items: center; padding: 5px 8px; border-radius: 5px; background: rgba(156,221,169,.11); color: var(--green); font-size: 10px; font-weight: 800; }
.status-pill.warn { background: rgba(255,209,102,.12); color: var(--yellow); }
.message-layout { display: grid; grid-template-columns: 290px minmax(0, 1fr); min-height: 500px; margin-top: 28px; border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; background: var(--ink-2); }
.conversation-list { border-right: 1px solid var(--line); }
.conversation-head { padding: 17px; border-bottom: 1px solid var(--line); font-weight: 800; font-size: 14px; }
.conversation { display: flex; gap: 10px; align-items: center; width: 100%; padding: 14px 17px; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: var(--paper); text-align: left; }
.conversation:hover, .conversation.active { background: rgba(255,255,255,.055); }
.conversation.active { box-shadow: inset 3px 0 0 var(--orange); }
.conversation-copy { min-width: 0; flex: 1; }
.conversation-copy strong, .conversation-copy span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.conversation-copy strong { font-size: 12px; }
.conversation-copy span { margin-top: 3px; color: var(--muted); font-size: 11px; }
.conversation-time { color: var(--muted); font-size: 10px; align-self: start; }
.chat-panel { display: flex; flex-direction: column; }
.chat-head { display: flex; align-items: center; justify-content: space-between; padding: 17px 20px; border-bottom: 1px solid var(--line); }
.chat-person { display: flex; align-items: center; gap: 10px; }
.chat-person strong { display: block; font-size: 13px; }
.chat-person span { display: block; margin-top: 2px; color: var(--green); font-size: 10px; }
.chat-listing { display: flex; align-items: center; gap: 9px; padding: 9px 11px; border: 1px solid var(--line); border-radius: 8px; color: var(--muted); font-size: 10px; }
.chat-listing .mini-emoji { font-size: 19px; }
.chat-messages { flex: 1; display: grid; align-content: end; gap: 11px; padding: 27px 20px; }
.message-bubble { max-width: 70%; padding: 10px 13px; border-radius: 11px 11px 11px 3px; color: var(--paper); background: rgba(255,255,255,.07); font-size: 13px; }
.message-bubble.mine { justify-self: end; border-radius: 11px 11px 3px 11px; color: var(--ink); background: var(--lime); }
.message-bubble small { display: block; margin-top: 4px; opacity: .55; font-size: 9px; }
.chat-composer { display: flex; gap: 8px; padding: 15px 20px; border-top: 1px solid var(--line); }
.chat-composer input { flex: 1; height: 40px; padding: 0 12px; border: 1px solid var(--line); border-radius: 8px; background: rgba(255,255,255,.045); color: var(--paper); outline: 0; font-size: 12px; }
.chat-composer input:focus { border-color: var(--lime); }

.modal-root { display: none; }
.modal-root.open { display: block; }
.modal-backdrop { position: fixed; inset: 0; z-index: 30; display: grid; place-items: center; padding: 20px; background: rgba(4,8,5,.78); backdrop-filter: blur(10px); }
.modal {
  width: min(720px, 100%);
  max-height: calc(100vh - 40px);
  overflow: auto;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 20px;
  background: #1b261f;
  box-shadow: 0 30px 100px rgba(0,0,0,.45);
}
.modal.modal-wide { width: min(890px, 100%); }
.modal-head { display: flex; align-items: start; justify-content: space-between; gap: 20px; padding: 22px 24px 18px; border-bottom: 1px solid var(--line); }
.modal-head h2 { margin: 0; font-size: 21px; letter-spacing: -.045em; }
.modal-head p { margin: 5px 0 0; color: var(--muted); font-size: 12px; }
.modal-close { width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--muted); }
.modal-close:hover { color: var(--paper); border-color: var(--paper); }
.modal-close svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.modal-body { padding: 24px; }
.detail-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; }
.detail-art { height: 330px; display: grid; place-items: center; border-radius: 14px; overflow: hidden; }
.detail-art .product-emoji { font-size: 128px; }
.detail-info .listing-category { margin-bottom: 10px; }
.detail-info h2 { margin: 0 0 10px; font-size: 29px; line-height: 1.06; letter-spacing: -.06em; }
.detail-description { margin: 0 0 18px; color: var(--muted); font-size: 13px; line-height: 1.55; }
.detail-price { font-size: 34px; font-weight: 900; letter-spacing: -.07em; }
.detail-price small { color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: 0; }
.detail-bench { display: flex; align-items: center; gap: 8px; margin: 4px 0 20px; color: var(--green); font-size: 11px; font-weight: 750; }
.detail-bench svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.detail-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 18px; }
.detail-seller { display: flex; align-items: center; gap: 10px; padding-top: 16px; border-top: 1px solid var(--line); }
.detail-seller strong { display: block; font-size: 12px; }
.detail-seller span { display: block; margin-top: 2px; color: var(--muted); font-size: 11px; }
.detail-facts { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; margin-top: 20px; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.detail-fact { padding: 11px; background: rgba(255,255,255,.03); }
.detail-fact strong { display: block; font-size: 13px; }
.detail-fact span { display: block; margin-top: 3px; color: var(--muted); font-size: 10px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.form-field { display: grid; gap: 7px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { color: var(--muted); font-size: 12px; font-weight: 700; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%;
  color: var(--paper);
  background: rgba(255,255,255,.045);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 11px;
  outline: 0;
  font-size: 13px;
}
.form-field input, .form-field select { height: 43px; }
.form-field textarea { resize: vertical; min-height: 90px; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--lime); }
.form-field select option { color: var(--ink); }
.field-hint { color: var(--muted-dark); font-size: 10px; }
.market-helper { display: flex; align-items: center; gap: 11px; margin-top: 18px; padding: 12px; border-radius: 9px; color: var(--paper); background: rgba(201,242,125,.09); border: 1px solid rgba(201,242,125,.2); font-size: 11px; }
.market-helper svg { width: 18px; height: 18px; flex: 0 0 auto; fill: none; stroke: var(--lime); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.modal-actions { display: flex; justify-content: end; gap: 8px; margin-top: 23px; padding-top: 17px; border-top: 1px solid var(--line); }
.boost-options { display: grid; grid-template-columns: repeat(3,1fr); gap: 11px; }
.boost-option { position: relative; padding: 17px 14px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.035); text-align: left; color: var(--paper); }
.boost-option:hover, .boost-option.selected { border-color: var(--orange); background: rgba(255,106,61,.09); }
.boost-option.selected::after { content: "✓"; position: absolute; top: 10px; right: 10px; color: var(--orange); font-weight: 900; }
.boost-option strong { display: block; font-size: 13px; }
.boost-option .boost-price { display: block; margin: 13px 0 5px; color: var(--orange-light); font-size: 23px; font-weight: 900; letter-spacing: -.06em; }
.boost-option span:last-child { color: var(--muted); font-size: 10px; }
.boost-benefits { display: grid; gap: 8px; margin-top: 18px; color: var(--muted); font-size: 12px; }
.boost-benefit { display: flex; align-items: center; gap: 8px; }
.boost-benefit svg { width: 15px; height: 15px; fill: none; stroke: var(--lime); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.profile-popover { position: fixed; top: 67px; right: clamp(20px, 4vw, 64px); z-index: 25; width: 245px; padding: 15px; border: 1px solid var(--line); border-radius: 13px; background: #1b261f; box-shadow: var(--shadow); }
.profile-summary { display: flex; align-items: center; gap: 10px; padding-bottom: 13px; border-bottom: 1px solid var(--line); }
.profile-summary strong { display: block; font-size: 13px; }
.profile-summary span { display: block; margin-top: 3px; color: var(--muted); font-size: 11px; }
.profile-actions { display: grid; gap: 3px; padding-top: 10px; }
.profile-actions button { display: flex; align-items: center; gap: 9px; padding: 9px 6px; border: 0; border-radius: 6px; background: transparent; color: var(--muted); text-align: left; font-size: 12px; }
.profile-actions button:hover { color: var(--paper); background: rgba(255,255,255,.05); }
.profile-actions svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.toast-root { position: fixed; right: 23px; bottom: 23px; z-index: 50; display: grid; gap: 9px; pointer-events: none; }
.toast { display: flex; align-items: center; gap: 10px; min-width: 250px; max-width: 360px; padding: 13px 15px; border: 1px solid rgba(201,242,125,.35); border-radius: 10px; color: var(--paper); background: #1b261f; box-shadow: var(--shadow); font-size: 12px; font-weight: 700; animation: toast-in .25s ease both; }
.toast svg { width: 17px; height: 17px; flex: 0 0 auto; fill: none; stroke: var(--lime); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.toast.leaving { animation: toast-out .2s ease both; }
@keyframes toast-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes toast-out { from { opacity: 1; transform: translateY(0); } to { opacity: 0; transform: translateY(8px); } }
body.modal-open { overflow: hidden; }
.site-footer { max-width: 1500px; margin: 0 auto; padding: 22px clamp(20px, 4vw, 64px) 33px; display: flex; align-items: center; gap: 12px; color: var(--muted); border-top: 1px solid var(--line); font-size: 11px; }
.footer-brand { display: inline-flex; align-items: center; gap: 6px; color: var(--paper); font-size: 14px; font-weight: 800; }
.footer-links { margin-left: auto; display: flex; gap: 16px; }
.footer-links button { padding: 0; border: 0; background: transparent; color: var(--muted); font-size: 11px; }
.footer-links button:hover { color: var(--paper); }

@media (max-width: 1180px) {
  .market-layout { grid-template-columns: 190px minmax(0, 1fr); }
  .insight-rail { grid-column: 1 / -1; grid-template-columns: repeat(3, 1fr); }
  .filter-panel { top: 96px; }
}
@media (max-width: 820px) {
  .site-header { gap: 22px; padding: 0 20px; }
  .top-nav { gap: 16px; }
  .user-name, .chevron { display: none; }
  .hero { grid-template-columns: 1fr; gap: 20px; padding-top: 42px; }
  .hero-actions { justify-self: start; }
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
  .stat-cell:nth-child(2) { border-right: 0; }
  .stat-cell:nth-child(3), .stat-cell:nth-child(4) { border-top: 1px solid var(--line); }
  .stat-cell:nth-child(3) { padding-left: 0; }
  .workspace-toolbar { align-items: stretch; flex-direction: column; }
  .search-wrap { max-width: none; }
  .view-switcher { width: fit-content; }
  .market-layout { grid-template-columns: 1fr; }
  .filter-panel { position: static; display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; }
  .filter-title { grid-column: 1 / -1; margin: 0; }
  .filter-group { padding: 12px 0; border-top: 0; }
  .filter-group:last-child { border-bottom: 0; }
  .insight-rail { grid-column: auto; grid-template-columns: 1fr; }
  .table-head { display: none; }
  .table-row { grid-template-columns: minmax(0, 1fr) auto; gap: 10px; }
  .table-row > :nth-child(2), .table-row > :nth-child(3), .table-row > :nth-child(4) { display: none; }
  .table-actions { grid-column: 2; grid-row: 1; }
  .message-layout { grid-template-columns: 1fr; }
  .conversation-list { display: flex; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .conversation-head { display: none; }
  .conversation { min-width: 170px; border-bottom: 0; }
  .chat-panel { min-height: 420px; }
}
@media (max-width: 560px) {
  .site-header { height: 66px; }
  .brand { font-size: 20px; }
  .top-nav { margin-left: auto; }
  .top-nav .nav-link:nth-child(2) { display: none; }
  .header-actions { margin-left: 0; gap: 10px; }
  .hero h1 { font-size: 43px; }
  .hero-copy { font-size: 14px; }
  .hero-actions { width: 100%; }
  .hero-actions .btn { flex: 1; }
  .stats-strip { margin-inline: -20px; padding-inline: 20px; }
  .stat-cell { padding-right: 14px; }
  .stat-cell:not(:first-child) { padding-left: 14px; }
  .stat-value { font-size: 22px; }
  .listings-grid { grid-template-columns: 1fr; }
  .product-art { height: 210px; }
  .results-head { align-items: start; flex-direction: column; gap: 10px; }
  .filter-panel { grid-template-columns: 1fr; gap: 4px; padding: 13px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--ink-2); }
  .filter-title { padding-bottom: 9px; }
  .page-heading { align-items: start; flex-direction: column; }
  .page-heading h1 { font-size: 34px; }
  .dashboard-grid { grid-template-columns: repeat(2,1fr); }
  .dashboard-stat .stat-value { font-size: 24px; }
  .detail-layout { grid-template-columns: 1fr; }
  .detail-art { height: 230px; }
  .detail-info h2 { font-size: 25px; }
  .form-grid, .boost-options { grid-template-columns: 1fr; }
  .form-field.full { grid-column: auto; }
  .modal-body, .modal-head { padding-left: 18px; padding-right: 18px; }
  .detail-actions { grid-template-columns: 1fr; }
  .site-footer { flex-wrap: wrap; }
  .footer-links { width: 100%; margin-left: 0; }
  .toast-root { right: 12px; left: 12px; bottom: 12px; }
  .toast { min-width: 0; width: 100%; }
}

/* Collector Night Market visual refresh */
:root {
  --ink: #080a0c;
  --ink-2: #12161a;
  --ink-3: #1c2329;
  --paper: #fbf3e8;
  --paper-2: #eee4d6;
  --muted: #99a4ad;
  --muted-dark: #6f7a83;
  --line: rgba(237, 244, 246, 0.12);
  --line-light: rgba(8, 10, 12, 0.1);
  --orange: #ff5d38;
  --orange-light: #ff956d;
  --lime: #dcf275;
  --blue: #71e1ec;
  --yellow: #ffc85b;
  --green: #a6e7b4;
  --danger: #ff958d;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.34);
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 11px;
}

body {
  background:
    radial-gradient(circle at 77% -12%, rgba(255, 93, 56, 0.18), transparent 29rem),
    radial-gradient(circle at 2% 46%, rgba(113, 225, 236, 0.08), transparent 24rem),
    var(--ink);
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.18;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, black 0%, transparent 72%);
}
.site-header {
  height: 82px;
  border-bottom-color: rgba(255,255,255,.09);
  background: rgba(8, 10, 12, 0.84);
  box-shadow: 0 12px 40px rgba(0,0,0,.16);
}
.brand { font-size: 24px; letter-spacing: -.075em; }
.brand-mark span { border-radius: 2px 5px 1px 1px; }
.brand-mark span:nth-child(1) { background: var(--blue); }
.brand-mark span:nth-child(2) { background: var(--orange); }
.brand-mark span:nth-child(3) { background: var(--lime); }
.top-nav { gap: 6px; }
.nav-link {
  padding: 10px 13px;
  border-radius: 8px;
  font-size: 13px;
  transition: color .18s ease, background .18s ease;
}
.nav-link.active::after { display: none; }
.nav-link.active { color: var(--paper); background: rgba(255,255,255,.085); }
.nav-link:hover { background: rgba(255,255,255,.055); }
.nav-dot { background: var(--orange); }
.user-menu {
  padding: 5px 8px 5px 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.045);
}
.user-menu:hover { border-color: rgba(255,255,255,.3); background: rgba(255,255,255,.08); }
.avatar-orange { background: var(--orange); }

.hero {
  position: relative;
  min-height: 330px;
  grid-template-columns: minmax(0, 1fr) minmax(340px, .75fr);
  gap: 48px;
  padding: 72px 0 50px;
}
.hero::after {
  content: "KOLEKT / 01";
  position: absolute;
  right: 0;
  top: 23px;
  color: rgba(255,255,255,.25);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .18em;
}
.eyebrow { color: var(--blue); letter-spacing: .18em; }
.eyebrow::before { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 5px rgba(255,93,56,.13); }
.hero h1 { max-width: 800px; margin-top: 20px; font-size: clamp(44px, 6vw, 82px); line-height: .91; letter-spacing: -.09em; }
.hero h1 em {
  color: var(--orange);
  text-shadow: 0 0 38px rgba(255,93,56,.24);
}
.hero-copy { max-width: 560px; color: #a7b0b5; font-size: 15px; }
.hero-right { display: grid; align-content: end; gap: 17px; }
.live-radar {
  position: relative;
  min-height: 144px;
  overflow: hidden;
  padding: 17px 18px;
  border: 1px solid rgba(113,225,236,.32);
  border-radius: 17px;
  background:
    linear-gradient(130deg, rgba(113,225,236,.13), rgba(255,93,56,.1) 50%, rgba(255,255,255,.03)),
    rgba(18,22,26,.86);
  box-shadow: 0 20px 60px rgba(0,0,0,.24), inset 0 1px 0 rgba(255,255,255,.08);
}
.live-radar::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  right: -90px;
  bottom: -140px;
  border: 1px solid rgba(113,225,236,.35);
  border-radius: 50%;
  box-shadow: 0 0 0 18px rgba(113,225,236,.04), 0 0 0 36px rgba(113,225,236,.03);
}
.live-radar-head, .live-radar-main, .radar-ticker { position: relative; z-index: 1; display: flex; align-items: center; }
.live-radar-head { justify-content: space-between; color: var(--muted); font-size: 9px; font-weight: 850; letter-spacing: .15em; text-transform: uppercase; }
.live-radar-head span:first-child { display: inline-flex; align-items: center; gap: 6px; color: var(--lime); }
.live-radar-head i { width: 6px; height: 6px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(220,242,117,.12); }
.live-radar-main { gap: 14px; margin-top: 18px; }
.radar-glyph { width: 49px; height: 49px; display: grid; place-items: center; border-radius: 13px; color: var(--ink); background: var(--orange); font-size: 27px; transform: rotate(-8deg); box-shadow: 8px 8px 0 rgba(113,225,236,.18); }
.live-radar-main strong { display: block; font-size: 15px; letter-spacing: -.03em; }
.live-radar-main span { display: block; margin-top: 3px; color: var(--lime); font-size: 11px; font-weight: 750; }
.radar-ticker { gap: 7px; margin-top: 15px; color: var(--muted); font-size: 10px; }
.radar-ticker span { width: 25px; height: 25px; display: grid; place-items: center; border-radius: 6px; background: rgba(255,255,255,.09); font-size: 14px; }
.radar-ticker strong { margin-left: 3px; color: var(--paper); font-size: 10px; }
.hero-actions { justify-self: stretch; justify-content: flex-end; padding-bottom: 0; }
.btn { border-radius: 10px; }
.btn-primary { box-shadow: 0 10px 28px rgba(255,93,56,.19); }
.btn-secondary { background: rgba(255,255,255,.055); }

.stats-strip {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(18,22,26,.58);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.03);
}
.stat-cell { padding: 21px 24px; border-right-color: var(--line); }
.stat-cell:not(:first-child) { padding-left: 24px; }
.stat-value { font-size: 29px; }
.stat-accent { color: var(--orange); }
.stat-label { color: #849099; }

.workspace-toolbar { padding-top: 39px; }
.search-wrap { max-width: 610px; }
.search-input {
  height: 53px;
  border-color: rgba(255,255,255,.13);
  background: rgba(18,22,26,.82);
  border-radius: 12px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}
.search-input:focus { border-color: rgba(113,225,236,.85); box-shadow: 0 0 0 3px rgba(113,225,236,.1), inset 0 1px 0 rgba(255,255,255,.04); }
.shortcut { border-color: rgba(255,255,255,.16); }
.view-switcher { border-radius: 11px; background: rgba(18,22,26,.84); }
.switch-btn:hover, .switch-btn.active { color: var(--ink); background: var(--orange); }

.market-layout { gap: 24px; }
.filter-panel { padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: rgba(18,22,26,.65); box-shadow: inset 0 1px 0 rgba(255,255,255,.035); }
.filter-title { margin-bottom: 11px; }
.filter-group { border-top-color: rgba(255,255,255,.09); }
.category-btn.active { color: var(--ink); background: var(--orange); }
.filter-select, .filter-number { background: rgba(8,10,12,.42); border-color: rgba(255,255,255,.13); }

.results-title { font-size: 23px; }
.results-meta { color: #849099; }
.listings-grid { gap: 17px; }
.listing-card {
  border-color: rgba(255,255,255,.12);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(24,29,34,.98), rgba(15,19,22,.98));
  box-shadow: 0 10px 34px rgba(0,0,0,.12);
}
.listing-card:hover { border-color: rgba(255,93,56,.66); box-shadow: 0 20px 55px rgba(0,0,0,.28), 0 0 0 1px rgba(255,93,56,.1); }
.product-art { height: 208px; }
.art-orange { background: radial-gradient(circle at 75% 20%, rgba(255,255,255,.18), transparent 18%), linear-gradient(135deg, #5a271f, #ef6944 47%, #16181a); }
.art-blue { background: radial-gradient(circle at 75% 20%, rgba(255,255,255,.18), transparent 18%), linear-gradient(135deg, #152f42, #247890 47%, #11171c); }
.art-purple { background: radial-gradient(circle at 75% 20%, rgba(255,255,255,.18), transparent 18%), linear-gradient(135deg, #31203f, #6f4e8c 47%, #14131a); }
.art-yellow { background: radial-gradient(circle at 75% 20%, rgba(255,255,255,.18), transparent 18%), linear-gradient(135deg, #5b401c, #c58f3d 47%, #181511); }
.art-green { background: radial-gradient(circle at 75% 20%, rgba(255,255,255,.18), transparent 18%), linear-gradient(135deg, #183e3c, #317f7b 47%, #0f191c); }
.art-red { background: radial-gradient(circle at 75% 20%, rgba(255,255,255,.18), transparent 18%), linear-gradient(135deg, #571f2d, #b94351 47%, #191115); }
.product-emoji { font-size: 86px; filter: drop-shadow(0 22px 12px rgba(0,0,0,.38)); }
.boost-ribbon { background: var(--orange); color: var(--ink); }
.heart-btn { border-color: rgba(255,255,255,.28); background: rgba(8,10,12,.42); }
.heart-btn.active { color: var(--orange); background: var(--paper); }
.listing-content { padding: 16px 16px 17px; }
.listing-category { color: var(--blue); }
.listing-title { min-height: 45px; font-size: 16px; }
.listing-price { font-size: 23px; }
.price-state { background: rgba(166,231,180,.13); color: var(--green); }
.price-state.mid { background: rgba(255,200,91,.13); color: var(--yellow); }
.price-state.high { background: rgba(255,149,141,.13); color: var(--danger); }
.card-footer { border-top-color: rgba(255,255,255,.1); }

.rail-card {
  border-color: rgba(255,255,255,.12);
  background: rgba(18,22,26,.76);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.035);
}
.score-ring { background: conic-gradient(var(--orange) 0 82%, rgba(255,255,255,.1) 82% 100%); }
.score-ring::after { background: var(--ink-2); }
.score-number { color: var(--paper); }
.highlight {
  border-color: rgba(255,93,56,.52);
  background: linear-gradient(145deg, #ff6742, #b92f35 65%, #4d2455);
  box-shadow: 0 20px 58px rgba(255,93,56,.14);
}
.highlight .boost-icon { background: var(--lime); }
.highlight .rail-copy { color: rgba(255,245,232,.76); }
.highlight .btn-primary { color: var(--ink); background: var(--paper); box-shadow: none; }
.trust-item svg { stroke: var(--blue); }

.page-heading { border-bottom-color: var(--line); }
.dashboard-stat, .dashboard-table, .message-layout { background: rgba(18,22,26,.76); border-color: rgba(255,255,255,.12); }
.status-pill { background: rgba(166,231,180,.13); }
.table-head, .table-row, .conversation { border-color: rgba(255,255,255,.1); }
.table-thumb { background: var(--ink-3); }

.modal {
  border-color: rgba(255,255,255,.16);
  background: #151b20;
}
.modal-head { border-bottom-color: rgba(255,255,255,.1); }
.modal-close { border-color: rgba(255,255,255,.16); }
.form-field input, .form-field select, .form-field textarea { background: rgba(8,10,12,.42); border-color: rgba(255,255,255,.13); }
.market-helper { background: rgba(113,225,236,.08); border-color: rgba(113,225,236,.24); }
.toast { border-color: rgba(113,225,236,.35); background: #151b20; }
.toast svg { stroke: var(--blue); }
.site-footer { border-top-color: rgba(255,255,255,.1); }

@media (max-width: 820px) {
  .hero { gap: 30px; padding-top: 53px; }
  .hero-right { justify-self: stretch; }
  .hero-actions { justify-content: flex-start; }
}
@media (max-width: 560px) {
  .hero { padding-top: 42px; }
  .hero::after { display: none; }
  .hero h1 { font-size: 50px; }
  .live-radar { min-height: 135px; }
  .stats-strip { border-radius: 0; border-left: 0; border-right: 0; margin-inline: -20px; padding-inline: 20px; }
  .filter-panel { background: rgba(18,22,26,.82); }
}

/* Atelier Light theme trial */
:root {
  --ink: #142033;
  --ink-2: #fffdfa;
  --ink-3: #f0ebe2;
  --paper: #142033;
  --paper-2: #25354c;
  --muted: #697584;
  --muted-dark: #8b949d;
  --line: rgba(20, 32, 51, 0.13);
  --line-light: rgba(20, 32, 51, 0.1);
  --orange: #cf633f;
  --orange-light: #c55231;
  --lime: #b9a246;
  --blue: #287c91;
  --yellow: #a6761d;
  --green: #2f7d59;
  --danger: #b34847;
  --shadow: 0 24px 70px rgba(36, 45, 57, 0.14);
}

body {
  color: var(--paper);
  background:
    radial-gradient(circle at 91% -8%, rgba(207, 99, 63, 0.14), transparent 25rem),
    radial-gradient(circle at -8% 40%, rgba(40, 124, 145, 0.11), transparent 24rem),
    #f5f1e9;
}
body::before {
  opacity: .28;
  background-image: linear-gradient(rgba(20,32,51,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(20,32,51,.05) 1px, transparent 1px);
  mask-image: linear-gradient(to bottom, black 0%, transparent 68%);
}
.site-header {
  border-bottom-color: rgba(20,32,51,.1);
  background: rgba(255,253,250,.87);
  box-shadow: 0 10px 35px rgba(36,45,57,.07);
}
.brand-mark span:nth-child(1) { background: var(--blue); }
.brand-mark span:nth-child(2) { background: var(--orange); }
.brand-mark span:nth-child(3) { background: var(--lime); }
.nav-link { color: #7b8490; }
.nav-link.active { color: var(--paper); background: rgba(20,32,51,.08); }
.nav-link:hover { color: var(--paper); background: rgba(20,32,51,.055); }
.nav-dot { color: #fffdfa; }
.user-menu { border-color: rgba(20,32,51,.13); background: rgba(255,253,250,.9); }
.user-menu:hover { border-color: rgba(20,32,51,.3); background: #fffdfa; }
.chevron { color: var(--paper); }

.hero::after { color: rgba(20,32,51,.35); }
.eyebrow { color: var(--blue); }
.hero h1 { color: var(--paper); text-shadow: none; }
.hero h1 em { color: var(--orange); text-shadow: none; }
.hero-copy { color: #667282; }
.live-radar {
  border-color: rgba(40,124,145,.4);
  background:
    radial-gradient(circle at 88% 22%, rgba(207,99,63,.24), transparent 11rem),
    linear-gradient(135deg, #142033, #213e56 70%, #1b5969);
  box-shadow: 0 20px 50px rgba(20,32,51,.18), inset 0 1px 0 rgba(255,255,255,.12);
}
.live-radar-head { color: rgba(255,253,250,.63); }
.live-radar-head span:first-child { color: var(--lime); }
.live-radar-main strong { color: #fffdfa; }
.live-radar-main span { color: var(--lime); }
.radar-ticker { color: rgba(255,253,250,.68); }
.radar-ticker strong { color: #fffdfa; }
.hero-actions .btn-secondary { color: var(--paper); }

.stats-strip {
  border-color: rgba(20,32,51,.13);
  background: rgba(255,253,250,.74);
  box-shadow: 0 10px 30px rgba(36,45,57,.05), inset 0 1px 0 rgba(255,255,255,.8);
}
.stat-cell { border-right-color: rgba(20,32,51,.11); }
.stat-value { color: var(--paper); }
.stat-accent { color: var(--orange); }
.stat-label { color: #798492; }

.search-input {
  color: var(--paper);
  border-color: rgba(20,32,51,.15);
  background: rgba(255,253,250,.91);
  box-shadow: 0 9px 25px rgba(36,45,57,.06), inset 0 1px 0 rgba(255,255,255,.95);
}
.search-wrap svg { stroke: #7e8994; }
.search-input::placeholder { color: #98a0a8; }
.search-input:focus { border-color: rgba(40,124,145,.75); box-shadow: 0 0 0 3px rgba(40,124,145,.1), 0 9px 25px rgba(36,45,57,.06); }
.shortcut { color: #788491; border-color: rgba(20,32,51,.14); background: #f5f1e9; }
.view-switcher { border-color: rgba(20,32,51,.13); background: rgba(255,253,250,.74); }
.switch-btn { color: #788491; }
.switch-btn:hover, .switch-btn.active { color: #fffdfa; background: var(--ink); }

.filter-panel {
  border-color: rgba(20,32,51,.13);
  background: rgba(255,253,250,.72);
  box-shadow: 0 12px 35px rgba(36,45,57,.06), inset 0 1px 0 rgba(255,255,255,.8);
}
.filter-title { color: var(--paper); }
.filter-clear { color: var(--orange); }
.filter-group { border-top-color: rgba(20,32,51,.1); }
.filter-label { color: #73808e; }
.category-btn { color: #657180; }
.category-btn span:last-child { color: #9aa3ab; }
.category-btn:hover { color: var(--paper); background: rgba(20,32,51,.05); }
.category-btn.active { color: #fffdfa; background: var(--ink); }
.category-btn.active span:last-child { color: #fffdfa; }
.filter-select, .filter-number {
  color: var(--paper);
  border-color: rgba(20,32,51,.14);
  background: rgba(245,241,233,.7);
}
.filter-select option { color: var(--paper); }
.check-row { color: #657180; }

.results-title { color: var(--paper); }
.results-meta, .sort-wrap label { color: #7b8793; }
.sort-select { color: var(--paper); }
.sort-select option { color: var(--paper); }
.listing-card {
  border-color: rgba(20,32,51,.12);
  background: rgba(255,253,250,.94);
  box-shadow: 0 14px 32px rgba(36,45,57,.08);
}
.listing-card:hover {
  border-color: rgba(207,99,63,.65);
  box-shadow: 0 22px 48px rgba(36,45,57,.13), 0 0 0 1px rgba(207,99,63,.09);
}
.product-art { box-shadow: inset 0 -1px 0 rgba(20,32,51,.16); }
.product-art::before { background: rgba(255,255,255,.2); }
.art-orange { background: radial-gradient(circle at 75% 20%, rgba(255,255,255,.22), transparent 18%), linear-gradient(135deg, #713a2a, #d96c48 47%, #263242); }
.art-blue { background: radial-gradient(circle at 75% 20%, rgba(255,255,255,.22), transparent 18%), linear-gradient(135deg, #1d3d56, #3a91a4 48%, #273849); }
.art-purple { background: radial-gradient(circle at 75% 20%, rgba(255,255,255,.22), transparent 18%), linear-gradient(135deg, #43345b, #896ea3 48%, #2b3243); }
.art-yellow { background: radial-gradient(circle at 75% 20%, rgba(255,255,255,.22), transparent 18%), linear-gradient(135deg, #785523, #c99b50 48%, #303642); }
.art-green { background: radial-gradient(circle at 75% 20%, rgba(255,255,255,.22), transparent 18%), linear-gradient(135deg, #20514c, #529b8c 48%, #283b46); }
.art-red { background: radial-gradient(circle at 75% 20%, rgba(255,255,255,.22), transparent 18%), linear-gradient(135deg, #702d3b, #c8545c 48%, #313140); }
.boost-ribbon { background: var(--orange); color: #fffdfa; }
.heart-btn { color: #fffdfa; border-color: rgba(255,255,255,.45); background: rgba(20,32,51,.46); }
.heart-btn.active { color: var(--orange); background: #fffdfa; border-color: #fffdfa; }
.listing-meta { color: #7f8b97; }
.listing-category { color: var(--blue); }
.listing-title { color: var(--paper); }
.listing-price { color: var(--paper); }
.listing-price small { color: #8a949e; }
.price-state { background: rgba(47,125,89,.11); color: var(--green); }
.price-state.mid { background: rgba(166,118,29,.12); color: var(--yellow); }
.price-state.high { background: rgba(179,72,71,.11); color: var(--danger); }
.card-footer { color: #798694; border-top-color: rgba(20,32,51,.1); }

.rail-card {
  border-color: rgba(20,32,51,.13);
  background: rgba(255,253,250,.76);
  box-shadow: 0 12px 35px rgba(36,45,57,.06), inset 0 1px 0 rgba(255,255,255,.8);
}
.rail-heading h3, .score-copy, .benchmark-value, .trust-item strong { color: var(--paper); }
.rail-heading svg { color: var(--blue); }
.score-ring { background: conic-gradient(var(--orange) 0 82%, rgba(20,32,51,.12) 82% 100%); }
.score-ring::after { background: #fffdfa; }
.score-number { color: var(--paper); }
.score-copy span, .rail-copy, .benchmark-label, .trust-item span { color: #788491; }
.benchmark-row { border-top-color: rgba(20,32,51,.1); }
.benchmark-row:last-child { border-bottom-color: rgba(20,32,51,.1); }
.highlight {
  border-color: rgba(20,32,51,.1);
  background: linear-gradient(145deg, #142033, #21465b 68%, #287c91);
  box-shadow: 0 18px 45px rgba(20,32,51,.16);
}
.highlight h3 { color: #fffdfa; }
.highlight .boost-icon { color: var(--ink); background: var(--orange); }
.highlight .rail-copy { color: rgba(255,253,250,.7); }
.highlight .btn-primary { color: #fffdfa; background: var(--orange); }
.trust-item svg { stroke: var(--blue); }

.empty-state { border-color: rgba(20,32,51,.18); }
.empty-state h3 { color: var(--paper); }
.empty-state p { color: #788491; }
.empty-icon { background: rgba(40,124,145,.1); color: var(--blue); }
.page-heading { border-bottom-color: rgba(20,32,51,.12); }
.page-heading h1 { color: var(--paper); }
.page-heading p { color: #788491; }
.dashboard-stat, .dashboard-table, .message-layout {
  border-color: rgba(20,32,51,.13);
  background: rgba(255,253,250,.8);
}
.dashboard-stat .stat-label { color: #788491; }
.dashboard-stat .stat-value { color: var(--paper); }
.table-head, .table-row, .conversation { border-color: rgba(20,32,51,.1); }
.table-head { color: #7d8995; }
.table-product strong, .conversation-copy strong { color: var(--paper); }
.table-product span, .table-cell-muted, .conversation-copy span, .conversation-time { color: #788491; }
.table-thumb { background: var(--ink-3); }
.conversation { color: var(--paper); }
.conversation:hover, .conversation.active { background: rgba(20,32,51,.045); }
.chat-head, .chat-composer { border-color: rgba(20,32,51,.1); }
.chat-person strong { color: var(--paper); }
.chat-listing { border-color: rgba(20,32,51,.12); color: #788491; }
.message-bubble { color: var(--paper); background: rgba(20,32,51,.07); }
.chat-composer input { color: var(--paper); border-color: rgba(20,32,51,.14); background: #f5f1e9; }

.modal-backdrop { background: rgba(20,32,51,.43); }
.modal { border-color: rgba(20,32,51,.15); background: #fffdfa; }
.modal-head { border-bottom-color: rgba(20,32,51,.1); }
.modal-head h2, .detail-info h2 { color: var(--paper); }
.modal-head p, .detail-description, .detail-seller span, .field-hint { color: #788491; }
.modal-close { color: #788491; border-color: rgba(20,32,51,.16); }
.modal-close:hover { color: var(--paper); border-color: var(--paper); }
.form-field label { color: #697684; }
.form-field input, .form-field select, .form-field textarea {
  color: var(--paper);
  border-color: rgba(20,32,51,.14);
  background: #f5f1e9;
}
.form-field select option { color: var(--paper); }
.market-helper { color: var(--paper); background: rgba(40,124,145,.08); border-color: rgba(40,124,145,.2); }
.market-helper svg { stroke: var(--blue); }
.detail-facts { border-color: rgba(20,32,51,.12); }
.detail-fact { background: #f5f1e9; }
.detail-fact strong { color: var(--paper); }
.detail-fact span { color: #788491; }
.detail-bench { color: var(--green); }
.profile-popover { border-color: rgba(20,32,51,.14); background: #fffdfa; }
.profile-summary { border-bottom-color: rgba(20,32,51,.1); }
.profile-summary strong { color: var(--paper); }
.profile-summary span, .profile-actions button { color: #788491; }
.profile-actions button:hover { color: var(--paper); background: rgba(20,32,51,.05); }
.toast { border-color: rgba(40,124,145,.25); color: var(--paper); background: #fffdfa; }
.toast svg { stroke: var(--blue); }
.site-footer { color: #788491; border-top-color: rgba(20,32,51,.1); }
.footer-brand { color: var(--paper); }
.footer-links button { color: #788491; }
.footer-links button:hover { color: var(--paper); }

@media (max-width: 560px) {
  .stats-strip { background: rgba(255,253,250,.82); }
  .filter-panel { background: rgba(255,253,250,.86); }
}

/* Trust & Energy — evidence-led color pass */
:root {
  --ink: #14263d;
  --ink-2: #fffefa;
  --ink-3: #edf2f4;
  --paper: #14263d;
  --paper-2: #28415e;
  --muted: #647384;
  --muted-dark: #8995a1;
  --line: rgba(20, 38, 61, 0.13);
  --line-light: rgba(20, 38, 61, 0.1);
  --orange: #e5633c;
  --orange-light: #cc4e2d;
  --lime: #b8953a;
  --blue: #176d87;
  --yellow: #a9781d;
  --green: #2d7b58;
  --danger: #b54d4b;
  --shadow: 0 22px 60px rgba(29, 45, 61, 0.13);
}

body {
  background:
    radial-gradient(circle at 92% -9%, rgba(229,99,60,.12), transparent 24rem),
    radial-gradient(circle at -10% 38%, rgba(23,109,135,.09), transparent 25rem),
    #f7f3ec;
}
body::before {
  opacity: .2;
  background-size: 52px 52px;
  background-image: linear-gradient(rgba(20,38,61,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(20,38,61,.035) 1px, transparent 1px);
}
.site-header {
  background: rgba(255,254,250,.93);
  border-bottom-color: rgba(20,38,61,.11);
  box-shadow: 0 8px 30px rgba(29,45,61,.06);
}
.brand-mark span:nth-child(1) { background: var(--blue); }
.brand-mark span:nth-child(2) { background: var(--orange); }
.brand-mark span:nth-child(3) { background: var(--lime); }
.nav-link { color: #718092; }
.nav-link.active { color: #fffefa; background: var(--ink); }
.nav-link:hover { color: var(--ink); background: rgba(20,38,61,.06); }
.nav-link.active:hover { color: #fffefa; background: var(--ink); }
.user-menu { color: var(--ink); border-color: rgba(20,38,61,.14); background: #fffefa; }
.user-menu:hover { border-color: rgba(20,38,61,.3); background: #fffefa; }

.hero { padding-top: 65px; }
.hero h1 { color: var(--ink); }
.hero h1 em { color: var(--orange); }
.eyebrow { color: var(--blue); }
.eyebrow::before { background: var(--orange); box-shadow: 0 0 0 5px rgba(229,99,60,.13); }
.hero-copy { color: #647384; }
.live-radar {
  background:
    radial-gradient(circle at 88% 22%, rgba(229,99,60,.24), transparent 11rem),
    linear-gradient(135deg, #14263d, #214a63 70%, #176d87);
  border-color: rgba(23,109,135,.4);
}
.live-radar-head span:first-child { color: #e1eea0; }
.live-radar-main span { color: #e1eea0; }
.radar-glyph { background: var(--orange); box-shadow: 8px 8px 0 rgba(225,238,160,.22); }
.hero-actions .btn-secondary { color: var(--ink); border-color: rgba(20,38,61,.15); background: rgba(255,254,250,.72); }

.stats-strip { background: rgba(255,254,250,.78); border-color: rgba(20,38,61,.13); }
.stat-cell { border-right-color: rgba(20,38,61,.11); }
.stat-value { color: var(--ink); }
.stat-accent { color: var(--orange); }
.stat-label { color: #798696; }

.search-input { color: var(--ink); background: #fffefa; border-color: rgba(20,38,61,.15); }
.search-input:focus { border-color: rgba(23,109,135,.8); box-shadow: 0 0 0 3px rgba(23,109,135,.1), 0 9px 25px rgba(29,45,61,.06); }
.shortcut { color: #718092; background: #f7f3ec; border-color: rgba(20,38,61,.14); }
.view-switcher { background: #fffefa; border-color: rgba(20,38,61,.13); }
.switch-btn { color: #718092; }
.switch-btn:hover, .switch-btn.active { color: #fffefa; background: var(--ink); }

.filter-panel { background: rgba(255,254,250,.8); border-color: rgba(20,38,61,.13); }
.filter-title { color: var(--ink); }
.filter-group { border-top-color: rgba(20,38,61,.1); }
.filter-label { color: #718092; }
.category-btn { color: #647384; }
.category-btn:hover { color: var(--ink); background: rgba(20,38,61,.05); }
.category-btn.active { color: #fffefa; background: var(--ink); }
.filter-select, .filter-number { color: var(--ink); background: #f7f3ec; border-color: rgba(20,38,61,.14); }
.check-row { color: #647384; }
.check-row input { accent-color: var(--blue); }

.results-title { color: var(--ink); }
.results-meta, .sort-wrap label { color: #798696; }
.sort-select { color: var(--ink); }
.listing-card { background: rgba(255,254,250,.97); border-color: rgba(20,38,61,.12); box-shadow: 0 14px 32px rgba(29,45,61,.08); }
.listing-card:hover { border-color: rgba(229,99,60,.68); box-shadow: 0 22px 48px rgba(29,45,61,.13), 0 0 0 1px rgba(229,99,60,.09); }
.listing-content { background: #fffefa; }
.listing-meta { color: #7d8997; }
.listing-category { color: var(--blue); }
.listing-title, .listing-price { color: var(--ink); }
.listing-price small { color: #8995a1; }
.card-footer { color: #7d8997; border-top-color: rgba(20,38,61,.1); }
.price-state { background: rgba(45,123,88,.11); color: var(--green); }
.price-state.mid { background: rgba(169,120,29,.12); color: var(--yellow); }
.price-state.high { background: rgba(181,77,75,.11); color: var(--danger); }
.heart-btn { background: rgba(20,38,61,.47); }
.heart-btn.active { color: var(--orange); }
.boost-ribbon { background: var(--orange); }

.rail-card { background: rgba(255,254,250,.82); border-color: rgba(20,38,61,.13); }
.rail-heading h3, .score-copy, .benchmark-value, .trust-item strong { color: var(--ink); }
.rail-heading svg { color: var(--blue); }
.score-ring { background: conic-gradient(var(--orange) 0 82%, rgba(20,38,61,.12) 82% 100%); }
.score-ring::after { background: #fffefa; }
.score-number { color: var(--ink); }
.score-copy span, .rail-copy, .benchmark-label, .trust-item span { color: #788696; }
.benchmark-row { border-top-color: rgba(20,38,61,.1); }
.benchmark-row:last-child { border-bottom-color: rgba(20,38,61,.1); }
.highlight { background: linear-gradient(145deg, #14263d, #214a63 68%, #176d87); border-color: rgba(20,38,61,.1); box-shadow: 0 18px 45px rgba(20,38,61,.16); }
.highlight .boost-icon { color: #fffefa; background: var(--orange); }
.highlight .rail-copy { color: rgba(255,254,250,.72); }
.highlight .btn-primary { color: #fffefa; background: var(--orange); }
.trust-item svg { stroke: var(--blue); }

.page-heading { border-bottom-color: rgba(20,38,61,.12); }
.page-heading h1 { color: var(--ink); }
.page-heading p { color: #788696; }
.dashboard-stat, .dashboard-table, .message-layout { background: rgba(255,254,250,.84); border-color: rgba(20,38,61,.13); }
.dashboard-stat .stat-label { color: #788696; }
.dashboard-stat .stat-value { color: var(--ink); }
.table-head, .table-row, .conversation { border-color: rgba(20,38,61,.1); }
.table-head { color: #7d8997; }
.table-product strong, .conversation-copy strong { color: var(--ink); }
.table-product span, .table-cell-muted, .conversation-copy span, .conversation-time { color: #788696; }
.conversation { color: var(--ink); }
.conversation:hover, .conversation.active { background: rgba(20,38,61,.045); }
.chat-head, .chat-composer { border-color: rgba(20,38,61,.1); }
.chat-person strong { color: var(--ink); }
.chat-listing { color: #788696; border-color: rgba(20,38,61,.12); }
.message-bubble { color: var(--ink); background: rgba(20,38,61,.07); }
.chat-composer input { color: var(--ink); background: #f7f3ec; border-color: rgba(20,38,61,.14); }

.modal-backdrop { background: rgba(20,38,61,.4); }
.modal { background: #fffefa; border-color: rgba(20,38,61,.15); }
.modal-head { border-bottom-color: rgba(20,38,61,.1); }
.modal-head h2, .detail-info h2 { color: var(--ink); }
.modal-head p, .detail-description, .detail-seller span, .field-hint { color: #788696; }
.modal-close { color: #788696; border-color: rgba(20,38,61,.16); }
.modal-close:hover { color: var(--ink); border-color: var(--ink); }
.form-field label { color: #697787; }
.form-field input, .form-field select, .form-field textarea { color: var(--ink); background: #f7f3ec; border-color: rgba(20,38,61,.14); }
.form-field select option { color: var(--ink); }
.market-helper { color: var(--ink); background: rgba(23,109,135,.08); border-color: rgba(23,109,135,.2); }
.market-helper svg { stroke: var(--blue); }
.detail-facts { border-color: rgba(20,38,61,.12); }
.detail-fact { background: #f7f3ec; }
.detail-fact strong { color: var(--ink); }
.detail-fact span { color: #788696; }
.profile-popover { background: #fffefa; border-color: rgba(20,38,61,.14); }
.profile-summary { border-bottom-color: rgba(20,38,61,.1); }
.profile-summary strong { color: var(--ink); }
.profile-summary span, .profile-actions button { color: #788696; }
.profile-actions button:hover { color: var(--ink); background: rgba(20,38,61,.05); }
.toast { color: var(--ink); background: #fffefa; border-color: rgba(23,109,135,.25); }
.toast svg { stroke: var(--blue); }
.site-footer { color: #788696; border-top-color: rgba(20,38,61,.1); }
.footer-brand { color: var(--ink); }
.footer-links button { color: #788696; }
.footer-links button:hover { color: var(--ink); }

/* Champagne Gold premium accent */
:root {
  --orange: #b7893a;
  --orange-light: #956b27;
  --lime: #c9ad68;
  --plum: #72536d;
}

.brand-mark span:nth-child(2) { background: linear-gradient(180deg, #e4c980, #a9792c); }
.eyebrow::before { background: #c19642; box-shadow: 0 0 0 5px rgba(183,137,58,.14); }
.hero h1 em { color: #a8782b; }
.hero::before {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  right: 9%;
  top: 47px;
  border: 1px solid rgba(183,137,58,.15);
  border-radius: 50%;
  box-shadow: 0 0 0 18px rgba(114,83,109,.035), 0 0 0 36px rgba(183,137,58,.025);
  pointer-events: none;
}
.live-radar {
  border-color: rgba(183,137,58,.42);
  background:
    radial-gradient(circle at 88% 22%, rgba(183,137,58,.3), transparent 11rem),
    linear-gradient(135deg, #14263d, #3e334d 68%, #214f60);
}
.live-radar-head span:first-child, .live-radar-main span { color: #ead59a; }
.radar-glyph {
  background: linear-gradient(135deg, #e2c57b, #a8782b);
  box-shadow: 8px 8px 0 rgba(114,83,109,.28);
}
.stat-accent { color: #a8782b; }
.btn-primary {
  color: #142033;
  background: linear-gradient(135deg, #d7bd79, #ae7d2d);
  box-shadow: 0 10px 28px rgba(183,137,58,.22);
}
.btn-primary:hover { background: linear-gradient(135deg, #e4cc91, #bd8d39); }
.filter-clear { color: #9a702b; }
.listing-card:hover { border-color: rgba(183,137,58,.68); box-shadow: 0 22px 48px rgba(29,45,61,.13), 0 0 0 1px rgba(183,137,58,.1); }
.boost-ribbon {
  color: #142033;
  background: linear-gradient(135deg, #e0c47c, #ae7d2d);
}
.heart-btn.active { color: #a8782b; }
.highlight {
  background: linear-gradient(145deg, #14263d, #3d304d 68%, #1d5262);
}
.highlight .boost-icon {
  color: #142033;
  background: linear-gradient(135deg, #e0c47c, #ae7d2d);
}
.highlight .btn-primary {
  color: #142033;
  background: linear-gradient(135deg, #e0c47c, #ae7d2d);
}
.score-ring { background: conic-gradient(#b7893a 0 82%, rgba(20,38,61,.12) 82% 100%); }
.market-helper { border-color: rgba(114,83,109,.25); background: rgba(114,83,109,.07); }
.market-helper svg { stroke: #72536d; }
.toast { border-color: rgba(183,137,58,.3); }
.toast svg { stroke: #a8782b; }
.modal .btn-primary { box-shadow: 0 10px 25px rgba(183,137,58,.18); }

/* Royal Collector — saturated premium accent */
:root {
  --orange: #6d28d9;
  --orange-light: #8b5cf6;
  --lime: #c59a48;
  --blue: #185c7a;
  --yellow: #9a6b1e;
  --green: #2d7b58;
  --danger: #a94352;
  --shadow: 0 24px 68px rgba(36, 26, 67, 0.14);
}

.brand-mark span:nth-child(1) { background: var(--blue); }
.brand-mark span:nth-child(2) { background: linear-gradient(180deg, #9c6cff, #5b21b6); }
.brand-mark span:nth-child(3) { background: var(--lime); }
.eyebrow::before { background: var(--orange); box-shadow: 0 0 0 5px rgba(109,40,217,.13); }
.hero h1 em { color: var(--orange); }
.hero::before {
  border-color: rgba(109,40,217,.16);
  box-shadow: 0 0 0 18px rgba(109,40,217,.04), 0 0 0 36px rgba(197,154,72,.04);
}
.live-radar {
  border-color: rgba(109,40,217,.42);
  background:
    radial-gradient(circle at 88% 22%, rgba(139,92,246,.34), transparent 11rem),
    linear-gradient(135deg, #14263d, #37245a 67%, #185c7a);
}
.live-radar-head span:first-child, .live-radar-main span { color: #e5cf94; }
.radar-glyph {
  color: #fffefa;
  background: linear-gradient(135deg, #8b5cf6, #5b21b6);
  box-shadow: 8px 8px 0 rgba(197,154,72,.22);
}
.btn-primary {
  color: #fffefa;
  background: linear-gradient(135deg, #7c3aed, #5b21b6);
  box-shadow: 0 10px 28px rgba(109,40,217,.24);
}
.btn-primary:hover { color: #fffefa; background: linear-gradient(135deg, #9466ff, #6d28d9); }
.stat-accent, .filter-clear { color: var(--orange); }
.category-btn.active {
  color: #fffefa;
  background: linear-gradient(135deg, #7c3aed, #5b21b6);
}
.category-btn.active span:last-child { color: #fffefa; }
.listing-card:hover {
  border-color: rgba(109,40,217,.62);
  box-shadow: 0 22px 48px rgba(36,26,67,.13), 0 0 0 1px rgba(109,40,217,.1);
}
.boost-ribbon {
  color: #fffefa;
  background: linear-gradient(135deg, #8b5cf6, #5b21b6);
}
.heart-btn.active { color: var(--orange); }
.highlight {
  background: linear-gradient(145deg, #14263d, #39245b 66%, #185c7a);
}
.highlight .boost-icon {
  color: #fffefa;
  background: linear-gradient(135deg, #8b5cf6, #5b21b6);
}
.highlight .btn-primary {
  color: #fffefa;
  background: linear-gradient(135deg, #7c3aed, #5b21b6);
}
.score-ring { background: conic-gradient(#6d28d9 0 82%, rgba(20,38,61,.12) 82% 100%); }
.market-helper { border-color: rgba(109,40,217,.2); background: rgba(109,40,217,.06); }
.market-helper svg { stroke: var(--orange); }
.toast { border-color: rgba(109,40,217,.25); }
.toast svg { stroke: var(--orange); }
.modal .btn-primary { box-shadow: 0 10px 25px rgba(109,40,217,.2); }

/* Soft purple fade */
body {
  background:
    radial-gradient(circle at 92% -9%, rgba(109,40,217,.13), transparent 24rem),
    radial-gradient(circle at -10% 38%, rgba(23,109,135,.09), transparent 25rem),
    #f7f3ec;
}
.hero h1 em {
  background: linear-gradient(100deg, #4c1d95 0%, #6d28d9 42%, #a78bfa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.btn-primary {
  background: linear-gradient(112deg, #4c1d95 0%, #6d28d9 46%, #9b72ef 100%);
}
.btn-primary:hover {
  background: linear-gradient(112deg, #5b21b6 0%, #7c3aed 48%, #b39bff 100%);
}
.category-btn.active {
  background: linear-gradient(112deg, #4c1d95 0%, #6d28d9 52%, #8b5cf6 100%);
}
.boost-ribbon {
  background: linear-gradient(112deg, #4c1d95 0%, #6d28d9 50%, #a78bfa 100%);
}
.radar-glyph {
  background: linear-gradient(135deg, #5b21b6 0%, #7c3aed 52%, #b39bff 100%);
}
.highlight {
  background:
    radial-gradient(circle at 85% 5%, rgba(179,155,255,.26), transparent 10rem),
    linear-gradient(145deg, #14263d 0%, #35205a 54%, #6d28d9 100%);
}
.highlight .boost-icon {
  background: linear-gradient(135deg, #5b21b6, #a78bfa);
}
.highlight .btn-primary {
  background: linear-gradient(112deg, #4c1d95, #7c3aed 55%, #a78bfa);
}
.score-ring {
  background: conic-gradient(#4c1d95 0%, #6d28d9 48%, #a78bfa 82%, rgba(20,38,61,.12) 82% 100%);
}
.market-helper {
  background: linear-gradient(110deg, rgba(109,40,217,.08), rgba(167,139,250,.05));
}
.heart-btn.active {
  color: #fffefa;
  border-color: #7c3aed;
  background: linear-gradient(135deg, #5b21b6, #9b72ef);
}
.toast { border-color: rgba(109,40,217,.28); }

/* Prevent the last glyph of the gradient headline from being clipped */
.hero h1 em {
  display: inline;
  overflow: visible;
  padding-right: .02em;
  background: none !important;
  background-clip: initial !important;
  -webkit-background-clip: initial !important;
  color: #6d28d9 !important;
  -webkit-text-fill-color: #6d28d9 !important;
  text-shadow: 0 1px 0 rgba(109,40,217,.08);
}

/* Premium account, listing upload and moderation experience */
.heading-actions { display: flex; align-items: center; justify-content: flex-end; gap: 9px; flex-wrap: wrap; }
.avatar.has-photo { overflow: hidden; padding: 0; }
.avatar-image, .avatar img { display: block; width: 100%; height: 100%; object-fit: cover; }
.product-image { position: relative; z-index: 1; display: block; width: 100%; height: 100%; object-fit: cover; }
.product-art > .product-image { min-width: 100%; min-height: 100%; }
.detail-art > .product-image { width: 100%; height: 100%; object-fit: cover; }
.table-thumb { overflow: hidden; }
.table-thumb .product-image { width: 100%; height: 100%; object-fit: cover; }
.table-thumb .product-emoji { font-size: 23px; }

.profile-mini-card { display: flex; align-items: flex-start; gap: 9px; margin-top: 13px; padding: 10px; border: 1px solid rgba(109,40,217,.13); border-radius: 10px; background: linear-gradient(135deg, rgba(109,40,217,.08), rgba(197,154,72,.07)); }
.profile-mini-card > span { display: grid; place-items: center; width: 25px; height: 25px; flex: 0 0 auto; border-radius: 8px; color: #6d28d9; background: rgba(109,40,217,.11); }
.profile-summary > .avatar { display: inline-grid; margin-top: 0; }
.profile-mini-card svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.profile-mini-card strong, .profile-mini-card small { display: block; }
.profile-mini-card strong { color: var(--ink); font-size: 10px; }
.profile-mini-card small { margin-top: 3px; color: #788696; font-size: 9px; line-height: 1.35; }
.profile-count { min-width: 18px; margin-left: auto; padding: 2px 5px; border-radius: 99px; color: #fffefa !important; background: #6d28d9; text-align: center; font-size: 9px !important; font-weight: 850; }

.moderation-banner { display: flex; align-items: center; gap: 12px; margin: 18px 0; padding: 13px 15px; border: 1px solid rgba(109,40,217,.16); border-radius: 12px; color: var(--ink); background: linear-gradient(110deg, rgba(109,40,217,.075), rgba(167,139,250,.045)); }
.moderation-banner > svg { width: 20px; height: 20px; flex: 0 0 auto; fill: none; stroke: #6d28d9; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.moderation-banner > div { min-width: 0; flex: 1; }
.moderation-banner strong, .moderation-banner span { display: block; }
.moderation-banner strong { font-size: 12px; }
.moderation-banner span { margin-top: 3px; color: #788696; font-size: 11px; line-height: 1.4; }
.moderation-banner.pending { border-color: rgba(109,40,217,.2); background: linear-gradient(110deg, rgba(109,40,217,.095), rgba(167,139,250,.05)); }
.moderation-banner.rejected { border-color: rgba(169,67,82,.23); background: rgba(169,67,82,.06); }
.moderation-banner.rejected > svg { stroke: #a94352; }
.pending-text { color: #6d28d9 !important; }

.admin-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 24px 0 18px; }
.moderation-grid { display: grid; gap: 15px; }
.moderation-card { display: grid; grid-template-columns: 240px minmax(0, 1fr); overflow: hidden; border: 1px solid rgba(20,38,61,.13); border-radius: 16px; background: #fffefa; box-shadow: 0 16px 42px rgba(36,26,67,.06); }
.moderation-thumb { min-height: 250px; border-radius: 0; }
.moderation-thumb .product-image { min-width: 100%; min-height: 100%; }
.moderation-card-body { min-width: 0; padding: 20px 22px; }
.moderation-card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.moderation-card h3 { margin: 12px 0 7px; color: var(--ink); font-size: 20px; letter-spacing: -.045em; }
.moderation-card-body > p { max-width: 690px; margin: 0; color: #788696; font-size: 12px; line-height: 1.55; }
.moderation-meta { display: flex; align-items: center; gap: 17px; margin-top: 16px; color: #788696; font-size: 11px; flex-wrap: wrap; }
.moderation-meta span { display: inline-flex; align-items: center; gap: 5px; }
.moderation-meta svg { width: 14px; height: 14px; fill: none; stroke: #6d28d9; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.moderation-meta strong { margin-left: auto; color: var(--ink); font-size: 17px; letter-spacing: -.04em; }
.moderation-checks { display: flex; align-items: center; gap: 12px; margin-top: 17px; padding: 11px 0; border-top: 1px solid rgba(20,38,61,.09); border-bottom: 1px solid rgba(20,38,61,.09); flex-wrap: wrap; }
.moderation-checks span { display: inline-flex; align-items: center; gap: 5px; color: #788696; font-size: 10px; font-weight: 700; }
.moderation-checks svg { width: 14px; height: 14px; fill: none; stroke: #2d7b58; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.moderation-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 16px; }
.status-pill.approved { background: rgba(45,123,88,.1); color: #2d7b58; }
.status-pill.pending { background: rgba(109,40,217,.1); color: #6d28d9; }
.status-pill.rejected { background: rgba(169,67,82,.1); color: #a94352; }

.profile-settings-layout { display: grid; gap: 22px; }
.profile-photo-panel { display: flex; align-items: center; gap: 18px; padding: 17px; border: 1px solid rgba(20,38,61,.11); border-radius: 14px; background: linear-gradient(110deg, rgba(109,40,217,.055), rgba(197,154,72,.055)); }
.profile-photo-preview { width: 86px; height: 86px; display: grid; place-items: center; flex: 0 0 auto; overflow: hidden; border: 4px solid #fffefa; border-radius: 50%; color: #fffefa; background: linear-gradient(135deg, #5b21b6, #a78bfa); box-shadow: 0 9px 25px rgba(109,40,217,.2); font-size: 25px; font-weight: 850; }
.profile-photo-preview img { display: block; width: 100%; height: 100%; object-fit: cover; }
.profile-photo-panel > div:last-child { display: grid; gap: 5px; }
.profile-photo-panel strong { color: var(--ink); font-size: 14px; }
.profile-photo-panel span { color: #788696; font-size: 11px; }
.profile-upload-btn { width: fit-content; min-height: 36px; margin-top: 7px; }
.profile-upload-btn input, .upload-zone input[type="file"] { display: none; }
.text-btn { display: inline-flex; align-items: center; gap: 5px; width: fit-content; padding: 3px 0; border: 0; background: transparent; color: #788696; font-size: 10px; }
.text-btn:hover { color: var(--ink); }
.danger-text { color: #a94352; }
.danger-text svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.label-note { display: inline-block !important; margin-left: 5px; padding: 3px 6px; border-radius: 4px; color: #6d28d9 !important; background: rgba(109,40,217,.09); font-size: 9px !important; text-transform: uppercase; letter-spacing: .06em; }
.upload-zone { display: block; min-height: 136px; padding: 12px; border: 1px dashed rgba(109,40,217,.35); border-radius: 12px; background: linear-gradient(135deg, rgba(109,40,217,.045), rgba(167,139,250,.035)); cursor: pointer; transition: border-color .2s ease, background .2s ease, transform .2s ease; }
.upload-zone:hover, .upload-zone.dragging { border-color: #6d28d9; background: linear-gradient(135deg, rgba(109,40,217,.1), rgba(167,139,250,.07)); transform: translateY(-1px); }
.upload-placeholder { min-height: 110px; display: grid; place-items: center; align-content: center; gap: 7px; color: #6d28d9; text-align: center; }
.upload-placeholder svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.upload-placeholder span { color: var(--ink); font-size: 12px; font-weight: 800; }
.upload-placeholder small { color: #788696; font-size: 10px; }
.upload-preview { min-height: 110px; display: flex; align-items: center; gap: 12px; }
.upload-preview img { width: 108px; height: 108px; object-fit: cover; border-radius: 9px; box-shadow: 0 8px 20px rgba(36,26,67,.12); }
.upload-preview span { color: #2d7b58; font-size: 11px; font-weight: 750; }
.settings-section { padding: 18px; border: 1px solid rgba(20,38,61,.11); border-radius: 14px; background: #fffefa; }
.settings-section-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 6px; }
.settings-section-head .eyebrow { color: #6d28d9; font-size: 9px; }
.settings-section-head .eyebrow::before { display: none; }
.settings-section-head h3 { margin: 7px 0 0; color: var(--ink); font-size: 15px; letter-spacing: -.03em; }
.settings-secure { display: inline-flex !important; align-items: center; gap: 5px; color: #788696 !important; font-size: 10px !important; white-space: nowrap; }
.settings-secure svg { width: 14px; height: 14px; fill: none; stroke: #6d28d9; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.toggle-row { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 14px 0; border-top: 1px solid rgba(20,38,61,.09); cursor: pointer; }
.toggle-row > span { min-width: 0; }
.toggle-row strong, .toggle-row small { display: block; }
.toggle-row strong { color: var(--ink); font-size: 12px; }
.toggle-row small { margin-top: 4px; color: #788696; font-size: 10px; line-height: 1.4; }
.toggle-row input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.toggle-row > i { position: relative; width: 42px; height: 24px; flex: 0 0 auto; border-radius: 99px; background: #d8d5dc; transition: background .2s ease; }
.toggle-row > i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fffefa; box-shadow: 0 2px 5px rgba(20,38,61,.18); transition: transform .2s ease; }
.toggle-row input:checked + i { background: linear-gradient(135deg, #5b21b6, #8b5cf6); }
.toggle-row input:checked + i::after { transform: translateX(18px); }

@media (max-width: 820px) {
  .heading-actions { width: 100%; justify-content: flex-start; }
  .heading-actions .btn { flex: 0 1 auto; }
  .admin-grid { grid-template-columns: repeat(2, 1fr); }
  .moderation-card { grid-template-columns: 190px minmax(0, 1fr); }
}

@media (max-width: 560px) {
  .heading-actions { width: 100%; }
  .heading-actions .btn { flex: 1; }
  .admin-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .moderation-card { grid-template-columns: 1fr; }
  .moderation-thumb { min-height: 190px; }
  .moderation-card-body { padding: 17px; }
  .moderation-card h3 { font-size: 18px; }
  .moderation-meta strong { width: 100%; margin-left: 0; }
  .moderation-actions { flex-direction: column-reverse; }
  .moderation-actions .btn { width: 100%; }
  .moderation-banner { align-items: flex-start; flex-wrap: wrap; }
  .moderation-banner .btn { margin-left: 32px; }
  .profile-photo-panel { align-items: flex-start; flex-direction: column; }
  .profile-photo-panel > div:last-child { width: 100%; }
  .settings-section-head { flex-direction: column; gap: 8px; }
  .upload-preview { align-items: flex-start; flex-direction: column; }
  .upload-preview img { width: 100%; height: 170px; }
}

/* Production marketplace layer */
:root {
  --purple-950: #2e1065;
  --purple-800: #4c1d95;
  --purple-700: #5b21b6;
  --purple-600: #6d28d9;
  --purple-500: #7c3aed;
  --purple-300: #c4b5fd;
  --ivory: #fffefa;
  --ivory-deep: #f7f3ec;
}

.hero h1 em {
  display: inline-block;
  overflow: visible;
  line-height: 1.2;
  margin-right: -.025em;
  margin-bottom: -.12em;
  padding: 0 .085em .12em 0;
  background: linear-gradient(105deg, #4c1d95 0%, #6d28d9 52%, #a78bfa 100%) !important;
  background-clip: text !important;
  -webkit-background-clip: text !important;
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
  text-shadow: none;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 22px;
  color: #647384;
  font-size: 10px;
  font-weight: 720;
  flex-wrap: wrap;
}
.hero-trust span { display: inline-flex; align-items: center; gap: 6px; }
.hero-trust svg { width: 14px; height: 14px; fill: none; stroke: #6d28d9; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.btn:disabled, button:disabled { cursor: wait; opacity: .62; transform: none !important; }
.button-spinner {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: button-spin .7s linear infinite;
}
@keyframes button-spin { to { transform: rotate(360deg); } }

.system-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  padding: 13px 15px;
  border: 1px solid rgba(169,67,82,.23);
  border-radius: 13px;
  color: var(--ink);
  background: rgba(169,67,82,.06);
}
.system-banner > svg { width: 20px; height: 20px; flex: 0 0 auto; fill: none; stroke: #a94352; stroke-width: 1.8; }
.system-banner > div { min-width: 0; flex: 1; }
.system-banner strong, .system-banner span { display: block; }
.system-banner strong { font-size: 12px; }
.system-banner span { margin-top: 2px; color: #788696; font-size: 10px; }

.loading-screen {
  min-height: calc(100vh - 150px);
  display: grid;
  place-items: center;
  align-content: center;
  text-align: center;
}
.loading-screen h1 { margin: 24px 0 6px; color: var(--ink); font-size: 25px; letter-spacing: -.05em; }
.loading-screen p { margin: 0; color: #788696; font-size: 12px; }
.loading-orbit { position: relative; width: 58px; height: 58px; animation: none; }
.loading-orbit span { position: absolute; width: 17px; border-radius: 8px 8px 2px 2px; transform: skew(-13deg); transform-origin: center bottom; animation: logo-ribbon-wave 1.65s ease-in-out infinite; }
.loading-orbit span:nth-child(1) { left: 6px; top: 24px; height: 26px; background: #185c7a; }
.loading-orbit span:nth-child(2) { left: 25px; top: 6px; height: 43px; background: linear-gradient(180deg, #a78bfa, #5b21b6); }
.loading-orbit span:nth-child(3) { right: 0; top: 16px; height: 34px; background: #c59a48; }
.loading-orbit span:nth-child(2) { animation-delay: .16s; }
.loading-orbit span:nth-child(3) { animation-delay: .32s; }
@keyframes logo-ribbon-wave {
  0%, 65%, 100% { transform: skew(-13deg) scaleY(1); }
  30% { transform: skew(-13deg) scaleY(.55); }
}
@media (prefers-reduced-motion: reduce) {
  .loading-orbit span { animation: none; }
}

.marketplace-empty { padding: 52px 28px; background: linear-gradient(135deg, rgba(109,40,217,.055), rgba(197,154,72,.045)); }
.marketplace-empty .empty-kicker { display: block; margin-bottom: 8px; color: #6d28d9; font-size: 9px; font-weight: 850; text-transform: uppercase; letter-spacing: .13em; }
.marketplace-empty p { max-width: 520px; margin-right: auto; margin-left: auto; }
.compact-empty { padding: 36px 18px; }

.listings-grid.compact { grid-template-columns: 1fr; }
.listings-grid.compact .listing-card { display: grid; grid-template-columns: 200px minmax(0, 1fr); }
.listings-grid.compact .product-art { height: 160px; border-radius: 0; }
.listings-grid.compact .listing-title { min-height: 0; font-size: 18px; }
.listings-grid.compact .listing-content { display: grid; align-content: center; }

.auth-gate {
  min-height: calc(100vh - 155px);
  max-width: 620px;
  display: grid;
  justify-items: center;
  align-content: center;
  margin: 0 auto;
  padding: 70px 20px;
  text-align: center;
}
.auth-gate-mark, .sign-in-card .auth-gate-mark {
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  border: 1px solid rgba(109,40,217,.15);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(109,40,217,.12), rgba(197,154,72,.1));
  box-shadow: 0 18px 40px rgba(36,26,67,.1);
}
.auth-gate .brand-mark, .sign-in-card .brand-mark { transform: scale(1.35); }
.auth-gate .eyebrow { justify-content: center; }
.auth-gate h1 { margin: 13px 0 10px; color: var(--ink); font-size: clamp(31px, 5vw, 48px); letter-spacing: -.065em; }
.auth-gate p { max-width: 520px; margin: 0 0 22px; color: #6f7d8b; font-size: 14px; }
.auth-gate small { margin-top: 13px; color: #8a95a0; font-size: 10px; }

.button-count {
  min-width: 19px;
  padding: 2px 6px;
  border-radius: 99px;
  color: #fff;
  background: #6d28d9;
  font-size: 9px;
}
.square-action {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(20,38,61,.13);
  border-radius: 9px;
  color: #657487;
  background: #fffefa;
  transition: color .18s ease, border-color .18s ease, background .18s ease, transform .18s ease;
}
.square-action:hover { color: #6d28d9; border-color: rgba(109,40,217,.35); background: rgba(109,40,217,.05); transform: translateY(-1px); }
.square-action svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.square-action.premium, .square-action.active { color: #fff; border-color: transparent; background: linear-gradient(135deg, #5b21b6, #8b5cf6); }
.square-action.danger { color: #a94352; }
.btn-danger { color: #fff; background: #a94352; }
.btn-danger:hover { background: #8f3544; }

.offers-panel {
  margin-top: 24px;
  padding: 20px;
  border: 1px solid rgba(20,38,61,.13);
  border-radius: 17px;
  background: rgba(255,254,250,.88);
  box-shadow: 0 15px 36px rgba(36,26,67,.055);
}
.section-title-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 15px; }
.section-title-row h2 { margin: 8px 0 0; color: var(--ink); font-size: 22px; letter-spacing: -.045em; }
.secure-note { display: inline-flex; align-items: center; gap: 6px; color: #697787; font-size: 10px; font-weight: 700; }
.secure-note svg { width: 14px; height: 14px; fill: none; stroke: #6d28d9; stroke-width: 1.8; }
.offer-list { display: grid; gap: 8px; }
.offer-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px auto;
  align-items: center;
  gap: 20px;
  padding: 14px;
  border: 1px solid rgba(20,38,61,.1);
  border-radius: 12px;
  background: #fffefa;
}
.offer-row strong, .offer-row small, .offer-direction { display: block; }
.offer-row strong { margin-top: 4px; color: var(--ink); font-size: 13px; }
.offer-row small { margin-top: 3px; color: #7b8794; font-size: 10px; }
.offer-direction { color: #6d28d9; font-size: 9px; font-weight: 830; text-transform: uppercase; letter-spacing: .09em; }
.offer-amount { display: grid; gap: 6px; color: var(--ink); font-size: 17px; font-weight: 850; }
.offer-actions { display: flex; gap: 6px; justify-content: flex-end; }

.message-layout { min-height: 590px; }
.chat-panel { min-width: 0; max-height: 650px; }
.chat-messages { min-height: 400px; overflow-y: auto; align-content: start; }
.chat-messages::-webkit-scrollbar { width: 8px; }
.chat-messages::-webkit-scrollbar-thumb { border: 2px solid transparent; border-radius: 99px; background: rgba(109,40,217,.2); background-clip: padding-box; }
.chat-empty { place-items: center; align-content: center; padding: 35px; text-align: center; }
.chat-empty h3 { margin: 0 0 5px; color: var(--ink); }
.chat-empty p { max-width: 360px; margin: 0; color: #788696; font-size: 12px; }
.conversation-empty { display: grid; place-items: center; padding: 55px 23px; color: #788696; text-align: center; }
.conversation-empty > span { width: 42px; height: 42px; display: grid; place-items: center; margin-bottom: 10px; border-radius: 13px; color: #6d28d9; background: rgba(109,40,217,.08); }
.conversation-empty svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.conversation-empty strong, .conversation-empty small { display: block; }
.conversation-empty strong { color: var(--ink); font-size: 12px; }
.conversation-empty small { margin-top: 5px; line-height: 1.45; font-size: 9px; }
.conversation-copy strong { display: flex; align-items: center; gap: 5px; }
.unread-pip { width: 6px; height: 6px; display: inline-block; border-radius: 50%; background: #6d28d9; }
.message-bubble { line-height: 1.45; }
.message-bubble.mine { color: #fffefa; background: linear-gradient(135deg, #6d28d9, #8b5cf6); }
.chat-welcome {
  max-width: 390px;
  display: grid;
  justify-items: center;
  align-self: center;
  justify-self: center;
  padding: 24px;
  color: #788696;
  text-align: center;
}
.chat-welcome svg { width: 28px; height: 28px; margin-bottom: 9px; fill: none; stroke: #6d28d9; stroke-width: 1.6; }
.chat-welcome strong, .chat-welcome span { display: block; }
.chat-welcome strong { color: var(--ink); font-size: 13px; }
.chat-welcome span { margin-top: 5px; font-size: 10px; line-height: 1.5; }
.chat-listing { cursor: pointer; background: #fffefa; }
.inline-loading { display: flex; align-items: center; justify-content: center; gap: 8px; color: #788696; font-size: 11px; }
.inline-loading.centered { min-height: 160px; }
.inline-loading > span { width: 15px; height: 15px; border: 2px solid rgba(109,40,217,.2); border-top-color: #6d28d9; border-radius: 50%; animation: button-spin .75s linear infinite; }

.modal { max-height: calc(100vh - 36px); overflow-y: auto; }
.modal::-webkit-scrollbar { width: 8px; }
.modal::-webkit-scrollbar-thumb { border: 2px solid transparent; border-radius: 99px; background: rgba(109,40,217,.22); background-clip: padding-box; }
.sign-in-card { max-width: 390px; display: grid; justify-items: center; margin: 0 auto; padding: 20px 8px 8px; text-align: center; }
.sign-in-card h3 { margin: 0 0 7px; color: var(--ink); font-size: 20px; letter-spacing: -.04em; }
.sign-in-card p { margin: 0 0 19px; color: #788696; font-size: 12px; line-height: 1.5; }
.secure-list { display: flex; justify-content: center; gap: 13px; margin-top: 16px; color: #788696; font-size: 9px; flex-wrap: wrap; }
.secure-list span { display: inline-flex; align-items: center; gap: 4px; }
.secure-list svg { width: 12px; height: 12px; fill: none; stroke: #2d7b58; stroke-width: 2; }

.listing-form-intro, .safe-callout {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 18px;
  padding: 12px 13px;
  border: 1px solid rgba(109,40,217,.14);
  border-radius: 11px;
  background: linear-gradient(110deg, rgba(109,40,217,.07), rgba(197,154,72,.05));
}
.listing-form-intro > svg, .safe-callout > svg { width: 18px; height: 18px; flex: 0 0 auto; fill: none; stroke: #6d28d9; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.listing-form-intro strong, .listing-form-intro span, .safe-callout strong, .safe-callout span { display: block; }
.listing-form-intro strong, .safe-callout strong { color: var(--ink); font-size: 11px; }
.listing-form-intro span, .safe-callout span { color: #788696; font-size: 10px; line-height: 1.45; }
.safe-callout { margin: 18px 0 0; }
.consent-row { display: flex; align-items: flex-start; gap: 9px; color: #697787; font-size: 10px; line-height: 1.45; }
.consent-row input { width: 15px; height: 15px; margin: 1px 0 0; accent-color: #6d28d9; }
.consent-row strong { color: #6d28d9; font-weight: 750; }
.upload-preview strong, .upload-preview span { display: block; }
.upload-preview strong { color: var(--ink); font-size: 12px; }
.upload-preview span { margin-top: 4px; color: #2d7b58; font-size: 10px; }

.offer-summary { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }
.offer-summary > div { padding: 14px; border: 1px solid rgba(20,38,61,.1); border-radius: 11px; background: #f7f3ec; }
.offer-summary span, .offer-summary strong { display: block; }
.offer-summary span { color: #788696; font-size: 9px; text-transform: uppercase; letter-spacing: .07em; }
.offer-summary strong { margin-top: 5px; color: var(--ink); font-size: 19px; }
.boost-option input { position: absolute; opacity: 0; pointer-events: none; }
.boost-option { color: var(--ink); background: #f9f6f0; }
.boost-option:hover, .boost-option.selected { border-color: #6d28d9; background: rgba(109,40,217,.06); }
.boost-option.selected::after { color: #6d28d9; }
.boost-option .boost-price { color: #6d28d9; }
.boost-option span:last-child, .boost-benefits { color: #788696; }
.boost-benefit svg { stroke: #2d7b58; }

.notification-panel { max-height: 620px; overflow-y: auto; }
.notification-toolbar { display: flex; align-items: center; justify-content: space-between; padding: 12px 18px; border-bottom: 1px solid rgba(20,38,61,.1); color: #788696; font-size: 10px; font-weight: 750; }
.notification-toolbar button { padding: 5px; border: 0; color: #6d28d9; background: transparent; font-size: 10px; font-weight: 800; }
.notification-item {
  position: relative;
  width: 100%;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 7px;
  gap: 11px;
  align-items: start;
  padding: 14px 18px;
  border: 0;
  border-bottom: 1px solid rgba(20,38,61,.09);
  color: var(--ink);
  background: #fffefa;
  text-align: left;
}
.notification-item:hover { background: rgba(109,40,217,.035); }
.notification-item.unread { background: rgba(109,40,217,.055); }
.notification-item > span:nth-child(2) { min-width: 0; }
.notification-item strong, .notification-item small, .notification-item time { display: block; }
.notification-item strong { font-size: 11px; }
.notification-item small { margin-top: 3px; color: #697787; font-size: 10px; line-height: 1.4; }
.notification-item time { margin-top: 5px; color: #9aa2ab; font-size: 8px; }
.notification-item > i { width: 7px; height: 7px; margin-top: 7px; border-radius: 50%; background: #6d28d9; }
.notification-icon { width: 36px; height: 36px; display: grid !important; place-items: center; border-radius: 11px; color: #6d28d9; background: rgba(109,40,217,.09); }
.notification-icon svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.detail-topline { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.detail-topline > div { display: flex; gap: 5px; }
.price-meter { position: relative; height: 7px; margin-top: 2px; overflow: hidden; border-radius: 99px; background: linear-gradient(90deg, #bce3cf, #e7d6a3 68%, #e8b4bb); }
.price-meter > span { position: absolute; inset: 0 auto 0 0; max-width: 100%; border-radius: inherit; background: linear-gradient(90deg, rgba(45,123,88,.28), rgba(109,40,217,.8)); }
.price-meter > i { position: absolute; top: -3px; width: 2px; height: 13px; border-radius: 2px; background: var(--ink); }
.price-meter-labels { display: flex; justify-content: space-between; margin: 4px 0 16px; color: #929ba5; font-size: 8px; text-transform: uppercase; letter-spacing: .06em; }
.verified-mark { display: inline-grid !important; place-items: center; width: 15px; height: 15px; margin: 0 0 0 3px !important; border-radius: 50%; color: #fff !important; background: #6d28d9; font-size: 8px !important; }
.report-link { display: inline-flex; align-items: center; gap: 5px; margin-top: 13px; padding: 0; border: 0; color: #8a95a0; background: transparent; font-size: 9px; }
.report-link:hover { color: #a94352; }
.report-link svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.report-alert { display: flex; align-items: center; gap: 7px; margin-top: 14px; padding: 9px 11px; border-radius: 9px; color: #a94352; background: rgba(169,67,82,.07); font-size: 10px; }
.report-alert svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; }

.steps-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 11px; }
.step-card { padding: 17px; border: 1px solid rgba(20,38,61,.11); border-radius: 13px; background: #f9f6f0; }
.step-card > span { color: #6d28d9; font-size: 10px; font-weight: 900; letter-spacing: .1em; }
.step-card h3 { margin: 9px 0 5px; color: var(--ink); font-size: 14px; }
.step-card p { margin: 0; color: #788696; font-size: 10px; line-height: 1.5; }
.legal-copy h3 { margin: 20px 0 5px; color: var(--ink); font-size: 14px; }
.legal-copy h3:first-child { margin-top: 0; }
.legal-copy p { margin: 0; color: #697787; font-size: 11px; line-height: 1.65; }
.legal-note { margin-top: 22px; padding: 12px; border: 1px solid rgba(197,154,72,.25); border-radius: 10px; color: #79653e; background: rgba(197,154,72,.08); font-size: 9px; line-height: 1.5; }
.delete-confirm, .payment-setup { display: grid; justify-items: center; text-align: center; }
.delete-confirm > svg, .payment-setup > svg { width: 48px; height: 48px; padding: 12px; border-radius: 15px; fill: none; stroke: #a94352; stroke-width: 1.7; background: rgba(169,67,82,.08); }
.payment-setup > svg { stroke: #6d28d9; background: rgba(109,40,217,.08); }
.delete-confirm h3, .payment-setup h3 { margin: 14px 0 5px; color: var(--ink); font-size: 17px; }
.delete-confirm p, .payment-setup p { max-width: 460px; margin: 0; color: #788696; font-size: 11px; line-height: 1.55; }
.delete-confirm .modal-actions { width: 100%; }
.toast.error { border-color: rgba(169,67,82,.32); }
.toast.error svg { stroke: #a94352; }

@media (max-width: 820px) {
  .hero-trust { gap: 9px 13px; }
  .offer-row { grid-template-columns: minmax(0, 1fr) 130px; }
  .offer-actions { grid-column: 1 / -1; justify-content: flex-start; }
  .listings-grid.compact .listing-card { grid-template-columns: 160px minmax(0, 1fr); }
  .listings-grid.compact .product-art { height: 175px; }
}

@media (max-width: 560px) {
  .hero h1 em { padding-right: .1em; }
  .hero-trust { display: grid; }
  .system-banner { align-items: flex-start; flex-wrap: wrap; }
  .system-banner .btn { margin-left: 32px; }
  .listings-grid.compact .listing-card { grid-template-columns: 118px minmax(0, 1fr); }
  .listings-grid.compact .product-art { height: 154px; }
  .listings-grid.compact .listing-content { padding: 12px; }
  .listings-grid.compact .listing-title { font-size: 14px; }
  .listings-grid.compact .listing-price { font-size: 18px; }
  .listings-grid.compact .seller-inline { display: none; }
  .offer-row { grid-template-columns: 1fr; gap: 10px; }
  .offer-actions { grid-column: auto; }
  .section-title-row { align-items: flex-start; flex-direction: column; gap: 8px; }
  .message-layout { min-height: 590px; }
  .chat-panel { min-height: 480px; max-height: none; }
  .chat-messages { min-height: 330px; padding: 20px 13px; }
  .message-bubble { max-width: 88%; }
  .chat-head { align-items: flex-start; gap: 10px; }
  .chat-listing { max-width: 45%; }
  .chat-listing span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .steps-grid, .offer-summary { grid-template-columns: 1fr; }
  .boost-options { grid-template-columns: 1fr; }
  .safe-callout { align-items: flex-start; }
  .secure-list { display: grid; justify-items: start; }
  .notification-item { padding-right: 13px; padding-left: 13px; }
}

/* Launch operations: favorites, seller trust, lifecycle and gallery */
.seller-link,
.seller-profile-link {
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  text-align: left;
}
.seller-link:hover span:last-child { color: #6d28d9; }
.seller-profile-link { width: 100%; cursor: pointer; }
.seller-profile-link:hover { background: rgba(109, 40, 217, .035); }

.sold-ribbon {
  position: absolute;
  left: 11px;
  top: 11px;
  z-index: 4;
  padding: 6px 9px;
  border-radius: 6px;
  color: #fff;
  background: rgba(20, 38, 61, .86);
  box-shadow: 0 8px 18px rgba(20, 38, 61, .2);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .06em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}
.listing-card.is-sold .product-image { filter: saturate(.55) contrast(.92); }
.listing-card.is-sold .listing-price small { color: #8a4f5a; }
.listing-card.is-sold .boost-ribbon { display: none; }
.status-pill.paused { color: #765d27; background: rgba(197, 154, 72, .13); }
.status-pill.sold { color: #fff; background: #14263d; }
.square-action.sold-action { color: #2d7b58; }
.sold-button { color: #2d7b58; border-color: rgba(45, 123, 88, .25); }
.moderation-banner.paused { border-color: rgba(197, 154, 72, .26); background: rgba(197, 154, 72, .08); }
.moderation-banner.paused > svg { stroke: #9a742e; }
.moderation-banner.sold { border-color: rgba(45, 123, 88, .22); background: rgba(45, 123, 88, .07); }
.moderation-banner.sold > svg { stroke: #2d7b58; }
.lifecycle-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 14px 0;
  color: #6f7d8b;
  font-size: 13px;
  font-weight: 700;
}
.lifecycle-note svg { width: 17px; height: 17px; fill: none; stroke: #6d28d9; stroke-width: 1.8; }

.favorites-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0;
}
.favorites-summary > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
  border: 1px solid rgba(20, 38, 61, .11);
  border-radius: 15px;
  color: #697787;
  background: rgba(255, 254, 250, .88);
  box-shadow: 0 14px 34px rgba(36, 26, 67, .045);
  font-size: 14px;
}
.favorites-summary strong { color: var(--ink); font-size: 26px; letter-spacing: -.05em; }
.favorite-collection { padding: 21px; border: 1px solid rgba(20, 38, 61, .11); border-radius: 18px; background: rgba(255, 254, 250, .58); }
.favorite-collection .section-title-row h2 { margin-top: 7px; }
.favorites-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.upload-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.upload-gallery-item {
  position: relative;
  min-height: 112px;
  overflow: hidden;
  border: 1px solid rgba(20, 38, 61, .1);
  border-radius: 10px;
  background: #eee9df;
}
.upload-gallery-item img { width: 100%; height: 112px; display: block; object-fit: cover; }
.upload-gallery-item > span {
  position: absolute;
  left: 7px;
  bottom: 7px;
  padding: 4px 7px;
  border-radius: 5px;
  color: #fff;
  background: rgba(20, 38, 61, .78);
  font-size: 11px;
  font-weight: 800;
  backdrop-filter: blur(7px);
}
.upload-gallery-item.primary { box-shadow: 0 0 0 2px rgba(109, 40, 217, .38); }
.upload-gallery-note { display: flex; justify-content: space-between; gap: 14px; margin-top: 10px; color: #788696; font-size: 12px; }
.upload-gallery-note strong { color: #2d7b58; }

.detail-thumbnails {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 6px;
  margin-top: 8px;
}
.detail-thumbnail {
  aspect-ratio: 1;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(20, 38, 61, .13);
  border-radius: 8px;
  background: #fff;
}
.detail-thumbnail img { width: 100%; height: 100%; display: block; object-fit: cover; }
.detail-thumbnail.active { border-color: #6d28d9; box-shadow: 0 0 0 2px rgba(109, 40, 217, .15); }

.seller-profile-hero {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  padding: 21px;
  border: 1px solid rgba(109, 40, 217, .13);
  border-radius: 17px;
  background: linear-gradient(125deg, rgba(109, 40, 217, .08), rgba(197, 154, 72, .06));
}
.seller-profile-hero > .avatar { width: 104px; height: 104px; font-size: 30px; box-shadow: 0 15px 35px rgba(36, 26, 67, .12); }
.seller-profile-copy h2 { margin: 8px 0 3px; color: var(--ink); font-size: 28px; letter-spacing: -.055em; }
.seller-profile-copy > span { color: #6d28d9; font-size: 13px; font-weight: 750; }
.seller-profile-copy p { max-width: 560px; margin: 11px 0 6px; color: #657487; font-size: 14px; line-height: 1.55; }
.seller-profile-copy small { color: #8a95a0; font-size: 12px; }
.seller-profile-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin: 14px 0 25px; overflow: hidden; border: 1px solid rgba(20, 38, 61, .1); border-radius: 13px; background: rgba(20, 38, 61, .1); }
.seller-profile-stats > div { padding: 15px; background: #fffefa; text-align: center; }
.seller-profile-stats strong, .seller-profile-stats span { display: block; }
.seller-profile-stats strong { color: var(--ink); font-size: 22px; letter-spacing: -.04em; }
.seller-profile-stats span { margin-top: 3px; color: #788696; font-size: 12px; }
.profile-listing-head { margin-bottom: 14px; }
.profile-listings-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.admin-tabs {
  display: inline-flex;
  gap: 5px;
  margin: 0 0 18px;
  padding: 5px;
  border: 1px solid rgba(20, 38, 61, .11);
  border-radius: 12px;
  background: rgba(255, 254, 250, .76);
}
.admin-tabs button { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border: 0; border-radius: 8px; color: #697787; background: transparent; font-size: 13px; font-weight: 800; }
.admin-tabs button span { min-width: 20px; padding: 2px 6px; border-radius: 99px; background: rgba(20, 38, 61, .07); font-size: 11px; }
.admin-tabs button.active { color: #fff; background: linear-gradient(135deg, #5b21b6, #8b5cf6); box-shadow: 0 8px 20px rgba(109, 40, 217, .2); }
.admin-tabs button.active span { background: rgba(255, 255, 255, .17); }
.admin-case-list { display: grid; gap: 10px; }
.admin-case {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 16px;
  border: 1px solid rgba(20, 38, 61, .11);
  border-radius: 14px;
  background: #fffefa;
  box-shadow: 0 12px 30px rgba(36, 26, 67, .045);
}
.admin-case-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; color: #a94352; background: rgba(169, 67, 82, .08); }
.admin-case-icon.support { color: #6d28d9; background: rgba(109, 40, 217, .08); }
.admin-case-icon svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.admin-case-copy { min-width: 0; }
.admin-case-copy h3, .admin-case-copy p, .admin-case-copy small, .admin-case-copy > strong { display: block; }
.admin-case-copy h3 { margin: 2px 0 5px; color: var(--ink); font-size: 16px; }
.admin-case-copy > strong { margin-top: 4px; color: var(--ink); font-size: 14px; }
.admin-case-copy p { margin: 4px 0 6px; color: #697787; font-size: 13px; line-height: 1.5; }
.admin-case-copy small { color: #8a95a0; font-size: 12px; }
.admin-case-kicker { display: flex; gap: 10px; color: #6d28d9; font-size: 11px; font-weight: 850; text-transform: uppercase; letter-spacing: .08em; }
.admin-case-kicker time { margin-left: auto; color: #9aa2ab; font-weight: 650; letter-spacing: 0; text-transform: none; }
.admin-case-title { display: block; max-width: 100%; margin: 4px 0 0; padding: 0; overflow: hidden; border: 0; color: #6d28d9; background: transparent; font-size: 16px; font-weight: 850; text-align: left; text-overflow: ellipsis; white-space: nowrap; }
.admin-case-actions { display: flex; gap: 7px; }

.account-control { margin-top: 0; }
.account-action-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 14px 0; border-top: 1px solid rgba(20, 38, 61, .09); }
.account-action-row:first-of-type { margin-top: 12px; }
.account-action-row strong, .account-action-row small { display: block; }
.account-action-row strong { color: var(--ink); font-size: 14px; }
.account-action-row small { margin-top: 3px; color: #788696; font-size: 12px; line-height: 1.45; }
.account-action-row.danger-zone strong { color: #a94352; }
.profile-actions .profile-signout { margin-top: 4px; padding-top: 11px; border-top: 1px solid rgba(20, 38, 61, .08); color: #a94352; }
.confirmation-field { margin-top: 20px; }
.confirmation-field strong { color: #a94352; letter-spacing: .04em; }
.sold-confirm > svg { stroke: #2d7b58; background: rgba(45, 123, 88, .08); }

@media (max-width: 980px) {
  .favorites-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-case { grid-template-columns: 44px minmax(0, 1fr); }
  .admin-case-actions { grid-column: 2; justify-content: flex-start; }
}

@media (max-width: 620px) {
  .favorites-summary { grid-template-columns: 1fr; }
  .favorites-summary > div { padding: 14px 16px; }
  .favorite-collection { padding: 14px; }
  .favorites-grid, .profile-listings-grid { grid-template-columns: 1fr; }
  .upload-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .upload-gallery-note { flex-direction: column; gap: 3px; }
  .seller-profile-hero { grid-template-columns: 74px minmax(0, 1fr); align-items: start; padding: 16px; }
  .seller-profile-hero > .avatar { width: 74px; height: 74px; font-size: 22px; }
  .seller-profile-copy h2 { font-size: 23px; }
  .seller-profile-copy p, .seller-profile-copy small { grid-column: 1 / -1; }
  .seller-profile-stats { grid-template-columns: repeat(2, 1fr); }
  .admin-tabs { width: 100%; overflow-x: auto; }
  .admin-tabs button { flex: 1 0 auto; padding: 0 11px; }
  .admin-case { grid-template-columns: 1fr; }
  .admin-case-icon { display: none; }
  .admin-case-actions { grid-column: 1; flex-wrap: wrap; }
  .account-action-row { grid-template-columns: 1fr; }
  .account-action-row .btn { width: 100%; }
  .detail-thumbnails { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Responsive device hardening */
html, body { max-width: 100%; overflow-x: hidden; }
img, svg { max-width: 100%; }
.app-shell, #app-main, .market-layout, .results-area, .listings-grid, .listing-card { min-width: 0; }
.listing-title, .detail-info h2, .admin-case-copy, .conversation-copy, .seller-profile-copy { overflow-wrap: anywhere; }
button, [data-action], [data-route] { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }

@media (hover: none), (pointer: coarse) {
  .btn, .nav-link, .icon-btn, .user-menu, .heart-btn, .square-action, .modal-close,
  .category-btn, .switch-btn, .admin-tabs button, .detail-thumbnail { min-height: 44px; }
  .icon-btn, .heart-btn, .square-action, .modal-close { min-width: 44px; }
  .btn:hover, .listing-card:hover { transform: none; }
}

@media (max-width: 1024px) {
  #app-main { padding-right: 28px; padding-left: 28px; }
  .site-header { padding-right: 28px; padding-left: 28px; }
  .hero { grid-template-columns: minmax(0, 1fr) minmax(300px, .72fr); }
  .hero h1 { font-size: clamp(42px, 6.2vw, 66px); }
  .market-layout { grid-template-columns: 188px minmax(0, 1fr); gap: 20px; }
  .insight-rail { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .dashboard-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .modal-wide { width: min(920px, calc(100vw - 32px)); }
}

@media (max-width: 820px) {
  #app-main { padding-right: 22px; padding-left: 22px; }
  .site-header { padding-right: 22px; padding-left: 22px; }
  .hero { grid-template-columns: 1fr; }
  .hero-right, .live-radar { width: 100%; }
  .hero-actions { justify-self: stretch; }
  .market-layout { grid-template-columns: 1fr; }
  .filter-panel { width: 100%; }
  .insight-rail { grid-template-columns: 1fr; }
  .page-heading, .results-head { gap: 14px; }
  .heading-actions { justify-content: flex-start; }
  .modal { width: min(680px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); overflow-y: auto; overscroll-behavior: contain; }
  .modal-wide { width: min(760px, calc(100vw - 24px)); }
  .detail-layout { gap: 20px; }
  .conversation-list { scrollbar-width: thin; scroll-snap-type: x proximity; }
  .conversation { scroll-snap-align: start; }
}

@media (max-width: 700px) {
  body { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
  #app-main { padding-right: 16px; padding-bottom: 34px; padding-left: 16px; }
  .site-header { height: 64px; gap: 12px; padding: 0 16px; }
  .brand { flex-shrink: 0; }
  .header-actions { gap: 4px; }
  .user-name, .chevron { display: none; }
  .top-nav {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 30;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    height: calc(64px + env(safe-area-inset-bottom));
    padding: 0 6px env(safe-area-inset-bottom);
    border-top: 1px solid rgba(20, 38, 61, .12);
    background: rgba(255, 254, 250, .96);
    box-shadow: 0 -12px 35px rgba(36, 26, 67, .09);
    backdrop-filter: blur(18px);
  }
  .top-nav .nav-link, .top-nav .nav-link:nth-child(2) {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-width: 0;
    padding: 0 4px;
    color: #73808d;
    font-size: 12px;
    line-height: 1.15;
  }
  .top-nav .nav-link.active { color: #5b21b6; }
  .top-nav .nav-link.active::after { right: 22%; bottom: 7px; left: 22%; height: 3px; background: #6d28d9; }
  .nav-dot { width: 17px; height: 17px; font-size: 9px; }
  .hero { gap: 22px; padding: 34px 0 28px; }
  .hero h1 { max-width: 100%; font-size: clamp(38px, 12vw, 52px); line-height: .98; letter-spacing: -.068em; }
  .hero-copy { font-size: 16px; line-height: 1.55; }
  .hero-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .stats-strip { margin-right: -16px; margin-left: -16px; padding-right: 16px; padding-left: 16px; }
  .workspace-toolbar { padding-top: 24px; }
  .view-switcher { width: 100%; }
  .view-switcher .switch-btn { flex: 1; }
  .filter-panel { grid-template-columns: 1fr; padding: 14px; }
  .category-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
  .category-btn { border: 1px solid rgba(20, 38, 61, .09); border-radius: 9px; }
  .sort-wrap { width: 100%; }
  .sort-select { width: 100%; }
  .listings-grid, .favorites-grid, .profile-listings-grid { grid-template-columns: 1fr; }
  .listing-card, .favorite-collection, .rail-card { border-radius: 15px; }
  .product-art { height: clamp(215px, 62vw, 310px); }
  .page-heading { padding-top: 30px; }
  .page-heading h1 { font-size: clamp(32px, 10vw, 42px); }
  .heading-actions, .page-heading > .btn { width: 100%; }
  .heading-actions .btn, .page-heading > .btn { flex: 1; }
  .table-row { align-items: start; padding: 14px; }
  .table-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; }
  .message-layout { min-height: 0; border-radius: 14px; }
  .conversation-list { padding-bottom: 2px; }
  .conversation { min-width: 200px; }
  .chat-panel { min-height: 62dvh; max-height: none; }
  .chat-composer { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; padding: 10px; }
  .chat-composer input { min-width: 0; }
  .message-bubble { max-width: 88%; font-size: 14px; }
  .modal-backdrop { align-items: flex-end; padding: 8px; }
  .modal, .modal-wide { width: 100%; max-height: calc(100dvh - 16px); margin: 0; border-radius: 20px 20px 12px 12px; }
  .modal-head { position: sticky; top: 0; z-index: 4; padding: 16px; background: rgba(255, 254, 250, .96); backdrop-filter: blur(14px); }
  .modal-body { padding: 16px; }
  .modal-actions { position: sticky; bottom: 0; z-index: 3; margin-right: -16px; margin-bottom: -16px; margin-left: -16px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: rgba(255, 254, 250, .96); backdrop-filter: blur(14px); }
  .detail-art { height: min(72vw, 340px); }
  .detail-facts { margin-top: 12px; }
  .detail-fact { padding-right: 6px; padding-left: 6px; }
  .form-grid { gap: 13px; }
  .form-field input, .form-field select, .form-field textarea { min-height: 46px; font-size: 16px; }
  .form-field textarea { min-height: 120px; }
  .upload-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-tabs { max-width: 100%; scroll-snap-type: x proximity; }
  .admin-tabs button { scroll-snap-align: start; }
  .admin-case-actions .btn { flex: 1; }
  .site-footer { margin-bottom: 0; padding: 24px 16px 28px; }
  .footer-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .footer-links button { min-height: 40px; text-align: left; }
  .toast-root { bottom: calc(76px + env(safe-area-inset-bottom)); }
}

@media (max-width: 420px) {
  .brand-word { font-size: 19px; }
  .header-actions .icon-btn, .user-menu { width: 42px; }
  .hero-actions { grid-template-columns: 1fr; }
  .hero-trust { grid-template-columns: 1fr; }
  .stats-strip { grid-template-columns: 1fr 1fr; }
  .stat-cell { min-width: 0; }
  .stat-label { font-size: 12px; }
  .category-list { grid-template-columns: 1fr; }
  .listing-content { padding: 15px; }
  .listing-meta, .price-row, .card-footer { gap: 8px; }
  .price-row { align-items: flex-start; flex-direction: column; }
  .seller-inline { min-width: 0; }
  .dashboard-grid, .admin-grid { grid-template-columns: 1fr; }
  .listings-grid.compact .listing-card { grid-template-columns: 104px minmax(0, 1fr); }
  .listings-grid.compact .product-art { height: 145px; }
  .listings-grid.compact .listing-content { padding: 11px; }
  .chat-head { flex-wrap: wrap; }
  .chat-listing { max-width: 100%; }
  .chat-composer { grid-template-columns: 1fr; }
  .chat-composer .btn { width: 100%; }
  .detail-thumbnails { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .detail-facts { grid-template-columns: 1fr; }
  .detail-fact { border-bottom: 1px solid rgba(20, 38, 61, .08); }
  .detail-fact:last-child { border-bottom: 0; }
  .modal-actions { display: grid; grid-template-columns: 1fr; }
  .modal-actions .btn { width: 100%; }
  .seller-profile-hero { grid-template-columns: 58px minmax(0, 1fr); gap: 13px; }
  .seller-profile-hero > .avatar { width: 58px; height: 58px; }
}

@media (max-height: 520px) and (orientation: landscape) {
  .modal-backdrop { align-items: stretch; }
  .modal, .modal-wide { max-height: calc(100dvh - 12px); }
  .hero { padding-top: 24px; }
  .chat-panel { min-height: 360px; }
}

/* High-contrast navigation states */
.top-nav .nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 16px;
  border-radius: 13px;
  color: #566477;
  transition: color .18s ease, background .18s ease, box-shadow .18s ease, transform .18s ease;
}
.top-nav .nav-link:hover { color: #4c1d95; background: rgba(109, 40, 217, .07); }
.top-nav .nav-link.active {
  color: #fff !important;
  background: linear-gradient(112deg, #4c1d95 0%, #6d28d9 55%, #8b5cf6 100%);
  box-shadow: 0 10px 24px rgba(76, 29, 149, .24), inset 0 1px 0 rgba(255, 255, 255, .18);
  text-shadow: 0 1px 1px rgba(29, 10, 58, .28);
}
.top-nav .nav-link.active::after { display: none; }
.top-nav .nav-link.active:hover { color: #fff; transform: translateY(-1px); }

/* A quiet, private detail hidden behind three taps on the brand. */
.bahar-surprise {
  position: relative;
  overflow: hidden;
  padding: clamp(34px, 7vw, 58px) clamp(22px, 6vw, 52px) clamp(30px, 6vw, 48px);
  text-align: center;
  background:
    radial-gradient(circle at 50% 12%, rgba(250, 204, 21, .16), transparent 30%),
    linear-gradient(145deg, #fffef9 0%, #fbf7ff 58%, #f6efff 100%);
}
.bahar-close { position: absolute; top: 14px; right: 14px; z-index: 2; }
.bahar-key { display: inline-grid; place-items: center; width: 30px; height: 30px; margin: -6px 0 -6px 3px; padding: 0; border: 0; border-radius: 50%; background: transparent; font-size: 15px; cursor: pointer; opacity: .58; transition: opacity .2s ease, transform .2s ease, background .2s ease; }
.bahar-key:hover, .bahar-key:focus-visible { background: rgba(250, 204, 21, .13); opacity: 1; transform: rotate(8deg) scale(1.08); }

.profile-page { padding: 30px 0 60px; }
.profile-cover { position: relative; overflow: hidden; height: 180px; border-radius: 24px; background: linear-gradient(120deg, #172a43 0%, #312e81 48%, #7c3aed 100%); box-shadow: 0 22px 55px rgba(35, 27, 80, .18); }
.profile-cover::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 78% 28%, rgba(255,255,255,.2), transparent 25%), linear-gradient(110deg, transparent 35%, rgba(255,255,255,.08)); }
.profile-cover-glow { position: absolute; right: 7%; bottom: -110px; width: 330px; height: 330px; border: 1px solid rgba(255,255,255,.24); border-radius: 50%; box-shadow: 0 0 0 42px rgba(255,255,255,.035), 0 0 0 92px rgba(255,255,255,.025); }
.profile-page-head { position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin: -55px 28px 28px; }
.profile-identity { display: flex; align-items: flex-end; gap: 20px; min-width: 0; }
.profile-page-avatar { width: 118px !important; height: 118px !important; border: 6px solid #fffefa; box-shadow: 0 14px 35px rgba(24, 35, 60, .2); font-size: 30px !important; }
.profile-identity h1 { margin: 7px 0 3px; color: #172a43; font-size: clamp(31px, 4vw, 46px); line-height: 1; letter-spacing: -.045em; }
.profile-handle { color: #718096; font-size: 15px; }
.verified-line { display: inline-flex; align-items: center; gap: 6px; color: #6d28d9; font-size: 12px; font-weight: 850; letter-spacing: .035em; }
.verified-line svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.9; }
.profile-page-actions { display: flex; gap: 10px; padding-bottom: 8px; }
.profile-page-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; }
.profile-main-column { display: grid; gap: 24px; min-width: 0; }
.profile-about, .profile-showcase, .profile-score-card, .profile-quick-links { border: 1px solid rgba(20,38,61,.1); border-radius: 18px; background: rgba(255,254,250,.9); box-shadow: 0 12px 34px rgba(39,28,74,.065); }
.profile-about, .profile-showcase { padding: 24px; }
.profile-about p { margin: 12px 0 0; color: #68778a; font-size: 16px; line-height: 1.7; }
.profile-page-listings { grid-template-columns: repeat(2, minmax(0,1fr)); margin-top: 18px; }
.profile-side-column { display: grid; align-content: start; gap: 16px; }
.profile-score-card { overflow: hidden; padding: 22px; background: linear-gradient(145deg, #182b47, #312e81); color: white; }
.profile-score-kicker { color: #ddd6fe; font-size: 12px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.profile-score-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 12px; margin-top: 20px; }
.profile-score-grid div { display: grid; gap: 3px; }
.profile-score-grid strong { font-size: 29px; line-height: 1; }
.profile-score-grid span { color: rgba(255,255,255,.66); font-size: 12px; }
.profile-quick-links { overflow: hidden; }
.profile-quick-links button { display: grid; grid-template-columns: 22px minmax(0,1fr) 18px; align-items: center; gap: 12px; width: 100%; padding: 16px 18px; border: 0; border-bottom: 1px solid rgba(20,38,61,.075); background: transparent; color: #243951; text-align: left; cursor: pointer; }
.profile-quick-links button:last-child { border-bottom: 0; }
.profile-quick-links button:hover { background: #faf7ff; }
.profile-quick-links svg { width: 20px; height: 20px; fill: none; stroke: #6d28d9; stroke-width: 1.8; }
.profile-quick-links button > svg:last-child { width: 16px; color: #94a0af; stroke: currentColor; }
.profile-quick-links span { display: grid; gap: 2px; }
.profile-quick-links small { color: #8490a0; font-size: 12px; }
.profile-page-signout { width: 100%; min-height: 46px; border: 1px solid rgba(190,24,93,.15); border-radius: 12px; background: rgba(255,255,255,.72); color: #be185d; font-weight: 800; cursor: pointer; }
.profile-page-signout svg { width: 18px; vertical-align: middle; fill: none; stroke: currentColor; stroke-width: 1.8; }
@media (max-width: 860px) { .profile-page-grid { grid-template-columns: 1fr; } .profile-side-column { grid-template-columns: 1fr 1fr; } .profile-page-signout { grid-column: 1 / -1; } }
@media (max-width: 700px) { .profile-page { padding-top: 18px; } .profile-cover { height: 130px; border-radius: 18px; } .profile-page-head { align-items: stretch; flex-direction: column; margin: -42px 12px 22px; } .profile-identity { align-items: flex-end; gap: 13px; } .profile-page-avatar { width: 88px !important; height: 88px !important; border-width: 4px; font-size: 23px !important; } .profile-identity h1 { font-size: 29px; } .verified-line { font-size: 11px; } .profile-page-actions { display: grid; grid-template-columns: 1fr 1fr; padding: 0; } .profile-page-actions .btn { min-width: 0; padding-inline: 10px; } .profile-about, .profile-showcase { padding: 17px; } .profile-page-listings { grid-template-columns: 1fr; } .profile-side-column { grid-template-columns: 1fr; } }
.bahar-bloom { display: flex; justify-content: center; gap: 12px; margin-bottom: 18px; }
.bahar-bloom span { display: inline-block; font-size: clamp(27px, 7vw, 38px); filter: drop-shadow(0 8px 12px rgba(105, 65, 20, .12)); animation: bahar-bloom 2.4s ease-in-out infinite; }
.bahar-bloom span:nth-child(2) { transform: translateY(-8px) scale(1.18); animation-delay: -.7s; }
.bahar-bloom span:nth-child(3) { animation-delay: -1.4s; }
.bahar-kicker { display: block; color: #7c3aed; font-size: 12px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.bahar-surprise h2 { margin: 10px 0 14px; color: #172a43; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(42px, 10vw, 68px); font-weight: 500; letter-spacing: -.045em; }
.bahar-surprise p { margin: 0; color: #627084; font-size: clamp(17px, 4vw, 21px); line-height: 1.65; }
.bahar-surprise p strong { color: #4c1d95; font-weight: 800; }
.bahar-signature { width: fit-content; margin: 24px auto 0; padding-top: 18px; border-top: 1px solid rgba(109, 40, 217, .16); color: #263b54; font-family: Georgia, 'Times New Roman', serif; font-size: 17px; font-style: italic; }
@keyframes bahar-bloom { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-5px) rotate(3deg); } }
@media (prefers-reduced-motion: reduce) { .bahar-bloom span { animation: none; } }

@media (max-width: 700px) {
  .top-nav .nav-link, .top-nav .nav-link:nth-child(2) {
    min-height: 48px;
    margin: 7px 3px;
    padding: 0 5px;
    border-radius: 11px;
    color: #536174;
    font-size: 12px;
    font-weight: 800;
  }
  .top-nav .nav-link.active {
    color: #fff !important;
    background: linear-gradient(135deg, #5b21b6, #7c3aed);
    box-shadow: 0 7px 18px rgba(91, 33, 182, .25);
  }
}

.mobile-menu-btn { display: none; width: 44px; height: 44px; padding: 0 11px; }
.mobile-menu-btn { border: 1px solid rgba(20,38,61,.11); border-radius: 12px; background: rgba(255,255,255,.88); cursor: pointer; }
.mobile-menu-btn span { display: block; height: 2px; margin: 4px 0; border-radius: 2px; background: #1c3049; }
.mobile-account-sheet { padding: 8px 16px calc(18px + env(safe-area-inset-bottom)); }
.mobile-sheet-handle { width: 42px; height: 4px; margin: 2px auto 12px; border-radius: 3px; background: #d8dce2; }
.mobile-sheet-head { display: flex; align-items: center; justify-content: space-between; min-height: 48px; border-bottom: 1px solid rgba(20,38,61,.08); color: #1b304a; font-size: 18px; font-weight: 850; }
.mobile-sheet-head .modal-close { position: static; width: 42px; height: 42px; }
.mobile-account-user, .mobile-account-guest { display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 12px; margin: 14px 0; padding: 14px; border-radius: 15px; background: linear-gradient(135deg, #f5f0ff, #fffefa); }
.mobile-account-user .avatar { width: 50px; height: 50px; }
.mobile-account-user div, .mobile-account-guest div { display: grid; gap: 3px; }
.mobile-account-user span, .mobile-account-guest span { color: #7a8796; font-size: 12px; }
.mobile-verified svg, .mobile-guest-icon svg { width: 22px; height: 22px; fill: none; stroke: #6d28d9; stroke-width: 1.8; }
.mobile-menu-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 8px; }
.mobile-menu-grid button { position: relative; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 7px; min-width: 0; min-height: 76px; padding: 9px 5px; border: 1px solid rgba(20,38,61,.08); border-radius: 13px; background: #fff; color: #34485f; font-size: 11px; font-weight: 800; cursor: pointer; }
.mobile-menu-grid button svg { width: 21px; height: 21px; fill: none; stroke: #6d28d9; stroke-width: 1.8; }
.mobile-menu-grid button i { position: absolute; top: 7px; right: 8px; display: grid; place-items: center; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: #ede9fe; color: #6d28d9; font-size: 9px; font-style: normal; }
.mobile-menu-grid .mobile-signout { color: #be185d; }
.mobile-menu-grid .mobile-signout svg { stroke: #be185d; }
.mobile-login { margin: 14px 0 2px; }
@media (max-width: 700px) {
  .mobile-menu-btn { display: block; flex: 0 0 44px; }
  .user-menu { display: none; }
  .mobile-account-sheet { max-height: min(520px, calc(100dvh - 24px)); overflow-y: auto; }
}
@media (max-width: 390px) { .mobile-menu-grid { grid-template-columns: repeat(3, minmax(0,1fr)); } }

/* Short transitions preserve immediate interactions and respect reduced motion. */
@keyframes panel-enter { from { opacity: 0; transform: translateY(18px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes backdrop-enter { from { opacity: 0; } to { opacity: 1; } }
.modal-root.open .modal-backdrop { animation: backdrop-enter .2s ease both; }
.modal-root.open .modal { animation: panel-enter .26s cubic-bezier(.2,.8,.2,1) both; }
.profile-popover { animation: panel-enter .2s ease both; }
.modal-outgoing { z-index: 101; pointer-events: none; }
button, .nav-link { transition: background-color .18s ease, color .18s ease, box-shadow .18s ease, transform .15s ease; }
button:active { transform: scale(.97); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* Keep dialogs above the persistent navigation. */
.modal-root.open { position: relative; z-index: 100; }
.view-switcher .switch-btn:hover { color: #5b21b6; background: #f0e9ff; }
.view-switcher .switch-btn.active { color: #fff; background: #6d28d9; }
.view-switcher .switch-btn:focus-visible { outline: 2px solid #6d28d9; outline-offset: 3px; }

/* Compact fixed phone/tablet navigation, including wide in-app viewports. */
.app-shell { overflow: visible; }
@media (max-width: 1200px) {
  body { padding-top: calc(72px + env(safe-area-inset-top)); padding-bottom: 0; }
  .site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 60;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 6px;
    width: 100%;
    height: calc(72px + env(safe-area-inset-top));
    padding: calc(7px + env(safe-area-inset-top)) 10px 7px;
    background: rgba(255, 254, 250, .96);
    border-bottom: 1px solid rgba(20, 38, 61, .11);
    box-shadow: 0 8px 28px rgba(35, 27, 70, .10);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
  }
  .site-header .brand { display: none; }
  .site-header .top-nav {
    position: static;
    inset: auto;
    z-index: auto;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 3px;
    width: 100%;
    height: 58px;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
  }
  .site-header .top-nav .nav-link,
  .site-header .top-nav .nav-link:nth-child(2) {
    display: flex;
    min-width: 0;
    min-height: 46px;
    margin: 6px 0;
    padding: 0 3px;
    border-radius: 10px;
    color: #5f6d7e;
    font-size: 14px;
    font-weight: 800;
    white-space: nowrap;
  }
  .site-header .top-nav .nav-link.active {
    color: #fff !important;
    background: linear-gradient(135deg, #5b21b6, #7c3aed);
    box-shadow: 0 6px 16px rgba(91, 33, 182, .23);
  }
  .site-header .header-actions { display: flex; margin: 0; gap: 0; }
  .site-header .notification-btn, .site-header .user-menu { display: none; }
  .site-header .mobile-menu-btn {
    display: block;
    visibility: visible;
    opacity: 1;
    align-self: center;
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    border-color: rgba(91, 33, 182, .18);
    background: #f5f0ff;
  }
  .site-header .mobile-menu-btn span { height: 2px; margin: 5px 0; background: #5b21b6; }
}

/* Layout and legibility: shared across the marketplace, profiles and dialogs. */
:root { --text-secondary: #58677b; --focus-ring: #6d28d9; }
html { scroll-padding-top: 100px; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline-color: var(--focus-ring); }
button:disabled { cursor: wait; opacity: .65; }
button svg { flex-shrink: 0; }
svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.app-shell { overflow: clip; }
.site-header { box-sizing: border-box; max-width: 100%; gap: clamp(18px, 3vw, 42px); }
.site-header .brand { flex-shrink: 0; }
.site-header .header-actions { min-width: 0; flex-shrink: 1; gap: 12px; }
.site-header .user-menu { min-width: 0; max-width: 260px; }
.site-header .user-name { min-width: 0; max-width: 175px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.avatar { flex-shrink: 0; }
.avatar-orange, .profile-page-avatar { color: #fff; }
.header-actions .icon-btn { flex: 0 0 44px; min-width: 44px; height: 44px; }
.nav-dot { flex-shrink: 0; }
.dashboard-stat { display: grid; align-content: start; gap: 8px; min-width: 0; padding: 22px; }
.dashboard-stat .stat-label { margin: 0; font-size: 14px; color: var(--text-secondary); }
.dashboard-stat .stat-value { display: block; font-size: clamp(28px, 3vw, 38px); line-height: 1.15; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.dashboard-stat .trend { display: block; margin: 0; font-size: 13px; }
.dashboard-stat .pending-text { color: #6d28d9; }
.page-heading > div, .heading-actions, .section-title-row > div { min-width: 0; }
.page-heading p, .results-meta, .modal-head p, .stat-label, .field-hint { color: var(--text-secondary); font-size: 14px; line-height: 1.6; }
.heading-actions, .section-title-row { flex-wrap: wrap; }
.table-head, .table-row { grid-template-columns: minmax(0, 1.6fr) minmax(85px,.6fr) minmax(100px,.6fr) minmax(112px,.65fr) minmax(146px,.9fr); gap: 14px; }
.table-head { font-size: 12px; letter-spacing: .025em; }
.table-row { font-size: 14px; }
.table-product, .table-product > div:last-child { min-width: 0; }
.table-product strong { white-space: normal; overflow-wrap: anywhere; font-size: 14px; }
.table-actions { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.square-action { width: 40px; height: 40px; }
.empty-state { grid-column: 1 / -1; min-width: 0; }
.empty-state h3 { font-size: 18px; }
.empty-state p { max-width: 520px; font-size: 15px; color: var(--text-secondary); line-height: 1.6; }
.text-btn { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; gap: 8px; min-height: 44px; padding: 8px 12px; border: 1px solid #ded6ef; border-radius: 10px; background: #f8f4ff; color: #5b21b6; font-size: 14px; font-weight: 650; white-space: nowrap; }
.text-btn svg { width: 18px; height: 18px; }
.text-btn:hover { background: #ede4fb; }
.profile-page-head { align-items: flex-start; margin: -50px 28px 28px; }
.profile-identity { align-items: flex-start; flex: 1; }
.profile-identity > div { min-width: 0; padding-top: 64px; }
.profile-identity h1 { font-size: clamp(28px, 3.2vw, 44px); line-height: 1.12; letter-spacing: -.035em; overflow-wrap: anywhere; }
.profile-handle { display: block; overflow-wrap: anywhere; line-height: 1.6; }
.profile-page-actions { flex-shrink: 0; flex-wrap: wrap; margin-top: 68px; }
.verified-line { padding: 5px 9px; border-radius: 8px; background: #eee7fa; color: #542091; font-size: 13px; letter-spacing: 0; }
.profile-page-grid { grid-template-columns: minmax(0,1fr) minmax(260px,320px); }
.profile-main-column, .profile-side-column { min-width: 0; }
.profile-score-grid span { color: #e1dff5; font-size: 14px; }
.profile-quick-links small { color: var(--text-secondary); font-size: 13px; }
.profile-about p { overflow-wrap: anywhere; }
.profile-completion { padding: 20px 22px; border: 1px solid #e0d5f5; background: #fbf8ff; border-radius: 18px; }
.profile-completion strong { display: block; margin-bottom: 8px; }
.profile-completion p { font-size: 14px; color: var(--text-secondary); }
.profile-completion progress { width: 100%; height: 7px; accent-color: #6d28d9; }
.character-count { display: block; text-align: right; color: #677489; font-size: 12px; font-variant-numeric: tabular-nums; }
.form-field, .form-grid, .modal-head > div, .modal-body, .detail-info { min-width: 0; }
.form-field input, .form-field select, .form-field textarea { max-width: 100%; font-size: 16px; }
.form-field > label { font-size: 14px; }
.modal { overscroll-behavior: contain; }
.modal-head { position: sticky; top: 0; z-index: 4; background: #fffefa; }
.modal-head h2 { line-height: 1.25; overflow-wrap: anywhere; }
.modal-close { min-width: 44px; min-height: 44px; flex-shrink: 0; color: #46536b; }
.modal-close:hover { color: #5b21b6; border-color: #cbb6ee; background: #f0e7fb; }
.modal-body p, .settings-section p, .detail-description, .step-card p { font-size: 16px; line-height: 1.65; }
.modal-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.detail-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.detail-bench, .detail-price { overflow-wrap: anywhere; }
.detail-thumbnails { min-width: 0; }
.listing-content, .price-row, .listing-meta, .card-footer { min-width: 0; }
.listing-meta, .card-footer { flex-wrap: wrap; }
.price-row { flex-wrap: wrap; }
.listing-title { line-height: 1.35; }
.listing-card:focus-visible { outline: 3px solid #6d28d9; outline-offset: 3px; }
.listings-grid.compact .product-art { height: 100%; min-height: 160px; }
.listings-grid.compact .listing-title { overflow-wrap: anywhere; }
.listings-grid.compact .product-image { min-height: 160px; }
.chat-person, .chat-person > div, .chat-head, .chat-composer, .message-layout, .chat-panel { min-width: 0; }
.chat-person strong, .message-bubble, .chat-listing, .notification-item strong, .notification-item small, .offer-row strong { overflow-wrap: anywhere; }
.chat-composer input { font-size: 16px; }
.chat-panel { height: min(680px, 72dvh); min-height: 420px; }
.chat-messages { min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
.chat-composer { flex-shrink: 0; }
.chat-head { flex-shrink: 0; }
.upload-gallery-actions { display: flex; gap: 5px; position: absolute; inset: auto 6px 6px; z-index: 2; }
.upload-gallery-actions button { flex: 1; min-height: 36px; border: 1px solid #ded6ed; border-radius: 8px; background: #fffefa; color: #4c1d95; font-size: 12px; }
.upload-gallery-actions button:hover { background: #f0e7fb; }
.mobile-sheet-head { position: sticky; top: -17px; background: #fffefa; z-index: 2; padding-top: 8px; padding-bottom: 8px; }
.mobile-account-user > div, .mobile-account-guest > div { min-width: 0; overflow-wrap: anywhere; }
.mobile-account-user strong { white-space: normal; }
.mobile-account-user .avatar-orange { color: #fff; font-size: 17px; font-weight: 800; }
.mobile-menu-grid button { font-size: 14px; }
.mobile-account-sheet { max-height: calc(100dvh - 32px); overflow-y: auto; }
.toast-root { z-index: 120; max-width: calc(100vw - 32px); }
.toast { min-width: 0; width: min(360px, calc(100vw - 32px)); overflow-wrap: anywhere; }
.btn { min-height: 44px; font-size: 14px; line-height: 1.35; }
.btn-sm { min-height: 40px; font-size: 13px; }
.hero h1 { letter-spacing: -.045em; }
.hero h1 em { padding-right: .12em; }
.site-footer { flex-wrap: wrap; gap: 20px; }

@media (max-width: 1200px) {
  .site-header { gap: 6px; }
  .site-header .top-nav { overflow-x: auto; scrollbar-width: none; grid-template-columns: repeat(4,minmax(66px,1fr)); }
  .site-header .top-nav .nav-link { min-height: 44px; font-size: 14px; gap: 3px; }
  .top-nav .nav-dot { position: absolute; top: -2px; right: 1px; min-width: 17px; }
  .table-head { display: none; }
  .table-row { grid-template-columns: minmax(0,1fr) minmax(92px, auto); gap: 10px 16px; }
  .table-row > :nth-child(2), .table-row > :nth-child(3), .table-row > :nth-child(4) { display: block; }
  .table-row .table-product { grid-column: 1; grid-row: 1 / 3; }
  .table-row > :nth-child(2) { grid-column: 2; grid-row: 1; text-align: right; font-weight: 750; }
  .table-row > :nth-child(3) { grid-column: 1; grid-row: 3; }
  .table-row > :nth-child(3)::after { content: ' görüntülenme'; font-size: 12px; }
  .table-row > :nth-child(4) { grid-column: 2; grid-row: 2; text-align: right; }
  .table-row .table-actions { grid-column: 1 / -1; grid-row: 4; padding-top: 10px; border-top: 1px solid #eae5ef; }
  .profile-page-head { gap: 16px; }
  .profile-page-actions { max-width: 240px; }
}
@media (max-width: 900px) {
  .profile-page-head { flex-wrap: wrap; }
  .profile-page-actions { margin-top: 0; max-width: 100%; margin-left: 138px; }
  .profile-page-grid { grid-template-columns: minmax(0,1fr); }
  .profile-side-column { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .profile-page-signout { grid-column: 1 / -1; }
  .section-title-row { align-items: flex-start; }
}
@media (max-width: 700px) {
  .site-header { padding-left: max(8px,env(safe-area-inset-left)); padding-right: max(8px,env(safe-area-inset-right)); }
  .site-header .mobile-menu-btn { width: 44px; height: 44px; flex-basis: 44px; }
  .dashboard-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
  .dashboard-stat { padding: 16px; gap: 8px; }
  .dashboard-stat .stat-label { font-size: 13px; }
  .profile-page-head { margin: -40px 12px 24px; }
  .profile-identity { gap: 14px; width: 100%; }
  .profile-identity > div { padding-top: 50px; }
  .profile-page-avatar { width: 80px !important; height: 80px !important; }
  .profile-identity h1 { font-size: clamp(24px,6vw,32px); }
  .verified-line { font-size: 12px; padding: 4px 6px; flex-wrap: wrap; }
  .profile-page-actions { margin: 4px 0 0; width: 100%; }
  .profile-side-column { grid-template-columns: minmax(0,1fr); }
  .profile-showcase .section-title-row { gap: 14px; }
  .text-btn { padding-inline: 10px; }
  .modal-backdrop { padding: max(8px, env(safe-area-inset-top)) max(8px, env(safe-area-inset-right)) max(8px, env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left)); }
  .modal { max-height: calc(100dvh - 16px - env(safe-area-inset-top) - env(safe-area-inset-bottom)); }
  .modal-actions { display: flex; position: static; margin: 18px 0 0; padding: 14px 0 0; border-top: 1px solid #e8e0ef; }
  .modal-actions .btn { flex: 1 1 120px; }
  .detail-facts { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .detail-fact span { font-size: 12px; }
  .chat-panel { height: min(600px, 70dvh); min-height: 330px; }
  .chat-composer { grid-template-columns: minmax(0,1fr) auto; }
  .chat-composer .btn { width: auto; }
.chat-messages { min-height: 0; }
  .toast-root { bottom: calc(16px + env(safe-area-inset-bottom)); }
  .category-list { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 8px; }
  .category-btn { flex: 0 0 auto; width: auto; min-width: 96px; }
  .filter-panel { min-width: 0; }
  .form-grid { grid-template-columns: minmax(0,1fr); }
  .listings-grid.compact .listing-card { grid-template-columns: minmax(96px, .38fr) minmax(0,1fr); }
  .listings-grid.compact .product-art { min-height: 180px; }
  .listings-grid.compact .card-footer { font-size: 12px; }
}
@media (max-width: 360px) {
  .site-header .top-nav .nav-link { font-size: 12px; padding-inline: 8px; }
  .site-header .top-nav { grid-template-columns: repeat(4,minmax(72px,1fr)); gap: 4px; }
  .dashboard-grid { grid-template-columns: minmax(0,1fr); }
  .profile-identity { display: block; }
  .profile-identity > div { padding-top: 14px; }
}

/* Collectible catalogue: lightweight public filters and a complete seller index. */
.admin-login { width: min(100%,460px); margin: 44px auto; padding: clamp(20px,5vw,36px); border: 1px solid #e2d9ed; border-radius: 22px; background: #fffefa; box-shadow: 0 20px 50px #35215b12; }
.admin-login h1 { margin: 12px 0; color: #19283f; font-size: clamp(26px,6vw,34px); }
.admin-login > p { color: #58677b; margin-bottom: 24px; }
.admin-login form { display: grid; gap: 18px; }
.admin-login .form-field { margin: 0; }
.admin-login > button { margin-top: 16px; }
.admin-login-error { margin: 0; color: #a01936; overflow-wrap: anywhere; }
.admin-login input { width: 100%; min-height: 48px; font-size: 16px; }
.catalog-filter-section { margin: 0 0 20px; padding: 14px; border: 1px solid #e0d5f0; border-radius: 14px; background: linear-gradient(150deg,#f6f0fc,#fffefa); }
.catalog-filter-section > summary { padding: 4px 0 12px; color: #512496; font-size: 14px; font-weight: 750; cursor: pointer; }
.catalog-filter-section > summary:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 4px; border-radius: 4px; }
.catalog-filter-section .filter-group { margin-bottom: 12px; }
.catalog-filter-section .filter-select { width: 100%; min-width: 0; max-width: 100%; min-height: 44px; font-size: 14px; text-overflow: ellipsis; }
.catalog-tags { display: flex; flex-wrap: wrap; gap: 5px; margin: 0 0 12px; }
.catalog-tags span { max-width: 100%; border: 1px solid #e6dbf4; border-radius: 7px; background: #f6f0fb; padding: 3px 7px; color: #59358b; font-size: 11px; line-height: 1.45; overflow-wrap: anywhere; }
.catalog-detail-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; margin: 20px 0 10px; padding: 16px; background: #f8f4fc; border: 1px solid #e7dff0; border-radius: 14px; }
.catalog-detail-grid dt { margin-bottom: 4px; color: #627086; font-size: 12px; }
.catalog-detail-grid dd { margin: 0; color: #1b2a41; font-size: 14px; font-weight: 650; overflow-wrap: anywhere; }
.listing-catalog-fields { grid-column: 1 / -1; min-inline-size: 0; margin: 0; padding: 20px; border: 1px solid #ded1ef; border-radius: 16px; background: linear-gradient(140deg,#faf6ff,#fffefa); }
.listing-catalog-fields legend { padding: 0 8px; color: #54269b; font-size: 15px; font-weight: 750; }
.listing-catalog-fields > p { margin: 0 0 18px; font-size: 14px; color: #5c6980; }
.listing-catalog-fields > p:last-child { margin: 14px 0 0; font-size: 12px; }
.catalog-form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.catalog-form-grid > .full { grid-column: 1 / -1; }
.catalog-form-grid .form-field { margin: 0; }
.catalog-form-grid select { width: 100%; min-width: 0; text-overflow: ellipsis; }
.catalog-admin { padding: clamp(16px,3vw,28px); background: #fffefa; border: 1px solid #e5dfeb; border-radius: 20px; }
.catalog-admin-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; }
.catalog-admin-heading > div { max-width: 670px; min-width: 0; }
.catalog-admin-heading h2 { margin: 0 0 8px; font-size: clamp(20px,2vw,25px); color: #19283f; }
.catalog-admin-heading p { margin: 0; color: #58677b; font-size: 14px; }
.catalog-admin-heading > .btn { flex-shrink: 0; }
.catalog-admin-toolbar { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr) minmax(0,2fr); gap: 16px; margin: 24px 0; padding: 18px; background: #f8f4fb; border-radius: 14px; }
.catalog-admin-toolbar .form-field { margin: 0; }
.catalog-admin-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.catalog-admin-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px; border: 1px solid #e7e1ec; border-radius: 12px; min-width: 0; }
.catalog-admin-row > div { min-width: 0; }
.catalog-admin-row strong { display: block; color: #1b2a41; font-size: 14px; overflow-wrap: anywhere; }
.catalog-admin-row span { display: block; color: #647084; font-size: 12px; margin-top: 5px; }
.catalog-admin-row .btn { flex-shrink: 0; min-height: 44px; padding-inline: 10px; }
.catalog-admin-list > .empty-state { grid-column: 1 / -1; }
@media (max-width: 900px) {
  .catalog-admin-heading { flex-wrap: wrap; gap: 16px; }
  .catalog-admin-list { grid-template-columns: minmax(0,1fr); }
}
@media (max-width: 700px) {
  .catalog-filter-section .filter-select { font-size: 16px; }
  .catalog-form-grid, .catalog-admin-toolbar { grid-template-columns: minmax(0,1fr); }
  .listing-catalog-fields { padding: 16px 12px; }
  .catalog-admin-heading > .btn { width: 100%; }
  .catalog-admin-row { padding: 12px; }
  .catalog-detail-grid { gap: 12px; padding: 12px; }
}

/* Keep category counts legible, including compact mobile chips. */
.category-btn { gap: 14px; }
.category-btn > span:first-child { min-width: 0; }
.category-btn > span:last-child { flex: 0 0 auto; min-width: 22px; padding: 2px 6px; border-radius: 7px; text-align: center; font-variant-numeric: tabular-nums; background: rgba(109,40,217,.08); }
.category-btn.active > span:last-child { opacity: 1; background: rgba(255,255,255,.18); }
.chat-person > .avatar { display: inline-grid; place-items: center; }
.chat-offers { max-height: 280px; overflow-y: auto; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.chat-offer-card { padding: 14px; border: 1px solid #ddd0f5; border-radius: 14px; background: #faf7ff; }
.chat-offer-card + .chat-offer-card { margin-top: 10px; }
.chat-offer-card > span, .chat-offer-card small { display: block; color: #687587; font-size: 12px; }
.chat-offer-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin: 8px 0; }
.chat-offer-heading strong { font-size: 24px; color: #54209d; }
.chat-offer-heading > span { font-size: 13px; font-weight: 700; }
.chat-offer-card p { margin: 8px 0; overflow-wrap: anywhere; }
.chat-offer-actions { display: flex; gap: 10px; margin: 12px 0; }
.chat-offer-actions .btn { flex: 1; min-height: 44px; }
.chat-offer-card small { margin-top: 10px; }

/* Full product photos and an accessible top-layer zoom viewer. */
.detail-photo-open { position: relative; display: block; width: 100%; height: 100%; min-height: 0; padding: 0; border: 0; background: #f0eee9; cursor: zoom-in; overflow: hidden; }
.detail-photo-open .product-image { width: 100%; height: 100%; object-fit: contain; }
.detail-art:has(.detail-photo-open) > .art-label { display: none; }
.photo-expand-hint { position: absolute; z-index: 2; right: 10px; top: 10px; padding: 7px 10px; border-radius: 9px; background: rgba(20,30,48,.85); color: white; font-size: 12px; }
.photo-lightbox { padding: 0; border: 0; margin: 0; width: 100vw; max-width: none; height: 100dvh; max-height: none; background: #101522; color: white; }
.photo-lightbox[open] { display: flex; flex-direction: column; }
.photo-lightbox::backdrop { background: rgba(0,0,0,.9); }
.photo-viewer-toolbar, .photo-viewer-footer { display: flex; flex: 0 0 auto; align-items: center; gap: 8px; padding: 12px; }
.photo-viewer-toolbar { padding-top: max(12px, env(safe-area-inset-top)); }
.photo-position { flex: 1; font-size: 13px; }
.photo-lightbox button { min-width: 44px; min-height: 44px; padding: 8px; border: 1px solid #667084; border-radius: 10px; background: #242d41; color: white; cursor: pointer; }
.photo-lightbox button:disabled { opacity: .4; cursor: default; }
.photo-lightbox button:focus-visible { outline: 3px solid #c4b5fd; outline-offset: 2px; }
.photo-viewer-viewport { flex: 1 1 auto; min-height: 0; overflow: auto; overscroll-behavior: contain; touch-action: pan-x pan-y pinch-zoom; }
.photo-viewer-image { display: block; max-width: none; max-height: none; object-fit: contain; }
.photo-viewer-footer { justify-content: space-between; padding-bottom: max(12px, env(safe-area-inset-bottom)); }
.photo-viewer-footer span { font-size: 12px; color: #d0d6e2; text-align: center; }

/* Compact mobile chat: reserve space for the conversation, keep touch targets. */
@media (max-width: 700px) {
  .conversation { padding: 10px 12px; gap: 8px; }
  .conversation > .avatar { width: 32px; height: 32px; font-size: 12px; }
  .chat-panel { min-height: 430px; }
  .chat-head { padding: 10px 12px; gap: 7px; }
  .chat-person { gap: 8px; }
  .chat-person > .avatar { width: 32px; height: 32px; font-size: 12px; color: #fff; }
  .chat-person strong { font-size: 13px; }
  .chat-person > div > span { font-size: 11px; }
  .chat-listing { padding: 6px 9px; min-height: 36px; font-size: 11px; }
  .chat-listing .mini-emoji { font-size: 16px; }
  .chat-offers { flex: 0 1 auto; min-height: 0; max-height: 180px; padding: 8px 10px; }
  .chat-offer-card { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 6px 8px; padding: 10px; border-radius: 12px; }
  .chat-offer-card > span { font-size: 12px; }
  .chat-offer-heading { margin: 0; gap: 8px; }
  .chat-offer-heading strong { font-size: 20px; }
  .chat-offer-heading > span { font-size: 11px; }
  .chat-offer-actions { grid-column: 1 / -1; gap: 8px; margin: 2px 0; }
  .chat-offer-actions .btn { min-height: 44px; padding: 8px 12px; font-size: 13px; box-shadow: none; }
  .chat-offer-card > p, .chat-offer-card > small, .chat-offer-card > .text-btn { grid-column: 1 / -1; margin: 0; }
  .chat-offer-card small { font-size: 11px; line-height: 1.35; }
  .chat-messages { min-height: 130px; padding: 12px; gap: 8px; }
  .message-bubble { padding: 9px 11px; font-size: 14px; }
  .message-bubble small { font-size: 10px; }
  .chat-composer { padding: 8px 10px; }
  .chat-composer input { height: 44px; font-size: 16px; }
  .chat-composer .btn { min-height: 44px; padding: 8px 12px; font-size: 13px; box-shadow: none; }
}

.publication-note { display:block; color:var(--muted, #68788f); font-size:12px; line-height:1.5; margin:6px 0; overflow-wrap:anywhere; }

/* A distinct promotional surface for the paid listing placement. */
.rail-card.highlight {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 22px 18px 18px;
  background: radial-gradient(ellipse at 100% 0%, rgba(167,139,250,.48), transparent 65%), linear-gradient(145deg, #201139, #442080 62%, #6532b3);
  color: #fff;
  border-color: #9975da;
  box-shadow: 0 16px 36px rgba(76,29,149,.22), inset 0 1px 0 rgba(255,255,255,.22);
}
.rail-card.highlight::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(110deg, transparent 35%, rgba(255,255,255,.1) 50%, transparent 65%);
  transform: translateX(-110%);
  animation: boost-promo-light 8s ease-in-out infinite;
}
@keyframes boost-promo-light { 0%, 65% { transform: translateX(-110%); } 90%, 100% { transform: translateX(110%); } }
.boost-promo-head { display:flex; align-items:center; gap:10px; margin-bottom:18px; }
.boost-promo-head > span { font-size:10px; font-weight:800; letter-spacing:.13em; color:#e6d9ff; }
.rail-card.highlight .boost-icon { flex:0 0 36px; margin:0; background:rgba(255,255,255,.13); color:#fff; border:1px solid rgba(255,255,255,.25); box-shadow:none; }
.rail-card.highlight h3 { color:#fff; font-size:24px; line-height:1.16; letter-spacing:-.035em; margin:0 0 13px; }
.rail-card.highlight .rail-copy { color:#eee5ff; font-size:12px; line-height:1.65; margin-bottom:16px; }
.boost-duration { color:#e8dcff; font-size:11px; margin-bottom:18px; }
.rail-card.highlight .btn { min-height:46px; padding:10px; color:#492080; background:#fff; border-color:#fff; box-shadow:0 5px 16px rgba(14,5,33,.18); font-size:12px; gap:7px; }
.rail-card.highlight .btn:hover { background:#f0e8ff; border-color:#f0e8ff; transform:translateY(-2px); }
.rail-card.highlight .btn:focus-visible { outline:3px solid #ddd0ff; outline-offset:4px; }
.boost-promo-note { display:block; margin-top:10px; text-align:center; color:#e0d0f8; font-size:10px; }
@media (prefers-reduced-motion: reduce) { .rail-card.highlight::before { animation:none; } .rail-card.highlight .btn:hover { transform:none; } }

/* Management console: readable records on desktop and touch screens. */
.admin-tabs { flex-wrap:wrap; gap:8px; }
.admin-tabs button { min-height:44px; }
.console-toolbar { display:flex; gap:12px; align-items:flex-end; flex-wrap:wrap; margin:20px 0; padding:18px; background:#fffefa; border:1px solid var(--line); border-radius:16px; }
.console-toolbar label { display:grid; gap:7px; font-size:12px; color:var(--muted); }
.console-search { flex:1 1 240px; }
.console-toolbar input,.console-toolbar select { width:100%; min-height:44px; padding:10px 12px; border:1px solid var(--line); border-radius:10px; color:var(--ink); background:#faf8f5; font:inherit; }
.console-metrics { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:12px; margin:22px 0; }
.console-metrics > div { padding:20px; border:1px solid var(--line); border-radius:16px; background:#fffefa; display:grid; gap:12px; }
.console-metrics span { font-size:12px; color:var(--muted); }
.console-metrics strong { font-size:30px; color:var(--ink); }
.console-summary { display:grid; grid-template-columns:1fr 1fr; gap:24px; padding:24px; background:linear-gradient(125deg,#f8f4ff,#fffefa); border:1px solid #e5dbf7; border-radius:18px; }
.console-summary p { color:var(--muted); font-size:13px; line-height:1.6; }
.console-summary h2 { margin:12px 0; }
.console-count { margin:16px 0; font-size:13px; color:var(--muted); }
.console-records { display:grid; gap:10px; }
.console-record { display:flex; align-items:center; justify-content:space-between; gap:18px; padding:18px; background:#fffefa; border:1px solid var(--line); border-radius:14px; min-width:0; }
.console-record > div { min-width:0; }
.console-record strong { display:block; font-size:15px; overflow-wrap:anywhere; }
.console-record span,.console-record small { display:block; font-size:12px; margin-top:6px; color:var(--muted); overflow-wrap:anywhere; }
.console-record p { font-size:13px; line-height:1.6; white-space:pre-wrap; overflow-wrap:anywhere; }
.console-record .status-pill { margin:0; color:inherit; }
.console-actions,.console-badges { display:flex; flex-wrap:wrap; gap:8px; align-items:center; }
.console-actions .btn { min-height:42px; }
.console-pagination { display:flex; align-items:center; justify-content:center; gap:18px; margin:24px 0; }
.console-pagination span { font-size:13px; }
.console-empty { padding:36px 20px; text-align:center; color:var(--muted); background:#fffefa; border:1px dashed var(--line); border-radius:16px; }
.console-empty button { display:block; margin:16px auto 0; }
.console-user-profile { padding:0 0 16px; overflow-wrap:anywhere; }
.console-user-profile h2 { margin:0 0 12px; }
.console-user-profile p { color:var(--muted); font-size:13px; }
.console-user-stats { padding:20px 0; font-size:13px; color:var(--muted); line-height:1.7; }
.console-reply { padding:14px; border-radius:12px; background:#f3edff; color:#4b3271; white-space:pre-wrap; overflow-wrap:anywhere; }
#console-user-form textarea,#console-reply-form textarea { min-height:110px; width:100%; }
@media(max-width:1100px) { .console-metrics { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media(max-width:700px) {
 .admin-tabs { display:flex; flex-wrap:nowrap; overflow-x:auto; max-width:100%; padding-bottom:8px; }
 .admin-tabs button { flex:0 0 auto; white-space:nowrap; }
 .console-metrics { grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
 .console-metrics > div { padding:16px; } .console-metrics strong { font-size:25px; }
 .console-summary { grid-template-columns:1fr; padding:18px; }
 .console-record { align-items:flex-start; flex-wrap:wrap; padding:14px; gap:12px; }
 .console-record > div:first-child { flex:1 1 100%; }
 .console-toolbar { padding:14px; gap:10px; }
 .console-toolbar label { flex:1 1 100%; } .console-toolbar input,.console-toolbar select { font-size:16px; }
 .console-toolbar > button { flex:1; }
 .console-pagination { gap:12px; }
}

.account-extra-actions { margin-top:14px; padding-top:14px; border-top:1px solid var(--line); }
.account-extra-actions [data-action="console-account-delete"] { color:#a5233d; border-color:#e7bfc7; }
.account-extra-actions [data-action="console-account-boost"] { color:#6225b7; border-color:#d6c2f1; background:#f4edff; }
#console-account-action input { min-height:44px; font-size:16px; }
#console-account-action p { font-size:13px; line-height:1.6; }

/* Listing seller: preserve avatar geometry and constrain the location icon. */
.detail-seller { width:100%; min-width:0; text-align:left; }
.detail-seller > .avatar { display:inline-grid; place-items:center; flex:0 0 40px; width:40px; height:40px; margin:0; color:#fff; font-size:14px; line-height:1; }
.detail-seller > div { min-width:0; flex:1; }
.detail-seller > div > strong { font-size:16px; line-height:1.4; overflow-wrap:anywhere; }
.detail-seller > div > span { display:flex; align-items:center; gap:6px; font-size:14px; line-height:1.5; overflow-wrap:anywhere; }
.detail-seller svg { width:16px; height:16px; flex:0 0 16px; }
.detail-seller .avatar-image { width:100%; height:100%; object-fit:cover; }

/* Free launch: no customer-facing paid Boost promotion or checkout. */
.rail-card.highlight, [data-action="boost"], [data-action="boost-select"] {display:none !important;}

/* Information and support surfaces */
.legal-copy { font-size: 1rem; line-height: 1.7; overflow-wrap:anywhere; }
.legal-copy h3 { margin: 1.5rem 0 .5rem; }
.legal-copy a { color:#6024c8; text-decoration:underline; }
.support-history-card { padding:1rem; margin-top:1rem; border:1px solid #ddd6e8; border-radius:16px; overflow-wrap:anywhere; }
.support-history-card p { white-space:pre-wrap; }
.footer-links { flex-wrap:wrap; gap: .5rem 1rem; }
.footer-links button { min-height:44px; }

.policy-text { white-space:pre-wrap; overflow-wrap:anywhere; }
#operator-form .form-field { margin:1rem 0; }
.operator-confirm { display:flex; align-items:flex-start; gap:.75rem; font-size:1rem; line-height:1.5; margin:1rem 0; }
.operator-confirm input { width:20px; height:20px; flex:none; margin-top:.2rem; }
.launch-checklist { border:1px solid #d9d2e5; border-radius:12px; padding:1rem; line-height:1.7; }
.launch-checklist summary { cursor:pointer; font-weight:700; }
#operator-result { white-space:pre-wrap; overflow-wrap:anywhere; }


/* KOLEVİO AFR görünürlük yaması — 2026-10-01 */
.price-badges{display:flex;align-items:center;justify-content:flex-end;gap:7px;flex-wrap:wrap}
.afr-score-badge{display:inline-flex;align-items:center;white-space:nowrap;padding:5px 8px;border-radius:999px;background:rgba(111,45,205,.10);border:1px solid rgba(111,45,205,.22);color:#6124b5;font-size:11px;font-weight:800;letter-spacing:.01em}
.afr-preview-field{align-self:stretch}
.afr-preview-box{margin-top:2px;padding:12px 13px;border:1px solid #e3dbea;border-radius:12px;background:#faf8fc;min-height:78px;display:flex;flex-direction:column;gap:8px}
.afr-preview-box.ready{border-color:rgba(43,145,104,.28);background:rgba(43,145,104,.06)}
.afr-preview-box.warning{border-color:rgba(197,137,27,.30);background:rgba(197,137,27,.07)}
.afr-preview-box.error{border-color:rgba(190,65,65,.28);background:rgba(190,65,65,.06)}
.afr-preview-box.loading{border-color:rgba(111,45,205,.25);background:rgba(111,45,205,.06)}
.afr-preview-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;font-size:12px;color:#6d6376}
.afr-preview-head strong{color:#17273b;text-align:right;font-size:14px}
.afr-preview-stats{display:flex;gap:10px;flex-wrap:wrap;font-size:11px;color:#716777}
.afr-preview-stats span{padding:4px 7px;border-radius:8px;background:rgba(255,255,255,.72)}
.afr-preview-stats strong{color:#17273b}
.afr-preview-box small{font-size:11px;line-height:1.45;color:#786f7d}
.afr-preview-button{margin-top:8px;width:100%;justify-content:center}
@media(max-width:720px){.price-badges{justify-content:flex-start}.afr-preview-head{flex-direction:column}.afr-preview-head strong{text-align:left}}


/* KOLEVİO AFR radar düzeltmesi — 2026-10-01 */
.score-ring{background:conic-gradient(#6d28d9 0 var(--radar-score,0%),rgba(20,38,61,.12) var(--radar-score,0%) 100%) !important;transition:background .25s ease}
.score-number{display:flex;align-items:baseline;justify-content:center;gap:2px;letter-spacing:-.04em}
.score-number small{font-size:9px;font-weight:800;letter-spacing:0;color:#776a86}


/* KOLEVİO ilan giriş rehberi + nadirlik doğrulama — 2026-10-01 */
.listing-entry-guide{margin:12px 0 16px;border:1px solid rgba(111,45,205,.18);border-radius:12px;background:rgba(111,45,205,.045);overflow:hidden}
.listing-entry-guide summary{cursor:pointer;padding:11px 13px;font-size:12px;font-weight:800;color:#54239e;list-style:none;display:flex;align-items:center;justify-content:space-between;gap:10px}
.listing-entry-guide summary::-webkit-details-marker{display:none}
.listing-entry-guide summary:after{content:'+';font-size:16px;line-height:1;color:#7a4bc4}
.listing-entry-guide[open] summary:after{content:'–'}
.listing-entry-guide ul{margin:0;padding:0 28px 13px 32px;color:#665d70;font-size:11px;line-height:1.55}
.listing-entry-guide li+li{margin-top:5px}
.listing-entry-guide strong{color:#33233f}
@media(max-width:720px){.listing-entry-guide ul{padding-left:28px;padding-right:16px}.listing-entry-guide summary{font-size:13px}}
.founder-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  gap: 5px;
  margin-top: 5px;
  padding: 5px 9px;
  border: 1px solid rgba(181, 136, 35, 0.55);
  border-radius: 999px;
  background:
    linear-gradient(
      135deg,
      #fff9df 0%,
      #f6dda0 48%,
      #fff3c4 100%
    );
  color: #6c4a00;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.01em;
  white-space: nowrap;
  box-shadow:
    0 3px 10px rgba(126, 86, 8, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.founder-badge.compact {
  margin: 0 0 0 5px;
  padding: 4px 7px;
  font-size: 10px;
  flex-shrink: 0;
}

.seller-inline .founder-badge {
  pointer-events: none;
}

.profile-summary .founder-badge {
  margin-top: 4px;
  margin-bottom: 2px;
}

.seller-profile-copy .founder-badge {
  margin: 5px 0 7px;
}

/* KOLEVİO koleksiyoner profil düzeni */

.seller-profile-copy {
  min-width: 0;
}

.seller-profile-copy h2 {
  margin: 7px 0 0;
  color: #10243e;
  font-size: 28px;
  font-weight: 850;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

/* Kurucu rozeti ayrı bir satır gibi dursun */
.seller-profile-copy .founder-badge {
  display: inline-flex;
  width: fit-content;
  margin: 8px 0 0;
  padding: 6px 10px;
  color: #5b21b6;
  font-size: 12px;
  font-weight: 850;
  line-height: 1;
}

/* Kullanıcı adı rozetten ayrı */
.seller-profile-copy > .seller-profile-username {
  display: block;
  margin-top: 8px;
  color: #35465d;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.35;
}

/* Profil açıklaması daha okunaklı */
.seller-profile-copy p {
  max-width: 560px;
  margin: 13px 0 7px;
  color: #43546a;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.55;
}

/* Üyelik tarihi artık silik değil */
.seller-profile-copy small {
  display: block;
  color: #66758a;
  font-size: 12px;
  font-weight: 550;
  line-height: 1.4;
}
/* KOLEVİO - Kurucu Koleksiyoner */

.founder-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  gap: 5px;
  margin-top: 5px;
  padding: 5px 9px;
  border: 1px solid rgba(181, 136, 35, 0.55);
  border-radius: 999px;
  background: linear-gradient(
    135deg,
    #fff9df 0%,
    #f6dda0 48%,
    #fff3c4 100%
  );
  color: #6c4a00;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.founder-badge.compact {
  margin: 0 0 0 5px;
  padding: 4px 7px;
  font-size: 10px;
  flex-shrink: 0;
}

.seller-inline .founder-badge {
  pointer-events: none;
}

.seller-profile-copy .founder-badge {
  display: inline-flex;
  width: fit-content;
  margin: 8px 0 0;
  padding: 6px 10px;
  color: #5b21b6;
  font-size: 12px;
  font-weight: 850;
}

.seller-profile-copy > .seller-profile-username {
  display: block;
  margin-top: 8px;
  color: #35465d;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.35;
}

.seller-profile-copy p {
  color: #43546a;
  font-weight: 500;
}

.seller-profile-copy small {
  display: block;
  color: #66758a;
  font-weight: 550;
}