/* Opt-in request feedback. Keep the action label available at every stage. */
.tt-action-busy::before, .tt-request-spinner {
    content: "";
    display: inline-block;
    width: 1em;
    height: 1em;
    flex: 0 0 auto;
    margin-inline-end: .5em;
    vertical-align: -.125em;
    border: 2px solid currentColor;
    border-inline-end-color: transparent;
    border-radius: 50%;
    animation: tt-request-spin .8s linear infinite;
}
/* Existing submit loaders already supply a spinner. */
.tt-action-busy:has([data-loading-spinner])::before { display: none; }
.tt-skeleton {
    display: block;
    height: .85rem;
    border-radius: .25rem;
    background: var(--tt-line, #e5e7eb);
    animation: tt-request-pulse 1.6s ease-in-out infinite alternate;
}
@keyframes tt-request-spin { to { transform: rotate(360deg); } }
@keyframes tt-request-pulse { to { opacity: .45; } }
@media (prefers-reduced-motion: reduce) {
    .tt-action-busy::before, .tt-request-spinner, .tt-skeleton { animation: none !important; }
}
