/* Lower-cost rendering for older classroom computers and reduced-motion users. */
html[data-tc-low-power] .bg-paper::before,
html[data-tc-low-power] .bg-paper::after {
    display: none !important;
}

html[data-tc-low-power] *,
html[data-tc-low-power] *::before,
html[data-tc-low-power] *::after {
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-delay: 0s !important;
    transition-duration: 0.01ms !important;
    will-change: auto !important;
}

/* Keep the few functional loading indicators moving. */
html[data-tc-low-power] .go-loading-orb,
html[data-tc-low-power] .wb-leave-loading span,
html[data-tc-low-power] .ev-spinner {
    animation-duration: 0.8s !important;
    animation-iteration-count: infinite !important;
}

html[data-tc-low-power] * {
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
}

html[data-tc-low-power] .tc-nav {
    background: #fff !important;
}

html[data-tc-low-power] .tc-card,
html[data-tc-low-power] .tc-classroom-tool,
html[data-tc-low-power] .tc-classroom-tools,
html[data-tc-low-power] .tc-classroom-list,
html[data-tc-low-power] .tc-modal,
html[data-tc-low-power] .tc-groups-modal,
html[data-tc-low-power] .tc-student-detail,
html[data-tc-low-power] .shop-card,
html[data-tc-low-power] .shop-dialog,
html[data-tc-low-power] .go-panel,
html[data-tc-low-power] .go-stat {
    box-shadow: none !important;
}

html[data-tc-low-power] .tc-card:hover,
html[data-tc-low-power] .tc-classroom-tool:hover,
html[data-tc-low-power] .go-stat:hover {
    transform: none !important;
}

@supports (content-visibility: auto) {
    html[data-tc-low-power] .tc-classroom-list .tc-card {
        content-visibility: auto;
        contain-intrinsic-size: auto 475px;
    }
}
