:root {
	--bg: #07080b;
	--bg-soft: #101218;
	--panel: rgba(20, 22, 28, 0.95);
	--panel-2: rgba(13, 15, 20, 0.98);
	--line: rgba(136, 117, 160, 0.32);
	--line-strong: rgba(160, 132, 208, 0.62);
	--text: #ece4d4;
	--muted: #a79dac;
	--faint: #706a77;
	--purple: #8f55df;
	--purple-deep: #432765;
	--cyan: #70d6d0;
	--gold: #c9a45b;
	--green: #7cd992;
	--red: #cf5353;
	--orange: #d89045;
	--radius: 8px;
	--shadow: 0 16px 44px rgba(0, 0, 0, 0.48);
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
	color: var(--text);
	background: var(--bg);
}

* {
	box-sizing: border-box;
}

html,
body {
	margin: 0;
	min-width: 320px;
	min-height: 100%;
}

body {
	min-height: 100vh;
	overflow: hidden;
	background:
		linear-gradient(180deg, rgba(7, 8, 11, 0.54), #07080b 46%),
		url("assets/voidscape-prelaunch-bg.png") center top / cover fixed,
		#07080b;
}

body::before {
	content: "";
	position: fixed;
	inset: 0;
	pointer-events: none;
	background:
		linear-gradient(90deg, rgba(0, 0, 0, 0.5), transparent 18%, transparent 82%, rgba(0, 0, 0, 0.44)),
		repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.018), rgba(255, 255, 255, 0.018) 1px, transparent 1px, transparent 3px);
	mix-blend-mode: screen;
	opacity: 0.34;
}

button,
input,
select {
	font: inherit;
}

button {
	cursor: pointer;
}

button:disabled {
	cursor: not-allowed;
	opacity: 0.52;
}

button,
input,
select {
	border-radius: var(--radius);
}

img {
	display: block;
	max-width: 100%;
}

[hidden] {
	display: none !important;
}

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

.portal-shell {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 248px minmax(0, 1fr);
	grid-template-rows: 76px minmax(0, 1fr);
	height: 100vh;
	min-height: 100vh;
	overflow: hidden;
}

.sidebar {
	grid-row: 1 / span 2;
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: 16px 14px;
	border-right: 1px solid rgba(154, 125, 208, 0.26);
	background:
		linear-gradient(180deg, rgba(22, 23, 29, 0.98), rgba(8, 9, 12, 0.98)),
		#111318;
	box-shadow: var(--shadow);
}

.brand-lockup {
	display: block;
	padding: 8px 7px 4px;
	border: 1px solid rgba(130, 111, 153, 0.28);
	border-radius: var(--radius);
	background: linear-gradient(180deg, rgba(38, 39, 46, 0.58), rgba(13, 14, 17, 0.8));
}

.brand-lockup img {
	width: 100%;
	filter: drop-shadow(0 4px 1px rgba(0, 0, 0, 0.8)) drop-shadow(0 0 12px rgba(143, 85, 223, 0.24));
}

.server-pill,
.sidebar-card,
.panel,
.stat-tile {
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background:
		linear-gradient(180deg, rgba(33, 35, 43, 0.96), rgba(12, 13, 17, 0.98)),
		var(--panel);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 1px 0 rgba(0, 0, 0, 0.8);
}

.server-pill {
	display: flex;
	align-items: center;
	gap: 8px;
	min-height: 38px;
	padding: 8px 10px;
	color: var(--muted);
	font-size: 13px;
}

.server-pill strong {
	margin-left: auto;
	color: var(--green);
}

.status-dot {
	width: 9px;
	aspect-ratio: 1;
	border-radius: 50%;
	background: var(--green);
	box-shadow: 0 0 12px rgba(124, 217, 146, 0.8);
}

.nav-list {
	display: grid;
	gap: 5px;
}

.nav-item {
	display: grid;
	grid-template-columns: 24px minmax(0, 1fr);
	align-items: center;
	gap: 10px;
	min-height: 38px;
	padding: 7px 10px;
	color: var(--muted);
	text-align: left;
	background: transparent;
	border: 1px solid transparent;
}

.nav-item:hover,
.nav-item.is-active {
	color: var(--text);
	border-color: rgba(143, 85, 223, 0.56);
	background: linear-gradient(90deg, rgba(98, 55, 153, 0.58), rgba(23, 24, 31, 0.86));
}

.nav-mark {
	position: relative;
	display: block;
	width: 17px;
	aspect-ratio: 1;
	border: 1px solid rgba(182, 167, 202, 0.36);
	background: linear-gradient(135deg, rgba(143, 85, 223, 0.82), rgba(25, 25, 31, 0.94));
	transform: rotate(45deg);
	box-shadow: 0 0 9px rgba(143, 85, 223, 0.2);
}

.nav-mark::after {
	content: "";
	position: absolute;
	inset: 5px;
	border-radius: 50%;
	background: var(--cyan);
	opacity: 0.72;
}

.nav-mark.market::after,
.nav-mark.highscores::after {
	background: var(--gold);
}

.nav-mark.activity::after,
.nav-mark.staff::after {
	background: var(--red);
}

.nav-mark.whitepaper::after {
	background: var(--gold);
	box-shadow: 0 0 10px rgba(201, 164, 91, 0.35);
}

.sidebar-card {
	margin-top: auto;
	display: grid;
	grid-template-columns: 38px minmax(0, 1fr);
	gap: 6px 10px;
	align-items: center;
	padding: 10px;
}

.sidebar-card img {
	width: 34px;
	image-rendering: pixelated;
	filter: drop-shadow(0 0 10px rgba(143, 85, 223, 0.42));
}

.sidebar-card p {
	margin: 0;
	color: var(--muted);
	font-size: 12px;
}

.sidebar-card strong {
	grid-column: 2;
	display: block;
	color: var(--green);
	font-size: 14px;
}

.mini-button {
	grid-column: 2;
	width: max-content;
	min-height: 28px;
	padding: 4px 10px;
	color: var(--text);
	border: 1px solid rgba(143, 85, 223, 0.42);
	background: rgba(65, 39, 98, 0.6);
}

.topbar {
	position: sticky;
	top: 0;
	z-index: 5;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	padding: 12px 22px;
	border-bottom: 1px solid rgba(154, 125, 208, 0.22);
	background: rgba(8, 9, 12, 0.86);
	backdrop-filter: blur(12px);
}

.topbar-cluster,
.account-strip,
.button-row {
	display: flex;
	align-items: center;
	gap: 12px;
}

.eyebrow {
	margin: 0 0 3px;
	color: var(--cyan);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0;
	text-transform: uppercase;
}

h1,
h2,
p {
	margin-top: 0;
}

h1 {
	margin: 0;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 24px;
	line-height: 1.1;
}

h2 {
	margin: 0;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 20px;
	line-height: 1.15;
}

.patch-chip,
.rank-chip,
.limit-badge {
	display: inline-flex;
	align-items: center;
	min-height: 28px;
	padding: 4px 9px;
	color: var(--muted);
	border: 1px solid rgba(136, 117, 160, 0.32);
	border-radius: 999px;
	background: rgba(17, 19, 24, 0.84);
	font-size: 12px;
	white-space: nowrap;
}

.rank-chip {
	color: var(--gold);
	border-color: rgba(201, 164, 91, 0.42);
}

.account-avatar {
	display: grid;
	place-items: center;
	width: 36px;
	aspect-ratio: 1;
	border: 1px solid var(--line-strong);
	border-radius: 50%;
	color: var(--text);
	background:
		radial-gradient(circle at 50% 40%, rgba(143, 85, 223, 0.9), transparent 56%),
		#101218;
	box-shadow: 0 0 18px rgba(143, 85, 223, 0.35);
	font-weight: 700;
}

.account-copy {
	display: grid;
	gap: 1px;
	font-size: 13px;
}

.account-copy span {
	color: var(--muted);
}

.workspace {
	padding: 22px;
	overflow: auto;
}

.view {
	display: none;
}

.view.is-active {
	display: grid;
	gap: 18px;
	animation: view-in 180ms ease-out;
}

.retired-view {
	display: none !important;
}

