:root {
	--home-bg: #050605;
	--home-bg-soft: #0b0f0d;
	--home-panel: rgba(9, 14, 13, 0.9);
	--home-panel-strong: rgba(6, 10, 10, 0.96);
	--home-text: #f0fff9;
	--home-muted: #a8c9c0;
	--home-cyan: #6fffea;
	--home-green: #78ffb9;
	--home-gold: #ffd77a;
	--home-red: #ff6d8f;
	--home-line: rgba(111, 255, 234, 0.28);
	--home-line-soft: rgba(240, 255, 249, 0.12);
}

html,
body {
	min-height: 100%;
	margin: 0;
	padding: 0;
	overflow-x: hidden;
	overflow-y: auto;
	scroll-behavior: smooth;
	scroll-snap-type: y proximity;
	background: var(--home-bg);
}

body.home-body {
	display: block;
	min-height: 100vh;
	min-height: 100svh;
	min-height: 100dvh;
	animation: none;
	scroll-behavior: smooth;
	scroll-snap-type: y proximity;
	background:
		linear-gradient(180deg, rgba(5, 6, 5, 0.92), rgba(5, 6, 5, 1)),
		linear-gradient(90deg, rgba(111, 255, 234, 0.05), rgba(255, 109, 143, 0.05));
	color: var(--home-text);
	font-family: "Exo 2", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

#navbar {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
}

body.home-body .navbar {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	height: 40px;
	padding: 0 14px;
	border-bottom: 1px solid rgba(111, 255, 234, 0.18);
	background:
		linear-gradient(90deg, rgba(5, 8, 8, 0.94), rgba(7, 13, 12, 0.86), rgba(5, 8, 8, 0.94)),
		linear-gradient(180deg, rgba(120, 255, 185, 0.08), rgba(0, 0, 0, 0));
	box-shadow:
		0 18px 48px rgba(0, 0, 0, 0.42),
		0 0 0 1px rgba(120, 255, 185, 0.08) inset;
	backdrop-filter: blur(16px);
}

body.home-body .navbar::before {
	content: none;
	position: absolute;
	left: 22px;
	top: 50%;
	transform: translateY(-50%);
	pointer-events: none;
	color: #ffffff;
	font-weight: 900;
	font-size: 1rem;
	letter-spacing: 0;
	text-shadow: 0 0 18px rgba(111, 255, 234, 0.35);
}

body.home-body .navbarLeft,
body.home-body .navbarRight,
body.home-body .navbarCenter {
	display: flex;
	align-items: center;
	gap: 8px;
	min-width: 0;
}

body.home-body .navbarLeft {
	justify-self: start;
}

body.home-body .navbarCenter {
	justify-self: center;
}

body.home-body .navbarRight {
	justify-self: end;
}

body.home-body .navbar a,
body.home-body #navbarUsername {
	display: inline-flex;
	align-items: center;
	min-height: 28px;
	padding: 5px 8px;
	border-radius: 8px;
	color: #dffdf5;
	font-size: 0.86rem;
	font-weight: 800;
	letter-spacing: 0;
	text-transform: none;
	text-decoration: none;
	transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease, transform 0.16s ease;
}

body.home-body .navbar .hidden,
body.home-body .navbar a.hidden,
body.home-body .navbar span.hidden,
body.home-body #navbarLeftDrawer .hidden {
	display: none !important;
}

body.home-body .navbar a:hover {
	transform: translateY(-1px);
	background: rgba(111, 255, 234, 0.08);
	color: #ffffff;
	text-shadow: 0 0 14px rgba(111, 255, 234, 0.34);
}

body.home-body #navbarLogin,
body.home-body #navbarLogout {
	border: 1px solid rgba(120, 255, 185, 0.5);
	background: rgba(120, 255, 185, 0.1);
	color: #f6fff9;
}

body.home-body #navbarShop,
body.home-body #drawerShop,
body.home-body #navbarVip,
body.home-body #drawerVip,
body.home-body #navbarSettings,
body.home-body #navbarForgedLinks,
body.home-body #drawerForgedLinks {
	display: none !important;
}

body.home-body .navbarAvatar {
	width: 28px;
	height: 28px;
	border-radius: 8px;
	border: 1px solid rgba(111, 255, 234, 0.44);
	object-fit: cover;
	box-shadow: 0 0 18px rgba(111, 255, 234, 0.2);
}

body.home-body .navbar-toggle,
body.home-body .navbar-toggle-left {
	width: 32px;
	height: 32px;
	align-items: center;
	justify-content: center;
	border-radius: 8px;
	border: 1px solid rgba(111, 255, 234, 0.22);
	background: rgba(5, 8, 8, 0.72);
}

