/* CarsGuide 10.3.2 — Riyadh cinematic satellite journey. */
body .search-map-panel{width:min(1280px,100%);height:min(94dvh,1200px);padding:14px!important;gap:10px!important}
body .search-map-body{position:relative;display:flex;flex:1 1 auto;min-height:0;gap:0!important}
body .search-map-viewport{flex:1 1 100%;width:100%;min-height:0;border-radius:20px!important;border-color:#9cc5a5!important}
body .search-map-canvas{filter:saturate(1.12) brightness(1.12);background:#0b2431}
body .search-map-canvas{transform-origin:50% 50%;will-change:transform;backface-visibility:hidden}
body .search-map-canvas>.search-map-agents{position:absolute;inset:0;width:100%;height:100%;z-index:2;pointer-events:none}
body .search-grid,body .search-radar-rings,body .search-scan{display:none!important}
body .search-vignette{background:linear-gradient(180deg,rgba(0,22,20,.18),transparent 16%,transparent 82%,rgba(0,22,20,.21)),radial-gradient(circle at center,transparent 54%,rgba(0,27,26,.18) 100%)!important}
body .search-advice-host{position:absolute;z-index:7;right:16px;bottom:16px;order:0;flex:none!important;width:min(300px,31%);pointer-events:auto}
body .search-advice-host .journey-advice{background:rgba(255,254,251,.94)!important;box-shadow:0 18px 42px -16px rgba(0,24,26,.55)!important;backdrop-filter:blur(6px)}
body .search-location-callout{top:16px;left:16px;max-width:min(320px,43%);min-width:175px;padding:12px 15px;gap:3px;direction:rtl;text-align:right;background:linear-gradient(135deg,rgba(3,36,38,.92),rgba(2,27,37,.78));border-left:3px solid #91f6b2;border-radius:0 14px 14px 0;color:#f3fff7;text-shadow:0 1px 6px #001a1f;box-shadow:0 16px 34px rgba(0,20,25,.32);backdrop-filter:blur(5px)}
body .search-location-callout span{font-size:11px;color:#c5f1d7;opacity:1}
body .search-location-callout b{font-size:clamp(17px,1.7vw,22px);line-height:1.38;color:#fff}
body .search-location-callout em{font-size:11px;font-style:normal;color:#a6e6bf}
body .search-location-callout small{font-size:10px;opacity:.8;direction:ltr;text-align:right}
body .search-map-panel>.search-hud{min-height:58px!important}
body .search-map-panel .search-hud h2{font-size:clamp(17px,2vw,23px)!important}
body .search-map-footer{gap:6px 12px}
@media(max-width:640px){
 body .search-map-panel{height:calc(100dvh - 12px);padding:9px!important;gap:6px!important}
 body .search-map-body{flex-direction:column;gap:7px!important}
 body .search-map-viewport{flex:1 1 auto;width:100%;min-height:min(34dvh,240px)!important}
 body .search-advice-host{position:relative;inset:auto;order:1;width:100%;flex:0 0 auto!important}
 body .search-advice-host .journey-advice{padding:8px 11px!important}
 body .search-location-callout{top:10px;left:10px;min-width:145px;max-width:55%;padding:8px 10px}
 body .search-location-callout b{font-size:14px}
 body .search-location-callout span,body .search-location-callout em,body .search-location-callout small{font-size:9px}
 body .search-map-panel .search-hud h2{font-size:15px!important}
 body .search-map-footer .search-steps{order:0}
 body .search-map-footer .search-clips{order:1;flex:1 0 100%}
 body .search-map-footer .search-progress{order:2;flex:1 0 100%;justify-content:center;font-size:12px;padding:8px 10px}
 body .search-map-footer .search-progress b{display:block}
 body .search-map-footer .search-progress time{font-size:12px}
 body .search-map-footer .search-map-credit{order:3;font-size:8px!important}
}
@media(max-height:520px) and (min-width:641px){body .search-advice-host{width:min(250px,29%);right:10px;bottom:10px}}
@media(prefers-reduced-motion:reduce){body .search-map-canvas{filter:saturate(1.05) brightness(1.08)}}

/* 10.3.3: map first, flat controls, unobstructed destination caption. */
body .search-map-panel{background:#fff!important;border-color:#dce5df!important;box-shadow:none!important}
body .search-location-callout{top:auto!important;bottom:20px;left:20px;right:auto;display:block;max-width:calc(100% - 40px);min-width:0;padding:0!important;background:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;backdrop-filter:none!important;pointer-events:none}
body .search-location-callout[hidden]{display:none!important}
body .search-location-callout>span,body .search-location-callout>em,body .search-location-callout>small{display:none}
body .search-location-callout>b{display:inline;box-decoration-break:clone;-webkit-box-decoration-break:clone;padding:3px 7px;background:rgba(6,28,23,.55);border-radius:3px;font-size:17px;line-height:1.85;font-weight:500;color:#effff4;text-shadow:0 1px 3px #15382d}
body .search-advice-host .journey-advice{min-height:0!important;height:auto!important;box-shadow:none!important;border:1px solid #dce5df!important;background:rgba(255,255,255,.94)!important}
body .journey-advice .advice-next{display:grid!important;place-items:center;padding:0!important;line-height:1!important;font-size:0!important;box-shadow:none!important;background:#f3f7f4!important;border:1px solid #dce5df!important;transform:none!important}
body .journey-advice .advice-next::before{content:'';display:block;width:8px;height:8px;border-left:1.7px solid currentColor;border-bottom:1.7px solid currentColor;transform:rotate(45deg);margin-left:4px}
body .journey-advice h3{padding-left:38px}
body .search-map-panel :is(.search-back,.search-arrival,.search-progress,.search-steps li,.search-hud-logo){background:#f5f8f6!important;box-shadow:none!important;border:1px solid #dce5df!important;text-shadow:none!important}
body .search-map-panel .search-steps li.active{background:#eaf5ef!important;border-color:#bfd9cb!important}
body .search-map-panel .search-back{display:grid;place-items:center;padding:0!important}
body :is(button,.btn,.single-submit,.hero-examples button,.chip){box-shadow:none!important;text-shadow:none!important;background-image:none!important}
body :is(button,.btn):active{translate:none;box-shadow:none!important}
@media(max-width:640px){
 body .search-portal{padding:0!important;align-items:stretch!important}
 body .search-map-panel{width:100%!important;height:100dvh!important;max-height:100dvh!important;border:0!important;border-radius:0!important;padding:max(8px,env(safe-area-inset-top)) 8px max(6px,env(safe-area-inset-bottom))!important;gap:6px!important;box-sizing:border-box}
 body .search-map-panel>.search-hud{min-height:50px!important;padding-left:42px!important}
 body .search-hud-logo{padding:3px 5px!important;border-radius:7px!important}
 body .search-hud-logo img{width:48px!important}
 body .search-map-panel .search-hud h2{font-size:14px!important;line-height:1.3!important}
 body .search-map-panel .search-hud p{display:none!important}
 body .search-map-panel .search-back{width:34px!important;min-width:34px!important;height:34px!important;border-radius:8px!important}
 body .search-map-body{flex:1 1 auto;min-height:0;gap:6px!important}
 body .search-map-viewport{flex:1 1 0%!important;min-height:0!important;border-radius:12px!important}
 body .search-location-callout{bottom:16px;left:12px;max-width:calc(100% - 24px)}
 body .search-location-callout>b{font-size:14px}
 body .search-advice-host{position:relative;width:100%;flex:0 0 auto!important}
 body .search-advice-host .journey-advice{padding:8px 10px!important;border-radius:10px!important}
 body .search-advice-host .journey-advice p{font-size:12px!important;line-height:1.5!important;display:block!important;-webkit-line-clamp:unset;max-height:none;overflow:visible}
 body .search-advice-host .journey-advice h3{font-size:13px!important;line-height:1.4!important;margin:0 0 3px!important}
 body .search-advice-host :is(.advice-brand,.advice-dots){display:none!important}
 body .search-map-footer{gap:4px!important}
 body .search-map-footer .search-steps,body .search-map-footer .search-clips{display:none!important}
 body .search-map-footer .search-progress{flex:1 0 100%;border:0!important;background:none!important;padding:3px 6px!important;font-size:12px!important;justify-content:center}
 body .search-map-footer .search-progress b{display:block}
 body .search-map-footer .search-map-credit{font-size:7px!important;line-height:1.4!important;gap:0 5px!important}
 body .search-map-credit>span{display:none!important}
}
