.mgcr-community-toolbar{position:relative;flex:0 0 100%;width:100%;margin-top:8px}.mgcr-community-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.mgcr-community-actions button,.mgcr-community-upload{display:inline-flex;min-height:36px;align-items:center;justify-content:center;gap:6px;padding:7px 10px;border:1px solid rgba(255,255,255,.14);border-radius:9px;background:#1d1c25;color:#f5f5f7;font:inherit;font-size:12px;font-weight:750;line-height:1;cursor:pointer}.mgcr-community-actions button:hover,.mgcr-community-upload:hover,.mgcr-community-actions button[aria-expanded="true"]{border-color:#ef1018;background:#29181c;color:#fff}.mgcr-community-counter{margin-left:auto;color:#9d9ca8;font-size:11px}.mgcr-community-counter.is-over{color:#ff616b}
.mgcr-community-panel{position:relative;z-index:20;margin-top:8px;padding:12px;border:1px solid rgba(239,16,24,.42);border-radius:18px;background:#101014;box-shadow:0 18px 45px rgba(0,0,0,.52),0 0 18px rgba(239,16,24,.12)}.mgcr-community-picker{min-width:0}.mgcr-community-picker-search{display:flex;min-width:0;min-height:44px;align-items:center;gap:9px;flex:1;padding:0 13px;border:1px solid #44434d;border-radius:999px;background:#0b0b0e;color:#aaa9b4}.mgcr-community-picker-search span{font-size:25px;line-height:1;transform:rotate(-15deg)}.mgcr-community-picker-search input{min-width:0;width:100%;height:42px;padding:0;border:0!important;outline:0!important;background:transparent!important;color:#fff!important;font:inherit;font-size:14px;box-shadow:none!important}.mgcr-community-picker-search input::placeholder{color:#96959f}.mgcr-community-picker-title{display:block;margin:11px 3px 7px;color:#b9b8c2;font-size:11px;letter-spacing:.04em}
.mgcr-community-emoji-tabs{display:grid;grid-template-columns:repeat(4,1fr);gap:3px;margin:10px 0 6px;padding:4px;border-radius:7px;background:#25252a}.mgcr-community-emoji-tabs button{min-height:34px;padding:0;border:0;border-radius:6px;background:transparent;color:#8e8d98;font-size:19px;cursor:pointer}.mgcr-community-emoji-tabs button:hover,.mgcr-community-emoji-tabs button.is-active{background:#323239;color:#f4f4f6}.mgcr-community-emoji-grid{display:grid;grid-template-columns:repeat(8,minmax(32px,1fr));gap:3px;max-height:330px;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin}.mgcr-community-emoji-grid button{min-height:40px;padding:0;border:0;border-radius:8px;background:transparent;font-size:25px;line-height:1;cursor:pointer}.mgcr-community-emoji-grid button:hover{background:#292832;transform:scale(1.08)}
.mgcr-community-search{display:flex;align-items:center;gap:8px}.mgcr-community-search-button{flex:0 0 48px;min-height:44px;padding:0 10px;border:1px solid #ef1018;border-radius:999px;background:#ef1018;color:#fff;font:inherit;font-size:12px;font-weight:800;cursor:pointer}.mgcr-community-results{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;max-height:280px;margin-top:9px;overflow:auto;overscroll-behavior:contain}.mgcr-community-results>button{overflow:hidden;padding:0;border:1px solid transparent;border-radius:10px;background:#09090c;cursor:pointer;aspect-ratio:1}.mgcr-community-results>button:hover{border-color:#ef1018}.mgcr-community-results img{display:block;width:100%;height:100%;object-fit:contain}.mgcr-community-empty{grid-column:1/-1;margin:18px 8px;color:#aaa9b4;text-align:center}
.mgcr-community-preview{position:relative;width:min(260px,100%);margin-top:8px}.mgcr-community-preview img,.mgcr-community-media img{display:block;max-width:100%;max-height:320px;border-radius:11px;object-fit:contain}.mgcr-community-preview button{position:absolute;top:6px;right:6px;padding:5px 8px;border:0;border-radius:7px;background:rgba(0,0,0,.82);color:#fff;cursor:pointer}.mgcr-community-media{display:block;width:min(360px,100%);margin-top:9px}.mgcr-community-media--sticker{width:min(180px,55%)}.mgcr-comment-list .mgcr-community-media img{float:none!important;width:auto!important;height:auto!important;margin:0!important;border:0!important;border-radius:11px!important}.mgcr-chat-media{display:block;width:min(280px,90%);margin-top:8px}.mgcr-chat-media img{display:block;width:auto!important;max-width:100%;height:auto!important;max-height:260px;border:0!important;border-radius:10px!important;object-fit:contain}.mgcr-chat-media--sticker{width:min(150px,50%)}.mgcr-community-provider{display:block;margin-top:8px;color:#aaa9b4!important;font-size:11px;font-weight:700;text-align:right;text-decoration:none!important}
.mgcr-community-toolbar--chat{position:static;flex:0 0 auto;width:auto;margin:0}.mgcr-community-toolbar--chat .mgcr-community-actions{gap:2px;flex-wrap:nowrap}.mgcr-community-toolbar--chat .mgcr-community-actions button,.mgcr-community-toolbar--chat .mgcr-community-upload{width:36px;height:36px;min-height:36px;padding:0;border-color:transparent;border-radius:50%;background:transparent;color:#aaa9b4;font-size:22px;font-weight:500}.mgcr-community-toolbar--chat .mgcr-community-actions button:hover,.mgcr-community-toolbar--chat .mgcr-community-upload:hover,.mgcr-community-toolbar--chat .mgcr-community-actions button[aria-expanded="true"]{border-color:#5d5b69;background:#292832;color:#fff}.mgcr-community-toolbar--chat .mgcr-community-counter{position:absolute;left:2px;top:calc(100% + 8px);white-space:nowrap}.mgcr-community-toolbar--chat .mgcr-community-panel{position:absolute;right:56px;bottom:calc(100% + 12px);width:min(410px,calc(100vw - 40px));max-height:min(520px,72vh);margin:0;overflow:auto;overscroll-behavior:contain}.mgcr-community-toolbar--chat .mgcr-community-preview{position:absolute;z-index:19;bottom:calc(100% + 12px);left:0;margin:0;padding:9px;border:1px solid #403e49;border-radius:13px;background:#101014;box-shadow:0 14px 34px rgba(0,0,0,.4)}
body.mgcr-color-light .mgcr-community-actions button,body.mgcr-color-light .mgcr-community-upload{border-color:#d8d8df;background:#fff;color:#17171d}body.mgcr-color-light .mgcr-community-panel{border-color:rgba(239,16,24,.3);background:#fff;box-shadow:0 10px 26px rgba(20,20,28,.14)}body.mgcr-color-light .mgcr-community-picker-search{border-color:#d7d7df;background:#f8f8fa}body.mgcr-color-light .mgcr-community-picker-search input{color:#17171d!important}body.mgcr-color-light .mgcr-community-emoji-tabs{background:#eeeef2}body.mgcr-color-light .mgcr-community-emoji-tabs button:hover,body.mgcr-color-light .mgcr-community-emoji-tabs button.is-active,body.mgcr-color-light .mgcr-community-emoji-grid button:hover{background:#dedee5;color:#17171d}body.mgcr-color-light .mgcr-community-results>button{background:#f2f2f5}
@media(max-width:767px){.mgcr-community-actions{gap:5px}.mgcr-community-actions button,.mgcr-community-upload{min-height:34px;padding:6px 8px;font-size:11px}.mgcr-community-results{grid-template-columns:repeat(3,minmax(0,1fr))}.mgcr-community-emoji-grid{grid-template-columns:repeat(7,minmax(30px,1fr));max-height:300px}.mgcr-community-emoji-grid button{min-height:37px;font-size:23px}.mgcr-community-toolbar--chat .mgcr-community-panel{right:12px;width:calc(100vw - 48px);max-height:min(470px,68vh);padding:10px}.mgcr-community-toolbar--chat .mgcr-community-actions button,.mgcr-community-toolbar--chat .mgcr-community-upload{width:34px;height:34px;min-height:34px;padding:0;font-size:20px}.mgcr-community-toolbar--chat .mgcr-community-preview{right:0;left:auto;width:min(230px,calc(100vw - 48px))}}
@media(prefers-reduced-motion:reduce){.mgcr-community-emoji-grid button{transition:none;transform:none!important}}