/* Hexpiegel landing — dark AI-mirror theme */

.hxpg-page > header.site-header,
.hxpg-page .site-header,
.hxpg-page .entry-header,
.hxpg-page .site-footer {
	display: none !important;
}

body.hxpg-page {
	background: #0d0b1e;
}

.hxpg {
	--bg: #0d0b1e;
	--bg2: #151031;
	--card: rgba(255, 255, 255, 0.04);
	--line: rgba(255, 255, 255, 0.09);
	--txt: #f2f0ff;
	--mut: #a9a3c7;
	--acc: #7c5cff;
	--acc2: #5b3df5;
	font-family: 'Sora', system-ui, sans-serif;
	color: var(--txt);
	background:
		radial-gradient(900px 500px at 85% -5%, rgba(124, 92, 255, 0.28), transparent 60%),
		radial-gradient(700px 420px at 5% 15%, rgba(91, 61, 245, 0.18), transparent 60%),
		var(--bg);
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 24px 96px;
}

.hxpg a { text-decoration: none; color: inherit; }
.hxpg img { max-width: 100%; display: block; }
.hxpg-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Header ---------- */
.hxpg-header {
	display: flex;
	align-items: center;
	gap: 32px;
	padding: 18px 0;
}
.hxpg-logo {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-weight: 700;
	font-size: 21px;
	letter-spacing: 0.2px;
}
.hxpg-nav {
	display: flex;
	gap: 26px;
	margin-inline: auto;
	font-size: 14px;
	color: var(--mut);
}
.hxpg-nav a {
	position: relative;
	padding: 6px 0;
}
.hxpg-nav a:hover { color: var(--txt); }
.hxpg-nav a.is-active { color: var(--txt); }
.hxpg-nav a.is-active::after {
	content: '';
	position: absolute;
	left: 0; right: 0; bottom: -4px;
	height: 2px; border-radius: 2px;
	background: linear-gradient(90deg, var(--acc), var(--acc2));
}
.hxpg-header-actions { display: flex; align-items: center; gap: 12px; }
.hxpg-lang {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: none;
	border: 0;
	color: var(--txt);
	font: inherit;
	font-size: 13px;
	cursor: pointer;
}

/* ---------- Buttons ---------- */
.hxpg-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 13px 26px;
	border-radius: 999px;
	background: linear-gradient(135deg, var(--acc), var(--acc2));
	color: #fff;
	font-weight: 600;
	font-size: 14.5px;
	box-shadow: 0 8px 24px rgba(91, 61, 245, 0.45);
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.hxpg-btn:hover { transform: translateY(-1px); box-shadow: 0 10px 28px rgba(91, 61, 245, 0.6); }
.hxpg-btn--sm { padding: 10px 18px; font-size: 13px; }
.hxpg-btn--ghost {
	background: var(--card);
	border: 1px solid var(--line);
	box-shadow: none;
}
.hxpg-btn--outline {
	background: transparent;
	border: 1.5px solid var(--acc);
	color: var(--acc);
	box-shadow: none;
}

.hxpg-iconbtn {
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: 12px;
	width: 40px; height: 40px;
	display: none;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 4px;
	cursor: pointer;
}
.hxpg-burger span { width: 18px; height: 2px; border-radius: 2px; background: var(--acc); }

/* ---------- Hero ---------- */
.hxpg-hero {
	display: grid;
	grid-template-columns: 1.05fr 1fr;
	gap: 48px;
	align-items: center;
	padding: 56px 0 40px;
}
.hxpg-eyebrow {
	font-size: 12px;
	letter-spacing: 3px;
	text-transform: uppercase;
	color: var(--mut);
	margin: 0 0 16px;
}
.hxpg-hero h1 {
	font-size: clamp(38px, 5vw, 60px);
	font-weight: 800;
	line-height: 1.08;
	margin: 0 0 20px;
}
.hxpg-hero h1 em {
	font-style: normal;
	background: linear-gradient(135deg, #a78bff, var(--acc));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.hxpg-hero__sub {
	color: var(--mut);
	font-size: 15.5px;
	line-height: 1.7;
	max-width: 460px;
	margin: 0 0 28px;
}
.hxpg-hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }

.hxpg-hero__media {
	position: relative;
	border-radius: 24px;
	overflow: visible;
}
.hxpg-hero__media > img {
	border-radius: 24px;
	border: 1px solid var(--line);
	box-shadow: 0 30px 80px rgba(91, 61, 245, 0.25), 0 0 0 1px rgba(124, 92, 255, 0.15);
	height: 460px;
	width: 100%;
	object-fit: cover;
}
.hxpg-hero__badge {
	position: absolute;
	top: 16px; left: 16px;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 7px 14px;
	border-radius: 999px;
	background: rgba(13, 11, 30, 0.75);
	backdrop-filter: blur(8px);
	border: 1px solid rgba(124, 92, 255, 0.5);
	font-size: 12.5px;
	color: #cfc6ff;
}
.hxpg-mirror {
	position: absolute;
	right: -10px; top: 50%;
	transform: translateY(-50%);
	background: rgba(13, 11, 30, 0.72);
	backdrop-filter: blur(14px);
	border: 1px solid rgba(124, 92, 255, 0.4);
	border-radius: 18px;
	padding: 14px 18px;
	box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5);
}
.hxpg-mirror ul { list-style: none; margin: 0; padding: 0; }
.hxpg-mirror li {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 9px 12px;
	border-radius: 10px;
	font-size: 13px;
	color: var(--mut);
}
.hxpg-mirror li.is-on {
	color: var(--txt);
	background: linear-gradient(135deg, rgba(124, 92, 255, 0.35), rgba(91, 61, 245, 0.2));
	box-shadow: inset 0 0 0 1px rgba(124, 92, 255, 0.5);
}
.hxpg-mirror svg { flex: 0 0 auto; }

/* ---------- Features ---------- */
.hxpg-features {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 18px;
	padding: 32px 0 56px;
}
.hxpg-feature {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 20px 22px;
	border-radius: 18px;
	background: var(--card);
	border: 1px solid var(--line);
	text-decoration: none;
	color: var(--txt);
	transition: transform 0.18s ease, border-color 0.18s ease;
}
a.hxpg-feature:hover {
	transform: translateY(-3px);
	border-color: var(--acc);
}
.hxpg-feature__icon {
	width: 44px; height: 44px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	background: linear-gradient(135deg, rgba(124, 92, 255, 0.25), rgba(91, 61, 245, 0.15));
	border: 1px solid rgba(124, 92, 255, 0.45);
	color: #b9a9ff;
	flex: 0 0 auto;
}
.hxpg-feature strong { display: block; font-size: 14px; margin-bottom: 3px; }
.hxpg-feature small { color: var(--mut); font-size: 12px; line-height: 1.45; }

/* ---------- Categories ---------- */
.hxpg-cats {
	display: grid;
	grid-template-columns: 0.9fr 2fr;
	gap: 40px;
	padding: 24px 0 64px;
}
.hxpg-cats__intro h2 {
	font-size: clamp(26px, 3vw, 36px);
	font-weight: 800;
	line-height: 1.15;
	margin: 0 0 16px;
}
.hxpg-cats__intro p:not(.hxpg-eyebrow) {
	color: var(--mut);
	font-size: 14px;
	line-height: 1.7;
	margin: 0 0 24px;
}
.hxpg-cats__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 18px;
}
.hxpg-cat {
	position: relative;
	display: flex;
	flex-direction: column;
	border-radius: 20px;
	background: var(--card);
	border: 1px solid var(--line);
	overflow: hidden;
	transition: transform 0.18s ease, border-color 0.18s ease;
}
.hxpg-cat:hover { transform: translateY(-4px); border-color: rgba(124, 92, 255, 0.55); }
.hxpg-cat img {
	height: 150px;
	width: 100%;
	object-fit: cover;
}
.hxpg-cat__chip {
	position: absolute;
	top: 12px; left: 12px;
	width: 34px; height: 34px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	background: rgba(13, 11, 30, 0.72);
	backdrop-filter: blur(6px);
	border: 1px solid rgba(124, 92, 255, 0.5);
	color: #cfc6ff;
}
.hxpg-cat__meta { padding: 16px 16px 18px; }
.hxpg-cat__meta strong { display: block; font-size: 15px; margin-bottom: 4px; }
.hxpg-cat__meta small { color: var(--mut); font-size: 12px; }
.hxpg-cat__arrow {
	position: absolute;
	right: 14px; bottom: 14px;
	width: 30px; height: 30px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	background: var(--card);
	border: 1px solid var(--line);
	color: var(--acc);
}

