/*!
 * PixGame Community Style 1.4.0
 * Modernes BuddyPress-Design (Nouveau) für pixgame.de.
 * Alle Regeln sind auf body.pgc-style beschränkt (nur BuddyPress-Seiten).
 */
body.pgc-style {
	--pgc-petrol: #0f4c45;
	--pgc-petrol-600: #0c3f39;
	--pgc-petrol-50: #e8f3f1;
	--pgc-ink: #111827;
	--pgc-text: #1f2937;
	--pgc-muted: #6b7280;
	--pgc-line: #e5e7eb;
	--pgc-soft: #f5f6f8;
	--pgc-card: #ffffff;
	--pgc-night: #10151f;
	--pgc-night-2: #171e2b;
	--pgc-pink: #e8318f;
	--pgc-violet: #7c4dff;
	--pgc-cyan: #0ea5b7;
	--pgc-gold: #d9a514;
	--pgc-radius: 16px;
	--pgc-radius-sm: 10px;
	--pgc-shadow: 0 1px 2px rgba(17, 24, 39, .04), 0 4px 16px rgba(17, 24, 39, .06);
	--pgc-accent: linear-gradient(90deg, #e8318f, #7c4dff 50%, #0ea5b7);
	--pgc-font: "Work Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--pgc-head: "Montserrat", "Work Sans", system-ui, sans-serif;
}

/* ---------- Vollbreite Profile (Theme-Seitenleiste ausblenden) ---------- */
body.pgc-fullwidth main#content .row > aside.col-md-4 { display: none; }
body.pgc-fullwidth main#content .row > .col-md-8 { flex: 0 0 100%; max-width: 100%; width: 100%; }
body.pgc-fullwidth main#content .mg-card-box { background: transparent; padding: 0; box-shadow: none; border: 0; }

/* ---------- Basis ---------- */
body.pgc-style #buddypress { left: 0; right: auto; font-family: var(--pgc-font); color: var(--pgc-text); max-width: 100%; overflow-wrap: anywhere; }
body.pgc-style #buddypress *, body.pgc-style #buddypress *::before, body.pgc-style #buddypress *::after { box-sizing: border-box; }
body.pgc-style #buddypress img { max-width: 100%; height: auto; }
body.pgc-style #buddypress h1, body.pgc-style #buddypress h2, body.pgc-style #buddypress h3 { font-family: var(--pgc-head); color: var(--pgc-ink); letter-spacing: -.01em; }
body.pgc-style #buddypress a { color: var(--pgc-petrol); text-decoration: none; }
body.pgc-style #buddypress a:hover { color: var(--pgc-pink); }
body.pgc-style #buddypress .pgc-muted { color: var(--pgc-muted); font-size: 14px; margin: 0; }

/* ---------- Buttons ---------- */
body.pgc-style #buddypress .button,
body.pgc-style #buddypress a.button,
body.pgc-style #buddypress input[type="submit"],
body.pgc-style #buddypress input[type="button"],
body.pgc-style #buddypress .generic-button a,
body.pgc-style #buddypress .generic-button button,
body.pgc-style #buddypress #signup_submit {
	display: inline-flex; align-items: center; justify-content: center; gap: .4em;
	background: var(--pgc-petrol); color: #fff; border: 1px solid var(--pgc-petrol); border-radius: 999px;
	padding: .6em 1.2em; font: 600 13px/1.2 var(--pgc-head); text-decoration: none; box-shadow: none;
	transition: background .15s, transform .15s; cursor: pointer; max-width: 100%; white-space: normal;
}
body.pgc-style #buddypress .button:hover,
body.pgc-style #buddypress input[type="submit"]:hover,
body.pgc-style #buddypress .generic-button a:hover,
body.pgc-style #buddypress .generic-button button:hover { background: var(--pgc-petrol-600); color: #fff; transform: translateY(-1px); }
body.pgc-style #buddypress #signup-form #signup_submit,
body.pgc-style #buddypress #aw-whats-new-submit { background: var(--pgc-pink); border-color: var(--pgc-pink); padding: .8em 1.8em; font-size: 15px; }

/* ---------- Formulare ---------- */
body.pgc-style #buddypress input[type="text"], body.pgc-style #buddypress input[type="email"],
body.pgc-style #buddypress input[type="password"], body.pgc-style #buddypress input[type="url"],
body.pgc-style #buddypress input[type="search"], body.pgc-style #buddypress textarea, body.pgc-style #buddypress select {
	border: 1px solid var(--pgc-line); border-radius: var(--pgc-radius-sm); background: #fff; color: var(--pgc-text);
	padding: .6em .85em; font-size: 15px; max-width: 100%; box-shadow: none;
}
body.pgc-style #buddypress input:focus, body.pgc-style #buddypress textarea:focus, body.pgc-style #buddypress select:focus {
	outline: none; border-color: var(--pgc-petrol); box-shadow: 0 0 0 3px rgba(15, 76, 69, .15);
}

/* ---------- Navigation (Tabs) ---------- */
body.pgc-style #buddypress .bp-navs { background: transparent; border: 0; margin: 0 0 16px; }
body.pgc-style #buddypress .bp-navs ul { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
body.pgc-style #buddypress .bp-navs ul li { float: none; margin: 0; border: 0; background: none; }
body.pgc-style #buddypress .bp-navs ul li a {
	display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px;
	color: var(--pgc-text); background: transparent; border: 0; font: 600 14px/1.2 var(--pgc-head);
}
body.pgc-style #buddypress .bp-navs ul li a:hover { background: var(--pgc-soft); color: var(--pgc-ink); }
body.pgc-style #buddypress .bp-navs ul li.current a, body.pgc-style #buddypress .bp-navs ul li.selected a { background: var(--pgc-ink); color: #fff; }
body.pgc-style #buddypress .bp-navs ul li a .count, body.pgc-style #buddypress .bp-navs ul li a span.count {
	background: rgba(127, 127, 127, .16); color: inherit; border: 0; border-radius: 999px; padding: 1px 7px; font-size: 11px; min-width: 0;
}
body.pgc-style #buddypress .bp-subnavs ul li a { font-size: 13px; padding: 6px 12px; color: var(--pgc-muted); }
body.pgc-style #buddypress .bp-subnavs ul li.current a, body.pgc-style #buddypress .bp-subnavs ul li.selected a { background: var(--pgc-petrol-50); color: var(--pgc-petrol); }

/* Profil-Hauptnavigation als Leiste */
body.pgc-style #buddypress .pgc-profile-wrap > .bp-navs.users-nav {
	background: var(--pgc-card); border: 1px solid var(--pgc-line); border-radius: var(--pgc-radius); padding: 8px; box-shadow: var(--pgc-shadow);
}

/* Filter-/Suchleiste */
body.pgc-style #buddypress .subnav-filters {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 16px; padding: 0; background: none; border: 0;
}
body.pgc-style #buddypress .subnav-filters > *, body.pgc-style #buddypress .subnav-filters ul { float: none; margin: 0; padding: 0; }
body.pgc-style #buddypress .bp-dir-search-form { display: flex; border: 0; background: none; box-shadow: none; }
body.pgc-style #buddypress .bp-search input[type="search"] { border-radius: 999px 0 0 999px; width: 240px; max-width: 60vw; }
body.pgc-style #buddypress .nouveau-search-submit { border-radius: 0 999px 999px 0; background: var(--pgc-petrol); color: #fff; border: 0; padding: 0 14px; }
body.pgc-style #buddypress .select-wrap { border: 1px solid var(--pgc-line); border-radius: 999px; background: #fff; }
body.pgc-style #buddypress .select-wrap select { border: 0; border-radius: 999px; height: auto; padding: .55em 1em; -webkit-appearance: menulist; appearance: menulist; }
body.pgc-style #buddypress .select-wrap .select-arrow { display: none; }

/* ---------- Profil-Header ---------- */
body.pgc-style #buddypress #item-header.pgc-profile {
	position: relative; background: var(--pgc-night); color: #e5e7eb; border-radius: 20px; overflow: hidden;
	margin: 0 0 16px; padding: 0 0 20px; box-shadow: 0 10px 30px rgba(16, 21, 31, .18);
}
body.pgc-style #buddypress .pgc-profile__cover {
	height: 260px; background-color: var(--pgc-night-2); background-size: cover; background-position: center;
	background-image:
		radial-gradient(1200px 300px at 0% 0%, rgba(232, 49, 143, .28), transparent 60%),
		radial-gradient(900px 300px at 100% 0%, rgba(14, 165, 183, .28), transparent 60%),
		linear-gradient(180deg, #1b2434, #10151f);
	position: relative;
}
body.pgc-style #buddypress .pgc-profile__cover::after {
	content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(16, 21, 31, .85));
}
body.pgc-style #buddypress .pgc-profile__cover:not(.has-image)::before {
	content: ""; position: absolute; inset: 0; opacity: .35;
	background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
	background-size: 22px 22px;
}
body.pgc-style #buddypress .pgc-profile__main {
	position: relative; z-index: 2; display: flex; align-items: flex-end; gap: 20px; padding: 0 28px; margin-top: -84px;
}
body.pgc-style #buddypress .pgc-profile__avatar { position: relative; flex: 0 0 auto; }
body.pgc-style #buddypress .pgc-profile__avatar img.avatar {
	display: block; width: 168px; height: 168px; border-radius: 50%; margin: 0; background: var(--pgc-night);
	border: 6px solid var(--pgc-night); box-shadow: 0 0 0 2px rgba(255, 255, 255, .12);
}
body.pgc-style #buddypress .pgc-online {
	position: absolute; right: 14px; bottom: 14px; width: 22px; height: 22px; border-radius: 50%;
	background: #22c55e; border: 4px solid var(--pgc-night);
}
body.pgc-style #buddypress .pgc-profile__ident { flex: 1 1 auto; min-width: 0; padding-bottom: 10px; }
body.pgc-style #buddypress .pgc-profile__name { color: #fff; font-size: 32px; font-weight: 800; line-height: 1.1; margin: 0 0 6px; }
body.pgc-style #buddypress .pgc-profile__sub { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; font-size: 14px; color: #9ca3af; }
body.pgc-style #buddypress .pgc-profile__handle { color: #e5e7eb; font-weight: 500; }
body.pgc-style #buddypress .pgc-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
body.pgc-style #buddypress .pgc-badges:empty { display: none; }
body.pgc-style #buddypress .pgc-badge, body.pgc-style #buddypress .pgc-badges .bp-member-type {
	display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 999px;
	font: 700 11px/1.5 var(--pgc-head); letter-spacing: .04em; text-transform: uppercase;
	background: rgba(255, 255, 255, .08); color: #e5e7eb; border: 1px solid rgba(255, 255, 255, .14);
}
body.pgc-style #buddypress .pgc-badge--gold { background: rgba(217, 165, 20, .16); color: #f5c84b; border-color: rgba(217, 165, 20, .45); }
body.pgc-style #buddypress .pgc-badge--gold::before { content: "★"; }
body.pgc-style #buddypress .pgc-badge--administrator { background: rgba(232, 49, 143, .16); color: #ff8cc6; border-color: rgba(232, 49, 143, .4); }
body.pgc-style #buddypress .pgc-profile__actions { flex: 0 0 auto; padding-bottom: 12px; }
body.pgc-style #buddypress .pgc-profile__actions .member-header-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; position: static; float: none; }
body.pgc-style #buddypress .pgc-profile__actions .member-header-actions li { margin: 0; }
body.pgc-style #buddypress .pgc-profile__actions .generic-button a,
body.pgc-style #buddypress .pgc-profile__actions .generic-button button { background: #fff; color: var(--pgc-ink); border-color: #fff; }
body.pgc-style #buddypress .pgc-profile__bio { position: relative; z-index: 2; margin: 14px 28px 0; max-width: 760px; color: #d1d5db; font-size: 15px; line-height: 1.6; }
body.pgc-style #buddypress .pgc-stats {
	position: relative; z-index: 2; display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 10px;
	list-style: none; margin: 18px 28px 0; padding: 0; max-width: 640px;
}
body.pgc-style #buddypress .pgc-stats__item {
	background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); border-radius: 12px; padding: 10px 14px; margin: 0;
}
body.pgc-style #buddypress .pgc-stats__item strong { display: block; color: #fff; font: 800 20px/1.2 var(--pgc-head); }
body.pgc-style #buddypress .pgc-stats__item span { color: #9ca3af; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
body.pgc-style #buddypress .pgc-stats__item--points strong { color: #f5c84b; }
body.pgc-style #buddypress .pgc-profile__hooks { position: relative; z-index: 2; margin: 10px 28px 0; color: #d1d5db; }
body.pgc-style #buddypress .pgc-profile__hooks:empty { display: none; }

