/* Match the header controls while keeping an explicit pause available on touch screens. */
html body .rp-media-motion-toggle {
    display: inline-grid; place-items: center; flex: 0 0 34px;
    width: 34px; height: 38px; padding: 8px; margin: 0;
    border: 0; border-radius: 6px; background: transparent; color: inherit;
    cursor: pointer;
}
.rp-media-motion-toggle svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.rp-media-motion-toggle .rp-media-resume { display: none; }
.rp-media-motion-toggle[aria-pressed="true"] .rp-media-resume { display: block; }
.rp-media-motion-toggle[aria-pressed="true"] .rp-media-pause { display: none; }
.rp-media-motion-toggle:focus-visible { outline: 2px solid #5282ce; outline-offset: 2px; }
.rp-media-motion-toggle:hover { background: rgba(128, 145, 165, .12); }
@media (max-width: 380px) {
    html body .rp-header-actions { gap: 2px; }
    html body .rp-media-motion-toggle { flex-basis: 28px; width: 28px; padding: 4px; }
}
