/* Circle of Fifths Quiz. The card, settings and pills come from key-signature-flashcards.css, loaded first; the note grid
   from drill-kit.css. Sizes match Build the Interval so the question and every answer fit on a laptop and on a phone. */
.settings-panel { gap: 10px 18px; padding: 12px 16px; }
.settings-panel .setting-label { font-size: 12px; }
.settings-panel .setting-group { gap: 8px; }
.settings-panel .setting-btn { padding: 8px 11px; }
.flashcard-container { min-height: 222px; }
.flashcard { height: 222px; }
/* The circle on the left, the question beside it: the card is 222px tall on a laptop and 168px on a phone,
   too short for a question line above a circle. */
.cof-content { flex-direction: row; gap: 18px; padding: 0; align-self: flex-start; margin-top: -24px; }  /* up against the top: Flip sits at the bottom middle */
.cof-figure { display: flex; align-items: center; }
.cof-svg { width: 150px; height: 150px; display: block; font-family: Inter, system-ui, sans-serif; }
.cof-side { min-width: 0; }
.cof-ask { position: static; background: none; text-transform: none; letter-spacing: 0; text-align: left; padding: 0; margin: 0; }
.cof-ask .cof-dir { display: block; font-size: 26px; font-weight: 800; color: var(--primary); line-height: 1.15; }
.cof-ask .cof-way { display: block; font-size: 15px; font-weight: 600; color: var(--text-light); margin-top: 2px; }
.cof-ring { fill: none; stroke: var(--border); stroke-width: 2; }
.cof-dot { fill: var(--border); }
.cof-arrow { fill: none; stroke: var(--primary); stroke-width: 2.5; stroke-linecap: round; }
.cof-head { fill: var(--primary); }
.cof-on { fill: var(--primary); }
.cof-on-t { fill: var(--on-primary); font-size: 11.5px; font-weight: 800; text-anchor: middle; }
.cof-next { fill: var(--card); stroke: var(--primary); stroke-width: 2; stroke-dasharray: 3 2.5; }
.cof-next.shown { stroke-dasharray: none; fill: var(--primary); }
.cof-next-t { fill: var(--primary); font-size: 13px; font-weight: 800; text-anchor: middle; }
.cof-next.shown + .cof-next-t { fill: var(--on-primary); font-size: 11.5px; }
.cof-c1 { fill: var(--text); font-size: 13px; font-weight: 700; text-anchor: middle; }
.cof-c2 { fill: var(--text-light); font-size: 10.5px; font-weight: 600; text-anchor: middle; }
.answer-reveal { font-size: clamp(28px, 7.5vw, 44px); margin-bottom: 4px; }
.answer-detail { margin: 0; font-size: 17px; font-weight: 600; color: var(--text); text-align: center; }
@media (max-width: 768px) {
    .settings-panel { gap: 8px; padding: 10px 12px; }
    .settings-panel .setting-group { flex-direction: row; align-items: center; }
    .settings-panel .setting-label { flex: 0 0 78px; font-size: 11.5px; }
    .settings-panel .setting-toggle { flex: 1; flex-wrap: nowrap; }
    .settings-panel .setting-btn { min-width: 0; padding: 8px 4px; }
}
@media (max-width: 560px) { .cof-content { gap: 10px; align-self: center; margin-top: 0; } .cof-ask .cof-dir { font-size: 22px; } .cof-ask .cof-way { font-size: 13.5px; } }
