:root{--ui-scale:1}
#showcase .reference-topbar .mini-brand{display:none!important}
#showcase .interface-zoom{pointer-events:auto;position:fixed;z-index:100;top:10px;left:50%;transform:translateX(-50%);display:flex;gap:4px;align-items:center;padding:4px;border:1px solid #b88e38;border-radius:14px;background:#fff9ed;color:#30220d;box-shadow:0 4px 18px #0002}
#showcase .interface-zoom button{min-width:44px;height:44px;border:1px solid #bd974d;border-radius:9px;background:transparent;color:inherit;font-size:26px;cursor:pointer}
#showcase .interface-zoom #interfaceZoomReset{width:112px;font-size:16px;font-weight:700;line-height:1.1}
#interfaceZoomReset small{display:block;font-size:11px;font-weight:400;margin-top:3px}
#showcase .interface-zoom button:disabled{opacity:.4!important;cursor:default}
#showcase .interface-zoom button:focus-visible{outline:3px solid #b88e38;outline-offset:2px}
#showcase .bottom-nav{position:fixed!important;top:auto!important;bottom:0!important;left:8px!important;right:8px!important;width:auto!important;height:calc(82px * var(--ui-scale))!important;display:flex!important;flex-direction:row!important;overflow-x:auto!important;overflow-y:hidden!important;opacity:1!important;pointer-events:auto!important;transform:none!important}
html[data-welcome-theme] #showcase .bottom-nav button{flex:1 0 calc(120px * var(--ui-scale))!important;min-width:calc(120px * var(--ui-scale))!important;height:100%!important;font-size:calc(18px * var(--ui-scale))!important;line-height:1.2!important;padding:7px!important;white-space:normal!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:5px!important}
#showcase .bottom-nav button span{font-size:calc(26px * var(--ui-scale))!important}
#showcase .side-panel{top:76px!important;bottom:calc(92px * var(--ui-scale))!important;height:auto!important;display:flex!important;flex-direction:column!important;overflow:hidden!important}
#showcase .side-panel .facade-grid{flex:0 0 auto}
#showcase .apartment-list-head{height:auto!important;flex:0 0 auto;min-height:0!important;padding:6px!important;gap:6px!important}
#showcase .apartment-list-head>span{font-size:calc(20px * var(--ui-scale))!important}
#showcase .block-filters{flex-wrap:wrap}
#showcase .block-filters button{height:calc(44px * var(--ui-scale))!important;min-width:64px!important;font-size:calc(16px * var(--ui-scale))!important}
#showcase .apartment-list{flex:1 1 auto!important;min-height:0!important;height:auto!important;overflow:auto!important}
#showcase .apartment-row{min-height:calc(86px * var(--ui-scale))!important;padding:8px!important;grid-template-columns:36px minmax(0,1fr)!important;gap:6px!important}
#showcase .apartment-row>em{display:none!important}
#showcase .apartment-row i{grid-column:2;font-size:calc(13px * var(--ui-scale))!important}
#showcase .apt-row-title b{font-size:calc(17px * var(--ui-scale))!important;white-space:normal!important;line-height:1.3!important}
#showcase .apt-row-content>small{font-size:calc(13px * var(--ui-scale))!important;white-space:normal!important;line-height:1.4!important}
#showcase .type-panel{top:76px!important;width:clamp(290px,32vw,520px)!important;max-height:calc(100dvh - 76px - 92px * var(--ui-scale))!important;overflow:auto!important;min-height:0!important;bottom:auto!important}
#showcase .type-title{font-size:calc(22px * var(--ui-scale))!important;line-height:1.25!important}
#showcase .type-filters button[data-type]{font-size:calc(36px * var(--ui-scale))!important;height:calc(68px * var(--ui-scale))!important;min-height:calc(68px * var(--ui-scale))!important}
#showcase .type-filters .witness-button{height:auto!important;min-height:calc(78px * var(--ui-scale))!important}
#showcase .witness-button b{font-size:calc(19px * var(--ui-scale))!important}
#showcase .witness-button small{font-size:calc(15px * var(--ui-scale))!important}
#showcase .detail-panel,#showcase .view-panel{top:76px!important;bottom:calc(92px * var(--ui-scale))!important;overflow-y:auto!important}
#showcase .detail-head h2,#showcase .view-panel-head h2{font-size:calc(28px * var(--ui-scale))!important;line-height:1.2!important}
#showcase .panel-kicker,#showcase .view-panel-head span{font-size:calc(13px * var(--ui-scale))!important}
#showcase .apt-media-head{flex-wrap:wrap;gap:6px}
#showcase .apt-media-head span{font-size:calc(24px * var(--ui-scale))!important}
#showcase .apt-media-head small,#showcase .apt-media-image i,#showcase .apt-media-video b{font-size:calc(14px * var(--ui-scale))!important}
#showcase .stats strong{font-size:calc(24px * var(--ui-scale))!important}
#showcase .stats span{font-size:calc(16px * var(--ui-scale))!important}
#showcase .menu-grid b,#showcase .features-grid h3{font-size:calc(24px * var(--ui-scale))!important}
#showcase .menu-grid small,#showcase .features-grid p,#showcase .coming-view p,#showcase .location-view p{font-size:calc(18px * var(--ui-scale))!important;line-height:1.45!important}
#showcase .view-content{overflow-y:auto!important}
#showcase .icon-button{min-width:44px!important;min-height:44px!important}
@media(orientation:landscape) and (max-height:599px){#showcase .side-panel .facade-grid{display:none!important}#showcase .side-panel .apartment-list-head{margin-top:0!important}#showcase .type-panel{padding:10px!important}}
/* Conserver la marque et éviter tout chevauchement au zoom maximal. */
#showcase .reference-topbar .mini-brand{display:flex!important;position:fixed!important;left:80px!important;top:6px!important;transform:none!important;padding:4px 12px!important;max-width:130px!important;height:58px!important;clip-path:none!important;border-radius:10px}
#showcase .reference-topbar .mini-brand img{width:100px!important;height:48px!important;object-fit:contain!important}
html[data-welcome-theme] #showcase .bottom-nav button{flex-basis:calc(150px * var(--ui-scale))!important;min-width:calc(150px * var(--ui-scale))!important;overflow-wrap:anywhere!important}
@media(orientation:landscape) and (max-height:599px){#showcase .side-panel .facade-grid{display:grid!important;max-height:72px!important;overflow-y:auto!important}#showcase .side-panel .facade{height:56px!important}}
#showcase .advancement-button>span{animation:advancement-rise 2.8s ease-in-out infinite}
#showcase .witness-gallery button{animation-fill-mode:both;transition:box-shadow .2s ease,border-color .2s ease}
#showcase .witness-gallery button:hover,#showcase .witness-gallery button:focus-visible{border-color:#e3b958;box-shadow:0 6px 20px #b88e3833;outline:2px solid #b88e38;outline-offset:2px}
#showcase .witness-gallery b{font-size:calc(18px * var(--ui-scale));line-height:1.4}
@keyframes advancement-rise{50%{transform:translateY(-3px);opacity:.65}}
@media(prefers-reduced-motion:reduce){#showcase .advancement-button>span,#showcase .witness-gallery button{animation:none;transition:none}}
/* États interactifs sombres : même contraste pour texte, détails et icônes. */
html[data-welcome-theme="dark"] #showcase .apartment-row:is(:hover,:focus-visible,.selected){background:linear-gradient(110deg,#c49335,#f1d47a)!important;border-color:#f1d47a!important;color:#211708!important}
html[data-welcome-theme="dark"] #showcase .apartment-row:is(:hover,:focus-visible,.selected) :is(b,small,i,em,.apt-row-content,.apt-row-title){color:#211708!important}
html[data-welcome-theme="dark"] #showcase .apartment-row:is(:hover,:focus-visible,.selected) .apt-thumb{background:#211708!important;color:#ffe6a3!important}
html[data-welcome-theme="dark"] #showcase .bottom-nav button.active,
html[data-welcome-theme="dark"] #showcase .bottom-nav button.active:is(:hover,:focus-visible){background:linear-gradient(120deg,#b9872c,#f1d477,#b9872c)!important;color:#211708!important}
html[data-welcome-theme="dark"] #showcase .bottom-nav button.active span{color:#211708!important}
html[data-welcome-theme="dark"] #showcase .bottom-nav button:not(.active):is(:hover,:focus-visible) span{color:#fff3c7!important}
