/* 防止页面刷新时白屏的初始样式（原模板写在 index.html 里，CSP 下改成外部文件） */
html { background-color: #fafbfc; }
html.dark { background-color: #070707; }

/* 切主题时临时关掉过渡（原来是动态插一个 <style>，CSP 不许） */
html.disable-transitions * { transition: none !important; }

/* 加载中的四点旋转 */
.cl-spinner { transform-origin: 20px 20px; animation: cl-rotate 1.6s linear infinite; }
.cl-dot { fill: var(--theme-color, #5d87ff); animation: cl-fade 1.6s infinite; }
.cl-dot:nth-child(2) { animation-delay: 0.5s; }
.cl-dot:nth-child(3) { animation-delay: 1s; }
.cl-dot:nth-child(4) { animation-delay: 1.5s; }
@keyframes cl-rotate { 100% { transform: rotate(360deg); } }
@keyframes cl-fade { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }
