:root {
	color-scheme: dark;
	--bg: #11120f;
	--surface: #181a16;
	--surface-strong: #22251d;
	--surface-soft: #151711;
	--text: #f1ecdf;
	--muted: #b7ae9b;
	--line: #3a3d31;
	--gold: #c99b3f;
	--gold-strong: #e1b85d;
	--red: #9d4439;
	--green: #5e8b68;
	--ink: #100d08;
	--site-backdrop: url("/assets/images/home/hero-fendir-wide.256fbae0bbcf.webp");
}

@media (max-width: 760px) and (orientation: portrait) {
	:root {
		--site-backdrop: url("/assets/images/home/hero-fendir-portrait.3a21347ea1b3.webp");
	}
}

* {
	box-sizing: border-box;
}

html {
	min-height: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: 88px;
}

body {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	margin: 0;
	background:
		linear-gradient(180deg, rgba(17, 18, 15, 0.66), rgba(17, 18, 15, 0.88)),
		url("/assets/images/wallpaperfull.png") center top / cover fixed,
		var(--bg);
	color: var(--text);
	font-family: Arial, Helvetica, sans-serif;
	line-height: 1.5;
}

main {
	flex: 1 0 auto;
}

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

button,
input,
select {
	font: inherit;
}

button,
summary,
select {
	cursor: pointer;
}

img {
	max-width: 100%;
}

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

.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;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 20;
	border-bottom: 1px solid var(--line);
	background: rgba(17, 18, 15, 0.96);
}

.header-inner,
.footer-inner,
.home-shell,
.presentation-page,
.auth-shell,
.account-page,
.dashboard-shell,
.legal-page {
	width: min(1280px, calc(100% - 36px));
	margin: 0 auto;
}

.header-inner {
	display: grid;
	grid-template-columns: auto minmax(240px, 1fr) auto;
	align-items: center;
	gap: 22px;
	min-height: 68px;
	padding: 10px 0;
}

.brand img {
	display: block;
	width: 86px;
	height: auto;
}

.site-nav,
.header-actions,
.footer-links,
.footer-badges {
	display: flex;
	align-items: center;
	gap: 10px;
}

.site-nav a,
.ghost-button,
.login-dropdown summary,
.language-form button {
	border: 1px solid transparent;
	border-radius: 6px;
	padding: 8px 10px;
	background: transparent;
	color: var(--muted);
	font-size: 14px;
}

.site-nav a:hover,
.ghost-button:hover,
.login-dropdown summary:hover,
.language-form button:hover {
	border-color: var(--line);
	color: var(--text);
}

.header-actions {
	justify-content: flex-end;
}

.header-actions form {
	margin: 0;
}

.primary-button,
.outline-button,
.account-form button,
.auth-panel button,
.header-login button,
.settings-form button,
.small-button {
	border-radius: 6px;
	font-weight: 700;
}

.primary-button,
.account-form button,
.auth-panel button,
.header-login button,
.settings-form button,
.small-button {
	border: 0;
	background: var(--gold);
	color: var(--ink);
}

.primary-button {
	display: inline-flex;
	align-items: center;
	min-height: 36px;
	padding: 8px 12px;
	font-size: 14px;
	white-space: nowrap;
}

.outline-button {
	display: inline-flex;
	align-items: center;
	min-height: 36px;
	border: 1px solid var(--line);
	padding: 8px 12px;
	background: rgba(21, 23, 17, 0.72);
	color: var(--text);
	font-size: 14px;
	white-space: nowrap;
}

.outline-button:hover {
	border-color: var(--gold);
	color: var(--gold-strong);
}

.account-name {
	color: var(--gold-strong);
	font-weight: 700;
}

.login-dropdown {
	position: relative;
}

.login-dropdown summary {
	display: block;
	list-style: none;
}

.login-dropdown summary::-webkit-details-marker {
	display: none;
}

.header-login {
	position: absolute;
	top: calc(100% + 10px);
	right: 0;
	display: grid;
	width: 260px;
	gap: 8px;
	padding: 14px;
	border: 1px solid var(--line);
	border-radius: 8px;
	background: var(--surface-strong);
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.34);
}

.header-login label,
.account-form label,
.auth-panel label,
.settings-form label {
	color: var(--muted);
	font-size: 13px;
}

.header-login input,
.account-form input,
.auth-panel input,
.settings-form input,
.language-form select {
	width: 100%;
	border: 1px solid var(--line);
	border-radius: 6px;
	background: #0d0f0b;
	color: var(--text);
}

.header-login input,
.account-form input,
.auth-panel input,
.settings-form input {
	min-height: 40px;
	padding: 9px 10px;
}

.header-login button,
.account-form button,
.auth-panel button,
.settings-form button {
	min-height: 42px;
	padding: 10px 14px;
}

.check-line {
	display: flex;
	align-items: center;
	gap: 9px;
}

.check-line input {
	width: 16px;
	min-height: 16px;
}

.language-form {
	display: flex;
	align-items: center;
	gap: 6px;
}

.language-form select {
	min-height: 36px;
	padding: 7px 28px 7px 9px;
	font-size: 14px;
}

.home-shell {
	padding: 34px 0 56px;
}

.home-logo {
	display: flex;
	justify-content: center;
	margin-bottom: 24px;
}

.home-logo img {
	width: min(420px, 72vw);
	height: auto;
}

.home-layout {
	display: grid;
	grid-template-columns: minmax(240px, 290px) minmax(0, 960px);
	grid-template-areas:
		"top top"
		"side main";
	justify-content: center;
	gap: 18px;
}

.content-top,
.side-block,
.main-block,
.account-form,
.auth-panel,
.dashboard-panel,
.legal-page {
	border: 1px solid var(--line);
	border-radius: 8px;
	background: rgba(24, 26, 22, 0.96);
}

.content-top {
	grid-area: top;
	padding: 18px;
}

.side-column {
	grid-area: side;
	display: grid;
	gap: 18px;
	align-content: start;
}

.side-block {
	min-height: 290px;
	padding: 18px;
}

.main-block {
	grid-area: main;
	min-height: 598px;
	padding: 22px;
}

.block-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 14px;
	border-bottom: 1px solid var(--line);
	padding-bottom: 10px;
}

.block-header h1,
.block-header h2 {
	margin: 0;
	font-size: 24px;
	line-height: 1.15;
}

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

.featured-card {
	position: relative;
	min-height: 170px;
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: 8px;
	background: var(--surface-soft);
}

.featured-card img {
	display: block;
	width: 100%;
	height: 190px;
	object-fit: cover;
	opacity: 0.88;
}

.featured-card span {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 34px 14px 13px;
	background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.88));
	font-weight: 700;
	line-height: 1.2;
}

.side-block p,
.legal-page p,
.auth-copy p:last-child {
	color: var(--muted);
}

.side-link,
.back-link {
	display: inline-flex;
	align-items: center;
	margin-top: 8px;
	color: var(--gold-strong);
	font-weight: 700;
}

.news-list {
	display: grid;
	gap: 14px;
}

.news-item {
	display: grid;
	grid-template-columns: 180px minmax(0, 1fr);
	gap: 16px;
	padding: 14px;
	border: 1px solid var(--line);
	border-radius: 8px;
	background: var(--surface-soft);
}

.news-image {
	display: block;
	width: 180px;
	height: 112px;
	border-radius: 6px;
	object-fit: cover;
}

.news-item time,
.article-detail time {
	display: block;
	margin-bottom: 6px;
	color: var(--gold-strong);
	font-size: 13px;
}

.news-item h3 {
	margin-bottom: 6px;
	font-size: 20px;
	line-height: 1.2;
}

.news-item p {
	display: -webkit-box;
	margin-bottom: 0;
	overflow: hidden;
	color: var(--muted);
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
}

.article-detail h1 {
	margin: 10px 0 14px;
	font-size: 36px;
	line-height: 1.08;
}

.article-detail p {
	white-space: pre-line;
	color: var(--muted);
}

.article-image {
	display: block;
	width: 100%;
	max-height: 420px;
	margin: 14px 0;
	border-radius: 8px;
	object-fit: cover;
}

.pagination {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 18px;
}

.pagination a {
	display: inline-grid;
	min-width: 44px;
	min-height: 44px;
	place-items: center;
	border: 1px solid var(--line);
	border-radius: 6px;
	padding: 8px 10px;
	background: var(--surface-soft);
	color: var(--muted);
	text-align: center;
}

.pagination a[aria-current="page"] {
	border-color: var(--gold);
	background: rgba(201, 155, 63, 0.18);
	color: var(--text);
}

.pagination a[aria-disabled="true"] {
	pointer-events: none;
	opacity: 0.45;
}

.auth-shell,
.account-page,
.dashboard-shell,
.legal-page {
	padding: 46px 0 64px;
}

.auth-copy {
	max-width: 720px;
	margin-bottom: 24px;
}

.kicker {
	margin-bottom: 8px;
	color: var(--gold-strong);
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0;
}

.auth-copy h1 {
	max-width: 720px;
	margin-bottom: 12px;
	font-size: 42px;
	line-height: 1.05;
	letter-spacing: 0;
}

.auth-panel,
.account-form {
	display: grid;
	gap: 10px;
	padding: 22px;
}

.auth-panel-single,
.account-form {
	width: min(100%, 520px);
	max-width: 520px;
}

.account-page {
	display: grid;
	justify-items: center;
	gap: 18px;
}

.form-error {
	margin-bottom: 4px;
	border: 1px solid rgba(157, 68, 57, 0.65);
	border-radius: 6px;
	padding: 10px 12px;
	background: rgba(157, 68, 57, 0.18);
	color: #ffd4cf;
}

.form-success {
	margin-bottom: 14px;
	border: 1px solid rgba(94, 139, 104, 0.7);
	border-radius: 6px;
	padding: 10px 12px;
	background: rgba(94, 139, 104, 0.18);
	color: #d9f3de;
}

.dashboard-header {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 18px;
	margin-bottom: 18px;
}

.dashboard-header h1 {
	margin: 0;
	font-size: 42px;
	line-height: 1.05;
	letter-spacing: 0;
}

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

.dashboard-panel {
	padding: 18px;
	background: rgba(24, 26, 22, 0.96);
}

.character-panel {
	grid-column: 1 / -1;
}

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

.stat-list div {
	border: 1px solid var(--line);
	border-radius: 6px;
	padding: 12px;
	background: var(--surface-soft);
}

.stat-list dt {
	margin-bottom: 4px;
	color: var(--muted);
	font-size: 13px;
}

.stat-list dd {
	margin: 0;
	font-weight: 700;
	overflow-wrap: anywhere;
}

.table-wrap {
	overflow-x: auto;
}

.character-table {
	width: 100%;
	min-width: 920px;
	border-collapse: collapse;
}

.character-table th,
.character-table td {
	border-bottom: 1px solid var(--line);
	padding: 10px 8px;
	text-align: left;
	vertical-align: middle;
}

.character-table th {
	color: var(--muted);
	font-size: 13px;
	font-weight: 700;
}

.character-table td {
	color: var(--text);
}

.character-table form {
	margin: 0;
}

.settings-form {
	display: grid;
	gap: 10px;
}

.small-button {
	min-height: 34px;
	padding: 7px 10px;
	font-size: 13px;
}

.site-footer {
	border-top: 1px solid var(--line);
	background: #0e100d;
}

.footer-inner {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 24px;
	padding: 20px 0;
}

.footer-brand img {
	display: block;
	height: auto;
	width: 92px;
}

.footer-links {
	justify-content: center;
	flex-wrap: wrap;
	color: var(--muted);
	font-size: 14px;
}

.footer-badges {
	justify-content: flex-end;
	flex-wrap: wrap;
}

.footer-badges a {
	border: 1px solid var(--line);
	border-radius: 6px;
	padding: 8px 10px;
	background: var(--surface-soft);
	color: var(--muted);
	font-size: 13px;
}

.legal-page {
	max-width: 900px;
	margin-top: 46px;
}

.presentation-page {
	padding: 42px 0 64px;
}

.presentation-hero {
	min-height: 300px;
	margin-bottom: 22px;
	border: 1px solid var(--line);
	border-radius: 8px;
	padding: clamp(24px, 5vw, 52px);
	background:
		linear-gradient(90deg, rgba(17, 18, 15, 0.94), rgba(17, 18, 15, 0.72) 54%, rgba(17, 18, 15, 0.42)),
		url("/assets/images/Nayttokuva_2026-06-03_150503.png") center / cover;
}

.presentation-hero h1 {
	max-width: 760px;
	margin-bottom: 14px;
	font-size: clamp(38px, 6vw, 70px);
	line-height: 0.98;
	letter-spacing: 0;
}

.presentation-hero p:not(.kicker) {
	max-width: 650px;
	margin-bottom: 0;
	color: var(--muted);
	font-size: 18px;
}

.presentation-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 24px;
}

.presentation-layout {
	display: grid;
	grid-template-columns: minmax(210px, 260px) minmax(0, 1fr);
	gap: 18px;
	align-items: start;
}

.presentation-sidebar {
	position: sticky;
	top: 88px;
	border: 1px solid var(--line);
	border-radius: 8px;
	padding: 12px;
	background: rgba(24, 26, 22, 0.96);
}

.presentation-sidebar nav {
	display: grid;
	gap: 6px;
}

.presentation-sidebar a {
	border: 1px solid transparent;
	border-radius: 6px;
	padding: 10px 11px;
	color: var(--muted);
	font-size: 14px;
	line-height: 1.2;
}

.presentation-sidebar a:hover {
	border-color: var(--line);
	background: var(--surface-soft);
	color: var(--text);
}

.feature-stack {
	display: grid;
	gap: 18px;
}

.feature-panel {
	display: grid;
	grid-template-columns: minmax(260px, 0.9fr) minmax(340px, 1.1fr);
	gap: 20px;
	align-items: stretch;
	border: 1px solid var(--line);
	border-radius: 8px;
	padding: 18px;
	background: rgba(24, 26, 22, 0.96);
}

.feature-copy {
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 320px;
}

.feature-copy span {
	width: max-content;
	margin-bottom: 14px;
	border: 1px solid rgba(201, 155, 63, 0.52);
	border-radius: 999px;
	padding: 4px 9px;
	color: var(--gold-strong);
	font-size: 12px;
	font-weight: 700;
}

.feature-copy h2 {
	margin-bottom: 12px;
	font-size: 34px;
	line-height: 1.04;
	letter-spacing: 0;
}

.feature-copy p {
	margin-bottom: 16px;
	color: var(--muted);
}

.feature-copy ul {
	display: grid;
	gap: 9px;
	margin: 0;
	padding-left: 19px;
	color: var(--text);
}

.feature-copy li::marker {
	color: var(--gold-strong);
}

.feature-media {
	position: relative;
	min-height: 320px;
	margin: 0;
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: 8px;
	background: var(--surface-soft);
}

.feature-media img {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 320px;
	object-fit: cover;
}

.feature-media figcaption {
	position: absolute;
	right: 12px;
	bottom: 12px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 6px;
	padding: 6px 8px;
	background: rgba(13, 15, 11, 0.74);
	color: var(--muted);
	font-size: 12px;
}

@media (max-width: 1180px) {
	.header-inner {
		grid-template-columns: auto 1fr;
	}

	.header-actions {
		grid-column: 1 / -1;
		justify-content: flex-start;
		flex-wrap: wrap;
	}
}

@media (max-width: 900px) {
	.home-layout {
		grid-template-columns: minmax(0, 1fr);
		grid-template-areas:
			"top"
			"main"
			"side";
	}

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

	.presentation-layout,
	.feature-panel {
		grid-template-columns: 1fr;
	}

	.presentation-sidebar {
		position: static;
	}

	.presentation-sidebar nav {
		grid-template-columns: repeat(5, minmax(0, 1fr));
	}
}

