/* LandDU design v3 for the community page (page 2) and the group page (page 3). Loaded after community.css, group.css and community-posts.css, so it overrides them.
   Look: projects/system/chatty-pages/2026-10-14-landdu-design-v3.html. Phone first: full-bleed cover with the crest and name over the photo, flat underline tabs,
   Facebook-style posts, rows in one panel (no cards inside cards). Desktop adds the rail on the right. Lane: community, group, account. */
.ld-comm{--ld-page:#f5f6f9;--ld-pearl:#eef1f7;--ld-line:#e4e7ef;--ld-midnight:#0a0e24;--ld-deep:#0a0e24;--ld-ink:#0d1224;--ld-muted:#667089;--ld-faint:#667089;
--ld-electric:#3d63ff;--ld-ice:#cfdcff;--ld-r-card:12px;--ld-r-row:12px;--ld-shadow-row:0 0 0 1px #e4e7ef;--ld-shadow-card:none;--ld-accent:#cfdcff;--ld-accent-ink:#0a1130;--ld-tint:#eef1f7}
.ld-comm{background:var(--ld-page);color:var(--ld-ink);font-size:15px;margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw);width:100vw;max-width:100vw;overflow-x:clip}
.ld-comm h1,.ld-comm h2,.ld-comm h3{text-shadow:none}

