.mode-toggle--global{display:flex;gap:.4rem;position:sticky;top:.4rem;z-index:40;background:rgba(255,255,255,.92);backdrop-filter:blur(6px);padding:.35rem;border-radius:999px;border:1px solid #e5e7eb;margin:.3rem 0 .8rem}
.mode-toggle--global a{flex:1;text-align:center;padding:.45rem .65rem;border-radius:999px;border:1px solid #ddd;text-decoration:none;color:#111;background:#fff;font-weight:600}
.mode-toggle--global a.active{background:#111;color:#fff}
.brand-header{display:flex;align-items:center;justify-content:space-between;gap:.75rem}
.brand-header__main{display:flex;align-items:center;gap:.8rem;min-width:0}
.brand-header__main-link{text-decoration:none;color:inherit}
.brand-header__main-link:hover{opacity:.94}
.brand-header a,.ios-topbar a{text-decoration:none!important;border-bottom:none!important}
a[x-apple-data-detectors],a[x-apple-data-detectors-type]{color:inherit!important;text-decoration:none!important;border-bottom:none!important}
.property-card__content a[x-apple-data-detectors],.property-card__content a[x-apple-data-detectors-type]{pointer-events:none!important}
.brand-header__name-row{display:flex;align-items:center;gap:.45rem;flex-wrap:nowrap}
.alpha-badge{display:inline-flex;align-items:center;justify-content:center;padding:.14rem .5rem;border-radius:999px;font-size:.68rem;font-weight:800;letter-spacing:.04em;text-transform:uppercase;background:rgba(15,23,42,.1);color:#7c2d12;border:1px solid rgba(194,65,12,.28)}
.app-install-icon-btn{width:auto!important;display:inline-flex;flex-direction:column;align-items:center;justify-content:center;gap:.08rem;padding:.24rem .36rem!important;margin:0!important;border-radius:10px!important;border:1px solid #dbe3ef!important;background:#fff!important;color:#0f172a!important;line-height:1}
.app-install-icon-btn span{font-size:.86rem;line-height:1}
.app-install-icon-btn small{font-size:.54rem;font-weight:700;letter-spacing:.01em}
.app-update-banner{display:none;position:sticky;top:0;z-index:50;background:#111;color:#fff;padding:.6rem .75rem;border-radius:12px;margin:.5rem 0}
.app-update-banner.show{display:block}
.toast{position:fixed;left:50%;bottom:1rem;transform:translateX(-50%);background:#111;color:#fff;padding:.55rem .8rem;border-radius:999px;font-size:.85rem;z-index:80;opacity:0;pointer-events:none;transition:opacity .2s}
.toast.show{opacity:1}
.flash-stack{position:fixed;left:50%;bottom:calc(5.6rem + env(safe-area-inset-bottom,0px));transform:translateX(-50%);width:min(680px,calc(100vw - 1.25rem));display:grid;gap:.45rem;z-index:1250;pointer-events:none}
.flash.flash--toast{display:flex;align-items:center;justify-content:space-between;gap:.6rem;padding:.65rem .78rem;border-radius:12px;border:1px solid transparent;box-shadow:0 12px 24px rgba(15,23,42,.2);pointer-events:auto;opacity:1;transform:translateY(0);transition:opacity .22s ease,transform .22s ease}
.flash.flash--toast.ok{background:#ecfdf3;color:#14532d;border-color:#86efac}
.flash.flash--toast.err{background:#fef2f2;color:#7f1d1d;border-color:#fca5a5}
.flash__message{font-size:.9rem;font-weight:600;line-height:1.35}
.flash__close{width:auto!important;min-width:1.75rem!important;height:1.75rem!important;margin:0!important;padding:0!important;border-radius:999px!important;border:1px solid currentColor!important;background:transparent!important;color:inherit!important;font-size:1.1rem;line-height:1;display:inline-flex;align-items:center;justify-content:center}
.flash.flash--toast.is-closing{opacity:0;transform:translateY(8px)}
.ios-topbar{display:flex;align-items:center;justify-content:space-between;gap:.65rem;margin:.2rem 0 .65rem;padding:.45rem .55rem;border-radius:16px;background:rgba(255,255,255,.82);border:1px solid rgba(148,163,184,.28);box-shadow:0 8px 24px rgba(15,23,42,.08)}
.ios-topbar__brand{display:flex;align-items:center;gap:.68rem;min-width:0;flex:1;color:inherit;text-decoration:none}
.ios-topbar__brand img{width:42px;height:42px;border-radius:12px;box-shadow:0 8px 20px rgba(15,23,42,.22);flex-shrink:0}
.ios-topbar__brand-text{display:block;min-width:0;line-height:1;overflow:visible}
.ios-topbar__brand-name{display:block;font-weight:800;font-size:1.03rem;line-height:1.12;letter-spacing:.01em;white-space:nowrap;min-width:0}
.ios-topbar__brand-name-row{display:flex;align-items:center;gap:.4rem;flex-wrap:nowrap;min-width:0}
.ios-topbar__alpha-badge{padding:.1rem .4rem;font-size:.58rem;flex-shrink:0;position:relative;z-index:1}
.ios-topbar__brand-tagline{display:block;margin-top:.15rem;font-size:.68rem;color:#475569;line-height:1.1;white-space:nowrap;overflow:visible;text-overflow:clip;max-width:none}
.ios-topbar__title-link{text-decoration:none;color:inherit}
.profile-menu-trigger{width:44px;height:44px;border-radius:50%;padding:0;overflow:hidden;border:1px solid #d1d5db;background:#fff;display:grid;place-items:center;box-shadow:0 8px 18px rgba(15,23,42,.18)}
.profile-menu-trigger__inner{position:relative;display:grid;place-items:center;width:100%;height:100%}
.profile-menu-trigger__badge{position:absolute;top:-2px;right:-2px;min-width:18px;height:18px;padding:0 .3rem;border-radius:999px;background:#ef4444;color:#fff;font-size:.64rem;font-weight:800;display:inline-flex;align-items:center;justify-content:center;border:2px solid #fff}
.profile-menu-avatar{width:100%;height:100%;object-fit:cover;display:block}
.profile-menu-avatar--fallback{display:flex;align-items:center;justify-content:center;font-size:1rem;background:#f8fafc;color:#0f172a}
.profile-drawer{position:fixed;top:0;right:0;height:100vh;width:min(360px,88vw);transform:translateX(105%);transition:transform .22s ease;z-index:1400;padding:.85rem;background:transparent}
.profile-drawer.open{transform:translateX(0)}
.profile-drawer__card{height:100%;background:#fff;border-radius:20px;box-shadow:0 16px 32px rgba(15,23,42,.22);padding:1rem 1rem calc(6.5rem + env(safe-area-inset-bottom,0px));overflow:auto}
.drawer-refresh-btn{width:auto!important;min-width:0!important;display:inline-flex;flex-direction:column;align-items:center;justify-content:center;gap:.06rem;padding:.26rem .44rem!important;margin:0!important;border-radius:10px!important;background:#fff!important;color:#0f172a!important;border:1px solid #dbe3ef!important;line-height:1;flex:0 0 auto}
.drawer-refresh-btn span{font-size:.85rem;line-height:1}
.drawer-refresh-btn small{font-size:.5rem;font-weight:700;letter-spacing:.01em}
.profile-drawer__identity{display:flex;align-items:center;gap:.7rem;padding:.35rem .15rem .75rem;border-bottom:1px solid #eef2f7;margin-bottom:.35rem}
.profile-drawer__avatar{width:52px;height:52px;border-radius:50%;display:grid;place-items:center;background:#f8fafc;border:1px solid #e2e8f0;object-fit:cover;flex:0 0 52px}
.profile-drawer__avatar--fallback{font-size:1.25rem}
.profile-drawer__identity-main{min-width:0;flex:1}
.profile-drawer__name{margin:.1rem 0;font-weight:700}
.profile-drawer__profile-link{display:inline-block;margin-top:.08rem;color:#475569;text-decoration:none;font-size:.88rem}
.profile-drawer__profile-link:hover{text-decoration:none}
.profile-drawer__profile-link i{margin-right:.25rem}
.profile-drawer__modes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.35rem;padding:.45rem 0 .65rem}
.profile-drawer__modes a{display:block!important;text-align:center;border:1px solid #dbe3ef;border-radius:999px;padding:.45rem .3rem!important;background:#fff;font-size:.78rem;font-weight:700}
.profile-drawer__modes a.active{background:#111827;color:#fff;border-color:#111827}
.profile-drawer__links a,.profile-drawer__links summary{display:block;padding:.62rem .35rem;border-bottom:0;color:#111827;text-decoration:none;cursor:pointer}
.profile-drawer__links a,.profile-drawer__links summary{display:flex;align-items:center;gap:.48rem}
.profile-drawer__links a i,.profile-drawer__links summary i{width:1rem;text-align:center;opacity:.88}
.profile-drawer__link-count{margin-left:auto;color:#475569;font-weight:700}
.profile-drawer__links details{margin:.2rem 0 .35rem}
.profile-drawer__links details a{padding-left:1rem}
.profile-drawer__links .logout-link{color:#b91c1c;font-weight:700}
.drawer-notifications-btn{width:40px;height:40px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;border:1px solid #dbe3ef;background:#fff;color:#111827;text-decoration:none;position:relative;flex:0 0 40px}
.drawer-notifications-btn i{font-size:1rem}
.profile-drawer__icon-badge{position:absolute;top:-4px;right:-5px;min-width:17px;height:17px;padding:0 .24rem;border-radius:999px;background:#ef4444;color:#fff;font-size:.6rem;font-weight:800;display:inline-flex;align-items:center;justify-content:center;border:2px solid #fff}
.profile-drawer__footer{margin-top:.7rem;padding:.7rem .2rem 0;border-top:1px solid #eef2f7;display:grid;gap:.55rem}
.profile-drawer__footer-links{display:flex;flex-wrap:wrap;gap:.35rem .65rem}
.profile-drawer__footer-links a{padding:0!important;font-size:.78rem;color:#475569;text-decoration:none}
.profile-drawer__footer-links a:hover{text-decoration:underline}
.profile-drawer__version{margin:0;font-size:.76rem}
.profile-drawer__version a{text-decoration:none}
.profile-drawer-backdrop{position:fixed;inset:0;background:rgba(15,23,42,.34);opacity:0;pointer-events:none;transition:opacity .2s;z-index:1350}
.profile-drawer-backdrop.open{opacity:1;pointer-events:auto}
.ios-tabbar{position:fixed;left:50%;transform:translateX(-50%);bottom:.35rem;width:min(760px,95vw);background:rgba(255,255,255,.98);backdrop-filter:blur(8px);border:1px solid #e5e7eb;border-radius:16px;z-index:1200;padding:.2rem .3rem;box-shadow:0 10px 26px rgba(15,23,42,.2)}
.ios-tabbar ul{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:.1rem}
.ios-tabbar a{display:flex;flex-direction:column;align-items:center;justify-content:center;text-decoration:none;color:#6b7280;padding:.3rem;border-radius:12px;font-size:.72rem;position:relative}
.ios-tabbar a .icon{font-size:1.05rem;line-height:1}
.ios-tabbar a.active{color:#111;background:#f3f4f6;font-weight:700}
.ios-tabbar__badge{position:absolute;top:.08rem;right:.8rem;background:#ef4444;color:#fff;border-radius:999px;padding:0 .32rem;font-size:.64rem}
body{padding-bottom:5rem!important}
.back-to-top-btn{position:fixed;right:.8rem;bottom:calc(6rem + env(safe-area-inset-bottom,0px));z-index:1150;width:48px;height:48px;border:none;border-radius:14px;background:rgba(15,23,42,.9);color:#fff;font-size:1.1rem;font-weight:800;display:grid;place-items:center;box-shadow:0 12px 24px rgba(15,23,42,.35);opacity:0;transform:translateY(10px);pointer-events:none;transition:opacity .2s ease,transform .2s ease}
.back-to-top-btn i{font-size:1.08rem;line-height:1}
.back-to-top-btn[data-visible="true"]{opacity:1;transform:translateY(0);pointer-events:auto}
@media (max-width:520px){
  .flash-stack{width:calc(100vw - .9rem);bottom:calc(5.8rem + env(safe-area-inset-bottom,0px))}
  .flash.flash--toast{padding:.6rem .68rem}
  .flash__message{font-size:.85rem}
  .ios-topbar{padding:.42rem .48rem;gap:.5rem}
  .ios-topbar__brand img{width:34px;height:34px;border-radius:10px}
  .ios-topbar__brand-name{font-size:.92rem}
  .ios-topbar__brand-name-row{gap:.28rem}
  .ios-topbar__alpha-badge{padding:.08rem .34rem;font-size:.53rem}
  .ios-topbar__brand-tagline{font-size:.57rem;max-width:none}
  .drawer-refresh-btn{padding:.2rem .32rem!important;border-radius:8px!important}
  .drawer-refresh-btn span{font-size:.7rem}
  .drawer-refresh-btn small{font-size:.43rem}
  .back-to-top-btn{right:.62rem;bottom:calc(6.2rem + env(safe-area-inset-bottom,0px));width:44px;height:44px;border-radius:12px}
}
.notif-page{display:grid;gap:1rem}
.notif-page__hero{background:linear-gradient(145deg,#0f172a,#1e3a8a 62%,#334155);color:#f8fafc;padding:1rem;border-radius:18px;box-shadow:0 14px 30px rgba(15,23,42,.26);border:1px solid rgba(148,163,184,.38)}
.notif-page__hero h1{margin:.15rem 0 .3rem;font-size:1.7rem}
.notif-page__eyebrow{margin:0;font-size:.8rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;opacity:.92}
.notif-page__hero .muted{color:#dbeafe}
.notif-form{background:#fff;border:1px solid #dbe3ef;border-radius:18px;padding:.9rem;box-shadow:0 10px 22px rgba(15,23,42,.08)}
.notif-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:.65rem}
.notif-option{display:flex;align-items:flex-start;justify-content:space-between;gap:.6rem;padding:.7rem .75rem;background:#f8fafc;border:1px solid #dbe3ef;border-radius:14px}
.notif-option strong{display:block;line-height:1.2}
.notif-option small{display:block;color:#64748b;margin-top:.2rem;line-height:1.35}
.notif-option input[type="checkbox"]{width:1.1rem;height:1.1rem;margin:.1rem 0 0;accent-color:#1d4ed8}
.notif-save-btn{margin-top:.8rem;background:#2563eb!important;border:1px solid #1d4ed8!important;color:#fff!important}
.notif-save-btn:hover{background:#1d4ed8!important}
.notif-push{background:#fff;border:1px solid #dbe3ef;border-radius:18px;padding:.9rem;box-shadow:0 8px 20px rgba(15,23,42,.07)}
.notif-push h2{margin:.1rem 0 .35rem}
.notif-push__actions{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:.6rem}
.notif-secondary-btn{background:#fff!important;color:#0f172a!important;border:1px solid #cbd5e1!important}
.discover-listing-header{align-items:center!important}
.discover-listing-header__actions{align-items:center!important}
@media (max-width:640px){
  h1{font-size:clamp(1.25rem,5.8vw,1.55rem);line-height:1.2}
  .discover-listing-header{align-items:center!important;gap:.45rem}
  .discover-listing-header__title{font-size:clamp(1.2rem,5.4vw,1.45rem);line-height:1.18}
  .discover-listing-header__actions{align-items:center!important;gap:.35rem}
}
.tinder-wizard{display:grid;gap:.6rem;margin:.15rem 0 .8rem;padding:.62rem;border:1px solid #dbe4ef;border-radius:18px;background:linear-gradient(180deg,#f8fbff,#f1f5f9)}
.tinder-wizard__tabs{display:flex;gap:.45rem;flex-wrap:wrap}
.tinder-wizard__tab{width:auto!important;margin:0!important;border-radius:999px!important;background:#e2e8f0!important;color:#0f172a!important;padding:.45rem .82rem!important;border:1px solid #cbd5e1!important;font-size:.79rem;font-weight:700;display:inline-flex;align-items:center;gap:.4rem}
.tinder-wizard__tab::before{content:attr(data-step-index);display:inline-flex;align-items:center;justify-content:center;width:1.15rem;height:1.15rem;border-radius:999px;background:#cbd5e1;color:#0f172a;font-size:.68rem;line-height:1}
.tinder-wizard__tab.is-active{background:linear-gradient(145deg,#0f172a,#1d4ed8)!important;color:#fff!important;border-color:#1d4ed8!important;box-shadow:0 8px 20px rgba(29,78,216,.25)}
.tinder-wizard__tab.is-active::before{background:rgba(255,255,255,.24);color:#fff}
.tinder-wizard__progress{height:9px;background:#dbe4ef;border-radius:999px;overflow:hidden}
.tinder-wizard__progress span{display:block;height:100%;width:0;background:linear-gradient(90deg,#2563eb,#0ea5a4);transition:width .2s ease}
.tinder-wizard__nav{display:flex;gap:.5rem;justify-content:space-between;margin-top:.62rem}
.tinder-wizard__nav button{width:auto!important;margin:0!important;min-width:120px}
.tinder-wizard__nav [data-step-back]{background:#475569!important}
.tinder-wizard__step{animation:tinderStepFade .18s ease}
@keyframes tinderStepFade{from{opacity:.4;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}
