/* DETALI AUTO v6.7, scoped and progressive. No hidden content on init. */
@media (prefers-reduced-motion:no-preference){
 .da[data-state=idle] .da-vehicle.dm67-hero-depth{translate:0 var(--dm67-dy,0px);}

 .dx img.dm67-depth{transform:translate3d(0,var(--dm67-dy,0px),0) scale(1.045);transform-origin:center;}
 .dx #dx-diagnostics .dx-diagnostic-photo.dm67-scan::before{content:'';position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(106deg,transparent 30%,#65c4ff05 42%,#65c4ff35 49%,#bde8ff8a 50%,#65c4ff1a 51%,transparent 65%);background-size:240% 100%;animation:dm67-scan 850ms cubic-bezier(.18,.65,.25,1) both;}
 @keyframes dm67-scan{0%{background-position:100% 0;opacity:0}16%{opacity:.7}80%{opacity:.55}100%{background-position:0 0;opacity:0}}
 .dx #dx-faq details[open]>p,.dx #dx-partner details[open]>p{animation:dm67-answer 240ms ease-out both;}
 @keyframes dm67-answer{from{opacity:.68;translate:0 3px}to{opacity:1;translate:0 0}}
 @media(hover:hover) and (pointer:fine){.dx .dx59-gallery-card,.dx .dx-article,.da .da-promo{transition:border-color .2s ease,box-shadow .25s ease;} .dx .dx59-gallery-card:hover,.dx .dx-article:hover,.da .da-promo:hover{border-color:#65c4ff88;box-shadow:0 6px 20px #0003;}}
}
/* Same approved cycle on shorter phones: a compact scene, no extra sticky blocks.
   The engine still falls back to manual steps when it cannot fit the viewport. */
@media (max-width:760px) and (max-height:740px) and (min-height:580px){
 #dx-process .dp-sticky{padding-block:5px 8px}
 #dx-process .dp-heading{margin-bottom:8px}
 #dx-process .dp-heading h2{font-size:24px}
 #dx-process .dp-heading>p{margin-top:4px;font-size:11px;line-height:1.3}
 #dx-process .dp-cinema{height:255px}
 #dx-process .dp-story{padding:12px}
 #dx-process .dp-story h3{font-size:23px;margin:6px 0}
 #dx-process .dp-story p{line-height:1.3;font-size:12px}
 #dx-process .dp-result{margin-top:7px}
 #dx-process .dp-route{bottom:15px;height:55px}
 #dx-process .dp-controls{padding:4px 0}
 #dx-process .dp-station{min-height:49px}
 #dx-process .dp-footer{margin-top:5px}
}
