.tsd-wrap{max-width:760px;margin:24px auto;font-family:inherit}
.tsd-card{border:1px solid #ddd;border-radius:14px;padding:20px;background:#fff;box-shadow:0 4px 18px rgba(0,0,0,.06)}
.tsd-title{margin:0 0 16px}
.tsd-form{display:flex;gap:10px}
.tsd-url{flex:1;min-width:0;padding:12px;border:1px solid #bbb;border-radius:8px}
.tsd-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}
.tsd-actions button,.tsd-fetch,.tsd-paste{border:0;border-radius:8px;padding:11px 15px;cursor:pointer;background:#111;color:#fff;white-space:nowrap}
.tsd-paste{background:#555}
.tsd-actions button:disabled,.tsd-fetch:disabled,.tsd-paste:disabled{opacity:.6;cursor:not-allowed}
.tsd-status{margin-top:12px;min-height:20px}
.tsd-status.is-error{color:#b42318}
.tsd-preview{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:14px;margin-top:18px}
.tsd-slide{display:flex;flex-direction:column;gap:8px}
.tsd-slide img{width:100%;aspect-ratio:3/4;object-fit:cover;border-radius:8px;background:#eee}
.tsd-download-single{border:0;border-radius:8px;padding:8px 10px;cursor:pointer;background:#111;color:#fff;font-size:13px}
.tsd-download-single:disabled{opacity:.6;cursor:not-allowed}
.tsd-progress{height:5px;background:#eee;border-radius:99px;margin-top:14px;overflow:hidden}
.tsd-progress span{display:block;height:100%;width:0;background:#111}
.tsd-editor-placeholder{padding:24px;border:1px dashed #999}
.tsd-wrap [hidden]{display:none!important}
@media(max-width:600px){.tsd-form{flex-direction:column}.tsd-actions button{width:100%}.tsd-paste{width:100%}}