@keyframes view-in {
	from {
		opacity: 0;
		transform: translateY(4px);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

.summary-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
}

.stat-tile {
	display: grid;
	grid-template-columns: 42px minmax(0, 1fr);
	gap: 3px 12px;
	min-height: 92px;
	padding: 13px;
}

.stat-tile p,
.stat-tile small {
	margin: 0;
	color: var(--muted);
}

.stat-tile strong {
	display: block;
	font-size: 22px;
	line-height: 1.1;
}

.stat-tile small {
	grid-column: 2;
	font-size: 12px;
}

.stat-tile.warn strong {
	color: var(--orange);
}

.tile-icon {
	grid-row: span 3;
	display: block;
	width: 38px;
	aspect-ratio: 1;
	border: 1px solid rgba(160, 132, 208, 0.42);
	border-radius: 50%;
	background:
		radial-gradient(circle, rgba(143, 85, 223, 0.72), transparent 56%),
		linear-gradient(135deg, #252936, #0c0d11);
}

.tile-icon.xp {
	background:
		radial-gradient(circle, rgba(112, 214, 208, 0.58), transparent 56%),
		linear-gradient(135deg, #252936, #0c0d11);
}

.tile-icon.title,
.tile-icon.market {
	background:
		radial-gradient(circle, rgba(201, 164, 91, 0.62), transparent 56%),
		linear-gradient(135deg, #252936, #0c0d11);
}

.dashboard-layout,
.activity-layout,
.market-layout,
.public-layout {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
	gap: 18px;
}

.dashboard-layout {
	grid-template-areas:
		"character feed"
		"character quick"
		"art quick";
}

.character-panel {
	grid-area: character;
}

.feed-panel {
	grid-area: feed;
}

.quick-panel {
	grid-area: quick;
}

.dashboard-art {
	grid-area: art;
}

.dashboard-home {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.72fr);
	gap: 18px;
}

.account-home-panel,
.account-actions-panel,
.subscription-simple {
	max-width: 860px;
}

.account-home-copy {
	display: grid;
	gap: 4px;
	margin-bottom: 14px;
}

.account-home-copy strong {
	font-size: clamp(24px, 3vw, 34px);
	line-height: 1.05;
}

.account-home-copy span {
	min-width: 0;
	color: var(--muted);
	overflow-wrap: anywhere;
}

.account-home-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}

.account-home-grid div,
.subscription-note {
	display: grid;
	gap: 4px;
	padding: 12px;
	border: 1px solid rgba(136, 117, 160, 0.22);
	border-radius: var(--radius);
	background: rgba(8, 9, 12, 0.5);
}

.account-home-grid span,
.subscription-note span {
	color: var(--muted);
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
}

.account-home-grid strong,
.subscription-note strong {
	min-width: 0;
	overflow-wrap: anywhere;
}

.account-quick-grid {
	grid-template-columns: 1fr;
}

.staff-console {
	max-width: 1120px;
}

.staff-search {
	display: grid;
	grid-template-columns: minmax(220px, 0.8fr) minmax(260px, 1fr) auto;
	gap: 10px;
	align-items: end;
}

.staff-summary .stat-tile strong {
	min-width: 0;
	overflow: hidden;
	font-size: 20px;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.admin-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(340px, 0.86fr);
	gap: 18px;
}

.admin-actions {
	display: grid;
	gap: 12px;
}

.admin-action-row {
	display: grid;
	grid-template-columns: minmax(130px, 0.75fr) minmax(0, 1fr) auto;
	gap: 10px;
	align-items: end;
}

.admin-action-row.compact {
	grid-template-columns: minmax(130px, 1fr) auto auto;
}

.staff-action-stack {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admin-account-table .table-row {
	grid-template-columns: minmax(110px, 0.42fr) minmax(0, 1fr);
}

.admin-character-table .table-row,
.admin-signal-table .table-row {
	grid-template-columns: minmax(120px, 0.8fr) minmax(110px, 0.7fr) minmax(110px, 0.7fr);
}

.admin-audit-table .table-row {
	grid-template-columns: minmax(170px, 0.7fr) minmax(0, 1fr) minmax(120px, 0.5fr);
}

.admin-account-table .table-row span,
.admin-character-table .table-row span,
.admin-signal-table .table-row span,
.admin-audit-table .table-row span {
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.panel {
	min-width: 0;
	padding: 15px;
}

.panel-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 14px;
}

.primary-button,
.ghost-button,
.danger-button,
.quick-action,
.segmented button,
.title-list button {
	min-height: 36px;
	color: var(--text);
	border: 1px solid rgba(143, 85, 223, 0.45);
	background: linear-gradient(180deg, rgba(76, 46, 120, 0.92), rgba(27, 22, 34, 0.98));
}

.primary-button {
	padding: 7px 14px;
	font-weight: 700;
	box-shadow: 0 0 18px rgba(143, 85, 223, 0.18);
}

.ghost-button,
.danger-button {
	padding: 7px 12px;
	background: linear-gradient(180deg, rgba(41, 43, 51, 0.88), rgba(15, 16, 21, 0.96));
}

.danger-button {
	border-color: rgba(207, 83, 83, 0.58);
	color: #f1c4bc;
	background: linear-gradient(180deg, rgba(95, 32, 35, 0.88), rgba(31, 15, 17, 0.96));
}

.hero-character {
	display: grid;
	grid-template-columns: 190px minmax(0, 1fr);
	gap: 18px;
	align-items: center;
	min-height: 312px;
	padding: 20px;
	border: 1px solid rgba(136, 117, 160, 0.22);
	border-radius: var(--radius);
	background:
		radial-gradient(circle at 26% 52%, rgba(143, 85, 223, 0.18), transparent 32%),
		linear-gradient(180deg, rgba(9, 10, 13, 0.9), rgba(18, 19, 24, 0.9));
}

.character-visual {
	position: relative;
	display: grid;
	place-items: center;
	min-height: 264px;
	min-width: 0;
}

.character-visual img {
	position: absolute;
	z-index: 0;
	justify-self: center;
	height: 240px;
	width: auto;
	opacity: 0.18;
	image-rendering: pixelated;
	filter: grayscale(0.3) drop-shadow(0 18px 14px rgba(0, 0, 0, 0.72)) drop-shadow(0 0 18px rgba(143, 85, 223, 0.2));
}

.paper-doll {
	position: relative;
	z-index: 1;
	width: 132px;
	height: 218px;
	--skin: #c98962;
	--hair: #2f1d12;
	--top: #8e704e;
	--legs: #49382d;
	--trim: #d6bd7c;
	--weapon: #d8d8d1;
	filter: drop-shadow(0 18px 12px rgba(0, 0, 0, 0.72)) drop-shadow(0 0 18px rgba(143, 85, 223, 0.2));
}

.paper-doll span {
	position: absolute;
	display: block;
	box-sizing: border-box;
}

.doll-shadow {
	left: 22px;
	bottom: 7px;
	width: 88px;
	height: 16px;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.52);
}

.doll-cape {
	display: none;
	left: 34px;
	top: 55px;
	width: 64px;
	height: 104px;
	border-radius: 16px 16px 22px 22px;
	background: linear-gradient(180deg, rgba(112, 31, 45, 0.9), rgba(48, 12, 21, 0.92));
}

.paper-doll.has-cape .doll-cape {
	display: block;
}

.doll-neck {
	left: 58px;
	top: 50px;
	width: 16px;
	height: 18px;
	background: var(--skin);
}

.doll-head {
	left: 47px;
	top: 19px;
	width: 38px;
	height: 38px;
	border: 3px solid rgba(0, 0, 0, 0.26);
	border-radius: 50%;
	background: var(--skin);
}

.doll-hair {
	left: 45px;
	top: 16px;
	width: 42px;
	height: 22px;
	border-radius: 18px 18px 8px 8px;
	background: var(--hair);
}

.doll-body {
	left: 39px;
	top: 64px;
	width: 54px;
	height: 70px;
	border: 3px solid rgba(0, 0, 0, 0.24);
	border-radius: 14px 14px 10px 10px;
	background:
		linear-gradient(90deg, transparent 0 42%, var(--trim) 42% 58%, transparent 58%),
		linear-gradient(180deg, rgba(255, 255, 255, 0.12), transparent 42%),
		var(--top);
}

.doll-arm {
	top: 70px;
	width: 17px;
	height: 64px;
	border-radius: 12px;
	background: var(--top);
}

.doll-arm.left {
	left: 25px;
	transform: rotate(8deg);
}

.doll-arm.right {
	right: 25px;
	transform: rotate(-8deg);
}

.doll-hand {
	top: 129px;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: var(--skin);
}

.doll-hand.left { left: 22px; }
.doll-hand.right { right: 22px; }

.doll-leg {
	top: 132px;
	width: 23px;
	height: 62px;
	border-radius: 0 0 12px 12px;
	background: var(--legs);
}

.doll-leg.left { left: 42px; }
.doll-leg.right { right: 42px; }

.doll-boot {
	bottom: 8px;
	width: 30px;
	height: 12px;
	border-radius: 9px 9px 5px 5px;
	background: #15171c;
}

.doll-boot.left { left: 35px; }
.doll-boot.right { right: 35px; }

.doll-weapon {
	right: 11px;
	top: 72px;
	width: 8px;
	height: 96px;
	border-radius: 8px;
	background: linear-gradient(180deg, #ffffff, var(--weapon));
	transform: rotate(-17deg);
	transform-origin: 50% 14px;
}

.paper-doll.weapon-range .doll-weapon {
	right: 7px;
	top: 66px;
	width: 42px;
	height: 92px;
	border: 5px solid var(--weapon);
	border-left-color: transparent;
	border-radius: 50%;
	background: transparent;
	transform: rotate(0deg);
}

.paper-doll.weapon-magic .doll-weapon {
	right: 9px;
	top: 58px;
	width: 9px;
	height: 112px;
	background: linear-gradient(180deg, var(--trim), var(--weapon) 34%, #3c2559);
	transform: rotate(-8deg);
}

.paper-doll.weapon-magic .doll-weapon::before {
	content: "";
	position: absolute;
	left: -7px;
	top: -8px;
	width: 23px;
	height: 23px;
	border-radius: 50%;
	background: radial-gradient(circle, #f2e7ff 0 18%, var(--trim) 19% 48%, rgba(143, 85, 223, 0.35) 49%);
}

.paper-doll.weapon-none .doll-weapon {
	display: none;
}

.character-visual > span {
	position: absolute;
	z-index: 2;
	bottom: 0;
	max-width: min(176px, 100%);
	overflow: hidden;
	padding: 5px 9px;
	border: 1px solid rgba(112, 214, 208, 0.25);
	border-radius: 999px;
	color: var(--cyan);
	background: rgba(8, 9, 12, 0.76);
	font-size: 11px;
	font-weight: 800;
	text-overflow: ellipsis;
	text-transform: uppercase;
	white-space: nowrap;
}

.character-readout {
	display: grid;
	gap: 18px;
}

.combat-ring {
	display: grid;
	place-items: center;
	width: 118px;
	aspect-ratio: 1;
	border: 1px solid rgba(143, 85, 223, 0.55);
	border-radius: 50%;
	background:
		radial-gradient(circle, rgba(143, 85, 223, 0.28), transparent 58%),
		linear-gradient(180deg, #1b1e25, #0a0b0f);
}

.combat-ring span {
	font-family: Georgia, "Times New Roman", serif;
	font-size: 38px;
	line-height: 1;
}

.combat-ring small {
	color: var(--muted);
	text-transform: uppercase;
}

.stat-list {
	display: grid;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.stat-list li {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding: 8px 0;
	border-bottom: 1px solid rgba(136, 117, 160, 0.18);
	color: var(--muted);
}

.stat-list strong {
	color: var(--text);
}

.gear-list {
	display: grid;
	gap: 8px;
	padding: 10px;
	border: 1px solid rgba(136, 117, 160, 0.2);
	border-radius: var(--radius);
	background: rgba(8, 9, 12, 0.46);
}

.gear-list > strong {
	color: var(--gold);
	font-size: 13px;
}

.gear-list > span {
	color: var(--muted);
	font-size: 13px;
}

.gear-list .loadout-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
}

.gear-token {
	display: inline-grid;
	grid-template-columns: 24px minmax(0, 1fr);
	align-items: center;
	gap: 7px;
	min-width: 0;
	max-width: 100%;
	padding: 5px 8px 5px 5px;
	border: 1px solid rgba(112, 214, 208, 0.24);
	border-radius: 999px;
	color: var(--text);
	background: rgba(16, 33, 36, 0.42);
	font-size: 12px;
	font-style: normal;
}

.gear-token span {
	display: grid;
	place-items: center;
	width: 24px;
	aspect-ratio: 1;
	border-radius: 50%;
	color: #050608;
	background: var(--cyan);
	font-size: 9px;
	font-weight: 800;
}

.gear-token b {
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-weight: 700;
}

.gear-armor span { background: #b6a188; }
.gear-coin span { background: var(--gold); }
.gear-food span { background: var(--green); }
.gear-magic span { background: #9d7df0; }
.gear-range span { background: #78c18d; }
.gear-tool span { background: #d89045; }
.gear-trinket span { background: #e4c6ff; }
.gear-weapon span { background: #e0dfd4; }

.event-list {
	display: grid;
	gap: 9px;
}

.event-row {
	display: grid;
	grid-template-columns: 20px minmax(0, 1fr) auto;
	align-items: center;
	gap: 10px;
	min-height: 44px;
	padding: 9px 10px;
	border: 1px solid rgba(136, 117, 160, 0.2);
	border-radius: var(--radius);
	background: rgba(8, 9, 12, 0.55);
}

.event-row > span {
	width: 14px;
	aspect-ratio: 1;
	border-radius: 50%;
	background: var(--purple);
	box-shadow: 0 0 14px rgba(143, 85, 223, 0.58);
}

.event-row.market > span {
	background: var(--gold);
}

.event-row.kill > span,
.event-row.rare > span {
	background: var(--red);
}

.event-row.title > span {
	background: var(--cyan);
}

.event-row p {
	margin: 0;
	color: var(--muted);
}

.event-row strong {
	color: var(--text);
}

.event-row time {
	color: var(--faint);
	font-size: 12px;
}

.event-list.large .event-row {
	min-height: 56px;
}

.quick-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}

.quick-action {
	padding: 12px;
	text-align: left;
	background:
		linear-gradient(135deg, rgba(41, 43, 51, 0.94), rgba(17, 19, 24, 0.96)),
		#17191f;
}

.art-panel,
.art-card,
.art-wide {
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(circle at 50% 50%, rgba(143, 85, 223, 0.15), transparent 48%),
		linear-gradient(180deg, rgba(21, 23, 29, 0.92), rgba(8, 9, 12, 0.98));
}

.art-panel img,
.art-card img,
.art-wide img,
.panel-art-strip {
	width: 100%;
	height: 100%;
	object-fit: contain;
	filter: drop-shadow(0 0 18px rgba(143, 85, 223, 0.18));
}

.art-panel {
	min-height: 190px;
}

.art-card {
	display: grid;
	place-items: center;
	min-height: 320px;
}

.art-card img {
	max-height: 320px;
}

.art-wide {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 12px;
	min-height: 210px;
}

.two-column,
.security-grid,
.subscription-layout {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
	gap: 18px;
}

.character-cards {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 10px;
}

.character-card {
	position: relative;
	display: grid;
	gap: 9px;
	min-height: 250px;
	padding: 12px;
	padding-top: 34px;
	color: var(--muted);
	border: 1px solid rgba(136, 117, 160, 0.28);
	border-radius: var(--radius);
	background: rgba(8, 9, 12, 0.54);
}

.character-card-simple {
	grid-template-columns: 82px minmax(0, 1fr);
	align-items: center;
	min-height: 124px;
	padding: 12px 14px;
	color: var(--muted);
	text-align: left;
}

.character-card.is-selected {
	border-color: rgba(143, 85, 223, 0.72);
	box-shadow: inset 0 0 0 1px rgba(143, 85, 223, 0.18), 0 0 22px rgba(143, 85, 223, 0.12);
}

.character-card.is-linked {
	border-color: rgba(112, 214, 208, 0.44);
	background:
		linear-gradient(180deg, rgba(10, 28, 32, 0.6), rgba(8, 9, 12, 0.56)),
		rgba(8, 9, 12, 0.54);
}

.character-card strong {
	color: var(--text);
}

.character-card-copy {
	display: grid;
	gap: 5px;
	min-width: 0;
}

.character-card-copy strong {
	overflow: hidden;
	font-size: 22px;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.character-card-copy small {
	color: var(--gold);
	font-size: 15px;
	font-weight: 900;
	text-transform: uppercase;
}

.character-subscription-label {
	width: fit-content;
	max-width: 100%;
	overflow: hidden;
	padding: 3px 8px;
	border: 1px solid rgba(136, 117, 160, 0.28);
	border-radius: 999px;
	color: var(--muted);
	background: rgba(8, 9, 12, 0.62);
	font-size: 12px;
	font-weight: 800;
	text-overflow: ellipsis;
	text-transform: uppercase;
	white-space: nowrap;
}

.character-subscription-label.is-subscribed {
	border-color: rgba(112, 214, 208, 0.42);
	color: #76e6d9;
	background: rgba(25, 83, 88, 0.22);
}

.character-avatar-frame {
	position: relative;
	display: grid;
	place-items: center;
	width: 76px;
	height: 112px;
	overflow: hidden;
}

.character-avatar-frame img {
	width: auto;
	height: min(112px, 100%);
	max-width: 76px;
	object-fit: contain;
	image-rendering: pixelated;
	filter: drop-shadow(0 10px 10px rgba(0, 0, 0, 0.72));
}

.character-meta,
.character-title {
	display: block;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.character-title {
	color: var(--gold);
	font-size: 13px;
}

.state-badge {
	position: absolute;
	top: 10px;
	left: 10px;
	display: inline-flex;
	align-items: center;
	min-height: 22px;
	padding: 3px 8px;
	border: 1px solid rgba(136, 117, 160, 0.28);
	border-radius: 999px;
	color: var(--muted);
	background: rgba(8, 9, 12, 0.82);
	font-size: 11px;
	font-weight: 700;
}

.state-badge.linked {
	color: var(--cyan);
	border-color: rgba(112, 214, 208, 0.42);
	background: rgba(10, 28, 32, 0.78);
}

.state-badge.snapshot {
	color: var(--green);
	border-color: rgba(124, 217, 146, 0.42);
}

.state-badge.pending {
	color: var(--gold);
	border-color: rgba(201, 164, 91, 0.42);
}

.mini-loadout {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 6px;
}

.mini-loadout .gear-token {
	grid-template-columns: 22px minmax(0, 1fr);
	padding: 4px 7px 4px 4px;
	font-size: 11px;
}

.mini-loadout .gear-token span {
	width: 22px;
	font-size: 8px;
}

.reward-wallet {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 12px;
	padding: 12px;
	border: 1px solid rgba(136, 117, 160, 0.24);
	border-radius: var(--radius);
	background: rgba(8, 9, 12, 0.52);
}

.reward-wallet span {
	display: block;
	color: var(--muted);
	font-size: 12px;
	font-weight: 800;
	text-transform: uppercase;
}

.reward-wallet strong {
	color: var(--text);
}

.reward-wallet.is-ready {
	border-color: rgba(201, 164, 91, 0.45);
	background:
		linear-gradient(90deg, rgba(62, 41, 83, 0.62), rgba(13, 14, 18, 0.82)),
		rgba(8, 9, 12, 0.52);
	box-shadow: 0 0 24px rgba(143, 85, 223, 0.12);
}

.reward-wallet.is-ready strong {
	color: var(--gold);
}

.creation-controls {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 10px;
	align-items: end;
	margin-top: 14px;
}

.creation-controls .primary-button {
	justify-self: stretch;
}

.link-proof {
	display: grid;
	gap: 10px;
	margin-top: 10px;
	padding: 10px;
	border: 1px solid rgba(112, 214, 208, 0.24);
	border-radius: var(--radius);
	background: rgba(10, 22, 25, 0.42);
}

.link-proof[hidden] {
	display: none;
}

.link-proof-actions {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}

.link-proof-actions span {
	color: var(--cyan);
	font-size: 13px;
}

label {
	display: grid;
	gap: 5px;
	color: var(--muted);
	font-size: 13px;
}

input,
select {
	width: 100%;
	min-height: 38px;
	padding: 8px 10px;
	color: var(--text);
	border: 1px solid rgba(136, 117, 160, 0.35);
	background: rgba(7, 8, 11, 0.82);
}

.inline-state {
	margin: 12px 0 0;
	color: var(--cyan);
	font-size: 13px;
}

.sub-meter {
	display: grid;
	gap: 12px;
	padding: 16px;
	border: 1px solid rgba(136, 117, 160, 0.22);
	border-radius: var(--radius);
	background: rgba(8, 9, 12, 0.5);
}

.sub-meter strong {
	display: block;
	font-size: 28px;
}

.sub-meter span {
	color: var(--muted);
}

.meter-track {
	height: 9px;
	overflow: hidden;
	border-radius: 999px;
	background: rgba(0, 0, 0, 0.62);
}

.meter-track span {
	display: block;
	width: 82%;
	height: 100%;
	background: linear-gradient(90deg, var(--purple), var(--cyan));
	box-shadow: 0 0 18px rgba(112, 214, 208, 0.4);
}

.benefit-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 10px;
	margin: 14px 0;
}

.benefit-grid div {
	padding: 10px;
	border: 1px solid rgba(136, 117, 160, 0.22);
	border-radius: var(--radius);
	background: rgba(8, 9, 12, 0.5);
}

.benefit-grid span {
	display: block;
	color: var(--muted);
	font-size: 12px;
}

.benefit-grid strong {
	font-size: 19px;
}

.redeem-form {
	display: grid;
	gap: 8px;
}

.redeem-form div {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 10px;
}

.subscription-simple {
	display: grid;
	gap: 14px;
}

.subscription-simple .sub-meter,
.subscription-simple .reward-wallet,
.subscription-note {
	margin: 0;
}

.item-icon {
	width: 38px;
	image-rendering: pixelated;
	filter: drop-shadow(0 0 12px rgba(143, 85, 223, 0.45));
}

.data-table {
	display: grid;
	border: 1px solid rgba(136, 117, 160, 0.22);
	border-radius: var(--radius);
	overflow: hidden;
}

.table-row {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr 0.8fr;
	gap: 12px;
	align-items: center;
	min-height: 42px;
	padding: 9px 12px;
	border-bottom: 1px solid rgba(136, 117, 160, 0.14);
	color: var(--muted);
	font-size: 13px;
}

.table-row:last-child {
	border-bottom: 0;
}

.table-head {
	min-height: 34px;
	color: var(--text);
	background: rgba(143, 85, 223, 0.12);
	font-weight: 700;
}

.good {
	color: var(--green);
}

.bad {
	color: var(--red);
}

.security-steps {
	display: grid;
	gap: 9px;
}

.security-steps label {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 42px;
	padding: 9px 10px;
	border: 1px solid rgba(136, 117, 160, 0.2);
	border-radius: var(--radius);
	background: rgba(8, 9, 12, 0.5);
}

.security-steps input {
	width: 18px;
	min-height: 18px;
	accent-color: var(--purple);
}

.security-actions {
	display: grid;
	gap: 12px;
}

.password-form {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
	gap: 10px;
	align-items: end;
}

.recovery-code-list {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 8px;
	padding: 10px;
	border: 1px solid rgba(112, 214, 208, 0.24);
	border-radius: var(--radius);
	background: rgba(10, 22, 25, 0.42);
}

.recovery-code-list[hidden] {
	display: none;
}

.recovery-code-list code {
	display: block;
	padding: 7px 8px;
	border: 1px solid rgba(136, 117, 160, 0.24);
	border-radius: var(--radius);
	color: var(--text);
	background: rgba(7, 8, 11, 0.68);
	font-size: 12px;
	text-align: center;
}

.score-badge {
	display: grid;
	place-items: center;
	width: 56px;
	aspect-ratio: 1;
	border-radius: 50%;
	border: 1px solid rgba(124, 217, 146, 0.58);
	color: var(--green);
	background: rgba(16, 40, 30, 0.62);
	font-size: 24px;
}

.segmented {
	display: flex;
	padding: 3px;
	border: 1px solid rgba(136, 117, 160, 0.24);
	border-radius: var(--radius);
	background: rgba(8, 9, 12, 0.62);
}

.segmented button {
	min-height: 30px;
	padding: 4px 10px;
	border-color: transparent;
	background: transparent;
	color: var(--muted);
}

.segmented button.is-active {
	color: var(--text);
	border-color: rgba(143, 85, 223, 0.44);
	background: rgba(91, 52, 142, 0.56);
}

.rank-table .table-row {
	grid-template-columns: 60px 1fr 0.9fr 0.9fr;
}

.title-list {
	display: grid;
	gap: 9px;
}

.title-list button {
	display: flex;
	justify-content: space-between;
	gap: 10px;
	min-height: 44px;
	padding: 9px 10px;
	text-align: left;
	background: rgba(8, 9, 12, 0.54);
}

.title-list span {
	color: var(--muted);
}

.panel-art-strip {
	height: 170px;
	margin-top: 14px;
	object-fit: contain;
}

.market-layout {
	grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
}

.market-table .table-row {
	grid-template-columns: 1.4fr 0.7fr 0.7fr 0.7fr;
}

.search-input {
	max-width: 190px;
}

.trend-chart {
	display: flex;
	align-items: end;
	gap: 9px;
	height: 158px;
	padding: 14px;
	border: 1px solid rgba(136, 117, 160, 0.2);
	border-radius: var(--radius);
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 100% 32px,
		rgba(8, 9, 12, 0.54);
}

.trend-chart span {
	flex: 1;
	min-width: 12px;
	border-radius: 3px 3px 0 0;
	background: linear-gradient(180deg, var(--cyan), var(--purple));
	box-shadow: 0 0 14px rgba(143, 85, 223, 0.22);
}

.action-stack {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}

.download-action {
	display: grid;
	gap: 3px;
	align-content: center;
	text-align: left;
	text-decoration: none;
}

.download-action.is-ready {
	border-color: rgba(112, 214, 208, 0.42);
	background: linear-gradient(180deg, rgba(20, 53, 57, 0.72), rgba(15, 16, 21, 0.96));
}

.download-action:disabled {
	cursor: default;
	opacity: 0.72;
}

.download-action strong,
.download-action span {
	min-width: 0;
	overflow-wrap: anywhere;
}

.download-action span {
	color: var(--muted);
	font-size: 12px;
}

.public-layout {
	grid-template-columns: minmax(0, 1fr) minmax(300px, 0.82fr);
}

.public-hero {
	min-height: 330px;
	display: grid;
	align-items: end;
	padding: 24px;
	background:
		linear-gradient(90deg, rgba(7, 8, 11, 0.88), rgba(7, 8, 11, 0.28)),
		url("assets/voidscape-login-background.png") center / cover;
}

.public-hero h2 {
	max-width: 540px;
	font-size: clamp(26px, 4vw, 44px);
}

.public-hero p {
	max-width: 520px;
	color: var(--muted);
}

.icon-button {
	width: 40px;
	aspect-ratio: 1;
	border: 1px solid rgba(136, 117, 160, 0.38);
	background:
		linear-gradient(90deg, transparent 11px, var(--text) 11px 22px, transparent 22px) 0 11px / 100% 2px no-repeat,
		linear-gradient(90deg, transparent 11px, var(--text) 11px 22px, transparent 22px) 0 18px / 100% 2px no-repeat,
		linear-gradient(90deg, transparent 11px, var(--text) 11px 22px, transparent 22px) 0 25px / 100% 2px no-repeat,
	rgba(16, 18, 23, 0.84);
}

.landing-whitepaper {
	position: relative;
	z-index: 4;
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	padding: clamp(22px, 3vw, 38px) clamp(14px, 2.4vw, 34px) clamp(72px, 8vw, 112px);
	overflow-x: hidden;
	border-top: 1px solid rgba(201, 164, 91, 0.24);
	background:
		linear-gradient(180deg, rgba(5, 6, 9, 0.86), rgba(5, 6, 9, 0.97)),
		url("assets/whitepaper/concept-paper-texture.jpg") center top / 720px auto repeat,
		radial-gradient(circle at 72% 8%, rgba(143, 85, 223, 0.18), transparent 31%),
		radial-gradient(circle at 18% 42%, rgba(201, 164, 91, 0.08), transparent 30%),
		linear-gradient(180deg, rgba(4, 5, 8, 0.58), rgba(4, 5, 8, 0.97) 7%, rgba(5, 6, 9, 0.99)),
		repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.022), rgba(255, 255, 255, 0.022) 1px, transparent 1px, transparent 7px),
		#050609;
	box-shadow: 0 -34px 80px rgba(0, 0, 0, 0.72);
}

.landing-whitepaper::before,
.landing-whitepaper::after {
	content: "";
	position: absolute;
	pointer-events: none;
}

.landing-whitepaper::before {
	inset: 0;
	background:
		linear-gradient(90deg, rgba(0, 0, 0, 0.5), transparent 16%, transparent 84%, rgba(0, 0, 0, 0.44)),
		repeating-linear-gradient(0deg, transparent, transparent 3px, rgba(201, 164, 91, 0.026) 4px);
	opacity: 0.7;
}

.landing-whitepaper::after {
	top: 0;
	right: 15%;
	width: 34%;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(201, 164, 91, 0.72), rgba(143, 85, 223, 0.66), transparent);
}

.whitepaper-layout {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 242px minmax(0, 1fr);
	gap: clamp(16px, 2vw, 24px);
	width: min(1600px, 100%);
	margin: 0 auto;
}

.whitepaper-shell {
	display: grid;
	gap: 16px;
	min-width: 0;
}

.whitepaper-rail {
	position: sticky;
	top: 18px;
	align-self: start;
	display: grid;
	grid-template-rows: auto auto minmax(0, 1fr);
	gap: 18px;
	min-height: min(860px, calc(100vh - 36px));
	padding: 20px 16px;
	overflow: hidden;
	border: 1px solid rgba(201, 164, 91, 0.28);
	border-radius: 14px;
	background:
		linear-gradient(180deg, rgba(21, 22, 27, 0.96), rgba(7, 8, 11, 0.98)),
		repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.028), rgba(255, 255, 255, 0.028) 1px, transparent 1px, transparent 6px);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 28px 80px rgba(0, 0, 0, 0.5);
}

.whitepaper-rail::before,
.whitepaper-rail::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(201, 164, 91, 0.66), transparent);
}

.whitepaper-rail::before {
	top: 120px;
}

.whitepaper-rail::after {
	bottom: 140px;
}

.whitepaper-rail-brand {
	display: grid;
	gap: 6px;
	justify-items: center;
	padding: 12px 8px 16px;
	border-bottom: 1px solid rgba(201, 164, 91, 0.18);
}

.whitepaper-rail-brand img {
	width: min(176px, 100%);
	filter: drop-shadow(0 4px 1px rgba(0, 0, 0, 0.82)) drop-shadow(0 0 14px rgba(143, 85, 223, 0.3));
}

.whitepaper-rail-brand span {
	color: #d4ad6b;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 1.8px;
	text-transform: uppercase;
}

.whitepaper-rail-nav {
	display: grid;
	gap: 2px;
}

.whitepaper-rail-nav button {
	position: relative;
	display: grid;
	grid-template-columns: 22px minmax(0, 1fr);
	align-items: center;
	min-height: 45px;
	padding: 8px 12px 8px 9px;
	color: #d7ccb9;
	text-align: left;
	border: 1px solid transparent;
	background: linear-gradient(90deg, rgba(20, 20, 26, 0.24), rgba(10, 11, 15, 0.5));
	font-family: Georgia, "Times New Roman", serif;
	font-size: 15px;
}

.whitepaper-rail-nav button::before {
	content: "";
	justify-self: center;
	width: 9px;
	aspect-ratio: 1;
	border: 1px solid rgba(218, 190, 128, 0.74);
	background: radial-gradient(circle, rgba(143, 85, 223, 0.95), rgba(33, 18, 48, 0.92));
	transform: rotate(45deg);
	box-shadow: 0 0 12px rgba(143, 85, 223, 0.44);
}

.whitepaper-rail-nav button:hover,
.whitepaper-rail-nav button.is-active {
	color: #fff2d2;
	border-color: rgba(143, 85, 223, 0.42);
	background: linear-gradient(90deg, rgba(91, 40, 139, 0.54), rgba(14, 15, 20, 0.82));
}

.whitepaper-rail-card {
	align-self: end;
	display: grid;
	grid-template-columns: 44px minmax(0, 1fr);
	gap: 6px 10px;
	align-items: center;
	padding: 14px;
	border: 1px solid rgba(201, 164, 91, 0.24);
	border-radius: 8px;
	background: linear-gradient(180deg, rgba(22, 23, 30, 0.9), rgba(7, 8, 11, 0.92));
}

.whitepaper-avatar {
	display: grid;
	place-items: center;
	width: 40px;
	aspect-ratio: 1;
	color: #fff4d9;
	border: 1px solid rgba(160, 132, 208, 0.56);
	border-radius: 50%;
	background: radial-gradient(circle at 50% 35%, rgba(143, 85, 223, 0.9), rgba(19, 13, 28, 0.96));
	box-shadow: 0 0 18px rgba(143, 85, 223, 0.36);
	font-family: Georgia, "Times New Roman", serif;
	font-weight: 900;
}

.whitepaper-rail-card strong {
	color: var(--text);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 14px;
}

.whitepaper-rail-card span {
	grid-column: 1 / -1;
	color: var(--muted);
	font-size: 12px;
	line-height: 1.45;
}

.whitepaper-rail-card .mini-button {
	grid-column: 1 / -1;
	justify-self: stretch;
}

.whitepaper-hero,
.whitepaper-section,
.whitepaper-toc,
.whitepaper-kpis,
.proof-grid,
.system-showcase-grid,
.feature-showcase-row,
.feature-brief-grid {
	min-width: 0;
	max-width: 100%;
	box-sizing: border-box;
}

.whitepaper-hero {
	position: relative;
	display: grid;
	grid-template-columns: minmax(400px, 0.7fr) minmax(0, 1.3fr);
	gap: clamp(18px, 2.6vw, 34px);
	align-items: center;
	min-height: 365px;
	padding: clamp(22px, 2.5vw, 34px);
	overflow: hidden;
	border: 1px solid rgba(201, 164, 91, 0.28);
	border-radius: 14px;
	background:
		linear-gradient(90deg, rgba(5, 6, 9, 0.98), rgba(8, 8, 12, 0.92) 48%, rgba(16, 10, 23, 0.76)),
		radial-gradient(circle at 78% 42%, rgba(143, 85, 223, 0.18), transparent 38%),
		url("assets/generated/void-ambience.png") center / cover;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045), 0 28px 80px rgba(0, 0, 0, 0.44);
}

.whitepaper-hero::before {
	content: "";
	position: absolute;
	left: clamp(24px, 3vw, 44px);
	top: 60px;
	width: 330px;
	height: 34px;
	background: url("assets/whitepaper/concept-ornaments.png") left center / contain no-repeat;
	opacity: 0.86;
	filter: drop-shadow(0 0 10px rgba(143, 85, 223, 0.3));
}

.whitepaper-hero::after {
	content: "";
	position: absolute;
	inset: auto 0 0;
	height: 28%;
	pointer-events: none;
	background: linear-gradient(180deg, transparent, rgba(7, 8, 11, 0.82));
}

.whitepaper-hero-copy,
.whitepaper-hero-art {
	position: relative;
	z-index: 1;
	min-width: 0;
}

.whitepaper-hero-copy .eyebrow {
	color: #b980ff;
}

.whitepaper-hero-copy h2 {
	max-width: 650px;
	margin-bottom: 15px;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(40px, 4.1vw, 64px);
	line-height: 0.94;
	letter-spacing: 0;
}

.whitepaper-hero-copy h2 span {
	color: #a66df1;
	text-shadow: 0 0 28px rgba(143, 85, 223, 0.4);
}

.whitepaper-hero-copy p {
	max-width: 650px;
	color: #cec4cf;
	font-size: clamp(15px, 1.15vw, 18px);
	line-height: 1.58;
}

.whitepaper-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 20px;
}

.whitepaper-hero-art {
	display: grid;
	grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
	gap: 10px;
	align-items: stretch;
	padding: 13px;
	border: 1px solid rgba(201, 164, 91, 0.42);
	border-radius: 10px;
	background:
		linear-gradient(180deg, rgba(28, 28, 35, 0.94), rgba(7, 8, 11, 0.94)),
		#090a0d;
	box-shadow:
		inset 0 0 0 1px rgba(0, 0, 0, 0.8),
		inset 0 0 38px rgba(143, 85, 223, 0.09),
		0 24px 60px rgba(0, 0, 0, 0.58);
}

.whitepaper-hero-art::before,
.whitepaper-hero-art::after {
	content: "";
	position: absolute;
	width: 18px;
	aspect-ratio: 1;
	border: 1px solid rgba(218, 190, 128, 0.8);
	background: radial-gradient(circle, #b277ff, #2d1545 68%);
	transform: rotate(45deg);
	box-shadow: 0 0 14px rgba(143, 85, 223, 0.74);
}

.whitepaper-hero-art::before {
	left: -9px;
	top: 50%;
}

.whitepaper-hero-art::after {
	right: -9px;
	top: 50%;
}

.whitepaper-hero-art figure {
	position: relative;
	min-width: 0;
	height: 100%;
	min-height: 260px;
	margin: 0;
	overflow: hidden;
	border: 1px solid rgba(201, 164, 91, 0.2);
	border-radius: 6px;
	background: rgba(5, 6, 9, 0.8);
}

.whitepaper-hero-art figure::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 20%, rgba(0, 0, 0, 0.16)),
		radial-gradient(circle at 50% 50%, transparent 58%, rgba(0, 0, 0, 0.38));
	pointer-events: none;
}

.whitepaper-hero-art img,
.whitepaper-screenshot-card img {
	width: 100%;
	height: 100%;
	max-width: 100%;
	object-fit: cover;
}

.whitepaper-hero-art figure:first-child img {
	object-position: 48% 46%;
}

.whitepaper-hero-art figure:last-child img {
	object-position: 58% 45%;
}

.whitepaper-toc {
	position: sticky;
	top: 0;
	z-index: 3;
	display: grid;
	grid-template-columns: repeat(8, minmax(0, 1fr));
	gap: 0;
	padding: 0;
	overflow: hidden;
	border: 1px solid rgba(201, 164, 91, 0.28);
	border-radius: 8px;
	background:
		linear-gradient(180deg, rgba(22, 21, 25, 0.97), rgba(6, 7, 10, 0.97)),
		var(--panel);
	backdrop-filter: blur(12px);
}

.whitepaper-toc button {
	position: relative;
	min-height: 42px;
	padding: 7px 10px;
	color: #d0c2ad;
	border: 0;
	border-right: 1px solid rgba(201, 164, 91, 0.18);
	border-radius: 0;
	background: transparent;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 12px;
	font-weight: 800;
	text-transform: uppercase;
}

.whitepaper-toc button:last-child {
	border-right: 0;
}

.whitepaper-toc button::after {
	content: "";
	position: absolute;
	left: 20%;
	right: 20%;
	bottom: 0;
	height: 2px;
	background: linear-gradient(90deg, transparent, rgba(143, 85, 223, 0.72), transparent);
	opacity: 0;
}

.whitepaper-toc button:hover {
	color: #fff1cc;
	background: linear-gradient(180deg, rgba(91, 40, 139, 0.22), transparent);
}

.whitepaper-toc button:hover::after {
	opacity: 1;
}

.whitepaper-kpis {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
}

.whitepaper-kpis-expanded {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.whitepaper-kpi {
	position: relative;
	display: grid;
	grid-template-columns: 54px minmax(0, 1fr);
	gap: 4px 13px;
	align-items: center;
	min-height: 96px;
	padding: 14px 16px;
	overflow: hidden;
	border-color: rgba(201, 164, 91, 0.3);
	background:
		linear-gradient(180deg, rgba(26, 27, 33, 0.94), rgba(8, 9, 12, 0.98)),
		radial-gradient(circle at 82% 20%, rgba(143, 85, 223, 0.18), transparent 36%);
}

.whitepaper-kpi::after {
	content: "";
	position: absolute;
	inset: 7px;
	border: 1px solid rgba(201, 164, 91, 0.11);
	border-radius: 5px;
	pointer-events: none;
}

.whitepaper-kpi img {
	grid-row: span 2;
	justify-self: center;
	width: 42px;
	max-height: 48px;
	object-fit: contain;
	image-rendering: pixelated;
	filter: drop-shadow(0 0 12px rgba(143, 85, 223, 0.28));
}

.whitepaper-kpi strong {
	display: block;
	color: var(--text);
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(28px, 2.6vw, 44px);
	line-height: 0.95;
}

.whitepaper-kpi p {
	margin: 4px 0 0;
	color: #d9c49a;
	font-size: 13px;
	font-weight: 800;
	text-transform: uppercase;
}

.whitepaper-kpi small {
	grid-column: 2;
	color: var(--muted);
	font-size: 12px;
	line-height: 1.35;
}

.whitepaper-section {
	display: grid;
	gap: 18px;
	padding: clamp(18px, 2.4vw, 28px);
	border: 1px solid rgba(201, 164, 91, 0.24);
	border-radius: 10px;
	background:
		linear-gradient(180deg, rgba(18, 19, 24, 0.94), rgba(7, 8, 11, 0.97)),
		url("assets/whitepaper/concept-paper-texture.jpg") center / 680px auto repeat,
		repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.018), rgba(255, 255, 255, 0.018) 1px, transparent 1px, transparent 5px);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045), 0 12px 34px rgba(0, 0, 0, 0.24);
	scroll-margin-top: 88px;
}

