/* 低性能浏览器：保留抽奖动画，关闭最耗 GPU 的装饰性效果。 */
html.lottery-low-performance body::before,
html.lottery-low-performance [class^="sparkle-"],
html.lottery-low-performance [class*=" sparkle-"],
html.lottery-low-performance .qipao-container {
    display: none !important;
}

html.lottery-low-performance #prizeBar,
html.lottery-low-performance .music-box,
html.lottery-low-performance .settings-panel,
html.lottery-low-performance .settings-shell,
html.lottery-low-performance .settings-card,
html.lottery-low-performance .import-preview-shell,
html.lottery-low-performance .confirm-reset-shell {
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
}

html.lottery-low-performance #prizeBar,
html.lottery-low-performance .music-box {
    box-shadow: none !important;
}

html.lottery-low-performance .rotate-active {
    -webkit-animation-duration: 8s;
    animation-duration: 8s;
}

.performance-mode-field {
    grid-column: 1 / -1;
}

.performance-mode-field small {
    display: block;
    width: 100%;
    margin-top: 4px;
    color: rgba(255, 235, 190, 0.72);
    font-size: 12px;
}