/* ---------- Profil-Spalten ---------- */
body.pgc-style #buddypress .pgc-columns { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 20px; align-items: start; }
body.pgc-style #buddypress .pgc-columns > #item-body { margin: 0; min-width: 0; }
body.pgc-style #buddypress .pgc-sidebar { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
body.pgc-style #buddypress .pgc-widget {
	background: var(--pgc-card); border: 1px solid var(--pgc-line); border-radius: var(--pgc-radius); padding: 18px; box-shadow: var(--pgc-shadow);
}
body.pgc-style #buddypress .pgc-widget__title {
	display: flex; align-items: center; justify-content: space-between; font-size: 15px; font-weight: 800; margin: 0 0 12px; padding: 0; border: 0;
}
body.pgc-style #buddypress .pgc-widget__count { color: var(--pgc-muted); font: 600 13px var(--pgc-font); }
body.pgc-style #buddypress .pgc-widget__text { font-size: 14px; line-height: 1.6; }
body.pgc-style #buddypress .pgc-widget__text p { margin: 0 0 8px; }
body.pgc-style #buddypress .pgc-widget__meta { margin: 10px 0 0; padding-top: 10px; border-top: 1px solid var(--pgc-line); color: var(--pgc-muted); font-size: 13px; }
body.pgc-style #buddypress .pgc-widget__more { display: inline-block; margin-top: 10px; font-weight: 600; font-size: 13px; }
body.pgc-style #buddypress .pgc-avatar-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 8px; list-style: none; margin: 0; padding: 0; }
body.pgc-style #buddypress .pgc-avatar-grid li { margin: 0; text-align: center; }
body.pgc-style #buddypress .pgc-avatar-grid a { display: block; color: var(--pgc-text); font-size: 12px; line-height: 1.3; }
body.pgc-style #buddypress .pgc-avatar-grid img.avatar { width: 56px; height: 56px; border-radius: 50%; margin: 0 auto 4px; display: block; }
body.pgc-style #buddypress .pgc-avatar-grid span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.pgc-style #buddypress .pgc-list { list-style: none; margin: 0; padding: 0; }
body.pgc-style #buddypress .pgc-list li { margin: 0; }
body.pgc-style #buddypress .pgc-list li + li { border-top: 1px solid var(--pgc-line); }
body.pgc-style #buddypress .pgc-list__item { display: flex; align-items: center; gap: 12px; padding: 9px 0; color: var(--pgc-text); }
body.pgc-style #buddypress .pgc-list__item img { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; margin: 0; flex: 0 0 auto; }
body.pgc-style #buddypress .pgc-list__item strong { display: block; font-size: 14px; font-weight: 600; line-height: 1.35; color: var(--pgc-ink); }
body.pgc-style #buddypress .pgc-list__item small { display: block; font-size: 12px; color: var(--pgc-muted); }
body.pgc-style #buddypress .pgc-list__item:hover strong { color: var(--pgc-petrol); }
body.pgc-style #buddypress .pgc-list__icon { width: 40px; height: 40px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 10px; background: var(--pgc-petrol-50); font-size: 18px; }

/* Profil-Inhalt */
body.pgc-style #buddypress #item-body h2.screen-heading, body.pgc-style #buddypress #item-body .screen-heading { font-size: 18px; font-weight: 800; margin: 0 0 12px; border: 0; }
body.pgc-style #buddypress .profile .profile-group, body.pgc-style #buddypress .profile .bp-widget {
	background: var(--pgc-card); border: 1px solid var(--pgc-line); border-radius: var(--pgc-radius); padding: 18px; box-shadow: var(--pgc-shadow); margin-bottom: 16px;
}
body.pgc-style #buddypress .profile table.profile-fields { border: 0; width: 100%; margin: 0; }
body.pgc-style #buddypress .profile table.profile-fields tr td { border: 0; border-bottom: 1px solid var(--pgc-line); padding: 10px 4px; background: none; }
body.pgc-style #buddypress .profile table.profile-fields tr:last-child td { border-bottom: 0; }
body.pgc-style #buddypress .profile table.profile-fields td.label { color: var(--pgc-muted); font-weight: 600; width: 32%; }

/* ---------- Listen ---------- */
body.pgc-style #buddypress .bp-list { border: 0; padding: 0; margin: 0; background: none; list-style: none; }
body.pgc-style #buddypress .bp-list > li { border: 0; }

/* Mitglieder / Gruppen / Freunde als Karten */
body.pgc-style #buddypress #members-list, body.pgc-style #buddypress #groups-list, body.pgc-style #buddypress #friends-list {
	display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px;
}
body.pgc-style #buddypress #members-list::before, body.pgc-style #buddypress #members-list::after,
body.pgc-style #buddypress #groups-list::before, body.pgc-style #buddypress #groups-list::after { display: none; }
body.pgc-style #buddypress #members-list > li, body.pgc-style #buddypress #groups-list > li, body.pgc-style #buddypress #friends-list > li {
	width: auto; float: none; margin: 0; padding: 0; overflow: hidden; text-align: center;
	background: var(--pgc-card); border: 1px solid var(--pgc-line); border-radius: var(--pgc-radius); box-shadow: var(--pgc-shadow);
	transition: transform .15s, box-shadow .15s;
}
body.pgc-style #buddypress #members-list > li::before, body.pgc-style #buddypress #groups-list > li::before, body.pgc-style #buddypress #friends-list > li::before {
	content: ""; display: block; height: 64px; background: linear-gradient(135deg, #1b2434, var(--pgc-petrol));
}
body.pgc-style #buddypress #members-list > li:hover, body.pgc-style #buddypress #groups-list > li:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(17, 24, 39, .10); }
body.pgc-style #buddypress #members-list .list-wrap, body.pgc-style #buddypress #groups-list .list-wrap, body.pgc-style #buddypress #friends-list .list-wrap {
	display: flex; flex-direction: column; align-items: center; padding: 0 14px 16px; border: 0; background: none; margin: 0;
}
body.pgc-style #buddypress #members-list .item-avatar, body.pgc-style #buddypress #groups-list .item-avatar, body.pgc-style #buddypress #friends-list .item-avatar { float: none; width: auto; margin: -44px auto 8px; }
body.pgc-style #buddypress #members-list .item-avatar img.avatar, body.pgc-style #buddypress #groups-list .item-avatar img.avatar, body.pgc-style #buddypress #friends-list .item-avatar img.avatar {
	width: 84px; height: 84px; max-width: none; margin: 0; border-radius: 50%; border: 4px solid #fff; box-shadow: 0 2px 8px rgba(17, 24, 39, .15);
}
body.pgc-style #buddypress #groups-list .item-avatar img.avatar { border-radius: 20px; }
body.pgc-style #buddypress #members-list .item, body.pgc-style #buddypress #groups-list .item, body.pgc-style #buddypress #friends-list .item,
body.pgc-style #buddypress #members-list .item-block, body.pgc-style #buddypress #groups-list .item-block { margin: 0; padding: 0; width: 100%; float: none; text-align: center; overflow: visible; }
body.pgc-style #buddypress .bp-list .list-title { font-size: 16px; font-weight: 700; margin: 0 0 2px; text-align: center; }
body.pgc-style #buddypress .bp-list .list-title a { color: var(--pgc-ink); }
body.pgc-style #buddypress #members-list .item-meta, body.pgc-style #buddypress #groups-list .item-meta { color: var(--pgc-muted); font-size: 12px; margin: 0 0 6px; text-align: center; }
body.pgc-style #buddypress .pgc-card-bio, body.pgc-style #buddypress #groups-list .item-desc { font-size: 13px; line-height: 1.45; color: #4b5563; margin: 4px 0 10px; text-align: center; }
body.pgc-style #buddypress #groups-list .item-desc p { margin: 0; }
body.pgc-style #buddypress #members-list .user-update { display: none; }
body.pgc-style #buddypress .bp-list .action { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 4px 0 0; padding: 0; list-style: none; float: none; position: static; width: 100%; }
body.pgc-style #buddypress .bp-list .action li, body.pgc-style #buddypress .bp-list .action .generic-button { margin: 0; float: none; }

