/* Independent score states. Threshold uses the unrounded Tencent score. */
.scoring { --tone: #98742e; --surface: #faf6e9; --stroke: #e9dfbd; }
.scored { --tone: #3e7153; --surface: #edf4e9; --stroke: #d5e5cf; }
.low-score { --tone: #ab604c; --surface: #faf0e9; --stroke: #ecd4c7; }
.score-failed { --tone: #847e77; --surface: #f1efec; --stroke: #dedbd5; }
.record-card { border-color: var(--stroke); background: var(--surface); }
.score-badge { color: var(--tone); background: #ffffffa8; border: 1px solid var(--stroke); }
.score-badge::before { content: ''; width: 5px; height: 5px; background: currentColor; border-radius: 50%; flex: none; }
.scoring .score-badge { font-size: 11px; font-weight: 500; }
.scoring .score-badge::before { width: 10px; height: 10px; background: transparent; border: 1.5px solid currentColor; border-right-color: transparent; animation: score-spin 1s linear infinite; }
.low-score .score-badge { border-style: dashed; }
.low-score .scores strong, .scored .scores strong { color: var(--tone); }
.scoring .scores strong { color: #b6a26b; }
.score-failed .scores strong { color: #9b958b; }
@keyframes score-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .scoring .score-badge::before { animation: none; } }
