/* =====================================================================
   KeySpace 2026 theme — same look as the Android app (Jetpack Compose):
   navy gradient headers with drifting light, glass search & chips,
   big photo cards, floating bottom bar, animated menu.
   Loaded after site.css and overrides it.
   ===================================================================== */
:root {
  --navy-deep: #071A33; --blue: #3B6BC0; --soft: #FFF1E6; --field: #F1F4F9; --page: #F4F6FB;
  --grad-navy: linear-gradient(150deg, #071A33 0%, #0B2545 48%, #1B3A6B 100%);
  --grad-orange: linear-gradient(120deg, #F7931E, #E8590C);
  --glass: rgba(255, 255, 255, .13); --glass-line: rgba(255, 255, 255, .24);
  --shadow-card: 0 14px 34px rgba(11, 37, 69, .14);
}
body { background: var(--page); }

/* ---------- drifting light orbs on navy headers ---------- */
.ks-orbs, .hero, .pagebar, .profile-hero, .drawer-head { position: relative; overflow: hidden; isolation: isolate; }
.hero::before, .pagebar::before, .profile-hero::before, .drawer-head::before,
.hero::after, .pagebar::after, .profile-hero::after, .drawer-head::after {
  content: ""; position: absolute; z-index: -1; border-radius: 50%; pointer-events: none; filter: blur(6px);
}
.hero::before, .pagebar::before, .profile-hero::before, .drawer-head::before {
  width: 420px; height: 420px; right: -140px; top: -170px;
  background: radial-gradient(circle, rgba(247, 147, 30, .42), transparent 68%);
  animation: orbA 11s ease-in-out infinite alternate;
}
.hero::after, .pagebar::after, .profile-hero::after, .drawer-head::after {
  width: 460px; height: 460px; left: -170px; bottom: -260px;
  background: radial-gradient(circle, rgba(59, 107, 192, .5), transparent 68%);
  animation: orbB 14s ease-in-out infinite alternate;
}
@keyframes orbA { to { transform: translate(-120px, 70px) scale(1.1); } }
@keyframes orbB { to { transform: translate(140px, -60px) scale(1.15); } }

/* ---------- home: top bar + hero are one gradient block ---------- */
.page-home .topbar { background: #071A33; box-shadow: none; backdrop-filter: none; position: relative; }
.page-home .topbar .menu-btn, .page-home .topbar .profile-btn {
  background: var(--glass); border: 1px solid var(--glass-line); border-radius: 50%;
}
.page-home .topbar .profile-btn { background: var(--grad-orange); border-color: rgba(255,255,255,.5); }
.hero {
  background: var(--grad-navy); border-radius: 0 0 34px 34px; padding: 6px 0 18px; margin-bottom: 8px;
  box-shadow: 0 18px 40px rgba(7, 26, 51, .25);
}
.hero h1 { font-size: clamp(20px, 3.4vw, 34px); font-weight: 800; letter-spacing: -.01em; color: #fff; }
.hero h1 span {
  background: linear-gradient(90deg, #FFC46B, #F7931E, #E8590C); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { display: none; }
@media (min-width: 900px) { .hero-sub { display: block; color: rgba(255,255,255,.7); } .hero { padding: 26px 0 30px; } }

/* glass search */
.hero .searchbar {
  margin-top: 14px; background: var(--glass); border: 1px solid var(--glass-line); border-radius: 18px;
  box-shadow: none; backdrop-filter: blur(10px); height: 50px; padding-right: 5px;
}
.hero .searchbar input { color: #fff; background: transparent; font-size: 15px; }
.hero .searchbar input::placeholder { color: rgba(255,255,255,.6); }
.hero .searchbar .sb-icon, .hero .searchbar .sb-icon .ic { color: #F7931E; }
.hero .sb-filter {
  background: var(--grad-orange); color: #fff; border-radius: 13px; width: 40px; height: 40px;
  box-shadow: 0 8px 18px rgba(232, 89, 12, .45); transition: transform .2s;
}
.hero .sb-filter:hover { transform: scale(1.06); }
.hero .sb-filter .count-badge { background: #fff; color: #E8590C; animation: pop .4s cubic-bezier(.34, 1.56, .64, 1); }
.hero .suggest { border-radius: 20px; }

/* glass chips inside the hero */
.hero .quick { margin: 14px 0 0; padding: 0 0 2px; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; flex-wrap: nowrap; }
.hero .quick::-webkit-scrollbar { display: none; }
.hero .chip {
  flex: none; background: var(--glass); border: 1px solid var(--glass-line); color: #fff; font-weight: 500;
  padding: 8px 16px; border-radius: 999px; transition: background .25s, color .25s, transform .25s;
}
.hero .chip:hover { background: rgba(255,255,255,.22); }
.hero .chip.on { background: #fff; color: #0B2545; font-weight: 700; border-color: #fff; transform: scale(1.05); }

/* banners */
.announce { background: #fff; border-radius: 18px; box-shadow: 0 8px 20px rgba(247, 147, 30, .18); border-left: 4px solid #F7931E; }
.results-head h2, .results-head strong { font-weight: 800; }

/* ---------- property cards (photo-first, price on the photo) ---------- */
.grid { gap: 18px; }
.card {
  border-radius: 26px; overflow: hidden; background: #fff; border: 0; box-shadow: var(--shadow-card);
  transition: transform .25s cubic-bezier(.2, .9, .3, 1), box-shadow .25s; animation: rise .55s cubic-bezier(.2, .9, .3, 1) both;
}
.card:hover { transform: translateY(-5px); box-shadow: 0 22px 44px rgba(11, 37, 69, .2); }
.card:active { transform: scale(.98); }
.grid .card:nth-child(2) { animation-delay: .07s; } .grid .card:nth-child(3) { animation-delay: .14s; }
.grid .card:nth-child(4) { animation-delay: .21s; } .grid .card:nth-child(5) { animation-delay: .28s; }
.grid .card:nth-child(6) { animation-delay: .35s; } .grid .card:nth-child(n+7) { animation-delay: .4s; }
.card-media { position: relative; display: block; height: 215px; border-radius: 0; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.card:hover .card-media img { transform: scale(1.05); }
.card-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,.72)); pointer-events: none; }
.card-media .price-pill {
  position: absolute; z-index: 1; left: 14px; bottom: 12px; top: auto; right: auto; background: none; box-shadow: none; padding: 0;
  color: #fff; font-size: 23px; font-weight: 800; letter-spacing: -.01em; text-shadow: 0 2px 10px rgba(0,0,0,.3);
}
.card-media .badge {
  position: absolute; z-index: 1; top: 12px; left: 12px; border-radius: 999px; padding: 5px 11px;
  font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; border: 1px solid rgba(255,255,255,.35);
}
.card .fav {
  width: 42px; height: 42px; border-radius: 50%; top: 10px; right: 10px; background: rgba(0,0,0,.28);
  border: 1px solid rgba(255,255,255,.4); color: #fff; backdrop-filter: blur(6px); transition: transform .3s cubic-bezier(.34, 1.56, .64, 1), background .2s;
}
.card .fav.on, .card .fav[aria-pressed="true"] { background: #fff; color: #E5484D; }
.card .fav:active { transform: scale(.75); }
.card-body { padding: 13px 16px 16px; display: block; }
.card-body .kicker { color: #E8590C; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.card-body h3 { font-size: 18px; font-weight: 700; margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-body .loc .dist { color: #fff; background: var(--grad-navy); border-radius: 999px; padding: 1px 8px; font-weight: 700; font-size: 12px; }
.card-body .facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.card-body .facts span { background: var(--field); border-radius: 12px; padding: 6px 10px; font-size: 12px; font-weight: 600; color: #0B2545; display: inline-flex; gap: 5px; align-items: center; }
.card-body .facts .ic { color: #E8590C; width: 15px; height: 15px; }

/* ---------- inner pages: navy page header with ☰ / back ---------- */
.pagebar {
  background: var(--grad-navy); border: 0; border-radius: 0 0 28px 28px; color: #fff;
  box-shadow: 0 14px 30px rgba(7, 26, 51, .22); position: sticky;
}
.pagebar-in { min-height: 66px; height: auto; padding-top: 6px; padding-bottom: 8px; }
.pb-text { flex: 1; min-width: 0; }
.pb-title { color: #fff; font-size: 20px; }
.pb-sub { margin: 0; color: rgba(255,255,255,.7); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pb-back { background: var(--glass); border: 1px solid var(--glass-line); color: #fff; cursor: pointer; }
.pb-back:hover { background: rgba(255,255,255,.22); color: #fff; }
.pb-back .ic { color: #fff; }
.pb-home img { box-shadow: 0 0 0 2px rgba(255,255,255,.5); }
/* the pagebar already shows the title on these pages */
.page-saved .pagehead, .page-listings .pagehead h1, .page-listings .pagehead p { display: none; }
.page-listings .pagehead { padding: 14px 0 0; background: none; }
.page-listings .pagehead-row { justify-content: flex-end; }

/* ---------- floating bottom bar with raised Post (phones) ---------- */
@media (max-width: 700px) {
  body { padding-bottom: 100px; }
  .bottomnav {
    left: 12px; right: 12px; bottom: calc(10px + env(safe-area-inset-bottom)); border-radius: 26px; height: 66px;
    background: #fff; border: 0; box-shadow: 0 16px 40px rgba(11, 37, 69, .28); padding: 0 6px; overflow: visible;
  }
  .bottomnav a { color: #667085; font-weight: 500; }
  .bottomnav a .ic { width: 22px; height: 22px; padding: 5px 14px; box-sizing: content-box; border-radius: 16px; transition: background .3s, color .3s, transform .35s cubic-bezier(.34, 1.56, .64, 1); }
  .bottomnav a.on { color: #0B2545; font-weight: 800; }
  .bottomnav a.on .ic { background: var(--grad-navy); color: #fff; transform: none; animation: navpop .45s cubic-bezier(.34, 1.56, .64, 1); }
  .bottomnav .bn-post { color: #E8590C; font-weight: 800; position: relative; }
  .bottomnav .bn-plus {
    width: 54px; height: 54px; margin-top: -30px; border-radius: 50%; background: var(--grad-orange); border: 3px solid #fff;
    display: grid; place-items: center; box-shadow: 0 10px 22px rgba(232, 89, 12, .45); animation: breathe 2.6s ease-in-out infinite;
  }
  .bottomnav .bn-plus .ic { color: #fff; width: 28px; height: 28px; padding: 0; background: none; }
}
@keyframes navpop { from { transform: scale(.6); } to { transform: none; } }
@keyframes breathe { 0%, 100% { box-shadow: 0 10px 22px rgba(232, 89, 12, .4), 0 0 0 0 rgba(247, 147, 30, .35); } 50% { box-shadow: 0 10px 22px rgba(232, 89, 12, .4), 0 0 0 10px rgba(247, 147, 30, 0); } }

/* ---------- side menu ---------- */
.drawer { border-radius: 0 30px 30px 0; overflow: hidden; }
.drawer-head { background: var(--grad-navy); padding: 30px 22px 24px; flex-direction: column; align-items: flex-start; gap: 12px; }
.drawer-head img { border-radius: 50%; background: #fff; border: 2px solid #fff; box-shadow: 0 8px 20px rgba(0,0,0,.3); }
.drawer-head strong { font-size: 24px; font-weight: 800; }
.drawer-head b { color: #F7931E; }
.drawer-nav { padding: 12px 14px; }
.drawer-nav a, .drawer-nav button {
  display: flex; align-items: center; gap: 14px; padding: 9px 12px; border-radius: 16px; color: #0B2545; font-weight: 500;
  transition: background .2s;
}
.drawer-nav a .ic, .drawer-nav button .ic {
  width: 20px; height: 20px; padding: 9px; box-sizing: content-box; border-radius: 12px; background: var(--field); color: #0B2545; flex: none;
}
.drawer-nav a:hover { background: #F7F9FC; }
.drawer-nav a.on { background: var(--soft); font-weight: 800; }
.drawer-nav a.on .ic { background: var(--grad-orange); color: #fff; }
.drawer-nav a.on::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #E8590C; margin-left: auto; }
.drawer-nav hr { border: 0; height: 1px; background: #E4E8F0; margin: 8px 6px; }
.drawer-nav .drawer-label { font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #667085; margin: 10px 12px 4px; }
.drawer-nav form button { color: #B42318; width: 100%; background: none; border: 0; font: inherit; cursor: pointer; }
.drawer-nav form button .ic { background: #FEECEB; color: #B42318; }
.drawer.open .drawer-nav > * { animation: menuin .38s cubic-bezier(.2, .9, .3, 1) both; }
.drawer.open .drawer-nav > :nth-child(2) { animation-delay: .04s; } .drawer.open .drawer-nav > :nth-child(3) { animation-delay: .08s; }
.drawer.open .drawer-nav > :nth-child(4) { animation-delay: .12s; } .drawer.open .drawer-nav > :nth-child(5) { animation-delay: .16s; }
.drawer.open .drawer-nav > :nth-child(6) { animation-delay: .2s; } .drawer.open .drawer-nav > :nth-child(7) { animation-delay: .24s; }
.drawer.open .drawer-nav > :nth-child(8) { animation-delay: .28s; } .drawer.open .drawer-nav > :nth-child(n+9) { animation-delay: .32s; }
@keyframes menuin { from { opacity: 0; transform: translateX(-40px); } to { opacity: 1; transform: none; } }

/* ---------- property page ---------- */
.detail .crumbs { display: none; }
.detail .gallery-main { border-radius: 26px; overflow: hidden; box-shadow: var(--shadow-card); }
.detail .thumb { border-radius: 14px; overflow: hidden; transition: transform .2s, box-shadow .2s; }
.detail .thumb.on { box-shadow: 0 0 0 3px #F7931E; transform: scale(1.04); }
.detail-head .badge { border-radius: 999px; padding: 5px 12px; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.detail-head .kicker { color: #E8590C; font-weight: 800; letter-spacing: .06em; }
.big-price {
  font-size: clamp(28px, 4vw, 36px); font-weight: 800; letter-spacing: -.02em;
  background: linear-gradient(90deg, #0B2545, #3B6BC0); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.detail-title { font-size: 22px; }
.detail .facts span { background: #fff; box-shadow: 0 4px 12px rgba(11, 37, 69, .08); border-radius: 14px; padding: 8px 12px; }
.detail .facts .ic { color: #E8590C; }
.detail h2 { font-weight: 800; position: relative; padding-bottom: 8px; }
.detail h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 32px; height: 4px; border-radius: 4px; background: var(--grad-orange); }
.detail .table { background: #fff; border-radius: 20px; box-shadow: 0 6px 18px rgba(11, 37, 69, .06); border: 0; }
.am { background: #fff; border-radius: 18px; box-shadow: 0 6px 16px rgba(11, 37, 69, .06); }
.am-ic { background: var(--grad-orange); color: #fff; border-radius: 13px; }
.nb { background: #fff; border-radius: 18px; box-shadow: 0 6px 16px rgba(11, 37, 69, .06); }
.nb:nth-child(6n+1) .nb-ic { background: linear-gradient(135deg, #6366F1, #4338CA); color: #fff; }
.nb:nth-child(6n+2) .nb-ic { background: linear-gradient(135deg, #22A06B, #1E8E5A); color: #fff; }
.nb:nth-child(6n+3) .nb-ic { background: linear-gradient(135deg, #3B6BC0, #1B3A6B); color: #fff; }
.nb:nth-child(6n+4) .nb-ic { background: linear-gradient(135deg, #F0507A, #D6336C); color: #fff; }
.nb:nth-child(6n+5) .nb-ic { background: linear-gradient(135deg, #14B8A6, #0F766E); color: #fff; }
.nb:nth-child(6n) .nb-ic { background: var(--grad-orange); color: #fff; }
.nb-ic { border-radius: 14px; }
.nb-km { background: var(--grad-orange); }
.detail .map { border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-card); }
.contact { border-radius: 26px; border: 0; border-top: 0; box-shadow: 0 18px 44px rgba(11, 37, 69, .2); }
.contact .owner .avatar { box-shadow: 0 0 0 2px #F7931E; }
.contact .btn-orange { background: var(--grad-orange); border-radius: 15px; box-shadow: 0 10px 22px rgba(232, 89, 12, .35); }

/* ---------- profile ---------- */
.profile-hero { background: var(--grad-navy); border-radius: 0 0 34px 34px; padding-bottom: 64px; }
.big-avatar { padding: 4px; background: conic-gradient(#F7931E, #3B6BC0, #E8590C, #F7931E); border-radius: 50%; animation: spinring 8s linear infinite; }
.big-avatar img { border: 3px solid #0B2545; animation: spinring 8s linear infinite reverse; }
@keyframes spinring { to { transform: rotate(360deg); } }
.member { background: var(--glass); border: 1px solid var(--glass-line); border-radius: 999px; padding: 5px 12px; color: #fff; }
.profile .stats { margin-top: -46px; position: relative; z-index: 2; gap: 10px; }
.profile .stats a {
  background: #fff; border-radius: 22px; box-shadow: var(--shadow-card); border: 0; animation: rise .5s cubic-bezier(.2, .9, .3, 1) both;
  transition: transform .2s;
}
.profile .stats a:hover { transform: translateY(-3px); }
.profile .stats a:nth-child(2) { animation-delay: .08s; } .profile .stats a:nth-child(3) { animation-delay: .16s; }
.profile .stats b { font-size: 24px; font-weight: 800; }
.profile .stats b.g { color: #1E8E5A; } .profile .stats b.o { color: #E8590C; } .profile .stats b.r { color: #D6336C; }
.plabel { font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #667085; }
.pcard { border-radius: 22px; border: 0; box-shadow: 0 8px 22px rgba(11, 37, 69, .08); animation: rise .5s cubic-bezier(.2, .9, .3, 1) both; }
.prow-ic { border-radius: 13px; color: #fff; background: var(--grad-navy); }
.pcard .prow:nth-child(5n+2) .prow-ic { background: linear-gradient(135deg, #F0507A, #D6336C); }
.pcard .prow:nth-child(5n+3) .prow-ic { background: var(--grad-orange); }
.pcard .prow:nth-child(5n+4) .prow-ic { background: linear-gradient(135deg, #22A06B, #1E8E5A); }
.pcard .prow:nth-child(5n+5) .prow-ic { background: linear-gradient(135deg, #8B5CF6, #6D28D9); }
.btn-danger { background: #FEECEB; color: #B42318; border: 0; border-radius: 18px; }

/* ---------- my listings ---------- */
.myitem { border-radius: 24px; border: 0; box-shadow: var(--shadow-card); background: #fff; animation: rise .5s cubic-bezier(.2, .9, .3, 1) both; }
.mylist .myitem:nth-child(2) { animation-delay: .07s; } .mylist .myitem:nth-child(3) { animation-delay: .14s; } .mylist .myitem:nth-child(n+4) { animation-delay: .2s; }
.myitem-img { border-radius: 18px; overflow: hidden; }
.myitem-body .status { border-radius: 999px; font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.myitem-body .price { background: var(--grad-orange); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 800; }
.myitem-actions .btn-ghost { background: var(--field); border: 0; border-radius: 12px; }
.myitem-actions .btn-danger, .myitem-actions [data-delete] { border-radius: 12px; }

/* ---------- buttons & empty states ---------- */
.btn-orange { background: var(--grad-orange); border: 0; box-shadow: 0 10px 22px rgba(232, 89, 12, .3); }
.empty { background: #fff; border-radius: 26px; box-shadow: 0 8px 22px rgba(11, 37, 69, .06); }
.empty-ic { background: var(--soft); color: #E8590C; }

@keyframes pop { from { transform: scale(.4); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .hero::before, .hero::after, .pagebar::before, .pagebar::after, .profile-hero::before, .profile-hero::after,
  .drawer-head::before, .drawer-head::after, .big-avatar, .big-avatar img, .bottomnav .bn-plus { animation: none !important; }
}

/* Property page on phones: like the app details screen — no bottom bar, contact bar at the very bottom. */
@media (max-width: 700px) {
  body:has(.detail) .bottomnav { display: none; }
  body:has(.detail) .contact { bottom: 0; border-radius: 26px 26px 0 0; padding-bottom: calc(12px + env(safe-area-inset-bottom)); animation: rise .45s cubic-bezier(.2, .9, .3, 1) .15s both; }
  body:has(.detail) { padding-bottom: 150px; }
}

/* ---------- location map markers ---------- */
.mk-wrap { background: none; border: 0; }
.mk-home { position: relative; width: 44px; height: 44px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg);
  background: linear-gradient(135deg, #0B2545, #1B3A6B); border: 3px solid #F7931E; box-shadow: 0 8px 18px rgba(11, 37, 69, .45); display: grid; place-items: center; }
.mk-home svg { width: 22px; height: 22px; fill: #fff; transform: rotate(45deg); }
.mk-pulse { position: absolute; inset: -10px; border-radius: 50%; border: 3px solid rgba(247, 147, 30, .6); animation: mkpulse 1.8s ease-out infinite; }
@keyframes mkpulse { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.5); opacity: 0; } }
/* Nearby place: coloured icon + small name box (name hidden by JS when zoomed out or it would overlap). */
.mk-place { display: inline-flex; align-items: center; white-space: nowrap; }
.mk-ic { width: 22px; height: 22px; border-radius: 50%; background: var(--c); border: 2px solid #fff; box-shadow: 0 2px 6px rgba(11, 37, 69, .35); display: grid; place-items: center; flex: none; }
.mk-ic svg { width: 12px; height: 12px; fill: #fff; }
.mk-name { margin-left: 3px; padding: 2px 6px; border-radius: 6px; background: rgba(255, 255, 255, .95); border-left: 3px solid var(--c);
  font: 700 10px/1.2 "Plus Jakarta Sans", system-ui, sans-serif; color: #0B2545; box-shadow: 0 2px 6px rgba(11, 37, 69, .2); transition: opacity .2s; }
.mk-place.no-name .mk-name { opacity: 0; visibility: hidden; }
.detail .map { height: 320px; }
.gmk { position: absolute; }
.gmk-home { z-index: 10; }

/* ---------- Help & support / About sheets ---------- */
.ks-sheet-scrim { position: fixed; inset: 0; z-index: 120; background: rgba(7, 26, 51, .5); backdrop-filter: blur(3px); animation: fade .2s; }
.ks-sheet { position: fixed; z-index: 121; left: 50%; bottom: 0; width: min(480px, 100%); transform: translateX(-50%);
  background: #fff; border-radius: 30px 30px 0 0; overflow: hidden; box-shadow: 0 -20px 50px rgba(7, 26, 51, .3);
  animation: sheetup .38s cubic-bezier(.2, .9, .3, 1); max-height: 92vh; overflow-y: auto; }
@media (min-width: 701px) { .ks-sheet { bottom: auto; top: 50%; transform: translate(-50%, -50%); border-radius: 28px; animation: sheetpop .3s cubic-bezier(.34, 1.56, .64, 1); } }
@keyframes sheetup { from { transform: translate(-50%, 100%); } }
@keyframes sheetpop { from { transform: translate(-50%, -46%) scale(.94); opacity: 0; } }
.ks-sheet-head, .ks-sheet-hero { position: relative; overflow: hidden; isolation: isolate; background: var(--grad-navy); color: #fff; }
.ks-sheet-head::before, .ks-sheet-hero::before { content: ""; position: absolute; z-index: -1; width: 300px; height: 300px; right: -100px; top: -140px; border-radius: 50%;
  background: radial-gradient(circle, rgba(247,147,30,.45), transparent 68%); animation: orbA 10s ease-in-out infinite alternate; }
.ks-sheet-head { display: flex; align-items: center; gap: 12px; padding: 22px 16px 20px 20px; }
.ks-sheet-head img { border-radius: 50%; background: #fff; border: 2px solid #F7931E; }
.ks-sheet-head div { flex: 1; min-width: 0; }
.ks-sheet-head h2, .ks-sheet-hero h2 { margin: 0; font-size: 21px; font-weight: 800; color: #fff; }
.ks-sheet-head p { margin: 2px 0 0; font-size: 12px; color: rgba(255,255,255,.7); }
.ks-sheet-x { width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: #fff; display: grid; place-items: center; cursor: pointer; flex: none; }
.ks-sheet-hero .ks-sheet-x { position: absolute; top: 14px; right: 14px; }
.ks-sheet-x .ic { width: 20px; height: 20px; }
.ks-sheet-hero { text-align: center; padding: 26px 20px 22px; }
.ks-sheet-hero h2 { font-size: 26px; margin-top: 10px; } .ks-sheet-hero h2 b { color: #F7931E; }
.ks-sheet-hero p { margin: 2px 0 0; color: rgba(255,255,255,.75); font-size: 13px; }
.ks-ring { display: inline-block; padding: 4px; border-radius: 50%; background: conic-gradient(#F7931E, #3B6BC0, #E8590C, #F7931E); animation: spinring 8s linear infinite; }
.ks-ring img { border-radius: 50%; background: #fff; border: 3px solid #0B2545; display: block; animation: spinring 8s linear infinite reverse; }
.ks-sheet-body { padding: 16px 18px 22px; }
.ks-opt { display: flex; align-items: center; gap: 14px; padding: 14px; margin-bottom: 10px; border-radius: 20px; background: #fff; color: #0B2545;
  box-shadow: 0 8px 22px rgba(11, 37, 69, .1); transition: transform .2s, box-shadow .2s; animation: rise .45s cubic-bezier(.2, .9, .3, 1) both; }
.ks-opt:nth-child(2) { animation-delay: .07s; } .ks-opt:nth-child(3) { animation-delay: .14s; }
.ks-opt:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(11, 37, 69, .15); }
.ks-opt-ic { width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; color: #fff; flex: none; }
.ks-opt-ic .ic { width: 24px; height: 24px; }
.g-wa { background: linear-gradient(135deg, #25D366, #128C7E); } .g-navy { background: var(--grad-navy); } .g-orange { background: var(--grad-orange); }
.ks-opt-t { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.ks-opt-t strong { font-size: 16px; } .ks-opt-t small { color: #667085; font-size: 13px; }
.ks-opt .chev { color: #667085; font-size: 22px; }
.ks-note { margin: 6px 0 0; padding: 12px; border-radius: 14px; background: var(--field); font-size: 12px; color: #0B2545; }
.ks-lead { text-align: center; margin: 0 0 12px; color: #0B2545; }
.ks-feat { display: flex; align-items: center; gap: 12px; padding: 6px 0; animation: rise .45s cubic-bezier(.2, .9, .3, 1) both; }
.ks-feat .ks-opt-ic { width: 40px; height: 40px; border-radius: 13px; } .ks-feat .ks-opt-ic .ic { width: 20px; height: 20px; }
.ks-feat span:last-child { display: flex; flex-direction: column; } .ks-feat strong { font-size: 14px; } .ks-feat small { color: #667085; font-size: 12px; }
.ks-chips { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.ks-chips a { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 12px; border-radius: 14px; background: var(--field); color: #0B2545; font-weight: 600; font-size: 13px; }
.ks-chips .ic { width: 18px; height: 18px; }
.ks-foot { text-align: center; color: #667085; font-size: 11px; margin: 16px 0 0; }

/* ---------- colourful card details (type, ID, location, facts) ---------- */
.card-body .card-tags { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.card-body .kicker { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 4px; border-radius: 10px;
  background: linear-gradient(120deg, #FFF1E6, #FFE3CC); color: #E8590C; }
.card-body .kicker .ic { width: 20px; height: 20px; padding: 3px; box-sizing: border-box; border-radius: 7px; background: var(--grad-orange); color: #fff; }
.card-body .pid { float: none; padding: 4px 9px; border-radius: 10px; background: #EAF0FA; border: 1px solid rgba(11, 37, 69, .12);
  color: #0B2545; font-size: 11px; font-weight: 800; letter-spacing: .05em; }
.card-body h3 { font-size: 19px; font-weight: 800; margin-top: 10px; }
.card-body .loc { display: flex; align-items: center; gap: 7px; margin-top: 6px; color: #475467; font-weight: 500; }
.card-body .loc > .ic { width: 22px; height: 22px; padding: 4px; box-sizing: border-box; border-radius: 50%; background: var(--grad-orange); color: #fff; flex: none; }
.card-body .facts { position: relative; padding-top: 12px; margin-top: 12px; }
.card-body .facts::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, #E4E8F0, rgba(247, 147, 30, .35), #E4E8F0); }
.card-body .facts span { --c: #3B6BC0; border-radius: 999px; padding: 4px 11px 4px 4px; font-weight: 700;
  background: color-mix(in srgb, var(--c) 9%, #fff); border: 1px solid color-mix(in srgb, var(--c) 18%, #fff);
  color: color-mix(in srgb, var(--c) 72%, #000); animation: factpop .5s cubic-bezier(.34, 1.56, .64, 1) both; }
.card-body .facts .ic { width: 22px; height: 22px; padding: 4px; box-sizing: border-box; border-radius: 50%; background: var(--c); color: #fff; }
.card-body .facts .f-bhk { --c: #4F46E5; } .card-body .facts .f-furn { --c: #0F766E; }
.card-body .facts .f-tenant { --c: #D6336C; } .card-body .facts .f-area { --c: #3B6BC0; }
.card-body .facts span:nth-child(1) { animation-delay: .3s; } .card-body .facts span:nth-child(2) { animation-delay: .39s; }
.card-body .facts span:nth-child(3) { animation-delay: .48s; } .card-body .facts span:nth-child(4) { animation-delay: .57s; }
@keyframes factpop { from { opacity: 0; transform: scale(.7); } to { opacity: 1; transform: none; } }

/* ---------- each card is one clear unit: photo inset in a white frame, more space between cards ---------- */
.grid { gap: 26px; }
.card { padding: 8px; border: 1px solid #E4E8F0; border-radius: 28px; box-shadow: 0 16px 38px rgba(11, 37, 69, .16); }
.card-media { border-radius: 21px; overflow: hidden; height: 210px; }
.card .fav { top: 18px; right: 18px; }
.card-body { padding: 12px 8px 8px; }

/* Property card: soft cream → pale sky gradient instead of plain white */
.card { background: linear-gradient(165deg, #FFEFDF 0%, #FFF7EE 40%, #EAF1FF 100%); border-color: #F6DEC6; }

/* Bottom bar: light peach → white → pale sky gradient */
@media (max-width: 700px) { .bottomnav { background: linear-gradient(90deg, #FFEFDF 0%, #FFFAF4 50%, #EAF1FF 100%); border: 1px solid #F6DEC6; } }

/* ---------- flowing light colours (bottom bar + property cards), like the app ---------- */
:root { --flow: linear-gradient(110deg, #FFE8D6, #FFE3EC, #ECE6FF, #E3F0FF, #E1F7EE, #FFE8D6, #FFE3EC); }
@keyframes flow { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }
@media (max-width: 700px) {
  .bottomnav { background: var(--flow); background-size: 400% 100%; animation: flow 16s linear infinite alternate; }
}
.card { background: var(--flow); background-size: 400% 400%; animation: rise .55s cubic-bezier(.2, .9, .3, 1) both, flow 28s linear infinite alternate; }
.grid .card:nth-child(2n) { animation-delay: .07s, -9s; } .grid .card:nth-child(3n) { animation-delay: .14s, -17s; }
@media (prefers-reduced-motion: reduce) { .card, .bottomnav { animation: none !important; } }

/* ---------- Post button: heartbeat, shifting colour, spinning ring, sonar ripples ---------- */
@media (max-width: 700px) {
  .bottomnav .bn-post { overflow: visible; }
  .bottomnav .bn-plus {
    position: relative; isolation: isolate; width: 56px; height: 56px; margin-top: -34px;
    background: linear-gradient(135deg, #F7931E, #E8590C, #FF5E62, #E2367A); background-size: 300% 300%;
    animation: postbeat 1.8s ease-in-out infinite, postflow 6.4s ease-in-out infinite alternate;
    box-shadow: 0 10px 24px rgba(232, 89, 12, .45);
  }
  .bottomnav .bn-plus::before { /* spinning colour ring */
    content: ""; position: absolute; inset: -6px; z-index: -1; border-radius: 50%;
    background: conic-gradient(#FFC46B, #F7931E, #E2367A, #8B5CF6, #FFC46B); animation: spinring 2.6s linear infinite;
  }
  .bottomnav .bn-plus::after { /* sonar ripple */
    content: ""; position: absolute; inset: -3px; z-index: -2; border-radius: 50%; background: #FF7A45;
    animation: sonar 2s ease-out infinite;
  }
  .bottomnav .bn-post > span:last-child { color: #E2367A; font-weight: 800; animation: posttext 3.2s ease-in-out infinite alternate; }
  .bottomnav .bn-post:active .bn-plus { transform: scale(.88); }
}
@keyframes postbeat { 0%, 100% { transform: scale(1); } 12% { transform: scale(1.1); } 23% { transform: scale(.97); } 33% { transform: scale(1.06); } 45% { transform: scale(1); } }
@keyframes postflow { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }
@keyframes sonar { from { transform: scale(1); opacity: .55; } to { transform: scale(1.6); opacity: 0; } }
@keyframes posttext { from { color: #E8590C; } to { color: #E2367A; } }
@media (prefers-reduced-motion: reduce) { .bottomnav .bn-plus, .bottomnav .bn-plus::before, .bottomnav .bn-plus::after { animation: none !important; } }
@media (max-width: 700px) {
  /* ring + ripple only around the button (hollow), never over it */
  .bottomnav .bn-plus::before { -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 5px), #000 calc(100% - 4px)); mask: radial-gradient(farthest-side, transparent calc(100% - 5px), #000 calc(100% - 4px)); }
  .bottomnav .bn-plus::after { inset: -6px; -webkit-mask: radial-gradient(farthest-side, transparent 70%, #000 72%); mask: radial-gradient(farthest-side, transparent 70%, #000 72%); }
  .bottomnav .bn-plus { border: 3px solid #fff; }
}

/* Property cards: still light gradient (only the bottom bar / Post button animate) */
.card { background: linear-gradient(165deg, #FFEFDF 0%, #FFF7EE 40%, #EAF1FF 100%); background-size: auto; animation: rise .55s cubic-bezier(.2, .9, .3, 1) both; }
.grid .card:nth-child(2n) { animation-delay: .07s; } .grid .card:nth-child(3n) { animation-delay: .14s; }

/* ---------- coloured, gently animated tab icons + smaller Post ---------- */
@media (max-width: 700px) {
  .bottomnav a[href="/"] { --c1: #F7931E; --c2: #E8590C; }
  .bottomnav a[href="/saved.php"] { --c1: #F0507A; --c2: #D6336C; }
  .bottomnav a[href="/my-listings.php"] { --c1: #8B5CF6; --c2: #6D28D9; }
  .bottomnav a[href*="account"], .bottomnav a[href*="login"] { --c1: #14B8A6; --c2: #0F766E; }
  .bottomnav a:not(.bn-post) { color: #667085; font-weight: 600; }
  .bottomnav a:not(.bn-post) .ic {
    width: 21px; height: 21px; padding: 6.5px; border-radius: 50%; color: var(--c2);
    background: color-mix(in srgb, var(--c1) 18%, transparent); animation: tabfloat 2.8s ease-in-out infinite;
  }
  .bottomnav a[href="/saved.php"] .ic { animation-delay: -.7s; } .bottomnav a[href="/my-listings.php"] .ic { animation-delay: -1.4s; }
  .bottomnav a[href*="account"] .ic, .bottomnav a[href*="login"] .ic { animation-delay: -2.1s; }
  .bottomnav a.on { color: var(--c2); font-weight: 800; }
  .bottomnav a.on .ic {
    padding: 6.5px 15px; border-radius: 17px; color: #fff; background: linear-gradient(120deg, var(--c1), var(--c2));
    box-shadow: 0 6px 14px color-mix(in srgb, var(--c1) 45%, transparent); animation: navpop .45s cubic-bezier(.34, 1.56, .64, 1);
  }
  .bottomnav .bn-plus { width: 49px; height: 49px; margin-top: -28px; }
  .bottomnav .bn-plus .ic { width: 25px; height: 25px; }
}
@keyframes tabfloat { 0%, 100% { transform: translateY(1px) scale(.95); } 50% { transform: translateY(-2px) scale(1.04); } }
@media (prefers-reduced-motion: reduce) { .bottomnav a .ic { animation: none !important; } }

/* ---------- property page: colourful details ---------- */
.detail-hero { background: linear-gradient(160deg, #FFEFDF, #FFF7EE 45%, #EAF1FF); border: 1px solid #F6DEC6; border-radius: 26px;
  padding: 16px; box-shadow: 0 14px 32px rgba(11, 37, 69, .14); animation: rise .5s cubic-bezier(.2, .9, .3, 1) both; }
.detail-hero .big-price { background: linear-gradient(90deg, #E8590C, #E2367A, #3B6BC0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.detail-hero .detail-title { font-weight: 800; }
.detail-hero .pid-line b { background: #EAF0FA; border: 1px solid rgba(11,37,69,.12); border-radius: 8px; padding: 1px 7px; }
.detail-hero .loc { display: flex; align-items: center; gap: 8px; color: #475467; font-weight: 500; }
.detail-hero .loc > .ic { width: 24px; height: 24px; padding: 4px; box-sizing: border-box; border-radius: 50%; background: var(--grad-orange); color: #fff; }
.detail-hero .detail-head .kicker { background: rgba(255,255,255,.8); border-radius: 10px; padding: 4px 10px; }
/* colourful fact chips */
.detail .facts span { --c: #3B6BC0; box-shadow: none; border-radius: 999px; padding: 5px 13px 5px 5px; font-weight: 700;
  background: color-mix(in srgb, var(--c) 10%, #fff); border: 1px solid color-mix(in srgb, var(--c) 20%, #fff); color: color-mix(in srgb, var(--c) 72%, #000);
  animation: factpop .5s cubic-bezier(.34, 1.56, .64, 1) both; }
.detail .facts .ic { width: 26px; height: 26px; padding: 5px; box-sizing: border-box; border-radius: 50%; background: var(--c); color: #fff; }
.detail .facts .f-bhk { --c: #4F46E5; } .detail .facts .f-furn { --c: #0F766E; } .detail .facts .f-tenant { --c: #D6336C; } .detail .facts .f-area { --c: #3B6BC0; }
.detail .facts span:nth-child(2) { animation-delay: .08s; } .detail .facts span:nth-child(3) { animation-delay: .16s; } .detail .facts span:nth-child(4) { animation-delay: .24s; }
/* about card with gradient accent */
.desc-card { position: relative; background: #fff; border-radius: 20px; padding: 14px 16px 14px 20px; overflow: hidden; box-shadow: 0 6px 18px rgba(11, 37, 69, .06); }
.desc-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: linear-gradient(180deg, #F7931E, #E2367A, #6366F1); }
.desc-card .desc { margin: 0; }
/* details as colourful tiles */
.dtiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 12px 0 8px; }
@media (min-width: 900px) { .dtiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.dt { --c1: #F7931E; --c2: #E8590C; display: flex; align-items: center; gap: 10px; padding: 11px; border-radius: 18px;
  background: linear-gradient(135deg, #fff, color-mix(in srgb, var(--c1) 10%, #fff)); box-shadow: 0 6px 16px color-mix(in srgb, var(--c1) 22%, transparent);
  animation: factpop .5s cubic-bezier(.34, 1.56, .64, 1) both; min-width: 0; }
.dt-ic { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; color: #fff; flex: none; background: linear-gradient(135deg, var(--c1), var(--c2)); }
.dt-ic .ic { width: 20px; height: 20px; }
.dt-t { display: flex; flex-direction: column; min-width: 0; }
.dt-t small { color: #667085; font-size: 11px; } .dt-t strong { font-size: 13px; font-weight: 800; overflow: hidden; text-overflow: ellipsis; }
.dt:nth-child(9n+1) { --c1: #3B6BC0; --c2: #0B2545; } .dt:nth-child(9n+2) { --c1: #F7931E; --c2: #E8590C; }
.dt:nth-child(9n+3) { --c1: #22A06B; --c2: #1E8E5A; } .dt:nth-child(9n+4) { --c1: #6366F1; --c2: #4338CA; }
.dt:nth-child(9n+5) { --c1: #14B8A6; --c2: #0F766E; } .dt:nth-child(9n+6) { --c1: #60A5FA; --c2: #3B6BC0; }
.dt:nth-child(9n+7) { --c1: #F0507A; --c2: #D6336C; } .dt:nth-child(9n+8) { --c1: #8B5CF6; --c2: #6D28D9; } .dt:nth-child(9n) { --c1: #F59E0B; --c2: #D97706; }
.dt:nth-child(n+2) { animation-delay: .05s; } .dt:nth-child(n+4) { animation-delay: .12s; } .dt:nth-child(n+6) { animation-delay: .19s; } .dt:nth-child(n+8) { animation-delay: .26s; }
/* amenities with varied colours */
.am:nth-child(4n+1) .am-ic { background: linear-gradient(135deg, #6366F1, #4338CA); } .am:nth-child(4n+2) .am-ic { background: linear-gradient(135deg, #14B8A6, #0F766E); }
.am:nth-child(4n+3) .am-ic { background: linear-gradient(135deg, #F0507A, #D6336C); } .am:nth-child(4n) .am-ic { background: var(--grad-orange); }

/* ---------- login / sign-up: animated night-city scene behind a glass card ---------- */
.ks-scene { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 0; pointer-events: none; }
body.has-scene { background: #050F22; }
body.has-scene main, body.has-scene .pagebar { position: relative; z-index: 1; }
body.has-scene .pagebar { background: rgba(7, 26, 51, .35); backdrop-filter: blur(10px); box-shadow: none; }
body.has-scene .pagebar::before, body.has-scene .pagebar::after { display: none; }
body.has-scene .footer { position: relative; z-index: 1; }
body.has-scene .bottomnav { z-index: 60; }
body.has-scene .footer { background: transparent; }
.has-scene .auth { position: relative; z-index: 1; padding-bottom: 40px; }
.has-scene .auth-side { color: #fff; text-align: center; }
.has-scene .auth-side h1 { color: #fff; font-size: 30px; font-weight: 800; }
.has-scene .auth-side p { color: rgba(255, 255, 255, .78); }
.auth-logo { margin: 0 auto 6px; box-shadow: 0 0 0 10px rgba(247, 147, 30, .15), 0 0 40px rgba(247, 147, 30, .45); animation: spinring 3.2s linear infinite, logozoom .8s cubic-bezier(.34, 1.56, .64, 1) both; }
.auth-logo img { animation: spinring 3.2s linear infinite reverse; }
@keyframes logozoom { from { transform: scale(0); } }
.has-scene .auth-card { background: rgba(255, 255, 255, .94); backdrop-filter: blur(14px); border: 1px solid rgba(255, 255, 255, .6);
  border-radius: 26px; box-shadow: 0 30px 60px rgba(0, 0, 0, .35); }
.has-scene .auth-card h2 { font-weight: 800; }
.has-scene .auth-card .btn-orange { background: linear-gradient(120deg, #F7931E, #E8590C, #E2367A); background-size: 200% 100%; animation: postflow 4s ease-in-out infinite alternate; }

/* ---------- top bar joins the navy header below it (Profile, Privacy, Terms…): no light gap at the corners ---------- */
body:has(main > .profile-hero) .pagebar, body:not(.page-saved):not(.page-listings):has(main > .pagehead) .pagebar {
  border-radius: 0; box-shadow: none; background: #0B2545;
}
.page-saved .pagebar, .page-listings .pagebar { border-radius: 0 0 28px 28px; box-shadow: 0 14px 30px rgba(7, 26, 51, .22); background: var(--grad-navy); }
main > .profile-hero, main > .pagehead { margin-top: 0; background: linear-gradient(180deg, #0B2545 0%, #1B3A6B 100%); }
main > .pagehead { padding-top: 14px; }
main > .profile-hero { padding-top: 18px; }

/* ---------- Saved / My listings: navy header extends and the content overlaps it (like the app), no light strip ---------- */
.page-saved .pagebar, .page-listings .pagebar { position: relative; top: auto; z-index: 1; padding-bottom: 38px; }
.page-saved main, .page-listings main { position: relative; z-index: 2; margin-top: -40px; }
.page-saved main > .wrap:first-of-type, .page-listings main > .wrap:first-of-type { padding-top: 0; }
.page-saved .empty, .page-listings .empty { margin-top: 0; box-shadow: 0 16px 38px rgba(11, 37, 69, .18); border: 0; }
.page-saved .grid, .page-listings .mylist { margin-top: 0; padding-top: 0; }

/* ---------- Home, Saved, My listings: same top bar as Home, pinned while scrolling ---------- */
.page-home .topbar, .page-saved .topbar, .page-listings .topbar {
  position: sticky; top: 0; z-index: 50; background: #071A33; box-shadow: 0 8px 24px rgba(7, 26, 51, .25); backdrop-filter: none;
}
.page-saved .topbar .menu-btn, .page-saved .topbar .profile-btn, .page-listings .topbar .menu-btn, .page-listings .topbar .profile-btn {
  background: var(--glass); border: 1px solid var(--glass-line); border-radius: 50%;
}
.page-saved .topbar .profile-btn, .page-listings .topbar .profile-btn { background: var(--grad-orange); border-color: rgba(255,255,255,.5); }
.page-home .topbar { box-shadow: none; } /* the hero continues the navy below it */
/* undo the earlier "overlap the navy header" layout — there's no extended header on these pages now */
.page-saved main, .page-listings main { margin-top: 0; }
/* page title in the content, light style */
.page-saved .pagehead, .page-listings .pagehead { display: block; background: none; color: #0B2545; padding: 20px 0 6px; margin: 0; border-radius: 0; box-shadow: none; }
.page-saved .pagehead::before, .page-saved .pagehead::after, .page-listings .pagehead::before, .page-listings .pagehead::after { display: none; }
.page-saved .pagehead h1, .page-listings .pagehead h1 { display: block; color: #0B2545; font-size: 24px; font-weight: 800; position: relative; padding-bottom: 8px; }
.page-saved .pagehead h1::after, .page-listings .pagehead h1::after { content: ""; position: absolute; left: 0; bottom: 0; width: 36px; height: 4px; border-radius: 4px; background: var(--grad-orange); }
.page-saved .pagehead p, .page-listings .pagehead p { display: block; color: #667085; margin: 6px 0 12px; }

/* Saved / My listings: page name is in the top bar now, so no second title in the page */
.page-saved .pagehead, .page-listings .pagehead { display: none; }
.page-saved main > .wrap:first-of-type, .page-listings main > .wrap:first-of-type { padding-top: 18px; }

/* ---------- contact number OTP ---------- */
.otp-btn { flex: none; border: 0; border-radius: 14px; padding: 0 16px; font: 700 14px/1 inherit; color: #fff; cursor: pointer;
  background: var(--grad-orange); box-shadow: 0 6px 14px rgba(232, 89, 12, .3); }
.otp-btn:disabled { opacity: .7; }
.otp-ok { flex: none; align-self: center; color: #1E8E5A; font-weight: 800; background: #E7F6EE; border-radius: 12px; padding: 8px 12px; animation: pop .4s cubic-bezier(.34, 1.56, .64, 1); }
.otp-box { margin-top: 10px; padding: 14px; border-radius: 18px; background: linear-gradient(160deg, #FFF1E6, #F4F7FF); border: 1px solid #F6DEC6; animation: rise .35s ease both; }
.otp-msg { margin: 0 0 10px; font-size: 13px; color: #0B2545; } .otp-msg.bad { color: #B42318; }
.otp-row { display: flex; gap: 8px; }
.otp-row input { flex: 1; min-width: 0; text-align: center; letter-spacing: .5em; font-size: 20px; font-weight: 800; border-radius: 14px; }
.otp-box .linkbtn { margin-top: 8px; font-size: 13px; }
.otp-box .linkbtn:disabled { color: #667085; cursor: default; }

/* Deposit under the price (smaller), PG "/bed" suffix; locked choices on the post form */
.card-media .price-pill i{font-style:normal;font-size:13px;font-weight:700;opacity:.9;margin-left:2px}
.card-media .price-pill small{display:block;font-size:12px;font-weight:700;letter-spacing:0;opacity:.95;margin-top:1px}
.seg label.off{opacity:.4;pointer-events:none}
.deposit-line{display:block;font-size:14px;font-weight:600;color:var(--muted,#667085);margin-top:2px}
