/*
 * Prospector's Premium Homepage
 * Scope every visual rule beneath .pph-home so Youzify and Blocksy remain untouched elsewhere.
 */

.pph-editor-placeholder {
	padding: 24px;
	border: 1px solid #c9a600;
	background: #111820;
	color: #fff;
}

.pph-home {
	--pph-gold: #ffd400;
	--pph-gold-2: #e3b400;
	--pph-bg: #081018;
	--pph-panel: rgba(10, 18, 27, 0.96);
	--pph-panel-2: rgba(16, 27, 39, 0.96);
	--pph-line: rgba(255, 212, 0, 0.23);
	--pph-line-soft: rgba(134, 166, 198, 0.16);
	--pph-text: #f5f8fb;
	--pph-muted: #9eadbb;
	--pph-blue: #2eb8ff;
	--pph-green: #36d97e;
	--pph-red: #ef5350;
	--pph-radius: 11px;
	--pph-shadow: 0 18px 50px rgba(0,0,0,.34);
	box-sizing: border-box;
	color: var(--pph-text);
	font-family: Verdana, Arial, sans-serif;
	margin-top: 2px;
}

.pph-home *, .pph-home *::before, .pph-home *::after { box-sizing: border-box; }

.pph-home.pph-breakout,
.pph-home {
	width: 100%;
	max-width: 100%;
	position: relative;
	left: auto;
	margin-left: 0;
	margin-right: 0;
	transform: none;
}

/*
 * v1.2+: the homepage deliberately inherits the width of its WordPress/Blocksy
 * content container. Change the site/page content width and this layout follows it.
 */

.pph-banners { margin-bottom: 18px; }
.pph-banners .pgub-wrap, .pph-banners .prospector-upcoming-banners { max-width: none !important; }