@media (max-width: 760px) {
	.header-inner,
	.footer-inner {
		grid-template-columns: 1fr;
	}

	.site-nav,
	.header-actions,
	.footer-links,
	.footer-badges {
		flex-wrap: wrap;
		justify-content: flex-start;
	}

	.header-login {
		left: 0;
		right: auto;
		width: min(280px, calc(100vw - 36px));
	}

	.featured-grid,
	.side-column,
	.presentation-sidebar nav {
		grid-template-columns: 1fr;
	}

	.news-item {
		grid-template-columns: 1fr;
	}

	.news-image {
		width: 100%;
		height: 180px;
	}

	.main-block,
	.content-top,
	.side-block,
	.feature-panel,
	.account-form,
	.auth-panel,
	.dashboard-panel {
		padding: 16px;
	}

	.article-detail h1,
	.auth-copy h1,
	.dashboard-header h1,
	.feature-copy h2 {
		font-size: 32px;
	}

	.presentation-hero {
		min-height: 360px;
		background:
			linear-gradient(180deg, rgba(17, 18, 15, 0.94), rgba(17, 18, 15, 0.7)),
			url("/assets/images/Nayttokuva_2026-06-03_150503.png") center / cover;
	}

	.dashboard-header,
	.dashboard-grid,
	.stat-list {
		grid-template-columns: 1fr;
	}

	.dashboard-header {
		align-items: flex-start;
		flex-direction: column;
	}
}

.nav-login {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	border: 1px solid rgba(199, 155, 82, 0.34);
	border-radius: 4px;
	padding: 10px 14px;
	color: var(--gold-strong);
	font-size: 12px;
	font-weight: 800;
	text-transform: uppercase;
}

.nav-login:hover {
	border-color: rgba(229, 194, 122, 0.72);
	background: rgba(199, 155, 82, 0.08);
}

.mobile-quick-action,
.mobile-menu {
	display: none;
}

@media (max-width: 1180px) {
	.header-inner {
		display: grid;
		grid-template-columns: auto minmax(0, 1fr) auto;
		gap: 12px;
		width: calc(100% - 28px);
		min-height: 64px;
		padding: 7px 0;
	}

	.brand {
		justify-self: start;
	}

	.brand img {
		width: 100px;
	}

	.desktop-nav,
	.desktop-actions {
		display: none;
	}

	.mobile-quick-action {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		justify-self: end;
		min-height: 38px;
		border: 1px solid rgba(199, 155, 82, 0.46);
		border-radius: 4px;
		padding: 9px 13px;
		background: rgba(199, 155, 82, 0.08);
		color: var(--gold-strong);
		font-size: 11px;
		font-weight: 800;
		text-transform: uppercase;
	}

	.mobile-menu {
		position: relative;
		display: block;
		justify-self: end;
	}

	.mobile-menu summary {
		display: grid;
		width: 40px;
		height: 40px;
		place-items: center;
		border: 1px solid rgba(199, 155, 82, 0.34);
		border-radius: 4px;
		background: rgba(18, 16, 14, 0.82);
		list-style: none;
	}

	.mobile-menu summary::-webkit-details-marker {
		display: none;
	}

	.mobile-menu summary:hover,
	.mobile-menu[open] summary {
		border-color: rgba(229, 194, 122, 0.7);
		background: rgba(199, 155, 82, 0.1);
	}

	.menu-icon {
		display: grid;
		width: 19px;
		gap: 4px;
	}

	.menu-icon span {
		display: block;
		height: 2px;
		background: var(--gold-strong);
	}

	.mobile-menu-panel {
		position: absolute;
		top: calc(100% + 12px);
		right: 0;
		width: min(320px, calc(100vw - 28px));
		max-height: calc(100vh - 88px);
		max-height: calc(100dvh - 88px);
		overflow-y: auto;
		overscroll-behavior: contain;
		border: 1px solid rgba(199, 155, 82, 0.3);
		border-radius: 6px;
		padding: 10px;
		background: rgba(10, 9, 7, 0.98);
		box-shadow: 0 24px 60px rgba(0, 0, 0, 0.58);
	}

	.mobile-menu-nav {
		display: grid;
	}

	.mobile-menu-nav a,
	.mobile-menu-account > a {
		border-bottom: 1px solid rgba(199, 155, 82, 0.14);
		padding: 12px 10px;
		color: var(--muted);
		font-size: 12px;
		font-weight: 800;
		text-transform: uppercase;
	}

	.mobile-menu-nav a:hover,
	.mobile-menu-nav a[aria-current],
	.mobile-menu-account > a[aria-current],
	.mobile-menu-account > a:hover {
		color: var(--gold-strong);
	}

	.mobile-menu-account {
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto;
		align-items: center;
		margin-top: 6px;
	}

	.mobile-menu-account .mobile-login {
		grid-column: 1 / -1;
		border: 1px solid rgba(199, 155, 82, 0.38);
		border-radius: 4px;
		text-align: center;
	}

	.mobile-menu-account .ghost-button {
		margin-left: 8px;
	}

	.mobile-language-form {
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto;
		gap: 8px;
		margin-top: 10px;
		padding: 10px;
		border-top: 1px solid rgba(199, 155, 82, 0.2);
	}

	.mobile-language-form label {
		grid-column: 1 / -1;
		color: var(--muted);
		font-size: 11px;
		font-weight: 800;
		text-transform: uppercase;
	}

	.mobile-language-form select {
		width: 100%;
		min-width: 0;
	}
}

@media (max-width: 380px) {
	.header-inner {
		gap: 8px;
	}

	.brand img {
		width: 88px;
	}

	.mobile-quick-action {
		padding: 8px 10px;
	}
}

.shop-tabs {
	display: flex;
	align-items: center;
	gap: 4px;
	margin-bottom: 20px;
	border-bottom: 1px solid rgba(199, 155, 82, 0.24);
}

.shop-tabs a {
	position: relative;
	padding: 12px 16px;
	color: var(--muted);
	font-size: 12px;
	font-weight: 800;
	text-transform: uppercase;
}

.shop-tabs a::after {
	position: absolute;
	right: 12px;
	bottom: -1px;
	left: 12px;
	height: 2px;
	background: transparent;
	content: "";
}

.shop-tabs a:hover,
.shop-tabs a[aria-current="page"] {
	color: var(--gold-strong);
}

.shop-tabs a[aria-current="page"]::after {
	background: var(--gold-strong);
}

.shop-page-heading {
	max-width: 760px;
	padding: 28px 0 18px;
}

.shop-page-heading h1 {
	margin-bottom: 12px;
	color: #f4ead9;
	font-family: Cinzel, "Cormorant Garamond", Marcellus, Georgia, serif;
	font-size: clamp(36px, 5vw, 54px);
	font-weight: 500;
	line-height: 1.05;
}

@media (max-width: 520px) {
	.shop-tabs {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.shop-tabs a {
		min-width: 0;
		padding: 11px 5px;
		font-size: 10px;
		text-align: center;
	}
}

.shop-modal {
	width: min(808px, calc(100% - 32px));
	max-width: none;
	max-height: calc(100vh - 32px);
	border: 0;
	padding: 0;
	background: transparent;
	color: var(--text);
}

.shop-modal::backdrop {
	background: rgba(0, 0, 0, 0.76);
	backdrop-filter: blur(6px);
}

.shop-modal .shop-dialog {
	width: 100%;
	max-height: calc(100vh - 32px);
	overflow-y: auto;
}

.quantity-control {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 96px;
	align-items: center;
	gap: 16px;
	margin: 16px 0;
}

.quantity-control label,
.payment-provider-list legend {
	color: #d7a94f;
	font-size: 12px;
	font-weight: 900;
	text-transform: uppercase;
}

.quantity-control input {
	width: 100%;
	min-height: 42px;
	border: 1px solid rgba(199, 155, 82, 0.32);
	border-radius: 4px;
	padding: 8px 10px;
	background: rgba(5, 4, 3, 0.72);
	color: var(--text);
	text-align: center;
}

.shop-dialog-warning {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 0 0 14px;
	border: 1px solid rgba(176, 76, 54, 0.58);
	border-radius: 4px;
	padding: 10px 12px;
	background: rgba(176, 76, 54, 0.14);
	color: #ffd8cf;
}

.shop-dialog-warning[hidden] {
	display: none;
}

.shop-dialog-warning .btn {
	min-height: 38px;
	padding: 9px 14px;
	white-space: nowrap;
}

.shop-dialog-actions .btn:disabled {
	cursor: not-allowed;
	filter: grayscale(1);
	opacity: 0.48;
}

.payment-provider-list {
	display: grid;
	gap: 8px;
	margin: 18px 0;
	border: 0;
	padding: 0;
}

.payment-provider-list legend {
	margin-bottom: 8px;
}

.payment-provider-list label {
	display: grid;
	grid-template-columns: 20px minmax(0, 1fr);
	align-items: center;
	gap: 12px;
	border: 1px solid rgba(199, 155, 82, 0.28);
	border-radius: 4px;
	padding: 12px;
	background: rgba(5, 4, 3, 0.48);
}

.payment-provider-list input {
	width: 18px;
	height: 18px;
	margin: 0;
	accent-color: var(--gold);
}

.payment-provider-list span,
.payment-provider-list strong,
.payment-provider-list small {
	display: block;
}

.payment-provider-list small {
	margin-top: 2px;
	color: var(--muted);
}

@media (max-width: 640px) {
	.shop-modal .shop-dialog {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.shop-modal .shop-dialog > img {
		height: 180px;
		min-height: 180px;
	}

	.shop-dialog-warning {
		align-items: stretch;
		flex-direction: column;
	}
}

.rankings-page {
	padding: 64px 0 90px;
}

.rankings-header {
	max-width: 720px;
	margin-bottom: 28px;
}

.rankings-header h1 {
	margin-bottom: 12px;
	color: #f4ead9;
	font-family: Cinzel, "Cormorant Garamond", Marcellus, Georgia, serif;
	font-size: clamp(44px, 7vw, 72px);
	font-weight: 500;
	line-height: 1;
}

.ranking-tabs {
	display: flex;
	gap: 4px;
	margin-bottom: 20px;
	border-bottom: 1px solid rgba(199, 155, 82, 0.24);
}

.ranking-tabs a {
	position: relative;
	padding: 12px 18px;
	color: var(--muted);
	font-size: 12px;
	font-weight: 800;
	text-transform: uppercase;
}

.ranking-tabs a[aria-current="page"],
.ranking-tabs a:hover {
	color: var(--gold-strong);
}

.ranking-tabs a[aria-current="page"]::after {
	position: absolute;
	right: 12px;
	bottom: -1px;
	left: 12px;
	height: 2px;
	background: var(--gold-strong);
	content: "";
}

.ranking-table-wrap {
	overflow-x: auto;
	border: 1px solid rgba(199, 155, 82, 0.3);
	border-radius: 6px;
	background: rgba(8, 7, 6, 0.88);
	box-shadow: 0 22px 60px rgba(0, 0, 0, 0.34);
}

.ranking-table {
	width: 100%;
	min-width: 580px;
	border-collapse: collapse;
}

.ranking-table th,
.ranking-table td {
	padding: 15px 18px;
	border-bottom: 1px solid rgba(199, 155, 82, 0.14);
	text-align: left;
}

.ranking-table th {
	background: rgba(199, 155, 82, 0.07);
	color: #d7a94f;
	font-size: 11px;
	text-transform: uppercase;
}

.ranking-table tbody tr:hover {
	background: rgba(199, 155, 82, 0.045);
}

.ranking-table td:first-child {
	width: 76px;
	color: var(--gold-strong);
}

.ranking-table td b {
	color: #f4ead9;
}

.empire-label {
	display: inline-flex;
	align-items: center;
	gap: 7px;
}

.empire-label::before {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #7d705f;
	content: "";
}

.empire-1::before {
	background: #b94e42;
}

.empire-2::before {
	background: #d2a747;
}

.empire-3::before {
	background: #4779ad;
}

.ranking-empty {
	padding: 30px;
	color: var(--muted);
	text-align: center;
}

@media (max-width: 760px) {
	.rankings-page {
		width: calc(100% - 28px);
		padding: 38px 0 64px;
	}

	.ranking-table th,
	.ranking-table td {
		padding: 12px 14px;
	}

}

.shop-item-unavailable {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	margin-top: auto;
	border: 1px solid rgba(255, 255, 255, 0.14);
	color: var(--muted);
	font-size: 0.8rem;
	font-weight: 700;
	text-transform: uppercase;
}

.shop-purchase-page {
	width: min(740px, calc(100% - 48px));
	margin: 0 auto;
	padding: clamp(24px, 4vw, 48px) 0 64px;
}

.shop-purchase-back {
	display: inline-block;
	margin-bottom: 16px;
	color: var(--gold-strong);
}

.shop-purchase-layout {
	display: grid;
	grid-template-columns: minmax(280px, 0.8fr) minmax(320px, 1fr);
	gap: 64px;
	align-items: center;
}

.shop-purchase-media {
	aspect-ratio: 1;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.12);
	display: grid;
	place-items: center;
	overflow: hidden;
}

.shop-purchase-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.shop-purchase-summary h1 {
	font-size: 3rem;
	letter-spacing: 0;
	margin: 8px 0 16px;
}

.shop-purchase-summary > p:not(.eyebrow) {
	color: var(--muted);
	line-height: 1.7;
}

.shop-purchase-summary dl {
	margin: 28px 0;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.shop-purchase-summary dl div {
	display: flex;
	justify-content: space-between;
	gap: 24px;
	padding: 14px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.shop-purchase-summary dt {
	color: var(--muted);
}

.shop-purchase-summary dd {
	margin: 0;
	font-weight: 700;
	text-align: right;
}

.shop-purchase-summary form .btn,
.shop-purchase-summary > .btn {
	width: 100%;
}

.shop-purchase-note {
	font-size: 0.78rem;
	margin-top: 16px;
}

@media (max-width: 720px) {
	.shop-purchase-page {
		width: min(740px, calc(100% - 28px));
	}

	.shop-purchase-layout {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.shop-purchase-media {
		max-height: 360px;
	}

	.shop-purchase-summary h1 {
		font-size: 2.25rem;
	}
}

/* Premium homepage */
:root {
	--bg: #050403;
	--bg-alt: #0a0908;
	--surface: #120f0c;
	--surface-strong: #18120e;
	--surface-soft: #0d0b09;
	--text: #f2e6d0;
	--muted: #b8a98f;
	--muted-strong: #7d705f;
	--line: rgba(199, 155, 82, 0.28);
	--gold: #c79b52;
	--gold-strong: #e5c27a;
	--bronze: #a86b2d;
	--ink: #080706;
}

body {
	background:
		radial-gradient(circle at 50% 0%, rgba(199, 155, 82, 0.08), transparent 44rem),
		radial-gradient(circle at 20% 28%, rgba(168, 107, 45, 0.09), transparent 34rem),
		linear-gradient(180deg, #050403 0%, #090807 44%, #050403 100%);
	color: var(--text);
	font-family: Inter, "Source Sans Pro", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Arial, sans-serif;
}

h1,
h2,
h3,
.site-nav a,
.eyebrow {
	font-family: Cinzel, "Cormorant Garamond", Marcellus, Georgia, serif;
	letter-spacing: 0;
}

a,
button,
select {
	transition:
		transform 180ms ease,
		box-shadow 180ms ease,
		border-color 180ms ease,
		color 180ms ease,
		background 180ms ease,
		opacity 180ms ease;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
	outline: 2px solid var(--gold-strong);
	outline-offset: 3px;
}

.container {
	width: min(1180px, calc(100% - 48px));
	margin: 0 auto;
}

.section {
	position: relative;
	padding: 24px 0;
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	min-height: 44px;
	border-radius: 4px;
	padding: 12px 20px;
	font-size: 13px;
	font-weight: 800;
	line-height: 1.25;
	text-align: center;
	text-transform: uppercase;
}

.btn-primary {
	border: 1px solid rgba(255, 232, 178, 0.58);
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.22), transparent 42%),
		linear-gradient(135deg, #e5c27a 0%, #c79b52 46%, #8f541d 100%);
	color: #1a1008;
	box-shadow: 0 0 26px rgba(199, 155, 82, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.32);
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.18);
}

.btn-primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 0 38px rgba(229, 194, 122, 0.36), 0 12px 28px rgba(0, 0, 0, 0.24);
}

.btn-secondary {
	border: 1px solid rgba(199, 155, 82, 0.42);
	background: rgba(13, 10, 8, 0.58);
	color: var(--gold-strong);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.btn-secondary:hover {
	transform: translateY(-2px);
	border-color: rgba(229, 194, 122, 0.78);
	background: rgba(199, 155, 82, 0.12);
}

.btn-large {
	min-height: 54px;
	padding: 16px 28px;
	font-size: 14px;
}

.card {
	border: 1px solid var(--line);
	border-radius: 8px;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent),
		var(--surface);
}

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

.eyebrow {
	display: inline-flex;
	margin-bottom: 14px;
	color: var(--gold-strong);
	font-size: 12px;
	font-weight: 800;
	text-transform: uppercase;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	border-bottom: 1px solid rgba(199, 155, 82, 0.18);
	background: rgba(8, 7, 6, 0.76);
	backdrop-filter: blur(14px);
	box-shadow: 0 18px 46px rgba(0, 0, 0, 0.32);
}

.header-inner {
	display: grid;
	grid-template-columns: 150px minmax(0, 1fr) auto;
	align-items: center;
	gap: 20px;
	width: min(1240px, calc(100% - 40px));
	min-height: 70px;
	padding: 8px 0;
}

.brand img {
	width: 116px;
	filter: drop-shadow(0 0 18px rgba(199, 155, 82, 0.22));
}

.site-nav {
	justify-content: center;
	gap: 4px;
}

.site-nav a {
	position: relative;
	border: 0;
	border-radius: 0;
	padding: 12px 13px;
	color: var(--muted);
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
}

.site-nav a::after {
	position: absolute;
	left: 50%;
	bottom: 4px;
	width: 0;
	height: 2px;
	background: linear-gradient(90deg, transparent, var(--gold-strong), transparent);
	content: "";
	transform: translateX(-50%);
	transition: width 180ms ease;
}

.site-nav a:hover,
.site-nav a[aria-current] {
	color: var(--gold-strong);
}

.site-nav a:hover::after,
.site-nav a[aria-current]::after {
	width: 28px;
}

.header-actions {
	justify-content: flex-end;
	gap: 12px;
}

.logout-form {
	margin: 0;
}

.ghost-button {
	min-height: 40px;
	border: 1px solid rgba(199, 155, 82, 0.24);
	border-radius: 4px;
	padding: 8px 12px;
	background: rgba(18, 16, 14, 0.5);
	color: var(--muted);
	font-size: 12px;
	font-weight: 800;
	text-transform: uppercase;
}

.ghost-button:hover {
	border-color: rgba(229, 194, 122, 0.58);
	color: var(--gold-strong);
}

.nav-play {
	min-height: 40px;
	padding: 12px 18px;
	font-size: 12px;
}

.account-name {
	max-width: 140px;
	overflow: hidden;
	color: var(--gold-strong);
	font-size: 13px;
	font-weight: 800;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.language-form {
	display: flex;
	align-items: center;
	gap: 8px;
}

.language-form select {
	width: auto;
	min-width: 58px;
	min-height: 40px;
	border: 1px solid rgba(199, 155, 82, 0.34);
	border-radius: 4px;
	padding: 8px 12px;
	background: rgba(18, 16, 14, 0.84);
	color: var(--text);
	font-size: 12px;
	font-weight: 800;
	text-transform: uppercase;
}

.language-submit {
	min-height: 40px;
	border: 1px solid rgba(199, 155, 82, 0.22);
	border-radius: 4px;
	padding: 8px 10px;
	background: transparent;
	color: var(--muted);
	font-size: 12px;
}

.language-submit:hover {
	border-color: rgba(229, 194, 122, 0.58);
	color: var(--gold-strong);
}

.hero {
	position: relative;
	isolation: isolate;
	min-height: clamp(720px, 82vh, 960px);
	overflow: hidden;
	background: #080706;
}

.hero::before {
	position: absolute;
	inset: 0;
	pointer-events: none;
	content: "";
}

.hero::before {
	z-index: -2;
	background:
		radial-gradient(circle at 28% 50%, rgba(199, 155, 82, 0.14), transparent 26rem),
		radial-gradient(circle at 67% 35%, rgba(168, 107, 45, 0.18), transparent 30rem);
}

.hero-embers {
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image:
		radial-gradient(circle, rgba(229, 194, 122, 0.7) 0 1px, transparent 2px),
		radial-gradient(circle, rgba(168, 107, 45, 0.55) 0 1px, transparent 2px);
	background-position: 12% 76%, 64% 46%;
	background-size: 180px 180px, 260px 260px;
	filter: blur(0.2px);
	opacity: 0.22;
	animation: ember-drift 12s linear infinite alternate;
}

.hero-inner {
	display: flex;
	align-items: center;
	min-height: clamp(720px, 82vh, 960px);
	padding: 80px 0 110px;
}

.hero-copy {
	width: min(600px, 100%);
	margin: auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.hero-logo {
	display: block;
	height: auto;
	width: min(470px, 86vw);
	margin: 0 0 10px -12px;
	filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.65)) drop-shadow(0 0 18px rgba(199, 155, 82, 0.2));
}

.hero h1 {
	max-width: 620px;
	margin: 0 0 22px;
	color: var(--text);
	font-size: clamp(36px, 5vw, 70px);
	line-height: 0.98;
	text-shadow: 0 8px 34px rgba(0, 0, 0, 0.72);
	text-align:center;
}

.hero-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 9px;
	margin: 0 0 28px;
	padding: 0;
	list-style: none;
	align-items: center;
	justify-content: center;
}

.hero-tags li {
	border: 1px solid rgba(199, 155, 82, 0.28);
	border-radius: 6px;
	padding: 8px 12px;
	background: rgba(8, 7, 6, 0.54);
	color: var(--gold-strong);
	font-size: 12px;
	font-weight: 800;
	text-transform: uppercase;
	box-shadow: inset 0 0 18px rgba(255, 255, 255, 0.025);
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 30px;
}

.hero-stats {
	display: none;
	flex-wrap: wrap;
	gap: 14px;
}

.hero-stats div {
	min-width: 174px;
	border-left: 2px solid rgba(199, 155, 82, 0.55);
	padding-left: 14px;
}

.hero-stats strong {
	display: block;
	color: var(--gold-strong);
	font-family: Inter, "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Arial, sans-serif;
	font-variant-numeric: tabular-nums lining-nums;
	font-feature-settings: "tnum" 1, "lnum" 1;
	font-size: 26px;
	line-height: 1;
}

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

.feature-strip {
	margin-top: -52px;
	padding-top: 0;
}

.feature-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	border: 1px solid rgba(199, 155, 82, 0.2);
	border-radius: 8px;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent),
		rgba(18, 16, 14, 0.9);
	box-shadow: 0 22px 70px rgba(0, 0, 0, 0.34);
	backdrop-filter: blur(10px);
}