/* ---------- Aktivitäts-Feed ---------- */
body.pgc-style #buddypress .activity-list { display: flex; flex-direction: column; gap: 16px; }
body.pgc-style #buddypress .activity-list > li.activity-item {
	display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 0 12px; margin: 0; padding: 18px; position: relative;
	background: var(--pgc-card); border: 1px solid var(--pgc-line); border-radius: var(--pgc-radius); box-shadow: var(--pgc-shadow);
}
body.pgc-style #buddypress .activity-list > li.activity-item > .activity-avatar { grid-column: 1; float: none; width: 48px; margin: 0; }
body.pgc-style #buddypress .activity-list .activity-avatar img.avatar { width: 48px; height: 48px; max-width: none; border-radius: 50%; margin: 0; }
body.pgc-style #buddypress .activity-list > li.activity-item > .activity-content { grid-column: 2; margin: 0; padding: 0; min-width: 0; float: none; width: auto; }
body.pgc-style #buddypress .activity-list > li.activity-item > *:not(.activity-avatar):not(.activity-content) { grid-column: 1 / -1; }
body.pgc-style #buddypress .activity-list .activity-header { font-size: 14px; color: var(--pgc-muted); margin: 2px 0 10px; line-height: 1.45; }
body.pgc-style #buddypress .activity-list .activity-header a:first-child { font-weight: 700; color: var(--pgc-ink); }
body.pgc-style #buddypress .activity-list .activity-header .time-since, body.pgc-style #buddypress .activity-list .activity-header a.view { color: var(--pgc-muted); font-size: 12px; }
body.pgc-style #buddypress .activity-list .activity-inner { background: none; border: 0; padding: 0; margin: 0 0 10px; font-size: 16px; line-height: 1.6; color: var(--pgc-text); }
body.pgc-style #buddypress .activity-list li.pgc-is-status .activity-inner { font-size: 17px; }
body.pgc-style #buddypress .activity-list .activity-meta.action { display: flex; flex-wrap: wrap; gap: 4px; margin: 0; padding: 8px 0 0; border-top: 1px solid var(--pgc-line); background: none; }
body.pgc-style #buddypress .activity-list .activity-meta.action .button {
	background: transparent; color: var(--pgc-muted); border: 0; font-size: 13px; padding: 6px 10px; border-radius: 8px; transform: none;
}
body.pgc-style #buddypress .activity-list .activity-meta.action .button:hover { background: var(--pgc-soft); color: var(--pgc-ink); }
body.pgc-style #buddypress .activity-list .activity-meta.action .button::before, body.pgc-style #buddypress .activity-list .activity-meta.action .button span { color: inherit; }
body.pgc-style #buddypress .activity-comments { margin: 12px 0 0 60px; border: 0; }
body.pgc-style #buddypress .activity-comments ul { border: 0; padding: 0; margin: 0; }
body.pgc-style #buddypress .activity-comments ul li { border: 0; padding: 6px 0; }
body.pgc-style #buddypress .activity-comments .acomment-avatar img.avatar { width: 32px; height: 32px; border-radius: 50%; }
body.pgc-style #buddypress .activity-comments .acomment-content { font-size: 14px; background: var(--pgc-soft); border-radius: 12px; padding: 8px 12px; margin-top: 4px; }
body.pgc-style #buddypress #whats-new-form { background: var(--pgc-card); border: 1px solid var(--pgc-line); border-radius: var(--pgc-radius); box-shadow: var(--pgc-shadow); padding: 16px; margin-bottom: 16px; }
body.pgc-style #buddypress #whats-new-avatar img.avatar { border-radius: 50%; }

/* Blog-Beitrag als große Karte */
body.pgc-style #buddypress .activity-list li.pgc-is-post .activity-inner { margin: 0 0 10px; overflow: visible; }
body.pgc-style #buddypress .pgc-post-card { border: 1px solid var(--pgc-line); border-radius: 14px; overflow: hidden; background: #fff; }
body.pgc-style #buddypress .pgc-post-card__media { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--pgc-soft); }
body.pgc-style #buddypress .pgc-post-card__img { display: block; width: 100%; height: 100%; object-fit: cover; margin: 0; border-radius: 0; transition: transform .3s; }
body.pgc-style #buddypress .pgc-post-card:hover .pgc-post-card__img { transform: scale(1.03); }
body.pgc-style #buddypress .pgc-post-card__body { padding: 16px 18px 18px; }
body.pgc-style #buddypress .pgc-post-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 12px; color: var(--pgc-muted); margin-bottom: 8px; }
body.pgc-style #buddypress .pgc-post-card__cat { background: var(--pgc-petrol); color: #fff; border-radius: 6px; padding: 2px 8px; font: 700 11px/1.5 var(--pgc-head); text-transform: uppercase; letter-spacing: .04em; }
body.pgc-style #buddypress .pgc-post-card__title { font-size: 22px; line-height: 1.25; font-weight: 800; margin: 0 0 8px; }
body.pgc-style #buddypress .pgc-post-card__title a { color: var(--pgc-ink); }
body.pgc-style #buddypress .pgc-post-card__title a:hover { color: var(--pgc-petrol); }
body.pgc-style #buddypress .pgc-post-card__excerpt { font-size: 15px; line-height: 1.6; color: #4b5563; margin: 0 0 12px; }
body.pgc-style #buddypress .pgc-post-card__more { font: 700 14px var(--pgc-head); color: var(--pgc-pink); }

/* Reaktionen */
body.pgc-style #buddypress .pgc-reactions { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 4px 0 10px; }
body.pgc-style #buddypress .pgc-reactions .pgc-react {
	display: inline-flex; align-items: center; gap: 4px; height: 32px; padding: 0 10px; margin: 0;
	background: var(--pgc-soft); color: var(--pgc-text); border: 1px solid transparent; border-radius: 999px;
	font: 600 13px/1 var(--pgc-font); box-shadow: none; cursor: pointer; transition: transform .12s, background .12s, border-color .12s;
}
body.pgc-style #buddypress .pgc-reactions button.pgc-react:hover { background: #eceef2; transform: translateY(-1px); }
body.pgc-style #buddypress .pgc-reactions .pgc-react.is-active { background: var(--pgc-petrol-50); border-color: var(--pgc-petrol); color: var(--pgc-petrol); }
body.pgc-style #buddypress .pgc-reactions .pgc-react__emoji { font-size: 16px; line-height: 1; }
body.pgc-style #buddypress .pgc-reactions .pgc-react__count:empty { display: none; }
body.pgc-style #buddypress .pgc-reactions.is-readonly .pgc-react { cursor: default; }
body.pgc-style #buddypress .pgc-reactions.is-busy { opacity: .6; pointer-events: none; }
body.pgc-style #buddypress .pgc-reactions__hint { font-size: 12px; color: var(--pgc-muted); margin-left: 4px; }

/* ---------- Registrierung ---------- */
body.pgc-style #buddypress #signup-form { background: var(--pgc-card); border: 1px solid var(--pgc-line); border-radius: var(--pgc-radius); box-shadow: var(--pgc-shadow); padding: 24px; }
body.pgc-style #buddypress #signup-form .layout-wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
body.pgc-style #buddypress #signup-form .register-section, body.pgc-style #buddypress #signup-form .editfield { float: none; width: 100%; margin: 0 0 12px; }
body.pgc-style #buddypress #signup-form h2, body.pgc-style #buddypress #signup-form .bp-heading { font-size: 17px; font-weight: 800; background: none; border: 0; padding: 0; margin: 0 0 14px; }
body.pgc-style #buddypress #signup-form label, body.pgc-style #buddypress #signup-form legend { font-weight: 600; font-size: 14px; margin-bottom: 4px; }
body.pgc-style #buddypress #signup-form input[type="text"], body.pgc-style #buddypress #signup-form input[type="email"], body.pgc-style #buddypress #signup-form input[type="password"], body.pgc-style #buddypress #signup-form textarea { width: 100%; }
body.pgc-style #buddypress #signup-form fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
body.pgc-style #buddypress #signup-form .caps-warning { display: none; }
body.pgc-style #buddypress #signup-form .caps-icon, body.pgc-style #buddypress #signup-form .caps-warning svg { width: 20px; height: 20px; }
body.pgc-style #buddypress #signup-form button.wp-hide-pw { background: var(--pgc-soft); color: var(--pgc-text); border: 0; padding: 6px 10px; margin-top: 6px; border-radius: 8px; }
body.pgc-style #buddypress #signup-form #pass-strength-result { border-radius: 8px; border: 0; text-align: center; font-weight: 600; margin: 8px 0; padding: 6px; }
body.pgc-style #buddypress #signup-form .description, body.pgc-style #buddypress #signup-form .field-visibility-settings-notoggle { font-size: 12px; color: var(--pgc-muted); line-height: 1.5; }
body.pgc-style #buddypress #signup-form .submit { text-align: center; margin-top: 10px; }
body.pgc-style #buddypress .bp-feedback { border-radius: 12px; border: 1px solid var(--pgc-line); box-shadow: none; overflow: hidden; background: #fff; }
body.pgc-style #buddypress .bp-feedback .bp-icon { background-color: var(--pgc-petrol); }

/* Paginierung */
body.pgc-style #buddypress .bp-pagination { border: 0; background: none; color: var(--pgc-muted); font-size: 13px; }
body.pgc-style #buddypress .bp-pagination-links .page-numbers { display: inline-block; min-width: 32px; padding: 4px 10px; border-radius: 999px; text-align: center; background: #fff; border: 1px solid var(--pgc-line); }
body.pgc-style #buddypress .bp-pagination-links .page-numbers.current { background: var(--pgc-ink); color: #fff; border-color: var(--pgc-ink); }

/* ---------- Tablet ---------- */
@media (max-width: 991px) {
	body.pgc-style #buddypress .pgc-columns { grid-template-columns: minmax(0, 1fr); }
	body.pgc-style #buddypress .pgc-sidebar { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
}
@media (max-width: 700px) {
	body.pgc-style #buddypress .pgc-profile__cover { height: 170px; }
	body.pgc-style #buddypress .pgc-profile__main { flex-direction: column; align-items: center; text-align: center; margin-top: -64px; gap: 8px; padding: 0 16px; }
	body.pgc-style #buddypress .pgc-profile__avatar img.avatar { width: 124px; height: 124px; border-width: 5px; }
	body.pgc-style #buddypress .pgc-online { right: 8px; bottom: 8px; width: 18px; height: 18px; border-width: 3px; }
	body.pgc-style #buddypress .pgc-profile__ident { padding: 0; width: 100%; }
	body.pgc-style #buddypress .pgc-profile__name { font-size: 26px; }
	body.pgc-style #buddypress .pgc-profile__sub, body.pgc-style #buddypress .pgc-badges { justify-content: center; }
	body.pgc-style #buddypress .pgc-profile__actions { padding: 4px 0 0; }
	body.pgc-style #buddypress .pgc-profile__actions .member-header-actions { justify-content: center; }
	body.pgc-style #buddypress .pgc-profile__bio { margin: 12px 16px 0; text-align: center; font-size: 14px; }
	body.pgc-style #buddypress .pgc-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 14px 16px 0; }
	body.pgc-style #buddypress .pgc-stats__item { text-align: center; padding: 8px; }
	body.pgc-style #buddypress .pgc-profile__hooks { margin: 10px 16px 0; }
}

