/* Isolated group layout; sidebar density is the only intentional global change. */
html[data-nomi-theme] #sidebar.sidebar{width:min(248px,82vw)}
html[data-nomi-theme] #sidebar #nomiNavigationTitle{display:none}
html[data-nomi-theme] #sidebar .brand{padding-block:12px}
html[data-nomi-theme] #sidebar #mainNavigation{padding:4px 10px}
html[data-nomi-theme] #sidebar #mainNavigation a{box-sizing:border-box;display:flex;align-items:center;min-height:44px;padding:7px 10px;margin:0 0 1px;line-height:1.3;font-size:14px;overflow-wrap:anywhere}
html[data-nomi-theme] #sidebar .nomi-sidebar-account{padding-block:4px}
@media(min-width:901px){html[data-nomi-theme] #sidebar.sidebar{width:212px}}
#nomiGroups{--ng-bg:var(--nomi-site-surface,#1c152f);--ng-soft:var(--nomi-site-soft,#2a2041);--ng-text:var(--nomi-site-text,#f4edff);--ng-muted:var(--nomi-site-muted,#bfb0d5);--ng-border:var(--nomi-site-border,#49365f);--ng-accent:var(--nomi-site-accent,#cb8bff);max-width:1100px;margin:auto;color:var(--ng-text);font:16px/1.5 Arial,sans-serif;min-width:0}
#nomiGroups[hidden],#nomiGroups [hidden]{display:none!important}
#nomiGroups *{box-sizing:border-box}
#nomiGroups :is(button,input,select,textarea){font:inherit}
#nomiGroups button,#nomiGroups .ng-link{min-height:44px;border:1px solid var(--ng-border);background:var(--ng-soft);color:var(--ng-text);border-radius:10px;padding:8px 12px;cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:5px}
#nomiGroups button:hover{border-color:var(--ng-accent)}
#nomiGroups button:disabled{opacity:.55;cursor:wait}
#nomiGroups :is(button,a,input,select,textarea):focus-visible{outline:2px solid var(--ng-accent);outline-offset:3px}
#nomiGroups .ng-primary{background:linear-gradient(120deg,#8d29d9,#b143b9);color:white;border:0;font-weight:700}
#nomiGroups .ng-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
#nomiGroups .ng-between{justify-content:space-between}
#nomiGroups .ng-tabs{display:flex;gap:6px;overflow-x:auto;padding-block:10px;scrollbar-width:thin}
#nomiGroups .ng-tabs button{white-space:nowrap;flex-shrink:0}
#nomiGroups [aria-pressed=true],#nomiGroups [aria-current=page]{border-color:var(--ng-accent);color:var(--ng-accent);background:var(--ng-soft)}
#nomiGroups .ng-card{border:1px solid var(--ng-border);background:var(--ng-bg);border-radius:14px;padding:16px;margin-bottom:12px;min-width:0;overflow-wrap:anywhere}
#nomiGroups h2,#nomiGroups h3{margin:0 0 10px;line-height:1.25}
#nomiGroups p{margin:8px 0;white-space:pre-wrap}
#nomiGroups .ng-muted,#nomiGroups small{color:var(--ng-muted)}
#nomiGroups .ng-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,270px),1fr));gap:12px}
#nomiGroups label{display:grid;gap:6px;margin-block:12px;font-weight:600}
#nomiGroups :is(input:not([type=checkbox]),textarea,select){width:100%;min-width:0;border:1px solid var(--ng-border);border-radius:9px;padding:10px;background:var(--ng-soft);color:var(--ng-text)}
#nomiGroups textarea{min-height:95px;resize:vertical}
#nomiGroups .ng-cover{width:100%;aspect-ratio:3/1;max-height:300px;object-fit:cover;background:linear-gradient(120deg,#68408b,#b574a7);border-radius:12px;display:block}
#nomiGroups .ng-avatar{width:72px;height:72px;object-fit:cover;border-radius:50%;background:var(--ng-soft);border:2px solid var(--ng-border);flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;font-size:30px}
#nomiGroups .ng-person{display:flex;gap:8px;align-items:center;min-width:0}
#nomiGroups .ng-person button{background:transparent;border:0;padding:0;justify-content:flex-start;text-align:left;min-width:0}
#nomiGroups .ng-person img{width:34px;height:34px;border-radius:50%;object-fit:cover}
#nomiGroups .ng-body{white-space:pre-wrap;overflow-wrap:anywhere}
#nomiGroups .ng-media{display:block;max-width:100%;max-height:520px;margin:10px auto;border-radius:10px}
#nomiGroups .ng-preview{max-width:100%;height:120px;object-fit:contain;display:block;border-radius:10px;margin-block:8px}
#nomiGroups .ng-comment{padding:10px;margin-top:8px;border-left:2px solid var(--ng-accent);background:var(--ng-soft);border-radius:6px}
#nomiGroups .ng-reactions{display:flex;gap:5px;flex-wrap:wrap;margin-block:10px}
#nomiGroups .ng-reactions button{padding:5px 9px}
#nomiGroups .ng-alert{border:1px solid var(--ng-border);border-left:4px solid var(--ng-accent);padding:12px;border-radius:9px;background:var(--ng-soft);white-space:pre-wrap;margin-block:10px}
#nomiGroups .ng-alert[data-error=true]{border-left-color:#ed6785}
#nomiGroups .ng-picker-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(100px,1fr));gap:8px}
#nomiGroups .ng-picker-grid button{padding:4px;display:grid}
#nomiGroups .ng-picker-grid img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:7px}
#nomiGroups .ng-close-mark{background:#25c96a;color:#07180c;width:20px;height:20px;border-radius:50%;display:inline-grid;place-items:center;font-weight:700}
#nomiGroups details{margin-block:10px}
#nomiGroups summary{min-height:44px;cursor:pointer;padding:10px;border:1px solid var(--ng-border);border-radius:9px}
#nomiGroups details[open]>summary::after{content:' ✓';color:#25c96a}
#nomiGroups .ng-pill{font-size:12px;color:var(--ng-accent);border:1px solid var(--ng-border);border-radius:9px;padding:2px 6px}
@media(max-width:650px){#nomiGroups .ng-card{padding:11px}#nomiGroups .ng-cover{aspect-ratio:2.2/1}#nomiGroups .ng-avatar{width:56px;height:56px}#nomiGroups .ng-row.ng-between{align-items:flex-start}#nomiGroups h2{font-size:22px}}

/* Photo controls keep the native file picker and match both NOMI themes. */
#nomiGroups{--ng-button-top:#422d60;--ng-button-bottom:#2f2247;--ng-button-edge:#795698;--ng-button-shadow:rgba(8,3,18,.18)}
html[data-nomi-theme="light"] #nomiGroups{--ng-button-top:#faf3ff;--ng-button-bottom:#ecddf9;--ng-button-edge:#bb95d7;--ng-button-shadow:rgba(93,38,131,.1)}
#nomiGroups button[data-ng="resetFile"],#nomiGroups button[data-ng="cancel"],#nomiGroups button[data-ng="closePicker"],#nomiGroups button[data-ng="morePhotos"]{background:linear-gradient(135deg,var(--ng-button-top),var(--ng-button-bottom));border-color:var(--ng-button-edge);box-shadow:inset 0 1px 0 rgba(255,255,255,.09),0 2px 7px var(--ng-button-shadow);font-weight:600}
#nomiGroups button[data-ng="pick"]{background:linear-gradient(115deg,#792dcc,#9d359d);border:1px solid #b175d7;color:#fff;box-shadow:inset 0 1px 0 rgba(255,255,255,.16),0 3px 9px var(--ng-button-shadow);font-weight:700;padding:11px 17px;min-height:44px}
#nomiGroups button[data-ng="pick"]::before{content:'▧';font-size:20px;line-height:1;margin-inline-end:4px}
#nomiGroups input[type="file"]{padding:7px;background:linear-gradient(135deg,var(--ng-button-top),var(--ng-button-bottom));border-color:var(--ng-button-edge);font-weight:400;line-height:1.5;overflow:hidden;text-overflow:ellipsis}
#nomiGroups input[type="file"]::file-selector-button{appearance:none;-webkit-appearance:none;min-height:44px;margin:0 12px 0 0;padding:10px 16px;border:1px solid #b175d7;border-radius:8px;background:linear-gradient(115deg,#792dcc,#9d359d);color:#fff;font:700 14px/1.35 Arial,sans-serif;box-shadow:inset 0 1px 0 rgba(255,255,255,.16),0 2px 6px var(--ng-button-shadow);cursor:pointer}
#nomiGroups input[type="file"]::-webkit-file-upload-button{appearance:none;-webkit-appearance:none;min-height:44px;margin:0 12px 0 0;padding:10px 16px;border:1px solid #b175d7;border-radius:8px;background:linear-gradient(115deg,#792dcc,#9d359d);color:#fff;font:700 14px/1.35 Arial,sans-serif;box-shadow:inset 0 1px 0 rgba(255,255,255,.16),0 2px 6px var(--ng-button-shadow);cursor:pointer}
@media(hover:hover){#nomiGroups button[data-ng="pick"]:hover{background:linear-gradient(115deg,#8734da,#ac3aaa)}#nomiGroups input[type="file"]:hover::file-selector-button{background:linear-gradient(115deg,#8734da,#ac3aaa)}}

/* All group About panels show five lines until explicitly expanded. */
#nomiGroups .ng-about-copy{line-height:1.5;min-width:0;overflow-wrap:anywhere}
#nomiGroups .ng-about-copy.ng-clamped:not(.is-expanded){max-height:7.5em;overflow:hidden}
#nomiGroups .ng-about-copy p{margin:0;white-space:pre-wrap;line-height:inherit}
#nomiGroups .ng-about-copy h3{font-size:1em;line-height:1.5;margin:8px 0 0}
#nomiGroups .ng-about-settings:not(:empty){margin-top:14px}
#nomiGroups .ng-expand-link{display:inline-flex;margin-top:8px;min-height:40px;padding:7px 13px;border-color:var(--ng-accent);color:var(--ng-accent);background:var(--ng-soft);font-weight:700}
#nomiGroups .ng-expand-link[aria-expanded="true"]::before{content:'▲';font-size:10px}
#nomiGroups .ng-expand-link[aria-expanded="false"]::before{content:'▼';font-size:10px}

/* Dense group feed and threaded replies, scoped to groups only. */
#nomiGroups .ng-post-excerpt.ng-clamped:not(.is-expanded){max-height:7.5em;overflow:hidden}
#nomiGroups .ng-post-excerpt{line-height:1.5;overflow-wrap:anywhere;margin:6px 0 0}
#nomiGroups .ng-post-meta,#nomiGroups .ng-comment-head{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
#nomiGroups .ng-post-meta small,#nomiGroups .ng-comment-head small{margin-inline-start:auto;font-size:11px}
#nomiGroups .ng-post-card{padding-block:12px}
#nomiGroups .ng-person{min-width:0;max-width:100%}
#nomiGroups .ng-person button{font-weight:700;overflow-wrap:anywhere;min-height:30px;max-width:100%}
#nomiGroups .ng-person img,#nomiGroups .ng-person-fallback{width:32px;height:32px;flex:0 0 32px;border-radius:50%;object-fit:cover}
#nomiGroups .ng-person-fallback{display:grid;place-items:center;background:var(--ng-soft);border:1px solid var(--ng-border);font-size:18px}
#nomiGroups .ng-comment{margin-top:5px;padding:6px 8px;border-left:2px solid var(--ng-accent);border-radius:7px;background:var(--ng-soft);min-width:0}
#nomiGroups .ng-comment .ng-person img,#nomiGroups .ng-comment .ng-person-fallback{width:26px;height:26px;flex-basis:26px}
#nomiGroups .ng-comment .ng-person button{min-height:28px;font-size:13px}
#nomiGroups .ng-comment p{margin:3px 0 2px;line-height:1.35;font-size:14px}
#nomiGroups .ng-comment-actions{display:flex;gap:6px;align-items:center;flex-wrap:wrap}
#nomiGroups .ng-comment-actions button,#nomiGroups .ng-cancel-reply{min-height:30px;padding:3px 7px;font-size:12px}
#nomiGroups .ng-comment-children{margin:4px 0 0 10px;padding-left:8px;border-left:1px solid var(--ng-border);min-width:0}
#nomiGroups .ng-comment-children .ng-comment-children{margin-left:4px;padding-left:4px}
#nomiGroups .ng-comment-children .ng-comment-children .ng-comment-children{margin-left:0;padding-left:2px}
#nomiGroups .ng-comment-composer{margin:7px 0 2px;min-width:0}
#nomiGroups .ng-comment-composer.ng-replying{margin-top:7px;border-top:1px solid var(--ng-border);padding-top:6px}
#nomiGroups .ng-compose-row{display:flex;align-items:flex-end;gap:6px;flex-wrap:wrap}
#nomiGroups .ng-compose-row label{margin:0;flex:1 1 180px;min-width:0;font-size:12px}
#nomiGroups .ng-compose-row input{min-height:40px}
#nomiGroups .ng-reply-context:empty{display:none}
#nomiGroups .ng-reply-context{color:var(--ng-accent);font-size:12px;overflow-wrap:anywhere}
#nomiGroups .ng-cancel-reply{display:none}
#nomiGroups .ng-comment-composer.ng-replying .ng-cancel-reply{display:inline-flex}
@media(max-width:600px){#nomiGroups .ng-post-card{padding:9px}#nomiGroups .ng-comment{padding:5px 7px}#nomiGroups .ng-comment-children{margin-left:5px;padding-left:5px}#nomiGroups .ng-compose-row button[type="submit"]{min-height:40px}}
#nomiGroups .ng-site-oversight{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;font-weight:700}
#nomiGroups .ng-site-oversight button{min-height:40px;border-color:var(--ng-accent);font-weight:700}

/* NOMI Groups comment room R4: scoped only to groups, no global changes. */
#nomiGroups .ng-room{--gc-head:#192a40;--gc-body:#25344c;--gc-border:#3b516c;--gc-ink:#eef4ff;--gc-muted:#b9c7d8}
html[data-nomi-theme="light"] #nomiGroups .ng-room{--gc-head:#dce9f5;--gc-body:#f4f8fc;--gc-border:#b7cadd;--gc-ink:#23354a;--gc-muted:#536779}
#nomiGroups .ng-room .ng-post-card{background:transparent!important;border:0!important;padding:0!important;margin:0!important;box-shadow:none!important;overflow:visible!important}
#nomiGroups .ng-room .ng-post-card>*:not(.ng-comments):not(.ng-comment-composer-slot){display:none!important}
#nomiGroups .ng-room .ng-comments{display:flex;flex-direction:column;gap:5px;margin:5px 0 10px;padding:0;min-width:0}
#nomiGroups .ng-room .ng-room-head{display:flex;align-items:center;gap:8px;justify-content:space-between;margin:0 0 8px;padding:5px 4px;min-height:36px}
#nomiGroups .ng-room .ng-room-head strong{font-size:14px;white-space:nowrap}
#nomiGroups .ng-room .ng-room-head button{min-height:30px!important;padding:4px 8px!important;font-size:12px!important}
#nomiGroups .ng-room .ng-comment{position:relative;overflow:visible;margin:3px 0 0!important;padding:0!important;border:1px solid var(--gc-border)!important;border-radius:9px!important;background:var(--gc-body)!important;color:var(--gc-ink);min-width:0}
#nomiGroups .ng-room .ng-comment-head{display:flex!important;align-items:center!important;flex-wrap:nowrap!important;gap:5px!important;margin:0!important;padding:3px 6px!important;border-radius:8px 8px 0 0;background:var(--gc-head)!important;color:var(--gc-ink);min-height:29px;overflow:visible}
#nomiGroups .ng-room .ng-comment-head .ng-person{min-width:0;flex:1 1 auto;display:flex;align-items:center;gap:4px;overflow:hidden}
#nomiGroups .ng-room .ng-comment-head .ng-person img,#nomiGroups .ng-room .ng-comment-head .ng-person-fallback{width:22px!important;height:22px!important;flex:0 0 22px!important;object-fit:cover}
#nomiGroups .ng-room .ng-comment-head .ng-person button{max-width:100%;min-width:0;min-height:21px!important;padding:0 2px!important;border:0!important;box-shadow:none!important;background:transparent!important;color:var(--gc-ink)!important;font-weight:700!important;font-size:12px!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#nomiGroups .ng-room .ng-comment-role{font-size:12px;flex:0 0 auto}
#nomiGroups .ng-room .ng-comment-head small{margin-inline-start:auto!important;white-space:nowrap;flex:0 0 auto;font-size:10px!important;color:var(--gc-muted)!important}
#nomiGroups .ng-room .ng-comment-head small.nomi-edited-marker{margin:0!important}
#nomiGroups .ng-room .ng-comment-body{margin:0!important;padding:5px 8px 2px!important;line-height:1.32!important;white-space:pre-wrap!important;overflow-wrap:anywhere;font-size:13px!important;color:var(--gc-ink)!important}
#nomiGroups .ng-room .ng-comment-actions{display:flex!important;justify-content:flex-end!important;align-items:center!important;gap:4px!important;flex-wrap:nowrap!important;margin:0!important;padding:1px 6px 3px!important}
#nomiGroups .ng-room .ng-comment-actions>button,#nomiGroups .ng-room .ng-comment-react>summary{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:25px!important;min-width:27px!important;padding:1px 5px!important;margin:0!important;font-size:13px!important;line-height:1!important;border:0!important;border-radius:5px!important;background:transparent!important;color:var(--gc-ink)!important;box-shadow:none!important}
#nomiGroups .ng-room .ng-comment-menu{position:relative;display:block;flex:0 0 auto;margin:0!important;padding:0!important;z-index:10}
#nomiGroups .ng-room .ng-comment-menu>summary{list-style:none!important;display:flex!important;align-items:center;justify-content:center;width:29px!important;height:28px!important;min-height:28px!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;color:var(--gc-ink)!important;font-size:20px!important;line-height:1!important;border-radius:5px!important}
#nomiGroups .ng-room :is(.ng-comment-menu,.ng-comment-react)>summary::-webkit-details-marker{display:none!important}
#nomiGroups .ng-room :is(.ng-comment-menu,.ng-comment-react)[open]>summary::after{display:none!important;content:none!important}
#nomiGroups .ng-room .ng-comment-menu-items{display:none;position:absolute;z-index:80;right:0;top:100%;width:max-content;min-width:130px;max-width:min(240px,80vw);padding:4px;background:var(--gc-head);border:1px solid var(--gc-border);box-shadow:0 6px 18px #0005;border-radius:8px}
#nomiGroups .ng-room .ng-comment-menu[open]>.ng-comment-menu-items{display:grid;gap:2px}
#nomiGroups .ng-room .ng-comment-menu-items>button{min-height:30px!important;margin:0!important;padding:5px 10px!important;border:0!important;box-shadow:none!important;background:transparent!important;color:var(--gc-ink)!important;text-align:left!important;font-size:12px!important;white-space:nowrap}
#nomiGroups .ng-room .ng-comment-menu-items>button:hover{background:var(--gc-border)!important}
#nomiGroups .ng-room .ng-comment-react{position:relative;display:inline-block!important;margin:0!important;z-index:8}
#nomiGroups .ng-room .ng-comment-react>summary{list-style:none;cursor:pointer}
#nomiGroups .ng-room .ng-comment-reactors{display:none;position:absolute;bottom:100%;right:0;z-index:70;background:var(--gc-head);border:1px solid var(--gc-border);border-radius:8px;padding:4px;max-width:min(280px,85vw);width:max-content;gap:3px;flex-wrap:wrap;box-shadow:0 6px 18px #0005}
#nomiGroups .ng-room .ng-comment-react[open]>.ng-comment-reactors{display:flex}
#nomiGroups .ng-room .ng-comment-reactors>button{display:inline-flex!important;align-items:center;justify-content:center;min-width:29px!important;min-height:28px!important;padding:3px 5px!important;border:0!important;border-radius:5px!important;background:transparent!important;color:var(--gc-ink)!important;font-size:16px!important}
#nomiGroups .ng-room .ng-comment-children{margin:4px 0 3px 9px!important;padding-left:8px!important;border-left:1px solid var(--gc-border)!important;min-width:0}
#nomiGroups .ng-room .ng-comment-children .ng-comment-children{margin-left:5px!important;padding-left:6px!important}
#nomiGroups .ng-room .nomi-comment-branch{margin:2px 5px 4px!important}
#nomiGroups .ng-room .nomi-comment-branch>summary{min-height:25px!important;padding:3px 7px!important;font-size:11px!important}
#nomiGroups .ng-room .ng-comment-composer{position:sticky;bottom:0;margin:7px 0 0!important;padding:6px 3px 8px!important;border-top:1px solid var(--gc-border);background:var(--ng-bg);z-index:4}
#nomiGroups .ng-room .ng-compose-row{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:end!important;gap:6px!important}
#nomiGroups .ng-room .ng-compose-row label{margin:0!important;font-size:11px!important;min-width:0}
#nomiGroups .ng-room .ng-compose-row textarea{min-height:37px!important;max-height:110px!important;padding:6px 8px!important;font-size:14px!important;line-height:1.32!important;resize:none!important;overflow-y:auto}
#nomiGroups .ng-room .ng-compose-row button[type=submit]{min-height:36px!important;padding:6px 10px!important;font-size:12px!important;margin:0!important}
@media(max-width:520px){#nomiGroups .ng-room .ng-comment-head small{font-size:9px!important}#nomiGroups .ng-room .ng-comment-children{margin-left:5px!important;padding-left:5px!important}}


/* NOMI 2026-11-08: LIVE R4 group comment layout, compact and safe. */
#nomiGroups .ng-room .ng-comment.ng-nomi-dense {
 margin:2px 0!important;padding:0!important;min-height:0!important;
 box-shadow:none!important;overflow:visible!important;border-radius:7px!important;
}
#nomiGroups .ng-room .ng-comment.ng-nomi-dense[hidden]{display:none!important}
#nomiGroups .ng-room .ng-comment.ng-nomi-dense > .ng-comment-head{
 display:flex!important;align-items:center!important;min-height:25px!important;
 padding:2px 4px!important;gap:3px!important;flex-wrap:nowrap!important;
}
#nomiGroups .ng-room .ng-comment.ng-nomi-dense > .ng-comment-head .ng-person{
 display:flex!important;flex:0 1 auto!important;min-width:0!important;max-width:42%!important;
 align-items:center!important;gap:3px!important;overflow:hidden!important;
}
#nomiGroups .ng-room .ng-comment.ng-nomi-dense > .ng-comment-head .ng-person :is(img,.ng-person-fallback){
 width:23px!important;height:23px!important;min-width:23px!important;flex:0 0 23px!important;
}
#nomiGroups .ng-room .ng-comment.ng-nomi-dense > .ng-comment-head small{
 margin:0!important;flex:0 1 auto!important;min-width:0!important;white-space:nowrap!important;
 text-overflow:ellipsis!important;overflow:hidden!important;font-size:10px!important;
}
#nomiGroups .ng-room .ng-comment.ng-nomi-dense > .ng-comment-head > .ng-comment-actions{
 display:inline-flex!important;align-items:center!important;justify-content:flex-end!important;
 flex:0 0 auto!important;gap:1px!important;margin:0 0 0 auto!important;
 padding:0!important;min-height:0!important;white-space:nowrap!important;
}
#nomiGroups .ng-room .ng-comment.ng-nomi-dense > .ng-comment-head > .ng-comment-actions > button,
#nomiGroups .ng-room .ng-comment.ng-nomi-dense > .ng-comment-head .ng-comment-react>summary,
#nomiGroups .ng-room .ng-comment.ng-nomi-dense > .ng-comment-head > .ng-comment-menu>summary{
 min-width:25px!important;width:auto!important;min-height:25px!important;height:25px!important;
 padding:0 2px!important;margin:0!important;font-size:14px!important;
 line-height:1!important;border:0!important;background:transparent!important;box-shadow:none!important;
}
#nomiGroups .ng-room .ng-comment.ng-nomi-dense > .ng-comment-head > .ng-comment-menu{
 order:4;flex:0 0 25px!important;margin:0!important;
}
#nomiGroups .ng-room .ng-comment.ng-nomi-dense > .ng-comment-head .ng-comment-react>summary{
 max-width:48px!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
}
#nomiGroups .ng-room .ng-comment.ng-nomi-dense > .ng-comment-body{
 display:block!important;box-sizing:border-box!important;max-height:none;
 margin:0!important;padding:2px 6px 2px 32px!important;
 font-size:13px!important;line-height:1.3!important;
}
#nomiGroups .ng-room .ng-comment.ng-nomi-dense > .ng-comment-body.ng-nomi-clamp:not(.ng-nomi-expanded){
 display:-webkit-box!important;-webkit-box-orient:vertical!important;
 -webkit-line-clamp:2;line-clamp:2;max-height:2.6em!important;overflow:hidden!important;
}
#nomiGroups .ng-room .ng-comment.ng-nomi-dense > .ng-comment-body.ng-nomi-expanded{
 display:block!important;max-height:none!important;overflow:visible!important;
}
#nomiGroups .ng-room .ng-comment.ng-nomi-dense > .ng-nomi-expand{
 display:block;min-height:23px;margin:0 0 1px 31px;padding:0 3px;
 border:0;background:transparent;box-shadow:none;color:var(--ng-accent,#a68bd8);
 text-align:left;font-size:12px;font-weight:650;cursor:pointer;
}
#nomiGroups .ng-room .ng-comment.ng-nomi-dense > .ng-nomi-expand[hidden]{display:none!important}
#nomiGroups .ng-room .ng-comment.ng-nomi-dense .ng-comment-children,
#nomiGroups .ng-room .ng-comment.ng-nomi-dense .ng-comment-children .ng-comment-children,
#nomiGroups .ng-room .ng-comment.ng-nomi-dense .ng-comment-children .ng-comment-children .ng-comment-children{
 margin:2px 0 0!important;padding:0!important;border-left:0!important;max-width:100%!important;
}
#nomiGroups .ng-room .ng-comment.ng-nomi-dense .nomi-comment-branch{
 margin:2px 0 0!important;padding:0!important;
}
#nomiGroups .ng-room .ng-comment.ng-nomi-dense .nomi-comment-branch > summary{
 min-height:23px!important;padding:2px 5px!important;
}
#nomiGroups .ng-room .ng-nomi-list-more{
 display:block;align-self:center;min-height:30px!important;
 margin:7px auto;padding:4px 14px!important;border:1px solid var(--gc-border,#496584)!important;
 border-radius:20px!important;background:var(--gc-head,#192a40)!important;
 color:var(--gc-ink,#f6efff)!important;font-size:12px!important;font-weight:650;cursor:pointer;
}
#nomiGroups .ng-room .ng-nomi-list-more:focus-visible,
#nomiGroups .ng-room .ng-nomi-expand:focus-visible{outline:2px solid #9fc9ff;outline-offset:2px}
@media(max-width:440px){
 #nomiGroups .ng-room .ng-comment.ng-nomi-dense > .ng-comment-head{gap:2px!important;padding:2px 3px!important}
 #nomiGroups .ng-room .ng-comment.ng-nomi-dense > .ng-comment-head small{font-size:9px!important}
 #nomiGroups .ng-room .ng-comment.ng-nomi-dense > .ng-comment-head .ng-person{max-width:37%!important}
}

/* R5: fallback compact group styling, independent of progressive enhancer. */
#nomiGroups .ng-room .ng-comment:not(.ng-nomi-dense){margin:2px 0!important;padding:0!important;min-height:0!important}
#nomiGroups .ng-room .ng-comment:not(.ng-nomi-dense)>.ng-comment-head{min-height:27px!important;padding:2px 4px 2px 90px!important}
#nomiGroups .ng-room .ng-comment:not(.ng-nomi-dense)>.ng-comment-actions{
 position:absolute!important;top:3px;right:35px;display:inline-flex!important;gap:1px!important;
 margin:0!important;padding:0!important;min-height:26px!important;background:transparent!important;
}
#nomiGroups .ng-room .ng-comment:not(.ng-nomi-dense)>.ng-comment-body{
 margin:0!important;padding:3px 5px!important;font-size:13px!important;line-height:1.3!important;
 display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:2;
 line-clamp:2;max-height:2.6em!important;overflow:hidden!important;
}
#nomiGroups .ng-room .ng-comment:not(.ng-nomi-dense) .ng-comment-children{margin:2px 0 0!important;padding:0!important;border-left:0!important}