body.home-body .navbar-toggle span,
body.home-body .navbar-toggle-left span {
	width: 18px;
	height: 2px;
	margin: 3px 0;
	background: var(--home-cyan);
	border-radius: 8px;
}

body.home-body #navbarLeftDrawer {
	top: 40px;
	left: 12px;
	width: min(320px, calc(100vw - 24px));
	padding: 12px;
	border-radius: 8px;
	border: 1px solid rgba(111, 255, 234, 0.22);
	background:
		linear-gradient(180deg, rgba(111, 255, 234, 0.08), rgba(255, 255, 255, 0.02)),
		rgba(5, 8, 8, 0.96);
	box-shadow: 0 24px 70px rgba(0, 0, 0, 0.58);
	backdrop-filter: blur(16px);
}

body.home-body #navbarLeftDrawer a {
	width: 100%;
	justify-content: flex-start;
}

.home-page {
	position: relative;
	isolation: isolate;
	min-height: 100vh;
	min-height: 100svh;
	min-height: 100dvh;
	background:
		linear-gradient(rgba(111, 255, 234, 0.045) 1px, transparent 1px),
		linear-gradient(90deg, rgba(111, 255, 234, 0.035) 1px, transparent 1px),
		linear-gradient(180deg, #050605 0%, #070908 42%, #050605 100%);
	background-size: 48px 48px, 48px 48px, auto;
}

.home-page::before {
	content: "";
	position: fixed;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	background:
		linear-gradient(120deg, rgba(120, 255, 185, 0.06), transparent 34%),
		linear-gradient(300deg, rgba(255, 109, 143, 0.07), transparent 38%);
	opacity: 0.95;
}

.home-hero {
	position: relative;
	display: flex;
	align-items: center;
	scroll-snap-align: start;
	scroll-margin-top: var(--nav-h, 40px);
	min-height: calc(100svh - var(--nav-h, 40px) - 68px);
	padding: 116px 0 76px;
	overflow: hidden;
	border-bottom: 1px solid var(--home-line-soft);
}

.home-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -2;
	background-image:
		linear-gradient(90deg, rgba(5, 6, 5, 0.94) 0%, rgba(5, 6, 5, 0.78) 46%, rgba(5, 6, 5, 0.36) 100%),
		linear-gradient(180deg, rgba(5, 6, 5, 0.12) 0%, rgba(5, 6, 5, 0.78) 100%),
		url("/img/home/home-hero-bg.webp"),
		linear-gradient(135deg, #07100c 0%, #10120d 48%, #16090c 100%);
	background-size: cover;
	background-position: center;
	transform: scale(1.02);
}

.home-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	background-image: linear-gradient(0deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
	background-size: 100% 4px;
	opacity: 0.22;
}

.home-inner {
	width: min(1180px, calc(100% - 36px));
	margin: 0 auto;
}

.home-hero-content {
	width: min(760px, 100%);
}

.home-kicker,
.home-section-kicker,
.home-chip,
.home-pill,
.home-hero h1,
.home-section-title,
.home-pillar h3,
.home-glimpse h3,
.home-update h3,
.hr-title,
.home-cta-primary,
.home-cta-secondary,
.home-text-link,
.home-choice,
.hr-nav-btn {
	letter-spacing: 0;
}

.home-kicker,
.home-section-kicker {
	display: inline-flex;
	align-items: center;
	gap: 0;
	margin: 0 0 18px;
	color: var(--home-green);
	font-size: 0.98rem;
	font-weight: 700;
	text-transform: uppercase;
}

.home-kicker::before,
.home-section-kicker::before {
	content: none;
	display: none;
}

.home-hero h1,
.home-section-title {
	margin: 0;
	color: #ffffff;
	font-weight: 800;
	line-height: 1.02;
	text-shadow: 0 0 28px rgba(111, 255, 234, 0.28);
}

.home-hero h1 {
	max-width: 760px;
	font-size: 4rem;
}

.home-hero-lead {
	max-width: 660px;
	margin: 24px 0 0;
	color: var(--home-muted);
	font-size: 1.22rem;
	line-height: 1.65;
}

.home-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 32px 0 0;
}

.home-logged-in .home-hero .home-actions {
	justify-content: center;
	width: min(360px, 100%);
	margin: 32px auto 0;
}

.home-logged-in .home-hero #playButton.home-cta-primary,
.home-logged-in .home-hero .home-cta-primary {
	width: 100%;
}

.home-cta-primary,
.home-cta-secondary,
.home-text-link,
.home-choice,
.hr-nav-btn {
	min-height: 44px;
	border-radius: 8px;
	font: inherit;
	font-weight: 800;
	cursor: pointer;
	transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
}

