/* RED MOTORS R5: visual language taken from the owner's working Home. */
html,html body,html body :is(#root,.r12-chrome),html body :is(#root,.r12-chrome) .app-shell,html body :is(#root,.r12-chrome) .app-main,html body :is(#root,.r12-chrome) .app-main__inner{background:#000!important;background-image:none!important}
html body:before,html body:after,html body :is(#root,.r12-chrome) .app-shell:before,html body :is(#root,.r12-chrome) .app-shell:after{display:none!important}
html body :is(#root,.r12-chrome) .app-topbar,html body :is(#root,.r12-chrome) .app-topbar__inner{border:0!important;outline:0!important;box-shadow:none!important;background:#000!important}
html body :is(#root,.r12-chrome) .app-topbar .r5-wordmark{width:155px!important;height:auto!important;max-width:none!important;object-fit:contain}.r5-wordmark{display:block}
html body :is(#root,.r12-chrome) .rm24-nav{background:#000!important;border:0!important;border-radius:0!important;box-shadow:none!important;padding:5px 0!important;bottom:0!important;width:100%!important;max-width:none!important}
html body :is(#root,.r12-chrome) .rm24-nav .bottom-nav__label{visibility:hidden!important}.rm24-nav .rm24-nav-item{min-height:60px!important}.rm24-nav .rm24-nav-item.active .bottom-nav__label{visibility:visible!important}.rm24-nav .rm-nav-icon{width:24px!important;height:24px!important;stroke-width:1.6!important}.rm24-nav .rm24-centre{height:60px;display:grid;place-items:center}.rm24-centre .r6-sphere{width:45px;height:45px;margin:0!important}
html body :is(#root,.r12-chrome) .rds{background:#000!important;border:0!important;box-shadow:none!important}.r5-planet-blank{position:fixed;inset:0;background:#000;z-index:9999}
.r5-planet-entry{display:none}.r5-planet-entry .r6-sphere{width:100%;height:100%}.r5-planet-entry>span:not(.r5-comet-ring){position:absolute;inset:0;display:grid;align-content:center;text-align:center;font-size:10px;font-weight:500;letter-spacing:.08em;line-height:1.4;text-transform:uppercase;color:#fff}
@media(min-width:900px){html body :is(#root,.r12-chrome) .rds{width:195px!important;padding:24px 20px!important;transition:none!important}html[data-red-sidebar=collapsed] body :is(#root,.r12-chrome) .rds{width:78px!important;padding-left:15px!important;padding-right:15px!important}html body :is(#root,.r12-chrome) .rds__brand .r5-wordmark{width:155px;height:auto!important;max-width:none!important}.rds__head{display:block!important}.rds__toggle{margin-top:25px!important}html body :is(#root,.r12-chrome) .rds__toggle{display:flex!important;width:36px;height:36px;padding:8px;background:none;color:#aaa;border:0}.rds__toggle svg{width:16px;height:16px}html[data-red-sidebar=collapsed] body :is(#root,.r12-chrome) .rds__text,html[data-red-sidebar=collapsed] body :is(#root,.r12-chrome) .rds__count{display:none!important}html[data-red-sidebar=collapsed] body :is(#root,.r12-chrome) .rds__brand{display:block;overflow:visible;width:160px}html body :is(#root,.r12-chrome) .app-main{margin-left:195px!important;width:calc(100% - 195px)!important;padding-top:28px!important}html[data-red-sidebar=collapsed] body :is(#root,.r12-chrome) .app-main{margin-left:78px!important;width:calc(100% - 78px)!important}.rds__nav{gap:10px!important}.rds__foot>.rds__btn{font-size:11px!important;line-height:1.4}.rds__foot svg{flex-shrink:0}.r5-planet-entry{display:block;position:fixed;top:24px;right:24px;width:80px;height:80px;z-index:35;text-decoration:none;border-radius:50%;isolation:isolate}.r5-planet-entry .r5-comet-ring{opacity:.65}.app-main__inner{padding-top:25px!important}.discover-desk__bar{padding-right:90px!important}html body :is(#root,.r12-chrome) .discover-desk .discover__item{border:0!important;border-radius:0!important;background:#000!important}.discover-desk .discover__media-open{border-radius:0!important}html body :is(#root,.r12-chrome) .discover-desk .discover__overlay{background:#000!important;padding:28px!important}.rm22-discover-heading{background:#000!important}.rm22-discover-heading .rm22-heading-icon{display:none!important}html body :is(#root,.r12-chrome) .discover-desk .discover__name{font-size:23px!important}html body :is(#root,.r12-chrome) .rm22-chat .prompt-chip{min-height:105px!important;padding:22px!important;grid-template-columns:28px 1fr 16px!important;gap:18px!important}html body :is(#root,.r12-chrome) .rm22-chat .rm22-prompt-copy small{font-size:17px!important}html body :is(#root,.r12-chrome) .rm22-chat .rm22-prompt-copy>span{font-size:15px!important}.rm22-chat .conversation__empty{padding-top:48px!important}.rm22-chat .greeting__line:first-child{font-size:28px!important}}
html body :is(#root,.r12-chrome) .discover__name{font-size:20px!important;line-height:1.25!important}html body :is(#root,.r12-chrome) .rm23-price strong{font-size:19px!important;font-weight:500!important}.r5-discover-year{display:flex;gap:14px;font-size:12px;color:#aaa;margin:12px 0}.r5-power-badges{flex-wrap:wrap;margin:10px 0}.rm23-condition{white-space:nowrap;word-break:keep-all}.r5-power-badges span{font-size:9px!important;padding:5px 8px!important}
html body :is(#root,.r12-chrome) .rm21-status-row{display:flex;gap:8px}.rm21-status-row .rm23-condition{border:1px solid #ffffff20;border-radius:999px;background:#ffffff08;color:#ddd;text-transform:uppercase;font-size:10px;padding:5px 9px;letter-spacing:.05em}.r3-detail .rm21-price{display:flex!important;flex-direction:row!important;align-items:center!important;gap:10px!important}html body :is(#root,.r12-chrome) .r3-detail .rm21-price strong{font-size:22px!important;line-height:1.3!important}.r5-tax-hint{position:relative;display:inline-flex}.r5-tax-hint>button{width:20px;height:20px;border:1px solid #777;background:none;color:#ccc;padding:0;display:grid;place-items:center;font-size:11px}.r5-tax-copy{position:absolute;right:0;top:30px;z-index:20;background:#19191d;color:#ddd;padding:12px;border:1px solid #ffffff20;border-radius:12px;width:220px;font-size:12px;line-height:1.5;font-weight:400}
/* Same lower red arc for selected switches and quiet actions. */
html body :is(#root,.r12-chrome) .rm21-tabs,html body :is(#root,.r12-chrome) .r5-categories{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:3px!important;overflow:visible!important;background:none!important;border:0!important;border-bottom:1px solid #ffffff0c!important;padding:0!important;border-radius:0!important}
html body :is(#root,.r12-chrome) .r5-categories{grid-template-columns:repeat(6,minmax(0,1fr))!important}
html body :is(#root,.r12-chrome) .rm21-tabs button,html body :is(#root,.r12-chrome) .r5-categories button{position:relative;border:0!important;border-bottom:2px solid transparent!important;border-radius:0 0 24px 24px!important;background:none!important;color:#8e8e98!important;padding:10px 3px!important;min-height:46px!important;min-width:0!important;justify-content:center;white-space:nowrap;font-size:12px!important}
html body :is(#root,.r12-chrome) .rm21-tabs button[aria-pressed=true],html body :is(#root,.r12-chrome) .r5-categories button[aria-pressed=true]{color:#fff!important;border-bottom-color:#ac414c!important;background:radial-gradient(ellipse at 50% 140%,#7d223014,transparent 70%)!important}
.r5-controls{padding:0!important;border:0!important;backdrop-filter:none!important}.r5-segment{margin-top:12px!important;background:#ffffff05!important;border:1px solid #ffffff0b}.r5-categories .r5-category-name{font-size:10px}.r5-fact-label>summary{color:#a7a7b0}.r5-car{background:#ffffff03!important}.r5-car-name>span{font-size:12px}.r5-car-name>span+span{min-height:32px;font-size:11px}.r5-selected-cars{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:18px 0}.r5-selected-cars label{position:relative;display:grid;gap:8px;padding:8px;border:1px solid #ffffff17;border-radius:14px;cursor:pointer}.r5-selected-cars img{width:100%;height:70px;object-fit:cover;border-radius:8px}.r5-selected-cars span{font-size:11px;line-height:1.4;min-height:32px;padding-right:10px}.r5-selected-cars input{position:absolute;right:12px;top:12px;accent-color:#be273a}.r5-compare-section>header{display:flex;align-items:center;gap:10px;margin:24px 0 12px}.r5-compare-toggle{display:flex;align-items:center;gap:12px;background:#ffffff06;border:1px solid #ffffff24;color:#fff;padding:12px 18px;cursor:pointer;font-size:14px}.r5-compare-toggle small{color:#aaa;font-size:11px}.r5-compare-toggle>svg{width:16px;height:16px}.r5-shortlist{padding-bottom:90px}
.r5-shortlist-layout{display:grid;grid-template-columns:240px minmax(0,1fr);gap:28px}.r5-shortlist-list{display:flex;flex-direction:column;gap:8px;align-self:start;position:sticky;top:24px;max-height:85dvh;overflow:auto}.r5-shortlist-list button{display:flex;align-items:center;gap:12px;padding:12px;background:none;border:1px solid transparent;color:#ddd;text-align:left;border-radius:12px!important;cursor:pointer}.r5-shortlist-list button[aria-current=true]{border-color:#a83a47;background:#ffffff04}.r5-shortlist-list img{width:72px;height:48px;object-fit:cover;border-radius:7px}.r5-shortlist-list strong{display:block;font-size:12px;line-height:1.45}.r5-shortlist-list small{display:block;font-size:11px;color:#aaa;margin-top:6px}.r5-shortlist-current{min-width:0}.r5-shortlist-current>.r6-gallery{height:clamp(260px,32vw,450px);background:#000;min-height:0}.r5-shortlist-current>.r6-gallery>img{object-fit:cover}.r5-shortlist-summary{display:flex;align-items:center;gap:18px;padding:22px 0}.r5-shortlist-summary>div{flex:1;min-width:0}.r5-shortlist-summary h1{font-size:20px;font-weight:500;margin:0 0 7px}.r5-shortlist-summary p{font-size:12px;color:#aaa;margin:0 0 9px}.r5-shortlist-summary strong{font-size:17px;font-weight:400}.r5-save-heart{width:38px;height:38px;display:grid;place-items:center;border:1px solid #ffffff22;background:none;color:#de3a4b;cursor:pointer}.r5-car-switcher{display:flex;justify-content:center;align-items:center;gap:18px;margin:20px 0}.r5-car-switcher button{width:38px;height:38px;background:none;border:1px solid #ffffff18;color:#ccc;font-size:23px;cursor:pointer}.r5-car-switcher span{font-size:12px;color:#aaa}
.r5-model-viewer{position:relative;height:350px;min-height:280px;background:#000;isolation:isolate;border-bottom:1px solid #ffffff10}.r5-model-host{width:100%;height:100%}.r5-model-host canvas{display:block;width:100%;height:100%;touch-action:pan-y}.r5-model-start{position:absolute;inset:0;display:grid;place-items:center;align-content:center;gap:12px}.r5-model-start img{width:65%;height:190px;object-fit:contain;opacity:.65}.r5-model-status{position:absolute;inset:0;display:grid;align-content:center;justify-items:center;font-size:13px;color:#aaa;background:#000a}.r5-model-tools{position:absolute;bottom:10px;right:10px;left:10px;display:flex;align-items:center;justify-content:flex-end;gap:10px;font-size:10px;color:#888;pointer-events:none}.r5-model-tools button{pointer-events:auto;width:30px;height:30px;border:1px solid #ffffff20;background:#0008;color:#bbb;font-size:18px;cursor:pointer}
html body :is(#root,.r12-chrome) .my-red-v2{padding-top:310px!important;padding-right:64px!important;overflow:visible!important}.r6-planet-composition{width:360px!important;height:360px!important;left:50%!important;top:12px!important;transform:translate(-50%,0)!important}.r6-planet-composition>.r6-sphere{object-fit:contain!important;border-radius:0!important;transform:scale(1.65);mix-blend-mode:screen}.r6-planet-composition{overflow:visible!important;mix-blend-mode:screen;z-index:0!important;pointer-events:none}[data-myred-section=requests]>.r6-planet-composition{transform:translate(-75%,20px) scale(1.18)!important}[data-myred-section=profile]>.r6-planet-composition{transform:translate(-27%,0) scale(1.1)!important}.myred-panel{position:relative;z-index:1}html body :is(#root,.r12-chrome) .myred-head{position:static!important;overflow:visible!important}html body :is(#root,.r12-chrome) .myred-tabs{position:absolute!important;top:335px!important;right:7px!important;left:auto!important;width:42px!important;height:auto!important;z-index:10!important;visibility:visible!important;opacity:1!important;display:flex!important;overflow:visible!important;transform:none!important}html body :is(#root,.r12-chrome) .myred-tabs__tab{visibility:visible!important;opacity:1!important;width:36px!important;height:36px!important;flex-shrink:0;z-index:1}html body :is(#root,.r12-chrome) .myred-tabs__tab:focus-visible{outline:1px solid #fff;outline-offset:3px}
.r5-legal{max-width:740px;margin:20px auto 120px;padding:0 10px}.r5-legal h1{font-size:28px;font-weight:500;margin-bottom:8px}.r5-legal-date{color:#888;font-size:12px;margin-bottom:32px}.r5-legal h2{font-size:18px;font-weight:500;margin-top:28px}.r5-legal p{font-size:15px;line-height:1.8;color:#bdbdc4}
/* Owner-requested slow, continuous button motion. Ring itself stays fixed. */
html body :is(#root,.r12-chrome) .btn{position:relative;isolation:isolate;overflow:visible!important;background:#050505!important;border:1px solid #ffffff12!important;border-bottom:2px solid #a33d48!important;color:#eee!important;box-shadow:none!important;font-size:13px!important;min-height:42px;justify-content:center}
html body :is(#root,.r12-chrome) .btn:has(>.r5-comet-ring),html body :is(#root,.r12-chrome) .profile-row__signin{border:1px solid #ffffff35!important;background:#050505!important;color:#eee!important;position:relative;isolation:isolate}
.r5-cta-label{position:relative;display:inline-block;white-space:nowrap}.r5-cta-sheen{position:absolute;inset:0;color:#bd6872;pointer-events:none;animation:r5-letter-sweep 8s linear infinite;clip-path:polygon(-40% 0,-10% 0,-10% 100%,-40% 100%)}
@keyframes r5-letter-sweep{to{clip-path:polygon(110% 0,140% 0,140% 100%,110% 100%)}}
.r5-comet-ring{position:absolute;inset:-1px;border-radius:inherit;padding:1px;pointer-events:none;z-index:3;overflow:hidden;-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask:linear-gradient(#000 0 0) content-box exclude,linear-gradient(#000 0 0)}
.r5-comet-ring>i{position:absolute;left:50%;top:50%;width:500px;height:500px;margin:-250px 0 0 -250px;border-radius:50%;background:conic-gradient(from 0deg,transparent 0deg 270deg,#ad3d4820 300deg,#b8424d 345deg,#e58b93 358deg,#eee 360deg);animation:r5-comet 12s linear infinite;will-change:transform}
@keyframes r5-comet{to{transform:rotate(360deg)}}
html body :is(#root,.r12-chrome) .composer__send{background:transparent!important;border:1px solid #ffffff80!important;color:#fff!important;position:relative;isolation:isolate;overflow:visible!important}.composer__send .r5-comet-ring>i{width:100px;height:100px;margin:-50px 0 0 -50px}.composer__send svg{animation:r5-send-tint 7s linear infinite}@keyframes r5-send-tint{0%,100%{stroke:#fff}50%{stroke:#c76874}}html body :is(#root,.r12-chrome) button:disabled .r5-comet-ring>i,html body :is(#root,.r12-chrome) button:disabled .r5-cta-sheen{animation-play-state:paused;opacity:.3}
[data-save-heart][aria-pressed=true],.r5-save-heart[aria-pressed=true],.r3-heart[aria-pressed=true]{animation:r5-heart-on 400ms ease-out both}@keyframes r5-heart-on{0%{opacity:.45;transform:scale(.94)}100%{opacity:1;transform:scale(1)}}
@media(max-width:899px){.r5-shortlist-layout{display:block}.r5-shortlist-list{display:none}.r5-shortlist-current>.r6-gallery{height:290px}.r5-shortlist-summary{gap:12px;padding:18px 0}.r5-shortlist-summary h1{font-size:18px}.r5-shortlist-summary>.btn{min-width:65px;padding:10px}.r5-model-viewer{height:300px}.r5-shortlist-summary strong{font-size:15px}.r5-shortlist-summary .r5-save-heart{flex-shrink:0}}
@media(max-width:640px){html body :is(#root,.r12-chrome) .rm21-tabs button{font-size:10px!important;padding:10px 0!important;gap:0!important}.rm21-tabs button svg{display:none!important}.r3-services{gap:9px!important}html body :is(#root,.r12-chrome) .r3-service{padding:15px!important;gap:12px!important;border-radius:18px!important}.r3-service h3{font-size:15px!important;margin-bottom:4px}.r3-service p{font-size:12px!important}.r3-service>svg{width:20px;height:20px}.r5-categories .r5-category-name{font-size:9px}html body :is(#root,.r12-chrome) .my-red-v2{padding-top:265px!important}.r6-planet-composition{width:280px!important;height:280px!important;left:calc(50% + 20px)!important;top:16px!important}.r6-planet-composition>.r6-sphere{transform:scale(1.5)}html body :is(#root,.r12-chrome) .myred-tabs{top:290px!important;right:5px!important}.r5-shortlist .r6-gallery-prev,.r5-shortlist .r6-gallery-next{width:30px}.r5-shortlist-summary h1{font-size:16px}.r5-selected-cars img{height:55px}.r5-model-tools>span{font-size:9px}.r5-fact li{height:64px!important;min-height:64px!important}}
@media(prefers-reduced-motion:reduce){.r5-comet-ring>i,.r5-cta-sheen,.composer__send svg,[data-save-heart][aria-pressed=true],.r5-save-heart,.r3-heart{animation:none!important}.r5-cta-sheen{display:none}.r5-comet-ring>i{transform:rotate(20deg)}.r6-planet-composition{transition:none!important}}
@supports not (backdrop-filter:blur(1px)){.r5-car,.rm21-panel{background:#080808!important}}

/* Keep the arrow white under its upward red light pass. */
html body :is(#root,.r12-chrome) .composer__send svg{animation:none}.r5-send-sweep{stroke:#c76874;animation:r5-arrow-up 7s linear infinite;clip-path:inset(100% 0 -20% 0)}@keyframes r5-arrow-up{to{clip-path:inset(-25% 0 100% 0)}}
@media(prefers-reduced-motion:reduce){.r5-send-sweep{animation:none;display:none}}

html body :is(#root,.r12-chrome) .rm24-nav .rm24-nav-item.active .bottom-nav__label{visibility:visible!important;display:block!important}
@media(max-width:640px){html body :is(#root,.r12-chrome) .r6-planet-composition{left:50%!important}}

html body :is(#root,.r12-chrome) .discover__media{background:#000!important}
@media(max-width:899px){html body :is(#root,.r12-chrome) .discover__media{object-position:center 26%!important}html body :is(#root,.r12-chrome) .discover__overlay{background:linear-gradient(transparent,#000 24%)!important}}

html body :is(#root,.r12-chrome) :is([data-save-heart],.r3-heart,.r5-save-heart)[aria-pressed=true] svg{fill:var(--heart-fill)!important;stroke:#bd4658!important;filter:drop-shadow(0 0 5px #ad354b40)}

html body :is(#root,.r12-chrome) .btn:has(>.r5-comet-ring) .r5-cta-sheen{display:none}

@media(max-width:360px){html body :is(#root,.r12-chrome) .r5-price strong{font-size:12px!important;white-space:nowrap}.r5-car-name>span{font-size:10px!important}.r5-car-name>span+span{font-size:10px!important}}
