/* Los efectos de cursor tienen una expresión visible en pantallas táctiles. */
@media(max-width:650px){
body:is(.drfx-ecg-trace,.drfx-ecg-hero-glow,.drfx-ecg-hero-shift) .dr-wave{display:block;position:absolute;z-index:2;left:5%;top:176px;width:min(66vw,290px);height:56px;opacity:.8;pointer-events:none}
body.drfx-ecg-trace .dr-wave path{stroke-dasharray:600;stroke-dashoffset:600;animation-delay:-3s}
body.drfx-ecg-hero-glow .dr-wave{filter:drop-shadow(0 0 5px var(--dr-accent,#c60060))}
body.drfx-hero-grid .dr-hero:after{opacity:.12}
}
@media(max-width:850px) and (hover:none){
body.drfx-card-lift .dr-card{animation:drfx-mobile-card-float 6s ease-in-out infinite}
body.drfx-card-lift .dr-card:nth-child(2n){animation-delay:-3s}
body.drfx-cards-border .dr-card{border-color:var(--dr-accent,#c60060)!important}
body.drfx-cards-highlight .dr-card{outline:2px solid var(--dr-accent,#c60060);outline-offset:-5px}
body.drfx-card-image-light .dr-card .dr-featured{filter:brightness(1.06)}
body.drfx-card-image-pan .dr-card-art .dr-featured{object-position:56% center}
body.drfx-card-title-line .dr-card-title:after{width:38px}
body.drfx-book-cover-glow .dr-book-art{filter:drop-shadow(0 4px 5px var(--dr-accent,#c60060))}
body.drfx-card-image-color .dr-card .dr-featured{filter:saturate(1.16)}
body.drfx-card-image-light.drfx-card-image-color .dr-card .dr-featured{filter:brightness(1.06) saturate(1.16)}
body.drfx-nav-underline-flow .dr-nav a[aria-current=page]{background-size:72% 2px}
body.drfx-logo-lift .dr-brand{animation:drfx-mobile-logo-float 7s ease-in-out infinite}
body.drfx-link-arrow .dr-more a,body.drfx-resource-row-shift .dr-resource-list a{animation:drfx-mobile-link-drift 5s ease-in-out infinite}
body.drfx-resource-line .dr-resource-list li{background:var(--dr-soft,#fce8f2)}
body.drfx-social-lift .dr-social-links a{animation:drfx-mobile-link-drift 6s ease-in-out infinite}
body.drfx-hero-arrow .dr-hero .dr-arrow,body.drfx-card-button-arrow .dr-card .dr-arrow{display:inline-block;animation:drfx-mobile-arrow 3s ease-in-out infinite}
}
@keyframes drfx-mobile-card-float{0%,100%{translate:0 0}50%{translate:0 -3px}}
@keyframes drfx-mobile-logo-float{0%,100%{translate:0 0}50%{translate:0 -2px}}
@keyframes drfx-mobile-link-drift{0%,100%{translate:0 0}50%{translate:3px 0}}
@keyframes drfx-mobile-arrow{0%,100%{translate:0 0}50%{translate:3px 0}}
@media(prefers-reduced-motion:reduce){body.drfx-ecg-trace .dr-wave path{stroke-dashoffset:0!important;opacity:1!important}body.drfx-card-lift .dr-card,body.drfx-logo-lift .dr-brand,body.drfx-link-arrow .dr-more a,body.drfx-resource-row-shift .dr-resource-list a,body.drfx-social-lift .dr-social-links a,body.drfx-hero-arrow .dr-hero .dr-arrow,body.drfx-card-button-arrow .dr-card .dr-arrow{animation:none!important;translate:none!important}}