.home-cta-primary,
.home-cta-secondary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 12px 20px;
	text-decoration: none;
}

#playButton.home-cta-primary,
.home-cta-primary {
	border: 1px solid rgba(120, 255, 185, 0.86);
	background:
		linear-gradient(180deg, rgba(120, 255, 185, 0.2), rgba(111, 255, 234, 0.1)),
		#07100d;
	color: #f6fff9;
	box-shadow:
		0 0 0 1px rgba(120, 255, 185, 0.18) inset,
		0 14px 42px rgba(111, 255, 234, 0.18);
}

#playButton.home-cta-primary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: auto;
	max-width: none;
	height: auto;
	line-height: 1.2;
	margin: 0;
	padding: 12px 20px;
	border-radius: 8px;
	font-size: 1rem;
	letter-spacing: 0;
	text-transform: none;
}

#playButton.home-cta-primary::before {
	content: none;
}

.home-cta-secondary {
	border: 1px solid rgba(255, 215, 122, 0.48);
	background: rgba(7, 10, 9, 0.78);
	color: #fff3cc;
}

.home-cta-primary:hover,
.home-cta-secondary:hover,
.home-choice:hover,
.hr-nav-btn:hover {
	transform: translateY(-1px);
	border-color: rgba(111, 255, 234, 0.95);
	color: #ffffff;
	box-shadow:
		0 0 0 1px rgba(111, 255, 234, 0.2) inset,
		0 16px 44px rgba(111, 255, 234, 0.16);
}

#playButton.home-cta-primary:hover {
	width: auto;
	height: auto;
	line-height: 1.2;
	border-radius: 8px;
	border-color: rgba(111, 255, 234, 0.95);
	background:
		linear-gradient(180deg, rgba(120, 255, 185, 0.24), rgba(111, 255, 234, 0.14)),
		#08130f;
	color: #ffffff;
	box-shadow:
		0 0 0 1px rgba(111, 255, 234, 0.2) inset,
		0 16px 44px rgba(111, 255, 234, 0.16);
	text-transform: none;
}

.home-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 28px 0 0;
	padding: 0;
	list-style: none;
}

.home-chip,
.home-pill {
	display: inline-flex;
	align-items: center;
	min-height: 32px;
	border-radius: 8px;
	border: 1px solid rgba(240, 255, 249, 0.13);
	background: rgba(5, 8, 8, 0.58);
	color: #d7fff1;
	font-size: 0.92rem;
	font-weight: 700;
	padding: 6px 10px;
}

.home-scroll-hint {
	position: absolute;
	left: 50%;
	bottom: 18px;
	transform: translateX(-50%);
	color: rgba(240, 255, 249, 0.64);
	font-size: 0.88rem;
	pointer-events: none;
}

.home-section {
	position: relative;
	isolation: isolate;
	display: flex;
	align-items: center;
	min-height: calc(100svh - var(--nav-h, 40px));
	scroll-snap-align: start;
	scroll-margin-top: var(--nav-h, 40px);
	padding: 92px 0;
	overflow: hidden;
	border-bottom: 1px solid var(--home-line-soft);
}

.home-section::before,
.home-final::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	background-size: cover;
	background-position: center;
	opacity: 0.72;
}

.home-section > .home-inner,
.home-final > .home-inner {
	position: relative;
	z-index: 1;
}

.home-section--solid {
	background:
		linear-gradient(180deg, rgba(8, 13, 12, 0.94), rgba(5, 6, 5, 0.98)),
		linear-gradient(90deg, rgba(255, 215, 122, 0.04), rgba(111, 255, 234, 0.04));
}

