/* ===== Adaptive Performance Tier Styles ===== */

/* FULL TIER — all animations enabled, GPU-accelerated */
.mascot-perf-full .mascot-animated {
    will-change: transform, opacity;
}

/* REDUCED TIER — simplified animations */
.mascot-perf-reduced .mascot-tail {
    animation: none !important;
}

.mascot-perf-reduced .mascot-tail.mascot-tail--active {
    animation: mascotTailWag 0.6s ease-in-out 2 !important;
}

.mascot-perf-reduced .mascot-ears {
    animation: none !important;
    transform: none !important;
}

.mascot-perf-reduced .mascot-animated {
    transition-property: opacity !important;
    transition-duration: 0.2s !important;
}

.mascot-perf-reduced .mascot-particles {
    display: none !important;
}

.mascot-perf-reduced .mascot-button:hover {
    transform: none !important;
    box-shadow: none !important;
    opacity: 0.85;
}

.mascot-perf-reduced .mascot-eye-blink {
    animation-duration: 12s !important;
}

/* MINIMAL TIER — static mascot, instant UI */
.mascot-perf-minimal .mascot-tail,
.mascot-perf-minimal .mascot-ears,
.mascot-perf-minimal .mascot-mouth,
.mascot-perf-minimal .mascot-eye-blink {
    animation: none !important;
}

.mascot-perf-minimal .mascot-animated {
    transition: none !important;
}

.mascot-perf-minimal .mascot-particles {
    display: none !important;
}

.mascot-perf-minimal .speech-bubble {
    transition: none !important;
}

.mascot-perf-minimal .mascot-head-track {
    transform: none !important;
}

.mascot-perf-minimal .mascot-button:hover {
    transform: none !important;
    box-shadow: none !important;
    opacity: 0.85;
}

/* OFF TIER — mascot hidden entirely */
.mascot-perf-off .mascot-container {
    display: none !important;
}

/* System reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .mascot-animated {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }

    .mascot-particles {
        display: none !important;
    }

    .mascot-tail {
        animation: none !important;
    }

    .mascot-ears {
        animation: none !important;
    }

    .mascot-eye-blink {
        animation: none !important;
    }
}

/* Reduced tier layout containment */
@media (prefers-reduced-motion: no-preference) {
    .mascot-perf-reduced .mascot-animated {
        contain: layout style paint;
    }
}