/* ---------- Footer ---------- */
.hxpg-footer {
	border-top: 1px solid var(--line);
	padding-top: 40px;
}
.hxpg-footer__top {
	display: flex;
	align-items: center;
	gap: 28px;
	flex-wrap: wrap;
}
.hxpg-tagline {
	color: var(--mut);
	font-size: 13px;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	margin: 0 auto 0 0;
}
.hxpg-footer__social { display: flex; gap: 12px; }
.hxpg-footer__social a {
	width: 38px; height: 38px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	border: 1px solid var(--line);
	color: var(--mut);
}
.hxpg-footer__social a:hover { color: var(--txt); border-color: rgba(124, 92, 255, 0.55); }
.hxpg-news {
	display: flex;
	align-items: center;
	gap: 6px;
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: 999px;
	padding: 5px 5px 5px 18px;
}
.hxpg-news input {
	background: none;
	border: 0;
	outline: 0;
	color: var(--txt);
	font: inherit;
	font-size: 13px;
	width: 190px;
}
.hxpg-news input::placeholder { color: var(--mut); }
.hxpg-news button {
	width: 38px; height: 38px;
	border: 0;
	border-radius: 50%;
	display: grid;
	place-items: center;
	background: linear-gradient(135deg, var(--acc), var(--acc2));
	color: #fff;
	cursor: pointer;
}
.hxpg-footer__copy {
	margin: 32px 0 0;
	padding-top: 20px;
	border-top: 1px solid var(--line);
	color: var(--mut);
	font-size: 12.5px;
}

