/* Small interface interactions. Document previews and exported content are excluded. */
html[data-gpm-theme] :is(.tool-card,.m-card,.rel-card){opacity:1;transform:none;will-change:auto;transition:transform 160ms ease,box-shadow 160ms ease,border-color 160ms ease,background-color 180ms ease}
@media(hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){
 html[data-gpm-theme] :is(.tool-card,.m-card,.rel-card):hover{transform:translateY(-3px);border-color:var(--gpm-accent);box-shadow:0 8px 24px #10291c18}
}
html[data-gpm-theme] :is(.tool-card,.m-card,.rel-card):active{transform:scale(.985);transition-duration:90ms}
html[data-gpm-theme] :is(.choose-button,.btn-convert,.btn-main,.btn-sec,.download-button,.gpm-theme-trigger){transition:background-color 180ms ease,border-color 180ms ease,box-shadow 160ms ease}
html[data-gpm-theme] :is(.upload-zone,.tp-drop,#drop-zone,#intro){transition:background-color 180ms ease,border-color 180ms ease,box-shadow 180ms ease}
html[data-gpm-theme] [data-gpm-drag]{background:var(--gpm-soft)!important;border-color:var(--gpm-accent)!important;box-shadow:inset 0 0 0 2px var(--gpm-accent)}
html[data-gpm-theme-transition] :is(body,nav,header,footer,.hero,.container,.section,.upload-panel,.settings-panel,.file-panel,.security-panel,.converter-grid,.converter-card,.converter,.card,.tool-card,.m-card,.rel-card,.post,.toolbar,.sidebar,.file-info,.status-bar,#status,#gpm-theme-dialog,.gpm-theme-options button){transition:background-color 180ms ease,color 180ms ease,border-color 180ms ease,box-shadow 180ms ease}
html[data-gpm-theme] :is(.status-bar.s-load,#toast.t-load,[data-gpm-busy="true"])::before{content:"";display:inline-block;width:14px;height:14px;box-sizing:border-box;vertical-align:-2px;margin-inline-end:9px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:gpm-busy 850ms linear infinite}
html[data-gpm-theme] .btn-converting{animation:none!important}
html[data-gpm-theme] .btn-progress::after{animation:none!important;content:none!important}
.gpm-motion-check{display:inline-flex;width:22px;height:22px;flex:0 0 22px;align-items:center;justify-content:center;vertical-align:-5px;margin-inline-end:8px;border-radius:50%;color:var(--gpm-success);background:var(--gpm-success-bg)}
.gpm-motion-check svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.gpm-motion-check path{stroke-dasharray:20;stroke-dashoffset:0;animation:gpm-check 240ms ease-out both}
@keyframes gpm-busy{to{transform:rotate(360deg)}}
@keyframes gpm-check{from{stroke-dashoffset:20}to{stroke-dashoffset:0}}
/* The old homepage motion depended on scroll/mouse scripts and delayed content. */
html[data-gpm-theme] :is(.tool-preview-box,.hero-left,.hero-right,.trust-pill){animation:none!important;opacity:1}
html[data-gpm-theme] .hero-title em{animation:none!important;background:none!important;-webkit-text-fill-color:currentColor!important;color:var(--gpm-accent)}
html[data-gpm-page-hidden] *,html[data-gpm-page-hidden] *::before,html[data-gpm-page-hidden] *::after{animation-play-state:paused!important}
@media(prefers-reduced-motion:reduce){
 html[data-gpm-theme] *,html[data-gpm-theme] *::before,html[data-gpm-theme] *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
 html[data-gpm-theme] :is(.tool-card,.m-card,.rel-card){opacity:1!important;transform:none!important}
}
@media print{.gpm-motion-check{display:none!important}*{animation:none!important;transition:none!important}}
