.community-composer textarea{width:100%;min-height:78px;border:0;outline:0;resize:none;font:inherit;background:transparent;padding:2px 0}.community-composer-row{display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--c-line);padding-top:10px;margin-top:8px}.community-upload{cursor:pointer;color:#555;font-size:13px}.community-reaction-bar{align-items:center}.community-react.active{font-weight:700;background:#f0f0f0}.community-count{font-size:12px;color:#777;margin-right:auto}.community-comment-form{display:flex;gap:6px;margin-top:8px}.community-comment-form input{flex:1;border:1px solid var(--c-line);border-radius:12px;padding:9px 11px;outline:0}.community-comment-form button{border:0;background:#111;color:#fff;border-radius:12px;padding:0 13px}.community-comment{font-size:13px;padding:7px 0;border-bottom:1px solid #f1f1f1}.community-upload:hover{font-weight:600}

/* premium gradient commerce controls v1.9 */
.commerce-product-actions .community-btn,.seller-order-edit .community-btn,.payment-method-form button{background:linear-gradient(135deg,#ff2fb3,#8b2cff 48%,#267dff);color:#fff;border:0;box-shadow:0 7px 18px rgba(123,44,255,.20)}


/* facebook-style reaction picker */
.community-reaction-wrap{position:relative;display:inline-block;width:100%;}
.community-reaction-bar{display:flex;align-items:center;gap:8px;}
.community-react-trigger{width:44px;height:40px;border:0;border-radius:14px;background:#f5f5f7;font-size:21px;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;transition:transform .15s ease,background .15s ease;}
.community-react-trigger:hover{background:#eeeef4;transform:translateY(-1px);}
.community-reaction-picker{position:absolute;left:0;bottom:48px;z-index:20;display:flex;align-items:center;gap:2px;padding:7px 9px;border:1px solid rgba(139,44,255,.18);border-radius:24px;background:#fff;box-shadow:0 10px 30px rgba(50,20,90,.18);}
.community-reaction-picker[hidden]{display:none;}
.community-reaction-picker .community-react{width:40px;height:40px;padding:0;border:0;border-radius:50%;background:transparent;font-size:23px;cursor:pointer;transition:transform .14s ease,background .14s ease;}
.community-reaction-picker .community-react:hover,.community-reaction-picker .community-react:focus{transform:scale(1.18);background:#f3efff;outline:0;}
.community-reaction-picker .community-react.active{background:#eee6ff;}
.community-count{min-width:20px;}
@media(max-width:480px){.community-reaction-picker{left:-2px;bottom:50px;max-width:calc(100vw - 70px);}.community-reaction-picker .community-react{width:38px;height:38px;font-size:21px;}}

.community-post-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:10px 0;}
.community-post-gallery .community-post-media{display:block;width:100%;height:190px;object-fit:cover;border-radius:14px;}
.community-post-preview{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin:8px 0 0;}
.community-preview-item{position:relative;min-width:0;}
.community-preview-item img{display:block;width:100%;height:72px;object-fit:cover;border-radius:10px;border:1px solid var(--c-line,#eee);}
.community-preview-item button{position:absolute;right:3px;top:3px;width:24px;height:24px;border:0;border-radius:50%;background:rgba(0,0,0,.72);color:#fff;line-height:20px;padding:0;font-size:16px;cursor:pointer;}
@media(max-width:480px){.community-post-gallery .community-post-media{height:145px}.community-post-preview{grid-template-columns:repeat(3,minmax(0,1fr));}.community-preview-item img{height:64px;}}
