@import url("https://fonts.googleapis.com/css2?family=Tajawal:wght@400;500;600&display=swap");

:root {
  color-scheme: light;
  --bg: #f7f8f9;
  --surface: #ffffff;
  --surface-2: #eef2f3;
  --surface-3: #f9fbfb;
  --ink: #172023;
  --muted: #607077;
  --line: #dce4e7;
  --brand: #e00000;
  --brand-dark: #b80000;
  --green: #07865d;
  --blue: #1869c9;
  --gold: #b57809;
  --rose: #d92228;
  --shadow: 0 18px 45px rgba(20, 34, 40, 0.12);
  --radius: 8px;
  --font-arabic: "Tajawal", Dubai, "Dubai Font", "Noto Kufi Arabic", "Noto Sans Arabic", Tahoma, Arial, sans-serif;
  --font-english: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-family: var(--font-arabic);
}

body.dark {
  color-scheme: dark;
  --bg: #101619;
  --surface: #182125;
  --surface-2: #202c31;
  --surface-3: #151d20;
  --ink: #eef5f5;
  --muted: #a8b7bd;
  --line: #304045;
  --brand: #ff4248;
  --brand-dark: #d92228;
  --gold: #b57809;
  --rose: #ff4248;
  --shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.55;
}

html[lang="ar"],
html[lang="ar"] body,
html[lang="ar"] button,
html[lang="ar"] input,
html[lang="ar"] select,
html[lang="ar"] textarea {
  font-family: var(--font-arabic);
}

@media (max-width: 680px) {
  .site-settings-button {
    min-height: 36px;
    padding: 0 10px;
    gap: 6px;
    font-size: 12px;
  }

  .site-settings-button b {
    display: none;
  }

  .mobile-settings-button {
    max-width: 112px;
  }

  .mobile-settings-button span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .site-settings-panel {
    gap: 14px;
    padding: 20px;
  }

  .settings-option-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .settings-actions {
    grid-template-columns: 1fr;
  }
}

html[lang="en"],
html[lang="en"] body,
html[lang="en"] button,
html[lang="en"] input,
html[lang="en"] select,
html[lang="en"] textarea {
  font-family: var(--font-english);
}

button,
input,
select,
textarea {
  font: inherit;
  letter-spacing: 0;
}

button {
  cursor: pointer;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  min-height: 68px;
  padding: 0 28px;
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  font-size: 18px;
  white-space: nowrap;
}

.brand-logo {
  display: block;
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(19, 25, 28, 0.14);
}

.footer-brand-logo {
  width: 46px;
  height: 46px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.brand-mark,
.avatar {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: #fff;
  background: var(--brand);
  border-radius: 8px;
  font-weight: 500;
}

.main-nav {
  display: flex;
  gap: 6px;
  justify-content: center;
  min-width: 0;
}

.nav-link,
.text-button {
  color: var(--muted);
  background: transparent;
  border: 0;
}

.nav-link {
  min-height: 38px;
  padding: 0 14px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 15px;
  white-space: nowrap;
}

.nav-link.is-active,
.nav-link:hover {
  color: var(--brand);
  background: color-mix(in srgb, var(--brand) 10%, transparent);
}

.top-actions,
.view-toggle,
.card-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.top-user-name,
.mobile-user-name {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  max-width: 190px;
  padding: 0 12px;
  overflow: hidden;
  color: var(--ink);
  background: color-mix(in srgb, var(--brand) 8%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--brand) 18%, var(--line));
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.icon-button {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  color: var(--ink);
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.icon-button svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.icon-button.is-active {
  color: #fff;
  background: var(--ink);
  border-color: var(--ink);
}

.post-button,
.search-button,
.call-button,
.message-button,
.ghost-button,
.details-button {
  min-height: 42px;
  padding: 0 16px;
  border-radius: 8px;
  font-weight: 500;
  white-space: nowrap;
}

.post-button,
.search-button {
  color: #fff;
  background: var(--brand);
  border: 0;
  box-shadow: 0 10px 24px color-mix(in srgb, var(--brand) 24%, transparent);
}

.post-button:hover,
.search-button:hover {
  background: var(--brand-dark);
}

.ghost-button,
.details-button {
  color: var(--ink);
  background: var(--surface-2);
  border: 1px solid var(--line);
}

.register-top {
  color: var(--brand);
  background: color-mix(in srgb, var(--brand) 9%, var(--surface));
  border-color: color-mix(in srgb, var(--brand) 28%, var(--line));
}

.logout-top {
  color: var(--muted);
  background: var(--surface);
}

.compact {
  min-height: 40px;
  padding: 0 14px;
}

.web3-button {
  color: #fff;
  background: var(--brand);
  border-color: color-mix(in srgb, var(--brand) 38%, var(--line));
}

.web3-button.is-connected {
  background: var(--green);
}

.hero-band {
  padding: 24px 28px 28px;
  background:
    linear-gradient(135deg, rgba(20, 39, 47, 0.92), rgba(29, 69, 61, 0.88), rgba(83, 43, 45, 0.92)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='900' height='420' viewBox='0 0 900 420'%3E%3Crect width='900' height='420' fill='%23202a2d'/%3E%3Cpath d='M0 320 C160 260 260 380 430 300 S720 190 900 250 L900 420 L0 420Z' fill='%23314742'/%3E%3Ccircle cx='730' cy='92' r='86' fill='%23542b2d' opacity='.7'/%3E%3C/svg%3E");
  background-size: cover;
}

.hero-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  gap: 18px;
}

.vip-video-banner {
  position: relative;
  min-height: clamp(280px, 34vw, 430px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: #11181b;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.26);
  cursor: pointer;
}

.vip-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: none;
}

.vip-video:not([src]),
.vip-video[src=""] {
  display: none;
}

.vip-video[src]:not([src=""]) ~ .luxury-car-showcase {
  opacity: 0;
  visibility: hidden;
}

.vip-video-motion {
  position: absolute;
  inset: 0;
  display: none;
  grid-template-columns: repeat(3, 1fr);
  opacity: 0.34;
}

.vip-video-motion span {
  background:
    linear-gradient(110deg, transparent 0 30%, rgba(255, 255, 255, 0.12) 42%, transparent 56%),
    linear-gradient(180deg, rgba(217, 34, 40, 0.55), rgba(7, 134, 93, 0.38));
  animation: vipPulse 7s ease-in-out infinite;
}

.vip-video-motion span:nth-child(2) {
  animation-delay: -2s;
}

.vip-video-motion span:nth-child(3) {
  animation-delay: -4s;
}

.vip-video-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(9, 14, 16, 0.14), transparent 58%);
  pointer-events: none;
}

.vip-video-content {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 3;
  display: flex;
  gap: 8px;
  padding: 0;
}

.vip-video-content h1 {
  max-width: 760px;
  margin: 0;
  color: #fff;
  font-size: clamp(28px, 5vw, 48px);
  line-height: 1.25;
  font-weight: 500;
}

.vip-video-content > span {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 17px;
  font-weight: 500;
}

.vip-video-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin: 0;
}

.vip-upload {
  display: inline-grid;
  place-items: center;
  min-width: 104px;
  min-height: 40px;
  padding: 0 12px;
  color: #fff;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 12px;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(10px);
}

.vip-book {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.28);
}

.vip-video-controls {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 3;
  display: flex;
  gap: 8px;
  align-items: center;
  pointer-events: auto;
}

.vip-video-controls button {
  display: grid;
  place-items: center;
  width: 36px;
  min-width: 36px;
  height: 36px;
  min-height: 36px;
  padding: 0;
  color: #fff;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  font-weight: 500;
  backdrop-filter: blur(10px);
}

.luxury-car-showcase {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 16%, rgba(224, 0, 0, 0.34), transparent 18%),
    linear-gradient(180deg, #090e12 0%, #151b20 48%, #07090b 100%);
  pointer-events: none;
  perspective: 900px;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.luxury-car-showcase::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(185, 22, 28, 0.2), transparent 38%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.46), transparent 54%);
  pointer-events: none;
}

.showcase-skyline {
  position: absolute;
  inset-inline: 7%;
  top: 16%;
  height: 32%;
  opacity: 0.5;
}

.showcase-skyline span {
  position: absolute;
  bottom: 0;
  width: clamp(38px, 5vw, 70px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.03)),
    linear-gradient(90deg, rgba(224, 0, 0, 0.16), transparent 68%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 0;
  border-radius: 5px 5px 0 0;
}

.showcase-skyline span:nth-child(1) {
  left: 2%;
  height: 54%;
}

.showcase-skyline span:nth-child(2) {
  left: 18%;
  height: 86%;
}

.showcase-skyline span:nth-child(3) {
  left: 38%;
  height: 68%;
}

.showcase-skyline span:nth-child(4) {
  right: 23%;
  height: 92%;
}

.showcase-skyline span:nth-child(5) {
  right: 5%;
  height: 62%;
}

.showcase-road {
  position: absolute;
  inset-inline: -10%;
  bottom: -24%;
  height: 54%;
  background:
    linear-gradient(90deg, transparent, rgba(224, 0, 0, 0.14), transparent),
    linear-gradient(180deg, #252d33 0, #080a0c 72%);
  transform: rotateX(58deg);
  transform-origin: bottom;
}

.showcase-road::before,
.showcase-road::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  background: rgba(255, 255, 255, 0.14);
  height: 1px;
}

.showcase-road::before {
  top: 24%;
}

.showcase-road::after {
  top: 48%;
}

.showcase-road i {
  position: absolute;
  top: 36%;
  width: 132px;
  height: 4px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.92), transparent);
  border-radius: 999px;
  transform: skewX(-26deg);
  animation: roadDash 1.6s linear infinite;
}

.showcase-road i:nth-child(1) {
  left: 4%;
}

.showcase-road i:nth-child(2) {
  left: 31%;
  animation-delay: -0.4s;
}

.showcase-road i:nth-child(3) {
  left: 58%;
  animation-delay: -0.8s;
}

.showcase-road i:nth-child(4) {
  left: 82%;
  animation-delay: -1.2s;
}

.showcase-glow {
  position: absolute;
  top: 36%;
  width: 26%;
  height: 20%;
  background: linear-gradient(90deg, transparent, rgba(224, 0, 0, 0.18), transparent);
  transform: skewX(-16deg);
  animation: lightSweep 4s ease-in-out infinite;
}

.showcase-glow.is-left {
  left: -12%;
}

.showcase-glow.is-right {
  right: -8%;
  animation-delay: -1.8s;
}

.showcase-car {
  position: absolute;
  bottom: 16%;
  left: 50%;
  width: clamp(230px, 28vw, 356px);
  height: clamp(96px, 12vw, 146px);
  color: #fff;
  transform: translateX(-50%) rotateX(3deg) rotateY(-10deg);
  transform-style: preserve-3d;
  animation: carHover 3.4s ease-in-out infinite;
}

.showcase-car.is-main {
  --car-body: #b9161c;
  --car-edge: #ffffff;
  --car-glass: rgba(202, 235, 255, 0.78);
  bottom: 13%;
}

.showcase-car.is-secondary {
  --car-body: #31475b;
  --car-edge: #d8e7f2;
  --car-glass: rgba(213, 239, 255, 0.72);
  left: 24%;
  bottom: 29%;
  width: clamp(150px, 18vw, 230px);
  height: clamp(66px, 8vw, 98px);
  opacity: 0.82;
  animation: carCruise 7.2s linear infinite;
}

.car-shadow {
  position: absolute;
  inset-inline: 4%;
  bottom: 6%;
  height: 22%;
  background: rgba(0, 0, 0, 0.36);
  border-radius: 999px;
  filter: blur(8px);
}

.car-body,
.car-cabin,
.car-window,
.car-light,
.car-wheel {
  position: absolute;
  display: block;
}

.car-body {
  inset-inline: 4%;
  bottom: 23%;
  height: 39%;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), transparent 34%),
    linear-gradient(115deg, #0c1116, var(--car-body) 44%, var(--car-edge) 72%, #4b1013);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 54% 46% 16px 16px / 64% 56% 18px 18px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 20px 38px rgba(0, 0, 0, 0.28);
}

.car-cabin {
  left: 30%;
  bottom: 54%;
  width: 36%;
  height: 32%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.22), var(--car-glass));
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 42% 58% 12px 10px / 100% 100% 14px 12px;
  clip-path: polygon(18% 100%, 36% 12%, 72% 0, 100% 100%);
}

.car-window {
  left: 44%;
  bottom: 58%;
  width: 1px;
  height: 26%;
  background: rgba(255, 255, 255, 0.5);
  transform: rotate(13deg);
}

.car-light {
  bottom: 39%;
  width: 8%;
  height: 8%;
  border-radius: 999px;
}

.car-light.is-front {
  right: 3%;
  background: rgba(255, 246, 190, 0.96);
  box-shadow: 0 0 22px rgba(255, 255, 255, 0.46);
}

.car-light.is-back {
  left: 4%;
  background: rgba(217, 34, 40, 0.92);
  box-shadow: 0 0 16px rgba(217, 34, 40, 0.42);
}

.car-wheel {
  bottom: 14%;
  width: 18%;
  aspect-ratio: 1;
  background:
    radial-gradient(circle, #f4f6f8 0 18%, #202a30 19% 45%, #07090b 46%);
  border: 4px solid #0c1116;
  border-radius: 999px;
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.08);
  animation: wheelSpin 0.72s linear infinite;
}

.car-wheel::before,
.car-wheel::after {
  content: "";
  position: absolute;
  inset: 44% 12%;
  background: rgba(255, 255, 255, 0.56);
  border-radius: 999px;
}

.car-wheel::after {
  transform: rotate(90deg);
}

.car-wheel.is-front {
  right: 17%;
}

.car-wheel.is-back {
  left: 18%;
}

.vip-video-controls svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.vip-video-controls button:hover {
  background: rgba(217, 34, 40, 0.92);
}

.vip-video-banner:fullscreen .vip-video-content,
.mobile-video-card:fullscreen .mobile-vip-upload,
.vip-video-banner.is-video-expanded .vip-video-content,
.mobile-video-card.is-video-expanded .mobile-vip-upload {
  display: none;
}

.vip-video-banner.is-video-expanded,
.mobile-video-card.is-video-expanded {
  position: fixed;
  inset: 0;
  z-index: 1000;
  width: 100vw;
  height: 100vh;
  min-height: 100vh;
  border-radius: 0;
}

.vip-video-banner.is-video-expanded .vip-video,
.mobile-video-card.is-video-expanded video {
  width: 100%;
  height: 100%;
}

.vip-video-dialog {
  width: min(980px, calc(100vw - 28px));
}

.vip-video-dialog form {
  max-height: min(88vh, 860px);
  overflow: auto;
}

.vip-video-form-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.95fr) minmax(0, 1.2fr);
  gap: 14px;
}

.vip-video-form-grid .wide {
  grid-column: 1 / -1;
}

.vip-video-preview-card,
.vip-video-payment {
  display: grid;
  gap: 10px;
  padding: 14px;
  background: var(--surface-3);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.vip-video-preview-card video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #121619;
  border-radius: 8px;
}

.vip-video-preview-card span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}

.vip-video-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.vip-video-mode {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  border: 0;
}

.vip-video-mode:has(label[hidden]) {
  grid-template-columns: minmax(0, 1fr);
}

.vip-video-mode legend {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}

.vip-video-mode label {
  min-height: 70px;
  padding: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.vip-video-mode label:has(input:checked) {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(217, 34, 40, 0.1);
}

.vip-video-mode input {
  width: auto;
  min-height: auto;
  accent-color: var(--brand);
}

.vip-video-mode span {
  display: grid;
  gap: 2px;
}

.vip-video-mode small,
.vip-live-field small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}

.live-studio-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 280px);
  gap: 12px;
  align-items: center;
  padding: 14px;
  background:
    linear-gradient(135deg, rgba(217, 34, 40, 0.08), transparent 52%),
    var(--surface);
  border: 1px solid color-mix(in srgb, var(--brand) 24%, var(--line));
  border-radius: 8px;
}

.live-studio-card h3 {
  margin: 0 0 4px;
  font-size: 18px;
}

.live-studio-card span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}

.live-studio-card video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #111;
  border-radius: 8px;
}

.live-studio-actions {
  grid-column: 1 / -1;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.live-studio-actions button {
  min-width: 140px;
}

.vip-video-payment {
  grid-column: 1 / -1;
}

@keyframes vipPulse {
  0%,
  100% {
    transform: translateX(-4%) scale(1.02);
    opacity: 0.52;
  }
  50% {
    transform: translateX(4%) scale(1.08);
    opacity: 0.86;
  }
}

@keyframes roadDash {
  0% {
    transform: translateX(210%) skewX(-26deg);
    opacity: 0;
  }
  18%,
  78% {
    opacity: 1;
  }
  100% {
    transform: translateX(-260%) skewX(-26deg);
    opacity: 0;
  }
}

@keyframes lightSweep {
  0%,
  100% {
    transform: translateX(-12%) skewX(-16deg);
    opacity: 0.28;
  }
  50% {
    transform: translateX(36%) skewX(-16deg);
    opacity: 0.58;
  }
}

@keyframes carHover {
  0%,
  100% {
    transform: translateX(-50%) translateY(0) rotateX(3deg) rotateY(-10deg);
  }
  50% {
    transform: translateX(-50%) translateY(-7px) rotateX(4deg) rotateY(-7deg);
  }
}

@keyframes carCruise {
  0% {
    transform: translateX(-92%) translateY(0) scale(0.96) rotateX(4deg) rotateY(-12deg);
  }
  50% {
    transform: translateX(84%) translateY(-8px) scale(1) rotateX(4deg) rotateY(-7deg);
  }
  100% {
    transform: translateX(172%) translateY(0) scale(0.96) rotateX(4deg) rotateY(-12deg);
  }
}

@keyframes wheelSpin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .showcase-road i,
  .showcase-glow,
  .showcase-car,
  .car-wheel {
    animation: none;
  }
}

.eyebrow {
  margin: 0 0 5px;
  color: var(--brand);
  font-weight: 500;
  font-size: 13px;
}

.eyebrow.light {
  color: #ffd9db;
}

.search-shell {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 180px 160px auto;
  gap: 10px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.search-field {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 14px;
  background: #f4f7f8;
  border: 1px solid #d6e0e3;
  border-radius: 8px;
}

.search-field svg {
  width: 22px;
  height: 22px;
  fill: #69797e;
}

.search-field input,
.search-shell select,
.filters input,
.filters select,
.post-dialog input,
.post-dialog select,
.post-dialog textarea,
.login-dialog input {
  width: 100%;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: 0;
}

.search-field input {
  background: transparent;
  border: 0;
}

.search-shell select {
  padding: 0 12px;
}

.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  max-width: 1180px;
  margin: 18px auto 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.stats-strip div {
  display: grid;
  gap: 3px;
  padding: 16px;
  background: var(--surface);
}

.stats-strip strong {
  color: var(--brand);
  font-size: 22px;
}

.token-section {
  display: none;
  max-width: 1180px;
  margin: 20px auto 0;
  padding: 0 18px;
}

.home-mode .token-section {
  display: block;
}

.token-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 18px;
  align-items: center;
  padding: 20px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(20, 32, 35, 0.96), rgba(67, 18, 24, 0.94)),
    radial-gradient(circle at 20% 20%, rgba(255, 210, 84, 0.22), transparent 30%);
  border: 1px solid color-mix(in srgb, var(--brand) 36%, transparent);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(20, 34, 40, 0.16);
}

.token-main {
  display: flex;
  gap: 16px;
  align-items: center;
}

.token-symbol {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 82px;
  height: 82px;
  color: #fff;
  background: linear-gradient(145deg, #ff4248, #8d1117);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  box-shadow: 0 14px 30px rgba(217, 34, 40, 0.32);
  font-size: 24px;
  font-weight: 500;
}

.token-main h2 {
  margin: 0;
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.25;
}

.token-main p:not(.eyebrow) {
  max-width: 700px;
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.8;
  font-weight: 500;
}

.token-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.token-actions .ghost-button {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.24);
}

.token-purchase {
  display: grid;
  grid-template-columns: minmax(140px, 1fr) minmax(140px, 1fr) minmax(140px, 0.8fr) auto;
  gap: 10px;
  align-items: end;
  margin-top: 14px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
}

.token-purchase label,
.token-estimate {
  display: grid;
  gap: 6px;
}

.token-purchase label span,
.token-estimate span,
.token-status span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 500;
}

.token-purchase input,
.token-purchase select {
  min-height: 42px;
  width: 100%;
  color: var(--ink);
  background: #fff;
  border: 0;
  border-radius: 8px;
  padding: 0 12px;
  outline: 0;
}

.token-estimate {
  min-height: 42px;
  align-content: center;
  padding: 0 12px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
}

.token-estimate strong {
  color: #fff;
  font-size: 17px;
}

.token-legal-check {
  display: flex;
  gap: 9px;
  align-items: center;
  margin-top: 10px;
  padding: 10px 12px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
}

.token-legal-check input {
  width: 18px;
  height: 18px;
  accent-color: var(--brand);
}

.token-status {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-top: 10px;
  padding: 10px 12px;
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
}

.token-status strong {
  color: #fff;
  font-size: 13px;
}

.token-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.token-metrics div {
  display: grid;
  gap: 5px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
}

.token-metrics strong {
  color: #fff;
  font-size: 20px;
}

.token-metrics span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 500;
}

.stats-strip span,
.category-card span,
.results-meta,
.listing-location,
.listing-specs,
.seller-row,
.card-topline,
.empty-state span,
.profile-card p,
.seller-profile span,
.detail-grid span,
.site-footer {
  color: var(--muted);
  font-size: 13px;
}

.page-shell {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 22px;
  max-width: 1180px;
  margin: 22px auto 48px;
  padding: 0 18px;
}

.filters {
  align-self: start;
  position: sticky;
  top: 86px;
  display: grid;
  gap: 16px;
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(20, 34, 40, 0.05);
}

.property-filter,
.motors-filter,
.mobile-car-filter {
  display: none !important;
}

.property-mode .property-filter {
  display: grid !important;
}

.motors-mode .motors-filter {
  display: grid !important;
}

.property-mode .general-filter {
  display: none !important;
}

body.property-mode {
  --brand: #e00000;
  --brand-dark: #b80000;
  --green: #e00000;
}

body.property-mode:not(.detail-mode) .hero-band,
body.property-mode:not(.detail-mode) .stats-strip,
body.property-mode:not(.detail-mode) .token-section,
body.property-mode:not(.detail-mode) .filters,
body.property-mode:not(.detail-mode) .section-head {
  display: none !important;
}

body.property-mode.detail-mode .hero-band,
body.property-mode.detail-mode .stats-strip,
body.property-mode.detail-mode .token-section,
body.property-mode.detail-mode .filters {
  display: none !important;
}

body.property-mode:not(.detail-mode) .page-shell {
  display: block;
  max-width: 1500px;
  margin-top: 26px;
}

.mobile-car-filter {
  gap: 8px;
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}

.mobile-car-filter select {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: 0;
}

.property-mode .hero-band {
  background:
    linear-gradient(135deg, rgba(135, 0, 0, 0.96), rgba(224, 0, 0, 0.9), rgba(184, 0, 0, 0.84)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='900' height='420' viewBox='0 0 900 420'%3E%3Crect width='900' height='420' fill='%230f423e'/%3E%3Cpath d='M90 330V145l130-68 130 68v185H90Z' fill='%23166534' opacity='.45'/%3E%3Cpath d='M455 340V90h240v250H455Z' fill='%23075985' opacity='.46'/%3E%3Cpath d='M505 130h42v42h-42v-42Zm76 0h42v42h-42v-42Zm76 0h42v42h-42v-42ZM505 210h42v42h-42v-42Zm76 0h42v42h-42v-42Zm76 0h42v42h-42v-42Z' fill='%23e0f2fe' opacity='.7'/%3E%3C/svg%3E");
}

.detail-mode .filters,
.detail-mode .category-grid,
.detail-mode .view-toggle {
  display: none !important;
}

.messages-mode .filters,
.messages-mode .category-grid,
.messages-mode .view-toggle,
.messages-mode .results-meta,
.messages-mode .listings-grid,
.messages-mode .empty-state,
.tickets-mode .filters,
.tickets-mode .category-grid,
.tickets-mode .view-toggle,
.tickets-mode .results-meta,
.tickets-mode .listings-grid,
.tickets-mode .empty-state,
.info-mode .filters,
.info-mode .category-grid,
.info-mode .view-toggle,
.info-mode .results-meta,
.info-mode .listings-grid,
.info-mode .empty-state {
  display: none !important;
}

.detail-mode .page-shell {
  grid-template-columns: 1fr;
}

.detail-mode .content-area,
.messages-mode .content-area,
.tickets-mode .content-area,
.info-mode .content-area {
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
}

.messages-mode .page-shell,
.tickets-mode .page-shell,
.info-mode .page-shell {
  grid-template-columns: 1fr;
}

.filter-head,
.section-head,
.results-meta,
.dialog-head,
.seller-row,
.card-topline {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
}

.filters h2,
.section-head h2,
.dialog-head h2,
.profile-card h3 {
  margin: 0;
}

.section-head h2 {
  font-size: clamp(24px, 4vw, 36px);
  line-height: 1.25;
  font-weight: 500;
}

.filters label,
.post-dialog label,
.login-dialog label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 500;
  font-size: 13px;
}

.filters input,
.filters select,
.post-dialog input,
.post-dialog select,
.post-dialog textarea,
.login-dialog input {
  min-height: 42px;
  padding: 0 12px;
}

#minPrice,
#maxPrice,
input[name="price"] {
  direction: ltr;
  text-align: right;
  unicode-bidi: plaintext;
}

.post-dialog textarea {
  padding-top: 10px;
  resize: vertical;
}

.photo-upload-field input {
  min-height: 48px;
  padding: 10px 12px;
  background: color-mix(in srgb, var(--brand) 5%, var(--surface));
  border: 1px dashed color-mix(in srgb, var(--brand) 35%, var(--line));
}

.photo-upload-field small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}

.photo-upload-preview,
.motor-photo-preview {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(92px, 1fr));
  gap: 10px;
  min-height: 54px;
}

.photo-upload-preview span,
.motor-photo-preview span {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.photo-upload-preview img,
.motor-photo-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.photo-upload-preview em,
.motor-photo-preview em {
  grid-column: 1 / -1;
  padding: 14px;
  color: var(--muted);
  background: var(--surface-2);
  border: 1px dashed var(--line);
  border-radius: 8px;
  font-style: normal;
  text-align: center;
}

.switch-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 500;
}

.filters .switch input {
  position: absolute;
  width: 1px;
  height: 1px;
  min-height: 0;
  padding: 0;
  border: 0;
  opacity: 0;
}

.switch span {
  position: relative;
  display: block;
  width: 46px;
  height: 26px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.switch span::after {
  content: "";
  position: absolute;
  top: 3px;
  right: 3px;
  width: 18px;
  height: 18px;
  background: var(--muted);
  border-radius: 50%;
  transition: transform 0.2s, background 0.2s;
}

.switch input:checked + span::after {
  transform: translateX(-20px);
  background: var(--green);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  min-height: 34px;
  padding: 0 11px;
  color: var(--muted);
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.chip.is-active {
  color: #fff;
  background: var(--ink);
  border-color: var(--ink);
}

.content-area {
  min-width: 0;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 16px 0 18px;
}

.category-grid.is-property-landing {
  display: block;
  margin: 0 0 24px;
}

.property-landing {
  display: grid;
  gap: 22px;
}

.property-hero-card {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 18px;
  min-height: 430px;
  padding: 46px 48px 38px;
  color: #fff;
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.18), transparent 26%),
    linear-gradient(135deg, #8f0000 0%, #e00000 52%, #b80000 100%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  box-shadow: 0 22px 48px rgba(224, 0, 0, 0.16);
  isolation: isolate;
}

.property-hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 74px 74px;
  opacity: 0.32;
}

