.comment-editor{border-radius:18px;background:#101820;border-color:#263746}.comment-editor:focus-within{border-color:#0a92f6}.comment-editor .editor-tools{border-top:0;gap:6px;align-items:center}.comment-editor .editor-tools button,.comment-editor .editor-image{border-radius:22px}.comment-editor .editor-submit{border-radius:24px;padding-inline:16px}.m174-gif{height:36px;min-width:40px;padding:0 10px;background:#0c2e45;border:1px solid #244861;color:#83caff;font-size:12px;font-weight:800;cursor:pointer}.m174-gif:hover,.m174-gif[aria-expanded=true]{background:#164769;color:#fff}.m174-picker{margin:4px 8px 8px;padding:12px;border:1px solid #263746;background:#141d26;border-radius:14px;max-height:380px;overflow:auto;overscroll-behavior:contain}.m174-picker[hidden]{display:none!important}.m174-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.m174-close,.m174-remove{border:0;background:#233443;color:#fff;border-radius:50%;width:32px;height:32px;font-size:23px;cursor:pointer}.m174-picker input{width:100%;margin:8px 0;padding:10px;border:1px solid #304658;background:#090e14;color:#fff;border-radius:20px;box-sizing:border-box}.m174-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.m174-result{padding:0;border:0;border-radius:10px;overflow:hidden;background:#0c2e45;aspect-ratio:4/3;cursor:pointer}.m174-result img{width:100%;height:100%;object-fit:cover;display:block}.m174-upload,.m174-play{border:1px solid #28516b;border-radius:20px;color:#b1dfff;background:#0c2e45;padding:8px 14px;cursor:pointer}.m174-status,.m174-disclosure,.m174-credit,.m174-note{font-size:12px;color:#a8b7c7}.m174-note:not(:empty){padding:4px 12px;color:#ffb4a2}.m174-credit{display:block;text-align:right;margin-top:8px}.m174-remote{display:flex;flex-direction:column;align-items:flex-start;gap:5px;margin:6px 0}.m174-remote small{color:#91a5b8}.m174-photo{display:block;max-width:min(100%,320px);max-height:320px;object-fit:contain;border-radius:12px}.m174-photo[data-anim]{min-height:100px;min-width:100px}.m174-photo-link{display:inline-block;max-width:100%}.comment-editor.m174-drag{outline:2px dashed #0b96fa}.comment-editor .attachment-preview{position:relative;width:fit-content;max-width:100%;padding:8px}.comment-editor .attachment-preview img{max-width:100%;max-height:180px;border-radius:12px}.m174-remove{position:absolute;right:12px;top:12px}.m174-dialog{max-width:94vw;max-height:92vh;background:#090e14;border:1px solid #304658;border-radius:16px;padding:12px;color:white}.m174-dialog::backdrop{background:#000c}.m174-dialog img{display:block;max-width:85vw;max-height:78vh;object-fit:contain}.m174-dialog .m174-close{display:block;margin:0 0 8px auto}@media(max-width:720px){.m174-picker{max-height:min(42vh,340px);margin:4px}.m174-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.m174-gif{min-width:34px;padding:0 6px}.comment-editor .editor-submit{padding-inline:10px}.m174-photo{max-width:min(100%,240px);max-height:260px}}

/* v1.7.5: compact Reddit-style picker */
.m174-picker{padding:10px;max-height:360px}.m174-picker .m174-head{margin-bottom:6px}.m174-picker .m174-disclosure{margin:6px 0;font-size:11px}.m174-picker .m174-status{margin:6px 0}.m174-picker .m174-status:empty{display:none}.m174-picker .m174-result:focus-visible,.m174-picker .m174-result:hover{outline:2px solid #0b96fa;outline-offset:-2px}.m174-picker .m174-upload{font-size:12px;padding:5px 10px}.m174-picker .m174-result{min-width:0}.m174-picker .m174-credit{font-size:11px}

/* v1.7.6: automatic inline GIFs */
.m174-giphy{width:auto;min-width:120px;min-height:110px;max-width:min(100%,240px);max-height:260px;background:#101820}.m174-giphy:not([src]){aspect-ratio:4/3}.m174-remote small{font-size:11px}

/* v1.7.8: unified Reddit-inspired comment tools */
#main .discussion .comment-editor .editor-tools :is(.editor-emoji,.editor-image,.m174-gif),.comment-editor .editor-tools :is(.editor-emoji,.editor-image,.m174-gif){display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;gap:7px;box-sizing:border-box;height:38px;min-height:38px;min-width:40px;width:auto;padding:0 11px;margin:0;border:1px solid #293d4d;border-radius:22px;background:#17242f;color:#c7d8e6;box-shadow:none;font-size:13px;font-weight:600;line-height:1;cursor:pointer;transition:background .15s,border-color .15s,color .15s;white-space:nowrap}
#main .discussion .comment-editor .editor-tools :is(.editor-emoji,.editor-image,.m174-gif):hover,.comment-editor .editor-tools :is(.editor-emoji,.editor-image,.m174-gif):hover{background:#0c2e45;border-color:#0a92f6;color:#e4f4ff}
#main .discussion .comment-editor .editor-tools :is(.editor-emoji,.m174-gif)[aria-expanded=true],.comment-editor .editor-tools :is(.editor-emoji,.m174-gif)[aria-expanded=true]{background:#0c2e45;border-color:#0b96fa;color:#83caff}
.comment-editor .editor-tools :is(.editor-emoji,.editor-image,.m174-gif):focus-visible,.comment-editor .editor-tools .editor-image:focus-within{outline:2px solid #0b96fa;outline-offset:2px}
.comment-editor .editor-tools :is(.editor-emoji,.editor-image) svg{width:19px;height:19px;flex-shrink:0;stroke-width:1.8}
#main .discussion .comment-editor .editor-tools .m174-gif,.comment-editor .editor-tools .m174-gif{font-size:12px;font-weight:800;letter-spacing:.4px;color:#83caff;min-width:44px}
@media(max-width:720px){#main .discussion .comment-editor .editor-tools :is(.editor-emoji,.editor-image,.m174-gif){height:44px;min-height:44px;min-width:44px;padding:0 9px}#main .discussion .comment-editor .editor-tools .editor-image span{display:none}}
@media(prefers-reduced-motion:reduce){.comment-editor .editor-tools :is(.editor-emoji,.editor-image,.m174-gif){transition:none}}
