.prompts-page .header [aria-current=page]{background:#ffffff12;color:#fff}
.prompt-card .eyebrow{text-transform:uppercase;color:var(--muted);margin:0}
.prompt-card>p:not(.eyebrow){color:var(--muted);line-height:1.5;margin:0}
.prompt-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;padding:24px 0 38px}
.prompt-card{display:flex;flex-direction:column;min-width:0;padding:clamp(16px,3vw,26px);background:#1d1d1d;border:1px solid var(--line);border-radius:14px;scroll-margin-top:25px}
.prompt-card:target{border-color:#777}
.prompt-card h2{font-size:25px;margin:12px 0 6px;letter-spacing:-.025em}
.prompt-card pre{flex:1;white-space:pre-wrap;overflow-wrap:anywhere;margin:18px 0;padding:16px;background:#151515;border:1px solid var(--line);border-radius:10px;font-family:inherit;font-size:14px;line-height:1.65}
.prompt-actions{display:flex;flex-wrap:wrap;gap:8px}.prompt-actions [data-copy=prompt]{background:#eee;color:#151515;border-color:#eee}
.prompt-card .prompt-status{min-height:1.5em;margin-top:8px;font-size:12px}
@media(max-width:680px){.prompt-grid{grid-template-columns:1fr}}
.prompt-grid{grid-template-columns:repeat(3,minmax(0,1fr));padding-top:0}
.prompt-card{display:flex;gap:16px;padding:16px;background:#1d1d1d}
.prompt-cover{display:block;padding:0;border:0;background:none;border-radius:10px;overflow:hidden;align-self:stretch;text-align:left;aspect-ratio:1/1}
.prompt-cover img,.prompt-dialog-body>img{display:block;width:100%;height:auto;border-radius:10px}
.prompt-content h2 button{padding:0;border:0;background:none;font:inherit;text-align:left}
.prompt-content>p:not(.eyebrow){color:var(--muted);line-height:1.5;margin:0}
.prompt-content .prompt-status{margin-top:8px}
.prompt-dialog{width:min(920px,calc(100% - 28px));max-height:90dvh;padding:0;background:#1d1d1d;color:var(--fg);border:1px solid var(--line);border-radius:16px;overflow:auto}
.prompt-dialog::backdrop{background:#000b;backdrop-filter:blur(5px)}
.prompt-dialog-inner{padding:clamp(16px,4vw,32px);position:relative}
.prompt-dialog-body{display:grid;grid-template-columns:minmax(0,300px) minmax(0,1fr);gap:24px}
.prompt-dialog .prompt-content{padding-top:16px;min-width:0}
.prompt-dialog pre{white-space:pre-wrap;overflow-wrap:anywhere;padding:16px;background:#151515;border:1px solid var(--line);border-radius:10px;font-family:inherit;font-size:14px;line-height:1.65}
.prompt-dialog h2{font-size:25px;margin:10px 0}
.prompt-close{position:absolute;right:10px;top:10px;width:34px;height:34px;border:1px solid var(--line);border-radius:50%;background:#151515;font-size:23px;line-height:1}
@media(max-width:680px){.prompt-card,.prompt-dialog-body{grid-template-columns:1fr}.prompt-dialog-body>img{max-height:42dvh;object-fit:contain;background:#151515}}

.prompts-page{--accent:#eee}.prompt-cover img{height:100%;object-fit:cover;object-position:center 35%}.prompt-card pre{max-height:9em;overflow:auto}.prompt-dialog-body>img{aspect-ratio:auto}
.prompt-card .prompt-excerpt{margin:16px 0;padding:12px 14px;background:#151515;border:1px solid var(--line);border-radius:10px;font-size:14px;color:var(--fg)}
.prompt-status:empty{display:none}.prompt-actions .pill.is-copied{background:#b8e5c2;border-color:#b8e5c2;color:#173522;transition:none}
.prompt-actions [data-copy=prompt]{min-inline-size:124px}.prompt-actions .pill{transition:none}
.prompt-command{margin:18px 0 12px;border:1px solid #424242;border-radius:10px;overflow:hidden;background:#101010}
.prompt-command-bar{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 12px;border-bottom:1px solid #333;background:#242424;font:12px ui-monospace,Consolas,monospace;color:#ccc}
.prompt-command-bar .pill{min-inline-size:124px;transition:none}
.prompt-command-bar .is-copied{background:#b8e5c2;border-color:#b8e5c2;color:#173522}
.prompt-dialog .prompt-command pre{margin:0;border:0;border-radius:0;background:transparent;font:13px/1.65 ui-monospace,Consolas,monospace;color:#e1e1e1;max-height:min(38dvh,360px);overflow:auto}
@media(max-width:680px){.prompt-dialog .prompt-dialog-body>img{max-height:24dvh}.prompt-dialog .prompt-command pre{max-height:26dvh}}

.prompt-dialog-visual{position:relative;min-height:0;overflow:hidden;border-radius:10px;background:#151515}.prompt-dialog-visual img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 38%;display:block}.prompt-dialog .prompt-content{padding-bottom:0}.prompt-actions [data-copy=link]{min-inline-size:136px}@media(max-width:680px){.prompt-dialog-visual{aspect-ratio:16/9}.prompt-dialog-visual img{object-position:center 28%}}

.prompt-card .prompt-content > .prompt-excerpt{margin:14px 0 16px}
@media(max-width:950px){.prompt-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.prompt-grid{grid-template-columns:minmax(0,1fr)}}
.prompt-card .prompt-content{display:flex;flex:1;flex-direction:column}.prompt-card .prompt-content>h2{margin:8px 0 0}.prompt-card .prompt-content>.prompt-excerpt{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;padding-block:0;line-height:22px;height:68px;box-sizing:content-box;align-content:center}.prompt-card .prompt-actions{margin-top:auto}
.prompts-page{--accent:#78afff}
.prompts-page .header [aria-current=page]{background:#306ac44d;color:#d2e5ff}
.prompt-actions [data-copy=prompt],.prompt-command-bar [data-copy=prompt]{background:var(--brand-blue);border-color:var(--brand-blue);color:#fff}
.prompt-actions [data-copy=prompt].is-copied,.prompt-command-bar [data-copy=prompt].is-copied{background:#b8e5c2;border-color:#b8e5c2;color:#173522}
