/* Approved orange editorial comparison. Scoped to this discovery tab only. */
body.budget-editorial-active #discovery{background:#101516;color:#f4f3ef;overflow-x:clip}
body.budget-editorial-active #discovery .discovery-page-inner{max-width:1600px;width:100%;padding:145px 3% 40px;box-sizing:border-box}
body.budget-editorial-active #discovery .discovery-page-heading{display:none!important}
body.budget-editorial-active #discovery .modal-tabs{position:relative;z-index:4;justify-content:flex-end;gap:10px;margin:0 0 20px}
body.budget-editorial-active #discovery .modal-tabs button{padding:12px 20px;flex:none}
.budget-editorial{position:relative;isolation:isolate}.budget-heading{margin-top:-65px;pointer-events:none;max-width:53%;position:relative;z-index:3}.budget-heading h1{font:750 clamp(30px,3.4vw,54px)/1.15 Arial,sans-serif;letter-spacing:-1px;margin:8px 0 10px}.budget-heading>p:last-child{font-size:clamp(14px,1.3vw,19px);color:#c7cbca;margin:0}.budget-filters{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:6px;margin:12px 0 22px;position:relative;z-index:4}.budget-filters button{min-height:38px;padding:8px 12px}.budget-filters button span{display:none}.budget-filters button[aria-pressed=true]{background:#f45c16!important;color:white!important;border-color:#ff8b43!important}
.budget-editorial-grid{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 100px minmax(0,1fr);gap:12px;align-items:stretch;padding-top:10px}.budget-editorial-grid:before{content:'';position:absolute;inset:0 -3vw -15px;z-index:-2;background:linear-gradient(180deg,#10151622 0%,#10151600 38%,#101516dd 84%,#101516 100%),url('/assets/budget-mountain-road.webp') center/cover}.budget-editorial-grid:after{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(114deg,#080d10aa 0 32%,transparent 32% 50%,#ff6b1733 50% 50.12%,#080d1055 50.12% 78%,transparent 78%);}
.budget-car{min-width:0;display:grid;grid-template-rows:108px minmax(230px,25vw) auto;position:relative}.budget-car>header{text-align:center;z-index:2;min-width:0}.budget-year{letter-spacing:7px;font-size:12px}.budget-car>header p{font-size:15px;letter-spacing:5px;text-transform:uppercase;margin:9px 0 5px}.budget-car>header h2{font:800 clamp(20px,2.3vw,36px)/1.05 Arial,sans-serif;text-transform:uppercase;margin:0;overflow-wrap:anywhere}.budget-car-scene{position:relative;min-width:0;display:flex;align-items:flex-end}.budget-ghost{position:absolute;top:-12px;left:0;width:100%;white-space:nowrap;overflow:hidden;font:300 clamp(50px,7vw,110px)/1 Arial,sans-serif;text-transform:uppercase;color:#ffffff25;pointer-events:none;z-index:0}.budget-car-image{position:relative;width:100%;height:100%;display:flex;align-items:flex-end;justify-content:center;z-index:1}.budget-car-image:after{content:'';position:absolute;bottom:0;left:7%;width:86%;height:12%;background:#000c;filter:blur(12px);border-radius:50%;z-index:-1}.budget-car-image .pbb-poster-main{position:relative!important;inset:auto!important;width:100%!important;max-width:none!important;transform:none!important;filter:drop-shadow(0 12px 8px #0009);}.budget-car-image .pbb-poster-cutout{position:relative;display:block;width:100%;overflow:hidden}.budget-car-image .pbb-poster-cutout img{position:absolute;max-width:none!important;object-fit:fill}.budget-car-image>img{display:block;width:100%;height:100%;max-height:100%;object-fit:contain;object-position:center bottom}.budget-car-body{padding:0 4%;display:grid;grid-template-rows:64px 64px 48px 44px;gap:10px}.budget-thumbs{display:flex;gap:8px;align-items:center}.budget-right .budget-thumbs{justify-content:flex-end}.budget-thumbs a{width:82px;height:48px;border:1px solid #aaa7;border-radius:5px;overflow:hidden}.budget-thumbs a:first-child{border-color:#ff751b}.budget-thumbs img{width:100%;height:100%;object-fit:cover}.budget-price{display:flex;align-items:center;gap:15px;border-bottom:1px solid #ffffff35;padding-bottom:12px}.budget-price strong{font:700 clamp(25px,2.8vw,43px)/1 Arial,sans-serif;white-space:nowrap}.budget-price>span{border-left:1px solid #ffffff55;padding-left:14px;color:#d4d7d5;font-size:13px}.budget-specs{display:flex;align-items:center;gap:20px;font-size:13px}.budget-specs>span{display:flex;align-items:center;gap:8px}.budget-specs svg{width:24px;height:24px;color:#ff852c}.budget-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.budget-actions button,.budget-summary button{min-height:42px;border-radius:30px}.budget-pick{width:100%}.budget-car.chosen .budget-pick{border-color:#ff741d!important;box-shadow:inset 0 0 12px #ff681c44,0 0 8px #ff681c44!important;color:#ffae74}.budget-editorial-grid .budget-dice{position:relative!important;inset:auto!important;width:100px!important;min-width:0!important;align-self:center;display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:8px;z-index:5}.budget-dice>b{font:800 italic 48px/1 Arial;color:#ff741b;text-shadow:0 0 25px #ff6b14}.budget-dice #duel-next.pbb-real-dice{transform:scale(.7)!important;transform-origin:center!important;margin:-20px -32px!important}.budget-dice>p{font-size:11px!important;text-align:center!important;white-space:nowrap}.budget-summary{display:flex;align-items:center;justify-content:center;gap:20px;background:#101718bd;border:1px solid #ffffff28;border-radius:18px;padding:14px;margin:28px 0 0}.budget-summary>span{font-size:18px}.budget-summary button{padding:12px 28px}.budget-summary .primary{background:#f66216!important;color:white!important}.budget-note{font-size:11px;color:#929b99;margin-top:20px;line-height:1.6}.budget-comparison{margin:25px 0;overflow-x:auto}.budget-comparison[hidden]{display:none}#duel-feedback{padding-top:15px;color:#ffad72}.budget-editorial .compare-table{width:100%;min-width:500px}.budget-editorial .compare-table td,.budget-editorial .compare-table th{padding:15px;text-align:left}
@media(min-width:1600px){.budget-car{grid-template-rows:108px 400px auto}}
@media(max-width:900px){body.budget-editorial-active #discovery .discovery-page-inner{padding-top:150px}.budget-heading{margin-top:0;max-width:none}.budget-filters{justify-content:flex-start}.budget-editorial-grid{grid-template-columns:minmax(0,1fr) 64px minmax(0,1fr);gap:4px}.budget-car{grid-template-rows:92px 25vw auto}.budget-car>header h2{font-size:20px}.budget-car-body{padding:0;grid-template-rows:48px 70px 46px 78px;gap:8px}.budget-actions{grid-template-columns:1fr;gap:6px}.budget-price{gap:7px;flex-wrap:wrap}.budget-price strong{font-size:28px}.budget-price>span{font-size:11px;border:0;padding:0}.budget-specs{gap:10px;font-size:11px;flex-wrap:wrap}.budget-specs svg{width:18px;height:18px}.budget-thumbs a{width:58px;height:38px}.budget-dice>b{font-size:30px}.budget-editorial-grid .budget-dice{width:64px!important}.budget-dice #duel-next.pbb-real-dice{transform:scale(.43)!important;margin:-48px -50px!important}.budget-dice>p{font-size:9px!important;white-space:normal}.budget-summary{gap:10px;flex-wrap:wrap}.budget-summary>span{width:100%;text-align:center;font-size:15px}}
@media(max-width:520px){body.budget-editorial-active #discovery .discovery-page-inner{padding:145px 14px 24px}body.budget-editorial-active #discovery .modal-tabs{justify-content:flex-start;flex-wrap:wrap;gap:5px}body.budget-editorial-active #discovery .modal-tabs button{padding:9px 10px;font-size:11px}.budget-heading h1{font-size:29px;letter-spacing:0}.budget-filters{gap:5px}.budget-filters button{min-height:32px;padding:6px 9px;font-size:10px}.budget-editorial-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px}.budget-car{grid-template-rows:88px 145px auto}.budget-car>header p{letter-spacing:2px;font-size:11px}.budget-car>header h2{font-size:17px}.budget-car-body{grid-template-rows:46px 67px 48px 78px}.budget-price strong{font-size:25px}.budget-car-image .pbb-poster-main{width:110%!important;flex-shrink:0}.budget-dice>b{display:none}.budget-editorial-grid .budget-dice{grid-column:1/-1;grid-row:2;justify-self:center;width:100%!important;flex-direction:row!important;height:105px;margin-top:8px}.budget-dice #duel-next.pbb-real-dice{transform:scale(.58)!important;margin:-35px -25px!important}.budget-dice>p{font-size:12px!important}.budget-summary{margin-top:10px;padding:12px}.budget-summary button{padding:10px 15px;font-size:12px}.budget-ghost{font-size:48px;top:5px}}
/* Vehicle headings must not inherit the global sticky site-header rule. */
.budget-editorial .budget-car>header{position:relative!important;inset:auto!important;display:block!important;background:transparent!important;width:auto!important;height:auto!important;padding:0!important;box-shadow:none!important;backdrop-filter:none!important;border:0!important;z-index:2!important}
.budget-editorial .budget-heading>.eyebrow{margin:0 0 8px!important;font-size:10px!important;line-height:1.3!important}
@media(min-width:901px){body.budget-editorial-active #discovery .discovery-page-inner{padding-top:125px}.budget-car{grid-template-rows:80px minmax(220px,22vw) auto}.budget-car-body{grid-template-rows:52px 54px 40px 42px;gap:8px}.budget-filters{margin-bottom:16px}.budget-editorial-grid:before{background-image:linear-gradient(180deg,#10151699 0%,#10151644 38%,#101516e6 84%,#101516 100%),url('/assets/budget-mountain-road.webp')}}
@media(min-width:1600px){.budget-car{grid-template-rows:90px 350px auto}}
/* Fit the default comparison through the public snapshot in one viewport. */
body.budget-editorial-active footer>[data-pbb-submission-notice],body.budget-editorial-active footer>.footer-contact-heading{display:none!important}
@media(min-width:901px){
 body.budget-editorial-active #discovery .discovery-page-inner{padding:105px 3% 8px}
 .budget-editorial .budget-heading{margin-top:-60px}
 .budget-editorial .budget-heading h1{font-size:clamp(30px,2.6vw,42px);line-height:1.1;margin:6px 0}
 .budget-editorial .budget-heading>p:last-child{font-size:14px;line-height:1.4}
 .budget-filters{margin:8px 0 12px;gap:6px}
 .budget-filters button{height:32px!important;min-height:32px!important;padding:6px 11px!important;line-height:18px!important;font-size:11px!important}
 .budget-car{grid-template-rows:58px minmax(90px,min(24svh,calc(100svh - 630px))) auto!important}
 .budget-car>header p{font-size:12px;margin:6px 0 4px;letter-spacing:4px}
 .budget-car>header h2{font-size:clamp(18px,1.8vw,28px)}
 .budget-year{font-size:10px;letter-spacing:5px}
 .budget-car-body{grid-template-rows:36px 46px 30px 34px;gap:6px;padding:0 7%}
 .budget-thumbs a{width:58px;height:32px}
 .budget-price{padding-bottom:7px}.budget-price strong{font-size:clamp(25px,2.3vw,34px)}
 .budget-specs{font-size:11px;gap:15px}.budget-specs svg{width:19px;height:19px}
 .budget-actions button{min-height:32px!important;height:34px!important;padding:5px 12px!important;font-size:12px!important}
 .budget-summary{margin-top:12px;padding:8px 14px;gap:18px;min-height:34px;box-sizing:border-box}
 .budget-summary>span{font-size:14px}.budget-summary button{min-height:32px!important;height:34px!important;padding:5px 22px!important;font-size:12px!important}
 .budget-dice>b{font-size:34px}.budget-dice #duel-next.pbb-real-dice{transform:scale(.54)!important;margin:-38px -32px!important}
 .budget-dice>p{font-size:10px!important}
}
.budget-car-image .pbb-poster-main{width:82%!important;height:100%!important;display:flex!important;align-items:flex-end;justify-content:center}
.budget-car-image .pbb-poster-main>.pbb-poster-cutout{height:100%;width:auto!important;max-width:100%;flex:none}
.budget-car-image>img{width:82%}
.budget-editorial #duel-feedback:empty{display:none;padding:0}
.budget-editorial .budget-note{font-size:10px;line-height:1.4;margin:8px 0 6px}
body.budget-editorial-active #discovery .discovery-page-inner>.tool-note{font-size:10px;line-height:1.3;margin:6px 0 0}
@media(max-width:520px){
 body.budget-editorial-active #discovery .discovery-page-inner{padding:120px 12px 8px}
 body.budget-editorial-active #discovery .modal-tabs{margin-bottom:10px;flex-wrap:nowrap;gap:4px}
 body.budget-editorial-active #discovery .modal-tabs button{padding:5px 8px!important;min-height:30px!important;font-size:10px!important}
 .budget-heading h1{font-size:25px;margin:4px 0}.budget-heading>p:last-child{font-size:12px;line-height:1.4}
 .budget-filters{flex-wrap:nowrap;overflow-x:auto;justify-content:flex-start;margin:8px 0;gap:4px}
 .budget-filters button{flex:none;min-height:28px!important;padding:4px 8px!important;font-size:10px!important}
 .budget-car{grid-template-rows:58px minmax(80px,min(16svh,135px)) auto!important}
 .budget-car>header h2{font-size:15px}.budget-car>header p{margin:5px 0 3px;font-size:10px}
 .budget-year{font-size:9px}.budget-car-body{grid-template-rows:32px 48px 28px 62px;gap:5px}
 .budget-car-image .pbb-poster-main{width:88%!important}.budget-thumbs a{width:44px;height:28px}
 .budget-price strong{font-size:22px}.budget-specs{font-size:10px;gap:6px}
 .budget-actions button{min-height:28px!important;padding:4px 6px!important;font-size:10px!important}
 .budget-editorial-grid .budget-dice{height:65px;margin-top:0}.budget-dice #duel-next.pbb-real-dice{transform:scale(.42)!important;margin:-55px -40px!important}
 .budget-summary{margin-top:5px;padding:7px;gap:5px}.budget-summary>span{font-size:12px}.budget-summary button{min-height:28px!important;padding:5px 12px!important;font-size:11px}
}
/* Override inherited showroom cutout sizes, including their important rules. */
html body.budget-editorial-active #discovery#discovery #explore-body .budget-editorial .budget-car-image .pbb-poster-main{height:100%!important;width:82%!important;max-height:100%!important;min-height:0!important;min-width:0!important;transform:none!important;align-self:stretch!important;display:flex!important;align-items:flex-end!important;justify-content:center!important;inset:auto!important}
html body.budget-editorial-active #discovery#discovery #explore-body .budget-editorial .budget-car-image .pbb-poster-main>.pbb-poster-cutout{height:100%!important;max-height:100%!important;width:auto!important;max-width:100%!important;min-height:0!important;min-width:0!important;flex:0 1 auto!important}

html body.budget-editorial-active #discovery#discovery #explore-body .budget-editorial .budget-car-image>img{position:relative!important;inset:auto!important;width:82%!important;height:100%!important;max-height:100%!important;object-fit:contain!important;object-position:center bottom!important;transform:none!important}
.budget-car>header .budget-year{display:block;line-height:1}
.budget-editorial .budget-car>header p{line-height:1;margin:5px 0 3px}
@media(min-width:901px){.budget-car{grid-template-rows:80px minmax(68px,min(calc(24svh - 22px),calc(100svh - 652px))) auto!important}.budget-car>header h2{font-size:clamp(16px,1.6vw,24px);line-height:1.08}}
/* Give the heading breathing room and restore the larger signature die. */
@media(min-width:901px){body.budget-editorial-active #discovery .discovery-page-inner{padding-top:129px}.budget-dice #duel-next.pbb-real-dice{transform:scale(.9)!important;margin:-25px -32px!important}}
@media(min-width:901px) and (max-height:800px){body.budget-editorial-active #discovery .discovery-page-inner{padding-top:105px}.budget-editorial .budget-heading h1{font-size:30px}.budget-editorial .budget-heading>p:last-child{font-size:12px}.budget-filters{margin:6px 0}.budget-car-body{grid-template-rows:30px 38px 24px 30px;gap:5px}.budget-thumbs a{height:27px}.budget-actions button{min-height:28px!important;height:30px!important}.budget-summary{margin-top:8px;padding:6px 12px}.budget-summary button{min-height:28px!important;height:30px!important}.budget-note{font-size:9px!important;line-height:1.2!important;margin:4px 0!important}}
@media(max-width:520px){.budget-dice #duel-next.pbb-real-dice{transform:scale(.62)!important;margin:-50px -30px!important}}


/* The die animation may overlap visually; the comparison bar owns its hit area. */
html body #discovery#discovery .budget-editorial .budget-summary{position:relative;z-index:30!important}
html body.budget-editorial-active #discovery#discovery#discovery #explore-body .budget-editorial .budget-dice #duel-next.pbb-real-dice{pointer-events:none!important}
#discovery .budget-editorial #duel-next.pbb-real-dice::after{
 content:"";position:absolute;left:50%;top:50%;width:88px;height:88px;
 transform:translate(-50%,-50%);pointer-events:auto!important;
}
html body #discovery#discovery .budget-editorial #duel-next :is(.pbb-real-ground,.pbb-dice-shadow,.pbb-dice-cube,.pbb-dice-cube *){pointer-events:none!important}

.budget-thumbs a[hidden]{display:none!important}
.budget-car-image > .budget-original-photo{object-fit:contain;object-position:center bottom}

/* Keep the real action available while WebGL loads or if it is unavailable. */
#discovery .budget-editorial .budget-dice #duel-next:not(.pbb-real-dice){
 min-height:36px;padding:6px 12px;border:1px solid #d8793b;border-radius:10px;
 background:#202225;color:#f4f0eb;font-size:12px;white-space:nowrap;
}
