/* Preview-only styles for /home-preview.php. Not loaded by the production homepage. */

:root {
	--hp-bg: #07031a;
	--hp-bg-deep: #050214;
	--hp-purple: #8830f0;
	--hp-purple-hot: #9a3bff;
	--hp-lilac: #b56bff;
	--hp-text: #ffffff;
	--hp-muted: rgba(255, 255, 255, 0.78);
	--hp-font: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	--hp-radius: 22px;
}

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

html,
body {
	height: 100%;
}

body {
	margin: 0;
	background: var(--hp-bg-deep);
	color: var(--hp-text);
	font-family: var(--hp-font);
	font-size: 16px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}

a {
	color: inherit;
	text-decoration: none;
}

button,
input {
	font: inherit;
}

.hp-sr {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.hp {
	position: relative;
	display: flex;
	flex-direction: column;
	height: calc(100dvh - 24px);
	margin: 12px;
	overflow: hidden;
	border-radius: var(--hp-radius);
	background:
		radial-gradient(720px 560px at 78% 52%, rgba(109, 40, 217, 0.2), transparent 64%),
		radial-gradient(380px 180px at 74% 86%, rgba(136, 48, 240, 0.22), transparent 72%),
		var(--hp-bg);
}

.hp-arcs {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
}

.hp-header,
.hp-hero,
.hp-footer {
	position: relative;
	z-index: 1;
}

.hp-header {
	display: flex;
	align-items: center;
	gap: 20px;
	padding: 14px 32px 2px;
}

.hp-brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	flex: none;
}

.hp-brand__slot {
	width: 40px;
	height: 40px;
	display: grid;
	place-items: center;
	flex: none;
}

.hp-brand__mark {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
}

.hp-brand__name {
	font-weight: 700;
	font-size: 1.45rem;
	letter-spacing: -0.04em;
	line-height: 1;
}

.hp-nav {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: clamp(16px, 2.1vw, 34px);
	margin: 0 auto;
}

.hp-nav a {
	font-size: 0.95rem;
	font-weight: 500;
	color: rgba(255, 255, 255, 0.92);
}

.hp-nav a:hover {
	color: #fff;
}

.hp-nav .hp-nav__cta {
	display: none;
}

.hp-menu {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.hp-burger {
	display: grid;
	width: 42px;
	height: 42px;
	margin-left: auto;
	border: 1px solid rgba(206, 176, 255, 0.85);
	border-radius: 12px;
	place-items: center;
	cursor: pointer;
}

.hp-burger__bars,
.hp-burger__bars::before,
.hp-burger__bars::after {
	display: block;
	width: 16px;
	height: 1.5px;
	background: #fff;
	border-radius: 2px;
	position: relative;
}

.hp-burger__bars::before,
.hp-burger__bars::after {
	content: "";
	position: absolute;
	left: 0;
}

.hp-burger__bars::before { top: -5px; }
.hp-burger__bars::after { top: 5px; }

.hp-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 999px;
	font-weight: 600;
	line-height: 1;
	white-space: nowrap;
}

.hp-btn--ghost {
	padding: 11px 18px;
	border: 1.5px solid rgba(206, 176, 255, 0.9);
	color: #fff;
	font-size: 0.92rem;
}

.hp-btn--ghost:hover {
	background: rgba(136, 48, 240, 0.16);
}

.hp-btn--solid {
	background: var(--hp-purple);
	color: #fff;
	border: 0;
}

.hp-btn--solid:hover {
	background: var(--hp-purple-hot);
}

.hp-btn--lg {
	min-width: 11.6rem;
	padding: 18px 36px;
	font-size: 1rem;
	box-shadow: 0 10px 28px rgba(136, 48, 240, 0.28);
}

.hp-btn:focus-visible,
.hp-nav a:focus-visible,
.hp-brand:focus-visible,
.hp-footer a:focus-visible,
.hp-menu:focus-visible + .hp-burger {
	outline: 2px solid var(--hp-lilac);
	outline-offset: 3px;
}

.hp-hero {
	flex: 1;
	min-height: 0;
	display: grid;
	grid-template-columns: minmax(0, 0.92fr) minmax(0, 1fr);
	align-items: center;
	gap: 12px;
	padding: 8px 28px 8px clamp(28px, 5vw, 72px);
}