.feature-card {
	position: relative;
	min-height: 214px;
	padding: 28px 24px;
	transition:
		transform 180ms ease,
		box-shadow 180ms ease,
		border-color 180ms ease;
}

.feature-card + .feature-card {
	border-left: 1px solid rgba(199, 155, 82, 0.16);
}

.feature-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 20px 42px rgba(0, 0, 0, 0.26);
}

.feature-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 46px;
	height: 30px;
	margin-bottom: 18px;
	border: 1px solid rgba(199, 155, 82, 0.35);
	border-radius: 999px;
	color: var(--gold-strong);
	font-size: 10px;
	font-weight: 900;
}

.feature-card h2 {
	margin-bottom: 10px;
	font-size: 22px;
	line-height: 1.1;
}

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

.update-section {
	padding-top: 40px;
}

.update-banner {
	position: relative;
	min-height: 390px;
	overflow: hidden;
	background-color: #080706;
	border: 1px solid rgba(199, 155, 82, 0.24);
	border-radius: 8px;
	box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

.update-art {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.update-banner::after {
	position: absolute;
	inset: 0;
	background:
		radial-gradient(circle at 28% 52%, rgba(199, 155, 82, 0.16), transparent 24rem),
		linear-gradient(180deg, transparent 60%, rgba(8, 7, 6, 0.55)),
		linear-gradient(90deg, rgba(5, 4, 3, 0.92) 0%, rgba(5, 4, 3, 0.74) 42%, rgba(5, 4, 3, 0.24) 100%),
		linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent);
	content: "";
	pointer-events: none;
}

.update-copy {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	width: min(560px, 100%);
	min-height: 390px;
	padding: clamp(28px, 5vw, 58px);
}

.update-copy h2,
.section-heading h2,
.community-card h2,
.shop-download h2 {
	margin: 0;
	font-size: clamp(32px, 4vw, 52px);
	line-height: 1.02;
}

.update-copy p {
	margin: 18px 0 24px;
	color: var(--muted);
	font-size: 17px;
}

.section-heading {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 26px;
}

.section-heading a {
	color: var(--gold-strong);
	font-size: 13px;
	font-weight: 900;
	text-transform: uppercase;
}

.news-card-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
}

.news-card {
	overflow: hidden;
	border: 1px solid rgba(199, 155, 82, 0.18);
	border-radius: 8px;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent),
		var(--surface);
	box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
	transition:
		transform 180ms ease,
		box-shadow 180ms ease,
		border-color 180ms ease;
}

.news-card:hover {
	transform: translateY(-4px);
	border-color: rgba(229, 194, 122, 0.5);
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.34), 0 0 30px rgba(199, 155, 82, 0.08);
}

.news-card-media {
	display: block;
	overflow: hidden;
	aspect-ratio: 16 / 9;
	background: var(--surface-soft);
}

.news-card-media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 260ms ease;
}

.news-card:hover .news-card-media img {
	transform: scale(1.05);
}

.news-card-body {
	padding: 20px;
}

.news-card time {
	display: block;
	margin-bottom: 9px;
	color: var(--gold-strong);
	font-size: 12px;
	font-weight: 900;
	text-transform: uppercase;
}

.news-card h3 {
	margin-bottom: 10px;
	font-size: 23px;
	line-height: 1.1;
}

.news-card p {
	display: -webkit-box;
	margin-bottom: 0;
	overflow: hidden;
	color: var(--muted);
	font-size: 15px;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
}

.read-more {
	color: var(--gold-strong);
	font-size: 13px;
	font-weight: 900;
	text-transform: uppercase;
}

.stats-strip {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	border: 1px solid rgba(199, 155, 82, 0.22);
	border-radius: 8px;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent),
		rgba(18, 16, 14, 0.92);
	box-shadow: 0 22px 62px rgba(0, 0, 0, 0.26);
}

.stat-item {
	display: grid;
	justify-items: center;
	gap: 8px;
	padding: 32px 18px;
	text-align: center;
}

.stat-item + .stat-item {
	border-left: 1px solid rgba(199, 155, 82, 0.18);
}

.stat-item span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 38px;
	height: 28px;
	border: 1px solid rgba(199, 155, 82, 0.3);
	border-radius: 999px;
	color: var(--muted);
	font-size: 10px;
	font-weight: 900;
}

.stat-item strong {
	color: var(--gold-strong);
	font-family: Inter, "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Arial, sans-serif;
	font-variant-numeric: tabular-nums lining-nums;
	font-feature-settings: "tnum" 1, "lnum" 1;
	font-size: clamp(28px, 4vw, 42px);
	line-height: 1;
}

.stat-item small {
	color: var(--muted);
	font-size: 12px;
	font-weight: 900;
	text-transform: uppercase;
}

.community-grid {
	display: grid;
	grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
	gap: 24px;
}

.community-card,
.ranking-card,
.shop-download-inner {
	position: relative;
	overflow: hidden;
	border: 1px solid rgba(199, 155, 82, 0.22);
	border-radius: 8px;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent),
		var(--surface);
	box-shadow: 0 20px 58px rgba(0, 0, 0, 0.24);
}

.community-card {
	min-height: 360px;
	padding: clamp(28px, 5vw, 46px);
}

.community-card h2 {
	margin-bottom: 16px;
}

.community-card p {
	position: relative;
	z-index: 1;
	max-width: 500px;
	margin-bottom: 24px;
	color: var(--muted);
	font-size: 17px;
}

.discord-watermark {
	position: absolute;
	right: -32px;
	bottom: -34px;
	width: 230px;
	height: 230px;
	object-fit: contain;
	opacity: 0.08;
	filter: grayscale(1);
}

.ranking-card {
	padding: 28px;
}

.section-heading.compact {
	align-items: center;
	margin-bottom: 18px;
}

.section-heading.compact h2 {
	font-size: 34px;
}

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

.guild-list li {
	display: grid;
	grid-template-columns: 34px 42px minmax(0, 1fr) auto auto;
	align-items: center;
	gap: 12px;
	border: 1px solid rgba(199, 155, 82, 0.15);
	border-radius: 7px;
	padding: 14px;
	background: rgba(8, 7, 6, 0.34);
}

.rank-number {
	color: var(--gold-strong);
	font-family: Cinzel, Georgia, serif;
	font-size: 22px;
	font-weight: 900;
}

.guild-emblem {
	width: 38px;
	height: 38px;
	border: 1px solid rgba(199, 155, 82, 0.3);
	border-radius: 50%;
	background:
		radial-gradient(circle at 35% 28%, rgba(229, 194, 122, 0.6), transparent 28%),
		linear-gradient(135deg, rgba(199, 155, 82, 0.2), rgba(168, 107, 45, 0.16));
	box-shadow: inset 0 0 18px rgba(0, 0, 0, 0.44);
}

.guild-list strong {
	overflow: hidden;
	font-size: 16px;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.guild-list small {
	color: var(--muted);
	font-size: 12px;
	font-weight: 800;
	text-transform: uppercase;
}

.guild-list b {
	color: var(--gold-strong);
	font-variant-numeric: tabular-nums lining-nums;
	font-feature-settings: "tnum" 1, "lnum" 1;
	font-size: 14px;
	white-space: nowrap;
}

.shop-download {
	padding-top: 22px;
}

.shop-download-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 34px;
	background:
		linear-gradient(90deg, rgba(8, 7, 6, 0.88), rgba(18, 16, 14, 0.74)),
		url("/assets/images/home/news-launch.png") center / cover no-repeat;
}

.shop-download h2 {
	max-width: 680px;
}

.shop-download-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 12px;
}

.article-page {
	padding: 72px 0 96px;
}

.article-page .back-link {
	margin-bottom: 18px;
	color: var(--gold-strong);
}

.article-page time {
	display: block;
	margin: 20px 0 8px;
	color: var(--gold-strong);
	font-size: 13px;
	font-weight: 900;
	text-transform: uppercase;
}

.article-page h1 {
	max-width: 900px;
	margin-bottom: 18px;
	font-size: clamp(38px, 6vw, 72px);
	line-height: 1;
}

.article-page p {
	max-width: 860px;
	color: var(--muted);
	font-size: 18px;
	white-space: pre-line;
}

.article-page .article-image {
	width: 100%;
	max-height: 520px;
	border: 1px solid rgba(199, 155, 82, 0.2);
	border-radius: 8px;
	object-fit: cover;
}

.site-footer {
	border-top: 1px solid rgba(199, 155, 82, 0.18);
	background:
		radial-gradient(circle at 18% 0%, rgba(168, 107, 45, 0.12), transparent 28rem),
		#080706;
}

.site-footer .footer-inner {
	display: grid;
	grid-template-columns: minmax(260px, 1.6fr) repeat(3, minmax(130px, 0.7fr)) minmax(190px, 0.9fr);
	align-items: start;
	gap: 30px;
	padding: 54px 0 32px;
}

.footer-brand img {
	width: 150px;
	margin-bottom: 16px;
	filter: drop-shadow(0 0 18px rgba(199, 155, 82, 0.18));
}

.footer-about p,
.footer-status p {
	max-width: 330px;
	margin-bottom: 18px;
	color: var(--muted);
}

.footer-socials {
	display: flex;
	gap: 10px;
}

.footer-socials a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border: 1px solid rgba(199, 155, 82, 0.24);
	border-radius: 50%;
	background: rgba(18, 16, 14, 0.86);
	color: var(--gold-strong);
	font-weight: 900;
}

.footer-column {
	display: grid;
	gap: 9px;
}

.footer-column h2,
.footer-status h2 {
	margin-bottom: 7px;
	color: var(--text);
	font-size: 15px;
	text-transform: uppercase;
}

.footer-column a {
	color: var(--muted);
	font-size: 14px;
}

.footer-column a:hover,
.footer-socials a:hover {
	color: var(--gold-strong);
}

.footer-status strong {
	display: block;
	margin-bottom: 4px;
	color: #8fd29b;
}

.footer-status .btn {
	min-height: 38px;
	padding: 10px 14px;
	font-size: 12px;
}

.footer-bottom {
	border-top: 1px solid rgba(199, 155, 82, 0.14);
	padding: 18px 0 24px;
	color: var(--muted);
	font-size: 13px;
}