.whitepaper-section-copy {
	max-width: 920px;
}

.whitepaper-section-copy h2 {
	margin-bottom: 10px;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(28px, 3.2vw, 44px);
	line-height: 1.02;
}

.whitepaper-section-copy p {
	margin-bottom: 0;
	color: var(--muted);
	font-size: 15px;
	line-height: 1.6;
}

.whitepaper-loop-section {
	position: relative;
	overflow: hidden;
}

.whitepaper-loop-section .whitepaper-section-copy {
	max-width: 1120px;
}

.economy-track {
	display: grid;
	grid-template-columns:
		minmax(96px, 1fr) 20px minmax(96px, 1fr) 20px minmax(112px, 1.08fr)
		20px minmax(106px, 1.1fr) 20px minmax(96px, 1fr) 20px minmax(96px, 1fr) 20px minmax(96px, 1fr);
	gap: 0;
	align-items: center;
	padding: 24px 20px 18px;
	border: 1px solid rgba(201, 164, 91, 0.2);
	border-radius: 9px;
	background:
		radial-gradient(circle at 50% 42%, rgba(143, 85, 223, 0.16), transparent 38%),
		linear-gradient(180deg, rgba(4, 5, 8, 0.72), rgba(8, 9, 12, 0.94));
}

.economy-step {
	position: relative;
	z-index: 1;
	display: grid;
	justify-items: center;
	align-content: start;
	gap: 6px;
	min-height: 132px;
	padding: 14px 11px;
	text-align: center;
	border: 1px solid rgba(201, 164, 91, 0.24);
	border-radius: 8px;
	background: linear-gradient(180deg, rgba(20, 20, 25, 0.94), rgba(7, 8, 11, 0.98));
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 16px 34px rgba(0, 0, 0, 0.28);
}