/* buttons: soft blue like the homepage, white ghost */
.ld-comm .ld-btn{height:40px;padding:0 18px;background:var(--ld-accent);color:var(--ld-accent-ink);font:700 14.5px var(--ld-text)}
.ld-comm .ld-btn:hover{background:#bccfff;color:var(--ld-accent-ink)}
.ld-comm .ld-btn--sm{height:34px;padding:0 14px;font-size:13.5px}
.ld-comm .ld-btn--ghost{background:#fff;color:var(--ld-ink);box-shadow:inset 0 0 0 1px var(--ld-line)}
.ld-comm .ld-btn--ghost:hover{background:var(--ld-tint);box-shadow:inset 0 0 0 1px var(--ld-line)}
.ld-comm .ld-btn--on{background:var(--ld-tint);color:#2b3a73}
.ld-comm .ld-btn--on:hover{background:var(--ld-tint)}
.ld-comm .ld-btn--light{background:#fff;color:var(--ld-ink)}
.ld-comm .ld-btn--ghost-d{background:rgba(10,14,36,.45);color:#fff;box-shadow:inset 0 0 0 1px rgba(255,255,255,.4)}
.ld-comm .ld-chip{height:34px;padding:0 13px;font-size:13.5px;box-shadow:inset 0 0 0 1px var(--ld-line);color:var(--ld-ink)}
.ld-comm .ld-chip:hover{box-shadow:inset 0 0 0 1px var(--ld-line);background:var(--ld-tint)}
.ld-comm .ld-chip[aria-pressed=true],.ld-comm .ldcp .fbar button.ld-chip[aria-pressed=true]{background:var(--ld-midnight);color:#fff}
.ld-comm .ld-link{color:var(--ld-electric)}

/* the cover: group page (.gh) and community page (.ld-ch) */
.ld-comm .ld-head{background:var(--ld-midnight);overflow:visible;margin:0;padding:0;min-height:0}
.ld-comm .ld-head .sky{display:none}
.ld-comm .ld-head>.wrap{max-width:none;padding:0}
.ld-comm .ld-crumb{display:none;position:absolute;z-index:3;left:0;right:0;top:0;max-width:1200px;margin:0 auto;padding:12px 40px;color:rgba(255,255,255,.8);font-size:13px}
.ld-comm .ld-crumb a{color:#fff}
.ld-comm .ld-head>.wrap{position:relative}
.ld-comm .gh,.ld-comm .ld-ch{position:relative;border-radius:0;box-shadow:none;background:var(--ld-midnight);overflow:hidden;color:#fff;padding:0}
.ld-comm .gh-cv{height:190px;position:relative}
.ld-comm .gh-cv:after{background:linear-gradient(180deg,rgba(8,12,34,.25),rgba(8,12,34,.88))}
.ld-comm .gh-in{left:14px;top:14px;height:30px;font-size:12.5px}
.ld-comm .gh-b{position:absolute;left:0;right:0;bottom:0;display:flex;align-items:center;gap:12px;padding:0 14px 14px;max-width:1200px;margin:0 auto;z-index:2}
.ld-comm .gh-av{width:54px;height:54px;margin:0;flex:none;box-shadow:0 0 0 3px #fff,0 6px 18px -6px rgba(0,0,0,.5)}
.ld-comm .gh-t{flex:1;min-width:0;padding:0}
.ld-comm .gh-k,.ld-comm .gh-d,.ld-comm .gh-adm{display:none}
.ld-comm .gh h1{margin:0;font:800 20px/1.1 var(--ld-display);letter-spacing:-.02em;color:#fff}
/* header-gap (Kyle 2 Nov): BuddyBoss's "body.buddypress .buddypress-wrap h1{margin-bottom:1.6875rem}" (0,2,2) beat the margin:0 above (0,2,1), so a 27px gap sat between the group name and "n members". Same weight plus one class wins.The community header (.ld-ch) needs the same, 8 Nov (Kyle: "the weird padding and spacing between the Irish down under and the text underneath"). */
body.buddypress .buddypress-wrap.ld-comm .gh h1,body.buddypress .ld-comm .gh h1,body.buddypress .buddypress-wrap.ld-comm .ld-ch h1,body.buddypress .ld-comm .ld-ch h1{margin-bottom:0}
.ld-comm .gh-s{margin:3px 0 0;font:500 13px/1.35 var(--ld-text);color:rgba(255,255,255,.86)}
.ld-comm .gh-s b{color:#fff;font-weight:600}
.ld-comm .gh-a{padding:0;gap:8px;flex:none}
.ld-comm .gh-a .ld-btn{height:38px;padding:0 16px}
.ld-comm .gh-more>summary{width:38px;padding:0}
.ld-comm .gh-dd .menu{top:46px}

/* community cover: a city photo under the same navy gradient, crest on the left */
.ld-comm .ld-ch{min-height:230px;display:flex;align-items:flex-end;background:linear-gradient(180deg,rgba(8,12,34,.25),rgba(8,12,34,.9)),var(--ld-city1,url(../img/city-1.jpg)) center 58%/cover,var(--c-base,#0a0e24)}
.ld-comm .ld-ch-g{position:relative;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;column-gap:12px;width:100%;max-width:1200px;margin:0 auto;padding:0 14px 14px}
.ld-comm .ld-ch-crest{grid-column:1;grid-row:1/3;width:54px;height:54px;border-radius:50%;background:#fff;box-shadow:0 0 0 3px #fff,0 6px 18px -6px rgba(0,0,0,.5)}
.ld-comm .ld-ch-g>div:first-of-type{display:contents}
.ld-comm .ld-ch h1{grid-column:2;grid-row:1;align-self:end}
.ld-comm .ld-ch .stats{grid-column:2;grid-row:2;align-self:start}
.ld-comm .ld-ch .acts{grid-column:3;grid-row:1/3}
.ld-comm .ld-ch-tag,.ld-comm .ld-ch-pin,.ld-comm .ld-ch .ld-pill,.ld-comm .ld-ch .sub,.ld-comm .ld-adm{display:none}
.ld-comm .ld-ch h1{margin:0;padding:0;font:800 20px/1.1 var(--ld-display);letter-spacing:-.02em;color:#fff}
.ld-comm .ld-ch .stats{margin:3px 0 0;font:500 13px/1.35 var(--ld-text);color:rgba(255,255,255,.86)}
.ld-comm .ld-ch .acts{display:flex;flex-direction:row;gap:8px;margin:0;flex:none}
.ld-comm .ld-ch .acts .ld-btn{width:auto;flex:none;height:38px;padding:0 16px}
.ld-comm .ld-ch .acts .ld-btn--ghost-d{display:none}

/* tabs: flat underline strip, full width */
.ld-comm .pg.wrap{max-width:none;padding:0}
.ld-comm .ld-tabbar{position:sticky;top:0;z-index:30;margin:0;padding:0;background:#fff;border-bottom:1px solid var(--ld-line);box-shadow:none}
.ld-comm .ld-tabbar .ld-tabs,.ld-comm .ld-tabs{display:flex;gap:2px;margin:0 auto;padding:0;border-radius:0;background:transparent;box-shadow:none;width:100%;max-width:1200px;overflow-x:auto;scrollbar-width:none}
.ld-comm .ld-tabs::-webkit-scrollbar{display:none}
.ld-comm .ld-tabs label{flex:none;height:auto;display:flex;align-items:center;justify-content:center;gap:4px;padding:13px 15px;border-radius:0;background:transparent;color:var(--ld-muted);font:600 15px var(--ld-text);border-bottom:3px solid transparent;margin-bottom:-1px;white-space:nowrap}
.ld-comm .ld-tabs label small{display:inline;font-weight:500;color:var(--ld-muted);margin-left:3px}
.ld-comm .ld-tabs label .rq{background:var(--ld-electric);color:#fff}
.ld-comm #t-posts:checked~.pg label[for=t-posts],.ld-comm #t-groups:checked~.pg label[for=t-groups],.ld-comm #t-events:checked~.pg label[for=t-events],.ld-comm #t-about:checked~.pg label[for=t-about],
.ld-comm #t-rooms:checked~.pg label[for=t-rooms],.ld-comm #t-members:checked~.pg label[for=t-members]{background:transparent;color:var(--ld-ink);border-bottom-color:var(--ld-midnight)}
.ld-comm #t-groups:checked~.pg label[for=t-groups] small,.ld-comm #t-events:checked~.pg label[for=t-events] small{color:var(--ld-muted)}
.ld-comm #t-members:checked~.pg label[for=t-members] .rq{background:var(--ld-electric);color:#fff}

/* sections: flat, edge to edge on the phone */
.ld-comm .ld-p-head{padding:16px 16px 10px;gap:12px;align-items:flex-end}
.ld-comm .ld-p-head h2{font:800 22px/1.15 var(--ld-display);letter-spacing:-.025em;color:var(--ld-ink)}
.ld-comm .ld-p-head h2 small{font:600 14px var(--ld-text);color:var(--ld-muted)}
.ld-comm .ld-p-head p{margin:3px 0 0;font-size:13.5px;color:var(--ld-muted)}
.ld-comm .ld-main{display:block;padding:0 0 40px}
.ld-comm .ld-box{border-radius:0;box-shadow:none;background:#fff;border-top:1px solid var(--ld-line);border-bottom:1px solid var(--ld-line);padding:16px;margin:8px 0}
.ld-comm .ld-box h3{font:700 12px var(--ld-text);letter-spacing:.07em;text-transform:uppercase;color:var(--ld-muted);margin:0 0 8px}
.ld-comm .ld-box h4{font-size:12px;color:var(--ld-muted);letter-spacing:.07em}
.ld-comm .ld-box p{font-size:14.5px;color:#3a4260}
.ld-comm .abg{display:block;margin:0}
.ld-comm .abg aside{gap:0}
.ld-comm .ld-empty{border-radius:12px;background:#fff;box-shadow:inset 0 0 0 1px var(--ld-line);margin:12px 16px}
.ld-comm .ld-gfoot{padding:14px 16px 0}
.ld-comm .ld-ev .d,.ld-comm .evc-i .d{border-radius:10px;background:#fff;color:var(--ld-ink);box-shadow:0 0 0 1px var(--ld-line)}

/* groups of a community: one row each in one panel */
.ld-comm .ld-gg{display:block;margin:10px 0 0;background:#fff;border-top:1px solid var(--ld-line);border-bottom:1px solid var(--ld-line)}
.ld-comm .ld-gc{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;column-gap:12px;padding:13px 16px;border-radius:0;box-shadow:none;border-bottom:1px solid var(--ld-line);background:#fff;transition:none}
.ld-comm .ld-gc:last-child{border-bottom:0}
.ld-comm .ld-gc:hover{transform:none}
.ld-comm .ld-gc:nth-child(n+5){display:grid}
.ld-comm .ld-gc-t img{width:46px;height:46px}
.ld-comm .ld-gc h3{font:700 16px/1.25 var(--ld-text);letter-spacing:-.01em;color:var(--ld-ink)}
.ld-comm .ld-gc-m{margin-top:4px;font-size:13px;color:var(--ld-muted);font-weight:500}
.ld-comm .ld-gc-s{color:var(--ld-muted)}
.ld-comm .ld-gc .ld-btn{grid-column:2;grid-row:1/4;margin:0;background:var(--ld-tint);color:#2b3a73;height:34px;padding:0 14px;font-size:13.5px}
.ld-comm .ld-gc .ld-btn--on{background:var(--ld-tint)}
.ld-comm .fbar{padding:0 16px;margin-top:4px}
.ld-comm .ld-frow{margin:0;padding:2px 0 8px}
.ld-comm .fbar .ld-frow{margin:0;padding:2px 0 8px}
.ld-comm .ld-search{border-radius:10px;background:#fff;box-shadow:inset 0 0 0 1px var(--ld-line);padding:4px}
.ld-comm .ld-search input{font-size:16px}
.ld-comm .ld-p-groups .ld-p-head{display:block}
.ld-comm .ld-p-groups .ld-search{margin-top:10px;width:100%!important}

/* events, rooms, jobs: rows with a thumbnail on the phone */
.ld-comm .evg,.ld-comm .rg,.ld-comm .jl{display:block;margin:10px 0 0;background:#fff;border-top:1px solid var(--ld-line);border-bottom:1px solid var(--ld-line)}
.ld-comm .evc,.ld-comm .rc,.ld-comm .jr{display:grid;grid-template-columns:92px minmax(0,1fr);gap:12px;align-items:start;padding:13px 16px;border-radius:0;box-shadow:none;background:#fff;border-bottom:1px solid var(--ld-line);overflow:visible}
.ld-comm .evc:last-child,.ld-comm .rc:last-child,.ld-comm .jr:last-child{border-bottom:0}
.ld-comm .evc-i,.ld-comm .rc-i{width:92px;height:92px;aspect-ratio:auto;border-radius:10px;overflow:hidden;position:relative;background:var(--ld-tint)}
.ld-comm .evc-i img,.ld-comm .rc-i img{width:100%;height:100%;object-fit:cover}
.ld-comm .evc-i .d{left:5px;top:5px;bottom:auto;width:auto;height:auto;padding:3px 7px;font-size:16px}
.ld-comm .evc-b{padding:0}
.ld-comm .evc-b h3,.ld-comm .rc-b h3,.ld-comm .jr-b h3{font:700 16px/1.3 var(--ld-text);letter-spacing:-.01em;color:var(--ld-ink)}
.ld-comm .evc-b .ld-btn{margin-top:8px}
.ld-comm .rc-b{padding:0}
.ld-comm .rc-p{left:auto;right:auto;position:static;display:block;background:none;color:var(--ld-ink);padding:0;font:800 18px var(--ld-text);box-shadow:none}
.ld-comm .rc-i .rc-p{position:absolute;left:6px;bottom:6px;display:inline-block;background:#fff;border-radius:6px;padding:2px 7px;font-size:13px}
.ld-comm .jr-l{border-radius:10px;background:var(--ld-tint);color:#2b3a73}

/* members: rows in one panel */
.ld-comm .mh{padding:16px 16px 8px;margin-top:0}
.ld-comm .mh h3{font:800 18px var(--ld-display);letter-spacing:-.02em;color:var(--ld-ink)}
.ld-comm .mg{display:block;margin:0;background:#fff;border-top:1px solid var(--ld-line);border-bottom:1px solid var(--ld-line)}
.ld-comm .mr{border-radius:0;box-shadow:none;background:#fff;padding:12px 16px;border-bottom:1px solid var(--ld-line)}
.ld-comm .mr:last-child{border-bottom:0}
.ld-comm .msr{border-radius:10px;box-shadow:inset 0 0 0 1px var(--ld-line);height:42px;width:100%}
.ld-comm .ld-p-members .mh{flex-direction:column;align-items:stretch}
.ld-comm .ld-p-members .q{margin:8px 0}

/* posts: a flat composer and Facebook-style posts, a gap between them */
.ld-comm .ldcp .feed{margin-top:0}
.ld-comm .ldcp button.cp{border-radius:0;box-shadow:none;border-bottom:1px solid var(--ld-line);width:100%;padding:10px 14px;background:#fff}
.ld-comm .ldcp button.cp .in{border-radius:999px;background:var(--ld-page);color:var(--ld-muted)}
.ld-comm .ldcp #activity-stream ul.activity-list{gap:8px;margin-top:8px}
.ld-comm .ldcp li.lp{border-radius:0;box-shadow:none;border-top:1px solid var(--ld-line);border-bottom:1px solid var(--ld-line);padding:12px 14px 0}
.ld-comm .ldcp li.lp.bb-pinned,.ld-comm .ldcp li.lp.ldcp-pinned{box-shadow:none;border-left:3px solid #17673f}
.ld-comm .ldcp li.lp .activity-inner .bb-activity-media-wrap,.ld-comm .ldcp li.lp .activity-inner .activity-media-description{margin-left:-14px;margin-right:-14px}
.ld-comm .ldcp li.lp .activity-inner{font-size:15px;line-height:1.5;color:#3a4260}
.ld-comm .ldcp li.lp .activity-inner a{color:var(--ld-electric)}
.ld-comm .ldcp li.lp .ldcp-who b{font-size:15px}
.ld-comm .ldcp .bp-feedback{border-radius:0;box-shadow:none}

/* desktop: centred column, the rail on the right, rows in panels with a border */
@media (min-width:901px){
.ld-comm .ld-crumb{display:flex}
.ld-comm .gh-cv{height:260px}
.ld-comm .gh-in{left:max(40px,calc((100% - 1120px)/2));top:46px}
.ld-comm .gh-b{padding:0 40px 28px;gap:18px}
.ld-comm .gh-av,.ld-comm .ld-ch-crest{width:72px;height:72px}
.ld-comm .gh h1,.ld-comm .ld-ch h1{font-size:34px}
.ld-comm .gh-s,.ld-comm .ld-ch .stats{font-size:14.5px}
.ld-comm .gh-a .ld-btn,.ld-comm .ld-ch .acts .ld-btn{height:44px;padding:0 28px}
.ld-comm .gh-more>summary{width:44px;padding:0}
.ld-comm .ld-ch{min-height:300px}
.ld-comm .ld-ch-g{padding:0 40px 28px;gap:18px}
.ld-comm .ld-ch .acts .ld-btn--ghost-d{display:inline-flex}
.ld-comm .ld-tabbar .ld-tabs{padding:0 40px}
/* white to both screen edges with its hairline. Was box-shadow 100vmax trimmed by clip-path: older Safari drops clip-path on this sticky bar when it repaints (switching tabs), the white spread over the whole page and only the tabs showed (Nikita, 2 Nov s-4). border-image outset is ink overflow: no clip, no sideways scroll. */
.ld-comm .ld-tabbar{box-shadow:none;clip-path:none;border-image:linear-gradient(to top,var(--ld-line) 1px,#fff 1px) fill 0/0/0 100vmax}
.ld-comm .pg.wrap>.ld-p,.ld-comm .pg.wrap>.ld-empty,.ld-comm .pg.wrap>.pv,.ld-comm .pg.wrap>.abg{max-width:1200px;margin-left:auto;margin-right:auto;padding-left:40px;padding-right:40px}
.ld-comm .ld-p-head{padding:28px 0 12px}
.ld-comm .ld-p-head h2{font-size:26px}
.ld-comm .ld-main{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:20px;padding:24px 0 80px}
.ld-comm .ld-box{border:1px solid var(--ld-line);border-radius:12px;margin:0 0 12px;padding:16px}
.ld-comm .ld-rail{gap:0}
.ld-comm .ldcp #activity-stream ul.activity-list{gap:10px}
.ld-comm .ldcp button.cp{border:1px solid var(--ld-line);border-radius:12px}
.ld-comm .ldcp li.lp{border:1px solid var(--ld-line);border-radius:12px;padding:14px 16px 0}
.ld-comm .ldcp li.lp .activity-inner .bb-activity-media-wrap,.ld-comm .ldcp li.lp .activity-inner .activity-media-description{margin-left:-16px;margin-right:-16px}
.ld-comm .ld-gg,.ld-comm .evg,.ld-comm .rg,.ld-comm .jl,.ld-comm .mg{border:1px solid var(--ld-line);border-radius:12px;overflow:hidden}
.ld-comm .ld-gg{display:grid;grid-template-columns:1fr 1fr}
.ld-comm .ld-gg .ld-gc{border-right:1px solid var(--ld-line)}
.ld-comm .ld-gg .ld-gc:nth-child(2n){border-right:0}
.ld-comm .evg,.ld-comm .rg{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
.ld-comm .evg .evc,.ld-comm .rg .rc{border-right:1px solid var(--ld-line)}
.ld-comm .evg .evc:nth-child(2n),.ld-comm .rg .rc:nth-child(2n){border-right:0}
.ld-comm .mg{display:grid;grid-template-columns:1fr 1fr}
.ld-comm .mg .mr{border-right:1px solid var(--ld-line)}
.ld-comm .mg .mr:nth-child(2n){border-right:0}
.ld-comm .abg{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:20px;margin-top:20px}
.ld-comm .abg aside{gap:12px}
.ld-comm .mh{padding:24px 0 10px}
.ld-comm .msr{width:340px}
.ld-comm .ld-p-members .mh{flex-direction:row;align-items:center}
.ld-comm .fbar,.ld-comm .ld-gfoot{padding-left:0;padding-right:0}
.ld-comm .ld-empty{margin:12px 0}
.ld-comm .ld-p-groups .ld-p-head{display:flex}
.ld-comm .ld-p-groups .ld-search{width:min(100%,460px)!important;margin-top:0}
}

/* fixes after the first look: composer stays one row, the community cover fills the width */
.ld-comm .ld-head>.wrap,.ld-comm .ld-head .ld-ch{width:100%}
.ld-comm .ldcp button.cp,.ld-comm .ldcp a.cp{display:flex;flex-wrap:nowrap;align-items:center;gap:10px;min-width:0}
.ld-comm .ldcp .cp .in{display:block;flex:1;min-width:0;height:40px;line-height:40px;padding:0 14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:14.5px}
.ld-comm .ldcp .cp .av-img,.ld-comm .ldcp .cp .av,.ld-comm .ldcp .cp .ldcp-av{width:38px!important;height:38px!important;flex:none}
.ld-comm .cp .ph{flex:none;width:36px;height:36px}

/* second pass: five tabs fit on a phone, section heads sit tight and left, the group search button matches */
.ld-comm .ld-tabs label{padding:13px 11px;font-size:14.5px}
.ld-comm .ld-p-head{text-align:left;flex-direction:column;align-items:stretch}
.ld-comm .ld-p-head>div{width:100%}
.ld-comm .ld-p-head h2,.ld-comm .ld-p-head p{margin-left:0;margin-right:0}
.ld-comm .ld-p-head p{margin-top:2px}
.ld-comm .ld-p-head .ld-btn{align-self:flex-start}
.ld-comm .ld-search .ld-btn{background:var(--ld-accent);color:var(--ld-accent-ink);height:38px}
.ld-comm .ld-gc .ld-btn{align-self:center}
.ld-comm .evc-b p{margin:3px 0 0}
@media (min-width:901px){.ld-comm .ld-p-head{flex-direction:row;align-items:flex-end}.ld-comm .ld-p-head>div{width:auto}}

/* the theme pads #primary by 30px: the cover starts right under the header */
body.ld-comm-page #primary,body.ld-group-page #primary{padding-top:0}
.ld-comm .ld-p-head h2{margin:0!important;padding:0;min-height:0;height:auto;line-height:1.15}
.ld-comm .ld-p-head p{margin:3px 0 0!important;padding:0}

/* ===== v3 Opus pass (14 Oct evening): rows not cards, one-line cover, Start here, community Members tab, flat empty states ===== */
/* cover: crest | name over stats | Join, on one row */
.ld-comm .ld-ch{min-height:200px}
.ld-comm .ld-ch .ld-ch-g{display:flex;align-items:center;gap:12px}
.ld-comm .ld-ch .ld-ch-g>div:first-of-type{display:block;flex:1;min-width:0}
.ld-comm .ld-ch .ld-ch-crest{flex:none}
.ld-comm .ld-ch .stats{margin-top:4px;line-height:1.35}
.ld-comm .gh-cv{height:200px}

/* tabs: one size on every screen */
.ld-comm .ld-tabs label{padding:13px 12px;font-size:15px}

/* Start here: the community's pinned post as the first row of Groups */
.ld-comm .ld-gh-l{margin:0;padding:16px 16px 6px;font:700 12px var(--ld-text);letter-spacing:.07em;text-transform:uppercase;color:var(--ld-muted)}
.ld-comm .ld-start{display:flex;align-items:center;gap:12px;padding:13px 16px;background:#fff;border-top:1px solid var(--ld-line);border-bottom:1px solid var(--ld-line);color:var(--ld-ink);text-decoration:none}
.ld-comm .ld-start:hover{background:#fafbfd}
.ld-comm .ld-start-i{flex:none;display:grid;place-items:center;width:46px;height:46px;border-radius:12px;background:var(--c-base,#0a0e24);color:#fff}
.ld-comm .ld-start-i .i{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.ld-comm .ld-start-b{flex:1;min-width:0;display:flex;flex-direction:column;gap:1px}
.ld-comm .ld-start-b b{font:700 16px/1.25 var(--ld-text);letter-spacing:-.01em;color:var(--ld-ink)}
.ld-comm .ld-start-b small{font:500 13px var(--ld-text);color:var(--ld-muted)}
.ld-comm .ld-start-t{font:500 13.5px/1.35 var(--ld-text);color:#3a4260;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ld-comm .ld-start-go{flex:none;display:inline-flex;align-items:center;height:34px;padding:0 14px;border-radius:999px;background:var(--ld-tint);color:#2b3a73;font:700 13.5px var(--ld-text)}
.ld-comm .ld-gh-l+.ld-gg{margin-top:0}

/* group rows: crest | name, place and topic, members | Join, the button centred on the row */
.ld-comm .ld-gc{grid-template-columns:46px minmax(0,1fr) auto;row-gap:2px}
.ld-comm .ld-gc-t{display:contents}
.ld-comm .ld-gc-t img{grid-column:1;grid-row:1/4;align-self:center;width:46px;height:46px}
.ld-comm .ld-gc h3{grid-column:2;grid-row:1;margin:0}
.ld-comm .ld-gc-m{grid-column:2;grid-row:2;margin:0}
.ld-comm .ld-gc-s{grid-column:2;grid-row:3;margin:0;font-size:13px}
.ld-comm .ld-gc .ld-btn{grid-column:3;grid-row:1/4}

/* search: the button sits inside the box */
.ld-comm .ld-search{display:flex;align-items:center;gap:6px;box-sizing:border-box;max-width:100%}
.ld-comm .ld-search label{flex:1;min-width:0;display:flex;align-items:center;gap:8px;padding-left:10px;color:var(--ld-muted)}
.ld-comm .ld-search label svg{flex:none;width:18px;height:18px}
.ld-comm .ld-search input[type=search]{flex:1;min-width:0;width:100%;border:0;outline:0;background:none;height:38px;padding:0}
.ld-comm .ld-search .ld-btn{flex:none;padding:0 14px}
/* chip rows scroll sideways inside themselves: fade the edge so a cut chip reads as "more" */
@media (max-width:900px){.ld-comm .ld-frow{-webkit-mask-image:linear-gradient(90deg,#000 86%,transparent);mask-image:linear-gradient(90deg,#000 86%,transparent);padding-right:24px}}

/* events: a date block, the photo only when there is one; See event as a link */
.ld-comm .evc{grid-template-columns:auto minmax(0,1fr)}
.ld-comm .evc-i:not(:has(img)){width:56px;height:auto;background:none;overflow:visible;border-radius:0}
.ld-comm .evc-i:not(:has(img)) .d{position:static;display:flex;flex-direction:column;align-items:center;justify-content:center;width:56px;height:62px;padding:0;font:800 20px/1 var(--ld-display)}
.ld-comm .evc-i .d small{font:700 10.5px/1.3 var(--ld-text);letter-spacing:.06em;text-transform:uppercase;color:var(--ld-muted)}
.ld-comm .evc-b p{font-size:13.5px;color:var(--ld-muted)}
.ld-comm .evc-b .ld-btn{height:auto;padding:0;margin-top:6px;background:none;box-shadow:none;color:var(--ld-electric);font:600 14px var(--ld-text)}
.ld-comm .evc-b .ld-btn:hover{background:none;text-decoration:underline}

/* empty states: plain text on the page, not a card on a panel; the head button hides when the empty state has its own */
.ld-comm .ld-empty{background:transparent;box-shadow:none;border-radius:0;margin:0!important;padding:18px 16px;text-align:left}
.ld-comm .ld-empty h3{font:700 17px var(--ld-text);color:var(--ld-ink);margin:0 0 4px}
.ld-comm .ld-empty p{font-size:14.5px;color:var(--ld-muted);margin:0}
.ld-comm .ld-empty .acts{justify-content:flex-start;margin-top:12px}
.ld-comm .ld-p:has(>.ld-empty .acts .ld-btn) .ld-p-head .ld-btn{display:none}

/* About: the box title is a heading, the rules label an eyebrow under it */
.ld-comm .ld-p-about .ld-box>h3:first-child{font:800 20px/1.2 var(--ld-display);letter-spacing:-.02em;text-transform:none;color:var(--ld-ink);margin:0 0 6px}
.ld-comm .ld-p-about .ld-box h4{margin:16px 0 4px;font:700 12px var(--ld-text);letter-spacing:.07em;text-transform:uppercase;color:var(--ld-muted)}
.ld-comm .ld-p-about .ld-box ul{margin:6px 0 0;padding-left:18px}
.ld-comm .ld-p-about .ld-box ul li{font-size:14.5px;color:#3a4260;margin:6px 0}

/* rooms: the price badge stays on one line */
.ld-comm .rc-i .rc-p{white-space:nowrap;font-size:12.5px}
.ld-comm .rc-i .rc-p small{font-size:inherit;font-weight:600}

/* members (group and community): rows in one panel; heading and Invite on one line, search under them */
.ld-comm #t-members:checked~.pg .ld-p-members{display:block}
.ld-comm .ld-p-members .mh{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;padding:18px 16px 10px;margin:0}
.ld-comm .mh h3{margin:0;font:800 18px var(--ld-display);letter-spacing:-.02em;color:var(--ld-ink)}
.ld-comm .mh h3 small{font:600 14px var(--ld-text);color:var(--ld-muted);margin-left:6px}
.ld-comm .mh .ld-btn{width:auto;height:34px;padding:0 14px;font-size:13.5px}
.ld-comm .ld-p-members .msr{flex:0 0 100%;display:flex;align-items:center;gap:8px;height:42px;padding:0 12px;margin:0;border-radius:10px;background:#fff;box-shadow:inset 0 0 0 1px var(--ld-line);box-sizing:border-box;color:var(--ld-muted)}
.ld-comm .msr input{border:0;outline:0;background:none;font:500 16px var(--ld-text);flex:1;min-width:0;height:40px;padding:0}
.ld-comm .mr{display:flex;align-items:center;gap:12px;position:relative}
.ld-comm .mr-n{display:flex;flex-direction:column;min-width:0;flex:1;font:600 15px var(--ld-text);color:var(--ld-ink)}
.ld-comm .mr-n small{font:500 13px var(--ld-text);color:var(--ld-muted)}
.ld-comm .role{flex:none;display:inline-flex;align-items:center;height:24px;padding:0 9px;border-radius:999px;font:600 11.5px var(--ld-text);background:var(--ld-tint);color:#2b3a73}
.ld-comm .role--organiser{background:var(--c-base,#0a0e24);color:var(--c-acc,#fff)}
.ld-comm .mr-m .menu{right:0;top:44px;width:230px}
.ld-comm .ld-p-members .q{margin:8px 0 0}

/* desktop: the left rail (the community's groups) on the group page, Start here and members boxed */
.ld-comm .ld-lrail{display:none}
@media (min-width:901px){
.ld-comm .ld-ch{min-height:300px}
.ld-comm .gh-cv{height:260px}
.ld-comm .ld-gh-l{padding:20px 0 8px}
.ld-comm .ld-start{border:1px solid var(--ld-line);border-radius:12px;padding:14px 16px}
.ld-comm .ld-gg .ld-gc{grid-template-columns:46px minmax(0,1fr) auto}
.ld-comm .ld-empty{padding:22px 0}
.ld-comm .ld-p-members .mh{padding:24px 0 10px}
.ld-comm .ld-p-members .msr{flex:0 0 340px;order:0}
.ld-comm .ld-p-members .mg{margin-bottom:8px}
.ld-comm .evc-i:not(:has(img)){width:56px}
}
@media (min-width:1101px){
.ld-comm .ld-p-posts.has-lrail .ld-main{grid-template-columns:210px minmax(0,1fr) 300px}
.ld-comm .ld-lrail{display:flex;flex-direction:column;align-self:start;position:sticky;top:64px;background:#fff;border:1px solid var(--ld-line);border-radius:12px;padding:6px 0;overflow:hidden}
.ld-comm .ld-lrail-h{margin:0;padding:10px 14px 6px;font:700 11.5px var(--ld-text);letter-spacing:.07em;text-transform:uppercase;color:var(--ld-muted)}
.ld-comm .ld-lrail a{display:block;padding:9px 14px;font:500 14px/1.3 var(--ld-text);color:var(--ld-ink);text-decoration:none;border-left:3px solid transparent}
.ld-comm .ld-lrail a:hover{background:var(--ld-tint)}
.ld-comm .ld-lrail a[aria-current]{background:var(--ld-tint);border-left-color:var(--ld-midnight);font-weight:700}
}

/* r6 fixes: the fifth tab reads as "more" not cut, Start here on one tidy row, tight text in events, rooms and empty states */
@media (max-width:900px){
.ld-comm .ld-tabbar .ld-tabs{-webkit-mask-image:linear-gradient(90deg,#000 84%,transparent);mask-image:linear-gradient(90deg,#000 84%,transparent);padding-right:28px}
.ld-comm .ld-start-go,.ld-comm .ld-start-t{display:none}
.ld-comm .ld-start{position:relative;padding-right:40px}
.ld-comm .ld-start::after{content:"";position:absolute;right:18px;top:50%;width:8px;height:8px;border-top:2px solid var(--ld-muted);border-right:2px solid var(--ld-muted);transform:translateY(-50%) rotate(45deg)}
}
.ld-comm .ld-ch .stats{margin-top:3px}
.ld-comm .evc-b h3,.ld-comm .rc-b h3{margin:0}
.ld-comm .evc-b p,.ld-comm .rc-b p{margin:3px 0 0}
.ld-comm .rc-b .rc-w{margin-top:8px}
.ld-comm .ld-p .ld-empty h3{margin:0 0 4px}
.ld-comm .ld-p .ld-empty p{margin:0}
/* posts tab with no posts yet: the composer first, the "no posts" line under it */
.ld-comm .ld-main>div:has(>.ld-empty--posts){display:flex;flex-direction:column}
.ld-comm .ld-main>div>.ld-empty--posts{order:2}
/* one admin: one row across, not half an empty grid */
.ld-comm .mg:has(>.mr:only-child){grid-template-columns:minmax(0,1fr)}
.ld-comm .mg>.mr:only-child{border-right:0}
/* the theme's h3 bottom margin (27px) beat the rule above: titles in event and room rows sit tight on their meta line */
.ld-comm .evc .evc-b h3,.ld-comm .rc .rc-b h3,.ld-comm .ld-gc h3{margin:0!important}

/* ===== r9 (Chatty's r8 review, 14 Oct): slim phone cover, tabs and chips that fit, one-line group rows, one member count, desktop shell (tree | panels | rail) ===== */
/* group rows: crest | name over "city · members · Active today" | Join */
.ld-comm .ld-gg>.ld-gc.ld-gc--row{display:flex;flex-direction:row;align-items:center;gap:12px;padding:11px 16px}
.ld-comm .ld-gc--row>img{flex:none;width:40px;height:40px;border-radius:50%}
.ld-comm .ld-gc-b{flex:1;min-width:0}
.ld-comm .ld-gc--row h3{font:700 15.5px/1.3 var(--ld-text);letter-spacing:-.01em;margin:0!important}
.ld-comm .ld-gc--row h3 a{color:var(--ld-ink)}
.ld-comm .ld-gc--row .ld-gc-s{margin:2px 0 0;font:500 13px/1.35 var(--ld-text);color:var(--ld-muted)}
.ld-comm .ld-gc--row .ld-btn{flex:none;margin:0;height:32px;padding:0 14px;font-size:13px}
.ld-comm .lk .i{width:13px;height:13px;margin-left:5px;vertical-align:-1px;fill:none;stroke:var(--ld-muted);stroke-width:2;stroke-linecap:round}
.ld-comm .act{display:inline-flex;align-items:center;gap:5px;white-space:nowrap}
.ld-comm .act .dot{width:7px;height:7px;border-radius:50%;background:#9aa3bd}
.ld-comm .act.is-today{color:#17673f}
.ld-comm .act.is-today .dot{background:#22a35a;box-shadow:0 0 0 3px rgba(34,163,90,.16)}

/* chips: smaller, so more fit; a row that still overflows gets a fade and a chevron (JS sets .is-over until it is scrolled to the end) */
.ld-comm .ld-frow{gap:6px}
.ld-comm .ld-frow .ld-chip{height:32px;padding:0 12px;font-size:13px}
.ld-comm .ld-frow{-webkit-mask-image:none!important;mask-image:none!important;padding-right:0!important;scroll-snap-type:x proximity}
.ld-comm .ld-frow .ld-chip{scroll-snap-align:start}
.ld-comm .fbar.is-over{position:relative}
.ld-comm .is-over>.ld-frow,.ld-comm .is-over>.ld-tabs{-webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 64px),transparent calc(100% - 14px))!important;mask-image:linear-gradient(90deg,#000 calc(100% - 64px),transparent calc(100% - 14px))!important}
.ld-comm .is-over::before{content:"";position:absolute;z-index:2;top:50%;right:var(--cue-r,0px);width:24px;height:24px;margin-top:-12px;border-radius:50%;pointer-events:none;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a0e24' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 6 6 6-6 6'/%3E%3C/svg%3E") center/14px no-repeat;box-shadow:0 1px 5px rgba(10,14,36,.2)}
.ld-comm .fbar.is-over::before{margin-top:-16px}

/* members: one heading with the cover's count, the lists under it labelled */
.ld-comm .ld-p-members .ld-gh-l{padding:14px 16px 6px}

.ld-comm .ld-side,.ld-comm .ld-xrail{display:none}

/* r11 (Kyle 14 Oct: "the way the little signpost came down from the top of the photo... in a small capacity"): the community's luggage tag
   hangs on a short cord from the top edge of the cover, as in the round 6 mock-up; community cover only, never over the crest row */
.ld-comm .ld-ch{position:relative}
.ld-comm .ld-ch-tag{display:block;position:absolute;z-index:1;top:0;left:auto;right:max(32px,calc((100% - 1256px)/2));width:66px;pointer-events:none}
.ld-comm .ld-ch-tag .cord{display:block;width:2px;height:22px;margin:0 auto;background:linear-gradient(rgba(255,255,255,.95),rgba(255,255,255,.75))}
.ld-comm .ld-ch-tag img{display:block;width:66px;height:auto;margin-top:-12%;filter:drop-shadow(0 8px 12px rgba(0,0,0,.45));transform:rotate(-4deg);transform-origin:50% 6%}

@media (max-width:900px){
/* phone cover (r11, Kyle 14 Oct: "we definitely want to add the cover photo, even if it's smaller"): about 190px, the top 120px or so clear photo,
   a navy gradient only under crest | name over stats | Join */
.ld-comm .ld-ch{min-height:190px;display:flex;align-items:flex-end;padding:0;background:linear-gradient(180deg,rgba(8,12,34,0) 36%,rgba(8,12,34,.62) 64%,rgba(8,12,34,.95)),var(--ld-city1,url(../img/city-1.jpg)) center 58%/cover,var(--ld-midnight)}
.ld-comm .ld-ch .ld-ch-g{padding:0 14px 12px;gap:10px}
.ld-comm .ld-ch .ld-ch-crest{width:44px;height:44px;box-shadow:0 0 0 2px #fff,0 4px 12px -4px rgba(0,0,0,.55)}
.ld-comm .ld-ch h1,.ld-comm .gh h1,.ld-comm .ld-ch .stats,.ld-comm .gh-s{text-shadow:0 1px 8px rgba(0,0,0,.35)}
.ld-comm .ld-ch h1,.ld-comm .gh h1{font-size:17px;line-height:1.2;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.ld-comm .ld-ch .stats,.ld-comm .gh-s{margin-top:2px;font-size:12.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ld-comm .st-x{display:none}
.ld-comm .ld-ch .acts .ld-btn,.ld-comm .gh-a .ld-btn{height:34px;padding:0 15px;font-size:14px}
/* group cover: the same photo height and bottom gradient, the community pill top left on the photo */
.ld-comm .gh-cv{height:190px}
.ld-comm .gh-cv:after{background:linear-gradient(180deg,rgba(8,12,34,.3),rgba(8,12,34,0) 24%,rgba(8,12,34,0) 36%,rgba(8,12,34,.62) 64%,rgba(8,12,34,.95))}
.ld-comm .gh-in{left:12px;top:10px;height:26px;padding:0 10px 0 3px;font-size:12px;gap:6px}
.ld-comm .gh-in img{width:20px;height:20px}
.ld-comm .gh-b{padding:0 14px 12px;gap:10px}
.ld-comm .gh-av{width:44px;height:44px;box-shadow:0 0 0 2px #fff,0 4px 12px -4px rgba(0,0,0,.55)}
/* the hanging tag, phone size: about 70px from the top edge, top right, clear of the crest row */
.ld-comm .ld-ch-tag{right:20px;width:48px}
.ld-comm .ld-ch-tag .cord{height:14px}
.ld-comm .ld-ch-tag img{width:48px}
/* tabs: all five fit at 390 (smaller gaps; the Members count is on the cover) */
.ld-comm .ld-tabbar .ld-tabs{-webkit-mask-image:none;mask-image:none;padding:0 6px;justify-content:space-between}
.ld-comm .ld-tabs label{padding:12px 8px;font-size:14px}
.ld-comm .ld-tabs label small.n-x{display:none}
/* group filters: the Filters button as an icon, so the chips get the width */
.ld-comm .fbar--g{gap:8px}
.ld-comm .fbar--g .fb-btn{position:relative;width:36px;height:36px;padding:0;justify-content:center;font-size:0;gap:0}
.ld-comm .fbar--g .fb-btn b{position:absolute;top:-4px;right:-4px;font-size:11px}
}

@media (min-width:901px){
.ld-comm .ld-ch{min-height:220px}
.ld-comm .gh-cv{height:220px}
.ld-comm .ld-ch-g,.ld-comm .gh-b{max-width:1320px;padding:0 32px 24px}
.ld-comm .ld-crumb{max-width:1320px;padding:12px 32px}
.ld-comm .gh-in{left:max(32px,calc((100% - 1256px)/2))}
.ld-comm .ld-tabbar .ld-tabs{max-width:1320px;padding:0 32px}
.ld-comm .ld-shell{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:24px;max-width:1320px;margin:0 auto;padding:20px 32px 80px;align-items:start}
.ld-comm .ld-mid{min-width:0}
.ld-comm .ld-mid>.ld-p{max-width:none;margin:0;padding:0}
.ld-comm .ld-shell .ld-main{display:block;padding:0}
.ld-comm .ld-mid .ld-p-head{padding:4px 0 12px}
.ld-comm .ld-xrail{display:flex;flex-direction:column;gap:12px;position:sticky;top:60px}
.ld-comm .ld-xrail .ld-box{margin:0}
.ld-comm .ld-rail-adm .ld-admin{display:flex;align-items:center;gap:10px;margin:0;padding:6px 0;color:var(--ld-ink);text-decoration:none}
.ld-comm .ld-rail-adm .ld-admin i.av{width:34px;height:34px;font-size:13px;background:var(--a,#1F7D57)}
.ld-comm .ld-rail-adm .ld-admin span{display:flex;flex-direction:column;font:600 14px/1.3 var(--ld-text)}
.ld-comm .ld-rail-adm .ld-admin small{font:500 12.5px var(--ld-text);color:var(--ld-muted)}
.ld-comm .ld-rail-adm .ld-admin span:has(> .ld-vt--in){flex-direction:row;align-items:center;gap:5px} /* 18 Nov: the verified tick sits beside the name, not under it */
/* About: the community's admins and open groups are in the rail; the group keeps its Details box */
body.ld-comm-page .ld-comm .ld-p-about .abg{grid-template-columns:minmax(0,1fr);margin-top:0}
body.ld-comm-page .ld-comm .ld-p-about .abg aside{display:none}
body.ld-group-page .ld-comm .ld-p-about .abg{grid-template-columns:minmax(0,1fr) 240px;margin-top:0}
body.ld-group-page .ld-comm .ld-p-about .abg aside .ld-box+.ld-box{display:none}
/* members head: title left, search and Invite right */
.ld-comm .ld-p-members .mh{padding:4px 0 6px;flex-wrap:nowrap}
.ld-comm .ld-p-members .mh h3{margin-right:auto}
.ld-comm .ld-p-members .mh .msr{order:1;flex:0 1 300px}
.ld-comm .ld-p-members .mh .ld-btn{order:2}
.ld-comm .ld-p-members .ld-gh-l{padding:14px 0 8px}
.ld-comm .ld-gg>.ld-gc.ld-gc--row{padding:12px 16px}
}

@media (min-width:1101px){
.ld-comm .ld-shell{grid-template-columns:232px minmax(0,1fr) 300px}
.ld-comm .ld-tabbar .ld-tabs{padding-left:288px}
/* left sidebar tree: LandDU, this community, its groups (from Nikita's groups page, in our styling) */
.ld-comm .ld-side{display:block;position:sticky;top:60px;max-height:calc(100vh - 80px);overflow:auto;background:#fff;border:1px solid var(--ld-line);border-radius:12px;padding:6px 0 10px}
.ld-comm .ld-side-h{margin:0;padding:10px 14px 6px;font:700 11.5px var(--ld-text);letter-spacing:.07em;text-transform:uppercase;color:var(--ld-muted)}
.ld-comm .ld-side a{display:flex;align-items:center;gap:8px;padding:8px 12px 8px 11px;font:500 13.5px/1.3 var(--ld-text);color:var(--ld-ink);text-decoration:none;border-left:3px solid transparent}
.ld-comm .ld-side a:hover{background:var(--ld-tint)}
.ld-comm .ld-side a[aria-current]{background:var(--ld-tint);border-left-color:var(--ld-midnight);font-weight:700}
.ld-comm .ld-side a>span{flex:1;min-width:0}
.ld-comm .ld-side .ld-side-r{font:700 14px/1.3 var(--ld-text)}
.ld-comm .ld-side-r img{flex:none;width:24px;height:24px;border-radius:50%}
.ld-comm .ld-side-k{margin:0 0 6px 23px;border-left:1px solid var(--ld-line)}
.ld-comm .ld-side .dot{flex:none;width:7px;height:7px;border-radius:50%;background:#22a35a}
.ld-comm .ld-side .more{color:var(--ld-electric);font-weight:600}
.ld-comm .tg{flex:none;padding:2px 7px;border-radius:999px;background:var(--ld-tint);color:#2b3a73;font:600 10.5px/1.4 var(--ld-text);font-style:normal}
.ld-comm .tg--member{background:#e3f3ea;color:#17673f}
}
.ld-comm .act .sep{white-space:pre;color:var(--ld-muted)}

/* ===== r12 (Chatty's r11 review, 15 Oct) ===== */
/* composer prompt: the long line on desktop, "Ask or post a room" on a phone (the long one cut to "post a ro...") */
.ld-comm .ldcp .cp .in .in-s{display:none}
@media (max-width:900px){.ld-comm .ldcp .cp .in .in-l{display:none}.ld-comm .ldcp .cp .in .in-s{display:inline}}
/* post meta "group · 6 days ago": it was one nowrap line in a 173px column at 360 (cut to "6 days a" under the Pinned badge, row 373px wide).
   On a group page the group name is the page itself, so only the time shows; on the community feed the line wraps, the time kept whole */
.ld-comm .ldcp .ldcp-who small{white-space:normal;overflow-wrap:anywhere}
.ld-comm .ldcp .ldcp-who small .t{white-space:nowrap}
body.ld-group-page .ld-comm .ldcp .ldcp-who small>a,body.ld-group-page .ld-comm .ldcp .ldcp-who small>.s{display:none}

/* ===== QA D (15 Oct): Joined opens a sheet: Manage group (organisers), Leave group, Cancel; Leave asks once (ldc_cover_join) ===== */
/* The sheet is moved to <body> by its script, so these rules are not scoped to .ld-comm. Phone: bottom sheet over a scrim; desktop: a small dialog. */
.ld-comm .ld-jd-b{display:inline-flex;align-items:center;gap:6px;border:0;cursor:pointer;flex:none}
.ld-comm .ld-jd-b .i{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.ld-comm .ld-jd-b .i:last-child{width:14px;height:14px;margin-right:-4px;opacity:.6}
.jd-ov{position:fixed;inset:0;z-index:2147483600;display:flex;align-items:flex-end;justify-content:center}
.jd-ov[hidden]{display:none}
.jd-scrim{position:absolute;inset:0;background:rgba(10,14,36,.48);opacity:0;transition:opacity .22s ease}
.jd-sh{position:relative;box-sizing:border-box;width:100%;max-width:460px;padding:8px 16px calc(14px + env(safe-area-inset-bottom,0px));border-radius:22px 22px 0 0;background:#fff;color:#0A0E24;font-family:var(--ld-text,-apple-system,system-ui,sans-serif);box-shadow:0 -18px 50px -20px rgba(10,14,36,.55);transform:translateY(100%);transition:transform .28s cubic-bezier(.32,.72,0,1)}
.jd-ov.is-on .jd-scrim{opacity:1}
.jd-ov.is-on .jd-sh{transform:none}
.jd-grab{display:block;width:36px;height:4px;margin:2px auto 14px;border-radius:2px;background:#D9DCE6}
.jd-t{display:block;margin:0 0 12px;padding:0 8px;text-align:center;font:800 17px/1.3 var(--ld-display,inherit);letter-spacing:-.01em;overflow-wrap:anywhere}
.jd-i{display:flex;align-items:center;flex-wrap:wrap;gap:12px;box-sizing:border-box;width:100%;min-height:52px;margin:0 0 8px;padding:0 16px;border:0;border-radius:14px;background:#F3F4F8;color:#0A0E24;font:600 15.5px var(--ld-text,-apple-system,system-ui,sans-serif);text-align:left;text-decoration:none;cursor:pointer}
.jd-i small{flex-basis:100%;margin:-13px 0 10px 30px;font-size:12.5px;font-weight:500;color:#646B80}
.jd-i .i{width:18px;height:18px;flex:none;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.jd-red{color:#B42318}
.jd-leave{display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:100%;min-height:52px;margin:0 0 8px;border-radius:14px;background:#B42318;color:#fff;font:700 15.5px var(--ld-text,-apple-system,system-ui,sans-serif);text-decoration:none}
.jd-leave:hover,.jd-leave:focus{color:#fff;background:#9A1D14}
.jd-c{display:block;width:100%;min-height:50px;margin:0;border:0;border-radius:14px;background:none;color:#0A0E24;font:600 15.5px var(--ld-text,-apple-system,system-ui,sans-serif);cursor:pointer}
.jd-i,.jd-c,.jd-leave{transition:transform .12s ease,background-color .15s ease}
.jd-i:active,.jd-c:active,.jd-leave:active{transform:scale(.98)}
html.jd-lock,html.jd-lock body{overflow:hidden}
@media (min-width:901px){
	.jd-ov{align-items:center}
	.jd-sh{max-width:380px;padding:18px 18px 12px;border-radius:22px;opacity:0;transform:translateY(10px) scale(.98);transition:transform .2s ease,opacity .2s ease}
	.jd-ov.is-on .jd-sh{opacity:1;transform:none}
	.jd-grab{display:none}
	.jd-i:hover{background:#E9EBF2}.jd-c:hover{background:#F3F4F8}
}
@media (prefers-reduced-motion:reduce){.jd-sh,.jd-scrim{transition:none}}
/* Members heading and Invite on one line: the theme gives h3 a 27px bottom margin that beat .mh h3{margin:0}, so the heading sat 14px above the button centre */
body .ld-comm .ld-p-members .mh h3{margin:0 auto 0 0}
/* Joined is a <button>: the theme paints buttons orange; keep the cover's white pill (and its hover/focus) */
body .ld-comm button.ld-jd-b,body .ld-comm button.ld-jd-b:hover,body .ld-comm button.ld-jd-b:focus{display:inline-flex;align-items:center;gap:7px;background:#fff;color:var(--ld-ink,#0A0E24);border:0;box-shadow:none;font:inherit;font-weight:700;line-height:1;text-transform:none;letter-spacing:normal}
body .ld-comm button.ld-jd-b:focus-visible{outline:2px solid #fff;outline-offset:2px}
/* Feed loading cards (BuddyBoss .bb-activity-placeholder, shown while the group feed loads by ajax): its bars are #f2f4f5 on white, so the cards read
   as blank boxes (Chatty, 15 Oct). Darker bars with a shimmer so it is clearly loading; it is replaced by the posts when the feed lands. */
.ld-comm .bb-activity-placeholder{border:0;border-radius:16px;box-shadow:0 0 0 1px var(--ld-line,#E3E6EE);padding:16px}
.ld-comm .bb-activity-placeholder .bb-loading-bg{background:linear-gradient(90deg,#E6E9F0 0%,#F3F4F8 45%,#E6E9F0 90%) 0 0/250% 100%;animation:ld-shim 1.3s linear infinite}
.ld-comm .bb-activity-placeholder .bb-activity-placeholder_avatar{width:40px;height:40px}
@keyframes ld-shim{from{background-position:100% 0}to{background-position:-150% 0}}
@media (prefers-reduced-motion:reduce){.ld-comm .bb-activity-placeholder .bb-loading-bg{animation:none}}

/* round 2 (goal g_62fe442d45). Kyle 9:33pm, the community header at 390 and 768: "Spacing issues" (title over the photo, pressed against Joined,
   a gap before the count line). Phones and tablets: the title gets the full width beside the crest (Joined moves down to the share row, on the
   right), one 20px title, 4px to the count line, 12px to the share row. The approved cover and its soft bottom gradient stay as they are (HDR-3). */
@media (max-width:900px){
  .ld-comm .ld-ch .ld-ch-g{display:grid!important;grid-template-columns:44px minmax(0,1fr) auto;column-gap:12px;row-gap:12px;align-items:center;padding:0 16px 14px!important}
  .ld-comm .ld-ch .ld-ch-crest{grid-column:1;grid-row:1;align-self:center}
  .ld-comm .ld-ch .ld-ch-g>div:first-of-type{grid-column:2/4;grid-row:1;display:flex!important;flex-direction:column;gap:4px;min-width:0}
  .ld-comm .ld-ch .ld-ch-g>div:first-of-type>*{margin:0!important}
  .ld-comm .ld-ch h1{font-size:20px!important;line-height:1.15!important}
  .ld-comm .ld-ch .stats{margin:0!important;font-size:13px}
  .ld-comm .ld-ch .acts{grid-column:3;grid-row:2;justify-self:end}
  .ld-comm .ld-ch .ldgx-share{grid-column:1/3;grid-row:2;margin:0!important;width:auto!important}
}
@media (min-width:600px) and (max-width:900px){.ld-comm .ld-ch .ld-ch-g{padding:0 24px 16px!important}.ld-comm .ld-ch h1{font-size:24px!important}}
/* line 52 gives the desktop h1 align-self:end (bottom of its grid cell); in the phone column flex that pushed it to the right edge */
@media (max-width:900px){.ld-comm .ld-ch h1{text-align:left!important;align-self:stretch!important}}

/* "Run by <business>" under the group's member count (3 Nov): one line in the stats' white over the cover, the business's logo in a small
   rounded square; the name links to its page. On phones the cover grows by the line's height so the title never climbs into the crumb chip. */
.ld-comm .gh-biz{display:flex;align-items:center;gap:7px;max-width:100%;margin:6px 0 0;color:rgba(255,255,255,.86);font:500 13px/1.3 var(--ld-text);text-decoration:none;text-shadow:0 1px 8px rgba(0,0,0,.35)}
.ld-comm .gh-biz>span:last-child{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ld-comm .gh-biz b{color:#fff;font-weight:600}
.ld-comm .gh-biz:hover b,.ld-comm .gh-biz:focus-visible b{text-decoration:underline}
.ld-comm .gh-biz__t{flex:none;width:20px;height:20px;border-radius:6px;overflow:hidden;background:#fff;box-shadow:0 0 0 1px rgba(255,255,255,.5)}
.ld-comm .gh-biz__t img{width:100%;height:100%;object-fit:cover;display:block;margin:0}
@media (min-width:901px){.ld-comm .gh-biz{font-size:14.5px;margin-top:8px}.ld-comm .gh-biz__t{width:22px;height:22px}}
@media (max-width:900px){.ld-comm .gh:has(.gh-biz) .gh-cv{height:216px}}

/* group-header (Kyle 20 Nov 2:38pm, the Irish community header at 390: "there seems to be some visual issues"): the name sat on the busy part of
   the photo, the six share rounds wrapped and left the Share round alone on a second row, and Joined and the hanging tag crowded the photo.
   Community (.ld-ch) and group (.gh) headers, phones to 1290: the photo keeps a clear band at the top (the tag and the community pill hang
   there, nothing else), and the name, count, share row and Joined sit on a navy scrim that starts just above the name, so they read on any
   photo. This deepens the r11 soft bottom gradient (HDR-3) under the text only. Share rounds are glass and never wrap; under 600px they are
   Facebook, WhatsApp, Copy link and Share (the phone's own sheet, which has X and email). Joined sits at the right of the share row, so the
   name and count get the full width. 901 to 1290 (iPad, small laptops) used the desktop row and wrapped the name (UK Down Under wraps until about 1290): now this layout too. */
@media (max-width:1290px){
  .ld-comm :is(.ld-ch,.gh){--ld-ch-band:104px}
  .ld-comm .ld-ch{min-height:0!important;padding-top:var(--ld-ch-band)!important}
  .ld-comm .ld-ch .ld-ch-g{background:linear-gradient(180deg,rgba(8,12,34,0),rgba(8,12,34,.84) 44px,rgba(8,12,34,.94));padding-top:44px!important;max-width:none}
  /* the group cover: photo and text block share one grid cell, so the photo grows with the text instead of the text climbing the photo */
  .ld-comm .gh{display:grid!important;grid-template-columns:minmax(0,1fr)}
  .ld-comm .gh>.gh-cv{grid-area:1/1;position:relative;height:auto!important;min-height:0;align-self:stretch}
  .ld-comm .gh>.gh-cv>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
  .ld-comm .gh>.gh-b{grid-area:1/1;position:relative!important;inset:auto;align-self:end;justify-self:stretch;margin:0!important;max-width:none;padding-top:calc(var(--ld-ch-band) + 44px)!important;background:linear-gradient(180deg,rgba(8,12,34,0) var(--ld-ch-band),rgba(8,12,34,.84) calc(var(--ld-ch-band) + 44px),rgba(8,12,34,.94))}
  .ld-comm .gh .gh-b{display:grid!important;grid-template-columns:44px minmax(0,1fr) auto;column-gap:12px;row-gap:12px;align-items:center}
  .ld-comm .gh .gh-av{grid-column:1;grid-row:1}
  .ld-comm .gh .gh-t{grid-column:2/4;grid-row:1;min-width:0}
  .ld-comm .gh .gh-a{grid-column:3;grid-row:2;justify-self:end;align-self:center}
  .ld-comm .gh .ldgx-share{grid-column:1/3;grid-row:2;margin:0!important;width:auto!important;color:#fff}
  .ld-comm :is(.ld-ch,.gh) .ldgx-share{min-width:0}
  .ld-comm :is(.ld-ch,.gh) .ldgx-share .idu-share{flex-wrap:nowrap;gap:8px}
  .ld-comm :is(.ld-ch,.gh) .ldgx-share .idu-share__label{display:none}
  .ld-comm :is(.ld-ch,.gh) .ldgx-share .idu-share .idu-share__btn{flex:none;width:36px!important;height:36px!important;background:rgba(255,255,255,.12)!important;border:0!important;box-shadow:inset 0 0 0 1px rgba(255,255,255,.28)!important;color:#fff!important;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
  .ld-comm :is(.ld-ch,.gh) .ldgx-share .idu-share .idu-share__btn:hover{background:rgba(255,255,255,.22)!important}
  .ld-comm :is(.ld-ch,.gh) .ldgx-share .idu-share__btn svg{width:16px;height:16px}
  .ld-comm :is(.ld-ch,.gh) .ldgx-share .idu-share__btn[hidden]{display:none!important}
  .ld-comm .ld-ch .acts{align-self:center}
}
@media (min-width:601px) and (max-width:1290px){.ld-comm :is(.ld-ch,.gh){--ld-ch-band:132px}}
@media (min-width:901px) and (max-width:1290px){
  .ld-comm .ld-ch .ld-ch-g{display:grid!important;grid-template-columns:72px minmax(0,1fr) auto;column-gap:18px;row-gap:16px;align-items:center;padding:44px 32px 22px!important}
  .ld-comm .ld-ch .ld-ch-crest{grid-column:1;grid-row:1;align-self:center}
  .ld-comm .ld-ch .ld-ch-g>div:first-of-type{grid-column:2/4;grid-row:1;display:flex!important;flex-direction:column;gap:4px;min-width:0}
  .ld-comm .ld-ch .ld-ch-g>div:first-of-type>*{margin:0!important}
  .ld-comm .ld-ch h1{font-size:30px!important;line-height:1.1!important;text-align:left!important;align-self:stretch!important}
  .ld-comm .ld-ch .acts{grid-column:3;grid-row:2;justify-self:end}
  .ld-comm .ld-ch .ldgx-share{grid-column:1/3;grid-row:2;margin:0!important;width:auto!important}
  .ld-comm .ld-ch-tag{right:32px}
  .ld-comm .gh .gh-b{grid-template-columns:72px minmax(0,1fr) auto;column-gap:18px;row-gap:16px;padding-left:32px!important;padding-right:32px!important;padding-bottom:22px!important}
  .ld-comm .gh h1{font-size:30px}
}
@media (max-width:600px){
  .ld-comm :is(.ld-ch,.gh) .ldgx-share .idu-share__btn:is(.idu-share__btn--x,.idu-share__btn--mail){display:none!important}
}
/* 20 Nov audit at 360: long community names (United Kingdom, South Africans) left the verified tick alone on a line under the name. Balanced lines keep it on the last line; 390 and up unchanged. */
.ld-comm :is(.ld-ch,.gh) h1{text-wrap:balance}

/* LD-COVER-FOCUS community cover (Kyle 20 Nov 3:16pm: "so that the people are in the middle"): every community header shares the Sydney picnic
   photo (--ld-city1), so its point is set here, once, for the photo. Phone: the photo is drawn taller and slid right so the group sits in the
   middle above the name shade (up to 600: wider boxes would leave the taller photo short of the edge). Wide (1101+, a short band): faces in
   view instead of cut at the forehead. 601 to 1100 keeps today's 58%. */
.ld-comm .ld-ch{background-position:0 0,var(--ld-ch-pos,50% 58%),0 0;background-size:auto,var(--ld-ch-size,cover),auto;background-repeat:no-repeat}
@media (min-width:1101px){.ld-comm .ld-ch{--ld-ch-pos:50% 44%}}
@media (max-width:600px){.ld-comm .ld-ch{--ld-ch-pos:84% 100%;--ld-ch-size:auto 150%}}
