/* css/clips-today.css: the "Make a Clip" card on the Control Centre (js/clips/clips-today.js). .ctd-* ONLY.
 *
 * The approved artefact is SHEET-A of the 1 Dec 2026 upgrade moments: a deep indigo card, the AI clone picture at
 * card size on the left, the title and one line beside it, one full-width violet button under them. The card is the
 * same dark in light and dark mode (the clone picture is drawn for a dark ground), so its colours are its own tokens.
 * It sits in .cc-sections, so it takes the section rows' gap and corner (control-centre.css .cc-sect).
 * The button is NOT a .btn: inside the Control Centre `.cc-page .btn` re-asserts the primitives (CC-2), and this
 * card's button has its own look.
 */
.ctd-card {
  --ctd-bg-1: #2E2A5C;
  --ctd-bg-2: #1F1D3D;
  --ctd-edge: #4A4580;
  --ctd-ink: #FFFFFF;
  --ctd-ink-2: #C9C6E6;
  --ctd-cta: #6C4CF5;
  --ctd-cta-hover: #7C60F7;
  --ctd-focus: #C9BCFF;
  background: linear-gradient(160deg, var(--ctd-bg-1), var(--ctd-bg-2));
  border: 1px solid var(--ctd-edge);
  border-radius: var(--radius-lg, 16px);
  margin-bottom: 12px;
  padding: 16px 18px 18px;
  color: var(--ctd-ink);
}
.ctd-top { display: flex; align-items: center; gap: 14px; min-width: 0; }
.ctd-art { flex: 0 0 auto; line-height: 0; }
.ctd-words { min-width: 0; }
.ctd-card .ctd-title { margin: 0; font-size: 20px; line-height: 1.25; font-weight: 600; color: var(--ctd-ink); }
.ctd-card .ctd-line { margin: 4px 0 0; font-size: 15px; line-height: 1.4; color: var(--ctd-ink-2); }
.ctd-card .ctd-btn {
  display: block;
  width: 100%;
  margin-top: 16px;
  min-height: 48px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  background: var(--ctd-cta);
  color: #FFFFFF;
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}
.ctd-card .ctd-btn:hover { background: var(--ctd-cta-hover); }
.ctd-card .ctd-btn:focus-visible { outline: 3px solid var(--ctd-focus); outline-offset: 2px; }
/* The artefact's structure at every width: the picture and words, then the button under them. The artefact is a
   phone; on a wide screen the button stays under the words at a button's width rather than running 1,370px across
   the page (measured at 1440, 1 Dec 2026). */
@media (min-width: 769px) {
  .ctd-card .ctd-btn { max-width: 360px; }
}
@media (max-width: 768px) {
  .ctd-card { margin-bottom: 10px; }
}