.economy-step img {
	width: 42px;
	max-height: 48px;
	object-fit: contain;
	image-rendering: pixelated;
	filter: drop-shadow(0 0 10px rgba(143, 85, 223, 0.32));
}

.economy-step strong {
	color: var(--gold);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 15px;
	line-height: 1.08;
	text-transform: uppercase;
}

.economy-step span {
	color: var(--muted);
	font-size: 12px;
	line-height: 1.35;
}

.economy-arrow {
	position: relative;
	height: 1px;
	background: rgba(201, 164, 91, 0.55);
}

.economy-arrow::after {
	content: "";
	position: absolute;
	right: -2px;
	top: 50%;
	width: 7px;
	aspect-ratio: 1;
	border-top: 1px solid rgba(201, 164, 91, 0.82);
	border-right: 1px solid rgba(201, 164, 91, 0.82);
	transform: translateY(-50%) rotate(45deg);
}

.economy-rift {
	background:
		radial-gradient(circle at 50% 38%, rgba(143, 85, 223, 0.32), transparent 42%),
		linear-gradient(180deg, rgba(22, 16, 31, 0.96), rgba(7, 8, 11, 0.98));
}

.void-rift {
	display: block;
	width: 54px;
	aspect-ratio: 1;
	border-radius: 50%;
	background:
		url("assets/whitepaper/concept-void-vortex.png") center / contain no-repeat,
		radial-gradient(circle at 50% 50%, #f4d7ff 0 8%, #b267ff 9% 22%, rgba(110, 40, 184, 0.85) 23% 44%, transparent 45%),
		conic-gradient(from 45deg, transparent, rgba(143, 85, 223, 0.95), transparent, rgba(83, 35, 135, 0.9), transparent);
	box-shadow: 0 0 24px rgba(143, 85, 223, 0.72), inset 0 0 18px rgba(255, 255, 255, 0.16);
}

.economy-return {
	position: relative;
	display: grid;
	place-items: center;
	min-height: 34px;
	color: #d5aa62;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 1px;
	text-transform: uppercase;
}

.economy-return::before,
.economy-return::after {
	content: "";
	position: absolute;
	top: 50%;
	width: 28%;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(201, 164, 91, 0.62));
}

.economy-return::before {
	left: 4%;
}

.economy-return::after {
	right: 4%;
	transform: rotate(180deg);
}

.proof-grid,
.system-showcase-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
}

.proof-card {
	position: relative;
	min-width: 0;
	overflow: hidden;
	border: 1px solid rgba(201, 164, 91, 0.22);
	border-radius: 8px;
	background: rgba(5, 6, 9, 0.82);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045), 0 16px 36px rgba(0, 0, 0, 0.3);
}

.proof-card-large {
	display: grid;
	grid-template-rows: minmax(0, 1fr) auto;
	grid-column: span 2;
	grid-row: span 2;
}

.proof-card-wide {
	grid-column: span 2;
}

.system-showcase-grid .proof-card-wide {
	grid-column: span 4;
}

.system-showcase-grid .proof-card-wide img {
	aspect-ratio: 16 / 7;
}

.proof-card img {
	display: block;
	width: 100%;
	max-width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	object-position: center;
	border-bottom: 1px solid rgba(201, 164, 91, 0.16);
}

.proof-card-large img {
	height: 100%;
	aspect-ratio: auto;
}

.proof-card figcaption {
	display: grid;
	gap: 4px;
	padding: 12px;
	background: linear-gradient(180deg, rgba(18, 16, 19, 0.88), rgba(7, 8, 11, 0.96));
}

.proof-card strong {
	color: var(--gold);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 17px;
	line-height: 1.1;
}

.proof-card span {
	color: var(--muted);
	font-size: 13px;
	line-height: 1.4;
}

.feature-chapter {
	scroll-margin-top: 88px;
}

.feature-showcase-row {
	display: grid;
	grid-template-columns: minmax(0, 1.14fr) minmax(300px, 0.86fr);
	gap: 14px;
	align-items: stretch;
}

.feature-showcase-row > .proof-card-wide,
.feature-showcase-row > .proof-card-large {
	grid-column: auto;
	grid-row: auto;
}

.feature-showcase-row > .proof-card img {
	height: 100%;
	min-height: 260px;
	aspect-ratio: 16 / 9;
}