/* ---------- Mobil (390 px) ---------- */
@media (max-width: 480px) {
	body.pgc-style #buddypress #item-header.pgc-profile { border-radius: 16px; }
	body.pgc-style #buddypress .pgc-sidebar { grid-template-columns: minmax(0, 1fr); }
	body.pgc-style #buddypress .bp-navs ul li a { padding: 7px 11px; font-size: 13px; }
	body.pgc-style #buddypress .subnav-filters { flex-direction: column; align-items: stretch; }
	body.pgc-style #buddypress .bp-dir-search-form { width: 100%; }
	body.pgc-style #buddypress .bp-search input[type="search"] { width: 100%; max-width: none; flex: 1 1 auto; }
	body.pgc-style #buddypress .select-wrap, body.pgc-style #buddypress .select-wrap select { width: 100%; }
	body.pgc-style #buddypress #members-list, body.pgc-style #buddypress #groups-list, body.pgc-style #buddypress #friends-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	body.pgc-style #buddypress #members-list .item-avatar img.avatar, body.pgc-style #buddypress #groups-list .item-avatar img.avatar { width: 68px; height: 68px; }
	body.pgc-style #buddypress #members-list .item-avatar, body.pgc-style #buddypress #groups-list .item-avatar { margin-top: -36px; }
	body.pgc-style #buddypress #members-list > li::before, body.pgc-style #buddypress #groups-list > li::before { height: 50px; }
	body.pgc-style #buddypress #members-list .list-wrap, body.pgc-style #buddypress #groups-list .list-wrap { padding: 0 8px 12px; }
	body.pgc-style #buddypress .bp-list .list-title { font-size: 15px; }
	body.pgc-style #buddypress .bp-list .action .button, body.pgc-style #buddypress .bp-list .action button { font-size: 11px; padding: 6px 10px; }
	body.pgc-style #buddypress .activity-list > li.activity-item { grid-template-columns: 40px minmax(0, 1fr); gap: 0 10px; padding: 14px; }
	body.pgc-style #buddypress .activity-list > li.activity-item > .activity-avatar { width: 40px; }
	body.pgc-style #buddypress .activity-list .activity-avatar img.avatar { width: 40px; height: 40px; }
	body.pgc-style #buddypress .activity-list li.pgc-is-post > .activity-content { grid-column: 1 / -1; margin-top: 10px; }
	body.pgc-style #buddypress .activity-list li.pgc-is-post > .activity-avatar { position: absolute; top: 14px; left: 14px; }
	body.pgc-style #buddypress .activity-list li.pgc-is-post .activity-header { padding-left: 50px; min-height: 40px; margin-top: -10px; }
	body.pgc-style #buddypress .pgc-post-card__title { font-size: 19px; }
	body.pgc-style #buddypress .pgc-post-card__body { padding: 14px; }
	body.pgc-style #buddypress .activity-comments { margin-left: 0; }
	body.pgc-style #buddypress #signup-form { padding: 16px 14px; }
	body.pgc-style #buddypress #signup-form .layout-wrap { grid-template-columns: minmax(0, 1fr); }
}

/* =====================================================================
 * Robustheit gegen Theme-/Plugin-CSS (Max News/Newsup, minifiziertes HTML,
 * vertikale BuddyPress-Navigation). Kritische Layout-Regeln mit !important.
 * ===================================================================== */
html body.pgc-style #buddypress #item-header.pgc-profile ul,
html body.pgc-style #buddypress #item-header.pgc-profile li { float: none !important; list-style: none !important; }
html body.pgc-style #buddypress #item-header.pgc-profile li::before,
html body.pgc-style #buddypress #item-header.pgc-profile li::after { content: none !important; }

/* @nick · Aktiv vor … */
html body.pgc-style #buddypress .pgc-profile__sub { display: flex !important; flex-wrap: wrap !important; align-items: baseline; gap: 4px 8px !important; }
html body.pgc-style #buddypress .pgc-profile__sub > span { display: inline-block !important; float: none !important; margin: 0 !important; }
html body.pgc-style #buddypress .pgc-profile__sep { color: #6b7280; }

/* Kennzahlen als Kacheln */
html body.pgc-style #buddypress ul.pgc-stats {
	display: grid !important; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)) !important; gap: 10px !important;
	padding: 0 !important; list-style: none !important; direction: ltr;
}
html body.pgc-style #buddypress ul.pgc-stats > li.pgc-stats__item {
	display: flex !important; flex-direction: column !important; align-items: flex-start; justify-content: center; gap: 2px;
	width: auto !important; min-width: 0; margin: 0 !important; padding: 10px 14px !important;
	background: rgba(255, 255, 255, .05) !important; border: 1px solid rgba(255, 255, 255, .08) !important; border-radius: 12px !important;
}
html body.pgc-style #buddypress .pgc-stats__value { display: block !important; color: #fff !important; font: 800 20px/1.2 var(--pgc-head) !important; margin: 0 !important; }
html body.pgc-style #buddypress .pgc-stats__label { display: block !important; color: #9ca3af !important; font-size: 12px !important; line-height: 1.3 !important; text-transform: uppercase; letter-spacing: .06em; margin: 0 !important; }
html body.pgc-style #buddypress .pgc-stats__item--points .pgc-stats__value { color: #f5c84b !important; }

/* Badges / myCRED-Rang im Header */
html body.pgc-style #buddypress .pgc-badges { display: flex !important; flex-wrap: wrap !important; gap: 6px !important; }
html body.pgc-style #buddypress .pgc-profile__hooks #mycred-my-ranks,
html body.pgc-style #buddypress .pgc-profile__hooks .mycred-my-rank { display: inline-flex; }
html body.pgc-style #buddypress .pgc-profile__hooks .mycred-my-rank {
	padding: 3px 10px; border-radius: 999px; font: 700 11px/1.5 var(--pgc-head); letter-spacing: .04em; text-transform: uppercase;
	background: rgba(14, 165, 183, .14); color: #67e8f9; border: 1px solid rgba(14, 165, 183, .4);
}

/* Avatar/Name: Theme-Regeln für img/h1 neutralisieren */
html body.pgc-style #buddypress .pgc-profile__avatar img.avatar { width: 168px !important; height: 168px !important; max-width: none !important; border-radius: 50% !important; }
html body.pgc-style #buddypress h1.pgc-profile__name { color: #fff !important; font-size: 32px !important; line-height: 1.1 !important; margin: 0 0 6px !important; padding: 0 !important; border: 0 !important; background: none !important; }
html body.pgc-style #buddypress .pgc-profile__main { display: flex !important; }

/* Vertikale Mitgliedernavigation (bp-single-vert-nav) zurück in unser Layout holen */
html body.pgc-style #buddypress.bp-single-vert-nav .pgc-profile-wrap .bp-navs.vertical ul,
html body.pgc-style #buddypress.bp-single-vert-nav .pgc-profile-wrap .bp-navs ul {
	float: none !important; width: auto !important; margin: 0 !important; border: 0 !important; display: flex !important; flex-wrap: wrap !important;
}
html body.pgc-style #buddypress.bp-single-vert-nav .pgc-profile-wrap .bp-navs li { float: none !important; left: auto !important; position: static !important; margin: 0 !important; background: none !important; }
html body.pgc-style #buddypress.bp-single-vert-nav .pgc-profile-wrap .bp-navs li a { border: 0 !important; }
html body.pgc-style #buddypress.bp-single-vert-nav .pgc-profile-wrap .bp-navs li span.count { float: none !important; margin: 0 !important; }
html body.pgc-style #buddypress.bp-single-vert-nav .pgc-profile-wrap .bp-navs li.selected a,
html body.pgc-style #buddypress.bp-single-vert-nav .pgc-profile-wrap .bp-navs li.current a { background: var(--pgc-ink) !important; color: #fff !important; }
html body.pgc-style #buddypress.bp-single-vert-nav .pgc-profile-wrap .bp-subnavs li.selected a,
html body.pgc-style #buddypress.bp-single-vert-nav .pgc-profile-wrap .bp-subnavs li.current a { background: var(--pgc-petrol-50) !important; color: var(--pgc-petrol) !important; text-decoration: none !important; }
html body.pgc-style #buddypress.bp-single-vert-nav .pgc-columns > .item-body {
	float: none !important; width: auto !important; min-height: 0 !important; margin: 0 !important; padding: 0 !important; border: 0 !important; background: none !important;
}
html body.pgc-style #buddypress.bp-single-vert-nav .pgc-columns > .item-body #subnav { background: none !important; margin: 0 0 16px !important; width: auto !important; }
html body.pgc-style #buddypress.bp-single-vert-nav .pgc-columns > .item-body #subnav li { font-size: inherit !important; margin: 0 !important; }
html body.pgc-style #buddypress.bp-single-vert-nav .pgc-columns > .item-body #subnav li a { border-right: 0 !important; padding: 6px 12px !important; }
html body.pgc-style #buddypress .pgc-columns { display: grid !important; }
@media (max-width: 991px) {
	html body.pgc-style #buddypress .pgc-columns { grid-template-columns: minmax(0, 1fr) !important; }
}
@media (max-width: 700px) {
	html body.pgc-style #buddypress .pgc-profile__main { flex-direction: column !important; align-items: center !important; }
	html body.pgc-style #buddypress .pgc-profile__avatar img.avatar { width: 124px !important; height: 124px !important; }
	html body.pgc-style #buddypress h1.pgc-profile__name { font-size: 26px !important; }
	html body.pgc-style #buddypress .pgc-profile__sub { justify-content: center !important; }
	html body.pgc-style #buddypress ul.pgc-stats { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
	html body.pgc-style #buddypress ul.pgc-stats > li.pgc-stats__item { align-items: center; text-align: center; padding: 8px !important; }
}

/* =====================================================================
 * 1.4.0 – Cover-Verlauf, Feed-Filter, News-Kacheln, Profil-Tabs,
 * „Wer hat reagiert“, Kommentar-Reaktionen, mobile Button-Leiste.
 * ===================================================================== */

/* Cover-Verlauf ohne Titelbild (Farbton je Mitglied) */
html body.pgc-style #buddypress .pgc-profile__cover.is-gradient {
	background-image:
		radial-gradient(900px 260px at 12% 0%, hsla(var(--pgc-hue, 320), 85%, 60%, .55), transparent 62%),
		radial-gradient(800px 280px at 92% 10%, hsla(calc(var(--pgc-hue, 320) + 70), 85%, 55%, .5), transparent 60%),
		linear-gradient(135deg, hsl(var(--pgc-hue, 320), 45%, 22%), hsl(calc(var(--pgc-hue, 320) + 40), 50%, 14%)) !important;
}
html body.pgc-style #buddypress .pgc-profile__cover.is-gradient::before {
	content: ""; position: absolute; inset: 0; opacity: .18;
	background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.18) 0 2px, transparent 2px 22px) !important; background-size: auto !important;
}

