@import url('/css/fx-accent.css');

:root {
  --bg: #000000;
  --bg-subtle: #0a0a0a;
  --surface: #0a0a0a;
  --surface-2: #111111;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --ink: #fafafa;
  --muted: #a1a1aa;
  --muted-2: #737373;
  --accent: #fafafa;
  --accent-text: #0a0a0a;
  --accent-hover: #e5e5e5;
  --ok: #22c55e;
  --danger: #ef4444;
  --radius: 8px;
  --radius-lg: 12px;
}

* { box-sizing: border-box; }

html { -webkit-font-smoothing: antialiased; }

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--bg);
  min-height: 100vh;
}

.navbar {
  position: relative;
  top: auto;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  width: 100%;
  padding: 0 20px;
  height: 56px;
  background: var(--bg);
  border-bottom: none;
}

.site-top {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.lang-strip {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 8px 12px 10px;
  background: var(--bg);
}

.lang-strip .lang-switcher {
  margin-right: 0;
}

.logo-container {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(140px, 22vw, 200px);
  text-decoration: none;
  z-index: 1;
}
.logo-container svg { width: 100%; height: auto; display: block; }

.nav-links { margin-left: auto; display: flex; align-items: center; gap: 14px; position: relative; z-index: 2; }
.nav-link {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  transition: color 0.15s ease;
}
.nav-link:hover { color: var(--ink); }

.menu-dropdown {
  position: relative;
}

.menu-btn {
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: var(--radius);
  background: transparent;
  border: 1px solid var(--border);
  box-shadow: none;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.menu-btn:hover {
  background: var(--surface-2);
  border-color: var(--border-strong);
}

.menu-btn .bi {
  margin: 0;
  font-size: 1.1rem;
  color: var(--muted);
}

.menu-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  min-width: 180px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  padding: 4px;
  display: none;
}

.menu-panel.active {
  display: block;
}

.menu-link {
  display: block;
  padding: 8px 10px;
  border-radius: 6px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
}

.menu-link:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink);
  text-decoration: none;
}

.wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px clamp(16px, 3vw, 32px) 64px;
}

.site-footer {
  margin-top: auto;
  padding: 24px clamp(16px, 3vw, 32px) 32px;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.site-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0;
  font-size: 14px;
}

.site-footer__legal a {
  color: var(--muted);
  text-decoration: none;
}

.site-footer__legal a:hover {
  color: var(--ink);
  text-decoration: underline;
}

.site-footer__sep {
  color: var(--muted-2);
  padding: 0 6px;
  user-select: none;
}

.site-footer__copy,
.site-footer__credit {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--muted-2);
}

.site-footer__credit a {
  color: var(--muted);
  text-decoration: none;
}

.site-footer__credit a:hover {
  color: var(--ink);
  text-decoration: underline;
}

.page-head h1 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.filter-bar input {
  max-width: 680px;
}

/* Dashboard: gradient accent on search bar only */
.filter-bar.fx-grad-top input#districtSearch,
.filter-bar.fx-grad-top input {
  width: 100%;
  max-width: none;
  display: block;
  padding: 12px 14px;
  border-radius: var(--radius);
  border: 1px solid var(--border-strong);
  background: var(--surface-2);
  color: var(--ink);
  font-size: 15px;
}

.filter-bar.fx-grad-top input::placeholder {
  color: var(--muted-2);
}

.filter-bar.fx-grad-top input:focus {
  outline: none;
  border-color: rgba(22, 130, 255, 0.45);
  box-shadow: 0 0 0 1px rgba(22, 130, 255, 0.2);
}

.glass {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: none;
  padding: 24px;
  margin-bottom: 16px;
}

h1 { margin: 0 0 8px; font-size: clamp(1.25rem, 2vw, 1.5rem); font-weight: 600; letter-spacing: -0.02em; }
h2 { margin: 0 0 8px; font-size: 14px; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; }
p { margin: 0; }

.actions { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.actions input { flex: 1 1 220px; min-width: 200px; }

button, .btn, .nav-btn {
  border-radius: var(--radius);
  padding: 0 14px;
  min-height: 36px;
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  box-shadow: none;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

button:not(.secondary), .btn:not(.secondary) {
  background: var(--accent);
  color: var(--accent-text);
  border: 1px solid var(--accent);
}

button:not(.secondary):hover, .btn:not(.secondary):hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: var(--accent-text);
}

button.secondary, .btn.secondary {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--border-strong);
}