.feature-showcase-row-secondary {
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.feature-showcase-row-secondary > .proof-card img {
	height: auto;
	min-height: 0;
	aspect-ratio: 16 / 9;
}

.feature-brief-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.whitepaper-split {
	grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
	align-items: center;
}

.principle-grid,
.path-cards,
.void-item-grid,
.skill-hook-grid,
.client-grid,
.roadmap-grid {
	display: grid;
	gap: 12px;
}

.principle-grid {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.path-cards,
.client-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.roadmap-grid {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.void-item-grid,
.skill-hook-grid {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.skill-hook-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.principle-grid article,
.path-cards article,
.void-item-grid article,
.skill-hook-grid article,
.client-grid article,
.roadmap-grid article,
.feature-brief-grid article,
.void-rule {
	position: relative;
	min-width: 0;
	padding: 14px;
	border: 1px solid rgba(201, 164, 91, 0.22);
	border-radius: 8px;
	background: linear-gradient(180deg, rgba(13, 14, 18, 0.82), rgba(6, 7, 10, 0.92));
}

.principle-grid strong,
.path-cards strong,
.void-item-grid strong,
.skill-hook-grid strong,
.client-grid strong,
.roadmap-grid strong,
.feature-brief-grid strong,
.void-rule strong {
	display: block;
	margin-bottom: 6px;
	color: var(--gold);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 17px;
	line-height: 1.1;
}

.principle-grid span,
.path-cards span,
.void-item-grid span,
.skill-hook-grid span,
.client-grid span,
.roadmap-grid span,
.feature-brief-grid span,
.void-rule span {
	display: block;
	color: var(--muted);
	font-size: 13px;
	line-height: 1.45;
}

.rate-stack {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	margin-top: 16px;
}

.rate-stack div {
	padding: 12px;
	border: 1px solid rgba(201, 164, 91, 0.22);
	border-radius: 8px;
	background: rgba(12, 9, 8, 0.48);
}

.rate-stack span {
	display: block;
	color: var(--muted);
	font-size: 12px;
	font-weight: 800;
	text-transform: uppercase;
}

.rate-stack strong {
	display: block;
	margin-top: 4px;
	color: var(--text);
	font-size: 24px;
}

.void-item-grid article,
.skill-hook-grid article {
	display: grid;
	grid-template-columns: 40px minmax(0, 1fr);
	gap: 3px 10px;
	align-items: center;
}

.void-item-grid img,
.skill-hook-grid img {
	grid-row: span 2;
	justify-self: center;
	max-width: 36px;
	max-height: 38px;
	object-fit: contain;
	image-rendering: pixelated;
	filter: drop-shadow(0 0 9px rgba(143, 85, 223, 0.28));
}

.void-item-grid span,
.skill-hook-grid span {
	grid-column: 2;
}

.whitepaper-screenshot-card {
	margin: 0;
	min-width: 0;
	padding: 10px;
	border: 1px solid rgba(201, 164, 91, 0.24);
	border-radius: 8px;
	background: rgba(6, 7, 10, 0.64);
}

.whitepaper-screenshot-card figcaption {
	padding: 9px 2px 0;
	color: var(--muted);
	font-size: 13px;
	line-height: 1.4;
}

@media (max-width: 1280px) {
	.whitepaper-layout {
		grid-template-columns: 1fr;
	}

	.whitepaper-rail {
		position: relative;
		top: auto;
		display: block;
		min-height: 0;
		padding: 13px;
	}

	.whitepaper-rail-brand,
	.whitepaper-rail-card {
		display: none;
	}

	.whitepaper-rail-nav {
		display: flex;
		flex-wrap: wrap;
		gap: 6px;
	}

	.whitepaper-rail-nav button {
		min-height: 34px;
		width: auto;
	}
}

@media (max-width: 1180px) {
	.whitepaper-hero,
	.whitepaper-split {
		grid-template-columns: 1fr;
	}

	.whitepaper-kpis,
	.principle-grid,
	.proof-grid,
	.system-showcase-grid,
	.feature-showcase-row,
	.feature-brief-grid,
	.roadmap-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.path-cards,
	.skill-hook-grid,
	.client-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.feature-showcase-row-secondary {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.whitepaper-toc {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.economy-track {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 10px;
	}

	.economy-arrow {
		display: none;
	}
}

@media (max-width: 720px) {
	.whitepaper-shell {
		gap: 12px;
	}

	.landing-whitepaper,
	.whitepaper-layout,
	.whitepaper-shell,
	.whitepaper-hero,
	.whitepaper-section,
	.whitepaper-toc,
	.whitepaper-kpis,
	.proof-card {
		width: 100%;
		max-width: 100%;
		overflow-x: hidden;
	}

	.landing-whitepaper {
		padding-right: 10px;
		padding-left: 10px;
	}

	.landing-whitepaper {
		max-width: 100vw;
	}

	.landing-whitepaper * {
		max-width: 100%;
	}

	.whitepaper-rail {
		display: none;
	}

	.whitepaper-hero {
		display: block;
		min-height: 0;
		padding: 13px;
	}

	.whitepaper-hero::before {
		display: none;
	}

	.whitepaper-hero-copy h2 {
		max-width: 100%;
		font-size: clamp(30px, 8.5vw, 37px);
		line-height: 0.98;
		overflow-wrap: break-word;
	}

	.whitepaper-hero-copy p {
		max-width: 100%;
		font-size: 14px;
	}

	.whitepaper-hero-art {
		grid-template-columns: 1fr;
		margin-top: 14px;
		overflow: visible;
		padding: 8px;
	}

	.whitepaper-hero-art figure {
		min-height: 218px;
	}

	.whitepaper-actions {
		display: grid;
		grid-template-columns: minmax(0, 1fr);
	}

	.whitepaper-actions button {
		width: 100%;
	}

	.whitepaper-toc,
	.whitepaper-kpis,
	.principle-grid,
	.path-cards,
	.void-item-grid,
	.skill-hook-grid,
	.client-grid,
	.feature-showcase-row,
	.feature-brief-grid,
	.roadmap-grid,
	.proof-grid,
	.system-showcase-grid,
	.rate-stack,
	.economy-track {
		grid-template-columns: 1fr;
	}

	.whitepaper-toc {
		position: static;
	}

	.whitepaper-toc button {
		border-right: 0;
		border-bottom: 1px solid rgba(201, 164, 91, 0.14);
	}

	.whitepaper-kpi {
		grid-template-columns: 48px minmax(0, 1fr);
	}

	.proof-card-large,
	.proof-card-wide,
	.system-showcase-grid .proof-card-wide {
		grid-column: auto;
		grid-row: auto;
	}

	.system-showcase-grid .proof-card-wide img {
		aspect-ratio: 16 / 10;
	}

	.feature-showcase-row > .proof-card img {
		min-height: 218px;
	}

	.economy-return {
		font-size: 11px;
	}

	.economy-return::before,
	.economy-return::after {
		display: none;
	}
}

.whitepaper-remix {
	padding: clamp(12px, 2vw, 26px) clamp(14px, 3vw, 44px) clamp(76px, 8vw, 116px);
	background:
		linear-gradient(180deg, rgba(3, 4, 7, 0.72), rgba(4, 5, 8, 0.98) 9%, rgba(4, 5, 8, 0.99)),
		url("assets/whitepaper/concept-paper-texture.jpg") center top / 720px auto repeat,
		linear-gradient(135deg, rgba(112, 214, 208, 0.07), transparent 34%, rgba(201, 164, 91, 0.07) 72%, transparent),
		#040508;
}

.whitepaper-remix-shell {
	position: relative;
	z-index: 1;
	display: grid;
	gap: clamp(28px, 4vw, 58px);
	width: min(1480px, 100%);
	margin: 0 auto;
}

.whitepaper-remix-hero {
	position: relative;
	display: grid;
	grid-template-columns: minmax(360px, 0.82fr) minmax(0, 1.18fr);
	gap: clamp(24px, 4vw, 56px);
	align-items: center;
	min-height: clamp(560px, 68vh, 740px);
	overflow: hidden;
	border-bottom: 1px solid rgba(201, 164, 91, 0.26);
	background:
		linear-gradient(90deg, rgba(4, 5, 8, 0.98), rgba(4, 5, 8, 0.86) 48%, rgba(4, 5, 8, 0.34)),
		url("assets/generated/void-ambience.png") center / cover;
}

.landing-whitepaper.whitepaper-remix {
	box-shadow: none;
}

.whitepaper-remix-hero::after {
	content: "";
	position: absolute;
	inset: auto 0 0;
	height: 32%;
	pointer-events: none;
	background: linear-gradient(180deg, transparent, rgba(4, 5, 8, 0.96));
}

.whitepaper-remix-copy,
.whitepaper-remix-stage,
.whitepaper-remix-nav,
.whitepaper-manifesto,
.whitepaper-loop-story,
.whitepaper-blueprint,
.whitepaper-vision,
.whitepaper-proof-remix,
.whitepaper-close {
	position: relative;
	z-index: 1;
	min-width: 0;
}

.whitepaper-kicker {
	margin: 0 0 14px;
	color: #8fe9df;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 13px;
	font-weight: 900;
	letter-spacing: 2px;
	text-transform: uppercase;
}

.whitepaper-remix-copy h2,
.whitepaper-section-lede h2,
.whitepaper-close h2 {
	margin: 0;
	color: #f2ead8;
	font-family: Georgia, "Times New Roman", serif;
	letter-spacing: 0;
}

.whitepaper-remix-copy h2 {
	max-width: 760px;
	font-size: clamp(54px, 7.4vw, 112px);
	line-height: 0.88;
	text-wrap: balance;
}

.whitepaper-remix-copy p:not(.whitepaper-kicker) {
	max-width: 650px;
	margin: 24px 0 0;
	color: #d2c7d6;
	font-size: clamp(17px, 1.35vw, 22px);
	line-height: 1.55;
}

.whitepaper-remix-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 30px;
}

.whitepaper-remix-stage {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(210px, 0.72fr);
	gap: 12px;
	align-items: stretch;
}

.stage-shot {
	position: relative;
	margin: 0;
	overflow: hidden;
	border: 1px solid rgba(201, 164, 91, 0.32);
	border-radius: 8px;
	background: #07080b;
	box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
}

.stage-shot::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 22%, rgba(0, 0, 0, 0.22));
}

.stage-shot img,
.vision-card img,
.proof-remix-card img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.whitepaper-remix img {
	cursor: zoom-in;
}

.stage-shot-large {
	grid-row: span 2;
	min-height: 510px;
}

.stage-shot-small {
	min-height: 248px;
}

.whitepaper-remix-nav {
	position: sticky;
	top: 0;
	z-index: 4;
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	overflow: hidden;
	border: 1px solid rgba(201, 164, 91, 0.24);
	border-radius: 8px;
	background: rgba(8, 9, 13, 0.92);
	backdrop-filter: blur(14px);
}

.whitepaper-remix-nav button {
	min-height: 48px;
	padding: 10px 12px;
	color: #d7c9ad;
	border: 0;
	border-right: 1px solid rgba(201, 164, 91, 0.16);
	border-radius: 0;
	background: transparent;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 13px;
	font-weight: 900;
	text-transform: uppercase;
}

.whitepaper-remix-nav button:last-child {
	border-right: 0;
}

.whitepaper-remix-nav button:hover {
	color: #fff0c8;
	background: linear-gradient(180deg, rgba(112, 214, 208, 0.12), rgba(143, 85, 223, 0.12));
}

.whitepaper-manifesto,
.whitepaper-loop-story,
.whitepaper-blueprint,
.whitepaper-vision,
.whitepaper-proof-remix,
.whitepaper-close {
	display: grid;
	gap: 24px;
	padding-top: clamp(14px, 3vw, 34px);
	border-top: 1px solid rgba(201, 164, 91, 0.24);
	scroll-margin-top: 78px;
}

.whitepaper-section-lede {
	max-width: 980px;
}

.whitepaper-section-lede h2 {
	max-width: 980px;
	font-size: clamp(38px, 5.2vw, 72px);
	line-height: 0.94;
	text-wrap: balance;
}

.whitepaper-section-lede p {
	max-width: 820px;
	margin: 18px 0 0;
	color: #bdb2c2;
	font-size: clamp(15px, 1.25vw, 19px);
	line-height: 1.58;
}

.unfinished-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
}

.unfinished-grid article,
.loop-ribbon article,
.blueprint-grid article,
.proof-remix-card {
	min-width: 0;
	border: 1px solid rgba(201, 164, 91, 0.22);
	border-radius: 8px;
	background: linear-gradient(180deg, rgba(17, 18, 23, 0.9), rgba(7, 8, 11, 0.96));
}

.unfinished-grid article {
	display: grid;
	align-content: start;
	gap: 10px;
	min-height: 210px;
	padding: 18px;
}

.unfinished-grid span {
	color: #70d6d0;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 13px;
	font-weight: 900;
}

.unfinished-grid strong {
	color: #ead6a5;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(22px, 2vw, 30px);
	line-height: 1.02;
}

.unfinished-grid p,
.blueprint-grid p,
.loop-ribbon span,
.vision-card span,
.proof-remix-card span {
	margin: 0;
	color: #b9afbb;
	font-size: 14px;
	line-height: 1.45;
}

.blueprint-grid {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 12px;
}

.blueprint-grid article {
	display: grid;
	align-content: start;
	gap: 10px;
	min-height: 206px;
	padding: 18px;
}

.blueprint-grid span {
	color: #8fe9df;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 12px;
	font-weight: 900;
}

.blueprint-grid strong {
	color: #fff1d5;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(20px, 1.65vw, 27px);
	line-height: 1.04;
}

.blueprint-grid code {
	color: #8fe9df;
	font-family: "Courier New", ui-monospace, monospace;
	font-weight: 800;
}

.loop-ribbon {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 10px;
}

.loop-ribbon article {
	position: relative;
	display: grid;
	gap: 8px;
	min-height: 145px;
	padding: 18px 15px;
	overflow: hidden;
}

.loop-ribbon article::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(90deg, #70d6d0, #c9a45b, #8f55df);
}

.loop-ribbon strong {
	color: #fff1d5;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 22px;
	line-height: 1;
}

.vision-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
}

.vision-card {
	position: relative;
	display: grid;
	grid-template-rows: minmax(190px, 0.78fr) auto;
	min-height: 430px;
	overflow: hidden;
	border: 1px solid rgba(201, 164, 91, 0.22);
	border-radius: 8px;
	background: rgba(5, 6, 9, 0.86);
	box-shadow: 0 20px 48px rgba(0, 0, 0, 0.28);
}

.vision-card-wide {
	grid-column: span 2;
}

.vision-card div {
	display: grid;
	gap: 8px;
	padding: 18px;
	background: linear-gradient(180deg, rgba(16, 16, 20, 0.86), rgba(6, 7, 10, 0.97));
}

.vision-card p {
	margin: 0;
	color: #70d6d0;
	font-size: 12px;
	font-weight: 900;
	letter-spacing: 1.4px;
	text-transform: uppercase;
}

.vision-card h3 {
	margin: 0;
	color: #ead6a5;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(24px, 2.3vw, 34px);
	line-height: 1;
}

.proof-remix-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
}

.proof-remix-card {
	display: grid;
	grid-template-rows: minmax(150px, 1fr) auto;
	margin: 0;
	overflow: hidden;
}

.proof-remix-card-large {
	grid-column: span 2;
	grid-row: span 2;
}

.proof-remix-card figcaption {
	display: grid;
	gap: 4px;
	padding: 13px;
	background: linear-gradient(180deg, rgba(15, 16, 20, 0.9), rgba(6, 7, 10, 0.98));
}

.proof-remix-card strong {
	color: #ead6a5;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 19px;
	line-height: 1.05;
}

.whitepaper-lightbox[hidden] {
	display: none;
}

.whitepaper-lightbox {
	position: fixed;
	inset: 0;
	z-index: 80;
	display: grid;
	grid-template-rows: auto minmax(0, 1fr) auto;
	gap: 14px;
	align-items: center;
	justify-items: center;
	padding: clamp(14px, 3vw, 34px);
	background:
		linear-gradient(180deg, rgba(4, 5, 8, 0.88), rgba(4, 5, 8, 0.96)),
		radial-gradient(circle at 50% 18%, rgba(112, 214, 208, 0.14), transparent 34%),
		radial-gradient(circle at 76% 80%, rgba(143, 85, 223, 0.18), transparent 30%);
	backdrop-filter: blur(10px);
}

.whitepaper-lightbox-close {
	justify-self: end;
	min-width: 86px;
	min-height: 38px;
	padding: 8px 14px;
	color: #f2ead8;
	border: 1px solid rgba(201, 164, 91, 0.34);
	background: rgba(10, 11, 15, 0.88);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 14px;
	font-weight: 900;
}

.whitepaper-lightbox img {
	max-width: min(1440px, 96vw);
	max-height: 82vh;
	object-fit: contain;
	border: 1px solid rgba(201, 164, 91, 0.34);
	border-radius: 8px;
	background: #020203;
	box-shadow: 0 30px 100px rgba(0, 0, 0, 0.72);
	cursor: zoom-out;
}

.whitepaper-lightbox p {
	max-width: min(960px, 92vw);
	margin: 0;
	color: #d7c9ad;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(14px, 1.2vw, 18px);
	line-height: 1.45;
	text-align: center;
}

.whitepaper-close {
	justify-items: center;
	padding: clamp(42px, 6vw, 78px) 18px;
	text-align: center;
}

.whitepaper-close p {
	margin: 0;
	color: #70d6d0;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 18px;
	font-weight: 900;
	text-transform: uppercase;
}

.whitepaper-close h2 {
	max-width: 840px;
	font-size: clamp(44px, 7vw, 86px);
	line-height: 0.9;
}

@media (max-width: 1180px) {
	.whitepaper-remix-hero,
	.whitepaper-remix-stage {
		grid-template-columns: 1fr;
	}

	.stage-shot-large,
	.stage-shot-small {
		min-height: 300px;
	}

	.unfinished-grid,
	.loop-ribbon,
	.blueprint-grid,
	.vision-grid,
	.proof-remix-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 720px) {
	.whitepaper-remix {
		padding: 10px 14px 72px;
	}

	.whitepaper-remix-shell {
		gap: 32px;
	}

	.whitepaper-remix-hero {
		min-height: 0;
		padding-top: 10px;
	}

	.whitepaper-remix-copy h2 {
		font-size: clamp(34px, 9vw, 48px);
		line-height: 0.94;
	}

	.whitepaper-remix-copy p:not(.whitepaper-kicker),
	.whitepaper-section-lede p {
		font-size: 15px;
	}

	.whitepaper-remix-actions,
	.whitepaper-remix-nav,
	.unfinished-grid,
	.loop-ribbon,
	.blueprint-grid,
	.vision-grid,
	.proof-remix-grid {
		grid-template-columns: 1fr;
	}

	.whitepaper-remix-actions {
		display: grid;
	}

	.whitepaper-remix-actions button,
	.whitepaper-close button {
		width: 100%;
	}

	.whitepaper-remix-nav {
		position: static;
	}

	.whitepaper-remix-nav button {
		border-right: 0;
		border-bottom: 1px solid rgba(201, 164, 91, 0.16);
	}

	.whitepaper-remix-nav button:last-child {
		border-bottom: 0;
	}

	.stage-shot-large,
	.stage-shot-small {
		min-height: 210px;
	}

	.vision-card,
	.vision-card-wide,
	.proof-remix-card-large {
		grid-column: auto;
		grid-row: auto;
	}

	.vision-card {
		min-height: 0;
	}

	.proof-remix-card {
		grid-template-rows: minmax(190px, 1fr) auto;
	}
}

body.public-mode .nav-item:not([data-view-link="account"]),
body.public-mode .sidebar-card,
body.public-mode .account-strip {
	display: none;
}

body.public-mode .nav-list {
	margin-top: 10px;
}

.mobile-only {
	display: none;
}