/* Feed-Filter */
html body.pgc-style #buddypress .pgc-feedfilter {
	display: flex !important; flex-wrap: wrap; gap: 6px; margin: 0 0 16px; padding: 5px; width: max-content; max-width: 100%;
	background: #fff; border: 1px solid var(--pgc-line); border-radius: 999px; box-shadow: var(--pgc-shadow);
}
html body.pgc-style #buddypress .pgc-feedfilter__btn {
	display: inline-flex !important; align-items: center; margin: 0 !important; padding: 8px 16px !important; border: 0 !important; border-radius: 999px !important;
	background: transparent !important; color: var(--pgc-text) !important; font: 600 14px/1.2 var(--pgc-font) !important; cursor: pointer; box-shadow: none !important; text-transform: none !important; width: auto !important;
}
html body.pgc-style #buddypress .pgc-feedfilter__btn:hover { background: var(--pgc-soft) !important; }
html body.pgc-style #buddypress .pgc-feedfilter__btn.is-active { background: var(--pgc-ink) !important; color: #fff !important; }

/* News-Kacheln: im Modus „Nur News“ als Raster */
@media (min-width: 701px) {
	html body.pgc-style.pgc-feed-news #buddypress ul.activity-list {
		display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 18px !important;
	}
	html body.pgc-style.pgc-feed-news #buddypress ul.activity-list > li { margin: 0 !important; width: auto !important; float: none !important; display: flex !important; flex-direction: column; }
	html body.pgc-style.pgc-feed-news #buddypress ul.activity-list > li.load-more,
	html body.pgc-style.pgc-feed-news #buddypress ul.activity-list > li.load-newest { grid-column: 1 / -1; }
	html body.pgc-style.pgc-feed-news #buddypress ul.activity-list .pgc-post-card { display: flex !important; flex-direction: column !important; }
	html body.pgc-style.pgc-feed-news #buddypress ul.activity-list .pgc-post-card__media { width: 100% !important; max-width: none !important; aspect-ratio: 16 / 9; }
	html body.pgc-style.pgc-feed-news #buddypress ul.activity-list .pgc-post-card__media img { width: 100% !important; height: 100% !important; object-fit: cover; }
	html body.pgc-style.pgc-feed-news #buddypress ul.activity-list .pgc-post-card__title { font-size: 19px !important; }
}

/* Profil-Tabs */
html body.pgc-style #buddypress .pgc-tab { display: grid; gap: 16px; }
html body.pgc-style #buddypress .pgc-panel {
	background: var(--pgc-card); border: 1px solid var(--pgc-line); border-radius: var(--pgc-radius); box-shadow: var(--pgc-shadow); padding: 20px 22px;
}
html body.pgc-style #buddypress .pgc-panel__title { margin: 0 0 12px !important; padding: 0 !important; font: 800 18px/1.3 var(--pgc-head) !important; color: var(--pgc-ink) !important; border: 0 !important; background: none !important; }
html body.pgc-style #buddypress .pgc-panel__text p { margin: 0 0 .7em; }
html body.pgc-style #buddypress .pgc-panel__meta, html body.pgc-style #buddypress .pgc-empty { color: var(--pgc-muted); font-size: 14px; margin: 10px 0 0; }
html body.pgc-style #buddypress dl.pgc-facts { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin: 14px 0 0 !important; }
html body.pgc-style #buddypress dl.pgc-facts > div { background: var(--pgc-soft); border-radius: var(--pgc-radius-sm); padding: 10px 12px; }
html body.pgc-style #buddypress dl.pgc-facts dt { display: block !important; float: none !important; width: auto !important; margin: 0 0 2px !important; font-size: 12px; color: var(--pgc-muted); text-transform: uppercase; letter-spacing: .05em; font-weight: 600; }
html body.pgc-style #buddypress dl.pgc-facts dd { display: block !important; margin: 0 !important; font-weight: 700; color: var(--pgc-ink); word-break: break-word; }
html body.pgc-style #buddypress dl.pgc-facts--list { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
html body.pgc-style #buddypress ul.pgc-forumlist { list-style: none !important; margin: 0 !important; padding: 0 !important; }
html body.pgc-style #buddypress ul.pgc-forumlist > li { display: flex !important; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; padding: 10px 0 !important; margin: 0 !important; border-bottom: 1px solid var(--pgc-line); float: none !important; }
html body.pgc-style #buddypress ul.pgc-forumlist > li:last-child { border-bottom: 0; }
html body.pgc-style #buddypress .pgc-forumlist__topic { font-weight: 700; color: var(--pgc-ink) !important; text-decoration: none !important; }
html body.pgc-style #buddypress .pgc-forumlist__topic:hover { color: var(--pgc-petrol) !important; }
html body.pgc-style #buddypress .pgc-forumlist__date { color: var(--pgc-muted); font-size: 13px; white-space: nowrap; }
html body.pgc-style #buddypress ul.pgc-media { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; list-style: none !important; margin: 0 !important; padding: 0 !important; }
html body.pgc-style #buddypress ul.pgc-media > li { margin: 0 !important; padding: 0 !important; float: none !important; }
html body.pgc-style #buddypress ul.pgc-media a { display: block; aspect-ratio: 1; border-radius: var(--pgc-radius-sm); overflow: hidden; background: var(--pgc-soft); }
html body.pgc-style #buddypress ul.pgc-media img { width: 100% !important; height: 100% !important; object-fit: cover; display: block; margin: 0 !important; transition: transform .2s; }
html body.pgc-style #buddypress ul.pgc-media a:hover img { transform: scale(1.04); }

/* Wer hat reagiert */
html body.pgc-style #buddypress .pgc-who { flex-basis: 100%; margin: 2px 0 0; font-size: 13px; color: var(--pgc-muted); }
html body.pgc-style #buddypress .pgc-who[hidden] { display: none !important; }
html body.pgc-style #buddypress .pgc-who__summary { cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: 4px; }
html body.pgc-style #buddypress .pgc-who__summary::-webkit-details-marker { display: none; }
html body.pgc-style #buddypress .pgc-who__summary::after { content: "▾"; font-size: 10px; }
html body.pgc-style #buddypress .pgc-who[open] .pgc-who__summary::after { content: "▴"; }
html body.pgc-style #buddypress .pgc-who__summary:hover { color: var(--pgc-petrol); }
html body.pgc-style #buddypress ul.pgc-who__list {
	list-style: none !important; margin: 8px 0 0 !important; padding: 8px !important; display: grid !important; gap: 4px; max-width: 320px;
	background: #fff; border: 1px solid var(--pgc-line); border-radius: var(--pgc-radius-sm); box-shadow: var(--pgc-shadow);
}
html body.pgc-style #buddypress ul.pgc-who__list > li { display: flex !important; align-items: center; justify-content: space-between; gap: 8px; margin: 0 !important; padding: 2px 4px !important; float: none !important; }
html body.pgc-style #buddypress ul.pgc-who__list a { display: inline-flex; align-items: center; gap: 8px; color: var(--pgc-text) !important; text-decoration: none !important; font-weight: 600; }
html body.pgc-style #buddypress ul.pgc-who__list img.avatar { width: 24px !important; height: 24px !important; border-radius: 50% !important; margin: 0 !important; float: none !important; }

/* Reaktionen auf Kommentare: kompakt */
html body.pgc-style #buddypress .acomment-options { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
html body.pgc-style #buddypress .pgc-reactions--comment { margin: 0 0 0 4px !important; gap: 4px !important; }
html body.pgc-style #buddypress .pgc-reactions--comment .pgc-react { padding: 2px 8px !important; font-size: 12px !important; min-height: 0 !important; }
html body.pgc-style #buddypress .pgc-reactions--comment .pgc-react__emoji { font-size: 13px !important; }
html body.pgc-style #buddypress .pgc-reactions--comment .pgc-react.is-extra { display: none !important; }
html body.pgc-style #buddypress .pgc-reactions--comment.is-expanded .pgc-react.is-extra { display: inline-flex !important; }
html body.pgc-style #buddypress .pgc-reactions--comment.is-expanded .pgc-react--more { transform: rotate(45deg); }
html body.pgc-style #buddypress .pgc-reactions--comment .pgc-who { flex-basis: auto; margin: 0 0 0 4px; font-size: 12px; }

/* Youzify-Reaktionen ausblenden, wenn unsere Leiste aktiv ist (nur eine Leiste) */
html body.pgc-hide-yzpr .yzpr-bar, html body.pgc-hide-yzpr .yzpr-post-reaction, html body.pgc-hide-yzpr .yzpr-reacto-post,
html body.pgc-hide-yzpr .yzpr-yes-reaction, html body.pgc-hide-yzpr .yzpr-no-reaction, html body.pgc-hide-yzpr .yzpr-reactions-count,
html body.pgc-hide-yzpr .yz-post-reactors-list, html body.pgc-hide-yzpr .yzpr-wall-modal-overlay, html body.pgc-hide-yzpr .yzpr-modal-post-reactors,
html body.pgc-hide-yzpr [class^="yzpr-"], html body.pgc-hide-yzpr [class*=" yzpr-"] { display: none !important; }

