/* Deck mode: Choose your topics, today's session and its cards. Colours come from the tokens in app.css. */
.deck-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .25rem; }
.deck-row { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: .5rem; padding: .25rem 0; border-bottom: 1px solid var(--line); }
.deck-row:last-child { border-bottom: 0; }
.deck-pick { display: flex; align-items: center; gap: .65rem; min-height: 44px; cursor: pointer; }
.deck-pick input { width: 1.2rem; height: 1.2rem; accent-color: var(--accent); }
.deck-title { font-weight: 600; }
.deck-progress { color: var(--muted); font-size: .9rem; font-variant-numeric: tabular-nums; }
.deck-details { grid-column: 1 / -1; }
.deck-details > summary { list-style: none; cursor: pointer; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; }
.deck-row .deck-details { grid-column: 3; grid-row: 1; }
.deck-details[open] { grid-column: 1 / -1; grid-row: auto; }
.deck-details[open] > summary .icon { transform: rotate(180deg); }
.deck-details > summary::-webkit-details-marker { display: none; }
.deck-start { position: sticky; bottom: 0; padding: 1rem 0; background: var(--bg); }
.deck-start .button { width: 100%; }
.deck-bar { justify-content: space-between; }
.counters { list-style: none; display: flex; gap: 1rem; margin: 0; padding: 0; font-weight: 700; font-variant-numeric: tabular-nums; }
.counter::before { content: ""; display: inline-block; width: .6rem; height: .6rem; margin-right: .35rem; border-radius: 50%; vertical-align: .05em; }
.counter.new::before { background: var(--easy); }
.counter.learning::before { background: var(--again); }
.counter.reviews::before { background: var(--good); }
.counters-summary { display: flex; gap: 1.5rem; margin: .5rem 0 1rem; }
.counters-summary dt { color: var(--muted); font-size: .85rem; }
.counters-summary dd { margin: 0; font-size: 1.3rem; font-weight: 650; }
.deck-card { padding: 1.5rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.deck-label { text-transform: uppercase; letter-spacing: .04em; }
.instruction { color: var(--muted); }
.deck-front { min-height: 6rem; }
.focus-word { color: var(--accent); font-weight: 750; }
.cover { display: flex; align-items: center; justify-content: center; gap: .6rem; width: 100%; min-height: 9rem; margin-top: 1rem;
    border: 2px dashed var(--line-strong); border-radius: var(--radius-small); background: var(--surface-alt); color: var(--muted); font-weight: 600; cursor: pointer; }
.cover:hover { border-color: var(--accent); color: var(--accent); }
.cover kbd { font: .75rem var(--sans); }
.deck-back { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.deck-answer { font-size: 1.6rem; font-weight: 600; }
.deck-answer .speak { vertical-align: .1em; }
.speak.large { width: 64px; height: 64px; }
.archive-confirm { margin-top: 1rem; padding: 1rem 1.25rem; border-radius: var(--radius); background: var(--near-bg); }
.archive-confirm kbd { font: .7rem var(--sans); color: var(--muted); }
@media (hover: none) and (pointer: coarse) { .cover kbd, .archive-confirm kbd { display: none; } }
.decks-offer .button { margin: .25rem .5rem 0 0; }