button.secondary:hover, .btn.secondary:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.22);
}

.muted { color: var(--muted); font-size: 14px; line-height: 1.55; }
button i, .btn i, .nav-btn i { margin-right: 6px; }

input, select, textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font: inherit;
  background: var(--bg);
  color: var(--ink);
  transition: border-color 0.15s ease;
}
input::placeholder, textarea::placeholder { color: var(--muted-2); }
input:hover, select:hover, textarea:hover { border-color: var(--border-strong); }
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.35);
}

input[type="checkbox"],
input[type="radio"] {
  width: auto;
  padding: 0;
  border: 0;
  background: transparent;
}

button:focus-visible,
.btn:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.menu-btn:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.35);
  outline-offset: 2px;
}

ul { list-style: none; padding: 0; margin: 0; }
#listings { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }

li {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: none;
}

.row-top { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-bottom: 6px; }
.row-top strong { font-size: 15px; font-weight: 600; }
.row-line { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.row-line i { color: var(--muted); }
.line-item { font-weight: 500; }
.muted-inline { color: var(--muted); font-weight: 500; }
.score-high { color: #4ade80; }
.score-mid { color: #fbbf24; }
.score-low { color: #f87171; }
.src-badge {
  display: inline-block;
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.src-wh { color: #93c5fd; background: rgba(59, 130, 246, 0.12); border: 1px solid rgba(59, 130, 246, 0.25); }
.src-wn { color: #c4b5fd; background: rgba(139, 92, 246, 0.12); border: 1px solid rgba(139, 92, 246, 0.28); }
.src-immo { color: #86efac; background: rgba(34, 197, 94, 0.12); border: 1px solid rgba(34, 197, 94, 0.25); }
.src-unknown { color: var(--muted); background: rgba(255, 255, 255, 0.04); border: 1px solid var(--border); }
.row-tags { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.row-link { margin-top: 4px; }

.price-chip {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink);
  font-weight: 600;
  font-size: 13px;
  border: 1px solid var(--border);
}

.badge { display: inline-block; font-size: 11px; padding: 2px 8px; border-radius: 999px; font-weight: 500; }
.priority { background: rgba(239, 68, 68, 0.15); color: #fca5a5; border: 1px solid rgba(239, 68, 68, 0.3); }
.new { background: rgba(34, 197, 94, 0.12); color: #86efac; border: 1px solid rgba(34, 197, 94, 0.28); }

a { color: var(--ink); text-decoration: none; font-weight: 500; border-bottom: 1px solid transparent; }
a:hover { border-bottom-color: var(--muted); }

.locked-link { filter: blur(3px); pointer-events: none; user-select: none; color: var(--muted-2); display: inline-block; }
.upgrade-btn {
  display: inline-block;
  margin-top: 6px;
  color: var(--accent-text);
  text-decoration: none;
  background: var(--accent);
  padding: 6px 12px;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 13px;
  border: none;
}
.upgrade-btn:hover { background: var(--accent-hover); }

.district-list { display: grid; grid-template-columns: repeat(3, minmax(90px, 1fr)); gap: 8px 12px; }
.district-item { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 14px; }
.district-item input[type="checkbox"] {
  margin: 0;
}
.district-item {
  gap: 2px;
}

.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.stat .label { color: var(--muted); font-size: 13px; font-weight: 500; }
.stat .value { font-size: 1.75rem; font-weight: 600; margin-top: 4px; color: var(--ink); letter-spacing: -0.03em; }

.top-gap-sm { margin-top: 8px; }
.top-gap-md { margin-top: 12px; }
.bottom-gap-sm { margin-bottom: 8px; }

.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-right: 10px;
}

.lang-btn {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 5px 8px;
  border-radius: 6px;
  cursor: pointer;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  line-height: 1;
}

.lang-btn:hover {
  color: var(--ink);
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.05);
}

.lang-btn.is-active {
  color: var(--accent-text);
  background: var(--accent);
  border-color: var(--accent);
}

.lang-btn.is-active:hover {
  color: var(--accent-text);
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}

@media (max-width: 1200px) {
  #listings { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  #listings { grid-template-columns: 1fr; }
  .district-list { grid-template-columns: repeat(2, minmax(90px, 1fr)); }
}
@media (max-width: 560px) {
  .site-top .navbar { padding: 0 14px; height: 52px; }
  .wrap { padding-top: 20px; }
  .logo-container { width: clamp(120px, 38vw, 170px); }
  .nav-links { gap: 10px; }
  .nav-link { font-size: 13px; }
}

.push-gate {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
}

.push-gate.active {
  display: flex;
}

.push-gate-card {
  width: min(520px, 100%);
  background: var(--surface-2);
  color: var(--ink);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.6);
}

.push-gate-card h3 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 600;
}

.push-gate-card p {
  color: var(--muted);
  margin: 0 0 16px;
}

.push-gate-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.push-gate-status {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
}

/* Shared pulse loader: admin hero row + dashboard (between search and listings) */
.admin-heartbeat-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.dash-pulse-strip {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 8px 0 12px;
}

.admin-pulse-loader {
  width: 100px;
  height: 100px;
  max-width: 100px;
  max-height: 100px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.admin-pulse-loader__tilt {
  width: 88px;
  height: 88px;
  display: grid;
  place-items: center;
  perspective: 260px;
  perspective-origin: 50% 45%;
}

.admin-pulse-loader__stage {
  position: relative;
  width: 52px;
  height: 52px;
  transform-style: preserve-3d;
  animation: admin-pulse-loader-tilt 4s ease-in-out infinite;
}

@keyframes admin-pulse-loader-tilt {
  0%,
  100% {
    transform: rotateX(6deg) rotateY(-12deg);
  }
  50% {
    transform: rotateX(-4deg) rotateY(10deg);
  }
}

.admin-pulse-loader__core {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  width: 11px;
  height: 11px;
  margin: -5.5px 0 0 -5.5px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #f0f9ff 0%, #38bdf8 45%, #0284c7 100%);
  box-shadow:
    0 0 12px rgba(56, 189, 248, 0.7),
    0 0 26px rgba(2, 132, 199, 0.35);
  transform: translateZ(14px);
  animation: admin-pulse-loader-core 1.25s ease-in-out infinite;
}

@keyframes admin-pulse-loader-core {
  0%,
  100% {
    transform: translateZ(14px) scale(1);
    opacity: 1;
  }
  50% {
    transform: translateZ(18px) scale(1.12);
    opacity: 0.9;
  }
}

.admin-pulse-loader__ring {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  border-radius: 50%;
  border: 2px solid rgba(56, 189, 248, 0.55);
  box-shadow:
    inset 0 0 18px rgba(14, 165, 233, 0.14),
    0 0 14px rgba(56, 189, 248, 0.22);
  transform: translateZ(-2px) scale(0.38);
  opacity: 0;
  animation: admin-pulse-loader-ring 1.25s cubic-bezier(0.2, 0.75, 0.35, 1) infinite;
}

.admin-pulse-loader__ring:nth-child(1) {
  animation-delay: 0s;
}

.admin-pulse-loader__ring:nth-child(2) {
  animation-delay: 0.38s;
}

.admin-pulse-loader__ring:nth-child(3) {
  animation-delay: 0.76s;
}

@keyframes admin-pulse-loader-ring {
  0% {
    transform: translateZ(-2px) scale(0.38);
    opacity: 0;
  }
  14% {
    opacity: 0.5;
  }
  100% {
    transform: translateZ(12px) scale(1.18);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .admin-pulse-loader__stage {
    animation: none;
    transform: rotateX(5deg) rotateY(-8deg);
  }

  .admin-pulse-loader__core,
  .admin-pulse-loader__ring {
    animation: none;
  }

  .admin-pulse-loader__core {
    transform: translateZ(12px) scale(1);
  }

  .admin-pulse-loader__ring:nth-child(1),
  .admin-pulse-loader__ring:nth-child(2),
  .admin-pulse-loader__ring:nth-child(3) {
    opacity: 0.22;
    transform: translateZ(0) scale(0.72);
  }

  .admin-pulse-loader__ring:nth-child(2) {
    transform: translateZ(0) scale(0.88);
    opacity: 0.16;
  }

  .admin-pulse-loader__ring:nth-child(3) {
    transform: translateZ(0) scale(1.02);
    opacity: 0.1;
  }
}

/* Dashboard listing cards → in-app listing */
#listings > li.listing-card {
  position: relative;
  padding-right: 52px;
  cursor: pointer;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}

#listings > li.listing-card .row-top {
  padding-right: 4px;
}

.listing-card__score {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--bg);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  pointer-events: none;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.06),
    0 1px 0 rgba(255, 255, 255, 0.04);
}

#listings > li.listing-card.listing-card--unseen {
  border: 2px solid transparent;
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    linear-gradient(
      125deg,
      #1682ff 0%,
      #6366f1 22%,
      #22d3ee 44%,
      #a3e635 58%,
      #fbbf24 72%,
      #fb7185 86%,
      #ed2939 100%
    )
    border-box;
  background-origin: border-box;
  background-clip: padding-box, border-box;
}

#listings > li.listing-card.listing-card--unseen:hover {
  border-color: transparent;
  box-shadow:
    0 8px 28px rgba(0, 0, 0, 0.22),
    0 0 0 1px rgba(255, 255, 255, 0.06);
}

#listings > li.listing-card:not(.listing-card--unseen):hover {
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.22);
}

