/* Decimal Scaling — decimal-multiplication "strip-and-place" Habit-Breaker.
   Layered on top of math-rounds.css + number_bonds.css (mode badge, ladder,
   band, lesson carousel, keypad reused). The interaction itself is the
   UNIFIED step-entry pattern (`.hb-steps`, TRAINER_UNIFICATION_SPEC §A) which
   lives in math-rounds.css — this file only keeps the trainer-local extras:
   the speed ghost, the per-level mastery bar, and the boss badge. */

/* ── Speed ghost + mastery bar ── */
.ds-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin: 10px auto 2px;
    font-size: 0.78rem;
    color: var(--faint, #6b7799);
}
.ds-ghost.beat { color: var(--accent-bright, #34d399); }

.ds-mastery {
    width: 100%;
    max-width: 280px;
    height: 8px;
    margin: 6px auto 2px;
    border-radius: 6px;
    background: var(--surface2, #15291f);
    border: 1px solid var(--border, rgba(255, 255, 255, 0.09));
    overflow: hidden;
}
.ds-mastery-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg,
        color-mix(in srgb, var(--accent, #10b981) 70%, transparent),
        var(--teal, #2dd4bf));
    transition: width 0.3s ease;
}

/* Boss banner */
.ds-boss-badge {
    display: inline-block;
    margin-left: 8px;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    color: #0c1a13;
    background: var(--teal, #2dd4bf);
}