.pph-masthead {
	display: grid;
	grid-template-columns: auto 1fr auto auto;
	align-items: center;
	gap: 16px;
	padding: 13px 16px;
	margin: 0 0 18px;
	border: 1px solid var(--pph-line);
	border-radius: var(--pph-radius);
	background:
		linear-gradient(105deg, rgba(255,212,0,.08), rgba(22,43,62,.52) 45%, rgba(4,10,16,.88)),
		var(--pph-panel);
	box-shadow: var(--pph-shadow);
	overflow: hidden;
	position: relative;
}
.pph-masthead::after {
	content: "";
	position: absolute;
	right: 14%; top: -70px;
	width: 190px; height: 190px;
	background: radial-gradient(circle, rgba(255,212,0,.11), transparent 68%);
	pointer-events: none;
}
.pph-masthead-mark {
	width: 42px; height: 42px;
	display: grid; place-items: center;
	border-radius: 9px;
	background: linear-gradient(145deg, var(--pph-gold), #9e7300);
	color: #111;
	box-shadow: 0 0 22px rgba(255,212,0,.17);
}
.pph-masthead-mark .dashicons { font-size: 22px; width: 22px; height: 22px; }
.pph-masthead-copy { min-width: 0; }
.pph-masthead-copy span,
.pph-eyebrow {
	display: block;
	font-size: 10px;
	font-weight: 900;
	letter-spacing: .16em;
	color: var(--pph-gold);
	margin-bottom: 3px;
}
.pph-masthead-copy strong { display:block; font-size: 14px; line-height: 1.3; color: #fff; }
.pph-masthead-meta { display:flex; align-items:baseline; gap:6px; padding-right:4px; }
.pph-masthead-meta b { color:var(--pph-gold); font-size:20px; }
.pph-masthead-meta span { color:var(--pph-muted); font-size:11px; text-transform:uppercase; letter-spacing:.08em; }

.pph-grid {
	display: grid;
	grid-template-columns: 245px minmax(0, 1fr) 295px;
	gap: 18px;
	align-items: start;
}
.pph-column { min-width: 0; }
.pph-sticky-stack { position: sticky; top: 86px; display: grid; gap: 16px; }

.pph-card,
.pph-feed-shell,
.pph-feed-heading {
	border: 1px solid var(--pph-line-soft);
	background:
		linear-gradient(160deg, rgba(255,255,255,.018), transparent 38%),
		var(--pph-panel);
	box-shadow: var(--pph-shadow);
	border-radius: var(--pph-radius);
}

.pph-card { overflow: hidden; }
.pph-card-kicker {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 12px 14px;
	border-bottom: 1px solid var(--pph-line-soft);
	background: rgba(0,0,0,.16);
	font-size: 10px;
	font-weight: 900;
	letter-spacing: .12em;
	color: #d9e3ed;
}
.pph-card-kicker .dashicons { color: var(--pph-gold); font-size: 16px; width:16px; height:16px; }

.pph-profile-top { display:flex; align-items:center; gap:12px; padding:16px 14px 12px; }
.pph-avatar {
	width: 68px; height:68px; flex:0 0 68px;
	border-radius:50%; padding:3px;
	background: linear-gradient(145deg, var(--pph-gold), #6b4d00);
	box-shadow: 0 0 0 3px rgba(255,212,0,.08), 0 8px 24px rgba(0,0,0,.35);
}
.pph-avatar img { width:100% !important; height:100% !important; object-fit:cover; border-radius:50%; display:block; border:2px solid #101720; }
.pph-profile-meta { min-width:0; }
.pph-profile-meta strong { display:block; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; font-size:15px; color:#fff; }
.pph-online { display:inline-flex; align-items:center; gap:5px; margin-top:5px; font-size:11px; color:#a8bac7; }
.pph-online i { width:7px; height:7px; background:var(--pph-green); border-radius:50%; box-shadow:0 0 8px rgba(54,217,126,.55); }
.pph-profile-stats { display:grid; grid-template-columns:1fr 1fr; gap:1px; margin:0 14px 12px; background:var(--pph-line-soft); border:1px solid var(--pph-line-soft); border-radius:8px; overflow:hidden; }
.pph-profile-stats > div { padding:9px 8px; text-align:center; background:#0d1721; }
.pph-profile-stats strong { display:block; color:var(--pph-gold); font-size:14px; }
.pph-profile-stats span { display:block; color:var(--pph-muted); font-size:9px; text-transform:uppercase; letter-spacing:.07em; margin-top:2px; }

.pph-member-nav { padding: 0 8px 10px; }
.pph-member-nav a {
	display:grid; grid-template-columns:22px 1fr auto; align-items:center; gap:7px;
	min-height:39px; padding:7px 8px;
	border-radius:7px; color:#d7e0e8; text-decoration:none !important;
	font-size:12px; font-weight:700;
	transition: background .18s ease, color .18s ease, transform .18s ease;
}
.pph-member-nav a:hover { background:rgba(255,212,0,.075); color:#fff; transform:translateX(2px); }
.pph-nav-icon { color:#8da1b2; font-size:17px !important; width:17px !important; height:17px !important; }
.pph-member-nav a:hover .pph-nav-icon { color:var(--pph-gold); }
.pph-member-nav b { min-width:20px; padding:2px 5px; border-radius:999px; background:#bd2b2b; color:#fff; font-size:9px; text-align:center; }

.pph-guest-card { padding-bottom:14px; }
.pph-guest-icon { width:58px; height:58px; display:grid; place-items:center; margin:18px auto 10px; border-radius:50%; background:rgba(255,212,0,.1); border:1px solid var(--pph-line); color:var(--pph-gold); }
.pph-guest-icon .dashicons { font-size:28px; width:28px; height:28px; }
.pph-guest-card h3 { margin:0 16px 8px; text-align:center; font-size:16px; color:#fff; }
.pph-guest-card p { margin:0 16px 15px; text-align:center; font-size:11px; line-height:1.55; color:var(--pph-muted); }
.pph-guest-actions { display:grid; gap:8px; padding:0 14px; }

.pph-button {
	display:inline-flex; align-items:center; justify-content:center;
	min-height:38px; padding:8px 13px;
	border-radius:6px; text-decoration:none !important;
	font-size:11px; font-weight:900; letter-spacing:.025em;
	transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.pph-button:hover { transform:translateY(-1px); }
.pph-button-primary { background:linear-gradient(180deg,#ffe24a,var(--pph-gold-2)); color:#141414 !important; border:1px solid #ffec7a; box-shadow:0 8px 20px rgba(255,212,0,.1); }
.pph-button-ghost { color:#e7eef5 !important; border:1px solid var(--pph-line-soft); background:rgba(255,255,255,.03); }
.pph-button-ghost:hover { border-color:var(--pph-line); }

.pph-quick-list { padding:7px; }
.pph-quick-list a { display:grid; grid-template-columns:22px 1fr auto; gap:7px; align-items:center; min-height:39px; padding:7px 8px; border-radius:7px; color:#d7e0e8; text-decoration:none !important; font-size:11px; font-weight:700; }
.pph-quick-list a:hover { background:rgba(46,184,255,.06); color:#fff; }
.pph-quick-list .dashicons { color:var(--pph-gold); font-size:16px; width:16px; height:16px; }
.pph-quick-list i { color:#687b8d; font-style:normal; font-size:19px; }

.pph-feed-heading { display:flex; justify-content:space-between; gap:16px; align-items:flex-start; padding:15px 17px; margin-bottom:10px; }
.pph-feed-heading h2 { margin:0 0 3px !important; color:#fff !important; font-size:23px !important; line-height:1.1 !important; font-weight:900 !important; letter-spacing:.01em; }
.pph-feed-heading p { margin:0 !important; color:var(--pph-muted); font-size:11px; line-height:1.45; }
.pph-live-pill { display:inline-flex; align-items:center; gap:6px; flex:0 0 auto; margin-top:3px; border:1px solid rgba(54,217,126,.23); background:rgba(54,217,126,.07); color:#7df0a9; border-radius:999px; padding:5px 9px; font-size:9px; font-weight:900; letter-spacing:.12em; }
.pph-live-pill span { width:6px; height:6px; border-radius:50%; background:var(--pph-green); box-shadow:0 0 8px rgba(54,217,126,.7); }

.pph-feed-shell { overflow:hidden; padding:10px; }
.pph-feed-shell > .youzify-activity-shortcode { margin:0 !important; max-width:none !important; }

/* Youzify: homepage-only visual integration. */
.pph-home .youzify-activity-shortcode,
.pph-home .youzify-activity-shortcode #youzify,
.pph-home .youzify-activity-shortcode #youzify-bp,
.pph-home .youzify-activity-shortcode .youzify-content,
.pph-home .youzify-activity-shortcode .youzify-page-main-content,
.pph-home .youzify-activity-shortcode .youzify-main-column,
.pph-home .youzify-activity-shortcode .youzify-column-content {
	width:100% !important;
	max-width:none !important;
	margin:0 !important;
	padding-left:0 !important;
	padding-right:0 !important;
	background:transparent !important;
}
.pph-home .youzify-activity-shortcode .youzify-page-main-content { float:none !important; }
.pph-home .youzify-activity-shortcode .youzify-wall-right-sidebar,
.pph-home .youzify-activity-shortcode .youzify-wall-left-sidebar { grid-template-columns:1fr !important; display:block !important; }
.pph-home .youzify-activity-shortcode .youzify-sidebar { display:none !important; }

.pph-home #youzify-wall-form {
	margin:0 0 11px !important;
	border:1px solid var(--pph-line-soft) !important;
	border-radius:9px !important;
	background:#0e1720 !important;
	box-shadow:none !important;
	overflow:hidden;
}
.pph-home #youzify-wall-form .youzify-wall-options { background:rgba(0,0,0,.16) !important; border-bottom:1px solid var(--pph-line-soft) !important; padding:7px 8px 0 !important; }
.pph-home #youzify-wall-form .youzify-wall-opts-item label { background:#18232e !important; color:#aebbc7 !important; border-radius:5px !important; margin:0 4px 7px 0 !important; min-height:34px; }
.pph-home #youzify-wall-form .youzify-wall-opts-item input:checked + label,
.pph-home #youzify-wall-form .youzify-wall-opts-item label:hover { background:rgba(255,212,0,.13) !important; color:var(--pph-gold) !important; }
.pph-home #youzify-wall-form .youzify-wall-content { background:#101a24 !important; min-height:120px; }
.pph-home #youzify-wall-form .youzify-wall-textarea { color:#f1f5f8 !important; background:transparent !important; }
.pph-home #youzify-wall-form .youzify-wall-textarea::placeholder { color:#708090 !important; }
.pph-home #youzify-wall-form .youzify-wall-actions { background:#0b141d !important; border-top:1px solid var(--pph-line-soft) !important; }
.pph-home #youzify-wall-form .youzify-wall-post { background:var(--pph-gold) !important; color:#151515 !important; font-weight:900 !important; border-radius:5px !important; }
.pph-home #youzify-wall-form .youzify-wall-post:hover { background:#ffe35a !important; }

.pph-home #youzify-wall-nav { margin:0 0 10px !important; border:1px solid var(--pph-line-soft) !important; border-radius:8px !important; overflow:hidden; background:#0d1721 !important; }
.pph-home #youzify-wall-nav .item-list-tabs { background:transparent !important; }
.pph-home #youzify-wall-nav a { color:#aebbc7 !important; }
.pph-home #youzify-wall-nav li.selected > a,
.pph-home #youzify-wall-nav a:hover { color:var(--pph-gold) !important; }
.pph-home #youzify-wall-nav li.selected { border-color:var(--pph-gold) !important; }

.pph-home #activity-stream > li.activity-item,
.pph-home ul.activity-list > li.activity-item {
	border:1px solid var(--pph-line-soft) !important;
	border-radius:9px !important;
	background:#0e1822 !important;
	box-shadow:none !important;
	margin-bottom:11px !important;
	overflow:visible;
}
.pph-home .activity-list .activity-content { color:#dfe7ee !important; }
.pph-home .activity-list .activity-header p,
.pph-home .activity-list .activity-header a { color:#cbd7e0; }
.pph-home .activity-list .activity-header a:first-child { color:#fff !important; font-weight:800; }
.pph-home .activity-list .activity-time-since { color:#718394 !important; }
.pph-home .activity-list .activity-inner { color:#d7e0e8 !important; }
.pph-home .activity-list .activity-meta { border-top-color:var(--pph-line-soft) !important; }
.pph-home .activity-list .activity-meta a { color:#9dafbd !important; }
.pph-home .activity-list .activity-meta a:hover { color:var(--pph-gold) !important; }
.pph-home .youzify-wall-new-post { border-color:var(--pph-line-soft) !important; background:#0a131c !important; }
.pph-home .youzify-wall-new-post .youzify-post-title a { color:#fff !important; }
.pph-home .youzify-wall-new-post .youzify-post-excerpt { color:#aebbc7 !important; }
.pph-home .youzify-wall-new-post .youzify-post-more-button { background:var(--pph-gold) !important; color:#151515 !important; }
.pph-home .activity-list li.load-more { border:1px solid var(--pph-line-soft) !important; background:#0d1721 !important; border-radius:8px !important; }
.pph-home .activity-list li.load-more a { color:var(--pph-gold) !important; }
.pph-home .youzify-no-content { background:#0e1822 !important; border-radius:9px; color:var(--pph-muted) !important; }

.pph-card-title-row { display:flex; align-items:center; justify-content:space-between; border-bottom:1px solid var(--pph-line-soft); background:rgba(0,0,0,.16); }
.pph-card-title-row .pph-card-kicker { border:0; background:transparent; }
.pph-card-title-row > a { padding:0 13px; color:var(--pph-gold); font-size:9px; font-weight:900; text-decoration:none !important; text-transform:uppercase; }
.pph-article-list { padding:8px; }
.pph-article-item { display:grid; grid-template-columns:62px 1fr; gap:9px; align-items:center; padding:7px; border-radius:7px; color:#fff; text-decoration:none !important; }
.pph-article-item:hover { background:rgba(255,255,255,.035); }
.pph-article-thumb { width:62px; height:43px; border-radius:5px; overflow:hidden; background:#162330; display:grid; place-items:center; border:1px solid var(--pph-line-soft); }
.pph-article-thumb img { width:100%; height:100%; object-fit:cover; display:block; }
.pph-article-thumb .dashicons { color:#718394; }
.pph-article-copy { min-width:0; }
.pph-article-copy strong { display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; color:#eaf0f5; font-size:10px; line-height:1.35; }
.pph-article-copy small { display:block; margin-top:3px; color:#718394; font-size:8px; }
.pph-empty { padding:12px; color:var(--pph-muted); font-size:11px; }

.pph-community-card { padding-bottom:15px; text-align:center; }
.pph-community-number { color:var(--pph-gold); font-size:31px; line-height:1; font-weight:900; padding-top:17px; }
.pph-community-label { margin-top:4px; color:#d5dee6; font-size:10px; text-transform:uppercase; letter-spacing:.08em; font-weight:800; }
.pph-community-card p { margin:13px 16px 14px; color:var(--pph-muted); font-size:10px; line-height:1.55; }
.pph-community-actions { display:grid; grid-template-columns:1fr 1fr; gap:7px; padding:0 12px; }
.pph-community-actions a { padding:8px 6px; border:1px solid var(--pph-line-soft); border-radius:6px; color:#dce5ed; text-decoration:none !important; font-size:9px; font-weight:800; }
.pph-community-actions a:hover { border-color:var(--pph-line); color:var(--pph-gold); }

.pph-feed-fallback { text-align:center; padding:60px 22px; background:#0d1721; border-radius:8px; }
.pph-feed-fallback > .dashicons { font-size:36px; width:36px; height:36px; color:var(--pph-gold); }
.pph-feed-fallback h3 { margin:12px 0 5px; color:#fff; }
.pph-feed-fallback p { margin:0; color:var(--pph-muted); font-size:12px; }
.pph-inline-notice { border:1px dashed rgba(255,212,0,.45); background:rgba(255,212,0,.07); color:#e8d47c; padding:12px; border-radius:8px; }


/* -------------------------------------------------------------------------
 * Premium-owned Price Calculator settings (migrated from the former PCUI
 * plugin). The grid is container-driven: it adds/removes columns according to
 * the actual center-column width instead of assuming a fixed page width.
 * ------------------------------------------------------------------------- */
.pph-price-settings {
	width: 100%;
	max-width: none;
}
.pph-price-settings-header {
	margin: 0 0 18px;
	padding: 3px 4px 16px;
	border-bottom: 1px solid var(--pph-line-soft);
}
.pph-price-settings .pph-price-title {
	margin: 0 0 7px !important;
	color: #fff !important;
	font-size: clamp(22px, 2vw, 30px) !important;
	line-height: 1.15 !important;
	font-weight: 900 !important;
}
.pph-price-settings .pph-price-desc {
	margin: 0 !important;
	max-width: 980px;
	color: var(--pph-muted) !important;
	font-size: 12px;
	line-height: 1.55;
}
.pph-price-settings-form { width: 100%; }
.pph-price-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 315px), 1fr));
	gap: 14px;
	width: 100%;
}
.pph-price-category-card {
	min-width: 0;
	padding: 15px;
	border: 1px solid var(--pph-line-soft);
	border-radius: 10px;
	background: linear-gradient(155deg, rgba(255,255,255,.018), transparent 45%), #0c1721;
}
.pph-price-category-title {
	display: flex;
	align-items: center;
	gap: 9px;
	margin: 0 0 13px !important;
	padding-bottom: 11px;
	border-bottom: 1px solid var(--pph-line-soft);
	color: #fff !important;
	font-size: 15px !important;
	font-weight: 900 !important;
}
.pph-price-category-title img { width: 25px; height: 25px; object-fit: contain; }
.pph-price-category-items { display: grid; gap: 8px; }
.pph-price-item-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(92px, 112px);
	gap: 10px;
	align-items: center;
	min-width: 0;
	padding: 8px;
	border-radius: 8px;
	background: rgba(255,255,255,.022);
}
.pph-price-item-main { display: flex; align-items: center; gap: 9px; min-width: 0; }
.pph-price-item-icon {
	width: 38px;
	height: 38px;
	flex: 0 0 38px;
	border-radius: 7px;
	object-fit: contain;
	display: block;
}
.pph-price-item-icon.is-placeholder { background: rgba(255,255,255,.05); border: 1px solid var(--pph-line-soft); }
.pph-price-item-title { color: #eef4f8; font-size: 11px; font-weight: 900; line-height: 1.25; }
.pph-price-item-note { margin-top: 3px; color: #7f92a2; font-size: 9px; line-height: 1.35; }
.pph-price-item-field { min-width: 0; }
.pph-member-account .pph-price-item-field input[type="number"] {
	width: 100% !important;
	min-height: 39px;
	padding: 8px 9px !important;
	text-align: center;
	font-weight: 800;
	border-radius: 7px !important;
}
.pph-price-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 9px;
	align-items: center;
	justify-content: flex-end;
	margin-top: 14px;
	padding-top: 14px;
	border-top: 1px solid var(--pph-line-soft);
}
.pph-price-actions .button {
	min-height: 39px;
	padding: 8px 14px !important;
	border-radius: 6px !important;
	font-weight: 900 !important;
	text-decoration: none !important;
}
.pph-price-actions a.button {
	background: rgba(255,255,255,.035) !important;
	border: 1px solid var(--pph-line-soft) !important;
	color: #dce6ed !important;
}

@media (max-width: 1220px) {
	.pph-grid { grid-template-columns: 220px minmax(0, 1fr) 260px; gap:14px; }
	.pph-home.pph-breakout { width:100%; }
}

@media (max-width: 1050px) {
	.pph-grid { grid-template-columns: minmax(0,1fr) 275px; }
	.pph-left { grid-column:1 / -1; order:-1; }
	.pph-left .pph-sticky-stack { position:static; display:grid; grid-template-columns:1.35fr 1fr; }
	.pph-member-card .pph-member-nav { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); }
	.pph-member-nav a { grid-template-columns:20px 1fr auto; }
	.pph-masthead { grid-template-columns:auto 1fr auto; }
	.pph-masthead-meta { display:none; }
}

@media (max-width: 760px) {
	.pph-home.pph-breakout { width:100%; }
	.pph-grid { display:flex; flex-direction:column; gap:12px; }
	.pph-center { order:1; width:100%; }
	.pph-left { order:2; width:100%; }
	.pph-right { order:3; width:100%; }
	.pph-sticky-stack, .pph-left .pph-sticky-stack { position:static; display:grid; grid-template-columns:1fr; width:100%; }
	.pph-masthead { grid-template-columns:auto 1fr; padding:12px; }
	.pph-masthead .pph-button { grid-column:1 / -1; }
	.pph-feed-heading { padding:13px; }
	.pph-feed-heading h2 { font-size:20px !important; }
	.pph-feed-shell { padding:6px; }
	.pph-member-card .pph-member-nav { grid-template-columns:1fr 1fr; }
	.pph-card-title-row > a { padding-right:10px; }
}

@media (max-width: 440px) {
	.pph-member-card .pph-member-nav { grid-template-columns:1fr; }
	.pph-community-actions { grid-template-columns:1fr; }
	.pph-feed-heading p { display:none; }
	.pph-home #youzify-wall-form .youzify-wall-opts-item label span { display:none; }
}

/* ========================================================================== */
/* Premium Member Takeover (v1.1+)                                            */
/* ========================================================================== */

.pph-member-takeover {
	--pph-gold: #ffd400;
	--pph-gold-2: #e3b400;
	--pph-bg: #081018;
	--pph-panel: rgba(10, 18, 27, .97);
	--pph-panel-2: rgba(15, 27, 39, .98);
	--pph-line: rgba(255, 212, 0, .24);
	--pph-line-soft: rgba(134, 166, 198, .17);
	--pph-text: #f5f8fb;
	--pph-muted: #9eadbb;
	--pph-green: #36d97e;
	--pph-red: #ef5350;
	--pph-radius: 11px;
	--pph-shadow: 0 18px 50px rgba(0, 0, 0, .34);
	color: var(--pph-text);
	font-family: Verdana, Arial, sans-serif;
	box-sizing: border-box;
}
.pph-member-takeover *, .pph-member-takeover *::before, .pph-member-takeover *::after { box-sizing: border-box; }
.pph-member-takeover,
.pph-member-takeover #youzify-bp {
	width: 100%;
	max-width: 100%;
}

/*
 * Member pages are not Gutenberg pages, so simply using width:100% makes the
 * takeover fill Youzify's full viewport wrapper. Use Blocksy's own container
 * contract instead. The ct-container class on the shell is the primary source;
 * these variables are an explicit fallback and update live with Customizer
 * changes to Maximum Site Width / Content Edge Spacing.
 */
.pph-member-takeover .pph-member-wrap,
.pph-member-takeover .pph-member-wrap.pph-breakout {
	width: var(--theme-container-width, 100%);
	max-width: var(--theme-normal-container-max-width, 100%);
	margin-left: auto;
	margin-right: auto;
}
.pph-member-takeover .pph-member-wrap.pph-breakout {
	position: relative;
	transform: none;
	margin-top: 18px;
	margin-bottom: 34px;
}

.pph-member-hero {
	position: relative;
	min-height: 245px;
	border: 1px solid var(--pph-line);
	border-radius: 14px;
	overflow: hidden;
	background:
		linear-gradient(110deg, rgba(5, 11, 17, .35), rgba(5, 11, 17, .72) 48%, rgba(5, 11, 17, .95)),
		var(--pph-member-cover, linear-gradient(135deg, #12202d, #070d13 72%));
	background-size: cover;
	background-position: center;
	box-shadow: var(--pph-shadow);
	margin-bottom: 16px;
}
.pph-member-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(circle at 78% 10%, rgba(255, 212, 0, .13), transparent 34%),
		linear-gradient(180deg, transparent 34%, rgba(0, 0, 0, .42));
	pointer-events: none;
}
.pph-member-hero-shade {
	position: absolute;
	inset: auto 0 0;
	height: 58%;
	background: linear-gradient(180deg, transparent, rgba(4, 9, 14, .92));
}
.pph-member-hero-content {
	position: absolute;
	left: 24px;
	right: 24px;
	bottom: 22px;
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	gap: 18px;
	align-items: end;
	z-index: 2;
}
.pph-member-avatar-wrap { position: relative; }
.pph-member-avatar {
	width: 116px;
	height: 116px;
	padding: 4px;
	border-radius: 50%;
	background: linear-gradient(145deg, var(--pph-gold), #7a5700);
	box-shadow: 0 12px 30px rgba(0,0,0,.5), 0 0 0 5px rgba(4,9,14,.55);
}
.pph-member-avatar img {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover;
	border-radius: 50% !important;
	display: block;
	border: 2px solid #0d151e !important;
}
.pph-member-presence {
	position: absolute;
	right: 4px;
	bottom: 8px;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: #687888;
	border: 4px solid #0a121a;
}
.pph-member-presence.is-online { background: var(--pph-green); box-shadow: 0 0 12px rgba(54,217,126,.6); }
.pph-member-identity { min-width: 0; padding-bottom: 3px; }
.pph-member-identity h1 {
	margin: 1px 0 2px !important;
	color: #fff !important;
	font-size: clamp(27px, 3vw, 39px) !important;
	line-height: 1.05 !important;
	font-weight: 900 !important;
	letter-spacing: -.02em;
	text-shadow: 0 3px 18px rgba(0,0,0,.55);
}
.pph-member-handle { color: #b8c5d0; font-size: 12px; font-weight: 700; }
.pph-member-mini-stats { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 12px; }
.pph-member-mini-stats span { display: inline-flex; align-items: baseline; gap: 5px; color: #a6b5c2; font-size: 10px; text-transform: uppercase; letter-spacing: .06em; }
.pph-member-mini-stats b { color: var(--pph-gold); font-size: 14px; }
.pph-member-hero-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; align-items: center; padding-bottom: 4px; }
.pph-member-hero-actions .pph-button { gap: 7px; min-height: 40px; }
.pph-member-hero-actions .dashicons { width: 16px; height: 16px; font-size: 16px; }
.pph-member-hero-actions .youzify-social-buttons { display: flex !important; flex-wrap: wrap; gap: 8px; }
.pph-member-hero-actions .youzify-social-buttons a,
.pph-member-hero-actions .youzify-social-buttons button,
.pph-member-hero-actions .generic-button a {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	padding: 9px 13px !important;
	border: 1px solid var(--pph-line-soft) !important;
	border-radius: 6px !important;
	background: rgba(8,16,24,.85) !important;
	color: #f0f5f8 !important;
	font-size: 10px !important;
	font-weight: 900 !important;
	text-decoration: none !important;
}

.pph-member-layout {
	display: grid;
	grid-template-columns: 245px minmax(0, 1fr) 290px;
	gap: 16px;
	align-items: start;
}
.pph-member-left, .pph-member-main, .pph-member-right { min-width: 0; }
.pph-member-takeover .pph-sticky-stack { top: 84px; }
.pph-member-takeover .pph-card { margin: 0; }
.pph-member-left .pph-card + .pph-card,
.pph-member-right .pph-card + .pph-card { margin-top: 14px; }

.pph-dynamic-nav { padding: 7px; }
.pph-dynamic-nav > a {
	display: grid;
	grid-template-columns: 24px minmax(0, 1fr) auto;
	align-items: center;
	gap: 7px;
	min-height: 42px;
	padding: 7px 9px;
	border-radius: 7px;
	color: #d4dee7 !important;
	text-decoration: none !important;
	font-size: 11px;
	font-weight: 800;
	transition: background .16s ease, color .16s ease, transform .16s ease;
}
.pph-dynamic-nav > a:hover { background: rgba(255,212,0,.07); color: #fff !important; transform: translateX(2px); }
.pph-dynamic-nav > a.is-active { background: linear-gradient(90deg, rgba(255,212,0,.16), rgba(255,212,0,.035)); color: var(--pph-gold) !important; box-shadow: inset 3px 0 0 var(--pph-gold); }
.pph-dynamic-nav-icon { width: 22px; text-align: center; color: #879aaa; }
.pph-dynamic-nav > a.is-active .pph-dynamic-nav-icon { color: var(--pph-gold); }
.pph-dynamic-nav-icon i { font-size: 14px; }
.pph-dynamic-nav-label { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pph-dynamic-nav-label .count { margin-left: 4px; color: var(--pph-gold); }
.pph-dynamic-nav-arrow { color: #607180; font-size: 18px; }

.pph-member-context-head {
	position: relative;
	padding: 16px 18px 0;
	margin-bottom: 10px;
	border: 1px solid var(--pph-line-soft);
	border-radius: var(--pph-radius);
	background: linear-gradient(145deg, rgba(255,255,255,.018), transparent 40%), var(--pph-panel);
	box-shadow: var(--pph-shadow);
	overflow: hidden;
}
.pph-member-context-head > div:first-child { padding-right: 86px; padding-bottom: 14px; }
.pph-member-context-head h2 { margin: 0 0 4px !important; color: #fff !important; font-size: 24px !important; line-height: 1.1 !important; font-weight: 900 !important; }
.pph-member-context-head p { margin: 0 !important; color: var(--pph-muted); font-size: 11px; line-height: 1.5; }
.pph-private-pill { position: absolute; right: 14px; top: 14px; display: inline-flex; align-items: center; gap: 5px; padding: 5px 8px; border: 1px solid rgba(255,212,0,.19); border-radius: 999px; color: #e8d679; background: rgba(255,212,0,.06); font-size: 9px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.pph-private-pill .dashicons { width: 13px; height: 13px; font-size: 13px; }
.pph-member-subnav { display: flex; gap: 3px; overflow-x: auto; padding: 0 0 0; border-top: 1px solid var(--pph-line-soft); scrollbar-width: thin; }
.pph-member-subnav a { position: relative; flex: 0 0 auto; padding: 12px 12px 11px; color: #92a4b3 !important; text-decoration: none !important; font-size: 10px; font-weight: 800; }
.pph-member-subnav a:hover, .pph-member-subnav a.is-active { color: var(--pph-gold) !important; }
.pph-member-subnav a.is-active::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 0; height: 2px; background: var(--pph-gold); border-radius: 2px 2px 0 0; }

.pph-member-content-shell {
	min-height: 390px;
	padding: 12px;
	border: 1px solid var(--pph-line-soft);
	border-radius: var(--pph-radius);
	background: linear-gradient(155deg, rgba(255,255,255,.012), transparent 38%), var(--pph-panel);
	box-shadow: var(--pph-shadow);
}
.pph-member-content-shell.is-account-content { padding: 14px; }
/* Youzify normally makes .settings-main-content 74% wide because its own sidebar
 * occupies the other 26%. Our premium shell already supplies its own sidebars, so
 * the live settings area must consume the entire center column. */
.pph-member-app .pph-member-content-shell.settings-main-content,
.pph-member-app .pph-member-content-shell.is-account-content {
	width: 100% !important;
	max-width: none !important;
	float: none !important;
	margin: 0 !important;
}
.pph-member-content-shell .pph-template-notices:empty { display: none; }
.pph-member-content-shell .pph-template-notices { margin-bottom: 10px; }

/* Remove the old page chrome when individual Youzify templates emit it internally. */
.pph-member-app > .youzify-content,
.pph-member-content-shell .youzify-page-main-content,
.pph-member-content-shell .youzify-main-column,
.pph-member-content-shell .grid-column {
	width: 100% !important;
	max-width: none !important;
	float: none !important;
	margin: 0 !important;
}
.pph-member-content-shell .youzify-tab { margin: 0 !important; }
.pph-member-content-shell .youzify-default-subnav,
.pph-member-content-shell > .item-list-tabs#subnav { margin: 0 0 12px !important; }

/* Generic BuddyPress / Youzify sub-navigation that appears inside messages etc. */
.pph-member-content-shell .item-list-tabs {
	background: #0d1721 !important;
	border: 1px solid var(--pph-line-soft) !important;
	border-radius: 8px !important;
	padding: 5px !important;
	box-shadow: none !important;
}
.pph-member-content-shell .item-list-tabs ul { display: flex; flex-wrap: wrap; gap: 3px; margin: 0 !important; padding: 0 !important; }
.pph-member-content-shell .item-list-tabs li { margin: 0 !important; }
.pph-member-content-shell .item-list-tabs a { display: block; padding: 8px 10px !important; border-radius: 6px !important; color: #9fb0bd !important; background: transparent !important; font-size: 10px !important; font-weight: 800 !important; text-decoration: none !important; }
.pph-member-content-shell .item-list-tabs .selected a,
.pph-member-content-shell .item-list-tabs .current a,
.pph-member-content-shell .item-list-tabs a:hover { color: var(--pph-gold) !important; background: rgba(255,212,0,.07) !important; }

/* Activity inside member profiles gets the same visual language as the homepage. */
.pph-member-content-shell #youzify-wall-form {
	margin: 0 0 11px !important;
	border: 1px solid var(--pph-line-soft) !important;
	border-radius: 9px !important;
	background: #0e1720 !important;
	box-shadow: none !important;
	overflow: hidden;
}
.pph-member-content-shell #youzify-wall-form .youzify-wall-options { background: rgba(0,0,0,.16) !important; border-bottom: 1px solid var(--pph-line-soft) !important; }
.pph-member-content-shell #youzify-wall-form .youzify-wall-content { background: #101a24 !important; }
.pph-member-content-shell #youzify-wall-form .youzify-wall-actions { background: #0b141d !important; border-top: 1px solid var(--pph-line-soft) !important; }
.pph-member-content-shell #youzify-wall-form .youzify-wall-post { background: var(--pph-gold) !important; color: #151515 !important; }
.pph-member-content-shell #activity-stream > li.activity-item,
.pph-member-content-shell ul.activity-list > li.activity-item { border: 1px solid var(--pph-line-soft) !important; border-radius: 9px !important; background: #0e1822 !important; box-shadow: none !important; margin-bottom: 11px !important; }
.pph-member-content-shell .activity-list .activity-content,
.pph-member-content-shell .activity-list .activity-inner { color: #d7e0e8 !important; }
.pph-member-content-shell .activity-list .activity-header a:first-child { color: #fff !important; font-weight: 800; }
.pph-member-content-shell .activity-list .activity-meta { border-top-color: var(--pph-line-soft) !important; }
.pph-member-content-shell .activity-list .activity-meta a { color: #9dafbd !important; }
.pph-member-content-shell .activity-list .activity-meta a:hover { color: var(--pph-gold) !important; }

/* Account/settings forms: retain Youzify markup/behavior but re-skin the shell. */
.pph-member-account .pph-settings-inner { width: 100% !important; max-width: none !important; margin: 0 !important; padding: 0 !important; background: transparent !important; }
.pph-member-account .youzify-page-main-content,
.pph-member-account .youzify-main-content,
.pph-member-account .settings-main-content,
.pph-member-account .youzify-inner-content,
.pph-member-account .settings-inner-content,
.pph-member-account .youzify-account-content,
.pph-member-account .youzify-settings-content,
.pph-member-account .youzify-account-form,
.pph-member-account .youzify-section-content,
.pph-member-account .pph-owned-settings-page,
.pph-member-account form {
	width: 100% !important;
	max-width: none !important;
	float: none !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}
.pph-member-account .youzify-account-settings-menu,
.pph-member-account .youzify-settings-sidebar { display: none !important; }
.pph-member-account .youzify-account-header,
.pph-member-account .youzify-settings-header { margin-top: 0 !important; }
.pph-member-account .youzify-account-content,
.pph-member-account .youzify-settings-content,
.pph-member-account .youzify-account-form,
.pph-member-account form { max-width: none; }
.pph-member-account input[type="text"],
.pph-member-account input[type="email"],
.pph-member-account input[type="password"],
.pph-member-account input[type="url"],
.pph-member-account input[type="number"],
.pph-member-account input[type="search"],
.pph-member-account textarea,
.pph-member-account select {
	border-color: rgba(134,166,198,.25) !important;
	background: #0b151f !important;
	color: #edf3f7 !important;
	box-shadow: none !important;
}
.pph-member-account input:focus,
.pph-member-account textarea:focus,
.pph-member-account select:focus { border-color: rgba(255,212,0,.6) !important; outline: none !important; box-shadow: 0 0 0 2px rgba(255,212,0,.08) !important; }
.pph-member-account button[type="submit"],
.pph-member-account input[type="submit"],
.pph-member-account .youzify-save-options {
	background: var(--pph-gold) !important;
	color: #141414 !important;
	border-radius: 6px !important;
	font-weight: 900 !important;
	border: 0 !important;
}
.pph-member-account label,
.pph-member-account .youzify-settings-section label { color: #dfe8ee !important; }

.pph-rail-links { padding: 7px; }
.pph-rail-links > a {
	display: grid;
	grid-template-columns: minmax(0,1fr) auto;
	align-items: center;
	gap: 8px;
	padding: 9px 9px;
	border-radius: 7px;
	color: #d6e0e8 !important;
	text-decoration: none !important;
	font-size: 10px;
	font-weight: 800;
}
.pph-rail-links > a:hover, .pph-rail-links > a.is-active { background: rgba(255,212,0,.065); color: var(--pph-gold) !important; }
.pph-rail-links > a > i { color: #657889; font-style: normal; font-size: 18px; }
.pph-tool-links > a { grid-template-columns: 23px minmax(0,1fr) auto; }
.pph-tool-icon { color: var(--pph-gold); text-align: center; }
.pph-tool-links strong { display: block; color: inherit; font-size: 10px; }
.pph-tool-links small { display: block; color: #718493; font-size: 8px; font-weight: 600; margin-top: 2px; }

.pph-snapshot-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin: 12px; border: 1px solid var(--pph-line-soft); border-radius: 8px; overflow: hidden; background: var(--pph-line-soft); }
.pph-snapshot-grid > div { padding: 12px 6px; text-align: center; background: #0d1721; }
.pph-snapshot-grid strong { display: block; color: var(--pph-gold); font-size: 18px; }
.pph-snapshot-grid span { display: block; margin-top: 3px; color: #8395a4; font-size: 8px; text-transform: uppercase; letter-spacing: .07em; }
.pph-member-since { display: grid; grid-template-columns: 25px 1fr; gap: 8px; align-items: center; margin: 0 12px 12px; padding: 10px; border-radius: 7px; background: rgba(255,255,255,.025); }
.pph-member-since .dashicons { color: var(--pph-gold); }
.pph-member-since small { display: block; color: #738594; font-size: 8px; text-transform: uppercase; }
.pph-member-since strong { display: block; margin-top: 2px; color: #e6eef4; font-size: 10px; }
.pph-alert-strip { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--pph-line-soft); }
.pph-alert-strip span { padding: 10px 7px; text-align: center; color: #8294a4; font-size: 8px; }
.pph-alert-strip span + span { border-left: 1px solid var(--pph-line-soft); }
.pph-alert-strip b { display: block; color: #fff; font-size: 13px; margin-bottom: 2px; }

/* Keep injected custom pages from escaping the premium center column. */
.pph-member-content-shell img { max-width: 100%; height: auto; }
.pph-member-content-shell table { max-width: 100%; }
.pph-member-content-shell .pcui-my-realm-wrap { max-width: none !important; width: 100%; }

@media (max-width: 1220px) {
	.pph-member-takeover .pph-member-wrap.pph-breakout { width: var(--theme-container-width, 100%); max-width: var(--theme-normal-container-max-width, 100%); }
	.pph-member-layout { grid-template-columns: 220px minmax(0,1fr) 255px; gap: 13px; }
}

@media (max-width: 1050px) {
	.pph-member-layout { grid-template-columns: 220px minmax(0,1fr); }
	.pph-member-right { grid-column: 1 / -1; }
	.pph-member-right .pph-sticky-stack { position: static; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; }
	.pph-member-right .pph-card + .pph-card { margin-top: 0; }
}

@media (max-width: 780px) {
	.pph-member-takeover .pph-member-wrap.pph-breakout { width: var(--theme-container-width, 100%); max-width: var(--theme-normal-container-max-width, 100%); margin-top: 8px; }
	.pph-member-hero { min-height: 310px; }
	.pph-member-hero-content { left: 16px; right: 16px; bottom: 16px; grid-template-columns: auto minmax(0,1fr); gap: 13px; }
	.pph-member-avatar { width: 88px; height: 88px; }
	.pph-member-hero-actions { grid-column: 1 / -1; justify-content: flex-start; }
	.pph-member-layout { display: flex; flex-direction: column; }
	.pph-member-main { order: 1; width: 100%; }
	.pph-member-left { order: 2; width: 100%; }
	.pph-member-right { order: 3; width: 100%; }
	.pph-member-left .pph-sticky-stack, .pph-member-right .pph-sticky-stack { position: static; display: grid; grid-template-columns: 1fr; width: 100%; }
	.pph-member-left .pph-card + .pph-card, .pph-member-right .pph-card + .pph-card { margin-top: 0; }
	.pph-member-context-head > div:first-child { padding-right: 0; }
	.pph-private-pill { position: static; margin-bottom: 10px; }
	.pph-member-context-head { display: block; }
}

@media (max-width: 620px) {
	.pph-price-item-row { grid-template-columns: 1fr; }
	.pph-price-actions { justify-content: stretch; }
	.pph-price-actions .button { flex: 1 1 auto; text-align: center; }
}

@media (max-width: 480px) {
	.pph-member-hero { min-height: 335px; }
	.pph-member-hero-content { grid-template-columns: 1fr; text-align: center; justify-items: center; }
	.pph-member-identity { text-align: center; }
	.pph-member-mini-stats { justify-content: center; }
	.pph-member-hero-actions { justify-content: center; }
	.pph-member-identity h1 { font-size: 28px !important; }
	.pph-member-content-shell { padding: 7px; }
	.pph-member-subnav a { padding-left: 9px; padding-right: 9px; }
}

/* -------------------------------------------------------------------------
 * Container-responsive layout.
 * These rules react to the width Blocksy/Gutenberg actually gives the plugin,
 * not merely the browser viewport. This is what lets a site content-width
 * change immediately reflow the premium interface without a plugin edit.
 * ------------------------------------------------------------------------- */
.pph-home { container-type: inline-size; container-name: pph-home-layout; }
.pph-member-takeover .pph-member-wrap { container-type: inline-size; container-name: pph-member-layout; }

@container pph-home-layout (max-width: 1220px) {
	.pph-grid { grid-template-columns: 220px minmax(0, 1fr) 260px; gap: 14px; }
}
@container pph-home-layout (max-width: 1050px) {
	.pph-grid { grid-template-columns: minmax(0,1fr) 275px; }
	.pph-left { grid-column: 1 / -1; order: -1; }
	.pph-left .pph-sticky-stack { position: static; display: grid; grid-template-columns: 1.35fr 1fr; }
	.pph-member-card .pph-member-nav { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); }
	.pph-masthead { grid-template-columns: auto 1fr auto; }
	.pph-masthead-meta { display: none; }
}
@container pph-home-layout (max-width: 760px) {
	.pph-grid { display: flex; flex-direction: column; gap: 12px; }
	.pph-center { order: 1; width: 100%; }
	.pph-left { order: 2; width: 100%; }
	.pph-right { order: 3; width: 100%; }
	.pph-sticky-stack, .pph-left .pph-sticky-stack { position: static; display: grid; grid-template-columns: 1fr; width: 100%; }
	.pph-masthead { grid-template-columns: auto 1fr; padding: 12px; }
	.pph-masthead .pph-button { grid-column: 1 / -1; }
	.pph-member-card .pph-member-nav { grid-template-columns: 1fr 1fr; }
}
@container pph-home-layout (max-width: 440px) {
	.pph-member-card .pph-member-nav { grid-template-columns: 1fr; }
	.pph-community-actions { grid-template-columns: 1fr; }
}

@container pph-member-layout (max-width: 1220px) {
	.pph-member-layout { grid-template-columns: 220px minmax(0,1fr) 255px; gap: 13px; }
}
@container pph-member-layout (max-width: 1050px) {
	.pph-member-layout { grid-template-columns: 220px minmax(0,1fr); }
	.pph-member-right { grid-column: 1 / -1; }
	.pph-member-right .pph-sticky-stack { position: static; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; }
	.pph-member-right .pph-card + .pph-card { margin-top: 0; }
}
@container pph-member-layout (max-width: 780px) {
	.pph-member-hero { min-height: 310px; }
	.pph-member-hero-content { left: 16px; right: 16px; bottom: 16px; grid-template-columns: auto minmax(0,1fr); gap: 13px; }
	.pph-member-avatar { width: 88px; height: 88px; }
	.pph-member-hero-actions { grid-column: 1 / -1; justify-content: flex-start; }
	.pph-member-layout { display: flex; flex-direction: column; }
	.pph-member-main { order: 1; width: 100%; }
	.pph-member-left { order: 2; width: 100%; }
	.pph-member-right { order: 3; width: 100%; }
	.pph-member-left .pph-sticky-stack, .pph-member-right .pph-sticky-stack { position: static; display: grid; grid-template-columns: 1fr; width: 100%; }
	.pph-member-left .pph-card + .pph-card, .pph-member-right .pph-card + .pph-card { margin-top: 0; }
}

/* -------------------------------------------------------------------------
 * v1.3 native profile modules: My Heroes + Avatar / Border settings.
 * ------------------------------------------------------------------------- */
.pph-native-module,
.pph-native-cosmetics,
.pph-native-heroes,
.pph-native-cosmetics .pg-selector-wrap,
.pph-native-cosmetics .pg-selector-form {
	width: 100%;
	max-width: none;
}

.pph-native-heroes { padding: 4px 2px 10px; }
.pph-native-heroes .pgg-hs { margin-top: 0; }
.pph-native-heroes .pgg-hs-sharebox,
.pph-native-heroes .pgg-hs-toolbar,
.pph-native-heroes .pgg-hs-faction-nav {
	width: 100%;
}
.pph-native-heroes .pgg-hs-share-input { min-width: 0; }
.pph-native-heroes .pgg-hs-grid {
	grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
	justify-content: stretch;
}
.pph-native-heroes .pgg-hs-card { justify-self: center; }

.pph-native-cosmetics { padding: 4px 2px 8px; }
.pph-native-cosmetics .pg-selector-preview-frame {
	background: linear-gradient(145deg, rgba(19,31,43,.96), rgba(8,15,22,.98));
	border-color: rgba(255,212,0,.18);
	box-shadow: inset 0 1px 0 rgba(255,255,255,.025), 0 12px 34px rgba(0,0,0,.18);
}
.pph-native-cosmetics .pg-selector-preview-label,
.pph-native-cosmetics .pg-selector-title,
.pph-native-cosmetics .pg-selector-group-title { color: #edf3f7; }
.pph-native-cosmetics .pg-selector-group-title {
	font-size: 17px;
	font-weight: 900;
	letter-spacing: .025em;
}
.pph-native-cosmetics .pg-selector-card-inner {
	min-height: 138px;
	background: rgba(10,19,28,.82);
	border-color: rgba(134,166,198,.16);
}
.pph-native-cosmetics .pg-selector-card:not(.is-card-locked):hover .pg-selector-card-inner {
	border-color: rgba(255,212,0,.42);
	background: rgba(255,212,0,.045);
	transform: translateY(-1px);
}
.pph-native-cosmetics .pg-selector-card.is-current .pg-selector-card-inner {
	border-color: rgba(255,212,0,.55);
	background: rgba(255,212,0,.095);
	box-shadow: inset 0 0 0 1px rgba(255,212,0,.12);
}
.pph-native-cosmetics .pg-selector-card.is-pending .pg-selector-card-inner {
	outline-color: var(--pph-gold);
}
.pph-native-cosmetics .pg-selector-notice,
.pph-native-cosmetics .pg-selector-locked,
.pph-native-cosmetics .pg-selector-empty,
.pph-native-cosmetics .pg-selector-login-required {
	padding: 10px 12px;
	border: 1px solid rgba(134,166,198,.16);
	border-radius: 8px;
	background: rgba(255,255,255,.025);
	color: #aebdca;
}
.pph-native-cosmetics .pg-selector-actions {
	display: flex;
	justify-content: flex-end;
	padding-top: 18px;
	border-top: 1px solid var(--pph-line-soft);
}
.pph-native-cosmetics .pg-selector-actions button[type="submit"] {
	min-height: 40px;
	padding: 0 18px;
	border: 0;
	border-radius: 7px;
	background: var(--pph-gold);
	color: #151515;
	font-weight: 900;
	cursor: pointer;
}
.pph-native-cosmetics .pg-selector-grid {
	grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
}

/* The custom avatar renderer can return a composite wrapper rather than a bare img. */
.pph-member-avatar > .pg-avatar-composite,
.pph-avatar > .pg-avatar-composite {
	width: 100%;
	height: 100%;
}
.pph-member-avatar > .pg-avatar-composite .pg-avatar-base,
.pph-member-avatar > .pg-avatar-composite .pg-avatar-base > img,
.pph-member-avatar > .pg-avatar-composite .pg-avatar-border-overlay,
.pph-avatar > .pg-avatar-composite .pg-avatar-base,
.pph-avatar > .pg-avatar-composite .pg-avatar-base > img,
.pph-avatar > .pg-avatar-composite .pg-avatar-border-overlay {
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	max-height: none !important;
}

@container pph-member-layout (max-width: 640px) {
	.pph-native-heroes .pgg-hs-grid { grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 14px; }
	.pph-native-cosmetics .pg-selector-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
}

/* ========================================================================== */
/* v1.4: Tier List activity cards                                              */
/* The Tier List tool keeps its original stylesheet unchanged. These rules     */
/* only style the small BuddyPress activity preview generated for new lists.   */
/* ========================================================================== */
.pph-tier-activity-card {
	margin-top: 10px;
	border: 1px solid var(--pph-line-soft, rgba(134,166,198,.17));
	border-radius: 9px;
	overflow: hidden;
	background: #0a131c;
}
.pph-tier-activity-link {
	display: grid;
	grid-template-columns: minmax(150px, 34%) minmax(0, 1fr);
	color: inherit !important;
	text-decoration: none !important;
}
.pph-tier-activity-cover {
	min-height: 128px;
	background: #111b25;
	overflow: hidden;
}
.pph-tier-activity-cover img {
	display: block;
	width: 100% !important;
	height: 100% !important;
	min-height: 128px;
	object-fit: cover;
}
.pph-tier-activity-copy {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 6px;
	min-width: 0;
	padding: 14px 16px;
}
.pph-tier-activity-copy small {
	color: var(--pph-gold, #ffd400) !important;
	font-size: 9px;
	font-weight: 900;
	letter-spacing: .11em;
	text-transform: uppercase;
}
.pph-tier-activity-copy strong {
	color: #fff !important;
	font-size: 16px;
	line-height: 1.25;
}
.pph-tier-activity-excerpt {
	color: #9eadbb !important;
	font-size: 10px;
	line-height: 1.45;
}
.pph-tier-activity-cta {
	align-self: flex-start;
	margin-top: 2px;
	color: var(--pph-gold, #ffd400) !important;
	font-size: 10px;
	font-weight: 900;
}

@media (max-width: 620px) {
	.pph-tier-activity-link { grid-template-columns: 1fr; }
	.pph-tier-activity-cover,
	.pph-tier-activity-cover img { min-height: 0; aspect-ratio: 16 / 9; }
}

/* ========================================================================== */
/* v1.4.1: Community feed media containment                                   */
/* Keep user/link media useful without allowing a preview or giant source      */
/* image to take over several screens of the homepage feed.                    */
/* ========================================================================== */

/* Compact Youzify link previews into a proper card instead of a full-width
 * hero image. This covers both Youzify Link posts and its URL-preview output. */
.pph-home .activity-list .youzify-wall-link-content {
	display: grid !important;
	grid-template-columns: 180px minmax(0, 1fr);
	align-items: stretch;
	width: calc(100% - 50px) !important;
	max-width: 720px !important;
	min-height: 124px;
	margin: 14px auto 0 !important;
	border: 1px solid var(--pph-line-soft) !important;
	border-radius: 9px !important;
	background: #0a131c !important;
	overflow: hidden !important;
}

.pph-home .activity-list .youzify-wall-link-content > img {
	display: block !important;
	width: 180px !important;
	height: 100% !important;
	min-height: 124px !important;
	max-height: 160px !important;
	max-width: 180px !important;
	margin: 0 !important;
	padding: 0 !important;
	object-fit: cover !important;
	object-position: center !important;
}

.pph-home .activity-list .youzify-wall-link-content .youzify-wall-link-data {
	min-width: 0;
	padding: 14px 16px !important;
	align-self: center;
}

/* If the preview has no image, let the text use the whole card. */
.pph-home .activity-list .youzify-wall-link-content > .youzify-wall-link-data:first-child {
	grid-column: 1 / -1;
}

.pph-home .activity-list .youzify-wall-link-data .youzify-wall-link-title {
	color: #f5f8fb !important;
	font-size: 14px !important;
	line-height: 1.35 !important;
	font-weight: 800 !important;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
}
.pph-home .activity-list .youzify-wall-link-data .youzify-wall-link-desc {
	margin-top: 7px !important;
	color: #9eadbb !important;
	font-size: 10px !important;
	line-height: 1.45 !important;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	overflow: hidden;
}
.pph-home .activity-list .youzify-wall-link-data .youzify-wall-link-url {
	margin-top: 8px !important;
	color: var(--pph-gold) !important;
	font-size: 9px !important;
	line-height: 1.3 !important;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* Single uploaded photos and GIF posts: preserve the full image, but contain it
 * in a reasonable viewport-sized media stage. Multi-image Youzify grids are
 * intentionally left to Youzify's existing layout rules. */
.pph-home .activity-list .youzify-post-attachments > a.youzify-img-with-padding {
	display: flex !important;
	align-items: center;
	justify-content: center;
	width: calc(100% - 50px) !important;
	max-width: 720px !important;
	max-height: 480px !important;
	margin: 14px auto 0 !important;
	padding: 0 !important;
	border: 1px solid var(--pph-line-soft);
	border-radius: 9px;
	background: #081018;
	overflow: hidden;
}
.pph-home .activity-list .youzify-post-attachments > a.youzify-img-with-padding > img {
	display: block !important;
	width: auto !important;
	height: auto !important;
	max-width: 100% !important;
	max-height: 480px !important;
	margin: 0 auto !important;
	padding: 0 !important;
	object-fit: contain !important;
}

/* Quote/background images can also be extremely tall depending on source art. */
.pph-home .activity-list .youzify-wall-quote-content > img {
	max-height: 420px !important;
	object-fit: cover !important;
}

/* WordPress self-embeds are the main culprit when a pasted Prospector.GG URL
 * renders an entire page/featured logo inside the feed. Treat them as a compact
 * preview viewport rather than a second webpage inside the homepage. */
.pph-home .activity-list iframe.wp-embedded-content,
.pph-home .activity-list .wp-embedded-content iframe,
.pph-home .activity-list .youzify-activity-embed iframe.wp-embedded-content {
	display: block !important;
	width: calc(100% - 50px) !important;
	max-width: 720px !important;
	height: 270px !important;
	min-height: 0 !important;
	max-height: 270px !important;
	margin: 14px auto 0 !important;
	border: 1px solid var(--pph-line-soft) !important;
	border-radius: 9px !important;
	background: #081018 !important;
	overflow: hidden !important;
}

/* Other oEmbed/video providers still get a normal widescreen presentation,
 * just with a sane maximum size instead of inheriting arbitrary provider sizes. */
.pph-home .activity-list .youzify-activity-embed iframe:not(.wp-embedded-content),
.pph-home .activity-list .youzify-embed-wrapper iframe,
.pph-home .activity-list .embed-responsive iframe,
.pph-home .activity-list .activity-content > iframe:not(.wp-embedded-content) {
	display: block !important;
	width: calc(100% - 50px) !important;
	max-width: 720px !important;
	height: 360px !important;
	min-height: 0 !important;
	max-height: 360px !important;
	margin: 14px auto 0 !important;
	border: 1px solid var(--pph-line-soft) !important;
	border-radius: 9px !important;
	background: #081018 !important;
}

.pph-home .activity-list .youzify-activity-embed video,
.pph-home .activity-list .activity-content video {
	display: block !important;
	width: auto !important;
	height: auto !important;
	max-width: min(100%, 720px) !important;
	max-height: 420px !important;
	margin: 14px auto 0 !important;
	border-radius: 9px;
	background: #000;
}

/* Raw media occasionally arrives through an embed/plugin without Youzify's
 * attachment wrapper. Bound only media inside the post body, not avatars/icons. */
.pph-home .activity-list .activity-inner > img:not(.emojioneemoji),
.pph-home .activity-list .youzify-activity-embed > img:not(.emojioneemoji) {
	display: block !important;
	width: auto !important;
	height: auto !important;
	max-width: min(100%, 720px) !important;
	max-height: 480px !important;
	margin: 14px auto !important;
	object-fit: contain !important;
	border-radius: 9px;
}

/* The WordPress fallback blockquote can briefly appear before its iframe loads. */
.pph-home .activity-list blockquote.wp-embedded-content {
	width: calc(100% - 50px) !important;
	max-width: 720px !important;
	margin: 14px auto !important;
	padding: 14px 16px !important;
	border: 1px solid var(--pph-line-soft) !important;
	border-left: 3px solid var(--pph-gold) !important;
	border-radius: 8px !important;
	background: #0a131c !important;
	font-size: 11px !important;
	line-height: 1.5 !important;
}

@media (max-width: 640px) {
	.pph-home .activity-list .youzify-wall-link-content {
		grid-template-columns: 1fr;
		width: calc(100% - 24px) !important;
	}
	.pph-home .activity-list .youzify-wall-link-content > img {
		width: 100% !important;
		max-width: none !important;
		height: 155px !important;
		min-height: 155px !important;
		max-height: 155px !important;
	}
	.pph-home .activity-list .youzify-post-attachments > a.youzify-img-with-padding,
	.pph-home .activity-list iframe.wp-embedded-content,
	.pph-home .activity-list .wp-embedded-content iframe,
	.pph-home .activity-list .youzify-activity-embed iframe.wp-embedded-content,
	.pph-home .activity-list .youzify-activity-embed iframe:not(.wp-embedded-content),
	.pph-home .activity-list .youzify-embed-wrapper iframe,
	.pph-home .activity-list .embed-responsive iframe,
	.pph-home .activity-list .activity-content > iframe:not(.wp-embedded-content),
	.pph-home .activity-list blockquote.wp-embedded-content {
		width: calc(100% - 24px) !important;
	}
	.pph-home .activity-list iframe.wp-embedded-content,
	.pph-home .activity-list .wp-embedded-content iframe,
	.pph-home .activity-list .youzify-activity-embed iframe.wp-embedded-content {
		height: 220px !important;
		max-height: 220px !important;
	}
	.pph-home .activity-list .youzify-activity-embed iframe:not(.wp-embedded-content),
	.pph-home .activity-list .youzify-embed-wrapper iframe,
	.pph-home .activity-list .embed-responsive iframe,
	.pph-home .activity-list .activity-content > iframe:not(.wp-embedded-content) {
		height: 240px !important;
		max-height: 240px !important;
	}
	.pph-home .activity-list .youzify-post-attachments > a.youzify-img-with-padding,
	.pph-home .activity-list .youzify-post-attachments > a.youzify-img-with-padding > img {
		max-height: 360px !important;
	}
}

/* Normalize Youzify's responsive-video wrapper itself so its 56.25% padding
 * does not reserve a second oversized media area around our bounded iframe. */
.pph-home .activity-list .youzify-embed-wrapper {
	width: calc(100% - 50px) !important;
	max-width: 720px !important;
	aspect-ratio: 16 / 9;
	height: auto !important;
	padding: 0 !important;
	margin: 14px auto 0 !important;
	position: relative !important;
	border-radius: 9px;
	overflow: hidden !important;
	background: #081018;
}
.pph-home .activity-list .youzify-embed-wrapper iframe {
	inset: 0 !important;
	width: 100% !important;
	height: 100% !important;
	max-width: 100% !important;
	max-height: none !important;
	margin: 0 !important;
	border-radius: 0 !important;
}

/* Comments can contain the same media types, but should be even more compact. */
.pph-home .activity-list .acomment-content img:not(.emojioneemoji):not(.avatar) {
	width: auto !important;
	height: auto !important;
	max-width: 100% !important;
	max-height: 320px !important;
	object-fit: contain !important;
}
.pph-home .activity-list .acomment-content iframe {
	width: 100% !important;
	max-width: 560px !important;
	height: 280px !important;
	max-height: 280px !important;
	margin: 10px auto !important;
	border-radius: 8px;
}

@media (max-width: 640px) {
	.pph-home .activity-list .youzify-embed-wrapper {
		width: calc(100% - 24px) !important;
	}
	.pph-home .activity-list .acomment-content iframe {
		height: 220px !important;
		max-height: 220px !important;
	}
}

/* ========================================================================== */
/* v1.5.0: Upcoming Banners as a native community-feed system card            */
/* The banner module keeps its original CSS/JS. These rules only adapt the     */
/* existing sidebar layout when it is embedded inside the Premium Homepage.    */
/* ========================================================================== */
.pph-home .pph-feed-banner-card {
	margin: 10px 0 14px;
	border: 1px solid var(--pph-line-soft);
	border-radius: 9px;
	background:
		radial-gradient(circle at 88% 0, rgba(255,212,0,.055), transparent 30%),
		linear-gradient(155deg, rgba(255,255,255,.018), transparent 38%),
		#0d1721;
	box-shadow: 0 10px 28px rgba(0,0,0,.24);
	overflow: hidden;
}

.pph-home .pph-feed-banner-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 12px 14px;
	border-bottom: 1px solid var(--pph-line-soft);
	background: rgba(0,0,0,.14);
}

.pph-home .pph-feed-banner-source {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
}

.pph-home .pph-feed-banner-avatar {
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	flex: 0 0 36px;
	border-radius: 50%;
	border: 1px solid rgba(255,226,74,.58);
	background: linear-gradient(145deg, #ffe24a, #9e7300);
	color: #111;
	box-shadow: 0 0 0 3px rgba(255,212,0,.05);
}

.pph-home .pph-feed-banner-avatar .dashicons {
	width: 18px;
	height: 18px;
	font-size: 18px;
}

.pph-home .pph-feed-banner-source strong {
	display: block;
	color: #fff;
	font-size: 12px;
	line-height: 1.2;
}

.pph-home .pph-feed-banner-source span:not(.pph-feed-banner-avatar) {
	display: block;
	margin-top: 3px;
	color: var(--pph-muted);
	font-size: 9px;
	line-height: 1.25;
}

.pph-home .pph-feed-banner-live {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	flex: 0 0 auto;
	padding: 5px 8px;
	border: 1px solid rgba(54,217,126,.23);
	border-radius: 999px;
	background: rgba(54,217,126,.07);
	color: #7df0a9;
	font-size: 8px;
	font-weight: 900;
	letter-spacing: .12em;
}

.pph-home .pph-feed-banner-live i {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--pph-green);
	box-shadow: 0 0 8px rgba(54,217,126,.7);
}

.pph-home .pph-feed-banner-copy {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 13px 14px 8px;
}

.pph-home .pph-feed-banner-copy h3 {
	margin: 0 0 4px !important;
	color: #fff !important;
	font-size: 17px !important;
	font-weight: 900 !important;
	line-height: 1.15 !important;
}

.pph-home .pph-feed-banner-copy p {
	margin: 0 !important;
	color: var(--pph-muted);
	font-size: 10px;
	line-height: 1.45;
}

.pph-home .pph-feed-banner-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-height: 34px;
	padding: 7px 10px;
	flex: 0 0 auto;
	border: 1px solid rgba(255,212,0,.42);
	border-radius: 6px;
	background: rgba(255,212,0,.055);
	color: #ffe14a !important;
	font-size: 9px;
	font-weight: 900;
	letter-spacing: .04em;
	text-decoration: none !important;
	text-transform: uppercase;
}

.pph-home .pph-feed-banner-link:hover {
	border-color: rgba(255,226,74,.8);
	background: rgba(255,212,0,.1);
	color: #fff !important;
}

.pph-home .pph-feed-banner-widget {
	padding: 4px 12px 13px;
}

.pph-home .pph-feed-banner-widget .pgub,
.pph-home .pph-feed-banner-widget .pgub-layout-sidebar {
	margin: 0 !important;
	width: 100%;
	max-width: none;
}

.pph-home .pph-feed-banner-widget .pgub-sidebar-stack {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}

.pph-home .pph-feed-banner-widget .pgub-banner--sidebar {
	min-width: 0;
	padding: 11px 11px 10px;
	border: 1px solid rgba(255,215,0,.16);
	border-radius: 7px;
	background: rgba(3,7,12,.48);
}

.pph-home .pph-feed-banner-widget .pgub-status-active {
	border-color: rgba(94,255,128,.24);
}

.pph-home .pph-feed-banner-widget .pgub-banner-head {
	margin-bottom: 9px;
}

.pph-home .pph-feed-banner-widget .pgub-banner--sidebar .pgub-banner-date {
	font-size: 16px;
}

.pph-home .pph-feed-banner-widget .pgub-status-badge {
	padding: 4px 6px 3px;
	font-size: 7px;
}

.pph-home .pph-feed-banner-widget .pgub-banner--sidebar .pgub-hero-grid {
	grid-template-columns: repeat(auto-fit, minmax(50px, 64px));
	justify-content: start;
	gap: 8px;
	padding: 1px 3px 3px;
}

.pph-home .pph-feed-banner-widget .pgub-hero-card {
	padding-left: 3px;
}

.pph-home .pph-feed-banner-widget .pgub-hero-nameplate {
	padding: 4px 2px 3px;
	font-size: 7px;
}

.pph-home .pph-feed-banner-widget .pgub-banner--sidebar .pgub-banner-details {
	align-items: center;
	justify-content: space-between;
	flex-direction: row;
	gap: 8px;
	padding-top: 8px;
}

.pph-home .pph-feed-banner-widget .pgub-banner--sidebar .pgub-type-list {
	justify-content: flex-start;
	gap: 4px 7px;
}

.pph-home .pph-feed-banner-widget .pgub-type-list > span {
	font-size: 8px;
}

.pph-home .pph-feed-banner-widget .pgub-crystal {
	width: 17px;
	height: 17px;
}

.pph-home .pph-feed-banner-widget .pgub-banner--sidebar .pgub-countdown {
	text-align: right;
}

.pph-home .pph-feed-banner-widget .pgub-countdown-label {
	font-size: 7px;
}

.pph-home .pph-feed-banner-widget .pgub-countdown strong {
	font-size: 9px;
}

.pph-home .pph-feed-banner-widget .pgub-sidebar-more {
	display: none !important;
}

@media (max-width: 720px) {
	.pph-home .pph-feed-banner-copy {
		align-items: flex-start;
		flex-direction: column;
		gap: 9px;
	}
	.pph-home .pph-feed-banner-link { width: 100%; }
	.pph-home .pph-feed-banner-widget .pgub-sidebar-stack { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
	.pph-home .pph-feed-banner-head,
	.pph-home .pph-feed-banner-copy { padding-right: 11px; padding-left: 11px; }
	.pph-home .pph-feed-banner-widget { padding-right: 8px; padding-left: 8px; }
	.pph-home .pph-feed-banner-widget .pgub-banner--sidebar .pgub-hero-grid {
		grid-template-columns: repeat(3, minmax(0, 62px));
		justify-content: center;
	}
	.pph-home .pph-feed-banner-widget .pgub-banner--sidebar .pgub-banner-details {
		align-items: center;
		flex-direction: column;
	}
	.pph-home .pph-feed-banner-widget .pgub-banner--sidebar .pgub-type-list { justify-content: center; }
	.pph-home .pph-feed-banner-widget .pgub-banner--sidebar .pgub-countdown { text-align: center; }
}

/* ========================================================================== */
/* v1.6.0 homepage UX: cleaner desktop rails + mobile Facebook-style tabs     */
/* ========================================================================== */

/* The old promotional masthead is no longer rendered. Keep the layout itself
 * content-first: member rail, community feed, signed-in snapshot. */
.pph-mobile-tabs { display: none; }

/* Latest articles now live in the center column as a compact discovery strip. */
.pph-articles-center {
	margin: 0 0 10px;
}
.pph-articles-center .pph-article-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 4px 8px;
	padding: 8px;
}
.pph-articles-center .pph-article-item {
	min-width: 0;
	grid-template-columns: 72px minmax(0, 1fr);
	padding: 6px;
	border: 1px solid transparent;
}
.pph-articles-center .pph-article-item:hover {
	border-color: rgba(255,212,0,.14);
	background: rgba(255,212,0,.035);
}
.pph-articles-center .pph-article-thumb {
	width: 72px;
	height: 48px;
}
.pph-articles-center .pph-article-copy strong {
	font-size: 10px;
}

/* Signed-in desktop snapshot reuses the same visual language as member pages. */
.pph-home-profile-card .pph-snapshot-grid { margin-top: 12px; }
.pph-home-profile-links {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 7px;
	padding: 10px 12px 12px;
	border-top: 1px solid var(--pph-line-soft);
}
.pph-home-profile-links a {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-height: 34px;
	padding: 7px 8px;
	border: 1px solid var(--pph-line-soft);
	border-radius: 6px;
	background: rgba(255,255,255,.025);
	color: #dce6ed;
	font-size: 9px;
	font-weight: 800;
	text-decoration: none !important;
}
.pph-home-profile-links a:hover {
	border-color: var(--pph-line);
	color: var(--pph-gold);
}
.pph-home-profile-links .dashicons {
	width: 15px;
	height: 15px;
	font-size: 15px;
	color: var(--pph-gold);
}

/* Mobile: the side rails disappear completely. Their most important actions
 * become a horizontal icon rail at the top, similar to a social-app tab bar. */
@media (max-width: 760px) {
	.pph-mobile-tabs {
		display: block;
		margin: 0 0 9px;
		padding: 4px;
		border: 1px solid var(--pph-line-soft);
		border-radius: 10px;
		background: rgba(8,16,24,.98);
		box-shadow: 0 8px 24px rgba(0,0,0,.22);
		overflow: hidden;
	}
	.pph-mobile-tabs-track {
		display: flex;
		align-items: stretch;
		gap: 3px;
		overflow-x: auto;
		overflow-y: hidden;
		-webkit-overflow-scrolling: touch;
		scroll-snap-type: x proximity;
		scrollbar-width: none;
	}
	.pph-mobile-tabs-track::-webkit-scrollbar { display: none; }
	.pph-mobile-tab {
		position: relative;
		flex: 0 0 68px;
		display: grid;
		place-items: center;
		align-content: center;
		gap: 4px;
		min-height: 54px;
		padding: 6px 4px;
		border-radius: 7px;
		color: #93a6b5;
		text-decoration: none !important;
		scroll-snap-align: start;
	}
	.pph-mobile-tab:hover,
	.pph-mobile-tab.is-active {
		background: rgba(255,212,0,.075);
		color: var(--pph-gold);
	}
	.pph-mobile-tab.is-active::after {
		content: "";
		position: absolute;
		left: 13px;
		right: 13px;
		bottom: 0;
		height: 2px;
		border-radius: 2px;
		background: var(--pph-gold);
	}
	.pph-mobile-tab .dashicons {
		width: 21px;
		height: 21px;
		font-size: 21px;
	}
	.pph-mobile-tab small {
		font-size: 8px;
		font-weight: 800;
		line-height: 1;
		white-space: nowrap;
	}

	/* On phones, the center really is the experience: no desktop widgets dumped
	 * below it. The icon rail above is the navigation into those destinations. */
	.pph-home .pph-left,
	.pph-home .pph-right {
		display: none !important;
	}
	.pph-home .pph-grid {
		display: block !important;
	}
	.pph-home .pph-center {
		width: 100%;
	}

	.pph-feed-heading {
		align-items: center;
		margin-bottom: 8px;
		padding: 11px 12px;
	}
	.pph-feed-heading h2 { font-size: 19px !important; }
	.pph-feed-heading p { font-size: 10px; }
	.pph-live-pill { margin-top: 0; }

	/* Articles remain in the center, but become a swipeable strip instead of a
	 * tall sidebar-style list. */
	.pph-articles-center .pph-article-list {
		display: flex;
		gap: 7px;
		overflow-x: auto;
		overflow-y: hidden;
		padding: 8px;
		-webkit-overflow-scrolling: touch;
		scroll-snap-type: x proximity;
		scrollbar-width: none;
	}
	.pph-articles-center .pph-article-list::-webkit-scrollbar { display: none; }
	.pph-articles-center .pph-article-item {
		flex: 0 0 min(82%, 300px);
		grid-template-columns: 76px minmax(0,1fr);
		border-color: var(--pph-line-soft);
		background: rgba(255,255,255,.018);
		scroll-snap-align: start;
	}
	.pph-articles-center .pph-article-thumb {
		width: 76px;
		height: 51px;
	}

	/* Youzify's feed scopes become the second tab row: All Members, Friends,
	 * Favorites, Mentions, etc. Keep them horizontal rather than wrapping. */
	.pph-home #youzify-wall-nav {
		overflow: hidden !important;
		margin-bottom: 8px !important;
	}
	.pph-home #youzify-wall-nav .item-list-tabs,
	.pph-home #youzify-wall-nav .youzify-wall-tabs-list {
		overflow: hidden !important;
	}
	.pph-home #youzify-wall-nav .item-list-tabs > ul,
	.pph-home #youzify-wall-nav .item-list-tabs ul,
	.pph-home #youzify-wall-nav .youzify-wall-tabs-list > ul,
	.pph-home #youzify-wall-nav .youzify-wall-tabs-list ul {
		display: flex !important;
		flex-wrap: nowrap !important;
		align-items: stretch !important;
		overflow-x: auto !important;
		overflow-y: hidden !important;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
	}
	.pph-home #youzify-wall-nav .item-list-tabs > ul::-webkit-scrollbar,
	.pph-home #youzify-wall-nav .youzify-wall-tabs-list > ul::-webkit-scrollbar { display: none; }
	.pph-home #youzify-wall-nav li {
		flex: 0 0 auto !important;
		white-space: nowrap !important;
	}
	.pph-home #youzify-wall-nav li a {
		min-height: 43px;
		display: flex !important;
		align-items: center;
	}

	/* Composer post types also stay usable without consuming two or three rows. */
	.pph-home #youzify-wall-form .youzify-wall-options {
		display: flex !important;
		flex-wrap: nowrap !important;
		overflow-x: auto !important;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
	}
	.pph-home #youzify-wall-form .youzify-wall-options::-webkit-scrollbar { display: none; }
	.pph-home #youzify-wall-form .youzify-wall-opts-item { flex: 0 0 auto !important; }
}

@media (max-width: 440px) {
	.pph-mobile-tab { flex-basis: 62px; min-height: 52px; }
	.pph-feed-heading p { display: none; }
	.pph-articles-center .pph-article-item { flex-basis: 88%; }
}

/* Mirror the phone-only rail behavior when the shortcode itself is narrow even
 * inside a wider viewport (for example a constrained Blocksy content area). */
@container pph-home-layout (max-width: 760px) {
	.pph-mobile-tabs { display: block; }
	.pph-home .pph-left,
	.pph-home .pph-right { display: none !important; }
	.pph-home .pph-grid { display: block !important; }
	.pph-home .pph-center { width: 100%; }
}
/* ========================================================================== */
/* v1.6.1 feed discovery order                                                */
/* ========================================================================== */

/* Official, frequently-changing site content lives inside the social stream,
 * after the feed controls/composer and before normal member activity. */
.pph-home .pph-feed-system-stack {
	display: grid;
	gap: 10px;
	margin: 0 0 10px;
}
.pph-home .pph-feed-system-stack .pph-feed-banner-card,
.pph-home .pph-feed-system-stack .pph-articles-center {
	margin: 0;
}

/* Latest Articles remains part of the feed experience on phones. The existing
 * mobile article rules turn it into a compact horizontally swipeable strip. */
@media (max-width: 760px) {
	.pph-home .pph-feed-system-stack {
		gap: 8px;
		margin-bottom: 8px;
	}
	.pph-home .pph-articles-center {
		display: block !important;
	}
}
@container pph-home-layout (max-width: 760px) {
	.pph-home .pph-articles-center {
		display: block !important;
	}
}


/* ========================================================================== */
/* v1.7.0: dynamic old-school site directory                                  */
/* Prospector Menu is the source of truth. Each Watcher of Realms child parent */
/* becomes its own right-rail widget; mobile exposes the same tree via Explore. */
/* ========================================================================== */

/* The left rail is now entirely personal/community. The larger site directory
 * should scroll naturally with the page instead of becoming a too-tall sticky
 * element that can trap its lower links below the viewport. */
.pph-home .pph-right .pph-site-menu-stack {
	position: static;
	display: grid;
	gap: 12px;
}
.pph-home .pph-left .pph-home-profile-links,
.pph-home .pph-left .pph-community-actions {
	grid-template-columns: 1fr;
}

.pph-site-menu-card { overflow: hidden; }
.pph-site-menu-card .pph-card-kicker {
	color: #eef4f8;
	background: rgba(0,0,0,.20);
}
.pph-site-menu-card .pph-card-kicker > span:not(.dashicons) {
	min-width: 0;
}
.pph-site-menu-list {
	list-style: none !important;
	margin: 0 !important;
	padding: 6px !important;
}
.pph-site-menu-list .pph-site-menu-list {
	padding: 0 0 2px 13px !important;
}
.pph-site-menu-item {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
}
.pph-site-menu-item > a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 9px;
	min-height: 35px;
	padding: 7px 8px;
	border-radius: 6px;
	color: #d5dfe7 !important;
	font-size: 10px;
	font-weight: 700;
	line-height: 1.3;
	text-decoration: none !important;
	transition: background .16s ease, color .16s ease, padding-left .16s ease;
}
.pph-site-menu-item > a:hover,
.pph-site-menu-item.current-menu-item > a,
.pph-site-menu-item.current-menu-ancestor > a {
	padding-left: 11px;
	background: rgba(255,212,0,.065);
	color: #fff !important;
}
.pph-site-menu-item.current-menu-item > a {
	color: var(--pph-gold) !important;
}
.pph-site-menu-label {
	min-width: 0;
	overflow-wrap: anywhere;
}
.pph-site-menu-arrow {
	flex: 0 0 auto;
	color: #64798b;
	font-size: 15px;
	line-height: 1;
}
.pph-site-menu-item > a:hover .pph-site-menu-arrow { color: var(--pph-gold); }
.pph-site-menu-depth-1 .pph-site-menu-item > a,
.pph-site-menu-depth-2 .pph-site-menu-item > a {
	min-height: 31px;
	padding-top: 5px;
	padding-bottom: 5px;
	color: #aebdca !important;
	font-size: 9px;
}

/* Mobile site directory is intentionally absent until the Explore tab is used,
 * keeping the default phone experience focused on the activity feed. */
.pph-mobile-explore { display: none; }

@media (max-width: 760px) {
	.pph-mobile-tab {
		appearance: none;
		-webkit-appearance: none;
		border: 0;
		background: transparent;
		font: inherit;
		cursor: pointer;
	}
	.pph-mobile-explore:not([hidden]) {
		display: block;
		margin: 0 0 9px;
		padding: 8px;
		border: 1px solid var(--pph-line-soft);
		border-radius: 10px;
		background: rgba(8,16,24,.98);
		box-shadow: 0 12px 30px rgba(0,0,0,.28);
	}
	.pph-mobile-explore-head {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 12px;
		padding: 5px 5px 10px;
	}
	.pph-mobile-explore-head strong {
		display: block;
		color: #fff;
		font-size: 16px;
		line-height: 1.15;
	}
	.pph-mobile-explore-close {
		width: 34px;
		height: 34px;
		display: grid;
		place-items: center;
		flex: 0 0 34px;
		padding: 0;
		border: 1px solid var(--pph-line-soft);
		border-radius: 7px;
		background: rgba(255,255,255,.03);
		color: #aebdca;
		cursor: pointer;
	}
	.pph-mobile-explore-close:hover { color: var(--pph-gold); border-color: var(--pph-line); }
	.pph-mobile-explore-widgets {
		display: grid;
		gap: 7px;
	}
	.pph-site-menu-mobile-card { box-shadow: none; }
	.pph-site-menu-mobile-card > summary {
		position: relative;
		cursor: pointer;
		list-style: none;
		user-select: none;
		border-bottom: 0;
	}
	.pph-site-menu-mobile-card > summary::-webkit-details-marker { display: none; }
	.pph-site-menu-mobile-card[open] > summary { border-bottom: 1px solid var(--pph-line-soft); }
	.pph-site-menu-summary-arrow {
		margin-left: auto;
		color: #728596;
		font-size: 13px;
		transition: transform .18s ease;
	}
	.pph-site-menu-mobile-card[open] .pph-site-menu-summary-arrow { transform: rotate(180deg); color: var(--pph-gold); }
	.pph-site-menu-mobile-card .pph-site-menu-list { padding: 6px !important; }
	.pph-site-menu-mobile-card .pph-site-menu-item > a {
		min-height: 39px;
		font-size: 11px;
	}
}

@container pph-home-layout (max-width: 760px) {
	.pph-mobile-explore:not([hidden]) { display: block; }
}


/* ========================================================================== */
/* v1.8.0 desktop focus pass                                                  */
/* Wider center feed, quieter side rails, official content in right rail.     */
/* ========================================================================== */

/* Give the social stream more visual and physical priority. */
.pph-home .pph-grid {
	grid-template-columns: 205px minmax(0, 1fr) 238px;
	gap: 14px;
}

/* No homepage rail is sticky. Long menus must always remain reachable by the
 * browser's normal page scroll. Member-profile pages are unaffected. */
.pph-home .pph-sticky-stack {
	position: static;
	top: auto;
}

/* Let the page background breathe through the utility rails while keeping the
 * center feed more solid. This reduces the dashboard/crammed feeling without
 * sacrificing contrast or readability. */
.pph-home .pph-left .pph-card,
.pph-home .pph-right .pph-card {
	background:
		linear-gradient(160deg, rgba(255,255,255,.012), transparent 42%),
		rgba(6, 13, 20, .74);
	border-color: rgba(134, 166, 198, .11);
	box-shadow: none;
	-webkit-backdrop-filter: blur(5px);
	backdrop-filter: blur(5px);
}
.pph-home .pph-left .pph-card-kicker,
.pph-home .pph-right .pph-card-kicker,
.pph-home .pph-left .pph-card-title-row,
.pph-home .pph-right .pph-card-title-row {
	background: rgba(0,0,0,.11);
}
.pph-home .pph-feed-heading,
.pph-home .pph-feed-shell {
	background:
		linear-gradient(160deg, rgba(38, 111, 156, .035), transparent 38%),
		rgba(8, 17, 26, .97);
	border-color: rgba(151, 184, 211, .20);
	box-shadow: 0 18px 48px rgba(0,0,0,.31), 0 0 34px rgba(20,101,151,.045);
}
.pph-home .pph-feed-heading {
	border-color: rgba(255, 212, 0, .13);
}

/* Tighten the non-content chrome at the top of the timeline. */
.pph-home .pph-feed-heading {
	padding: 10px 13px;
	margin-bottom: 7px;
	align-items: center;
}
.pph-home .pph-feed-heading h2 {
	font-size: 20px !important;
	margin-bottom: 2px !important;
}
.pph-home .pph-feed-heading p {
	font-size: 10px;
	line-height: 1.35;
}
.pph-home .pph-live-pill {
	margin-top: 0;
	padding: 4px 8px;
}
.pph-home .pph-feed-shell {
	padding: 7px;
}
.pph-home #youzify-wall-nav {
	margin-bottom: 7px !important;
}
.pph-home #youzify-wall-form {
	margin-bottom: 8px !important;
}
.pph-home #youzify-wall-form .youzify-wall-options {
	padding: 5px 6px 0 !important;
}
.pph-home #youzify-wall-form .youzify-wall-opts-item label {
	min-height: 30px;
	margin-bottom: 5px !important;
}
.pph-home #youzify-wall-form .youzify-wall-content {
	min-height: 92px;
}

/* On desktop, official Prospector content is a discovery rail above the site
 * directory. The mobile copies remain inside the activity experience. */
.pph-home .pph-feed-system-stack-mobile {
	display: none;
}
.pph-home .pph-desktop-official-stack {
	display: grid;
	gap: 12px;
}
.pph-home .pph-desktop-banner-body {
	padding: 7px;
}
.pph-home .pph-desktop-banner-body .pgub,
.pph-home .pph-desktop-banner-body .pgub-layout-sidebar {
	width: 100%;
	max-width: none;
	margin: 0;
}
.pph-home .pph-desktop-banner-body .pgub-sidebar-stack {
	display: grid;
	grid-template-columns: 1fr;
	gap: 7px;
}
.pph-home .pph-desktop-banner-body .pgub-banner--sidebar {
	padding: 8px !important;
	border-radius: 7px !important;
	background: rgba(4, 11, 17, .58) !important;
}
.pph-home .pph-desktop-banner-body .pgub-banner--sidebar .pgub-banner-date {
	font-size: 13px !important;
}
.pph-home .pph-desktop-banner-body .pgub-banner--sidebar .pgub-hero-grid {
	grid-template-columns: repeat(auto-fit, minmax(42px, 54px));
	gap: 5px;
}
.pph-home .pph-desktop-banner-body .pgub-banner--sidebar .pgub-banner-details {
	gap: 5px;
}
.pph-home .pph-desktop-banner-body .pgub-banner--sidebar .pgub-type-list,
.pph-home .pph-desktop-banner-body .pgub-banner--sidebar .pgub-countdown {
	font-size: 8px;
}
.pph-home .pph-right .pph-articles-sidebar .pph-article-list {
	padding: 6px;
}
.pph-home .pph-right .pph-articles-sidebar .pph-article-item {
	grid-template-columns: 54px minmax(0,1fr);
	gap: 7px;
	padding: 6px;
}
.pph-home .pph-right .pph-articles-sidebar .pph-article-thumb {
	width: 54px;
	height: 38px;
}
.pph-home .pph-right .pph-articles-sidebar .pph-article-copy strong {
	font-size: 9px;
}

@media (max-width: 1220px) and (min-width: 1051px) {
	.pph-home .pph-grid {
		grid-template-columns: 185px minmax(0, 1fr) 220px;
		gap: 12px;
	}
}

/* Phone/tablet keeps banners + latest articles in the feed, but the desktop
 * WordPress site-directory rail has no mobile duplicate because the theme's
 * header menu already owns full-site navigation there. */
@media (max-width: 760px) {
	.pph-home .pph-feed-system-stack-mobile {
		display: grid;
	}
	.pph-home .pph-desktop-official-stack {
		display: none;
	}
	.pph-mobile-explore {
		display: none !important;
	}
}
@container pph-home-layout (max-width: 760px) {
	.pph-home .pph-feed-system-stack-mobile {
		display: grid;
	}
	.pph-home .pph-desktop-official-stack {
		display: none;
	}
	.pph-mobile-explore {
		display: none !important;
	}
}


/* ========================================================================== */
/* v1.8.1 feed simplification + desktop banner polish                         */
/* ========================================================================== */

/* The global homepage no longer needs Youzify's scope/search row. The member
 * profile activity screens keep their normal filters because this is scoped to
 * .pph-home only. The shortcode also requests show_filter=false; this rule is a
 * defensive fallback for Youzify versions that still emit the nav shell. */
.pph-home #youzify-wall-nav,
.pph-home .youzify-wall-nav,
.pph-home .youzify-activity-nav,
.pph-home .activity-type-tabs {
	display: none !important;
}

/* With the filter row gone, pull the composer closer to the feed heading. */
.pph-home .pph-feed-shell {
	padding-top: 6px;
}
.pph-home #youzify-wall-form {
	margin-top: 0 !important;
}

/* Desktop Upcoming Banners: keep the original banner renderer/data, but make
 * the narrow discovery-rail treatment read like one schedule widget rather
 * than two tiny standalone homepage cards. */
.pph-home .pph-desktop-banner-card {
	overflow: hidden;
}
.pph-home .pph-desktop-banner-body {
	padding: 0 8px 7px;
}
.pph-home .pph-desktop-banner-body .pgub-sidebar-stack {
	display: block;
}
.pph-home .pph-desktop-banner-body .pgub-banner--sidebar {
	padding: 10px 2px 9px !important;
	margin: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
}
.pph-home .pph-desktop-banner-body .pgub-banner--sidebar + .pgub-banner--sidebar {
	border-top: 1px solid rgba(134, 166, 198, .12) !important;
}
.pph-home .pph-desktop-banner-body .pgub-banner-head {
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	gap: 7px !important;
	margin-bottom: 7px !important;
}
.pph-home .pph-desktop-banner-body .pgub-banner-date {
	font-size: 12px !important;
	line-height: 1.05 !important;
	letter-spacing: .02em !important;
}
.pph-home .pph-desktop-banner-body .pgub-banner-meta {
	display: none !important;
}
.pph-home .pph-desktop-banner-body .pgub-status-badge {
	font-size: 6.5px !important;
	padding: 3px 5px !important;
	white-space: nowrap !important;
}
.pph-home .pph-desktop-banner-body .pgub-banner-body {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) !important;
	gap: 7px !important;
}
.pph-home .pph-desktop-banner-body .pgub-hero-grid {
	display: flex !important;
	flex-wrap: wrap !important;
	align-items: flex-start !important;
	gap: 5px !important;
}
.pph-home .pph-desktop-banner-body .pgub-hero-card {
	width: 48px !important;
	flex: 0 0 48px !important;
}
.pph-home .pph-desktop-banner-body .pgub-banner-details {
	display: flex !important;
	align-items: flex-end !important;
	justify-content: space-between !important;
	gap: 8px !important;
	min-width: 0 !important;
}
.pph-home .pph-desktop-banner-body .pgub-type-list {
	min-width: 0 !important;
	display: flex !important;
	flex-wrap: wrap !important;
	gap: 3px 6px !important;
	font-size: 7px !important;
	line-height: 1.2 !important;
}
.pph-home .pph-desktop-banner-body .pgub-type-list span {
	white-space: nowrap !important;
}
.pph-home .pph-desktop-banner-body .pgub-countdown {
	margin-left: auto !important;
	text-align: right !important;
	font-size: 7px !important;
	line-height: 1.15 !important;
	white-space: nowrap !important;
}
.pph-home .pph-desktop-banner-body .pgub-countdown strong {
	display: block !important;
	font-size: 8px !important;
}

@media (max-width: 760px) {
	/* The feed scopes are intentionally removed on mobile too; the app-style
	 * navigation above the feed handles destinations, while the timeline stays
	 * focused on content. */
	.pph-home #youzify-wall-nav { display: none !important; }
}

/* ========================================================================== */
/* v1.8.2 desktop site-directory accordion                                    */
/* Keeps the right rail compact without changing item hover/current behavior. */
/* ========================================================================== */
@media (min-width: 761px) {
	.pph-home .pph-site-menu-desktop-card {
		overflow: hidden;
	}
	.pph-home .pph-site-menu-desktop-card > summary {
		display: flex;
		align-items: center;
		gap: 7px;
		cursor: pointer;
		list-style: none;
		user-select: none;
		border-bottom: 0;
	}
	.pph-home .pph-site-menu-desktop-card > summary::-webkit-details-marker {
		display: none;
	}
	.pph-home .pph-site-menu-desktop-card > summary .pph-site-menu-summary-arrow {
		margin-left: auto;
		color: #6f8292;
		font-size: 12px;
		line-height: 1;
		transition: transform .18s ease, color .18s ease;
	}
	.pph-home .pph-site-menu-desktop-card[open] > summary {
		border-bottom: 1px solid var(--pph-line-soft);
	}
	.pph-home .pph-site-menu-desktop-card[open] > summary .pph-site-menu-summary-arrow {
		transform: rotate(180deg);
		color: var(--pph-gold);
	}
	.pph-home .pph-site-menu-desktop-card .pph-site-menu-panel {
		padding: 4px 5px 6px;
	}
	.pph-home .pph-site-menu-desktop-card .pph-site-menu-list {
		padding: 0 !important;
	}
}


/* ========================================================================== */
/* v1.8.3 feed canvas + mobile edge-to-edge                                   */
/* Remove the extra Youzify/page shell so each composer/activity card floats  */
/* directly in the center stream. Phones use a Facebook-like edge-to-edge UI. */
/* ========================================================================== */

/* Youzify applies a 35px page pad to its shortcode page wrapper. The Premium
 * Homepage already owns spacing, so that wrapper must contribute none. */
.pph-home .youzify-activity-shortcode,
.pph-home .youzify-activity-shortcode #youzify,
.pph-home .youzify-activity-shortcode #youzify-bp,
.pph-home .youzify-activity-shortcode .youzify-page,
.pph-home .youzify-activity-shortcode .youzify-page-container,
.pph-home .youzify-activity-shortcode .youzify-content,
.pph-home .youzify-activity-shortcode .youzify-page-main-content,
.pph-home .youzify-activity-shortcode .youzify-main-column,
.pph-home .youzify-activity-shortcode .youzify-column-content {
	padding: 0 !important;
}

/* The feed shell is structural only. Individual Youzify composer/activity
 * cards provide their own surfaces, so do not draw another box around them. */
.pph-home .pph-feed-shell {
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	overflow: visible !important;
}
.pph-home .pph-feed-shell > .youzify-activity-shortcode {
	padding: 0 !important;
	background: transparent !important;
}

@media (max-width: 760px) {
	/* Gutenberg/Blocksy may keep the shortcode inside a padded content wrapper.
	 * Break only the homepage experience out to the actual device viewport. */
	.pph-home.pph-blocksy-container-width {
		width: 100vw !important;
		max-width: none !important;
		margin-left: calc(50% - 50vw) !important;
		margin-right: calc(50% - 50vw) !important;
	}

	.pph-home .pph-grid,
	.pph-home .pph-center,
	.pph-home .pph-feed-shell,
	.pph-home .youzify-activity-shortcode,
	.pph-home .youzify-activity-shortcode #youzify,
	.pph-home .youzify-activity-shortcode #youzify-bp {
		width: 100% !important;
		max-width: none !important;
	}

	.pph-home .pph-grid {
		gap: 0 !important;
		margin: 0 !important;
	}

	/* Top app tabs and feed heading become full-bleed sections rather than
	 * floating desktop cards. */
	.pph-home .pph-mobile-tabs,
	.pph-home .pph-feed-heading {
		margin: 0 !important;
		border-left: 0 !important;
		border-right: 0 !important;
		border-radius: 0 !important;
		box-shadow: none !important;
	}
	.pph-home .pph-mobile-tabs { border-top: 0 !important; }
	.pph-home .pph-feed-heading { border-top: 1px solid var(--pph-line-soft) !important; }

	/* Composer and every timeline item stack flush, separated by a single line.
	 * This keeps the phone feed dense without merging the individual cards. */
	.pph-home #youzify-wall-form,
	.pph-home #activity-stream > li.activity-item,
	.pph-home ul.activity-list > li.activity-item,
	.pph-home .activity-list li.load-more,
	.pph-home .youzify-no-content {
		margin: 0 !important;
		border-left: 0 !important;
		border-right: 0 !important;
		border-radius: 0 !important;
		box-shadow: none !important;
	}
	.pph-home #activity-stream > li.activity-item + li.activity-item,
	.pph-home ul.activity-list > li.activity-item + li.activity-item {
		border-top-color: rgba(134,166,198,.12) !important;
	}

	/* Official modules stay in the mobile stream, but also use the same
	 * edge-to-edge rhythm with no card-to-card gaps. */
	.pph-home .pph-feed-system-stack,
	.pph-home .pph-feed-system-stack-mobile {
		gap: 0 !important;
		margin: 0 !important;
	}
	.pph-home .pph-feed-banner-card,
	.pph-home .pph-articles-center {
		margin: 0 !important;
		border-left: 0 !important;
		border-right: 0 !important;
		border-radius: 0 !important;
		box-shadow: none !important;
	}
	.pph-home .pph-articles-center .pph-article-list {
		padding-left: 10px;
		padding-right: 10px;
	}
}

@container pph-home-layout (max-width: 760px) {
	.pph-home .pph-grid { gap: 0 !important; margin: 0 !important; }
	.pph-home .pph-feed-shell { padding: 0 !important; }
}

/* ========================================================================== */
/* v1.9.2 native Youzify layering + comment polish                            */
/* CSS-only on purpose: keep Youzify/BuddyPress event handling untouched.     */
/* ========================================================================== */

/* Small breathing room between the theme header and the Premium Homepage.
 * Desktop gets 15px; phones remain flush beneath the mobile site header. */
@media (min-width: 761px) {
	.pph-home {
		margin-top: 15px !important;
	}
}
@media (max-width: 760px) {
	.pph-home {
		margin-top: 0 !important;
	}
}

/*
 * Youzify renders several menus/pickers inside the activity/card markup. Its
 * stock z-index values are often only 9/9999, and a few of its own wrappers
 * use overflow:hidden. Release only the community/profile content chain that
 * can legitimately contain a flyout. This avoids the MutationObserver-heavy
 * approach from the reverted v1.9.0 experiment.
 */
.pph-home .pph-center,
.pph-home .pph-feed-shell,
.pph-home .youzify-activity-shortcode,
.pph-home .youzify-activity-shortcode #youzify,
.pph-home .youzify-activity-shortcode #youzify-bp,
.pph-home .youzify-activity-shortcode .youzify-page,
.pph-home .youzify-activity-shortcode .youzify-page-container,
.pph-home .youzify-activity-shortcode .youzify-content,
.pph-home .youzify-activity-shortcode .youzify-page-main-content,
.pph-home .youzify-activity-shortcode .youzify-main-column,
.pph-home .youzify-activity-shortcode .youzify-column-content,
.pph-home #youzify-wall-form,
.pph-home #youzify-wall-form .youzify-wall-content,
.pph-home #youzify-wall-form .youzify-wall-actions,
.pph-home #activity-stream,
.pph-home #activity-stream > li.activity-item,
.pph-home #activity-stream .activity-content,
.pph-home #activity-stream .ac-form,
.pph-home #activity-stream .youzify-emojionearea,
.pph-member-takeover .pph-member-main,
.pph-member-takeover .pph-member-content-shell,
.pph-member-takeover .youzify-page-main-content,
.pph-member-takeover .youzify-main-column,
.pph-member-takeover .youzify-column-content,
.pph-member-takeover #youzify-wall-form,
.pph-member-takeover #youzify-wall-form .youzify-wall-content,
.pph-member-takeover #youzify-wall-form .youzify-wall-actions,
.pph-member-takeover #activity-stream,
.pph-member-takeover #activity-stream > li.activity-item,
.pph-member-takeover #activity-stream .activity-content,
.pph-member-takeover #activity-stream .ac-form,
.pph-member-takeover #activity-stream .youzify-emojionearea {
	overflow: visible !important;
}

/* Keep ordinary cards in the normal document layer. An open Youzify control
 * can then rise above neighboring posts/rails without competing card stacks. */
.pph-home .pph-card,
.pph-home .pph-feed-heading,
.pph-home #activity-stream > li.activity-item,
.pph-member-takeover .pph-card,
.pph-member-takeover #activity-stream > li.activity-item {
	z-index: auto;
}

/* Nice Select powers privacy and a number of Youzify selects. Elevate the
 * opened control AND its list; the parent elevation is important when the next
 * activity card appears later in the DOM. */
.pph-home .nice-select.open,
.pph-member-takeover .nice-select.open {
	position: relative !important;
	z-index: 100100 !important;
	overflow: visible !important;
}
.pph-home .nice-select.open .list,
.pph-member-takeover .nice-select.open .list {
	z-index: 100110 !important;
	overflow-y: auto !important;
	overflow-x: visible !important;
}

/* Youzify's emoji/GIF/mention layers are absolute popovers and must not be
 * trapped beneath the post that follows them. */
.pph-home .youzify-emojionearea-picker,
.pph-member-takeover .youzify-emojionearea-picker,
.pph-home .youzify-comment-giphy-form,
.pph-member-takeover .youzify-comment-giphy-form,
.pph-home .dropdown-menu[data-strategy='youzify_mentions'],
.pph-member-takeover .dropdown-menu[data-strategy='youzify_mentions'] {
	z-index: 100200 !important;
}

.pph-home .youzify-item-tools,
.pph-member-takeover .youzify-item-tools,
.pph-home .youzify-dropdown-area,
.pph-member-takeover .youzify-dropdown-area {
	position: relative;
	z-index: 100150 !important;
}

/* Full overlays remain above every Premium card and inline flyout. */
#youzify-modal,
.youzify-wall-modal-overlay,
.youzify-wall-modal,
.youzify-dialog-container,
.youzify-lightbox,
.youzify-lightbox-overlay {
	z-index: 1000000 !important;
}

/* -------------------------------------------------------------------------- */
/* Native inline comments: keep Youzify functionality, remove the gray block. */
/* -------------------------------------------------------------------------- */
.pph-home .activity-comments,
.pph-member-takeover .activity-comments {
	margin: 0 !important;
	padding: 0 14px 12px !important;
	background: transparent !important;
	border-top: 1px solid rgba(134, 166, 198, .13) !important;
	overflow: visible !important;
}

.pph-home .activity-comments > ul,
.pph-member-takeover .activity-comments > ul {
	margin: 0 !important;
	padding: 10px 0 0 !important;
}

.pph-home .activity-comments li,
.pph-member-takeover .activity-comments li {
	margin: 0 0 8px !important;
	padding: 0 !important;
	background: transparent !important;
	border: 0 !important;
}

.pph-home .activity-comments li:last-child,
.pph-member-takeover .activity-comments li:last-child {
	margin-bottom: 0 !important;
}

.pph-home .activity-comments li .comment-container,
.pph-member-takeover .activity-comments li .comment-container {
	padding: 10px 11px !important;
	border: 1px solid rgba(134, 166, 198, .13) !important;
	border-radius: 9px !important;
	background: rgba(255, 255, 255, .025) !important;
	box-shadow: none !important;
	overflow: visible !important;
}

/* Replies read as a conversation thread rather than another large gray card. */
.pph-home .activity-comments li ul,
.pph-member-takeover .activity-comments li ul {
	margin: 8px 0 0 34px !important;
	padding: 0 0 0 9px !important;
	border-left: 1px solid rgba(255, 212, 0, .15) !important;
}

.pph-home .activity-comments li li .comment-container,
.pph-member-takeover .activity-comments li li .comment-container {
	background: rgba(255, 255, 255, .018) !important;
}

.pph-home .activity-comments .acomment-avatar img,
.pph-member-takeover .activity-comments .acomment-avatar img {
	width: 32px !important;
	height: 32px !important;
	margin-right: 9px !important;
}

.pph-home .activity-comments .comment-inner,
.pph-home .activity-comments .acomment-options,
.pph-member-takeover .activity-comments .comment-inner,
.pph-member-takeover .activity-comments .acomment-options {
	width: calc(100% - 41px) !important;
}

.pph-home .activity-comments .acomment-meta,
.pph-member-takeover .activity-comments .acomment-meta {
	margin: 1px 0 5px !important;
	line-height: 1.25 !important;
}

.pph-home .activity-comments .acomment-meta > a,
.pph-member-takeover .activity-comments .acomment-meta > a {
	color: #dce5ec !important;
	font-size: 11px !important;
	font-weight: 800 !important;
}

.pph-home .activity-comments .acomment-meta a .time-since,
.pph-member-takeover .activity-comments .acomment-meta a .time-since,
.pph-home .activity-comments .acomment-meta .youzify-report-comment-title,
.pph-member-takeover .activity-comments .acomment-meta .youzify-report-comment-title {
	color: #718394 !important;
	font-size: 9px !important;
}

.pph-home .acomment-content,
.pph-member-takeover .acomment-content {
	margin-bottom: 6px !important;
}
.pph-home .acomment-content p,
.pph-home .acomment-content .rtmedia-activity-text,
.pph-member-takeover .acomment-content p,
.pph-member-takeover .acomment-content .rtmedia-activity-text {
	margin: 0 !important;
	padding: 0 !important;
	color: #d7e0e8 !important;
	font-size: 11px !important;
	line-height: 1.55 !important;
}

.pph-home .acomment-options,
.pph-member-takeover .acomment-options {
	line-height: 1.2 !important;
}
.pph-home .acomment-options a,
.pph-member-takeover .acomment-options a {
	margin-right: 11px !important;
	padding: 0 !important;
	color: #8899a7 !important;
	font-size: 9px !important;
	font-weight: 700 !important;
	text-transform: none !important;
}
.pph-home .acomment-options a:hover,
.pph-member-takeover .acomment-options a:hover {
	color: var(--pph-gold) !important;
}

/* Reply composer belongs to the conversation instead of looking like a second
 * unrelated panel. This keeps Youzify's native show/hide and AJAX behavior. */
.pph-home #activity-stream .ac-form,
.pph-member-takeover #activity-stream .ac-form {
	padding: 10px 14px 12px !important;
	background: rgba(0, 0, 0, .10) !important;
	border-top: 1px solid rgba(134, 166, 198, .12) !important;
	box-shadow: none !important;
	overflow: visible !important;
}
.pph-home #activity-stream li li .ac-form,
.pph-member-takeover #activity-stream li li .ac-form {
	padding: 8px 0 0 !important;
	border-top: 0 !important;
	background: transparent !important;
}
.pph-home #activity-stream .ac-form textarea,
.pph-home #activity-stream .ac-form .youzify-emojionearea-editor,
.pph-member-takeover #activity-stream .ac-form textarea,
.pph-member-takeover #activity-stream .ac-form .youzify-emojionearea-editor {
	color: #e7edf2 !important;
	background: #0a141d !important;
	border: 1px solid rgba(134, 166, 198, .18) !important;
	box-shadow: none !important;
}
.pph-home #activity-stream .ac-form textarea::placeholder,
.pph-member-takeover #activity-stream .ac-form textarea::placeholder {
	color: #718394 !important;
}

.pph-home .youzify-comment-giphy-form,
.pph-member-takeover .youzify-comment-giphy-form {
	background: #0d1721 !important;
	border: 1px solid rgba(134, 166, 198, .2) !important;
	box-shadow: 0 12px 34px rgba(0,0,0,.5) !important;
}
.pph-home .youzify-comment-giphy-form:before,
.pph-member-takeover .youzify-comment-giphy-form:before {
	border-bottom-color: #0d1721 !important;
}

/* Native collapsed-comment reveal inserted by Youzify when the homepage sets
 * youzify_comments_length to zero. Keep it subtle and conversational. */
.pph-home .activity-comments li.show-all {
	margin: 0 !important;
	padding: 8px 0 2px !important;
}
.pph-home .activity-comments li.show-all > a {
	display: inline-flex !important;
	align-items: center;
	min-height: 24px;
	color: #91a2b1 !important;
	font-size: 10px !important;
	font-weight: 800 !important;
	text-decoration: none !important;
}
.pph-home .activity-comments li.show-all > a:hover {
	color: var(--pph-gold) !important;
}

@media (max-width: 760px) {
	.pph-home .activity-comments {
		padding-left: 10px !important;
		padding-right: 10px !important;
	}
	.pph-home .activity-comments li ul {
		margin-left: 22px !important;
		padding-left: 7px !important;
	}
	.pph-home #activity-stream .ac-form {
		padding-left: 10px !important;
		padding-right: 10px !important;
	}
}


/* ========================================================================== */
/* v1.9.3 native collapsed comments + mobile alignment polish                 */
/* ========================================================================== */

@media (max-width: 760px) {
	/* The homepage canvas remains truly edge-to-edge; do not bring back a page
	 * gutter just to create breathing room inside the controls. */
	.pph-home.pph-blocksy-container-width,
	.pph-home .pph-grid,
	.pph-home .pph-center,
	.pph-home .pph-feed-shell {
		padding-left: 0 !important;
		padding-right: 0 !important;
	}

	/* Center the Facebook-style destination row when it fits. If the buttons
	 * exceed the phone width, the outer bar remains horizontally scrollable. */
	.pph-home .pph-mobile-tabs {
		padding-left: 5px !important;
		padding-right: 5px !important;
		overflow-x: auto !important;
		overflow-y: hidden !important;
		scrollbar-width: none;
	}
	.pph-home .pph-mobile-tabs::-webkit-scrollbar { display: none; }
	.pph-home .pph-mobile-tabs-track {
		width: max-content;
		min-width: 100%;
		justify-content: center;
		gap: 3px;
		overflow: visible !important;
	}

	/* The full-bleed shells touch the viewport, while the few chrome rows that
	 * had zero horizontal inset retain a small five-pixel inner cushion. */
	.pph-home #youzify-wall-form .youzify-wall-options {
		padding-left: 5px !important;
		padding-right: 5px !important;
	}
	.pph-home .pph-feed-system-stack-mobile {
		padding-left: 0 !important;
		padding-right: 0 !important;
	}
}

/* ========================================================================== */
/* v1.9.4 mobile information order + compact live-banner rail                 */
/* ========================================================================== */

@media (max-width: 760px) {
	/* Mobile order is intentional: app nav -> official live modules -> feed.
	 * This stack now lives outside Youzify, so it never gets relocated by AJAX. */
	.pph-home > .pph-feed-system-stack-mobile {
		display: grid !important;
		gap: 0 !important;
		width: 100% !important;
		margin: 0 !important;
		padding: 0 !important;
	}

	/* Keep the destination bar comfortably inside the phone edges now that it
	 * carries fewer primary destinations. */
	.pph-home .pph-mobile-tabs-track {
		justify-content: center !important;
		gap: 5px !important;
	}
	.pph-home .pph-mobile-tab {
		flex: 0 0 64px !important;
		min-height: 50px !important;
		padding: 5px 3px !important;
	}

	/* The live schedule becomes one horizontal row instead of a tall stack. */
	.pph-home .pph-feed-banner-card {
		margin: 0 !important;
	}
	.pph-home .pph-feed-banner-head {
		display: none !important;
	}
	.pph-home .pph-feed-banner-copy {
		align-items: center !important;
		flex-direction: row !important;
		gap: 8px !important;
		padding: 9px 10px 7px !important;
	}
	.pph-home .pph-feed-banner-copy .pph-eyebrow,
	.pph-home .pph-feed-banner-copy p {
		display: none !important;
	}
	.pph-home .pph-feed-banner-copy h3 {
		margin: 0 !important;
		font-size: 15px !important;
		line-height: 1.1 !important;
	}
	.pph-home .pph-feed-banner-link {
		width: auto !important;
		min-height: 30px !important;
		padding: 5px 8px !important;
		margin-left: auto !important;
		white-space: nowrap !important;
	}
	.pph-home .pph-feed-banner-widget {
		padding: 0 5px 7px !important;
		overflow: hidden !important;
	}
	.pph-home .pph-feed-banner-widget .pgub-sidebar-stack {
		display: flex !important;
		grid-template-columns: none !important;
		flex-wrap: nowrap !important;
		gap: 6px !important;
		overflow-x: auto !important;
		overflow-y: hidden !important;
		padding: 0 0 2px !important;
		-webkit-overflow-scrolling: touch;
		scroll-snap-type: x proximity;
		scrollbar-width: none;
	}
	.pph-home .pph-feed-banner-widget .pgub-sidebar-stack::-webkit-scrollbar {
		display: none;
	}
	.pph-home .pph-feed-banner-widget .pgub-banner--sidebar {
		flex: 0 0 min(82vw, 330px) !important;
		min-width: 0 !important;
		padding: 8px !important;
		scroll-snap-align: start;
	}
	.pph-home .pph-feed-banner-widget .pgub-banner-head {
		display: flex !important;
		margin-bottom: 6px !important;
	}
	.pph-home .pph-feed-banner-widget .pgub-banner--sidebar .pgub-banner-date {
		font-size: 14px !important;
	}
	.pph-home .pph-feed-banner-widget .pgub-banner--sidebar .pgub-hero-grid {
		grid-template-columns: repeat(auto-fit, minmax(46px, 56px)) !important;
		justify-content: start !important;
		gap: 6px !important;
		padding: 0 2px 2px !important;
	}
	.pph-home .pph-feed-banner-widget .pgub-banner--sidebar .pgub-banner-details {
		align-items: center !important;
		justify-content: space-between !important;
		flex-direction: row !important;
		gap: 6px !important;
		padding-top: 6px !important;
	}
	.pph-home .pph-feed-banner-widget .pgub-banner--sidebar .pgub-type-list {
		justify-content: flex-start !important;
		gap: 3px 5px !important;
	}
	.pph-home .pph-feed-banner-widget .pgub-banner--sidebar .pgub-countdown {
		text-align: right !important;
	}

	/* Latest Articles follows the live schedule and remains a one-row swipe strip. */
	.pph-home > .pph-feed-system-stack-mobile .pph-articles-center {
		margin: 0 !important;
		border-top: 1px solid var(--pph-line-soft) !important;
	}

	/* The community header begins the social portion after official modules. */
	.pph-home .pph-feed-heading {
		margin-top: 0 !important;
		border-top: 1px solid var(--pph-line-soft) !important;
	}
}

@media (max-width: 440px) {
	.pph-home .pph-mobile-tab {
		flex-basis: 60px !important;
	}
	.pph-home .pph-feed-banner-widget .pgub-banner--sidebar {
		flex-basis: 84vw !important;
	}
}

@container pph-home-layout (max-width: 760px) {
	.pph-home > .pph-feed-system-stack-mobile {
		display: grid !important;
	}
}

/* ========================================================================== 
   v2.0 Native BuddyPress Community Engine
   Youzify is no longer required. These rules own the feed/composer/comments.
   ========================================================================== */
.pph-native-community {
	--pph-native-border: rgba(134,166,198,.18);
	--pph-native-surface: #0b1722;
	--pph-native-surface-2: #101e2a;
	width: 100%;
	min-width: 0;
}
.pph-native-feedback {
	margin: 0 0 10px;
	padding: 10px 12px;
	border: 1px solid rgba(54,217,126,.35);
	background: rgba(54,217,126,.08);
	border-radius: 8px;
	font-size: 12px;
	color: #bdf5d1;
}
.pph-native-feedback.is-error { border-color: rgba(239,83,80,.38); background: rgba(239,83,80,.08); color:#ffc2c0; }
.pph-native-login-prompt { margin-bottom: 8px; padding: 12px; text-align:center; border:1px solid var(--pph-native-border); background:var(--pph-native-surface); }
.pph-native-login-prompt a { color:var(--pph-gold); font-weight:800; text-decoration:none; }

.pph-native-composer {
	margin: 0 0 10px;
	border: 1px solid var(--pph-native-border);
	background: var(--pph-native-surface);
	border-radius: 9px;
	overflow: visible;
}
.pph-native-composer-tabs { display:flex; flex-wrap:wrap; gap:4px; padding:8px; border-bottom:1px solid var(--pph-native-border); background:rgba(0,0,0,.12); }
.pph-native-composer-tabs button {
	appearance:none; border:1px solid transparent; background:#142331; color:#9fb0bf; min-height:30px; padding:5px 10px; border-radius:5px;
	display:inline-flex; align-items:center; gap:6px; font-size:10px; font-weight:800; cursor:pointer;
}
.pph-native-composer-tabs button:hover, .pph-native-composer-tabs button.is-active { color:#fff; background:rgba(255,212,0,.12); border-color:rgba(255,212,0,.16); }
.pph-native-composer-tabs .dashicons { width:15px; height:15px; font-size:15px; }
.pph-native-composer-form { margin:0; }
.pph-native-composer-main { display:grid; grid-template-columns:42px 1fr; gap:10px; align-items:start; padding:12px; }
.pph-native-composer-avatar img { width:42px!important; height:42px!important; object-fit:cover; border-radius:50%; display:block; }
.pph-native-composer textarea,
.pph-native-extra input[type="text"],
.pph-native-extra input[type="url"] {
	width:100%; border:0!important; outline:0!important; box-shadow:none!important; background:transparent!important; color:#f4f7fa!important; font:inherit;
}
.pph-native-composer textarea { resize:vertical; min-height:76px; padding:7px 2px!important; line-height:1.55; font-size:13px; }
.pph-native-composer textarea::placeholder, .pph-native-extra input::placeholder { color:#66798a; opacity:1; }
.pph-native-extra { padding:10px 12px; border-top:1px solid var(--pph-native-border); background:rgba(255,255,255,.012); }
.pph-native-extra label { color:#d8e1e8; font-size:11px; font-weight:800; display:grid; gap:7px; }
.pph-native-extra-photo label { display:flex; align-items:center; gap:8px; cursor:pointer; }
.pph-native-extra-photo input { max-width:100%; font-size:11px; }
.pph-native-extra-link input,
.pph-native-extra-poll input { padding:9px 10px!important; border:1px solid var(--pph-native-border)!important; border-radius:5px; background:#09131d!important; }
.pph-native-poll-options { display:grid; gap:6px; margin-top:8px; }
.pph-native-add-poll-option { margin-top:8px; appearance:none; border:0; background:transparent; color:var(--pph-gold); padding:2px; font-size:11px; font-weight:800; cursor:pointer; }
.pph-native-composer-footer { display:flex; justify-content:space-between; align-items:center; gap:10px; padding:10px 12px; border-top:1px solid var(--pph-native-border); }
.pph-native-privacy-label { display:inline-flex; align-items:center; gap:5px; color:#b6c3ce; font-size:11px; }
.pph-native-privacy-label .dashicons { font-size:15px; width:15px; height:15px; }
.pph-native-privacy-label select { color:#e8edf2; background:#26313b; border:0; border-radius:4px; padding:6px 25px 6px 8px; font-size:11px; }
.pph-native-post-button { appearance:none; min-width:92px; min-height:38px; padding:8px 18px; border:1px solid #ffe46a; border-radius:4px; background:linear-gradient(180deg,#ffe539,#ffd000); color:#141414; font-size:10px; font-weight:900; cursor:pointer; }
.pph-native-post-button:disabled { opacity:.6; cursor:wait; }

.pph-native-stream { display:grid; gap:8px; }
.pph-native-activity-card {
	position:relative; border:1px solid var(--pph-native-border); border-radius:9px; background:var(--pph-native-surface); color:#eef3f7; overflow:visible;
}
.pph-native-activity-head { display:grid; grid-template-columns:40px minmax(0,1fr) auto; gap:9px; align-items:center; padding:12px 13px 6px; }
.pph-native-activity-avatar img { width:40px!important; height:40px!important; object-fit:cover; border-radius:50%; display:block; }
.pph-native-activity-author { min-width:0; }
.pph-native-activity-author a { color:#fff!important; text-decoration:none!important; }
.pph-native-activity-author strong { display:block; font-size:12px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.pph-native-activity-author span { display:block; margin-top:3px; color:#889aaa; font-size:9px; text-transform:uppercase; letter-spacing:.04em; }
.pph-native-more { appearance:none; width:28px; height:28px; border:0; border-radius:50%; background:transparent; color:#758899; font-size:21px; line-height:1; cursor:pointer; }
.pph-native-more:hover { background:rgba(255,255,255,.05); color:#fff; }
.pph-native-activity-body { padding:5px 13px 10px; }
.pph-native-post-text { color:#f2f5f7; font-size:12px; line-height:1.62; overflow-wrap:anywhere; }
.pph-native-post-text p { margin:0 0 8px; }
.pph-native-post-text p:last-child { margin-bottom:0; }
.pph-native-post-text a { color:#5cc8ff; }

.pph-native-media-grid { display:grid; gap:3px; margin:10px -13px -10px; background:#050a0f; overflow:hidden; }
.pph-native-media-grid.is-1, .pph-native-media-grid.is-single { grid-template-columns:1fr; }
.pph-native-media-grid.is-2 { grid-template-columns:1fr 1fr; }
.pph-native-media-grid.is-3, .pph-native-media-grid.is-4 { grid-template-columns:1fr 1fr; }
.pph-native-media-grid a { display:block; min-width:0; }
.pph-native-media-grid img, .pph-native-media-grid video { display:block; width:100%!important; max-height:520px; object-fit:contain; background:#05090d; }
.pph-native-media-grid.is-2 img, .pph-native-media-grid.is-3 img, .pph-native-media-grid.is-4 img { height:260px!important; object-fit:cover; }
.pph-native-media-grid audio { width:calc(100% - 20px); margin:10px; }
.pph-native-file { display:flex!important; gap:8px; align-items:center; padding:14px; color:#dce6ef!important; text-decoration:none!important; }

.pph-native-link-card { display:grid; grid-template-columns:150px minmax(0,1fr); min-height:105px; margin-top:10px; overflow:hidden; border:1px solid var(--pph-native-border); border-radius:7px; background:#0a141e; text-decoration:none!important; }
.pph-native-link-card > img { width:150px!important; height:105px!important; object-fit:cover; display:block; }
.pph-native-link-data { min-width:0; padding:11px 12px; display:flex; flex-direction:column; justify-content:center; }
.pph-native-link-data strong { color:#fff; font-size:12px; line-height:1.35; }
.pph-native-link-data small { margin-top:5px; color:#9bacba; font-size:10px; line-height:1.4; }
.pph-native-link-data em { margin-top:6px; color:var(--pph-gold); font-style:normal; font-size:9px; text-transform:uppercase; letter-spacing:.05em; }

.pph-native-poll { margin-top:10px; padding:12px; border:1px solid var(--pph-native-border); border-radius:7px; background:#09131c; }
.pph-native-poll-question { display:block; margin-bottom:9px; font-size:13px; color:#fff; }
.pph-native-poll-choices { display:grid; gap:6px; }
.pph-native-poll-choices button { position:relative; overflow:hidden; min-height:37px; padding:8px 48px 8px 10px; text-align:left; border:1px solid rgba(137,164,186,.22); border-radius:5px; background:#101f2b; color:#eaf0f5; cursor:pointer; }
.pph-native-poll-choices button.is-selected { border-color:rgba(255,212,0,.5); }
.pph-native-poll-bar { position:absolute; inset:0 auto 0 0; z-index:0; background:rgba(255,212,0,.12); pointer-events:none; }
.pph-native-poll-label, .pph-native-poll-count { position:relative; z-index:1; }
.pph-native-poll-count { position:absolute; right:10px; top:50%; transform:translateY(-50%); color:#b6c4cf; font-size:10px; }
.pph-native-poll > small { display:block; margin-top:7px; color:#7f92a2; font-size:9px; }

.pph-native-activity-summary { min-height:27px; padding:5px 13px; display:flex; justify-content:space-between; gap:10px; border-top:1px solid rgba(134,166,198,.1); color:#8fa0af; font-size:10px; }
.pph-native-activity-summary button { appearance:none; padding:0; border:0; background:transparent; color:inherit; cursor:pointer; }
.pph-native-activity-actions { display:grid; grid-template-columns:1fr 1fr 1fr; gap:2px; padding:3px 8px 7px; border-top:1px solid rgba(134,166,198,.13); }
.pph-native-activity-actions button { appearance:none; border:0; background:transparent; color:#a8b7c4; min-height:34px; border-radius:5px; display:flex; justify-content:center; align-items:center; gap:6px; font-size:11px; cursor:pointer; }
.pph-native-activity-actions button:hover { background:rgba(255,255,255,.035); color:#fff; }
.pph-native-activity-actions button.is-active { color:#56bfff; }
.pph-native-activity-actions button:disabled { cursor:not-allowed; opacity:.45; }
.pph-native-activity-actions .dashicons { font-size:16px; width:16px; height:16px; }
.pph-native-activity-actions .is-copied { color:var(--pph-green); }

.pph-native-comments { border-top:1px solid var(--pph-native-border); background:#09131c; }
.pph-native-comments-inner { padding:9px 10px 10px; }
.pph-native-comments-loading, .pph-native-no-comments { padding:10px; color:#8193a2; font-size:10px; text-align:center; }
.pph-native-comment { display:grid; grid-template-columns:32px minmax(0,1fr); gap:7px; align-items:start; margin:7px 0 7px calc(var(--pph-comment-depth,0) * 24px); }
.pph-native-comment-avatar img { width:32px!important; height:32px!important; border-radius:50%; object-fit:cover; }
.pph-native-comment-main { min-width:0; }
.pph-native-comment-bubble { display:inline-block; max-width:100%; padding:7px 9px; border-radius:9px; background:#13222e; color:#e9eff4; font-size:11px; line-height:1.45; }
.pph-native-comment-bubble strong { display:block; margin-bottom:2px; color:#fff; font-size:10px; }
.pph-native-comment-bubble p { margin:0; }
.pph-native-comment-meta { display:flex; gap:9px; padding:3px 5px; color:#708392; font-size:8px; }
.pph-native-comment-meta button { appearance:none; border:0; padding:0; background:transparent; color:#8ea0ae; font-size:8px; cursor:pointer; }
.pph-native-comment-form { display:grid; grid-template-columns:1fr auto; gap:7px; margin-top:9px; align-items:end; }
.pph-native-comment-form textarea { min-height:38px; max-height:110px; resize:vertical; border:1px solid var(--pph-native-border)!important; border-radius:7px; background:#111f2a!important; color:#fff!important; padding:9px!important; font-size:11px; }
.pph-native-comment-form button { min-height:38px; padding:7px 12px; border:1px solid #ffe46a; border-radius:5px; background:var(--pph-gold); color:#151515; font-size:9px; font-weight:900; cursor:pointer; }
.pph-native-comment-login { display:block; padding:8px; color:var(--pph-gold)!important; text-align:center; font-size:10px; }

.pph-native-load-more-wrap { padding:10px 0 3px; text-align:center; }
.pph-native-load-more { appearance:none; min-width:160px; min-height:38px; border:1px solid var(--pph-native-border); border-radius:6px; background:#101e2a; color:#dce5ed; font-size:10px; font-weight:800; cursor:pointer; }
.pph-native-load-more:hover { border-color:rgba(255,212,0,.35); color:#fff; }
.pph-native-empty, .pph-native-notice { padding:24px 14px; border:1px solid var(--pph-native-border); border-radius:8px; color:#91a3b1; text-align:center; background:#0b1722; }

/* BuddyPress default templates inside the Premium shell. */
.pph-native-buddypress .pph-member-content-shell .buddypress-wrap,
.pph-native-buddypress .pph-member-content-shell #buddypress,
.pph-native-buddypress .pph-member-content-shell .bp-wrap,
.pph-native-buddypress .pph-member-content-shell .bp-feedback,
.pph-native-buddypress .pph-member-content-shell form,
.pph-native-buddypress .pph-member-content-shell table { max-width:100%; }
.pph-native-buddypress .pph-member-content-shell .buddypress-wrap { margin:0; }
.pph-native-buddypress .pph-member-content-shell input[type="text"],
.pph-native-buddypress .pph-member-content-shell input[type="email"],
.pph-native-buddypress .pph-member-content-shell input[type="password"],
.pph-native-buddypress .pph-member-content-shell input[type="search"],
.pph-native-buddypress .pph-member-content-shell textarea,
.pph-native-buddypress .pph-member-content-shell select {
	max-width:100%; border-color:rgba(134,166,198,.25); background:#0b1722; color:#eef3f7;
}
.pph-native-buddypress .pph-member-content-shell .bp-navs,
.pph-native-buddypress .pph-member-content-shell .subnav-filters { border-color:rgba(134,166,198,.15); background:transparent; }
.pph-native-buddypress .pph-member-content-shell a { color:#dce7ef; }
.pph-native-buddypress .pph-member-content-shell .current a,
.pph-native-buddypress .pph-member-content-shell a:hover { color:var(--pph-gold, #ffd400); }

@media (max-width: 760px) {
	.pph-native-composer, .pph-native-activity-card, .pph-native-login-prompt { margin-left:0; margin-right:0; border-left:0; border-right:0; border-radius:0; }
	.pph-native-stream { gap:0; }
	.pph-native-activity-card + .pph-native-activity-card { border-top-color:rgba(134,166,198,.26); }
	.pph-native-composer-tabs { justify-content:center; padding:5px; }
	.pph-native-composer-tabs button { flex:0 0 auto; padding:5px 8px; }
	.pph-native-composer-main { grid-template-columns:34px 1fr; gap:7px; padding:8px 5px; }
	.pph-native-composer-avatar img { width:34px!important; height:34px!important; }
	.pph-native-composer textarea { min-height:58px; }
	.pph-native-composer-footer, .pph-native-extra { padding-left:5px; padding-right:5px; }
	.pph-native-post-button { min-width:82px; min-height:36px; }
	.pph-native-activity-head { padding:10px 5px 5px; }
	.pph-native-activity-body { padding-left:5px; padding-right:5px; }
	.pph-native-media-grid { margin-left:-5px; margin-right:-5px; }
	.pph-native-activity-summary { padding-left:5px; padding-right:5px; }
	.pph-native-link-card { grid-template-columns:105px minmax(0,1fr); }
	.pph-native-link-card > img { width:105px!important; height:100%!important; min-height:100px; }
	.pph-native-link-data { padding:8px; }
	.pph-native-comment { margin-left:calc(var(--pph-comment-depth,0) * 12px); }
}

/* v2.0 native migration polish */
.pph-native-extra-gif input { min-height:38px; }
.pph-native-legacy-quote {
	margin:10px 0 0; padding:14px 16px; border-left:3px solid var(--pph-gold); background:rgba(255,212,0,.05); color:#eef3f7;
}
.pph-native-legacy-quote p { margin:0; font-size:14px; line-height:1.55; font-style:italic; }
.pph-native-legacy-quote cite { display:block; margin-top:8px; color:#aab8c3; font-size:10px; font-style:normal; }
.pph-native-shared-post { margin-top:10px; padding:10px; border:1px solid var(--pph-native-border); border-radius:7px; background:#08121a; }
.pph-native-shared-author { display:flex; gap:7px; align-items:center; color:#fff; font-size:10px; }
.pph-native-shared-author img { width:30px!important; height:30px!important; border-radius:50%; }
.pph-native-shared-body { margin-top:8px; color:#dfe7ee; font-size:11px; }
.pph-native-shared-link { display:inline-block; margin-top:8px; color:var(--pph-gold)!important; font-size:9px; font-weight:800; text-decoration:none!important; }
.pph-native-shared-unavailable { margin-top:10px; padding:12px; border:1px dashed rgba(134,166,198,.25); color:#879aaa; font-size:10px; }
.pph-native-replying-to { grid-column:1/-1; display:flex; justify-content:space-between; align-items:center; min-height:26px; padding:4px 7px; border-radius:5px; background:rgba(255,212,0,.07); color:#b8c6d0; font-size:9px; }
.pph-native-replying-to[hidden] { display:none!important; }
.pph-native-replying-to button { min-height:20px; padding:0 5px; border:0; background:transparent; color:#aab9c5; font-size:15px; }
.pph-native-message-attachments { margin-top:9px; }
.pph-native-message-attachments .pph-native-media-grid { margin:0; border-radius:7px; }

/* Native BuddyPress member directory: replaces Youzify's directory presentation. */
.pph-members-directory { padding-top:15px; padding-bottom:32px; }
.pph-directory-header { display:flex; justify-content:space-between; gap:24px; align-items:end; margin-bottom:12px; padding:16px; border:1px solid rgba(134,166,198,.18); border-radius:8px; background:rgba(8,18,27,.82); }
.pph-directory-header h1 { margin:2px 0 4px; color:#fff; font-size:28px; line-height:1; }
.pph-directory-header p { margin:0; max-width:650px; color:#9dafbd; font-size:11px; }
.pph-directory-search { display:flex; flex:0 0 min(340px,35%); margin:0!important; border:1px solid rgba(134,166,198,.24); border-radius:6px; overflow:hidden; background:#0a151f; }
.pph-directory-search input { width:100%; min-width:0; height:38px; padding:0 10px!important; border:0!important; outline:0!important; background:transparent!important; color:#fff!important; }
.pph-directory-search button { width:42px; border:0; background:rgba(255,212,0,.1); color:var(--pph-gold); cursor:pointer; }
.pph-directory-meta { margin:0 0 8px; color:#7f92a2; font-size:9px; text-transform:uppercase; letter-spacing:.08em; }
.pph-members-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; }
.pph-member-directory-card { display:grid; grid-template-columns:58px minmax(0,1fr) auto; gap:10px; align-items:center; min-height:82px; padding:10px; border:1px solid rgba(134,166,198,.16); border-radius:8px; background:rgba(9,20,30,.82); color:#e9eff4!important; text-decoration:none!important; transition:border-color .15s ease,transform .15s ease,background .15s ease; }
.pph-member-directory-card:hover { transform:translateY(-1px); border-color:rgba(255,212,0,.35); background:#0d1b27; }
.pph-directory-avatar img { display:block; width:58px!important; height:58px!important; border-radius:50%; object-fit:cover; }
.pph-directory-copy { min-width:0; }
.pph-directory-copy strong,.pph-directory-copy small,.pph-directory-copy em { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.pph-directory-copy strong { color:#fff; font-size:12px; }
.pph-directory-copy small { margin-top:2px; color:#9aabba; font-size:9px; }
.pph-directory-copy em { margin-top:6px; color:#708797; font-size:8px; font-style:normal; }
.pph-directory-friends { text-align:center; color:#758897; font-size:7px; text-transform:uppercase; }
.pph-directory-friends b { display:block; color:var(--pph-gold); font-size:14px; }
.pph-directory-pagination { margin-top:14px; }
.pph-directory-pagination ul { display:flex; justify-content:center; gap:5px; list-style:none; padding:0; margin:0; }
.pph-directory-pagination a,.pph-directory-pagination span { display:grid; place-items:center; min-width:32px; height:32px; padding:0 8px; border:1px solid rgba(134,166,198,.18); border-radius:5px; background:#0b1722; color:#c9d5df!important; text-decoration:none!important; }
.pph-directory-pagination .current { border-color:rgba(255,212,0,.45); color:var(--pph-gold)!important; }

@media (max-width: 1000px) {
	.pph-members-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width: 760px) {
	.pph-members-directory { width:100vw!important; max-width:none!important; margin-left:calc(50% - 50vw)!important; margin-right:calc(50% - 50vw)!important; padding:0 5px 20px!important; }
	.pph-directory-header { display:block; margin:0 -5px 8px; padding:12px 10px; border-left:0; border-right:0; border-radius:0; }
	.pph-directory-header h1 { font-size:22px; }
	.pph-directory-search { width:100%; max-width:none; margin-top:10px!important; }
	.pph-members-grid { grid-template-columns:1fr; gap:4px; }
	.pph-member-directory-card { border-radius:5px; }
}

/* v2 native single-activity permalink */
.pph-native-community-single .pph-native-single-toolbar {
    margin: 0 0 10px;
}
.pph-native-community-single .pph-native-single-toolbar a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #aeb9c6;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}
.pph-native-community-single .pph-native-single-toolbar a:hover {
    color: #ffd700;
}
.pph-native-community-single .pph-native-stream > .pph-native-activity-card {
    margin-top: 0;
}


/* ========================================================================== */
/* v2.0.1 unified account shell                                                */
/* Logged-in owners use the same account/navigation language as the homepage. */
/* Public member profiles keep the richer public profile presentation.         */
/* ========================================================================== */

/* BuddyPress lives on the WordPress Members page, but once the native member
 * app owns the screen the theme's generic page title/breadcrumb are duplicate
 * chrome. Suppress only on PPH member takeover routes. */
body.pph-member-takeover-active .hero-section,
body.pph-member-takeover-active .entry-header,
body.pph-member-takeover-active .page-header,
body.pph-member-takeover-active .page-title,
body.pph-member-takeover-active .ct-breadcrumbs,
body.pph-member-takeover-active .yoast-breadcrumb,
body.pph-member-takeover-active .rank-math-breadcrumb,
body.pph-member-takeover-active .wp-block-yoast-seo-breadcrumbs {
	display: none !important;
}

/* The owner experience is an application shell, not a second profile site. */
.pph-member-owner-app .pph-member-wrap.pph-breakout {
	margin-top: 15px;
}
.pph-member-owner-app .pph-member-layout {
	grid-template-columns: 205px minmax(0, 1fr) 238px;
	gap: 14px;
}
.pph-member-owner-app .pph-sticky-stack {
	position: static !important;
	top: auto !important;
}
.pph-member-owner-app .pph-member-left .pph-card,
.pph-member-owner-app .pph-member-right .pph-card {
	background:
		linear-gradient(160deg, rgba(255,255,255,.012), transparent 42%),
		rgba(6, 13, 20, .74);
	border-color: rgba(134, 166, 198, .11);
	box-shadow: none;
	-webkit-backdrop-filter: blur(5px);
	backdrop-filter: blur(5px);
}
.pph-member-owner-app .pph-member-main .pph-member-context-head,
.pph-member-owner-app .pph-member-content-shell {
	background:
		linear-gradient(155deg, rgba(255,255,255,.016), transparent 38%),
		rgba(10, 18, 27, .98);
}

/* Shared homepage nav gets a reliable selected state on account routes. */
.pph-member-nav a.is-active {
	background: linear-gradient(90deg, rgba(255,212,0,.16), rgba(255,212,0,.035));
	color: var(--pph-gold) !important;
	box-shadow: inset 3px 0 0 var(--pph-gold);
}
.pph-member-nav a.is-active .pph-nav-icon { color: var(--pph-gold); }

/* Global theme link colors can otherwise win over Tier List Maker's yellow
 * primary buttons when rendered inside BuddyPress/account templates. */
.pph-member-takeover .pgg-vtlm-launch-button,
.pph-member-takeover a.pgg-vtlm-launch-button {
	color: #0a0b0e !important;
}

.pph-owner-mobile-tabs { display: none; }
.pph-owner-site-navigation .pph-site-menu-widget + .pph-site-menu-widget { margin-top: 8px; }

@media (max-width: 1100px) {
	.pph-member-owner-app .pph-member-layout {
		grid-template-columns: 205px minmax(0, 1fr);
	}
	.pph-member-owner-app .pph-member-right {
		grid-column: 1 / -1;
	}
}

@media (max-width: 780px) {
	.pph-member-owner-app .pph-member-wrap.pph-breakout {
		width: 100%;
		max-width: 100%;
		margin-top: 0;
	}
	.pph-member-owner-app .pph-owner-mobile-tabs {
		display: block;
	}
	.pph-member-owner-app .pph-member-left,
	.pph-member-owner-app .pph-member-right {
		display: none !important;
	}
	.pph-member-owner-app .pph-member-layout {
		display: block;
	}
	.pph-member-owner-app .pph-member-main {
		width: 100%;
	}
	.pph-member-owner-app .pph-member-context-head,
	.pph-member-owner-app .pph-member-content-shell {
		border-left: 0;
		border-right: 0;
		border-radius: 0;
	}
}

/* ========================================================================== */
/* v2.0.3 native BuddyPress polish                                             */
/* ========================================================================== */

/* PPH owns the visible chrome on every BuddyPress screen it renders, including
 * directories. Blocksy's generic page title/breadcrumb only duplicates it. */
body.pph-bp-community-page .hero-section,
body.pph-bp-community-page .entry-header,
body.pph-bp-community-page .page-header,
body.pph-bp-community-page .page-title,
body.pph-bp-community-page .ct-breadcrumbs,
body.pph-bp-community-page .yoast-breadcrumb,
body.pph-bp-community-page .rank-math-breadcrumb,
body.pph-bp-community-page .wp-block-yoast-seo-breadcrumbs {
	display: none !important;
}

/* Logged-in homepage identity header: same member identity surface as the
 * account app, but with homepage spacing rather than creating another shell. */
.pph-home > .pph-home-member-hero {
	margin: 15px 0 14px;
}

/* Legacy BuddyPress Messages compose/autocomplete. BuddyPress provides the
 * behavior; PPH owns the presentation now that Youzify is absent. */
.pph-member-content-shell #send_message_form,
.pph-member-content-shell #send_message_form.standard-form {
	padding: 10px 12px 14px;
	margin: 0;
}
.pph-member-content-shell #send_message_form > label,
.pph-member-content-shell #send_message_form p > label,
.pph-member-content-shell #send_message_form .bp-messages-feedback + label {
	color: #dce6ef;
	font-weight: 700;
}
.pph-member-content-shell #send_message_form input[type="text"],
.pph-member-content-shell #send_message_form textarea {
	background: rgba(2, 9, 15, .78) !important;
	border: 1px solid rgba(126, 158, 187, .26) !important;
	color: #eef5fb !important;
	border-radius: 5px !important;
	box-shadow: none !important;
}
.pph-member-content-shell #send_message_form input[type="text"]:focus,
.pph-member-content-shell #send_message_form textarea:focus {
	border-color: rgba(255, 215, 0, .62) !important;
	outline: none !important;
}
.pph-member-content-shell #send_message_form ul.acfb-holder {
	list-style: none !important;
	margin: 6px 0 12px !important;
	padding: 6px !important;
	min-height: 44px;
	display: flex !important;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px;
	background: rgba(2, 9, 15, .78) !important;
	border: 1px solid rgba(126, 158, 187, .26) !important;
	border-radius: 5px !important;
	overflow: visible !important;
}
.pph-member-content-shell #send_message_form ul.acfb-holder > li {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
}
.pph-member-content-shell #send_message_form ul.acfb-holder li.friend-tab {
	display: inline-flex !important;
	align-items: center;
	gap: 7px;
	min-height: 32px;
	padding: 4px 8px 4px 5px !important;
	background: rgba(255, 215, 0, .09) !important;
	border: 1px solid rgba(255, 215, 0, .27) !important;
	border-radius: 999px !important;
	color: #f3f6f8 !important;
	font-weight: 700;
	line-height: 1.1;
}
.pph-member-content-shell #send_message_form ul.acfb-holder li.friend-tab img.avatar {
	width: 26px !important;
	height: 26px !important;
	min-width: 26px;
	object-fit: cover;
	border-radius: 50% !important;
	margin: 0 !important;
	float: none !important;
}
.pph-member-content-shell #send_message_form ul.acfb-holder li.friend-tab a,
.pph-member-content-shell #send_message_form ul.acfb-holder li.friend-tab span {
	color: inherit !important;
}
.pph-member-content-shell #send_message_form #send-to-input {
	flex: 1 1 190px !important;
	width: auto !important;
	min-width: 150px;
	min-height: 32px;
	margin: 0 !important;
	padding: 5px 7px !important;
	background: transparent !important;
	border: 0 !important;
	color: #eef5fb !important;
	box-shadow: none !important;
}
.pph-member-content-shell #send_message_form .submit {
	margin: 12px 0 0 !important;
	padding: 8px 0 2px !important;
	border: 0 !important;
	background: transparent !important;
}
.pph-member-content-shell #send_message_form .submit input[type="submit"],
.pph-member-content-shell #send_message_form input[type="submit"]#send {
	min-height: 38px;
	padding: 7px 15px !important;
	border: 1px solid #ffd700 !important;
	border-radius: 5px !important;
	background: #ffd700 !important;
	color: #07111a !important;
	font-weight: 900 !important;
	box-shadow: none !important;
}

/* BP legacy autocomplete is appended outside the field in some screens. Keep
 * it readable and above the application rails/cards. */
body.pph-bp-community-page .ac_results {
	z-index: 100000 !important;
	background: #09131d !important;
	border: 1px solid rgba(255, 215, 0, .35) !important;
	box-shadow: 0 12px 30px rgba(0,0,0,.55) !important;
	color: #eef5fb !important;
}
body.pph-bp-community-page .ac_results ul,
body.pph-bp-community-page .ac_results li {
	background: transparent !important;
	color: #eef5fb !important;
}
body.pph-bp-community-page .ac_results li.ac_over,
body.pph-bp-community-page .ac_results li:hover {
	background: rgba(255, 215, 0, .12) !important;
	color: #fff !important;
}

@media (max-width: 767px) {
	.pph-home > .pph-home-member-hero { margin-top: 0; }
	.pph-member-content-shell #send_message_form { padding-left: 7px; padding-right: 7px; }
}

/* ========================================================================== */
/* v2.0.4 mobile member header + compact banner rail                          */
/* ========================================================================== */

/* Let the selected Prospector avatar/border artwork speak for itself. The
 * Premium shell no longer paints a second gold ring around the composite. */
.pph-member-avatar-link {
	display: block;
	border-radius: 50%;
	color: inherit;
	text-decoration: none !important;
	outline: 0;
}
.pph-member-avatar-link:focus-visible {
	box-shadow: 0 0 0 2px #07111a, 0 0 0 4px rgba(255, 215, 0, .72);
}
.pph-member-avatar {
	padding: 0 !important;
	background: transparent !important;
	box-shadow: 0 10px 24px rgba(0,0,0,.38) !important;
}
.pph-member-avatar img {
	border: 0 !important;
}

/* A quiet pulse belongs to the identity surface rather than an extra ring
 * around the avatar. It is intentionally slow and non-interactive. */
.pph-member-hero::after {
	content: "";
	position: absolute;
	z-index: 1;
	inset: 0;
	border: 1px solid rgba(255, 215, 0, .18);
	border-radius: inherit;
	box-shadow: inset 0 0 0 rgba(255,215,0,0), 0 0 0 rgba(255,215,0,0);
	pointer-events: none;
	animation: pph-member-hero-pulse 5.6s ease-in-out infinite;
}
@keyframes pph-member-hero-pulse {
	0%, 100% { border-color: rgba(255,215,0,.16); box-shadow: inset 0 0 18px rgba(255,215,0,.015), 0 0 0 rgba(255,215,0,0); }
	50% { border-color: rgba(255,215,0,.38); box-shadow: inset 0 0 32px rgba(255,215,0,.055), 0 0 18px rgba(255,215,0,.075); }
}
@media (prefers-reduced-motion: reduce) {
	.pph-member-hero::after { animation: none; }
}

@media (max-width: 760px) {
	/* Compress the profile identity surface on phones. Avatar, identity and
	 * meaningful stats share one vertically centered row; actions sit directly
	 * below instead of forcing a tall cover-photo card. */
	.pph-member-hero,
	.pph-home > .pph-home-member-hero {
		min-height: 218px !important;
		margin-bottom: 8px !important;
	}
	.pph-member-hero-content {
		top: 50% !important;
		bottom: auto !important;
		left: 12px !important;
		right: 12px !important;
		transform: translateY(-50%) !important;
		grid-template-columns: 78px minmax(0, 1fr) !important;
		align-items: center !important;
		justify-items: stretch !important;
		gap: 10px 12px !important;
		text-align: left !important;
	}
	.pph-member-avatar-wrap { align-self: center !important; }
	.pph-member-avatar { width: 78px !important; height: 78px !important; }
	.pph-member-presence {
		right: -1px !important;
		bottom: 4px !important;
		width: 15px !important;
		height: 15px !important;
		border-width: 3px !important;
	}
	.pph-member-identity {
		align-self: center !important;
		padding: 0 !important;
		text-align: left !important;
	}
	.pph-member-identity .pph-eyebrow { font-size: 8px !important; }
	.pph-member-identity h1 {
		margin: 1px 0 1px !important;
		font-size: 26px !important;
		line-height: 1 !important;
	}
	.pph-member-handle { font-size: 11px !important; }
	.pph-member-mini-stats {
		justify-content: flex-start !important;
		gap: 5px 12px !important;
		margin-top: 7px !important;
	}
	.pph-member-mini-stats span { font-size: 8px !important; gap: 3px !important; }
	.pph-member-mini-stats b { font-size: 12px !important; }
	.pph-member-hero-actions {
		grid-column: 1 / -1 !important;
		justify-content: flex-start !important;
		align-items: center !important;
		gap: 7px !important;
		padding: 0 !important;
		margin-top: 2px !important;
	}
	.pph-member-hero-actions .pph-button,
	.pph-member-hero-actions .generic-button a {
		min-height: 36px !important;
		padding: 7px 10px !important;
		font-size: 10px !important;
	}

	/* Force the mobile schedule to be a genuinely one-row, content-height
	 * scroller. The original sidebar renderer is column-oriented and browsers
	 * could stretch its cards to the height of the rail after responsive moves. */
	.pph-home .pph-feed-banner-widget,
	.pph-home .pph-feed-banner-widget .pgub,
	.pph-home .pph-feed-banner-widget .pgub-layout-sidebar {
		height: auto !important;
		min-height: 0 !important;
		margin-bottom: 0 !important;
	}
	.pph-home .pph-feed-banner-widget .pgub-sidebar-stack {
		display: flex !important;
		flex-direction: row !important;
		flex-wrap: nowrap !important;
		align-items: flex-start !important;
		align-content: flex-start !important;
		height: auto !important;
		min-height: 0 !important;
		gap: 6px !important;
		overflow-x: auto !important;
		overflow-y: hidden !important;
	}
	.pph-home .pph-feed-banner-widget .pgub-banner--sidebar {
		flex: 0 0 min(82vw, 330px) !important;
		align-self: flex-start !important;
		height: auto !important;
		min-height: 0 !important;
		max-height: none !important;
		margin: 0 !important;
		padding: 8px !important;
	}
	.pph-home .pph-feed-banner-widget .pgub-banner--sidebar .pgub-banner-body,
	.pph-home .pph-feed-banner-widget .pgub-banner--sidebar .pgub-hero-grid,
	.pph-home .pph-feed-banner-widget .pgub-banner--sidebar .pgub-banner-details {
		height: auto !important;
		min-height: 0 !important;
	}
}

@media (max-width: 480px) {
	/* Override the older one-column mobile hero rule: keeping identity beside
	 * the avatar is both shorter and easier to scan on a phone. */
	.pph-member-hero,
	.pph-home > .pph-home-member-hero { min-height: 218px !important; }
	.pph-member-hero-content {
		grid-template-columns: 78px minmax(0,1fr) !important;
		text-align: left !important;
		justify-items: stretch !important;
	}
	.pph-member-identity { text-align: left !important; }
	.pph-member-mini-stats { justify-content: flex-start !important; }
	.pph-member-hero-actions { justify-content: flex-start !important; }
}

/* Native BuddyPress cover-photo uploader, surfaced through My Realm & Tools. */
.pph-member-content-shell .change-cover-image-screen { display: none !important; }
.pph-member-content-shell .bp-cover-image,
.pph-member-content-shell .bp-cover-image-status,
.pph-member-content-shell .bp-cover-image-manage { color: #dce6ef; }
.pph-member-content-shell #drag-drop-area,
.pph-member-content-shell .drag-drop-area {
	margin: 10px 0 !important;
	padding: 24px 14px !important;
	border: 1px dashed rgba(255,215,0,.34) !important;
	border-radius: 7px !important;
	background: rgba(3,10,16,.56) !important;
	color: #dce6ef !important;
	text-align: center;
}
.pph-member-content-shell .drag-drop-inside,
.pph-member-content-shell .drag-drop-info { color: #b9c7d3 !important; }
.pph-member-content-shell .drag-drop-buttons .button,
.pph-member-content-shell #bp-delete-cover-image {
	min-height: 38px !important;
	padding: 7px 14px !important;
	border: 1px solid #ffd700 !important;
	border-radius: 5px !important;
	background: #ffd700 !important;
	color: #07111a !important;
	font-weight: 900 !important;
	box-shadow: none !important;
}

/* ========================================================================== */
/* v2.0.5 compact identity header, clean settings and cover uploads            */
/* ========================================================================== */

@media (min-width: 761px) {
	.pph-member-hero,
	.pph-home > .pph-home-member-hero {
		height: 165px !important;
		min-height: 165px !important;
		max-height: 165px !important;
	}
	.pph-member-hero-content {
		top: 50% !important;
		bottom: auto !important;
		transform: translateY(-50%) !important;
		align-items: center !important;
	}
	.pph-member-avatar {
		width: 100px !important;
		height: 100px !important;
	}
	.pph-member-identity,
	.pph-member-hero-actions {
		padding-bottom: 0 !important;
	}
}

/* The PPH subnav above the content is the canonical Settings menu. Hide the
 * second copy emitted inside BuddyPress's native Settings template. */
body.pph-member-account-context .pph-member-content-shell #subnav.bp-subnavs,
body.pph-member-account-context .pph-member-content-shell > .item-list-tabs#subnav {
	display: none !important;
}

.pph-cover-upload-note {
	display: grid;
	grid-template-columns: 28px minmax(0, 1fr);
	gap: 10px;
	align-items: start;
	margin: 0 0 12px;
	padding: 11px 12px;
	border: 1px solid rgba(255, 215, 0, .2);
	border-radius: 7px;
	background: rgba(255, 215, 0, .045);
	color: #dce6ef;
}
.pph-cover-upload-note > .dashicons {
	color: var(--pph-gold);
}
.pph-cover-upload-note strong,
.pph-cover-upload-note span:not(.dashicons) {
	display: block;
}
.pph-cover-upload-note strong {
	margin-bottom: 2px;
	color: #fff;
	font-size: 11px;
}
.pph-cover-upload-note span:not(.dashicons) {
	color: #9eb0bf;
	font-size: 10px;
	line-height: 1.45;
}

/* ========================================================================== */
/* v2.0.6 centered mobile identity, avatar halo and balanced discovery cards  */
/* ========================================================================== */

.pph-member-avatar-tooltip {
	display: none;
}

/* The header surface itself is static; only the owner's avatar responds. */
.pph-member-hero::after {
	display: none !important;
	animation: none !important;
}

@media (min-width: 761px) {
	/* Only an owner receives the avatar link, so the halo doubles as a clear
	 * affordance without decorating avatars on profiles visitors cannot edit. */
	.pph-member-avatar-link {
		position: relative;
		display: inline-grid;
		place-items: center;
		width: 100px;
		height: 100px;
		line-height: 0;
		isolation: isolate;
	}
	.pph-member-avatar-link::before {
		display: none;
	}
	.pph-member-avatar-link:hover .pph-member-avatar,
	.pph-member-avatar-link:focus-visible .pph-member-avatar {
		animation: pph-avatar-halo 1.8s ease-in-out infinite;
	}
	.pph-member-avatar-tooltip {
		position: absolute;
		z-index: 20;
		left: 50%;
		top: 50%;
		display: block;
		width: max-content;
		max-width: 150px;
		padding: 6px 9px;
		border: 1px solid rgba(255, 215, 0, .38);
		border-radius: 5px;
		background: #07111a;
		box-shadow: 0 8px 20px rgba(0, 0, 0, .48);
		color: #fff;
		font-size: 10px;
		font-weight: 800;
		line-height: 1;
		white-space: nowrap;
		pointer-events: none;
		opacity: 0;
		transform: translate(-50%, calc(-50% - 4px));
		transition: opacity 150ms ease, transform 150ms ease;
	}
	.pph-member-avatar-link:hover .pph-member-avatar-tooltip,
	.pph-member-avatar-link:focus-visible .pph-member-avatar-tooltip {
		opacity: 1;
		transform: translate(-50%, -50%);
	}
}

@keyframes pph-avatar-halo {
	0%, 100% {
		filter: drop-shadow(0 0 2px rgba(255, 215, 0, .28));
	}
	50% {
		filter: drop-shadow(0 0 7px rgba(255, 215, 0, .68));
	}
}

@media (prefers-reduced-motion: reduce) {
	.pph-member-avatar-link:hover .pph-member-avatar,
	.pph-member-avatar-link:focus-visible .pph-member-avatar {
		animation: none;
		filter: drop-shadow(0 0 4px rgba(255, 215, 0, .52));
	}
}

/* Slightly larger previews improve article recognition without turning the
 * compact discovery strips back into tall cards. */
.pph-article-item {
	grid-template-columns: 70px minmax(0, 1fr);
}
.pph-article-thumb {
	width: 70px;
	height: 48px;
}
.pph-articles-center .pph-article-item {
	grid-template-columns: 84px minmax(0, 1fr);
}
.pph-articles-center .pph-article-thumb {
	width: 84px;
	height: 56px;
}
.pph-home .pph-right .pph-articles-sidebar .pph-article-item {
	grid-template-columns: 62px minmax(0, 1fr);
}
.pph-home .pph-right .pph-articles-sidebar .pph-article-thumb {
	width: 62px;
	height: 44px;
}

@media (max-width: 760px) {
	/* The mobile identity header and icon navigation are one continuous app
	 * surface: no floating-card radius, shadow, glow or gap between them. */
	.pph-member-hero,
	.pph-home > .pph-home-member-hero {
		margin: 0 !important;
		border-right: 0 !important;
		border-left: 0 !important;
		border-radius: 0 !important;
		box-shadow: none !important;
	}
	.pph-home .pph-mobile-tabs,
	.pph-member-owner-app .pph-owner-mobile-tabs .pph-mobile-tabs {
		margin-top: 0 !important;
		border-top: 0 !important;
		border-radius: 0 !important;
		box-shadow: none !important;
	}

	/* Equal avatar/spacer rails keep the identity mathematically centered on the
	 * screen while allowing the avatar to sit independently on its left. */
	.pph-member-hero-content {
		display: grid !important;
		grid-template-columns: 82px minmax(0, 1fr) 82px !important;
		width: min(390px, calc(100% - 24px)) !important;
		left: 50% !important;
		right: auto !important;
		align-items: center !important;
		justify-items: center !important;
		gap: 10px 0 !important;
		text-align: center !important;
		transform: translate(-50%, -50%) !important;
	}
	.pph-member-avatar-wrap {
		grid-column: 1 !important;
		grid-row: 1 !important;
		justify-self: center !important;
	}
	.pph-member-identity {
		grid-column: 2 !important;
		grid-row: 1 !important;
		width: 100% !important;
		max-width: none !important;
		text-align: center !important;
	}
	.pph-member-identity h1 {
		font-size: clamp(22px, 5.2vw, 26px) !important;
	}
	.pph-member-mini-stats {
		justify-content: center !important;
	}
	.pph-member-hero-actions {
		grid-column: 1 / -1 !important;
		grid-row: 2 !important;
		width: 100% !important;
		justify-content: center !important;
	}

	/* A single no-wrap flex line naturally adopts the tallest card as its cross
	 * size. Stretch the other banners to that same height. */
	.pph-home .pph-feed-banner-widget .pgub-sidebar-stack {
		align-items: stretch !important;
	}
	.pph-home .pph-feed-banner-widget .pgub-banner--sidebar {
		align-self: stretch !important;
		display: flex !important;
		flex-direction: column !important;
	}
	.pph-home .pph-feed-banner-widget .pgub-banner--sidebar .pgub-banner-body {
		flex: 1 1 auto !important;
		display: flex !important;
		flex-direction: column !important;
	}
	.pph-home .pph-feed-banner-widget .pgub-banner--sidebar .pgub-banner-details {
		margin-top: auto !important;
	}

	.pph-articles-center .pph-article-item {
		grid-template-columns: 92px minmax(0, 1fr);
	}
	.pph-articles-center .pph-article-thumb {
		width: 92px;
		height: 62px;
	}
}

/* ========================================================================== */
/* v2.0.10 persistent mobile navigation and flush plugin headers              */
/* ========================================================================== */

.pph-home {
	margin-top: 0 !important;
}
.pph-home > .pph-home-member-hero,
.pph-member-takeover .pph-member-wrap.pph-breakout {
	margin-top: 0 !important;
}
.pph-members-directory {
	--pph-gold: #ffd400;
	--pph-line-soft: rgba(134, 166, 198, .16);
	padding-top: 0 !important;
}

.pph-mobile-tabs-arrow {
	display: none;
}

@media (max-width: 760px) {
	body.pph-bp-community-page,
	body.pph-homepage-active {
		--content-vertical-spacing: 0px !important;
		--content-vertical-spacing-top: 0px !important;
	}
	body.pph-bp-community-page .content-area,
	body.pph-bp-community-page .site-content,
	body.pph-bp-community-page .site-main,
	body.pph-bp-community-page #primary,
	body.pph-bp-community-page #main,
	body.pph-homepage-active .content-area,
	body.pph-homepage-active .site-content,
	body.pph-homepage-active .site-main,
	body.pph-homepage-active #primary,
	body.pph-homepage-active #main {
		margin-top: 0 !important;
		padding-top: 0 !important;
	}
	body.pph-bp-community-page article.page,
	body.pph-bp-community-page article.page > .entry-content,
	body.pph-homepage-active article.page,
	body.pph-homepage-active article.page > .entry-content {
		margin-top: 0 !important;
		padding-top: 0 !important;
	}
	.pph-directory-mobile-tabs {
		margin: 0 -5px !important;
	}
	.pph-mobile-tabs {
		display: grid !important;
		grid-template-columns: minmax(0, 1fr) !important;
		align-items: stretch !important;
		overflow: hidden !important;
	}
	.pph-mobile-tabs.is-scrollable {
		grid-template-columns: 30px minmax(0, 1fr) 30px !important;
	}
	.pph-mobile-tabs-track,
	.pph-home .pph-mobile-tabs-track {
		width: 100% !important;
		min-width: 0 !important;
		justify-content: flex-start !important;
		overflow-x: auto !important;
		overflow-y: hidden !important;
		scroll-behavior: smooth;
	}
	.pph-mobile-tabs-arrow {
		display: none !important;
		place-items: center;
		min-width: 30px;
		padding: 0 !important;
		border: 0 !important;
		border-radius: 0 !important;
		background: rgba(255, 215, 0, .055) !important;
		color: var(--pph-gold) !important;
		box-shadow: none !important;
		cursor: pointer;
	}
	.pph-mobile-tabs.is-scrollable .pph-mobile-tabs-arrow {
		display: grid !important;
	}
	.pph-mobile-tabs-arrow:hover,
	.pph-mobile-tabs-arrow:focus-visible {
		background: rgba(255, 215, 0, .13) !important;
		color: #fff !important;
		outline: 1px solid rgba(255, 215, 0, .5);
		outline-offset: -1px;
	}
	.pph-mobile-tabs-arrow:disabled {
		opacity: .26;
		cursor: default;
	}
	.pph-mobile-tabs-arrow .dashicons {
		width: 18px;
		height: 18px;
		font-size: 18px;
	}
}

/* ========================================================================== */
/* v2.0.12 outer-wrapper spacing + equal mobile navigation                    */
/* ========================================================================== */

@media (max-width: 760px) {
	/* Nouveau inserts this wrapper outside the PPH member shell. Blocksy can
	 * also attach its vertical rhythm to a data attribute instead of one of
	 * the conventional content classes. Reset both actual spacing owners. */
	body.pph-bp-community-page #buddypress.buddypress-wrap,
	body.pph-bp-community-page #buddypress.buddypress-wrap > .pph-member-takeover,
	body.pph-bp-community-page [data-vertical-spacing*="top"],
	body.pph-homepage-active [data-vertical-spacing*="top"] {
		margin-top: 0 !important;
		margin-block-start: 0 !important;
		padding-top: 0 !important;
		padding-block-start: 0 !important;
	}

	/* With no overflow controls present, every destination owns one equal
	 * column. This keeps the first and last icons aligned to the same visual
	 * gutters while distributing the row evenly edge to edge. */
	.pph-mobile-tabs:not(.is-scrollable) .pph-mobile-tabs-track,
	.pph-home .pph-mobile-tabs:not(.is-scrollable) .pph-mobile-tabs-track {
		display: grid !important;
		grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
		justify-content: stretch !important;
	}
	.pph-mobile-tabs:not(.is-scrollable) .pph-mobile-tab {
		width: auto !important;
		min-width: 0 !important;
		max-width: none !important;
		flex: none !important;
	}

	/* Preserve compact, scrollable destinations when a translated label or
	 * unusually narrow viewport genuinely needs the conditional arrows. */
	.pph-mobile-tabs.is-scrollable .pph-mobile-tab {
		flex: 0 0 64px !important;
		min-width: 64px !important;
		max-width: 72px !important;
	}
}