.home-section--systems::before {
	background-image:
		linear-gradient(90deg, rgba(5, 6, 5, 0.96), rgba(5, 6, 5, 0.8) 54%, rgba(5, 6, 5, 0.55)),
		linear-gradient(180deg, rgba(5, 6, 5, 0.62), rgba(5, 6, 5, 0.94)),
		url("/img/home/home-systems-bg.webp"),
		linear-gradient(135deg, #08120e, #120b0c);
}

.home-section--mina::before {
	background-image:
		linear-gradient(90deg, rgba(5, 6, 5, 0.94), rgba(5, 6, 5, 0.72), rgba(5, 6, 5, 0.92)),
		linear-gradient(180deg, rgba(5, 6, 5, 0.46), rgba(5, 6, 5, 0.96)),
		url("/img/home/home-mina-bg.webp"),
		linear-gradient(135deg, #06110f, #100b12);
}

.home-section--paths::before {
	background-image:
		linear-gradient(90deg, rgba(5, 6, 5, 0.94), rgba(5, 6, 5, 0.68), rgba(5, 6, 5, 0.92)),
		linear-gradient(180deg, rgba(5, 6, 5, 0.5), rgba(5, 6, 5, 0.96)),
		url("/img/home/home-paths-bg.webp"),
		linear-gradient(135deg, #07110f, #121009);
}

.home-section--fragments::before {
	background-image:
		linear-gradient(90deg, rgba(5, 6, 5, 0.92), rgba(5, 6, 5, 0.7), rgba(5, 6, 5, 0.92)),
		linear-gradient(180deg, rgba(5, 6, 5, 0.54), rgba(5, 6, 5, 0.96)),
		url("/img/home/home-fragments-bg.webp"),
		linear-gradient(135deg, #101108, #061211);
}

.home-section--community::before {
	background-image:
		linear-gradient(90deg, rgba(5, 6, 5, 0.94), rgba(5, 6, 5, 0.72), rgba(5, 6, 5, 0.9)),
		linear-gradient(180deg, rgba(5, 6, 5, 0.52), rgba(5, 6, 5, 0.96)),
		url("/img/home/home-community-bg.webp"),
		linear-gradient(135deg, #080f0f, #120d08);
}

.home-section--update::before {
	background-image:
		linear-gradient(90deg, rgba(5, 6, 5, 0.95), rgba(5, 6, 5, 0.76), rgba(5, 6, 5, 0.88)),
		linear-gradient(180deg, rgba(5, 6, 5, 0.5), rgba(5, 6, 5, 0.96)),
		url("/img/home/home-update-bg.webp"),
		linear-gradient(135deg, #0b120d, #150c0a);
}

.home-section-head {
	max-width: 740px;
	margin-bottom: 36px;
}

.home-section-title {
	font-size: 2.55rem;
}

.home-section-text {
	max-width: 760px;
	margin: 18px 0 0;
	color: var(--home-muted);
	font-size: 1.06rem;
	line-height: 1.75;
}

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

.home-pillar {
	min-height: 260px;
	padding: 22px;
	border-radius: 8px;
	border: 1px solid var(--home-line-soft);
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01)),
		var(--home-panel);
	box-shadow: 0 22px 60px rgba(0, 0, 0, 0.35);
}

.home-pillar-index {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	margin-bottom: 24px;
	border-radius: 8px;
	border: 1px solid rgba(111, 255, 234, 0.42);
	color: var(--home-cyan);
	font-weight: 900;
}

.home-pillar h3,
.home-glimpse h3,
.home-update h3 {
	margin: 0;
	color: #ffffff;
	font-size: 1.2rem;
	line-height: 1.28;
}

.home-pillar p,
.home-path p,
.home-glimpse p,
.home-update p,
.home-rankings p {
	margin: 14px 0 0;
	color: var(--home-muted);
	line-height: 1.65;
}

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

.home-path {
	display: flex;
	flex-direction: column;
	min-height: 310px;
	padding: 22px;
	border-radius: 8px;
	border: 1px solid rgba(255, 215, 122, 0.2);
	background:
		linear-gradient(180deg, rgba(255, 215, 122, 0.08), rgba(255, 255, 255, 0.02)),
		rgba(6, 10, 9, 0.82);
	box-shadow: 0 22px 70px rgba(0, 0, 0, 0.38);
}

.home-path .home-pill {
	align-self: flex-start;
	margin-bottom: 28px;
	color: #ffe5a2;
	border-color: rgba(255, 215, 122, 0.38);
}

.home-path h3 {
	margin: auto 0 0;
	color: #ffffff;
	font-size: 1.22rem;
	line-height: 1.28;
}

.home-mina-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(340px, 520px);
	gap: 36px;
	align-items: center;
}

.home-mina-console {
	position: relative;
	border-radius: 8px;
	border: 1px solid rgba(111, 255, 234, 0.28);
	background:
		linear-gradient(180deg, rgba(111, 255, 234, 0.08), rgba(255, 255, 255, 0.02)),
		var(--home-panel-strong);
	box-shadow:
		0 24px 80px rgba(0, 0, 0, 0.48),
		0 0 0 1px rgba(120, 255, 185, 0.08) inset;
	overflow: hidden;
}

.home-mina-console::before {
	content: "";
	display: block;
	height: 8px;
	background: linear-gradient(90deg, var(--home-green), var(--home-cyan), var(--home-red));
}

.home-mina-console::after {
	content: "";
	position: absolute;
	right: -34px;
	bottom: -42px;
	z-index: 0;
	width: min(280px, 62%);
	height: 420px;
	pointer-events: none;
	background: url("/img/mina-silhouette.png") center bottom / contain no-repeat;
	opacity: 0.2;
	filter: grayscale(0.25) contrast(1.12) drop-shadow(0 0 26px rgba(111, 255, 234, 0.26));
}

.home-mina-screen {
	position: relative;
	z-index: 1;
	padding: 24px;
}

.home-mina-name {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 18px;
	color: var(--home-cyan);
	font-size: 0.95rem;
	font-weight: 900;
	text-transform: uppercase;
}

.home-mina-status {
	color: var(--home-green);
	font-size: 0.86rem;
	font-weight: 800;
}

#mina-text {
	min-height: 156px;
	color: #eafff8;
	font-size: 1rem;
	line-height: 1.72;
}

.home-mina-choices {
	display: grid;
	gap: 10px;
	margin-top: 22px;
}

.home-choice {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid rgba(111, 255, 234, 0.34);
	background: rgba(6, 12, 11, 0.78);
	color: #eafff8;
	text-align: left;
}

.home-mina-back {
	display: inline-flex;
	margin-top: 14px;
	padding: 8px 10px;
	border: 1px solid rgba(255, 215, 122, 0.42);
	border-radius: 8px;
	background: transparent;
	color: #fff0bf;
	font: inherit;
	font-weight: 800;
	cursor: pointer;
}

.home-glimpse-grid {
	display: grid;
	grid-template-columns: 1.25fr 1fr 1fr;
	gap: 14px;
	min-height: 520px;
}

.home-glimpse {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: 250px;
	padding: 22px;
	overflow: hidden;
	border-radius: 8px;
	border: 1px solid var(--home-line-soft);
	background-color: #0c100e;
	background-size: cover;
	background-position: center;
	box-shadow: 0 22px 70px rgba(0, 0, 0, 0.38);
}

.home-glimpse::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(180deg, rgba(5, 6, 5, 0.04), rgba(5, 6, 5, 0.92)),
		linear-gradient(90deg, rgba(111, 255, 234, 0.1), transparent 58%);
}

.home-glimpse > * {
	position: relative;
	z-index: 1;
}

.home-glimpse--wide {
	grid-row: span 2;
	background-image:
		linear-gradient(180deg, rgba(5, 6, 5, 0), rgba(5, 6, 5, 0.94)),
		url("/img/home/home-streets-bg.webp"),
		linear-gradient(135deg, #11120c, #06110f);
}

.home-glimpse--terminal {
	background-image:
		linear-gradient(180deg, rgba(5, 6, 5, 0.08), rgba(5, 6, 5, 0.92)),
		url("/img/home/home-terminal-bg.webp"),
		linear-gradient(135deg, #0b130e, #160c0c);
}

.home-glimpse--gallery {
	background-image:
		linear-gradient(180deg, rgba(5, 6, 5, 0.08), rgba(5, 6, 5, 0.92)),
		url("/img/home/home-gallery-bg.webp"),
		linear-gradient(135deg, #10100a, #081211);
}

.home-glimpse--craft {
	background-image:
		linear-gradient(180deg, rgba(5, 6, 5, 0.08), rgba(5, 6, 5, 0.92)),
		url("/img/home/home-craft-bg.webp"),
		linear-gradient(135deg, #0b120d, #171008);
}

.home-glimpse-tag {
	align-self: flex-start;
	margin-bottom: 12px;
	border-color: rgba(255, 215, 122, 0.38);
	color: #ffe5a2;
}

.home-community-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(320px, 440px);
	gap: 34px;
	align-items: start;
}

.home-live-list {
	display: grid;
	gap: 12px;
	margin-top: 28px;
}

.home-live-row {
	display: grid;
	grid-template-columns: 120px 1fr;
	gap: 16px;
	padding: 14px 0;
	border-top: 1px solid var(--home-line-soft);
}

.home-live-row strong {
	color: var(--home-gold);
}

.home-live-row span {
	color: var(--home-muted);
	line-height: 1.55;
}

.home-resource-links {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	margin-top: 22px;
}

.home-resource-link {
	display: flex;
	flex-direction: column;
	gap: 8px;
	min-height: 138px;
	padding: 18px;
	border-radius: 8px;
	border: 1px solid rgba(111, 255, 234, 0.2);
	background: rgba(5, 8, 8, 0.58);
	color: var(--home-text);
	text-decoration: none;
	transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease;
}

.home-resource-link strong {
	color: #ffffff;
	font-size: 1.05rem;
}

.home-resource-link span {
	color: var(--home-muted);
	line-height: 1.55;
}

.home-resource-link:hover {
	transform: translateY(-1px);
	border-color: rgba(111, 255, 234, 0.62);
	background: rgba(111, 255, 234, 0.08);
	box-shadow: 0 18px 48px rgba(111, 255, 234, 0.12);
}

.home-rankings {
	border-radius: 8px;
	border: 1px solid rgba(111, 255, 234, 0.24);
	background: var(--home-panel-strong);
	box-shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
	padding: 20px;
}

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

.hr-title {
	margin: 0;
	color: #ffffff;
	font-size: 1.18rem;
}

.hr-period {
	border-radius: 8px;
	border: 1px solid rgba(255, 215, 122, 0.38);
	color: #ffe2a1;
	padding: 5px 8px;
	font-size: 0.88rem;
	font-weight: 800;
}

.hr-list {
	display: grid;
	gap: 10px;
	margin-top: 14px;
}

.hr-item {
	display: grid;
	grid-template-columns: 42px 1fr auto;
	gap: 10px;
	align-items: center;
	padding: 10px;
	border-radius: 8px;
	border: 1px solid rgba(240, 255, 249, 0.1);
	background: rgba(255, 255, 255, 0.035);
	color: inherit;
	text-decoration: none;
	transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}

.hr-item:hover {
	transform: translateY(-1px);
	border-color: rgba(111, 255, 234, 0.38);
	background: rgba(111, 255, 234, 0.06);
}

.hr-pos {
	color: var(--home-cyan);
	font-weight: 900;
}

.hr-name {
	min-width: 0;
	overflow: hidden;
	color: #ffffff;
	font-weight: 800;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.hr-score {
	color: var(--home-green);
	font-weight: 900;
}

.hr-nav {
	display: flex;
	gap: 10px;
	margin-top: 16px;
}

.hr-nav-btn {
	flex: 1;
	border: 1px solid rgba(240, 255, 249, 0.12);
	background: rgba(255, 255, 255, 0.04);
	color: var(--home-muted);
	padding: 9px 12px;
}

.hr-nav-btn.active {
	border-color: rgba(120, 255, 185, 0.68);
	color: #ffffff;
	background: rgba(120, 255, 185, 0.12);
}

.hr-see-more {
	display: inline-flex;
	margin-top: 16px;
	color: var(--home-cyan);
	font-weight: 800;
	text-decoration: none;
}

.home-update-panel {
	display: grid;
	grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1.15fr);
	gap: 28px;
	border-radius: 8px;
	border: 1px solid rgba(255, 215, 122, 0.26);
	background:
		linear-gradient(90deg, rgba(255, 215, 122, 0.08), rgba(111, 255, 234, 0.04)),
		var(--home-panel-strong);
	padding: 28px;
}

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

.home-update-list li {
	padding: 0 0 12px;
	border-bottom: 1px solid var(--home-line-soft);
	color: var(--home-muted);
	line-height: 1.6;
}

.home-update-list li:last-child {
	padding-bottom: 0;
	border-bottom: 0;
}

.home-final {
	position: relative;
	isolation: isolate;
	padding: 96px 0 110px;
	overflow: hidden;
	text-align: center;
	background:
		linear-gradient(180deg, rgba(5, 6, 5, 0.55), rgba(5, 6, 5, 1)),
		linear-gradient(90deg, rgba(111, 255, 234, 0.09), rgba(255, 109, 143, 0.06));
}

.home-section--final::before {
	background-image:
		linear-gradient(90deg, rgba(5, 6, 5, 0.92), rgba(5, 6, 5, 0.64), rgba(5, 6, 5, 0.92)),
		linear-gradient(180deg, rgba(5, 6, 5, 0.46), rgba(5, 6, 5, 0.96)),
		url("/img/home/home-final-bg.webp"),
		linear-gradient(135deg, #08110d, #160b0c);
}

.home-final .home-section-head {
	margin: 0 auto;
}

.home-final .home-actions {
	justify-content: center;
}

.overlay {
	position: fixed;
	inset: 0;
	z-index: 1100;
	background: rgba(0, 0, 0, 0.76);
	backdrop-filter: blur(8px);
}

#choiceWindow {
	position: fixed;
	top: 50%;
	left: 50%;
	z-index: 1110;
	display: flex;
	flex-direction: column;
	width: min(560px, calc(100% - 28px));
	max-height: min(780px, calc(100dvh - 36px));
	overflow: auto;
	transform: translate(-50%, -50%);
	padding: 0;
	border-radius: 8px;
	border: 1px solid rgba(111, 255, 234, 0.38);
	background:
		linear-gradient(180deg, rgba(111, 255, 234, 0.12), rgba(255, 215, 122, 0.04) 44%, rgba(255, 255, 255, 0.02)),
		url("/img/home/home-mina-bg.webp"),
		#060a09;
	background-size: cover;
	background-position: center;
	box-shadow:
		0 28px 90px rgba(0, 0, 0, 0.72),
		0 0 0 1px rgba(120, 255, 185, 0.09) inset;
	color: var(--home-text);
}

#choiceWindow::before {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background:
		linear-gradient(180deg, rgba(5, 6, 5, 0.72), rgba(5, 6, 5, 0.94)),
		linear-gradient(90deg, rgba(111, 255, 234, 0.12), transparent 64%);
	z-index: 0;
}

#choiceWindow.hidden,
.overlay.hidden,
.hidden {
	display: none !important;
}

#choiceWindow:not(.hidden) {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0;
}

#closeButton {
	position: absolute;
	top: 14px;
	right: 16px;
	z-index: 2;
	color: var(--home-cyan);
	font-size: 1.4rem;
	line-height: 1;
	cursor: pointer;
}

.auth-modal-head {
	position: relative;
	z-index: 1;
	padding: 28px 28px 18px;
	border-bottom: 1px solid rgba(240, 255, 249, 0.12);
}

.auth-modal-head .home-section-kicker {
	margin-bottom: 12px;
}

.auth-modal-head h2 {
	margin: 0;
	color: #ffffff;
	font-size: 1.65rem;
	line-height: 1.15;
	letter-spacing: 0;
}

.auth-modal-head p {
	max-width: 420px;
	margin: 12px 0 0;
	color: var(--home-muted);
	line-height: 1.55;
}

.buttonsContainer {
	position: relative;
	z-index: 1;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: center;
	margin: 18px 28px 12px;
}

#signupButton,
#loginButton,
#choiceWindow button,
#choiceWindow button[type="submit"] {
	min-height: 42px;
	border-radius: 8px;
	border: 1px solid rgba(111, 255, 234, 0.44);
	background: rgba(111, 255, 234, 0.08);
	color: #f2fff9;
	font: inherit;
	font-weight: 800;
	letter-spacing: 0;
	text-transform: none;
	padding: 9px 14px;
	margin: 0;
	cursor: pointer;
}