.hp-eyebrow {
	margin: 0 0 14px;
	color: #c4a8ff;
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	line-height: 1.3;
	text-transform: uppercase;
}

.hp-copy h1 {
	margin: 0;
	max-width: 12em;
	font-size: clamp(2.5rem, 5.15vw, 4.95rem);
	font-weight: 700;
	letter-spacing: -0.045em;
	line-height: 0.98;
}

.hp-line {
	display: block;
}

.hp-copy h1 span span {
	color: var(--hp-lilac);
}

.hp-copy p {
	max-width: 34rem;
	margin: 12px 0 26px;
	color: var(--hp-muted);
	font-size: clamp(1rem, 1.25vw, 1.14rem);
	line-height: 1.45;
}

.hp-copy .hp-outcomes {
	margin: 16px 0 0;
	color: #fff;
	font-size: clamp(1.05rem, 1.45vw, 1.2rem);
	font-weight: 600;
	letter-spacing: -0.015em;
	line-height: 1.35;
}

.hp-stage {
	height: 100%;
	min-height: 0;
	display: grid;
	place-items: center start;
	overflow: visible;
}

.hp-device {
	position: relative;
	height: 100%;
	width: 100%;
	display: grid;
	place-items: center;
}

.hp-device__glow {
	position: absolute;
	left: 50%;
	bottom: 6%;
	width: 70%;
	height: 14%;
	transform: translateX(-50%) rotate(-6deg);
	background: radial-gradient(ellipse at center, rgba(147, 51, 234, 0.55), rgba(88, 28, 180, 0.16) 48%, transparent 74%);
	filter: blur(14px);
	pointer-events: none;
}

.hp-device__phone {
	position: relative;
	z-index: 1;
	width: min(352px, calc((100dvh - 248px) * 9 / 19.35));
	height: auto;
	max-width: 100%;
	aspect-ratio: 9 / 19.35;
	padding: 5px;
	border-radius: 38px;
	background:
		linear-gradient(165deg, #5c4a72 0%, #1a1422 12%, #0c0a10 42%, #16121c 70%, #3a2c4e 100%);
	box-shadow:
		0 0 0 1px rgba(214, 176, 255, 0.42),
		0 22px 36px rgba(0, 0, 0, 0.42),
		0 48px 70px rgba(76, 29, 149, 0.22);
	transform: perspective(1600px) rotateY(-7deg) rotateZ(-5deg);
	transform-origin: 50% 72%;
}

.hp-device__phone::after {
	content: "";
	position: absolute;
	left: 12%;
	right: 12%;
	bottom: -18px;
	height: 22px;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.45);
	filter: blur(10px);
	z-index: -1;
}

.hp-device__screen {
	height: 100%;
	display: flex;
	flex-direction: column;
	gap: 7px;
	padding: 16px 14px 8px;
	border-radius: 33px;
	overflow: hidden;
	background: #0c0a12;
	color: #fff;
	font-size: 14px;
	line-height: 1.25;
	position: relative;
}

.hp-island {
	position: absolute;
	top: 10px;
	left: 50%;
	z-index: 2;
	width: 28%;
	height: 18px;
	transform: translateX(-50%);
	border-radius: 999px;
	background: #050308;
}

.hp-status {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 22px;
	padding: 0 4px;
	font-size: 0.78em;
	font-weight: 600;
	letter-spacing: -0.02em;
}

.hp-status__icons {
	display: inline-flex;
	align-items: center;
	gap: 0.45em;
}

.hp-status__icons svg {
	height: 0.85em;
	width: auto;
	fill: currentColor;
}

.hp-appbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.4em;
	font-weight: 600;
	font-size: 0.92em;
	white-space: nowrap;
}

.hp-appbar__brand,
.hp-appbar__tools {
	display: inline-flex;
	align-items: center;
	gap: 0.4em;
}

.hp-brand__slot--sm {
	width: 1.25em;
	height: 1.25em;
}

.hp-appbar__tools svg {
	width: 1.15em;
	height: 1.15em;
}

.hp-tabs {
	display: flex;
	align-items: center;
	gap: 0.7em;
	color: rgba(255, 255, 255, 0.72);
	font-size: 0.72em;
	font-weight: 500;
	white-space: nowrap;
}

.hp-tabs .is-on {
	padding: 0.28em 0.7em;
	border-radius: 999px;
	background: var(--hp-purple);
	color: #fff;
	font-weight: 600;
}

