/* Identical public/editor popup motion is defined once; layout stays page-specific. */
:is(.post-dialog,#solution-item-dialog,#category-dialog,#post-storage-dialog,#history-compose,#logout-dialog,#contact-item-dialog,#contact-preview-dialog,#image-crop-dialog,#log-delete-dialog,#inquiry-delete-dialog,#history-preview-dialog,#history-delete-dialog)[open]{animation:metalogy-dialog-enter .35s ease both}
:is(.post-dialog,#solution-item-dialog,#category-dialog,#post-storage-dialog,#history-compose,#logout-dialog,#contact-item-dialog,#contact-preview-dialog,#image-crop-dialog,#log-delete-dialog,#inquiry-delete-dialog,#history-preview-dialog,#history-delete-dialog)::backdrop{background:rgb(0 0 0 / 72%);backdrop-filter:blur(7px);animation:metalogy-backdrop-enter .35s ease both}
:is(.post-dialog,#solution-item-dialog,#category-dialog,#post-storage-dialog,#history-compose,#logout-dialog,#contact-item-dialog,#contact-preview-dialog,#image-crop-dialog,#log-delete-dialog,#inquiry-delete-dialog,#history-preview-dialog,#history-delete-dialog).is-closing{animation:metalogy-dialog-exit .35s ease both}
:is(.post-dialog,#solution-item-dialog,#category-dialog,#post-storage-dialog,#history-compose,#logout-dialog,#contact-item-dialog,#contact-preview-dialog,#image-crop-dialog,#log-delete-dialog,#inquiry-delete-dialog,#history-preview-dialog,#history-delete-dialog).is-closing::backdrop{animation:metalogy-backdrop-exit .35s ease both}
@keyframes metalogy-dialog-enter{from{opacity:0;transform:translateY(18px) scale(.99)}to{opacity:1;transform:none}}
@keyframes metalogy-backdrop-enter{from{opacity:0}to{opacity:1}}
@keyframes metalogy-dialog-exit{from{opacity:var(--dialog-close-opacity,1);transform:var(--dialog-close-transform,none)}to{opacity:0;transform:translateY(18px) scale(.99)}}
@keyframes metalogy-backdrop-exit{from{opacity:var(--dialog-close-backdrop-opacity,1)}to{opacity:0}}
@media(prefers-reduced-motion:reduce){:is(.post-dialog,#solution-item-dialog,#category-dialog,#post-storage-dialog,#history-compose,#logout-dialog,#contact-item-dialog,#contact-preview-dialog,#image-crop-dialog,#log-delete-dialog,#inquiry-delete-dialog,#history-preview-dialog,#history-delete-dialog)[open],:is(.post-dialog,#solution-item-dialog,#category-dialog,#post-storage-dialog,#history-compose,#logout-dialog,#contact-item-dialog,#contact-preview-dialog,#image-crop-dialog,#log-delete-dialog,#inquiry-delete-dialog,#history-preview-dialog,#history-delete-dialog)::backdrop{animation:none}}