@keyframes ember-drift {
	from {
		transform: translate3d(0, 10px, 0);
	}

	to {
		transform: translate3d(18px, -24px, 0);
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}

@media (max-width: 1100px) {
	.header-inner {
		grid-template-columns: auto 1fr;
	}

	.site-nav {
		order: 3;
		grid-column: 1 / -1;
		justify-content: center;
	}

	.feature-grid,
	.stats-strip {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.feature-card:nth-child(3) {
		border-left: 0;
		border-top: 1px solid rgba(199, 155, 82, 0.16);
	}

	.feature-card:nth-child(4) {
		border-top: 1px solid rgba(199, 155, 82, 0.16);
	}

	.stat-item:nth-child(3) {
		border-left: 0;
		border-top: 1px solid rgba(199, 155, 82, 0.18);
	}

	.stat-item:nth-child(4) {
		border-top: 1px solid rgba(199, 155, 82, 0.18);
	}

	.community-grid,
	.site-footer .footer-inner {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 860px) {
	.section {
		padding: 54px 0;
	}

	.hero,
	.hero-inner {
		min-height: 700px;
	}

	.hero-inner {
		align-items: flex-end;
		padding-bottom: 90px;
	}

	.hero-copy {
		text-align: left;
	}

	.hero-logo {
		width: min(390px, 84vw);
	}

	.news-card-grid,
	.community-grid {
		grid-template-columns: 1fr;
	}

	.shop-download-inner {
		align-items: flex-start;
		flex-direction: column;
	}

	.shop-download-actions {
		justify-content: flex-start;
	}
}

@media (max-width: 640px) {
	.container,
	.header-inner {
		width: min(100% - 28px, 1240px);
	}

	.header-inner {
		grid-template-columns: 1fr;
		gap: 8px;
		justify-items: center;
	}

	.brand img {
		width: 104px;
	}

	.site-nav {
		gap: 0;
	}

	.site-nav a {
		padding: 9px 8px;
		font-size: 11px;
	}

	.header-actions {
		justify-content: center;
	}

	.hero,
	.hero-inner {
		min-height: 680px;
	}

	.hero-inner {
		padding: 46px 0 74px;
	}

	.hero h1 {
		font-size: clamp(34px, 12vw, 52px);
	}

	.hero-actions,
	.hero-stats,
	.shop-download-actions {
		display: grid;
		grid-template-columns: 1fr;
	}

	.hero-actions .btn,
	.shop-download-actions .btn {
		width: 100%;
	}

	.hero-stats div {
		min-width: 0;
	}

	.feature-strip {
		margin-top: -26px;
	}

	.feature-grid,
	.stats-strip,
	.site-footer .footer-inner {
		grid-template-columns: 1fr;
	}

	.feature-card + .feature-card,
	.feature-card:nth-child(3),
	.feature-card:nth-child(4),
	.stat-item + .stat-item,
	.stat-item:nth-child(3),
	.stat-item:nth-child(4) {
		border-left: 0;
		border-top: 1px solid rgba(199, 155, 82, 0.16);
	}

	.update-banner {
		min-height: 470px;
	}

	.update-copy {
		min-height: 470px;
	}

	.section-heading {
		align-items: flex-start;
		flex-direction: column;
	}

	.guild-list li {
		grid-template-columns: 28px 36px minmax(0, 1fr);
	}

	.guild-list small,
	.guild-list b {
		grid-column: 3;
	}
}

/* Homepage reference tuning */
.header-inner {
	width: min(1180px, calc(100% - 48px));
}

.btn-secondary {
	background: rgba(7, 6, 5, 0.78);
}

.hero,
.hero-inner {
	min-height: clamp(650px, 78vh, 960px);
}

.hero-inner {
	padding: 62px 0 94px;
}

.hero-logo {
	width: min(500px, 86vw);
	margin-bottom: 8px;
}

.hero h1 {
	margin-bottom: 24px;
	font-size: clamp(28px, 3vw, 46px);
	font-weight: 500;
	text-transform: uppercase;
}

.hero-stats div {
	border-left: 1px solid rgba(199, 155, 82, 0.2);
	padding-left: 18px;
}

.hero-stats strong {
	font-size: 24px;
	font-weight: 500;
}

.feature-strip {
	margin-top: -36px;
	padding-bottom: 0;
}

.feature-grid,
.news-panel,
.stats-strip,
.community-card,
.ranking-card,
.shop-download-inner {
	border: 1px solid rgba(199, 155, 82, 0.35);
	background:
		radial-gradient(circle at 50% 0%, rgba(199, 155, 82, 0.075), transparent 34rem),
		linear-gradient(180deg, rgba(255, 255, 255, 0.026), transparent),
		rgba(12, 10, 8, 0.94);
	box-shadow: 0 18px 48px rgba(0, 0, 0, 0.32);
}

.feature-card {
	min-height: 210px;
	padding: 34px 26px 28px;
	text-align: center;
}

.feature-card + .feature-card {
	border-left-color: rgba(199, 155, 82, 0.18);
}

.feature-icon {
	width: 58px;
	height: 58px;
	margin-bottom: 18px;
	border-color: rgba(199, 155, 82, 0.24);
	border-radius: 50%;
	background:
		radial-gradient(circle, rgba(229, 194, 122, 0.16), transparent 58%),
		rgba(5, 4, 3, 0.34);
	font-family: Georgia, serif;
	font-size: 30px;
	font-weight: 400;
	line-height: 1;
}

.feature-card h2,
.news-card h3,
.update-copy h2,
.community-card h2 {
	color: var(--gold-strong);
	font-weight: 500;
}

.feature-card h2 {
	font-size: 21px;
	text-transform: uppercase;
}

.feature-card p,
.news-card p {
	font-size: 14px;
	line-height: 1.45;
}

.update-section {
	padding-top: 24px;
}

.update-banner {
	min-height: 360px;
	border-color: rgba(199, 155, 82, 0.35);
	box-shadow: 0 18px 48px rgba(0, 0, 0, 0.34);
}

.update-copy {
	min-height: 360px;
	padding: clamp(28px, 5vw, 54px);
}

.update-copy h2,
.section-heading h2,
.community-card h2,
.shop-download h2 {
	font-size: clamp(31px, 3.3vw, 46px);
}

.news-section {
	padding-top: 0;
}

.news-panel {
	overflow: hidden;
	border-radius: 8px;
	padding: 28px 30px 30px;
}

.section-heading {
	margin-bottom: 22px;
}

.section-heading a,
.read-more {
	font-size: 12px;
}

#news-title {
	font-size: clamp(23px, 3vw, 32px);
	margin: 0;
}

.news-card-grid {
	gap: 18px;
}

.news-card {
	border-color: rgba(199, 155, 82, 0.24);
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent),
		rgba(7, 6, 5, 0.9);
	box-shadow: none;
}

.news-card-body {
	padding: 18px 18px 20px;
}

.news-card h3 {
	font-size: 21px;
}

.stats-strip {
	border-radius: 8px;
}

.stat-item {
	padding: 34px 18px 30px;
}

.stat-item span {
	width: 44px;
	height: 44px;
	border-color: rgba(199, 155, 82, 0.22);
	background: rgba(5, 4, 3, 0.24);
	color: var(--gold-strong);
	font-family: Georgia, serif;
	font-size: 24px;
	font-weight: 400;
}

.stat-item strong {
	font-size: clamp(28px, 3.5vw, 38px);
	font-weight: 500;
}

.community-grid {
	gap: 26px;
}

.community-card {
	min-height: 308px;
	padding: clamp(28px, 5vw, 34px);
}

.community-card h2 {
	text-transform: uppercase;
}

.ranking-card {
	padding: 28px 26px;
}

.section-heading.compact h2 {
	font-size: 18px;
	font-weight: 800;
	text-transform: uppercase;
}

.guild-list li {
	grid-template-columns: 34px 48px minmax(0, 1fr) auto auto;
	border-color: rgba(199, 155, 82, 0.22);
	padding: 12px 16px;
	background: rgba(5, 4, 3, 0.52);
}

.guild-emblem {
	width: 44px;
	height: 44px;
}

.shop-download {
	padding-top: 22px;
}

.site-footer {
	margin-top: 24px;
}

@media (max-width: 860px) {
	.news-panel {
		padding: 22px;
	}
}

@media (max-width: 640px) {
	.container,
	.header-inner {
		width: min(100% - 28px, 1180px);
	}

	.hero,
	.hero-inner {
		min-height: 680px;
	}

	.hero h1 {
		font-size: clamp(30px, 10vw, 44px);
	}

	.hero-tags {
		gap: 10px 18px;
	}

	.news-panel {
		padding: 18px;
	}
}

/* Homepage spacing polish */
.feature-strip,
.update-section,
.news-section,
main > section[aria-label="Server statistics"],
.community-rankings,
.shop-download {
	padding-top: 0;
	padding-bottom: 0;
}

.feature-strip {
	margin-bottom: 0;
}

.feature-strip + .update-section,
.update-section + .news-section,
.news-section + section[aria-label="Server statistics"],
section[aria-label="Server statistics"] + .community-rankings,
.community-rankings + .shop-download,
.community-rankings {
	margin-top: 28px;
}

.shop-download-actions {
	display: grid;
	grid-template-columns: repeat(2, minmax(190px, 1fr));
	align-items: stretch;
}

.shop-download-actions .btn {
	width: 100%;
}

@media (max-width: 640px) {
	.feature-strip + .update-section,
	.update-section + .news-section,
	.news-section + section[aria-label="Server statistics"],
	section[aria-label="Server statistics"] + .community-rankings,
	.community-rankings + .shop-download {
		margin-top: 22px;
	}

	.shop-download-actions {
		grid-template-columns: 1fr;
	}
}

/* Visual cohesion polish */
:root {
	--panel-bg: rgba(12, 10, 8, 0.94);
	--panel-bg-strong: rgba(7, 6, 5, 0.92);
	--panel-border: rgba(199, 155, 82, 0.34);
	--panel-border-soft: rgba(199, 155, 82, 0.2);
	--copy: #d3c4a9;
}

body {
	color: var(--text);
	font-size: 15px;
}

p {
	color: var(--copy);
}

.language-submit {
	min-height: 38px;
	padding: 6px 10px;
	border: 1px solid var(--panel-border);
	border-radius: 4px;
	background: var(--panel-bg-strong);
	color: var(--gold-strong);
}

.language-form select {
	min-width: 62px;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent),
		rgba(8, 7, 6, 0.88);
	color: var(--gold-strong);
	text-align: center;
	text-transform: uppercase;
}

.site-nav a,
.nav-play,
.language-form select,
.ghost-button {
	font-family: Inter, "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Arial, sans-serif;
	letter-spacing: 0;
}

.hero h1,
.update-copy h2,
.section-heading h2,
.community-card h2,
.shop-download h2,
.news-card h3,
.feature-card h2 {
	text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55);
}

.hero-logo {
	filter: drop-shadow(0 14px 26px rgba(0, 0, 0, 0.72)) drop-shadow(0 0 18px rgba(199, 155, 82, 0.16));
}

.hero h1 {
	max-width: 560px;
	margin-right: auto;
	margin-left: auto;
	color: #f4ead9;
	line-height: 1.03;
}

.hero-tags {
	justify-content: center;
}

.hero-tags li {
	color: #d9b969;
}

.feature-grid,
.news-panel,
.stats-strip,
.community-card,
.ranking-card,
.shop-download-inner {
	border-color: var(--panel-border);
	background:
		radial-gradient(circle at 50% 0%, rgba(199, 155, 82, 0.07), transparent 34rem),
		linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent),
		var(--panel-bg);
}

.feature-card p,
.news-card p,
.update-copy p,
.community-card p,
.footer-about p,
.footer-status p {
	color: var(--copy);
}

.feature-icon,
.stat-item span {
	border-color: rgba(199, 155, 82, 0.3);
	background:
		radial-gradient(circle at 50% 45%, rgba(229, 194, 122, 0.14), transparent 58%),
		rgba(5, 4, 3, 0.46);
	color: #d6aa58;
	box-shadow: inset 0 0 18px rgba(0, 0, 0, 0.38), 0 0 18px rgba(199, 155, 82, 0.08);
}

.feature-card h2,
.news-card h3,
.update-copy h2,
.community-card h2,
.stat-item strong {
	color: #dfbd73;
}

.news-card {
	border-color: var(--panel-border-soft);
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent),
		var(--panel-bg-strong);
}

.news-card time,
.eyebrow,
.read-more,
.section-heading a {
	color: #d7a94f;
}

.update-banner {
	border-color: var(--panel-border);
}

.update-copy {
	background: linear-gradient(90deg, rgba(5, 4, 3, 0.22), transparent);
}

.stats-strip {
	overflow: hidden;
}

.stat-item small,
.hero-stats span {
	color: #bcae96;
}

.guild-list li {
	border-color: var(--panel-border-soft);
	background: rgba(5, 4, 3, 0.56);
}

.guild-list strong {
	color: #f0e3cc;
}

.guild-list small {
	color: #a9997e;
}

.btn {
	letter-spacing: 0;
}

.btn-primary {
	color: #160f08;
	background:
		linear-gradient(180deg, rgba(255, 244, 209, 0.86), rgba(203, 151, 70, 0.92) 48%, rgba(135, 78, 25, 0.96));
	box-shadow: 0 0 28px rgba(199, 155, 82, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.34);
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.24);
}

.btn-primary:hover {
	background:
		linear-gradient(180deg, rgba(255, 248, 222, 0.96), rgba(220, 169, 86, 0.95) 48%, rgba(151, 87, 29, 0.96));
}

.btn-secondary {
	color: #dfbd73;
	background: rgba(5, 4, 3, 0.78);
}

@media (max-width: 760px) {
	.site-header {
		background: rgba(5, 4, 3, 0.92);
	}

	.header-inner {
		gap: 6px;
	}

	.header-actions {
		gap: 8px;
	}

	.site-nav {
		width: 100%;
		justify-content: center;
		row-gap: 2px;
	}

	.site-nav a {
		padding: 7px 7px;
		font-size: 10px;
	}

	.nav-play,
	.language-form select {
		min-height: 34px;
	}

	.nav-play {
		padding: 9px 12px;
	}

	.language-form select {
		min-width: 54px;
		padding: 6px 8px;
	}

	.hero-logo {
		width: min(315px, 86vw);
		margin-right: auto;
		margin-left: auto;
	}

	.hero h1 {
		font-size: clamp(28px, 9vw, 38px);
		text-align: center;
	}

	.hero-actions {
		width: min(230px, 100%);
		margin-right: auto;
		margin-left: auto;
	}

	.hero-actions .btn {
		min-height: 42px;
		padding: 12px 16px;
	}

	.update-banner,
	.update-copy {
		min-height: 390px;
	}

	.update-copy {
		justify-content: flex-start;
		padding: 22px;
		background: linear-gradient(180deg, rgba(5, 4, 3, 0.42), transparent);
	}

	.update-copy p {
		font-size: 14px;
		line-height: 1.45;
	}

	.stats-strip {
		grid-template-columns: 1fr;
	}

	.stat-item {
		gap: 5px;
		padding: 22px 16px;
	}

	.stat-item span {
		width: 34px;
		height: 34px;
		font-size: 17px;
	}

	.stat-item strong {
		font-size: 29px;
	}

	.community-card p {
		font-size: 14px;
	}

	.guild-list li {
		grid-template-columns: 28px 38px minmax(0, 1fr);
		padding: 12px;
	}

	.guild-emblem {
		width: 36px;
		height: 36px;
	}

	.shop-download h2 {
		font-size: clamp(28px, 10vw, 36px);
	}
}

/* Presentation page theme alignment */
.presentation-page {
	width: min(1180px, calc(100% - 48px));
	padding: 34px 0 72px;
}

.presentation-hero {
	margin-bottom: 28px;
	border-color: var(--panel-border);
	background:
		linear-gradient(90deg, #17120c 40%, rgba(19, 14, 9, .90) 57%, rgba(19, 14, 9, .14)),
		var(--site-backdrop) right 27% / cover no-repeat;
	box-shadow: 0 16px 40px rgba(0, 0, 0, .28);
}

.presentation-hero .kicker,
.feature-copy span {
	color: #d7a94f;
}

.presentation-hero h1 {
	max-width: 22ch;
	color: #f4ead9;
	font-size: clamp(38px, 5vw, 60px);
	font-weight: 500;
	text-wrap: balance;
	text-shadow: 0 2px 22px rgba(0, 0, 0, 0.68);
}

.presentation-hero p:not(.kicker) {
	color: var(--copy);
}

.presentation-actions {
	gap: 12px;
}

.presentation-actions .primary-button,
.presentation-actions .outline-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	border-radius: 4px;
	padding: 12px 20px;
	font-family: Inter, "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Arial, sans-serif;
	font-size: 13px;
	font-weight: 800;
	text-transform: uppercase;
}