/* Mobil: kompakte Button-Leisten */
@media (max-width: 700px) {
	html body.pgc-style #buddypress .pgc-profile__actions { width: 100%; }
	html body.pgc-style #buddypress .pgc-profile__actions .member-header-actions,
	html body.pgc-style #buddypress .pgc-profile__actions ul {
		display: flex !important; flex-wrap: nowrap !important; justify-content: center; gap: 6px !important; overflow-x: auto; -webkit-overflow-scrolling: touch;
		margin: 0 !important; padding: 2px 0 4px !important; scrollbar-width: none;
	}
	html body.pgc-style #buddypress .pgc-profile__actions .member-header-actions::-webkit-scrollbar { display: none; }
	html body.pgc-style #buddypress .pgc-profile__actions .member-header-actions > *,
	html body.pgc-style #buddypress .pgc-profile__actions li { flex: 0 0 auto !important; margin: 0 !important; width: auto !important; float: none !important; }
	html body.pgc-style #buddypress .pgc-profile__actions .generic-button a,
	html body.pgc-style #buddypress .pgc-profile__actions .generic-button button,
	html body.pgc-style #buddypress .pgc-profile__actions a.button,
	html body.pgc-style #buddypress .pgc-profile__actions button {
		padding: 7px 12px !important; font-size: 12.5px !important; line-height: 1.2 !important; white-space: nowrap !important; min-height: 0 !important; width: auto !important; margin: 0 !important;
	}
	html body.pgc-style #buddypress .activity-meta.action {
		display: flex !important; flex-wrap: nowrap !important; gap: 4px !important; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px;
	}
	html body.pgc-style #buddypress .activity-meta.action > * { flex: 0 0 auto !important; margin: 0 !important; float: none !important; }
	html body.pgc-style #buddypress .activity-meta.action .button { padding: 5px 10px !important; font-size: 12px !important; min-height: 0 !important; }
	/* 1.4.1: Reaktionsknöpfe nie stauchen (sonst verschwinden Emojis), Hinweis/„wer“ in eigene Zeile */
	html body.pgc-style #buddypress .pgc-reactions { flex-wrap: wrap !important; overflow: visible !important; }
	html body.pgc-style #buddypress .pgc-reactions > .pgc-react { flex: 0 0 auto !important; width: auto !important; min-width: 0 !important; }
	html body.pgc-style #buddypress .pgc-reactions .pgc-react__emoji { flex: 0 0 auto !important; display: inline-block !important; width: auto !important; }
	html body.pgc-style #buddypress .pgc-reactions > .pgc-reactions__hint,
	html body.pgc-style #buddypress .pgc-reactions:not(.pgc-reactions--comment) > .pgc-who { flex: 1 0 100% !important; width: 100% !important; margin: 2px 0 0 !important; white-space: normal !important; writing-mode: horizontal-tb !important; }
	html body.pgc-style #buddypress .pgc-feedfilter { width: 100%; justify-content: space-between; flex-wrap: nowrap; }
	html body.pgc-style #buddypress .pgc-feedfilter__btn { padding: 7px 10px !important; font-size: 13px !important; flex: 1 1 auto; justify-content: center; }
	html body.pgc-style #buddypress .pgc-panel { padding: 16px; }
	html body.pgc-style #buddypress ul.pgc-media { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; }
}

/* Clearfix-Pseudoelemente von Theme/Nouveau würden sonst als leere Rasterzelle zählen */
html body.pgc-style.pgc-feed-news #buddypress ul.activity-list::before, html body.pgc-style.pgc-feed-news #buddypress ul.activity-list::after,
html body.pgc-style #buddypress ul.pgc-stats::before, html body.pgc-style #buddypress ul.pgc-stats::after,
html body.pgc-style #buddypress ul.pgc-media::before, html body.pgc-style #buddypress ul.pgc-media::after,
html body.pgc-style #buddypress dl.pgc-facts::before, html body.pgc-style #buddypress dl.pgc-facts::after,
html body.pgc-style #buddypress .pgc-columns::before, html body.pgc-style #buddypress .pgc-columns::after { content: none !important; display: none !important; }

@media (max-width: 700px) {
	/* Profil-Aktionen: drei gleich breite, kompakte Buttons in einer Zeile */
	html body.pgc-style #buddypress .pgc-profile__actions .member-header-actions,
	html body.pgc-style #buddypress .pgc-profile__actions ul {
		display: grid !important; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); overflow: visible; gap: 6px !important; width: 100%;
	}
	html body.pgc-style #buddypress .pgc-profile__actions .generic-button a,
	html body.pgc-style #buddypress .pgc-profile__actions .generic-button button,
	html body.pgc-style #buddypress .pgc-profile__actions a.button,
	html body.pgc-style #buddypress .pgc-profile__actions button {
		display: flex !important; align-items: center; justify-content: center; text-align: center; height: 100%;
		white-space: normal !important; font-size: 11.5px !important; padding: 8px 6px !important; border-radius: 12px !important;
	}
	/* Profil-Navigation: eine wischbare Zeile statt vier Reihen */
	html body.pgc-style #buddypress .pgc-profile-wrap .bp-navs:not(.bp-subnavs) ul,
	html body.pgc-style #buddypress.bp-single-vert-nav .pgc-profile-wrap .bp-navs:not(.bp-subnavs) ul {
		flex-wrap: nowrap !important; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
	}
	html body.pgc-style #buddypress .pgc-profile-wrap .bp-navs ul::-webkit-scrollbar { display: none; }
	html body.pgc-style #buddypress .pgc-profile-wrap .bp-navs:not(.bp-subnavs) li { flex: 0 0 auto !important; }
	html body.pgc-style #buddypress .pgc-profile-wrap .bp-navs li a { white-space: nowrap !important; }
}

/* =====================================================================
 * Startseite / Aktivitäts-Verzeichnis: News-Kacheln + Community-Bereich
 * ===================================================================== */
html body.pgc-hide-foreign-tiles .pix-news-tiles { display: none !important; }
html body.pgc-style #buddypress .pgc-home { margin: 0 0 8px; }
html body.pgc-style #buddypress .pgc-section-head { display: flex !important; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 0 12px; }
html body.pgc-style #buddypress .pgc-section-title {
	margin: 0 !important; padding: 0 0 0 12px !important; border: 0 !important; background: none !important; position: relative;
	font: 800 22px/1.2 var(--pgc-head) !important; color: var(--pgc-ink) !important; text-transform: none !important;
}
html body.pgc-style #buddypress .pgc-section-title::before { content: ""; position: absolute; left: 0; top: 3px; bottom: 3px; width: 4px; border-radius: 4px; background: var(--pgc-accent); }
html body.pgc-style #buddypress .pgc-section-title::after { display: none !important; }
html body.pgc-style #buddypress .pgc-section-title--feed { margin: 28px 0 14px !important; }
html body.pgc-style #buddypress .pgc-section-more { color: var(--pgc-petrol) !important; font-weight: 700; font-size: 14px; text-decoration: none !important; white-space: nowrap; }

html body.pgc-style #buddypress .pgc-news { margin: 0 0 26px; }
html body.pgc-style #buddypress .pgc-news__grid { display: grid !important; grid-template-columns: 2fr 1fr 1fr; grid-auto-rows: minmax(0, auto); gap: 14px; }
html body.pgc-style #buddypress .pgc-news__grid::before, html body.pgc-style #buddypress .pgc-news__grid::after { display: none !important; content: none !important; }
html body.pgc-style #buddypress .pgc-news__tile {
	position: relative; display: flex; flex-direction: column; overflow: hidden; margin: 0 !important; min-width: 0;
	background: var(--pgc-card); border: 1px solid var(--pgc-line); border-radius: var(--pgc-radius); box-shadow: var(--pgc-shadow); transition: transform .15s, box-shadow .15s;
}
html body.pgc-style #buddypress .pgc-news__tile:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(17, 24, 39, .12); }
html body.pgc-style #buddypress .pgc-news__media { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--pgc-night-2); }
html body.pgc-style #buddypress .pgc-news__img { display: block; width: 100% !important; height: 100% !important; object-fit: cover; margin: 0 !important; max-width: none !important; border-radius: 0 !important; }
html body.pgc-style #buddypress .pgc-news__ph { display: block; width: 100%; height: 100%; background: linear-gradient(135deg, #e8318f, #7c4dff 55%, #0ea5b7); opacity: .8; }
html body.pgc-style #buddypress .pgc-news__body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 6px; }
html body.pgc-style #buddypress .pgc-news__meta { display: flex !important; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 12px; color: var(--pgc-muted); }
html body.pgc-style #buddypress .pgc-news__cat { padding: 2px 8px; border-radius: 999px; background: var(--pgc-petrol); color: #fff; font-weight: 700; font-size: 10.5px; text-transform: uppercase; letter-spacing: .05em; }
html body.pgc-style #buddypress .pgc-news__title { margin: 0 !important; padding: 0 !important; border: 0 !important; font: 700 15px/1.35 var(--pgc-head) !important; }
html body.pgc-style #buddypress .pgc-news__title a { color: var(--pgc-ink) !important; text-decoration: none !important; }
html body.pgc-style #buddypress .pgc-news__title a::after { content: ""; position: absolute; inset: 0; } /* ganze Kachel klickbar */
html body.pgc-style #buddypress .pgc-news__excerpt { margin: 0 !important; color: #4b5563; font-size: 14px; line-height: 1.5; }
/* Große Kachel: Bild füllt, Text als Overlay */
html body.pgc-style #buddypress .pgc-news__tile.is-big { grid-row: span 2; background: var(--pgc-night); border-color: transparent; }
html body.pgc-style #buddypress .pgc-news__tile.is-big .pgc-news__media { position: absolute; inset: 0; aspect-ratio: auto; }
html body.pgc-style #buddypress .pgc-news__tile.is-big .pgc-news__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16, 21, 31, 0) 30%, rgba(16, 21, 31, .92)); }
html body.pgc-style #buddypress .pgc-news__tile.is-big .pgc-news__body { position: relative; margin-top: auto; padding: 120px 20px 20px; min-height: 100%; justify-content: flex-end; }
html body.pgc-style #buddypress .pgc-news__tile.is-big .pgc-news__title { font-size: 24px !important; line-height: 1.2 !important; }
html body.pgc-style #buddypress .pgc-news__tile.is-big .pgc-news__title a { color: #fff !important; }
html body.pgc-style #buddypress .pgc-news__tile.is-big .pgc-news__meta { color: #cbd5e1; }
html body.pgc-style #buddypress .pgc-news__tile.is-big .pgc-news__excerpt { color: #e5e7eb; }
html body.pgc-style #buddypress .pgc-news__tile.is-big .pgc-news__cat { background: var(--pgc-pink); }

html body.pgc-style #buddypress .pgc-community { margin: 0 0 8px; }
html body.pgc-style #buddypress .pgc-community__grid { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; align-items: start; }
html body.pgc-style #buddypress .pgc-community__grid::before, html body.pgc-style #buddypress .pgc-community__grid::after { display: none !important; content: none !important; }
html body.pgc-style #buddypress .pgc-community__grid .pgc-mw { margin: 0; height: 100%; }

@media (max-width: 991px) {
	html body.pgc-style #buddypress .pgc-news__grid { grid-template-columns: 1fr 1fr; }
	html body.pgc-style #buddypress .pgc-news__tile.is-big { grid-column: 1 / -1; grid-row: auto; min-height: 320px; }
}
@media (max-width: 560px) {
	html body.pgc-style #buddypress .pgc-news__grid { display: flex !important; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; padding-bottom: 6px; scrollbar-width: none; }
	html body.pgc-style #buddypress .pgc-news__tile { flex: 0 0 72%; scroll-snap-align: start; }
	html body.pgc-style #buddypress .pgc-news__tile.is-big { flex: 0 0 88%; min-height: 300px; }
	html body.pgc-style #buddypress .pgc-news__tile.is-big .pgc-news__title { font-size: 20px !important; }
	html body.pgc-style #buddypress .pgc-section-title { font-size: 19px !important; }
	html body.pgc-style #buddypress .pgc-community__grid { grid-template-columns: 1fr; }
}

