/* KeySpace website — same look as the Android app (navy + orange). */
:root {
  --navy: #0B2545; --navy2: #1B3A6B; --orange: #F7931E; --orange2: #E8590C; --green: #1E8E5A;
  --bg: #F5F7FB; --card: #fff; --line: #E4E8F0; --muted: #667085; --text: #0B2545; --red: #B42318; --heart: #E5484D;
  --radius: 20px; --shadow: 0 10px 30px rgba(11, 37, 69, .08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 15px/1.55 "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; background: var(--bg); color: var(--text); -webkit-font-smoothing: antialiased; }
a { color: var(--orange2); text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3 { margin: 0; line-height: 1.2; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.center { text-align: center; }
.ic { width: 18px; height: 18px; fill: currentColor; flex: none; vertical-align: -3px; }
.req { color: var(--red); font-weight: 800; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 14px; padding: 12px 20px; font: inherit; font-weight: 700; cursor: pointer; transition: transform .12s ease, box-shadow .2s ease, background .2s; white-space: nowrap; }
.btn:active { transform: scale(.97); }
.btn-orange { background: var(--orange); color: #fff; box-shadow: 0 6px 16px rgba(247, 147, 30, .35); }
.btn-orange:hover { background: #f08a0c; box-shadow: 0 8px 22px rgba(247, 147, 30, .45); }
.btn-ghost { background: #fff; color: var(--text); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--orange); }
.btn-danger { background: #fff; color: var(--red); border: 1.5px solid #FECDCA; }
.btn-danger:hover { background: var(--red); color: #fff; }
.btn-sm { padding: 8px 14px; font-size: 14px; border-radius: 12px; }
.btn-lg { padding: 16px 22px; font-size: 16px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; pointer-events: none; }
.iconbtn { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 0; background: #FFF4E5; color: var(--text); cursor: pointer; }
.linkbtn { border: 0; background: none; color: var(--orange2); font: inherit; font-weight: 700; cursor: pointer; display: inline-flex; gap: 4px; align-items: center; }

/* ---------- header ---------- */
.topbar { position: sticky; top: 0; z-index: 40; background: rgba(11, 37, 69, .96); backdrop-filter: blur(10px); color: #fff; }
.topbar-in { display: flex; align-items: center; gap: 16px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; font-size: 21px; }
.brand img { border-radius: 50%; }
.brand b { color: var(--orange); }
.mainnav { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.mainnav > a:not(.btn) { color: rgba(255, 255, 255, .82); font-weight: 600; padding: 8px 12px; border-radius: 10px; }
.mainnav > a:not(.btn):hover, .mainnav > a.on { color: #fff; background: rgba(255, 255, 255, .1); }
.mainnav .btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.post-btn { margin: 0 6px; }
.navtoggle { display: none; margin-left: auto; background: none; border: 0; color: #fff; cursor: pointer; }
.navtoggle .ic { width: 26px; height: 26px; }
.usermenu { position: relative; }
.usermenu summary { list-style: none; display: flex; align-items: center; gap: 8px; cursor: pointer; color: #fff; font-weight: 600; padding: 4px 10px 4px 4px; border-radius: 30px; background: rgba(255, 255, 255, .08); }
.usermenu summary::-webkit-details-marker { display: none; }
.avatar { width: 36px; height: 36px; border-radius: 50%; overflow: hidden; flex: none; background: var(--navy); }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.usermenu-pop { position: absolute; right: 0; top: calc(100% + 10px); width: 250px; background: #fff; color: var(--text); border-radius: 16px; box-shadow: var(--shadow); padding: 8px; animation: pop .16s ease; }
.usermenu-pop .who { padding: 10px 12px; border-bottom: 1px solid var(--line); margin-bottom: 6px; display: flex; flex-direction: column; }
.usermenu-pop .who span { color: var(--muted); font-size: 13px; overflow: hidden; text-overflow: ellipsis; }
.usermenu-pop a, .usermenu-pop button { display: flex; gap: 10px; align-items: center; width: 100%; padding: 10px 12px; border-radius: 10px; color: var(--text); background: none; border: 0; font: inherit; cursor: pointer; text-align: left; }
.usermenu-pop a:hover, .usermenu-pop button:hover { background: #FFF4E5; }
.usermenu-pop form { margin: 0; }
@keyframes pop { from { opacity: 0; transform: translateY(-6px) scale(.98); } }

/* Narrow screens: links move into a dropdown under the bar (fully hidden until ☰ is tapped). */
@media (max-width: 1020px) {
  .navtoggle { display: block; }
  .mainnav { position: fixed; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; background: var(--navy); padding: 12px 20px 20px; gap: 4px; box-shadow: 0 20px 40px rgba(0, 0, 0, .25); border-radius: 0 0 22px 22px;
    visibility: hidden; opacity: 0; transform: translateY(-10px); pointer-events: none; transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s; }
  .mainnav.open { visibility: visible; opacity: 1; transform: none; pointer-events: auto; transition: opacity .2s ease, transform .2s ease; }
  .mainnav > a:not(.btn) { padding: 12px 14px; }
  .post-btn { margin: 8px 0; }
  .usermenu summary { background: rgba(255, 255, 255, .06); }
  .usermenu-pop { position: static; width: auto; margin-top: 8px; }
}
.brand { flex: none; }
.brand span { white-space: nowrap; }

/* ---------- hero & search ---------- */
.hero { background: linear-gradient(135deg, var(--navy), var(--navy2)); color: #fff; padding: 34px 0 44px; border-radius: 0 0 32px 32px; }
.hero h1 { font-size: clamp(24px, 3.4vw, 36px); font-weight: 800; }
.hero h1 span { color: var(--orange); }
.hero-sub { margin: 6px 0 20px; color: rgba(255, 255, 255, .75); }
.searchbar { display: flex; align-items: center; gap: 8px; background: #fff; border-radius: 18px; padding: 6px 6px 6px 16px; box-shadow: 0 14px 34px rgba(0, 0, 0, .18); max-width: 720px; }
.searchbar .sb-icon { color: var(--orange2); }
.searchbar input { flex: 1; border: 0; font: inherit; font-size: 16px; outline: 0; min-width: 0; color: var(--text); }
.announce { margin-top: -18px; position: relative; background: linear-gradient(90deg, #FFF4E5, #FFE8CC); border-radius: 16px; padding: 12px 16px; font-weight: 600; box-shadow: var(--shadow); }

/* ---------- quick chips & filters ---------- */
.quick { display: flex; gap: 8px; overflow-x: auto; padding: 20px 0 6px; scrollbar-width: none; }
.quick::-webkit-scrollbar { display: none; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; border-radius: 22px; background: #fff; border: 1px solid var(--line); color: var(--text); font: inherit; font-weight: 600; cursor: pointer; white-space: nowrap; transition: all .15s; }
.chip:hover { border-color: var(--orange); }
.chip.on { background: var(--orange); border-color: var(--orange); color: #fff; }
/* Filters stays visible at the right edge while the chips scroll underneath it. */
.chip-filter { position: sticky; right: 0; margin-left: auto; box-shadow: -14px 0 14px -2px var(--bg); }
.chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange2); }

.filters { display: none; background: #fff; border-radius: 22px; box-shadow: var(--shadow); padding: 20px; margin-top: 12px; animation: slideDown .22s ease; }
.filters.open { display: block; }
.filters-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.filters-head h2 { font-size: 20px; }
.fgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.filters-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 16px; }
.scrim { display: none; }
@keyframes slideDown { from { opacity: 0; transform: translateY(-8px); } }
@media (max-width: 700px) {
  .filters { position: fixed; z-index: 60; inset: auto 0 0 0; margin: 0; border-radius: 26px 26px 0 0; max-height: 88vh; overflow: auto; animation: sheetUp .28s cubic-bezier(.2, .9, .3, 1); }
  .filters.open + .scrim { display: block; position: fixed; inset: 0; z-index: 55; background: rgba(11, 37, 69, .45); }
  .filters-actions .btn { flex: 1; }
  @keyframes sheetUp { from { transform: translateY(100%); } }
}

/* ---------- form fields ---------- */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field > span { font-weight: 600; font-size: 14px; }
.field input, .field select, .field textarea, .pair input, .affix { width: 100%; border: 1.5px solid var(--line); border-radius: 14px; padding: 12px 14px; font: inherit; color: var(--text); background: #fff; transition: border-color .15s, box-shadow .15s; }
.field input:focus, .field select:focus, .field textarea:focus, .pair input:focus, .affix:focus-within { outline: 0; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(247, 147, 30, .15); }
.field.bad input { border-color: var(--red); }
.ferr { color: var(--red); font-size: 13px; }
.pair { display: flex; gap: 8px; }
.pair2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 560px) { .pair2 { grid-template-columns: 1fr; } }
.affix { display: flex; align-items: center; gap: 8px; padding: 0 14px; }
.affix input { border: 0; padding: 12px 0; flex: 1; min-width: 0; outline: 0; box-shadow: none; }
.affix b, .affix i { color: var(--muted); font-style: normal; font-weight: 600; }

/* ---------- results & cards ---------- */
.results-head { display: flex; align-items: baseline; justify-content: space-between; margin: 18px 0 12px; }
.results-head h2 { font-size: 22px; font-weight: 800; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 20px; }
.card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; animation: rise .45s cubic-bezier(.2, .9, .3, 1) both; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.grid .card:nth-child(2) { animation-delay: .05s } .grid .card:nth-child(3) { animation-delay: .1s } .grid .card:nth-child(4) { animation-delay: .15s }
.grid .card:nth-child(5) { animation-delay: .2s } .grid .card:nth-child(6) { animation-delay: .25s } .grid .card:nth-child(n+7) { animation-delay: .3s }
@keyframes rise { from { opacity: 0; transform: translateY(18px) scale(.98); } }
.card-media { position: relative; display: block; height: 210px; background: linear-gradient(135deg, var(--navy), var(--navy2)); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card:hover .card-media img { transform: scale(1.04); }
.ph { display: grid; place-items: center; width: 100%; height: 100%; color: var(--orange); }
.ph .ic { width: 64px; height: 64px; }
.badge { position: absolute; top: 14px; left: 14px; padding: 5px 12px; border-radius: 20px; color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.b-rent { background: var(--green); } .b-lease { background: var(--navy2); } .b-sale { background: var(--orange2); }
.detail-head .badge { position: static; }
.price-pill { position: absolute; left: 14px; bottom: 14px; background: #fff; color: var(--text); padding: 6px 12px; border-radius: 12px; font-weight: 800; box-shadow: 0 4px 12px rgba(0, 0, 0, .15); }
.fav { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: #fff; color: var(--heart); display: grid; place-items: center; cursor: pointer; box-shadow: 0 4px 12px rgba(0, 0, 0, .15); transition: transform .15s; }
.fav:active { transform: scale(1.25); }
.fav .ic { width: 20px; height: 20px; }
.fav-inline { position: static; box-shadow: none; background: #FFF0F0; margin-left: auto; }
.card-body { display: block; padding: 16px; color: var(--text); }
.kicker { color: var(--orange2); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.card-body h3 { font-size: 17px; font-weight: 700; margin: 4px 0; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.loc { color: var(--muted); font-size: 14px; margin: 4px 0 0; display: flex; gap: 4px; align-items: center; }
.dist { color: var(--orange2); font-weight: 700; }
.facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; }
.facts span { display: inline-flex; align-items: center; gap: 6px; background: #F1F4F9; border-radius: 10px; padding: 6px 10px; font-size: 13px; font-weight: 600; }
.facts .ic { width: 16px; height: 16px; color: var(--orange2); }
.empty { text-align: center; background: #fff; border: 1px dashed var(--line); border-radius: 22px; padding: 48px 20px; margin: 20px 0; }
.empty-ic { width: 84px; height: 84px; margin: 0 auto 12px; border-radius: 50%; background: #FFF4E5; display: grid; place-items: center; color: var(--orange); }
.empty-ic .ic { width: 40px; height: 40px; }
.pager { display: flex; align-items: center; justify-content: center; gap: 16px; margin: 28px 0; }
.flash { margin: 16px 0 0; background: #ECFDF3; color: #05603A; border: 1px solid #ABEFC6; padding: 12px 16px; border-radius: 14px; animation: slideDown .3s ease; }
.error { background: #FEF3F2; color: var(--red); border: 1px solid #FECDCA; padding: 12px 14px; border-radius: 14px; margin-bottom: 14px; }
.notice { background: #FFFAEB; color: #B54708; border: 1px solid #FEDF89; padding: 12px 16px; border-radius: 14px; margin-bottom: 14px; }

/* ---------- page heads ---------- */
.pagehead { background: linear-gradient(135deg, var(--navy), var(--navy2)); color: #fff; padding: 30px 0 34px; border-radius: 0 0 28px 28px; margin-bottom: 22px; }
.pagehead h1 { font-size: 28px; font-weight: 800; }
.pagehead p { margin: 4px 0 0; color: rgba(255, 255, 255, .75); }
.pagehead-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ---------- property details ---------- */
.detail { padding-top: 18px; padding-bottom: 40px; }
.crumbs { color: var(--muted); font-size: 14px; margin: 0 0 12px; }
.gallery-main { position: relative; display: block; width: 100%; height: clamp(260px, 52vw, 520px); border: 0; padding: 0; border-radius: 24px; overflow: hidden; cursor: zoom-in; background: linear-gradient(135deg, var(--navy), var(--navy2)); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; transition: opacity .25s; }
.gallery-main .count { position: absolute; right: 16px; bottom: 16px; background: rgba(0, 0, 0, .55); color: #fff; padding: 6px 12px; border-radius: 20px; font-weight: 700; display: flex; gap: 6px; align-items: center; }
.thumbs { display: flex; gap: 10px; overflow-x: auto; padding: 12px 0 2px; }
.thumb { flex: none; width: 92px; height: 70px; border-radius: 12px; overflow: hidden; border: 2.5px solid transparent; padding: 0; cursor: pointer; opacity: .7; transition: all .15s; background: none; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb.on, .thumb:hover { border-color: var(--orange); opacity: 1; }
.detail-grid { display: grid; grid-template-columns: 1fr 340px; gap: 32px; margin-top: 24px; align-items: start; }
.detail-head { display: flex; align-items: center; gap: 10px; }
.big-price { font-size: 32px; font-weight: 800; margin: 12px 0 2px; }
.detail-title { font-size: 22px; font-weight: 700; }
.detail h2 { font-size: 19px; font-weight: 800; margin: 28px 0 10px; }
.desc { color: #344054; }
.table { margin: 0; background: #F1F4F9; border-radius: 16px; padding: 4px 16px; }
.table div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); }
.table div:first-child { border-top: 0; }
.table dt { color: var(--muted); }
.table dd { margin: 0; font-weight: 700; text-align: right; }
.map { height: 300px; border-radius: 18px; border: 1px solid var(--line); z-index: 0; margin-bottom: 8px; }
.contact { position: sticky; top: 88px; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 20px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 10px; }
.owner { display: flex; align-items: center; gap: 12px; margin-bottom: 4px; }
.owner .avatar { width: 46px; height: 46px; }
.owner strong { display: block; }
@media (max-width: 900px) {
  .detail-grid { grid-template-columns: 1fr; }
  .contact { position: fixed; z-index: 30; left: 0; right: 0; bottom: 0; top: auto; border-radius: 22px 22px 0 0; flex-direction: row; flex-wrap: wrap; align-items: center; padding: 12px 16px; }
  .contact .owner { flex: 1 1 100%; margin: 0; }
  .contact .btn { flex: 1; }
  .contact > p { display: none; }
  .detail { padding-bottom: 170px; }
}

/* photo viewer */
.viewer { position: fixed; inset: 0; z-index: 100; background: rgba(0, 0, 0, .94); display: grid; place-items: center; animation: fade .2s; }
.viewer[hidden] { display: none; }
.viewer img { max-width: 92vw; max-height: 86vh; object-fit: contain; border-radius: 8px; animation: zoomIn .25s ease; }
.viewer-close { position: absolute; top: 16px; right: 16px; background: rgba(255, 255, 255, .15); color: #fff; }
.viewer-prev, .viewer-next { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .15); color: #fff; font-size: 34px; cursor: pointer; }
.viewer-prev { left: 16px; } .viewer-next { right: 16px; }
.viewer-count { position: absolute; bottom: 20px; color: #fff; font-weight: 700; background: rgba(255, 255, 255, .15); padding: 6px 14px; border-radius: 20px; }
@keyframes fade { from { opacity: 0; } }
@keyframes zoomIn { from { opacity: 0; transform: scale(.94); } }

/* ---------- auth ---------- */
.auth { display: grid; grid-template-columns: 1fr 440px; gap: 40px; align-items: center; padding: 48px 20px; max-width: 1000px; margin: 0 auto; }
.auth-side h1 { font-size: 34px; font-weight: 800; margin-top: 16px; }
.auth-side p { color: var(--muted); font-size: 17px; }
.auth-side img { border-radius: 50%; box-shadow: var(--shadow); }
.auth-card { background: #fff; border-radius: 24px; padding: 28px; box-shadow: var(--shadow); animation: rise .4s ease; }
.auth-card h2 { font-size: 22px; margin-bottom: 16px; }
@media (max-width: 820px) { .auth { grid-template-columns: 1fr; padding-top: 24px; } .auth-side { text-align: center; } .auth-side img { margin: 0 auto; } }

/* ---------- my listings ---------- */
.mylist { display: grid; gap: 14px; padding-bottom: 40px; }
.myitem { display: flex; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 14px; animation: rise .4s ease both; transition: opacity .3s, transform .3s; }
.myitem.removing { opacity: 0; transform: translateX(30px); }
.myitem-img { flex: none; width: 150px; height: 120px; border-radius: 14px; overflow: hidden; background: linear-gradient(135deg, var(--navy), var(--navy2)); }
.myitem-img img { width: 100%; height: 100%; object-fit: cover; }
.myitem-body { flex: 1; min-width: 0; }
.myitem-body h3 { font-size: 17px; color: var(--text); margin: 6px 0 2px; }
.myitem-body .price { font-weight: 800; color: var(--orange2); margin: 0; }
.myitem-body p { margin: 2px 0; }
.status { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: 12px; font-weight: 800; color: #fff; }
.s-active { background: var(--green); } .s-pending { background: var(--orange2); } .s-rejected { background: var(--red); } .s-inactive, .s-sold, .s-rented { background: #667085; }
.note { background: #F1F4F9; border-radius: 10px; padding: 8px 10px; font-size: 13px; margin-top: 8px !important; color: var(--muted); }
.note.bad { background: #FEF3F2; color: var(--red); }
.myitem-actions { display: flex; align-items: center; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.myitem-actions .muted { margin-right: auto; }
@media (max-width: 600px) { .myitem { flex-direction: column; } .myitem-img { width: 100%; height: 170px; } }

/* ---------- post form (same style as the app's sections) ---------- */
.postform { max-width: 820px; margin: 0 auto 50px; }
.psec { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 20px; margin-bottom: 16px; animation: rise .4s ease both; }
.psec h2 { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 700; margin-bottom: 12px; }
.psec h2 .ic { width: 32px; height: 32px; padding: 7px; border-radius: 50%; background: #FFF4E5; color: var(--orange2); }
.psec h2.mt { margin-top: 20px; }
.psec.bad { border-color: #FECDCA; box-shadow: 0 0 0 4px rgba(180, 35, 24, .08); }
.seg { display: flex; gap: 8px; flex-wrap: wrap; }
.seg label { flex: 1; min-width: 80px; }
.seg input, .tile input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: block; text-align: center; padding: 11px 8px; border: 1.5px solid var(--line); border-radius: 14px; font-weight: 600; cursor: pointer; transition: all .15s; }
.seg span:hover { border-color: var(--orange); }
.seg input:checked + span { background: var(--orange); border-color: var(--orange); color: #fff; animation: bump .2s ease; }
.seg input:focus-visible + span, .tile input:focus-visible + span { box-shadow: 0 0 0 4px rgba(247, 147, 30, .25); }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 10px; }
.tile span { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 6px; border: 1.5px solid var(--line); border-radius: 16px; font-weight: 600; font-size: 14px; color: var(--muted); cursor: pointer; transition: all .15s; }
.tile .ic { width: 26px; height: 26px; }
.tile span:hover { border-color: var(--orange); }
.tile input:checked + span { border-color: var(--orange); background: #FFF6EB; color: var(--orange2); animation: bump .2s ease; }
@keyframes bump { 50% { transform: scale(1.05); } }
.photo-strip { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px; }
.ptile { position: relative; flex: none; width: 112px; height: 112px; border-radius: 16px; overflow: hidden; background: #F1F4F9; animation: rise .3s ease; }
.ptile img { width: 100%; height: 100%; object-fit: cover; }
.ptile:first-child:not(.padd)::after { content: "Cover"; position: absolute; left: 6px; bottom: 6px; background: var(--navy); color: #fff; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 10px; }
.ptile-x { position: absolute; top: 6px; right: 6px; width: 28px; height: 28px; border-radius: 50%; border: 0; background: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: 0 2px 6px rgba(0, 0, 0, .2); }
.ptile-x .ic { width: 16px; height: 16px; }
.padd { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; border: 2px dashed var(--line); background: #FAFBFD; cursor: pointer; color: var(--orange2); font-weight: 700; font-size: 13px; }
.padd:hover { border-color: var(--orange); }
.padd .ic { width: 28px; height: 28px; }
.pick { height: 320px; cursor: crosshair; }

/* ---------- footer ---------- */
.footer { background: var(--navy); color: rgba(255, 255, 255, .8); margin-top: 40px; padding: 32px 0 18px; }
.footer-in { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer .muted { color: rgba(255, 255, 255, .6); }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { color: rgba(255, 255, 255, .85); }
.footer-links a:hover { color: var(--orange); }
.copy { margin-top: 20px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13px; color: rgba(255, 255, 255, .5); }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* ---------- filter panel (same as the app's filter sheet) ---------- */
.fsheet { position: fixed; z-index: 70; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: #fff; display: flex; flex-direction: column;
  box-shadow: -20px 0 50px rgba(11, 37, 69, .2); transform: translateX(105%); visibility: hidden; transition: transform .32s cubic-bezier(.2, .9, .3, 1), visibility 0s linear .32s; }
.fsheet.open { transform: none; visibility: visible; transition: transform .32s cubic-bezier(.2, .9, .3, 1); }
.fsheet.open + .scrim { display: block; position: fixed; inset: 0; z-index: 65; background: rgba(11, 37, 69, .45); animation: fade .2s; }
.fsheet-head { display: flex; align-items: center; gap: 12px; padding: 18px 18px 10px; }
.fsheet-head > div { flex: 1; }
.fsheet-head h2 { font-size: 22px; font-weight: 800; }
.fsheet-head p { margin: 0; font-size: 13px; }
.fsheet-head .handle { display: none; }
.fsheet-body { flex: 1; overflow-y: auto; padding: 0 16px 12px; }
.fsheet-actions { display: flex; gap: 12px; padding: 12px 16px 16px; border-top: 1px solid var(--line); background: #fff; }
.fsheet-actions .btn:first-child { flex: 1; }
.fsheet-actions .btn:last-child { flex: 2; }
.fsec { background: #FAFBFD; border: 1px solid var(--line); border-radius: 18px; padding: 14px; margin-top: 12px; }
.fsheet.open .fsec { animation: rise .35s cubic-bezier(.2, .9, .3, 1) both; }
.fsheet.open .fsec:nth-child(2) { animation-delay: .04s } .fsheet.open .fsec:nth-child(3) { animation-delay: .08s }
.fsheet.open .fsec:nth-child(4) { animation-delay: .12s } .fsheet.open .fsec:nth-child(5) { animation-delay: .16s }
.fsheet.open .fsec:nth-child(6) { animation-delay: .2s } .fsheet.open .fsec:nth-child(7) { animation-delay: .24s } .fsheet.open .fsec:nth-child(8) { animation-delay: .28s }
.fsec h3 { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 700; margin-bottom: 10px; }
.fsec h3 > .ic, .fsec h3 .rupee { width: 32px; height: 32px; padding: 7px; border-radius: 50%; background: #FFF4E5; color: var(--orange2); display: inline-grid; place-items: center; font-weight: 800; }
.fbadge { margin-left: auto; background: var(--orange); color: #fff; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 20px; transition: transform .15s; }
.fbadge.bump { transform: scale(1.12); }
.fsec .seg label { min-width: 0; }
.fsec .seg span { padding: 10px 4px; font-size: 14px; }
.fsec .tiles { grid-template-columns: repeat(4, 1fr); gap: 8px; }
.fsec .tile span { padding: 12px 4px; font-size: 12px; }
.fsec .affix { background: #fff; }
.presets { display: flex; gap: 8px; overflow-x: auto; margin-top: 10px; padding-bottom: 2px; scrollbar-width: none; }
.presets .chip { padding: 7px 12px; font-size: 13px; }
.slider { width: 100%; accent-color: var(--orange); height: 28px; cursor: pointer; }
.slider-ends { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); }
.near-status { display: block; margin-top: 4px; }
.count-badge { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--navy); color: #fff; font-size: 11px; font-weight: 800; display: inline-grid; place-items: center; }
.chip.on .count-badge { background: #fff; color: var(--orange2); }
@media (max-width: 700px) {
  .fsheet { top: auto; left: 0; width: 100%; max-height: 90vh; border-radius: 26px 26px 0 0; transform: translateY(105%); box-shadow: 0 -20px 50px rgba(11, 37, 69, .25); }
  .fsheet-head .handle { display: block; position: absolute; top: 8px; left: 50%; width: 40px; height: 5px; margin-left: -20px; border-radius: 3px; background: var(--line); }
  .fsheet-head { position: relative; padding-top: 22px; }
}

/* ---------- phone bottom bar (same tabs as the app) ---------- */
.bottomnav { display: none; }
@media (max-width: 700px) {
  .bottomnav { display: flex; position: fixed; z-index: 50; left: 0; right: 0; bottom: 0; background: #fff; border-top: 1px solid var(--line);
    box-shadow: 0 -8px 24px rgba(11, 37, 69, .08); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); }
  .bottomnav a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; color: var(--muted); font-size: 11px; font-weight: 600; padding: 4px 0; }
  .bottomnav a .ic { width: 24px; height: 24px; transition: transform .15s; }
  .bottomnav a.on { color: var(--orange2); }
  .bottomnav a.on .ic { transform: translateY(-1px) scale(1.08); }
  .bottomnav .bn-plus { width: 44px; height: 44px; margin-top: -20px; border-radius: 50%; background: var(--orange); color: #fff; display: grid; place-items: center;
    box-shadow: 0 6px 16px rgba(247, 147, 30, .45); border: 3px solid #fff; }
  .bottomnav .bn-plus .ic { width: 24px; height: 24px; }
  body { padding-bottom: 72px; }
  .footer { padding-bottom: 90px; }
  .contact { bottom: 64px; }
  .mainnav .post-btn { display: none; } /* Post is in the bottom bar */
}

/* ---------- profile (same as the app) ---------- */
.profile-hero { background: linear-gradient(135deg, var(--navy), var(--navy2)); color: #fff; text-align: center; padding: 30px 0 70px; border-radius: 0 0 32px 32px; }
.big-avatar { display: inline-block; width: 104px; height: 104px; border-radius: 50%; overflow: hidden; border: 4px solid rgba(255, 255, 255, .25); box-shadow: 0 10px 30px rgba(0, 0, 0, .3); animation: zoomIn .4s ease; }
.big-avatar img { width: 100%; height: 100%; }
.profile-hero h1 { font-size: 24px; font-weight: 800; margin-top: 12px; }
.profile-hero p { margin: 2px 0 12px; color: rgba(255, 255, 255, .75); }
.member { display: inline-block; background: rgba(255, 255, 255, .14); padding: 5px 14px; border-radius: 20px; font-size: 13px; font-weight: 600; }
.profile { max-width: 640px; padding-bottom: 30px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); background: #fff; border-radius: 22px; box-shadow: var(--shadow); margin-top: -44px; position: relative; padding: 16px 0; animation: rise .4s ease .1s both; }
.stats a { text-align: center; color: var(--muted); font-size: 13px; border-left: 1px solid var(--line); }
.stats a:first-child { border-left: 0; }
.stats b { display: block; font-size: 26px; font-weight: 800; }
.stats .g { color: var(--green); } .stats .o { color: var(--orange2); } .stats .r { color: var(--heart); }
.plabel { font-size: 13px; color: var(--muted); font-weight: 600; margin: 22px 8px 8px; }
.pcard { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 6px 0; animation: rise .4s ease both; }
.prow { display: flex; align-items: center; gap: 14px; padding: 12px 16px; color: var(--text); transition: background .15s; }
.prow:hover { background: #FFF8EF; }
.prow-ic { width: 42px; height: 42px; border-radius: 50%; background: #FFF4E5; color: var(--orange2); display: grid; place-items: center; flex: none; }
.prow-t { flex: 1; display: flex; flex-direction: column; }
.prow-t small { color: var(--muted); }
.chev { color: var(--muted); font-size: 22px; }
.profile form { margin: 22px 0 10px; }

/* ---------- app-style top bar: ☰ · greeting · profile circle ---------- */
.topbar-in { gap: 12px; }
.menu-btn, .profile-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .15);
  color: #fff; display: grid; place-items: center; cursor: pointer; flex: none; overflow: hidden; transition: background .15s, transform .12s; }
.menu-btn:hover, .profile-btn:hover { background: rgba(255, 255, 255, .25); }
.menu-btn:active, .profile-btn:active { transform: scale(.94); }
.menu-btn .ic, .profile-btn .ic { width: 22px; height: 22px; }
.profile-btn img { width: 100%; height: 100%; object-fit: cover; }
.greet { display: flex; flex-direction: column; line-height: 1.15; color: #fff; min-width: 0; }
.greet small { color: rgba(255, 255, 255, .7); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.greet strong { font-size: 18px; font-weight: 800; }
.greet b { color: var(--orange); }
.topnav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.topnav a:not(.btn) { display: flex; align-items: center; gap: 6px; color: rgba(255, 255, 255, .82); font-weight: 600; padding: 8px 12px; border-radius: 10px; }
.topnav a:not(.btn):hover, .topnav a.on { color: #fff; background: rgba(255, 255, 255, .1); }
.topnav .btn { margin: 0 6px; }
@media (max-width: 900px) {
  .topnav { display: none; }      /* phones/tablets use the bottom bar, like the app */
  .profile-btn { margin-left: auto; }
}

/* ---------- side drawer (same as the app) ---------- */
.drawer { position: fixed; z-index: 90; top: 0; bottom: 0; left: 0; width: min(320px, 86vw); background: #fff; display: flex; flex-direction: column;
  transform: translateX(-102%); visibility: hidden; transition: transform .3s cubic-bezier(.2, .9, .3, 1), visibility 0s linear .3s; box-shadow: 20px 0 50px rgba(11, 37, 69, .25); }
.drawer.open { transform: none; visibility: visible; transition: transform .3s cubic-bezier(.2, .9, .3, 1); }
.drawer-scrim { display: none; }
.drawer.open + .drawer-scrim { display: block; position: fixed; inset: 0; z-index: 85; background: rgba(11, 37, 69, .45); animation: fade .2s; }
.drawer-head { display: flex; align-items: center; gap: 14px; padding: 26px 22px 22px; background: linear-gradient(135deg, var(--navy), var(--navy2)); color: #fff; }
.drawer-head img { border-radius: 50%; box-shadow: 0 6px 16px rgba(0, 0, 0, .3); }
.drawer-head strong { display: block; font-size: 22px; font-weight: 800; }
.drawer-head b { color: var(--orange); }
.drawer-head small { color: var(--orange); font-size: 12px; }
.drawer-nav { flex: 1; overflow-y: auto; padding: 10px 10px 20px; }
.drawer-nav a, .drawer-nav button { display: flex; align-items: center; gap: 18px; width: 100%; padding: 13px 14px; border-radius: 14px; color: var(--text); font: inherit; font-weight: 600; background: none; border: 0; cursor: pointer; text-align: left; }
.drawer-nav a:hover, .drawer-nav button:hover { background: #FFF8EF; }
.drawer-nav a.on { background: #FFF1E0; color: var(--orange2); }
.drawer-nav .ic { width: 22px; height: 22px; }
.drawer-nav hr { border: 0; border-top: 1px solid var(--line); margin: 8px 0; }
.drawer-label { margin: 8px 14px 4px; color: var(--muted); font-size: 13px; font-weight: 600; }
.drawer-nav form { margin: 0; }
.drawer.open .drawer-nav > * { animation: rise .3s ease both; }

/* ---------- filter button inside the search box (like the app) ---------- */
.searchbar { padding: 5px 5px 5px 16px; }
.sb-filter { position: relative; width: 44px; height: 44px; flex: none; border: 0; border-radius: 14px; background: var(--orange); color: #fff; display: grid; place-items: center; cursor: pointer;
  box-shadow: 0 6px 14px rgba(247, 147, 30, .35); transition: transform .12s; }
.sb-filter:active { transform: scale(.94); }
.sb-filter .ic { width: 22px; height: 22px; }
.sb-filter .count-badge { position: absolute; top: -6px; right: -6px; border: 2px solid #fff; background: var(--navy); }
@media (max-width: 900px) {
  .bottomnav { display: flex; position: fixed; z-index: 50; left: 0; right: 0; bottom: 0; background: #fff; border-top: 1px solid var(--line);
    box-shadow: 0 -8px 24px rgba(11, 37, 69, .08); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); }
  body { padding-bottom: 72px; }
}

/* ---------- legal pages (privacy policy) ---------- */
.legal { display: grid; grid-template-columns: 240px 1fr; gap: 32px; align-items: start; padding-bottom: 40px; }
.toc { position: sticky; top: 90px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 16px; display: flex; flex-direction: column; gap: 2px; }
.toc strong { font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.toc a { color: var(--text); font-size: 14px; padding: 6px 8px; border-radius: 8px; }
.toc a:hover { background: #FFF4E5; color: var(--orange2); }
.legal-body { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 8px 28px 24px; animation: rise .4s ease both; }
.legal-body section { padding-top: 18px; scroll-margin-top: 90px; }
.legal-body section + section { border-top: 1px solid var(--line); margin-top: 8px; }
.legal-body h2 { font-size: 20px; font-weight: 800; margin-bottom: 8px; }
.legal-body h3 { font-size: 15px; margin: 14px 0 4px; color: var(--orange2); }
.legal-body p, .legal-body li { color: #344054; line-height: 1.7; }
.legal-body ul { padding-left: 20px; }
.legal-body li { margin: 6px 0; }
.contact-card { display: flex; gap: 14px; align-items: center; background: #FFF8EF; border: 1px solid #FBD49B; border-radius: 16px; padding: 14px 16px; }
.contact-card img { border-radius: 50%; }
.contact-card div { display: flex; flex-direction: column; gap: 2px; }
@media (max-width: 860px) { .legal { grid-template-columns: 1fr; } .toc { position: static; } .legal-body { padding: 4px 18px 20px; } }

/* ---------- compact home header (same as the app): one-line tagline + slim search ---------- */
.hero { padding: 12px 0 18px; border-radius: 0 0 26px 26px; }
.hero h1 { font-size: 15px; font-weight: 600; line-height: 1.3; }
.hero-sub { display: none; }
.searchbar { margin-top: 10px; padding: 4px 4px 4px 14px; border-radius: 14px; max-width: 640px; }
.searchbar input { font-size: 15px; padding: 9px 0; }
.sb-filter { width: 38px; height: 38px; border-radius: 12px; }
.sb-filter .ic { width: 20px; height: 20px; }
.announce { margin-top: 12px; }
.quick { padding-top: 14px; }
.results-head { margin: 12px 0 10px; }
.mt { margin-top: 16px; }
/* Property ID (KS-000017) */
.pid { float: right; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: none; }
.myitem-body .pid { float: none; margin-left: 8px; }
.pid-line { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.pid-line b { color: var(--text); letter-spacing: .03em; }
/* Nearby places */
.nearby-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; margin-top: 8px; }
.nb { display: flex; align-items: center; gap: 12px; background: #F1F4F9; border-radius: 14px; padding: 12px; animation: rise .35s ease both; }
.nb-ic { width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--orange2); display: grid; place-items: center; flex: none; }
.nb-t { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.nb-t small { color: var(--muted); font-size: 12px; }
.nb-t strong { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nb-km { background: var(--orange); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 20px; flex: none; }
/* Premium contact card (owner + Call / WhatsApp) */
.contact { border-top: 3px solid var(--orange); }
.owner .avatar { width: 52px; height: 52px; box-shadow: 0 0 0 2px var(--orange); position: relative; }
.owner strong { font-size: 17px; font-weight: 800; }
.verified { display: flex; align-items: center; gap: 4px; color: var(--green); font-size: 12px; font-weight: 600; }
.verified .ic { width: 14px; height: 14px; }
.contact-actions { display: flex; gap: 10px; width: 100%; }
.contact-actions .btn { flex: 1; padding: 15px 12px; font-size: 16px; border-radius: 18px; color: #fff; position: relative; overflow: hidden; }
.contact-actions .btn .ic { width: 22px; height: 22px; }
.btn-call { background: linear-gradient(90deg, var(--navy), var(--navy2)); box-shadow: 0 8px 18px rgba(11, 37, 69, .3); }
.btn-wa { background: linear-gradient(90deg, #25D366, #128C7E); box-shadow: 0 8px 18px rgba(18, 140, 126, .35); }
.contact-actions .btn::after { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent); transform: skewX(-20deg); animation: shine 3.5s ease-in-out infinite; }
.contact-actions .btn-wa::after { animation-delay: 1.2s; }
@keyframes shine { 0%, 70% { left: -60%; } 100% { left: 130%; } }
.contact-actions .btn:hover { transform: translateY(-2px); }
/* Search suggestions dropdown */
.searchbar { position: relative; }
.suggest { position: absolute; left: 0; right: 0; top: calc(100% + 8px); background: #fff; border-radius: 18px; box-shadow: 0 18px 40px rgba(11, 37, 69, .22); padding: 6px; z-index: 40; max-height: 60vh; overflow-y: auto; animation: rise .18s ease both; text-align: left; }
.sg { display: flex; align-items: center; gap: 12px; width: 100%; border: 0; background: none; padding: 10px; border-radius: 12px; cursor: pointer; font: inherit; color: var(--text); text-align: left; }
.sg:hover, .sg.on { background: #FFF4EC; }
.sg-ic { width: 36px; height: 36px; border-radius: 50%; background: #F1F4F9; color: var(--orange2); display: grid; place-items: center; flex: none; }
.sg-ic .ic { width: 18px; height: 18px; }
.sg-t { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.sg-t strong { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sg-t small { color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sg-t small b { color: var(--green); }
.sg-pin { background: var(--navy); color: #fff; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 20px; flex: none; letter-spacing: .03em; }
.nb { text-decoration: none; color: inherit; transition: transform .15s, box-shadow .15s; }
.nb:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(11, 37, 69, .12); }

/* Contact card v2: compact buttons + animated entry */
.owner .avatar { width: 42px; height: 42px; }
.owner strong { font-size: 15px; }
.contact-actions { gap: 8px; }
.contact-actions .btn { padding: 11px 10px; font-size: 14px; border-radius: 14px; }
.contact-actions .btn .ic { width: 18px; height: 18px; }
.contact { animation: ccUp .5s cubic-bezier(.2, .8, .2, 1) .15s both; }
.contact .owner { animation: ccSlide .4s ease .4s both; }
.contact-actions .btn { animation: ccPop .45s cubic-bezier(.34, 1.56, .64, 1) both; }
.contact-actions .btn-call { animation-delay: .5s; }
.contact-actions .btn-wa { animation: ccPop .45s cubic-bezier(.34, 1.56, .64, 1) .62s both, ccNudge .5s ease 1.6s; }
@keyframes ccUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
@keyframes ccSlide { from { opacity: 0; transform: translateX(-20px); } to { opacity: 1; transform: none; } }
@keyframes ccPop { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: scale(1); } }
@keyframes ccNudge { 0%, 100% { transform: scale(1); } 40% { transform: scale(1.06); } }
@media (prefers-reduced-motion: reduce) { .contact, .contact .owner, .contact-actions .btn { animation: none !important; } }

/* Building & amenities: posting form */
.psec h2 .opt { margin-left: auto; font-size: 11px; font-weight: 600; color: var(--muted); background: #F1F4F9; padding: 3px 10px; border-radius: 20px; }
.sublabel { font-size: 13px; font-weight: 700; color: var(--muted); margin: 18px 0 8px; }
.tiles-2 { grid-template-columns: repeat(2, 1fr); }
.tiles-4 { grid-template-columns: repeat(4, 1fr); }
.tiles-2 .tile span, .tiles-4 .tile span { font-size: 13px; text-align: center; }
.selwrap { display: flex; align-items: center; gap: 8px; border: 1.5px solid var(--line); border-radius: 14px; padding: 0 12px; background: #fff; transition: border-color .15s; }
.selwrap:focus-within { border-color: var(--orange); }
.selwrap .ic { width: 20px; height: 20px; color: var(--orange2); flex: none; }
.selwrap select { border: 0; padding: 12px 0; flex: 1; min-width: 0; background: transparent; outline: 0; box-shadow: none; font: inherit; }
.affix .ic { width: 20px; height: 20px; color: var(--orange2); flex: none; }
@media (max-width: 420px) { .tiles-4 { grid-template-columns: repeat(2, 1fr); } }

/* Building & amenities: property page cards */
.amenities { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 8px 0 20px; }
.am { display: flex; align-items: center; gap: 12px; background: #F1F4F9; border-radius: 14px; padding: 12px; animation: rise .35s ease both; }
.am-ic { width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--orange2); display: grid; place-items: center; flex: none; }
.am-ic .ic { width: 20px; height: 20px; }
.am-t { display: flex; flex-direction: column; min-width: 0; }
.am-t small { color: var(--muted); font-size: 12px; }
.am-t strong { font-size: 14px; }
@media (max-width: 380px) { .amenities { grid-template-columns: 1fr; } }
#announce-wrap[hidden] { display: none !important; }
/* Full-screen maintenance screen */
body.blocking-page { margin: 0; min-height: 100vh; display: grid; place-items: center; background: radial-gradient(circle at 20% 0%, #1B3A6B 0%, #0B2545 55%, #071a33 100%); color: #fff; font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
.blocking { text-align: center; padding: 32px 24px; max-width: 460px; animation: rise .5s ease both; }
.blocking-logo { width: 64px; height: 64px; border-radius: 50%; background: #fff; box-shadow: 0 8px 24px rgba(0,0,0,.3); }
.blocking-ic { width: 96px; height: 96px; margin: 28px auto 20px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #F7931E, #E8590C); box-shadow: 0 0 0 10px rgba(247,147,30,.15), 0 0 0 22px rgba(247,147,30,.07); animation: bpulse 2.4s ease-in-out infinite; }
.blocking-ic .ic { width: 44px; height: 44px; color: #fff; fill: currentColor; }
.blocking h1 { font-size: 26px; margin: 0 0 10px; }
.blocking p { color: rgba(255,255,255,.8); line-height: 1.6; margin: 0 0 24px; }
.blocking-wait { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: rgba(255,255,255,.6); background: rgba(255,255,255,.08); padding: 8px 14px; border-radius: 20px; }
.blocking-wait .dot { width: 6px; height: 6px; border-radius: 50%; background: #F7931E; animation: bdot 1.2s infinite; }
.blocking-wait .dot:nth-child(2) { animation-delay: .2s; } .blocking-wait .dot:nth-child(3) { animation-delay: .4s; }
@keyframes bpulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }
@keyframes bdot { 0%, 100% { opacity: .3; } 50% { opacity: 1; } }
.phone-row { display: flex; gap: 8px; }
.phone-row select { flex: none; width: 92px; }
.phone-row input { flex: 1; min-width: 0; letter-spacing: .04em; }
.phone-cc { flex: none; display: grid; place-items: center; padding: 0 16px; border: 1.5px solid var(--line); border-radius: 14px; background: #F5F7FB; font-weight: 700; color: var(--text); }
/* Slim page bar on inner pages (the big top bar is homepage-only) */
.pagebar { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.96); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.pagebar-in { display: flex; align-items: center; gap: 12px; height: 58px; }
.pb-back { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: var(--navy); background: #F1F4F9; flex: none; transition: background .15s; }
.pb-back:hover { background: #FFF1E6; color: var(--orange2); }
.pb-back .ic { width: 22px; height: 22px; }
.pb-title { flex: 1; min-width: 0; margin: 0; font-size: 18px; font-weight: 800; color: var(--navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pb-home img { width: 34px; height: 34px; border-radius: 50%; display: block; box-shadow: 0 2px 8px rgba(11,37,69,.15); }

/* Profile → Admin panel (staff only, same card as the app) */
.admin-card-f { margin: 4px 0 14px; }
.admin-card { display: flex; align-items: center; gap: 12px; width: 100%; padding: 16px; border: 1px solid rgba(255,255,255,.08); border-radius: 20px; cursor: pointer; text-align: left; font: inherit; color: #fff;
  background: linear-gradient(135deg, #071A33, #0B2545 55%, #1B2F5E); box-shadow: 0 10px 26px rgba(11,37,69,.28); transition: transform .15s, box-shadow .15s; }
.admin-card:hover { transform: translateY(-1px); box-shadow: 0 14px 30px rgba(11,37,69,.36); }
.admin-card .ac-ic { flex: none; width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; }
.admin-card .ac-ic svg { width: 26px; height: 26px; fill: #fff; }
.admin-card .r-admin { background: linear-gradient(135deg, #F5C451, #E29A12); }
.admin-card .r-manager { background: linear-gradient(135deg, #2DD4BF, #0E9F6E); }
.admin-card .r-staff { background: linear-gradient(135deg, #A78BFA, #7C3AED); }
.admin-card .ac-t { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.admin-card .ac-t strong { font-size: 16px; font-weight: 800; display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.admin-card .ac-t em { font-style: normal; font-size: 10px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: #0B2545; padding: 2px 8px; border-radius: 99px; }
.admin-card .ac-t small { color: #B8C4D9; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.admin-card .ac-go { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.1); font-size: 20px; }

/* SEO: popular searches + about text on the home page */
.seo-links { margin: 34px 0 10px; }
.seo-links h2, .seo-about h2 { font-size: 18px; margin: 0 0 12px; }
.seo-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.seo-chips a { padding: 8px 14px; border-radius: 99px; background: #fff; border: 1px solid #E4E8F0; color: #0B2545; text-decoration: none; font-size: 13px; font-weight: 600; transition: border-color .15s, color .15s; }
.seo-chips a:hover { border-color: #F7931E; color: #E8590C; }
.seo-about { margin: 22px 0 8px; padding: 18px 20px; border-radius: 18px; background: #fff; border: 1px solid #E4E8F0; }
.seo-about p { margin: 0; color: #475467; font-size: 14px; line-height: 1.7; }
.seo-about a { color: #E8590C; font-weight: 700; }
.crumbs a { color: inherit; }

/* My listings: Sold out button (live listings) and Sold tag */
.btn-sold { background: linear-gradient(135deg, #0E9F6E, #12B76A); color: #fff; border: 0; display: inline-flex; align-items: center; gap: 6px; }
.btn-sold svg { width: 16px; height: 16px; fill: currentColor; }
.btn-sold:hover { filter: brightness(1.05); }
.sold-tag { display: inline-flex; align-items: center; gap: 5px; padding: 5px 12px; border-radius: 99px; background: #F3EEFF; color: #6D28D9; font-size: 13px; font-weight: 700; }
.sold-tag svg { width: 15px; height: 15px; fill: currentColor; }

/* Home announcement: one line; long text slides (site.js sets the distance and duration from the admin speed) */
.announce { display: flex; align-items: center; gap: 10px; padding: 10px 14px; overflow: hidden; }
.announce .an-ic { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 15px; background: linear-gradient(135deg, #F7931E, #E8590C); }
.announce .an-view { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14px, #000 calc(100% - 24px), transparent); mask-image: linear-gradient(90deg, transparent 0, #000 14px, #000 calc(100% - 24px), transparent); }
.announce .an-track { display: inline-flex; gap: 48px; will-change: transform; }
.announce .an-text { display: inline-block; white-space: nowrap; }
.announce:not(.run) .an-view { -webkit-mask-image: none; mask-image: none; text-overflow: ellipsis; }
.announce.run .an-track { animation: an-slide linear infinite; animation-delay: 1.5s; }
.announce.run:hover .an-track { animation-play-state: paused; }
.announce.wrapped .an-view { white-space: normal; -webkit-mask-image: none; mask-image: none; }
.announce.wrapped .an-text { white-space: normal; }
@keyframes an-slide { from { transform: translateX(0); } to { transform: translateX(var(--an-shift, -50%)); } }

/* Public account deletion page (delete.php) */
.del-page { padding: 28px 16px 48px; display: flex; justify-content: center; }
.del-card { width: 100%; max-width: 480px; background: #fff; border: 1px solid #E4E8F0; border-radius: 22px; padding: 26px 24px; box-shadow: 0 18px 40px rgba(11, 37, 69, .08); }
.del-card h1 { font-size: 22px; margin: 6px 0 8px; }
.del-brand { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; margin-bottom: 14px; border-bottom: 1px solid #EEF1F6; }
.del-brand img { width: 56px; height: 56px; border-radius: 50%; box-shadow: 0 0 0 2px rgba(247, 147, 30, .5); }
.del-brand b { display: block; font-size: 19px; }
.del-brand small { color: #667085; font-weight: 600; }
.del-form { display: flex; flex-direction: column; gap: 12px; margin-top: 14px; }
.del-form .field { display: flex; flex-direction: column; gap: 5px; }
.del-form .field span { font-size: 13px; font-weight: 700; color: #344054; }
.del-form input { width: 100%; border: 1px solid #D0D5DD; border-radius: 12px; padding: 12px 14px; font: inherit; font-size: 16px; }
.del-form input:focus { outline: 2px solid #F7931E; border-color: #F7931E; }
.del-err { background: #FEF3F2; color: #B42318; border: 1px solid #FECDCA; border-radius: 12px; padding: 10px 12px; font-size: 14px; font-weight: 600; }
.del-test { background: #EEF4FF; color: #3538CD; border-radius: 12px; padding: 9px 12px; font-size: 13px; font-weight: 700; }
.del-confirm { text-align: center; }
.del-confirm ul { text-align: left; margin: 12px auto; padding-left: 22px; max-width: 320px; color: #344054; font-size: 14px; line-height: 1.8; }
.del-warn { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #FEE4E2; color: #D92D20; font-size: 30px; font-weight: 900; }
.del-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.del-row { display: flex; justify-content: space-between; margin-top: 12px; }
.del-done { text-align: center; }
.del-done > span { display: inline-grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: #ECFDF3; color: #05603A; font-size: 30px; font-weight: 900; }
.del-done .btn { margin-top: 10px; }
.del-foot { margin-top: 16px; line-height: 1.6; }
