:root {
    color-scheme: light;
}

/* Restore the native cursor while a full-screen dialog covers the decorative cursor. */
body.pc-story-reader-open,
body.pc-pd-gallery-open,
body.pc-auth-modal-open {
    cursor: auto !important;
}

body.pc-story-reader-open .cur,
body.pc-story-reader-open .cur-trail,
body.pc-pd-gallery-open .cur,
body.pc-pd-gallery-open .cur-trail,
body.pc-auth-modal-open .cur,
body.pc-auth-modal-open .cur-trail {
    display: none !important;
}

:focus-visible {
    outline: 3px solid var(--turmeric, #f0a500);
    outline-offset: 3px;
}

.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto !important;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
