/* RENÉ launch banner, with a separate 72px dismissal target. */
.rene-ad { position:fixed; z-index:1900; left:16px; bottom:calc(16px + env(safe-area-inset-bottom,0px)); width:min(360px,calc(100vw - 32px)); aspect-ratio:1154/385; border-radius:var(--radius-lg,16px); background:#fff; box-shadow:0 8px 32px #0003; overflow:hidden; }
.rene-ad[hidden] { display:none!important; }
.rene-ad-link { display:block; position:absolute; inset:0; border-radius:inherit; overflow:hidden; clip-path:polygon(0 0,calc(100% - 72px) 0,calc(100% - 72px) 72px,100% 72px,100% 100%,0 100%); }
/* Show the complete replacement creative without cropping. */
.rene-ad-art { position:absolute; inset:0; overflow:hidden; pointer-events:none; }
.rene-ad-art img { width:100%; height:100%; object-fit:contain; display:block; }
.rene-ad-link:focus-visible { outline:3px solid #222; outline-offset:-3px; }
.rene-ad-dismiss-zone { position:absolute; top:0; right:0; width:72px; height:72px; display:grid; place-items:center; z-index:2; cursor:default; }
.rene-ad-close { position:relative; display:grid; place-items:center; width:72px; height:72px; border:0; padding:0; background:transparent; color:#fff; cursor:pointer; box-shadow:none; touch-action:manipulation; }
.rene-ad-close::before { content:""; position:absolute; width:36px; height:36px; top:8px; right:8px; border-radius:50%; background:rgba(70,70,70,.28); }
.rene-ad-close svg { position:absolute; top:16px; right:16px; width:20px; height:20px; pointer-events:none; }
.rene-ad-close:hover::before { background:rgba(70,70,70,.4); }
.rene-ad-close:focus-visible { outline:none; }
.rene-ad-close:focus-visible::before { outline:3px solid #222; outline-offset:2px; }
@media(prefers-reduced-motion:no-preference) { .rene-ad { animation:rene-arrive 220ms cubic-bezier(.16,1,.3,1); } @keyframes rene-arrive { from { transform:translateY(16px); opacity:0; } to { transform:translateY(0); opacity:1; } } }

.rene-ad-domain { position:absolute; top:8px; left:8px; display:block; padding:5px 10px; border-radius:999px; background:rgba(70,70,70,.28); color:#fff; font:400 12px/1.4 Inter,system-ui,sans-serif; white-space:nowrap; }

/* Item pages always take precedence, including their expanded location maps. */
body.property-open .rene-ad { display:none!important; }
