/* R12: approved framing, badges, viewport chrome and icon refinements. */
html body :is(#root,.r12-chrome) .r11-modes button[aria-pressed=true]{background:transparent!important;box-shadow:none!important;border:0!important}
html body #root .r6-gallery,html body #root .rm21-gallery,html body #root .r5-model-viewer,html body #root .r5-model-host{background:#000!important;border:0!important;box-shadow:none!important;border-radius:0!important}
html body #root .r11-media .r6-gallery>img{--fade-y:linear-gradient(to bottom,transparent 0%,rgba(0,0,0,.04) 2%,rgba(0,0,0,.16) 5%,rgba(0,0,0,.4) 9%,rgba(0,0,0,.72) 14%,#000 23%,#000 77%,rgba(0,0,0,.72) 86%,rgba(0,0,0,.4) 91%,rgba(0,0,0,.16) 95%,rgba(0,0,0,.04) 98%,transparent 100%);--fade-x:linear-gradient(to right,transparent,rgba(0,0,0,.16) 2%,rgba(0,0,0,.65) 5%,#000 10%,#000 90%,rgba(0,0,0,.65) 95%,rgba(0,0,0,.16) 98%,transparent);-webkit-mask-image:var(--fade-y),var(--fade-x)!important;mask-image:var(--fade-y),var(--fade-x)!important;-webkit-mask-composite:source-in!important;mask-composite:intersect!important}
html body #root .rm-car-actions{display:grid!important;grid-template-columns:1fr 1fr!important;gap:12px!important;padding:0 12px!important;box-sizing:border-box}
html body #root .rm-car-actions>.btn{width:100%!important;min-width:0!important;min-height:48px!important;flex:1!important}
html body #root :is(.rm23-card-status,.rm21-status-row){display:flex!important;gap:7px!important;margin:14px 0 7px!important}
html body #root :is(.r6-spec-badges,.rm21-stats){display:grid!important;grid-template-columns:repeat(4,max-content)!important;gap:7px!important;margin:0 0 15px!important;padding:0!important;border:0!important;align-items:center}
html body #root :is(.rm23-card-status,.r6-spec-badges,.rm21-status-row,.rm21-stats)>.rm23-condition{font:400 10px/1.3 Roboto,sans-serif!important;letter-spacing:.025em!important;min-height:29px!important;box-sizing:border-box!important;padding:7px 9px!important;display:inline-flex!important;align-items:center!important;white-space:nowrap!important}
html body #root .discover__scrim{display:none!important}html body #root .discover__media-open{overflow:hidden!important}
html body #root .discover__media{border:0!important;border-radius:0!important}
html body #root .composer__send .r5-comet-ring>i{background:conic-gradient(transparent 0deg 250deg,#a13b3418 285deg,#de6144 335deg,#ffa579 354deg,#fff2dc 360deg)!important;opacity:1!important}
html body #root .discover-filters__link{background:transparent!important;isolation:isolate;position:relative;overflow:hidden;border-radius:999px!important}
html body #root .discover__rail-btn:before,html body #root .discover__rail-btn:after{content:none!important}
@media(min-width:900px){html body #root .greeting>.msg__mascot{width:65px!important;height:65px!important}html body #root .discover-desk .discover__item{height:470px!important;min-height:470px!important;max-height:470px!important}html body #root .discover-desk .discover__media-open{height:100%!important;top:0!important;align-self:stretch!important}html body #root .discover-desk .discover__media{width:100%!important;height:100%!important;max-height:none!important;object-fit:cover!important;object-position:center!important;transform:none!important;top:0!important;mask:none!important;-webkit-mask:none!important}html body #root .r3-detail .r11-media .r6-gallery{max-width:none!important}}
@media(max-width:899px){
 html body,html body #root,html body #root .app-shell{transform:none!important;filter:none!important;perspective:none!important;contain:none!important}
 html body .r12-chrome{display:contents!important}
 html body .r12-chrome .app-topbar{position:fixed!important;top:0!important;left:0!important;right:0!important;height:calc(56px + env(safe-area-inset-top,0px))!important;z-index:80!important;transform:none!important}
 html body .r12-chrome .rm24-nav{position:fixed!important;top:auto!important;bottom:0!important;left:0!important;right:0!important;z-index:80!important;transform:none!important;margin:0!important}
 html body #root .app-main{padding-top:68px!important;padding-bottom:calc(90px + env(safe-area-inset-bottom,0px))!important}
 html body #root .discover{height:100dvh!important;inset:0!important;scroll-snap-type:y mandatory!important;scroll-padding-top:0!important;padding-top:0!important;padding-bottom:0!important;overscroll-behavior-y:contain}
 html body #root .discover__item{height:100dvh!important;min-height:100dvh!important;max-height:none!important;scroll-snap-align:start!important;scroll-snap-stop:always;overflow:hidden!important;margin:0!important}
 html body #root .discover__media-open{top:112px!important;left:0!important;width:100%!important;height:clamp(230px,calc(100dvh - 450px),430px)!important}
 html body #root .discover__media-open>.discover__media{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;max-height:none!important;object-fit:cover!important;object-position:center!important;transform:none!important;mask-image:linear-gradient(to bottom,transparent 0%,rgba(0,0,0,.05) 3%,rgba(0,0,0,.2) 7%,rgba(0,0,0,.5) 13%,rgba(0,0,0,.83) 21%,#000 30%,#000 70%,rgba(0,0,0,.83) 79%,rgba(0,0,0,.5) 87%,rgba(0,0,0,.2) 93%,rgba(0,0,0,.05) 97%,transparent 100%)!important;-webkit-mask-image:linear-gradient(to bottom,transparent 0%,rgba(0,0,0,.05) 3%,rgba(0,0,0,.2) 7%,rgba(0,0,0,.5) 13%,rgba(0,0,0,.83) 21%,#000 30%,#000 70%,rgba(0,0,0,.83) 79%,rgba(0,0,0,.5) 87%,rgba(0,0,0,.2) 93%,rgba(0,0,0,.05) 97%,transparent 100%)!important}
 html body #root .discover__item:has(img[alt="McLaren Artura Spider"]) .discover__media{object-position:50% 55%!important;scale:1.25}
 html body #root .discover__overlay{bottom:96px!important;top:auto!important}
 html body #root .r3-detail .r11-media .r6-gallery{width:100vw!important;margin-left:-16px!important}
 html body #root :is(.rm23-card-status,.r6-spec-badges,.rm21-status-row,.rm21-stats)>.rm23-condition{font-size:10px!important;padding:7px 8px!important}
 html body #root .my-red-v2{padding-top:calc(100vw + 28px)!important}
 html body #root .myred-tabs{top:calc(100vw + 48px)!important}
}
@media(max-width:350px){html body #root :is(.r6-spec-badges,.rm21-stats){grid-template-columns:repeat(2,max-content)!important}}
@media(prefers-reduced-motion:reduce){html body .r5-comet-ring>i{animation:none!important}}
html body #root .r11-media .r6-gallery{display:flex!important;align-items:center!important;justify-content:center!important}
html body #root .r11-media .r6-gallery>img{position:relative!important;inset:auto!important;width:auto!important;height:auto!important;max-width:100%!important;max-height:100%!important;transform:none!important;margin:auto!important;flex-shrink:1!important;--fade-y:linear-gradient(to bottom,transparent 0%,rgba(0,0,0,.08) 3%,rgba(0,0,0,.35) 7%,rgba(0,0,0,.75) 12%,#000 20%,#000 80%,rgba(0,0,0,.75) 88%,rgba(0,0,0,.35) 93%,rgba(0,0,0,.08) 97%,transparent 100%)}
@media(max-width:899px){html body #root .discover__media-open{height:clamp(200px,calc(100dvh - 520px),330px)!important;top:110px!important}html body #root .discover__media-open>.discover__media{inset:auto!important;left:0!important;top:50%!important;width:100%!important;height:auto!important;max-height:none!important;transform:translateY(-50%)!important;object-fit:contain!important;-webkit-mask-image:linear-gradient(to bottom,transparent,rgba(0,0,0,.08) 3%,rgba(0,0,0,.35) 7%,rgba(0,0,0,.75) 12%,#000 20%,#000 80%,rgba(0,0,0,.75) 88%,rgba(0,0,0,.35) 93%,rgba(0,0,0,.08) 97%,transparent)!important;mask-image:linear-gradient(to bottom,transparent,rgba(0,0,0,.08) 3%,rgba(0,0,0,.35) 7%,rgba(0,0,0,.75) 12%,#000 20%,#000 80%,rgba(0,0,0,.75) 88%,rgba(0,0,0,.35) 93%,rgba(0,0,0,.08) 97%,transparent)!important}
html body #root .discover__rail{bottom:98px!important;right:14px!important;display:flex!important;flex-direction:row!important;gap:8px!important}html body #root .discover__rail-btn{width:34px!important;height:34px!important;min-height:34px!important;min-width:34px!important}html body #root .discover__cta-row{padding-right:82px!important;gap:8px!important}
}
html body #root .rm-car-actions{width:calc(100% + 8px)!important;margin-left:-4px!important;padding:0!important}
@media(max-width:899px){html body #root .discover__item{contain:none!important;content-visibility:visible!important;will-change:auto!important}html body #root .discover__overlay,html body #root .rm23-card-info,html body #root .discover__cta-row{transform:none!important;mask:none!important;-webkit-mask:none!important;clip-path:none!important}}