/* Modus „Nur News“: Kacheln oben ausblenden, Stream zeigt alle Beiträge (keine Dubletten) */
body.pgc-feed-news .pgc-home .pgc-news{display:none}
html body.pgc-style #buddypress ul.pgc-who__list > li > a { flex: 1 1 auto; justify-content: flex-start !important; text-align: left !important; }
html body.pgc-style #buddypress ul.pgc-who__list > li { text-align: left !important; }

/* =====================================================================
   1.4.2 – Feed-Kopf im App-Stil (Mobil zuerst) + saubere Avatar-Spalten
   ===================================================================== */
html body.pgc-style #buddypress { --pgc-av: 48px; --pgc-av-c: 36px; --pgc-neon: 0 0 0 1px rgba(124,77,255,.35), 0 0 18px rgba(14,165,183,.18); }

/* --- Post-Kasten: eine Karte, Avatar links neben dem Feld --- */
html body.pgc-style #buddypress #bp-nouveau-activity-form,
html body.pgc-style #buddypress .activity-update-form {
	border: 0 !important; box-shadow: none !important; background: transparent !important; padding: 0 !important; margin: 0 0 14px !important; float: none !important; width: auto !important;
}
html body.pgc-style #buddypress #whats-new-form {
	display: grid !important; grid-template-columns: 40px minmax(0, 1fr); gap: 10px 12px; align-items: start;
	background: var(--pgc-card) !important; border: 1px solid var(--pgc-line) !important; border-radius: 18px !important;
	box-shadow: var(--pgc-shadow) !important; padding: 12px !important; margin: 0 !important; position: relative; overflow: hidden;
}
html body.pgc-style #buddypress #whats-new-form::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--pgc-accent); opacity: .85; }
html body.pgc-style #buddypress #whats-new-form::after { content: none !important; display: none !important; }
html body.pgc-style #buddypress #whats-new-form:focus-within { box-shadow: var(--pgc-shadow), var(--pgc-neon) !important; border-color: transparent !important; }
html body.pgc-style #buddypress #whats-new-avatar {
	grid-column: 1; grid-row: 1; float: none !important; width: 40px !important; height: 40px; margin: 0 !important; padding: 0 !important; text-align: left !important; display: block !important;
}
html body.pgc-style #buddypress #whats-new-avatar img.avatar { width: 40px !important; height: 40px !important; max-width: none !important; border-radius: 50% !important; margin: 0 !important; display: block; box-shadow: 0 0 0 2px #fff, 0 0 0 4px rgba(124,77,255,.35); }
html body.pgc-style #buddypress #whats-new-content {
	grid-column: 2; grid-row: 1; float: none !important; width: auto !important; margin: 0 !important; padding: 0 !important; min-width: 0;
}
html body.pgc-style #buddypress #whats-new-form > *:not(#whats-new-avatar):not(#whats-new-content) { grid-column: 1 / -1; min-width: 0; }
html body.pgc-style #buddypress #whats-new-textarea { margin: 0 !important; padding: 0 !important; border: 0 !important; background: none !important; }
html body.pgc-style #buddypress #whats-new-form textarea#whats-new,
html body.pgc-style #buddypress #whats-new-textarea textarea {
	display: block; width: 100% !important; min-height: 40px !important; height: 40px; padding: 9px 16px !important; margin: 0 !important; box-sizing: border-box;
	border: 1px solid var(--pgc-line) !important; border-radius: 20px !important; background: var(--pgc-soft) !important; box-shadow: none !important;
	font: 15px/1.4 var(--pgc-font) !important; color: var(--pgc-text) !important; resize: none; transition: border-color .15s, background .15s;
}
html body.pgc-style #buddypress #whats-new-form textarea#whats-new:focus { background: #fff !important; border-color: var(--pgc-violet) !important; outline: none !important; }
html body.pgc-style #buddypress #whats-new-form.focus-in textarea#whats-new,
html body.pgc-style #buddypress #whats-new-form textarea#whats-new:not(:placeholder-shown) { height: auto; min-height: 88px !important; border-radius: 14px !important; }
html body.pgc-style #buddypress #whats-new-options,
html body.pgc-style #buddypress #whats-new-toolbar,
html body.pgc-style #buddypress #whats-new-submit { margin: 8px 0 0 !important; padding: 0 !important; float: none !important; border: 0 !important; background: none !important; }
html body.pgc-style #buddypress #whats-new-submit { display: flex !important; justify-content: flex-end; gap: 8px; }
html body.pgc-style #buddypress #aw-whats-new-submit { padding: 8px 18px !important; font-size: 14px !important; border-radius: 999px !important; }

/* --- Tabs: eine wischbare Pillen-Leiste --- */
html body.pgc-style #buddypress .activity-type-navs { margin: 0 0 10px !important; padding: 0 !important; background: none !important; border: 0 !important; }
html body.pgc-style #buddypress .activity-type-navs ul.activity-nav,
html body.pgc-style #buddypress .activity-type-navs > ul {
	display: flex !important; flex-wrap: nowrap !important; gap: 6px; overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch; scrollbar-width: none;
	margin: 0 !important; padding: 2px 2px 4px !important; list-style: none; scroll-snap-type: x proximity;
}
html body.pgc-style #buddypress .activity-type-navs ul::-webkit-scrollbar { display: none; }
html body.pgc-style #buddypress .activity-type-navs ul > li { flex: 0 0 auto !important; float: none !important; margin: 0 !important; padding: 0 !important; width: auto !important; border: 0 !important; scroll-snap-align: start; }
html body.pgc-style #buddypress .activity-type-navs ul > li > a {
	display: inline-flex !important; align-items: center; gap: 6px; white-space: nowrap !important; padding: 7px 14px !important; border-radius: 999px !important;
	font-size: 13px !important; line-height: 1.2 !important; font-weight: 700; background: var(--pgc-card) !important; color: var(--pgc-text) !important; border: 1px solid var(--pgc-line) !important; text-decoration: none !important;
}
html body.pgc-style #buddypress .activity-type-navs ul > li.selected > a,
html body.pgc-style #buddypress .activity-type-navs ul > li.current > a { background: var(--pgc-night) !important; color: #fff !important; border-color: transparent !important; box-shadow: 0 0 0 1px rgba(124,77,255,.45), 0 0 12px rgba(124,77,255,.25); }
html body.pgc-style #buddypress .activity-type-navs ul > li > a .count {
	display: inline-block; min-width: 18px; padding: 1px 6px !important; border-radius: 999px; font-size: 11px !important; line-height: 1.4; text-align: center; background: var(--pgc-soft) !important; color: var(--pgc-muted) !important; border: 0 !important; margin: 0 !important;
}
html body.pgc-style #buddypress .activity-type-navs ul > li > a .count:empty { display: none !important; }
html body.pgc-style #buddypress .activity-type-navs ul > li.selected > a .count { background: rgba(255,255,255,.15) !important; color: #fff !important; }

/* --- RSS + Suche (+ Dropdown) in einer kompakten Zeile --- */
html body.pgc-style #buddypress #subnav-filters,
html body.pgc-style #buddypress .subnav-filters {
	display: flex !important; flex-direction: row !important; flex-wrap: nowrap !important; align-items: center !important; gap: 8px; margin: 0 0 10px !important; padding: 0 !important; background: none !important; border: 0 !important;
}
html body.pgc-style #buddypress .subnav-filters::before, html body.pgc-style #buddypress .subnav-filters::after,
html body.pgc-style #buddypress .subnav-search::before, html body.pgc-style #buddypress .subnav-search::after { content: none !important; display: none !important; }
html body.pgc-style #buddypress .subnav-filters .subnav-search { display: flex !important; align-items: center; gap: 8px; flex: 1 1 auto; min-width: 0; margin: 0 !important; padding: 0 !important; float: none !important; width: auto !important; }
html body.pgc-style #buddypress .subnav-filters .feed { flex: 0 0 auto; float: none !important; margin: 0 !important; padding: 0 !important; order: 2; }
html body.pgc-style #buddypress .subnav-filters .feed a {
	display: inline-flex !important; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: var(--pgc-card); border: 1px solid var(--pgc-line); color: var(--pgc-pink) !important; text-decoration: none !important; padding: 0 !important; margin: 0 !important;
}
html body.pgc-style #buddypress .subnav-filters .feed a::before { margin: 0 !important; font-size: 16px; line-height: 1; }
html body.pgc-style #buddypress .subnav-filters .dir-search { flex: 1 1 auto; min-width: 0; margin: 0 !important; padding: 0 !important; float: none !important; width: auto !important; order: 1; }
html body.pgc-style #buddypress .subnav-filters .bp-dir-search-form { position: relative; display: block !important; width: 100% !important; margin: 0 !important; padding: 0 !important; border: 0 !important; background: none !important; box-shadow: none !important; }
html body.pgc-style #buddypress .subnav-filters .bp-dir-search-form input[type="search"],
html body.pgc-style #buddypress .subnav-filters .bp-dir-search-form input[type="text"] {
	width: 100% !important; height: 38px !important; min-height: 0 !important; margin: 0 !important; padding: 0 14px 0 38px !important; box-sizing: border-box;
	border: 1px solid var(--pgc-line) !important; border-radius: 999px !important; background: var(--pgc-card) !important; box-shadow: none !important; font-size: 14px !important; color: var(--pgc-text) !important;
}
html body.pgc-style #buddypress .subnav-filters .bp-dir-search-form input:focus { border-color: var(--pgc-violet) !important; box-shadow: var(--pgc-neon) !important; outline: none !important; }
html body.pgc-style #buddypress .subnav-filters .bp-dir-search-form .nouveau-search-submit,
html body.pgc-style #buddypress .subnav-filters .bp-dir-search-form button[type="submit"] {
	position: absolute !important; left: 4px !important; right: auto !important; top: 4px !important; bottom: auto !important; transform: none !important; float: none !important; width: 30px !important; height: 30px !important; min-height: 0 !important; padding: 0 !important; margin: 0 !important;
	border: 0 !important; border-radius: 50% !important; background: transparent !important; color: var(--pgc-muted) !important; box-shadow: none !important; display: inline-flex !important; align-items: center; justify-content: center;
}
html body.pgc-style #buddypress .subnav-filters .bp-dir-search-form .nouveau-search-submit .dashicons { font-size: 17px; width: 17px; height: 17px; line-height: 1; color: inherit !important; }
html body.pgc-style #buddypress .subnav-filters .bp-dir-search-form .nouveau-search-submit:hover { color: var(--pgc-violet) !important; }
html body.pgc-style #buddypress #dir-filters,
html body.pgc-style #buddypress .subnav-filters .component-filters { flex: 0 0 auto; margin: 0 !important; padding: 0 !important; float: none !important; width: auto !important; }
html body.pgc-style #buddypress .subnav-filters .component-filters select { height: 38px !important; border-radius: 999px !important; padding: 0 30px 0 12px !important; font-size: 13px !important; }
/* Unsere Filter-Pillen ersetzen das BP-Dropdown im Aktivitätsverzeichnis (Filter pgc_feed_hide_bp_select) */
html body.pgc-style.pgc-has-feedfilter #buddypress #dir-filters,
html body.pgc-style.pgc-has-feedfilter #buddypress #activity-filter-select { display: none !important; }

