/* css/clips-overlays.css — the Overlays step of a Clip (js/clips/clips-overlays.js). .cov-* ONLY.
 *
 * Mounted inside the Studio root, so its type and colours (--cst-*) are used as they are, each with the Studio's own
 * value as the fallback (the same rule as css/clips-brief.css). Phone first: one card a row, the still beside the words
 * from 600px; every target 44px or more.
 */
.cov { max-width: 1100px; margin: 24px auto 0; display: flex; flex-direction: column; gap: 16px; text-align: left; min-width: 0; }
.cov .cov-h { margin: 0; font: 600 24px/1.25 Fraunces, Georgia, serif; color: var(--cst-ink, #1e1b2e); }
.cov .cov-line { margin: 0; font-size: 16px; line-height: 1.5; color: var(--cst-ink, #1e1b2e); }
.cov .cov-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.cov .cov-card {
  display: flex; flex-direction: column; gap: 14px; background: #fff; border-radius: 20px; padding: 16px; min-width: 0;
  box-shadow: var(--cst-shadow, 0 1px 2px rgba(30,27,46,.04), 0 8px 28px rgba(30,27,46,.06)); border: 1px solid transparent;
}
.cov .cov-card.is-ready { border-color: var(--cst-ok-ring, #CDEBD6); }

/* The original's still, 9:16, with the overlay's box drawn where it sat (and the chosen picture inside it). */
.cov .cov-frame {
  position: relative; flex: none; width: 150px; aspect-ratio: 9 / 16; border-radius: 14px; overflow: hidden; align-self: center;
  background: #e9e5dc center / cover no-repeat;
}
.cov .cov-box {
  position: absolute; box-sizing: border-box; border: 2px solid var(--cst-ind, #4338CA); border-radius: 6px;
  background: rgba(67, 56, 202, .18) center / contain no-repeat; box-shadow: 0 0 0 9999px rgba(0, 0, 0, .18);
}
.cov .cov-box.has-pic { background-color: transparent; border-style: dashed; }
.cov .cov-box.is-skip { border-style: dotted; background: transparent; opacity: .55; }
.cov .cov-nostill { position: absolute; left: 8px; right: 8px; bottom: 8px; font-size: 12px; line-height: 1.3; color: #5d5566; }

.cov .cov-body { display: flex; flex-direction: column; gap: 8px; min-width: 0; overflow-wrap: anywhere; }
.cov .cov-kind { margin: 0; font: 600 13px/1.3 "Bricolage Grotesque", sans-serif; letter-spacing: .02em; color: var(--cst-ink-2, #5d5566); text-transform: uppercase; }
.cov .cov-what { margin: 0; font: 700 17px/1.3 "Bricolage Grotesque", sans-serif; color: var(--cst-ink, #1e1b2e); }
.cov .cov-when, .cov .cov-maya { margin: 0; font-size: 15px; line-height: 1.45; color: var(--cst-ink-2, #5d5566); }

.cov .cov-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 4px; }
.cov .cov-choice {
  min-height: 44px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--cst-line, #e3ded4); background: #fff; cursor: pointer;
  font: 600 14px/1.25 "Bricolage Grotesque", sans-serif; color: var(--cst-ink, #1e1b2e); text-align: center;
}
.cov .cov-choice.is-on { border-color: var(--cst-ind, #4338CA); background: var(--cst-ind-bg, #F7F6FF); color: var(--cst-ind, #4338CA); }
.cov .cov-choice:disabled { opacity: .55; cursor: default; }
.cov .cov-choice:focus-visible, .cov .cov-btn:focus-within { outline: 3px solid var(--cst-ind-ring, #E4E3FB); outline-offset: 2px; }

.cov .cov-act { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.cov .cov-btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 18px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--cst-ind, #4338CA); color: #fff; font: 600 15px/1.2 "Bricolage Grotesque", sans-serif; position: relative;
}
.cov .cov-btn:disabled { opacity: .6; cursor: default; }
.cov .cov-file { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.cov .cov-small { font-size: 13px; color: var(--cst-ink-2, #5d5566); }
.cov .cov-note { margin: 0; font-size: 15px; line-height: 1.45; color: var(--cst-ink, #1e1b2e); }
.cov .cov-note.is-warn { padding: 10px 12px; border-radius: 12px; background: var(--cst-warn-bg, #FFF6E8); color: var(--cst-warn-ink, #5c3a0a); }
.cov .cov-ok { margin: 0; font-size: 14px; color: var(--cst-ok-ink, #1d6b3a); }

@media (min-width: 600px) {
  .cov .cov-card { flex-direction: row; align-items: flex-start; }
  .cov .cov-frame { align-self: flex-start; }
  .cov .cov-choices { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
