/* v0.22.8 — New Post photo controls. No global layout changes. */
#post-form .post-media-section{margin:11px 0 17px}
#post-form .post-media-label{display:block;color:#e5d1f7;font-weight:700;font-size:13px;margin-bottom:11px}
#post-form .post-media-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}
#post-form .post-media-choice{display:flex;gap:9px;align-items:center;justify-content:center;min-height:49px;background:linear-gradient(145deg,#342146,#251932);border:1px solid rgba(185,134,235,.42);border-radius:12px;color:#f1e0ff;font-size:13px;font-weight:750;margin:0;padding:10px;cursor:pointer;-webkit-tap-highlight-color:transparent}
#post-form .post-media-choice:active{background:#4a2b66}
#post-form .post-file-input{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;overflow:hidden!important;padding:0!important;border:0!important;left:-9999px}
#post-form .post-file-input:focus-visible+.post-media-preview{outline:2px solid #c6a0ef}
#post-form .post-media-preview{margin-top:13px;padding:9px;border-radius:15px;border:1px solid rgba(188,144,236,.3);background:#120f1e}
#post-form .post-media-preview[hidden]{display:none!important}
#post-form .post-media-preview img{display:block;width:100%;max-height:265px;object-fit:contain;border-radius:10px;background:#090711}
#post-form .post-photo-footer{display:flex;gap:10px;align-items:center;justify-content:space-between;min-width:0;margin-top:9px}
#post-form #post-photo-name{color:#cdbedf;font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#post-form .post-photo-remove{color:#f3bdd7;background:rgba(181,80,129,.12);border:1px solid rgba(230,118,159,.25);border-radius:9px;min-height:35px;padding:7px 10px;font-size:12px;flex-shrink:0}
#post-form .post-media-helper{color:#a99ab8;font-size:11px;line-height:1.5;margin:9px 1px 0}
#post-form .form-footer{gap:10px;align-items:center;min-height:48px}
#post-form .form-footer .inline-error:empty{display:none!important;padding:0;border:0;background:transparent}
#post-form .form-footer .button{min-height:46px;max-width:100%;flex-shrink:0;padding:12px 16px}
#post-form .form-footer .inline-error:not(:empty){min-width:0}
@media(max-width:355px){#post-form .post-media-actions{grid-template-columns:1fr}#post-form .form-footer{flex-wrap:wrap}#post-form .form-footer .button{width:100%}}
@media(prefers-reduced-motion:reduce){#post-form .post-media-choice{transition:none}}