.presentation-actions .primary-button {
	border: 1px solid rgba(229, 194, 122, 0.72);
	background:
		linear-gradient(180deg, rgba(255, 244, 209, 0.86), rgba(203, 151, 70, 0.92) 48%, rgba(135, 78, 25, 0.96));
	color: #160f08;
	box-shadow: 0 0 28px rgba(199, 155, 82, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.34);
}

.presentation-actions .outline-button {
	border-color: rgba(199, 155, 82, 0.42);
	background: rgba(5, 4, 3, 0.78);
	color: #dfbd73;
}

.presentation-sidebar {
	border-color: var(--panel-border);
	background:
		radial-gradient(circle at 50% 0%, rgba(199, 155, 82, 0.07), transparent 22rem),
		linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent),
		var(--panel-bg);
	box-shadow: 0 16px 42px rgba(0, 0, 0, 0.26);
}

.presentation-sidebar a {
	border-radius: 4px;
	color: var(--copy);
	font-family: Inter, "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Arial, sans-serif;
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
}

.presentation-sidebar a:hover {
	border-color: rgba(199, 155, 82, 0.32);
	background: rgba(5, 4, 3, 0.54);
	color: #dfbd73;
}

.feature-stack {
	gap: 24px;
}

.feature-panel {
	border-color: var(--panel-border);
	background:
		radial-gradient(circle at 50% 0%, rgba(199, 155, 82, 0.07), transparent 30rem),
		linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent),
		var(--panel-bg);
	box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
}

.feature-copy span {
	border-color: rgba(199, 155, 82, 0.34);
	background: rgba(5, 4, 3, 0.46);
	font-family: Inter, "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Arial, sans-serif;
	font-weight: 800;
}

.feature-copy h2 {
	color: #dfbd73;
	font-weight: 500;
	text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55);
}

.feature-copy p,
.feature-copy li {
	color: var(--copy);
}

.feature-copy li::marker {
	color: #d7a94f;
}

.feature-media {
	border-color: var(--panel-border-soft);
	background: var(--panel-bg-strong);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.feature-media::after {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 58%, rgba(5, 4, 3, 0.42));
	content: "";
	pointer-events: none;
}

.feature-media figcaption {
	z-index: 1;
	border-color: rgba(199, 155, 82, 0.26);
	background: rgba(5, 4, 3, 0.72);
	color: var(--copy);
}

@media (max-width: 900px) {
	.presentation-page {
		width: min(100% - 36px, 1180px);
	}

	.presentation-sidebar nav {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 760px) {
	.presentation-page {
		width: min(100% - 28px, 1180px);
		padding-top: 22px;
	}

	.presentation-hero {
		padding: 24px;
		background: var(--panel-bg-strong);
	}

	.presentation-hero h1 {
		font-size: clamp(34px, 8.8vw, 47px);
	}

	.presentation-hero p:not(.kicker) {
		font-size: 15px;
	}

	.presentation-actions {
		display: grid;
		grid-template-columns: 1fr;
	}

	.presentation-actions .primary-button,
	.presentation-actions .outline-button {
		width: 100%;
	}

	.presentation-sidebar nav {
		grid-template-columns: 1fr;
	}

	.feature-copy {
		min-height: auto;
	}

	.feature-media,
	.feature-media img {
		min-height: 220px;
	}
}

/* Fixed hero background */
body {
	background:
		linear-gradient(180deg, rgba(5, 4, 3, 0.38), rgba(5, 4, 3, 0.82) 34%, rgba(5, 4, 3, 0.94) 100%),
		radial-gradient(circle at 50% 0%, rgba(199, 155, 82, 0.1), transparent 42rem),
		var(--site-backdrop) center top / cover fixed no-repeat,
		#050403;
}

/* Registration and account access */
.account-page,
.auth-shell {
	width: min(1180px, calc(100% - 48px));
}

.account-page {
	align-content: start;
	padding: clamp(28px, 5vw, 64px) 0 clamp(48px, 6vw, 80px);
}

.account-form,
.auth-panel {
	border: 1px solid var(--panel-border);
	border-radius: 8px;
	background:
		radial-gradient(circle at 50% 0%, rgba(199, 155, 82, 0.075), transparent 28rem),
		linear-gradient(180deg, rgba(255, 255, 255, 0.028), transparent),
		rgba(8, 7, 6, 0.88);
	box-shadow: 0 22px 60px rgba(0, 0, 0, 0.38);
	backdrop-filter: blur(4px);
}

.account-form {
	width: min(100%, 500px);
	max-width: 500px;
	min-width: 0;
	gap: 8px;
	padding: clamp(22px, 4vw, 34px);
}

.account-form .block-header {
	margin-bottom: 6px;
	border-bottom-color: rgba(199, 155, 82, 0.2);
}

.account-form .block-header h1,
.auth-panel h2 {
	color: #f4ead9;
	font-family: Cinzel, "Cormorant Garamond", Marcellus, Georgia, serif;
	font-size: clamp(30px, 5vw, 42px);
	font-weight: 500;
	line-height: 1.05;
	text-shadow: 0 2px 20px rgba(0, 0, 0, 0.6);
}

.account-form label,
.auth-panel label {
	color: #d7a94f;
	font-family: Inter, "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Arial, sans-serif;
	font-size: 12px;
	font-weight: 800;
	text-transform: uppercase;
}

.account-form input:not([type="checkbox"]),
.account-form select,
.auth-panel input:not([type="checkbox"]) {
	width: 100%;
	min-width: 0;
	min-height: 44px;
	padding: 9px 11px;
	border: 1px solid rgba(199, 155, 82, 0.34);
	border-radius: 4px;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.018), transparent),
		rgba(5, 4, 3, 0.72);
	color: var(--text);
	box-shadow: inset 0 0 18px rgba(0, 0, 0, 0.28);
}

.account-form :is(input:not([type="checkbox"]), select):focus,
.auth-panel input:not([type="checkbox"]):focus {
	border-color: rgba(229, 194, 122, 0.68);
	box-shadow: 0 0 0 3px rgba(199, 155, 82, 0.14), inset 0 0 18px rgba(0, 0, 0, 0.28);
}

.account-form button,
.auth-panel button {
	min-height: 48px;
	border: 1px solid rgba(229, 194, 122, 0.72);
	border-radius: 4px;
	background:
		linear-gradient(180deg, rgba(255, 244, 209, 0.9), rgba(203, 151, 70, 0.94) 48%, rgba(135, 78, 25, 0.96));
	color: #160f08;
	font-family: Inter, "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Arial, sans-serif;
	font-size: 13px;
	font-weight: 900;
	text-transform: uppercase;
	box-shadow: 0 0 28px rgba(199, 155, 82, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.34);
}

.account-form button:hover,
.auth-panel button:hover {
	transform: translateY(-2px);
	background:
		linear-gradient(180deg, rgba(255, 248, 222, 0.98), rgba(220, 169, 86, 0.96) 48%, rgba(151, 87, 29, 0.96));
	box-shadow: 0 0 38px rgba(229, 194, 122, 0.34), 0 12px 28px rgba(0, 0, 0, 0.24);
}

.check-line {
	align-items: center;
	margin: 4px 0 6px;
	color: var(--copy);
	text-transform: none;
}

.check-line input {
	accent-color: var(--gold);
}

.check-line span {
	color: var(--copy);
	font-size: 13px;
	font-weight: 600;
	text-transform: none;
}

.form-error {
	border-color: rgba(176, 76, 54, 0.68);
	background: rgba(176, 76, 54, 0.16);
	color: #ffd8cf;
}

.form-success {
	border-color: rgba(108, 161, 104, 0.68);
	background: rgba(108, 161, 104, 0.16);
	color: #dff3dc;
}

.auth-shell {
	padding: 74px 0 90px;
}

.auth-copy {
	max-width: 760px;
}

.auth-copy h1 {
	color: #f4ead9;
	font-family: Cinzel, "Cormorant Garamond", Marcellus, Georgia, serif;
	font-weight: 500;
	text-shadow: 0 2px 20px rgba(0, 0, 0, 0.6);
}

.auth-copy p:last-child {
	color: var(--copy);
}

@media (max-width: 760px) {
	.account-page,
	.auth-shell {
		width: min(100% - 28px, 1180px);
	}

	.account-form {
		padding: 20px;
	}

	.auth-shell {
		padding: 36px 0 58px;
	}
}

/* Remaining page theme alignment */
.dashboard-shell,
.legal-page {
	width: min(1180px, calc(100% - 48px));
}

.dashboard-shell {
	padding: 54px 0 82px;
}

.dashboard-header {
	align-items: center;
	margin-bottom: 24px;
}

.dashboard-header h1,
.legal-page h1 {
	color: #f4ead9;
	font-family: Cinzel, "Cormorant Garamond", Marcellus, Georgia, serif;
	font-weight: 500;
	text-shadow: 0 2px 20px rgba(0, 0, 0, 0.62);
}

.dashboard-header .kicker {
	color: #d7a94f;
}

.primary-button,
.outline-button,
.small-button,
.settings-form button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 4px;
	font-family: Inter, "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Arial, sans-serif;
	font-size: 13px;
	font-weight: 900;
	text-transform: uppercase;
}

.primary-button,
.small-button,
.settings-form button {
	border: 1px solid rgba(229, 194, 122, 0.72);
	background:
		linear-gradient(180deg, rgba(255, 244, 209, 0.9), rgba(203, 151, 70, 0.94) 48%, rgba(135, 78, 25, 0.96));
	color: #160f08;
	box-shadow: 0 0 24px rgba(199, 155, 82, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.34);
}

.primary-button:hover,
.small-button:hover,
.settings-form button:hover {
	transform: translateY(-2px);
	background:
		linear-gradient(180deg, rgba(255, 248, 222, 0.98), rgba(220, 169, 86, 0.96) 48%, rgba(151, 87, 29, 0.96));
	box-shadow: 0 0 34px rgba(229, 194, 122, 0.3), 0 10px 24px rgba(0, 0, 0, 0.22);
}

.outline-button {
	border: 1px solid rgba(199, 155, 82, 0.42);
	background: rgba(5, 4, 3, 0.78);
	color: #dfbd73;
}

.outline-button:hover {
	border-color: rgba(229, 194, 122, 0.72);
	background: rgba(199, 155, 82, 0.1);
	color: #f0d08a;
}

.dashboard-panel,
.legal-page {
	border: 1px solid var(--panel-border);
	border-radius: 8px;
	background:
		radial-gradient(circle at 50% 0%, rgba(199, 155, 82, 0.075), transparent 30rem),
		linear-gradient(180deg, rgba(255, 255, 255, 0.028), transparent),
		rgba(8, 7, 6, 0.88);
	box-shadow: 0 20px 56px rgba(0, 0, 0, 0.34);
	backdrop-filter: blur(4px);
}

.dashboard-panel {
	padding: 22px;
}

.block-header {
	border-bottom-color: rgba(199, 155, 82, 0.2);
}

.block-header h1,
.block-header h2 {
	color: #dfbd73;
	font-family: Cinzel, "Cormorant Garamond", Marcellus, Georgia, serif;
	font-weight: 500;
}

.stat-list div {
	border-color: var(--panel-border-soft);
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent),
		rgba(5, 4, 3, 0.58);
}

.stat-list dt,
.character-table th,
.settings-form label {
	color: #d7a94f;
	font-family: Inter, "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Arial, sans-serif;
	font-size: 12px;
	font-weight: 800;
	text-transform: uppercase;
}

.stat-list dd,
.character-table td {
	color: #f0e3cc;
}

.table-wrap {
	border: 1px solid var(--panel-border-soft);
	border-radius: 8px;
	background: rgba(5, 4, 3, 0.44);
}

.character-table th,
.character-table td {
	border-bottom-color: rgba(199, 155, 82, 0.16);
}

.character-table tbody tr:hover {
	background: rgba(199, 155, 82, 0.06);
}

.settings-form input {
	min-height: 44px;
	border-color: rgba(199, 155, 82, 0.24);
	border-radius: 4px;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.018), transparent),
		rgba(5, 4, 3, 0.72);
	color: var(--text);
	box-shadow: inset 0 0 18px rgba(0, 0, 0, 0.28);
}

.settings-form input:focus {
	border-color: rgba(229, 194, 122, 0.68);
	outline: 0;
	box-shadow: 0 0 0 3px rgba(199, 155, 82, 0.14), inset 0 0 18px rgba(0, 0, 0, 0.28);
}

.legal-page {
	max-width: 900px;
	margin-top: 54px;
	padding: clamp(24px, 4vw, 36px);
}

.legal-page p {
	color: var(--copy);
	font-size: 16px;
}

.article-page {
	width: min(980px, calc(100% - 48px));
	border: 1px solid var(--panel-border);
	border-radius: 8px;
	padding: clamp(24px, 5vw, 42px);
	margin-top: 54px;
	margin-bottom: 82px;
	background:
		radial-gradient(circle at 50% 0%, rgba(199, 155, 82, 0.075), transparent 30rem),
		linear-gradient(180deg, rgba(255, 255, 255, 0.028), transparent),
		rgba(8, 7, 6, 0.88);
	box-shadow: 0 20px 56px rgba(0, 0, 0, 0.34);
	backdrop-filter: blur(4px);
}

.article-page p {
	color: var(--copy);
}

.pagination a {
	border-color: var(--panel-border-soft);
	background: rgba(5, 4, 3, 0.62);
	color: var(--copy);
}

.pagination a[aria-current="page"] {
	border-color: rgba(229, 194, 122, 0.68);
	background: rgba(199, 155, 82, 0.16);
	color: #f4ead9;
}

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

@media (max-width: 760px) {
	.dashboard-shell,
	.legal-page,
	.article-page {
		width: min(100% - 28px, 1180px);
	}

	.dashboard-shell {
		padding: 34px 0 58px;
	}

	.dashboard-header {
		align-items: flex-start;
		flex-direction: column;
	}

	.dashboard-panel {
		padding: 18px;
	}

	.stat-list {
		grid-template-columns: 1fr;
	}

	.legal-page,
	.article-page {
		margin-top: 34px;
		margin-bottom: 58px;
	}
}

.hero {
	background: transparent;
}

.feature-grid,
.news-panel,
.stats-strip,
.community-card,
.ranking-card,
.shop-download-inner,
.presentation-sidebar,
.feature-panel {
	background:
		radial-gradient(circle at 50% 0%, rgba(199, 155, 82, 0.08), transparent 34rem),
		linear-gradient(180deg, rgba(255, 255, 255, 0.028), transparent),
		rgba(8, 7, 6, 0.84);
	backdrop-filter: blur(3px);
}

@media (max-width: 760px) {
	body {
		background:
			linear-gradient(180deg, rgba(5, 4, 3, 0.48), rgba(5, 4, 3, 0.86) 28%, rgba(5, 4, 3, 0.96) 100%),
			radial-gradient(circle at 50% 0%, rgba(199, 155, 82, 0.1), transparent 28rem),
			var(--site-backdrop) center top / cover fixed no-repeat,
			#050403;
	}

	.feature-grid,
	.news-panel,
	.stats-strip,
	.community-card,
	.ranking-card,
	.shop-download-inner,
	.presentation-hero,
	.presentation-sidebar,
	.feature-panel {
		background:
			radial-gradient(circle at 50% 0%, rgba(199, 155, 82, 0.08), transparent 24rem),
			linear-gradient(180deg, rgba(255, 255, 255, 0.028), transparent),
			rgba(8, 7, 6, 0.9);
	}
}

/* Item shop */
.shop-page {
	--shop-sticky-top: 71px;
	--shop-toolbar-height: 58px;
	width: min(1180px, calc(100% - 48px));
	margin: 0 auto;
	padding: 12px 0 82px;
}

@media (max-width: 1180px) {
	.shop-page { --shop-sticky-top: 65px; }
}

.shop-toolbar {
	position: sticky;
	top: var(--shop-sticky-top);
	z-index: 15;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 4px 10px;
	min-height: var(--shop-toolbar-height);
	padding: 5px 10px;
	border-bottom: 1px solid var(--panel-border);
	background: #100d09;
}

