/* Web-only map banner; keep attribution and route controls outside the ad. */
.web-map-ad { position:absolute; left:12px; bottom:24px; z-index:700; width:320px; background:#fff; border:1px solid #d9dde3; box-shadow:0 2px 8px #0002; box-sizing:content-box; }
.web-map-ad[hidden] { display:none; }
.web-map-ad-label { padding:2px 5px; color:#69717c; font:10px/14px system-ui,sans-serif; }
.web-map-ad-slot { width:320px; min-height:50px; display:grid; place-items:center; color:#69717c; font:12px system-ui,sans-serif; }
body.playback-active .web-map-ad { visibility:hidden; pointer-events:none; }
.web-ad-dialog { width:400px; max-width:calc(100vw - 32px); max-height:calc(100dvh - 32px); overflow:auto; box-sizing:border-box; padding:20px; border:1px solid #d9dde3; border-radius:12px; color:#1f2329; background:#fff; font:14px/1.6 system-ui,sans-serif; }
.web-ad-dialog::backdrop { background:#14181e80; }
.web-ad-dialog h2 { margin:0 0 12px; font-size:18px; }
.web-ad-status { min-height:24px; }
.web-ad-actions { display:flex; gap:8px; flex-wrap:wrap; justify-content:flex-end; }
.web-ad-actions button { min-height:40px; padding:8px 12px; white-space:normal; }
.web-ad-actions button[hidden] { display:none; }
@media(max-width:640px) { .web-map-ad { left:0; bottom:22px; border-left:0; border-right:0; } }

@media(max-width:1120px) { body.web-ads-visible .elev-float { bottom:104px; } }
@media(max-width:640px) { body.web-ads-visible .elev-float { bottom:calc(48dvh + 104px); } }
