/* Page Designer — Motion & FX: Gyroscope runtime CSS  (pd-mfx-rt-gyr-*) */

/* iOS permission pill — floating bottom-right, harmless if it lingers. */
.pd-mfx-rt-gyr-pill {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 2147483645;
    appearance: none;
    border: 0;
    border-radius: 999px;
    padding: 10px 16px;
    background: var(--pd-link-color, #635bff); /* v3.7.20 — Global Links accent, not admin token */
    color: #fff;
    font: 600 0.85rem/1 system-ui, -apple-system, sans-serif;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.pd-mfx-rt-gyr-pill:hover { filter: brightness(1.06); }

.pd-mfx-rt-gyr-pill-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 0 0 currentColor;
    animation: pd-mfx-rt-gyr-pulse 1.6s ease-out infinite;
}
@keyframes pd-mfx-rt-gyr-pulse {
    0%   { box-shadow: 0 0 0 0   color-mix(in srgb, currentColor 50%, transparent); }
    70%  { box-shadow: 0 0 0 10px color-mix(in srgb, currentColor 0%,  transparent); }
    100% { box-shadow: 0 0 0 0   color-mix(in srgb, currentColor 0%,  transparent); }
}

@media (prefers-reduced-motion: reduce) {
    .pd-mfx-rt-gyr-pill { display: none; }
}

/* Performance hint on opted-in elements. */
[data-pd-gyro-depth] {
    will-change: transform;
}
