/* DODO Booking — theme */
:root {
  --pink: #fe00a1;
  --pink-dark: #c30075;
  --pink-soft: #ffeaf4;
  --ink: #1a1819;
  --text: #1a1819;
  --muted: #5d5470;
  --faint: #8b83a0;
  --border: #e9e3f2;
  --soft: #faf6fd;
  --band: #f5f5f4;
  --footer: #f5f2fa;
  --dark: #1a1819;
  --dark-2: #221c2c;
  --sell: #0186d8;
  --rent: #db9305;
  --green: #25d366;
  --red: #db3d26;
  --premium: #f9edd7;
  --radius: 14px;
  --shadow: 0 6px 20px rgba(90, 18, 60, .1);
  --header-h: 64px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "Manrope", system-ui, sans-serif; color: var(--ink); background: #fff; font-size: 13px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { margin: 0 0 .4em; line-height: 1.2; font-weight: 800; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
.container { width: min(1240px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }
.pink { color: var(--pink); }
.hidden { display: none !important; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 20px; border-radius: 10px; border: 1px solid transparent; font-weight: 700; cursor: pointer; transition: .15s; white-space: nowrap; font-size: 13px; background: none; }
.btn-primary { background: var(--pink); color: #fff; }
.btn-primary:hover { background: var(--pink-dark); }
.btn-outline { border-color: var(--pink); color: var(--pink); background: #fff; }
.btn-outline:hover { background: var(--pink-soft); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-light { background: var(--soft); color: var(--ink); border-color: var(--border); }
.btn-light:hover { background: var(--border); }
.btn-danger { background: #fff; color: var(--red); border-color: #f2c6bf; }
.btn-danger:hover { background: #fdecea; }
.btn-success { background: #16a34a; color: #fff; }
.btn-sm { padding: 7px 12px; font-size: 13px; border-radius: 8px; }
.btn-block { width: 100%; }
.link { color: var(--pink); font-weight: 700; font-size: 13px; }
.link:hover { text-decoration: underline; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.site-header .container { width: min(1440px, 100% - 32px); }
.header-row { display: flex; align-items: center; gap: 12px; height: var(--header-h); white-space: nowrap; }
.header-row .logo { flex: none; }
.logo img { height: 40px; width: auto; }
.city-pill { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--border); border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 600; position: relative; cursor: pointer; background: #fff; }
.city-pill svg { color: var(--pink); }
.main-nav { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.main-nav > .nav-item { position: relative; }
.main-nav > .nav-item > a { display: flex; align-items: center; gap: 3px; padding: 8px 7px; font-size: 13px; font-weight: 600; color: var(--muted); border-radius: 8px; }
.main-nav > .nav-item > a:hover, .main-nav > .nav-item > a.active { color: var(--pink); }
.dropdown { position: absolute; top: 100%; left: 0; min-width: 230px; background: #fff; border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow); padding: 8px; display: none; z-index: 60; max-height: calc(100vh - var(--header-h) - 8px); overflow-y: auto; }
.nav-item.open .dropdown, .nav-item:hover .dropdown, .city-pill:hover .dropdown, .city-pill:focus-within .dropdown { display: block; }
.dropdown a, .dropdown button { display: block; width: 100%; text-align: left; padding: 9px 12px; border-radius: 8px; font-size: 13px; font-weight: 500; border: 0; background: none; cursor: pointer; }
.dropdown a:hover, .dropdown button:hover { background: var(--pink-soft); color: var(--pink); }
.dropdown h6 { margin: 8px 12px 4px; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.header-actions { display: flex; align-items: center; gap: 8px; flex: none; }
.list-btn { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 13px; color: var(--pink); padding: 7px 12px; border-radius: 10px; border: 1px solid var(--pink); }
.list-btn .plus { width: 20px; height: 20px; border: 1.5px solid var(--pink); border-radius: 6px; display: grid; place-items: center; font-size: 13px; line-height: 1; }
.list-btn:hover { background: var(--pink-soft); }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border); display: grid; place-items: center; background: #fff; cursor: pointer; position: relative; }
.icon-btn:hover { border-color: var(--pink); color: var(--pink); }
.signin { color: var(--pink); font-weight: 700; font-size: 13px; }
.avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--pink); color: #fff; display: grid; place-items: center; font-weight: 800; object-fit: cover; }
.user-menu { position: relative; }
.user-menu .dropdown { left: auto; right: 0; }
.user-menu:hover .dropdown, .user-menu:focus-within .dropdown { display: block; }
.badge-dot { position: absolute; top: -4px; right: -4px; background: var(--pink); color: #fff; font-size: 10px; border-radius: 999px; padding: 1px 5px; font-weight: 800; }

/* side drawer */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 90; opacity: 0; pointer-events: none; transition: .2s; }
.drawer { position: fixed; top: 0; right: 0; width: min(440px, 92vw); height: 100%; background: #fff; z-index: 100; transform: translateX(100%); visibility: hidden; transition: transform .25s, visibility .25s; overflow-y: auto; }
body.drawer-open .drawer { transform: none; visibility: visible; }
body.drawer-open .drawer-backdrop { opacity: 1; pointer-events: auto; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; border-bottom: 1px solid var(--border); }
.drawer-title { color: var(--pink); font-weight: 700; font-size: 14.5px; }
.drawer-close { border: 0; background: none; cursor: pointer; color: var(--ink); display: grid; place-items: center; padding: 4px; }
.drawer-promo { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 22px 22px 0; padding: 18px; border: 1px solid #ffd9ec; border-radius: 14px; background: linear-gradient(#ffe3f1, #ffe3f1); }
.drawer-promo b { display: block; font-size: 13px; line-height: 1.25; }
.drawer-promo small { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; }
.drawer-promo .btn { flex: none; padding: 10px 16px; font-size: 13px; border-radius: 9px; }
.drawer-label { padding: 22px 22px 8px; font-weight: 700; font-size: 13px; }
.drawer-list > a, .drawer-list summary { display: flex; align-items: center; gap: 8px; padding: 14px 22px; font-size: 13px; font-weight: 500; color: var(--ink); border-bottom: 1px solid var(--border); cursor: pointer; }
.drawer-list > a:hover, .drawer-list summary:hover { background: var(--soft); color: var(--pink); }
.drawer-list summary { list-style: none; }
.drawer-list summary::-webkit-details-marker { display: none; }
.drawer-list summary::before { content: "›"; color: var(--muted); font-size: 13.5px; line-height: 1; transition: transform .15s; }
.drawer-list details[open] summary::before { transform: rotate(90deg); }
.drawer-list details > a { display: block; padding: 10px 22px 10px 40px; font-size: 13px; color: var(--muted); background: var(--soft); border-bottom: 1px solid var(--border); }
.drawer-list details > a:hover { color: var(--pink); }
.drawer-apps { padding: 18px 22px; border-bottom: 1px solid var(--border); }
.drawer-label-sm { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); margin-bottom: 10px; }
.drawer-store { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.store-dark { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 8px 10px; border-radius: 8px; background: var(--dark-2); color: #fff; }
.store-dark small { display: block; font-size: 9px; opacity: .8; line-height: 1.1; }
.store-dark b { font-size: 13px; line-height: 1.1; }
.drawer-contact { padding: 14px 22px 26px; font-size: 13px; color: var(--muted); display: grid; gap: 4px; }
.drawer-contact b { color: var(--ink); }
.user-chip { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ink); cursor: pointer; }

/* login and registration popups */
.auth-overlay { position: fixed; inset: 0; z-index: 200; display: none; place-items: center; padding: 12px; background: rgba(14,12,18,.55); overflow-y: auto; }
.auth-overlay.on { display: grid; }
.auth-box { width: min(560px, 100%); background: #fff; border-radius: 16px; box-shadow: 0 22px 60px rgba(14,12,18,.22); }
.auth-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 26px; border-bottom: 1px solid var(--border); }
.auth-head h2 { margin: 0; font-size: 20px; font-weight: 700; }
.auth-close { width: 38px; height: 38px; display: grid; place-items: center; border: 0; border-radius: 8px; background: var(--band); color: var(--ink); cursor: pointer; }
.auth-close:hover { background: var(--border); }
.auth-body { padding: 16px 18px 14px; display: grid; gap: 12px; }
.auth-body h3 { margin: 4px 0 0; font-size: 18.5px; font-weight: 600; }
.auth-body h4 { margin: 8px 0 0; font-size: 13.5px; font-weight: 700; }
.auth-sub { margin: -8px 0 0; font-size: 13px; color: var(--muted); }
.auth-tagline { text-align: center; font-size: 18.5px; font-weight: 700; }
.auth-tagline span { background: linear-gradient(var(--pink), var(--pink)); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: auth-shine 3.5s linear infinite; }
.auth-tagline small { display: block; margin-top: 2px; font-size: 13px; font-weight: 400; color: var(--muted); }
@keyframes auth-shine { from { background-position: 120% 0; } to { background-position: -100% 0; } }
.auth-field { display: grid; gap: 6px; }
.auth-field label { font-size: 13px; font-weight: 500; }
.auth-field em { color: var(--red); font-style: normal; }
.auth-field > input, .auth-phone, .auth-password { width: 100%; height: 48px; border: 1px solid transparent; border-radius: 6px; background: #f4f4f4; font-size: 13px; }
.auth-field > input { padding: 0 14px; outline: 0; }
.auth-field > input:focus, .auth-phone:focus-within, .auth-password:focus-within { border-color: var(--pink); box-shadow: 0 0 0 2px var(--pink-soft); }
.auth-phone, .auth-password { display: flex; align-items: center; overflow: hidden; }
.auth-phone input, .auth-password input { flex: 1; min-width: 0; height: 100%; padding: 0 14px; border: 0; outline: 0; background: none; font-size: 13px; }
.auth-phone input { padding-left: 8px; font-size: 15px; }
.auth-flag { display: grid; place-items: center; padding: 0 8px 0 12px; height: 100%; border-right: 1px solid var(--border); }
.auth-cc { padding-left: 12px; font-size: 15px; }
.auth-password button { width: 44px; height: 100%; display: grid; place-items: center; border: 0; background: none; color: var(--ink); cursor: pointer; }
.auth-primary { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 48px; border: 0; border-radius: 6px; background: var(--pink); color: #fff; font-size: 13px; font-weight: 500; cursor: pointer; }
.auth-primary:hover { background: #e6008f; }
.auth-primary.is-loading { opacity: .8; cursor: wait; }
.auth-primary.is-loading::before { content: ""; width: 16px; height: 16px; border: 2px solid rgba(255,255,255,.5); border-top-color: #fff; border-radius: 50%; animation: clip-spin .8s linear infinite; }
.auth-outline { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 50px; border: 1px solid var(--ink); border-radius: 8px; background: #fff; color: var(--ink); font-size: 13px; cursor: pointer; transition: transform .1s; }
.auth-outline:hover { transform: scale(.985); background: var(--soft); }
.auth-switch { margin: 0; text-align: center; font-size: 13px; color: var(--muted); }
.auth-switch a { color: var(--pink); font-weight: 700; }
.auth-switch a b { color: var(--ink); }
.auth-or { position: relative; text-align: center; border-top: 1px dashed var(--border); margin: 14px 0 6px; }
.auth-or span { position: relative; top: -14px; display: inline-grid; place-items: center; width: 34px; height: 28px; border-radius: 50%; background: var(--band); font-size: 12px; color: var(--muted); }
.auth-terms { padding: 12px 18px 14px; border-top: 1px solid var(--border); text-align: center; font-size: 13px; }
.auth-terms a { color: var(--pink); }
.auth-target { color: var(--pink); font-weight: 500; }
.auth-wrong { margin: -8px 0 0; font-size: 13px; }
.auth-otp { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; max-width: 320px; margin-left: auto; margin-right: auto; margin-top: 6px; }
.auth-otp input { width: 100%; height: 66px; min-width: 0; text-align: center; font-size: 13.5px; border: 1px solid var(--border); border-radius: 8px; background: #f4f4f4; outline: 0; }
.auth-otp input:focus { border-color: var(--pink); background: #fff; }
.auth-resend { margin: 6px 0; text-align: center; font-size: 13px; font-weight: 500; }
.auth-resend b { color: var(--pink); font-weight: 500; }
.auth-resend a { color: var(--pink); font-weight: 700; }
.auth-testcode { margin: 0; padding: 8px 12px; border-radius: 6px; background: #fdf6e8; border: 1px solid #f4e6c8; color: #92590a; font-size: 13px; text-align: center; }
.auth-toast { position: fixed; top: 18px; left: 50%; transform: translateX(-50%); z-index: 300; display: flex; align-items: center; gap: 10px; max-width: calc(100vw - 32px); padding: 12px 18px; border-radius: 8px; background: #fff; color: var(--text); font-size: 13px; box-shadow: 0 6px 24px rgba(14,12,18,.22); }
.auth-toast[hidden] { display: none; }
.auth-toast-ic { flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; color: #fff; font-size: 13px; font-weight: 800; }
.auth-toast.is-ok .auth-toast-ic { background: #22b14c; }
.auth-toast.is-err .auth-toast-ic { background: var(--red); }
.auth-toast.is-loading .auth-toast-ic { width: 16px; height: 16px; border: 2px solid var(--border); border-top-color: var(--muted); animation: clip-spin .8s linear infinite; }
.auth-toast.is-auto { animation: auth-toast-out .3s ease 3.5s forwards; }
@keyframes auth-toast-out { to { opacity: 0; visibility: hidden; } }
@media (max-width: 520px) {
  .auth-head { padding: 12px 16px; }
  .auth-head h2 { font-size: 16.5px; }
  .auth-tagline { font-size: 15px; }
  .auth-otp { gap: 6px; }
  .auth-otp input { height: 52px; }
  .drawer-promo { flex-direction: column; align-items: flex-start; }
  .user-chip-name { display: none; }
}

/* ---------- flash ---------- */
.flash { padding: 12px 16px; border-radius: 10px; margin: 16px auto; font-weight: 600; font-size: 13px; }
.flash.success { background: #e8f8ee; color: #136c34; border: 1px solid #bfe9cf; }
.flash.error { background: #fdecea; color: #9b2316; border: 1px solid #f6c8c1; }

/* ---------- hero ---------- */
.hero { background: linear-gradient(transparent, transparent), linear-gradient(transparent, transparent), var(--dark); color: #fff; padding: 64px 0 120px; position: relative; overflow: hidden; }
.hero h1 { font-size: clamp(28.5px, 4.19vw, 48.5px); font-weight: 800; letter-spacing: -.02em; }
.hero h1 span { color: var(--pink); }
.hero .lead { color: rgba(255,255,255,.72); font-size: 14.5px; max-width: 520px; }
.hero-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; }
.hero-stats { display: flex; gap: 14px; margin-top: 26px; flex-wrap: wrap; }
.hero-stat { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 14px; padding: 14px 18px; min-width: 110px; }
.hero-stat b { display: block; font-size: 22px; }
.hero-stat span { color: rgba(255,255,255,.6); font-size: 13px; }
.hero-art { position: relative; height: 340px; }
.hero-art img { position: absolute; border-radius: 20px; object-fit: cover; box-shadow: 0 30px 60px rgba(0,0,0,.4); }
.hero-art img:nth-child(1) { width: 70%; height: 80%; right: 0; top: 0; }
.hero-art img:nth-child(2) { width: 48%; height: 55%; left: 0; bottom: 0; border: 4px solid var(--dark); }

.search-card { background: #fff; color: var(--ink); border-radius: 18px; box-shadow: 0 26px 64px rgba(14,12,18,.22); margin-top: -80px; position: relative; z-index: 5; }
.search-tabs { display: flex; gap: 6px; padding: 0 20px; border-bottom: 1px solid var(--border); overflow-x: auto; scrollbar-width: none; }
.search-tabs button, .search-tabs a { padding: 16px 16px 14px; border: 0; background: none; cursor: pointer; font-weight: 600; color: var(--muted); border-bottom: 3px solid transparent; white-space: nowrap; font-size: 13px; }
.search-tabs .active { color: var(--ink); border-bottom-color: var(--pink); }
.search-tabs .post { margin-left: auto; border-left: 1px solid var(--border); }
.search-row { display: flex; align-items: center; gap: 0; padding: 12px; flex-wrap: wrap; }
.search-row .field { display: flex; align-items: center; gap: 8px; padding: 0 12px; border-right: 1px solid var(--border); height: 46px; color: var(--muted); }
.search-row select, .search-row input { border: 0; outline: 0; background: none; height: 100%; font-size: 13px; color: var(--ink); }
.search-row .grow { flex: 1; min-width: 200px; border-right: 0; }
.search-row .grow input { width: 100%; }
.circle-btn { width: 44px; height: 44px; border-radius: 50%; background: var(--pink-soft); color: var(--pink); display: grid; place-items: center; border: 0; cursor: pointer; margin-right: 8px; }
.budget-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; padding: 14px 0 4px; }
.budget-row .label { font-size: 12px; font-weight: 800; letter-spacing: .08em; color: var(--muted); margin-right: 6px; }
.chip { padding: 7px 14px; border: 1px solid var(--border); border-radius: 999px; font-size: 13px; font-weight: 600; background: #fff; cursor: pointer; }
.chip:hover, .chip.active { border-color: var(--pink); color: var(--pink); background: var(--pink-soft); }

/* ---------- sections ---------- */
.section { padding: 56px 0; }
.section.soft { background: #fff; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 24px; }
.section-head h2 { font-size: clamp(18.5px, 2.18vw, 25px); max-width: 820px; }
.section-head p { margin: 0; color: var(--muted); }
.eyebrow { font-size: 12px; letter-spacing: .12em; font-weight: 800; color: var(--pink); text-transform: uppercase; }

/* carousel */
.carousel { position: relative; }
.track { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 6px; }
.track::-webkit-scrollbar { display: none; }
.track > * { scroll-snap-align: start; flex: 0 0 auto; }
.car-btn { position: absolute; top: 40%; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border); background: #fff; box-shadow: var(--shadow); cursor: pointer; z-index: 3; font-size: 16.5px; display: grid; place-items: center; }
.car-btn.prev { left: -14px; } .car-btn.next { right: -14px; }

/* property card */
.grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); }
.card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: .2s; display: flex; flex-direction: column; position: relative; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.track .card { width: 300px; }
.card-media { position: relative; aspect-ratio: 4/3; background: #f1f0f0; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: .4s; }
.card:hover .card-media img { transform: scale(1.04); }
.tag { position: absolute; top: 12px; left: 12px; background: var(--pink); color: #fff; font-size: 10px; font-weight: 800; letter-spacing: .06em; padding: 4px 10px; border-radius: 999px; text-transform: uppercase; }
.tag.rent { background: var(--rent); } .tag.upcoming { background: #1F1C1D; }
.tag.right { left: auto; right: 12px; background: rgba(0,0,0,.55); }
.fav-btn { position: absolute; top: 10px; right: 10px; width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(24,20,30,.5); display: grid; place-items: center; cursor: pointer; color: #fff; z-index: 2; }
.fav-btn.on { color: var(--pink); background: #fff; }
.fav-btn.on svg, .fav-inline.on svg { fill: var(--pink); }
.fav-inline.on { color: var(--pink); }
.card-media .overlay { position: absolute; inset: auto 0 0 0; padding: 30px 12px 10px; background: linear-gradient(0deg, rgba(26, 24, 25,.94), rgba(26, 24, 25,.78) 46%, rgba(26, 24, 25,.28)); color: #fff; font-size: 12px; display: flex; gap: 8px; flex-wrap: wrap; }
.overlay .pill { background: rgba(255,255,255,.18); padding: 2px 8px; border-radius: 999px; }
.card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.price { font-size: 16.5px; font-weight: 800; color: var(--pink); }
.price small { font-size: 12px; color: var(--faint); font-weight: 600; margin-left: 6px; }
.card-title { font-weight: 700; font-size: 13.5px; }
.loc { color: var(--faint); font-size: 13px; display: flex; gap: 4px; align-items: center; }
.specs { display: flex; gap: 0; margin: 10px 0; border: 1px solid var(--border); border-radius: 10px; }
.specs div { flex: 1; text-align: center; padding: 6px 4px; border-right: 1px solid var(--border); }
.specs div:last-child { border-right: 0; }
.specs small { display: block; font-size: 10px; letter-spacing: .08em; color: var(--faint); font-weight: 700; }
.specs b { font-size: 13px; }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 10px; border-top: 1px solid var(--border); font-size: 13px; }
.card-foot .link { border: 1px solid var(--pink); border-radius: 7px; padding: 6px 12px; }
.card-foot .link:hover { text-decoration: none; background: var(--pink-soft); }
.agent { display: flex; align-items: center; gap: 6px; font-weight: 600; color: var(--muted); }
.verified { display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: var(--pink); color: #fff; font-size: 10px; font-weight: 900; }
.cat-pill { font-size: 11px; color: var(--faint); font-weight: 700; }

/* premium mosaic (dark cards) */
.mosaic { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-auto-rows: 240px; gap: 16px; }
.mosaic a { position: relative; border-radius: 16px; overflow: hidden; background: var(--dark); color: #fff; }
.mosaic a:first-child { grid-row: span 2; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: .4s; }
.mosaic a:hover img { transform: scale(1.04); }
.mosaic .info { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 16px 16px 14px; background: linear-gradient(0deg, rgba(26, 24, 25,.94), rgba(26, 24, 25,.72) 32%, rgba(26, 24, 25,.12) 68%, rgba(26, 24, 25,0)); }
.mosaic .info b { font-size: 18.5px; display: block; }
.mosaic .info .t { font-weight: 700; }
.mosaic .info small { opacity: .75; }

/* categories */
.cats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.cat-card { border-radius: 16px; padding: 30px 20px; text-align: center; border: 1px solid var(--border); transition: .2s; }
.cat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.cat-card .ic { width: 56px; height: 56px; border-radius: 14px; background: #fff; display: grid; place-items: center; margin: 0 auto 12px; color: var(--ink); }
.cat-card b { display: block; }
.cat-card small { color: var(--faint); }
.cat-0 { background: #fdf0f8; border-color: #f8d9ec; } .cat-1 { background: #f1f0fe; border-color: #ddd9fb; } .cat-2 { background: #e9f8f6; border-color: #c9ece7; }
.cat-3 { background: #fdf6e8; border-color: #f4e6c8; } .cat-4 { background: #e9f8f2; border-color: #c9ece7; } .cat-5 { background: #fdf4e7; border-color: #f4e6c8; }

/* trust strip */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.trust div { display: flex; gap: 12px; align-items: flex-start; padding: 18px; border-radius: 14px; background: var(--soft); border: 1px solid var(--border); }
.trust .ic { flex: 0 0 40px; height: 40px; border-radius: 10px; color: var(--pink); display: grid; place-items: center; }
.trust b { display: block; font-size: 13px; }
.trust small { color: var(--faint); }

/* activity + post CTA */
.duo { display: grid; grid-template-columns: 1fr 1.4fr; gap: 20px; }
.box { border: 1px solid var(--border); border-radius: 16px; padding: 22px; background: #fff; }
.cta-box { background: linear-gradient(#ffe3f1, #ffe3f1); border-color: #ffd9ec; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.cta-box h3 { font-size: 20px; }
.cta-box p { margin: 0; color: var(--muted); }
.activity-stat { background: #fdf6e8; border: 1px solid #f4e6c8; border-radius: 10px; padding: 10px 14px; margin: 10px 0; }
.activity-stat b { display: block; font-size: 20px; }
.activity-stat small { color: var(--muted); font-weight: 600; }

/* reels */
.reel { width: 220px; height: 380px; border-radius: 16px; overflow: hidden; position: relative; background: var(--dark-2); color: #fff; display: block; }
.reel img, .reel video { width: 100%; height: 100%; object-fit: cover; }
.reel video { position: absolute; inset: 0; opacity: 0; transition: .3s; }
.reel:hover video { opacity: 1; }
.reel .play { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 50px; height: 50px; border-radius: 50%; background: #fff; color: var(--pink); display: grid; place-items: center; }
.reel:hover .play { opacity: 0; }
.reel .cap { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 12px; background: linear-gradient(0deg, rgba(14, 13, 13,.92), rgba(14, 13, 13,.34) 42%, rgba(14, 13, 13,0) 72%); font-size: 13px; font-weight: 700; pointer-events: none; }
.reel .cap small { display: block; font-weight: 500; color: rgba(255,255,255,.74); margin-top: 4px; }
.reel .likes { position: absolute; top: 10px; right: 10px; z-index: 2; font-size: 11px; background: rgba(26, 24, 25,.62); padding: 2px 8px; border-radius: 999px; }

/* app band */
.app-band { background: #fff; border-radius: 24px; padding: 40px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 30px; align-items: center; }
.store-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 16px; }
.store { display: inline-flex; align-items: center; gap: 10px; background: #fff; color: var(--ink); border: 1px solid var(--border); padding: 9px 16px; border-radius: 12px; }
.store small { display: block; font-size: 10px; opacity: .8; line-height: 1; }
.store b { font-size: 13px; line-height: 1.1; }

/* project card */
.project-card { width: 360px; border-radius: 16px; overflow: hidden; border: 1px solid var(--border); background: #fff; }
.project-card .card-media { aspect-ratio: 16/10; }

/* map */
.map-wrap { display: grid; grid-template-columns: 340px 1fr; border: 1px solid var(--border); border-radius: 18px; overflow: hidden; height: 460px; }
.map-list { overflow-y: auto; border-right: 1px solid var(--border); }
.map-list a { display: flex; gap: 12px; padding: 12px; border-bottom: 1px solid var(--border); }
.map-list a:hover, .map-list a.on { background: var(--pink-soft); }
.map-list img { width: 72px; height: 60px; object-fit: cover; border-radius: 8px; }
#map, .map { height: 100%; min-height: 300px; z-index: 1; }
.price-marker { background: var(--pink); color: #fff; font-weight: 800; padding: 3px 8px; border-radius: 8px; font-size: 12px; white-space: nowrap; box-shadow: 0 4px 10px rgba(0,0,0,.25); border: 2px solid #fff; }

/* banks */
.banks { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.banks a { border: 1px solid var(--border); border-radius: 12px; padding: 18px 10px; text-align: center; font-weight: 800; color: var(--text); background: #fff; }
.banks a:hover { border-color: var(--pink); color: var(--pink); }

/* builders */
.builder-card { width: 260px; border: 1px solid var(--border); border-radius: 16px; padding: 22px; text-align: center; background: #fff; }
.builder-card .avatar { width: 72px; height: 72px; font-size: 22px; margin: 0 auto 10px; }

/* cities */
.city-card { position: relative; border-radius: 16px; overflow: hidden; height: 180px; display: block; color: #fff; background: var(--dark); }
.city-card img { width: 100%; height: 100%; object-fit: cover; opacity: .7; }
.city-card div { position: absolute; left: 16px; bottom: 14px; }
.city-card b { font-size: 16.5px; display: block; }

/* articles */
.article-card { width: 320px; border-radius: 16px; overflow: hidden; border: 1px solid var(--border); background: #fff; display: block; }
.grid .article-card { width: auto; }
.article-card img { aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.article-card div { padding: 16px; }
.article-card h3 { font-size: 13.5px; }
.article-card p { font-size: 13px; color: var(--muted); margin: 0; }

/* faq */
.faq-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 40px; }
details.faq { border: 1px solid var(--border); border-radius: 12px; padding: 16px 18px; margin-bottom: 10px; background: #fff; }
details.faq summary { font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
details.faq summary::after { content: "+"; color: var(--pink); font-size: 16.5px; line-height: 1; }
details.faq[open] summary::after { content: "–"; }
details.faq p { margin: 10px 0 0; color: var(--muted); }

/* testimonials marquee */
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee-track { display: flex; gap: 18px; width: max-content; animation: marquee 80s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.testi { width: 340px; border: 1px solid var(--border); border-radius: 16px; padding: 20px; background: #fff; }
.stars { color: #d97706; letter-spacing: 2px; }
.testi p { font-size: 13px; color: var(--text); margin: 8px 0 14px; }

/* footer */
.site-footer { background: var(--footer); color: var(--ink); border-top: 1px solid var(--border); margin-top: 40px; }
.footer-top { display: grid; grid-template-columns: 1fr 1.8fr; gap: 30px; align-items: center; padding: 36px 0 28px; }
.footer-logo { display: inline-block; margin-bottom: 12px; }
.footer-logo img { height: 64px; }
.footer-top p { color: var(--muted); font-weight: 500; font-size: 13px; margin: 0; }
.touch-card { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; background: #fff; border: 1px solid #f0eeef; border-radius: 14px; padding: 18px 22px; }
.touch-card .intro { flex: 1 1 220px; }
.touch-card .intro b { display: block; font-size: 16px; }
.touch-card .intro span { color: var(--faint); font-size: 13px; }
.contact-line { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 13px; }
.contact-line .ic { flex: none; width: 44px; height: 44px; border-radius: 10px; background: var(--pink); color: #fff; display: grid; place-items: center; }
.contact-line small { display: block; font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.contact-line a:hover { text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1.3fr 1.2fr; gap: 36px; padding-bottom: 32px; }
.site-footer h4 { color: var(--muted); font-size: 13.5px; font-weight: 600; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid #e2dcee; }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; }
.footer-links a { font-size: 13px; }
.footer-links a:hover { color: var(--pink); }
.footer-note { color: var(--muted); font-size: 13px; margin: 0; }
.socials { display: flex; flex-wrap: wrap; gap: 10px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; }
.socials a:hover { background: var(--pink); }
.copyright { background: #fff; border-top: 1px solid #f0eeef; color: var(--muted); padding: 12px 0; font-size: 13px; text-align: center; }

/* floating */
.fab { position: fixed; z-index: 40; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: 0 10px 25px rgba(0,0,0,.2); border: 0; cursor: pointer; }
.fab.wa { right: 22px; bottom: 22px; background: var(--green); }
.fab.top { left: 22px; bottom: 22px; width: 40px; height: 40px; background: var(--pink); opacity: 0; pointer-events: none; transition: .2s; }
.fab.top.show { opacity: 1; pointer-events: auto; }
.compare-bar { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 40; background: var(--ink); color: #fff; border-radius: 999px; padding: 8px 8px 8px 18px; display: flex; gap: 12px; align-items: center; font-size: 13px; box-shadow: var(--shadow); }

/* ---------- inner pages ---------- */
.page-head { background: var(--band); padding: 12px 0; }
.page-head .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2px 16px; }
.page-head h1 { font-size: 16.5px; color: #111827; margin: 0; order: 1; }
.page-head p { color: var(--muted); font-size: 13px; margin: 0; order: 3; width: 100%; }
.crumbs { font-size: 13px; color: var(--pink); font-weight: 600; order: 2; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--pink); }
.layout { display: grid; grid-template-columns: 280px 1fr; gap: 28px; padding: 32px 0 56px; align-items: start; }
.filters { position: sticky; top: calc(var(--header-h) + 16px); border: 1px solid var(--border); border-radius: 16px; padding: 18px; background: #fff; }
.filters h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 16px 0 8px; }
.filters h4:first-child { margin-top: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips label { cursor: pointer; }
.chips input { display: none; }
.chips input:checked + span { border-color: var(--pink); color: var(--pink); background: var(--pink-soft); }
.chips span { display: inline-block; padding: 6px 12px; border: 1px solid var(--border); border-radius: 999px; font-size: 13px; font-weight: 600; }
.input, .filters select, .filters input[type=text], .filters input[type=number] { width: 100%; padding: 11px 13px; border: 1px solid var(--border); border-radius: 10px; background: #fff; outline: 0; font-size: 13px; }
.input:focus, .filters select:focus { border-color: var(--pink); box-shadow: 0 0 0 3px var(--pink-soft); }
textarea.input { min-height: 110px; resize: vertical; }
.toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; gap: 12px; flex-wrap: wrap; }
.toolbar select { padding: 9px 12px; border: 1px solid var(--border); border-radius: 10px; background: #fff; }
.pager { display: flex; gap: 6px; justify-content: center; margin-top: 30px; }
.pager a { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--border); font-weight: 700; }
.pager a.on { background: var(--pink); color: #fff; border-color: var(--pink); }
.empty { text-align: center; padding: 60px 20px; border: 1px dashed var(--border); border-radius: 16px; color: var(--muted); }
.empty h3 { color: var(--ink); }

/* property detail */
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 200px 200px; gap: 8px; border-radius: 18px; overflow: hidden; margin: 24px 0; }
.gallery a { position: relative; overflow: hidden; background: var(--soft); }
.gallery a:first-child { grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; }
.gallery .more { position: absolute; inset: 0; background: rgba(0,0,0,.5); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 15px; }
.detail { display: grid; grid-template-columns: 1fr 370px; gap: 30px; padding-bottom: 56px; align-items: start; }
.detail-top { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: flex-start; }
.detail-top .price { font-size: 25px; }
.facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.fact { border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px; }
.fact small { display: block; color: var(--muted); font-size: 12px; font-weight: 600; }
.fact b { font-size: 13px; }
.amenities { display: flex; flex-wrap: wrap; gap: 10px; }
.amenities span { padding: 8px 14px; background: var(--soft); border-radius: 999px; font-size: 13px; font-weight: 600; display: inline-flex; gap: 6px; align-items: center; }
.amenities span::before { content: "✓"; color: var(--pink); font-weight: 900; }
.panel { border: 1px solid var(--border); border-radius: 16px; padding: 20px; background: #fff; margin-bottom: 20px; }
.panel h3 { font-size: 15px; }
.sticky { position: sticky; top: calc(var(--header-h) + 16px); }
.form-grid { display: grid; gap: 12px; }
.form-grid.two { grid-template-columns: 1fr 1fr; }
.form-grid.three { grid-template-columns: repeat(3, 1fr); }
.field label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; color: var(--text); }
.field .hint { font-size: 12px; color: var(--muted); margin-top: 4px; }
.span-all { grid-column: 1 / -1; }
.actions-row { display: flex; gap: 8px; flex-wrap: wrap; }
.emi-out { background: var(--pink-soft); border-radius: 12px; padding: 14px; margin-top: 12px; text-align: center; }
.emi-out b { font-size: 20px; color: var(--pink); display: block; }
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.92); z-index: 200; display: none; place-items: center; }
.lightbox.on { display: grid; }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: 10px; }
.lightbox button { position: absolute; background: rgba(255,255,255,.15); color: #fff; border: 0; width: 46px; height: 46px; border-radius: 50%; font-size: 18.5px; cursor: pointer; }
.lb-close { top: 20px; right: 20px; } .lb-prev { left: 20px; } .lb-next { right: 20px; }
.modal { position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 150; display: none; place-items: center; padding: 16px; }
.modal.on { display: grid; }
.modal > div { background: #fff; border-radius: 18px; padding: 24px; width: min(460px, 100%); }

/* compare table */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: 14px; background: #fff; }
table.table { width: 100%; border-collapse: collapse; font-size: 13px; }
.table th, .table td { padding: 12px 14px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: middle; }
.table th { background: var(--soft); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.table tr:last-child td { border-bottom: 0; }
.thumb { width: 64px; height: 48px; object-fit: cover; border-radius: 8px; }

/* auth */
.auth-wrap { min-height: calc(100vh - var(--header-h)); display: grid; grid-template-columns: 1fr 1fr; }
.auth-side { background: var(--dark); color: #fff; padding: 60px; display: flex; flex-direction: column; justify-content: center; }
.auth-side h2 { font-size: 30px; }
.auth-side li { margin: 10px 0; color: rgba(255,255,255,.8); }
.auth-form { padding: 60px; display: flex; align-items: center; justify-content: center; }
.auth-form form { width: min(420px, 100%); }
.role-pick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.role-pick label { cursor: pointer; }
.role-pick input { display: none; }
.role-pick span { display: block; text-align: center; border: 1px solid var(--border); border-radius: 10px; padding: 10px 6px; font-weight: 700; font-size: 13px; }
.role-pick input:checked + span { border-color: var(--pink); background: var(--pink-soft); color: var(--pink); }

/* status badges */
.status { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; text-transform: capitalize; }
.status.approved, .status.verified, .status.active, .status.resolved { background: #e3f6ea; color: #137a3a; }
.status.pending, .status.requested, .status.open { background: #fff3dc; color: #a26200; }
.status.rejected, .status.blocked, .status.cancelled { background: #fde6e3; color: #b42318; }
.status.unverified { background: var(--soft); color: var(--muted); }

/* dashboard (user + admin) */
.dash { display: grid; grid-template-columns: 250px 1fr; gap: 28px; padding: 30px 0 60px; align-items: start; }
.side-nav { border: 1px solid var(--border); border-radius: 16px; padding: 12px; position: sticky; top: calc(var(--header-h) + 16px); background: #fff; }
.side-nav .me { display: flex; gap: 10px; align-items: center; padding: 8px 8px 14px; border-bottom: 1px solid var(--border); margin-bottom: 8px; }
.side-nav a { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; border-radius: 10px; font-weight: 600; font-size: 13px; color: var(--text); }
.side-nav a:hover { background: var(--soft); }
.side-nav a.on { background: var(--pink-soft); color: var(--pink); }
.side-nav .count { background: var(--pink); color: #fff; font-size: 11px; padding: 1px 7px; border-radius: 999px; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; margin-bottom: 24px; }
.stat { border: 1px solid var(--border); border-radius: 14px; padding: 16px 18px; background: #fff; }
.stat small { color: var(--muted); font-weight: 600; }
.stat b { display: block; font-size: 23.5px; }
.verify-banner { display: flex; gap: 16px; align-items: center; justify-content: space-between; padding: 16px 20px; border-radius: 14px; margin-bottom: 20px; flex-wrap: wrap; }
.verify-banner.unverified, .verify-banner.rejected { background: var(--pink-soft); }
.verify-banner.pending { background: #fff3dc; }
.verify-banner.verified { background: #e3f6ea; }
.img-pick { display: flex; flex-wrap: wrap; gap: 10px; }
.img-pick label { position: relative; }
.img-pick img { width: 110px; height: 80px; object-fit: cover; border-radius: 8px; }
.img-pick input { position: absolute; top: 6px; left: 6px; }
.check-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.check-grid label { display: flex; gap: 8px; align-items: center; font-size: 13px; border: 1px solid var(--border); padding: 8px 10px; border-radius: 10px; cursor: pointer; }
.fieldset { border: 1px solid var(--border); border-radius: 16px; padding: 20px; margin-bottom: 18px; background: #fff; }
.fieldset h3 { font-size: 13.5px; margin-bottom: 14px; }

/* admin */
body.admin-body { background: #f6f6f8; }
.admin-shell { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; }
.admin-side { background: var(--dark); color: rgba(255,255,255,.75); padding: 18px 14px; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.admin-side .brand { background: #fff; padding: 8px 10px; border-radius: 10px; margin-bottom: 18px; display: block; }
.admin-side .brand img { height: 34px; }
.admin-side h6 { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.4); margin: 18px 10px 6px; }
.admin-side a { display: flex; justify-content: space-between; align-items: center; padding: 9px 12px; border-radius: 10px; font-size: 13px; font-weight: 600; }
.admin-side a:hover { background: rgba(255,255,255,.06); color: #fff; }
.admin-side a.on { background: var(--pink); color: #fff; }
.admin-side .count { background: #fff; color: var(--pink); font-size: 11px; padding: 0 7px; border-radius: 999px; font-weight: 800; }
.admin-main { padding: 24px 30px 60px; min-width: 0; }
.admin-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; gap: 12px; flex-wrap: wrap; }
.admin-top h1 { font-size: 20px; margin: 0; }
.filter-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.filter-bar .input, .filter-bar select { width: auto; padding: 9px 12px; border: 1px solid var(--border); border-radius: 10px; background: #fff; }
.tabs { display: flex; gap: 6px; margin-bottom: 16px; flex-wrap: wrap; }
.tabs a { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--border); font-weight: 700; font-size: 13px; background: #fff; }
.tabs a.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.doc-preview { border: 1px solid var(--border); border-radius: 12px; padding: 10px; background: var(--soft); }
.doc-preview img { max-height: 260px; border-radius: 8px; margin-top: 8px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.inline-form { display: inline; }

.pay-methods { display: grid; gap: 10px; }
.pay-method { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid var(--border); border-radius: 10px; font-weight: 600; cursor: pointer; }
.pay-method:has(input:checked) { border-color: var(--pink); background: var(--soft); }
.pay-method input { accent-color: var(--pink); width: 18px; height: 18px; }
.home-sections { display: flex; flex-direction: column; }
.home-sections > * { min-width: 0; }

/* ---------- logged-in user panel ---------- */
.up-page { background: var(--footer); border-bottom: 1px solid var(--border); }
.up-page ~ .site-footer { margin-top: 0; }
.up-page .dash { grid-template-columns: 264px minmax(0, 1fr); padding: 24px 0 48px; }
.up-nav { position: sticky; top: calc(var(--header-h) + 16px); max-height: calc(100vh - var(--header-h) - 32px); overflow-y: auto; padding: 16px; background: #fff; border: 1px solid var(--border); border-radius: 16px; }
.up-me { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; }
.up-avatar { flex: none; width: 52px; height: 52px; font-size: 16.5px; }
.up-me-text { min-width: 0; display: grid; gap: 2px; justify-items: start; }
.up-me-text b { font-size: 13px; line-height: 1.25; overflow-wrap: anywhere; }
.up-me-text small { color: var(--faint); font-size: 12px; }
.up-me-text .status { font-size: 11px; padding: 1px 8px; }
.up-post { margin-bottom: 6px; }
.up-links h6 { margin: 14px 10px 4px; font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.up-links a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; color: var(--muted); font-size: 13px; font-weight: 600; }
.up-links a span { flex: 1; }
.up-links a em { font-style: normal; font-size: 11px; font-weight: 700; padding: 1px 8px; border-radius: 999px; background: var(--soft); color: var(--muted); }
.up-links a:hover { background: var(--soft); color: var(--ink); }
.up-links a.on { background: var(--pink-soft); color: var(--pink); }
.up-links a.on em { background: var(--pink); color: #fff; }
.up-logout { margin-top: 12px; border-top: 1px solid var(--border); border-radius: 0 0 10px 10px !important; padding-top: 12px !important; }
.up-main { min-width: 0; display: grid; gap: 18px; align-content: start; }
.up-main .verify-banner, .up-main .fieldset, .up-main .flash { margin: 0; }
.up-main .verify-banner.verified { display: flex; width: auto; height: auto; border-radius: 14px; color: var(--ink); font-size: inherit; font-weight: inherit; }
.up-main form { display: grid; gap: 18px; }
.up-main form.inline-form, .up-main .actions-row form { display: inline; }
.up-main .fieldset { border-radius: 16px; }
.up-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.up-head h1 { margin: 0; font-size: 22px; }
.up-head p { margin: 2px 0 0; color: var(--muted); font-size: 13px; }
.up-welcome { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 24px; border: 1px solid #ffd9ec; border-radius: 16px; background: linear-gradient(#ffe3f1, #ffe3f1); }
.up-welcome small { color: var(--pink); font-weight: 700; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.up-welcome h1 { margin: 2px 0; font-size: 23.5px; }
.up-welcome p { margin: 0; color: var(--muted); font-size: 13px; }
.up-welcome-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.up-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; }
.up-stat { display: grid; gap: 2px; padding: 16px; background: #fff; border: 1px solid var(--border); border-radius: 14px; transition: .15s; }
a.up-stat:hover { border-color: var(--pink); box-shadow: var(--shadow); }
.up-stat b { font-size: 23.5px; line-height: 1.2; margin-top: 8px; }
.up-stat small { font-size: 13px; font-weight: 600; color: var(--ink); }
.up-stat em { font-style: normal; font-size: 12px; color: var(--faint); }
.up-ic { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; background: var(--pink-soft); color: var(--pink); }
.up-ic-lg { width: 56px; height: 56px; background: #fff; }
.up-two { display: grid; grid-template-columns: 1.4fr 1fr; gap: 18px; align-items: start; }
.up-card { padding: 18px; background: #fff; border: 1px solid var(--border); border-radius: 16px; min-width: 0; }
.up-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.up-card-head h2, .up-section h2 { margin: 0; font-size: 15px; }
.up-section { display: grid; gap: 12px; min-width: 0; }
.up-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--border); }
.up-row > div { flex: 1; min-width: 0; display: grid; }
.up-row b { font-size: 13px; }
.up-row small { color: var(--faint); font-size: 12px; overflow-wrap: anywhere; }
.up-when { flex: none; white-space: nowrap; }
.up-progress { height: 8px; border-radius: 999px; background: var(--soft); overflow: hidden; margin-bottom: 12px; }
.up-progress span { display: block; height: 100%; background: var(--pink); border-radius: 999px; }
.up-check { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 13px; }
.up-check li { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.up-check li > span { flex: none; width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid var(--border); color: #fff; }
.up-check li.ok { color: var(--faint); }
.up-check li.ok > span { background: var(--pink); border-color: var(--pink); }
.up-check a:hover { color: var(--pink); text-decoration: underline; }
.up-listings { display: grid; }
.up-listing { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; padding: 12px 0; border-top: 1px solid var(--border); }
.up-listing:first-child { border-top: 0; padding-top: 0; }
.up-listing:last-child { padding-bottom: 0; }
.up-listing img { width: 84px; height: 64px; object-fit: cover; border-radius: 10px; background: #f1f0f0; }
.up-listing-text { flex: 1 1 200px; min-width: 0; display: grid; gap: 2px; }
.up-listing-text small { color: var(--faint); font-size: 12px; }
.up-listing-text .up-note { color: var(--red); }
.up-price { color: var(--pink); white-space: nowrap; }
.up-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.up-tabs a { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border: 1px solid var(--border); border-radius: 999px; background: #fff; color: var(--muted); font-size: 13px; font-weight: 600; }
.up-tabs a em { font-style: normal; font-size: 11px; color: var(--faint); }
.up-tabs a.on { background: var(--pink); border-color: var(--pink); color: #fff; }
.up-tabs a.on em { color: #fff; }
.up-chat { display: flex; flex-direction: column; gap: 8px; max-height: 380px; overflow-y: auto; margin-bottom: 12px; }
.up-msg { align-self: flex-start; max-width: 78%; padding: 8px 12px; border-radius: 12px; background: var(--soft); border: 1px solid var(--border); font-size: 13px; overflow-wrap: anywhere; }
.up-msg.me { align-self: flex-end; background: var(--pink-soft); border-color: #ffd9ec; }
.up-msg small { display: block; margin-top: 2px; font-size: 11px; color: var(--faint); }
.up-chat-send { display: flex !important; gap: 8px; }
.up-empty { display: grid; justify-items: center; gap: 6px; padding: 36px 20px; text-align: center; }
.up-empty h3 { margin: 6px 0 0; font-size: 14.5px; }
.up-empty p { margin: 0 0 8px; color: var(--muted); font-size: 13px; }
.up-empty-sm { display: grid; justify-items: center; gap: 6px; padding: 22px 10px; color: var(--faint); text-align: center; }
.up-empty-sm p { margin: 0; font-size: 13px; color: var(--muted); }
.up-leads { display: grid; gap: 12px; }
.up-lead { display: grid; gap: 10px; }
.up-lead p { margin: 0; color: var(--muted); font-size: 13px; overflow-wrap: anywhere; }
.up-lead-top { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; }
.up-lead-top > div { display: grid; flex: 1 1 140px; min-width: 0; }
.up-lead-top small { color: var(--faint); font-size: 12px; }
.up-steps { list-style: none; margin: 0; padding: 16px 18px; display: flex; flex-wrap: wrap; gap: 10px 28px; background: #fff; border: 1px solid var(--border); border-radius: 16px; font-size: 13px; color: var(--faint); }
.up-steps li { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.up-steps li > span { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid var(--border); font-size: 12px; }
.up-steps li.now { color: var(--pink); }
.up-steps li.now > span { border-color: var(--pink); }
.up-steps li.done { color: var(--ink); }
.up-steps li.done > span { background: var(--pink); border-color: var(--pink); color: #fff; }
@media (max-width: 860px) {
  .up-page .dash { grid-template-columns: minmax(0, 1fr); padding-top: 16px; }
  .up-nav { position: static; max-height: none; overflow: visible; }
  .up-links { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
  .up-links h6 { display: none; }
  .up-links a { flex: none; border: 1px solid var(--border); }
  .up-links a span { flex: none; }
  .up-logout { margin-top: 0; padding-top: 9px !important; border-radius: 10px !important; }
  .up-two { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- clips player ---------- */
body.clips-body { overflow: hidden; background: #fff; }
.clips-feed { height: 100vh; height: 100dvh; overflow-y: auto; scroll-snap-type: y mandatory; overscroll-behavior: contain; scrollbar-width: none; }
.clips-feed::-webkit-scrollbar { display: none; }
.clip { position: relative; height: 100vh; height: 100dvh; scroll-snap-align: start; scroll-snap-stop: always; display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; padding: 8px 16px; contain: layout paint; }
.clip-info { align-self: end; justify-self: start; max-width: 340px; padding: 0 0 32px 16px; }
.clip-by { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink); margin-bottom: 12px; }
.clip-avatar { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--pink); color: #fff; display: grid; place-items: center; font-size: 12px; font-weight: 800; }
.clip-info h1 { font-size: 15px; font-weight: 700; color: var(--pink); margin: 0 0 12px; }
.clip-info p { font-size: 13px; color: var(--muted); margin: 0 0 16px; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.clip-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border: 1px solid var(--border); border-radius: 999px; background: var(--soft); font-size: 12px; color: var(--muted); }
.clip-chip:hover { color: var(--pink); border-color: var(--pink); }
.clip-stage { position: relative; height: 100%; aspect-ratio: 9 / 16; max-width: calc(100vw - 32px); border-radius: 14px; overflow: hidden; background: var(--dark-2); cursor: pointer; }
.clip-stage video, .clip-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.clip-stage video { opacity: 0; }
.clip.is-ready video { opacity: 1; }
.clip.is-contain video { object-fit: contain; background: var(--dark-2); }
.clip-progress { position: absolute; inset: 0 0 auto; height: 3px; background: rgba(255,255,255,.3); }
.clip-progress span { display: block; height: 100%; width: 0; background: #fff; }
.clip-fit { position: absolute; top: 14px; left: 50%; transform: translateX(-50%); width: 38px; height: 34px; display: grid; place-items: center; border: 0; border-radius: 8px; background: rgba(26, 24, 25,.62); color: #fff; cursor: pointer; }
.clip-spinner { display: none; position: absolute; top: 50%; left: 50%; width: 40px; height: 40px; margin: -20px; border: 3px solid rgba(255,255,255,.35); border-top-color: #fff; border-radius: 50%; animation: clip-spin .8s linear infinite; }
.clip.is-waiting .clip-spinner { display: block; }
@keyframes clip-spin { to { transform: rotate(360deg); } }
.clip-paused { display: none; position: absolute; top: 50%; left: 50%; width: 64px; height: 64px; margin: -32px; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--pink); place-items: center; pointer-events: none; }
.clip.is-paused .clip-paused { display: grid; }
.clip-error { display: none; position: absolute; inset: auto 16px 24px; padding: 8px 12px; border-radius: 8px; background: rgba(26, 24, 25,.8); color: #fff; font-size: 13px; text-align: center; }
.clip.is-error .clip-error { display: block; }
.clip-actions { align-self: end; justify-self: start; display: flex; flex-direction: column; gap: 14px; padding-bottom: 32px; }
.clip-actions button, .clip-actions a { display: flex; flex-direction: column; align-items: center; gap: 4px; width: 56px; border: 0; background: none; padding: 0; color: var(--muted); cursor: pointer; }
.clip-actions span { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--border); background: var(--soft); color: var(--ink); transition: transform .15s; }
.clip-actions button:hover span, .clip-actions a:hover span { transform: scale(1.08); border-color: var(--pink); }
.clip-actions small { font-size: 11px; }
.clip-actions .on span { color: var(--pink); border-color: var(--pink); background: var(--pink-soft); }
.clip-actions .on svg { fill: var(--pink); }
.clips-muted .if-sound, body:not(.clips-muted) .if-muted { display: none; }
.clips-brand { position: fixed; top: 16px; left: 24px; z-index: 20; padding: 6px 14px; border-radius: 999px; background: rgba(26, 24, 25,.35); color: #fff; font-size: 13px; font-weight: 600; backdrop-filter: blur(6px); }
.clips-brand b { color: var(--pink); font-weight: 800; }
.clips-search { position: fixed; top: 16px; right: 24px; z-index: 20; display: flex; align-items: center; height: 36px; border-radius: 999px; background: rgba(26, 24, 25,.35); color: #fff; backdrop-filter: blur(6px); }
.clips-search input { width: 0; padding: 0; border: 0; outline: 0; background: none; color: #fff; font-size: 13px; transition: width .2s; }
.clips-search input::placeholder { color: rgba(255,255,255,.75); }
.clips-search.is-open input { width: 170px; padding-left: 14px; }
.clips-search button { width: 36px; height: 36px; display: grid; place-items: center; border: 0; background: none; color: inherit; cursor: pointer; }
.clips-nav { position: fixed; right: 24px; top: 50%; transform: translateY(-50%); z-index: 20; display: flex; flex-direction: column; gap: 10px; }
.clips-nav button { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--border); background: #fff; color: var(--ink); cursor: pointer; }
.clips-nav button:hover:not(:disabled) { border-color: var(--pink); color: var(--pink); }
.clips-nav button:disabled { opacity: .4; cursor: default; }
.clips-panel { position: fixed; top: 0; right: 0; bottom: 0; z-index: 30; width: min(380px, 100vw); display: flex; flex-direction: column; gap: 12px; padding: 16px; background: #fff; border-left: 1px solid var(--border); box-shadow: var(--shadow); transform: translateX(100%); visibility: hidden; transition: transform .25s, visibility .25s; }
.clips-panel.on { transform: none; visibility: visible; }
.clips-panel-head { display: flex; justify-content: space-between; align-items: center; }
.clips-panel-head button { border: 0; background: none; cursor: pointer; color: var(--ink); }
.clips-panel-list { flex: 1; overflow-y: auto; color: var(--muted); font-size: 13px; }
.clips-comment { padding: 10px 0; border-bottom: 1px solid var(--border); }
.clips-comment b { color: var(--ink); font-size: 13px; margin-right: 8px; }
.clips-comment small { color: var(--faint); }
.clips-comment p { margin: 4px 0 0; color: var(--ink); overflow-wrap: anywhere; }
#clipsCommentForm { display: flex; gap: 8px; }
.clips-toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 40; padding: 8px 16px; border-radius: 999px; background: var(--dark); color: #fff; font-size: 13px; opacity: 0; pointer-events: none; transition: opacity .2s; max-width: calc(100vw - 32px); overflow-wrap: anywhere; }
.clips-toast.on { opacity: 1; }
.clips-empty { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; }
@media (max-width: 860px) {
  body.clips-body { background: var(--dark); }
  .clip { display: block; padding: 0; }
  .clip-stage { height: 100%; width: 100%; max-width: none; aspect-ratio: auto; border-radius: 0; background: var(--dark); }
  .clip-stage::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(0deg, rgba(14, 13, 13,.92), rgba(14, 13, 13,.34) 50%, rgba(14, 13, 13,0)); pointer-events: none; }
  .clip-info { position: absolute; left: 0; right: 76px; bottom: 0; z-index: 2; max-width: none; padding: 0 0 20px 16px; pointer-events: none; }
  .clip-info a { pointer-events: auto; }
  .clip-by, .clip-info h1 { color: #fff; }
  .clip-info h1 { font-size: 13px; margin-bottom: 6px; }
  .clip-info p { color: rgba(255,255,255,.74); -webkit-line-clamp: 2; margin-bottom: 10px; }
  .clip-chip { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.26); color: #fff; }
  .clip-actions { position: absolute; right: 10px; bottom: 90px; z-index: 2; gap: 10px; padding: 0; }
  .clip-actions button, .clip-actions a { color: #fff; }
  .clip-actions span { background: rgba(26, 24, 25,.5); border-color: rgba(255,255,255,.26); color: #fff; }
  .clips-nav, .clips-wa { display: none; }
  .clips-brand { left: 12px; top: 12px; }
  .clips-search { right: 12px; top: 12px; }
  .clip-fit { top: 12px; }
  .clips-panel { top: auto; left: 0; width: auto; height: 65dvh; border-left: 0; border-radius: 16px 16px 0 0; transform: translateY(100%); }
}

/* ---------- responsive ---------- */
@media (max-width: 1320px) {
  /* Not enough room for one line, so the navigation moves to its own row. */
  :root { --header-h: 88px; }
  .header-row { flex-wrap: wrap; height: auto; padding-top: 8px; row-gap: 2px; }
  .main-nav { order: 3; width: 100%; margin: 0; justify-content: center; }
  .header-actions { margin-left: auto; }
}
@media (max-width: 720px) {
  :root { --header-h: 64px; }
  .header-row { flex-wrap: nowrap; height: var(--header-h); padding-top: 0; }
  .main-nav { display: none; }
}
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .trust { grid-template-columns: 1fr 1fr; }
  .banks { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  .footer-top, .hero-grid, .duo, .app-band, .faq-grid, .detail, .layout, .dash, .auth-wrap, .two-col { grid-template-columns: 1fr; }
  .mosaic { grid-template-columns: 1fr 1fr; grid-auto-rows: 200px; }
  .mosaic a:first-child { grid-column: span 2; grid-row: auto; }
  .map-wrap { grid-template-columns: 1fr; height: auto; }
  .map-list { max-height: 260px; border-right: 0; border-bottom: 1px solid var(--border); }
  #map { height: 360px; }
  .filters, .side-nav, .sticky { position: static; }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 120px; }
  .gallery a:first-child { grid-column: span 2; grid-row: auto; }
  .gallery a:nth-child(n+4) { display: none; }
  .auth-side { display: none; }
  .auth-form { padding: 30px 16px; }
  .admin-shell { grid-template-columns: 1fr; }
  .admin-side { position: static; height: auto; }
  .admin-main { padding: 20px 16px; }
  .form-grid.two, .form-grid.three { grid-template-columns: 1fr; }
}
@media (max-width: 860px) { .hero-art { display: none; } }
@media (max-width: 600px) {
  .list-btn span.txt, .city-pill, .header-actions .support { display: none; }
  .logo img { height: 32px; }
  .header-row { justify-content: space-between; }
  .search-row .field { border-right: 0; width: 100%; border-bottom: 1px solid var(--border); }
  .search-row .btn { width: 100%; margin-top: 8px; }
  .trust, .footer-grid { grid-template-columns: 1fr; }
  .banks { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 40px 0; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .car-btn { display: none; }
  .track .card, .project-card, .article-card { width: 270px; }
  .app-band { padding: 24px; }
}

/* Builder <-> broker network (/user/network) */
.net-dot { margin-left: 4px; padding: 1px 7px; border-radius: 999px; background: linear-gradient(#EC2690, #EC2690); color: #fff; font-size: 11px; font-weight: 700; }
.net-ok { display: inline-block; margin-left: 4px; padding: 1px 7px; border-radius: 999px; background: #e7f8ee; color: #137a3d; font-size: 11px; font-weight: 700; vertical-align: middle; }
.net-fixed { flex: none; }
.up-row .actions-row.net-fixed { display: flex; }
.net-box { border-top: 1px solid var(--border); padding-top: 10px; display: grid; gap: 8px; }
.net-box summary { cursor: pointer; font-weight: 700; font-size: 13px; display: flex; align-items: center; gap: 6px; }
.net-box summary em { font-style: normal; font-weight: 600; color: var(--faint); font-size: 12px; }
.net-box[open] summary { margin-bottom: 8px; }
.net-lbl { font-size: 13px; }
.net-muted { margin: 0; color: var(--muted); font-size: 13px; }
.net-form { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 12px; }
.net-form .field { margin: 0; }
.net-wide { grid-column: 1 / -1; }
.net-remove { justify-self: end; }
.net-remove .link { background: none; border: 0; color: var(--faint); font-size: 13px; cursor: pointer; padding: 0; }
.net-st { flex: none; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; background: #fff4e0; color: #9a5b00; }
.net-st.accepted { background: #e7f8ee; color: #137a3d; }
.net-st.declined { background: #f2f2f4; color: #666; }
@media (max-width: 640px) { .net-form { grid-template-columns: 1fr; } .up-row { flex-wrap: wrap; } }

/* Moments: artifact-style card at the bottom of each video, with Enquire now + View property */
.clip-stage::before { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(0deg, rgba(20, 18, 19,.88), rgba(20, 18, 19,.45) 55%, rgba(20, 18, 19,0)); pointer-events: none; z-index: 1; }
.clip-card { position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 2; color: #fff; cursor: default; display: grid; gap: 6px; }
.clip-card .clip-by { color: #fff; margin: 0; font-weight: 700; font-size: 13px; }
.clip-card .clip-by a { color: #fff; }
.clip-card .clip-avatar { width: 32px; height: 32px; font-size: 13px; background: linear-gradient(#EC2690, #EC2690); border: 2px solid #fff; }
.clip-ver { color: #fff; display: inline-grid; opacity: .9; }
.clip-card h1 { margin: 2px 0 0; font-size: 15px; font-weight: 800; line-height: 1.25; color: #fff; }
.clip-loc { margin: 0; font-size: 13px; color: rgba(255,255,255,.85); display: flex; align-items: center; gap: 4px; }
.clip-desc { margin: 0; font-size: 13px; color: rgba(255,255,255,.85); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.clip-listing { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 4px; padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.22); color: #fff; font-size: 13px; font-weight: 600; backdrop-filter: blur(6px); }
.clip-listing span { display: flex; align-items: center; gap: 6px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.clip-listing b { flex: none; font-size: 13px; }
.clip-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 6px; }
.clip-btns a { display: grid; place-items: center; min-height: 44px; border-radius: 999px; font-weight: 700; font-size: 13px; }
.clip-enq { background: linear-gradient(#EC2690, #EC2690); color: #fff; box-shadow: 0 8px 18px rgb(236 38 144 / .35); }
.clip-view { background: #fff; color: #1f1c1d; }
.clip-side { min-width: 0; }
@media (max-width: 860px) {
  .clip-stage::after { display: none; }
  .clip-card { right: 74px; bottom: 18px; }
  .clip-actions { bottom: 170px; }
}
/* Moments card: never wider than the video (the long one-line listing name used to stretch it) */
.clip-card { grid-template-columns: minmax(0, 1fr); }
.clip-card > * { min-width: 0; }
.clip-card h1 { overflow-wrap: anywhere; }
.clip-listing span { flex: 1 1 auto; }
.clip-btns a { min-width: 0; padding: 0 10px; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-height: 720px) and (min-width: 861px) { .clip-card h1 { font-size: 15px; } .clip-desc { display: none; } .clip-btns a { min-height: 40px; font-size: 13px; } }
