.post-image-upload { min-width: 0; }
.post-image-dropzone { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 150px; padding: 20px 16px; border: 2px dashed #b8bcc2; border-radius: 8px; background: #f8f9fa; color: #363b42; text-align: center; cursor: pointer; transition: border-color .2s, background-color .2s; }
.post-image-dropzone > .bi { color: var(--roxo-appolo, #6d2e2e); font-size: 36px; line-height: 1; }
.post-image-dropzone-title { font-weight: 600; font-size: 16px; }
.post-image-dropzone-formats { font-size: 12px; color: #60656d; overflow-wrap: anywhere; }
.post-image-dropzone input { max-width: 100%; }
.post-image-upload.is-enhanced .post-image-dropzone input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.post-image-dropzone:is(:hover,:focus-within), .post-image-dropzone.is-dragging { border-color: var(--roxo-appolo, #6d2e2e); background: color-mix(in srgb, var(--roxo-appolo, #6d2e2e) 6%, white); }
.post-image-dropzone:focus-within { outline: 2px solid var(--roxo-appolo, #6d2e2e); outline-offset: 3px; }
.post-image-previews { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 12px; padding: 12px 0 0; margin: 0; list-style: none; max-height: 360px; overflow-y: auto; }
.post-image-previews:empty { display: none; }
.post-image-preview { position: relative; min-width: 0; }
.post-image-preview img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border: 1px solid #ddd; border-radius: 5px; background: #eceff1; }
.post-image-preview-name { display: block; margin-top: 5px; font-size: 12px; line-height: 1.4; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.post-image-preview-size { display: block; color: #60656d; font-size: 11px; }
.post-image-remove { position: absolute; top: 4px; right: 4px; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid #ddd; border-radius: 5px; background: rgba(255,255,255,.95); color: #8b2525; font-size: 20px; cursor: pointer; box-shadow: 0 1px 5px #0002; }
.post-image-remove:hover { background: #fff; border-color: #8b2525; }
.post-image-remove:focus-visible { outline: 2px solid var(--roxo-appolo, #6d2e2e); outline-offset: 2px; }
.post-image-upload-error { margin-top: 10px; font-size: 13px; color: #a51f32; overflow-wrap: anywhere; }
.post-image-upload-status:not(:empty) { margin-top: 10px; }
#postModal .modal-body, #editPostModal .modal-body { min-width: 0; }
@media (max-width: 575.98px) { .post-image-dropzone { min-height: 140px; padding: 18px 10px; } .post-image-previews { grid-template-columns: repeat(2,minmax(0,1fr)); max-height: none; } }
@media (prefers-reduced-motion: reduce) { .post-image-dropzone { transition: none; } }