/* ---------- Bottom bar (mobile) ---------- */
.hxpg-bottombar {
	display: none;
	position: fixed;
	left: 0; right: 0; bottom: 0;
	z-index: 9999;
	background: rgba(13, 11, 30, 0.92);
	backdrop-filter: blur(14px);
	border-top: 1px solid var(--line);
	padding: 10px 8px calc(10px + env(safe-area-inset-bottom));
}
.hxpg-bottombar a {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	font-size: 11px;
	color: var(--mut);
}
.hxpg-bottombar a.is-active { color: var(--acc); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.hxpg-hero { grid-template-columns: 1fr; }
	.hxpg-features { grid-template-columns: repeat(2, 1fr); }
	.hxpg-cats { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
	.hxpg { padding-bottom: 120px; }
	.hxpg-nav, .hxpg-header-actions .hxpg-btn { display: none; }
	.hxpg-iconbtn { display: flex; }
	.hxpg-header { gap: 12px; }
	.hxpg-hero__media > img { height: 340px; }
	.hxpg-mirror { right: 10px; }
	.hxpg-cats__grid { grid-template-columns: repeat(2, 1fr); }
	.hxpg-bottombar { display: flex; }
}

@media (max-width: 480px) {
	.hxpg-features { grid-template-columns: 1fr; }
	.hxpg-cats__grid { grid-template-columns: 1fr 1fr; }
}


/* ---------- Sub-pages ---------- */
.hxpg-subpage { padding: 40px 0 64px; }
.hxpg-subpage h1 {
	font-size: clamp(30px, 4vw, 46px);
	font-weight: 800;
	line-height: 1.12;
	margin: 0 0 14px;
}
.hxpg-subpage h1 em {
	font-style: normal;
	background: linear-gradient(135deg, #a78bff, var(--acc));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.hxpg-subpage--narrow { max-width: 680px; }
.hxpg-sub { color: var(--mut); font-size: 15px; margin: 0 0 32px; }
.hxpg-back {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--mut);
	font-size: 13px;
	margin-bottom: 28px;
}
.hxpg-back:hover { color: var(--txt); }

/* Filter chips */
.hxpg-filter { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 32px; }
.hxpg-chip {
	padding: 9px 18px;
	border-radius: 999px;
	border: 1px solid var(--line);
	background: var(--card);
	color: var(--mut);
	font-size: 13.5px;
	transition: all 0.15s ease;
}
.hxpg-chip:hover { color: var(--txt); border-color: rgba(124, 92, 255, 0.55); }
.hxpg-chip.is-on {
	background: linear-gradient(135deg, var(--acc), var(--acc2));
	border-color: transparent;
	color: #fff;
}

/* Product grid */
.hxpg-products {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 18px;
}
.hxpg-prod {
	position: relative;
	border-radius: 20px;
	background: var(--card);
	border: 1px solid var(--line);
	overflow: hidden;
	transition: transform 0.18s ease, border-color 0.18s ease;
}
.hxpg-prod:hover { transform: translateY(-4px); border-color: rgba(124, 92, 255, 0.55); }
.hxpg-prod img { height: 200px; width: 100%; object-fit: cover; }
.hxpg-prod__fav {
	position: absolute;
	top: 12px; right: 12px;
	width: 34px; height: 34px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	background: rgba(13, 11, 30, 0.72);
	backdrop-filter: blur(6px);
	border: 1px solid var(--line);
	color: var(--mut);
}
.hxpg-prod__meta { display: block; padding: 16px; }
.hxpg-prod__meta em { display: block; font-style: normal; color: var(--acc); font-size: 11px; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 4px; }
.hxpg-prod__meta strong { display: block; font-size: 14.5px; margin-bottom: 6px; }
.hxpg-prod__price { color: var(--mut); font-size: 13px; }

.hxpg-empty {
	text-align: center;
	padding: 80px 24px;
	border: 1px dashed var(--line);
	border-radius: 20px;
	color: var(--mut);
}
.hxpg-empty svg { width: 36px; height: 36px; color: var(--acc); margin-bottom: 14px; }
.hxpg-empty h2 { color: var(--txt); font-size: 20px; margin: 0 0 8px; }
.hxpg-empty p { margin: 0; font-size: 14px; }

/* Steps */
.hxpg-steps {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 18px;
}
.hxpg-step {
	position: relative;
	padding: 26px 22px;
	border-radius: 20px;
	background: var(--card);
	border: 1px solid var(--line);
}
.hxpg-step__num {
	position: absolute;
	top: 18px; right: 18px;
	font-size: 34px;
	font-weight: 800;
	color: rgba(124, 92, 255, 0.25);
}
.hxpg-step h3 { font-size: 15.5px; margin: 16px 0 8px; }
.hxpg-step p { color: var(--mut); font-size: 13px; line-height: 1.65; margin: 0; }

/* Benefits grid */
.hxpg-benefits {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 18px;
}
.hxpg-benefits .hxpg-feature { align-items: flex-start; }
.hxpg-benefits .hxpg-feature small { font-size: 13px; }

/* CTA band */
.hxpg-cta-band {
	margin-top: 56px;
	padding: 44px 36px;
	border-radius: 24px;
	text-align: center;
	background: linear-gradient(135deg, rgba(124, 92, 255, 0.2), rgba(91, 61, 245, 0.08));
	border: 1px solid rgba(124, 92, 255, 0.35);
}
.hxpg-cta-band h2 { font-size: clamp(22px, 3vw, 30px); margin: 0 0 22px; }

/* Pricing */
.hxpg-plans {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	align-items: stretch;
}
.hxpg-plan {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 32px 26px;
	border-radius: 22px;
	background: var(--card);
	border: 1px solid var(--line);
}
.hxpg-plan.is-hot {
	border-color: rgba(124, 92, 255, 0.6);
	background: linear-gradient(160deg, rgba(124, 92, 255, 0.16), rgba(91, 61, 245, 0.06));
	box-shadow: 0 18px 50px rgba(91, 61, 245, 0.25);
}
.hxpg-plan__badge {
	position: absolute;
	top: -12px; left: 50%;
	transform: translateX(-50%);
	padding: 4px 14px;
	border-radius: 999px;
	background: linear-gradient(135deg, var(--acc), var(--acc2));
	font-size: 11px;
	font-weight: 600;
}
.hxpg-plan h3 { font-size: 16px; margin: 0 0 6px; }
.hxpg-plan__price { font-size: 26px; font-weight: 800; margin: 0 0 4px; }
.hxpg-plan__price small { font-size: 13px; font-weight: 400; color: var(--mut); }
.hxpg-plan__desc { color: var(--mut); font-size: 13px; margin: 0 0 20px; }
.hxpg-plan ul { list-style: none; margin: 0 0 26px; padding: 0; flex: 1; }
.hxpg-plan li {
	display: flex;
	align-items: center;
	gap: 9px;
	padding: 7px 0;
	font-size: 13.5px;
	color: var(--mut);
}
.hxpg-plan li svg { color: var(--acc); flex: 0 0 auto; width: 15px; height: 15px; }
.hxpg-payprep { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 10px 0; }
.hxpg-payprep .hxpg-btn[disabled] { opacity: .55; cursor: not-allowed; filter: grayscale(.2); }
.hxpg-payprep__note { display: block; color: var(--mut); font-size: 11px; line-height: 1.5; margin: 0 0 12px; }
@media (max-width: 520px) { .hxpg-payprep { grid-template-columns: 1fr; } }

/* Contact form */
.hxpg-form {
	display: grid;
	gap: 18px;
	padding: 34px;
	border-radius: 22px;
	background: var(--card);
	border: 1px solid var(--line);
}
.hxpg-form__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px;
}
.hxpg-form label {
	display: grid;
	gap: 8px;
	font-size: 13px;
	color: var(--mut);
}
.hxpg-form input,
.hxpg-form textarea {
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid var(--line);
	border-radius: 12px;
	padding: 13px 16px;
	color: var(--txt);
	font: inherit;
	font-size: 14px;
	outline: 0;
	resize: vertical;
}
.hxpg-form input:focus,
.hxpg-form textarea:focus {
	border-color: var(--acc);
	box-shadow: 0 0 0 3px rgba(124, 92, 255, 0.2);
}
.hxpg-form .hxpg-btn { justify-self: start; }

/* Product detail */
.hxpg-pdetail {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 44px;
	align-items: start;
}
.hxpg-pdetail__media img {
	border-radius: 22px;
	border: 1px solid var(--line);
	width: 100%;
}
.hxpg-pdetail__info h1 { font-size: clamp(26px, 3.4vw, 40px); margin: 14px 0 8px; }
.hxpg-pdetail__price { font-size: 24px; font-weight: 800; color: #b9a9ff; margin: 0 0 18px; }
.hxpg-pdetail__desc { color: var(--mut); font-size: 14.5px; line-height: 1.75; margin-bottom: 28px; }

@media (max-width: 1024px) {
	.hxpg-products { grid-template-columns: repeat(3, 1fr); }
	.hxpg-steps { grid-template-columns: repeat(2, 1fr); }
	.hxpg-pdetail { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
	.hxpg-products { grid-template-columns: repeat(2, 1fr); }
	.hxpg-benefits { grid-template-columns: 1fr; }
	.hxpg-plans { grid-template-columns: 1fr; }
	.hxpg-form { padding: 24px; }
	.hxpg-form__row { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
	.hxpg-steps { grid-template-columns: 1fr; }
}


/* ---------- Auth / Profile / Favorites ---------- */
.hxpg-tabs { display: flex; gap: 10px; margin-bottom: 22px; }

.hxpg-alert {
	padding: 13px 18px;
	border-radius: 12px;
	background: rgba(255, 92, 122, 0.12);
	border: 1px solid rgba(255, 92, 122, 0.4);
	color: #ff9db0;
	font-size: 13.5px;
	margin: 0 0 20px;
}

.hxpg-check {
	display: flex !important;
	grid-template-columns: none !important;
	align-items: center;
	gap: 10px;
	font-size: 13px;
}
.hxpg-check input { width: 18px; height: 18px; accent-color: #7c5cff; }
.hxpg-check a { color: var(--acc); }

.hxpg-profile {
	display: flex;
	align-items: center;
	gap: 18px;
	padding: 24px 26px;
	border-radius: 20px;
	background: var(--card);
	border: 1px solid var(--line);
	margin-bottom: 18px;
}
.hxpg-profile__avatar {
	width: 64px; height: 64px;
	border-radius: 50%;
	overflow: hidden;
	display: grid;
	place-items: center;
	background: linear-gradient(135deg, rgba(124,92,255,.3), rgba(91,61,245,.15));
	border: 1px solid rgba(124, 92, 255, 0.45);
	flex: 0 0 auto;
}
.hxpg-profile__avatar img { width: 100%; height: 100%; object-fit: cover; }
.hxpg-profile__meta strong { display: block; font-size: 18px; }
.hxpg-profile__meta small { color: var(--mut); font-size: 13px; }

.hxpg-profile__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
}
.hxpg-profile__grid .hxpg-feature { align-items: center; }

.hxpg-prod__fav.is-fav { color: #ff5c7a; border-color: rgba(255, 92, 122, 0.6); }
.hxpg-btn.is-fav { color: #ff5c7a; border-color: rgba(255, 92, 122, 0.5); }

@media (max-width: 768px) {
	.hxpg-profile__grid { grid-template-columns: 1fr; }
}


/* ---------- Mirror app ---------- */
.hxpg-mirror-app {
	display: grid;
	grid-template-columns: 1.3fr 0.9fr;
	gap: 24px;
	align-items: start;
}
.hxpg-stage {
	position: relative;
	border-radius: 22px;
	overflow: hidden;
	background: #05040f;
	border: 1px solid rgba(124, 92, 255, 0.4);
	box-shadow: 0 0 60px rgba(91, 61, 245, 0.25), inset 0 0 40px rgba(91, 61, 245, 0.12);
	aspect-ratio: 4/3;
	touch-action: none;
}
.hxpg-stage video,
.hxpg-stage canvas {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.hxpg-stage video { transform: scaleX(-1); } /* selfie mirror */
.hxpg-stage__idle {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 12px;
	color: var(--mut);
	font-size: 14px;
	text-align: center;
	padding: 24px;
}
.hxpg-stage__idle svg { width: 44px; height: 44px; color: var(--acc); }

.hxpg-panel {
	display: grid;
	gap: 16px;
}
.hxpg-panel__block {
	padding: 20px 22px;
	border-radius: 18px;
	background: var(--card);
	border: 1px solid var(--line);
}
.hxpg-panel__block h3 { font-size: 14px; margin: 0 0 14px; }
.hxpg-panel__row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.hxpg-or { color: var(--mut); font-size: 12px; margin: 14px 0 8px; }
.hxpg-urlrow input {
	flex: 1;
	min-width: 0;
	background: rgba(255,255,255,0.05);
	border: 1px solid var(--line);
	border-radius: 999px;
	padding: 10px 16px;
	color: var(--txt);
	font: inherit;
	font-size: 13px;
	outline: 0;
}
.hxpg-urlrow input:focus { border-color: var(--acc); }

.hxpg-picked {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px;
	border-radius: 14px;
	background: rgba(124,92,255,0.1);
	border: 1px solid rgba(124,92,255,0.4);
	margin-bottom: 12px;
}
.hxpg-picked img { width: 46px; height: 46px; border-radius: 10px; object-fit: cover; }
.hxpg-picked strong { display: block; font-size: 13.5px; }
.hxpg-picked small { color: var(--acc); font-size: 11.5px; }

.hxpg-advice {
	margin-top: 14px;
	padding: 14px 16px;
	border-radius: 14px;
	background: linear-gradient(135deg, rgba(124,92,255,0.18), rgba(91,61,245,0.08));
	border: 1px solid rgba(124,92,255,0.4);
	font-size: 13.5px;
	line-height: 1.65;
	color: #e6e0ff;
}
.hxpg-privacy {
	color: var(--mut);
	font-size: 11.5px;
	line-height: 1.6;
	margin: 0;
	padding: 0 6px;
}

/* Legal */
.hxpg-legal h2 { font-size: 17px; margin: 30px 0 10px; }
.hxpg-legal p { color: var(--mut); font-size: 14px; line-height: 1.75; }

/* Footer links + newsletter note */
.hxpg-footer__links {
	display: flex;
	gap: 22px;
	margin-top: 26px;
	font-size: 12.5px;
}
.hxpg-footer__links a { color: var(--mut); }
.hxpg-footer__links a:hover { color: var(--txt); }
.hxpg-news__note { color: var(--acc); font-size: 12.5px; margin: 10px 0 0; }

@media (max-width: 900px) {
	.hxpg-mirror-app { grid-template-columns: 1fr; }
}


/* ---------- AI consent modal ---------- */
.hxpg-consent {
	position: fixed;
	inset: 0;
	z-index: 10000;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(5, 4, 15, 0.8);
	backdrop-filter: blur(8px);
	padding: 20px;
}
.hxpg-consent__box {
	max-width: 460px;
	padding: 28px;
	border-radius: 22px;
	background: #151031;
	border: 1px solid rgba(124, 92, 255, 0.5);
	box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}
.hxpg-consent__box h4 { margin: 0 0 14px; font-size: 17px; }
.hxpg-consent__box p { color: var(--mut); font-size: 13.5px; line-height: 1.7; margin: 0 0 14px; }
.hxpg-consent__box strong { color: var(--txt); }
.hxpg-consent__box .hxpg-panel__row { margin-top: 8px; }

.hxpg-consent[hidden] { display: none !important; }
.hxpg-consent__box .hxpg-check { margin: 9px 0; color: var(--mut); cursor: pointer; }
.hxpg-consent__mail {
	display: grid;
	gap: 8px;
	font-size: 12.5px;
	color: var(--mut);
	margin: 16px 0;
}
.hxpg-consent__mail input {
	background: rgba(255,255,255,0.05);
	border: 1px solid var(--line);
	border-radius: 12px;
	padding: 11px 16px;
	color: var(--txt);
	font: inherit;
	font-size: 13.5px;
	outline: 0;
}
.hxpg-consent__mail input:focus { border-color: var(--acc); }

.hxpg-select {
	flex: 1;
	background: rgba(255,255,255,0.05);
	border: 1px solid var(--line);
	border-radius: 12px;
	padding: 10px 14px;
	color: var(--txt);
	font: inherit;
	font-size: 13.5px;
	outline: 0;
}
.hxpg-select:focus { border-color: var(--acc); }
.hxpg-manual label { display: grid; grid-template-columns: 68px 1fr; gap: 10px; align-items: center; margin: 10px 0; color: var(--mut); font-size: 12px; }
.hxpg-manual input[type="range"] { width: 100%; accent-color: var(--acc); }
.hxpg-manual .hxpg-panel__row .hxpg-btn { min-width: 38px; justify-content: center; padding-inline: 10px; }
.hxpg-lipcol {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 12.5px;
	color: var(--mut);
	white-space: nowrap;
}
.hxpg-lipcol input {
	width: 34px;
	height: 34px;
	border: 1px solid var(--line);
	border-radius: 10px;
	background: transparent;
	padding: 2px;
	cursor: pointer;
}

/* ===== Werbe-Spiegel (ads) ===== */
.hxpg-ads { display: flex; flex-direction: column; gap: 14px; position: relative; }
section.hxpg-ads { padding: 50px var(--pad, 24px) 60px; max-width: 1220px; margin: 0 auto; }
.hxpg-form[hidden] { display: none !important; }
.hxpg-ads__top { display: flex; align-items: center; justify-content: space-between; }
.hxpg-ads__all { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--mut); text-decoration: none; }
.hxpg-ads__all:hover { color: var(--txt); }
.hxpg-ads__rail {
	display: flex;
	gap: 12px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	padding-bottom: 8px;
	scrollbar-width: thin;
}
.hxpg-ads__rail--page { margin: 18px 0 34px; }
.hxpg-ad {
	position: relative;
	flex: 0 0 240px;
	scroll-snap-align: start;
	border-radius: 18px;
	overflow: hidden;
	background: #151031;
	border: 1px solid var(--line);
	text-decoration: none;
	color: var(--txt);
	display: flex;
	flex-direction: column;
	min-height: 220px;
}
.hxpg-ad img { width: 100%; height: 150px; object-fit: cover; }
.hxpg-ad__tag {
	position: absolute;
	top: 10px;
	left: 10px;
	font-size: 10.5px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	background: rgba(0,0,0,0.55);
	backdrop-filter: blur(4px);
	color: #fff;
	padding: 3px 9px;
	border-radius: 99px;
}
.hxpg-ad__meta { padding: 12px 14px; display: grid; gap: 2px; }
.hxpg-ad__meta strong { font-size: 14.5px; }
.hxpg-ad__meta small { color: var(--mut); font-size: 12px; }
.hxpg-ad--empty {
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, rgba(124,92,255,0.15), rgba(255,92,200,0.08));
	border: 1px dashed rgba(124,92,255,0.5);
	text-align: center;
}
.hxpg-ad--empty .hxpg-ad__meta { padding: 0 16px; }
.hxpg-ads__cta { align-self: flex-start; }

/* Werbung page */
.hxpg-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 18px 0; }
.hxpg-plan {
	position: relative;
	background: #151031;
	border: 1px solid var(--line);
	border-radius: 16px;
	padding: 18px 16px;
	display: grid;
	gap: 4px;
	text-align: center;
}
.hxpg-plan--trial { border-color: var(--acc); }
.hxpg-plan__badge {
	position: absolute;
	top: -10px;
	left: 50%;
	transform: translateX(-50%);
	font-size: 10.5px;
	background: var(--acc);
	color: #fff;
	padding: 3px 10px;
	border-radius: 99px;
	white-space: nowrap;
}
.hxpg-plan__price { font-size: 22px; }
.hxpg-plan__label { font-size: 12px; color: var(--mut); }

.hxpg-form { display: grid; gap: 14px; max-width: 640px; margin: 18px 0 36px; }
.hxpg-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 560px) { .hxpg-form__grid { grid-template-columns: 1fr; } }
.hxpg-form label { display: grid; gap: 6px; font-size: 13px; color: var(--mut); }
.hxpg-form input[type=text],
.hxpg-form input[type=email],
.hxpg-form input[type=tel],
.hxpg-form input[type=url],
.hxpg-form input[type=file],
.hxpg-form select,
.hxpg-form textarea {
	background: rgba(255,255,255,0.05);
	border: 1px solid var(--line);
	border-radius: 12px;
	padding: 11px 14px;
	color: var(--txt);
	font: inherit;
	font-size: 13.5px;
	outline: 0;
	width: 100%;
}
.hxpg-form input:focus, .hxpg-form select:focus, .hxpg-form textarea:focus { border-color: var(--acc); }
.hxpg-form__plans { border: 0; padding: 0; margin: 0; display: grid; gap: 4px; }
.hxpg-form__plans legend { font-size: 13px; color: var(--mut); margin-bottom: 6px; }
.hxpg-form .hxpg-check { display: flex; align-items: flex-start; gap: 8px; font-size: 12.5px; color: var(--mut); cursor: pointer; }
.hxpg-form .hxpg-check a { color: var(--acc); }

.hxpg-termin { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 14px 0 26px; }
@media (max-width: 640px) { .hxpg-termin { grid-template-columns: 1fr; } }
.hxpg-termin__card {
	background: #151031;
	border: 1px solid var(--line);
	border-radius: 18px;
	padding: 20px;
	display: grid;
	gap: 8px;
	align-content: start;
}
.hxpg-termin__card h3 { margin: 0; font-size: 16px; }
.hxpg-termin__card p { margin: 0; font-size: 13px; color: var(--mut); line-height: 1.6; }
.hxpg-termin__card a { justify-self: start; margin-top: 4px; }

.hxpg-note { padding: 13px 18px; border-radius: 14px; font-size: 14px; margin: 16px 0; }
.hxpg-note--ok { background: rgba(46,204,113,0.12); border: 1px solid rgba(46,204,113,0.4); }
.hxpg-note--err { background: rgba(231,76,60,0.12); border: 1px solid rgba(231,76,60,0.4); }

.hxpg-footer__feedback { margin: 22px 0 14px; max-width: 420px; }
.hxpg-feedback { display: grid; gap: 8px; }
.hxpg-feedback input, .hxpg-feedback textarea {
	background: rgba(255,255,255,0.05);
	border: 1px solid var(--line);
	border-radius: 12px;
	padding: 10px 14px;
	color: var(--txt);
	font: inherit;
	font-size: 13px;
	outline: 0;
	width: 100%;
	resize: vertical;
}
.hxpg-feedback input:focus, .hxpg-feedback textarea:focus { border-color: var(--acc); }
.hxpg-feedback button { justify-self: start; }
.hxpg-sr-only {
	position: absolute;
	width: 1px; height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	border: 0;
}

/* ===== Mirror ad cards (classic arched mirror frame) ===== */
.hxpg-mad {
	flex: 0 0 230px;
	scroll-snap-align: start;
	display: flex;
	flex-direction: column;
	cursor: pointer;
	border-radius: 22px;
	padding: 10px;
	background: rgba(21, 16, 48, 0.85);
	border: 1px solid rgba(167, 139, 250, 0.4);
	box-shadow: 0 10px 30px rgba(0,0,0,0.45), 0 0 18px rgba(124, 92, 255, 0.18);
}
.hxpg-mad__glass {
	position: relative;
	flex: 1;
	min-height: 220px;
	border-radius: 14px;
	overflow: hidden;
	border: 1px solid rgba(167, 139, 250, 0.35);
	background: #151030;
}
.hxpg-mad__glass img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hxpg-mad__glass .hxpg-ad__tag { z-index: 2; }
.hxpg-mad__txt {
	height: 100%;
	display: grid;
	place-items: center;
	padding: 24px;
	text-align: center;
	color: #3a3550;
	font-weight: 600;
	font-size: 16px;
}
.hxpg-mad__base {
	text-align: center;
	padding: 10px 8px 6px;
	color: #f4f1ff;
	display: grid;
	gap: 2px;
}
.hxpg-mad__base strong { font-size: 13px; }
.hxpg-mad__base small { font-size: 11px; opacity: 0.75; }
.hxpg-mad__stats {
	display: flex;
	justify-content: center;
	gap: 14px;
	margin-top: 6px;
	font-size: 11.5px;
}
.hxpg-mad__stat { display: inline-flex; align-items: center; gap: 4px; opacity: 0.9; }

/* ===== Ad viewer overlay ===== */
.hxpg-adview {
	position: fixed;
	inset: 0;
	z-index: 10000;
	background: rgba(5, 4, 15, 0.92);
	backdrop-filter: blur(10px);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
}
.hxpg-adview[hidden] { display: none !important; }
.hxpg-adview__box {
	position: relative;
	display: grid;
	grid-template-columns: 300px 1fr;
	gap: 26px;
	max-width: 760px;
	width: 100%;
	max-height: 92vh;
	background: #120e28;
	border: 1px solid var(--line);
	border-radius: 24px;
	padding: 26px;
	overflow: auto;
}
.hxpg-mad--big { flex: none; cursor: default; }
.hxpg-adview__x {
	position: absolute;
	top: 12px;
	right: 14px;
	background: none;
	border: 0;
	color: var(--mut);
	font-size: 30px;
	line-height: 1;
	cursor: pointer;
	z-index: 2;
}
.hxpg-adview__x:hover { color: var(--txt); }
.hxpg-adview__side { display: flex; flex-direction: column; gap: 14px; min-height: 0; }
.hxpg-adview__actions { display: flex; align-items: center; gap: 12px; }
.hxpg-alike {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	background: rgba(255,255,255,0.05);
	border: 1px solid var(--line);
	border-radius: 99px;
	padding: 8px 16px;
	color: var(--txt);
	font: inherit;
	font-size: 13.5px;
	cursor: pointer;
}
.hxpg-alike.is-liked { color: #ff5c8a; border-color: rgba(255, 92, 138, 0.5); }
.hxpg-alike.is-liked svg { fill: #ff5c8a; }
.hxpg-adview__comments {
	flex: 1;
	overflow-y: auto;
	display: grid;
	gap: 10px;
	align-content: start;
	max-height: 300px;
}
.hxpg-avcom {
	display: grid;
	gap: 2px;
	background: rgba(255,255,255,0.04);
	border: 1px solid var(--line);
	border-radius: 12px;
	padding: 10px 13px;
	font-size: 13px;
}
.hxpg-avcom strong { font-size: 12.5px; }
.hxpg-avcom small { color: var(--mut); font-size: 10.5px; }
.hxpg-adview__cform { display: grid; gap: 8px; }
.hxpg-adview__cform input,
.hxpg-adview__cform textarea {
	background: rgba(255,255,255,0.05);
	border: 1px solid var(--line);
	border-radius: 12px;
	padding: 10px 14px;
	color: var(--txt);
	font: inherit;
	font-size: 13px;
	outline: 0;
	resize: vertical;
}
.hxpg-adview__off { color: var(--mut); font-size: 12.5px; }
@media (max-width: 640px) {
	.hxpg-adview { padding: 0; }
	.hxpg-adview__box {
		grid-template-columns: 1fr;
		border-radius: 0;
		max-height: 100vh;
		height: 100vh;
		padding: 20px;
	}
	.hxpg-mad { flex-basis: 210px; }
}

/* ===== Magic Mirror shell (hero) ===== */
html:has(.hxpg--mirroronly),
body:has(.hxpg--mirroronly) {
	margin: 0 !important;
	padding: 0 !important;
	width: 100% !important;
	min-height: 100% !important;
	overflow: hidden !important;
	background: #0d0a1e !important;
}
body:has(.hxpg--mirroronly) > .wp-site-blocks,
body:has(.hxpg--mirroronly) main,
body:has(.hxpg--mirroronly) .entry-content,
body:has(.hxpg--mirroronly) .wp-block-post-content {
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
}
body:has(.hxpg--mirroronly) header,
body:has(.hxpg--mirroronly) footer {
	display: none !important;
}
.hxpg--mirroronly {
	width: 100vw !important;
	max-width: none !important;
	margin: 0 calc(50% - 50vw) !important;
	padding: 0 !important;
}
.hxpg-shell {
	padding: 0;
	display: flex;
	justify-content: center;
	height: 100dvh;
	box-sizing: border-box;
}
@property --hxpg-frame-angle {
	syntax: "<angle>";
	inherits: false;
	initial-value: 0deg;
}
.hxpg-shell__frame {
	--hxpg-frame-angle: 0deg;
	position: relative;
	box-sizing: border-box;
	width: 100%;
	max-width: none;
	height: 100dvh;
	border-radius: 34px;
	padding: 48px 26px 10px;
	background:
		linear-gradient(#0d0a1e, #0d0a1e) padding-box,
		conic-gradient(from var(--hxpg-frame-angle), #f5e8f0, #8f78ff, #55d9ff, #f3a8dc, #7860ff, #f5e8f0) border-box;
	border: 7px solid transparent;
	box-shadow:
		0 0 0 1px rgba(230, 213, 222, 0.5),
		0 0 42px rgba(180, 150, 200, 0.35),
		0 30px 80px rgba(0, 0, 0, 0.65),
		inset 0 0 60px rgba(124, 92, 255, 0.12);
	animation: hxpgFrameOrbit 8s linear infinite;
}
@keyframes hxpgFrameOrbit {
	to { --hxpg-frame-angle: 360deg; }
}
.hxpg-shell__title {
	position: absolute;
	top: 14px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	align-items: center;
	gap: 12px;
	isolation: isolate;
}
.hxpg-shell__title::before,
.hxpg-shell__title::after {
	content: "";
	position: absolute;
	z-index: -1;
	left: 50%;
	top: 50%;
	width: 150%;
	height: 34px;
	border-radius: 50%;
	pointer-events: none;
	filter: blur(10px);
	background: radial-gradient(ellipse, rgba(121,93,255,.58) 0%, rgba(80,211,255,.24) 38%, transparent 72%);
	animation: hxpgLogoSmoke 3.8s ease-in-out infinite alternate;
}
.hxpg-shell__title::after {
	width: 115%;
	height: 24px;
	background: radial-gradient(ellipse, rgba(255,126,219,.48) 0%, rgba(178,132,255,.2) 42%, transparent 75%);
	animation-delay: -1.9s;
	animation-direction: alternate-reverse;
}
.hxpg-shell__name {
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.42em;
	text-transform: uppercase;
	color: #f2e9f0;
	text-shadow: 0 1px 2px rgba(0,0,0,0.8), 0 0 12px rgba(216, 198, 212, 0.6);
	animation: hxpgLogoMagic 1.6s linear infinite;
}
@keyframes hxpgLogoMagic {
	0% { color: #fff5fd; text-shadow: 0 0 4px #fff, 0 0 10px #ff69d4, 0 0 20px rgba(255,105,212,.8); filter: brightness(1.05); }
	20% { color: #d9ccff; text-shadow: 0 0 5px #fff, 0 0 12px #8e72ff, 0 0 24px rgba(142,114,255,.9); filter: brightness(1.3); }
	40% { color: #c9f8ff; text-shadow: 0 0 5px #fff, 0 0 13px #50d3ff, 0 0 25px rgba(80,211,255,.9); filter: brightness(1.15); }
	60% { color: #ffe3a5; text-shadow: 0 0 5px #fff, 0 0 12px #ffc85c, 0 0 23px rgba(255,200,92,.85); filter: brightness(1.35); }
	80% { color: #ffc9ef; text-shadow: 0 0 5px #fff, 0 0 13px #e968ff, 0 0 26px rgba(233,104,255,.9); filter: brightness(1.2); }
	100% { color: #fff5fd; text-shadow: 0 0 4px #fff, 0 0 10px #ff69d4, 0 0 20px rgba(255,105,212,.8); filter: brightness(1.05); }
}
@keyframes hxpgLogoSmoke {
	0% { opacity: .25; transform: translate(-58%, -42%) scale(.75,.65) rotate(-4deg); }
	45% { opacity: .7; transform: translate(-48%, -58%) scale(1.12,.95) rotate(3deg); }
	100% { opacity: .35; transform: translate(-42%, -46%) scale(.88,1.08) rotate(-2deg); }
}
.hxpg-shell__rune {
	color: #d8c6d4;
	font-size: 14px;
	opacity: 0.9;
	text-shadow: 0 1px 2px rgba(0,0,0,0.8);
	animation: hxpgRuneShine 2.8s ease-in-out infinite alternate;
}
.hxpg-shell__brand,
.hxpg-shell__topactions {
	position: absolute;
	top: 8px;
	z-index: 35;
}
.hxpg-shell__brand {
	left: max(20px, calc(50% - 170px));
	width: 36px;
	height: 36px;
	padding: 0;
	border: 0;
	background: transparent;
	color: #cfc4ff;
	cursor: pointer;
}
.hxpg-shell__brand img { display: block; width: 34px; height: 34px; object-fit: contain; border-radius: 8px; }
.hxpg-shell__topactions { right: max(20px, calc(50% - 170px)); display: flex; gap: 6px; }
.hxpg-shell__topactions button {
	width: 34px;
	height: 34px;
	display: grid;
	place-items: center;
	padding: 0;
	border: 1px solid rgba(207,196,255,.42);
	border-radius: 11px;
	background: rgba(25,19,51,.82);
	color: #eee9ff;
	cursor: pointer;
	box-shadow: 0 0 12px rgba(124,92,255,.18);
}
.hxpg-shell__topactions button:hover { border-color: #a98fff; box-shadow: 0 0 16px rgba(124,92,255,.4); }

/* decorative runes on the frame edges */
.hxpg-shell__edge {
	position: absolute;
	top: 50px;
	bottom: 12px;
	writing-mode: vertical-rl;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 10px;
	letter-spacing: 7px;
	color: rgba(230, 213, 222, 0.55);
	text-shadow: 0 1px 2px rgba(0,0,0,0.8);
	pointer-events: none;
	user-select: none;
	animation: hxpgRuneShine 2.8s ease-in-out infinite alternate;
}
.hxpg-shell__edge--l { left: 8px; }
.hxpg-shell__edge--r { right: 8px; transform: rotate(180deg); animation-delay: -1.4s; }
@keyframes hxpgRuneShine {
	0% { color: rgba(230, 213, 222, 0.48); text-shadow: 0 1px 2px rgba(0,0,0,0.8), 0 0 3px rgba(143,120,255,.25); filter: brightness(.85); }
	55% { color: rgba(255, 241, 251, 0.95); text-shadow: 0 0 5px #fff, 0 0 12px #a98fff, 0 0 20px rgba(85,217,255,.8); filter: brightness(1.35); }
	100% { color: rgba(214, 194, 255, 0.7); text-shadow: 0 0 4px rgba(255,255,255,.7), 0 0 14px rgba(243,168,220,.75); filter: brightness(1.05); }
}
@media (prefers-reduced-motion: reduce) {
	.hxpg-shell__frame,
	.hxpg-shell__rune,
	.hxpg-shell__edge,
	.hxpg-shell__name,
	.hxpg-shell__title::before,
	.hxpg-shell__title::after { animation: none; }
}

.hxpg-shell__glass {
	position: relative;
	height: 100%;
	border-radius: 30px;
	overflow: hidden;
	border: 2px solid rgba(167, 139, 250, 0.55);
	background: #151030;
	box-shadow:
		0 0 22px rgba(139, 124, 255, 0.55),
		inset 0 0 40px rgba(0,0,0,0.55),
		inset 0 0 10px rgba(167,139,250,0.5);
}
.hxpg-shell__view { position: absolute; inset: 0; }
.hxpg-shell__view[hidden] { display: none !important; }
.hxpg-shell__bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.55;
}
.hxpg-shell__hero {
	position: relative;
	z-index: 1;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	gap: 14px;
	padding: 30px;
	background: linear-gradient(180deg, rgba(13,10,30,0.15), rgba(13,10,30,0.72));
}
.hxpg-shell__hero h1 { font-size: clamp(30px, 5vw, 52px); margin: 0; }
.hxpg-shell__aibadge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 11.5px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #cdbfff;
	background: rgba(124, 92, 255, 0.18);
	border: 1px solid rgba(124, 92, 255, 0.5);
	border-radius: 99px;
	padding: 6px 14px;
}
.hxpg-shell__cta { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 6px; }

/* ad stage inside the glass */
.hxpg-shell__adstage { position: absolute; inset: 0; cursor: pointer; }
.hxpg-shell__adimg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: opacity 0.26s ease;
}
.hxpg-shell__adshade {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(13,10,30,0) 40%, rgba(13,10,30,0.75) 100%);
	pointer-events: none;
}
.hxpg-shell__adinfo {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 128px;
	display: flex;
	justify-content: center;
	pointer-events: none;
}
.hxpg-shell__expand {
	position: absolute;
	top: 14px;
	right: 14px;
	width: 38px;
	height: 38px;
	border-radius: 12px;
	background: rgba(21, 16, 48, 0.75);
	border: 1px solid rgba(167, 139, 250, 0.4);
	color: #cdbfff;
	cursor: pointer;
	display: grid;
	place-items: center;
	z-index: 2;
}
.hxpg-shell__expand:hover { border-color: var(--acc); color: #fff; }
.hxpg-shell__adarrow {
	display: none;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 12;
	width: 48px;
	height: 64px;
	border: 1px solid rgba(255,255,255,.35);
	border-radius: 18px;
	background: rgba(12,9,29,.45);
	color: #fff;
	font: 300 44px/1 system-ui, sans-serif;
	cursor: pointer;
	backdrop-filter: blur(8px);
	box-shadow: 0 0 22px rgba(126,91,255,.3);
}
.hxpg-shell__adarrow--prev { left: 18px; }
.hxpg-shell__adarrow--next { right: 18px; }
.hxpg-shell,
.hxpg-shell__frame,
.hxpg-shell__glass,
.hxpg-shell__adimg { transition: all .55s cubic-bezier(.2,.8,.2,1); }
.hxpg-shell.is-ad-fullscreen {
	position: fixed;
	inset: 0;
	z-index: 100000;
	width: 100vw;
	height: 100dvh;
	padding: 0;
	background: #05040c;
}
.hxpg-shell.is-ad-fullscreen .hxpg-shell__frame {
	width: 100vw;
	height: 100dvh;
	padding: 0;
	border: 0;
	border-radius: 0;
	box-shadow: 0 0 80px rgba(126,91,255,.7);
}
.hxpg-shell.is-ad-fullscreen .hxpg-shell__glass { border: 0; border-radius: 0; box-shadow: inset 0 0 90px rgba(84,44,175,.28); }
.hxpg-shell.is-ad-fullscreen .hxpg-shell__title,
.hxpg-shell.is-ad-fullscreen .hxpg-shell__edge,
.hxpg-shell.is-ad-fullscreen .hxpg-shell__rail,
.hxpg-shell.is-ad-fullscreen .hxpg-shell__menu,
.hxpg-shell.is-ad-fullscreen .hxpg-shell__base,
.hxpg-shell.is-ad-fullscreen .hxpg-shell__adinfo,
.hxpg-shell.is-ad-fullscreen .hxpg-shell__expand { opacity: 0; visibility: hidden; pointer-events: none; }
.hxpg-shell.is-ad-fullscreen .hxpg-shell__adarrow { display: grid; place-items: center; animation: hxpgMagicIn .65s ease both; }
.hxpg-shell.is-ad-fullscreen .hxpg-shell__adimg { object-fit: contain; background: #05040c; }
@keyframes hxpgMagicIn {
	from { opacity: 0; transform: translateY(-50%) scale(.6); filter: blur(10px); }
	to { opacity: 1; transform: translateY(-50%) scale(1); filter: blur(0); }
}

/* edge button rails */
.hxpg-shell__rail {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	display: flex;
	flex-direction: column;
	gap: 10px;
	z-index: 3;
}
.hxpg-shell__rail--l { left: 10px; top: 60px; transform: none; }
.hxpg-shell__rail--r { right: 10px; }
.hxpg-shell__menu {
	position: absolute;
	right: 12px;
	top: 10px;
	display: grid;
	grid-template-columns: repeat(2, minmax(78px, 1fr));
	gap: 8px;
	z-index: 40;
	background: rgba(15, 11, 34, 0.92);
	border: 1px solid rgba(167, 139, 250, 0.4);
	border-radius: 18px;
	padding: 10px;
	backdrop-filter: blur(10px);
}
.hxpg-shell__menu[hidden] { display: none !important; }
.hxpg-shell__btn {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 5px;
	min-width: 68px;
	padding: 12px 8px;
	border-radius: 16px;
	background: rgba(38, 32, 78, 0.55);
	border: 1px solid rgba(167, 139, 250, 0.35);
	color: #e4dcff;
	font: inherit;
	font-size: 10px;
	letter-spacing: 0.02em;
	text-decoration: none;
	cursor: pointer;
	backdrop-filter: blur(6px);
	transition: all 0.18s ease;
}
.hxpg-shell__btn span { white-space: nowrap; }
.hxpg-shell__btn svg { width: 24px; height: 24px; color: #ffffff; }
.hxpg-shell__btn:hover,
.hxpg-shell__btn.is-on {
	border-color: var(--acc);
	background: rgba(124, 92, 255, 0.28);
	color: #fff;
	box-shadow: 0 0 18px rgba(124, 92, 255, 0.45);
	transform: scale(1.05);
}

/* in-mirror panels */
.hxpg-shell__panel {
	position: absolute;
	inset: 0;
	z-index: 20;
	background: rgba(15, 11, 34, 0.98);
	backdrop-filter: blur(10px);
	padding: 22px 24px 78px;
	display: flex;
	flex-direction: column;
	gap: 14px;
}
.hxpg-shell__panel[hidden] { display: none !important; }
.hxpg-shell__panelhead {
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.hxpg-shell__panelhead h3 { margin: 0; font-size: 17px; display: flex; align-items: center; gap: 8px; }
.hxpg-shell__close {
	background: rgba(255,255,255,0.06);
	border: 1px solid var(--line);
	border-radius: 10px;
	color: var(--mut);
	font-size: 20px;
	width: 34px;
	height: 34px;
	cursor: pointer;
	line-height: 1;
}
.hxpg-shell__close:hover { color: var(--txt); border-color: var(--acc); }
.hxpg-shell__items {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
	gap: 12px;
	overflow-y: auto;
	flex: 1;
	align-content: start;
}
.hxpg-shell__item {
	display: grid;
	gap: 7px;
	text-decoration: none;
	color: var(--txt);
	font-size: 12px;
	text-align: center;
	background: rgba(255,255,255,0.04);
	border: 1px solid var(--line);
	border-radius: 14px;
	padding: 10px;
	transition: border-color 0.15s ease;
}
.hxpg-shell__item:hover { border-color: var(--acc); }
.hxpg-shell__item img { width: 100%; height: 80px; object-fit: cover; border-radius: 10px; }
.hxpg-shell__empty { color: var(--mut); font-size: 13px; grid-column: 1 / -1; text-align: center; margin-top: 40px; }
.hxpg-shell__more { font-size: 13px; color: var(--acc); text-decoration: none; align-self: flex-end; }

/* bottom groups inside the glass (like the reference) */
.hxpg-shell__base {
	position: absolute;
	left: 10px;
	right: 10px;
	bottom: 10px;
	display: flex;
	flex-direction: column;
	gap: 6px;
	z-index: 4;
}
.hxpg-shell__groups {
	display: flex;
	gap: 8px;
	overflow-x: auto;
	scrollbar-width: none;
}
.hxpg-shell__groups::-webkit-scrollbar { display: none; }
.hxpg-shell__group {
	flex: 1 0 118px;
	display: flex;
	flex-direction: column;
	gap: 6px;
	background: rgba(21, 16, 48, 0.8);
	border: 1px solid rgba(167, 139, 250, 0.35);
	border-radius: 14px;
	padding: 9px 10px;
	color: var(--txt);
	font: inherit;
	cursor: pointer;
	backdrop-filter: blur(8px);
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
	text-align: left;
}
.hxpg-shell__group:hover,
.hxpg-shell__group.is-on {
	border-color: var(--acc);
	box-shadow: 0 0 16px rgba(124, 92, 255, 0.4);
}
.hxpg-shell__group--tool {
	border-color: rgba(85, 217, 255, 0.34);
	background: linear-gradient(145deg, rgba(45, 35, 83, 0.94), rgba(21, 45, 70, 0.9));
}
.hxpg-shell__group--tool .hxpg-shell__gtitle svg { color: #75e5ff; filter: drop-shadow(0 0 5px rgba(85,217,255,.65)); }
.hxpg-shell__gtitle {
	display: flex;
	align-items: center;
	gap: 5px;
	font-size: 11px;
	color: #cdbfff;
}
.hxpg-shell__gtitle svg { width: 13px; height: 13px; }
.hxpg-shell__gtitle em { font-style: normal; margin-left: auto; }
.hxpg-shell__gthumbs {
	display: flex;
	gap: 6px;
	align-items: center;
}
.hxpg-shell__gthumbs img {
	width: 48px;
	height: 48px;
	border-radius: 10px;
	object-fit: cover;
	border: 1px solid rgba(167, 139, 250, 0.3);
}
.hxpg-shell__gthumbs--tool img { width: 100%; height: 48px; object-position: center; }
.hxpg-shell__gthumbs svg { width: 26px; height: 26px; color: #8b7cff; margin: 8px; }
.hxpg-shell__gthumbs--txt { font-size: 11px; color: var(--mut); padding: 14px 2px; }
.hxpg-shell__cap {
	margin: 0;
	text-align: center;
	font-size: 10px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: rgba(205, 191, 255, 0.55);
}
.hxpg-shell__foot {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 7px;
}
.hxpg-shell__foot button,
.hxpg-shell__foot a {
	min-width: 0;
	height: 28px;
	padding: 0 5px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	border: 1px solid rgba(167,139,250,.32);
	border-radius: 9px;
	background: rgba(34,27,66,.78);
	color: rgba(238,233,255,.84);
	font: 500 9px/1 'Sora', system-ui, sans-serif;
	cursor: pointer;
	display: grid;
	place-items: center;
	box-sizing: border-box;
}
.hxpg-shell__foot button:hover,
.hxpg-shell__foot button.is-on,
.hxpg-shell__foot a:hover,
.hxpg-shell__foot a.is-on { border-color: #9f83ff; color: #fff; box-shadow: 0 0 12px rgba(124,92,255,.3); }

.hxpg-accountstats {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 8px;
	margin: 16px 0;
}
.hxpg-accountstats div,
.hxpg-accountbox {
	border: 1px solid var(--line);
	border-radius: 14px;
	background: rgba(255,255,255,.04);
	padding: 12px;
}
.hxpg-accountstats div { display: grid; gap: 3px; text-align: center; }
.hxpg-accountstats strong { color: #cdbfff; font-size: 18px; }
.hxpg-accountstats span,
.hxpg-accountbox p { color: var(--mut); font-size: 11px; }
.hxpg-accountbox { margin-top: 10px; }
.hxpg-accountbox h2 { margin: 0 0 8px; font-size: 15px; color: var(--txt); }
.hxpg-accountbox p { margin: 5px 0; }
.hxpg-accountbox .hxpg-btn { margin-top: 8px; }

/* generic in-mirror page frame */
.hxpg-shell__framepanel .hxpg-shell__framebody {
	flex: 1;
	overflow-y: auto;
	border-radius: 14px;
	padding: 6px;
}
.hxpg-shell__framebody .hxpg-header,
.hxpg-shell__framebody .hxpg-footer,
.hxpg-shell__framebody .hxpg-bottombar,
.hxpg-shell__framebody .hxpg-adview { display: none !important; }
.hxpg-shell__framebody .hxpg-subpage { padding: 0; max-width: none; }
.hxpg-shell__panelnav {
	position: absolute;
	left: 10px;
	right: 10px;
	bottom: 9px;
	z-index: 30;
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 5px;
	padding: 6px;
	border: 1px solid rgba(167,139,250,.36);
	border-radius: 16px;
	background: rgba(13,10,30,.94);
	backdrop-filter: blur(12px);
	box-shadow: 0 0 20px rgba(124,92,255,.2);
}
.hxpg-shell__panelnav[hidden] { display: none !important; }
.hxpg-shell__panelnav button {
	min-width: 0;
	height: 48px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 3px;
	padding: 3px 1px;
	border: 0;
	border-radius: 10px;
	background: transparent;
	color: #bdb5dc;
	font: 500 8px/1 'Sora', system-ui, sans-serif;
	cursor: pointer;
}
.hxpg-shell__panelnav button:hover,
.hxpg-shell__panelnav button.is-on { color: #fff; background: rgba(124,92,255,.24); }
.hxpg-shell__panelnav svg { width: 17px; height: 17px; }
.hxpg-shell__loader {
	display: grid;
	place-items: center;
	height: 200px;
	color: var(--mut);
	font-size: 14px;
}
.hxpg-shell__chip { cursor: pointer; font: inherit; }
.hxpg-shell__chip--all { border: 1px solid rgba(167, 139, 250, 0.35); }

@media (max-width: 720px) {
	.hxpg--mirroronly {
		position: fixed;
		inset: 0;
		width: 100vw !important;
		height: 100dvh !important;
		margin: 0 !important;
		z-index: 9999;
	}
	.hxpg-shell {
		width: 100vw;
		height: 100dvh;
	}
	.hxpg--mirroronly .hxpg-header,
	.hxpg--mirroronly .hxpg-bottombar { display: none !important; }
	.hxpg-shell__frame {
		box-sizing: border-box;
		height: 100dvh;
		border-radius: 28px;
		padding: 48px 22px max(16px, env(safe-area-inset-bottom));
		border-width: 7px;
		background:
			linear-gradient(#17142c, #17142c) padding-box,
			linear-gradient(100deg, #5f6575 0%, #b7bdc9 18%, #6f7484 42%, #d1c3ce 62%, #777282 82%, #b6bac5 100%) border-box;
		box-shadow: inset 0 0 22px rgba(255,255,255,.14), 0 0 25px rgba(119,92,255,.32);
	}
	.hxpg-shell__title { top: 13px; }
	.hxpg-shell__name { font-size: 14px; letter-spacing: .36em; }
	.hxpg-shell__edge { display: flex; top: 48px; bottom: 14px; font-size: 9px; letter-spacing: 5px; color: rgba(220,225,239,.72); }
	.hxpg-shell__edge--l { left: 6px; }
	.hxpg-shell__edge--r { right: 6px; }
	.hxpg-shell__glass {
		border-radius: 20px;
		border: 2px solid #c5dfff;
		box-shadow: 0 0 10px #d5ebff, 0 0 22px #8e6fff, inset 0 0 18px rgba(20,12,52,.55);
	}
	.hxpg-shell__adstage {
		inset: 0 82px 172px 0;
		overflow: hidden;
		border-radius: 18px 0 14px 0;
		border-right: 1px solid rgba(167,139,250,.28);
		border-bottom: 1px solid rgba(167,139,250,.28);
	}
	.hxpg-shell__adimg { object-position: 52% center; }
	.hxpg-shell__rail { gap: 8px; }
	.hxpg-shell__rail--r {
		top: 12px;
		right: 8px;
		bottom: 172px;
		transform: none;
		justify-content: center;
	}
	.hxpg-shell__btn { min-width: 64px; padding: 9px 6px; font-size: 9px; border-radius: 14px; background: rgba(37,32,65,.88); }
	.hxpg-shell__btn svg { width: 22px; height: 22px; }
	.hxpg-shell__rail--l,
	.hxpg-shell__expand { display: none !important; }
	.hxpg-shell__brand { left: max(20px, calc(50% - 170px)); top: 7px; }
	.hxpg-shell__brand img { width: 30px; height: 30px; }
	.hxpg-shell__topactions { right: max(20px, calc(50% - 170px)); top: 8px; gap: 4px; }
	.hxpg-shell__topactions button { width: 30px; height: 30px; border-radius: 9px; }
	.hxpg-shell__topactions svg { width: 16px; height: 16px; }
	.hxpg-shell__menu { top: 8px; right: 8px; max-height: calc(100% - 16px); overflow-y: auto; }
	.hxpg-shell__adinfo { bottom: 14px; }
	.hxpg-shell__base {
		left: 8px;
		right: 8px;
		bottom: 5px;
		height: auto;
		gap: 5px;
		padding-top: 6px;
		border-top: 1px solid rgba(167,139,250,.3);
		background: linear-gradient(180deg, rgba(13,10,30,.9), rgba(13,10,30,.98));
	}
	.hxpg-shell__groups { gap: 7px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; padding-bottom: 3px; }
	.hxpg-shell__group { flex: 0 0 118px; min-width: 118px; padding: 9px; border-radius: 12px; scroll-snap-align: start; }
	.hxpg-shell__group:nth-child(n) { display: flex; }
	.hxpg-shell__gtitle { font-size: 11px; }
	.hxpg-shell__gthumbs img { width: calc(50% - 3px); height: 58px; }
	.hxpg-shell__gthumbs--tool img { width: 100%; height: 58px; }
	.hxpg-shell__cap { font-size: 8px; line-height: 1.4; color: rgba(240,236,255,.8); padding: 0 10px; }
	.hxpg-shell.is-ad-fullscreen .hxpg-shell__adstage { inset: 0; border: 0; border-radius: 0; }
}
