.curation-block-editor { min-width: 0; }
.curation-edit-block { padding: 24px 0; border-top: 1px solid #ddd; min-width: 0; }
.curation-edit-block-header, .curation-preview-toolbar, .curation-private-banner { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.curation-edit-block-header { margin-bottom: 12px; }
.curation-edit-block-header h3, .curation-work-pool h4 { font-size: 16px; margin: 0; }
.curation-edit-block-header > div, .curation-pool-selected li > div { display: flex; flex-shrink: 0; }
.curation-icon { width: 40px; height: 40px; border: 1px solid #ddd; background: #fff; color: #222; display: inline-grid; place-items: center; font-size: 18px; cursor: pointer; border-radius: 4px; }
.curation-icon:disabled { opacity: .3; cursor: default; }
.curation-icon:hover:not(:disabled) { background: #edf6f2; }
.curation-work-pool { padding-top: 18px; }
.curation-pool-selected { list-style: none; padding: 0; margin: 12px 0; }
.curation-pool-selected li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px solid #e8e8e8; }
.curation-pool-selected li > span { min-width: 0; overflow-wrap: anywhere; }
.curation-search { display: grid; gap: 6px; font-size: 13px; }
.curation-search input { width: 100%; min-width: 0; box-sizing: border-box; padding: 10px 12px; border: 1px solid #ccc; border-radius: 4px; color: #222; background: #fff; }
.curation-pool-results { max-height: 240px; overflow-y: auto; margin-top: 8px; }
.curation-pool-result { display: flex; gap: 12px; width: 100%; align-items: center; padding: 8px 0; background: transparent; border: 0; border-bottom: 1px solid #eee; text-align: left; color: inherit; cursor: pointer; }
.curation-pool-result img { width: 48px; height: 48px; object-fit: cover; flex: 0 0 48px; }
.curation-pool-result > span { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.curation-pool-result small { display: block; color: #666; }
.curation-pool-empty { color: #666; font-size: 14px; }
.curation-block-editor .ql-editor { min-height: 130px; font-size: 16px; }
.curation-block-editor .ql-editor img, .curation-block-html img { max-width: 100%; height: auto; }
.curation-block-html { overflow-wrap: anywhere; }
.curation-block-html:empty { display: none; }
.curation-block-works { display: grid; gap: 40px; margin-top: 24px; }
.curation-public-block + .curation-public-block { margin-top: 48px; }
.stream-detail-works:has(.curation-public-block) { gap: 0; }
.curation-private-banner { background: #edf6f2; color: #234b3c; padding: 16px 24px; margin-bottom: 24px; }
.curation-private-banner p { flex-basis: 100%; margin: 0; }
.curation-preview-dialog { width: min(1440px, 96vw); height: 92vh; max-width: 96vw; max-height: 96vh; padding: 0; border: 1px solid #ccc; border-radius: 8px; background: #fff; }
.curation-preview-dialog::backdrop { background: rgb(0 0 0 / .45); }
.curation-preview-toolbar { height: 56px; box-sizing: border-box; padding: 8px 16px; border-bottom: 1px solid #ddd; }
.curation-preview-dialog iframe { width: 100%; height: calc(100% - 56px); border: 0; display: block; }
.curation-admin-editor { grid-column: 1 / -1; min-width: 0; }
.curation-admin-editor [data-curation-editor-error] { color: #a92f2f; }
.curation-add-actions { flex-wrap: wrap; }
.curation-block-html .ql-align-center { text-align: center; }
.curation-block-html .ql-align-right { text-align: right; }
.curation-block-html .ql-align-justify { text-align: justify; }
@media (max-width: 600px) {
  .curation-sticky-header .curation-add-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .curation-sticky-inner { flex-wrap: wrap; gap: 12px; }
  .curation-edit-block { padding: 16px 0; }
  .curation-icon { width: 44px; height: 44px; }
  .curation-preview-dialog { width: 98vw; max-width: 98vw; height: 96dvh; max-height: 96dvh; }
  .curation-pool-selected li { flex-wrap: wrap; }
}
