/**
 * PokeGuardian — Midnight Galaxy (theme-factory).
 * Header empilhado, serif ceremonial, céu estrelado, cantos retos.
 */

body.theme-body--pokeguardian {
	margin: 0;
	min-height: 100vh;
	color: var(--theme-text-color);
	font-family: var(--theme-font-family-base);
	background-color: #2b1e3e;
	background-image:
		radial-gradient(1px 1px at 12% 18%, rgba(230, 230, 250, 0.7), transparent 2px),
		radial-gradient(1px 1px at 28% 72%, rgba(164, 144, 194, 0.6), transparent 2px),
		radial-gradient(1.5px 1.5px at 61% 24%, rgba(230, 230, 250, 0.55), transparent 2px),
		radial-gradient(1px 1px at 81% 64%, rgba(164, 144, 194, 0.5), transparent 2px),
		radial-gradient(2px 2px at 47% 88%, rgba(230, 230, 250, 0.35), transparent 3px),
		radial-gradient(900px 480px at 50% -8%, rgba(74, 78, 143, 0.55), transparent 62%),
		linear-gradient(180deg, #1a1228 0%, #2b1e3e 42%, #160e24 100%);
	background-attachment: fixed;
}

body.theme-body--pokeguardian .theme-main-area { background: transparent; }

body.theme-body--pokeguardian .theme-header-bar {
	position: sticky;
	top: 0;
	background: var(--theme-header-background) !important;
	border-bottom: 1px solid var(--theme-header-border-color);
	box-shadow: 0 12px 40px rgba(8, 4, 16, 0.45);
}

body.theme-body--pokeguardian .theme-chrome-header-inner {
	max-width: 70rem;
	padding: 1.15rem 1.25rem 0.85rem;
}

body.theme-body--pokeguardian .theme-chrome-header-row {
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.85rem;
	text-align: center;
}

body.theme-body--pokeguardian .theme-chrome-brand__img,
body.theme-body--pokeguardian .theme-chrome-brand img {
	max-height: 4.4rem;
	max-width: 420px;
	filter: drop-shadow(0 0 16px rgba(164, 144, 194, 0.45));
}

body.theme-body--pokeguardian .theme-chrome-nav-desktop {
	width: 100%;
}

body.theme-body--pokeguardian .theme-header-nav-list {
	justify-content: center !important;
	gap: 0.15rem 1.6rem !important;
	padding-top: 0.35rem !important;
	border-top: 1px solid rgba(164, 144, 194, 0.28);
}

body.theme-body--pokeguardian .theme-nav-link {
	font-family: var(--theme-font-family-heading);
	letter-spacing: 0.14em;
	text-transform: lowercase;
	font-size: 1.05rem;
	font-weight: 600;
	color: var(--theme-accent-color);
}

body.theme-body--pokeguardian .theme-nav-link.is-active {
	color: #fff;
	box-shadow: inset 0 -1px 0 #a490c2;
}

body.theme-body--pokeguardian .theme-content-shell {
	background: var(--theme-content-shell-background);
	border: 1px solid var(--theme-border-color);
	border-radius: 0;
	box-shadow: var(--theme-shadow-style);
	backdrop-filter: blur(10px);
}

body.theme-body--pokeguardian h1,
body.theme-body--pokeguardian h2,
body.theme-body--pokeguardian h3,
body.theme-body--pokeguardian .theme-panel__title {
	font-family: var(--theme-font-family-heading);
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: none;
	color: var(--theme-heading-color);
}

body.theme-body--pokeguardian .theme-btn--primary {
	border-radius: 0;
	background: #a490c2;
	color: #2b1e3e !important;
	border: 1px solid #e6e6fa;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	font-size: 0.78rem;
}

body.theme-body--pokeguardian .theme-btn--primary:hover {
	background: #e6e6fa;
	color: #2b1e3e !important;
}

body.theme-body--pokeguardian .theme-footer {
	border-top: 1px solid rgba(164, 144, 194, 0.3);
}

body.theme-body--pokeguardian select { color-scheme: dark; }
body.theme-body--pokeguardian select option {
	background-color: #2b1e3e !important;
	color: #e6e6fa !important;
}
