/* v0.17 deck discoverability. Loaded after the other sheets; additive only.
   Home: the deck summary says "Edit deck" (it opens the Cards tab).
   Cards: exact unlock conditions may wrap; Cycle Customize carries its loan note. */
.deck-summary .ds-edit {
  flex: none; padding: 3px 8px; border-radius: 999px; border: 1px solid var(--line, rgba(var(--tk-gold-rgb), .5));
  font-size: 11px; font-weight: 700; letter-spacing: .04em; color: var(--gold-hot, #f3c56b); white-space: nowrap;
}
.deck-summary .ds-icons + .ds-edit { margin-left: 6px; }
/* The whole summary button is the tap target (the chip is aria-hidden inside it):
   keep it 44px tall on short phones too, where styles.css drops it to 40/36px. */
.deck-summary { min-height: 44px; }
.card-grid li.locked .ct-lock { white-space: normal; text-align: center; line-height: 1.2; letter-spacing: .02em; }
.cy-custom .cy-custom-note { margin: 4px 0 6px; font-size: 12px; }

/* Eight icons and the action remain inside narrow phone summaries. */
@media (max-width: 390px) {
  .deck-summary[data-size="8"] .ds-label { display: none; }
  .deck-summary[data-size="8"] .ds-icons + .ds-edit { margin-left: 0; }
}
