/* V191 — safe luxury menu popup + reliable photo expand. Public UI only. */
.chsdPhotoViewer{position:fixed;inset:0;display:none;align-items:center;justify-content:center;background:rgba(0,0,0,.92);z-index:2147483646;padding:22px;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}
.chsdPhotoViewer.on{display:flex!important}.chsdPhotoViewer figure{margin:0;width:min(1180px,100%);height:min(82vh,780px);display:grid;grid-template-rows:minmax(0,1fr) auto;gap:12px}.chsdPhotoViewer img{width:100%;height:100%;object-fit:contain;border-radius:24px;background:#05070e;box-shadow:0 40px 120px rgba(0,0,0,.72),0 0 0 1px rgba(255,255,255,.12)}.chsdPhotoViewer figcaption{color:#fff;text-align:center;font:800 13px/1.25 Inter,Arial,sans-serif;opacity:.78}.chsdPhotoViewer button{position:absolute;right:18px;top:calc(18px + env(safe-area-inset-top,0px));width:48px;height:48px;border:1px solid rgba(255,255,255,.18);border-radius:999px;background:rgba(12,16,28,.72);color:#fff;font-size:28px;line-height:1;display:grid;place-items:center;box-shadow:0 18px 54px rgba(0,0,0,.55);cursor:pointer}
#listingSheet [data-pane="photos"] img,#listingSheet .gallery img{cursor:zoom-in}
@media(max-width:760px){.chsdPhotoViewer{padding:10px}.chsdPhotoViewer figure{height:calc(100svh - 120px);gap:8px}.chsdPhotoViewer img{border-radius:18px}.chsdPhotoViewer button{right:12px;width:44px;height:44px;font-size:25px}.chsdPhotoViewer figcaption{font-size:12px}}

/* Luxury menu sheet only — keep existing backend/menu links and click logic intact. */
#menuSheet.sheet{background:rgba(2,5,11,.62)!important;backdrop-filter:blur(18px)!important;-webkit-backdrop-filter:blur(18px)!important}
#menuSheet .panel,#menuSheet .chsdMenuPanel{background:radial-gradient(circle at 25% 0%,rgba(255,20,147,.20),transparent 32%),linear-gradient(180deg,#111827 0%,#070b14 60%,#05070d 100%)!important;color:#fff!important;border:1px solid rgba(255,255,255,.16)!important;box-shadow:0 32px 110px rgba(0,0,0,.68),0 0 70px rgba(255,20,147,.14)!important;overflow:auto!important}
#menuSheet .grab{background:rgba(255,255,255,.42)!important;box-shadow:0 0 18px rgba(255,20,147,.22)!important}
#menuSheet .sheetTitle{background:transparent!important;color:#fff!important;padding-top:2px!important}
#menuSheet .sheetTitle h3{color:#fff!important;text-transform:uppercase!important;letter-spacing:-.035em!important;font-weight:1000!important;text-align:left!important;width:100%!important}
#menuSheet .sheetTitle h3:after{content:'Everything you need in one place.';display:block;margin-top:5px;color:rgba(255,255,255,.62);font:800 12px/1.25 Inter,Arial,sans-serif;text-transform:none;letter-spacing:0}
#menuSheet .sheetTitle .x,#menuSheet [data-close]{background:rgba(255,255,255,.08)!important;color:#fff!important;border:1px solid rgba(255,255,255,.18)!important;border-radius:999px!important;box-shadow:0 16px 44px rgba(0,0,0,.36)!important}
#menuSheet .v100ListingAgentCard,#menuSheet .v103MenuContext,#menuSheet .menuFeaturedMini{background:rgba(255,255,255,.07)!important;border:1px solid rgba(255,255,255,.12)!important;border-radius:24px!important;color:#fff!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.08)!important}
#menuSheet .v100HomeImg,#menuSheet .menuFeaturedMini img{border-radius:18px!important;object-fit:cover!important;border:1px solid rgba(255,255,255,.16)!important}
#menuSheet .v100HomeCopy span,#menuSheet .v100AgentLine span,#menuSheet .menuFeaturedMini span{color:#ff1493!important;letter-spacing:.16em!important;text-transform:uppercase!important;font-weight:1000!important}
#menuSheet .v100HomeCopy b,#menuSheet .v100AgentLine b,#menuSheet .menuFeaturedMini b{color:#fff!important}
#menuSheet .v100HomeCopy small,#menuSheet .v100HomeCopy em,#menuSheet .v100AgentLine small,#menuSheet .menuFeaturedMini small{color:rgba(255,255,255,.66)!important}
#menuSheet .v100AgentLine{background:rgba(255,255,255,.08)!important;border:1px solid rgba(255,255,255,.12)!important;border-radius:20px!important}
#menuSheet .v100AgentLine img{border-radius:999px!important;object-fit:cover!important;border:2px solid #ff1493!important;background:#05070e!important}
#menuSheet .v100AgentMsg{background:#ff1493!important;color:#fff!important;border:0!important;border-radius:18px!important;box-shadow:0 14px 34px rgba(255,20,147,.28)!important}
#menuSheet .menuList.luxeMenu{gap:10px!important}
#menuSheet .menuList.luxeMenu a,#menuSheet .menuList.luxeMenu button{background:linear-gradient(180deg,rgba(255,255,255,.10),rgba(255,255,255,.045))!important;color:#fff!important;border:1px solid rgba(255,255,255,.13)!important;border-radius:21px!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 14px 34px rgba(0,0,0,.26)!important;text-decoration:none!important}
#menuSheet .menuList.luxeMenu a:first-child,#menuSheet .menuList.luxeMenu button:first-child{background:linear-gradient(135deg,rgba(255,20,147,.42),rgba(255,20,147,.12))!important;border-color:rgba(255,20,147,.42)!important}
#menuSheet .menuList.luxeMenu span{color:rgba(255,255,255,.62)!important}
#menuSheet .menuSupportLinks{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important;margin-top:12px!important}
#menuSheet .menuSupportLinks a{display:flex!important;align-items:center!important;justify-content:center!important;min-height:42px!important;border-radius:16px!important;background:rgba(255,255,255,.07)!important;color:#fff!important;text-decoration:none!important;font-weight:950!important;font-size:12px!important;border:1px solid rgba(255,255,255,.10)!important}
@media(min-width:761px){#menuSheet.sheet{align-items:center!important;justify-content:center!important;padding:24px!important}#menuSheet .panel,#menuSheet .chsdMenuPanel{width:min(560px,calc(100vw - 48px))!important;max-width:560px!important;max-height:min(780px,calc(100vh - 48px))!important;border-radius:34px!important;padding:18px!important}#menuSheet .menuList.luxeMenu{grid-template-columns:1fr 1fr!important}}
@media(max-width:760px){#menuSheet .panel,#menuSheet .chsdMenuPanel{border-radius:30px 30px 18px 18px!important;padding:14px!important}#menuSheet .sheetTitle h3{font-size:30px!important;line-height:1!important}#menuSheet .v100ListingAgentCard,#menuSheet .v103MenuContext{margin:10px 0!important;padding:10px!important}.chsdPhotoViewer{z-index:2147483647!important}}

/* V196 SAFE MENU THEME FIX — no JS, no inline overlays, no click lock */
html body #menuSheet.sheet:not(.on){display:none!important;visibility:hidden!important;opacity:0!important;pointer-events:none!important;}
html body #menuSheet.sheet.on{display:flex!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important;background:rgba(2,5,12,.94)!important;background-color:#02050c!important;color:#fff!important;}
html body #menuSheet.sheet.on > .panel,
html body #menuSheet.sheet.on > .chsdMenuPanel,
html body #menuSheet.sheet.on .panel.chsdMenuPanel,
html body #menuSheet .panel.chsdMenuPanel{
  background-color:#07101f!important;
  background-image:radial-gradient(circle at 18% 0%,rgba(255,20,147,.30),transparent 35%),radial-gradient(circle at 96% 8%,rgba(255,255,255,.10),transparent 28%),linear-gradient(180deg,#111827 0%,#08101f 52%,#030711 100%)!important;
  color:#fff!important;border:1px solid rgba(255,255,255,.16)!important;box-shadow:0 34px 120px rgba(0,0,0,.74),0 0 70px rgba(255,20,147,.18)!important;
}
html body #menuSheet.sheet.on .sheetTitle{background:transparent!important;color:#fff!important;}
html body #menuSheet.sheet.on .sheetTitle h3{color:#fff!important;text-shadow:none!important;}
html body #menuSheet.sheet.on .sheetTitle h3:after{color:rgba(255,255,255,.68)!important;}
html body #menuSheet.sheet.on .x,
html body #menuSheet.sheet.on [data-close]{background:#070b13!important;color:#fff!important;border:1px solid rgba(255,255,255,.18)!important;}
html body #menuSheet.sheet.on .grab{background:rgba(255,255,255,.42)!important;}
html body #menuSheet.sheet.on .v100ListingAgentCard,
html body #menuSheet.sheet.on .v103MenuContext,
html body #menuSheet.sheet.on .v100AgentLine,
html body #menuSheet.sheet.on .menuFeaturedMini,
html body #menuSheet.sheet.on .boostSummary div,
html body #menuSheet.sheet.on .menuList.luxeMenu a,
html body #menuSheet.sheet.on .menuList.luxeMenu button,
html body #menuSheet.sheet.on .menuSupportLinks a{
  background:linear-gradient(180deg,rgba(255,255,255,.10),rgba(255,255,255,.045))!important;background-color:rgba(13,19,31,.96)!important;color:#fff!important;border:1px solid rgba(255,255,255,.14)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 16px 42px rgba(0,0,0,.24)!important;text-decoration:none!important;
}
html body #menuSheet.sheet.on .menuList.luxeMenu a:first-child,
html body #menuSheet.sheet.on .menuList.luxeMenu button:first-child{background:linear-gradient(135deg,rgba(255,20,147,.54),rgba(255,20,147,.16))!important;border-color:rgba(255,20,147,.58)!important;}
html body #menuSheet.sheet.on h1,html body #menuSheet.sheet.on h2,html body #menuSheet.sheet.on h3,html body #menuSheet.sheet.on h4,html body #menuSheet.sheet.on b,html body #menuSheet.sheet.on strong{color:#fff!important;opacity:1!important;}
html body #menuSheet.sheet.on p,html body #menuSheet.sheet.on small,html body #menuSheet.sheet.on em,html body #menuSheet.sheet.on span{color:rgba(255,255,255,.72)!important;opacity:1!important;}
html body #menuSheet.sheet.on .v100HomeCopy span,
html body #menuSheet.sheet.on .v100AgentLine span,
html body #menuSheet.sheet.on .menuFeaturedMini span,
html body #menuSheet.sheet.on .boostSummary span{color:#ff1493!important;opacity:1!important;}
html body #menuSheet.sheet.on .v100AgentMsg{background:#ff1493!important;color:#fff!important;border:0!important;box-shadow:0 18px 42px rgba(255,20,147,.34)!important;}
html body #menuSheet.sheet.on img{opacity:1!important;filter:none!important;}
@media(max-width:760px){html body #menuSheet.sheet.on{background:#02050c!important;}html body #menuSheet.sheet.on > .panel,html body #menuSheet.sheet.on > .chsdMenuPanel,html body #menuSheet.sheet.on .panel.chsdMenuPanel{border-radius:30px 30px 18px 18px!important;}}