#choiceWindow button:hover {
	background: rgba(111, 255, 234, 0.14);
	color: #ffffff;
	border-color: rgba(111, 255, 234, 0.7);
	box-shadow: 0 12px 32px rgba(111, 255, 234, 0.12);
	transform: translateY(-1px);
}

.formTitle {
	position: relative;
	z-index: 1;
	margin: 8px 28px 10px;
	color: #ffffff;
	font-size: 1.3rem;
	font-weight: 900;
	text-align: center;
	text-transform: none;
	letter-spacing: 0;
}

#formMessage,
#loginMessage {
	position: relative;
	z-index: 1;
	margin: 6px 28px;
	text-align: center;
}

#choiceWindow form {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 6px;
	width: 100%;
	padding: 0 28px 24px;
}

#choiceWindow label {
	margin-top: 8px;
	color: #dffdf5;
	font-size: 0.94rem;
	font-weight: 700;
}

#choiceWindow input[type="text"],
#choiceWindow input[type="password"],
#choiceWindow input[type="email"] {
	width: 100%;
	margin: 0;
	border-radius: 8px;
	border: 1px solid rgba(240, 255, 249, 0.18);
	background: rgba(0, 0, 0, 0.36);
	color: var(--home-text);
	font: inherit;
	padding: 10px 12px;
}

