/* V24.56: three study modes on the open decks (flashcards, rescue, games). */
.mode-count{display:inline-grid;place-items:center;min-width:20px;height:20px;padding:0 6px;border-radius:999px;background:#ffe8d6;color:#a23d0a;font-size:11px;font-weight:800;line-height:1;letter-spacing:0}
.mode-tabs button[aria-selected=true] .mode-count{background:#ffffff2e;color:#fff}
#games-panel{min-height:240px}
@media(max-width:520px){.mode-tabs{gap:4px}.mode-tabs button{padding:10px 6px;font-size:12px;gap:5px}.mode-tabs button .mode-icon{display:none}.mode-count{min-width:18px;height:18px;font-size:10px;padding:0 5px}}
