.math-levels { display: flex; justify-content: center; gap: .5rem; margin-bottom: 1rem; flex-wrap: wrap; }
.math-lv {
    font-family: var(--kf); font-weight: 600; background: #f1e9ff; color: #6a4bbc;
    border: 2px solid #e0d0ff; border-radius: 999px; padding: .4rem 1rem; cursor: pointer;
}
.math-lv.active { background: #d0bcff; }
.math-q { font-size: clamp(1.8rem, 7vw, 2.8rem); font-weight: 700; color: #2f8fd0; margin: 1rem 0; }