.hp-tabs i {
	font-style: normal;
	color: #d8b4fe;
}

.hp-match,
.hp-predict,
.hp-room {
	border-radius: 1.15em;
	background: rgba(22, 18, 32, 0.92);
}

.hp-match {
	overflow: hidden;
}

.hp-match__photo {
	position: relative;
	aspect-ratio: 16 / 10.6;
	background: #12101a;
}

.hp-match__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 100% 42%;
	display: block;
}

.hp-match__photo::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 32%;
	background: linear-gradient(transparent, rgba(10, 8, 16, 0.45));
	pointer-events: none;
}

.hp-live {
	position: absolute;
	top: 0.55em;
	left: 0.55em;
	display: inline-flex;
	align-items: center;
	gap: 0.28em;
	padding: 0.18em 0.45em 0.16em;
	border-radius: 0.35em;
	background: #e11d48;
	color: #fff;
	font-size: 0.62em;
	font-weight: 700;
	letter-spacing: 0.04em;
}

.hp-live i {
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 0.32em 0 0.32em 0.48em;
	border-color: transparent transparent transparent #fff;
}

.hp-round {
	position: absolute;
	left: 0.7em;
	bottom: 0.45em;
	font-size: 0.72em;
	font-weight: 600;
	text-shadow: 0 1px 6px rgba(0, 0, 0, 0.7);
}

.hp-score {
	display: grid;
	gap: 0.28em;
	padding: 0.45em 0.7em 0.6em;
}

.hp-score__row {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 0.45em;
	font-size: 0.78em;
	font-weight: 600;
}

.hp-score__sets {
	display: inline-flex;
	gap: 0.55em;
	font-variant-numeric: tabular-nums;
	font-weight: 600;
}

.hp-serve {
	display: inline-block;
	width: 0.38em;
	height: 0.38em;
	margin-left: 0.2em;
	border-radius: 50%;
	background: #c084fc;
	vertical-align: 0.05em;
}

.hp-flag {
	width: 1.15em;
	height: 0.82em;
	border-radius: 2px;
	box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.15);
}