@media (max-width: 1180px) {
	.portal-shell {
		grid-template-columns: 220px minmax(0, 1fr);
	}

	.summary-grid,
	.benefit-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.dashboard-layout,
	.dashboard-layout,
		.dashboard-home,
		.admin-layout,
		.two-column,
		.security-grid,
		.subscription-layout,
		.market-layout,
		.activity-layout,
		.public-layout,
		.whitepaper-hero,
		.whitepaper-split {
		grid-template-columns: 1fr;
	}

	.dashboard-layout {
		grid-template-areas:
			"character"
			"feed"
			"quick"
			"art";
	}

	.whitepaper-kpis,
	.principle-grid,
	.loop-grid,
	.proof-grid,
	.system-showcase-grid,
	.feature-showcase-row,
	.feature-brief-grid,
	.roadmap-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.path-cards,
	.skill-hook-grid,
	.client-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.feature-showcase-row-secondary {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 720px) {
	.staff-search,
	.admin-action-row,
	.admin-action-row.compact,
	.staff-action-stack {
		grid-template-columns: minmax(0, 1fr);
	}

	.account-home-grid {
		grid-template-columns: 1fr;
	}

	.whitepaper-shell {
		gap: 12px;
	}

	.whitepaper-hero {
		min-height: 0;
		padding: 13px;
	}

	.whitepaper-kpis,
	.principle-grid,
	.path-cards,
		.loop-grid,
		.void-item-grid,
		.skill-hook-grid,
		.client-grid,
		.feature-showcase-row,
		.feature-brief-grid,
		.roadmap-grid,
		.proof-grid,
		.system-showcase-grid,
		.rate-stack,
		.economy-map {
		grid-template-columns: 1fr;
	}

	.proof-card-large,
	.proof-card-wide {
		grid-column: auto;
		grid-row: auto;
	}

	.economy-map {
		min-height: 0;
		padding: 16px;
	}

	.economy-ring {
		display: none;
	}

	.economy-node,
	.economy-node.market,
	.economy-node.void {
		justify-self: stretch;
	}

	.whitepaper-toc {
		position: static;
	}

	.landing-whitepaper,
	.whitepaper-shell,
	.whitepaper-hero,
	.whitepaper-section,
	.whitepaper-toc,
	.whitepaper-kpis,
	.proof-card {
		width: 100%;
		max-width: 100%;
		overflow-x: hidden;
	}

	.landing-whitepaper {
		padding-right: 10px;
		padding-left: 10px;
	}

	.whitepaper-hero {
		display: block;
	}

	.whitepaper-hero-copy h2 {
		max-width: 100%;
		font-size: clamp(30px, 8.5vw, 37px);
		line-height: 0.98;
		overflow-wrap: break-word;
	}

	.whitepaper-hero-copy p {
		max-width: 100%;
		font-size: 14px;
	}

	.whitepaper-hero-art {
		margin-top: 14px;
		overflow: visible;
		padding: 8px;
	}
}

.landing-view {
	gap: 18px;
}

.landing-hero {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
	gap: 18px;
	min-height: 520px;
	padding: clamp(18px, 3vw, 28px);
	border: 1px solid rgba(154, 125, 208, 0.3);
	border-radius: var(--radius);
	background:
		linear-gradient(90deg, rgba(7, 8, 11, 0.9), rgba(7, 8, 11, 0.58) 47%, rgba(7, 8, 11, 0.86)),
		url("assets/voidscape-login-background.png") center / cover;
	box-shadow: var(--shadow);
}

.account-view {
	width: 100%;
	max-width: 1020px;
	margin: 0 auto;
}

.account-view .landing-hero {
	grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
	min-height: 0;
	background:
		linear-gradient(135deg, rgba(18, 19, 25, 0.96), rgba(8, 9, 12, 0.98)),
		var(--panel);
}

.account-view .landing-copy {
	align-self: center;
}

.account-view .landing-copy h2 {
	max-width: 520px;
	font-size: clamp(28px, 3vw, 34px);
	line-height: 1.14;
}

.account-view .landing-copy p {
	max-width: 540px;
}

.landing-copy {
	align-self: end;
	max-width: 760px;
}

.landing-wordmark {
	width: min(540px, 100%);
	margin: 0 0 18px;
	filter: drop-shadow(0 4px 2px rgba(0, 0, 0, 0.9)) drop-shadow(0 0 22px rgba(143, 85, 223, 0.34));
}

.landing-copy h2 {
	max-width: 690px;
	margin-bottom: 14px;
	font-size: clamp(30px, 5vw, 56px);
	line-height: 1.02;
}

.landing-copy p {
	max-width: 610px;
	color: var(--muted);
	font-size: 16px;
	line-height: 1.5;
}

.founder-card {
	align-self: center;
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 12px;
	min-width: 0;
	padding: 16px;
	border: 1px solid var(--line-strong);
	border-radius: var(--radius);
	background:
		linear-gradient(180deg, rgba(33, 35, 43, 0.96), rgba(12, 13, 17, 0.98)),
		var(--panel);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 20px 48px rgba(0, 0, 0, 0.44);
}

.founder-card .panel-head {
	margin-bottom: 0;
}

.founder-card > * {
	grid-column: 1;
	min-width: 0;
}

.founder-card .mini-button {
	grid-column: 1;
}

.account-mode {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 6px;
	padding: 4px;
	border: 1px solid rgba(136, 117, 160, 0.24);
	border-radius: var(--radius);
	background: rgba(8, 9, 12, 0.56);
}

.account-mode button {
	min-height: 32px;
	color: var(--muted);
	border: 1px solid transparent;
	background: transparent;
	font-weight: 700;
}

.account-mode button.is-active {
	color: var(--text);
	border-color: rgba(143, 85, 223, 0.5);
	background: linear-gradient(180deg, rgba(85, 45, 132, 0.78), rgba(36, 24, 52, 0.82));
}

.google-button {
	display: grid;
	grid-template-columns: 34px minmax(0, 1fr);
	align-items: center;
	gap: 10px;
	min-height: 42px;
	padding: 6px 12px 6px 7px;
	color: #f7f2ff;
	border: 1px solid rgba(232, 221, 255, 0.24);
	border-radius: var(--radius);
	background: linear-gradient(180deg, rgba(35, 36, 42, 0.96), rgba(14, 15, 19, 0.98));
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 10px 24px rgba(0, 0, 0, 0.22);
	font-weight: 800;
}

.google-button:hover {
	border-color: rgba(250, 218, 123, 0.55);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 0 0 1px rgba(250, 218, 123, 0.18), 0 12px 28px rgba(0, 0, 0, 0.28);
}

.google-button:disabled {
	cursor: wait;
	opacity: 0.66;
}

.google-mark {
	display: grid;
	width: 30px;
	height: 30px;
	place-items: center;
	color: #1c1d22;
	border-radius: 50%;
	background: #f6f4ef;
	font-family: Arial, sans-serif;
	font-size: 18px;
	font-weight: 900;
}

.google-button strong {
	overflow: hidden;
	text-align: left;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.referral-notice {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 8px 10px;
	padding: 10px;
	border: 1px solid rgba(177, 126, 255, 0.34);
	border-radius: var(--radius);
	background: linear-gradient(180deg, rgba(80, 43, 122, 0.48), rgba(18, 15, 28, 0.72));
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 0 22px rgba(114, 55, 199, 0.16);
}

.referral-notice span {
	color: var(--muted);
	font-size: 12px;
	font-weight: 800;
	text-transform: uppercase;
}

.referral-notice strong {
	overflow: hidden;
	color: var(--text);
	font-size: 14px;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.referral-notice .ghost-button {
	grid-row: 1 / span 2;
	grid-column: 2;
	min-height: 34px;
	padding: 0 11px;
}

.founder-progress {
	display: grid;
	gap: 9px;
	padding: 11px;
	border: 1px solid rgba(136, 117, 160, 0.22);
	border-radius: var(--radius);
	background: rgba(8, 9, 12, 0.5);
}

.founder-progress > div:first-child,
.copy-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}

.founder-progress span {
	color: var(--muted);
	font-size: 13px;
}

.founder-progress strong {
	color: var(--gold);
}

body.prelaunch-mode {
	background: #020203;
}

body.prelaunch-mode::before {
	display: none;
}

.portal-shell.landing-shell {
	display: block;
	height: 100vh;
	min-height: 100vh;
}

.portal-shell.landing-shell .sidebar,
.portal-shell.landing-shell .topbar {
	display: none;
}

.portal-shell.landing-shell .workspace {
	width: 100vw;
	height: 100vh;
	padding: 0;
	overflow: auto;
	overflow-x: hidden;
}

.prelaunch-view.is-active {
	display: block;
	gap: 0;
	animation: none;
}

.prelaunch-page {
	position: relative;
	isolation: isolate;
	min-height: 100vh;
	min-height: 100svh;
	overflow: visible;
	overflow-x: hidden;
	color: #ded7c8;
	background: #020203 url("assets/prelaunch/voidscape-prelaunch-bg-static.png") center / cover no-repeat;
	font-family: "Palatino", "Palatino Linotype", "Book Antiqua", Georgia, serif;
}

.prelaunch-bg-fallback,
.prelaunch-vignette {
	position: fixed;
	inset: 0;
	pointer-events: none;
}

.prelaunch-bg-fallback {
	z-index: 0;
	background: url("assets/prelaunch/voidscape-prelaunch-bg-static.png") center / cover no-repeat;
}

.prelaunch-vignette {
	z-index: 2;
	background:
		linear-gradient(90deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.08) 20%, rgba(0, 0, 0, 0.08) 80%, rgba(0, 0, 0, 0.72)),
		linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.1) 52%, rgba(0, 0, 0, 0.62)),
		radial-gradient(circle at 50% 48%, rgba(119, 37, 190, 0.2), transparent 34%);
}

.prelaunch-character {
	position: absolute;
	z-index: 3;
	height: auto;
	pointer-events: none;
	filter:
		drop-shadow(0 20px 16px rgba(0, 0, 0, 0.86))
		drop-shadow(0 0 18px rgba(93, 40, 160, 0.18));
	animation: voidCharacterIdle 6.8s ease-in-out infinite;
}

.prelaunch-knight {
	top: clamp(180px, 29vh, 282px);
	left: max(32px, calc(50% - 760px));
	width: clamp(118px, 10.6vw, 188px);
}

.prelaunch-mage {
	top: clamp(214px, 31vh, 302px);
	right: max(126px, calc(50% - 684px));
	width: clamp(118px, 10.3vw, 184px);
	animation-delay: -1.9s;
}

.prelaunch-ranger {
	top: clamp(230px, 33vh, 318px);
	right: max(32px, calc(50% - 800px));
	width: clamp(106px, 9.6vw, 170px);
	animation-delay: -3.1s;
}

.prelaunch-content {
	position: relative;
	z-index: 4;
	display: flex;
	flex-direction: column;
	align-items: center;
	width: min(1672px, 100vw);
	min-height: 100vh;
	min-height: 100svh;
	margin: 0 auto;
	padding: clamp(14px, 2.2vh, 30px) clamp(18px, 3vw, 42px) clamp(18px, 2.6vh, 34px);
	text-align: center;
}

.prelaunch-logo {
	width: clamp(360px, 34vw, 600px);
	margin: 0 auto clamp(8px, 1.1vh, 14px);
	filter:
		drop-shadow(0 5px 2px rgba(0, 0, 0, 0.92))
		drop-shadow(0 0 20px rgba(114, 43, 190, 0.34));
	animation: voidLogoIdle 7.2s ease-in-out infinite;
}

.prelaunch-prize {
	display: inline-block;
	margin: clamp(8px, 1.2vh, 16px) 0 0;
	padding: 0 0.08em;
	color: #f5ead2;
	font-family: "Palatino", "Palatino Linotype", "Book Antiqua", Georgia, serif;
	font-size: clamp(21px, 2.1vw, 34px);
	font-weight: 800;
	line-height: 1.1;
	background:
		linear-gradient(
			180deg,
			#fff8dd 0%,
			#f0d593 28%,
			#b8752d 62%,
			#fff1bd 100%
		);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	-webkit-text-stroke: 0.5px rgba(64, 26, 7, 0.7);
	filter:
		drop-shadow(0 2px 0 rgba(0, 0, 0, 0.92))
		drop-shadow(0 0 12px rgba(132, 53, 213, 0.2));
	text-shadow:
		0 1px 0 rgba(255, 250, 226, 0.32),
		0 -1px 0 rgba(52, 20, 4, 0.72);
	animation: voidPrizeGlow 5.8s ease-in-out infinite;
}

.beta-countdown {
	width: min(620px, 86vw);
	margin: clamp(10px, 1.3vh, 16px) auto 0;
	padding: 12px 14px;
	color: #f7edce;
	border: 1px solid rgba(214, 173, 88, 0.5);
	border-radius: 8px;
	background:
		linear-gradient(180deg, rgba(25, 22, 20, 0.92), rgba(5, 6, 8, 0.94)),
		#08090b;
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.08),
		0 16px 30px rgba(0, 0, 0, 0.5),
		0 0 24px rgba(100, 65, 196, 0.2);
}

.beta-countdown[hidden] {
	display: none;
}

.beta-countdown > span {
	display: block;
	margin-bottom: 8px;
	color: #d9a33a;
	font-family: "Palatino", "Palatino Linotype", "Book Antiqua", Georgia, serif;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0;
	text-transform: uppercase;
}

.beta-countdown-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 8px;
}

.beta-countdown-grid div {
	min-width: 0;
	padding: 8px 5px 7px;
	border: 1px solid rgba(168, 126, 66, 0.34);
	border-radius: 6px;
	background: rgba(3, 3, 5, 0.46);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.beta-countdown-grid strong {
	display: block;
	color: #fff4cf;
	font-size: clamp(24px, 3.2vw, 42px);
	font-weight: 900;
	line-height: 1;
	font-variant-numeric: tabular-nums;
	text-shadow: 0 2px 0 rgba(0, 0, 0, 0.82);
}

.beta-countdown-grid em {
	display: block;
	margin-top: 4px;
	color: #c7b58f;
	font-size: 10px;
	font-style: normal;
	font-weight: 800;
	text-transform: uppercase;
}

.beta-countdown p {
	margin: 9px 0 0;
	color: #d9cfb4;
	font-size: 12px;
	line-height: 1.35;
}

.prelaunch-card {
	width: clamp(144px, 14.2vw, 254px);
	margin: clamp(14px, 1.8vh, 24px) auto 0;
	filter:
		drop-shadow(0 20px 16px rgba(0, 0, 0, 0.76))
		drop-shadow(0 0 26px rgba(128, 47, 219, 0.52));
	transform: rotate(-1deg);
	animation: voidCardFloat 5.6s ease-in-out infinite;
}

.prelaunch-whitepaper-link {
	min-height: 38px;
	margin: clamp(10px, 1.3vh, 16px) auto 0;
	padding: 8px 16px;
	color: #f2dfad;
	border: 1px solid rgba(207, 158, 79, 0.45);
	border-radius: 5px;
	background:
		linear-gradient(180deg, rgba(39, 31, 28, 0.86), rgba(8, 8, 10, 0.82)),
		rgba(4, 4, 6, 0.65);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 10px 24px rgba(0, 0, 0, 0.34);
	font-family: "Palatino", "Palatino Linotype", "Book Antiqua", Georgia, serif;
	font-size: 14px;
	font-weight: 800;
	text-transform: uppercase;
}

.prelaunch-whitepaper-link:hover {
	border-color: rgba(240, 204, 127, 0.72);
	color: #fff1c9;
}

.prelaunch-signup {
	position: relative;
	width: min(760px, 84vw);
	aspect-ratio: auto;
	min-height: 0;
	margin: clamp(14px, 1.8vh, 22px) auto 0;
	border: 0;
	background: transparent;
}

.prelaunch-signup-frame {
	display: none;
}

.prelaunch-signup-content {
	position: relative;
	inset: auto;
	z-index: 1;
	display: grid;
	gap: 12px;
	padding: 18px;
	border: 1px solid rgba(160, 126, 76, 0.42);
	border-radius: 8px;
	background:
		linear-gradient(180deg, rgba(28, 25, 25, 0.94), rgba(6, 7, 9, 0.96)),
		#08090b;
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.06),
		0 18px 34px rgba(0, 0, 0, 0.58),
		0 0 28px rgba(116, 51, 184, 0.18);
	animation: voidPanelEnter 520ms ease-out both, voidPanelIdle 6.4s ease-in-out 800ms infinite;
}

.prelaunch-signup-content h2 {
	position: static;
	width: auto;
	height: auto;
	margin: 0;
	overflow: visible;
	clip: auto;
	color: #d9a33a;
	font-size: 20px;
	text-transform: uppercase;
	text-shadow: 0 2px 0 rgba(0, 0, 0, 0.86);
}

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

.prelaunch-fields {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
	gap: 12px;
	align-items: end;
}

.prelaunch-field {
	position: static;
	display: block;
	height: auto;
	min-width: 0;
}

.prelaunch-field span {
	position: static;
	display: block;
	margin: 0 0 5px 2px;
	color: rgba(239, 209, 141, 0.82);
	font-family: "Palatino", "Palatino Linotype", "Book Antiqua", Georgia, serif;
	font-size: 10px;
	font-weight: 800;
	line-height: 1;
	pointer-events: none;
	text-shadow: 0 2px 0 rgba(0, 0, 0, 0.95);
	text-transform: uppercase;
}

.prelaunch-field:nth-child(1) {
	left: auto;
	width: auto;
}

.prelaunch-field:nth-child(2) {
	left: auto;
	width: auto;
}