.shop-toolbar .shop-tabs {
	gap: 2px;
	margin: 0;
	padding: 0;
	border: 0;
	overflow: visible;
}

.shop-toolbar .shop-tabs a { display: grid; align-items: center; min-height: 44px; padding-block: 6px; }
.shop-toolbar .shop-tabs a::after { right: 5px; left: 5px; bottom: 0; }
.shop-wallet { display: flex; align-items: center; gap: 10px; margin-inline-start: auto; }
.shop-toolbar .btn { padding-inline: 10px; font-size: .75rem; white-space: nowrap; }
.shop-coin-heading h1, .shop-catalog-results h1 { margin: 0; font-size: clamp(26px, 3vw, 34px); }
.shop-coin-heading h1 { scroll-margin-top: calc(var(--shop-sticky-top) + var(--shop-toolbar-height) + 48px); }
.shop-coin-heading p { margin: 6px 0 0; color: var(--muted); }

@media (max-width: 520px) {
	.shop-toolbar { padding-inline: 4px; }
	.shop-toolbar .shop-tabs a { padding-inline: 5px; }
	.shop-wallet { gap: 6px; }
	.shop-toolbar .btn { padding-inline: 7px; font-size: .6875rem; }
	.shop-wallet .shop-price strong { font-size: .9375rem; }
}

@media (max-width: 360px) {
	.shop-toolbar { gap: 4px; padding-inline: 2px; }
	.shop-toolbar .shop-tabs a { padding-inline: 4px; }
	.shop-wallet-label, .shop-quantity > [aria-hidden] { display: none; }
	.shop-toolbar .shop-wallet .btn { min-width: 44px; }
}

.shop-trust-list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	max-width: 760px;
	margin: 28px 0 0;
	padding: 0;
	list-style: none;
}

.shop-trust-list li {
	border: 1px solid rgba(199, 155, 82, 0.22);
	border-radius: 6px;
	padding: 12px;
	background: rgba(5, 4, 3, 0.52);
}

.shop-trust-list strong,
.shop-trust-list span {
	display: block;
}

.shop-trust-list strong {
	color: #dfbd73;
	font-size: 13px;
	text-transform: uppercase;
}

.shop-trust-list span {
	color: var(--copy);
	font-size: 13px;
}

.shop-history-link {
	color: #dfbd73;
	font-size: 13px;
	font-weight: 800;
	text-transform: uppercase;
}

.shop-flow,
.shop-section,
.coin-shop-section,
.shop-trust-grid,
.shop-status-grid {
	margin-top: 28px;
}

.shop-flow {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	overflow: hidden;
	border: 1px solid var(--panel-border);
	border-radius: 8px;
	background:
		radial-gradient(circle at 50% 0%, rgba(199, 155, 82, 0.07), transparent 32rem),
		linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent),
		rgba(8, 7, 6, 0.86);
	backdrop-filter: blur(4px);
}

.shop-flow article {
	position: relative;
	display: grid;
	gap: 6px;
	padding: 22px;
	text-align: center;
}

.shop-flow article + article {
	border-left: 1px solid rgba(199, 155, 82, 0.18);
}

.shop-flow article + article::before {
	position: absolute;
	top: 50%;
	left: -8px;
	color: rgba(229, 194, 122, 0.56);
	content: ">";
	transform: translateY(-50%);
}

.shop-flow span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	justify-self: center;
	width: 44px;
	height: 44px;
	border: 1px solid rgba(199, 155, 82, 0.28);
	border-radius: 50%;
	background: rgba(5, 4, 3, 0.48);
	color: #d7a94f;
	font-weight: 900;
}

.shop-flow h2,
.shop-trust-grid h2 {
	margin: 0;
	color: #dfbd73;
	font-family: Cinzel, "Cormorant Garamond", Marcellus, Georgia, serif;
	font-size: 18px;
	font-weight: 500;
}

.shop-flow p,
.shop-trust-grid p {
	margin: 0;
	color: var(--copy);
	font-size: 14px;
}

.shop-tabs {
	display: flex;
	gap: 8px;
	overflow-x: auto;
	border-bottom: 1px solid rgba(199, 155, 82, 0.2);
	padding-bottom: 8px;
	scrollbar-width: thin;
}

.shop-tabs button {
	position: relative;
	flex: 0 0 auto;
	border: 1px solid transparent;
	border-radius: 4px;
	padding: 12px 14px;
	background: transparent;
	color: var(--copy);
	font-family: Inter, "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Arial, sans-serif;
	font-size: 13px;
	font-weight: 900;
	text-transform: uppercase;
}

.shop-tabs button:hover,
.shop-tabs button[aria-selected="true"] {
	color: #dfbd73;
}

.shop-tabs button[aria-selected="true"] {
	border-color: rgba(199, 155, 82, 0.28);
	background: rgba(199, 155, 82, 0.08);
	box-shadow: 0 0 22px rgba(199, 155, 82, 0.08);
}

.shop-status-grid {
	border: 1px solid var(--panel-border);
	border-radius: 8px;
	padding: clamp(20px, 3vw, 30px);
	background:
		radial-gradient(circle at 50% 0%, rgba(199, 155, 82, 0.075), transparent 34rem),
		linear-gradient(180deg, rgba(255, 255, 255, 0.028), transparent),
		rgba(8, 7, 6, 0.86);
	box-shadow: 0 20px 56px rgba(0, 0, 0, 0.3);
	backdrop-filter: blur(4px);
}

.shop-section-heading {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 22px;
}

.shop-section-heading h2,
.coin-intro-card h2 {
	margin: 0;
	color: #f4ead9;
	font-family: Cinzel, "Cormorant Garamond", Marcellus, Georgia, serif;
	font-size: clamp(24px, 3vw, 34px);
	font-weight: 500;
	line-height: 1.02;
}

.shop-section-heading a {
	color: #dfbd73;
	font-size: 12px;
	font-weight: 900;
	text-transform: uppercase;
}

.shop-catalog {
	display: grid;
	align-items: start;
	gap: clamp(16px, 2.4vw, 28px);
}

.shop-catalog.has-categories { grid-template-columns: 190px minmax(0, 1fr); }
.shop-catalog-results { min-width: 0; }
.shop-catalog-results .shop-section-heading { align-items: baseline; flex-direction: row; flex-wrap: wrap; gap: 6px 14px; margin-bottom: 14px; }
.shop-catalog-results .shop-section-heading p { margin: 0; color: var(--muted); font-size: .875rem; }

.shop-category-nav {
	position: sticky;
	top: calc(var(--shop-sticky-top) + var(--shop-toolbar-height) + 12px);
	min-width: 0;
	padding: 10px;
	border: 1px solid var(--panel-border-soft);
	border-radius: 8px;
	background: var(--panel-bg-strong);
}

.shop-category-nav p { margin: 2px 9px 8px; color: var(--muted); font-size: .875rem; font-weight: 700; }
.shop-category-nav ul { display: grid; gap: 3px; margin: 0; padding: 0; list-style: none; }
.shop-category-nav a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 6px;
	min-height: 44px;
	padding: 7px 9px;
	border: 1px solid transparent;
	border-radius: 5px;
	color: var(--copy);
	font-weight: 600;
}
.shop-category-count { color: var(--muted); font-size: .8125rem; font-variant-numeric: tabular-nums; }
.shop-category-nav a:hover { border-color: var(--panel-border); }
.shop-category-nav a[aria-current] { border-color: var(--panel-border); background: rgba(199, 155, 82, .15); color: var(--gold-strong); }
.shop-category-nav a[aria-current] .shop-category-count { color: inherit; }

.shop-catalog-note {
	max-width: 620px;
	margin: 10px 0 0;
	color: var(--copy);
	font-size: 14px;
}

.shop-product-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 400px), 1fr));
	gap: 12px;
}

.shop-product-card {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	align-items: start;
	min-width: 0;
	padding: 12px;
}

.shop-product-card,
.coin-package-card,
.shop-trust-grid article {
	overflow: hidden;
	border: 1px solid var(--panel-border-soft);
	border-radius: 8px;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent),
		rgba(5, 4, 3, 0.68);
	transition:
		transform 180ms ease,
		border-color 180ms ease,
		box-shadow 180ms ease;
}

.coin-package-card:hover,
.shop-trust-grid article:hover {
	transform: translateY(-4px);
	border-color: rgba(229, 194, 122, 0.48);
	box-shadow: 0 20px 44px rgba(0, 0, 0, 0.3), 0 0 28px rgba(199, 155, 82, 0.08);
}

.shop-product-card:is(:hover, :focus-within) { border-color: rgba(229, 194, 122, .48); }

.shop-product-media {
	width: clamp(80px, 9vw, 112px);
	margin-inline-end: 12px;
	overflow: hidden;
	aspect-ratio: 1;
	border: 1px solid var(--panel-border-soft);
	border-radius: 6px;
	background: rgba(5, 4, 3, 0.72);
}

.shop-product-media:empty { display: none; }

.shop-product-media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 260ms ease;
}

.shop-product-media img[src^="/assets/images/shop/catalog/"],
.shop-review-thumb[src^="/assets/images/shop/catalog/"] {
	object-fit: contain;
	image-rendering: pixelated;
	background: radial-gradient(ellipse at center, #342616, #100c08 74%);
}

.shop-product-media img[src^="/assets/images/shop/catalog/"] { padding: 16%; }
.shop-review-thumb[src^="/assets/images/shop/catalog/"] { padding: 14px; }

.shop-product-card:hover .shop-product-media img {
	transform: scale(1.05);
}

.shop-badge,
.coin-package-card em {
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 999px;
	padding: 3px 7px;
	color: #fff0d0;
	font-size: 11px;
	font-style: normal;
	font-weight: 900;
	text-transform: uppercase;
}

.coin-package-card em { position: absolute; z-index: 1; top: 12px; left: 12px; padding: 5px 8px; }

.shop-badge.hot {
	background: rgba(183, 71, 42, 0.88);
}

.shop-badge.new,
.coin-package-card em {
	background: rgba(199, 155, 82, 0.9);
	color: #160f08;
}

.shop-product-body {
	display: flex;
	flex-direction: column;
	align-self: stretch;
	grid-column: 2;
	gap: 7px;
}

.shop-product-title { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; }

.shop-product-body h3 {
	margin: 0;
	color: #dfbd73;
	font-family: Cinzel, "Cormorant Garamond", Marcellus, Georgia, serif;
	font-size: 19px;
	font-weight: 500;
	line-height: 1.1;
}

.shop-product-body p {
	margin: 0;
	color: var(--copy);
	font-size: 14px;
}

.shop-product-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	align-items: center;
	gap: 6px 8px;
	margin-top: auto;
	padding-top: 3px;
}

.shop-price {
	display: flex;
	align-items: center;
	gap: 6px;
	color: var(--copy);
	font-size: 13px;
	font-weight: 800;
}

.shop-coin-icon {
	width: 16px;
	height: 16px;
	flex: none;
	border-radius: 50%;
	background:
		radial-gradient(circle at 35% 28%, #fff1b8, #c79b52 48%, #7a4618);
	box-shadow: 0 0 12px rgba(199, 155, 82, 0.4);
}

.shop-price strong {
	color: #f4ead9;
	font-size: 18px;
	font-variant-numeric: tabular-nums lining-nums;
}

.shop-product-actions .shop-price-button { gap: 6px; padding-inline: 10px; font-size: .875rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.shop-quantity { display: flex; align-items: center; gap: 5px; color: var(--muted); font-size: .8125rem; }
.shop-quantity select {
	min-height: 44px;
	padding: 0 5px;
	border: 1px solid var(--panel-border);
	border-radius: 4px;
	background: var(--surface);
	color: var(--text);
	font: inherit;
	color-scheme: dark;
}
.shop-product-body .shop-item-unavailable { margin-top: auto; color: var(--muted); }

.shop-empty-state {
	border: 1px dashed rgba(199, 155, 82, 0.28);
	border-radius: 8px;
	padding: 28px;
	color: var(--copy);
	text-align: center;
}

.coin-shop-section {
	display: grid;
	gap: 22px;
}

.coin-intro-card {
	max-width: 760px;
}

.coin-intro-card p:not(.eyebrow) {
	color: var(--copy);
	font-size: 16px;
}

.coin-package-grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 16px;
}

.coin-package-card {
	position: relative;
	display: grid;
	justify-items: center;
	gap: 8px;
	padding: 18px;
	text-align: center;
}

.coin-package-card.best-value {
	border-color: rgba(229, 194, 122, 0.68);
	box-shadow: 0 0 30px rgba(199, 155, 82, 0.12), inset 0 0 28px rgba(199, 155, 82, 0.06);
}

.coin-package-card img {
	width: 100%;
	aspect-ratio: 16 / 9;
	border-radius: 6px;
	object-fit: cover;
	opacity: 0.9;
}

.coin-package-card strong {
	color: #f4ead9;
	font-family: Inter, "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Arial, sans-serif;
	font-size: 30px;
	font-variant-numeric: tabular-nums lining-nums;
	line-height: 1;
}

.coin-package-card span {
	color: #d7a94f;
	font-size: 12px;
	font-weight: 900;
	text-transform: uppercase;
}

.coin-package-card .btn {
	width: 100%;
	margin-top: auto;
}

.payment-methods {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	border-top: 1px solid rgba(199, 155, 82, 0.18);
	padding-top: 18px;
}

.payment-methods > strong {
	color: #f4ead9;
	font-size: 13px;
}

.shop-payment-note {
	margin: -8px 0 0;
	color: var(--muted);
	font-size: 13px;
}

.coin-package-card form {
	width: 100%;
}

.shop-notice {
	display: flex;
	gap: 12px;
	align-items: baseline;
	margin-top: 20px;
	border: 1px solid rgba(199, 155, 82, 0.3);
	border-radius: 6px;
	padding: 14px 18px;
	background: rgba(8, 7, 6, 0.9);
	color: var(--copy);
}

.shop-notice strong {
	flex: 0 0 auto;
	color: #f4ead9;
}

.shop-notice.success {
	border-color: rgba(91, 168, 111, 0.5);
}

.shop-notice.warning {
	border-color: rgba(205, 145, 73, 0.55);
}

.shop-history {
	margin-top: 28px;
	border-top: 1px solid var(--panel-border);
	border-bottom: 1px solid var(--panel-border);
	padding: 30px 0;
}

.shop-history header {
	margin-bottom: 18px;
}

.shop-history h2 {
	margin: 0;
	color: #f4ead9;
	font-family: Cinzel, "Cormorant Garamond", Marcellus, Georgia, serif;
	font-size: clamp(28px, 4vw, 40px);
	font-weight: 500;
}

.shop-order-table-wrap {
	overflow-x: auto;
}

.shop-order-table {
	width: 100%;
	min-width: 620px;
	border-collapse: collapse;
	color: var(--copy);
	font-size: 14px;
}

.shop-order-table th,
.shop-order-table td {
	border-bottom: 1px solid rgba(199, 155, 82, 0.14);
	padding: 13px 12px;
	text-align: left;
}

.shop-order-table th {
	color: #d7a94f;
	font-size: 11px;
	text-transform: uppercase;
}

.shop-order-table code {
	color: #f4ead9;
}

.shop-order-status {
	display: inline-block;
	border: 1px solid rgba(199, 155, 82, 0.3);
	border-radius: 4px;
	padding: 5px 8px;
	font-size: 11px;
	font-weight: 800;
	text-transform: uppercase;
}

.shop-order-status.success {
	border-color: rgba(91, 168, 111, 0.5);
	color: #a9d8b4;
}

.shop-order-status.warning {
	border-color: rgba(205, 145, 73, 0.55);
	color: #e4bc88;
}

.shop-history-empty {
	margin: 0;
	color: var(--muted);
}

.payment-methods span {
	border: 1px solid rgba(199, 155, 82, 0.2);
	border-radius: 999px;
	padding: 8px 11px;
	background: rgba(5, 4, 3, 0.52);
	color: var(--copy);
	font-size: 12px;
	font-weight: 800;
	text-transform: uppercase;
}

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

.shop-trust-grid article {
	display: grid;
	gap: 9px;
	padding: 20px;
}

.shop-trust-grid span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border: 1px solid rgba(199, 155, 82, 0.28);
	border-radius: 50%;
	background: rgba(5, 4, 3, 0.5);
	color: #d7a94f;
	font-size: 12px;
	font-weight: 900;
}

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