.property-hero-card::after {
  content: "";
  position: absolute;
  inset: auto -4% -24% 42%;
  z-index: -1;
  height: 78%;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.2)),
    linear-gradient(90deg, transparent 0 12%, rgba(184, 0, 0, 0.28) 12% 15%, transparent 15% 32%, rgba(184, 0, 0, 0.28) 32% 35%, transparent 35% 52%, rgba(184, 0, 0, 0.28) 52% 55%, transparent 55%);
  clip-path: polygon(8% 100%, 8% 28%, 30% 10%, 50% 26%, 50% 100%, 63% 100%, 63% 0, 94% 0, 94% 100%);
  opacity: 0.25;
}

.property-hero-copy {
  position: relative;
  z-index: 2;
  max-width: 690px;
}

.property-live-pill {
  display: inline-flex;
  width: fit-content;
  padding: 7px 13px;
  color: #b80000;
  background: #fff;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
}

.property-hero-copy h2 {
  margin: 18px 0 10px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.12;
}

.property-hero-copy p {
  max-width: 580px;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
  line-height: 1.9;
}

.property-hero-visual {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.property-hero-visual .tower,
.property-hero-visual .home-shape,
.property-hero-visual .agent-dot {
  position: absolute;
  display: block;
}

.property-hero-visual .tower {
  bottom: 140px;
  width: 92px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: inset 0 0 0 12px rgba(255, 255, 255, 0.05);
}

.property-hero-visual .tower-one {
  right: 12%;
  height: 185px;
  border-radius: 26px 26px 8px 8px;
}

.property-hero-visual .tower-two {
  right: 24%;
  bottom: 116px;
  height: 250px;
  border-radius: 34px 34px 8px 8px;
}

.property-hero-visual .home-shape {
  right: 36%;
  bottom: 122px;
  width: 145px;
  height: 112px;
  background: rgba(255, 255, 255, 0.2);
  clip-path: polygon(0 100%, 0 42%, 50% 0, 100% 42%, 100% 100%);
}

.property-hero-visual .agent-dot {
  right: 9%;
  bottom: 126px;
  width: 76px;
  height: 76px;
  background: #fff;
  border: 12px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.18);
}

.property-tabs {
  position: relative;
  z-index: 3;
  display: inline-grid;
  grid-template-columns: repeat(4, minmax(130px, 1fr));
  max-width: 740px;
  margin-top: 8px;
  padding: 6px;
  background: rgba(12, 18, 22, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  box-shadow: 0 20px 38px rgba(0, 0, 0, 0.22);
}

.property-tabs button {
  display: grid;
  gap: 2px;
  min-height: 54px;
  color: rgba(255, 255, 255, 0.78);
  background: transparent;
  border: 0;
  border-radius: 999px;
  font-weight: 500;
}

.property-tabs button span {
  font-size: 11px;
  font-weight: 500;
  opacity: 0.75;
}

.property-tabs button.is-active {
  color: #b80000;
  background: #fff;
}

.property-subtabs {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  gap: 10px;
  max-width: 680px;
}

.property-subtabs button {
  display: grid;
  gap: 3px;
  min-height: 68px;
  padding: 12px;
  color: #16231f;
  background: rgba(255, 255, 255, 0.94);
  border: 2px solid transparent;
  border-radius: 8px;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.12);
}

.property-subtabs button.is-active {
  border-color: #fff;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18), inset 0 -4px 0 #e00000;
}

.property-subtabs span {
  color: #65736f;
  font-size: 12px;
  font-weight: 500;
}

.property-search-panel {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: 150px minmax(190px, 1.4fr) 170px 160px 150px 150px;
  gap: 10px;
  align-items: end;
  margin-top: auto;
  padding: 18px;
  background: rgba(12, 18, 22, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.28);
}

.property-search-panel label {
  display: grid;
  gap: 7px;
  min-width: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 500;
}

.property-search-panel input,
.property-search-panel select {
  width: 100%;
  min-height: 54px;
  padding: 0 14px;
  color: #18211e;
  background: #fff;
  border: 1px solid #dce4e7;
  border-radius: 8px;
  outline: 0;
}

.property-search-button,
.property-reset-button {
  min-height: 54px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 500;
}

.property-search-button {
  color: #fff;
  background: #e00000;
  border: 1px solid #e00000;
}

.property-reset-button {
  color: rgba(255, 255, 255, 0.82);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.property-promo-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.property-promo-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  min-height: 126px;
  padding: 22px 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(20, 34, 40, 0.06);
}

.property-promo-card::after {
  content: "";
  position: absolute;
  inset-inline-start: -36px;
  bottom: -46px;
  width: 170px;
  height: 130px;
  background: color-mix(in srgb, var(--green) 15%, transparent);
  border-radius: 999px;
}

.property-promo-card strong {
  display: block;
  margin-bottom: 6px;
  font-size: 21px;
}

.property-promo-card span {
  color: var(--muted);
  line-height: 1.7;
}

.property-promo-card button {
  position: relative;
  z-index: 2;
  min-height: 44px;
  padding: 0 18px;
  color: var(--green);
  background: color-mix(in srgb, var(--green) 9%, #fff);
  border: 1px solid color-mix(in srgb, var(--green) 20%, var(--line));
  border-radius: 8px;
  font-weight: 500;
  white-space: nowrap;
}

.category-grid.is-jobs-landing,
.category-grid.is-numbers-landing {
  display: block;
}

.jobs-landing {
  display: grid;
  gap: 16px;
  margin: 4px 0 18px;
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(22, 101, 52, 0.06), transparent 58%),
    var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(26, 36, 44, 0.05);
}

.jobs-landing-head {
  display: grid;
  gap: 5px;
}

.jobs-landing-head span {
  color: var(--green);
  font-size: 13px;
  font-weight: 500;
}

.jobs-landing-head h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.3;
  font-weight: 500;
}

.jobs-landing-head p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-weight: 500;
}

.jobs-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.jobs-choice {
  position: relative;
  display: grid;
  gap: 9px;
  min-height: 150px;
  padding: 18px;
  text-align: right;
  color: var(--ink);
  background: #fff;
  border: 1px solid #e3e8eb;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(26, 36, 44, 0.06);
  transition: 0.18s ease;
}

.jobs-choice:hover,
.jobs-choice.is-active {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--green) 42%, var(--line));
  box-shadow: 0 16px 32px rgba(22, 101, 52, 0.12);
}

.jobs-choice.is-active {
  background: color-mix(in srgb, var(--green) 7%, #fff);
}

.jobs-choice-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #fff;
  background: var(--green);
  border-radius: 8px;
  font-size: 20px;
  font-weight: 500;
}

.jobs-choice strong {
  font-size: 20px;
  font-weight: 500;
}

.jobs-choice small {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
}

.jobs-choice b {
  justify-self: start;
  padding: 5px 10px;
  color: var(--green);
  background: color-mix(in srgb, var(--green) 10%, #fff);
  border-radius: 999px;
  font-size: 13px;
}

.numbers-landing {
  display: grid;
  gap: 16px;
  margin: 4px 0 18px;
  padding: 18px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--brand) 6%, transparent), transparent 58%),
    var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(26, 36, 44, 0.05);
}

.numbers-landing-head {
  display: grid;
  gap: 5px;
}

.numbers-landing-head span {
  color: var(--brand);
  font-size: 13px;
  font-weight: 500;
}

.numbers-landing-head h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.3;
  font-weight: 500;
}

.numbers-landing-head p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-weight: 500;
}

.numbers-choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.numbers-choice {
  position: relative;
  display: grid;
  gap: 9px;
  min-height: 142px;
  padding: 18px;
  text-align: right;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid #e3e8eb;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(26, 36, 44, 0.06);
  transition: 0.18s ease;
}

.numbers-choice:hover,
.numbers-choice.is-active {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--brand) 42%, var(--line));
  box-shadow: 0 16px 32px color-mix(in srgb, var(--brand) 13%, transparent);
}

.numbers-choice.is-active {
  background: color-mix(in srgb, var(--brand) 6%, #fff);
}

.numbers-choice-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 38px;
  color: var(--brand);
  background: #fff;
  border: 1px solid color-mix(in srgb, var(--brand) 18%, var(--line));
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
}

.numbers-choice strong {
  font-size: 19px;
  font-weight: 500;
}

.numbers-choice small {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
}

.numbers-choice b {
  justify-self: start;
  padding: 5px 10px;
  color: var(--brand);
  background: color-mix(in srgb, var(--brand) 9%, #fff);
  border-radius: 999px;
  font-size: 13px;
}

.mobile-operator-section {
  display: grid;
  margin-top: 6px;
  padding-top: 16px;
  border-top: 1px solid color-mix(in srgb, var(--brand) 11%, var(--line));
}

.operator-split-filter {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  overflow: hidden;
  width: min(100%, 620px);
  min-height: 188px;
  background: #050505;
  border: 1px solid #1a1f25;
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(18, 26, 34, 0.16);
}

.operator-logo-filter {
  position: relative;
  display: block;
  min-width: 0;
  min-height: 188px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  transition: 0.18s ease;
}

.operator-logo-filter + .operator-logo-filter {
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.operator-logo-filter:hover {
  filter: brightness(1.06);
}

.operator-logo-filter.is-active::after {
  content: "";
  position: absolute;
  inset: 7px;
  border: 3px solid rgba(255, 255, 255, 0.92);
  border-radius: 6px;
  box-shadow: 0 0 0 3px rgba(217, 34, 40, 0.45);
  pointer-events: none;
}

.operator-logo-filter.is-du.is-active::after {
  box-shadow: 0 0 0 3px rgba(45, 167, 223, 0.5);
}

.mobile-operator-logo {
  display: block;
  width: 100%;
  height: 100%;
  color: #fff;
  background: transparent;
  border-radius: 0;
}

.mobile-operator-logo svg {
  display: block;
  width: 100%;
  height: 100%;
}

.plate-emirate-section {
  display: grid;
  gap: 14px;
  margin-top: 6px;
  padding-top: 16px;
  border-top: 1px solid color-mix(in srgb, var(--brand) 11%, var(--line));
}

.plate-emirate-head {
  display: grid;
  gap: 4px;
}

.plate-emirate-head span {
  color: var(--brand);
  font-size: 13px;
  font-weight: 500;
}

.plate-emirate-head h3 {
  margin: 0;
  color: var(--ink);
  font-size: 22px;
  font-weight: 500;
}

.plate-emirate-head p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}

.plate-emirate-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(164px, 1fr));
  gap: 12px;
}

.plate-emirate-card {
  display: grid;
  gap: 9px;
  padding: 12px;
  text-align: right;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid #e3e8eb;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(26, 36, 44, 0.055);
  transition: 0.18s ease;
}

.plate-emirate-card:hover,
.plate-emirate-card.is-active {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--brand) 42%, var(--line));
  box-shadow: 0 16px 30px color-mix(in srgb, var(--brand) 12%, transparent);
}

.plate-emirate-card.is-active {
  background: color-mix(in srgb, var(--brand) 6%, #fff);
}

.plate-emirate-visual {
  display: block;
  overflow: hidden;
  aspect-ratio: 10 / 7;
  background: #f6f8fa;
  border: 1px solid #dfe5e8;
  border-radius: 8px;
}

.plate-emirate-visual svg {
  display: block;
  width: 100%;
  height: 100%;
}

.plate-emirate-card strong {
  font-size: 15px;
  font-weight: 500;
}

.plate-emirate-card small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}

.category-card {
  display: grid;
  gap: 10px;
  align-content: start;
  min-height: 112px;
  padding: 16px;
  text-align: right;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  isolation: isolate;
}

.category-card:hover,
.listing-card:hover {
  border-color: color-mix(in srgb, var(--brand) 45%, var(--line));
  box-shadow: 0 12px 28px rgba(20, 34, 40, 0.09);
}

.category-card.is-selected {
  border-color: var(--brand);
  box-shadow: 0 12px 28px color-mix(in srgb, var(--brand) 16%, transparent);
}

.category-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  color: #fff;
  background:
    radial-gradient(circle at 34% 24%, rgba(255, 255, 255, 0.26), transparent 32%),
    linear-gradient(145deg, color-mix(in srgb, var(--cat-color, var(--brand)) 92%, #111827), color-mix(in srgb, var(--cat-color, var(--brand)) 62%, #050607));
  border: 1px solid rgba(244, 216, 141, 0.42);
  border-radius: 999px;
  font-weight: 500;
  box-shadow:
    0 12px 24px color-mix(in srgb, var(--cat-color, var(--brand)) 18%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.category-card .category-icon {
  color: #fff;
}

.category-icon::before {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: inherit;
  pointer-events: none;
}

.category-icon svg {
  position: relative;
  z-index: 1;
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.category-icon svg path,
.category-icon svg circle,
.category-icon svg rect {
  fill: none;
  stroke: currentColor;
}

.brand-option {
  min-height: 86px;
  padding: 14px;
}

.brand-option .category-icon {
  width: 34px;
  height: 34px;
}

.brand-option .category-icon svg {
  width: 21px;
  height: 21px;
}

.category-card strong {
  font-size: 17px;
  line-height: 1.25;
}

.category-card > span:not(.category-icon) {
  max-width: 100%;
  line-height: 1.55;
}

.results-meta {
  margin: 14px 0;
}

.listings-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.listings-grid.list-view {
  grid-template-columns: 1fr;
}

.listing-card {
  overflow: hidden;
  text-align: right;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.listing-card.list-card {
  display: grid;
  grid-template-columns: 290px 1fr;
}

.media-button {
  display: block;
  width: 100%;
  padding: 0;
  text-align: inherit;
  background: transparent;
  border: 0;
}

.media-frame,
.bayut-media-frame {
  position: relative;
  overflow: hidden;
}

.listing-media {
  position: relative;
  min-height: 190px;
  overflow: hidden;
  background: var(--surface-2);
}

.listing-card.list-card .listing-media {
  min-height: 100%;
}

.listing-media svg {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 190px;
}

.gallery-image-wrap {
  display: block;
  width: 100%;
  height: 100%;
}

.gallery-image-wrap .listing-photo,
.gallery-image-wrap svg {
  display: block;
  width: 100%;
  height: 100%;
}

.gallery-controls {
  position: absolute;
  right: 10px;
  bottom: 10px;
  left: 10px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}

.gallery-controls button {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  color: #fff;
  background: rgba(12, 18, 22, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 50%;
  font-size: 24px;
  line-height: 1;
  pointer-events: auto;
  backdrop-filter: blur(10px);
}

.gallery-controls span {
  min-height: 28px;
  padding: 5px 9px;
  color: #fff;
  background: rgba(12, 18, 22, 0.64);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  pointer-events: none;
}

.listing-photo {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 190px;
  object-fit: cover;
}

.badge,
.photo-count {
  position: absolute;
  top: 10px;
  padding: 5px 9px;
  color: #fff;
  background: rgba(0, 0, 0, 0.64);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 500;
}

.badge {
  right: 10px;
}

.photo-count {
  left: 10px;
}

.photo-count.large {
  top: auto;
  bottom: 12px;
  left: 12px;
}

.listing-body {
  display: grid;
  gap: 8px;
  padding: 14px;
}

.listing-title {
  min-height: 44px;
  margin: 0;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 500;
}

.price {
  color: var(--brand);
  font-weight: 500;
  font-size: 18px;
}

.listing-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.listing-specs span {
  padding: 5px 8px;
  background: var(--surface-2);
  border-radius: 8px;
}

.seller-row {
  padding-top: 6px;
  border-top: 1px solid var(--line);
}

.seller-row strong {
  color: var(--ink);
}

.save-button {
  width: 38px;
  height: 38px;
}

.save-button.is-saved {
  color: var(--brand);
}

.auction-card {
  border-color: color-mix(in srgb, #7c3aed 22%, var(--line));
}

.auction-badge {
  background: linear-gradient(135deg, #1f2937, #7c3aed);
}

.auction-topline span:last-child {
  color: #7c3aed;
  font-weight: 500;
}

.auction-price-block {
  display: grid;
  gap: 3px;
  padding: 11px 12px;
  background:
    linear-gradient(135deg, color-mix(in srgb, #7c3aed 9%, var(--surface)), color-mix(in srgb, #0f766e 7%, var(--surface)));
  border: 1px solid color-mix(in srgb, #7c3aed 18%, var(--line));
  border-radius: 8px;
}

.auction-price-block span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}

.auction-price-block strong {
  color: #2f1a75;
  font-size: 22px;
}

.auction-progress {
  height: 7px;
  overflow: hidden;
  background: color-mix(in srgb, #7c3aed 10%, var(--surface-2));
  border-radius: 999px;
}

.auction-progress span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #0f766e, #7c3aed);
  border-radius: inherit;
}

.auction-progress.is-large {
  height: 9px;
}

.auction-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.auction-meta span {
  min-width: 0;
  padding: 7px 8px;
  color: #263238;
  background: var(--surface-2);
  border: 1px solid color-mix(in srgb, #7c3aed 10%, var(--line));
  border-radius: 8px;
  font-size: 12px;
  font-weight: 500;
}

.auction-seller-row .card-actions {
  flex-wrap: wrap;
}

.auction-bid-button {
  min-height: 38px;
  padding: 0 14px;
  color: #fff;
  background: linear-gradient(135deg, #0f766e, #7c3aed);
  border: 0;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(15, 118, 110, 0.18);
}

.auction-bid-button:hover {
  filter: brightness(1.04);
}

.auction-bid-button:disabled {
  color: var(--muted);
  background: var(--surface-2);
  box-shadow: none;
  cursor: not-allowed;
}

.auction-bid-button.is-wide {
  width: 100%;
  min-height: 48px;
  font-size: 16px;
}

.auction-detail-panel {
  display: grid;
  gap: 14px;
  border-color: color-mix(in srgb, #7c3aed 22%, var(--line));
}

.auction-detail-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.auction-detail-head span {
  padding: 6px 10px;
  color: #2f1a75;
  background: color-mix(in srgb, #7c3aed 12%, var(--surface));
  border-radius: 999px;
  font-weight: 500;
}

.auction-detail-head strong {
  color: #0f766e;
  font-size: 24px;
}

.auction-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.auction-detail-grid div {
  display: grid;
  gap: 4px;
  padding: 12px;
  background: var(--surface-2);
  border-radius: 8px;
}

.auction-detail-grid span {
  color: var(--muted);
  font-size: 12px;
}

.auction-detail-grid strong {
  color: var(--ink);
}

@media (max-width: 760px) {
  .auction-meta,
  .auction-detail-grid {
    grid-template-columns: 1fr;
  }

  .auction-seller-row .card-actions {
    width: 100%;
  }

  .auction-card .auction-bid-button,
  .auction-card .details-button {
    flex: 1 1 150px;
  }
}

.account-panel {
  display: grid;
  gap: 14px;
  margin: 16px 0;
}

.messages-panel,
.tickets-panel,
.info-panel {
  display: grid;
  gap: 14px;
  margin: 16px 0;
}

.info-card {
  display: grid;
  gap: 18px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(20, 34, 40, 0.06);
}

.info-card h3 {
  margin: 0;
  font-size: clamp(24px, 4vw, 36px);
  line-height: 1.25;
}

.info-lead {
  max-width: 820px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.9;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.info-box {
  display: grid;
  gap: 8px;
  padding: 16px;
  background: var(--surface-3);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.info-box strong {
  color: var(--ink);
  font-size: 16px;
}

.info-box span,
.info-list li {
  color: var(--muted);
  line-height: 1.8;
}

.info-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0 22px;
}

.info-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  padding-top: 4px;
}

.info-contact a {
  color: var(--brand);
  font-weight: 500;
  text-decoration: none;
}

.info-contact a:hover {
  text-decoration: underline;
}

.messages-toolbar,
.message-thread {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.messages-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  padding: 16px;
}

.messages-toolbar h3 {
  margin: 0;
  font-size: 24px;
}

.messages-toolbar span {
  color: var(--muted);
  font-weight: 500;
}

.message-list {
  display: grid;
  gap: 12px;
}

.message-thread {
  display: grid;
  gap: 12px;
  padding: 16px;
}

.message-thread-head,
.message-meta,
.message-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.message-thread-head div {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.message-thread-head strong {
  color: var(--ink);
  font-size: 17px;
}

.message-thread-head span,
.message-meta {
  color: var(--muted);
  font-size: 13px;
}

.message-thread p {
  margin: 0;
  padding: 12px;
  background: var(--surface-3);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.message-actions {
  justify-content: flex-start;
  flex-wrap: wrap;
}

.messages-empty {
  display: grid;
  place-items: center;
  gap: 8px;
  min-height: 220px;
  padding: 22px;
  background: var(--surface);
  border: 1px dashed var(--line);
  border-radius: 8px;
  text-align: center;
}

.messages-empty span {
  color: var(--muted);
  font-size: 13px;
}

.ticket-list,
.owner-ticket-stack {
  display: grid;
  gap: 12px;
}

.ticket-list {
  grid-template-columns: repeat(auto-fit, minmax(280px, 360px));
  align-items: start;
  justify-content: start;
}

.ticket-card {
  position: relative;
  display: grid;
  gap: 14px;
  overflow: hidden;
  padding: 16px;
  background: linear-gradient(135deg, var(--surface), color-mix(in srgb, var(--brand) 7%, var(--surface)));
  border: 1px solid color-mix(in srgb, var(--brand) 22%, var(--line));
  border-radius: 8px;
  box-shadow: 0 14px 28px rgba(20, 34, 40, 0.08);
}

.user-ticket-card {
  gap: 10px;
  width: 100%;
  max-width: 360px;
  min-height: 0;
  padding: 12px;
}

.user-ticket-card .ticket-ribbon {
  position: static;
  min-width: 0;
  width: fit-content;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 11px;
  transform: none;
}

.user-ticket-card .ticket-head {
  padding-left: 0;
}

.user-ticket-card .ticket-head h3 {
  font-size: 18px;
  line-height: 1.2;
}

.user-ticket-card .status-pill {
  padding: 6px 8px;
  font-size: 11px;
}

.user-ticket-card .ticket-serial {
  gap: 5px;
  padding: 11px;
}

.user-ticket-card .ticket-serial span {
  direction: ltr;
  text-align: left;
}

.user-ticket-card .ticket-serial strong {
  font-size: 20px;
}

.user-ticket-card .ticket-barcode {
  min-height: 34px;
}

.user-ticket-card .ticket-info-grid {
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.user-ticket-card .ticket-info-grid div {
  padding: 8px;
}

.user-ticket-card .ticket-info-grid span {
  font-size: 11px;
}

.user-ticket-card .ticket-info-grid strong {
  font-size: 13px;
  line-height: 1.25;
}

.user-ticket-card .ticket-actions .details-button {
  min-height: 36px;
  padding: 0 12px;
  font-size: 13px;
}

.compact-raffle-ticket {
  position: relative;
  gap: 10px;
  max-width: 520px;
  padding: 18px;
  overflow: visible;
  background: #fff;
  border: 0;
  border-radius: 28px;
  box-shadow: 0 18px 44px rgba(17, 24, 39, 0.1);
}

.compact-raffle-ticket::before,
.compact-raffle-ticket::after {
  position: absolute;
  left: 50%;
  width: 58px;
  height: 28px;
  content: "";
  background: var(--bg);
  border-radius: 0 0 999px 999px;
  transform: translateX(-50%);
}

.compact-raffle-ticket::before {
  top: 0;
}

.compact-raffle-ticket::after {
  bottom: 0;
  border-radius: 999px 999px 0 0;
}

.compact-ticket-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 116px;
  gap: 14px;
  align-items: start;
}

.compact-ticket-text {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.compact-ticket-serial {
  direction: ltr;
  color: #050505;
  font-size: 16px;
  font-weight: 500;
  text-align: right;
}

.compact-ticket-date,
.compact-ticket-campaign,
.compact-ticket-draw,
.compact-ticket-progress span {
  color: #8d9095;
  font-size: 13px;
  font-weight: 500;
}

.compact-ticket-prize {
  color: #050505;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.25;
}

.compact-ticket-image {
  width: 116px;
  height: 78px;
  object-fit: cover;
  background: #eef0f3;
  border-radius: 18px;
  filter: grayscale(0.15);
}

.compact-ticket-progress {
  display: inline-grid;
  justify-self: end;
  gap: 3px;
  padding: 9px 14px;
  color: #fff;
  background: linear-gradient(135deg, #ef2d76, #e11d48);
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 12px 24px rgba(225, 29, 72, 0.18);
}

.compact-ticket-progress strong {
  color: #fff;
  font-size: 14px;
  line-height: 1;
}

.compact-ticket-progress span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 11px;
}

.ticket-card.is-featured {
  background: linear-gradient(135deg, var(--surface), color-mix(in srgb, var(--blue) 8%, var(--surface)));
  border-color: color-mix(in srgb, var(--blue) 24%, var(--line));
}

.ticket-card.is-grand {
  background: linear-gradient(135deg, var(--surface), color-mix(in srgb, var(--gold) 18%, var(--surface)));
  border-color: var(--gold);
}

.compact-raffle-ticket.is-featured,
.compact-raffle-ticket.is-grand {
  background: #fff;
  border-color: transparent;
}

.ticket-ribbon {
  position: absolute;
  top: 16px;
  left: -38px;
  min-width: 150px;
  padding: 6px 10px;
  color: #fff;
  background: var(--brand);
  font-size: 12px;
  font-weight: 500;
  text-align: center;
  transform: rotate(-32deg);
}

.ticket-head,
.ticket-actions,
.owner-print-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
}

.ticket-head {
  padding-left: 66px;
}

.ticket-head h3,
.owner-print-head h3,
.print-ticket h2 {
  margin: 0;
}

.ticket-serial {
  display: grid;
  gap: 7px;
  padding: 14px;
  direction: ltr;
  text-align: left;
  background: #fff;
  border: 1px dashed #cfd8dc;
  border-radius: 8px;
}

.ticket-serial span {
  direction: rtl;
  color: #5f6f76;
  font-size: 12px;
  font-weight: 500;
  text-align: right;
}

.ticket-serial strong {
  color: #111827;
  font-size: 24px;
  letter-spacing: 0.04em;
}

.ticket-barcode {
  display: flex;
  gap: 3px;
  align-items: end;
  min-height: 46px;
  padding-top: 4px;
}

.ticket-barcode i {
  display: block;
  width: var(--bar-width, 3px);
  height: var(--bar-height, 32px);
  background: #111827;
  border-radius: 2px 2px 0 0;
}

.ticket-info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.ticket-info-grid div {
  display: grid;
  gap: 3px;
  min-width: 0;
  padding: 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.ticket-info-grid span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}

.ticket-info-grid strong {
  overflow-wrap: anywhere;
  color: var(--ink);
}

.ticket-actions {
  justify-content: flex-start;
  flex-wrap: wrap;
}

.owner-print-queue {
  display: grid;
  gap: 14px;
  margin-top: 4px;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.owner-print-head {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.print-area {
  display: none;
}

.profile-card,
.seller-profile {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.seller-link,
.company-name-button {
  padding: 0;
  color: var(--brand);
  background: transparent;
  border: 0;
  font-weight: 500;
  text-align: right;
}

.company-name-button {
  margin: 0;
  font-size: 20px;
  color: var(--ink);
}

.seller-link:hover,
.company-name-button:hover {
  text-decoration: underline;
}

.company-profile-hero {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 14px;
  padding: 18px;
  background: var(--surface-3);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.company-profile-hero h2 {
  margin: 0 0 8px;
}

.company-avatar {
  width: 58px;
  height: 58px;
  background: var(--green);
  font-size: 24px;
}

.profile-card {
  justify-content: space-between;
}

.verify-account-card {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  gap: 9px;
  align-items: center;
  justify-content: flex-start;
  width: fit-content;
  min-width: 148px;
  min-height: 46px;
  padding: 7px 12px;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.32), transparent 35%),
    linear-gradient(135deg, #20a2ff 0%, #0875ee 48%, #0050c8 100%);
  border: 0;
  border-radius: 12px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.36),
    inset 0 -4px 0 rgba(0, 45, 126, 0.18),
    0 10px 20px rgba(0, 91, 214, 0.2);
  font-weight: 500;
  white-space: nowrap;
}

.verify-account-card::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.48), transparent 28%);
  opacity: 0.8;
}

.verify-account-card::after {
  position: absolute;
  right: -22px;
  bottom: -26px;
  width: 76px;
  height: 76px;
  content: "";
  background: rgba(255, 255, 255, 0.12);
  border-radius: 50%;
}

.verify-account-card:disabled {
  cursor: default;
}

.verify-account-card.is-pending {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.26), transparent 35%),
    linear-gradient(135deg, #64748b 0%, #475569 52%, #1f2937 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    inset 0 -4px 0 rgba(15, 23, 42, 0.22),
    0 10px 20px rgba(15, 23, 42, 0.18);
}

.verify-account-card.is-approved {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.34), transparent 35%),
    linear-gradient(135deg, #38bdf8 0%, #0ea5e9 46%, #1d4ed8 100%);
}

.verified-3d-badge {
  position: relative;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  filter: drop-shadow(0 7px 7px rgba(0, 31, 87, 0.24));
}

.verified-3d-badge::before,
.verified-3d-badge::after {
  position: absolute;
  content: "";
  clip-path: polygon(50% 0%, 59% 13%, 74% 7%, 79% 22%, 94% 25%, 88% 40%, 100% 50%, 88% 60%, 94% 75%, 79% 78%, 74% 93%, 59% 87%, 50% 100%, 41% 87%, 26% 93%, 21% 78%, 6% 75%, 12% 60%, 0 50%, 12% 40%, 6% 25%, 21% 22%, 26% 7%, 41% 13%);
}

.verified-3d-badge::before {
  inset: 4px 0 0 -4px;
  background: linear-gradient(145deg, #026cba, #00416f);
}

.verified-3d-badge::after {
  inset: 0;
  background:
    radial-gradient(circle at 32% 22%, rgba(255, 255, 255, 0.42), transparent 24%),
    linear-gradient(145deg, #92dcff 0%, #4ebcff 52%, #1688f7 100%);
}

.verified-3d-badge i {
  position: absolute;
  top: 11px;
  left: 10px;
  z-index: 2;
  width: 18px;
  height: 10px;
  border-bottom: 5px solid #fff;
  border-left: 5px solid #fff;
  border-radius: 3px;
  filter: drop-shadow(-3px 4px 0 rgba(35, 51, 72, 0.26));
  transform: rotate(-45deg);
}

.verify-account-copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 4px;
  min-width: 0;
  text-align: right;
}

.verify-account-copy strong {
  color: #fff;
  font-size: 13px;
  line-height: 1.25;
}

.verify-account-copy small {
  color: rgba(255, 255, 255, 0.82);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.35;
}

.verified-word-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  margin-inline-start: 8px;
  padding: 0 10px;
  color: #fff;
  background: linear-gradient(135deg, #38bdf8, #0b72f0 58%, #0647b7);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    0 10px 22px rgba(14, 116, 240, 0.28);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
  vertical-align: middle;
}

.account-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.account-info-grid div {
  display: grid;
  gap: 4px;
  padding: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.account-info-grid span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}

.account-info-grid strong {
  color: var(--ink);
}

.account-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.web3-panel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 16px;
  color: var(--ink);
  background: color-mix(in srgb, var(--brand) 5%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--brand) 18%, var(--line));
  border-radius: 8px;
  box-shadow: 0 14px 28px color-mix(in srgb, var(--brand) 10%, transparent);
}

.web3-panel h3 {
  margin: 0;
}

.web3-panel span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}

.web3-orb {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  color: #fff;
  background: var(--brand);
  border-radius: 8px;
  font-weight: 500;
  direction: ltr;
  box-shadow: 0 12px 24px color-mix(in srgb, var(--brand) 22%, transparent);
}

.real-estate-portal {
  display: grid;
  gap: 14px;
  padding: 18px;
  color: var(--ink);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--green) 12%, transparent), transparent 42%),
    linear-gradient(315deg, color-mix(in srgb, #3579f6 8%, transparent), transparent 46%),
    var(--surface);
  border: 1px solid color-mix(in srgb, var(--green) 22%, var(--line));
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
}

.real-estate-entry-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px;
  color: var(--ink);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--green) 9%, transparent), transparent 48%),
    var(--surface);
  border: 1px solid color-mix(in srgb, var(--green) 20%, var(--line));
  border-radius: 8px;
  box-shadow: 0 14px 30px rgba(4, 95, 68, 0.08);
}

.real-estate-entry-panel h3,
.real-estate-entry-panel p {
  margin: 0;
}

.real-estate-entry-panel p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.7;
  font-size: 14px;
  font-weight: 500;
}

.portal-hero,
.portal-section-title,
.pipeline-title,
.broker-score-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.portal-copy {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.portal-copy h3,
.portal-section-title h4 {
  margin: 0;
}

.portal-copy h3 {
  font-size: 34px;
  line-height: 1.1;
}

.portal-copy p {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
  font-weight: 500;
}

.portal-badges,
.portal-kpis,
.lead-points-grid,
.pipeline-grid,
.broker-leaderboard {
  display: grid;
  gap: 10px;
}

.portal-badges {
  grid-template-columns: repeat(3, max-content);
}

.portal-badges span {
  padding: 7px 10px;
  color: var(--green);
  background: color-mix(in srgb, var(--green) 10%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--green) 18%, var(--line));
  border-radius: 8px;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}

.portal-score-card {
  display: grid;
  place-items: center;
  gap: 6px;
  min-width: 168px;
  padding: 18px;
  background: #102a34;
  color: #fff;
  border-radius: 8px;
  box-shadow: 0 18px 34px rgba(16, 42, 52, 0.22);
}

.portal-score-card span,
.portal-score-card small {
  color: rgba(255, 255, 255, 0.74);
  font-size: 12px;
  font-weight: 500;
}

.portal-score-card strong {
  font-size: 42px;
  line-height: 1;
}

.portal-kpis,
.lead-points-grid {
  grid-template-columns: repeat(4, 1fr);
}

.lead-points-grid {
  grid-template-columns: repeat(3, 1fr);
}

.portal-kpis div,
.lead-points-grid article {
  display: grid;
  gap: 5px;
  min-height: 92px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid color-mix(in srgb, var(--line) 80%, transparent);
  border-radius: 8px;
}

.portal-kpis span,
.lead-points-grid span,
.lead-points-grid small,
.portal-section-title span,
.pipeline-title small,
.pipeline-lead span,
.pipeline-lead small,
.broker-score-card span,
.broker-score-card small,
.employee-card em {
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}

.portal-kpis strong,
.lead-points-grid strong {
  color: var(--ink);
  font-size: 26px;
  line-height: 1;
}

.lead-points-grid article:first-child strong {
  color: var(--green);
}

.lead-points-grid article:nth-child(2) strong {
  color: #3579f6;
}

.lead-points-grid article:nth-child(3) strong {
  color: var(--brand);
}

.portal-split {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.8fr);
  gap: 14px;
  align-items: start;
}

.pipeline-panel,
.broker-panel {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.portal-section-title {
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.portal-section-title span {
  padding: 7px 10px;
  color: var(--green);
  background: color-mix(in srgb, var(--green) 10%, transparent);
  border-radius: 8px;
  white-space: nowrap;
}

.pipeline-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.pipeline-column {
  --stage: var(--green);
  display: grid;
  align-content: start;
  gap: 9px;
  min-height: 164px;
  padding: 12px;
  background: color-mix(in srgb, var(--stage) 6%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--stage) 20%, var(--line));
  border-top: 4px solid var(--stage);
  border-radius: 8px;
}

.pipeline-column.is-contacted {
  --stage: #3579f6;
}

.pipeline-column.is-viewing {
  --stage: var(--gold);
}

.pipeline-column.is-closed {
  --stage: var(--brand);
}

.pipeline-title {
  align-items: start;
}

.pipeline-title div,
.pipeline-lead {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.pipeline-title b {
  display: grid;
  place-items: center;
  min-width: 34px;
  height: 34px;
  padding: 0 8px;
  color: var(--stage);
  background: color-mix(in srgb, var(--stage) 10%, var(--surface));
  border-radius: 8px;
}

.pipeline-lead,
.pipeline-empty {
  padding: 10px;
  background: var(--surface);
  border: 1px solid color-mix(in srgb, var(--stage) 14%, var(--line));
  border-radius: 8px;
}

.pipeline-lead strong,
.pipeline-lead span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pipeline-lead small {
  color: var(--stage);
}

.pipeline-empty {
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  text-align: center;
}

.broker-score-card {
  justify-content: start;
  padding: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 22px rgba(20, 34, 40, 0.05);
}

.broker-score-card > div {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.broker-score-card strong,
.broker-score-card span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.broker-score-ring {
  position: relative;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 54px;
  height: 54px;
  color: var(--green);
  background: conic-gradient(var(--green) calc(var(--score) * 1%), color-mix(in srgb, var(--green) 10%, var(--line)) 0);
  border-radius: 50%;
}

.broker-score-ring::before {
  position: absolute;
  inset: 6px;
  content: "";
  background: var(--surface);
  border-radius: 50%;
}

.broker-score-ring b {
  position: relative;
  z-index: 1;
  font-size: 14px;
}

.company-panel {
  display: grid;
  gap: 14px;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.company-head,
.company-content {
  display: flex;
  gap: 14px;
  justify-content: space-between;
  align-items: start;
}

.company-head h3 {
  margin: 0;
}

.status-pill {
  padding: 7px 10px;
  color: var(--gold);
  background: color-mix(in srgb, var(--gold) 13%, transparent);
  border: 1px solid color-mix(in srgb, var(--gold) 28%, var(--line));
  border-radius: 8px;
  font-weight: 500;
  font-size: 12px;
  white-space: nowrap;
}

.status-pill.is-ok {
  color: var(--green);
  background: color-mix(in srgb, var(--green) 12%, transparent);
  border-color: color-mix(in srgb, var(--green) 28%, var(--line));
}

.permit-card {
  display: grid;
  place-items: center;
  gap: 7px;
  min-width: 150px;
  padding: 14px;
  color: var(--ink);
  background: var(--surface-3);
  border: 1px solid var(--line);
  border-radius: 8px;
  text-align: center;
}

.permit-card span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}

.permit-card strong {
  direction: ltr;
  font-size: 13px;
}

.permit-qr {
  width: 104px;
  height: 104px;
  padding: 8px;
  background: #fff;
  border: 1px solid #d7dee1;
  border-radius: 8px;
  fill: #111827;
  shape-rendering: crispEdges;
}

.company-form,
.profile-edit-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.company-form {
  padding-top: 12px;
  padding-right: 0;
  padding-bottom: 0;
  padding-left: 0;
  background: transparent;
  border-top: 1px solid var(--line);
  border-right: 0;
  border-bottom: 0;
  border-left: 0;
  border-radius: 0;
}

.form-section-head {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
}

.form-section-head h3 {
  margin: 0;
  font-size: 22px;
}

.profile-form-actions {
  display: flex;
  gap: 10px;
  align-items: end;
}

.company-form label,
.profile-edit-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}

.company-form input,
.profile-edit-form input,
.profile-edit-form select {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: 0;
}

.company-form button,
.profile-form-actions {
  align-self: end;
}

.profile-edit-form .helper-note {
  grid-column: 1 / -1;
}

.helper-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.property-crm-panel {
  display: grid;
  gap: 16px;
  padding: 18px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--green) 9%, transparent), transparent 44%),
    var(--surface);
  border: 1px solid color-mix(in srgb, var(--green) 22%, var(--line));
  border-radius: 8px;
  box-shadow: 0 18px 40px rgba(4, 95, 68, 0.08);
}

.property-crm-head,
.mini-section-head,
.lead-card-head,
.lead-actions {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

.property-crm-head h3,
.mini-section-head strong {
  margin: 0;
}

.property-crm-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.property-crm-stats div {
  display: grid;
  gap: 4px;
  padding: 14px;
  background: color-mix(in srgb, var(--green) 8%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--green) 18%, var(--line));
  border-radius: 8px;
}

.property-crm-stats strong {
  color: var(--green);
  font-size: 24px;
  line-height: 1;
}

.property-crm-stats span,
.mini-section-head span,
.lead-card > span,
.lead-meta,
.employee-card span,
.employee-card small {
  color: var(--muted);
  font-size: 13px;
}

.property-crm-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 14px;
  align-items: start;
}

.lead-board,
.employee-board {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.lead-card,
.employee-card {
  display: grid;
  gap: 10px;
  padding: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 22px rgba(20, 34, 40, 0.05);
}

.lead-card p {
  margin: 0;
  color: var(--ink);
  line-height: 1.7;
}

.lead-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.employee-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 14px;
  background: color-mix(in srgb, var(--green) 6%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--green) 18%, var(--line));
  border-radius: 8px;
}

.employee-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}

