/* Avarion2 — shared layout (header / footer / page panels) */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html,
body {
	margin: 0;
	padding: 0;
	min-height: 100%;
}

body {
	font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
	background: #0a0807;
	color: #d8cdb8;
	line-height: 1.6;
}

a {
	color: inherit;
	text-decoration: none;
}

button {
	font: inherit;
	cursor: pointer;
}

#site {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

.layout-error {
	margin: 0;
	padding: 1rem 2rem;
	color: #c96;
	font-size: 0.875rem;
}

/* ── Header ── */

.site-header {
	position: relative;
	background:
		linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.55) 100%),
		radial-gradient(ellipse 120% 180% at 50% -40%, rgba(120, 28, 28, 0.55) 0%, transparent 55%),
		linear-gradient(90deg, #120908 0%, #2a1210 35%, #1a0c0a 70%, #0d0706 100%);
	border-bottom: 1px solid rgba(90, 45, 35, 0.45);
	box-shadow: inset 0 -1px 0 rgba(255, 180, 120, 0.06);
}

.site-header__inner {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 1.5rem;
	min-height: 56px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
}

.site-header__nav {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 1;
	flex-wrap: wrap;
	gap: 0.25rem 2.25rem;
}

.site-header__link {
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #c4b08a;
	transition: color 0.15s ease;
}

.site-header__link:hover,
.site-header__link.is-active {
	color: #f0e2c8;
}

.site-header__actions {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	flex-shrink: 0;
}

.site-header__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.45rem;
	min-height: 34px;
	padding: 0 1rem;
	border: 1px solid rgba(255, 255, 255, 0.08);
	font-size: 0.8125rem;
	font-weight: 600;
	color: #f5f0ea;
	white-space: nowrap;
	transition: background 0.15s ease, border-color 0.15s ease;
}