.shop-status-grid p {
	margin: 0;
	border: 1px solid rgba(199, 155, 82, 0.16);
	border-radius: 6px;
	padding: 12px;
	background: rgba(5, 4, 3, 0.42);
	color: var(--copy);
	font-size: 13px;
}

.shop-status-grid strong {
	display: block;
	color: #dfbd73;
}

.shop-dialog-open {
	overflow: hidden;
}

.shop-dialog-backdrop {
	position: fixed;
	inset: 0;
	z-index: 100;
	display: grid;
	place-items: center;
	padding: 24px;
	background: rgba(0, 0, 0, 0.72);
	backdrop-filter: blur(6px);
}

.shop-dialog-backdrop[hidden],
.shop-product-card[hidden],
.shop-empty-state[hidden] {
	display: none;
}

.shop-dialog {
	position: relative;
	display: grid;
	grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.2fr);
	gap: 24px;
	width: min(760px, 100%);
	border: 1px solid rgba(229, 194, 122, 0.44);
	border-radius: 8px;
	padding: 22px;
	background:
		radial-gradient(circle at 50% 0%, rgba(199, 155, 82, 0.1), transparent 28rem),
		linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent),
		rgba(8, 7, 6, 0.96);
	box-shadow: 0 28px 80px rgba(0, 0, 0, 0.55);
}

.shop-dialog img {
	width: 100%;
	height: 100%;
	min-height: 260px;
	border: 1px solid rgba(199, 155, 82, 0.22);
	border-radius: 6px;
	object-fit: cover;
}

.shop-dialog h2 {
	margin: 0 0 10px;
	color: #f4ead9;
	font-family: Cinzel, "Cormorant Garamond", Marcellus, Georgia, serif;
	font-size: clamp(28px, 5vw, 42px);
	font-weight: 500;
}

.shop-dialog p {
	color: var(--copy);
}

.shop-dialog-close {
	position: absolute;
	top: 10px;
	right: 10px;
	width: 36px;
	height: 36px;
	border: 1px solid rgba(199, 155, 82, 0.24);
	border-radius: 50%;
	background: rgba(5, 4, 3, 0.8);
	color: #dfbd73;
	font-size: 22px;
	line-height: 1;
}

.shop-dialog-summary {
	display: grid;
	gap: 8px;
	margin: 18px 0;
}

.shop-dialog-summary div {
	display: flex;
	justify-content: space-between;
	gap: 14px;
	border-bottom: 1px solid rgba(199, 155, 82, 0.14);
	padding-bottom: 8px;
}

.shop-dialog-summary dt {
	color: #d7a94f;
	font-size: 12px;
	font-weight: 900;
	text-transform: uppercase;
}

.shop-dialog-summary dd {
	margin: 0;
	color: #f4ead9;
	font-weight: 800;
	text-align: right;
}

.shop-dialog-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.shop-dialog-actions .btn {
	flex: 1 1 160px;
}

/* Player-facing editorial content */
.presentation-facts {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1px;
	margin: 0 0 28px;
	border: 1px solid var(--panel-border);
	border-radius: 8px;
	overflow: hidden;
	background: var(--panel-border);
}

.presentation-facts > div {
	padding: 22px;
	background: #100d09;
}

.presentation-facts dt {
	color: var(--gold-strong);
	font-size: 24px;
	font-weight: 700;
}

.presentation-facts dd {
	margin: 6px 0 0;
	color: var(--copy);
	font-size: 14px;
}

.feature-panel.feature-panel-copy {
	grid-template-columns: minmax(0, 1fr);
	padding: clamp(24px, 4vw, 38px);
}

.feature-panel-copy .feature-copy {
	min-height: 0;
}

.feature-panel-copy .read-more {
	margin-top: 24px;
}

.editorial-header {
	max-width: 780px;
	margin-bottom: 32px;
}

.editorial-header h1 {
	font-size: clamp(36px, 5vw, 64px);
	line-height: 1.08;
	margin: 12px 0 20px;
}

.editorial-header > p,
.guide-card > p,
.editorial-callout p {
	color: var(--copy);
	line-height: 1.7;
}

.not-found {
	display: grid;
	align-items: center;
	justify-items: center;
	min-height: 50vh;
}

.not-found-panel {
	width: 100%;
	max-width: 700px;
}

.not-found-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

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

.guide-card,
.editorial-callout {
	border: 1px solid var(--panel-border);
	border-radius: 8px;
	padding: clamp(24px, 4vw, 36px);
	background: var(--panel-bg);
}

.guide-card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.guide-card h2,
.editorial-callout h2,
.article-body h2,
.guide-related h2 {
	color: #dfbd73;
	font-size: clamp(24px, 3vw, 32px);
	line-height: 1.2;
}

.guide-card h2 {
	margin: 12px 0;
}

.guide-card .read-more {
	margin-top: auto;
	padding-top: 20px;
}

.guides-page > .editorial-callout {
	margin-top: 28px;
}

.presentation-faq details {
	border-top: 1px solid var(--panel-border-soft);
	padding: 18px 0;
}

.presentation-faq details:first-of-type {
	margin-top: 24px;
}

.presentation-faq summary {
	cursor: pointer;
	color: #f4ead9;
	font-weight: 600;
}

.presentation-faq details p {
	margin: 14px 0 0;
}

.article-page .content-note,
.editorial-header .content-note {
	font-size: 14px;
	line-height: 1.7;
	color: var(--muted);
}

.article-body {
	max-width: 72ch;
	margin: 32px auto;
	overflow-wrap: anywhere;
}

.article-body h2 {
	margin: 36px 0 18px;
}

.article-body p {
	font-size: 17px;
	line-height: 1.85;
	margin-bottom: 20px;
}

.article-figure {
	margin: 24px 0;
}

.article-figure img {
	display: block;
	max-width: 100%;
	height: auto;
	margin-inline: auto;
	border: 1px solid var(--panel-border);
	border-radius: 8px;
}

.article-page .article-lead {
	font-size: 21px;
	line-height: 1.65;
}

.guide-related {
	border-top: 1px solid var(--panel-border);
	padding-top: 26px;
	margin-top: 36px;
}

.guide-related a {
	display: block;
	margin-top: 14px;
	color: var(--gold-strong);
}

.editorial-callout a:not(.btn, .primary-button, .outline-button),
.content-note a,
.news-empty a {
	text-decoration: underline;
	text-underline-offset: 3px;
}

