/* Shared feed reply shell with all group tools enabled. */
html body .group-report-post[hidden] {display:none!important;}
html body .group-report-post > .group-report-summary {display:none;}
html body article.post.card.group-feed-post form.lynx-reply-enhanced {display:block!important;border:0!important;padding:0!important;background:transparent!important;box-shadow:none!important;}
html body article.post.card.group-feed-post form.lynx-reply-enhanced .lynx-reply-shell {padding:7px 9px;border:1px solid rgba(212,175,55,.28);border-radius:12px;background:#101010;box-sizing:border-box;}
html body article.post.card.group-feed-post form.lynx-reply-enhanced .lynx-reply-tools {display:flex;align-items:center;flex-wrap:wrap;gap:5px;}
html body article.post.card.group-feed-post form.lynx-reply-enhanced .lynx-reply-toolbar {display:flex;justify-content:space-between;align-items:center;gap:8px;padding:5px 2px 0;border-top:1px solid rgba(212,175,55,.16);}
html body article.post.card.group-feed-post form.lynx-reply-enhanced button.lynx-reply-icon {width:33px!important;min-width:33px!important;height:32px!important;min-height:32px!important;padding:4px!important;border-radius:7px!important;font-size:13px!important;color:#d6b45e!important;background:transparent!important;box-shadow:none!important;}
html body article.post.card.group-feed-post form.lynx-reply-enhanced button.lynx-reply-gif {border:1px solid rgba(212,175,55,.45)!important;width:38px!important;min-width:38px!important;}
.ll-group-tool svg {display:block;width:20px;height:20px;}
.ll-group-tools-draft {display:flex;flex-wrap:wrap;gap:6px;margin-top:8px;}
.ll-group-tools-draft[hidden] {display:none!important;}
.ll-group-draft-chip {border:1px solid #655027;border-radius:8px;background:#211c12;color:#f0d38b;font:inherit;font-size:.78rem;padding:6px 9px;cursor:pointer;overflow-wrap:anywhere;max-width:100%;}
.ll-group-reply-tags {display:block;margin-top:8px;color:#c9b985;font-size:.82rem;}
.ll-group-tool-dialog {width:min(520px,calc(100vw - 32px));max-height:80vh;overflow:auto;box-sizing:border-box;padding:20px;border:1px solid #87682d;border-radius:16px;background:#111;color:#f1e8d3;box-shadow:0 24px 80px #000b;color-scheme:dark;}
.ll-group-tool-dialog::backdrop {background:#000b;}
.ll-group-dialog-heading {display:flex;align-items:center;justify-content:space-between;gap:12px;}
.ll-group-dialog-heading h2 {margin:0;font-size:1.2rem;color:#edcc7d;}
.ll-group-dialog-close {border:1px solid #655027;border-radius:50%;width:34px;height:34px;background:#1a1812;color:#edcc7d;font-size:24px;cursor:pointer;}
.ll-group-dialog-note {color:#c1b7a4;font-size:.87rem;line-height:1.5;}
.ll-group-search-row {display:flex;gap:8px;}
.ll-group-search-row input {flex:1;min-width:0;width:100%;border:1px solid #655027!important;border-radius:9px!important;background:#090909!important;color:#eee!important;padding:10px!important;font-size:16px;}
.ll-group-tool-status {font-size:.84rem;color:#cfba87;}
.ll-group-tool-results {display:grid;gap:7px;max-height:40vh;overflow:auto;margin:10px 0;}
.ll-group-result {text-align:left;border:1px solid #40361f;border-radius:9px;padding:10px;background:#191710;color:#edddbb;cursor:pointer;font:inherit;}
.ll-group-result:hover,.ll-group-result[aria-pressed="true"] {background:#332a16;border-color:#ac8839;}
html body #group-post-composer .feed-icon-toolbar {flex-wrap:wrap;justify-content:space-between;}
html body #group-post-composer .group-audience-note {flex-basis:100%;margin:0;text-align:right;}
html body .group-feed-post .lynx-video-media {display:block;aspect-ratio:16/9;max-width:100%;background:#000;}
html body .group-feed-post .lynx-video-media iframe {width:100%;height:100%;border:0;}
@media(max-width:420px){.ll-group-search-row {flex-wrap:wrap}.ll-group-search-row input {flex-basis:100%} .ll-group-tool-dialog {padding:14px;}}

html body article.post.card.group-feed-post form.lynx-reply-enhanced .lynx-reply-toolbar button.lynx-reply-post {
 border-radius:8px!important;padding:7px 12px!important;min-width:62px!important;min-height:33px!important;
}
@media(max-width:420px){
 html body article.post.card.group-feed-post form.lynx-reply-enhanced .lynx-reply-tools {gap:2px;}
 html body article.post.card.group-feed-post form.lynx-reply-enhanced button.lynx-reply-icon {width:26px!important;min-width:26px!important;padding:3px!important;}
 html body article.post.card.group-feed-post form.lynx-reply-enhanced button.lynx-reply-gif {width:32px!important;min-width:32px!important;}
 html body article.post.card.group-feed-post form.lynx-reply-enhanced .lynx-reply-toolbar {align-items:flex-start;}
}

/* The picker is attached to body, outside the group cards. */
html body .group-smiley-picker {
 border:1px solid rgba(212,175,55,.48)!important;
 background:linear-gradient(160deg,#1a1a1a 0%,#0b0b0b 85%)!important;
 color:#f5ebda!important;color-scheme:dark;
 box-shadow:0 22px 60px rgba(0,0,0,.75),inset 0 1px rgba(255,227,160,.06)!important;
}
html body .group-smiley-picker-header strong {color:#f3d878;}
html body .group-smiley-picker-header span,
html body .group-smiley-empty {color:#bdb3a4;}
html body .group-smiley-picker-close {color:#f3d878;background:#1a1812;border:1px solid rgba(212,175,55,.4);border-radius:50%;}
html body .group-smiley-search {color:#f4ead8!important;background:#0b0b0b!important;border:1px solid rgba(212,175,55,.45)!important;border-radius:9px!important;color-scheme:dark;}
html body .group-smiley-search::placeholder {color:#a6a097;}
html body .group-smiley-option {border-color:rgba(212,175,55,.3)!important;background:#151515!important;color:#f1e6d1;box-shadow:none!important;}
html body .group-smiley-option:hover,
html body .group-smiley-option:focus-visible {background:#272112!important;border-color:#d4af37!important;outline:2px solid #d4af37;outline-offset:-2px;}
html body .group-smiley-code {color:#d9cdb4;}
html body .group-smiley-grid {scrollbar-color:#a6833a #0b0b0b;}

/* Text grows with the draft instead of scrolling inside a fixed-height box. */
html body #group-post-composer textarea[name="body"],
html body article.post.card.group-feed-post form.group-reply-form textarea[name="comment_body"],
html body article.post.card.group-feed-post form.group-post-comment-form textarea[name="comment_body"] {
 width:100%!important;max-height:none!important;overflow:hidden!important;
 resize:none!important;box-sizing:border-box!important;
}

/* Keep the Keywords field flat, matching the group writing fields. */
html body .group-post-filters input[name="group_search"] {
 appearance:none;
 background:#0b0b0b!important;
 color:#eee6d8!important;
 border:1px solid rgba(212,175,55,.24)!important;
 border-radius:9px!important;
 box-shadow:none!important;
 filter:none!important;
}
html body .group-post-filters input[name="group_search"]:focus {
 border-color:#d4af37!important;
 box-shadow:none!important;
 outline:1px solid #d4af37;
 outline-offset:1px;
}