.prelaunch-field:nth-child(3) {
	left: auto;
	width: auto;
}

.prelaunch-field input {
	width: 100%;
	height: 42px;
	padding: 0 clamp(12px, 1.4vw, 18px);
	color: #efe8de;
	border: 1px solid rgba(154, 119, 77, 0.32);
	border-radius: 5px;
	background: rgba(3, 3, 5, 0.34);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.04),
		0 0 0 1px rgba(0, 0, 0, 0.18);
	font-family: "Palatino", "Palatino Linotype", "Book Antiqua", Georgia, serif;
	font-size: clamp(13px, 1.08vw, 15px);
	font-weight: 600;
}

.prelaunch-field input::placeholder {
	color: rgba(217, 208, 192, 0.58);
}

.prelaunch-field input:focus {
	outline: none;
	box-shadow:
		0 0 12px rgba(120, 55, 190, 0.2),
		inset 0 0 10px rgba(143, 82, 217, 0.08);
}

.prelaunch-claim-button {
	position: absolute;
	top: 40.6%;
	left: 80.2%;
	display: block;
	width: 16.9%;
	height: 25%;
	border: 0;
	border-radius: 0;
	background: url("assets/prelaunch/button-claim.png") center / 100% 100% no-repeat;
	box-shadow: none;
	transform-origin: center;
	transition: transform 110ms ease, filter 110ms ease;
}

.prelaunch-claim-button:hover {
	background-image: url("assets/prelaunch/button-claim-hover.png");
	filter: brightness(1.05);
}

.prelaunch-claim-button:active {
	background-image: url("assets/prelaunch/button-claim-active.png");
	transform: translateY(2px) scale(0.985);
	filter: brightness(0.95);
}

.prelaunch-state {
	position: static;
	left: 0;
	right: 0;
	top: 74.5%;
	min-height: 18px;
	margin: 0;
	color: #d7cdbc;
	font-family: "Palatino", "Palatino Linotype", "Book Antiqua", Georgia, serif;
	font-size: clamp(12px, 1vw, 14px);
	font-weight: 600;
	line-height: 1.25;
	text-shadow: 0 2px 0 rgba(0, 0, 0, 0.9);
}

.prelaunch-success {
	position: static;
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(180px, 0.8fr);
	grid-template-rows: auto auto auto;
	gap: 7px clamp(18px, 2vw, 30px);
	align-items: center;
	color: #efe5d0;
	font-family: "Palatino", "Palatino Linotype", "Book Antiqua", Georgia, serif;
	text-align: left;
}

.prelaunch-success[hidden] {
	display: none;
}

.prelaunch-success h2 {
	position: static;
	grid-column: 1 / 2;
	width: auto;
	height: auto;
	margin: 0;
	overflow: visible;
	clip: auto;
	color: #f0c66b;
	font-size: clamp(22px, 2vw, 31px);
	line-height: 1;
	text-transform: uppercase;
	text-shadow:
		0 1px 0 rgba(255, 245, 190, 0.3),
		0 3px 0 rgba(0, 0, 0, 0.9);
}

.prelaunch-success p {
	grid-column: 1 / 2;
	margin: 0;
	color: #e4d6bd;
	font-size: clamp(13px, 1vw, 15px);
	font-weight: 600;
	line-height: 1.25;
	text-shadow: 0 2px 0 rgba(0, 0, 0, 0.9);
}

.prelaunch-success-meta {
	grid-column: 1 / 2;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 1px 0 0;
}

.prelaunch-success-meta span {
	min-width: 0;
	max-width: 100%;
	padding: 5px 8px;
	overflow: hidden;
	color: #a99b86;
	border: 1px solid rgba(167, 134, 80, 0.22);
	border-radius: 4px;
	background: rgba(6, 5, 7, 0.28);
	font-size: 10px;
	font-weight: 800;
	text-overflow: ellipsis;
	text-transform: uppercase;
	white-space: nowrap;
}

.prelaunch-success-meta strong {
	margin-left: 4px;
	color: #fff3d7;
	font-size: 12px;
	text-transform: none;
}

.prelaunch-success-meta span:first-child {
	flex: 1 1 220px;
}

.prelaunch-success-meta span:nth-child(2),
.prelaunch-success-meta span:nth-child(3) {
	flex: 0 1 auto;
}

.prelaunch-success-meta span:first-child strong {
	display: inline-block;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	vertical-align: bottom;
	max-width: min(280px, 52vw);
}

.prelaunch-game-onboarding {
	grid-column: 1 / 2;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(220px, 0.72fr);
	gap: 10px;
	align-items: end;
	margin-top: 2px;
}

.prelaunch-game-onboarding[hidden] {
	display: none;
}

.prelaunch-game-onboarding .prelaunch-manage {
	min-height: 42px;
	font-size: clamp(13px, 0.95vw, 16px);
	white-space: nowrap;
}

.prelaunch-success-actions {
	grid-column: 2 / 3;
	grid-row: 1 / 4;
	justify-self: stretch;
	align-self: center;
	display: grid;
	gap: 8px;
}

.prelaunch-signup.needs-game-login .prelaunch-success-actions {
	display: none;
}

.prelaunch-download,
.prelaunch-manage,
.prelaunch-discord {
	display: grid;
	place-items: center;
	min-height: 44px;
	padding: 10px 16px;
	color: #fff5d2;
	font-size: clamp(16px, 1.2vw, 20px);
	font-weight: 800;
	text-align: center;
	text-transform: uppercase;
	text-shadow: 0 2px 0 rgba(0, 0, 0, 0.85);
	border: 1px solid rgba(214, 173, 88, 0.55);
	border-radius: 4px;
	background:
		linear-gradient(180deg, rgba(91, 38, 149, 0.88), rgba(38, 12, 70, 0.94)),
		linear-gradient(180deg, #7b49b7, #2e0d54);
	box-shadow:
		inset 0 1px 0 rgba(255, 240, 187, 0.24),
		0 8px 12px rgba(0, 0, 0, 0.48);
}

.prelaunch-manage {
	color: #efe3c8;
	border-color: rgba(196, 160, 83, 0.4);
	background:
		linear-gradient(180deg, rgba(34, 28, 22, 0.9), rgba(10, 10, 13, 0.94)),
		#0c0d11;
	font-family: "Palatino", "Palatino Linotype", "Book Antiqua", Georgia, serif;
}

.prelaunch-discord {
	grid-column: 1 / -1;
	width: 100%;
	color: #f8fbff;
	border-color: rgba(122, 151, 255, 0.58);
	background:
		linear-gradient(180deg, rgba(88, 101, 242, 0.94), rgba(52, 61, 166, 0.96)),
		#5865f2;
	cursor: pointer;
}

.prelaunch-download:hover,
.prelaunch-manage:hover,
.prelaunch-discord:hover {
	filter: brightness(1.08);
}

.prelaunch-submit {
	grid-column: 1 / -1;
	min-height: 46px;
	width: 100%;
	cursor: pointer;
}

.prelaunch-submit:disabled {
	cursor: default;
	filter: grayscale(0.4) brightness(0.75);
}

.beta-hub {
	display: grid;
	gap: 16px;
	width: min(1220px, 92vw);
	margin: clamp(14px, 2vh, 28px) auto 0;
	padding: clamp(16px, 2vw, 24px);
	color: #f3ead6;
	border: 1px solid rgba(214, 173, 88, 0.34);
	border-radius: 8px;
	background: rgba(8, 8, 12, 0.72);
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.42);
}

.beta-hub[hidden] {
	display: none;
}

.beta-hub-head {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(280px, 0.75fr);
	gap: 16px;
	align-items: start;
}

.beta-hub h2,
.beta-hub h3 {
	margin: 0;
	color: #fff6df;
	font-family: "Palatino", "Palatino Linotype", "Book Antiqua", Georgia, serif;
	letter-spacing: 0;
}

.beta-hub h2 {
	font-size: clamp(24px, 3vw, 42px);
}

.beta-hub h3 {
	font-size: 18px;
}

.beta-code-card {
	display: grid;
	gap: 8px;
	padding: 12px;
	border: 1px solid rgba(214, 173, 88, 0.4);
	border-radius: 6px;
	background: rgba(3, 3, 5, 0.44);
}

.beta-code-card > span,
.beta-code-card p,
.beta-policy {
	margin: 0;
	color: rgba(244, 234, 213, 0.78);
	font-size: 13px;
}

.beta-downloads {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
}

.beta-downloads .download-action {
	min-height: 62px;
}

.beta-reference-tools {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 12px;
	align-items: end;
}

.beta-reference-tools label {
	display: grid;
	gap: 6px;
	color: rgba(239, 209, 141, 0.82);
	font-family: "Palatino", "Palatino Linotype", "Book Antiqua", Georgia, serif;
	font-size: 11px;
	font-weight: 800;
	text-transform: uppercase;
}

.beta-reference-tools input {
	width: 100%;
	height: 42px;
	padding: 0 12px;
	color: #f7ead0;
	border: 1px solid rgba(214, 173, 88, 0.34);
	border-radius: 6px;
	background: rgba(2, 2, 4, 0.52);
	font-family: "Courier New", ui-monospace, monospace;
	font-size: 14px;
	outline: none;
}

.beta-reference-tools input:focus {
	border-color: rgba(143, 233, 223, 0.72);
	box-shadow: 0 0 0 2px rgba(143, 233, 223, 0.12);
}

.beta-reference-tools small {
	color: rgba(244, 234, 213, 0.7);
	font-size: 12px;
	white-space: nowrap;
}

.beta-resource-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
	gap: 12px;
}

.beta-resource-grid > div {
	display: grid;
	align-content: start;
	gap: 10px;
	padding: 12px;
	border: 1px solid rgba(214, 173, 88, 0.24);
	border-radius: 6px;
	background: rgba(2, 2, 4, 0.36);
}

.beta-command-panel {
	grid-column: 1 / -1;
}