@media (max-width: 760px) {
	.presentation-facts {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

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

/* Launch-state controls */
.news-archive {
	padding-top: clamp(22px, 4vw, 48px);
}

.news-archive-header {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px 20px;
	margin-bottom: 24px;
}

.news-archive-header h1 {
	margin: 4px 0 12px;
	font-size: clamp(34px, 5vw, 56px);
}

.news-archive-header p,
.news-empty {
	color: var(--muted);
}

.news-archive-header p { max-width: 66ch; margin: 0; }

.news-archive-grid .news-card h2 {
	font-size: 22px;
	line-height: 1.2;
}

.news-archive .pagination {
	margin-top: 30px;
}

.form-trap {
	position: absolute !important;
	left: -10000px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

.form-help {
	margin-top: 14px;
	margin-bottom: 0;
	color: var(--muted);
	font-size: 14px;
	text-align: center;
}

.form-help + .form-help {
	margin-top: 6px;
}

.newsletter-fields {
	display: grid;
	gap: 12px;
}

.newsletter-topics {
	display: grid;
	gap: 8px;
	min-width: 0;
	margin: 0;
	padding: 10px 12px;
	border: 1px solid #655743;
	border-radius: 5px;
}

.newsletter-topics .check-line {
	margin: 0;
}

.newsletter-panel p {
	margin-bottom: 0;
}

.registration-checks {
	display: grid;
	gap: 4px;
	margin: 3px 0 6px;
}

.registration-checks .check-line {
	margin: 0;
}

.account-form .check-line input,
.auth-panel .check-line input {
	flex: 0 0 18px;
	width: 18px;
	height: 18px;
	min-height: 18px;
	margin: 0;
}

.form-help a,
.check-line a {
	color: var(--gold-strong);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.legal-intro,
.legal-operator,
.legal-contact {
	max-width: 760px;
}

.legal-operator,
.legal-contact {
	margin-top: 18px;
}

.legal-sections {
	display: grid;
	gap: 26px;
	margin-top: 32px;
}

.legal-sections section {
	padding-top: 24px;
	border-top: 1px solid var(--panel-border-soft);
}

.legal-sections h2 {
	margin-bottom: 8px;
	font-size: 21px;
}

.legal-sections p,
.legal-contact {
	color: var(--copy);
}

.legal-contact a {
	color: var(--gold-strong);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.btn-disabled {
	cursor: not-allowed;
	border-color: rgba(199, 155, 82, 0.18);
	background: rgba(18, 16, 14, 0.72);
	color: var(--muted);
	box-shadow: none;
}

.footer-column span {
	color: var(--muted-strong);
	font-size: 14px;
}

.footer-status strong {
	color: var(--gold-strong);
}

.guild-list .guild-empty {
	display: block;
	padding: 24px 16px;
	color: var(--muted);
	text-align: center;
}

@media (max-width: 1180px) {
	.coin-package-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 900px) {
	.shop-catalog.has-categories { grid-template-columns: minmax(0, 1fr); }
	.shop-category-nav { position: static; }
	.shop-category-nav ul { grid-template-columns: repeat(auto-fit, minmax(min(100%, 145px), 1fr)); }

	.shop-trust-list,
	.shop-flow,
	.shop-trust-grid,
	.shop-status-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.shop-flow article:nth-child(3) {
		border-left: 0;
		border-top: 1px solid rgba(199, 155, 82, 0.18);
	}

	.shop-flow article:nth-child(4) {
		border-top: 1px solid rgba(199, 155, 82, 0.18);
	}

	.shop-flow article + article::before {
		display: none;
	}
}

@media (max-width: 760px) {
	.shop-page {
		width: calc(100% - 28px);
		max-width: 1180px;
		padding: 8px 0 58px;
	}

	.shop-trust-list,
	.shop-flow,
	.coin-package-grid,
	.shop-trust-grid,
	.shop-status-grid,
	.shop-dialog {
		grid-template-columns: 1fr;
	}

	.shop-trust-list {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 7px;
	}

	.shop-trust-list li {
		min-width: 0;
		padding: 9px 7px;
	}

	.shop-trust-list strong,
	.shop-trust-list span {
		font-size: 10px;
		overflow-wrap: anywhere;
	}

	.shop-flow article + article {
		border-left: 0;
		border-top: 1px solid rgba(199, 155, 82, 0.18);
	}

	.shop-section-heading {
		align-items: flex-start;
		flex-direction: column;
	}


	.payment-methods span {
		flex: 1 1 auto;
		text-align: center;
	}

	.shop-notice {
		align-items: flex-start;
		flex-direction: column;
	}

	.shop-dialog {
		max-height: calc(100vh - 32px);
		overflow-y: auto;
	}

	.shop-dialog img {
		min-height: 180px;
	}
}

@media (max-width: 760px) {
	.header-inner {
		width: calc(100% - 28px);
	}

	.site-nav {
		display: grid;
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 2px;
		min-width: 0;
	}

	.site-nav a {
		min-width: 0;
		padding: 7px 2px;
		font-size: 9px;
		text-align: center;
		overflow-wrap: anywhere;
	}
}

/* Keep the compact header authoritative over earlier responsive page rules. */
@media (max-width: 1180px) {
	.header-inner {
		display: grid;
		grid-template-columns: auto minmax(0, 1fr) auto;
		gap: 12px;
		width: calc(100% - 28px);
		min-height: 64px;
		padding: 7px 0;
		justify-items: stretch;
	}

	.header-inner .desktop-nav,
	.header-inner .desktop-actions {
		display: none;
	}

	.header-inner .mobile-quick-action {
		display: inline-flex;
	}

	.header-inner .mobile-menu {
		display: block;
	}

	.brand img {
		width: 100px;
	}

	.mobile-language-form {
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto;
		gap: 8px;
	}

	.mobile-language-form select {
		width: 100%;
		min-width: 0;
	}
}

@media (max-width: 380px) {
	.header-inner {
		gap: 8px;
	}

	.brand img {
		width: 88px;
	}
}

/* Support tickets */
.support-page .dashboard-panel { margin-block: 18px; }
.support-form { display: grid; gap: 16px; }
.support-form label { display: grid; gap: 7px; }
.support-form input, .support-form select, .support-form textarea { width: 100%; box-sizing: border-box; padding: 12px; border: 1px solid #655743; border-radius: 5px; background: #17191d; color: #f1e4cb; font: inherit; }
.support-form textarea { resize: vertical; }
.support-form button { justify-self: start; }
.support-message { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.7; }
.support-ticket { padding-block: 14px; border-bottom: 1px solid #655743; }
.support-page nav { display: flex; gap: 18px; justify-content: center; }

.support-new-reply { display: inline-block; margin-inline-start: 10px; padding: 2px 8px; border: 1px solid #b39152; border-radius: 4px; color: #e9c77f; font-size: .85em; }

.skip-link {
	position: fixed;
	top: 12px;
	left: 12px;
	z-index: 1000;
	padding: 10px 14px;
	border-radius: 4px;
	background: var(--gold-strong);
	color: var(--ink);
	font-weight: 700;
	transform: translateY(calc(-100% - 16px));
}

.skip-link:focus { transform: none; }
.ranking-table-wrap:focus-visible { outline: 2px solid var(--gold-strong); outline-offset: 3px; }
.rankings-page { container-type: inline-size; }
.rankings-scroll-hint { display: none; }

.editorial-link-card { position: relative; }
.editorial-link-card :is(h2, h3) a {
	text-decoration: underline;
	text-decoration-thickness: .06em;
	text-underline-offset: .18em;
}
.editorial-link-card :is(h2, h3) a::after { position: absolute; inset: 0; content: ""; }
.editorial-link-card:focus-within { outline: 2px solid var(--gold-strong); outline-offset: 3px; }
.editorial-link-card :is(h2, h3) a:focus-visible { outline: none; }

.hero,
.hero-inner { min-height: clamp(510px, 68svh, 760px); }
.hero-inner { padding-block: 52px 62px; }
.hero-logo { width: min(320px, 72vw); margin-bottom: 14px; }
.hero h1 {
	margin-bottom: 14px;
	font-size: clamp(38px, 5vw, 65px);
	font-weight: 700;
	text-transform: none;
}
.hero-intro { max-width: 42ch; margin: 0 auto 18px; font-size: clamp(16px, 1.7vw, 19px); text-align: center; }
.hero-status { margin: 0 0 18px; color: var(--gold-strong); font-weight: 700; }
.hero-status span { color: var(--copy); font-weight: 400; }
.hero-status span::before { content: "·"; margin-inline: .25em; }
.hero-actions { margin-top: 0; }

.launch-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.launch-panel { margin: 0; }
.launch-panel h2 { margin-bottom: 8px; }
.launch-panel p { margin-bottom: 16px; }
.launch-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.launch-status { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: baseline; margin-top: 16px; color: var(--copy); }
.launch-status strong { padding: 3px 9px; border: 1px solid var(--panel-border-soft); border-radius: 4px; color: var(--gold-strong); font-size: .875rem; }
.launch-help { margin: 16px 0 0; }
.launch-help a, .launch-actions .text-link { color: var(--gold-strong); text-decoration: underline; text-underline-offset: 3px; }
.account-form .field-hint { margin: -4px 0 0; color: var(--muted); font-size: .875rem; }

/* Signed-in player workspace */
.account-workspace, .support-page {
	width: min(1080px, calc(100% - 48px));
	padding-block: clamp(28px, 5vw, 52px) 68px;
}

.account-workspace .dashboard-header, .support-page .dashboard-header {
	margin-bottom: 20px;
	align-items: center;
	gap: 16px;
}

.account-workspace .dashboard-header h1, .support-page .dashboard-header h1 {
	margin: 0;
	font-size: clamp(32px, 4vw, 48px);
	line-height: 1.12;
	overflow-wrap: anywhere;
}

.account-workspace .dashboard-header p, .support-page .dashboard-header p { margin: 4px 0 0; color: var(--muted); }
.account-wallet {
	display: flex;
	align-items: center;
	gap: clamp(10px, 2.5vw, 20px);
	max-width: 100%;
	padding: 10px 12px;
	border: 1px solid var(--panel-border-soft);
	border-radius: 8px;
	background: var(--panel-bg-strong);
}
.account-wallet-coins { display: flex; align-items: center; min-width: 0; gap: clamp(8px, 2vw, 16px); }
.account-wallet dl { margin: 0; min-width: 0; }
.account-wallet-tokens { padding-inline-start: 10px; border-inline-start: 1px solid var(--panel-border-soft); }
.account-wallet dt { color: var(--muted); font-size: .75rem; font-weight: 700; }
.account-wallet dd { margin: 0; color: var(--gold-strong); font-size: clamp(16px, 4.6vw, 23px); font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1.25; overflow-wrap: anywhere; }
.account-wallet .balance-unavailable { color: var(--muted); font-size: .875rem; }
.account-wallet .btn { flex: none; padding-inline: 12px; }
.account-nav { flex-wrap: wrap; justify-content: flex-start; gap: 6px; margin-bottom: 20px; padding: 5px; border: 1px solid var(--panel-border-soft); border-radius: 8px; background: var(--panel-bg-strong); }
.account-nav a { padding: 10px 13px; font-size: 14px; text-transform: none; font-weight: 700; border-radius: 5px; }
.account-nav a[aria-current] { background: rgba(209, 170, 93, .16); color: var(--gold-strong); }
.account-nav a::after { display: none; }

.account-overview-grid, .account-security-grid, .account-character-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	align-items: start;
}
.account-character-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 246px), 1fr)); }
.account-workspace .dashboard-panel, .support-page .dashboard-panel { min-width: 0; padding: clamp(16px, 3vw, 26px); }
.account-workspace .dashboard-panel h2, .support-page .dashboard-panel h2 { margin: 0 0 12px; font-size: clamp(21px, 3vw, 26px); line-height: 1.2; }
.account-workspace .stat-list { margin-bottom: 14px; gap: 0 14px; }
.account-workspace .stat-list > div { padding: 9px 0; border: 0; border-bottom: 1px solid var(--panel-border-soft); border-radius: 0; background: transparent; }
.account-workspace .stat-list dd { overflow-wrap: anywhere; }
.account-actions, .support-form-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; }
.account-workspace details { margin: 14px 0; }
.account-workspace details summary { color: var(--gold-strong); }
.account-workspace .settings-form { justify-items: stretch; gap: 9px; }
.account-workspace .settings-form button { justify-self: start; }
.account-workspace .settings-form h3 { margin: 0; font-size: 19px; }
.account-workspace .settings-form p, .account-workspace .settings-form small { margin: 0 0 3px; }
.account-workspace .settings-form input { min-width: 0; width: 100%; }
.account-verification { margin-bottom: 18px; padding: 0 0 18px; border-bottom: 1px solid var(--panel-border-soft); }
.account-verification h3 { margin: 0 0 8px; font-size: 19px; }
.account-workspace .text-link, .support-form-actions a { color: var(--gold-strong); text-decoration: underline; text-underline-offset: .18em; }
.account-recovery, .support-new { max-width: 800px; }

.support-page .support-back { margin: 0 0 14px; }
.support-page .support-ticket-list, .support-page .support-conversation-list { padding: 0; margin: 0; list-style: none; }
.support-page .support-ticket { padding: 14px 0; border-color: var(--panel-border-soft); }
.support-page .support-ticket:first-child { padding-top: 0; }
.support-page .support-ticket:last-child { border: 0; }
.support-page .support-ticket-heading h2 { margin: 0; font-size: 20px; }
.support-ticket-heading h2 a { color: var(--text); text-decoration: underline; text-underline-offset: 4px; }
.support-ticket-meta { margin: 5px 0 0; color: var(--muted); font-size: 14px; }
.support-conversation-heading { display: flex; justify-content: space-between; flex-wrap: wrap; align-items: flex-start; gap: 10px; }
.support-conversation-heading p { margin: 4px 0 0; color: var(--muted); }
.support-conversation-entry { margin-top: 14px; padding: 12px 14px; border: 1px solid var(--panel-border-soft); border-radius: 6px; background: rgba(0, 0, 0, .19); }
.support-entry-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 0 0 6px; }
.support-entry-meta strong { color: var(--gold-strong); }
.support-entry-meta time { color: var(--muted); font-size: .875rem; }
.support-conversation-entry .support-message { margin: 0; }
.support-attachments { margin: 9px 0 0; padding-left: 18px; color: var(--gold-strong); font-size: .875rem; }
.support-attachments a { text-decoration: underline; text-underline-offset: .18em; }
.support-form p { margin: 0; }
.support-form input[type="file"] { font-size: .875rem; }

/* Store review and receipts */
.shop-order-dialog {
	width: min(100% - 28px, 480px);
	max-height: calc(100dvh - 24px);
	margin: auto;
	overscroll-behavior: contain;
	border: 1px solid var(--panel-border);
	border-radius: 8px;
	padding: clamp(16px, 4vw, 24px);
	background: #15110d;
	color: var(--text);
	box-shadow: 0 24px 68px rgba(0, 0, 0, .55);
}
.shop-order-dialog::backdrop { background: rgba(0, 0, 0, .7); }
html:has(.shop-order-dialog[open]) { overflow: hidden; }
.shop-order-dialog-header { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.shop-order-dialog-header h2 { margin: 0; font-size: clamp(22px, 5vw, 30px); line-height: 1.12; }
.shop-order-dialog-header .btn { padding-inline: 10px; }
.shop-order-dialog .shop-review-heading h3 { margin: 0 0 6px; font-size: clamp(20px, 4.5vw, 26px); line-height: 1.2; }
.shop-order-dialog .shop-review-thumb { width: clamp(64px, 16vw, 84px); }
.shop-order-feedback { color: var(--copy); margin: 0 0 12px; }
.shop-order-dialog .shop-notice { margin: 12px 0 0; }
.shop-order-dialog .shop-purchase-summary > p:not(.eyebrow) { margin-block: 12px; font-size: .9rem; }
.shop-page .shop-notice { margin-top: 0; margin-bottom: 14px; }
.shop-order-table-wrap:focus-visible { outline: 2px solid var(--gold-strong); outline-offset: 3px; }
.shop-order-table code { display: inline-block; min-width: 12ch; max-width: 23ch; overflow-wrap: anywhere; user-select: all; }
.shop-purchase-shell { width: min(100%, 740px); margin-inline: auto; }
.shop-review-card { padding: clamp(16px, 4vw, 30px); border: 1px solid var(--panel-border); border-radius: 8px; background: var(--panel-bg-strong); }
.shop-review-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; }
.shop-review-heading h1 { margin: 0 0 6px; font-size: clamp(26px, 5vw, 40px); line-height: 1.12; overflow-wrap: anywhere; }
.shop-review-heading p { margin: 0; }
.shop-review-thumb { width: clamp(88px, 18vw, 112px); aspect-ratio: 1; object-fit: cover; flex: none; border: 1px solid var(--panel-border-soft); border-radius: 6px; }
:is(.shop-review-card, .shop-order-dialog) dl { margin-block: 12px; }
:is(.shop-review-card, .shop-order-dialog) dl div { padding-block: 8px; }
:is(.shop-review-card, .shop-order-dialog) .shop-review-total { background: rgba(205, 164, 83, .10); border: 1px solid var(--panel-border-soft); border-radius: 6px; padding: 4px 10px; }
:is(.shop-review-card, .shop-order-dialog) .shop-review-total div { border: 0; font-weight: 700; }
.shop-review-total dd { color: var(--gold-strong); font-variant-numeric: tabular-nums; }
.shop-review-card .shop-review-quantity { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: end; }
.shop-review-quantity label { display: grid; gap: 4px; }
.shop-review-quantity input { width: 90px; min-height: 40px; border: 1px solid var(--panel-border); border-radius: 4px; padding: 7px 9px; background: var(--surface); color: var(--text); }
.shop-review-card form .btn { margin: 0; }

@media (max-width: 760px) {
	.account-workspace, .support-page { width: calc(100% - 28px); }
	.account-workspace .dashboard-header, .support-page .dashboard-header { align-items: flex-start; gap: 10px; }
	.account-wallet { width: 100%; justify-content: space-between; }
	.account-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.account-nav a { padding: 9px; font-size: 13px; }
	.account-overview-grid, .account-security-grid { grid-template-columns: minmax(0, 1fr); }
	.support-conversation-entry { padding: 10px; }
}

@media (max-width: 760px) {
	.hero, .hero-inner { min-height: auto; }
	.hero-inner { padding-block: 36px 62px; }
	.hero-logo { width: min(230px, 68vw); }
	.hero h1 { font-size: clamp(33px, 8vw, 50px); }
	.hero-status span { display: block; }
	.hero-status span::before { content: none; }
	.launch-grid { grid-template-columns: 1fr; }
}

/* Shared reading and utility surfaces */
.site-interior {
	background:
		linear-gradient(180deg, rgba(13, 10, 7, .83), #0b0907 39rem),
		var(--site-backdrop) center top / max(100%, 800px) auto no-repeat,
		#0b0907;
}

.primary-button,
.outline-button {
	min-height: 44px;
	font-family: inherit;
	line-height: 1.25;
	text-align: center;
	white-space: normal;
}

main .btn:disabled,
main .btn:disabled:hover {
	transform: none;
	border-color: var(--panel-border-soft);
	background: #211c15;
	color: var(--muted);
	box-shadow: none;
	text-shadow: none;
	cursor: not-allowed;
	transition: none;
}

.nav-count {
	display: inline-grid;
	min-width: 18px;
	min-height: 18px;
	place-items: center;
	border-radius: 999px;
	padding: 0 4px;
	background: var(--gold-strong);
	color: var(--ink);
	font-size: 11px;
	line-height: 1;
	font-variant-numeric: tabular-nums;
}

.account-name[aria-current],
.mobile-quick-action[aria-current] {
	border-radius: 4px;
	background: rgba(209, 170, 93, .14);
	color: var(--gold-strong);
}
.account-name { padding: 6px 8px; }

.form-recovery-link { justify-self: end; font-size: .875rem; }
.form-support { margin-top: 10px; border-top: 1px solid var(--panel-border-soft); }
.registration-form label:not(.check-line) { margin-top: 6px; }
.account-form .check-line { min-height: 36px; }
.newsletter-fields > button { justify-self: start; width: auto; }
.newsletter-fields select { padding-inline-end: 28px; }

.form-recovery-link,
.account-form > p a,
.shop-notice a:not(.btn),
.shop-page-heading a:not(.btn),
.support-empty a,
.support-reply > p a,
.support-page .form-error a,
.guide-card > p a {
	color: var(--gold-strong);
	text-decoration: underline;
	text-underline-offset: .18em;
}

.presentation-hero { padding: clamp(24px, 4vw, 48px); }
.presentation-hero p:not(.kicker) { max-width: 58ch; }
.presentation-contents-mobile { display: none; }
.presentation-contents-mobile summary { padding: 9px; color: var(--gold-strong); font-weight: 700; }
.presentation-contents-mobile nav { margin-top: 6px; }
.feature-panel-copy :is(p, ul), .presentation-faq p { max-width: 70ch; }

.news-card :is(h2, h3), .guide-card h2, .shop-product-body, .shop-review-heading > div {
	min-width: 0;
	overflow-wrap: anywhere;
}
.news-card :is(h2, h3) { margin: 0 0 10px; }
.news-empty, .shop-empty-state { grid-column: 1 / -1; }
.guide-card h2 { margin-top: 0; }
.legal-page { max-width: 810px; }
.legal-sections p { max-width: 70ch; }

.ranking-table th[scope="row"],
.shop-order-table th[scope="row"] {
	background: transparent;
	color: var(--text);
	font-size: inherit;
	font-weight: 600;
	text-transform: none;
}
.ranking-table tr > :is(:first-child, :nth-child(3)),
.shop-order-table td { font-variant-numeric: tabular-nums; }

.account-verification-heading { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 12px; margin-bottom: 8px; }
.account-verification-heading h3 { margin: 0; }
.account-status {
	border: 1px solid var(--panel-border);
	border-radius: 4px;
	padding: 2px 7px;
	color: var(--gold-strong);
	font-size: .8125rem;
	font-weight: 600;
}
.account-status.is-verified { border-color: #56795d; color: #b8dcbf; }
.support-page .dashboard-panel.support-ticket-summary { padding-block: 13px; }
.support-ticket-summary .stat-list { grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 0 18px; }
.support-ticket-summary .stat-list > div { padding: 6px 0; border: 0; border-radius: 0; background: transparent; }
.support-ticket-list .support-ticket-heading,
.support-ticket-meta { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; }
.support-ticket-heading h2 { min-width: 0; overflow-wrap: anywhere; }
.support-ticket-list .support-new-reply { margin: 0; }
.support-conversation-staff { border-inline-start: 2px solid var(--gold); background: rgba(199, 155, 82, .065); }
.support-form :is(input, select, textarea) { min-width: 0; min-height: 44px; border-color: var(--panel-border); background: #110e0a; }
.support-form select { text-overflow: ellipsis; }
.support-form input[type="file"]::file-selector-button { margin-inline-end: 10px; border: 1px solid var(--panel-border); border-radius: 4px; padding: 5px 9px; background: var(--panel-bg); color: var(--gold-strong); }

.shop-history + .shop-history { border-top: 0; margin-top: 0; }
.shop-history { container-type: inline-size; }
.shop-history h2 { font-size: clamp(24px, 3vw, 32px); }
.shop-order-table-wrap { border: 1px solid var(--panel-border-soft); border-radius: 6px; background: #0e0b08; }
.shop-order-table thead { background: rgba(199, 155, 82, .075); }
.shop-order-table tbody tr:last-child > * { border-bottom: 0; }
.table-scroll-hint { display: none; }
.shop-review-card .shop-review-quantity .btn { width: auto; }
.shop-review-quantity input { min-height: 44px; }
.shop-review-card [data-quote-changed] { margin: 0 0 10px; color: var(--gold-strong); font-size: .875rem; }

@media (max-width: 900px) {
	.presentation-sidebar .presentation-contents-desktop { display: none; }
	.presentation-contents-mobile { display: block; }
}

@media (max-width: 760px) {
	.news-archive .news-panel { padding: 18px; }
	.presentation-facts > div { padding: 15px; }
	.presentation-facts dt { font-size: 20px; }
	.presentation-hero { padding: 22px; }
	.presentation-hero p:not(.kicker) { font-size: 15px; }
	.ranking-table :is(th, td) { padding-inline: 10px; }
	.ranking-table tr > :first-child { width: 54px; }
	.ranking-table tr > :nth-child(2) { width: 148px; overflow-wrap: anywhere; }
	.ranking-table tr > :nth-child(3) { width: 62px; }
	.shop-order-table :is(th, td) { padding-inline: 9px; }
	.shop-order-table tr > :nth-child(2) { width: 125px; }
	.shop-order-table tr > :first-child { width: 145px; overflow-wrap: anywhere; }
	.shop-category-nav ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.shop-category-nav a { padding-inline: 7px; font-size: .875rem; }
	.shop-product-card { padding: 10px; }
	.shop-product-media { width: clamp(66px, 20vw, 96px); margin-inline-end: 10px; }
	.coin-package-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.coin-package-card { padding: 10px; }
	.coin-package-card .btn { padding-inline: 8px; font-size: 12px; }
	.coin-package-card strong { font-size: 26px; }
	.coin-package-card em { inset: 5px auto auto 5px; padding: 3px 6px; font-size: 9px; }
}

@media (max-width: 640px) {
	.site-footer .footer-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
	.footer-about, .footer-status { grid-column: 1 / -1; }
	.footer-column { min-width: 0; }
	.feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.feature-card { padding: 18px 12px; }
	.feature-card .feature-icon { width: 40px; height: 40px; margin-bottom: 10px; font-size: 20px; }
	.feature-card h2 { font-size: 16px; line-height: 1.18; }
	.feature-card p { font-size: 13px; }
	.feature-card:nth-child(2) { border-top: 0; }
	.feature-card:nth-child(even) { border-inline-start: 1px solid var(--panel-border-soft); }
}

@container (max-width: 621px) {
	.table-scroll-hint { display: block; margin-bottom: 8px; color: var(--muted); font-size: .875rem; }
}

@container (max-width: 581px) {
	.rankings-scroll-hint { display: block; margin-bottom: 8px; font-size: .875rem; }
}