.site-header__btn--login,
.site-header__btn--lang {
	background: linear-gradient(180deg, #2a221c 0%, #1a1512 100%);
}

.site-header__btn--login:hover,
.site-header__btn--lang:hover {
	background: linear-gradient(180deg, #352b24 0%, #221c18 100%);
	border-color: rgba(255, 255, 255, 0.14);
}

.site-header__btn--register {
	background: linear-gradient(180deg, #4a3d62 0%, #2f2744 100%);
	border-color: rgba(160, 140, 210, 0.25);
}

.site-header__btn--register:hover {
	background: linear-gradient(180deg, #564872 0%, #3a3150 100%);
}

.site-header__btn--account {
	background: linear-gradient(180deg, #2a221c 0%, #1a1512 100%);
	border-color: rgba(255, 255, 255, 0.12);
	max-width: 10rem;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.site-header__btn--account:hover {
	background: linear-gradient(180deg, #352b24 0%, #221c18 100%);
	border-color: rgba(255, 255, 255, 0.14);
}

.site-header__chevron {
	width: 0;
	height: 0;
	border-left: 4px solid transparent;
	border-right: 4px solid transparent;
	border-top: 5px solid rgba(245, 240, 234, 0.85);
	margin-top: 2px;
}

.site-header__flag {
	width: 18px;
	height: 12px;
	border-radius: 1px;
	background:
		linear-gradient(90deg, #012169 0 33%, transparent 33% 66%, #c8102e 66%),
		linear-gradient(#fff 0 50%, #c8102e 50%);
	background-size: 100% 100%, 100% 100%;
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.35);
}

.site-header__dropdown {
	position: relative;
}

.site-header__menu {
	position: absolute;
	top: calc(100% + 6px);
	right: 0;
	min-width: 170px;
	padding: 0.35rem 0;
	background: #1a1512;
	border: 1px solid rgba(255, 255, 255, 0.1);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
	z-index: 20;
}

.site-header__menu a,
.site-header__menu-item {
	display: block;
	width: 100%;
	padding: 0.55rem 1rem;
	border: 0;
	background: transparent;
	text-align: left;
	font-size: 0.8125rem;
	color: #d8cdb8;
}

.site-header__menu a:hover,
.site-header__menu-item:not(:disabled):hover {
	background: rgba(255, 255, 255, 0.06);
	color: #fff;
}

.site-header__menu-item:disabled {
	opacity: 0.45;
	cursor: not-allowed;
}

.site-header__menu-item.is-active {
	color: #f0e2c8;
}

/* ── Page panel (body) ── */

.page-panel {
	flex: 1;
	padding: 2.5rem 1.5rem 3rem;
	background:
		radial-gradient(ellipse 80% 50% at 50% 0%, rgba(60, 20, 18, 0.25) 0%, transparent 60%),
		#0a0807;
}

.page-panel__inner {
	max-width: 960px;
	margin: 0 auto;
	padding: 2rem 2.25rem;
	background: linear-gradient(180deg, rgba(22, 18, 16, 0.95) 0%, rgba(14, 11, 10, 0.98) 100%);
	border: 1px solid rgba(120, 80, 60, 0.25);
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.page-panel__title {
	margin: 0 0 1.25rem;
	font-size: 1.75rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	color: #f0e2c8;
}

.page-panel__body {
	color: #c8bdb0;
}

.page-panel__body p {
	margin: 0 0 1rem;
}

.page-panel__body p:last-child {
	margin-bottom: 0;
}

.page-panel__placeholder {
	opacity: 0.75;
	font-style: italic;
}

/* ── Home hero background ── */

body[data-page="home"] .site-header {
	background:
		linear-gradient(180deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.45) 100%),
		radial-gradient(ellipse 120% 180% at 50% -40%, rgba(120, 28, 28, 0.35) 0%, transparent 55%),
		linear-gradient(90deg, rgba(18, 9, 8, 0.92) 0%, rgba(42, 18, 16, 0.85) 35%, rgba(26, 12, 10, 0.88) 70%, rgba(13, 7, 6, 0.92) 100%);
}

.page-panel--home {
	position: relative;
	padding: 0;
	background: #050505;
}

.home-hero {
	position: relative;
	width: 100%;
	min-height: 62vh;
	max-height: 900px;
	background:
		linear-gradient(180deg, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.2) 55%, rgba(5, 5, 5, 0.92) 100%),
		url("/assets/img/bghome.png") center top / cover no-repeat;
}

.home-hero__notice {
	position: absolute;
	top: calc(50% + 35px + 1.25rem);
	left: 50%;
	z-index: 2;
	width: min(calc(100% - 2.5rem), 42rem);
	margin: 0;
	font-size: clamp(1.375rem, 3.2vw, 2.125rem);
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	text-align: center;
	color: #f0e2c8;
	text-shadow: 0 2px 18px rgba(0, 0, 0, 0.65);
	transform: translateX(-50%);
}

.home-stats {
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: 2;
	width: 250px;
	min-height: 70px;
	padding: 0.65rem 0.85rem;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 0.35rem;
	transform: translate(-50%, -50%);
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 6px;
	background: rgba(8, 6, 5, 0.78);
	backdrop-filter: blur(8px);
	box-shadow: 0 10px 32px rgba(0, 0, 0, 0.42);
	text-align: center;
}

.home-stats__label {
	margin: 0;
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	color: #b8a88a;
	line-height: 1.2;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 100%;
	opacity: 1;
	transition: opacity 0.25s ease;
}

.home-stats__label.is-changing {
	opacity: 0.55;
}

.home-stats__value {
	margin: 0;
	font-size: 2.25rem;
	font-weight: 700;
	line-height: 1;
	color: #f0e2c8;
	font-variant-numeric: tabular-nums;
	opacity: 1;
	transition: opacity 0.2s ease;
}

.home-stats__value.is-changing {
	opacity: 0.85;
}

/* ── Home rankings ── */

.home-rankings {
	padding: 0 1.5rem 3rem;
	background: #050505;
}

.home-rankings__grid {
	max-width: 1180px;
	width: 100%;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2rem;
	align-items: start;
}

.rank-board {
	width: 100%;
	text-align: left;
}

.rank-board__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 0.85rem;
}

.rank-board__title {
	margin: 0;
	font-size: 1.75rem;
	font-weight: 700;
	color: #d8d8d8;
	letter-spacing: 0.02em;
}

.rank-board__badge {
	display: inline-flex;
	align-items: center;
	min-height: 28px;
	padding: 0 0.85rem;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 4px;
	background: rgba(255, 255, 255, 0.04);
	font-size: 0.8125rem;
	color: #b8b8b8;
}

.rank-board__table-wrap {
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.rank-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.875rem;
}

.rank-table thead th {
	padding: 0.85rem 0.5rem 0.65rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	text-align: left;
	font-size: 0.8125rem;
	font-weight: 600;
	color: #9a9a9a;
}

.rank-table tbody td {
	padding: 0.7rem 0.5rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.05);
	color: #d0d0d0;
	vertical-align: middle;
	text-align: left;
}

.rank-table tbody tr:hover {
	background: rgba(255, 255, 255, 0.03);
}

.rank-table__num {
	width: 2rem;
	color: #888;
}

.rank-table__name,
.rank-table__master {
	font-weight: 500;
	color: #ececec;
}

.rank-table__level,
.rank-table__members {
	color: #d0d0d0;
}

.rank-table__path {
	max-width: 7.5rem;
	color: #c8c8c8;
	font-size: 0.8125rem;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.rank-table__icon {
	width: 3.5rem;
	text-align: center;
}

.rank-table__empty {
	padding: 1.25rem 0;
	color: #777;
	font-style: italic;
}

.rank-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	vertical-align: middle;
}

.rank-icon--class {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, 0.15);
	font-size: 0.6875rem;
	font-weight: 700;
	color: #fff;
}

.rank-class-img {
	display: block;
	width: 28px;
	height: 28px;
	margin: 0 auto;
	object-fit: contain;
	image-rendering: -webkit-optimize-contrast;
	image-rendering: crisp-edges;
}

.rank-profession-img {
	display: block;
	width: 24px;
	height: 24px;
	margin: 0 auto;
	object-fit: contain;
	image-rendering: -webkit-optimize-contrast;
	image-rendering: crisp-edges;
}

.rank-icon--class-fallback {
	background: rgba(255, 255, 255, 0.08);
}

.rank-icon--job {
	width: 24px;
	height: 24px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 0.75rem;
	color: #888;
}

.rank-icon--job-fallback {
	border-radius: 3px;
	background: rgba(255, 255, 255, 0.06);
}

.rank-board__more {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin-top: 1rem;
	padding: 0.55rem 0.9rem;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 4px;
	background: rgba(255, 255, 255, 0.03);
	font-size: 0.8125rem;
	color: #b8b8b8;
	transition: background 0.15s ease, color 0.15s ease;
}

.rank-board__more:hover {
	background: rgba(255, 255, 255, 0.07);
	color: #ececec;
}

.rank-board__more::before {
	content: "";
	width: 14px;
	height: 10px;
	background:
		linear-gradient(#888 0 2px, transparent 2px 4px, #888 4px 6px, transparent 6px 8px, #888 8px 10px);
}

@media (max-width: 900px) {
	.page-panel--home,
	.home-hero {
		min-height: auto;
	}

	.home-hero {
		min-height: 48vh;
		background-position: center 20%;
	}

	.home-hero__notice {
		top: calc(50% + 35px + 1rem);
		width: min(calc(100% - 2rem), 42rem);
		font-size: 1.25rem;
	}

	.home-stats {
		width: min(250px, calc(100% - 2rem));
		min-height: 70px;
		padding: 0.55rem 0.75rem;
	}

	.home-stats__label {
		font-size: 0.75rem;
	}

	.home-stats__value {
		font-size: 1.875rem;
	}

	.home-rankings {
		padding-left: 1rem;
		padding-right: 1rem;
	}

	.home-rankings__grid {
		grid-template-columns: 1fr;
		gap: 2.5rem;
	}
}

@media (max-width: 520px) {
	.home-hero {
		min-height: 38vh;
		background-position: center 15%;
	}

	.rank-table {
		font-size: 0.8125rem;
	}

	.rank-board__title {
		font-size: 1.375rem;
	}
}

.page-panel__inner--narrow {
	max-width: 520px;
}

.page-panel__inner--form {
	max-width: 720px;
	padding: 1.75rem 1.5rem;
	background: transparent;
	border: 0;
	box-shadow: none;
}

/* ── Registration card ── */

.reg-card {
	padding: 1.75rem 1.75rem 1.5rem;
	background: #141414;
	border: 1px solid rgba(255, 255, 255, 0.06);
	border-radius: 8px;
	box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
}

.reg-card__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 1.5rem;
}

.reg-card__title {
	margin: 0;
	font-size: 1.625rem;
	font-weight: 700;
	color: #f2f2f2;
	letter-spacing: 0.01em;
}

.reg-card__badge {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.04);
	color: #9a9a9a;
}

.reg-form {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.reg-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
}

.reg-field--full {
	grid-column: 1 / -1;
}

.reg-label {
	display: block;
	margin-bottom: 0.45rem;
	font-size: 0.8125rem;
	font-weight: 500;
	color: #a8a8a8;
}

.reg-label-opt {
	color: #666;
	font-weight: 400;
}

.reg-input-wrap {
	position: relative;
	display: flex;
	align-items: center;
}

.reg-input-icon {
	position: absolute;
	left: 0.85rem;
	display: flex;
	color: #6e6e6e;
	pointer-events: none;
}

.reg-input {
	width: 100%;
	height: 44px;
	padding: 0 0.85rem 0 2.65rem;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 6px;
	background: #1c1c1c;
	color: #ececec;
	font: inherit;
	font-size: 0.875rem;
	transition: border-color 0.15s ease, background 0.15s ease;
}

.reg-input::placeholder {
	color: #555;
}

.reg-input:focus {
	outline: none;
	border-color: rgba(29, 185, 84, 0.45);
	background: #202020;
}

.reg-input--select {
	padding-right: 2rem;
	cursor: pointer;
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23666' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 0.85rem center;
}

.reg-message {
	padding: 0.75rem 1rem;
	border-radius: 6px;
	font-size: 0.875rem;
}

.reg-message--error {
	background: rgba(180, 40, 40, 0.15);
	border: 1px solid rgba(220, 60, 60, 0.35);
	color: #f0b0b0;
}

.reg-message--success {
	background: rgba(29, 185, 84, 0.12);
	border: 1px solid rgba(29, 185, 84, 0.35);
	color: #a8e8bc;
}

.reg-footer {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 1.25rem;
	align-items: start;
	margin-top: 0.25rem;
}

.reg-consent {
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
}

.reg-check {
	display: flex;
	align-items: flex-start;
	gap: 0.55rem;
	font-size: 0.8125rem;
	line-height: 1.45;
	color: #888;
	cursor: pointer;
}

.reg-check input {
	margin-top: 0.2rem;
	flex-shrink: 0;
	accent-color: #1db954;
}

.reg-check a {
	color: #d4a017;
	text-decoration: none;
}

.reg-check a:hover {
	text-decoration: underline;
}

.reg-verify {
	display: flex;
	align-items: stretch;
	justify-content: flex-end;
}

.reg-turnstile {
	min-height: 65px;
}

.reg-turnstile iframe {
	border-radius: 6px;
}

.reg-submit {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.35rem;
	width: 100%;
	height: 48px;
	margin-top: 0.5rem;
	border: 0;
	border-radius: 6px;
	background: #1db954;
	color: #fff;
	font-size: 0.9375rem;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.15s ease, opacity 0.15s ease;
}

.reg-submit:hover:not(:disabled) {
	background: #1ed760;
}

.reg-submit:disabled {
	opacity: 0.65;
	cursor: not-allowed;
}

.reg-submit__plus {
	font-size: 1.125rem;
	font-weight: 700;
	line-height: 1;
}

.reg-login-link {
	margin: 0.75rem 0 0;
	text-align: center;
	font-size: 0.8125rem;
	color: #666;
}

.reg-login-link a {
	color: #d4a017;
	text-decoration: none;
}

.reg-login-link a:hover {
	text-decoration: underline;
}

/* ── Auth modals (login) ── */

body.auth-modal-open {
	overflow: hidden;
}

.auth-overlay {
	position: fixed;
	inset: 0;
	z-index: 1000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.25rem;
}

.auth-overlay[hidden] {
	display: none !important;
}

.auth-overlay__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.72);
	backdrop-filter: blur(4px);
}

.auth-modal {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 420px;
	max-height: calc(100vh - 2.5rem);
	overflow-y: auto;
	margin: 0;
}

.auth-modal--wide {
	max-width: 520px;
}

.auth-modal__close {
	position: absolute;
	top: 0.85rem;
	right: 0.85rem;
	width: 2rem;
	height: 2rem;
	border: 0;
	border-radius: 4px;
	background: rgba(255, 255, 255, 0.06);
	color: #b8b8b8;
	font-size: 1.35rem;
	line-height: 1;
	cursor: pointer;
}

.auth-modal__close:hover {
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
}

.auth-modal__user {
	font-size: 0.875rem;
	font-weight: 500;
	color: #9a9a9a;
}

.account-panel {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

.account-panel__section {
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	padding-top: 1rem;
}

.account-panel__heading {
	margin: 0 0 0.75rem;
	font-size: 0.9375rem;
	font-weight: 600;
	color: #c8c8c8;
}

.account-panel__table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.875rem;
}

.account-panel__table th,
.account-panel__table td {
	padding: 0.55rem 0.35rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
	text-align: left;
	color: #d0d0d0;
}

.account-panel__table th {
	color: #9a9a9a;
	font-weight: 600;
	font-size: 0.8125rem;
}

.account-panel__empty {
	color: #777;
	font-style: italic;
}

.account-panel__placeholder {
	margin: 0;
	color: #888;
	font-size: 0.875rem;
}

.account-panel__actions {
	display: flex;
	justify-content: flex-end;
	padding-top: 0.25rem;
}

/* ── Account page (sidebar + content) ── */

.page-panel--account {
	padding: 2rem 1.5rem 3rem;
}

.account-shell {
	max-width: 1100px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 240px minmax(0, 1fr);
	gap: 1.5rem;
	align-items: start;
}

.account-sidebar {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	padding: 1.25rem;
	background: #141414;
	border: 1px solid rgba(255, 255, 255, 0.06);
	border-radius: 8px;
}

.account-sidebar__head {
	padding-bottom: 0.75rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.account-sidebar__label {
	margin: 0 0 0.25rem;
	font-size: 0.75rem;
	color: #888;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.account-sidebar__user {
	margin: 0;
	font-size: 1rem;
	font-weight: 600;
	color: #f0f0f0;
	word-break: break-all;
}

.account-sidebar__nav {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
}

.account-sidebar__link {
	display: block;
	width: 100%;
	padding: 0.65rem 0.85rem;
	border: 0;
	border-radius: 4px;
	background: transparent;
	color: #b8b8b8;
	font-size: 0.875rem;
	font-weight: 500;
	text-align: left;
	cursor: pointer;
	transition: background 0.15s ease, color 0.15s ease;
}

.account-sidebar__link:hover {
	background: rgba(255, 255, 255, 0.05);
	color: #ececec;
}

.account-sidebar__link.is-active {
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
}

.account-sidebar__footer {
	margin-top: auto;
	padding-top: 0.75rem;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.account-sidebar__unstuck,
.account-sidebar__logout {
	width: 100%;
	min-height: 38px;
	padding: 0.55rem 0.85rem;
	border-radius: 4px;
	font-size: 0.875rem;
	font-weight: 600;
	cursor: pointer;
}

.account-sidebar__unstuck {
	border: 1px solid rgba(212, 160, 23, 0.35);
	background: rgba(212, 160, 23, 0.12);
	color: #d4a017;
}

.account-sidebar__unstuck:disabled {
	opacity: 0.55;
	cursor: not-allowed;
}

.account-sidebar__logout {
	border: 1px solid rgba(255, 255, 255, 0.12);
	background: rgba(255, 255, 255, 0.04);
	color: #c8c8c8;
}

.account-sidebar__logout:hover {
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
}

.account-content {
	padding: 1.5rem 1.75rem;
	background: #141414;
	border: 1px solid rgba(255, 255, 255, 0.06);
	border-radius: 8px;
	min-height: 420px;
}

.account-content__title {
	margin: 0 0 0.5rem;
	font-size: 1.5rem;
	font-weight: 700;
	color: #f0f0f0;
}

.account-content__lead {
	margin: 0 0 1.25rem;
	font-size: 0.875rem;
	color: #9a9a9a;
}

.account-content__notice {
	margin: 0 0 1rem;
	padding: 0.65rem 0.85rem;
	border-radius: 4px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.08);
	font-size: 0.8125rem;
	color: #888;
}

.account-form {
	max-width: 420px;
	margin-top: 1.5rem;
}

.account-tab[hidden] {
	display: none !important;
}

.account-class-cell {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
}

.account-class-cell__label {
	color: #d0d0d0;
	font-size: 0.875rem;
}

.form-field {
	margin-bottom: 1.25rem;
}

.form-label {
	display: block;
	margin-bottom: 0.4rem;
	font-size: 0.875rem;
	font-weight: 600;
	color: #e8dcc8;
}

.form-label-optional {
	font-weight: 400;
	color: #8a8078;
}

.form-input {
	display: block;
	width: 100%;
	padding: 0.65rem 0.85rem;
	border: 1px solid rgba(120, 80, 60, 0.35);
	background: rgba(8, 6, 5, 0.85);
	color: #f0e2c8;
	font: inherit;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-input:focus {
	outline: none;
	border-color: rgba(194, 24, 52, 0.65);
	box-shadow: 0 0 0 2px rgba(194, 24, 52, 0.2);
}

.form-hint {
	margin: 0.35rem 0 0;
	font-size: 0.75rem;
	color: #8a8078;
}

.form-message {
	margin-bottom: 1rem;
	padding: 0.75rem 1rem;
	border: 1px solid transparent;
	font-size: 0.875rem;
}

.form-message--error {
	background: rgba(120, 28, 28, 0.25);
	border-color: rgba(194, 24, 52, 0.45);
	color: #f0c8c8;
}

.form-message--success {
	background: rgba(28, 80, 40, 0.25);
	border-color: rgba(60, 140, 80, 0.45);
	color: #c8f0d0;
}

.form-actions {
	margin-top: 1.5rem;
}

.form-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 180px;
	min-height: 42px;
	padding: 0 1.5rem;
	border: 1px solid rgba(160, 140, 210, 0.25);
	background: linear-gradient(180deg, #4a3d62 0%, #2f2744 100%);
	color: #f5f0ea;
	font-size: 0.875rem;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.15s ease, opacity 0.15s ease;
}

.form-submit:hover:not(:disabled) {
	background: linear-gradient(180deg, #564872 0%, #3a3150 100%);
}

.form-submit:disabled {
	opacity: 0.65;
	cursor: not-allowed;
}

.form-footer-link {
	margin: 1rem 0 0;
	font-size: 0.875rem;
	color: #8a8078;
}

.form-footer-link a {
	color: #c4b08a;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.form-footer-link a:hover {
	color: #f0e2c8;
}

/* ── Footer ── */

.site-footer {
	background: #000;
	border-top: 1px solid rgba(255, 255, 255, 0.06);
	padding: 1.35rem 1.5rem 1.75rem;
}

.site-footer__nav {
	max-width: 1280px;
	margin: 0 auto;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.75rem 2.5rem;
}

.site-footer__link {
	font-size: 0.875rem;
	color: #8a8a8a;
	transition: color 0.15s ease;
}

.site-footer__link:hover,
.site-footer__link.is-active {
	color: #c8c8c8;
}

.site-footer__copy {
	max-width: 1280px;
	margin: 1rem auto 0;
	text-align: center;
	font-size: 0.75rem;
	color: #555;
}

/* ── Responsive ── */

@media (max-width: 900px) {
	.site-header__inner {
		flex-direction: column;
		padding-top: 0.75rem;
		padding-bottom: 0.75rem;
	}

	.site-header__nav {
		order: 2;
		gap: 0.5rem 1.25rem;
	}

	.site-header__actions {
		order: 1;
		width: 100%;
		justify-content: flex-end;
	}

	.page-panel__inner {
		padding: 1.5rem 1.25rem;
	}

	.account-shell {
		grid-template-columns: 1fr;
	}

	.account-sidebar__nav {
		flex-direction: row;
		flex-wrap: wrap;
	}

	.account-sidebar__link {
		flex: 1 1 auto;
		min-width: 140px;
		text-align: center;
	}

	.account-sidebar__footer {
		flex-direction: row;
		flex-wrap: wrap;
	}

	.account-sidebar__unstuck,
	.account-sidebar__logout {
		flex: 1 1 140px;
	}
}

@media (max-width: 640px) {
	.reg-row {
		grid-template-columns: 1fr;
	}

	.reg-footer {
		grid-template-columns: 1fr;
	}

	.reg-verify {
		display: none;
	}

	.page-panel__inner--form {
		padding: 1rem 0.75rem;
	}

	.reg-card {
		padding: 1.25rem 1rem;
	}
}

@media (max-width: 520px) {
	.site-header__link {
		font-size: 0.6875rem;
		letter-spacing: 0.1em;
	}

	.site-footer__nav {
		gap: 0.5rem 1.25rem;
	}

	.site-footer__link {
		font-size: 0.8125rem;
	}
}

/* ── Presentation page ── */

.pres {
	flex: 1;
	background: #0a0807;
}

.pres-disclaimer {
	padding: 1rem 1.5rem;
	background:
		linear-gradient(180deg, rgba(120, 72, 28, 0.22) 0%, rgba(90, 28, 28, 0.14) 100%),
		#120e0c;
	border-bottom: 1px solid rgba(200, 140, 60, 0.35);
	box-shadow: inset 0 1px 0 rgba(255, 210, 140, 0.08);
}

.pres-disclaimer__inner {
	max-width: 820px;
	margin: 0 auto;
	text-align: center;
}

.pres-disclaimer__label {
	margin: 0 0 0.45rem;
	font-size: 0.6875rem;
	font-weight: 800;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: #e8a848;
}

.pres-disclaimer__text {
	margin: 0;
	font-size: 0.9375rem;
	line-height: 1.65;
	color: #d8c8a8;
}

.pres-disclaimer__text strong {
	color: #f4e6c8;
	font-weight: 700;
}

/* Intro — editorial / clean */

.pres-intro {
	padding: 3.5rem 1.5rem 2.5rem;
	background:
		radial-gradient(ellipse 70% 55% at 50% -10%, rgba(90, 28, 28, 0.35) 0%, transparent 65%),
		#0a0807;
	border-bottom: 1px solid rgba(120, 80, 60, 0.2);
}

.pres-intro__inner {
	max-width: 720px;
	margin: 0 auto;
	text-align: center;
}

.pres-intro__eyebrow {
	margin: 0 0 0.75rem;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: #8a6a52;
}

.pres-intro__title {
	margin: 0 0 1rem;
	font-size: clamp(2rem, 5vw, 2.75rem);
	font-weight: 700;
	letter-spacing: 0.04em;
	color: #f0e2c8;
}

.pres-intro__lead {
	margin: 0;
	font-size: 1.0625rem;
	line-height: 1.7;
	color: #b8a88a;
}

/* Shared prose & reveal */

.pres-prose {
	font-size: 1rem;
	line-height: 1.75;
	color: #b8a88a;
}

.pres-prose p {
	margin: 0 0 1rem;
}

.pres-prose p:last-child {
	margin-bottom: 0;
}

.pres-prose em {
	color: #d4c4a8;
	font-style: italic;
}

.pres-prose strong {
	color: #e8dcc8;
	font-weight: 600;
}

.pres-prose--compact {
	font-size: 0.9375rem;
	line-height: 1.65;
}

.pres-reveal {
	opacity: 0;
	transform: translateY(18px);
	transition:
		opacity 0.6s ease,
		transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.pres-reveal.is-visible {
	opacity: 1;
	transform: translateY(0);
}

/* Media placeholders */

.pres-media {
	margin: 0;
}

.pres-media__frame {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.35rem;
	width: 100%;
	min-height: 200px;
	border-radius: 6px;
	overflow: hidden;
	background:
		repeating-linear-gradient(
			-45deg,
			rgba(255, 255, 255, 0.02) 0,
			rgba(255, 255, 255, 0.02) 8px,
			transparent 8px,
			transparent 16px
		),
		linear-gradient(180deg, rgba(20, 16, 14, 0.95) 0%, rgba(12, 10, 9, 0.98) 100%);
	border: 1px dashed rgba(120, 80, 60, 0.35);
}

.pres-media__frame--placeholder {
	aspect-ratio: 16 / 9;
	min-height: 0;
}

.pres-media__frame--round {
	width: 88px;
	height: 88px;
	min-height: 0;
	flex-shrink: 0;
	border-radius: 50%;
	aspect-ratio: 1;
}

.pres-media--wide .pres-media__frame--placeholder {
	aspect-ratio: 21 / 9;
}

.pres-media__badge {
	padding: 0.2rem 0.55rem;
	font-size: 0.625rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #8a6a52;
	background: rgba(0, 0, 0, 0.35);
	border: 1px solid rgba(120, 80, 60, 0.3);
	border-radius: 2px;
}

.pres-media__hint {
	font-size: 0.8125rem;
	font-weight: 600;
	color: #6a5a48;
}

.pres-media__path {
	font-size: 0.6875rem;
	color: #4a4038;
	font-family: Consolas, "Courier New", monospace;
	word-break: break-all;
	text-align: center;
	padding: 0 1rem;
	max-width: 100%;
}

.pres-media__caption {
	margin-top: 0.55rem;
	font-size: 0.75rem;
	color: #6a5a48;
	text-align: center;
	font-style: italic;
}

.pres-media__frame img,
.pres-media__frame video {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.pres-media__frame--loaded {
	aspect-ratio: auto;
	min-height: 0;
	border-style: solid;
	border-color: rgba(120, 80, 60, 0.28);
	background: #0c0a09;
}

.pres-media__frame--loaded img,
.pres-media__frame--loaded video {
	width: 100%;
	height: auto;
	object-fit: contain;
}

.pres-media__frame--zoomable {
	cursor: zoom-in;
}

.pres-media__frame--zoomable img {
	cursor: zoom-in;
	transition: opacity 0.2s ease;
}

.pres-media__frame--zoomable img:hover {
	opacity: 0.92;
}

.pres-media__frame--round.pres-media__frame--loaded {
	width: auto;
	height: auto;
	max-width: 120px;
	border-radius: 50%;
	overflow: hidden;
}

.pres-media__frame--round.pres-media__frame--loaded img {
	border-radius: 50%;
}

body.pres-lightbox-open {
	overflow: hidden;
}

.pres-lightbox {
	position: fixed;
	inset: 0;
	z-index: 1100;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.5rem;
}

.pres-lightbox[hidden] {
	display: none !important;
}

.pres-lightbox__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.88);
	backdrop-filter: blur(6px);
	cursor: zoom-out;
}

.pres-lightbox__close {
	position: absolute;
	top: 1rem;
	right: 1rem;
	z-index: 2;
	width: 2.5rem;
	height: 2.5rem;
	border: 1px solid rgba(120, 80, 60, 0.35);
	border-radius: 4px;
	background: rgba(18, 14, 12, 0.85);
	color: #e8dcc8;
	font-size: 1.5rem;
	line-height: 1;
	cursor: pointer;
}

.pres-lightbox__close:hover {
	background: rgba(40, 32, 28, 0.95);
	color: #fff;
}

.pres-lightbox__figure {
	position: relative;
	z-index: 1;
	max-width: min(96vw, 1400px);
	max-height: calc(100vh - 3rem);
	margin: 0;
}

.pres-lightbox__img {
	display: block;
	max-width: 100%;
	max-height: calc(100vh - 5rem);
	width: auto;
	height: auto;
	margin: 0 auto;
	border-radius: 4px;
	box-shadow: 0 12px 48px rgba(0, 0, 0, 0.55);
	cursor: zoom-out;
}

.pres-lightbox__caption {
	margin: 0.75rem 0 0;
	font-size: 0.8125rem;
	line-height: 1.5;
	color: #b8a88a;
	text-align: center;
	font-style: italic;
}

/* Scene — server landscape narrative */

.pres-scene {
	padding: 2.5rem 1.5rem 3.5rem;
	background: #080706;
	border-bottom: 1px solid rgba(120, 80, 60, 0.15);
}

.pres-scene__inner {
	max-width: 960px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 2rem;
}

.pres-scene__title {
	margin: 0 0 1.25rem;
	font-size: 1.5rem;
	font-weight: 700;
	color: #f0e2c8;
	letter-spacing: 0.02em;
}

.pres-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 1.5rem 0 0;
	padding: 0;
	list-style: none;
}

.pres-tags__item {
	padding: 0.35rem 0.75rem;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	color: #9a8a72;
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(120, 80, 60, 0.25);
	border-radius: 999px;
}

/* Questions */

.pres-questions {
	padding: 3rem 1.5rem 3.5rem;
	background:
		radial-gradient(ellipse 60% 40% at 50% 0%, rgba(50, 30, 20, 0.2) 0%, transparent 60%),
		#0a0807;
}

.pres-questions__inner {
	max-width: 720px;
	margin: 0 auto;
}

.pres-questions__head {
	margin-bottom: 2rem;
	text-align: center;
}

.pres-questions__title {
	margin: 0 0 0.5rem;
	font-size: 1.5rem;
	font-weight: 700;
	color: #f0e2c8;
}

.pres-questions__lead {
	margin: 0;
	font-size: 0.9375rem;
	color: #8a7a68;
}

.pres-questions__list {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
	counter-reset: pres-q;
}

.pres-q {
	counter-increment: pres-q;
	padding: 1.35rem 1.5rem 1.35rem 3.75rem;
	position: relative;
	background: linear-gradient(180deg, rgba(22, 18, 16, 0.9) 0%, rgba(14, 11, 10, 0.95) 100%);
	border: 1px solid rgba(120, 80, 60, 0.22);
	border-radius: 6px;
}

.pres-q::before {
	content: counter(pres-q, decimal-leading-zero);
	position: absolute;
	left: 1.25rem;
	top: 1.35rem;
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	color: #6a5040;
}

.pres-q__question {
	margin: 0 0 0.85rem;
	font-size: 1.0625rem;
	font-weight: 600;
	line-height: 1.45;
	color: #e8dcc8;
}

.pres-q__answer {
	margin: 0;
	padding: 0.85rem 0 0;
	border: 0;
	border-top: 1px solid rgba(120, 80, 60, 0.2);
}

.pres-q__answer p {
	margin: 0;
	font-size: 0.9375rem;
	line-height: 1.65;
	color: #a89880;
	font-style: italic;
}

.pres-q__answer cite {
	display: block;
	margin-top: 0.5rem;
	font-size: 0.75rem;
	font-weight: 700;
	font-style: normal;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #8a6a52;
}

.pres-q--open {
	border-style: dashed;
	border-color: rgba(120, 80, 60, 0.3);
	background: rgba(14, 11, 10, 0.6);
}

.pres-q__prompt {
	margin: 0;
	font-size: 0.875rem;
	line-height: 1.6;
	color: #7a6a58;
	font-style: italic;
}

/* Host intro — Sun */

.pres-host {
	padding: 3rem 1.5rem 3.5rem;
	background: #080706;
	border-bottom: 1px solid rgba(120, 80, 60, 0.15);
}

.pres-host__inner {
	max-width: 960px;
	margin: 0 auto;
}

.pres-host__intro {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	margin-bottom: 3rem;
	padding-bottom: 2rem;
	border-bottom: 1px solid rgba(120, 80, 60, 0.18);
}

.pres-host__eyebrow {
	margin: 0 0 0.35rem;
	font-size: 1rem;
	color: #b8a88a;
}

.pres-host__title {
	margin: 0;
	font-size: clamp(1.25rem, 3vw, 1.625rem);
	font-weight: 600;
	line-height: 1.4;
	color: #d8cdb8;
}

.pres-host__name {
	font-weight: 800;
	color: #f0e2c8;
}

.pres-host__more {
	margin: 2.5rem 0 0;
	padding: 1rem 1.25rem;
	text-align: center;
	font-size: 0.875rem;
	color: #7a6a58;
	font-style: italic;
	background: rgba(255, 255, 255, 0.02);
	border: 1px dashed rgba(120, 80, 60, 0.25);
	border-radius: 6px;
}

/* Feature rows with media */

.pres-features {
	display: flex;
	flex-direction: column;
	gap: 3rem;
}

.pres-feature {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 2rem;
	align-items: center;
}

.pres-feature--reverse .pres-feature__copy {
	order: 2;
}

.pres-feature--reverse .pres-media {
	order: 1;
}

.pres-feature__title {
	margin: 0 0 0.85rem;
	font-size: 1.25rem;
	font-weight: 700;
	color: #f0e2c8;
}

.pres-feature__highlights {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
	margin: 1rem 0 0;
	padding: 0;
	list-style: none;
}

.pres-feature__highlights li {
	padding: 0.3rem 0.65rem;
	font-size: 0.75rem;
	font-weight: 600;
	color: #b8a080;
	background: rgba(180, 40, 60, 0.08);
	border: 1px solid rgba(140, 50, 70, 0.22);
	border-radius: 999px;
}

.pres-feature__professions {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0.65rem;
	margin: 1rem 0 0.75rem;
	padding: 0;
	list-style: none;
}

.pres-feature__professions li {
	padding: 0.65rem 0.5rem;
	text-align: center;
	font-size: 0.8125rem;
	color: #a89880;
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(120, 80, 60, 0.22);
	border-radius: 4px;
}

.pres-feature__professions strong {
	display: block;
	color: #e8dcc8;
	font-weight: 700;
}

.pres-feature__note {
	margin: 0;
	font-size: 0.8125rem;
	color: #8a7a68;
	font-style: italic;
}

/* QoL — horizontal carousel above gameplan */

.pres-qol {
	position: relative;
	padding: 2.5rem 0 2rem;
	background:
		linear-gradient(180deg, rgba(8, 6, 8, 0) 0%, rgba(12, 9, 11, 0.85) 18%, rgba(10, 8, 10, 0.95) 100%);
	border-top: 1px solid rgba(120, 70, 60, 0.12);
}

.pres-qol__inner {
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 1rem;
}

.pres-qol__header {
	max-width: 640px;
	margin: 0 auto 1.75rem;
	text-align: center;
}

.pres-qol__eyebrow {
	margin: 0 0 0.45rem;
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: #a87858;
}

.pres-qol__title {
	margin: 0 0 0.65rem;
	font-size: clamp(1.35rem, 3vw, 1.85rem);
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #f0e0cc;
}

.pres-qol__lead {
	margin: 0;
	font-size: 0.875rem;
	line-height: 1.55;
	color: #958878;
}

.pres-qol__shell {
	position: relative;
	display: flex;
	align-items: stretch;
	gap: 0.35rem;
}

.pres-qol__nav {
	flex: 0 0 auto;
	align-self: center;
	width: 2.25rem;
	height: 2.75rem;
	padding: 0;
	font-size: 1.35rem;
	line-height: 1;
	color: #d8c4a8;
	background: rgba(20, 14, 12, 0.92);
	border: 1px solid rgba(140, 90, 60, 0.35);
	border-radius: 4px;
	cursor: pointer;
	transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.pres-qol__nav:hover {
	color: #fff0dc;
	background: rgba(120, 40, 50, 0.35);
	border-color: rgba(180, 70, 80, 0.45);
}

.pres-qol__nav:disabled {
	opacity: 0.35;
	cursor: default;
}

.pres-qol__track {
	flex: 1 1 auto;
	min-width: 0;
	overflow-x: auto;
	overflow-y: hidden;
	scroll-behavior: smooth;
	scroll-snap-type: x proximity;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: thin;
	scrollbar-color: rgba(160, 80, 70, 0.55) rgba(255, 255, 255, 0.04);
	cursor: grab;
	padding: 0.35rem 0 0.85rem;
	outline: none;
}

.pres-qol__track:focus-visible {
	box-shadow: inset 0 0 0 2px rgba(180, 90, 70, 0.45);
	border-radius: 6px;
}

.pres-qol__track.is-dragging {
	cursor: grabbing;
	scroll-behavior: auto;
	user-select: none;
}

.pres-qol__track::-webkit-scrollbar {
	height: 8px;
}

.pres-qol__track::-webkit-scrollbar-track {
	background: rgba(255, 255, 255, 0.04);
	border-radius: 999px;
}

.pres-qol__track::-webkit-scrollbar-thumb {
	background: rgba(160, 80, 70, 0.5);
	border-radius: 999px;
}

.pres-qol__strip {
	display: flex;
	gap: 1rem;
	padding: 0 0.35rem;
	min-height: 100%;
}

.pres-qol__loading,
.pres-qol__empty {
	flex: 0 0 auto;
	margin: 0;
	padding: 2rem 1.5rem;
	font-size: 0.875rem;
	color: #8a7a68;
}

.pres-qol__card {
	flex: 0 0 clamp(200px, 24vw, 240px);
	display: flex;
	flex-direction: column;
	scroll-snap-align: start;
	background:
		linear-gradient(165deg, rgba(28, 20, 18, 0.98) 0%, rgba(16, 12, 14, 0.98) 100%);
	border: 1px solid rgba(120, 80, 60, 0.28);
	border-radius: 6px;
	box-shadow:
		0 8px 24px rgba(0, 0, 0, 0.35),
		inset 0 1px 0 rgba(255, 220, 180, 0.06);
	overflow: hidden;
}

.pres-qol__media {
	position: relative;
	aspect-ratio: 16 / 10;
	background:
		radial-gradient(ellipse 80% 70% at 50% 20%, rgba(120, 40, 50, 0.18) 0%, transparent 55%),
		#0c0908;
	border-bottom: 1px solid rgba(120, 80, 60, 0.2);
	overflow: hidden;
}

.pres-qol__media img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.pres-qol__media--zoomable {
	cursor: zoom-in;
}

.pres-qol__media--zoomable img {
	cursor: zoom-in;
}

.pres-qol__media--zoomable img:focus-visible {
	outline: 2px solid rgba(200, 120, 80, 0.75);
	outline-offset: 2px;
}

.pres-qol__media--placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1rem;
	text-align: center;
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #7a6a58;
}

.pres-qol__body {
	flex: 1 1 auto;
	padding: 0.85rem 0.95rem 1rem;
}

.pres-qol__card-title {
	margin: 0 0 0.45rem;
	font-size: 0.875rem;
	font-weight: 700;
	line-height: 1.35;
	color: #f0dcc8;
}

.pres-qol__card-text {
	margin: 0;
	font-size: 0.75rem;
	line-height: 1.5;
	color: #9a8878;
}

.pres-qol__hint {
	margin: 0.65rem 0 0;
	text-align: center;
	font-size: 0.6875rem;
	letter-spacing: 0.06em;
	color: #6a5a50;
}

/* Gameplan — mana / bloodline stream */

.pres-gameplan {
	position: relative;
	padding: 3rem 1.5rem 5rem;
	overflow: hidden;
	background:
		radial-gradient(ellipse 50% 40% at 50% 0%, rgba(120, 20, 30, 0.2) 0%, transparent 55%),
		radial-gradient(ellipse 35% 50% at 50% 100%, rgba(60, 15, 50, 0.25) 0%, transparent 60%),
		linear-gradient(180deg, #060504 0%, #0a0708 40%, #08060a 100%);
}

.pres-gameplan::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		radial-gradient(circle at 20% 30%, rgba(180, 40, 50, 0.04) 0%, transparent 40%),
		radial-gradient(circle at 80% 70%, rgba(100, 40, 120, 0.05) 0%, transparent 35%);
	pointer-events: none;
}

.pres-gameplan__header {
	position: relative;
	z-index: 1;
	max-width: 520px;
	margin: 0 auto 2.5rem;
	text-align: center;
}

.pres-gameplan__eyebrow {
	margin: 0 0 0.5rem;
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	color: #a05058;
}

.pres-gameplan__title {
	margin: 0 0 0.75rem;
	font-size: clamp(1.75rem, 4vw, 2.25rem);
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #f0d8c8;
	text-shadow: 0 0 24px rgba(180, 50, 60, 0.35);
}

.pres-gameplan__lead {
	margin: 0;
	font-size: 0.9375rem;
	line-height: 1.6;
	color: #9a8898;
	font-style: italic;
}

.gameplan {
	position: relative;
	z-index: 1;
	max-width: 1100px;
	margin: 0 auto;
	padding: 1rem 0 2rem;
}

.gameplan__milestones {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 5.5rem;
}

/* Central vertical stream */

.gameplan__stream {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 50%;
	width: 28px;
	transform: translateX(-50%);
	pointer-events: none;
	z-index: 0;
}

.gameplan__stream-track {
	position: relative;
	width: 100%;
	height: 100%;
	border-radius: 999px;
	background:
		linear-gradient(180deg,
			rgba(30, 12, 14, 0.95) 0%,
			rgba(18, 8, 12, 0.98) 50%,
			rgba(22, 10, 18, 0.95) 100%);
	box-shadow:
		inset 0 0 12px rgba(0, 0, 0, 0.8),
		0 0 20px rgba(80, 20, 30, 0.15);
	overflow: hidden;
}

.gameplan__stream-fill {
	--stream-progress: 0;
	position: absolute;
	top: 0;
	left: 2px;
	right: 2px;
	height: calc(var(--stream-progress) * 100%);
	min-height: 0;
	border-radius: 999px;
	background:
		linear-gradient(180deg,
			#ff6b5a 0%,
			#c21834 35%,
			#8b1538 65%,
			#5c1a4a 100%);
	box-shadow:
		0 0 16px rgba(220, 50, 70, 0.7),
		0 0 32px rgba(180, 30, 60, 0.35),
		inset 0 2px 8px rgba(255, 180, 160, 0.35);
	transition: height 0.08s linear;
}

.gameplan__stream-fill::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	background: linear-gradient(
		180deg,
		rgba(255, 255, 255, 0.25) 0%,
		transparent 30%,
		rgba(255, 100, 120, 0.15) 50%,
		transparent 70%,
		rgba(0, 0, 0, 0.2) 100%
	);
	animation: gameplan-pulse 2.8s ease-in-out infinite;
}

.gameplan__stream-glow {
	position: absolute;
	top: 0;
	left: 50%;
	width: 80px;
	height: 100%;
	transform: translateX(-50%);
	background: radial-gradient(
		ellipse 50% 100% at 50% 50%,
		rgba(200, 40, 60, 0.12) 0%,
		transparent 70%
	);
}

@keyframes gameplan-pulse {
	0%,
	100% {
		opacity: 0.85;
	}
	50% {
		opacity: 1;
	}
}

/* Milestone row */

.gameplan__milestone {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
	align-items: center;
	gap: 0;
	min-height: 140px;
}

.gameplan__junction {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 120px;
	flex-shrink: 0;
}

.gameplan__node {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	flex-shrink: 0;
}

.gameplan__node-ring {
	position: absolute;
	inset: 0;
	border-radius: 50%;
	border: 2px solid rgba(220, 80, 90, 0.5);
	background:
		radial-gradient(circle at 35% 30%, rgba(255, 120, 100, 0.35) 0%, transparent 45%),
		radial-gradient(circle at 50% 50%, #2a1018 0%, #12080c 100%);
	box-shadow:
		0 0 20px rgba(200, 40, 60, 0.45),
		inset 0 0 12px rgba(0, 0, 0, 0.5);
	transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.5s ease;
}

.gameplan__node-label {
	position: relative;
	z-index: 1;
	font-size: 0.6875rem;
	font-weight: 800;
	letter-spacing: 0.04em;
	color: #ffd8c8;
	text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
	white-space: nowrap;
}

.gameplan__branch {
	display: block;
	height: 2px;
	flex: 1;
	max-width: 32px;
	background: linear-gradient(90deg, transparent, rgba(180, 50, 70, 0.2));
	transform-origin: center;
	transform: scaleX(0);
	opacity: 0;
	transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.1s, opacity 0.4s ease 0.1s;
}

.gameplan__branch--right {
	background: linear-gradient(90deg, rgba(180, 50, 70, 0.2), transparent);
}

.gameplan__milestone.is-visible .gameplan__branch {
	transform: scaleX(1);
	opacity: 1;
}

.gameplan__milestone.is-visible .gameplan__branch--left {
	background: linear-gradient(90deg, transparent, rgba(220, 60, 80, 0.85));
	box-shadow: 0 0 8px rgba(200, 40, 60, 0.4);
}

.gameplan__milestone.is-visible .gameplan__branch--right {
	background: linear-gradient(90deg, rgba(220, 60, 80, 0.85), transparent);
	box-shadow: 0 0 8px rgba(200, 40, 60, 0.4);
}

.gameplan__milestone.is-visible .gameplan__node-ring {
	transform: scale(1.08);
	box-shadow:
		0 0 28px rgba(220, 50, 70, 0.65),
		0 0 48px rgba(180, 30, 60, 0.25),
		inset 0 0 12px rgba(0, 0, 0, 0.5);
}

/* Branch panels */

.gameplan__panel {
	padding: 1.25rem 1.35rem;
	border-radius: 4px;
	background:
		linear-gradient(135deg, rgba(28, 14, 20, 0.92) 0%, rgba(14, 8, 14, 0.96) 100%);
	border: 1px solid rgba(140, 50, 70, 0.28);
	box-shadow:
		0 8px 28px rgba(0, 0, 0, 0.45),
		inset 0 1px 0 rgba(255, 180, 160, 0.06);
	opacity: 0;
	transform: translateY(12px);
	transition:
		opacity 0.55s ease 0.2s,
		transform 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.2s,
		border-color 0.3s ease;
}

.gameplan__panel--left {
	margin-right: 0.5rem;
	text-align: right;
	transform: translateX(-16px);
}

.gameplan__panel--right {
	margin-left: 0.5rem;
	text-align: left;
	transform: translateX(16px);
}

.gameplan__milestone.is-visible .gameplan__panel {
	opacity: 1;
	transform: translate(0, 0);
}

.gameplan__milestone.is-visible .gameplan__panel:hover {
	border-color: rgba(200, 70, 90, 0.45);
}

.gameplan__panel-tag {
	display: inline-block;
	margin-bottom: 0.45rem;
	padding: 0.15rem 0.5rem;
	font-size: 0.625rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #c87888;
	background: rgba(180, 40, 60, 0.12);
	border: 1px solid rgba(180, 50, 70, 0.25);
	border-radius: 2px;
}

.gameplan__panel-title {
	margin: 0 0 0.5rem;
	font-size: 1rem;
	font-weight: 700;
	color: #f0d8c8;
	letter-spacing: 0.02em;
}

.gameplan__panel p {
	margin: 0;
	font-size: 0.8125rem;
	line-height: 1.55;
	color: #a09098;
}

@media (max-width: 900px) {
	.pres-feature {
		grid-template-columns: 1fr;
		gap: 1.25rem;
	}

	.pres-feature--reverse .pres-feature__copy,
	.pres-feature--reverse .pres-media {
		order: unset;
	}

	.pres-host__intro {
		flex-direction: column;
		text-align: center;
	}

	.pres-feature__professions {
		grid-template-columns: 1fr;
	}

	.gameplan__milestones {
		gap: 3.5rem;
	}

	.gameplan__milestone {
		grid-template-columns: 1fr;
		grid-template-rows: auto auto auto;
		gap: 0.75rem;
		min-height: 0;
	}

	.gameplan__junction {
		order: -1;
		width: 100%;
	}

	.gameplan__branch {
		max-width: 48px;
	}

	.gameplan__panel--left,
	.gameplan__panel--right {
		margin: 0;
		text-align: left;
		transform: translateY(12px);
	}

	.gameplan__milestone.is-visible .gameplan__panel--left,
	.gameplan__milestone.is-visible .gameplan__panel--right {
		transform: translateY(0);
	}

	.gameplan__stream {
		width: 20px;
	}

	.pres-qol__nav {
		display: none;
	}

	.pres-qol__card {
		flex-basis: min(78vw, 240px);
	}
}

@media (max-width: 520px) {
	.pres-intro {
		padding-top: 2.5rem;
	}

	.pres-gameplan {
		padding-bottom: 3.5rem;
	}

	.gameplan__panel {
		padding: 1rem 1.1rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.pres-reveal {
		opacity: 1;
		transform: none;
		transition: none;
	}

	.gameplan__stream-fill::after {
		animation: none;
	}

	.gameplan__panel,
	.gameplan__branch,
	.gameplan__node-ring {
		transition: none;
	}

	.gameplan__milestone {
		opacity: 1;
	}

	.gameplan__milestone .gameplan__panel,
	.gameplan__milestone .gameplan__branch {
		opacity: 1;
		transform: none;
	}
}
