/* v0.18 Cycle training: the stage-complete card on short phone screens.
   A Cycle hand adds the Next / Discard row, so the board (and the card laid
   over it) is shorter than in the legacy training: here the card drops its
   lamps (the lesson card above already shows every lesson lit) and tightens
   so all three actions stay on screen without scrolling. Cycle pages only. */
@media (max-height: 760px) {
  body[data-session="cycle"] .tutor-done { padding: 8px 12px; }
  body[data-session="cycle"] .tutor-done-card { gap: 6px; padding: 12px 14px 12px; }
  body[data-session="cycle"] .tutor-done-card .result-crest,
  body[data-session="cycle"] .tutor-done-lamps { display: none; }
  body[data-session="cycle"] .tutor-done-card h2 { font-size: 26px; }
  body[data-session="cycle"] .tutor-done-text { font-size: 13px; line-height: 1.4; }
  body[data-session="cycle"] .tutor-done-actions { grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 2px; }
  /* The lead action (Find a match, or the Next stage while deck cards are unlearned) spans the row. */
  body[data-session="cycle"] .tutor-done-actions > .btn.primary { grid-column: 1 / -1; }
  body[data-session="cycle"] .tutor-done-actions > #btn-tutor-extra[hidden] + #btn-tutor-home { grid-column: 1 / -1; }
}

/* The discard lesson: the chosen card says Discard comes next (not a lane),
   and the Discard button is the lit target. */
.hand.tut-discard .card.tut-want[aria-pressed="true"]::after { content: "Now Discard"; }
.hand.tut-discard .cy-discard:not(:disabled) {
  border-color: var(--gold-hot, var(--tk-gold-hot));
  box-shadow: 0 0 0 2px rgba(var(--tk-gold-hot-rgb), .55), 0 0 18px rgba(var(--tk-gold-hot-rgb), .45);
}
