/* WO29928 — Public shell: unified nav + void hubs; stop Astra/article bleed on marketing routes */

:root {
	--dancz-shell-gold: #d6a935;
	--dancz-shell-void: #03070c;
	--dancz-shell-ivory: #fff7d9;
	--dancz-shell-muted: rgba(255, 247, 217, 0.82);
}

/* Kill double chrome when PHP suppress flag is set */
body.dancz-public-surface.dancz-chrome-suppressed #masthead,
body.dancz-public-surface.dancz-chrome-suppressed .site-header,
body.dancz-public-surface.dancz-chrome-suppressed .ast-primary-header-bar,
body.dancz-public-surface.dancz-chrome-suppressed .global-premium-header,
body.dancz-public-surface.dancz-chrome-suppressed .dm-site-header {
	display: none !important;
}

body.dancz-public-surface.dancz-chrome-suppressed .ast-separate-container {
	background: var(--dancz-shell-void) !important;
}

/* Hub / portal pages: void canvas instead of brown article theme */
body.dancz-public-surface:not(.dancz-wow-lane-active) {
	background: var(--dancz-shell-void) !important;
	color: var(--dancz-shell-ivory);
}

body.dancz-public-surface:not(.dancz-wow-lane-active) .site-content,
body.dancz-public-surface:not(.dancz-wow-lane-active) .ast-container,
body.dancz-public-surface:not(.dancz-wow-lane-active) .entry-content {
	background: transparent !important;
	color: var(--dancz-shell-ivory);
}

body.dancz-public-surface:not(.dancz-wow-lane-active) .entry-content :where(p, li, span, label) {
	color: var(--dancz-shell-muted) !important;
}

body.dancz-public-surface:not(.dancz-wow-lane-active) .entry-content :where(h1, h2, h3, h4) {
	color: var(--dancz-shell-ivory) !important;
}

body.dancz-public-surface .dm-hub,
body.dancz-public-surface .ps-route-body,
body.dancz-public-surface .ps-jawdrop-frame,
body.dancz-public-surface .mc-cluster-shell {
	background: var(--dancz-shell-void);
	background-image: radial-gradient(ellipse 120% 80% at 50% -20%, rgba(214, 169, 53, 0.1), transparent 55%),
		linear-gradient(180deg, #03070c 0%, #07101a 100%);
}

/* Unified nav pill grammar across lane headers */
body.dancz-public-surface .cp-header-nav a,
body.dancz-public-surface .rv-header-nav a,
body.dancz-public-surface .dm-bh-topbar a,
body.dancz-public-surface .ps-portal-lane,
body.dancz-public-surface .ps-route-dock-link,
body.dancz-public-surface .mc-cluster-nav a {
	border-radius: 999px;
	text-decoration: none;
}

body.dancz-public-surface .ps-portal-lane,
body.dancz-public-surface .ps-route-dock-link,
body.dancz-public-surface .mc-cluster-nav a {
	display: inline-flex;
	align-items: center;
	padding: 0.45rem 0.85rem;
	border: 1px solid rgba(214, 169, 53, 0.35);
	background: rgba(3, 7, 12, 0.72);
	color: var(--dancz-shell-ivory);
	font-size: 0.82rem;
	font-weight: 600;
}

body.dancz-public-surface .ps-portal-lane.is-active,
body.dancz-public-surface .ps-route-dock-link.is-active,
body.dancz-public-surface .mc-cluster-nav a.is-active {
	border-color: var(--dancz-shell-gold);
	background: rgba(214, 169, 53, 0.14);
	color: #fff;
}

/* Join-mission / contact: hide redundant pathfinder when portal lanes present */
body.dancz-public-surface.dancz-chrome-suppressed .dm-pathfinder,
body.dancz-public-surface.dancz-chrome-suppressed .dm-route-atlas {
	display: none !important;
}