.employee-form input,
.employee-form select {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: 0;
}

.employee-form button {
  grid-column: 1 / -1;
}

.employee-list {
  display: grid;
  gap: 10px;
}

.employee-card {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.employee-card small {
  direction: ltr;
}

.employee-card b {
  justify-self: end;
  padding: 5px 8px;
  color: var(--green);
  background: color-mix(in srgb, var(--green) 10%, transparent);
  border-radius: 999px;
  font-size: 12px;
}

.employee-card em {
  grid-column: 1 / -1;
  padding-top: 2px;
  font-style: normal;
}

.form-note {
  margin: 0;
  padding: 10px 12px;
  color: var(--muted);
  background: var(--surface-3);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 13px;
}

.motors-post-field,
.property-post-field,
.jobs-post-field,
.classifieds-post-field,
.numbers-post-field {
  display: none !important;
}

.motors-post-mode .motors-post-field,
.property-post-mode .property-post-field {
  display: grid !important;
}

.jobs-post-mode .jobs-post-field,
.classifieds-post-mode .classifieds-post-field,
.numbers-post-mode .numbers-post-field {
  display: grid !important;
}

.property-post-mode .form-note.property-post-field {
  display: block !important;
}

.numbers-post-mode.number-mobile-mode .plate-number-field,
.numbers-post-mode.number-plate-mode .phone-number-field {
  display: none !important;
}

.post-type-dialog {
  width: min(760px, calc(100% - 28px));
  padding: 0;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 28px 80px rgba(20, 34, 40, 0.22);
}

.post-type-dialog::backdrop {
  background: rgba(11, 17, 24, 0.52);
  backdrop-filter: blur(10px);
}

.post-type-dialog form {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 22px;
}

.post-type-lead {
  margin: 0;
  color: var(--muted);
  font-weight: 500;
}

.post-type-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.post-type-grid button {
  display: grid;
  gap: 9px;
  min-height: 150px;
  padding: 16px;
  color: var(--ink);
  background: linear-gradient(145deg, #fff, color-mix(in srgb, var(--brand) 5%, #fff));
  border: 1px solid var(--line);
  border-radius: 12px;
  text-align: right;
  box-shadow: 0 10px 26px rgba(20, 34, 40, 0.06);
}

.post-type-grid button:hover {
  border-color: color-mix(in srgb, var(--brand) 42%, var(--line));
  box-shadow: 0 16px 34px rgba(217, 34, 40, 0.14);
  transform: translateY(-1px);
}

.post-type-grid strong {
  font-size: 18px;
  font-weight: 500;
}

.post-type-grid small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
}

.type-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  color: #fff;
  background:
    radial-gradient(circle at 34% 24%, rgba(255, 255, 255, 0.28), transparent 32%),
    linear-gradient(145deg, var(--type-color, var(--brand)), #11161a 76%);
  border: 1px solid rgba(244, 216, 141, 0.38);
  border-radius: 999px;
  box-shadow:
    0 12px 24px color-mix(in srgb, var(--type-color, var(--brand)) 18%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.type-icon::before {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: inherit;
  pointer-events: none;
}

.type-icon svg {
  position: relative;
  z-index: 1;
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.type-car {
  --type-color: #d92228;
}

.type-home {
  --type-color: #07865d;
}

.type-classified {
  --type-color: #b57809;
}

.type-job {
  --type-color: #3468c9;
}

.type-device {
  --type-color: #d53f5a;
}

.type-furniture {
  --type-color: #c9850f;
}

.type-number {
  --type-color: #0f766e;
}

.selected-post-type {
  padding: 12px 14px;
  color: var(--brand);
  background: color-mix(in srgb, var(--brand) 8%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--brand) 22%, var(--line));
  border-radius: 8px;
  font-weight: 500;
}

.feature-checks {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding: 14px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.feature-checks strong {
  grid-column: 1 / -1;
  font-size: 15px;
}

.feature-checks label {
  display: inline-flex;
  grid-template-columns: none;
  gap: 8px;
  align-items: center;
  min-height: 38px;
  padding: 0 10px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
}

.feature-checks input {
  width: 16px;
  height: 16px;
  min-height: 0;
  padding: 0;
}

.plate-preview-card {
  gap: 10px;
  align-content: start;
  padding: 14px;
  background:
    radial-gradient(circle at 20% 10%, rgba(255, 255, 255, 0.9), transparent 28%),
    linear-gradient(145deg, #f8fafc, #e5e7eb);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.plate-preview-card > span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}

.plate-preview {
  --plate-accent: #d92228;
  --plate-ink: #111827;
  position: relative;
  overflow: hidden;
  min-height: 122px;
  aspect-ratio: 3.35 / 1;
  background: #fff;
  border: 4px solid #171717;
  border-radius: 8px;
  box-shadow: 0 14px 0 #d1d5db, 0 24px 32px rgba(15, 23, 42, 0.16);
  direction: ltr;
}

.plate-preview::before {
  content: "";
  position: absolute;
  inset: 4px;
  border: 2px solid #e5e7eb;
  border-radius: 4px;
  pointer-events: none;
}

.plate-preview span {
  position: absolute;
  color: var(--plate-ink);
  font-weight: 500;
  line-height: 1;
}

.plate-preview b,
.plate-preview em,
.plate-preview strong,
.plate-preview i,
.plate-preview small {
  font-style: normal;
  font-weight: 500;
}

.plate-simple-code {
  left: 9%;
  top: 22%;
  font-size: clamp(36px, 8vw, 60px);
}

.plate-simple-number {
  top: 20%;
  right: 13%;
  font-size: clamp(40px, 8.6vw, 66px);
  letter-spacing: 0.08em;
}

.plate-simple-en {
  left: 10%;
  bottom: 16%;
  font-size: clamp(17px, 3.8vw, 28px);
  letter-spacing: 0.05em;
}

.plate-simple-ar {
  right: 15%;
  bottom: 17%;
  direction: rtl;
  font-size: clamp(18px, 3.9vw, 28px);
  letter-spacing: 0.16em;
}

.plate-preview[data-emirate="dubai"] .plate-simple-ar {
  right: 29%;
  letter-spacing: 0.08em;
}

.plate-ad-top {
  inset: 0 0 auto;
  height: 36%;
  color: #fff !important;
  background: #e60000;
  border-bottom: 5px solid #171717;
}

.plate-ad-top b,
.plate-ad-top strong,
.plate-ad-top em {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
}

.plate-ad-top b {
  right: 7%;
  direction: rtl;
  font-size: clamp(22px, 5vw, 40px);
}

.plate-ad-top strong {
  left: 50%;
  font-size: clamp(42px, 9vw, 72px);
  transform: translate(-50%, -50%);
}

.plate-ad-top em {
  left: 7%;
  direction: rtl;
  font-size: clamp(21px, 5vw, 38px);
}

.plate-ad-number {
  inset-inline: 0;
  top: 47%;
  text-align: center;
  font-size: clamp(54px, 15vw, 104px);
  letter-spacing: 0.04em;
}

.plate-rak-head {
  inset: 0 0 auto;
  height: 35%;
  border-bottom: 4px solid #171717;
}

.plate-rak-head b {
  position: absolute;
  top: 14%;
  left: 8%;
  font-size: clamp(16px, 4vw, 28px);
  letter-spacing: 0.18em;
  line-height: 1.25;
}

.plate-rak-head em {
  position: absolute;
  top: 13%;
  right: 7%;
  direction: rtl;
  text-align: right;
  font-size: clamp(20px, 4.6vw, 34px);
  line-height: 1.18;
}

.plate-rak-head i {
  position: absolute;
  left: 50%;
  top: 12%;
  width: 52px;
  height: 46px;
  transform: translateX(-50%);
  background: #111;
  clip-path: polygon(12% 84%, 28% 22%, 48% 7%, 60% 28%, 72% 8%, 88% 82%, 100% 91%, 0 91%);
}

.plate-rak-number {
  inset-inline: 0;
  top: 47%;
  text-align: center;
  font-size: clamp(58px, 16vw, 112px);
  letter-spacing: 0.03em;
}

.plate-shj-en {
  top: 12%;
  left: 7%;
  font-size: clamp(16px, 3.5vw, 27px);
  letter-spacing: 0.16em;
}

.plate-shj-code {
  top: 11%;
  left: 50%;
  transform: translateX(-50%);
  font-size: clamp(26px, 6vw, 48px);
}

.plate-shj-ar {
  top: 12%;
  right: 8%;
  direction: rtl;
  font-size: clamp(19px, 4vw, 32px);
}

.plate-shj-number {
  inset-inline: 0;
  top: 39%;
  text-align: center;
  font-size: clamp(46px, 11vw, 82px);
  letter-spacing: 0.08em;
}

.plate-shj-uae {
  left: 7%;
  bottom: 12%;
  font-size: clamp(14px, 3vw, 22px);
  letter-spacing: 0.12em;
}

.plate-shj-aruae {
  right: 10%;
  bottom: 12%;
  direction: rtl;
  font-size: clamp(15px, 3vw, 22px);
}

.plate-aj-number {
  inset-inline: 0;
  top: 17%;
  text-align: center;
  font-size: clamp(46px, 11vw, 82px);
  letter-spacing: 0.06em;
}

.plate-aj-code {
  inset-inline: 0;
  bottom: 13%;
  text-align: center;
  font-size: clamp(36px, 8vw, 62px);
}

.plate-aj-left,
.plate-aj-right {
  bottom: 12%;
  display: grid;
  gap: 2px;
  text-align: center;
}

.plate-aj-left {
  left: 8%;
}

.plate-aj-right {
  right: 8%;
}

.plate-aj-left b,
.plate-aj-right b,
.plate-aj-left em,
.plate-aj-right em {
  display: block;
  direction: rtl;
  font-size: clamp(16px, 3.4vw, 24px);
  line-height: 1;
}

.plate-aj-left em,
.plate-aj-right em {
  direction: ltr;
  letter-spacing: 0.08em;
}

.plate-fj-number {
  inset-inline: 0;
  top: 15%;
  text-align: center;
  font-size: clamp(48px, 11vw, 84px);
}

.plate-fj-code {
  inset-inline: 0;
  bottom: 11%;
  text-align: center;
  font-size: clamp(38px, 8vw, 64px);
}

.plate-fj-uae {
  left: 13%;
  bottom: 18%;
  font-size: clamp(17px, 3.7vw, 28px);
  letter-spacing: 0.06em;
}

.plate-fj-ar {
  right: 13%;
  bottom: 19%;
  direction: rtl;
  font-size: clamp(18px, 4vw, 28px);
}

.payment-panel {
  display: grid;
  gap: 14px;
  padding: 16px;
  background: var(--surface-3);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.payment-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.payment-head h3 {
  margin: 0;
}

.payment-head > strong {
  color: var(--brand);
  font-size: 22px;
  white-space: nowrap;
}

.payment-plans,
.payment-methods,
.payment-fields {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.payment-fields {
  grid-template-columns: 1fr 1fr;
}

.payment-plan,
.payment-method {
  position: relative;
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 9px !important;
  align-items: start;
  padding: 12px;
  color: var(--ink) !important;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.payment-plan input,
.payment-method input {
  width: 18px !important;
  min-height: 18px !important;
  margin-top: 3px;
  accent-color: var(--brand);
}

.payment-plan span,
.payment-method span {
  display: grid;
  gap: 3px;
}

.payment-brand-row {
  display: flex !important;
  flex-wrap: wrap;
  gap: 6px !important;
  align-items: center;
  margin-top: 4px;
}

.card-logo,
.crypto-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 24px;
  padding: 0 7px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 500;
  line-height: 1;
  direction: ltr;
}

.visa-logo {
  color: #1434cb;
  background: #fff;
  border: 1px solid #d9e1f2;
  font-style: italic;
  letter-spacing: 0.6px;
}

.mastercard-logo {
  position: relative;
  gap: 0;
  min-width: 72px;
  overflow: hidden;
  color: #fff;
  background: #1f2937;
  border: 1px solid #111827;
}

.mastercard-logo i,
.mastercard-logo em {
  width: 18px;
  height: 18px;
  border-radius: 50%;
}

.mastercard-logo i {
  margin-left: -2px;
  background: #eb001b;
}

.mastercard-logo em {
  margin-right: -6px;
  background: #f79e1b;
  opacity: 0.92;
}

.mastercard-logo b {
  margin-right: 7px;
  font-size: 8px;
  font-style: normal;
}

.crypto-logo {
  gap: 5px;
  min-width: 64px;
  height: 28px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
}

.crypto-logo img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.crypto-logo b {
  font-size: 10px;
}

.payment-plan small,
.payment-method small,
.crypto-wallet small {
  color: var(--muted);
  font-size: 12px;
}

.payment-plan b {
  color: var(--brand);
}

.draw-meter,
.draw-prize-card,
.draw-note {
  grid-column: 1 / -1;
}

.draw-meter {
  display: grid !important;
  gap: 7px !important;
  padding: 10px;
  background: linear-gradient(135deg, #fff8e6, #ffffff);
  border: 1px solid color-mix(in srgb, var(--gold) 70%, #f8d487);
  border-radius: 999px;
  box-shadow: inset 0 0 0 5px color-mix(in srgb, var(--gold) 18%, transparent);
}

.draw-meter > span {
  display: flex !important;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
  padding: 0 4px;
}

.draw-meter strong {
  color: #222;
  font-size: 18px;
}

.draw-meter small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}

.draw-meter i {
  height: 10px;
  overflow: hidden;
  background: rgba(251, 191, 36, 0.18);
  border-radius: 999px;
}

.draw-meter em {
  display: block;
  width: var(--draw-progress, 50%);
  height: 100%;
  background: linear-gradient(90deg, var(--gold), #f6d889);
  border-radius: inherit;
  animation: drawFill 0.9s ease-out both;
}

.draw-prize-card {
  position: relative;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2px 12px !important;
  align-items: center;
  overflow: hidden;
  min-height: 106px;
  padding: 14px 16px;
  background:
    radial-gradient(circle at 18% 15%, rgba(255, 255, 255, 0.95), transparent 34%),
    linear-gradient(135deg, #fff, #fff4f4 62%, #ffe2e2);
  border: 1px solid #ffd1d1;
  border-radius: 8px;
  box-shadow: 0 12px 24px rgba(217, 34, 40, 0.1);
  isolation: isolate;
}

.draw-prize-card::before {
  content: "";
  position: absolute;
  inset: -40% auto -40% -30%;
  width: 40%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.72), transparent);
  transform: rotate(18deg);
  animation: prizeShine 3.8s ease-in-out infinite;
  z-index: -1;
}

.draw-prize-card.is-recommended {
  background:
    radial-gradient(circle at 18% 15%, rgba(255, 255, 255, 0.95), transparent 34%),
    linear-gradient(135deg, #fff, #fff0f1 58%, #ffe5e7);
  border-color: #ffb8bd;
}

.draw-prize-card.is-grand {
  background:
    radial-gradient(circle at 18% 15%, rgba(255, 255, 255, 0.95), transparent 34%),
    linear-gradient(135deg, #fff, #fff7dc 58%, #ffeaa0);
  border-color: #f1c232;
}

.win-word {
  color: #f0272e;
  font-size: 34px;
  font-weight: 500;
  font-style: italic;
  line-height: 0.95;
}

.draw-prize-card strong {
  color: #252b31;
  font-size: 21px;
  line-height: 1.1;
}

.draw-prize-card small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}

.prize-arrow {
  grid-column: 2;
  grid-row: 1 / span 3;
  display: grid !important;
  place-items: center;
  width: 48px;
  height: 48px;
  color: var(--brand);
  background: #ffe2e4;
  border-radius: 50%;
  font-size: 28px;
  font-weight: 500;
  animation: prizeArrowPulse 1.55s ease-in-out infinite;
}

.draw-note {
  margin: 0;
  padding: 10px 12px;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 13px;
}

@keyframes prizeShine {
  0%, 54% {
    transform: translateX(0) rotate(18deg);
    opacity: 0;
  }

  62% {
    opacity: 1;
  }

  100% {
    transform: translateX(360%) rotate(18deg);
    opacity: 0;
  }
}

@keyframes prizeArrowPulse {
  0%, 100% {
    transform: translateX(0);
  }

  50% {
    transform: translateX(-6px);
  }
}

@keyframes drawFill {
  from {
    width: 0;
  }
}

.payment-plan:has(input:checked),
.payment-method:has(input:checked) {
  border-color: var(--brand);
  box-shadow: 0 8px 20px color-mix(in srgb, var(--brand) 12%, transparent);
}

.crypto-payment-fields[hidden],
.card-payment-fields[hidden],
.apple-pay-fields[hidden] {
  display: none !important;
}

.apple-pay-fields {
  display: grid;
  gap: 10px;
}

.apple-pay-card {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 14px;
  color: #fff;
  background: #111;
  border-radius: 8px;
}

.apple-pay-button {
  min-width: 112px;
  min-height: 44px;
  color: #111;
  background: #fff;
  border: 0;
  border-radius: 8px;
  font-weight: 500;
  font-size: 20px;
}

.apple-pay-card div {
  display: grid;
  gap: 4px;
}

.apple-pay-card span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
}

.apple-pay-confirm {
  padding: 10px 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.crypto-wallet {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--brand) 7%, var(--surface)), var(--surface));
  border: 1px solid color-mix(in srgb, var(--brand) 18%, var(--line));
  border-radius: 8px;
}

.crypto-wallet div:last-child {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.crypto-wallet span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}

.crypto-wallet strong {
  direction: ltr;
  overflow-wrap: anywhere;
  color: var(--ink);
}

.crypto-wallet .ghost-button {
  width: fit-content;
  margin-top: 4px;
}

.crypto-qr {
  flex: 0 0 auto;
  width: 70px;
  height: 70px;
  background:
    linear-gradient(90deg, #111 10px, transparent 10px 18px, #111 18px 26px, transparent 26px),
    linear-gradient(#111 10px, transparent 10px 18px, #111 18px 26px, transparent 26px),
    #fff;
  background-size: 28px 28px;
  border: 8px solid #fff;
  border-radius: 8px;
  box-shadow: 0 0 0 1px var(--line);
}

.payment-check {
  display: flex !important;
  grid-template-columns: none !important;
  flex-direction: row;
  align-items: center;
  gap: 10px !important;
  color: var(--ink) !important;
}

.payment-check input {
  width: 18px !important;
  min-height: 18px !important;
  accent-color: var(--brand);
}

.company-ad-card {
  background: color-mix(in srgb, var(--green) 6%, var(--surface-3));
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
}

.dashboard-grid div {
  display: grid;
  gap: 4px;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.dashboard-grid strong {
  color: var(--brand);
  font-size: 22px;
}

.empty-state {
  display: grid;
  place-items: center;
  gap: 8px;
  min-height: 220px;
  background: var(--surface);
  border: 1px dashed var(--line);
  border-radius: 8px;
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 30;
  background: rgba(0, 0, 0, 0.34);
}

.details-drawer {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 31;
  width: min(620px, 96vw);
  height: 100vh;
  overflow: auto;
  padding: 18px;
  background: var(--surface);
  border-right: 1px solid var(--line);
  box-shadow: var(--shadow);
  transform: translateX(-105%);
  transition: transform 0.24s ease;
}

.details-drawer.is-open {
  transform: translateX(0);
}

.drawer-close {
  margin-right: auto;
}

.detail-media {
  position: relative;
  min-height: 320px;
  margin: 14px 0;
  overflow: hidden;
  border-radius: 8px;
}

.detail-media svg {
  width: 100%;
  height: 100%;
  min-height: 320px;
}

.details-drawer h2 {
  margin: 0;
  line-height: 1.35;
}

.detail-price {
  margin: 6px 0 12px;
  color: var(--brand);
  font-size: 30px;
  font-weight: 500;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-start;
  margin: 14px 0;
}

.contact-action {
  position: relative;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 0;
  min-height: 40px;
  padding: 0 10px;
  color: #2a3036;
  border: 1px solid transparent;
  border-radius: 8px;
  box-shadow: none;
  text-align: center;
  text-decoration: none;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.contact-action::before {
  display: none;
}

.contact-action:hover {
  transform: translateY(-1px);
}

.contact-action-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 21px;
  height: 21px;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

.contact-action svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

.contact-action-copy {
  display: block;
  min-width: 0;
  line-height: 1;
}

.contact-action-copy strong,
.contact-action-copy small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.contact-action-copy strong {
  color: #2f343a;
  font-size: 13px;
  font-weight: 500;
}

.contact-action-copy small {
  display: none;
}

.contact-action-whatsapp {
  background: #edf8ee;
  border-color: #dff1e1;
}

.contact-action-whatsapp .contact-action-icon {
  color: #35bf4b;
}

.contact-action-whatsapp:hover {
  background: #e4f5e7;
  border-color: #cde9d2;
}

.contact-action-email {
  background: #eef5ff;
  border-color: #dfeaff;
}

.contact-action-email .contact-action-icon {
  color: #4b8df7;
}

.contact-action-email:hover {
  background: #e5efff;
  border-color: #cbdbfb;
}

.contact-action-phone {
  background: #fff2f1;
  border-color: #ffe2df;
}

.contact-action-phone .contact-action-icon {
  color: #e4574f;
}

.contact-action-phone:hover {
  background: #ffe9e7;
  border-color: #ffd1cc;
}

.contact-action-mini,
.contact-action-broker {
  flex: 0 0 auto;
  width: auto;
  min-width: 82px;
  min-height: 38px;
  padding: 0 10px;
  border-radius: 8px;
  box-shadow: none;
}

.contact-action-mini .contact-action-icon,
.contact-action-broker .contact-action-icon {
  width: 20px;
  height: 20px;
}

.contact-action-mini .contact-action-copy,
.contact-action-broker .contact-action-copy {
  display: block;
}

.contact-action-mini svg,
.contact-action-broker svg {
  width: 18px;
  height: 18px;
}

.contact-action-mini .contact-action-copy strong,
.contact-action-broker .contact-action-copy strong {
  font-size: 12px;
}

.contact-action-detail {
  flex: 0 0 auto;
  min-width: 86px;
}

.sticky-actions {
  position: sticky;
  top: 0;
  z-index: 2;
  padding: 10px 0;
  background: var(--surface);
}

.call-button {
  color: #fff;
  background: var(--green);
  border: 0;
}

.phone-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  margin: -2px 0 14px;
  padding: 14px;
  background: color-mix(in srgb, var(--green) 7%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--green) 24%, var(--line));
  border-radius: 8px;
}

.phone-card .seller-photo {
  width: 52px;
  height: 52px;
  font-size: 20px;
}

.phone-card div:not(.avatar) {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.phone-card span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}

.phone-card strong {
  color: var(--ink);
}

.phone-card a {
  direction: ltr;
  width: fit-content;
  color: var(--green);
  font-size: 22px;
  font-weight: 500;
  text-decoration: none;
}

.phone-card a:hover {
  text-decoration: underline;
}

.message-button {
  color: #fff;
  background: var(--blue);
  border: 0;
}

.detail-section,
.safety-box {
  display: grid;
  gap: 10px;
  margin-top: 16px;
  padding: 16px;
  background: var(--surface-3);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.detail-section h3 {
  margin: 0;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.detail-grid div {
  display: grid;
  gap: 4px;
  padding: 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.map-card {
  display: grid;
  place-items: center;
  min-height: 110px;
  color: var(--muted);
  background:
    linear-gradient(90deg, rgba(96, 112, 119, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(96, 112, 119, 0.08) 1px, transparent 1px),
    var(--surface);
  background-size: 22px 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 500;
}

.safety-box strong {
  color: var(--green);
}

.mini-list {
  display: grid;
  gap: 8px;
}

.mini-list button {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px;
  text-align: right;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.company-ads-list {
  gap: 10px;
}

.company-mini-ad {
  align-items: center;
}

.mini-thumb {
  flex: 0 0 72px;
  width: 72px;
  height: 54px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--surface-2);
}

.mini-thumb svg {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 54px;
}

.mini-ad-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
  flex: 1;
}

.mini-ad-copy span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mini-ad-copy small {
  color: var(--muted);
  font-size: 12px;
}

.property-detail-page {
  display: grid;
  gap: 18px;
  grid-column: 1 / -1;
}

.back-button {
  width: fit-content;
}

.property-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 170px;
  gap: 12px;
}

.property-main-photo,
.property-thumbs button {
  overflow: hidden;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.property-main-photo svg,
.property-main-photo .listing-photo {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
}

.property-thumbs {
  display: grid;
  gap: 10px;
}

.property-thumbs button {
  min-height: 100px;
  padding: 0;
  cursor: pointer;
}

.property-thumbs button.is-active {
  border-color: var(--brand);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--brand) 18%, transparent);
}

.property-thumbs svg,
.property-thumbs .listing-photo {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 100px;
  object-fit: cover;
}

.property-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 18px;
  align-items: start;
}

.property-main-info,
.property-side-panel {
  display: grid;
  gap: 14px;
}

.property-main-info h1 {
  margin: 0;
  font-size: clamp(28px, 5vw, 44px);
  line-height: 1.25;
  font-weight: 500;
}

.property-side-panel {
  position: sticky;
  top: 88px;
}

.one-col {
  grid-template-columns: 1fr;
}

.post-dialog,
.login-dialog {
  width: min(760px, 94vw);
  padding: 0;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.login-dialog {
  width: min(440px, 94vw);
}

.post-dialog::backdrop,
.login-dialog::backdrop {
  background: rgba(0, 0, 0, 0.45);
}

.post-dialog form,
.login-dialog form {
  display: grid;
  gap: 14px;
  padding: 18px;
}

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

.wide {
  grid-column: 1 / -1;
}

.post-dialog menu,
.login-dialog menu {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin: 0;
  padding: 0;
}

.login-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 6px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.login-tabs button,
.social-login button {
  min-height: 42px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 500;
}

.login-tabs button.is-active {
  color: #fff;
  background: var(--ink);
  border-color: var(--ink);
}

.login-helper-row {
  display: flex;
  justify-content: flex-start;
  margin-top: -6px;
}

.forgot-password-button {
  min-height: 30px;
  padding: 0;
  color: var(--brand);
  background: transparent;
  border: 0;
  font-size: 13px;
  font-weight: 500;
}

.login-dialog form.is-resetting .login-tabs,
.login-dialog form.is-resetting #nameRegisterField,
.login-dialog form.is-resetting #emailLoginField,
.login-dialog form.is-resetting #passwordLoginField,
.login-dialog form.is-resetting #registerAccountOptions,
.login-dialog form.is-resetting #loginHelperRow,
.login-dialog form.is-resetting menu {
  display: none;
}

.password-reset-panel {
  display: grid;
  gap: 12px;
  padding: 14px;
  background: color-mix(in srgb, var(--brand) 5%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--brand) 18%, var(--line));
  border-radius: 8px;
  box-shadow: 0 16px 36px rgba(17, 24, 39, 0.08);
}

.password-reset-panel[hidden] {
  display: none;
}

.reset-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.reset-code-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  background: var(--surface);
  border: 1px dashed color-mix(in srgb, var(--brand) 45%, var(--line));
  border-radius: 8px;
}

.reset-code-box strong {
  direction: ltr;
  color: var(--brand);
  font-size: 22px;
  letter-spacing: 0;
}

.reset-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.login-account-hint {
  padding: 11px 14px;
  color: #0f4c81;
  background: #eff8ff;
  border: 1px solid #bfe4ff;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
}

.login-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 10px;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}

.login-divider::before,
.login-divider::after {
  content: "";
  height: 1px;
  background: var(--line);
}

.social-login {
  display: grid;
  gap: 8px;
}

.social-login button {
  display: grid;
  grid-template-columns: 32px 1fr;
  align-items: center;
  justify-items: start;
  gap: 12px;
  width: 100%;
  padding: 0 14px;
  text-align: right;
}

.social-login button.is-selected {
  color: #fff;
  background: linear-gradient(135deg, var(--brand), #b80000);
  border-color: transparent;
  box-shadow: 0 10px 22px rgba(217, 34, 40, 0.18);
}

.social-login button.is-disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

.login-logo {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-weight: 500;
}

.login-logo svg {
  display: block;
  width: 26px;
  height: 26px;
}

.site-logo,
.guest-logo,
.business-logo,
.showroom-logo,
.admin-logo {
  color: #fff;
  background: var(--brand);
}

.admin-logo {
  background: var(--ink);
}

.business-logo {
  background: var(--green);
}

.showroom-logo {
  background: var(--blue);
}

.apple-logo {
  color: var(--ink);
}

.apple-logo svg,
.facebook-logo svg {
  fill: currentColor;
}

.facebook-logo {
  color: #1877f2;
}

.site-footer {
  padding: 34px 18px;
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(220px, 1.35fr) repeat(3, minmax(130px, 1fr));
  gap: 24px;
  max-width: 1180px;
  margin: 0 auto;
}

.footer-brand-block,
.footer-column {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  color: var(--ink);
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
}

.footer-brand-block p {
  max-width: 310px;
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.footer-column h2 {
  margin: 0 0 4px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
}

.footer-column button,
.footer-column a {
  width: fit-content;
  color: var(--muted);
  background: transparent;
  border: 0;
  padding: 0;
  text-decoration: none;
  font-weight: 500;
}

.footer-column button:hover,
.footer-column a:hover {
  color: var(--brand);
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px;
  background: #f7f8f9;
  border: 1px solid #e0e5e8;
  border-radius: 999px;
}

.top-language-switch {
  flex: 0 0 auto;
  min-height: 34px;
  gap: 3px;
  padding: 3px;
  background: #f7f8f9;
  border-color: #dfe5e8;
  border-radius: 999px;
  box-shadow: 0 6px 14px rgba(26, 36, 44, 0.06);
}

.language-switch button {
  min-height: 28px;
  padding: 0 10px;
  color: #6b747a;
  background: transparent;
  border: 0;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
}

.language-switch button.is-active {
  color: #fff;
  background: var(--brand);
}

.top-language-switch button {
  min-width: 30px;
  min-height: 26px;
  padding: 0 8px;
  color: #778187;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 500;
}

.top-language-switch button.is-active {
  color: #fff;
  background: var(--brand);
  box-shadow: 0 5px 12px rgba(217, 37, 29, 0.22);
}

.site-settings-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 12px;
  color: #1f2933;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(226, 232, 240, 0.86);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(17, 24, 39, 0.08);
  backdrop-filter: blur(16px) saturate(1.08);
  font-weight: 500;
  white-space: nowrap;
}

.site-settings-button svg {
  width: 19px;
  height: 19px;
  color: #6b7280;
}

.site-settings-button b {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding-inline-start: 8px;
  color: #687283;
  border-inline-start: 1px solid rgba(226, 232, 240, 0.92);
  font-size: 12px;
}

[data-current-currency] {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.currency-mini-flag {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 14px;
  overflow: hidden;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(148, 163, 184, 0.24);
  font-size: 13px;
  line-height: 1;
  flex: 0 0 auto;
}

.currency-code {
  line-height: 1;
}

.site-settings-dialog {
  width: min(520px, calc(100vw - 26px));
  padding: 0;
  overflow: visible;
  background: transparent;
  border: 0;
}

.site-settings-dialog::backdrop {
  background: rgba(10, 15, 18, 0.58);
  backdrop-filter: blur(2px);
}

.site-settings-panel {
  position: relative;
  display: grid;
  gap: 18px;
  padding: 24px;
  color: #1f2933;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(248, 250, 252, 0.78)),
    rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 8px;
  box-shadow: 0 32px 86px rgba(17, 24, 39, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(24px) saturate(1.08);
}

.site-settings-panel h2,
.site-settings-panel p {
  margin: 0;
}

.site-settings-panel h2 {
  font-size: 24px;
  font-weight: 600;
}

.settings-close-button {
  position: absolute;
  top: 16px;
  inset-inline-end: 16px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: #20282d;
  background: transparent;
  border: 0;
  border-radius: 8px;
  font-size: 30px;
  line-height: 1;
}

.settings-close-button:hover {
  background: rgba(241, 245, 249, 0.78);
}

.settings-block {
  display: grid;
  gap: 12px;
}

.settings-block-head {
  display: flex;
  gap: 12px;
  align-items: center;
}

.settings-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: #687283;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(226, 232, 240, 0.88);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.76);
  backdrop-filter: blur(12px);
  font-size: 18px;
}

.settings-icon svg {
  width: 19px;
  height: 19px;
}

.settings-block-head strong,
.settings-block-head small {
  display: block;
}

.settings-block-head small {
  margin-top: 2px;
  color: #687283;
  font-weight: 500;
}

.settings-option-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.settings-option-grid button {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 12px;
  color: #26313d;
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(226, 232, 240, 0.84);
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.04);
  backdrop-filter: blur(12px);
  font-weight: 500;
}

.settings-option-grid button.is-active {
  color: #111827;
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(226, 232, 240, 0.96);
  box-shadow: 0 18px 38px rgba(17, 24, 39, 0.11), inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.settings-option-grid.is-currency .currency-mini-flag {
  display: grid;
  place-items: center;
  width: 18px;
  height: 14px;
  background: rgba(248, 250, 252, 0.86);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 2px;
  font-size: 13px;
}

.settings-option-grid.is-currency .currency-code {
  color: inherit;
  font-size: 12px;
}

.settings-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 2px;
}

.settings-actions button {
  min-height: 50px;
  border-radius: 8px;
  font-weight: 600;
}

.settings-apply-button {
  color: #111827;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(226, 232, 240, 0.96);
  box-shadow: 0 18px 38px rgba(17, 24, 39, 0.11), inset 0 1px 0 rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
}

.settings-cancel-button {
  color: #26313d;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(226, 232, 240, 0.84);
  backdrop-filter: blur(14px);
}

@media (max-width: 680px) {
  .site-settings-button {
    min-height: 36px;
    padding: 0 10px;
    gap: 6px;
    font-size: 12px;
  }

  .site-settings-button b {
    display: none;
  }

  .mobile-settings-button {
    max-width: 112px;
  }

  .mobile-settings-button span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .site-settings-panel {
    gap: 14px;
    padding: 20px;
  }

  .settings-option-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .settings-actions {
    grid-template-columns: 1fr;
  }
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.social-links a {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: var(--ink);
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
}

.social-links svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

.social-links a:hover {
  color: #fff;
  background: var(--brand);
  border-color: var(--brand);
}

.social-x {
  color: var(--ink);
}

.social-instagram {
  color: #fff !important;
  background: radial-gradient(circle at 30% 110%, #feda75 0 18%, #fa7e1e 34%, #d62976 58%, #962fbf 78%, #4f5bd5 100%) !important;
  border-color: transparent !important;
}

.social-facebook {
  color: #1877f2 !important;
}

.social-linkedin {
  color: #0a66c2 !important;
}

.social-facebook:hover,
.social-linkedin:hover {
  color: #fff !important;
}

.legal-badge {
  display: none;
  justify-content: flex-start;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 18px 24px;
}

.home-mode .legal-badge {
  display: flex;
}

.legal-badge img {
  display: block;
  width: 120px;
  height: 120px;
  object-fit: contain;
}

.chat-toggle {
  position: fixed;
  left: 22px;
  bottom: 22px;
  z-index: 44;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 16px;
  color: #fff;
  background: var(--brand);
  border: 0;
  border-radius: 8px;
  box-shadow: var(--shadow);
  font-weight: 500;
}

.chat-toggle svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.chat-widget {
  position: fixed;
  left: 22px;
  bottom: 82px;
  z-index: 45;
  display: grid;
  gap: 12px;
  width: min(390px, calc(100vw - 44px));
  max-height: min(680px, calc(100vh - 120px));
  padding: 14px;
  overflow: auto;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.chat-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.chat-head h2 {
  margin: 0;
  font-size: 22px;
}

.chat-head span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}

.chat-messages {
  display: grid;
  gap: 8px;
  min-height: 90px;
  max-height: 210px;
  overflow: auto;
  padding: 10px;
  background: var(--surface-3);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.chat-empty {
  display: grid;
  place-items: center;
  min-height: 70px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.chat-bubble {
  display: grid;
  gap: 5px;
  padding: 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.chat-bubble strong {
  color: var(--ink);
  font-size: 14px;
}

.chat-bubble p {
  margin: 0;
  color: var(--ink);
}

.chat-bubble span {
  color: var(--muted);
  font-size: 12px;
}

.chat-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.chat-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}

.chat-form input,
.chat-form textarea {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: 0;
}

.chat-form textarea {
  padding-top: 10px;
  resize: vertical;
}

.chat-form button {
  grid-column: 1 / -1;
}

.ai-toggle {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 44;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 15px;
  color: #fff;
  background: linear-gradient(145deg, #142023, #d9251d);
  border: 0;
  border-radius: 8px;
  box-shadow: var(--shadow);
  font-weight: 500;
}

.ai-toggle span {
  letter-spacing: 0;
}

.ai-toggle svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.ai-widget {
  position: fixed;
  right: 22px;
  bottom: 82px;
  z-index: 45;
  display: grid;
  gap: 12px;
  width: min(420px, calc(100vw - 44px));
  max-height: min(690px, calc(100vh - 120px));
  padding: 14px;
  overflow: auto;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.ai-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.ai-head h2 {
  margin: 0;
  font-size: 22px;
}

.ai-head span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}

.ai-quick-prompts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ai-quick-prompts button {
  min-height: 34px;
  padding: 0 10px;
  color: #283238;
  background: #f7f8f9;
  border: 1px solid #e3e7ea;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 500;
}

.ai-messages {
  display: grid;
  gap: 10px;
  min-height: 150px;
  max-height: 330px;
  overflow: auto;
  padding: 10px;
  background: var(--surface-3);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.ai-bubble {
  display: grid;
  gap: 8px;
  width: 100%;
  max-width: 100%;
  padding: 10px;
  border-radius: 8px;
}

.ai-bubble p {
  margin: 0;
}

.ai-bubble.is-ai {
  justify-self: start;
  background: #fff;
  border: 1px solid var(--line);
}

.ai-bubble.is-user {
  width: fit-content;
  max-width: 86%;
  justify-self: end;
  color: #fff;
  background: #142023;
}

.ai-results {
  display: grid;
  gap: 7px;
}

.ai-draft-card {
  display: grid;
  gap: 6px;
  padding: 12px;
  background: #f7f8f9;
  border: 1px solid #e2e7ea;
  border-radius: 8px;
}

.ai-draft-card strong {
  font-size: 15px;
  font-weight: 500;
}

.ai-draft-card span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}

.ai-draft-card b {
  color: #d9251d;
  font-size: 16px;
}

.ai-draft-card button {
  min-height: 38px;
  color: #fff;
  background: #d9251d;
  border: 0;
  border-radius: 8px;
  font-weight: 500;
}

.ai-result-card {
  display: grid;
  gap: 3px;
  width: 100%;
  padding: 10px;
  color: var(--ink);
  background: #f7f8f9;
  border: 1px solid #e2e7ea;
  border-radius: 8px;
  text-align: start;
}

.ai-result-card span,
.ai-result-card strong {
  font-weight: 500;
}

.ai-result-card small {
  color: var(--muted);
  font-size: 12px;
}

.ai-result-card strong {
  color: #d9251d;
}

.ai-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px;
  gap: 8px;
}

.ai-form input {
  min-height: 44px;
  padding: 0 12px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: 0;
}

.ai-form button {
  display: grid;
  place-items: center;
  color: #fff;
  background: #d9251d;
  border: 0;
  border-radius: 8px;
}

.ai-form svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

.toast {
  position: fixed;
  right: 22px;
  bottom: 84px;
  z-index: 50;
  max-width: min(390px, calc(100vw - 44px));
  padding: 12px 14px;
  color: #fff;
  background: #142023;
  border-radius: 8px;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: 0.2s;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.mobile-app-home {
  display: none;
}

.mobile-global-back {
  display: none;
}

/* Professional desktop skin */
.trust-banner {
  position: relative;
  z-index: 24;
  display: grid;
  grid-template-columns: 38px auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  min-height: 58px;
  padding: 0 max(28px, calc((100vw - 1420px) / 2 + 28px));
  color: #fff;
  background: #4388e8;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.18) inset;
  direction: ltr;
}

.trust-banner p {
  order: 3;
  margin: 0;
  direction: rtl;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
}

.trust-banner > button:first-child {
  order: 1;
  display: grid;
  place-items: center;
  width: 34px;
  min-height: 34px;
  padding: 0;
  color: rgba(255, 255, 255, 0.86);
  background: transparent;
  border: 0;
  border-radius: 8px;
  font-size: 28px;
  line-height: 1;
}

.trust-check {
  order: 4;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: #4388e8;
  background: #fff;
  border-radius: 50%;
  font-size: 21px;
  font-weight: 500;
}

.trust-action {
  order: 2;
  min-height: 38px;
  padding: 0 34px;
  direction: rtl;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
}

body {
  background: #f5f6f7;
  color: #24292d;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

.topbar {
  top: 0;
  grid-template-columns: minmax(150px, auto) minmax(0, 1fr) auto;
  gap: 14px;
  min-height: 70px;
  padding-inline: max(22px, calc((100vw - 1420px) / 2 + 22px));
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid #eceff1;
  box-shadow: 0 2px 10px rgba(28, 39, 49, 0.04);
  backdrop-filter: blur(18px);
}

.brand {
  gap: 9px;
  color: #15191d;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0;
}

.brand span {
  max-width: 132px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 13px;
  box-shadow: 0 10px 24px rgba(19, 25, 28, 0.14);
}

.main-nav {
  gap: 4px;
}

.nav-link {
  min-height: 40px;
  padding: 0 11px;
  color: #697176;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
}

.nav-link.is-active,
.nav-link:hover {
  color: var(--brand);
  background: #fff3f3;
}

.top-actions {
  gap: 6px;
}

.topbar .theme-toggle {
  position: relative;
  width: 36px;
  height: 36px;
  color: #5e6870;
  background:
    linear-gradient(145deg, #fff, #f2f5f7);
  border: 1px solid #dfe5e8;
  border-radius: 50%;
  box-shadow:
    0 7px 16px rgba(26, 36, 44, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.topbar .theme-toggle svg {
  width: 17px;
  height: 17px;
}

.topbar .theme-toggle:hover {
  color: #d9251d;
  border-color: #f2c7c5;
  box-shadow: 0 8px 18px rgba(217, 37, 29, 0.1);
}

body.dark .topbar .theme-toggle {
  color: #ffd166;
  background: linear-gradient(145deg, #111827, #26313b);
  border-color: #3a4650;
}

.desktop-back-button {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  padding: 0;
  color: #46515a;
  background:
    linear-gradient(145deg, #ffffff, #f3f6f8);
  border: 1px solid #dfe5e8;
  border-radius: 50%;
  box-shadow:
    0 7px 16px rgba(26, 36, 44, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.desktop-back-button svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.desktop-back-button:hover {
  color: #d9251d;
  border-color: #f2c7c5;
  box-shadow: 0 8px 18px rgba(217, 37, 29, 0.1);
}

.desktop-back-button.is-muted {
  color: #a4adb3;
}

.topbar .top-user-name {
  display: inline-flex;
  gap: 9px;
  min-height: 40px;
  max-width: 190px;
  padding: 4px 10px 4px 12px;
  color: #1f2933;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.95));
  border: 1px solid #e0e6ea;
  border-radius: 999px;
  box-shadow:
    0 8px 20px rgba(26, 36, 44, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.user-chip-avatar {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  color: #fff;
  background: linear-gradient(145deg, #d9251d, #9f1712);
  border-radius: 50%;
  font-size: 13px;
  font-weight: 500;
}

.user-chip-copy {
  display: grid;
  min-width: 0;
  line-height: 1.05;
}

.user-chip-copy small {
  color: #7b858b;
  font-size: 10px;
  font-weight: 500;
}

.user-chip-copy strong {
  overflow: hidden;
  color: #20262b;
  font-size: 13px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.post-button,
.search-button,
.call-button,
.message-button,
.ghost-button,
.details-button {
  min-height: 42px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
}

.post-button,
.search-button {
  background: #d9251d;
  box-shadow: 0 10px 20px rgba(217, 37, 29, 0.18);
}

.post-button:hover,
.search-button:hover {
  background: #bb1e18;
}

.ghost-button,
.details-button,
.icon-button {
  background: #f7f8f9;
  border-color: #e3e7ea;
}

.hero-band {
  padding: 26px 28px 28px;
  background: #fff;
}

.hero-inner {
  position: relative;
  max-width: 1420px;
  gap: 0;
}

.vip-video-banner {
  min-height: clamp(300px, 28vw, 420px);
  border: 0;
  border-radius: 8px;
  background: #171b1f;
  box-shadow: 0 16px 38px rgba(30, 39, 46, 0.14);
}

.vip-video-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(10, 13, 16, 0.18), rgba(10, 13, 16, 0.28)),
    linear-gradient(90deg, rgba(217, 34, 40, 0.22), transparent 48%);
  pointer-events: none;
}

.vip-video-banner::after {
  z-index: 2;
  background: linear-gradient(0deg, rgba(4, 6, 8, 0.22), transparent 58%);
}

.vip-video-content {
  top: 18px;
  right: 18px;
  left: auto;
}

.vip-upload {
  min-width: 128px;
  min-height: 42px;
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.42);
  border-radius: 8px;
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.2);
}

.vip-video-controls {
  right: auto;
  left: 18px;
  bottom: 18px;
}

.search-shell {
  position: relative;
  z-index: 4;
  grid-template-columns: minmax(260px, 1fr) 180px 170px 180px;
  gap: 12px;
  width: 100%;
  margin: 16px auto 0;
  padding: 16px;
  background: #fff;
  border: 1px solid #e2e7ea;
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(26, 36, 44, 0.08);
  backdrop-filter: none;
}

.search-field,
.search-shell select {
  min-height: 52px;
  background: #fff;
  border: 1px solid #d8dee2;
  border-radius: 8px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.search-field input {
  color: #2f353a;
  font-size: 17px;
  font-weight: 500;
}

.search-field input::placeholder {
  color: #9da5aa;
}

.search-shell select {
  padding: 0 14px;
  color: #2f353a;
  font-size: 16px;
  font-weight: 500;
}

.search-button {
  min-height: 52px;
  font-size: 16px;
}

.stats-strip {
  display: none;
}

.token-section,
.page-shell,
.stats-strip {
  max-width: 1420px;
}

.token-section {
  margin-top: 22px;
}

.token-inner {
  border: 0;
  box-shadow: 0 10px 24px rgba(30, 39, 46, 0.08);
}

.page-shell {
  grid-template-columns: 292px minmax(0, 1fr);
  gap: 24px;
  margin-top: 26px;
}

.filters,
.listing-card,
.category-card,
.token-inner,
.post-dialog,
.messages-panel,
.tickets-panel,
.info-panel,
.account-panel > *,
.detail-card,
.seller-profile,
.property-promo-card {
  border-color: #e5e9ec;
  box-shadow: 0 8px 22px rgba(26, 36, 44, 0.05);
}

.filters {
  top: 96px;
  padding: 20px;
}

.filter-head h2,
.section-head h2 {
  color: #20262b;
  font-size: 22px;
  font-weight: 500;
}

#pageTitle {
  font-size: clamp(21px, 2.4vw, 28px);
  font-weight: 500;
  line-height: 1.35;
}

.category-grid {
  gap: 14px;
}

.category-card {
  min-height: 118px;
  padding: 18px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.category-card:hover,
.listing-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(26, 36, 44, 0.1);
}

.category-card strong,
.listing-title {
  color: #20262b;
  font-weight: 500;
}

.listings-grid {
  gap: 18px;
}

.listing-card {
  border-radius: 8px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.listing-media {
  min-height: 205px;
}

.listing-photo,
.listing-media svg {
  min-height: 205px;
}

.listing-body {
  gap: 10px;
  padding: 16px;
}

.listing-title {
  font-size: 17px;
  line-height: 1.45;
}

.price {
  color: #d9251d;
  font-size: 20px;
  font-weight: 500;
}

.badge,
.photo-count {
  border-radius: 7px;
  font-weight: 500;
}

.listing-specs span {
  background: #f3f5f6;
  border: 1px solid #e8ecef;
}

body.property-mode:not(.detail-mode) .page-shell {
  max-width: 1420px;
}

body.property-mode:not(.detail-mode) .topbar {
  border-bottom-color: #e5e9ec;
}

@media (min-width: 681px) {
  body {
    --bg: #f4f6f6;
    --surface: #ffffff;
    --surface-2: #eef2f3;
    --surface-3: #f9fbfb;
    --ink: #161b1f;
    --muted: #66727a;
    --line: #dce3e6;
    --brand: #b9161c;
    --brand-dark: #8f1015;
    --gold: #c99a3b;
    --shadow: 0 18px 44px rgba(18, 24, 30, 0.1);
    background:
      linear-gradient(180deg, #eef2f3 0, #f7f9f9 380px, #f4f6f6 100%);
  }

  .trust-banner {
    min-height: 54px;
    color: #f8fafb;
    background:
      linear-gradient(90deg, #111418, #20262c 58%, #3a2320);
    border-bottom: 1px solid rgba(201, 154, 59, 0.28);
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.05);
  }

  .trust-banner p {
    color: #f4f7f8;
    font-weight: 500;
  }

  .trust-check {
    color: #12161a;
    background: linear-gradient(145deg, #f4d88d, #c99a3b);
    box-shadow: 0 8px 18px rgba(201, 154, 59, 0.18);
  }

  .trust-action {
    color: #f8fafb;
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(244, 216, 141, 0.68);
  }

  .topbar {
    min-height: 74px;
    background: rgba(17, 20, 24, 0.96);
    border-bottom: 1px solid rgba(201, 154, 59, 0.22);
    box-shadow:
      0 16px 36px rgba(18, 24, 30, 0.16),
      inset 0 -1px 0 rgba(255, 255, 255, 0.04);
  }

  .brand {
    color: #ffffff;
  }

  .brand-logo {
    box-shadow:
      0 10px 24px rgba(185, 22, 28, 0.28),
      0 0 0 1px rgba(255, 255, 255, 0.12);
  }

  .nav-link {
    color: rgba(255, 255, 255, 0.72);
  }

  .nav-link.is-active,
  .nav-link:hover {
    color: #fff;
    background: rgba(185, 22, 28, 0.22);
    box-shadow: inset 0 -2px 0 rgba(201, 154, 59, 0.78);
  }

  .desktop-back-button,
  .topbar .theme-toggle,
  .ghost-button,
  .details-button,
  .icon-button {
    color: #232a30;
    background: linear-gradient(180deg, #ffffff, #f2f5f6);
    border-color: #d8e0e4;
    box-shadow:
      0 9px 18px rgba(18, 24, 30, 0.08),
      inset 0 1px 0 rgba(255, 255, 255, 0.95);
  }

  .desktop-back-button:hover,
  .topbar .theme-toggle:hover,
  .ghost-button:hover,
  .details-button:hover,
  .icon-button:hover {
    color: var(--brand);
    border-color: rgba(201, 154, 59, 0.46);
    box-shadow: 0 10px 22px rgba(18, 24, 30, 0.1);
  }

  .topbar .top-user-name {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.13);
    box-shadow: none;
  }

  .topbar .top-user-name small,
  .topbar .top-user-name strong {
    color: #ffffff;
  }

  .post-button,
  .search-button,
  .web3-button {
    background: linear-gradient(180deg, #d42229, #aa141a);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow:
      0 12px 24px rgba(185, 22, 28, 0.22),
      inset 0 1px 0 rgba(255, 255, 255, 0.16);
  }

  .post-button:hover,
  .search-button:hover,
  .web3-button:hover {
    background: linear-gradient(180deg, #bb1b21, #8f1015);
  }

  .hero-band {
    padding-top: 30px;
    background:
      linear-gradient(180deg, #161b1f 0, #f4f6f6 78%);
  }

  .vip-video-banner {
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow:
      0 26px 60px rgba(18, 24, 30, 0.22),
      0 0 0 1px rgba(201, 154, 59, 0.12);
  }

  .vip-video {
    filter: none;
  }

  .vip-video-banner::before {
    background:
      linear-gradient(180deg, rgba(8, 10, 12, 0.08), rgba(8, 10, 12, 0.38)),
      linear-gradient(90deg, rgba(12, 14, 17, 0.56), transparent 42%),
      linear-gradient(0deg, rgba(185, 22, 28, 0.28), transparent 34%);
  }

  .vip-upload,
  .vip-book {
    background: rgba(255, 255, 255, 0.13);
    border-color: rgba(244, 216, 141, 0.45);
    box-shadow:
      0 12px 24px rgba(0, 0, 0, 0.22),
      inset 0 1px 0 rgba(255, 255, 255, 0.1);
  }

  .vip-video-controls button {
    background: rgba(14, 17, 20, 0.72);
    border-color: rgba(244, 216, 141, 0.3);
  }

  .search-shell {
    margin-top: -28px;
    border: 1px solid rgba(220, 227, 230, 0.92);
    background: rgba(255, 255, 255, 0.97);
    box-shadow:
      0 22px 48px rgba(18, 24, 30, 0.12),
      inset 0 1px 0 rgba(255, 255, 255, 0.92);
  }

  .search-field,
  .search-shell select,
  .filters input,
  .filters select,
  .post-dialog input,
  .post-dialog select,
  .post-dialog textarea,
  .login-dialog input {
    background: #fbfcfc;
    border-color: #dbe3e6;
  }

  .search-field:focus-within,
  .search-shell select:focus,
  .filters input:focus,
  .filters select:focus {
    border-color: rgba(201, 154, 59, 0.64);
    box-shadow: 0 0 0 4px rgba(201, 154, 59, 0.12);
  }

  .page-shell {
    margin-top: 30px;
  }

  .filters,
  .listing-card,
  .category-card,
  .token-inner,
  .messages-panel,
  .tickets-panel,
  .info-panel,
  .account-panel > *,
  .detail-card,
  .seller-profile,
  .property-promo-card {
    background: rgba(255, 255, 255, 0.98);
    border-color: #dfe6e9;
    box-shadow:
      0 12px 28px rgba(18, 24, 30, 0.06),
      inset 0 1px 0 rgba(255, 255, 255, 0.82);
  }

  .filters {
    border-top: 3px solid rgba(201, 154, 59, 0.72);
  }

  .filter-head h2,
  .section-head h2,
  #pageTitle {
    color: #14191d;
    font-weight: 500;
  }

  .eyebrow,
  .price {
    color: var(--brand);
  }

  .category-card,
  .listing-card {
    position: relative;
  }

  .category-card::before,
  .listing-card::before {
    content: "";
    position: absolute;
    inset-inline: 0;
    top: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(201, 154, 59, 0.76), transparent);
    opacity: 0;
    transition: opacity 0.18s ease;
  }

  .category-card:hover::before,
  .listing-card:hover::before,
  .category-card.is-selected::before {
    opacity: 1;
  }

  .category-card:hover,
  .listing-card:hover {
    border-color: rgba(201, 154, 59, 0.52);
    box-shadow: 0 18px 42px rgba(18, 24, 30, 0.12);
  }

  .category-card.is-selected {
    border-color: rgba(185, 22, 28, 0.42);
    box-shadow:
      0 18px 42px rgba(18, 24, 30, 0.11),
      0 0 0 3px rgba(185, 22, 28, 0.08);
  }

  .category-icon {
    width: 60px;
    height: 60px;
    background:
      radial-gradient(circle at 34% 24%, rgba(255, 255, 255, 0.3), transparent 30%),
      linear-gradient(145deg, color-mix(in srgb, var(--cat-color, var(--brand)) 92%, #15191d), #11161a 72%);
    border-color: rgba(244, 216, 141, 0.48);
    box-shadow:
      0 14px 28px color-mix(in srgb, var(--cat-color, var(--brand)) 22%, transparent),
      0 0 0 5px rgba(244, 216, 141, 0.07),
      inset 0 1px 0 rgba(255, 255, 255, 0.22);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
  }

  .category-card:hover .category-icon,
  .category-card.is-selected .category-icon {
    transform: translateY(-2px);
    box-shadow:
      0 18px 34px color-mix(in srgb, var(--cat-color, var(--brand)) 26%, transparent),
      0 0 0 5px rgba(244, 216, 141, 0.1),
      inset 0 1px 0 rgba(255, 255, 255, 0.24);
  }

  .category-icon svg {
    width: 32px;
    height: 32px;
  }

  .listing-media {
    background: linear-gradient(145deg, #1b2025, #2b3238);
  }

  .listing-title,
  .category-card strong {
    color: #14191d;
  }

  .badge,
  .photo-count {
    background: rgba(15, 18, 22, 0.78);
    border: 1px solid rgba(244, 216, 141, 0.26);
  }

  .listing-specs span {
    color: #4c5962;
    background: #f4f6f6;
    border-color: #e3e9ec;
  }

  .token-inner {
    background:
      linear-gradient(135deg, rgba(18, 21, 25, 0.98), rgba(48, 25, 25, 0.96)),
      linear-gradient(90deg, rgba(201, 154, 59, 0.13), transparent);
    border: 1px solid rgba(201, 154, 59, 0.18);
  }
}

@media (min-width: 681px) {
  body {
    --bg: #f7f8f9;
    --surface: #ffffff;
    --surface-2: #f1f3f4;
    --surface-3: #fafafa;
    --ink: #1f2428;
    --muted: #68737a;
    --line: #e1e5e8;
    --brand: #e00000;
    --brand-dark: #b80000;
    --gold: #e00000;
    background: #f7f8f9;
  }

  .trust-banner {
    color: #3f474d;
    background: #ffffff;
    border-bottom: 1px solid #e5e8eb;
    box-shadow: none;
  }

  .trust-banner p {
    color: #333b40;
  }

  .trust-check {
    color: #ffffff;
    background: #e00000;
    box-shadow: none;
  }

  .trust-action {
    color: #e00000;
    background: #fff4f4;
    border-color: #ffd2d2;
  }

  .topbar {
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid #e2e6e9;
    box-shadow: 0 2px 12px rgba(24, 31, 36, 0.05);
  }

  .brand,
  .topbar .top-user-name small,
  .topbar .top-user-name strong {
    color: #1f2428;
  }

  .nav-link {
    color: #58636a;
  }

  .nav-link.is-active,
  .nav-link:hover {
    color: #e00000;
    background: #fff1f1;
    box-shadow: inset 0 -2px 0 #e00000;
  }

  .post-button,
  .search-button,
  .web3-button {
    background: #e00000;
    border-color: #e00000;
    box-shadow: 0 8px 18px rgba(224, 0, 0, 0.18);
  }

  .post-button:hover,
  .search-button:hover,
  .web3-button:hover {
    background: #c60000;
  }

  .desktop-back-button,
  .topbar .theme-toggle,
  .ghost-button,
  .details-button,
  .icon-button,
  .topbar .top-user-name {
    color: #2f373c;
    background: #ffffff;
    border-color: #dfe4e7;
    box-shadow: 0 4px 12px rgba(24, 31, 36, 0.06);
  }

  .desktop-back-button:hover,
  .topbar .theme-toggle:hover,
  .ghost-button:hover,
  .details-button:hover,
  .icon-button:hover {
    color: #e00000;
    border-color: #ffc9c9;
    box-shadow: 0 8px 18px rgba(224, 0, 0, 0.08);
  }

  .hero-band {
    background: #ffffff;
  }

  .vip-video-banner {
    border: 1px solid #e2e6e9;
    background: #161b1f;
    box-shadow: 0 14px 34px rgba(24, 31, 36, 0.1);
  }

  .vip-video-banner::before {
    background:
      linear-gradient(180deg, rgba(8, 10, 12, 0.05), rgba(8, 10, 12, 0.26)),
      linear-gradient(90deg, rgba(224, 0, 0, 0.22), transparent 48%);
  }

  .vip-upload,
  .vip-book {
    background: #e00000;
    border-color: #e00000;
    box-shadow: 0 10px 22px rgba(224, 0, 0, 0.22);
  }

  .vip-video-controls button {
    background: rgba(20, 24, 28, 0.72);
    border-color: rgba(255, 255, 255, 0.24);
  }

  .search-shell {
    margin-top: 16px;
    background: #ffffff;
    border: 1px solid #e0e5e8;
    box-shadow: 0 10px 26px rgba(24, 31, 36, 0.08);
  }

  .search-field,
  .search-shell select,
  .filters input,
  .filters select,
  .post-dialog input,
  .post-dialog select,
  .post-dialog textarea,
  .login-dialog input {
    background: #ffffff;
    border-color: #dce2e6;
  }

  .search-field:focus-within,
  .search-shell select:focus,
  .filters input:focus,
  .filters select:focus {
    border-color: #e00000;
    box-shadow: 0 0 0 4px rgba(224, 0, 0, 0.1);
  }

  .filters,
  .listing-card,
  .category-card,
  .token-inner,
  .messages-panel,
  .tickets-panel,
  .info-panel,
  .account-panel > *,
  .detail-card,
  .seller-profile,
  .property-promo-card {
    background: #ffffff;
    border-color: #e2e6e9;
    box-shadow: 0 6px 18px rgba(24, 31, 36, 0.05);
  }

  .filters {
    border-top: 3px solid #e00000;
  }

  .category-card::before,
  .listing-card::before {
    background: #e00000;
  }

  .category-card:hover,
  .listing-card:hover {
    border-color: #ffc4c4;
    box-shadow: 0 12px 26px rgba(224, 0, 0, 0.08);
  }

  .category-card.is-selected {
    border-color: #e00000;
    box-shadow: 0 0 0 3px rgba(224, 0, 0, 0.08);
  }

  .category-card .category-icon {
    color: #e00000;
    background:
      radial-gradient(circle at 34% 22%, rgba(255, 255, 255, 0.9), transparent 36%),
      linear-gradient(145deg, #ffffff, #fff2f2);
    border-color: #ffd3d3;
    box-shadow: 0 10px 22px rgba(224, 0, 0, 0.1);
  }

  .category-card .category-icon::before {
    border-color: rgba(224, 0, 0, 0.08);
  }

  .category-card:hover .category-icon,
  .category-card.is-selected .category-icon {
    box-shadow: 0 12px 26px rgba(224, 0, 0, 0.14);
  }

  .listing-media {
    background: #f0f2f3;
  }

  .badge,
  .photo-count {
    background: rgba(31, 36, 40, 0.78);
    border-color: rgba(255, 255, 255, 0.2);
  }

  .token-inner {
    color: #ffffff;
    background: linear-gradient(135deg, #e00000, #b80000);
    border-color: #e00000;
  }
}

@media (max-width: 680px) {
  .trust-banner {
    display: none;
  }

  .desktop-back-button {
    display: none;
  }

  .jobs-choice-grid {
    grid-template-columns: 1fr;
  }

  .jobs-landing {
    padding: 14px;
  }

  body.home-mode {
    min-height: 100vh;
    background: radial-gradient(circle at 50% -10%, rgba(230, 0, 0, 0.14), transparent 42%), #fbfcff;
  }

  body.mobile-flow-open {
    overflow: hidden;
  }

  body.home-mode .topbar,
  body.home-mode main,
  body.home-mode .site-footer,
  body.home-mode .legal-badge {
    display: none !important;
  }

  .home-mode .mobile-app-home {
    display: block;
  }

  .mobile-app-home {
    min-height: 100vh;
    padding: max(12px, env(safe-area-inset-top)) 12px calc(104px + env(safe-area-inset-bottom));
    color: #171c2f;
    background: #fbfcff;
  }

  .mobile-app-home button {
    -webkit-tap-highlight-color: transparent;
  }

  .mobile-metrics-card,
  .stats-strip,
  .filters {
    display: none !important;
  }

  body.motors-mode .mobile-car-filter {
    display: grid !important;
  }

  .mobile-app-top {
    display: grid;
    grid-template-columns: 42px 50px minmax(0, 1fr) auto;
    gap: 8px;
    align-items: center;
    margin-bottom: 18px;
  }

  .mobile-back-button {
    display: grid;
    place-items: center;
    width: 42px;
    min-height: 42px;
    color: #111827;
    background: #fff;
    border: 1px solid rgba(17, 24, 39, 0.08);
    border-radius: 50%;
    box-shadow: 0 10px 22px rgba(17, 24, 39, 0.1);
  }

  .mobile-back-button svg {
    width: 25px;
    height: 25px;
    fill: currentColor;
  }

  .mobile-back-button.is-muted {
    color: #9aa1ad;
  }

  .mobile-global-back {
    position: fixed;
    top: max(12px, env(safe-area-inset-top));
    left: 12px;
    z-index: 38;
    place-items: center;
    width: 42px;
    min-height: 42px;
    color: #111827;
    background: #fff;
    border: 1px solid rgba(17, 24, 39, 0.08);
    border-radius: 50%;
    box-shadow: 0 12px 26px rgba(17, 24, 39, 0.14);
  }

  body:not(.home-mode) .mobile-global-back {
    display: grid;
  }

  .mobile-global-back svg {
    width: 25px;
    height: 25px;
    fill: currentColor;
  }

  .mobile-icon-button,
  .mobile-avatar {
    position: relative;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    color: #0e1324;
    background: transparent;
    border: 0;
    border-radius: 50%;
  }

  .mobile-icon-button svg {
    width: 28px;
    height: 28px;
    fill: currentColor;
  }

  .mobile-icon-button span,
  .mobile-bottom-tabs i {
    position: absolute;
    display: grid;
    place-items: center;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    color: #fff;
    background: #ef2d55;
    border-radius: 999px;
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
  }

  .mobile-icon-button span {
    top: 3px;
    right: 2px;
  }

  .mobile-logo-word {
    display: grid;
    place-items: center;
    line-height: 1;
    text-align: center;
  }

  .mobile-logo-word strong {
    color: #111827;
    font-family: Arial, sans-serif;
    font-size: 44px;
    font-weight: 500;
    letter-spacing: 0;
  }

  .mobile-logo-word strong span {
    color: #e60000;
  }

  .mobile-logo-word small {
    margin-top: -2px;
    color: #111827;
    font-size: 28px;
    font-weight: 500;
  }

  .mobile-brand-mark {
    display: grid;
    gap: 5px;
    place-items: center;
    min-width: 0;
    color: #111827;
    background: transparent;
    border: 0;
    line-height: 1;
    text-align: center;
  }

  .mobile-brand-mark img {
    width: 54px;
    height: 54px;
    object-fit: contain;
    border-radius: 18px;
    box-shadow: 0 12px 28px rgba(18, 24, 27, 0.16);
  }

  .mobile-brand-mark span {
    display: block;
    max-width: 148px;
    overflow: hidden;
    color: #111827;
    font-size: 17px;
    font-weight: 500;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mobile-user-strip {
    display: flex;
    gap: 8px;
    align-items: center;
  }

  .mobile-language-switch {
    min-height: 32px;
    padding: 2px;
    background: #fff;
    box-shadow: 0 8px 18px rgba(17, 24, 39, 0.08);
  }

  .mobile-language-switch button {
    min-width: 28px;
    min-height: 24px;
    padding: 0 6px;
    font-size: 10px;
    font-weight: 500;
  }

  .mobile-user-name {
    max-width: 86px;
    min-height: 30px;
    padding: 0 8px;
    color: #b00000;
    background: #fff;
    border-color: rgba(230, 0, 0, 0.15);
    box-shadow: 0 8px 18px rgba(17, 24, 39, 0.08);
    font-size: 11px;
  }

  .mobile-coin-pill {
    display: inline-flex;
    gap: 6px;
    align-items: center;
    min-height: 38px;
    padding: 0 8px;
    color: #fff;
    background: linear-gradient(135deg, #111827, #20283a);
    border: 0;
    border-radius: 999px;
    box-shadow: 0 12px 24px rgba(17, 24, 39, 0.16);
  }

  .mobile-coin-pill span {
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    color: #fff;
    background: #e60000;
    border-radius: 50%;
    font-size: 10px;
    font-weight: 500;
  }

  .mobile-coin-pill strong {
    font-size: 16px;
  }

  .mobile-coin-pill b {
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    color: #fff;
    background: #ffb21c;
    border-radius: 50%;
    font-size: 18px;
    line-height: 1;
  }

  .mobile-avatar {
    width: 42px;
    height: 42px;
    color: #fff;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.16), transparent), #2f3948;
    border: 3px solid #fff;
    box-shadow: 0 8px 20px rgba(17, 24, 39, 0.16);
    font-weight: 500;
  }

  .mobile-search-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 126px;
    gap: 10px;
    margin-bottom: 14px;
  }

  .mobile-search-field,
  .mobile-city-button {
    display: flex;
    align-items: center;
    min-height: 58px;
    background: #fff;
    border: 1px solid #e3e7ef;
    border-radius: 18px;
    box-shadow: 0 10px 24px rgba(17, 24, 39, 0.05);
  }

  .mobile-search-field {
    flex-direction: row-reverse;
    gap: 10px;
    padding: 0 16px;
  }

  .mobile-search-field svg,
  .mobile-city-button svg {
    flex: 0 0 auto;
    width: 25px;
    height: 25px;
    fill: #747b91;
  }

  .mobile-search-field input {
    min-width: 0;
    width: 100%;
    min-height: 44px;
    padding: 0;
    color: #171c2f;
    background: transparent;
    border: 0;
    outline: 0;
    font-size: 17px;
    font-weight: 500;
    text-align: right;
  }

  .mobile-search-field input::placeholder {
    color: #8b90a2;
  }

  .mobile-city-button {
    justify-content: center;
    gap: 8px;
    padding: 0 12px;
    color: #666e82;
    font-size: 16px;
    font-weight: 500;
  }

  .mobile-video-card {
    position: relative;
    min-height: 446px;
    overflow: hidden;
    border-radius: 18px;
    background: #111827;
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.18);
  }

  .mobile-video-card img,
  .mobile-video-card video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .mobile-video-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8, 13, 24, 0.16), transparent 46%, rgba(8, 13, 24, 0.28));
    pointer-events: none;
  }

  .mobile-video-tools {
    position: absolute;
    top: 16px;
    right: 16px;
    left: 16px;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .mobile-video-tools span,
  .mobile-video-tools strong,
  .mobile-video-progress button {
    display: grid;
    place-items: center;
    color: #fff;
    background: rgba(5, 10, 20, 0.74);
    border-radius: 999px;
  }

  .mobile-video-tools span {
    width: 46px;
    height: 46px;
  }

  .mobile-video-tools svg,
  .mobile-video-progress svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
  }

  .mobile-video-tools strong {
    min-height: 40px;
    padding: 0 12px;
    font-size: 18px;
  }

  .mobile-video-copy {
    position: absolute;
    inset: 70px 20px auto;
    z-index: 2;
    color: #fff;
    text-align: center;
  }

  .mobile-video-actions {
    position: absolute;
    right: 16px;
    bottom: 16px;
    left: 16px;
    z-index: 3;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
    pointer-events: none;
  }

  .mobile-vip-upload,
  .mobile-video-icon-button {
    pointer-events: auto;
    min-height: 36px;
    color: #fff;
    background: rgba(0, 0, 0, 0.58);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 12px;
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    font-weight: 500;
  }

  .mobile-vip-upload {
    padding: 0 12px;
    background: rgba(0, 0, 0, 0.28);
  }

  .mobile-video-icon-button {
    display: grid;
    place-items: center;
    width: 36px;
    padding: 0;
  }

  .mobile-video-icon-button svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
  }

  .mobile-video-copy h1 {
    margin: 0;
    font-size: clamp(36px, 11vw, 54px);
    line-height: 1.15;
    text-shadow: 0 8px 22px rgba(0, 0, 0, 0.32);
  }

  .mobile-video-copy h1 span {
    color: #ff2a2a;
  }

  .mobile-video-copy p {
    margin: 20px 0 22px;
    color: rgba(255, 255, 255, 0.94);
    font-size: 22px;
    font-weight: 500;
    line-height: 1.55;
  }

  .mobile-play-button {
    display: grid;
    place-items: center;
    width: 96px;
    height: 96px;
    margin: 0 auto;
    color: #e60000;
    background: #fff;
    border: 0;
    border-radius: 50%;
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22);
  }

  .mobile-play-button svg {
    width: 50px;
    height: 50px;
    fill: currentColor;
  }

  .mobile-video-progress {
    position: absolute;
    right: 18px;
    bottom: 16px;
    left: 18px;
    z-index: 2;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    color: #fff;
    font-weight: 500;
  }

  .mobile-video-progress i {
    position: relative;
    height: 5px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.28);
    border-radius: 999px;
  }

  .mobile-video-progress i b {
    position: absolute;
    inset: 0 auto 0 0;
    width: 52%;
    background: #e60000;
    border-radius: inherit;
  }

  .mobile-video-progress i::after {
    position: absolute;
    top: 50%;
    left: 52%;
    width: 18px;
    height: 18px;
    content: "";
    background: #e60000;
    border-radius: 50%;
    transform: translate(-50%, -50%);
  }

  .mobile-video-progress button {
    width: 42px;
    height: 42px;
    border: 0;
  }

  .mobile-metrics-card,
  .mobile-category-card,
  .mobile-token-banner,
  .mobile-bottom-tabs {
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid #edf0f6;
    border-radius: 20px;
    box-shadow: 0 14px 34px rgba(17, 24, 39, 0.08);
  }

  .mobile-metrics-card {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    margin: 14px 4px 16px;
    padding: 14px 0;
  }

  .mobile-metrics-card button {
    display: grid;
    gap: 6px;
    place-items: center;
    min-width: 0;
    color: #171c2f;
    background: transparent;
    border: 0;
    border-left: 1px solid #e5e9f2;
  }

  .mobile-metrics-card button:first-child {
    border-left: 0;
  }

  .mobile-metrics-card svg {
    width: 29px;
    height: 29px;
    fill: #e60000;
  }

  .mobile-metrics-card button:nth-child(2) svg {
    fill: #16b889;
  }

  .mobile-metrics-card button:nth-child(3) svg {
    fill: #ff8f00;
  }

  .mobile-metrics-card button:nth-child(4) svg {
    fill: #3f82ff;
  }

  .mobile-metrics-card span {
    color: #747b91;
    font-size: 14px;
    font-weight: 500;
  }

  .mobile-metrics-card strong {
    color: #151b2d;
    font-size: 15px;
    white-space: nowrap;
  }

  .mobile-category-card {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 4px;
    margin: 0 4px 16px;
    padding: 14px 8px;
  }

  .mobile-category-card button {
    display: grid;
    gap: 8px;
    place-items: center;
    min-width: 0;
    color: #171c2f;
    background: transparent;
    border: 0;
  }

  .mobile-category-card span {
    position: relative;
    display: grid;
    place-items: center;
    width: min(50px, 11.6vw);
    height: min(50px, 11.6vw);
    color: var(--mobile-icon-color, #e60000);
    background:
      radial-gradient(circle at 34% 22%, rgba(255, 255, 255, 0.84), transparent 34%),
      linear-gradient(145deg, rgba(255, 255, 255, 0.98), color-mix(in srgb, var(--mobile-icon-color, #e60000) 12%, #fff));
    border: 1px solid color-mix(in srgb, var(--mobile-icon-color, #e60000) 22%, #fff);
    border-radius: 999px;
    box-shadow:
      0 10px 22px color-mix(in srgb, var(--mobile-icon-color, #e60000) 14%, transparent),
      inset 0 1px 0 rgba(255, 255, 255, 0.72);
  }

  .mobile-category-card span::before {
    content: "";
    position: absolute;
    inset: 5px;
    border: 1px solid rgba(255, 255, 255, 0.82);
    border-radius: inherit;
    pointer-events: none;
  }

  .mobile-category-card span svg {
    position: relative;
    z-index: 1;
    width: 29px;
    height: 29px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.75;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .mobile-category-card .is-purple {
    --mobile-icon-color: #d92228;
  }

  .mobile-category-card .is-green {
    --mobile-icon-color: #07865d;
  }

  .mobile-category-card .is-teal {
    --mobile-icon-color: #0f766e;
  }

  .mobile-category-card .is-red {
    --mobile-icon-color: #d53f5a;
  }

  .mobile-category-card .is-orange {
    --mobile-icon-color: #c9850f;
  }

  .mobile-category-card .is-blue {
    --mobile-icon-color: #3468c9;
  }

  .mobile-category-card .is-violet {
    --mobile-icon-color: #7c3aed;
  }

  .mobile-category-card span:not([class]) {
    --mobile-icon-color: #e00000;
  }

  .mobile-category-card b {
    min-height: 36px;
    font-size: 13px;
    line-height: 1.25;
    text-align: center;
  }

  .mobile-token-banner {
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    margin: 0 4px 12px;
    padding: 12px;
    background: linear-gradient(135deg, #f3edff, #ffffff 52%, #efe9ff);
  }

  .mobile-token-art {
    position: relative;
    width: 74px;
    height: 58px;
  }

  .mobile-token-art span {
    position: absolute;
    right: 6px;
    bottom: 2px;
    width: 52px;
    height: 38px;
    background: linear-gradient(135deg, #e60000, #ff4a4a);
    border-radius: 12px;
    box-shadow: inset 8px 0 0 rgba(255, 255, 255, 0.18);
  }

  .mobile-token-art i,
  .mobile-token-art b {
    position: absolute;
    display: block;
    width: 24px;
    height: 24px;
    background: #ffbf2f;
    border: 3px solid #ffd86b;
    border-radius: 50%;
  }

  .mobile-token-art i {
    top: 2px;
    left: 8px;
  }

  .mobile-token-art b {
    right: 0;
    top: 8px;
  }

  .mobile-token-banner h2 {
    margin: 0;
    color: #e60000;
    font-size: 16px;
    line-height: 1.35;
  }

  .mobile-token-banner p {
    margin: 4px 0 0;
    color: #6f7487;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.35;
  }

  .mobile-token-banner > button {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    min-height: 52px;
    padding: 0 14px;
    color: #fff;
    background: linear-gradient(135deg, #e60000, #b80000);
    border: 0;
    border-radius: 16px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
  }

  .mobile-token-banner > button span {
    font-size: 24px;
    line-height: 1;
  }

  .mobile-flow {
    position: fixed;
    inset: 0;
    z-index: 70;
    display: none;
    min-height: 100vh;
    padding: max(18px, env(safe-area-inset-top)) 18px calc(24px + env(safe-area-inset-bottom));
    overflow: auto;
    color: #252a33;
    background: #fff;
  }

  .mobile-flow.is-open {
    display: block;
  }

  .mobile-flow[hidden] {
    display: none !important;
  }

  .mobile-flow-bar {
    position: sticky;
    top: 0;
    z-index: 2;
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr) 52px;
    align-items: center;
    min-height: 58px;
    margin: -18px -18px 28px;
    padding: max(14px, env(safe-area-inset-top)) 18px 10px;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid #edf0f4;
    backdrop-filter: blur(18px);
  }

  .mobile-flow-bar strong {
    font-size: 21px;
    text-align: center;
  }

  .mobile-flow-bar button {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    color: #2b2f36;
    background: transparent;
    border: 0;
    font-size: 42px;
    line-height: 1;
  }

  .mobile-flow-screen {
    display: none;
    animation: mobileFadeIn 0.18s ease-out;
  }

  .mobile-flow-screen.is-active {
    display: block;
  }

  .mobile-flow-screen h2 {
    margin: 10px 0 8px;
    color: #2b3038;
    font-size: clamp(30px, 9vw, 42px);
    line-height: 1.25;
    text-align: center;
  }

  .mobile-flow-screen p {
    margin: 0 0 40px;
    color: #74777f;
    font-size: 19px;
    font-weight: 500;
    text-align: center;
  }

  .mobile-flow-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .mobile-flow-grid button {
    display: grid;
    gap: 18px;
    place-items: center;
    min-height: 150px;
    color: #242830;
    background: #fff;
    border: 1px solid #f0f1f3;
    border-radius: 8px;
    box-shadow: 0 18px 34px rgba(15, 23, 42, 0.06);
  }

  .mobile-flow-grid span {
    position: relative;
    display: grid;
    place-items: center;
    width: 62px;
    height: 62px;
    color: var(--mobile-flow-color, #d92228);
    background:
      radial-gradient(circle at 34% 22%, rgba(255, 255, 255, 0.86), transparent 34%),
      linear-gradient(145deg, #fff, color-mix(in srgb, var(--mobile-flow-color, #d92228) 10%, #fff));
    border: 1px solid color-mix(in srgb, var(--mobile-flow-color, #d92228) 24%, #fff);
    border-radius: 999px;
    box-shadow:
      0 14px 28px color-mix(in srgb, var(--mobile-flow-color, #d92228) 14%, transparent),
      inset 0 1px 0 rgba(255, 255, 255, 0.74);
  }

  .mobile-flow-grid span::before {
    content: "";
    position: absolute;
    inset: 6px;
    border: 1px solid rgba(255, 255, 255, 0.84);
    border-radius: inherit;
    pointer-events: none;
  }

  .mobile-flow-grid span svg {
    position: relative;
    z-index: 1;
    width: 34px;
    height: 34px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.65;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .line-car {
    --mobile-flow-color: #d92228;
  }

  .line-house {
    --mobile-flow-color: #07865d;
  }

  .line-building {
    --mobile-flow-color: #0f766e;
  }

  .line-number {
    --mobile-flow-color: #0f766e;
  }

  .line-auction {
    --mobile-flow-color: #7c3aed;
  }

  .line-jobs {
    --mobile-flow-color: #3468c9;
  }

  .line-devices {
    --mobile-flow-color: #d53f5a;
  }

  .line-community {
    --mobile-flow-color: #9d174d;
  }

  .mobile-flow-grid span {
    --mobile-flow-color: #e00000;
  }

  .mobile-flow-grid b {
    font-size: 20px;
    line-height: 1.35;
    text-align: center;
  }

  .mobile-list {
    display: grid;
    margin-top: 36px;
  }

  .mobile-list button {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 72px;
    padding: 0 4px;
    color: #3f434b;
    background: transparent;
    border: 0;
    border-bottom: 1px solid #eceff3;
    font-size: 24px;
    font-weight: 500;
    text-align: right;
  }

  .mobile-list button::before {
    margin-inline-end: auto;
    color: #e60000;
    content: "‹";
    opacity: 0.8;
  }

  .mobile-list button.is-selected::before {
    content: "✓";
  }

  @keyframes mobileFadeIn {
    from {
      opacity: 0;
      transform: translateY(8px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .mobile-bottom-tabs {
    position: fixed;
    right: 12px;
    bottom: max(10px, env(safe-area-inset-bottom));
    left: 12px;
    z-index: 30;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 4px;
    padding: 10px 8px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(18px);
  }

  .mobile-bottom-tabs button {
    position: relative;
    display: grid;
    gap: 4px;
    place-items: center;
    min-width: 0;
    min-height: 58px;
    color: #747b91;
    background: transparent;
    border: 0;
    font-size: 12px;
    font-weight: 500;
  }

  .mobile-bottom-tabs svg {
    width: 28px;
    height: 28px;
    fill: currentColor;
  }

  .mobile-bottom-tabs .is-active,
  .mobile-bottom-tabs button:hover {
    color: #e60000;
  }

  .mobile-bottom-tabs .mobile-add-tab {
    color: #fff;
  }

  .mobile-bottom-tabs .mobile-add-tab svg {
    width: 54px;
    height: 54px;
    padding: 14px;
    background: linear-gradient(135deg, #e60000, #b80000);
    border-radius: 50%;
    box-shadow: 0 12px 24px rgba(230, 0, 0, 0.28);
  }

  .mobile-bottom-tabs .mobile-add-tab span {
    color: #171c2f;
  }

  .mobile-bottom-tabs i {
    top: 0;
    right: calc(50% - 2px);
  }
}

@media print {
  body.print-mode {
    background: #fff;
    color: #111827;
  }

  body.print-mode > *:not(.print-area) {
    display: none !important;
  }

  body.print-mode .print-area {
    display: block !important;
    padding: 18px;
  }

  .print-sheet {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .print-ticket {
    display: grid;
    gap: 10px;
    break-inside: avoid;
    padding: 14px;
    color: #111827;
    background: #fff;
    border: 1px solid #111827;
    border-radius: 8px;
  }

  .print-ticket-head {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    border-bottom: 1px solid #d1d5db;
    padding-bottom: 8px;
  }

  .print-ticket .ticket-info-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 1040px) {
  .topbar {
    grid-template-columns: 1fr auto;
  }

  .main-nav {
    grid-column: 1 / -1;
    justify-content: start;
    overflow-x: auto;
    padding-bottom: 10px;
  }

  .search-shell,
  .page-shell {
    grid-template-columns: 1fr;
  }

  .property-search-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .property-tabs,
  .property-subtabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: none;
  }

  .property-hero-card {
    min-height: 0;
  }

  .filters {
    position: static;
  }

  .stats-strip,
  .token-inner,
  .token-purchase,
  .category-grid,
  .listings-grid,
  .dashboard-grid,
  .ticket-info-grid,
  .footer-inner,
  .info-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-brand-block {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  .vip-video-form-grid,
  .vip-video-fields,
  .vip-video-mode,
  .live-studio-card,
  .vip-video-payment .payment-fields,
  .vip-video-payment .payment-methods {
    grid-template-columns: 1fr;
  }

  .live-studio-card video {
    width: 100%;
  }

  .vip-video-controls {
    right: 12px;
    bottom: 12px;
  }

  body.property-mode:not(.detail-mode) .page-shell {
    margin-top: 12px;
    padding: 0 12px;
  }

  .property-hero-card {
    padding: 26px 16px 16px;
    border-radius: 16px;
  }

  .property-hero-card::after,
  .property-hero-visual {
    display: none;
  }

  .property-hero-copy h2 {
    font-size: 30px;
  }

  .property-hero-copy p {
    font-size: 15px;
  }

  .property-tabs,
  .property-subtabs,
  .property-search-panel,
  .property-promo-strip {
    grid-template-columns: 1fr;
  }

  .property-tabs {
    border-radius: 16px;
  }

  .property-promo-card {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 18px;
    border-radius: 14px;
  }

  .topbar {
    padding: 0 14px;
    gap: 10px;
  }

  body.account-mode {
    min-height: 100vh;
    background: #fbfcff;
  }

  body.account-mode .topbar,
  body.account-mode .site-footer,
  body.account-mode .legal-badge,
  body.account-mode .hero-band,
  body.account-mode .token-section,
  body.account-mode .filters,
  body.account-mode .section-head,
  body.account-mode .category-grid,
  body.account-mode .results-meta,
  body.account-mode .listings-grid,
  body.account-mode .empty-state,
  body.account-mode .dashboard-grid,
  body.account-mode .web3-panel,
  body.account-mode .company-panel,
  body.account-mode .account-actions {
    display: none !important;
  }

  body.account-mode main {
    display: block;
  }

  body.account-mode .page-shell {
    display: block;
    padding: max(18px, env(safe-area-inset-top)) 16px calc(104px + env(safe-area-inset-bottom));
  }

  body.account-mode .content-area {
    display: block;
  }

  body.account-mode .account-panel {
    display: grid;
    gap: 14px;
    margin: 0;
  }

  body.account-mode .profile-card {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    padding: 18px;
    background: #fff;
    border: 1px solid #eceff3;
    border-radius: 16px;
    box-shadow: 0 14px 34px rgba(17, 24, 39, 0.08);
  }

  body.account-mode .profile-card .post-button {
    display: none !important;
  }

  body.account-mode .verify-account-card {
    grid-column: 1 / -1;
    justify-self: start;
    width: fit-content;
    max-width: 100%;
    min-height: 44px;
    border-radius: 12px;
    white-space: normal;
  }

  body.account-mode .profile-card h3 {
    margin: 0 0 6px;
    font-size: 24px;
  }

  body.account-mode .profile-card p {
    margin: 0;
    color: #74777f;
    font-size: 14px;
    line-height: 1.6;
  }

  body.account-mode .account-info-grid {
    grid-template-columns: 1fr;
  }

  body.account-mode .account-info-grid div {
    padding: 16px;
    background: #fff;
    border: 1px solid #eceff3;
    border-radius: 14px;
    box-shadow: 0 10px 24px rgba(17, 24, 39, 0.05);
  }

  body.account-mode .ai-toggle,
  body.account-mode .ai-widget {
    display: none !important;
  }

  body.account-mode .real-estate-entry-panel .post-button {
    width: 100%;
    margin-right: 0;
  }

  .brand span:last-child,
  .top-actions .ghost-button:not(.web3-button) {
    display: none;
  }

  .brand-logo {
    width: 40px;
    height: 40px;
  }

  .footer-brand-logo {
    width: 44px;
    height: 44px;
  }

  .hero-band {
    padding: 18px 12px;
  }

  .vip-video-content h1 {
    font-size: 28px;
  }

  .vip-video-banner {
    min-height: 360px;
  }

  .stats-strip,
  .token-inner,
  .token-metrics,
  .portal-kpis,
  .lead-points-grid,
  .portal-split,
  .pipeline-grid,
  .property-crm-stats,
  .property-crm-layout,
  .category-grid,
  .listings-grid,
  .dashboard-grid,
  .ticket-info-grid,
  .account-info-grid,
  .form-grid,
  .detail-grid,
  .listing-card.list-card,
  .footer-inner,
  .info-grid {
    grid-template-columns: 1fr;
  }

  .page-shell {
    padding: 0 12px;
    grid-template-columns: 1fr;
  }

  .token-main {
    align-items: start;
    flex-direction: column;
  }

  .token-status {
    align-items: start;
    flex-direction: column;
  }

  .web3-panel {
    grid-template-columns: 1fr;
  }

  .section-head,
  .profile-card,
  .company-head,
  .company-content,
  .messages-toolbar,
  .ticket-head,
  .ticket-actions,
  .owner-print-head,
  .message-thread-head,
  .message-meta {
    align-items: start;
    flex-direction: column;
  }

  .ticket-head {
    padding-left: 0;
  }

  .ticket-ribbon {
    position: static;
    width: fit-content;
    transform: none;
  }

  .ticket-serial strong {
    font-size: 20px;
  }

  .company-form,
  .profile-edit-form,
  .employee-form {
    grid-template-columns: 1fr;
  }

  .property-crm-panel {
    padding: 14px;
    border-radius: 14px;
  }

  .real-estate-portal {
    padding: 14px;
    border-radius: 8px;
  }

  .real-estate-entry-panel {
    align-items: stretch;
    flex-direction: column;
    padding: 14px;
  }

  .portal-hero,
  .portal-section-title,
  .pipeline-title {
    align-items: stretch;
    flex-direction: column;
  }

  .portal-copy h3 {
    font-size: 24px;
  }

  .portal-copy p {
    font-size: 14px;
  }

  .portal-badges {
    grid-template-columns: 1fr;
  }

  .portal-score-card {
    justify-items: start;
    min-width: 0;
    width: 100%;
  }

  .portal-score-card strong {
    font-size: 36px;
  }

  .property-crm-head,
  .mini-section-head,
  .lead-card-head,
  .lead-actions,
  .lead-meta {
    align-items: stretch;
    flex-direction: column;
  }

  .form-section-head,
  .profile-form-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .payment-head {
    align-items: start;
    flex-direction: column;
  }

  .post-type-grid,
  .feature-checks {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .payment-plans,
  .payment-methods,
  .payment-fields {
    grid-template-columns: 1fr;
  }

  .crypto-wallet {
    align-items: start;
    flex-direction: column;
  }

  .apple-pay-card {
    align-items: start;
    flex-direction: column;
  }

  .listing-card.list-card .listing-media {
    min-height: 190px;
  }

  .detail-actions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .chat-widget,
  .chat-toggle {
    left: 12px;
  }

  .ai-widget,
  .ai-toggle {
    right: 12px;
  }

  .chat-widget {
    bottom: 74px;
    width: calc(100vw - 24px);
  }

  .ai-widget {
    bottom: 92px;
    width: calc(100vw - 24px);
  }

  .ai-toggle {
    bottom: 92px;
  }

  .chat-form {
    grid-template-columns: 1fr;
  }

  .property-gallery,
  .property-detail-layout {
    grid-template-columns: 1fr;
  }

  .property-thumbs {
    grid-template-columns: repeat(4, 1fr);
  }

  .property-main-photo svg,
  .property-main-photo .listing-photo {
    min-height: 260px;
  }

  .property-thumbs button,
  .property-thumbs svg,
  .property-thumbs .listing-photo {
    min-height: 64px;
  }

  .ticket-list {
    grid-template-columns: 1fr;
  }

  .user-ticket-card {
    max-width: none;
  }

  .post-type-grid,
  .feature-checks {
    grid-template-columns: 1fr;
  }

  .post-type-dialog form {
    padding: 18px;
  }

  .property-side-panel {
    position: static;
  }
}

.bayut-property-shell {
  --bayut-green: #54b878;
  --bayut-green-dark: #276d73;
  --bayut-green-soft: #eaf7ef;
  --bayut-ink: #20282d;
  --bayut-muted: #6d7479;
  --bayut-line: #dfe6e8;
  --bayut-soft: #f6f9f9;
  display: grid;
  gap: 18px;
  direction: rtl;
  color: var(--bayut-ink);
}

.bayut-property-shell button,
.bayut-property-shell input,
.bayut-property-shell select {
  font: inherit;
}

.bayut-property-nav {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 16px 0 10px;
  background: #fff;
  border-bottom: 1px solid var(--bayut-line);
}

.bayut-brand-mark {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: var(--bayut-green);
  font-size: 24px;
  font-weight: 500;
  white-space: nowrap;
}

.bayut-brand-mark span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: #fff;
  background: var(--bayut-green);
  border-radius: 999px;
  font-weight: 500;
}

.bayut-property-nav nav {
  display: flex;
  gap: 8px;
  justify-content: center;
  overflow-x: auto;
  scrollbar-width: none;
}

.bayut-property-nav nav::-webkit-scrollbar {
  display: none;
}

.bayut-property-nav nav button,
.bayut-filter-chips button,
.bayut-result-tools button,
.bayut-result-tools a {
  display: inline-grid;
  place-items: center;
  gap: 2px;
  min-height: 44px;
  padding: 8px 14px;
  color: #38434a;
  background: #fff;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}

.bayut-property-nav nav button span {
  color: var(--bayut-muted);
  font-size: 11px;
  font-weight: 500;
}

.bayut-property-nav nav button.is-active,
.bayut-filter-chips button.is-active,
.bayut-result-tools button.is-active,
.bayut-result-tools a.is-active {
  color: var(--bayut-green-dark);
  background: var(--bayut-green-soft);
  border-color: #a8d9b8;
}

.bayut-login-button {
  min-height: 46px;
  padding: 0 18px;
  color: #2e363b;
  background: #fff;
  border: 1px solid var(--bayut-line);
  border-radius: 8px;
  font-weight: 500;
  white-space: nowrap;
}

.bayut-filterbar {
  display: grid;
  grid-template-columns: 120px minmax(220px, 1.35fr) 150px 170px 150px 170px 130px 100px 74px;
  gap: 10px;
  align-items: center;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--bayut-line);
  border-radius: 8px;
  box-shadow: 0 7px 18px rgba(29, 45, 55, 0.05);
}

.bayut-filterbar label {
  min-width: 0;
}

.bayut-filterbar input,
.bayut-filterbar select,
.bayut-select-button,
.bayut-advanced-button,
.bayut-search-button,
.bayut-reset-button {
  width: 100%;
  min-height: 52px;
  padding: 0 14px;
  color: #2b3439;
  background: #fff;
  border: 1px solid var(--bayut-line);
  border-radius: 8px;
  outline: 0;
  font-weight: 500;
}

.bayut-location-field {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  min-height: 52px;
  padding: 0 14px;
  border: 1px solid var(--bayut-line);
  border-radius: 8px;
}

.bayut-location-field span {
  color: var(--bayut-green-dark);
  font-size: 20px;
}

.bayut-location-field input {
  min-height: 46px;
  padding: 0;
  border: 0;
}

.bayut-select-button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--bayut-green-dark);
  border-color: #8cbac2;
}

.bayut-advanced-button {
  color: var(--bayut-green-dark);
  background: #fbfdfd;
}

.bayut-search-button {
  color: #fff;
  background: var(--bayut-green-dark);
  border-color: var(--bayut-green-dark);
}

.bayut-reset-button {
  color: var(--bayut-muted);
  background: #f7f9f9;
}

.bayut-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: flex-start;
}

.bayut-results-head {
  display: grid;
  gap: 12px;
  margin: 6px 0 8px;
  padding: 8px 0;
}

.bayut-results-head p {
  margin: 0;
  color: var(--bayut-muted);
  font-weight: 500;
}

.bayut-results-head h2 {
  margin: 0;
  color: var(--bayut-ink);
  font-size: clamp(25px, 3vw, 34px);
  line-height: 1.25;
  font-weight: 500;
}

.bayut-result-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.bayut-result-tools button,
.bayut-result-tools a {
  border-color: var(--bayut-line);
}

.bayut-property-layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.bayut-side-rail {
  position: sticky;
  top: 88px;
  display: grid;
  gap: 14px;
}

.bayut-map-card,
.bayut-owner-card,
.bayut-alert-card,
.bayut-suggestions,
.bayut-agent-sidebar > *,
.bayut-agent-panel,
.bayut-sell-form,
.bayut-estimate-card,
.bayut-insight-card,
.bayut-table-card {
  background: #fff;
  border: 1px solid var(--bayut-line);
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(27, 41, 50, 0.05);
}

.bayut-map-card {
  position: relative;
  overflow: hidden;
  display: grid;
  align-content: end;
  min-height: 170px;
  padding: 18px;
  color: var(--bayut-green-dark);
  background:
    linear-gradient(135deg, rgba(84, 184, 120, 0.18), transparent 35%),
    linear-gradient(90deg, transparent 0 20%, rgba(160, 175, 181, 0.22) 20% 22%, transparent 22% 42%, rgba(160, 175, 181, 0.22) 42% 44%, transparent 44%),
    linear-gradient(0deg, transparent 0 35%, rgba(160, 175, 181, 0.22) 35% 37%, transparent 37% 70%, rgba(160, 175, 181, 0.22) 70% 72%, transparent 72%),
    #edf2f0;
  font-weight: 500;
}

.map-pin {
  position: absolute;
  width: 44px;
  height: 56px;
  background: var(--bayut-green);
  border: 6px solid #fff;
  border-radius: 999px 999px 999px 0;
  box-shadow: 0 8px 18px rgba(39, 109, 115, 0.18);
  transform: rotate(-45deg);
}

.map-pin.one {
  top: 34px;
  right: 54px;
}

.map-pin.two {
  top: 52px;
  left: 62px;
}

.bayut-owner-card,
.bayut-alert-card,
.bayut-suggestions {
  display: grid;
  gap: 10px;
  padding: 18px;
}

.bayut-owner-card {
  color: #fff;
  background: #2d756d;
}

.bayut-new-label {
  width: fit-content;
  padding: 4px 8px;
  color: #fff;
  background: #ef4444;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
}

.bayut-owner-card h3,
.bayut-owner-card p {
  margin: 0;
}

.bayut-owner-card p {
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.7;
}

.bayut-owner-card button,
.bayut-alert-card button,
.bayut-more-button,
.bayut-form-submit,
.bayut-estimate-form button {
  min-height: 46px;
  padding: 0 18px;
  color: var(--bayut-green-dark);
  background: #d9f3d5;
  border: 1px solid #c4e7c0;
  border-radius: 8px;
  font-weight: 500;
}

.bayut-alert-card strong,
.bayut-suggestions strong {
  font-size: 17px;
}

.bayut-suggestions button {
  padding: 6px 0;
  color: var(--bayut-muted);
  background: transparent;
  border: 0;
  border-bottom: 1px solid #edf0f1;
  text-align: start;
}

.bayut-results-list {
  display: grid;
  gap: 14px;
}

.bayut-results-view,
.bayut-agents-view,
.bayut-transactions-view,
.bayut-estimate-view {
  min-width: 0;
}

.bayut-property-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 345px;
  gap: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--bayut-line);
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(27, 41, 50, 0.05);
}

.bayut-card-media {
  position: relative;
  overflow: hidden;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 250px;
  padding: 0;
  background: #edf1f2;
  border: 0;
}

.bayut-media-frame {
  min-height: 250px;
}

.bayut-card-media .listing-photo,
.bayut-card-media svg {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 250px;
  object-fit: cover;
}

.bayut-media-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 7px 12px;
  color: #222;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
}

.bayut-heart {
  position: absolute;
  right: 14px;
  bottom: 12px;
  color: #fff;
  font-size: 36px;
  line-height: 1;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.38);
}

.bayut-heart.is-saved {
  color: #f87171;
}

.bayut-dots {
  position: absolute;
  right: 50%;
  bottom: 16px;
  display: inline-flex;
  gap: 6px;
  transform: translateX(50%);
}

.bayut-dots b {
  width: 8px;
  height: 8px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 999px;
}

.bayut-card-body {
  display: grid;
  gap: 10px;
  padding: 20px 22px;
}

.bayut-card-price-row {
  display: flex;
  gap: 10px;
  align-items: baseline;
  justify-content: space-between;
}

.bayut-card-price-row strong {
  color: #1f2428;
  font-size: 28px;
  line-height: 1.2;
  font-weight: 500;
}

.bayut-card-price-row span,
.bayut-card-location,
.bayut-card-note {
  color: var(--bayut-muted);
  font-weight: 500;
}

.bayut-card-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.bayut-card-specs span {
  padding: 6px 9px;
  color: #313a40;
  background: #f4f7f7;
  border: 1px solid #e7ecee;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
}

.bayut-card-body h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.55;
}

.bayut-card-body h3 button {
  padding: 0;
  color: #2e6d76;
  background: transparent;
  border: 0;
  text-align: start;
  font-weight: 500;
}

.bayut-card-location,
.bayut-card-note {
  margin: 0;
  line-height: 1.7;
}

.bayut-card-note {
  width: fit-content;
  padding: 6px 10px;
  color: #4b65b9;
  background: #eef3ff;
  border-radius: 8px;
  font-size: 12px;
}

.bayut-card-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  margin-top: 4px;
}

.bayut-agency-mark {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  min-width: 0;
}

.bayut-agency-mark span {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: #fff;
  background: #e53e3e;
  border-radius: 8px;
  font-weight: 500;
}

.bayut-agency-mark small {
  overflow: hidden;
  color: #5d676e;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bayut-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.bayut-card-actions .contact-action-mini {
  flex: 0 0 42px;
}

.bayut-agents-search {
  display: grid;
  grid-template-columns: 180px minmax(180px, 1fr) 180px minmax(220px, 1.2fr) 110px;
  gap: 10px;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--bayut-line);
  border-radius: 8px;
}

.bayut-agents-search input,
.bayut-agents-search button {
  min-height: 52px;
  padding: 0 14px;
  background: #fff;
  border: 1px solid var(--bayut-line);
  border-radius: 8px;
  font-weight: 500;
}

.bayut-agents-search button:last-child {
  color: #fff;
  background: var(--bayut-green-dark);
  border-color: var(--bayut-green-dark);
}

.bayut-agents-search .is-active {
  color: var(--bayut-green-dark);
  border-color: #8cbac2;
}

.bayut-agents-layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.bayut-agent-sidebar {
  display: grid;
  gap: 14px;
}

.bayut-award,
.bayut-badge-card {
  display: grid;
  gap: 10px;
  padding: 20px;
  text-align: center;
}

.award-star {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  margin: 0 auto;
  color: var(--bayut-green-dark);
  background: #eef7f4;
  border: 8px solid #fff;
  border-radius: 999px;
  box-shadow: 0 0 0 3px #d7ece4;
  font-size: 32px;
}

.bayut-badge-card {
  background: #f3f9fa;
}

.bayut-badge-card.is-blue {
  background: #f0f8fc;
}

.bayut-badge-card.is-violet {
  background: #faf4fc;
}

.bayut-badge-card strong {
  width: fit-content;
  margin: 0 auto;
  padding: 9px 18px;
  color: #fff;
  background: linear-gradient(135deg, #0f4d4f, #276d73);
  border-radius: 8px;
}

.bayut-agent-panel {
  display: grid;
  gap: 18px;
  padding: 24px;
  background: linear-gradient(180deg, #eef7f7, #fff 54%);
}

.bayut-agent-panel-head {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}

.bayut-agent-panel-head h2 {
  margin: 4px 0 0;
  font-size: 24px;
}

.bayut-agent-panel-head span {
  color: var(--bayut-green-dark);
  font-weight: 500;
}

.bayut-city-switch {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(100px, 1fr));
  gap: 6px;
  padding: 6px;
  background: #fff;
  border-radius: 8px;
}

.bayut-city-switch button {
  min-height: 42px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  font-weight: 500;
}

.bayut-city-switch .is-active {
  color: var(--bayut-green);
  background: var(--bayut-green-soft);
}

.bayut-agent-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.bayut-agent-card {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  position: relative;
  min-height: 142px;
  padding: 16px;
  background: #fff;
  border: 1px solid #edf1f2;
  border-radius: 8px;
}

.bayut-agent-photo {
  display: grid;
  place-items: center;
  width: 86px;
  height: 94px;
  color: #fff;
  background: linear-gradient(145deg, #cbd5d9, #65747b);
  border-radius: 8px;
  font-size: 22px;
  font-weight: 500;
}

.bayut-agent-card h3,
.bayut-agent-card p {
  margin: 0;
}

.bayut-agent-card h3 {
  font-size: 19px;
}

.bayut-agent-card p,
.bayut-agent-card span,
.bayut-agent-card small {
  color: var(--bayut-muted);
  line-height: 1.6;
  font-weight: 500;
}

.bayut-agent-card small {
  position: absolute;
  bottom: 14px;
  left: 16px;
}

.bayut-agent-counts {
  display: flex;
  gap: 6px;
  margin-top: 8px;
}

.bayut-agent-counts b {
  padding: 3px 8px;
  color: var(--bayut-green-dark);
  border: 1px solid #b9d9de;
  border-radius: 6px;
  font-size: 12px;
}

.bayut-more-button {
  justify-self: center;
  min-width: 220px;
}

.bayut-sell-view {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 520px;
  gap: 36px;
  align-items: center;
  min-height: 620px;
  padding: 28px;
  background: linear-gradient(90deg, #f0fff8 0 52%, #fff 52% 100%);
  border-radius: 8px;
}

.bayut-sell-copy {
  display: grid;
  gap: 18px;
  text-align: center;
}

.bayut-sell-copy h2 {
  max-width: 560px;
  margin: 0 auto;
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1.18;
}

.bayut-sell-copy p {
  max-width: 620px;
  margin: 0 auto;
  color: #252d31;
  font-size: 21px;
  line-height: 1.8;
}

.bayut-skyline {
  position: relative;
  min-height: 310px;
  margin-top: 24px;
}

.bayut-skyline span {
  position: absolute;
  bottom: 0;
  background: linear-gradient(180deg, #7fc5c8, #4d9fa7);
}

.bayut-skyline .tower-a {
  right: 20%;
  width: 88px;
  height: 230px;
  border-radius: 44px 44px 0 0;
}

.bayut-skyline .tower-b {
  right: 40%;
  width: 120px;
  height: 280px;
}

.bayut-skyline .tower-c {
  right: 62%;
  width: 78px;
  height: 175px;
}

.bayut-skyline .bubble {
  position: absolute;
  padding: 10px 14px;
  color: #20282d;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(32, 40, 45, 0.12);
  font-size: 14px;
}

.bayut-skyline .bubble.one {
  top: 48px;
  right: 18%;
}

.bayut-skyline .bubble.two {
  bottom: 74px;
  right: 56%;
}

.bayut-sell-form {
  display: grid;
  gap: 14px;
  padding: 24px;
}

.bayut-sell-form label,
.bayut-sell-form strong {
  display: grid;
  gap: 8px;
  font-weight: 500;
}

.bayut-sell-form input,
.bayut-sell-form select {
  min-height: 52px;
  padding: 0 14px;
  border: 1px solid var(--bayut-line);
  border-radius: 8px;
}

.bayut-form-tabs,
.bayut-form-toggle {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  padding: 6px;
  background: #f6f8f8;
  border-radius: 8px;
}

.bayut-form-tabs button,
.bayut-form-toggle button,
.bayut-chip-row button {
  min-height: 42px;
  color: #4b555b;
  background: #fff;
  border: 1px solid var(--bayut-line);
  border-radius: 999px;
  font-weight: 500;
}

.bayut-form-tabs .is-active,
.bayut-form-toggle .is-active,
.bayut-chip-row .is-active {
  color: var(--bayut-green);
  background: var(--bayut-green-soft);
  border-color: transparent;
}

.bayut-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.bayut-chip-row.is-small button {
  width: 44px;
  padding: 0;
}

.bayut-two-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.bayut-form-submit {
  color: #fff;
  background: var(--bayut-green-dark);
  border-color: var(--bayut-green-dark);
}

.bayut-market-head {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
}

.bayut-market-head h2,
.bayut-market-head p {
  margin: 0;
}

.bayut-market-head h2 {
  font-size: 28px;
}

.bayut-market-head p {
  color: var(--bayut-muted);
  line-height: 1.7;
}

.dld-logo {
  display: grid;
  place-items: center;
  width: 92px;
  height: 60px;
  color: #186b43;
  background: #fff;
  border: 1px solid var(--bayut-line);
  border-radius: 8px;
  font-weight: 500;
}

.dld-refresh-button {
  min-height: 44px;
  padding: 0 16px;
  color: #fff;
  background: #145c64;
  border: 0;
  border-radius: 8px;
  font-weight: 500;
  white-space: nowrap;
}

.dld-refresh-button:disabled {
  opacity: 0.62;
}

.dld-source-strip {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  margin-top: 18px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid #dbe7e9;
  border-radius: 8px;
}

.dld-source-strip > span {
  width: 12px;
  height: 12px;
  background: #eab308;
  border-radius: 999px;
  box-shadow: 0 0 0 5px rgba(234, 179, 8, 0.14);
}

.dld-source-strip.is-live > span {
  background: #1f9d55;
  box-shadow: 0 0 0 5px rgba(31, 157, 85, 0.14);
}

.dld-source-strip strong {
  color: #1d2b31;
  font-size: 15px;
  font-weight: 500;
}

.dld-source-strip small {
  color: #65737b;
  font-weight: 500;
  text-align: end;
}

.bayut-metric-grid,
.bayut-market-promos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.bayut-market-promos {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bayut-metric-grid article,
.bayut-market-promos article {
  display: grid;
  gap: 8px;
  min-height: 118px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--bayut-line);
  border-radius: 8px;
}

.bayut-metric-grid span,
.bayut-market-promos span {
  color: var(--bayut-muted);
  font-weight: 500;
}

.bayut-metric-grid strong {
  font-size: 26px;
  font-weight: 500;
}

.bayut-metric-grid b {
  width: fit-content;
  padding: 3px 8px;
  color: #2ba461;
  background: var(--bayut-green-soft);
  border-radius: 6px;
}

.bayut-table-card {
  overflow: auto;
  width: 100%;
  min-width: 0;
  margin-top: 18px;
}

.bayut-table-actions {
  display: flex;
  gap: 10px;
  padding: 14px;
}

.bayut-table-actions button {
  min-height: 42px;
  padding: 0 14px;
  color: var(--bayut-green-dark);
  background: #edf7f7;
  border: 1px solid #cfe1e4;
  border-radius: 8px;
  font-weight: 500;
}

.bayut-table-card table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.bayut-table-card th,
.bayut-table-card td {
  padding: 16px;
  border-top: 1px solid var(--bayut-line);
  text-align: start;
}

.bayut-table-card td strong {
  display: block;
  color: #1f2a31;
  font-weight: 500;
}

.bayut-table-card td small {
  display: block;
  margin-top: 3px;
  color: var(--bayut-muted);
  font-size: 12px;
  font-weight: 500;
}

.bayut-table-card th {
  color: var(--bayut-muted);
  background: #f8faf9;
  font-weight: 500;
}

.bayut-estimate-view {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 18px;
}

.bayut-estimate-card,
.bayut-insight-card {
  display: grid;
  gap: 18px;
  padding: 24px;
}

.bayut-estimate-card span {
  color: var(--bayut-green-dark);
  font-weight: 500;
}

.bayut-estimate-card h2,
.bayut-insight-card h3 {
  margin: 0;
  font-size: 30px;
}

.bayut-estimate-card p {
  margin: 0;
  color: var(--bayut-muted);
  line-height: 1.8;
}

.bayut-estimate-form {
  display: grid;
  gap: 10px;
}

.bayut-estimate-range {
  display: grid;
  gap: 6px;
  padding: 16px;
  color: #143c42;
  background: #eef8f7;
  border: 1px solid #cce5e2;
  border-radius: 8px;
}

.bayut-estimate-range small {
  color: #557076;
  font-weight: 500;
}

.bayut-estimate-range strong {
  font-size: 24px;
  font-weight: 500;
}

.bayut-estimate-form input,
.bayut-estimate-form select {
  min-height: 52px;
  padding: 0 14px;
  border: 1px solid var(--bayut-line);
  border-radius: 8px;
}

.bayut-line-chart {
  position: relative;
  min-height: 260px;
  background:
    linear-gradient(90deg, #edf0f1 1px, transparent 1px),
    linear-gradient(0deg, #edf0f1 1px, transparent 1px);
  background-size: 78px 52px;
}

.bayut-line-chart span {
  position: absolute;
  inset: 42px 22px 44px;
  background: linear-gradient(180deg, rgba(84, 184, 120, 0.26), rgba(84, 184, 120, 0.02));
  clip-path: polygon(0 68%, 18% 64%, 38% 58%, 56% 46%, 74% 38%, 100% 36%, 100% 100%, 0 100%);
}

.bayut-line-chart::after {
  content: "";
  position: absolute;
  inset: 42px 22px 44px;
  border-top: 4px solid rgba(84, 184, 120, 0.34);
  border-radius: 50% 50% 0 0;
  transform: skewY(-8deg);
}

.bayut-mini-metrics {
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--bayut-muted);
}

.bayut-mini-metrics b {
  color: var(--bayut-green);
  font-size: 22px;
}

@media (max-width: 1040px) {
  .bayut-filterbar,
  .bayut-agents-search {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bayut-property-layout,
  .bayut-agents-layout,
  .bayut-sell-view,
  .bayut-estimate-view {
    grid-template-columns: 1fr;
  }

  .bayut-side-rail {
    position: static;
  }
}

@media (max-width: 680px) {
  .bayut-property-shell {
    gap: 12px;
  }

  .bayut-property-nav {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 12px 0;
  }

  .bayut-brand-mark {
    justify-content: space-between;
    font-size: 20px;
  }

  .bayut-property-nav nav {
    justify-content: flex-start;
    padding-bottom: 2px;
  }

  .bayut-property-nav nav button {
    min-width: 132px;
  }

  .bayut-login-button {
    width: 100%;
  }

  .bayut-filterbar,
  .bayut-agents-search {
    grid-template-columns: 1fr;
    padding: 12px;
  }

  .bayut-filter-chips,
  .bayut-result-tools {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 3px;
  }

  .bayut-property-card {
    grid-template-columns: 1fr;
  }

  .bayut-card-media {
    order: -1;
    min-height: 220px;
  }

  .bayut-card-media .listing-photo,
  .bayut-card-media svg {
    min-height: 220px;
  }

  .bayut-card-body {
    padding: 16px;
  }

  .bayut-card-price-row,
  .bayut-card-footer,
  .bayut-agent-panel-head,
  .bayut-market-head,
  .bayut-mini-metrics {
    align-items: stretch;
    flex-direction: column;
  }

  .dld-source-strip {
    grid-template-columns: 1fr;
  }

  .dld-source-strip small {
    text-align: start;
  }

  .dld-refresh-button {
    width: 100%;
  }

  .bayut-card-price-row strong {
    font-size: 24px;
  }

  .bayut-card-footer {
    grid-template-columns: 1fr;
  }

  .bayut-card-actions {
    justify-content: stretch;
  }

  .bayut-card-actions .contact-action-mini {
    flex: 1;
    min-width: 0;
  }

  .bayut-side-rail {
    order: 2;
  }

  .bayut-agent-panel {
    padding: 16px;
  }

  .bayut-agent-grid,
  .bayut-metric-grid,
  .bayut-market-promos,
  .bayut-two-fields {
    grid-template-columns: 1fr;
  }

  .bayut-agent-card {
    grid-template-columns: 74px minmax(0, 1fr);
    min-height: 130px;
  }

  .bayut-agent-photo {
    width: 70px;
    height: 82px;
  }

  .bayut-sell-view {
    min-height: 0;
    padding: 14px;
    background: #fff;
  }

  .bayut-sell-copy h2 {
    font-size: 32px;
  }

  .bayut-sell-copy p {
    font-size: 17px;
  }

  .bayut-skyline {
    min-height: 220px;
  }

  .bayut-skyline .bubble {
    font-size: 12px;
  }

  .bayut-sell-form,
  .bayut-estimate-card,
  .bayut-insight-card {
    padding: 16px;
  }
}

.bayut-broker-card {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 12px;
  padding: 0 18px 18px;
  background: #fff;
  border: 1px solid var(--bayut-line, #dfe6e8);
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(27, 41, 50, 0.05);
  text-align: center;
}

.bayut-broker-cover {
  display: flex;
  align-items: center;
  min-height: 82px;
  margin: 0 -18px;
  padding: 18px;
  color: #fff;
  background: linear-gradient(135deg, #0f4d4f, #276d73);
  font-weight: 500;
}

.bayut-broker-cover span {
  font-size: 20px;
}

.bayut-broker-avatar {
  display: grid;
  place-items: center;
  width: 96px;
  height: 96px;
  margin: -48px auto 0;
  color: #fff;
  background: linear-gradient(145deg, #536169, #1f2a30);
  border: 6px solid #fff;
  border-radius: 999px;
  font-size: 32px;
  font-weight: 500;
}

.bayut-broker-card h3,
.bayut-broker-card p {
  margin: 0;
}

.bayut-broker-card p {
  color: var(--muted);
  line-height: 1.7;
}

.bayut-broker-badges {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.bayut-broker-badges span {
  padding: 8px;
  color: #245f66;
  background: #eaf7ef;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 500;
}

.bayut-broker-card .bayut-card-actions {
  flex-wrap: nowrap;
  justify-content: center;
}

.bayut-broker-card .contact-action-broker {
  min-width: 94px;
}

.bayut-broker-card .contact-action-copy strong {
  overflow: visible;
  text-overflow: clip;
}

.bayut-broker-card > button {
  min-height: 44px;
  color: #276d73;
  background: #fff;
  border: 1px solid #b8d4d8;
  border-radius: 8px;
  font-weight: 500;
}

.bayut-detail-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: flex-start;
  margin-top: 8px;
  border-bottom: 1px solid #e6ecee;
}

.bayut-detail-tabs button {
  min-height: 52px;
  padding: 0 18px;
  color: #5d676e;
  background: transparent;
  border: 0;
  border-bottom: 3px solid transparent;
  font-weight: 500;
}

.bayut-detail-tabs button.is-active {
  color: #54b878;
  border-bottom-color: #54b878;
}

.bayut-amenity-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.bayut-amenity-grid span {
  display: grid;
  place-items: center;
  min-height: 112px;
  padding: 12px;
  color: #20282d;
  background: #f2f4f5;
  border-radius: 8px;
  font-weight: 500;
  text-align: center;
}

.bayut-comparables,
.bayut-trends-panel,
.bayut-mortgage-widget,
.bayut-regulatory,
.bayut-recommendations {
  overflow: hidden;
}

.bayut-comparables table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
}

.bayut-comparables th,
.bayut-comparables td {
  padding: 14px;
  border-top: 1px solid #edf1f2;
  text-align: start;
}

.bayut-comparables th {
  color: #68737a;
  font-weight: 500;
}

.bayut-trend-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.bayut-trend-split div {
  display: grid;
  gap: 6px;
  padding: 16px;
  background: #f8faf9;
  border: 1px solid #edf1f2;
  border-radius: 8px;
}

.bayut-trend-split span {
  color: #68737a;
  line-height: 1.7;
}

.bayut-mortgage-grid {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 18px;
  border: 1px solid #e1e8ea;
  border-radius: 8px;
}

.bayut-mortgage-result {
  display: grid;
  gap: 8px;
  align-content: center;
  padding: 22px;
  border-inline-end: 1px solid #e1e8ea;
  text-align: center;
}

.bayut-mortgage-result strong {
  font-size: 34px;
  line-height: 1;
}

.bayut-mortgage-result small,
.bayut-mortgage-result span {
  color: #68737a;
  line-height: 1.7;
  font-weight: 500;
}

.bayut-mortgage-form {
  display: grid;
  gap: 12px;
  padding: 22px;
}

.bayut-mortgage-form label {
  display: grid;
  gap: 8px;
  font-weight: 500;
}

.bayut-mortgage-form input,
.bayut-mortgage-form select {
  min-height: 48px;
  padding: 0 12px;
  border: 1px solid #dfe6e8;
  border-radius: 8px;
}

.bayut-regulatory .permit-card {
  float: left;
  width: 150px;
  margin: 0 0 12px 18px;
}

.bayut-recommend-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.bayut-recommend-card {
  display: grid;
  gap: 8px;
  padding: 0 0 12px;
  overflow: hidden;
  color: inherit;
  background: #fff;
  border: 1px solid #e5ecee;
  border-radius: 8px;
  text-align: start;
}

.bayut-recommend-card .listing-photo,
.bayut-recommend-card svg {
  width: 100%;
  height: 145px;
  object-fit: cover;
}

.bayut-recommend-card strong,
.bayut-recommend-card span {
  padding: 0 12px;
}

.bayut-recommend-card span {
  color: #68737a;
  line-height: 1.55;
}

@media (max-width: 680px) {
  .bayut-broker-badges,
  .bayut-amenity-grid,
  .bayut-trend-split,
  .bayut-mortgage-grid,
  .bayut-recommend-grid {
    grid-template-columns: 1fr;
  }

  .bayut-mortgage-result {
    border-inline-end: 0;
    border-bottom: 1px solid #e1e8ea;
  }

  .bayut-regulatory .permit-card {
    float: none;
    width: 100%;
    margin: 0 0 12px;
  }
}

.type-community,
.type-rent {
  --type-color: #d92228;
}

.post-type-dialog {
  width: min(1060px, calc(100% - 32px));
  background: #fff;
  border-radius: 8px;
}

.post-type-dialog::backdrop {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: none;
}

.post-type-dialog .dialog-head {
  justify-content: center;
  text-align: center;
}

.post-type-dialog .dialog-head .icon-button {
  position: absolute;
  inset-inline-start: 18px;
  top: 18px;
}

.post-type-dialog .dialog-head h2 {
  font-size: clamp(27px, 4vw, 40px);
}

.post-type-lead {
  text-align: center;
  font-size: 18px;
}

.post-type-grid {
  width: min(620px, 100%);
  margin: 18px auto 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.post-type-grid button {
  min-height: 176px;
  place-items: center;
  padding: 20px;
  background: #fff;
  border-color: #eceff1;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 8px 22px rgba(21, 29, 36, 0.08);
}

.post-type-grid button:hover {
  border-color: #f3b2ad;
  box-shadow: 0 14px 30px rgba(217, 34, 40, 0.14);
}

.post-type-grid .type-icon {
  color: #d9251d;
  background: #fff4f3;
  border: 0;
  box-shadow: none;
}

.post-type-grid .type-icon::before {
  display: none;
}

.post-type-grid .type-icon svg {
  width: 42px;
  height: 42px;
  stroke-width: 1.9;
}

.post-type-grid small {
  display: none;
}

.motor-wizard-dialog {
  width: min(1180px, 100vw - 32px);
  max-height: min(92vh, 980px);
  padding: 0;
  color: #2a3035;
  background: #fff;
  border: 0;
  border-radius: 8px;
  box-shadow: 0 28px 90px rgba(10, 15, 20, 0.18);
}

.motor-wizard-dialog::backdrop {
  background: rgba(255, 255, 255, 0.94);
}

.motor-wizard-page {
  min-height: min(88vh, 920px);
  padding: 0 28px 34px;
  background: #fff;
}

.motor-wizard-header {
  position: sticky;
  top: 0;
  z-index: 4;
  display: grid;
  place-items: center;
  gap: 8px;
  padding: 24px 0 18px;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid #eef1f2;
  text-align: center;
}

.motor-wizard-logo {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  color: #15191d;
  font-size: 32px;
  font-weight: 500;
}

.motor-wizard-logo img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}

.motor-wizard-header h2 {
  margin: 10px 0 0;
  font-size: clamp(25px, 4vw, 38px);
  line-height: 1.25;
  font-weight: 500;
}

.motor-wizard-header p {
  margin: 0;
  color: #4c555b;
  font-size: 17px;
  line-height: 1.7;
}

.motor-wizard-crumb {
  color: #677178;
  font-weight: 500;
}

.motor-wizard-close {
  position: absolute;
  inset-inline-start: 0;
  top: 20px;
  width: 44px;
  height: 44px;
  color: #9aa1a6;
  background: transparent;
  border: 0;
  font-size: 42px;
  line-height: 1;
}

.motor-subcategory-list {
  display: grid;
  gap: 0;
  width: min(620px, 100%);
  margin: 32px auto;
}

.motor-subcategory-list button {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  min-height: 82px;
  color: #252c31;
  background: #fff;
  border: 0;
  border-bottom: 1px solid #edf0f2;
  text-align: start;
}

.motor-subcategory-list strong {
  font-size: 22px;
  font-weight: 500;
}

.motor-subcategory-list small {
  color: #7a8288;
  font-weight: 500;
}

.motor-subcategory-list b {
  font-size: 28px;
}

.motor-sub-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: #d9251d;
  background: #fff3f2;
  border-radius: 8px;
}

.motor-sub-icon::before {
  font-size: 26px;
  font-weight: 500;
}

.motor-sub-icon.is-car::before {
  content: "▱";
}

.motor-sub-icon.is-bike::before {
  content: "◌";
}

.motor-sub-icon.is-parts::before {
  content: "⚙";
}

.motor-sub-icon.is-truck::before {
  content: "▰";
}

.motor-sub-icon.is-boat::before {
  content: "⌁";
}

.motor-sub-icon.is-plate::before {
  content: "#";
}

.motor-form-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
  align-items: start;
  width: min(900px, 100%);
  margin: 28px auto 0;
}

.motor-form-card,
.motor-ad-summary,
.motor-location-card,
.motor-order-card,
.motor-preview-card,
.motor-upgrade-card,
.motor-addons {
  background: #fff;
  border: 1px solid #dfe4e7;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(24, 31, 36, 0.04);
}

.motor-form-card {
  display: grid;
  gap: 18px;
  padding: 22px;
}

.motor-form-card label,
.motor-card-modal label,
.motor-location-card label {
  display: grid;
  gap: 8px;
  color: #4f5960;
  font-size: 15px;
  font-weight: 500;
}

.motor-form-card input,
.motor-form-card select,
.motor-form-card textarea,
.motor-card-modal input,
.motor-location-card input {
  width: 100%;
  min-height: 62px;
  padding: 0 16px;
  color: #30373d;
  background: #fff;
  border: 1px solid #cfd5d9;
  border-radius: 8px;
  outline: 0;
  font-size: 18px;
  font-weight: 500;
}

.motor-form-card textarea {
  min-height: 120px;
  padding-top: 14px;
  resize: vertical;
}

.motor-form-card small {
  color: #8a9298;
}

.motor-choice-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  align-items: center;
}

.motor-choice-group strong {
  flex-basis: 100%;
  color: #30373d;
  font-size: 16px;
  text-align: start;
}

.motor-choice-group button,
.motor-feature-box button {
  min-height: 42px;
  padding: 0 16px;
  color: #49525a;
  background: #fff;
  border: 1px solid #cfd5d9;
  border-radius: 8px;
  font-weight: 500;
}

.motor-choice-group button.is-selected {
  color: #1f2933;
  border-color: #1f2933;
  box-shadow: inset 0 0 0 1px #1f2933;
}

.motor-next-button,
.motor-pay-submit {
  min-height: 58px;
  color: #fff;
  background: #d9251d;
  border: 1px solid #d9251d;
  border-radius: 8px;
  font-size: 20px;
  font-weight: 500;
}

.motor-ad-summary {
  position: sticky;
  top: 118px;
  display: grid;
  gap: 10px;
  padding: 20px;
  background: #f4f5f6;
}

.motor-ad-summary div {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.motor-ad-summary h3,
.motor-ad-summary p {
  margin: 0;
}

.motor-ad-summary button {
  color: #d9251d;
  background: transparent;
  border: 0;
  font-weight: 500;
}

.motor-ad-summary strong,
.motor-ad-summary span {
  font-size: 18px;
  font-weight: 500;
}

.motor-ad-summary p {
  color: #5d666d;
  line-height: 1.7;
}

.motor-upload-box {
  position: relative;
  display: grid;
  place-items: center;
  gap: 4px;
  overflow: hidden;
  min-height: 76px;
  color: #d9251d;
  background: #fff;
  border: 1px solid #f29a96;
  border-radius: 8px;
  font-size: 19px;
  font-weight: 500;
  cursor: pointer;
}

.motor-upload-box input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.motor-upload-box small {
  color: #777f86;
  font-size: 13px;
  font-weight: 500;
}

.motor-feature-box {
  display: grid;
  gap: 10px;
  padding: 16px;
  border: 1px solid #dfe4e7;
  border-radius: 8px;
}

.motor-feature-box strong {
  color: #5c656c;
}

.motor-feature-box div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.motor-feature-box button {
  color: #606870;
  background: #eceeef;
  border: 0;
  border-radius: 999px;
}

.motor-feature-box button span {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin-inline-end: 6px;
  color: #fff;
  background: #c6c9cc;
  border-radius: 999px;
}

.motor-feature-box button.is-selected {
  color: #fff;
  background: #d9251d;
}

.motor-feature-box button.is-selected span {
  background: rgba(255, 255, 255, 0.28);
}

.motor-location-card {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.motor-location-card h3 {
  margin: 0;
  font-size: 22px;
}

.motor-map-card {
  position: relative;
  display: grid;
  place-items: center;
  gap: 6px;
  min-height: 260px;
  overflow: hidden;
  color: #2b3338;
  background:
    linear-gradient(135deg, rgba(93, 165, 216, 0.5), transparent 30%),
    linear-gradient(90deg, transparent 0 28%, rgba(130, 138, 143, 0.32) 28% 31%, transparent 31% 58%, rgba(130, 138, 143, 0.32) 58% 61%, transparent 61%),
    linear-gradient(0deg, transparent 0 38%, rgba(130, 138, 143, 0.32) 38% 41%, transparent 41% 70%, rgba(130, 138, 143, 0.32) 70% 73%, transparent 73%),
    #e4edf0;
  border-radius: 8px;
  text-align: center;
}

.motor-map-card span {
  width: 42px;
  height: 54px;
  background: #d9251d;
  border: 6px solid #fff;
  border-radius: 999px 999px 999px 0;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.24);
  transform: rotate(-45deg);
}

.google-map-card {
  position: relative;
  display: block;
  min-height: 260px;
  overflow: hidden;
  padding: 0;
  color: #172023;
  background: #edf2f0;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(20, 31, 37, 0.08);
}

.google-map-card iframe {
  display: block;
  width: 100%;
  min-height: inherit;
  height: 100%;
  border: 0;
  filter: saturate(0.96) contrast(1.02);
}

.google-map-caption {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 32px;
  gap: 10px;
  align-items: end;
  padding: 10px 10px 10px 8px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(221, 229, 232, 0.94);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(16, 24, 30, 0.12);
  backdrop-filter: blur(14px);
}

.google-map-caption div:first-child {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.google-map-caption span,
.google-map-caption small {
  color: #65727a;
  font-size: 12px;
  line-height: 1.35;
}

.google-map-caption strong {
  overflow: hidden;
  color: #172023;
  font-size: 15px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.google-map-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}

.google-map-actions a {
  display: inline-grid;
  place-items: center;
  min-height: 34px;
  padding: 0 10px;
  color: #fff;
  background: #176b5e;
  border: 1px solid rgba(23, 107, 94, 0.3);
  border-radius: 7px;
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}

.google-map-actions a:last-child {
  color: #176b5e;
  background: #eef8f4;
}

.google-map-caption-close {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  color: #172023;
  background: rgba(244, 247, 248, 0.96);
  border: 1px solid rgba(180, 193, 199, 0.9);
  border-radius: 50%;
  font-size: 22px;
  font-weight: 500;
  line-height: 1;
}

.google-map-caption-close:hover {
  color: #fff;
  background: #d92228;
  border-color: #d92228;
}

.map-card.google-map-card,
.bayut-map-card.google-map-card,
.motor-map-card.google-map-card {
  display: block;
  place-items: initial;
  text-align: initial;
}

.map-card.google-map-card {
  min-height: 280px;
  font-weight: 400;
}

.bayut-map-card.google-map-card {
  min-height: 220px;
  color: var(--bayut-green-dark);
  background: #edf2f0;
}

.motor-map-card.google-map-card {
  min-height: 300px;
  color: #172023;
  background: #edf2f0;
}

.motor-map-card.google-map-card span {
  width: auto;
  height: auto;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  transform: none;
}

@media (max-width: 680px) {
  .google-map-caption {
    grid-template-columns: 1fr 32px;
    align-items: stretch;
  }

  .google-map-caption > div:first-child {
    grid-column: 1 / 2;
  }

  .google-map-actions {
    grid-column: 1 / -1;
    justify-content: stretch;
  }

  .google-map-caption-close {
    grid-column: 2;
    grid-row: 1;
    align-self: start;
  }

  .google-map-actions a {
    flex: 1;
    min-width: 0;
  }
}

.motor-package-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  width: min(1080px, 100%);
  margin: 34px auto 16px;
}

.motor-package-card {
  position: relative;
  display: grid;
  gap: 16px;
  min-height: 520px;
  padding: 28px;
  background: #fff;
  border: 1px solid #dfe4e7;
  border-radius: 12px;
}

.motor-package-card.is-selected {
  background: #fff4f4;
  border-color: #ffb7b3;
}

.motor-package-card h3 {
  margin: 0;
  font-size: 32px;
}

.motor-package-card > strong {
  color: #d9251d;
  font-size: 28px;
}

.motor-package-card p {
  display: flex;
  gap: 8px;
  align-items: start;
  margin: 0;
  color: #4d565d;
  line-height: 1.75;
  font-weight: 500;
}

.motor-package-card p span {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  color: #fff;
  background: #c6c9cc;
  border-radius: 999px;
  font-size: 12px;
}

.motor-package-card button {
  align-self: end;
  min-height: 58px;
  color: #fff;
  background: #d9251d;
  border: 0;
  border-radius: 8px;
  font-size: 20px;
  font-weight: 500;
}

.motor-package-card.is-selected button {
  background: #050505;
}

.motor-recommended {
  position: absolute;
  top: 22px;
  left: 22px;
  padding: 8px 18px;
  color: #fff;
  background: #050505;
  border-radius: 999px;
  font-weight: 500;
}

.motor-tax-note {
  width: min(1080px, 100%);
  margin: 0 auto;
  color: #8a9298;
  text-align: center;
  font-weight: 500;
}

.motor-payment-layout {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 48px;
  width: min(980px, 100%);
  margin: 44px auto 0;
  align-items: start;
}

.motor-order-card {
  display: grid;
  gap: 16px;
  padding: 24px;
}

.motor-order-card h3,
.motor-payment-main h3 {
  margin: 0;
  font-size: 28px;
}

.motor-order-card div,
.motor-order-card strong {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 0;
}

.motor-order-card strong {
  border-top: 1px solid #e4e8ea;
  font-size: 18px;
}

.motor-order-card label {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 86px;
  gap: 10px;
}

.motor-order-card input {
  min-height: 48px;
  padding: 0 12px;
  border: 1px solid #d8dee2;
  border-radius: 8px;
}

.motor-order-card label button,
.motor-order-card > button {
  min-height: 48px;
  color: #fff;
  background: #d9251d;
  border: 0;
  border-radius: 8px;
  font-weight: 500;
}

.motor-payment-main {
  display: grid;
  gap: 18px;
}

.motor-preview-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 98px;
  gap: 16px;
  padding: 18px;
}

.motor-preview-card div {
  display: grid;
  gap: 6px;
}

.motor-preview-card strong {
  font-size: 20px;
}

.motor-preview-card small {
  color: #626b72;
}

.motor-preview-thumb {
  height: 80px;
  background:
    linear-gradient(145deg, #111827, #4b5563 70%),
    #f2f4f5;
  border-radius: 8px;
}

.motor-upgrade-card {
  display: grid;
  gap: 14px;
  padding: 18px;
  border-color: #619aff;
  background: #f6fbff;
}

.motor-upgrade-card label {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 8px 12px;
  padding: 16px;
  background: #fff;
  border: 1px solid #dbe2e6;
  border-radius: 8px;
}

.motor-upgrade-card small {
  grid-column: 2 / -1;
  color: #5f686f;
  line-height: 1.7;
}

.motor-addons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 18px;
}

.motor-addons h3 {
  grid-column: 1 / -1;
}

.motor-addons button {
  display: flex;
  justify-content: space-between;
  min-height: 48px;
  padding: 0 14px;
  color: #363d43;
  background: #fff;
  border: 1px solid #dfe4e7;
  border-radius: 8px;
  font-weight: 500;
}

.motor-addons b {
  color: #d9251d;
}

.motor-card-backdrop {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(0, 0, 0, 0.76);
}

.motor-card-modal {
  position: relative;
  display: grid;
  gap: 18px;
  width: min(460px, 100%);
  padding: 24px 28px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
}

.motor-card-modal > button:first-child {
  position: absolute;
  inset-inline-start: 16px;
  top: 12px;
  color: #b4b9bd;
  background: transparent;
  border: 0;
  font-size: 36px;
}

.motor-card-modal .motor-wizard-logo {
  justify-content: center;
  font-size: 26px;
}

.motor-card-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.motor-save-card {
  display: flex !important;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
}

.motor-save-card input {
  width: 18px;
  min-height: 18px;
}

.dubizzle-home-section {
  grid-column: 1 / -1;
  display: grid;
  gap: 28px;
  margin-top: 22px;
  padding: 18px 0 0;
}

.dubizzle-promo-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.dubizzle-promo-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  gap: 18px;
  align-items: center;
  min-height: 132px;
  padding: 22px 26px;
  overflow: hidden;
  background: #f8eeee;
  border: 1px solid #f1d4d1;
  border-radius: 8px;
}

.dubizzle-promo-card.is-agents {
  background: #eef7fb;
  border-color: #d8e9f0;
}

.dubizzle-promo-card h3,
.dubizzle-promo-card p,
.dubizzle-home-section h2 {
  margin: 0;
}

.dubizzle-promo-card h3 {
  font-size: 24px;
  font-weight: 500;
}

.dubizzle-promo-card p {
  color: #4d565d;
  line-height: 1.7;
}

.dubizzle-promo-card button,
.dubizzle-verify-strip button {
  min-height: 50px;
  color: #1f2933;
  background: #fff;
  border: 0;
  border-radius: 8px;
  font-weight: 500;
}

.dubizzle-home-section h2 {
  font-size: clamp(28px, 4vw, 42px);
  text-align: center;
  font-weight: 500;
}

.dubizzle-popular-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 44px;
}

.dubizzle-popular-grid article {
  display: grid;
  gap: 8px;
  align-content: start;
  text-align: center;
}

.dubizzle-popular-grid h3 {
  margin: 0 0 4px;
  font-size: 20px;
  font-weight: 500;
}

.dubizzle-popular-grid button {
  min-height: 30px;
  color: #2d343a;
  background: transparent;
  border: 0;
  font-weight: 500;
}

.dubizzle-popular-grid .more-link {
  color: #d9251d;
}

.dubizzle-verify-strip {
  display: grid;
  grid-template-columns: 150px auto minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  min-height: 86px;
  padding: 18px 24px;
  color: #fff;
  background: linear-gradient(90deg, #71a8ee, #4f86de);
  border-radius: 8px;
}

.dubizzle-verify-strip strong {
  font-size: 24px;
}

.dubizzle-verify-strip span {
  font-size: 20px;
  opacity: 0.92;
}

.dubizzle-rental-section {
  display: grid;
  gap: 18px;
}

.dubizzle-rental-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.dubizzle-rental-card {
  display: grid;
  gap: 8px;
  min-height: 100%;
  padding: 0 0 16px;
  overflow: hidden;
  text-align: start;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(21, 28, 36, 0.06);
}

.dubizzle-rental-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.dubizzle-rental-card strong,
.dubizzle-rental-card span,
.dubizzle-rental-card small {
  padding-inline: 14px;
}

.dubizzle-rental-card strong {
  color: #20262b;
  font-size: 18px;
  font-weight: 500;
}

.dubizzle-rental-card span {
  color: #d9251d;
  font-weight: 500;
}

.dubizzle-rental-card small {
  color: #65717a;
  line-height: 1.6;
}

.desktop-action-nav,
.top-location-pill {
  display: none;
}

@media (min-width: 681px) {
  .trust-banner {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr) 132px;
    align-items: center;
    min-height: 42px;
    padding-inline: max(28px, calc((100vw - 1420px) / 2 + 28px));
    color: #fff;
    background: linear-gradient(90deg, #356fc9, #4d8ef2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.24);
    box-shadow: none;
    direction: rtl;
  }

  .trust-banner > button:first-child {
    display: none;
  }

  .trust-check {
    grid-column: 1;
    order: initial;
    width: 26px;
    height: 26px;
    color: #3c79da;
    background: #fff;
    border-radius: 50%;
    font-size: 17px;
    box-shadow: 0 6px 14px rgba(30, 80, 150, 0.16);
  }

  .trust-banner p {
    grid-column: 2;
    order: initial;
    margin: 0;
    text-align: center;
    color: #fff;
    font-size: clamp(14px, 1.15vw, 17px);
    font-weight: 500;
    line-height: 1.4;
  }

  .trust-action {
    grid-column: 3;
    justify-self: start;
    order: initial;
    min-width: 124px;
    min-height: 32px;
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(255, 255, 255, 0.72);
    border-radius: 7px;
    font-size: 13px;
    font-weight: 500;
  }

  .topbar {
    display: grid;
    grid-template-areas:
      "brand city actions controls"
      "categories categories categories categories";
    grid-template-columns: minmax(170px, auto) auto minmax(370px, 1fr) auto;
    gap: 0 14px;
    align-items: stretch;
    min-height: 104px;
    padding: 0 max(24px, calc((100vw - 1420px) / 2 + 24px));
    background: #fff;
    border-bottom: 1px solid #e4e7e9;
    box-shadow: 0 3px 14px rgba(20, 30, 39, 0.06);
    backdrop-filter: none;
  }

  .brand {
    grid-area: brand;
    align-self: center;
    min-height: 58px;
    padding-inline: 0 12px;
  }

  .brand-logo {
    width: 34px;
    height: 34px;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 9px 20px rgba(19, 25, 28, 0.14);
  }

  .brand span {
    display: inline;
    max-width: 130px;
    font-size: 16px;
  }

  .top-location-pill {
    grid-area: city;
    align-self: center;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-height: 36px;
    padding: 0 8px;
    color: #30373c;
    background: #fff;
    border: 1px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
  }

  .top-location-pill:hover,
  .top-location-pill:focus-within {
    background: #f7f9fb;
    border-color: #dfe5e8;
    box-shadow: 0 8px 18px rgba(24, 33, 41, 0.06);
  }

  .top-location-pill select {
    min-width: 104px;
    color: inherit;
    background: transparent;
    border: 0;
    outline: 0;
    appearance: none;
    font: inherit;
    font-weight: 500;
    cursor: pointer;
    text-align: right;
  }

  .top-location-pill svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
    pointer-events: none;
    transition: transform 160ms ease;
  }

  .top-location-pill:hover svg,
  .top-location-pill:focus-within svg {
    transform: rotate(180deg);
  }

  .desktop-action-nav {
    grid-area: actions;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(10px, 1.55vw, 24px);
    min-height: 58px;
  }

  .desktop-action-nav button {
    display: grid;
    place-items: center;
    gap: 4px;
    min-width: 64px;
    padding: 0;
    color: #3f474e;
    background: transparent;
    border: 0;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
  }

  .desktop-action-nav svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
  }

  .desktop-action-nav button:hover {
    color: #d7251e;
  }

  .top-actions {
    grid-area: controls;
    align-self: center;
    justify-content: flex-start;
    min-height: 58px;
    gap: 12px;
  }

  .top-actions .desktop-back-button,
  .top-actions .theme-toggle,
  .web3-button,
  .register-top {
    display: none !important;
  }

  .top-language-switch {
    display: inline-flex !important;
  }

  .topbar .top-user-name {
    color: #24292d;
    gap: 8px;
    max-width: 230px;
    padding: 4px 8px;
    background: #fff;
    border: 1px solid #e0e6ea;
    border-radius: 999px;
    box-shadow: 0 6px 16px rgba(24, 33, 41, 0.06);
  }

  .topbar .user-chip-copy {
    min-width: 0;
  }

  .user-verify-chip {
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
    width: 24px;
    height: 24px;
    color: #737d84;
    background: #f4f6f7;
    border: 1px solid #d9dee2;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    line-height: 1;
  }

  .user-verify-chip.is-verified {
    color: #fff;
    background: #2f80ed;
    border-color: #2f80ed;
    box-shadow: 0 7px 14px rgba(47, 128, 237, 0.22);
  }

  #openLogin {
    min-height: 36px;
    padding: 0;
    color: #30373c;
    background: transparent;
    border: 0;
    box-shadow: none;
    font-size: 14px;
    font-weight: 500;
  }

  #openPost {
    min-width: 118px;
    min-height: 42px;
    padding-inline: 14px;
    color: #fff;
    background: linear-gradient(180deg, #df3a35, #c82622);
    border: 0;
    border-radius: 8px;
    box-shadow: 0 10px 22px rgba(200, 38, 34, 0.18);
    font-size: 14px;
    font-weight: 500;
  }

  .main-nav {
    grid-area: categories;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 46px;
    gap: 14px;
    padding: 0;
    border-top: 1px solid #eceff1;
  }

  .main-nav .nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 0 8px;
    color: #262b30;
    background: transparent;
    border-radius: 0;
    font-size: 15px;
    font-weight: 500;
  }

  .main-nav .nav-link[data-route="saved"],
  .main-nav .nav-link[data-route="messages"],
  .main-nav .nav-link[data-route="tickets"],
  .main-nav .nav-link[data-route="account"] {
    display: none !important;
  }

  .main-nav .nav-link[data-route="motors"]::before,
  .main-nav .nav-link[data-route="property"]::before {
    content: none;
    display: none;
  }

  .main-nav .nav-link.is-active,
  .main-nav .nav-link:hover {
    color: #d7251e;
    background: transparent;
    box-shadow: inset 0 -3px 0 #d7251e;
  }
}

@media (max-width: 760px) {
  .numbers-choice-grid {
    grid-template-columns: 1fr;
  }

  .numbers-choice {
    min-height: auto;
  }

  .plate-emirate-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .operator-split-filter {
    min-height: 116px;
  }

  .operator-logo-filter {
    min-height: 116px;
  }
}

html[lang="ar"],
html[lang="ar"] body,
html[lang="ar"] button,
html[lang="ar"] input,
html[lang="ar"] select,
html[lang="ar"] textarea {
  font-family: var(--font-arabic);
}

.mobile-token-banner {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 20px;
  box-shadow: 0 18px 44px rgba(24, 34, 45, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(18px);
}

.mobile-token-art span {
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 26px rgba(24, 34, 45, 0.14), inset 8px 0 0 rgba(255, 255, 255, 0.2);
}

.mobile-token-banner h2 {
  color: #18222d;
}

.mobile-token-banner > button {
  color: #18222d;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(24, 34, 45, 0.12);
  box-shadow: 0 12px 26px rgba(24, 34, 45, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.token-inner {
  color: #18222d;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.82);
  box-shadow: 0 26px 70px rgba(24, 34, 45, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(22px);
}

.token-symbol {
  color: #18222d;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 38px rgba(24, 34, 45, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.token-main p:not(.eyebrow),
.token-purchase label span,
.token-estimate span,
.token-status span,
.token-metrics span,
.token-legal-check {
  color: #5b6470;
}

.token-actions .post-button,
.token-actions .ghost-button,
.token-purchase,
.token-estimate,
.token-legal-check,
.token-status,
.token-metrics div {
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.74);
  box-shadow: 0 12px 28px rgba(24, 34, 45, 0.08);
}

.token-actions .post-button,
.token-actions .ghost-button {
  color: #18222d;
}

.token-purchase input,
.token-purchase select {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(24, 34, 45, 0.08);
}

.token-estimate strong,
.token-status strong,
.token-metrics strong {
  color: #18222d;
}

@media (max-width: 760px) {
  .post-type-grid,
  .motor-package-grid,
  .motor-payment-layout,
  .motor-form-layout {
    grid-template-columns: 1fr;
  }

  .post-type-dialog,
  .motor-wizard-dialog {
    width: 100vw;
    max-height: 100vh;
    border-radius: 0;
  }

  .motor-wizard-page {
    min-height: 100vh;
    padding: 0 14px 24px;
  }

  .motor-form-card,
  .motor-ad-summary,
  .motor-order-card,
  .motor-upgrade-card,
  .motor-addons {
    padding: 16px;
  }

  .motor-ad-summary {
    position: static;
    order: -1;
  }

  .motor-subcategory-list {
    margin-top: 18px;
  }

  .motor-subcategory-list button {
    grid-template-columns: 44px minmax(0, 1fr) auto;
  }

  .motor-package-card {
    min-height: 0;
  }

  .motor-addons,
  .motor-card-row {
    grid-template-columns: 1fr;
  }

  .dubizzle-promo-row,
  .dubizzle-popular-grid,
  .dubizzle-verify-strip,
  .dubizzle-rental-grid {
    grid-template-columns: 1fr;
  }

  .dubizzle-promo-card {
    grid-template-columns: 1fr;
  }
}
