.community-panel{padding:clamp(16px,3vw,32px);margin-block:20px;min-width:0}.community-notification{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 0;border-bottom:1px solid #8793a433;overflow-wrap:anywhere}.community-notification.is-read{opacity:.75}.community-notification h2{font-size:1.1rem}.community-stat-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:15px;margin:20px 0}.community-stat-grid article{padding:20px;border:1px solid #8793a433;border-radius:12px;display:flex;flex-direction:column;gap:8px}.community-stat-grid strong{font-size:1.7rem}.community-table-scroll{overflow-x:auto}.community-table-scroll table{width:100%;border-collapse:collapse}.community-table-scroll td,.community-table-scroll th{padding:12px;text-align:left;border-bottom:1px solid #8793a433}.community-pagination{display:flex;gap:20px;padding:20px 0}.community-profile-cover{width:100%;height:100%;object-fit:cover;position:absolute;inset:0}.profile-hero-cover{position:relative}.profile-portrait img{max-width:100%;height:auto}.profile-layout>*{min-width:0}.community-native-ads{margin-block:20px;max-width:100%;overflow:hidden}@media(max-width:650px){.community-notification{align-items:stretch;flex-direction:column}.profile-showcase-layout{display:block}.profile-tabs{overflow-x:auto}.profile-hero-main{flex-wrap:wrap}.profile-stat-strip{flex-wrap:wrap}}
.profile-showcase .profile-activity-card{display:block}.profile-showcase .profile-activity-card>div{width:100%;min-width:0}.profile-showcase .profile-activity-card h3,.profile-showcase .profile-activity-card p{overflow-wrap:anywhere}.community-panel .community-table-scroll{scrollbar-width:thin}

/* Keep phpBB's notice pinned to the viewport bottom on every extension page. */
.cc-window.cc-banner.cc-bottom{position:fixed;top:auto;right:0;bottom:0;left:0;z-index:9999}

/* One compact member profile, using the existing extension theme. */
.community-profile{display:grid;gap:20px;min-width:0}
.community-profile .community-profile-cover{z-index:0}
.community-profile .profile-hero-cover{grid-template-columns:minmax(0,1fr);min-height:180px;padding:20px}
.community-profile .profile-hero-cover::after{z-index:1;background:linear-gradient(180deg,rgba(1,10,8,.12),rgba(1,10,8,.62))}
.community-profile .profile-cover-badges{position:relative;z-index:2;grid-column:1;display:flex;justify-content:flex-end;align-content:start;min-width:0}
.community-profile .profile-cover-badges>span{max-width:100%;height:auto;padding:7px 12px;overflow-wrap:anywhere}
.community-profile .profile-hero-main{display:grid;grid-template-columns:112px minmax(0,1fr);align-items:start;justify-items:stretch;gap:20px;padding:0 24px 20px}
.community-profile .profile-portrait-large{width:104px;height:104px;justify-self:start;margin-top:-42px}
.community-profile .profile-portrait img{display:block;width:100%;height:100%;max-width:100%;object-fit:cover}
.community-profile .profile-hero-identity{margin:0;padding-top:14px;text-align:left;min-width:0}
.community-profile .profile-hero-identity h1{margin:0;font-size:clamp(24px,3vw,32px);overflow-wrap:anywhere}
.community-profile .profile-hero-identity p{margin:6px 0 0;font-size:13px;color:var(--community-muted,var(--muted))}
.community-profile .community-profile-dates{display:flex;flex-wrap:wrap;gap:12px 28px;margin:12px 0 0}
.community-profile .community-profile-dates>div{min-width:0;max-width:100%}
.community-profile .community-profile-dates dt{display:flex;align-items:center;gap:7px;font-size:12px;color:var(--community-muted,var(--muted))}
.community-profile .community-profile-dates dd{margin:5px 0 0;font-size:14px;color:var(--community-ink,var(--ink));overflow-wrap:anywhere}
.community-profile .community-profile-groups{display:flex;flex-wrap:wrap;gap:7px;list-style:none;margin:12px 0 0;padding:0}
.community-profile .community-profile-groups li{min-width:0;max-width:100%}
.community-profile .community-profile-group{display:inline-flex;align-items:center;gap:6px;max-width:100%;padding:5px 9px;border:1px solid var(--community-line,var(--line));border-radius:6px;color:var(--profile-group-colour,var(--community-ink,var(--ink)));font-size:12px;font-weight:700;overflow-wrap:anywhere}
.community-profile .community-profile-group i{color:inherit;font-size:10px;flex-shrink:0}
.community-profile .profile-stat-strip-wide{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
.community-profile .profile-stat-strip-wide article{padding:14px 24px}
.community-profile .profile-stat-strip-wide article:last-child{grid-column:auto;border-right:0}
.community-profile .community-profile-stat-link{display:flex;align-items:baseline;gap:8px;text-decoration:none;color:inherit}
.community-profile .community-profile-stat-link:hover span{text-decoration:underline}
.community-profile .profile-showcase-layout{display:grid;grid-template-columns:minmax(220px,300px) minmax(0,1fr);align-items:start;gap:20px;margin:0}
.community-profile .profile-panel{min-width:0;margin:0;padding:20px}
.community-profile .profile-panel h2{margin:0;font-size:18px;color:var(--community-ink,var(--ink))}
.community-profile .community-profile-biography{margin:14px 0 0;white-space:pre-line;overflow-wrap:anywhere;line-height:1.6}
.community-profile .community-profile-details{display:grid;gap:14px;margin:18px 0 0}
.community-profile .community-profile-details dt{display:flex;gap:8px;align-items:center;font-size:12px;color:var(--community-muted,var(--muted))}
.community-profile .community-profile-details dd{margin:5px 0 0;white-space:pre-line;overflow-wrap:anywhere}
.community-profile .community-profile-links{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}
.community-profile .community-profile-links a{display:inline-flex;align-items:center;gap:7px;min-height:36px;max-width:100%;padding:6px 10px;border:1px solid var(--community-line,var(--line));border-radius:6px;color:var(--community-gold-light,var(--red));text-decoration:none;overflow-wrap:anywhere}
.community-profile .community-profile-activity{scroll-margin-top:100px}
.community-profile .community-profile-activity-head p{margin:5px 0 0;font-size:13px;color:var(--community-muted,var(--muted))}
.community-profile .community-profile-filters{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin:16px 0}
.community-profile .community-profile-filters a{display:inline-flex;align-items:center;min-height:38px;padding:7px 12px;border:1px solid var(--community-line,var(--line));border-radius:7px;color:var(--community-muted,var(--muted));text-decoration:none}
.community-profile .community-profile-filters a.is-active{background:rgba(var(--design-accent-rgb,217,170,69),.12);border-color:var(--community-gold-light,var(--red));color:var(--community-gold-light,var(--red))}
.community-profile .community-profile-feed{list-style:none;margin:0;padding:0}
.community-profile .community-profile-entry{display:grid;grid-template-columns:28px minmax(0,1fr);gap:10px;padding:14px 0;border-top:1px solid var(--community-line,var(--line))}
.community-profile .community-profile-entry>i{padding-top:4px;color:var(--community-gold-light,var(--red));font-size:14px}
.community-profile .community-profile-entry-meta{display:flex;flex-wrap:wrap;gap:4px 12px;color:var(--community-muted,var(--muted));font-size:12px}
.community-profile .community-profile-entry-meta small{font-size:inherit}
.community-profile .community-profile-entry h3{margin:5px 0 0;font-size:16px;line-height:1.4;overflow-wrap:anywhere}
.community-profile .community-profile-entry h3 a{color:var(--community-gold-light,var(--red));text-decoration:none}
.community-profile .community-profile-entry h3 a:hover{text-decoration:underline}
.community-profile .community-profile-entry p{margin:6px 0 0;line-height:1.5;font-size:13px;overflow-wrap:anywhere}
.community-profile .profile-empty{margin:14px 0 0;color:var(--community-muted,var(--muted))}
.community-profile .community-pagination{align-items:center;flex-wrap:wrap;padding:14px 0 0;border-top:1px solid var(--community-line,var(--line));font-size:13px}
.community-profile .community-pagination a{color:var(--community-gold-light,var(--red))}
.community-profile a:focus-visible{outline:2px solid var(--community-gold-light,var(--red));outline-offset:4px}
@media(max-width:800px){
 .community-profile .profile-showcase-layout{grid-template-columns:minmax(0,1fr)}
}
@media(max-width:540px){
 .community-profile{gap:16px}
 .community-profile .profile-hero-cover{min-height:150px;padding:16px}
 .community-profile .profile-hero-main{grid-template-columns:76px minmax(0,1fr);gap:12px;padding:0 16px 16px}
 .community-profile .profile-portrait-large{width:68px;height:68px;margin-top:-28px}
 .community-profile .profile-hero-identity{padding-top:10px}
 .community-profile .profile-hero-identity h1{font-size:24px}
 .community-profile .community-profile-groups{margin-top:10px}
 .community-profile .profile-stat-strip-wide article{grid-template-columns:minmax(0,1fr);justify-items:center;padding:12px;gap:8px;border-bottom:0}
 .community-profile .profile-stat-strip-wide article:first-child{border-right:1px solid var(--community-line,var(--line))}
 .community-profile .profile-stat-strip-wide article:last-child{grid-column:auto;border-top:0;border-right:0}
 .community-profile .profile-panel{padding:16px}
}