.beta-command-panel ul {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.beta-resource-grid ul {
	display: grid;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.beta-resource-grid li {
	display: grid;
	gap: 5px;
	padding: 8px;
	border: 1px solid rgba(214, 173, 88, 0.12);
	border-radius: 6px;
	background: rgba(255, 255, 255, 0.025);
	color: rgba(244, 234, 213, 0.78);
	font-size: 13px;
	line-height: 1.35;
}

.beta-row-title {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	align-items: baseline;
	min-width: 0;
}

.beta-resource-grid li strong {
	color: #f2cf86;
	font-size: 13px;
	overflow-wrap: anywhere;
}

.beta-row-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	min-width: 0;
}

.beta-ref-badge {
	display: inline-flex;
	align-items: center;
	min-height: 18px;
	padding: 2px 6px;
	color: #9dece5;
	border: 1px solid rgba(143, 233, 223, 0.2);
	border-radius: 999px;
	background: rgba(143, 233, 223, 0.08);
	font-size: 10px;
	font-style: normal;
	font-weight: 800;
	line-height: 1;
	text-transform: uppercase;
}

.beta-policy {
	padding-top: 2px;
}

.signup-code-block {
	grid-column: 1 / 2;
	display: grid;
	gap: 6px;
	margin-top: 4px;
	padding: 10px 12px;
	border: 1px solid rgba(214, 173, 88, 0.45);
	border-radius: 6px;
	background: rgba(6, 5, 7, 0.42);
}

.signup-code-block[hidden] {
	display: none;
}

.signup-code-label {
	color: rgba(239, 209, 141, 0.82);
	font-family: "Palatino", "Palatino Linotype", "Book Antiqua", Georgia, serif;
	font-size: 10px;
	font-weight: 800;
	text-transform: uppercase;
	text-shadow: 0 2px 0 rgba(0, 0, 0, 0.95);
}

.signup-code-block .copy-row {
	display: flex;
	gap: 8px;
	align-items: center;
}

.signup-code {
	flex: 1 1 auto;
	color: #ffe9ad;
	font-family: "Courier New", ui-monospace, monospace;
	font-size: clamp(20px, 2vw, 26px);
	font-weight: 800;
	letter-spacing: 2px;
	text-shadow: 0 2px 0 rgba(0, 0, 0, 0.9);
}

.signup-code-help {
	margin: 0;
	color: #d7cdbc;
	font-family: "Palatino", "Palatino Linotype", "Book Antiqua", Georgia, serif;
	font-size: clamp(11px, 0.9vw, 13px);
	font-weight: 600;
	line-height: 1.35;
}

.signup-code-help code {
	color: #c9f2ee;
	font-family: "Courier New", ui-monospace, monospace;
	font-weight: 700;
}

.prelaunch-signup.is-claimed .prelaunch-fields {
	display: none;
}

.prelaunch-signup.is-claimed .prelaunch-signup-content > h2 {
	display: none;
}

.prelaunch-signup.is-claimed {
	width: min(760px, 84vw);
	aspect-ratio: auto;
}

body.prelaunch-claimed .prelaunch-content {
	padding-top: 10px;
	padding-bottom: 24px;
}

body.prelaunch-claimed .prelaunch-logo {
	width: clamp(300px, 30vw, 500px);
	margin-bottom: 4px;
}

body.prelaunch-claimed .prelaunch-prize {
	margin-top: 2px;
}

body.prelaunch-claimed .prelaunch-card {
	width: clamp(112px, 10vw, 180px);
	margin-top: 8px;
}

body.prelaunch-claimed .prelaunch-signup {
	margin-top: 8px;
}

body.prelaunch-claimed .prelaunch-signup-content {
	gap: 8px;
	padding: 14px 18px;
}

body.prelaunch-claimed .prelaunch-success {
	gap: 6px clamp(16px, 2vw, 24px);
}

body.prelaunch-claimed .signup-code-block {
	gap: 4px;
	padding: 8px 10px;
}

.prelaunch-google,
.prelaunch-referral,
.prelaunch-progress,
.prelaunch-invite-link {
	width: min(720px, 100%);
	margin: 4px auto 0;
	font-family: "Palatino", "Palatino Linotype", "Book Antiqua", Georgia, serif;
}

.prelaunch-google {
	position: relative;
	display: grid;
	width: 100%;
	height: 42px;
	min-height: 0;
	margin: 0;
	padding: 5px clamp(10px, 1vw, 14px) 5px 6px;
	color: #fff7dd;
	border-color: rgba(215, 173, 87, 0.52);
	border-radius: 5px;
	background:
		linear-gradient(180deg, rgba(90, 44, 149, 0.94), rgba(41, 13, 76, 0.98)),
		linear-gradient(180deg, #7b49b7, #2e0d54);
	box-shadow:
		inset 0 1px 0 rgba(255, 241, 194, 0.22),
		0 8px 12px rgba(0, 0, 0, 0.44);
	font-family: "Palatino", "Palatino Linotype", "Book Antiqua", Georgia, serif;
	text-transform: uppercase;
	overflow: hidden;
	transform-origin: center;
	transition: filter 120ms ease, transform 120ms ease, box-shadow 120ms ease;
}

.prelaunch-google::after {
	content: "";
	position: absolute;
	inset: -40% auto -40% -55%;
	width: 42%;
	background: linear-gradient(90deg, transparent, rgba(255, 245, 196, 0.28), transparent);
	transform: skewX(-18deg);
	animation: voidButtonSheen 4.4s ease-in-out infinite;
	pointer-events: none;
}

.prelaunch-google:hover {
	filter: brightness(1.08);
	transform: translateY(-1px);
	box-shadow:
		inset 0 1px 0 rgba(255, 241, 194, 0.26),
		0 10px 16px rgba(0, 0, 0, 0.5),
		0 0 16px rgba(150, 74, 220, 0.24);
}

.prelaunch-google:active {
	filter: brightness(0.95);
	transform: translateY(1px) scale(0.99);
}

.prelaunch-benefits {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(12px, 1.7vw, 20px);
	width: min(1068px, 82vw);
	margin: clamp(12px, 1.7vh, 22px) auto 0;
}

.prelaunch-benefits img {
	width: 100%;
	height: auto;
	filter: drop-shadow(0 14px 12px rgba(0, 0, 0, 0.7));
}

@keyframes voidLogoIdle {
	0%,
	100% {
		transform: translateY(0);
		filter:
			drop-shadow(0 5px 2px rgba(0, 0, 0, 0.92))
			drop-shadow(0 0 20px rgba(114, 43, 190, 0.34));
	}
	50% {
		transform: translateY(-3px);
		filter:
			drop-shadow(0 6px 2px rgba(0, 0, 0, 0.92))
			drop-shadow(0 0 30px rgba(142, 60, 228, 0.52));
	}
}

@keyframes voidPrizeGlow {
	0%,
	100% {
		filter:
			drop-shadow(0 2px 0 rgba(0, 0, 0, 0.92))
			drop-shadow(0 0 12px rgba(132, 53, 213, 0.2));
	}
	50% {
		filter:
			drop-shadow(0 2px 0 rgba(0, 0, 0, 0.92))
			drop-shadow(0 0 18px rgba(231, 183, 89, 0.24))
			drop-shadow(0 0 18px rgba(132, 53, 213, 0.28));
	}
}

@keyframes voidCardFloat {
	0%,
	100% {
		transform: translateY(0) rotate(-1deg);
		filter:
			drop-shadow(0 20px 16px rgba(0, 0, 0, 0.76))
			drop-shadow(0 0 26px rgba(128, 47, 219, 0.52));
	}
	50% {
		transform: translateY(-7px) rotate(0.7deg);
		filter:
			drop-shadow(0 24px 18px rgba(0, 0, 0, 0.78))
			drop-shadow(0 0 36px rgba(158, 65, 241, 0.68));
	}
}

@keyframes voidCharacterIdle {
	0%,
	100% {
		transform: translateY(0);
	}
	50% {
		transform: translateY(-5px);
	}
}

@keyframes voidPanelEnter {
	from {
		opacity: 0;
		transform: translateY(12px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes voidPanelIdle {
	0%,
	100% {
		box-shadow:
			inset 0 1px 0 rgba(255, 255, 255, 0.06),
			0 18px 34px rgba(0, 0, 0, 0.58),
			0 0 28px rgba(116, 51, 184, 0.18);
	}
	50% {
		box-shadow:
			inset 0 1px 0 rgba(255, 255, 255, 0.07),
			0 20px 38px rgba(0, 0, 0, 0.6),
			0 0 38px rgba(151, 70, 221, 0.28);
	}
}

@keyframes voidButtonSheen {
	0%,
	40% {
		transform: translateX(0) skewX(-18deg);
		opacity: 0;
	}
	52% {
		opacity: 1;
	}
	72%,
	100% {
		transform: translateX(430%) skewX(-18deg);
		opacity: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.prelaunch-character,
	.prelaunch-logo,
	.prelaunch-prize,
	.prelaunch-card,
	.prelaunch-signup-content,
	.prelaunch-google::after {
		animation: none;
	}

	.prelaunch-google {
		transition: none;
	}
}

.copy-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
}

.copy-row .ghost-button {
	min-height: 38px;
}

.launch-metrics {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
}

.gateway-grid {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 10px;
}

.gateway-card {
	display: grid;
	grid-template-columns: 42px minmax(0, 1fr);
	grid-template-rows: auto auto;
	gap: 2px 10px;
	align-items: center;
	min-height: 96px;
	padding: 12px;
	color: var(--muted);
	text-align: left;
	border: 1px solid rgba(136, 117, 160, 0.26);
	border-radius: var(--radius);
	background: linear-gradient(180deg, rgba(27, 29, 37, 0.94), rgba(9, 10, 14, 0.96));
}

.gateway-card:hover {
	color: var(--text);
	border-color: rgba(112, 214, 208, 0.46);
	box-shadow: 0 0 18px rgba(112, 214, 208, 0.08);
}

.gateway-mark {
	grid-row: 1 / span 2;
	display: grid;
	place-items: center;
	width: 38px;
	aspect-ratio: 1;
	border: 1px solid rgba(112, 214, 208, 0.34);
	border-radius: 50%;
	color: var(--cyan);
	background: rgba(9, 31, 35, 0.68);
	font-weight: 800;
}

.gateway-mark.sub,
.gateway-mark.ranks {
	color: var(--gold);
	border-color: rgba(201, 164, 91, 0.38);
	background: rgba(42, 32, 12, 0.66);
}

.gateway-mark.sec {
	color: var(--green);
	border-color: rgba(124, 217, 146, 0.38);
	background: rgba(12, 38, 22, 0.66);
}

.gateway-mark.wild {
	color: var(--red);
	border-color: rgba(207, 83, 83, 0.42);
	background: rgba(46, 16, 18, 0.72);
}

.gateway-card strong {
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.gateway-card strong {
	color: var(--text);
}

.gateway-card small {
	font-size: 12px;
	line-height: 1.25;
}

.reward-band {
	display: grid;
	grid-template-columns: 76px minmax(0, 1fr) auto;
	gap: 16px;
	align-items: center;
	min-height: 116px;
	padding: 16px;
	border: 1px solid rgba(201, 164, 91, 0.34);
	border-radius: var(--radius);
	background:
		linear-gradient(90deg, rgba(39, 25, 51, 0.78), rgba(12, 13, 17, 0.94)),
		rgba(12, 13, 17, 0.96);
}

.reward-band img {
	width: 58px;
	image-rendering: pixelated;
	filter: drop-shadow(0 0 16px rgba(143, 85, 223, 0.42));
}

.reward-band h2 {
	margin-bottom: 4px;
}

.reward-band span {
	color: var(--muted);
}

.download-panel {
	min-height: 180px;
}

@media (max-width: 1180px) {
	.landing-hero,
	.launch-metrics,
	.gateway-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.landing-hero {
		grid-template-columns: 1fr;
		min-height: auto;
	}

	.reward-band {
		grid-template-columns: 64px minmax(0, 1fr);
	}

	.reward-band .ghost-button {
		grid-column: 2;
		width: max-content;
	}
}

@media (max-width: 860px) {
	.portal-shell {
		grid-template-columns: 1fr;
		grid-template-rows: 68px minmax(0, 1fr);
	}

	.mobile-only {
		display: grid;
	}

	.sidebar {
		position: fixed;
		z-index: 10;
		inset: 0 auto 0 0;
		width: min(288px, 86vw);
		transform: translateX(-104%);
		transition: transform 180ms ease;
	}

	.portal-shell.nav-open .sidebar {
		transform: translateX(0);
	}

	.topbar {
		grid-column: 1;
		padding: 10px 14px;
	}

	.workspace {
		padding: 14px;
	}

	.account-strip,
	.account-copy,
	.patch-chip {
		display: none;
	}

	.hero-character,
	.landing-hero,
		.launch-metrics,
		.gateway-grid,
		.character-cards,
		.creation-controls,
		.password-form,
		.art-wide {
		grid-template-columns: 1fr;
	}

	.password-form {
		align-items: stretch;
	}

	.password-form button {
		width: 100%;
	}

	.recovery-code-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.reward-band {
		grid-template-columns: 1fr;
	}

	.reward-band img {
		width: 52px;
	}

	.reward-band .ghost-button {
		grid-column: auto;
		width: 100%;
	}

	.mini-loadout {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.landing-copy h2 {
		font-size: 30px;
	}

	.character-visual {
		min-height: 232px;
	}

	.character-visual img {
		height: 200px;
	}

	.table-row {
		grid-template-columns: 1fr;
		gap: 3px;
		align-items: start;
	}

	.table-head {
		display: none;
	}

	.search-input {
		max-width: none;
	}
}

@media (max-width: 560px) {
	.summary-grid,
	.benefit-grid,
	.quick-grid,
	.action-stack {
		grid-template-columns: 1fr;
	}

	.panel-head,
	.account-strip {
		align-items: flex-start;
	}

	.topbar {
		flex-direction: row;
		align-items: center;
	}

	.panel {
		padding: 12px;
	}

	.redeem-form div {
		grid-template-columns: 1fr;
	}

	.reward-wallet {
		grid-template-columns: 1fr;
	}

	.reward-wallet .ghost-button {
		width: 100%;
	}
}

@media (max-width: 1180px) {
	.beta-resource-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.portal-shell.landing-shell .workspace {
		padding: 0;
		overflow-x: hidden;
	}

	.prelaunch-content {
		width: 100vw;
	}

	.prelaunch-signup,
	.prelaunch-benefits {
		width: min(1040px, 92vw);
	}

	.prelaunch-knight {
		left: 16px;
		opacity: 0.72;
	}

	.prelaunch-mage {
		right: 102px;
		opacity: 0.72;
	}

	.prelaunch-ranger {
		right: 16px;
		opacity: 0.72;
	}
}

@media (max-width: 900px) {
	.beta-hub-head,
	.beta-downloads,
	.beta-resource-grid {
		grid-template-columns: 1fr;
	}

	.beta-reference-tools,
	.beta-command-panel ul {
		grid-template-columns: 1fr;
	}

	.beta-reference-tools small {
		white-space: normal;
	}

	.beta-hub {
		width: min(720px, 92vw);
	}

	.prelaunch-page {
		overflow: auto;
		overflow-x: hidden;
	}

	.prelaunch-content {
		justify-content: flex-start;
		padding-top: 22px;
		padding-bottom: 28px;
	}

	.prelaunch-character {
		display: none;
	}

	.prelaunch-logo {
		width: min(430px, 86vw);
	}

	.prelaunch-card {
		width: min(210px, 42vw);
	}

	.beta-countdown {
		width: min(620px, 94vw);
		padding: 10px;
	}

	.beta-countdown-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.prelaunch-signup {
		width: min(680px, 94vw);
		aspect-ratio: auto;
		min-height: 0;
		padding: 1px;
	}

	.prelaunch-signup-frame {
		display: none;
	}

	.prelaunch-signup-content {
		position: relative;
		inset: auto;
		display: grid;
		gap: 12px;
		padding: 18px;
		border: 1px solid rgba(160, 126, 76, 0.42);
		border-radius: 8px;
		background:
			linear-gradient(180deg, rgba(28, 25, 25, 0.94), rgba(6, 7, 9, 0.96)),
			#08090b;
		box-shadow:
			inset 0 1px 0 rgba(255, 255, 255, 0.06),
			0 18px 34px rgba(0, 0, 0, 0.58);
	}

	.prelaunch-signup-content h2 {
		position: static;
		width: auto;
		height: auto;
		margin: 0;
		overflow: visible;
		clip: auto;
		color: #d9a33a;
		font-size: 18px;
		text-transform: uppercase;
	}

	.prelaunch-field span {
		position: static;
		display: block;
		margin: 0 0 5px 2px;
		font-size: 10px;
	}

	.prelaunch-fields {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 12px;
	}

	.prelaunch-field,
	.prelaunch-field:nth-child(1),
	.prelaunch-field:nth-child(2),
	.prelaunch-field:nth-child(3) {
		position: static;
		width: auto;
		height: auto;
	}

	.prelaunch-field input {
		height: 42px;
		border: 1px solid rgba(154, 119, 77, 0.32);
		background: rgba(3, 3, 5, 0.34);
		box-shadow:
			inset 0 1px 0 rgba(255, 255, 255, 0.04),
			0 0 0 1px rgba(0, 0, 0, 0.18);
	}

	.prelaunch-google {
		position: static;
		width: 100%;
		height: auto;
		min-height: 46px;
		margin: 0;
		justify-self: stretch;
	}

	.prelaunch-state {
		position: static;
	}

	.prelaunch-success {
		position: static;
		grid-template-columns: 1fr;
		gap: 10px;
		text-align: center;
	}

	.prelaunch-success h2,
	.prelaunch-success p,
	.prelaunch-success-meta,
	.prelaunch-success-actions {
		grid-column: auto;
		grid-row: auto;
	}

	.prelaunch-success-meta {
		justify-content: center;
	}

	.prelaunch-success-meta span,
	.prelaunch-success-meta span:first-child,
	.prelaunch-success-meta span:nth-child(2),
	.prelaunch-success-meta span:nth-child(3) {
		flex: 1 1 100%;
	}

	.prelaunch-success-meta span:first-child strong {
		max-width: min(360px, 70vw);
	}

	.prelaunch-game-onboarding {
		grid-column: auto;
		grid-template-columns: 1fr;
		gap: 8px;
		text-align: left;
	}

	.prelaunch-claim-button {
		position: relative;
		inset: auto;
		grid-column: 1 / -1;
		width: min(260px, 100%);
		height: 48px;
		margin: 0 auto;
	}

	.prelaunch-benefits {
		width: min(680px, 94vw);
	}

	.prelaunch-benefits {
		grid-template-columns: 1fr;
	}

	.prelaunch-benefits img {
		max-width: 520px;
		margin: 0 auto;
	}

}

@media (max-width: 560px) {
	.beta-hub {
		width: min(100%, calc(100vw - 20px));
		padding: 12px;
	}

	.prelaunch-content {
		padding-inline: 12px;
	}

	.prelaunch-prize {
		font-size: 20px;
	}

	.prelaunch-card {
		width: min(170px, 52vw);
	}

	.prelaunch-fields {
		grid-template-columns: 1fr;
	}

	.prelaunch-field input {
		height: 42px;
	}

}

@media (max-width: 720px) {
	body.prelaunch-mode,
	.portal-shell.landing-shell .workspace,
	.prelaunch-page {
		overflow-x: hidden;
	}

	.landing-whitepaper {
		width: 100%;
		max-width: 100%;
		padding-right: 10px;
		padding-left: 10px;
	}

	.whitepaper-layout,
	.whitepaper-shell {
		width: 100%;
		max-width: 100%;
		margin-right: 0;
		margin-left: 0;
	}

	.whitepaper-hero,
	.whitepaper-section,
	.whitepaper-toc,
	.whitepaper-kpis {
		width: 100%;
		max-width: 100%;
	}

	.whitepaper-hero-copy,
	.whitepaper-hero-copy p,
	.whitepaper-actions,
	.whitepaper-hero-art {
		width: 100%;
		max-width: 100%;
	}

	.whitepaper-actions button {
		width: 100%;
		max-width: 100%;
	}

	.whitepaper-hero-art figure {
		width: 100%;
		max-width: 100%;
	}

	body.prelaunch-mode .landing-whitepaper {
		width: min(100%, calc(100vw - 24px));
		max-width: calc(100vw - 24px);
		padding-right: 0;
		padding-left: 0;
	}

	body.prelaunch-mode .whitepaper-hero,
	body.prelaunch-mode .whitepaper-section,
	body.prelaunch-mode .whitepaper-toc,
	body.prelaunch-mode .whitepaper-kpis {
		width: min(100%, calc(100vw - 28px));
		max-width: calc(100vw - 28px);
		margin-right: auto;
		margin-left: auto;
	}

	body.prelaunch-mode .whitepaper-hero-copy,
	body.prelaunch-mode .whitepaper-hero-copy p,
	body.prelaunch-mode .whitepaper-actions,
	body.prelaunch-mode .whitepaper-hero-art {
		max-width: calc(100vw - 56px);
	}

	body.prelaunch-mode .landing-whitepaper.whitepaper-remix {
		width: 100%;
		max-width: 100%;
		padding: 10px 14px 72px;
	}

	body.prelaunch-mode .whitepaper-remix .whitepaper-section-lede h2 {
		font-size: 34px;
		line-height: 0.98;
	}
}