#forgotPassword {
	position: relative;
	z-index: 1;
	align-self: center;
	margin: 0 0 24px;
	color: var(--home-cyan);
	font-size: 0.95rem;
	font-weight: 800;
	cursor: pointer;
}

.error {
	color: #ff8ca4 !important;
}

.success {
	color: #8effc9 !important;
}

@media (max-width: 1100px) {
	body.home-body .navbar {
		height: 40px;
		padding: 0 12px;
	}

	body.home-body .navbar::before {
		left: 14px;
	}

	body.home-body .navbar a,
	body.home-body #navbarUsername {
		padding: 7px 8px;
		font-size: 0.86rem;
	}

	.home-hero h1 {
		font-size: 3.25rem;
	}

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

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

	.home-mina-layout,
	.home-community-grid {
		grid-template-columns: 1fr;
	}

	.home-glimpse-grid {
		grid-template-columns: 1fr 1fr;
		min-height: 0;
	}

	.home-glimpse--wide {
		grid-column: 1 / -1;
		grid-row: auto;
		min-height: 360px;
	}
}

@media (max-width: 900px) {
	body.home-body .navbar {
		height: 40px;
		grid-template-columns: auto 1fr auto;
		padding: 0 10px;
	}

	body.home-body .navbar::before {
		left: 10px;
		font-size: 0.95rem;
	}

	body.home-body .navbarLeft {
		display: none !important;
	}

	body.home-body .navbarCenter {
		justify-self: center;
	}

	body.home-body .navbarRight {
		gap: 6px;
	}

	body.home-body #navbarLogin,
	body.home-body #navbarLogout {
		min-height: 32px;
		padding: 6px 8px;
	}

	body.home-body #navbarLeftDrawer {
		top: 40px;
	}

	.home-inner {
		width: min(100% - 24px, 680px);
	}

	.home-hero {
		min-height: calc(100svh - var(--nav-h, 40px) - 52px);
		padding: 86px 0 64px;
	}

	.home-hero h1 {
		font-size: 2.45rem;
		line-height: 1.08;
	}

	.home-hero-lead,
	.home-section-text {
		font-size: 1rem;
		line-height: 1.65;
	}

	.home-actions {
		flex-direction: column;
	}

	.home-cta-primary,
	.home-cta-secondary {
		width: 100%;
	}

	.home-section {
		padding: 64px 0;
	}

	.home-section-title {
		font-size: 2rem;
	}

	.home-pillars,
	.home-path-grid,
	.home-glimpse-grid {
		grid-template-columns: 1fr;
	}

	.home-pillar {
		min-height: 0;
	}

	.home-path {
		min-height: 0;
	}

	.home-glimpse,
	.home-glimpse--wide {
		min-height: 280px;
	}

	.home-live-row,
	.home-update-panel {
		grid-template-columns: 1fr;
	}

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

	.home-update-panel,
	.home-mina-screen,
	.home-rankings {
		padding: 18px;
	}

	.auth-modal-head {
		padding: 24px 18px 16px;
	}

	.buttonsContainer,
	.formTitle,
	#formMessage,
	#loginMessage {
		margin-left: 18px;
		margin-right: 18px;
	}

	#choiceWindow form {
		padding-left: 18px;
		padding-right: 18px;
	}
}