.listing-hint {
  display: inline-block;
  margin-top: 4px;
  font-size: 13px;
}

.nav-notif-badge {
  display: inline-block;
  min-width: 1.25rem;
  padding: 0 5px;
  margin-left: 4px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  background: rgba(239, 68, 68, 0.22);
  color: #fecaca;
  border: 1px solid rgba(239, 68, 68, 0.35);
  vertical-align: middle;
}

.nav-bell {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease,
    background 0.15s ease;
}

.nav-bell:hover {
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
}

.nav-bell .nav-notif-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  margin-left: 0;
  transform: scale(0.95);
  transform-origin: top right;
}

.fixoida-toast-stack {
  position: fixed;
  top: 72px;
  right: 16px;
  z-index: 10050;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: min(400px, calc(100vw - 24px));
  pointer-events: none;
}

.fixoida-toast {
  pointer-events: auto;
  animation: fixoidaToastIn 0.28s ease-out both;
}

.fixoida-toast--out {
  animation: fixoidaToastOut 0.26s ease-in both;
}

.fixoida-toast__inner {
  position: relative;
  padding: 14px 40px 14px 16px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.fixoida-toast__title {
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 6px;
}

.fixoida-toast__body {
  font-size: 13px;
  line-height: 1.45;
}

.fixoida-toast__actions {
  margin-top: 12px;
}

.fixoida-toast__go {
  font-size: 13px;
}

.fixoida-toast__x {
  position: absolute;
  top: 6px;
  right: 8px;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: rgba(255, 255, 255, 0.65);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.fixoida-toast__x:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

@keyframes fixoidaToastIn {
  from {
    opacity: 0;
    transform: translateX(12px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fixoidaToastOut {
  from {
    opacity: 1;
    transform: translateX(0);
  }

  to {
    opacity: 0;
    transform: translateX(14px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .fixoida-toast {
    animation: none;
  }

  .fixoida-toast--out {
    animation: none;
    opacity: 0;
  }
}

.notif-head .notif-h1 {
  margin: 0 0 8px;
  font-size: 1.35rem;
}

.notif-actions {
  margin-top: 12px;
}

.notif-list {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.notif-row {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 14px 16px;
  cursor: pointer;
  list-style: none;
  transition: border-color 0.15s ease;
}

.notif-row--unread {
  border-color: rgba(56, 189, 248, 0.45);
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.12);
}

.notif-row:hover {
  border-color: rgba(255, 255, 255, 0.22);
}

.notif-row-title {
  font-weight: 700;
  margin-bottom: 6px;
}

.notif-row-body {
  font-size: 0.95rem;
  line-height: 1.4;
}

.notif-row-meta {
  margin-top: 8px;
  font-size: 0.88rem;
}

.notif-empty,
.notif-error {
  margin-top: 16px;
}

.listing-single-wrap {
  margin-top: 16px;
}

.listing-single-card {
  padding: 20px;
  border-radius: var(--radius-lg);
}

.listing-single-title {
  margin: 0 0 14px;
  font-size: 1.2rem;
  line-height: 1.35;
}

.listing-wishlist-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.listing-wishlist-row #wishlistToggle .bi {
  margin-right: 6px;
}

.listing-wishlist-status {
  font-size: 13px;
}

.wishlist-gate {
  padding: 18px 20px;
  border-radius: var(--radius-lg);
}

.wishlist-list {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
  padding: 0;
}

.wishlist-row {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 14px 16px;
}

.wishlist-row-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.wishlist-row-title {
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  color: inherit;
  flex: 1 1 200px;
}

.wishlist-row-title:hover {
  text-decoration: underline;
}

.wishlist-row-meta {
  margin-top: 8px;
  font-size: 0.88rem;
}

.wishlist-meta-sep {
  margin: 0 6px;
  opacity: 0.55;
}
