/* t628u + t775u: video-style play facade, compact centered hub, toolbar-safe Open tour */
/* t628u: on-page tours, photo carousel, floor-plan gallery, pop effects (shared; new pages pick it up automatically). */
.lc-mh{margin:1.1rem auto 1.4rem;max-width:900px;padding:.9rem .9rem calc(var(--lc-bottom-chrome,64px) + 16px);border:1px solid rgba(212,175,55,.35);border-radius:16px;background:linear-gradient(160deg,rgba(26,26,46,.92),rgba(15,24,40,.92));scroll-margin-top:calc(var(--lc-header-h,3.7rem) + 8px);scroll-margin-bottom:calc(var(--lc-bottom-chrome,64px) + 16px)}
.lc-mh-tabs{display:flex;gap:.4rem;flex-wrap:wrap;margin:0 0 .7rem}
.lc-mh-tab{appearance:none;border:1px solid rgba(212,175,55,.55);background:transparent;color:var(--text,#eaeaea);border-radius:999px;padding:.42rem .9rem;font:600 .92rem/1.1 Inter,system-ui,sans-serif;cursor:pointer;display:inline-flex;align-items:center;gap:.35rem}
.lc-mh-tab[aria-selected="true"]{background:var(--gold,#d4af37);color:#111;border-color:var(--gold,#d4af37)}
.lc-mh-tab:focus-visible{outline:3px solid var(--gold,#d4af37);outline-offset:2px}
.lc-mh-tab .lc-mh-n{font-weight:500;opacity:.8;font-size:.82em}
.lc-mh-panel[hidden]{display:none!important}
.lc-mh .lc-mh-h{margin:.1rem 0 .5rem;font-size:1.15rem}
.lc-mh #community-photos,.lc-mh #virtual-tour,.lc-mh .vfp-block{margin:0}
.lc-mh-moved{font-size:.9rem;margin:.6rem 0}
.lc-mh-moved a{color:var(--gold,#d4af37)}

/* click-to-load tour player — same look as the video facade (lc-yt-facade): 16:9, centered, gold play button */
.lc-tp{position:relative;max-width:900px;margin:.4rem auto 1rem;border-radius:12px;overflow:visible;border:0;background:transparent}
.lc-tp-stage{position:relative;width:100%;height:0;padding-bottom:56.25%;background:#111;border-radius:12px;overflow:hidden;border:1px solid rgba(212,175,55,.35)}
.lc-tp-stage iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.lc-tp-poster{position:absolute;inset:0;width:100%;height:100%;border:0;padding:0;margin:0;cursor:pointer;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.55rem;color:#fff;background:
  radial-gradient(120% 90% at 20% 10%,rgba(212,175,55,.28),transparent 55%),
  radial-gradient(90% 80% at 90% 95%,rgba(80,120,200,.25),transparent 60%),
  linear-gradient(150deg,#141a2e,#0b0f1c 60%,#1a1a2e)}
.lc-tp-poster img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.55}
.lc-tp-poster .lc-tp-ico{position:relative;width:74px;height:74px;margin:0;border-radius:50%;background:var(--gold,#d4af37);color:#000;display:flex;align-items:center;justify-content:center;font-size:2rem;box-shadow:0 8px 24px rgba(0,0,0,.45);transition:transform .25s ease;line-height:1}
.lc-tp-poster:hover .lc-tp-ico{transform:scale(1.06)}
.lc-tp-poster .lc-tp-txt{position:relative;font:700 1rem/1.2 Inter,system-ui,sans-serif;text-shadow:0 2px 8px rgba(0,0,0,.7);padding:0 .8rem;text-align:center}
.lc-tp-poster .lc-tp-prov{position:relative;font:500 .8rem/1.2 Inter,system-ui,sans-serif;color:#f1e3b0;opacity:.9}
.lc-tp-poster:focus-visible{outline:3px solid var(--gold,#d4af37);outline-offset:2px}
/* credit row under the player (like .lc-yt-credit), kept above the bottom toolbar */
.lc-tp-bar{display:flex;gap:.65rem;flex-wrap:wrap;align-items:center;justify-content:center;padding:.55rem .2rem 0;background:transparent;text-align:center}
.lc-tp-btn{appearance:none;border:0;background:transparent;color:var(--gold,#d4af37);border-radius:0;padding:0;font:600 .92rem/1.3 Inter,system-ui,sans-serif;cursor:pointer;text-decoration:underline;display:inline-flex;align-items:center;gap:.3rem}
.lc-tp-btn:hover{background:transparent;opacity:.9}
.lc-tp-btn[hidden]{display:none}
.lc-tp:fullscreen{border-radius:0;display:flex;flex-direction:column;background:#000;max-width:none;margin:0}
.lc-tp:fullscreen .lc-tp-stage{flex:1;height:auto;padding-bottom:0}
.lc-tp:-webkit-full-screen{border-radius:0;display:flex;flex-direction:column;background:#000;max-width:none;margin:0}
.lc-tp:-webkit-full-screen .lc-tp-stage{flex:1;height:auto;padding-bottom:0}
.lc-tp.lc-tp-linkonly .lc-tp-poster{cursor:pointer}

/* swipe carousel */
.lc-car{position:relative;margin:.4rem 0 .6rem}
.lc-car-track{display:flex;gap:.6rem;overflow-x:auto;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;scrollbar-width:none;padding:.2rem 0 .4rem;scroll-padding:0}
.lc-car-track::-webkit-scrollbar{display:none}
.lc-car-slide{flex:0 0 100%;scroll-snap-align:start;position:relative;border-radius:12px;overflow:visible}
@media (min-width:760px){.lc-car.lc-car-multi .lc-car-slide{flex-basis:calc(50% - .3rem)}}
@media (min-width:1100px){.lc-car.lc-car-many .lc-car-slide{flex-basis:calc(33.333% - .4rem)}}
.lc-car-slide figure{margin:0}
.lc-car-slide img{width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;border-radius:12px;display:block;background:#0b0f1c}
.lc-car-slide .lc-fx-target{display:block;width:100%;padding:0;border:0;background:transparent;cursor:zoom-in;border-radius:12px;perspective:1200px}
.lc-car-slide .lc-fx-target:focus-visible{outline:3px solid var(--gold,#d4af37);outline-offset:3px}
.lc-car-nav{position:absolute;top:50%;transform:translateY(-50%);width:42px;height:42px;border-radius:50%;border:1px solid rgba(212,175,55,.7);background:rgba(10,12,24,.78);color:var(--gold,#d4af37);font-size:1.4rem;cursor:pointer;display:flex;align-items:center;justify-content:center;z-index:3}
.lc-car-prev{left:8px}.lc-car-next{right:8px}
.lc-car-nav[hidden]{display:none}
.lc-car-dots{display:flex;gap:.35rem;justify-content:center;margin:.25rem 0 .1rem}
.lc-car-dot{width:9px;height:9px;border-radius:50%;border:0;padding:0;background:rgba(212,175,55,.35);cursor:pointer}
.lc-car-dot[aria-current="true"]{background:var(--gold,#d4af37);transform:scale(1.25)}
.lc-car-count{position:absolute;right:10px;bottom:14px;background:rgba(10,12,24,.75);color:#fff;border-radius:999px;padding:.15rem .55rem;font:600 .78rem/1.3 Inter,system-ui,sans-serif;z-index:3}

/* lightbox (t628u) */
.lc-mlbx{position:fixed;inset:0;z-index:2147482000;background:rgba(4,6,14,.94);display:none;align-items:center;justify-content:center;flex-direction:column;padding:max(12px,env(safe-area-inset-top)) 8px calc(var(--lc-bottom-chrome,64px) + 12px)}
.lc-mlbx.is-on{display:flex}
.lc-mlbx-stage{position:relative;max-width:min(1400px,98vw);max-height:82vh;display:flex;align-items:center;justify-content:center;perspective:1400px}
.lc-mlbx-stage img{max-width:min(1400px,98vw);max-height:82vh;width:auto;height:auto;object-fit:contain;border-radius:10px;display:block;box-shadow:0 20px 60px rgba(0,0,0,.6)}
.lc-mlbx-close{position:absolute;top:max(10px,env(safe-area-inset-top));right:12px;width:44px;height:44px;border-radius:50%;border:1px solid rgba(212,175,55,.7);background:rgba(10,12,24,.85);color:#fff;font-size:1.6rem;cursor:pointer;z-index:2}
.lc-mlbx-nav{position:absolute;top:50%;transform:translateY(-50%);width:46px;height:46px;border-radius:50%;border:1px solid rgba(212,175,55,.7);background:rgba(10,12,24,.8);color:var(--gold,#d4af37);font-size:1.6rem;cursor:pointer;z-index:2}
.lc-mlbx-prev{left:10px}.lc-mlbx-next{right:10px}
.lc-mlbx-cap{color:#e9e2cf;font:500 .9rem/1.4 Inter,system-ui,sans-serif;text-align:center;margin:.6rem .6rem 0;max-width:900px}
.lc-mlbx button:focus-visible{outline:3px solid var(--gold,#d4af37);outline-offset:2px}

/* pop effects: GPU-friendly transforms, each < 900 ms */
.lc-fx{transform-style:preserve-3d;will-change:transform,opacity;backface-visibility:hidden}
.lc-fx-twist{animation:lcFxTwist .85s cubic-bezier(.2,.7,.2,1) both}
@keyframes lcFxTwist{0%{transform:perspective(1200px) rotateY(0) scale(1)}45%{transform:perspective(1200px) rotateY(180deg) scale(1.06)}100%{transform:perspective(1200px) rotateY(360deg) scale(1)}}
.lc-fx-flip{animation:lcFxFlip .85s cubic-bezier(.2,.7,.2,1) both}
@keyframes lcFxFlip{0%{transform:perspective(1200px) rotateX(0) scale(1)}45%{transform:perspective(1200px) rotateX(180deg) scale(1.05)}100%{transform:perspective(1200px) rotateX(360deg) scale(1)}}
.lc-fx-ripple{animation:lcFxRipple .88s ease-in-out both}
@keyframes lcFxRipple{0%{transform:scale(1);filter:url(#lc-fx-ripple-0)}25%{transform:scale(1.03) skewX(1.5deg);filter:url(#lc-fx-ripple-1)}55%{transform:scale(1.05) skewX(-1deg);filter:url(#lc-fx-ripple-2)}100%{transform:scale(1);filter:url(#lc-fx-ripple-0)}}
.lc-fx-float{animation:lcFxFloat .88s cubic-bezier(.2,.8,.2,1) both}
@keyframes lcFxFloat{0%{transform:translate3d(0,0,0) scale(1);box-shadow:0 4px 10px rgba(0,0,0,.25)}50%{transform:translate3d(0,-26px,0) scale(1.06);box-shadow:0 40px 50px rgba(0,0,0,.45)}100%{transform:translate3d(0,0,0) scale(1);box-shadow:0 4px 10px rgba(0,0,0,.25)}}
.lc-fx-wobble{animation:lcFxWobble .8s ease-in-out both}
@keyframes lcFxWobble{0%{transform:rotate(0) scale(1)}20%{transform:rotate(-3.5deg) scale(1.03)}40%{transform:rotate(3deg) scale(1.04)}60%{transform:rotate(-2deg) scale(1.03)}80%{transform:rotate(1.2deg) scale(1.01)}100%{transform:rotate(0) scale(1)}}
.lc-fx-tilt{animation:lcFxTilt .88s cubic-bezier(.2,.7,.2,1) both}
@keyframes lcFxTilt{0%{transform:perspective(1000px) scale(1) rotateX(0) rotateY(0)}50%{transform:perspective(1000px) scale(1.12) rotateX(7deg) rotateY(-9deg)}100%{transform:perspective(1000px) scale(1) rotateX(0) rotateY(0)}}
.lc-fx-spiral{animation:lcFxSpiral .88s cubic-bezier(.2,.7,.2,1) both}
@keyframes lcFxSpiral{0%{transform:rotate(-540deg) scale(.15);opacity:.2}70%{transform:rotate(12deg) scale(1.04);opacity:1}100%{transform:rotate(0) scale(1);opacity:1}}
.lc-fx-fade{animation:lcFxFade .35s ease both}
@keyframes lcFxFade{0%{opacity:.35}100%{opacity:1}}
@media (prefers-reduced-motion: reduce){
  .lc-fx-twist,.lc-fx-flip,.lc-fx-ripple,.lc-fx-float,.lc-fx-wobble,.lc-fx-tilt,.lc-fx-spiral{animation:lcFxFade .3s ease both;filter:none}
  .lc-tp-poster .lc-tp-ico{transition:none}
}

/* one-at-a-time tour switcher (tabs / thumbnails) */
.lc-tp-switch{margin:.35rem 0 1rem}
.lc-tp-switch-tabs{display:flex;gap:.35rem;flex-wrap:nowrap;overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:thin;margin:0 0 .55rem;padding:.1rem 0 .3rem;scroll-snap-type:x proximity}
.lc-tp-switch-tab{appearance:none;flex:0 0 auto;border:1px solid rgba(212,175,55,.55);background:transparent;color:var(--text,#eaeaea);border-radius:999px;padding:.38rem .8rem;font:600 .85rem/1.1 Inter,system-ui,sans-serif;cursor:pointer;white-space:nowrap;scroll-snap-align:start}
.lc-tp-switch-tab[aria-selected="true"]{background:var(--gold,#d4af37);color:#111;border-color:var(--gold,#d4af37)}
.lc-tp-switch-tab:focus-visible{outline:3px solid var(--gold,#d4af37);outline-offset:2px}
.lc-tp-switch-pane[hidden]{display:none!important}
.lc-tp-switch .lc-tp{margin-top:0}
.lc-tp-switch .vfp-card{border:0;padding:0;background:transparent}

/* keep the floating pills, assistant and toolbar from covering the tour poster / Open tour on phones while the hub is on screen (same idea as t634u) */
@media (max-width:600px){
  html.lc-mh-clear .lcp-pill,html.lc-mh-clear .lci-fab,html.lc-mh-clear #lc-assist,html.lc-mh-clear #lc-tb{opacity:0!important;visibility:hidden!important;pointer-events:none!important;transition:opacity .25s}
}