@media (max-width: 420px) {
	body.home-body .navbar {
		padding: 0 8px;
	}

	body.home-body .navbar::before {
		content: none;
	}

	body.home-body .navbar a,
	body.home-body #navbarUsername {
		font-size: 0.8rem;
	}

	.home-hero h1 {
		font-size: 2rem;
	}

	.home-section-title {
		font-size: 1.72rem;
	}

	.home-meta {
		gap: 6px;
	}

	.home-chip,
	.home-pill {
		font-size: 0.86rem;
	}

	.hr-item {
		grid-template-columns: 34px 1fr;
	}

	.hr-score {
		grid-column: 2;
	}
}

@media (max-width: 760px) {
	body.home-body .navbar {
		grid-template-columns: 40px minmax(0, 1fr) 40px;
		column-gap: 0;
	}

	body.home-body .navbar-toggle-left {
		display: flex !important;
		position: relative;
		grid-column: 1;
		grid-row: 1;
		left: auto;
		top: auto;
		justify-self: start;
		margin: 0;
		transform: none;
	}

	body.home-body .navbarCenter {
		grid-column: 2;
		grid-row: 1;
		width: 100%;
		max-width: 100%;
		justify-content: center;
		justify-self: center;
		overflow: hidden;
	}

	body.home-body #navbarUsername {
		max-width: min(42vw, 220px);
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}

	body.home-body .navbar-toggle {
		display: flex;
		grid-column: 3;
		grid-row: 1;
		justify-self: end;
		margin: 0;
	}

	body.home-body .navbarRight {
		display: none;
		position: absolute;
		top: 40px;
		right: 8px;
		left: auto;
		width: min(280px, calc(100vw - 16px));
		padding: 8px;
		flex-direction: column;
		gap: 6px;
		align-items: stretch;
		border-radius: 0 0 8px 8px;
		border: 1px solid rgba(111, 255, 234, 0.22);
		background:
			linear-gradient(180deg, rgba(111, 255, 234, 0.08), rgba(255, 255, 255, 0.02)),
			rgba(5, 8, 8, 0.98);
		box-shadow: 0 18px 50px rgba(0, 0, 0, 0.58);
		backdrop-filter: blur(16px);
	}

	body.home-body .navbarRight.active {
		display: flex;
	}

	body.home-body .navbarRight > a {
		width: 100%;
		justify-content: center;
	}
}

@media (max-width: 420px) {
	body.home-body #navbarUsername {
		max-width: min(34vw, 150px);
	}
}
