/* Walkthroughs and progressively enhanced prompt library. */
.watch-heading, .library-heading { display:flex; justify-content:space-between; align-items:flex-end; gap:28px; margin-bottom:30px; }
.watch-heading .section-copy, .library-heading .section-copy { margin-bottom:0; }
.watch-heading > div, .library-heading > div { max-width:720px; }
.library-heading .btn { flex-shrink:0; }
.video-grid { display:block; }
.video-card { display:grid; grid-template-columns:minmax(0,1.7fr) minmax(260px,1fr); align-items:center; min-width:0; border:1px solid var(--line); border-radius:14px; background:var(--panel); overflow:hidden; }
.video-card video { width:100%; aspect-ratio:16/9; display:block; background:#08080c; object-fit:contain; }
.video-copy { padding:24px; }
.video-meta { display:flex; gap:16px; justify-content:space-between; color:var(--lilac); font-size:.875rem; margin-bottom:12px; }
.video-copy h3 { margin-bottom:10px; font-size:1.4rem; }
.video-copy p { color:var(--muted); margin-bottom:16px; }
.video-copy a { font-size:.9rem; text-underline-offset:4px; }
.video-error { color:var(--amber)!important; border-left:2px solid var(--amber); padding-left:12px; }
.watch-note { margin-top:20px; color:var(--muted); font-size:.875rem; }
.prompt-start { margin:26px 0; border-left:2px solid var(--lilac); padding-left:20px; color:var(--muted); }
.prompt-start strong { color:var(--ink); font-weight:500; }
.prompt-controls { display:grid; grid-template-columns:minmax(0,1fr) minmax(210px,.5fr) auto; gap:16px; align-items:end; padding:22px; background:var(--panel); border:1px solid var(--line); border-radius:12px; }
.prompt-field { display:flex; flex-direction:column; gap:8px; min-width:0; }
.prompt-field label { font-size:.875rem; color:var(--muted); }
.prompt-field input, .prompt-field select { width:100%; min-height:48px; padding:11px 14px; font:inherit; font-size:1rem; color:var(--ink); background:#0d0d15; border:1px solid #51465f; border-radius:7px; }
.prompt-field input::placeholder { color:#9691a8; }
.prompt-field input:focus-visible, .prompt-field select:focus-visible, .prompt-manual:focus-visible { outline:3px solid var(--mint); outline-offset:3px; }
.prompt-field select { appearance:none; padding-right:38px; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23c4b5fd' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat:no-repeat; background-position:right 12px center; }
.prompt-toolbar { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:8px 20px; margin:18px 0; }
.prompt-count, .prompt-copy-status { font-size:.875rem; margin:0; color:var(--muted); }
.prompt-copy-status { color:var(--mint); }
.prompt-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.prompt-card { display:flex; flex-direction:column; align-items:flex-start; min-width:0; background:var(--panel); border:1px solid var(--line); border-radius:12px; padding:24px; }
.prompt-category { color:var(--lilac); font-size:.8125rem; margin:0 0 14px; }
.prompt-card h3 { font-size:1.125rem; margin:0 0 14px; }
.prompt-card blockquote { margin:0 0 18px; font-size:1rem; line-height:1.65; }
.prompt-setup { font-size:.875rem; line-height:1.55; color:var(--muted); padding-top:15px; border-top:1px solid var(--line); margin:0 0 18px; }
.prompt-setup strong { font-weight:500; color:#d8d4e5; }
.prompt-card .copy-btn { margin-top:auto; min-height:44px; }
.prompt-more { text-align:center; margin-top:28px; }
.prompt-empty { padding:35px 22px; text-align:center; border:1px dashed #51465f; border-radius:12px; }
.prompt-empty p { color:var(--muted); margin-bottom:0; }
.prompt-manual { width:100%; min-height:120px; padding:14px; margin:0 0 20px; border:1px solid var(--lilac); border-radius:8px; color:var(--ink); background:var(--panel); font:inherit; }
.prompt-footer { margin:25px 0 0; font-size:.95rem; color:var(--muted); }
.prompt-footer a { color:var(--lilac); text-underline-offset:3px; }
.hero-prompt-link { color:var(--lilac); text-underline-offset:4px; }
@media(max-width:1000px) {
  .video-card { grid-template-columns:1fr; }
  .prompt-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .nav { gap:16px; }
}
@media(max-width:760px) {
  .watch-heading, .library-heading { flex-direction:column; align-items:flex-start; gap:20px; }
  .video-grid, .prompt-grid { grid-template-columns:1fr; }
  .prompt-controls { grid-template-columns:1fr; padding:18px; }
  .prompt-controls .btn { justify-self:start; }
  .video-copy, .prompt-card { padding:22px; }
  .prompt-toolbar { align-items:flex-start; }
}