/* Filter-Pillen kompakt, Neon-Aktivzustand */
html body.pgc-style #buddypress .pgc-feedfilter { margin: 0 0 14px !important; }
html body.pgc-style #buddypress .pgc-feedfilter__btn.is-active { box-shadow: 0 0 0 1px rgba(124,77,255,.45), 0 0 12px rgba(124,77,255,.25) !important; }

/* --- Feed-Einträge: feste Avatar-Spalte links, Inhalt rechts (alle Breiten) --- */
html body.pgc-style #buddypress ul.activity-list > li.activity-item {
	display: grid !important; grid-template-columns: var(--pgc-av) minmax(0, 1fr) !important; column-gap: 12px !important; row-gap: 0 !important; align-items: start !important; position: relative;
}
html body.pgc-style #buddypress ul.activity-list > li.activity-item::before,
html body.pgc-style #buddypress ul.activity-list > li.activity-item::after { content: none !important; display: none !important; }
html body.pgc-style #buddypress ul.activity-list > li.activity-item > .activity-avatar,
html body.pgc-style #buddypress ul.activity-list li.pgc-is-post > .activity-avatar {
	grid-column: 1 !important; grid-row: 1 / span 3; position: static !important; float: none !important; width: var(--pgc-av) !important; margin: 0 !important; padding: 0 !important; left: auto !important; top: auto !important; transform: none !important;
}
html body.pgc-style #buddypress ul.activity-list > li.activity-item > .activity-avatar a { display: block; width: var(--pgc-av); }
html body.pgc-style #buddypress ul.activity-list > li.activity-item > .activity-avatar img.avatar {
	width: var(--pgc-av) !important; height: var(--pgc-av) !important; max-width: none !important; margin: 0 !important; border-radius: 50% !important; float: none !important; display: block; position: static !important;
}
html body.pgc-style #buddypress ul.activity-list > li.activity-item > .activity-content {
	grid-column: 2 !important; grid-row: 1; min-width: 0 !important; width: auto !important; margin: 0 !important; padding: 0 !important; float: none !important; position: static !important; overflow-wrap: anywhere;
}
html body.pgc-style #buddypress ul.activity-list > li.activity-item > *:not(.activity-avatar):not(.activity-content) { grid-column: 2 !important; min-width: 0; margin-left: 0 !important; }
html body.pgc-style #buddypress ul.activity-list .activity-header,
html body.pgc-style #buddypress ul.activity-list li.pgc-is-post .activity-header {
	margin: 0 0 8px !important; padding: 0 !important; min-height: 0 !important; line-height: 1.4 !important; font-size: 14px !important; color: var(--pgc-muted); overflow-wrap: anywhere;
}
html body.pgc-style #buddypress ul.activity-list .activity-header p { margin: 0 !important; padding: 0 !important; }
html body.pgc-style #buddypress ul.activity-list .activity-header img.avatar { width: 18px !important; height: 18px !important; vertical-align: -4px; margin: 0 2px !important; border-radius: 50%; display: inline-block; }
html body.pgc-style #buddypress ul.activity-list .activity-header a.activity-time-since,
html body.pgc-style #buddypress ul.activity-list .activity-header a.view { display: block !important; margin-top: 2px; font-size: 12px !important; color: #9aa1ad !important; font-weight: 400 !important; text-decoration: none !important; }
html body.pgc-style #buddypress ul.activity-list .activity-header a.activity-time-since .time-since { font-size: 12px !important; color: inherit !important; }

/* Kommentare: kleine Avatar-Spalte links, Inhalt rechts */
html body.pgc-style #buddypress .activity-comments { margin: 8px 0 0 !important; padding: 0 !important; }
html body.pgc-style #buddypress .activity-comments ul { margin: 0 !important; padding: 0 !important; list-style: none; }
html body.pgc-style #buddypress .activity-comments ul ul { margin: 6px 0 0 !important; padding: 0 0 0 12px !important; border-left: 2px solid var(--pgc-line); }
html body.pgc-style #buddypress .activity-comments li[id^="acomment-"] {
	display: grid !important; grid-template-columns: var(--pgc-av-c) minmax(0, 1fr) !important; column-gap: 10px !important; row-gap: 4px; align-items: start; margin: 0 0 10px !important; padding: 0 !important; border: 0 !important; float: none !important; position: relative;
}
html body.pgc-style #buddypress .activity-comments li[id^="acomment-"]::before,
html body.pgc-style #buddypress .activity-comments li[id^="acomment-"]::after { content: none !important; display: none !important; }
html body.pgc-style #buddypress .activity-comments li[id^="acomment-"] > .acomment-avatar {
	grid-column: 1 !important; grid-row: 1 / span 4; float: none !important; width: var(--pgc-av-c) !important; margin: 0 !important; padding: 0 !important; position: static !important;
}
html body.pgc-style #buddypress .activity-comments li[id^="acomment-"] > .acomment-avatar img.avatar { width: var(--pgc-av-c) !important; height: var(--pgc-av-c) !important; max-width: none !important; margin: 0 !important; border-radius: 50% !important; float: none !important; display: block; }
html body.pgc-style #buddypress .activity-comments li[id^="acomment-"] > *:not(.acomment-avatar) {
	grid-column: 2 !important; min-width: 0; margin-left: 0 !important; padding-left: 0 !important; float: none !important; width: auto !important;
}
html body.pgc-style #buddypress .activity-comments .acomment-meta { font-size: 13px !important; line-height: 1.35 !important; color: var(--pgc-muted); margin: 0 !important; overflow-wrap: anywhere; }
html body.pgc-style #buddypress .activity-comments .acomment-meta .activity-time-since,
html body.pgc-style #buddypress .activity-comments .acomment-meta .time-since { font-size: 11.5px !important; color: #9aa1ad !important; }
html body.pgc-style #buddypress .activity-comments .acomment-content { margin: 0 !important; }
html body.pgc-style #buddypress .activity-comments .acomment-options { display: flex !important; flex-wrap: wrap; align-items: center; justify-content: flex-start !important; gap: 6px; margin: 4px 0 0 !important; text-align: left !important; }
html body.pgc-style #buddypress .activity-comments form.ac-form { grid-column: 1 / -1; }

@media (max-width: 700px) {
	html body.pgc-style #buddypress { --pgc-av: 40px; --pgc-av-c: 30px; }
	html body.pgc-style #buddypress ul.activity-list > li.activity-item { column-gap: 10px !important; padding: 14px 12px !important; }
	html body.pgc-style #buddypress ul.activity-list .activity-header { font-size: 13.5px !important; }
	html body.pgc-style #buddypress .pgc-feedfilter { width: 100%; }
}
@media (max-width: 380px) {
	html body.pgc-style #buddypress .subnav-filters .feed a { width: 34px; height: 34px; }
}

/* 1.4.2 – Kommentar-Aktionen umbrechen statt seitlich scrollen; Suche nutzt volle Breite. */
html body.pgc-style #buddypress .activity-comments li[id^="acomment-"] > .activity-meta.action,
html body.pgc-style #buddypress .activity-comments li[id^="acomment-"] > .acomment-options {
	display: flex !important; flex-wrap: wrap !important; align-items: center; justify-content: flex-start !important; gap: 6px !important;
	overflow: visible !important; width: auto !important; max-width: 100%; margin: 6px 0 0 !important; padding: 0 !important; text-align: left !important; border: 0 !important;
}
html body.pgc-style #buddypress .activity-comments li[id^="acomment-"] > .activity-meta.action > .generic-button { flex: 0 0 auto; margin: 0 !important; }
html body.pgc-style #buddypress .activity-comments li[id^="acomment-"] > .activity-meta.action > .pgc-reactions { flex: 1 1 100%; min-width: 0; margin: 2px 0 0 !important; justify-content: flex-start !important; }
html body.pgc-style #buddypress .activity-comments li[id^="acomment-"] .pgc-who { flex: 1 1 100%; margin-left: 0 !important; }
html body.pgc-style #buddypress .subnav-filters .dir-search,
html body.pgc-style #buddypress .subnav-filters .bp-dir-search-form,
html body.pgc-style #buddypress .subnav-filters .bp-dir-search-form input { max-width: none !important; }
html body.pgc-style #buddypress .activity-comments .pgc-who, html body.pgc-style #buddypress .activity-comments .pgc-who summary { white-space: normal !important; overflow: visible !important; text-overflow: clip !important; max-width: 100% !important; }

/* 1.5.0 – Admin-Umschalter „Verifizieren“ im Profilkopf */
html body.pgc-style #buddypress .pgc-profile__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
html body.pgc-style #buddypress .pgc-profile__actions .pgc-verify-toggle {
	display: inline-flex !important; align-items: center; gap: 6px; height: 34px !important; min-height: 0 !important; margin: 0 !important; padding: 0 14px !important;
	border-radius: 999px !important; border: 1px solid #1d9bf0 !important; background: rgba(29,155,240,.14) !important; color: #fff !important;
	font-size: 13px !important; font-weight: 700 !important; line-height: 1 !important; text-transform: none !important; letter-spacing: 0 !important; box-shadow: none !important; cursor: pointer; width: auto !important;
}
html body.pgc-style #buddypress .pgc-profile__actions .pgc-verify-toggle:hover { background: rgba(29,155,240,.3) !important; }
html body.pgc-style #buddypress .pgc-profile__actions .pgc-verify-toggle.is-on { background: #1d9bf0 !important; color: #fff !important; }
html body.pgc-style #buddypress .pgc-profile__actions .pgc-verify-toggle.is-on:hover { background: #1a8cd8 !important; }
html body.pgc-style #buddypress .pgc-profile__name .pgc-verified { font-size: .78em !important; margin-left: .3em; }
html body.pgc-style #buddypress .pgc-profile__name .pgc-verified { white-space: nowrap; }
@media (min-width: 701px) { html body.pgc-style #buddypress .pgc-profile__actions { max-width: 52%; justify-content: flex-end; } }
@media (max-width: 700px) { html body.pgc-style #buddypress .pgc-profile__actions { justify-content: center; } }