.hp-flag--es {
	background: linear-gradient(#aa151b 0 25%, #f1bf00 25% 75%, #aa151b 75%);
}

.hp-flag--en {
	background-color: #fff;
	background-image:
		linear-gradient(#cf142b, #cf142b),
		linear-gradient(#cf142b, #cf142b);
	background-repeat: no-repeat;
	background-position: center;
	background-size: 100% 28%, 22% 100%;
}

.hp-predict {
	padding: 0.65em 0.7em 0.7em;
}

.hp-predict__title {
	display: flex;
	align-items: center;
	gap: 0.4em;
	font-size: 0.82em;
	font-weight: 700;
}

.hp-spark {
	width: 1.15em;
	height: 1.15em;
	display: grid;
	place-items: center;
	border-radius: 0.35em;
	background: #6d28d9;
}

.hp-spark svg {
	width: 0.75em;
	height: 0.75em;
	fill: #fff;
}

.hp-predict p {
	margin: 0.2em 0 0.5em;
	color: rgba(255, 255, 255, 0.62);
	font-size: 0.7em;
}

.hp-split {
	display: grid;
	grid-template-columns: 42fr 58fr;
	overflow: hidden;
	border-radius: 999px;
	background: #2a2733;
	font-size: 0.72em;
	font-weight: 600;
}

.hp-split span {
	padding: 0.45em 0.7em;
}

.hp-split span:last-child {
	background: var(--hp-purple);
	text-align: right;
}

.hp-room {
	padding: 0.55em 0.7em 0.6em;
	display: grid;
	gap: 0.4em;
}

.hp-room__head {
	display: flex;
	justify-content: space-between;
	font-size: 0.74em;
	font-weight: 600;
}

.hp-room__head span {
	color: rgba(255, 255, 255, 0.45);
}

.hp-msg {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 0.45em;
	align-items: start;
	font-size: 0.7em;
	line-height: 1.3;
}

.hp-msg__meta {
	display: block;
	color: rgba(255, 255, 255, 0.55);
	font-size: 0.92em;
}

.hp-msg__meta time {
	margin-left: 0.35em;
	color: rgba(255, 255, 255, 0.4);
}

.hp-avatar {
	width: 1.7em;
	height: 1.7em;
	border-radius: 50%;
	background:
		radial-gradient(circle at 50% 38%, #f3d2b5 0 28%, transparent 29%),
		radial-gradient(circle at 50% 108%, #3a4258 0 46%, transparent 47%),
		linear-gradient(#6d7c99, #44506a);
}

.hp-avatar--sm {
	width: 1.35em;
	height: 1.35em;
	background:
		radial-gradient(circle at 50% 36%, #e7b898 0 28%, transparent 29%),
		radial-gradient(circle at 50% 110%, #2a3144 0 48%, transparent 49%),
		linear-gradient(#5c6b86, #394356);
}

.hp-avatar--b {
	background:
		radial-gradient(circle at 50% 38%, #f0c2a0 0 28%, transparent 29%),
		radial-gradient(circle at 50% 108%, #5a4638 0 46%, transparent 47%),
		linear-gradient(#8d6b58, #5c4034);
}

.hp-tabbar {
	margin-top: auto;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	padding-top: 0.2em;
	color: rgba(255, 255, 255, 0.55);
	font-size: 10px;
	font-weight: 600;
	text-align: center;
}

.hp-tabbar span {
	display: grid;
	justify-items: center;
	gap: 0.2em;
}

.hp-tabbar svg {
	width: 16px;
	height: 16px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.7;
	stroke-linejoin: round;
}

.hp-tabbar .is-on {
	color: #c084fc;
}

.hp-tabbar .is-on svg {
	fill: #c084fc;
	stroke: none;
}

.hp-apps {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	align-items: center;
	gap: 10px 18px;
	margin: 0 28px 2px;
	padding: 6px 0 8px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hp-apps__title {
	margin: 0;
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.55);
}

.hp-apps__list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.hp-apps__list li {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
	margin: 0;
	padding: 6px 8px 6px 6px;
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.04);
}

.hp-apps__logo {
	display: flex;
	flex-shrink: 0;
	overflow: hidden;
	line-height: 0;
	border-radius: 22%;
}

.hp-apps__logo img {
	width: 28px;
	height: 28px;
	border-radius: 22%;
	object-fit: cover;
}

.hp-apps__list p {
	flex: 1 1 auto;
	min-width: 0;
	margin: 0;
}

.hp-apps__list strong {
	display: block;
	font-size: 0.82rem;
	font-weight: 600;
	letter-spacing: -0.02em;
}

.hp-apps__list span {
	display: block;
	overflow: hidden;
	font-size: 0.72rem;
	line-height: 1.3;
	color: rgba(255, 255, 255, 0.62);
	text-overflow: ellipsis;
	white-space: nowrap;
}

.hp-apps__visit {
	flex-shrink: 0;
	padding: 7px 12px;
	font-size: 0.75rem;
}

.hp-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px 28px;
	padding: 8px 32px 10px;
	border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.hp-brand--footer .hp-brand__slot {
	width: 28px;
	height: 28px;
}

.hp-brand--footer .hp-brand__name {
	font-size: 1.05rem;
}

.hp-footer__links {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 8px 26px;
}

.hp-footer__links a {
	font-size: 0.86rem;
	font-weight: 500;
	color: rgba(255, 255, 255, 0.9);
}

.hp-footer__links a:hover {
	color: #fff;
}

@media (min-width: 961px) {
	.hp-copy {
		container-type: inline-size;
	}

	.hp-line {
		white-space: nowrap;
	}

	.hp-burger,
	.hp-nav__cta {
		display: none;
	}

	.hp-copy h1 {
		max-width: none;
		font-size: clamp(2.55rem, 9.05cqw, 5rem);
	}
}
@media (max-width: 960px) {
	body {
		background: var(--hp-bg);
	}

	.hp {
		height: auto;
		min-height: 100dvh;
		margin: 0;
		border-radius: 0;
		overflow: visible;
	}

	.hp-burger {
		display: grid;
	}

	.hp-header__cta {
		display: none;
	}

	.hp-header {
		flex-wrap: wrap;
		padding: 14px 18px 8px;
	}

	.hp-nav {
		display: none;
		flex: 1 0 100%;
		flex-direction: column;
		align-items: stretch;
		gap: 2px;
		margin: 8px 0 0;
		padding: 8px 0 4px;
	}

	.hp-menu:checked ~ .hp-nav {
		display: flex;
	}

	.hp-nav a {
		padding: 12px 4px;
		font-size: 1.05rem;
	}

	.hp-nav .hp-nav__cta {
		display: inline-flex;
		margin-top: 8px;
		padding: 14px 18px;
	}

	.hp-hero {
		grid-template-columns: 1fr;
		padding: 18px 22px 28px;
	}

	.hp-copy h1 {
		max-width: 12em;
	}

	.hp-stage {
		height: auto;
		min-height: 0;
		margin-top: 28px;
		place-items: stretch;
	}

	.hp-device {
		width: min(340px, 86vw);
		height: auto;
	}

	.hp-device__phone {
		height: auto;
		width: 100%;
		max-width: 100%;
		transform: none;
	}

	.hp-device__screen {
		font-size: 13px;
		border-radius: 32px;
	}

	.hp-apps {
		grid-template-columns: 1fr;
		gap: 8px;
		margin: 0 18px;
	}

	.hp-apps__list {
		grid-template-columns: 1fr;
	}

	.hp-footer {
		flex-direction: column;
		align-items: flex-start;
		padding: 18px 18px 28px;
	}

	.hp-footer__links {
		justify-content: flex-start;
		gap: 10px 18px;
	}
}

@media (max-width: 420px) {
	.hp-line {
		white-space: normal;
	}

	.hp-copy h1 {
		font-size: 2.35rem;
	}
}

@media (min-width: 961px) and (max-height: 760px) {
	.hp-eyebrow {
		margin-bottom: 8px;
	}

	.hp-copy h1 {
		font-size: clamp(2rem, 3.6vw, 3.1rem);
	}

	.hp-copy .hp-outcomes {
		margin: 10px 0 0;
		font-size: 1rem;
	}

	.hp-copy p {
		margin: 10px 0 16px;
	}

	.hp-header {
		padding-top: 10px;
	}

	.hp-footer {
		padding-top: 10px;
		padding-bottom: 10px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.hp-device__phone {
		transform: none;
	}
}

/* Fan Layer graphic, adapted from the current homepage hero. */
.hp-stage .ent-layer-viz {
	position: relative;
	width: min(470px, 100%);
	height: min(390px, 100%);
	margin: 0 0 0 -8px;
}

.ent-layer-viz__app {
	position: absolute;
	inset: 38px 36px 50px 48px;
	border-radius: 22px;
	background: linear-gradient(180deg, rgba(38, 32, 56, 0.98) 0%, rgba(18, 14, 30, 0.99) 100%);
	border: 1px solid rgba(210, 188, 255, 0.4);
	box-shadow:
		0 30px 70px rgba(0, 0, 0, 0.45),
		0 0 0 1px rgba(255, 255, 255, 0.08) inset,
		0 0 72px rgba(124, 64, 214, 0.3);
	overflow: hidden;
	z-index: 1;
}

.ent-layer-viz__chrome {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 12px 14px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.14);
	background: rgba(255, 255, 255, 0.075);
}

.ent-layer-viz__mark {
	width: 18px;
	height: 18px;
	border-radius: 6px;
	background: linear-gradient(145deg, rgba(214, 196, 255, 0.7), rgba(124, 64, 214, 0.75));
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
	flex: 0 0 auto;
}

.ent-layer-viz__app-name {
	color: #fff;
	font-size: 0.84rem;
	font-weight: 700;
	letter-spacing: 0.01em;
}

.ent-layer-viz__nav {
	margin-left: auto;
	color: rgba(255, 255, 255, 0.62);
	font-size: 0.64rem;
	letter-spacing: 0.02em;
	white-space: nowrap;
}

.ent-layer-viz__canvas {
	position: relative;
	height: calc(100% - 45px);
	padding: 16px;
	overflow: hidden;
}

.ent-layer-viz__glow {
	position: absolute;
	inset: 8% 6% auto;
	height: 58%;
	border-radius: 18px;
	background:
		radial-gradient(ellipse 70% 80% at 50% 40%, rgba(168, 138, 255, 0.36), transparent 70%),
		radial-gradient(ellipse 90% 70% at 30% 80%, rgba(96, 52, 160, 0.42), transparent 65%),
		linear-gradient(160deg, rgba(48, 38, 74, 0.95), rgba(16, 12, 26, 0.96));
}

.ent-layer-viz__panel {
	position: relative;
	z-index: 1;
	padding: 14px 14px 12px;
	border-radius: 14px;
	background: rgba(16, 14, 28, 0.58);
	border: 1px solid rgba(255, 255, 255, 0.14);
}

.ent-layer-viz__badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 3px 8px;
	border-radius: 999px;
	background: rgba(124, 64, 214, 0.32);
	border: 1px solid rgba(210, 188, 255, 0.42);
	color: #f0e8ff;
	font-size: 0.58rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.ent-layer-viz__badge::before {
	content: "";
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: #d4c0ff;
	box-shadow: 0 0 8px rgba(212, 192, 255, 0.9);
}

.ent-layer-viz__title {
	margin: 10px 0 8px;
	color: rgba(255, 255, 255, 0.96);
	font-size: 1.05rem;
	font-weight: 700;
	letter-spacing: -0.02em;
}

.ent-layer-viz__tabs {
	display: flex;
	gap: 12px;
	margin-bottom: 12px;
	color: rgba(255, 255, 255, 0.54);
	font-size: 0.68rem;
}

.ent-layer-viz__tabs .is-active {
	color: rgba(255, 255, 255, 0.96);
	font-weight: 600;
}

.ent-layer-viz__skeleton {
	display: grid;
	gap: 7px;
}

.ent-layer-viz__skeleton span {
	display: block;
	height: 8px;
	border-radius: 999px;
	background: linear-gradient(90deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.1));
}

.ent-layer-viz__skeleton span:nth-child(1) { width: 78%; }
.ent-layer-viz__skeleton span:nth-child(2) { width: 92%; }
.ent-layer-viz__skeleton span:nth-child(3) { width: 64%; }

.ent-layer-viz__wires {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	z-index: 2;
}

.ent-layer-viz__cap {
	position: absolute;
	z-index: 3;
	padding: 5px 10px;
	border-radius: 999px;
	border: 1px solid rgba(214, 196, 255, 0.72);
	background: rgba(24, 16, 42, 0.88);
	color: #f4edff;
	font-size: 0.68rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(196, 168, 255, 0.12);
	white-space: nowrap;
}

.ent-layer-viz__cap--community { top: 14px; left: 28px; }
.ent-layer-viz__cap--participation { bottom: 2px; left: 54%; transform: translateX(-50%); }
.ent-layer-viz__cap--ai { top: 14px; right: 22px; }

.ent-layer-viz__mod {
	position: absolute;
	z-index: 4;
	width: min(224px, 44%);
	padding: 12px;
	border-radius: 16px;
	background: linear-gradient(180deg, #ffffff 0%, #f7f4ff 100%);
	border: 1px solid rgba(124, 64, 214, 0.14);
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28), 0 2px 0 rgba(255, 255, 255, 0.8) inset;
	color: #1a1528;
}

.ent-layer-viz__mod--community {
	top: 74px;
	left: -6px;
	width: min(236px, 46%);
	transform: rotate(-3.5deg);
}

.ent-layer-viz__mod--participation {
	bottom: 10px;
	left: 54%;
	width: min(228px, 45%);
	transform: translateX(-42%) rotate(1.5deg);
	z-index: 5;
}

.ent-layer-viz__mod--ai {
	top: 82px;
	right: -6px;
	width: min(232px, 45%);
	transform: rotate(3deg);
}

.ent-layer-viz__mod-head {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	margin-bottom: 10px;
}

.ent-layer-viz__mod-head strong {
	display: block;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: -0.01em;
	line-height: 1.2;
}

.ent-layer-viz__mod-head em {
	display: block;
	margin-top: 1px;
	font-style: normal;
	font-size: 0.62rem;
	color: rgba(40, 28, 70, 0.58);
	line-height: 1.25;
}

.ent-layer-viz__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	border-radius: 8px;
	background: rgba(124, 64, 214, 0.12);
	color: #7c40d6;
	flex: 0 0 auto;
}

.ent-layer-viz__msgs {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 7px;
}

.ent-layer-viz__msgs li {
	display: flex;
	align-items: flex-start;
	gap: 7px;
}

.ent-layer-viz__msgs p {
	margin: 0;
	font-size: 0.68rem;
	line-height: 1.25;
	color: #241a38;
}

.ent-layer-viz__msgs time {
	display: block;
	margin-top: 1px;
	font-size: 0.52rem;
	color: rgba(40, 28, 70, 0.42);
}

.ent-layer-viz__av {
	width: 18px;
	height: 18px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 0.52rem;
	font-weight: 700;
	color: #fff;
	background: #8b5cf6;
	flex: 0 0 auto;
}

.ent-layer-viz__av--b { background: #6d28d9; }
.ent-layer-viz__av--c { background: #a78bfa; color: #2a1848; }
.ent-layer-viz__av--d { background: #5b21b6; }

.ent-layer-viz__composer {
	margin-top: 10px;
	padding: 8px 10px;
	border-radius: 10px;
	border: 1px solid rgba(124, 64, 214, 0.14);
	background: rgba(124, 64, 214, 0.04);
	color: rgba(40, 28, 70, 0.45);
	font-size: 0.62rem;
}

.ent-layer-viz__prompt {
	margin: 0 0 8px;
	font-size: 0.74rem;
	font-weight: 700;
	color: #1f1634;
}

.ent-layer-viz__options {
	display: grid;
	gap: 7px;
}

.ent-layer-viz__option {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	padding: 8px 10px 10px;
	border-radius: 10px;
	border: 1px solid rgba(124, 64, 214, 0.12);
	background: #fff;
	overflow: hidden;
}

.ent-layer-viz__option.is-leading {
	border-color: rgba(124, 64, 214, 0.35);
	background: rgba(124, 64, 214, 0.06);
}

.ent-layer-viz__option span {
	font-size: 0.68rem;
	font-weight: 600;
	color: #2a1d44;
	z-index: 1;
}

.ent-layer-viz__option strong {
	font-size: 0.62rem;
	color: #7c40d6;
	z-index: 1;
}

.ent-layer-viz__option i {
	position: absolute;
	left: 0;
	bottom: 0;
	height: 3px;
	width: var(--pct, 50%);
	background: linear-gradient(90deg, #9e7cff, #7c40d6);
	border-radius: 0 2px 2px 0;
}

.ent-layer-viz__fake-btn {
	display: block;
	margin-top: 10px;
	padding: 8px 10px;
	border-radius: 10px;
	background: #7c40d6;
	color: #fff;
	font-size: 0.68rem;
	font-weight: 600;
	text-align: center;
	box-shadow: 0 8px 18px rgba(124, 64, 214, 0.28);
	pointer-events: none;
	user-select: none;
}

.ent-layer-viz__ask {
	padding: 9px 10px;
	border-radius: 12px;
	background: rgba(124, 64, 214, 0.06);
	border: 1px solid rgba(124, 64, 214, 0.1);
	margin-bottom: 8px;
}

.ent-layer-viz__q {
	margin: 0 0 6px;
	font-size: 0.66rem;
	font-weight: 600;
	color: #3a2a5c;
}

.ent-layer-viz__a {
	margin: 0;
	font-size: 0.64rem;
	line-height: 1.35;
	color: rgba(40, 28, 70, 0.72);
}

.ent-layer-viz__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
	margin-bottom: 2px;
}

.ent-layer-viz__chips span {
	padding: 4px 7px;
	border-radius: 999px;
	border: 1px solid rgba(124, 64, 214, 0.16);
	background: #fff;
	color: rgba(40, 28, 70, 0.68);
	font-size: 0.54rem;
	font-weight: 600;
	white-space: nowrap;
}

@media (max-width: 960px) {
	.hp-stage .ent-layer-viz {
		display: flex;
		flex-direction: column;
		gap: 12px;
		width: 100%;
		height: auto;
		margin: 0;
	}

	.ent-layer-viz__app,
	.ent-layer-viz__wires,
	.ent-layer-viz__cap {
		display: none;
	}

	.ent-layer-viz__mod,
	.ent-layer-viz__mod--community,
	.ent-layer-viz__mod--participation,
	.ent-layer-viz__mod--ai {
		position: static;
		width: 100%;
		max-width: none;
		transform: none;
		left: auto;
		right: auto;
		top: auto;
		bottom: auto;
	}

	.ent-layer-viz__msgs li,
	.ent-layer-viz__msgs li:nth-child(n + 3) {
		display: flex;
	}

	.ent-layer-viz__chips {
		display: flex;
	}

	.ent-layer-viz__fake-btn {
		display: block;
	}
}

@media (max-width: 420px) {
	.hp-stage {
		margin-top: 22px;
	}
}
