/* Final Aetherwood UI fixes. Loaded after extra.css on purpose. */
.topia-market-category-page .topia-market-grid {
	align-items: stretch;
}

/* Final mobile launcher header: one compact glass strip like the reference. */
@media (max-width: 767.98px) {
	.route-home .topia-nav {
		top: 38px !important;
		left: 16px !important;
		right: 16px !important;
		display: grid !important;
		grid-template-columns: 38px minmax(104px, 0.96fr) minmax(136px, 1.28fr) 38px !important;
		align-items: center;
		gap: 0 !important;
		width: auto !important;
		max-width: calc(100vw - 32px) !important;
		min-height: 42px;
		padding: 4px !important;
		border: 1px solid rgba(71, 197, 255, 0.48);
		border-radius: 10px;
		background:
			linear-gradient(180deg, rgba(4, 20, 31, 0.88), rgba(1, 9, 17, 0.9)),
			radial-gradient(circle at 0% 0%, rgba(52, 199, 255, 0.18), transparent 42%);
		box-shadow:
			0 0 0 1px rgba(217, 249, 255, 0.1) inset,
			0 0 18px rgba(41, 190, 255, 0.38),
			0 14px 26px rgba(0, 0, 0, 0.34);
		backdrop-filter: blur(10px);
	}

	.route-home .topia-nav-actions {
		display: contents !important;
	}

	.route-home .topia-account-dropdown {
		order: 1;
		position: relative;
		display: flex;
		align-items: center;
		justify-content: center;
		width: 34px;
		height: 34px;
		min-width: 34px;
	}

	.route-home .topia-account-pill {
		width: 34px !important;
		min-width: 34px !important;
		height: 34px !important;
		min-height: 34px !important;
		padding: 2px !important;
		border-radius: 8px !important;
		box-shadow: 0 0 10px rgba(50, 197, 255, 0.42) !important;
	}

	.route-home .topia-account-pill .avatar {
		width: 26px !important;
		height: 26px !important;
		border-radius: 6px !important;
	}

	.route-home .topia-version-pill,
	.route-home .topia-ip-pill {
		overflow: hidden;
		min-width: 0 !important;
		width: 100% !important;
		min-height: 34px !important;
		height: 34px !important;
		padding: 0 0.48rem !important;
		border: 0 !important;
		border-radius: 0 !important;
		background: transparent !important;
		box-shadow: none !important;
		color: rgba(238, 249, 255, 0.94) !important;
		font-size: clamp(0.68rem, 2.85vw, 0.79rem) !important;
		font-weight: 950 !important;
		letter-spacing: -0.02em !important;
		text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
		white-space: nowrap;
	}

	.route-home .topia-version-pill {
		order: 2;
		border-left: 1px solid rgba(112, 215, 255, 0.28) !important;
	}

	.route-home .topia-ip-pill {
		order: 3;
		border-left: 1px solid rgba(112, 215, 255, 0.34) !important;
	}

	.route-home .topia-version-pill i,
	.route-home .topia-ip-pill i {
		margin-right: 0.32rem;
		color: #17bcff;
		font-size: 0.9rem;
		text-shadow: 0 0 9px rgba(23, 188, 255, 0.62);
	}

	.route-home .topia-version-pill span,
	.route-home .topia-ip-pill span {
		display: block;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}

	.route-home .topia-nav-toggle {
		order: 4;
		width: 34px !important;
		min-width: 34px !important;
		height: 34px !important;
		min-height: 34px !important;
		padding: 0 !important;
		border: 1px solid rgba(85, 211, 255, 0.6) !important;
		border-radius: 8px !important;
		background: rgba(6, 31, 47, 0.82) !important;
		box-shadow: 0 0 12px rgba(38, 190, 255, 0.34) !important;
	}

	.route-home .topia-nav-toggle .navbar-toggler-icon {
		position: relative !important;
		display: block !important;
		width: 18px !important;
		height: 15px !important;
		border: 0 !important;
		border-radius: 0 !important;
		background:
			linear-gradient(#25caff, #25caff) 0 0 / 18px 3px no-repeat,
			linear-gradient(#25caff, #25caff) 0 6px / 18px 3px no-repeat,
			linear-gradient(#25caff, #25caff) 0 12px / 18px 3px no-repeat !important;
		box-shadow: none !important;
		filter: none !important;
	}

	.route-home .topia-nav-toggle .navbar-toggler-icon::before,
	.route-home .topia-nav-toggle .navbar-toggler-icon::after {
		content: none !important;
		display: none !important;
	}

	.route-home .topia-nav-menu {
		order: 5;
		grid-column: 1 / -1;
	}

	.route-home .topia-nav-list {
		margin-top: 0.55rem !important;
		border-radius: 10px !important;
		background: rgba(2, 13, 24, 0.94) !important;
	}

	.route-home .topia-account-menu {
		top: calc(100% + 10px);
		left: 0;
		right: auto;
		max-width: calc(100vw - 32px);
	}

	.route-home .topia-launcher-hero {
		padding-top: 96px !important;
	}

	.route-home .topia-mascot {
		width: min(184px, 46vw) !important;
		margin-bottom: -20px !important;
	}

	.route-home .topia-wordmark {
		width: min(372px, 92vw) !important;
	}

	.route-home .topia-hero-actions {
		display: grid !important;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		width: min(318px, 86vw) !important;
		gap: 10px !important;
		margin-top: 18px !important;
	}

	.route-home .topia-play-button {
		width: 100% !important;
		min-height: 46px !important;
		padding: 0 0.68rem !important;
		border-radius: 9px !important;
		font-size: clamp(0.95rem, 3.8vw, 1.1rem) !important;
		box-shadow:
			0 0 0 1px rgba(223, 249, 255, 0.25) inset,
			0 0 16px rgba(52, 202, 255, 0.42),
			0 10px 18px rgba(0, 0, 0, 0.28) !important;
	}

	.route-home .topia-play-button i {
		font-size: 1.05rem !important;
	}
}

@media (max-width: 390px) {
	.route-home .topia-nav {
		left: 10px !important;
		right: 10px !important;
		grid-template-columns: 36px minmax(94px, 0.95fr) minmax(118px, 1.22fr) 36px !important;
		max-width: calc(100vw - 20px) !important;
	}

	.route-home .topia-version-pill,
	.route-home .topia-ip-pill {
		padding: 0 0.34rem !important;
		font-size: clamp(0.6rem, 2.75vw, 0.7rem) !important;
	}

	.route-home .topia-version-pill i,
	.route-home .topia-ip-pill i {
		margin-right: 0.24rem !important;
		font-size: 0.82rem !important;
	}

	.route-home .topia-mascot {
		width: min(168px, 45vw) !important;
	}

	.route-home .topia-wordmark {
		width: min(340px, 91vw) !important;
	}
}

/* Mobile launcher final sizing and menu polish. */
@media (max-width: 767.98px) {
	.route-home .topia-account-dropdown .topia-account-menu {
		position: fixed !important;
		top: 88px !important;
		left: 16px !important;
		right: auto !important;
		inset: 88px auto auto 16px !important;
		width: min(288px, calc(100vw - 32px)) !important;
		max-width: min(288px, calc(100vw - 32px)) !important;
		padding: 0.62rem !important;
		border-radius: 14px !important;
		background:
			linear-gradient(180deg, rgba(4, 18, 31, 0.96), rgba(2, 10, 20, 0.97)),
			radial-gradient(circle at 80% 80%, rgba(42, 185, 255, 0.13), transparent 38%) !important;
		box-shadow:
			0 0 0 1px rgba(132, 221, 255, 0.08) inset,
			0 0 18px rgba(41, 190, 255, 0.16),
			0 20px 44px rgba(0, 0, 0, 0.46) !important;
	}

	.route-home .topia-account-menu .dropdown-item {
		min-height: 42px !important;
		padding: 0.58rem 0.72rem !important;
		border-radius: 9px !important;
		font-size: 0.9rem !important;
	}

	.route-home .topia-account-menu .dropdown-item i {
		font-size: 1.05rem !important;
	}

	.route-home .topia-nav-toggle .navbar-toggler-icon {
		position: relative;
		display: block;
		width: 17px !important;
		height: 13px !important;
		background: none !important;
		background-image: none !important;
		filter: none !important;
	}

	.route-home .topia-nav-toggle .navbar-toggler-icon::before,
	.route-home .topia-nav-toggle .navbar-toggler-icon::after,
	.route-home .topia-nav-toggle .navbar-toggler-icon {
		border-top: 3px solid #25caff;
		border-radius: 999px;
		box-shadow: 0 0 7px rgba(37, 202, 255, 0.55);
	}

	.route-home .topia-nav-toggle .navbar-toggler-icon::before,
	.route-home .topia-nav-toggle .navbar-toggler-icon::after {
		content: "";
		position: absolute;
		left: 0;
		width: 17px;
	}

	.route-home .topia-nav-toggle .navbar-toggler-icon::before {
		top: 4px;
	}

	.route-home .topia-nav-toggle .navbar-toggler-icon::after {
		top: 11px;
	}

	.route-home .topia-hero-actions {
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;
		width: auto !important;
		max-width: calc(100vw - 44px) !important;
		gap: 10px !important;
		margin-top: 18px !important;
	}

	.route-home .topia-play-button {
		flex: 0 0 clamp(128px, 35vw, 150px) !important;
		width: clamp(128px, 35vw, 150px) !important;
		min-width: 0 !important;
		max-width: 150px !important;
		min-height: 45px !important;
		padding: 0 0.55rem !important;
		border-radius: 7px !important;
		gap: 0.5rem !important;
		font-size: clamp(0.82rem, 3.4vw, 0.98rem) !important;
		letter-spacing: -0.01em !important;
		box-shadow:
			0 0 0 1px rgba(223, 249, 255, 0.22) inset,
			0 0 13px rgba(52, 202, 255, 0.36),
			0 8px 16px rgba(0, 0, 0, 0.3) !important;
	}

	.route-home .topia-play-button i {
		font-size: 1rem !important;
	}
}

@media (max-width: 390px) {
	.route-home .topia-account-dropdown .topia-account-menu {
		top: 84px !important;
		left: 10px !important;
		inset: 84px auto auto 10px !important;
		width: min(278px, calc(100vw - 20px)) !important;
		max-width: min(278px, calc(100vw - 20px)) !important;
	}

	.route-home .topia-play-button {
		flex-basis: clamp(118px, 34vw, 140px) !important;
		width: clamp(118px, 34vw, 140px) !important;
		font-size: clamp(0.88rem, 3.7vw, 1rem) !important;
	}
}

/* Final readability pass for mobile launcher and light mode. */
@media (max-width: 767.98px) {
	.route-home .topia-nav {
		grid-template-columns: 38px minmax(104px, 0.96fr) minmax(136px, 1.28fr) 38px !important;
	}

	.route-home .topia-version-pill,
	.route-home .topia-ip-pill {
		font-size: clamp(0.68rem, 2.85vw, 0.79rem) !important;
		line-height: 1 !important;
	}

	.route-home .topia-version-pill i,
	.route-home .topia-ip-pill i {
		margin-right: 0.32rem !important;
		font-size: 0.9rem !important;
	}

	.route-home .topia-nav-toggle .navbar-toggler-icon {
		position: relative !important;
		display: block !important;
		width: 18px !important;
		height: 15px !important;
		border: 0 !important;
		border-radius: 0 !important;
		background:
			linear-gradient(#25caff, #25caff) 0 0 / 18px 3px no-repeat,
			linear-gradient(#25caff, #25caff) 0 6px / 18px 3px no-repeat,
			linear-gradient(#25caff, #25caff) 0 12px / 18px 3px no-repeat !important;
		box-shadow: none !important;
		filter: none !important;
	}

	.route-home .topia-nav-toggle .navbar-toggler-icon::before,
	.route-home .topia-nav-toggle .navbar-toggler-icon::after {
		content: none !important;
		display: none !important;
	}

	.route-home .topia-nav-toggle {
		background: linear-gradient(180deg, rgba(6, 39, 58, 0.9), rgba(2, 19, 34, 0.92)) !important;
	}

	.route-home .topia-mascot {
		width: min(184px, 46vw) !important;
		margin-bottom: -20px !important;
	}

	.route-home .topia-wordmark {
		width: min(372px, 92vw) !important;
	}

	.route-home .topia-hero-actions {
		gap: 12px !important;
		margin-top: 20px !important;
	}

	.route-home .topia-play-button {
		flex-basis: clamp(128px, 35vw, 150px) !important;
		width: clamp(128px, 35vw, 150px) !important;
		max-width: 150px !important;
		min-height: 45px !important;
		border-radius: 8px !important;
		font-size: clamp(0.95rem, 3.8vw, 1.1rem) !important;
	}
}

@media (max-width: 390px) {
	.route-home .topia-nav {
		grid-template-columns: 36px minmax(94px, 0.95fr) minmax(118px, 1.22fr) 36px !important;
	}

	.route-home .topia-version-pill,
	.route-home .topia-ip-pill {
		font-size: clamp(0.6rem, 2.75vw, 0.7rem) !important;
	}

	.route-home .topia-version-pill i,
	.route-home .topia-ip-pill i {
		margin-right: 0.24rem !important;
		font-size: 0.82rem !important;
	}

	.route-home .topia-mascot {
		width: min(168px, 45vw) !important;
	}

	.route-home .topia-wordmark {
		width: min(340px, 91vw) !important;
	}

	.route-home .topia-play-button {
		flex-basis: clamp(118px, 34vw, 140px) !important;
		width: clamp(118px, 34vw, 140px) !important;
		font-size: clamp(0.88rem, 3.7vw, 1rem) !important;
	}
}

body[data-bs-theme=light].theme-aetherwood {
	background: #edf8ff;
	color: #0b2238;
}

body[data-bs-theme=light] .aetherwood-bg,
body[data-bs-theme=light] .page-wrapper,
body[data-bs-theme=light] .aetherwood-page-wrapper {
	background: #edf8ff !important;
	color: #0b2238 !important;
}

body[data-bs-theme=light] .card,
body[data-bs-theme=light] .breadcrumb,
body[data-bs-theme=light] .topia-support-panel,
body[data-bs-theme=light] .topia-support-side,
body[data-bs-theme=light] .topia-support-ticket,
body[data-bs-theme=light] .topia-support-empty,
body[data-bs-theme=light] .topia-home-online-card,
body[data-bs-theme=light] .topia-home-widget-card,
body[data-bs-theme=light] .topia-market-empty,
body[data-bs-theme=light] .topia-market-goal,
body[data-bs-theme=light] .topia-home-widget-row,
body[data-bs-theme=light] .topia-support-message,
body[data-bs-theme=light] .topia-support-reply,
body[data-bs-theme=light] .topia-market-card,
body[data-bs-theme=light] .topia-server-card {
	border-color: rgba(7, 113, 182, 0.18) !important;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(231, 246, 255, 0.94)) !important;
	color: #0b2238 !important;
	box-shadow: 0 18px 44px rgba(0, 60, 105, 0.12) !important;
}

body[data-bs-theme=light] .topia-home-widgets-section,
body[data-bs-theme=light] .topia-market-select,
body[data-bs-theme=light] .topia-market-category-page,
body[data-bs-theme=light] .topia-support-page {
	background: linear-gradient(180deg, rgba(235, 248, 255, 0.98), rgba(222, 243, 252, 0.98)) !important;
	color: #0b2238 !important;
}

body[data-bs-theme=light] .topia-home-widgets-head h2,
body[data-bs-theme=light] .topia-home-online-card strong,
body[data-bs-theme=light] .topia-home-widget-title strong,
body[data-bs-theme=light] .topia-support-heading h1,
body[data-bs-theme=light] .topia-support-panel-head h2,
body[data-bs-theme=light] .topia-support-side h2,
body[data-bs-theme=light] .topia-market-title h2,
body[data-bs-theme=light] .topia-market-copy h1,
body[data-bs-theme=light] .page-title,
body[data-bs-theme=light] h1,
body[data-bs-theme=light] h2,
body[data-bs-theme=light] h3,
body[data-bs-theme=light] h4,
body[data-bs-theme=light] .topia-home-widget-row strong,
body[data-bs-theme=light] .topia-home-widget-row small,
body[data-bs-theme=light] .topia-support-message-head a,
body[data-bs-theme=light] .topia-support-message-content,
body[data-bs-theme=light] .topia-support-detail-row strong {
	color: #071c30 !important;
	text-shadow: none !important;
}

body[data-bs-theme=light] .topia-home-widgets-head p,
body[data-bs-theme=light] .topia-home-online-card p,
body[data-bs-theme=light] .topia-support-panel-head p,
body[data-bs-theme=light] .topia-support-side ul,
body[data-bs-theme=light] .topia-market-copy p,
body[data-bs-theme=light] .topia-support-detail-row span,
body[data-bs-theme=light] p,
body[data-bs-theme=light] .text-muted {
	color: rgba(11, 34, 56, 0.76) !important;
}

body[data-bs-theme=light] .form-control,
body[data-bs-theme=light] .form-select,
body[data-bs-theme=light] .topia-support-page .ck.ck-editor__editable {
	border-color: rgba(7, 113, 182, 0.2) !important;
	background: #f8fdff !important;
	color: #0b2238 !important;
}

body[data-bs-theme=light] .form-control::placeholder,
body[data-bs-theme=light] .topia-support-page .ck.ck-placeholder::before,
body[data-bs-theme=light] .topia-support-page .ck .ck-placeholder::before {
	color: rgba(11, 34, 56, 0.48) !important;
}

body[data-bs-theme=light] .topia-support-page .ck.ck-toolbar {
	border-color: rgba(7, 113, 182, 0.18) !important;
	background: linear-gradient(180deg, #ffffff, #e5f6ff) !important;
	color: #0b2238 !important;
}

body[data-bs-theme=light] .topia-support-page .ck.ck-button,
body[data-bs-theme=light] .topia-support-page .ck.ck-button .ck-icon,
body[data-bs-theme=light] .topia-support-page .ck.ck-dropdown__button,
body[data-bs-theme=light] .topia-support-page .ck.ck-dropdown__button .ck-icon {
	color: #0b2238 !important;
}

body[data-bs-theme=light] .aetherwood-footer.topia-footer-simple {
	background: linear-gradient(180deg, rgba(235, 248, 255, 0.98), rgba(214, 239, 250, 1)) !important;
	border-color: rgba(7, 113, 182, 0.16) !important;
	color: #0b2238 !important;
}

body[data-bs-theme=light] .aetherwood-footer h3,
body[data-bs-theme=light] .aetherwood-footer h4,
body[data-bs-theme=light] .aetherwood-footer .topia-footer-copyright strong,
body[data-bs-theme=light] .aetherwood-footer .topia-footer-powered #powered_by_leaderos a {
	color: #071c30 !important;
}

body[data-bs-theme=light] .aetherwood-footer .topia-footer-about,
body[data-bs-theme=light] .aetherwood-footer .topia-footer-note,
body[data-bs-theme=light] .aetherwood-footer .topia-footer-column a,
body[data-bs-theme=light] .aetherwood-footer .topia-footer-bottomline,
body[data-bs-theme=light] .aetherwood-footer .topia-footer-powered {
	color: rgba(11, 34, 56, 0.78) !important;
}

body[data-bs-theme=light] .aetherwood-footer .topia-footer-note,
body[data-bs-theme=light] .aetherwood-footer .topia-footer-actions .btn,
body[data-bs-theme=light] .aetherwood-footer .topia-footer-actions .btn-group > .btn {
	border-color: rgba(7, 113, 182, 0.18) !important;
	background: rgba(255, 255, 255, 0.78) !important;
	color: #0b2238 !important;
}

body[data-bs-theme=light] .aetherwood-footer .topia-footer-actions .dropdown-menu,
body[data-bs-theme=light] .topia-account-menu {
	border-color: rgba(7, 113, 182, 0.18) !important;
	background: #f8fdff !important;
	color: #0b2238 !important;
}

body[data-bs-theme=light] .aetherwood-footer .topia-footer-actions .dropdown-item,
body[data-bs-theme=light] .topia-account-menu .dropdown-item {
	color: #0b2238 !important;
}

body[data-bs-theme=light] .aetherwood-footer .topia-footer-actions .dropdown-item:hover,
body[data-bs-theme=light] .aetherwood-footer .topia-footer-actions .dropdown-item.active,
body[data-bs-theme=light] .topia-account-menu .dropdown-item:hover {
	background: rgba(7, 113, 182, 0.1) !important;
	color: #0871b6 !important;
}

/* Final readability pass for mobile launcher and light mode. */
@media (max-width: 767.98px) {
	.route-home .topia-nav {
		grid-template-columns: 38px minmax(104px, 0.96fr) minmax(136px, 1.28fr) 38px !important;
	}

	.route-home .topia-version-pill,
	.route-home .topia-ip-pill {
		font-size: clamp(0.68rem, 2.85vw, 0.79rem) !important;
		line-height: 1 !important;
	}

	.route-home .topia-version-pill i,
	.route-home .topia-ip-pill i {
		margin-right: 0.32rem !important;
		font-size: 0.9rem !important;
	}

	.route-home .topia-nav-toggle .navbar-toggler-icon {
		position: relative !important;
		display: block !important;
		width: 18px !important;
		height: 15px !important;
		border: 0 !important;
		border-radius: 0 !important;
		background:
			linear-gradient(#25caff, #25caff) 0 0 / 18px 3px no-repeat,
			linear-gradient(#25caff, #25caff) 0 6px / 18px 3px no-repeat,
			linear-gradient(#25caff, #25caff) 0 12px / 18px 3px no-repeat !important;
		box-shadow: none !important;
		filter: none !important;
	}

	.route-home .topia-nav-toggle .navbar-toggler-icon::before,
	.route-home .topia-nav-toggle .navbar-toggler-icon::after {
		content: none !important;
		display: none !important;
	}

	.route-home .topia-nav-toggle {
		background: linear-gradient(180deg, rgba(6, 39, 58, 0.9), rgba(2, 19, 34, 0.92)) !important;
	}

	.route-home .topia-mascot {
		width: min(184px, 46vw) !important;
		margin-bottom: -20px !important;
	}

	.route-home .topia-wordmark {
		width: min(372px, 92vw) !important;
	}

	.route-home .topia-hero-actions {
		gap: 12px !important;
		margin-top: 20px !important;
	}

	.route-home .topia-play-button {
		flex-basis: clamp(128px, 35vw, 150px) !important;
		width: clamp(128px, 35vw, 150px) !important;
		max-width: 150px !important;
		min-height: 45px !important;
		border-radius: 8px !important;
		font-size: clamp(0.95rem, 3.8vw, 1.1rem) !important;
	}
}

@media (max-width: 390px) {
	.route-home .topia-nav {
		grid-template-columns: 36px minmax(94px, 0.95fr) minmax(118px, 1.22fr) 36px !important;
	}

	.route-home .topia-version-pill,
	.route-home .topia-ip-pill {
		font-size: clamp(0.6rem, 2.75vw, 0.7rem) !important;
	}

	.route-home .topia-version-pill i,
	.route-home .topia-ip-pill i {
		margin-right: 0.24rem !important;
		font-size: 0.82rem !important;
	}

	.route-home .topia-mascot {
		width: min(168px, 45vw) !important;
	}

	.route-home .topia-wordmark {
		width: min(340px, 91vw) !important;
	}

	.route-home .topia-play-button {
		flex-basis: clamp(118px, 34vw, 140px) !important;
		width: clamp(118px, 34vw, 140px) !important;
		font-size: clamp(0.88rem, 3.7vw, 1rem) !important;
	}
}

body[data-bs-theme=light].theme-aetherwood {
	background: #edf8ff;
	color: #0b2238;
}

body[data-bs-theme=light] .aetherwood-bg {
	background:
		linear-gradient(180deg, rgba(237, 248, 255, 0.94), rgba(220, 242, 252, 0.98)),
		radial-gradient(circle at 20% 0%, rgba(66, 190, 255, 0.18), transparent 36%);
}

body[data-bs-theme=light] .page-wrapper,
body[data-bs-theme=light] .aetherwood-page-wrapper {
	background: transparent;
	color: #0b2238;
}

body[data-bs-theme=light] .card,
body[data-bs-theme=light] .breadcrumb,
body[data-bs-theme=light] .topia-support-panel,
body[data-bs-theme=light] .topia-support-side,
body[data-bs-theme=light] .topia-support-ticket,
body[data-bs-theme=light] .topia-support-empty,
body[data-bs-theme=light] .topia-home-online-card,
body[data-bs-theme=light] .topia-home-widget-card,
body[data-bs-theme=light] .topia-market-empty,
body[data-bs-theme=light] .topia-market-goal {
	border-color: rgba(7, 113, 182, 0.18) !important;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(231, 246, 255, 0.94)),
		radial-gradient(circle at 0% 0%, rgba(57, 190, 255, 0.12), transparent 34%) !important;
	color: #0b2238 !important;
	box-shadow: 0 18px 44px rgba(0, 60, 105, 0.12) !important;
}

body[data-bs-theme=light] .topia-home-widgets-section,
body[data-bs-theme=light] .topia-market-select,
body[data-bs-theme=light] .topia-market-category-page,
body[data-bs-theme=light] .topia-support-page {
	background:
		linear-gradient(180deg, rgba(235, 248, 255, 0.98), rgba(222, 243, 252, 0.98)),
		radial-gradient(circle at 18% 0%, rgba(42, 183, 255, 0.16), transparent 36%) !important;
	color: #0b2238 !important;
}

body[data-bs-theme=light] .topia-home-widgets-head h2,
body[data-bs-theme=light] .topia-home-online-card strong,
body[data-bs-theme=light] .topia-home-widget-title strong,
body[data-bs-theme=light] .topia-support-heading h1,
body[data-bs-theme=light] .topia-support-panel-head h2,
body[data-bs-theme=light] .topia-support-side h2,
body[data-bs-theme=light] .topia-market-title h2,
body[data-bs-theme=light] .topia-market-copy h1,
body[data-bs-theme=light] .page-title,
body[data-bs-theme=light] h1,
body[data-bs-theme=light] h2,
body[data-bs-theme=light] h3,
body[data-bs-theme=light] h4 {
	color: #071c30 !important;
	text-shadow: none !important;
}

body[data-bs-theme=light] .topia-home-widgets-head p,
body[data-bs-theme=light] .topia-home-online-card p,
body[data-bs-theme=light] .topia-support-panel-head p,
body[data-bs-theme=light] .topia-support-side ul,
body[data-bs-theme=light] .topia-market-copy p,
body[data-bs-theme=light] .topia-support-detail-row span,
body[data-bs-theme=light] p,
body[data-bs-theme=light] .text-muted {
	color: rgba(11, 34, 56, 0.76) !important;
}

body[data-bs-theme=light] .topia-home-widget-row,
body[data-bs-theme=light] .topia-support-message,
body[data-bs-theme=light] .topia-support-reply,
body[data-bs-theme=light] .topia-market-card,
body[data-bs-theme=light] .topia-server-card {
	border-color: rgba(7, 113, 182, 0.18) !important;
	background: rgba(255, 255, 255, 0.86) !important;
	color: #0b2238 !important;
}

body[data-bs-theme=light] .topia-home-widget-row strong,
body[data-bs-theme=light] .topia-home-widget-row small,
body[data-bs-theme=light] .topia-support-message-head a,
body[data-bs-theme=light] .topia-support-message-content,
body[data-bs-theme=light] .topia-support-detail-row strong {
	color: #0b2238 !important;
}

body[data-bs-theme=light] .form-control,
body[data-bs-theme=light] .form-select,
body[data-bs-theme=light] .topia-support-page .ck.ck-editor__editable {
	border-color: rgba(7, 113, 182, 0.2) !important;
	background: #f8fdff !important;
	color: #0b2238 !important;
}

body[data-bs-theme=light] .form-control::placeholder,
body[data-bs-theme=light] .topia-support-page .ck.ck-placeholder::before,
body[data-bs-theme=light] .topia-support-page .ck .ck-placeholder::before {
	color: rgba(11, 34, 56, 0.48) !important;
}

body[data-bs-theme=light] .topia-support-page .ck.ck-toolbar {
	border-color: rgba(7, 113, 182, 0.18) !important;
	background: linear-gradient(180deg, #ffffff, #e5f6ff) !important;
	color: #0b2238 !important;
}

body[data-bs-theme=light] .topia-support-page .ck.ck-button,
body[data-bs-theme=light] .topia-support-page .ck.ck-button .ck-icon,
body[data-bs-theme=light] .topia-support-page .ck.ck-dropdown__button,
body[data-bs-theme=light] .topia-support-page .ck.ck-dropdown__button .ck-icon {
	color: #0b2238 !important;
}

body[data-bs-theme=light] .aetherwood-footer.topia-footer-simple {
	background:
		linear-gradient(180deg, rgba(235, 248, 255, 0.98), rgba(214, 239, 250, 1)),
		radial-gradient(circle at 18% 0%, rgba(42, 183, 255, 0.14), transparent 34%) !important;
	border-color: rgba(7, 113, 182, 0.16) !important;
	color: #0b2238 !important;
}

body[data-bs-theme=light] .aetherwood-footer h3,
body[data-bs-theme=light] .aetherwood-footer h4,
body[data-bs-theme=light] .aetherwood-footer .topia-footer-copyright strong,
body[data-bs-theme=light] .aetherwood-footer .topia-footer-powered #powered_by_leaderos a {
	color: #071c30 !important;
}

body[data-bs-theme=light] .aetherwood-footer .topia-footer-about,
body[data-bs-theme=light] .aetherwood-footer .topia-footer-note,
body[data-bs-theme=light] .aetherwood-footer .topia-footer-column a,
body[data-bs-theme=light] .aetherwood-footer .topia-footer-bottomline,
body[data-bs-theme=light] .aetherwood-footer .topia-footer-powered {
	color: rgba(11, 34, 56, 0.78) !important;
}

body[data-bs-theme=light] .aetherwood-footer .topia-footer-note,
body[data-bs-theme=light] .aetherwood-footer .topia-footer-actions .btn,
body[data-bs-theme=light] .aetherwood-footer .topia-footer-actions .btn-group > .btn {
	border-color: rgba(7, 113, 182, 0.18) !important;
	background: rgba(255, 255, 255, 0.78) !important;
	color: #0b2238 !important;
}

body[data-bs-theme=light] .aetherwood-footer .topia-footer-actions .dropdown-menu,
body[data-bs-theme=light] .topia-account-menu {
	border-color: rgba(7, 113, 182, 0.18) !important;
	background: #f8fdff !important;
	color: #0b2238 !important;
}

body[data-bs-theme=light] .aetherwood-footer .topia-footer-actions .dropdown-item,
body[data-bs-theme=light] .topia-account-menu .dropdown-item {
	color: #0b2238 !important;
}

body[data-bs-theme=light] .aetherwood-footer .topia-footer-actions .dropdown-item:hover,
body[data-bs-theme=light] .aetherwood-footer .topia-footer-actions .dropdown-item.active,
body[data-bs-theme=light] .topia-account-menu .dropdown-item:hover {
	background: rgba(7, 113, 182, 0.1) !important;
	color: #0871b6 !important;
}

.topia-market-card {
	border: 1px solid rgba(103, 205, 255, 0.24);
	border-radius: 16px;
	background: linear-gradient(180deg, rgba(7, 18, 31, 0.98), rgba(5, 9, 15, 0.98));
	box-shadow: 0 18px 42px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.topia-market-card-image {
	height: 205px;
	background: radial-gradient(circle at 50% 35%, rgba(54, 194, 255, 0.2), transparent 42%), #121a22;
}

.topia-product-card .topia-market-card-image {
	height: 220px;
}

.topia-market-card-bar {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 0.75rem;
	min-height: 62px;
	margin: 0.7rem;
	padding: 0.72rem 0.82rem;
	border: 1px solid rgba(222, 248, 255, 0.95);
	border-radius: 10px;
	background: linear-gradient(180deg, #ffffff 0%, #eaf8ff 58%, #d7effa 100%);
	color: var(--topia-pill-text) !important;
	box-shadow: 0 0 18px rgba(69, 197, 255, 0.28), 0 12px 24px rgba(0, 0, 0, 0.2);
}

.topia-market-card-bar strong {
	display: -webkit-box;
	overflow: hidden;
	color: var(--topia-pill-text);
	font-size: 0.92rem;
	font-weight: 950;
	line-height: 1.18;
	text-transform: uppercase;
	text-shadow: none;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.topia-market-card-bar span,
.topia-market-card-bar i {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 32px;
	border-radius: 999px;
	background: rgba(7, 113, 182, 0.12);
	color: var(--topia-pill-text);
	font-size: 0.82rem;
	font-weight: 950;
	white-space: nowrap;
}

.topia-market-card-bar span {
	padding: 0 0.65rem;
}

.topia-market-card-bar i {
	width: 30px;
	height: 30px;
}

.topia-footer-simple,
.topia-footer-simple .container,
.topia-footer-simple-grid,
.topia-footer-controls,
.topia-footer-actions,
.topia-footer-actions .dropdown,
.topia-footer-actions .btn-group {
	overflow: visible !important;
}

.topia-footer-actions .btn-group {
	position: relative;
}

.topia-footer-actions .dropdown-menu {
	top: calc(100% + 8px) !important;
	bottom: auto !important;
	left: 0 !important;
	right: auto !important;
	transform: none !important;
	z-index: 1080;
	min-width: 190px;
	max-width: min(280px, calc(100vw - 32px));
	max-height: 280px;
	overflow-y: auto;
	overscroll-behavior: contain;
	padding: 0.45rem;
	border: 1px solid rgba(127, 218, 255, 0.24) !important;
	border-radius: 12px;
	background: rgba(5, 18, 36, 0.98);
	box-shadow: 0 22px 52px rgba(0, 0, 0, 0.45);
}

.topia-footer-actions .dropdown-menu:not(.show) {
	display: none !important;
}

.topia-footer-actions .dropdown-item {
	min-height: 42px;
	color: rgba(235, 247, 255, 0.92);
	font-weight: 850;
}

.topia-footer-actions .dropdown-item.active,
.topia-footer-actions .dropdown-item:active {
	background: linear-gradient(180deg, #f8fdff, #dff4ff);
	color: var(--topia-pill-text);
}

body[data-bs-theme=light] .topia-footer-actions .dropdown-menu {
	border-color: rgba(7, 113, 182, 0.18) !important;
	background: rgba(248, 253, 255, 0.98);
	box-shadow: 0 18px 44px rgba(0, 42, 78, 0.18);
}

body[data-bs-theme=light] .topia-footer-actions .dropdown-item {
	color: #0b2b46;
}

body[data-bs-theme=light] .topia-footer-actions .btn {
	border-color: rgba(7, 113, 182, 0.18) !important;
	background: #f8fdff;
	color: var(--topia-pill-text) !important;
}

.topia-support-page {
	min-height: calc(100vh - 112px);
	padding-bottom: clamp(4.2rem, 8vw, 7rem);
	background: radial-gradient(circle at 50% 0%, rgba(36, 170, 255, 0.12), transparent 28%), linear-gradient(180deg, rgba(4, 15, 29, 0.96), rgba(5, 7, 10, 0.98));
}

.topia-support-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(260px, 310px);
	gap: clamp(1rem, 2vw, 1.6rem);
	align-items: start;
}

.topia-support-panel,
.topia-support-side {
	border: 1px solid rgba(122, 210, 255, 0.18);
	border-radius: 16px;
	background: radial-gradient(circle at 0% 0%, rgba(45, 188, 255, 0.12), transparent 30%), rgba(6, 17, 30, 0.9);
	box-shadow: 0 22px 58px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.topia-support-panel {
	padding: clamp(1rem, 2vw, 1.45rem);
}

.topia-support-panel-head {
	display: flex;
	align-items: center;
	gap: 0.9rem;
	margin-bottom: 1.2rem;
	padding-bottom: 1rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topia-support-panel-head > i {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border-radius: 12px;
	background: linear-gradient(180deg, #ffffff, #d9f3ff);
	color: var(--topia-pill-text);
	box-shadow: 0 0 20px rgba(71, 197, 255, 0.25);
}

.topia-support-panel-head h2,
.topia-support-side h2,
.topia-support-reply h2 {
	margin: 0;
	color: #fff;
	font-size: 1.1rem;
	font-weight: 950;
}

.topia-support-panel-head p,
.topia-support-side ul {
	color: rgba(235, 247, 255, 0.76);
	font-weight: 700;
}

.topia-support-form .form-label,
.topia-support-reply .form-label {
	color: rgba(235, 247, 255, 0.9);
	font-weight: 900;
}

.topia-support-form .form-control,
.topia-support-reply .form-control,
.topia-support-form .form-select {
	min-height: 46px;
	border-color: rgba(127, 218, 255, 0.2);
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
}

.topia-support-form-actions {
	display: flex;
	justify-content: flex-end;
	margin-top: 1rem;
}

.topia-support-side {
	position: sticky;
	top: 132px;
	padding: 1.15rem;
}

.topia-support-side ul {
	display: grid;
	gap: 0.72rem;
	padding-left: 1.1rem;
	margin: 1rem 0 1.2rem;
}

.topia-support-side a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 44px;
	border: 1px solid rgba(222, 248, 255, 0.88);
	border-radius: 10px;
	background: linear-gradient(180deg, #ffffff, #dff4ff);
	color: var(--topia-pill-text);
	font-weight: 950;
	text-decoration: none;
}

.topia-support-detail-row {
	display: grid;
	gap: 0.3rem;
	padding: 0.85rem 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topia-support-detail-row:last-child {
	border-bottom: 0;
}

.topia-support-detail-row span {
	color: rgba(235, 247, 255, 0.62);
	font-size: 0.78rem;
	font-weight: 900;
	text-transform: uppercase;
}

.topia-support-detail-row strong {
	color: #fff;
	font-weight: 900;
	word-break: break-word;
}

.topia-support-messages {
	display: grid;
	gap: 0.85rem;
	max-height: 560px;
	overflow: auto;
	padding-right: 0.3rem;
}

.topia-support-message {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: 0.9rem;
	padding: 1rem;
	border: 1px solid rgba(122, 210, 255, 0.14);
	border-radius: 14px;
	background: rgba(4, 14, 25, 0.72);
}

.topia-support-message-avatar .avatar {
	width: 42px;
	height: 42px;
	border-radius: 9px;
}

.topia-support-message-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 0.35rem;
}

.topia-support-message-head a {
	color: #fff;
	font-weight: 950;
	text-decoration: none;
}

.topia-support-message-head span {
	color: rgba(235, 247, 255, 0.68);
	font-size: 0.78rem;
	font-weight: 760;
	white-space: nowrap;
}

.topia-support-message-content {
	color: rgba(235, 247, 255, 0.9);
	font-weight: 650;
	line-height: 1.6;
}

.topia-support-reply {
	margin-top: 1.2rem;
	padding-top: 1.2rem;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.topia-support-reply h2 {
	margin-bottom: 0.8rem;
}

.topia-support-page .ck.ck-toolbar {
	background: rgba(235, 247, 255, 0.96) !important;
}

.topia-support-page .ck.ck-editor__editable {
	min-height: 150px;
	background: rgba(255, 255, 255, 0.96) !important;
	color: #0b2238 !important;
}

.topia-support-page .select2-container {
	width: 100% !important;
}

.topia-support-page .select2-container--default .select2-selection--single {
	min-height: 46px;
	border-color: rgba(127, 218, 255, 0.2);
	border-radius: 9px;
	background: rgba(255, 255, 255, 0.08);
}

.topia-support-page .select2-container--default .select2-selection--single .select2-selection__rendered {
	line-height: 46px;
	color: #fff;
}

body[data-bs-theme=light] .topia-support-page {
	background: radial-gradient(circle at 50% 0%, rgba(36, 170, 255, 0.16), transparent 28%), linear-gradient(180deg, #eef8ff, #dff3fb);
}

body[data-bs-theme=light] .topia-support-panel,
body[data-bs-theme=light] .topia-support-side,
body[data-bs-theme=light] .topia-support-ticket,
body[data-bs-theme=light] .topia-support-empty {
	background: rgba(255, 255, 255, 0.92);
	color: #0b2238;
}

body[data-bs-theme=light] .topia-support-panel-head h2,
body[data-bs-theme=light] .topia-support-side h2,
body[data-bs-theme=light] .topia-support-reply h2,
body[data-bs-theme=light] .topia-support-detail-row strong,
body[data-bs-theme=light] .topia-support-form .form-label {
	color: #0b2238;
}

body[data-bs-theme=light] .topia-support-panel-head p,
body[data-bs-theme=light] .topia-support-side ul,
body[data-bs-theme=light] .topia-support-detail-row span {
	color: rgba(11, 34, 56, 0.68);
}

body[data-bs-theme=light] .topia-support-form .form-control,
body[data-bs-theme=light] .topia-support-reply .form-control,
body[data-bs-theme=light] .topia-support-form .form-select {
	background: #f8fdff;
	color: #0b2238;
}

@media (max-width: 991.98px) {
	.topia-support-layout {
		grid-template-columns: 1fr;
	}

	.topia-support-side {
		position: relative;
		top: auto;
	}
}

@media (max-width: 767.98px) {
	.route-home .topia-nav {
		top: 10px;
		left: 8px;
		right: 8px;
		max-width: calc(100vw - 16px);
		grid-template-columns: minmax(0, 1fr) 46px;
		gap: 8px;
	}

	.route-home .topia-version-pill,
	.route-home .topia-ip-pill {
		min-height: 42px;
		border-width: 1px;
		border-radius: 9px;
		box-shadow: 0 0 12px rgba(56, 193, 255, 0.36), 0 8px 18px rgba(0, 0, 0, 0.22);
	}

	.route-home .topia-nav-toggle,
	.route-home .topia-account-pill {
		width: 46px;
		min-width: 46px;
		height: 42px;
		min-height: 42px;
		border-width: 1px;
	}

	.route-home .topia-nav-list {
		margin-top: 0.45rem;
		border: 1px solid rgba(146, 216, 255, 0.15);
		border-radius: 12px;
		background: rgba(2, 11, 24, 0.78);
		box-shadow: 0 18px 40px rgba(0, 0, 0, 0.32);
	}

	.route-home .topia-launcher-hero {
		padding: 128px 18px 34px;
	}

	.route-home .topia-mascot {
		width: min(190px, 46vw);
		margin-bottom: -24px;
	}

	.route-home .topia-wordmark {
		width: min(360px, 88vw);
	}

	.route-home .topia-play-button {
		min-height: 58px;
		border-width: 1px;
		border-radius: 12px;
		font-size: 1.25rem;
	}

	.topia-market-card-bar {
		min-height: 58px;
		margin: 0.55rem;
		padding: 0.68rem 0.75rem;
	}

	.topia-footer-actions {
		align-items: stretch;
		width: 100%;
	}

	.topia-footer-actions .btn-group,
	.topia-footer-actions .btn {
		width: 100%;
	}

	.topia-footer-actions .btn-icon {
		width: 46px;
		flex: 0 0 46px;
	}

	.topia-footer-actions .dropdown-menu {
		width: min(280px, calc(100vw - 32px));
		max-height: 230px;
	}

	.topia-support-page {
		padding-top: 1.4rem;
		padding-bottom: 4rem;
	}

	.topia-support-message {
		grid-template-columns: 1fr;
	}

	.topia-support-message-head {
		align-items: flex-start;
		flex-direction: column;
		gap: 0.25rem;
	}
}

/* Compact polish pass for support editor, mobile launcher and footer density. */
html,
body,
.aetherwood-page-shell,
.aetherwood-page-wrapper {
	max-width: 100%;
	overflow-x: clip;
}

.topia-support-page .ck.ck-editor {
	border-radius: 12px;
	filter: drop-shadow(0 18px 34px rgba(0, 0, 0, 0.18));
	overflow: hidden;
}

.topia-support-page .ck.ck-toolbar {
	border-color: rgba(121, 211, 255, 0.18) !important;
	background: linear-gradient(180deg, #213247, #182638) !important;
	color: rgba(235, 247, 255, 0.92) !important;
}

.topia-support-page .ck.ck-button,
.topia-support-page .ck.ck-button .ck-icon,
.topia-support-page .ck.ck-dropdown__button,
.topia-support-page .ck.ck-dropdown__button .ck-icon {
	color: rgba(235, 247, 255, 0.88) !important;
}

.topia-support-page .ck.ck-button:hover,
.topia-support-page .ck.ck-button.ck-on,
.topia-support-page .ck.ck-dropdown__button:hover {
	background: rgba(37, 183, 255, 0.16) !important;
	color: #fff !important;
}

.topia-support-page .ck.ck-editor__editable {
	min-height: 170px;
	border-color: rgba(121, 211, 255, 0.18) !important;
	background: linear-gradient(180deg, #101b29, #0b1522) !important;
	color: rgba(235, 247, 255, 0.94) !important;
}

.topia-support-page .ck.ck-editor__editable p,
.topia-support-page .ck.ck-editor__editable li {
	color: rgba(235, 247, 255, 0.94) !important;
}

.topia-support-page .ck.ck-placeholder::before,
.topia-support-page .ck .ck-placeholder::before {
	color: rgba(207, 231, 245, 0.58) !important;
}

body .select2-dropdown,
.topia-support-page .select2-dropdown {
	border-color: rgba(121, 211, 255, 0.22);
	background: #071524;
	color: #fff;
	box-shadow: 0 18px 42px rgba(0, 0, 0, 0.34);
}

body .select2-results__option,
.topia-support-page .select2-results__option {
	color: rgba(235, 247, 255, 0.88);
	font-weight: 800;
}

.topia-support-form .form-select option {
	background: #071524;
	color: rgba(235, 247, 255, 0.94);
}

body[data-bs-theme=light] .select2-dropdown {
	border-color: rgba(7, 113, 182, 0.18);
	background: #f8fdff;
	color: #0b2238;
}

body[data-bs-theme=light] .select2-results__option {
	color: #0b2238;
}

body[data-bs-theme=light] .topia-support-form .form-select option {
	background: #f8fdff;
	color: #0b2238;
}

body .select2-results__option--highlighted,
body .select2-results__option[aria-selected=true],
.topia-support-page .select2-results__option--highlighted,
.topia-support-page .select2-results__option[aria-selected=true] {
	background: rgba(37, 183, 255, 0.18) !important;
	color: #fff !important;
}

body[data-bs-theme=light] .select2-results__option--highlighted,
body[data-bs-theme=light] .select2-results__option[aria-selected=true] {
	background: rgba(7, 113, 182, 0.12) !important;
	color: var(--topia-pill-text) !important;
}

.topia-footer-simple {
	padding-top: clamp(2.4rem, 5vw, 4.5rem);
}

.topia-footer-simple-grid {
	gap: clamp(1.2rem, 3vw, 2.4rem);
}

@media (max-width: 767.98px) {
	.route-home .topia-nav {
		top: 8px;
		left: 7px;
		right: 7px;
		grid-template-columns: minmax(0, 1fr) 42px;
		gap: 7px;
	}

	.route-home .topia-version-pill,
	.route-home .topia-ip-pill {
		min-height: 36px;
		padding: 0 0.65rem;
		border-radius: 8px;
		font-size: clamp(0.72rem, 3vw, 0.82rem);
		letter-spacing: 0;
	}

	.route-home .topia-nav-toggle,
	.route-home .topia-account-pill {
		width: 42px;
		min-width: 42px;
		height: 36px;
		min-height: 36px;
		border-radius: 8px;
	}

	.route-home .topia-nav-toggle .navbar-toggler-icon {
		width: 18px;
		height: 18px;
	}

	.route-home .topia-account-pill .avatar {
		width: 28px;
		height: 28px;
		border-radius: 7px;
	}

	.route-home .topia-nav-actions {
		gap: 7px;
	}

	.route-home .topia-nav-list {
		padding: 0.75rem;
		gap: 0.58rem;
	}

	.route-home .topia-nav-link {
		min-height: 40px;
		font-size: 0.92rem;
	}

	.route-home .topia-launcher-hero {
		min-height: 100svh;
		padding: 106px 16px 24px;
	}

	.route-home .topia-centerpiece {
		width: min(340px, 90vw);
	}

	.route-home .topia-mascot {
		width: min(152px, 38vw);
		margin-bottom: -18px;
	}

	.route-home .topia-wordmark {
		width: min(322px, 84vw);
	}

	.route-home .topia-hero-actions {
		width: min(316px, 84vw);
		gap: 10px;
		margin-top: 18px;
	}

	.route-home .topia-play-button {
		min-height: 52px;
		border-radius: 11px;
		font-size: 1.08rem;
	}

	.route-home .topia-play-button i {
		font-size: 1.12rem;
	}

	.topia-footer-simple {
		padding: 1.45rem 0 0;
	}

	.topia-footer-simple .container {
		padding-right: 10px;
		padding-left: 10px;
	}

	.topia-footer-simple-grid {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 1.05rem 0.9rem;
		padding: 1rem;
		border-radius: 14px;
	}

	.topia-footer-about-block,
	.topia-footer-controls {
		grid-column: 1 / -1;
	}

	.topia-footer-simple h3,
	.topia-footer-simple h4 {
		margin-bottom: 0.5rem;
		font-size: 0.9rem;
	}

	.topia-footer-about,
	.topia-footer-note,
	.topia-footer-column a,
	.topia-footer-legal {
		font-size: 0.78rem;
		line-height: 1.45;
	}

	.topia-footer-column ul {
		gap: 0.38rem;
	}

	.topia-footer-actions {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 42px;
		gap: 0.5rem;
	}

	.topia-footer-actions .btn,
	.topia-footer-actions .btn-group > .btn {
		min-height: 40px;
		padding: 0 0.65rem;
		font-size: 0.78rem;
	}

	.topia-footer-actions .btn-icon {
		width: 42px;
		min-width: 42px;
	}

	.topia-footer-legal {
		display: grid;
		gap: 0.35rem;
		padding: 0.9rem 0.75rem;
		text-align: center;
	}

	.topia-support-page {
		padding-top: 1rem;
	}

	.topia-support-heading {
		margin-bottom: 1rem;
	}

	.topia-support-heading h1 {
		font-size: clamp(1.65rem, 8vw, 2.25rem);
	}

	.topia-support-open,
	.topia-support-notice-link {
		min-height: 42px;
		padding: 0 0.9rem;
	}

	.topia-support-page .ck.ck-editor__editable {
		min-height: 132px;
	}
}

@media (max-width: 420px) {
	.topia-footer-simple-grid {
		grid-template-columns: 1fr 1fr;
	}

	.topia-footer-actions {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 40px;
	}
}

/* Flow guard: keep the home hero, page content, footer and chat widget from stacking on top of each other. */
.page,
.aetherwood-page-shell {
	position: relative;
	isolation: isolate;
}

.aetherwood-page-wrapper {
	position: relative;
	z-index: 1;
}

.topia-header {
	position: relative;
	z-index: 6;
}

.topia-home-header {
	display: flex;
	flex-direction: column;
	min-height: 100svh;
	overflow: hidden;
}

.topia-home-bg {
	inset: 0;
	height: 100%;
}

.topia-launcher-hero {
	flex: 1 0 auto;
	min-height: 100svh;
}

.aetherwood-footer,
.topia-footer-simple {
	position: relative;
	z-index: 7;
	clear: both;
	margin-top: 0;
	background:
		linear-gradient(180deg, rgba(3, 8, 14, 0.98), rgba(4, 7, 12, 1)),
		radial-gradient(circle at 50% 0%, rgba(41, 191, 255, 0.1), transparent 34%);
}

.topia-footer-simple::before,
.topia-footer-simple::after {
	pointer-events: none;
}

.route-home .aetherwood-footer {
	margin-top: 0;
	border-top: 1px solid rgba(112, 205, 255, 0.18);
}

.topia-footer-legal {
	position: relative;
	z-index: 2;
	border-top: 1px solid rgba(123, 210, 255, 0.12);
	background: rgba(11, 21, 42, 0.98);
}

/* Footer must stay in normal document flow. Some base styles try to float footer bars above content. */
.aetherwood-footer,
.topia-footer-simple,
.topia-footer-legal {
	position: static !important;
	inset: auto !important;
	top: auto !important;
	right: auto !important;
	bottom: auto !important;
	left: auto !important;
	transform: none !important;
	z-index: auto !important;
}

.aetherwood-page-shell,
.aetherwood-page-wrapper,
.page-wrapper {
	min-height: 0 !important;
}

.aetherwood-page-wrapper {
	padding-bottom: 0 !important;
}

.topia-footer-simple {
	display: block !important;
	width: 100%;
	flex: 0 0 auto;
}

.topia-footer-legal {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: min(1180px, calc(100% - 32px));
	margin: 0 auto;
	padding: 1.05rem 0 1.35rem;
}

#powered_by_leaderos {
	position: static !important;
	inset: auto !important;
	top: auto !important;
	right: auto !important;
	bottom: auto !important;
	left: auto !important;
	display: block !important;
	width: min(1180px, calc(100% - 32px)) !important;
	height: auto !important;
	min-height: 0 !important;
	margin: 0 auto !important;
	padding: 0.85rem 0 1.05rem !important;
	border-top: 1px solid rgba(123, 210, 255, 0.12);
	background: transparent !important;
	color: rgba(235, 247, 255, 0.78) !important;
	text-align: center;
	transform: none !important;
	z-index: auto !important;
	pointer-events: auto !important;
}

#powered_by_leaderos * {
	position: static !important;
	transform: none !important;
}

@media (max-width: 767.98px) {
	.topia-home-header {
		min-height: auto;
	}

	.topia-launcher-hero {
		min-height: 100svh;
	}

	.topia-footer-simple {
		padding-bottom: 88px;
	}

	.topia-footer-simple-grid {
		position: relative;
		z-index: 3;
		margin-bottom: 0.7rem;
		background:
			linear-gradient(180deg, rgba(4, 13, 23, 0.98), rgba(3, 8, 14, 0.98)),
			radial-gradient(circle at 0% 0%, rgba(53, 190, 255, 0.12), transparent 36%);
	}

	.topia-footer-legal {
		margin-right: 64px;
		margin-bottom: 0.65rem;
		border-radius: 12px;
	}
}

@media (max-width: 420px) {
	.topia-footer-legal {
		margin-right: 58px;
		padding: 0.75rem 0.5rem;
		font-size: 0.74rem;
	}
}

/* Final Aetherwood footer + home widget integration. Keep this block last. */
.topia-home-widgets-section {
	position: relative;
	z-index: 2;
	padding: clamp(2.2rem, 5vw, 4.5rem) 0;
	background:
		linear-gradient(180deg, rgba(2, 9, 16, 0.98), rgba(4, 8, 13, 1)),
		radial-gradient(circle at 16% 0%, rgba(49, 194, 255, 0.12), transparent 34%),
		radial-gradient(circle at 84% 28%, rgba(220, 246, 255, 0.08), transparent 30%);
	border-top: 1px solid rgba(124, 216, 255, 0.14);
}

.topia-home-widgets-head {
	max-width: 680px;
	margin-bottom: 1.35rem;
}

.topia-home-widgets-head span,
.topia-home-online-card span,
.topia-home-widget-title span {
	color: #8ee7ff;
	font-size: 0.78rem;
	font-weight: 950;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.topia-home-widgets-head h2 {
	margin: 0.15rem 0 0.45rem;
	color: #fff;
	font-size: clamp(1.75rem, 3vw, 2.65rem);
	font-weight: 950;
	letter-spacing: -0.03em;
}

.topia-home-widgets-head p,
.topia-home-online-card p {
	margin: 0;
	color: rgba(225, 243, 255, 0.72);
	font-weight: 700;
}

.topia-home-online-card,
.topia-home-widget-card {
	position: relative;
	overflow: hidden;
	border: 1px solid rgba(123, 211, 255, 0.18);
	background:
		linear-gradient(180deg, rgba(8, 20, 33, 0.94), rgba(5, 13, 22, 0.98)),
		radial-gradient(circle at 0% 0%, rgba(49, 196, 255, 0.14), transparent 36%);
	box-shadow: 0 24px 54px rgba(0, 0, 0, 0.3);
}

.topia-home-online-card {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1.1rem;
	padding: 1.05rem 1.15rem;
	border-radius: 16px;
}

.topia-home-online-card strong {
	display: block;
	color: #fff;
	font-size: clamp(1.4rem, 3vw, 2.05rem);
	font-weight: 950;
	line-height: 1;
}

.topia-home-widgets-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
}

.topia-home-widget-card {
	display: flex;
	flex-direction: column;
	min-height: 240px;
	padding: 1rem;
	border-radius: 18px;
}

.topia-home-widget-card-discord {
	grid-row: span 2;
}

.topia-home-widget-card iframe {
	width: 100%;
	min-height: 320px;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.04);
}

.topia-home-widget-title {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-bottom: 0.9rem;
}

.topia-home-widget-title i {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 12px;
	background: linear-gradient(180deg, #f7fdff, #dff4ff);
	color: #0871b6;
	font-size: 1.25rem;
	box-shadow: 0 0 18px rgba(80, 207, 255, 0.22);
}

.topia-home-widget-title strong {
	display: block;
	color: #fff;
	font-size: 1.05rem;
	font-weight: 950;
}

.topia-home-widget-list {
	display: grid;
	gap: 0.55rem;
	margin-top: auto;
}

.topia-home-widget-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	min-width: 0;
	padding: 0.62rem 0.7rem;
	border: 1px solid rgba(123, 211, 255, 0.12);
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.045);
	color: rgba(235, 247, 255, 0.92);
	text-decoration: none;
	transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.topia-home-widget-row:hover {
	transform: translateY(-2px);
	border-color: rgba(126, 223, 255, 0.32);
	background: rgba(47, 191, 255, 0.11);
	color: #fff;
	text-decoration: none;
}

.topia-home-widget-row span {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	min-width: 0;
	font-weight: 900;
}

.topia-home-widget-row span:not(.avatar) {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.topia-home-widget-row strong,
.topia-home-widget-row small {
	flex-shrink: 0;
	color: #c9f3ff;
	font-weight: 950;
}

.topia-home-widget-row.is-purchase {
	align-items: flex-start;
	flex-direction: column;
}

.topia-home-widget-row.is-purchase small {
	max-width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	color: rgba(211, 237, 250, 0.72);
}

.topia-home-widget-empty {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 120px;
	margin-top: auto;
	border: 1px dashed rgba(124, 216, 255, 0.22);
	border-radius: 14px;
	color: rgba(225, 243, 255, 0.72);
	font-weight: 900;
	text-align: center;
}

.aetherwood-footer.topia-footer-simple {
	position: relative !important;
	z-index: 2 !important;
	display: block !important;
	width: 100%;
	margin: 0 !important;
	padding: clamp(2.4rem, 5vw, 4.4rem) 0 0 !important;
	background:
		linear-gradient(180deg, rgba(4, 8, 13, 1), rgba(0, 6, 8, 1)),
		radial-gradient(circle at 18% 0%, rgba(47, 189, 255, 0.1), transparent 34%);
	border-top: 1px solid rgba(124, 216, 255, 0.16);
	transform: none !important;
}

.aetherwood-footer .container {
	overflow: visible !important;
}

.aetherwood-footer .topia-footer-simple-grid {
	display: grid !important;
	grid-template-columns: minmax(260px, 1.35fr) repeat(3, minmax(150px, 0.75fr));
	gap: clamp(1.4rem, 4vw, 3.5rem);
	width: min(1180px, 100%);
	margin: 0 auto;
	padding: 0 0 2.2rem;
	border: 0;
	border-radius: 0;
	background: transparent !important;
	box-shadow: none;
}

.aetherwood-footer .topia-footer-about-block,
.aetherwood-footer .topia-footer-column,
.aetherwood-footer .topia-footer-controls {
	min-width: 0;
	text-align: left;
}

.aetherwood-footer h3,
.aetherwood-footer h4 {
	margin: 0 0 0.8rem;
	color: #fff;
	font-size: 0.98rem;
	font-weight: 950;
	text-transform: uppercase;
	letter-spacing: -0.02em;
}

.aetherwood-footer .topia-footer-about,
.aetherwood-footer .topia-footer-note {
	max-width: 430px;
	color: rgba(235, 247, 255, 0.82);
	font-size: 0.92rem;
	font-weight: 650;
	line-height: 1.55;
}

.aetherwood-footer .topia-footer-note {
	display: inline-flex;
	margin: 1rem 0 0;
	padding: 0.75rem 0.9rem;
	border: 1px solid rgba(123, 211, 255, 0.16);
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.035);
}

.aetherwood-footer .topia-footer-column ul {
	display: grid;
	gap: 0.52rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.aetherwood-footer .topia-footer-column a {
	display: inline-flex;
	align-items: center;
	gap: 0.52rem;
	width: fit-content;
	color: rgba(235, 247, 255, 0.86);
	font-size: 0.92rem;
	font-weight: 780;
	text-decoration: none;
	transition: color 0.18s ease, transform 0.18s ease;
}

.aetherwood-footer .topia-footer-column a:hover {
	transform: translateX(2px);
	color: #8ee7ff;
	text-decoration: none;
}

.aetherwood-footer .topia-footer-column i {
	width: 16px;
	color: #dff7ff;
	text-align: center;
}

.aetherwood-footer .topia-footer-actions {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.58rem;
	width: auto;
}

.aetherwood-footer .topia-footer-actions .btn,
.aetherwood-footer .topia-footer-actions .btn-group > .btn {
	width: auto;
	min-height: 42px;
	border-color: rgba(188, 236, 255, 0.22) !important;
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.045);
	color: #fff !important;
	font-weight: 900;
}

.aetherwood-footer .topia-footer-actions .dropdown-menu {
	top: calc(100% + 8px) !important;
	bottom: auto !important;
	max-height: 260px;
	overflow-y: auto;
	border-color: rgba(124, 216, 255, 0.22);
	background: #071421;
}

.aetherwood-footer .topia-footer-bottomline {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	width: min(1180px, 100%);
	margin: 0 auto;
	padding: 1.1rem 0 1.35rem;
	border-top: 1px solid rgba(124, 216, 255, 0.14);
	color: rgba(235, 247, 255, 0.78);
	font-weight: 760;
}

.aetherwood-footer .topia-footer-copyright strong {
	color: #fff;
}

.aetherwood-footer .topia-footer-powered {
	flex-shrink: 0;
	color: rgba(235, 247, 255, 0.78);
	font-weight: 760;
}

.aetherwood-footer .topia-footer-powered #powered_by_leaderos,
.aetherwood-footer .topia-footer-powered #powered_by_leaderos * {
	position: static !important;
	inset: auto !important;
	display: inline !important;
	width: auto !important;
	height: auto !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	color: inherit !important;
	box-shadow: none !important;
	text-align: inherit !important;
	transform: none !important;
	z-index: auto !important;
}

.aetherwood-footer .topia-footer-powered #powered_by_leaderos a {
	color: #fff !important;
	font-weight: 950;
	text-decoration: none;
}

body > #powered_by_leaderos,
.aetherwood-page-shell > #powered_by_leaderos,
.aetherwood-page-wrapper > #powered_by_leaderos {
	display: none !important;
}

@media (max-width: 991.98px) {
	.topia-home-widgets-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.topia-home-widget-card-discord {
		grid-column: 1 / -1;
		grid-row: auto;
	}

	.aetherwood-footer .topia-footer-simple-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767.98px) {
	.topia-home-widgets-section {
		padding: 1.6rem 0 2.1rem;
	}

	.topia-home-widgets-head {
		margin-bottom: 1rem;
		text-align: center;
	}

	.topia-home-online-card {
		align-items: center;
		flex-direction: column;
		padding: 0.9rem;
		text-align: center;
	}

	.topia-home-widgets-grid {
		grid-template-columns: 1fr;
		gap: 0.85rem;
	}

	.topia-home-widget-card {
		min-height: 0;
		padding: 0.85rem;
		border-radius: 14px;
	}

	.topia-home-widget-card iframe {
		min-height: 280px;
	}

	.aetherwood-footer.topia-footer-simple {
		padding: 2.1rem 0 0 !important;
		text-align: center;
	}

	.aetherwood-footer .container {
		padding-right: 18px;
		padding-left: 18px;
	}

	.aetherwood-footer .topia-footer-simple-grid {
		grid-template-columns: 1fr !important;
		gap: 1.65rem;
		padding: 0 0 1.55rem;
		text-align: center;
	}

	.aetherwood-footer .topia-footer-about-block,
	.aetherwood-footer .topia-footer-column,
	.aetherwood-footer .topia-footer-controls {
		text-align: center;
	}

	.aetherwood-footer .topia-footer-about,
	.aetherwood-footer .topia-footer-note {
		max-width: none;
		margin-right: auto;
		margin-left: auto;
	}

	.aetherwood-footer .topia-footer-column ul {
		justify-items: center;
	}

	.aetherwood-footer .topia-footer-column a:hover {
		transform: translateY(-1px);
	}

	.aetherwood-footer .topia-footer-actions {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 44px;
		width: 100%;
	}

	.aetherwood-footer .topia-footer-actions .btn-group,
	.aetherwood-footer .topia-footer-actions .btn {
		width: 100%;
	}

	.aetherwood-footer .topia-footer-actions .btn-icon {
		width: 44px;
		min-width: 44px;
	}

	.aetherwood-footer .topia-footer-actions .dropdown-menu {
		width: min(260px, calc(100vw - 36px));
		text-align: left;
	}

	.aetherwood-footer .topia-footer-bottomline {
		display: grid;
		gap: 0.8rem;
		margin: 0;
		padding: 1rem 0 calc(1.15rem + env(safe-area-inset-bottom));
		text-align: center;
	}

	.aetherwood-footer .topia-footer-powered {
		justify-self: center;
	}
}

/* Last-pass mobile launcher override. This must stay at the end of the file. */
@media (max-width: 767.98px) {
	.route-home .topia-nav {
		top: 38px !important;
		left: 16px !important;
		right: 16px !important;
		display: grid !important;
		grid-template-columns: 38px minmax(94px, 1fr) minmax(122px, 1.35fr) 38px !important;
		align-items: center !important;
		gap: 0 !important;
		width: auto !important;
		max-width: calc(100vw - 32px) !important;
		min-height: 42px !important;
		padding: 4px !important;
		border: 1px solid rgba(71, 197, 255, 0.48) !important;
		border-radius: 10px !important;
		background:
			linear-gradient(180deg, rgba(4, 20, 31, 0.88), rgba(1, 9, 17, 0.9)),
			radial-gradient(circle at 0% 0%, rgba(52, 199, 255, 0.18), transparent 42%) !important;
		box-shadow:
			0 0 0 1px rgba(217, 249, 255, 0.1) inset,
			0 0 18px rgba(41, 190, 255, 0.38),
			0 14px 26px rgba(0, 0, 0, 0.34) !important;
		backdrop-filter: blur(10px);
	}

	.route-home .topia-nav-actions {
		display: contents !important;
	}

	.route-home .topia-account-dropdown,
	.route-home .topia-nav-actions > .topia-account-pill {
		order: 1 !important;
		position: relative;
		display: flex !important;
		align-items: center;
		justify-content: center;
		width: 34px !important;
		height: 34px !important;
		min-width: 34px !important;
	}

	.route-home .topia-account-pill {
		width: 34px !important;
		min-width: 34px !important;
		height: 34px !important;
		min-height: 34px !important;
		padding: 2px !important;
		border-radius: 8px !important;
		box-shadow: 0 0 10px rgba(50, 197, 255, 0.42) !important;
	}

	.route-home .topia-account-pill .avatar {
		width: 26px !important;
		height: 26px !important;
		border-radius: 6px !important;
	}

	.route-home .topia-version-pill,
	.route-home .topia-ip-pill {
		overflow: hidden !important;
		min-width: 0 !important;
		width: 100% !important;
		min-height: 34px !important;
		height: 34px !important;
		padding: 0 0.48rem !important;
		border: 0 !important;
		border-radius: 0 !important;
		background: transparent !important;
		box-shadow: none !important;
		color: rgba(238, 249, 255, 0.94) !important;
		font-size: clamp(0.52rem, 2.35vw, 0.68rem) !important;
		font-weight: 950 !important;
		letter-spacing: -0.02em !important;
		text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
		white-space: nowrap !important;
	}

	.route-home .topia-version-pill {
		order: 2 !important;
		border-left: 1px solid rgba(112, 215, 255, 0.28) !important;
	}

	.route-home .topia-ip-pill {
		order: 3 !important;
		border-left: 1px solid rgba(112, 215, 255, 0.34) !important;
	}

	.route-home .topia-version-pill i,
	.route-home .topia-ip-pill i {
		flex: 0 0 auto;
		margin-right: 0.28rem;
		color: #17bcff;
		font-size: 0.82rem;
		text-shadow: 0 0 9px rgba(23, 188, 255, 0.62);
	}

	.route-home .topia-version-pill span,
	.route-home .topia-ip-pill span {
		display: block;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}

	.route-home .topia-nav-toggle {
		order: 4 !important;
		width: 34px !important;
		min-width: 34px !important;
		height: 34px !important;
		min-height: 34px !important;
		padding: 0 !important;
		border: 1px solid rgba(85, 211, 255, 0.6) !important;
		border-radius: 8px !important;
		background: rgba(6, 31, 47, 0.82) !important;
		box-shadow: 0 0 12px rgba(38, 190, 255, 0.34) !important;
	}

	.route-home .topia-nav-toggle .navbar-toggler-icon {
		width: 18px !important;
		height: 18px !important;
		filter: brightness(0) invert(1);
	}

	.route-home .topia-nav-menu {
		order: 5 !important;
		grid-column: 1 / -1 !important;
	}

	.route-home .topia-nav-list {
		margin-top: 0.55rem !important;
		border-radius: 10px !important;
		background: rgba(2, 13, 24, 0.94) !important;
	}

	.route-home .topia-account-menu {
		top: calc(100% + 10px) !important;
		left: 0 !important;
		right: auto !important;
		max-width: calc(100vw - 32px);
	}

	.route-home .topia-launcher-hero {
		padding-top: 96px !important;
	}

	.route-home .topia-hero-actions {
		display: grid !important;
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		width: min(318px, 86vw) !important;
		gap: 10px !important;
		margin-top: 18px !important;
	}

	.route-home .topia-play-button {
		width: 100% !important;
		min-height: 46px !important;
		padding: 0 0.68rem !important;
		border-radius: 9px !important;
		font-size: clamp(0.94rem, 4vw, 1.06rem) !important;
		box-shadow:
			0 0 0 1px rgba(223, 249, 255, 0.25) inset,
			0 0 16px rgba(52, 202, 255, 0.42),
			0 10px 18px rgba(0, 0, 0, 0.28) !important;
	}

	.route-home .topia-play-button i {
		font-size: 1.05rem !important;
	}
}

@media (max-width: 390px) {
	.route-home .topia-nav {
		left: 10px !important;
		right: 10px !important;
		grid-template-columns: 36px minmax(84px, 0.95fr) minmax(104px, 1.25fr) 36px !important;
		max-width: calc(100vw - 20px) !important;
	}

	.route-home .topia-version-pill,
	.route-home .topia-ip-pill {
		padding: 0 0.34rem !important;
		font-size: clamp(0.48rem, 2.55vw, 0.62rem) !important;
	}
}

/* Final light-mode safety net. */
body[data-bs-theme=light].theme-aetherwood {
	background: #edf8ff;
	color: #0b2238;
}

body[data-bs-theme=light] .aetherwood-bg,
body[data-bs-theme=light] .page-wrapper,
body[data-bs-theme=light] .aetherwood-page-wrapper {
	background: #edf8ff !important;
	color: #0b2238 !important;
}

body[data-bs-theme=light] .card,
body[data-bs-theme=light] .breadcrumb,
body[data-bs-theme=light] .topia-support-panel,
body[data-bs-theme=light] .topia-support-side,
body[data-bs-theme=light] .topia-support-ticket,
body[data-bs-theme=light] .topia-support-empty,
body[data-bs-theme=light] .topia-home-online-card,
body[data-bs-theme=light] .topia-home-widget-card,
body[data-bs-theme=light] .topia-market-empty,
body[data-bs-theme=light] .topia-market-goal,
body[data-bs-theme=light] .topia-home-widget-row,
body[data-bs-theme=light] .topia-support-message,
body[data-bs-theme=light] .topia-support-reply,
body[data-bs-theme=light] .topia-market-card,
body[data-bs-theme=light] .topia-server-card {
	border-color: rgba(7, 113, 182, 0.18) !important;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(231, 246, 255, 0.94)) !important;
	color: #0b2238 !important;
	box-shadow: 0 18px 44px rgba(0, 60, 105, 0.12) !important;
}

body[data-bs-theme=light] .topia-home-widgets-section,
body[data-bs-theme=light] .topia-market-select,
body[data-bs-theme=light] .topia-market-category-page,
body[data-bs-theme=light] .topia-support-page {
	background: linear-gradient(180deg, rgba(235, 248, 255, 0.98), rgba(222, 243, 252, 0.98)) !important;
	color: #0b2238 !important;
}

body[data-bs-theme=light] h1,
body[data-bs-theme=light] h2,
body[data-bs-theme=light] h3,
body[data-bs-theme=light] h4,
body[data-bs-theme=light] .page-title,
body[data-bs-theme=light] .topia-home-widgets-head h2,
body[data-bs-theme=light] .topia-home-online-card strong,
body[data-bs-theme=light] .topia-home-widget-title strong,
body[data-bs-theme=light] .topia-support-heading h1,
body[data-bs-theme=light] .topia-support-panel-head h2,
body[data-bs-theme=light] .topia-support-side h2,
body[data-bs-theme=light] .topia-market-title h2,
body[data-bs-theme=light] .topia-market-copy h1,
body[data-bs-theme=light] .topia-home-widget-row strong,
body[data-bs-theme=light] .topia-home-widget-row small,
body[data-bs-theme=light] .topia-support-message-head a,
body[data-bs-theme=light] .topia-support-message-content,
body[data-bs-theme=light] .topia-support-detail-row strong {
	color: #071c30 !important;
	text-shadow: none !important;
}

body[data-bs-theme=light] p,
body[data-bs-theme=light] .text-muted,
body[data-bs-theme=light] .topia-home-widgets-head p,
body[data-bs-theme=light] .topia-home-online-card p,
body[data-bs-theme=light] .topia-support-panel-head p,
body[data-bs-theme=light] .topia-support-side ul,
body[data-bs-theme=light] .topia-market-copy p,
body[data-bs-theme=light] .topia-support-detail-row span {
	color: rgba(11, 34, 56, 0.76) !important;
}

body[data-bs-theme=light] .form-control,
body[data-bs-theme=light] .form-select,
body[data-bs-theme=light] .topia-support-page .ck.ck-editor__editable {
	border-color: rgba(7, 113, 182, 0.2) !important;
	background: #f8fdff !important;
	color: #0b2238 !important;
}

body[data-bs-theme=light] .form-control::placeholder,
body[data-bs-theme=light] .topia-support-page .ck.ck-placeholder::before,
body[data-bs-theme=light] .topia-support-page .ck .ck-placeholder::before {
	color: rgba(11, 34, 56, 0.48) !important;
}

body[data-bs-theme=light] .topia-support-page .ck.ck-toolbar {
	border-color: rgba(7, 113, 182, 0.18) !important;
	background: linear-gradient(180deg, #ffffff, #e5f6ff) !important;
	color: #0b2238 !important;
}

body[data-bs-theme=light] .topia-support-page .ck.ck-button,
body[data-bs-theme=light] .topia-support-page .ck.ck-button .ck-icon,
body[data-bs-theme=light] .topia-support-page .ck.ck-dropdown__button,
body[data-bs-theme=light] .topia-support-page .ck.ck-dropdown__button .ck-icon {
	color: #0b2238 !important;
}

body[data-bs-theme=light] .aetherwood-footer.topia-footer-simple {
	background: linear-gradient(180deg, rgba(235, 248, 255, 0.98), rgba(214, 239, 250, 1)) !important;
	border-color: rgba(7, 113, 182, 0.16) !important;
	color: #0b2238 !important;
}

body[data-bs-theme=light] .aetherwood-footer h3,
body[data-bs-theme=light] .aetherwood-footer h4,
body[data-bs-theme=light] .aetherwood-footer .topia-footer-copyright strong,
body[data-bs-theme=light] .aetherwood-footer .topia-footer-powered #powered_by_leaderos a {
	color: #071c30 !important;
}

body[data-bs-theme=light] .aetherwood-footer .topia-footer-about,
body[data-bs-theme=light] .aetherwood-footer .topia-footer-note,
body[data-bs-theme=light] .aetherwood-footer .topia-footer-column a,
body[data-bs-theme=light] .aetherwood-footer .topia-footer-bottomline,
body[data-bs-theme=light] .aetherwood-footer .topia-footer-powered {
	color: rgba(11, 34, 56, 0.78) !important;
}

body[data-bs-theme=light] .aetherwood-footer .topia-footer-note,
body[data-bs-theme=light] .aetherwood-footer .topia-footer-actions .btn,
body[data-bs-theme=light] .aetherwood-footer .topia-footer-actions .btn-group > .btn {
	border-color: rgba(7, 113, 182, 0.18) !important;
	background: rgba(255, 255, 255, 0.78) !important;
	color: #0b2238 !important;
}

body[data-bs-theme=light] .aetherwood-footer .topia-footer-actions .dropdown-menu,
body[data-bs-theme=light] .topia-account-menu {
	border-color: rgba(7, 113, 182, 0.18) !important;
	background: #f8fdff !important;
	color: #0b2238 !important;
}

body[data-bs-theme=light] .aetherwood-footer .topia-footer-actions .dropdown-item,
body[data-bs-theme=light] .topia-account-menu .dropdown-item {
	color: #0b2238 !important;
}

body[data-bs-theme=light] .aetherwood-footer .topia-footer-actions .dropdown-item:hover,
body[data-bs-theme=light] .aetherwood-footer .topia-footer-actions .dropdown-item.active,
body[data-bs-theme=light] .topia-account-menu .dropdown-item:hover {
	background: rgba(7, 113, 182, 0.1) !important;
	color: #0871b6 !important;
}

/* True final mobile polish: overrides older fixed dropdown and desktop button widths. */
@media (max-width: 767.98px) {
	.route-home .topia-account-dropdown .topia-account-menu {
		position: fixed !important;
		top: 88px !important;
		left: 16px !important;
		right: auto !important;
		inset: 88px auto auto 16px !important;
		width: min(288px, calc(100vw - 32px)) !important;
		max-width: min(288px, calc(100vw - 32px)) !important;
		padding: 0.62rem !important;
		border-radius: 14px !important;
		background:
			linear-gradient(180deg, rgba(4, 18, 31, 0.96), rgba(2, 10, 20, 0.97)),
			radial-gradient(circle at 80% 80%, rgba(42, 185, 255, 0.13), transparent 38%) !important;
		box-shadow:
			0 0 0 1px rgba(132, 221, 255, 0.08) inset,
			0 0 18px rgba(41, 190, 255, 0.16),
			0 20px 44px rgba(0, 0, 0, 0.46) !important;
	}

	.route-home .topia-account-menu .dropdown-item {
		min-height: 42px !important;
		padding: 0.58rem 0.72rem !important;
		border-radius: 9px !important;
		font-size: 0.9rem !important;
	}

	.route-home .topia-account-menu .dropdown-item i {
		font-size: 1.05rem !important;
	}

	.route-home .topia-nav-toggle .navbar-toggler-icon {
		position: relative !important;
		display: block !important;
		width: 18px !important;
		height: 15px !important;
		border: 0 !important;
		border-radius: 0 !important;
		background: none !important;
		background:
			linear-gradient(#25caff, #25caff) 0 0 / 18px 3px no-repeat,
			linear-gradient(#25caff, #25caff) 0 6px / 18px 3px no-repeat,
			linear-gradient(#25caff, #25caff) 0 12px / 18px 3px no-repeat !important;
		box-shadow: none !important;
		filter: none !important;
	}

	.route-home .topia-nav-toggle .navbar-toggler-icon::before,
	.route-home .topia-nav-toggle .navbar-toggler-icon::after {
		content: none !important;
		display: none !important;
	}

	.route-home .topia-hero-actions {
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;
		width: auto !important;
		max-width: calc(100vw - 44px) !important;
		gap: 10px !important;
		margin-top: 18px !important;
	}

	.route-home .topia-play-button {
		flex: 0 0 clamp(118px, 34vw, 142px) !important;
		width: clamp(118px, 34vw, 142px) !important;
		min-width: 0 !important;
		max-width: 142px !important;
		min-height: 42px !important;
		padding: 0 0.55rem !important;
		border-radius: 7px !important;
		gap: 0.5rem !important;
		font-size: clamp(0.95rem, 3.8vw, 1.1rem) !important;
		letter-spacing: -0.01em !important;
		box-shadow:
			0 0 0 1px rgba(223, 249, 255, 0.22) inset,
			0 0 13px rgba(52, 202, 255, 0.36),
			0 8px 16px rgba(0, 0, 0, 0.3) !important;
	}

	.route-home .topia-play-button i {
		font-size: 1rem !important;
	}
}

@media (max-width: 390px) {
	.route-home .topia-account-dropdown .topia-account-menu {
		top: 84px !important;
		left: 10px !important;
		inset: 84px auto auto 10px !important;
		width: min(278px, calc(100vw - 20px)) !important;
		max-width: min(278px, calc(100vw - 20px)) !important;
	}

	.route-home .topia-play-button {
		flex-basis: clamp(112px, 33vw, 132px) !important;
		width: clamp(112px, 33vw, 132px) !important;
	}
}

/* Absolute final pass: mobile launcher sizing and light-mode readability. */
@media (max-width: 767.98px) {
	.route-home .topia-nav {
		grid-template-columns: 42px minmax(112px, 1fr) minmax(146px, 1.28fr) 42px !important;
		min-height: 46px !important;
		padding: 4px !important;
	}

	.route-home .topia-account-dropdown,
	.route-home .topia-nav-actions > .topia-account-pill,
	.route-home .topia-account-pill,
	.route-home .topia-nav-toggle {
		width: 38px !important;
		min-width: 38px !important;
		height: 38px !important;
		min-height: 38px !important;
	}

	.route-home .topia-account-pill .avatar {
		width: 29px !important;
		height: 29px !important;
		border-radius: 7px !important;
	}

	.route-home .topia-version-pill,
	.route-home .topia-ip-pill {
		min-height: 38px !important;
		height: 38px !important;
		padding: 0 0.52rem !important;
		font-size: clamp(0.7rem, 2.85vw, 0.86rem) !important;
		line-height: 1 !important;
		letter-spacing: -0.025em !important;
	}

	.route-home .topia-version-pill i,
	.route-home .topia-ip-pill i {
		margin-right: 0.34rem !important;
		font-size: 0.96rem !important;
	}

	.route-home .topia-version-pill span,
	.route-home .topia-ip-pill span {
		font-size: 1em !important;
		line-height: 1 !important;
	}

	.route-home .topia-nav-toggle {
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;
		border-radius: 9px !important;
		background: linear-gradient(180deg, rgba(7, 38, 58, 0.96), rgba(2, 17, 30, 0.98)) !important;
		box-shadow:
			0 0 0 1px rgba(219, 249, 255, 0.1) inset,
			0 0 12px rgba(35, 193, 255, 0.32) !important;
		transition: background-color 0.18s ease, border-color 0.18s ease !important;
	}

	.route-home .topia-nav-toggle .navbar-toggler-icon {
		position: relative !important;
		display: block !important;
		width: 20px !important;
		height: 16px !important;
		border: 0 !important;
		border-radius: 0 !important;
		background:
			linear-gradient(#26cfff, #26cfff) 0 0 / 20px 2px no-repeat,
			linear-gradient(#26cfff, #26cfff) 0 7px / 20px 2px no-repeat,
			linear-gradient(#26cfff, #26cfff) 0 14px / 20px 2px no-repeat !important;
		box-shadow: none !important;
		filter: none !important;
		transform: none !important;
		animation: none !important;
		transition: none !important;
	}

	.route-home .topia-nav-toggle .navbar-toggler-icon::before,
	.route-home .topia-nav-toggle .navbar-toggler-icon::after {
		content: none !important;
		display: none !important;
	}

	.route-home .topia-nav-toggle:hover .navbar-toggler-icon,
	.route-home .topia-nav-toggle:focus .navbar-toggler-icon,
	.route-home .topia-nav-toggle[aria-expanded="true"] .navbar-toggler-icon {
		transform: none !important;
		animation: none !important;
	}

	.route-home .topia-hero-mascot {
		width: min(196px, 50vw) !important;
		max-width: 50vw !important;
	}

	.route-home .topia-logo-wordmark {
		width: min(388px, 94vw) !important;
		max-width: 94vw !important;
	}

	.route-home .topia-hero-actions {
		gap: 10px !important;
		margin-top: 18px !important;
		max-width: calc(100vw - 36px) !important;
	}

	.route-home .topia-play-button {
		flex-basis: clamp(132px, 36vw, 154px) !important;
		width: clamp(132px, 36vw, 154px) !important;
		max-width: 154px !important;
		min-height: 46px !important;
		font-size: clamp(1.05rem, 4.25vw, 1.18rem) !important;
	}

	.route-home .topia-play-button i {
		font-size: 1.08rem !important;
	}
}

@media (max-width: 390px) {
	.route-home .topia-nav {
		grid-template-columns: 38px minmax(96px, 1fr) minmax(118px, 1.22fr) 38px !important;
		left: 10px !important;
		right: 10px !important;
		max-width: calc(100vw - 20px) !important;
	}

	.route-home .topia-account-dropdown,
	.route-home .topia-nav-actions > .topia-account-pill,
	.route-home .topia-account-pill,
	.route-home .topia-nav-toggle {
		width: 36px !important;
		min-width: 36px !important;
		height: 36px !important;
		min-height: 36px !important;
	}

	.route-home .topia-version-pill,
	.route-home .topia-ip-pill {
		padding: 0 0.42rem !important;
		font-size: clamp(0.62rem, 2.95vw, 0.74rem) !important;
	}

	.route-home .topia-version-pill i,
	.route-home .topia-ip-pill i {
		margin-right: 0.24rem !important;
		font-size: 0.82rem !important;
	}

	.route-home .topia-hero-mascot {
		width: min(180px, 49vw) !important;
	}

	.route-home .topia-logo-wordmark {
		width: min(350px, 93vw) !important;
	}

	.route-home .topia-play-button {
		flex-basis: clamp(124px, 35vw, 142px) !important;
		width: clamp(124px, 35vw, 142px) !important;
		max-width: 142px !important;
		min-height: 44px !important;
		font-size: clamp(0.98rem, 4vw, 1.08rem) !important;
	}
}

body[data-bs-theme=light].theme-aetherwood {
	--tblr-body-color: #0b2238;
	--tblr-heading-color: #071c30;
	--tblr-muted: rgba(11, 34, 56, 0.66);
	background: #edf8ff !important;
	color: #0b2238 !important;
}

body[data-bs-theme=light].theme-aetherwood .page,
body[data-bs-theme=light].theme-aetherwood .page-wrapper,
body[data-bs-theme=light].theme-aetherwood .page-body,
body[data-bs-theme=light].theme-aetherwood .aetherwood-page-wrapper,
body[data-bs-theme=light].theme-aetherwood .aetherwood-bg {
	background: linear-gradient(180deg, #edf8ff, #dff4ff) !important;
	color: #0b2238 !important;
}

body[data-bs-theme=light].theme-aetherwood .card,
body[data-bs-theme=light].theme-aetherwood .list-group-item,
body[data-bs-theme=light].theme-aetherwood .modal-content,
body[data-bs-theme=light].theme-aetherwood .dropdown-menu,
body[data-bs-theme=light].theme-aetherwood .breadcrumb,
body[data-bs-theme=light].theme-aetherwood .topia-support-panel,
body[data-bs-theme=light].theme-aetherwood .topia-support-side,
body[data-bs-theme=light].theme-aetherwood .topia-support-ticket,
body[data-bs-theme=light].theme-aetherwood .topia-support-empty,
body[data-bs-theme=light].theme-aetherwood .topia-support-message,
body[data-bs-theme=light].theme-aetherwood .topia-support-reply,
body[data-bs-theme=light].theme-aetherwood .topia-home-online-card,
body[data-bs-theme=light].theme-aetherwood .topia-home-widget-card,
body[data-bs-theme=light].theme-aetherwood .topia-home-widget-row,
body[data-bs-theme=light].theme-aetherwood .topia-market-card,
body[data-bs-theme=light].theme-aetherwood .topia-market-empty,
body[data-bs-theme=light].theme-aetherwood .topia-market-goal,
body[data-bs-theme=light].theme-aetherwood .topia-server-card {
	border-color: rgba(7, 113, 182, 0.18) !important;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(230, 246, 255, 0.94)) !important;
	color: #0b2238 !important;
	box-shadow: 0 18px 44px rgba(0, 60, 105, 0.12) !important;
}

body[data-bs-theme=light].theme-aetherwood h1,
body[data-bs-theme=light].theme-aetherwood h2,
body[data-bs-theme=light].theme-aetherwood h3,
body[data-bs-theme=light].theme-aetherwood h4,
body[data-bs-theme=light].theme-aetherwood h5,
body[data-bs-theme=light].theme-aetherwood h6,
body[data-bs-theme=light].theme-aetherwood .card-title,
body[data-bs-theme=light].theme-aetherwood .card-header,
body[data-bs-theme=light].theme-aetherwood .page-title,
body[data-bs-theme=light].theme-aetherwood .form-label,
body[data-bs-theme=light].theme-aetherwood .col-form-label,
body[data-bs-theme=light].theme-aetherwood .table thead th,
body[data-bs-theme=light].theme-aetherwood strong,
body[data-bs-theme=light].theme-aetherwood .fw-bold,
body[data-bs-theme=light].theme-aetherwood .fw-medium {
	color: #071c30 !important;
	text-shadow: none !important;
}

body[data-bs-theme=light].theme-aetherwood p,
body[data-bs-theme=light].theme-aetherwood .text-muted,
body[data-bs-theme=light].theme-aetherwood .text-secondary,
body[data-bs-theme=light].theme-aetherwood .breadcrumb-item,
body[data-bs-theme=light].theme-aetherwood .breadcrumb-item a,
body[data-bs-theme=light].theme-aetherwood .breadcrumb-item.active,
body[data-bs-theme=light].theme-aetherwood .card-subtitle,
body[data-bs-theme=light].theme-aetherwood small {
	color: rgba(11, 34, 56, 0.72) !important;
}

body[data-bs-theme=light].theme-aetherwood .table {
	--tblr-table-color: #0b2238;
	--tblr-table-bg: rgba(255, 255, 255, 0.82);
	--tblr-table-border-color: rgba(7, 113, 182, 0.16);
	color: #0b2238 !important;
}

body[data-bs-theme=light].theme-aetherwood .form-control,
body[data-bs-theme=light].theme-aetherwood .form-select,
body[data-bs-theme=light].theme-aetherwood .input-group-text,
body[data-bs-theme=light].theme-aetherwood textarea,
body[data-bs-theme=light].theme-aetherwood select {
	border-color: rgba(7, 113, 182, 0.2) !important;
	background: #f8fdff !important;
	color: #0b2238 !important;
}

body[data-bs-theme=light].theme-aetherwood .form-control::placeholder,
body[data-bs-theme=light].theme-aetherwood textarea::placeholder {
	color: rgba(11, 34, 56, 0.48) !important;
}

body[data-bs-theme=light].theme-aetherwood .dropdown-item {
	color: #0b2238 !important;
}

body[data-bs-theme=light].theme-aetherwood .dropdown-item:hover,
body[data-bs-theme=light].theme-aetherwood .dropdown-item:focus,
body[data-bs-theme=light].theme-aetherwood .dropdown-item.active {
	background: rgba(7, 113, 182, 0.1) !important;
	color: #0871b6 !important;
}

body[data-bs-theme=light].theme-aetherwood .btn-light,
body[data-bs-theme=light].theme-aetherwood .btn-ghost-light {
	border-color: rgba(7, 113, 182, 0.18) !important;
	background: linear-gradient(180deg, #ffffff, #e5f6ff) !important;
	color: #0871b6 !important;
}

body[data-bs-theme=light].theme-aetherwood .aetherwood-footer.topia-footer-simple {
	background: linear-gradient(180deg, rgba(236, 249, 255, 0.98), rgba(216, 241, 252, 1)) !important;
	border-color: rgba(7, 113, 182, 0.16) !important;
	color: #0b2238 !important;
}

body[data-bs-theme=light].theme-aetherwood .aetherwood-footer h3,
body[data-bs-theme=light].theme-aetherwood .aetherwood-footer h4,
body[data-bs-theme=light].theme-aetherwood .aetherwood-footer a,
body[data-bs-theme=light].theme-aetherwood .aetherwood-footer strong {
	color: #071c30 !important;
}

body[data-bs-theme=light].theme-aetherwood .aetherwood-footer .topia-footer-about,
body[data-bs-theme=light].theme-aetherwood .aetherwood-footer .topia-footer-note,
body[data-bs-theme=light].theme-aetherwood .aetherwood-footer .topia-footer-bottomline,
body[data-bs-theme=light].theme-aetherwood .aetherwood-footer .topia-footer-powered {
	color: rgba(11, 34, 56, 0.78) !important;
}

body[data-bs-theme=light].theme-aetherwood .aetherwood-footer .topia-footer-note,
body[data-bs-theme=light].theme-aetherwood .aetherwood-footer .topia-footer-actions .btn,
body[data-bs-theme=light].theme-aetherwood .aetherwood-footer .topia-footer-actions .btn-group > .btn {
	border-color: rgba(7, 113, 182, 0.18) !important;
	background: rgba(255, 255, 255, 0.82) !important;
	color: #0b2238 !important;
}

body[data-bs-theme=light].theme-aetherwood a:not(.btn):not(.dropdown-item) {
	color: #0871b6 !important;
}

body[data-bs-theme=light].theme-aetherwood .sidebar-profile-card,
body[data-bs-theme=light].theme-aetherwood .profile-card,
body[data-bs-theme=light].theme-aetherwood .profile-sidebar,
body[data-bs-theme=light].theme-aetherwood .accordion-item,
body[data-bs-theme=light].theme-aetherwood .accordion-button,
body[data-bs-theme=light].theme-aetherwood .alert,
body[data-bs-theme=light].theme-aetherwood .toast {
	border-color: rgba(7, 113, 182, 0.18) !important;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(231, 247, 255, 0.94)) !important;
	color: #0b2238 !important;
}

body[data-bs-theme=light].theme-aetherwood .nav-link,
body[data-bs-theme=light].theme-aetherwood .sidebar-link,
body[data-bs-theme=light].theme-aetherwood .list-group-item-action,
body[data-bs-theme=light].theme-aetherwood .accordion-body {
	color: #0b2238 !important;
}

body[data-bs-theme=light].theme-aetherwood .nav-link:hover,
body[data-bs-theme=light].theme-aetherwood .nav-link:focus,
body[data-bs-theme=light].theme-aetherwood .sidebar-link:hover,
body[data-bs-theme=light].theme-aetherwood .sidebar-link.active,
body[data-bs-theme=light].theme-aetherwood .list-group-item-action:hover,
body[data-bs-theme=light].theme-aetherwood .list-group-item-action.active {
	background: rgba(7, 113, 182, 0.1) !important;
	color: #0871b6 !important;
}

body[data-bs-theme=light].theme-aetherwood .badge.bg-dark,
body[data-bs-theme=light].theme-aetherwood .badge.text-bg-dark {
	background: #dff4ff !important;
	color: #0871b6 !important;
}

body[data-bs-theme=light].theme-aetherwood .topia-support-page .ck.ck-editor__main > .ck-editor__editable,
body[data-bs-theme=light].theme-aetherwood .topia-support-page .ck.ck-toolbar,
body[data-bs-theme=light].theme-aetherwood .topia-support-page .ck.ck-dropdown__panel,
body[data-bs-theme=light].theme-aetherwood .topia-support-page .ck.ck-list {
	border-color: rgba(7, 113, 182, 0.18) !important;
	background: #f8fdff !important;
	color: #0b2238 !important;
}

body[data-bs-theme=light].theme-aetherwood .topia-support-page .ck.ck-button,
body[data-bs-theme=light].theme-aetherwood .topia-support-page .ck.ck-button .ck-icon,
body[data-bs-theme=light].theme-aetherwood .topia-support-page .ck.ck-dropdown__button,
body[data-bs-theme=light].theme-aetherwood .topia-support-page .ck.ck-dropdown__button .ck-icon {
	color: #0b2238 !important;
}

/* Final mobile header unification and lighter light-theme surfaces. */
@media (max-width: 767.98px) {
	.theme-aetherwood .topia-page-header {
		min-height: 96px !important;
		overflow: visible !important;
	}

	.theme-aetherwood .topia-page-header .topia-nav,
	.route-home .topia-nav {
		top: 40px !important;
		left: 8px !important;
		right: 8px !important;
		display: grid !important;
		grid-template-columns: 42px minmax(118px, 1fr) minmax(146px, 1.24fr) 42px !important;
		align-items: center !important;
		gap: 0 !important;
		width: auto !important;
		max-width: calc(100vw - 16px) !important;
		min-height: 48px !important;
		padding: 4px !important;
		border: 1px solid rgba(72, 205, 255, 0.52) !important;
		border-radius: 11px !important;
		background:
			linear-gradient(180deg, rgba(5, 29, 45, 0.88), rgba(2, 16, 30, 0.9)),
			radial-gradient(circle at 0% 0%, rgba(64, 207, 255, 0.2), transparent 44%) !important;
		box-shadow:
			0 0 0 1px rgba(220, 250, 255, 0.12) inset,
			0 0 15px rgba(39, 193, 255, 0.34),
			0 12px 24px rgba(0, 0, 0, 0.28) !important;
		backdrop-filter: blur(10px);
	}

	.theme-aetherwood .topia-nav-actions {
		display: contents !important;
	}

	.theme-aetherwood .topia-account-dropdown,
	.theme-aetherwood .topia-nav-actions > .topia-account-pill,
	.theme-aetherwood .topia-account-pill,
	.theme-aetherwood .topia-nav-toggle {
		width: 38px !important;
		min-width: 38px !important;
		height: 38px !important;
		min-height: 38px !important;
	}

	.theme-aetherwood .topia-account-dropdown,
	.theme-aetherwood .topia-nav-actions > .topia-account-pill {
		order: 1 !important;
	}

	.theme-aetherwood .topia-account-pill {
		padding: 2px !important;
		border-radius: 9px !important;
	}

	.theme-aetherwood .topia-account-pill .avatar {
		width: 29px !important;
		height: 29px !important;
		border-radius: 7px !important;
	}

	.theme-aetherwood .topia-version-pill,
	.theme-aetherwood .topia-ip-pill {
		overflow: hidden !important;
		min-width: 0 !important;
		width: 100% !important;
		min-height: 38px !important;
		height: 38px !important;
		padding: 0 0.52rem !important;
		border: 0 !important;
		border-radius: 0 !important;
		background: transparent !important;
		box-shadow: none !important;
		color: rgba(235, 249, 255, 0.98) !important;
		font-size: clamp(0.78rem, 3.1vw, 0.92rem) !important;
		font-weight: 950 !important;
		line-height: 1 !important;
		letter-spacing: -0.025em !important;
		text-shadow: 0 1px 2px rgba(0, 0, 0, 0.42) !important;
		white-space: nowrap !important;
		text-transform: uppercase !important;
	}

	.theme-aetherwood .topia-version-pill {
		order: 2 !important;
		border-left: 1px solid rgba(118, 220, 255, 0.28) !important;
	}

	.theme-aetherwood .topia-ip-pill {
		order: 3 !important;
		border-left: 1px solid rgba(118, 220, 255, 0.34) !important;
	}

	.theme-aetherwood .topia-version-pill i,
	.theme-aetherwood .topia-ip-pill i {
		flex: 0 0 auto !important;
		margin-right: 0.34rem !important;
		color: #23caff !important;
		font-size: 1rem !important;
		text-shadow: 0 0 8px rgba(35, 202, 255, 0.55) !important;
	}

	.theme-aetherwood .topia-version-pill span,
	.theme-aetherwood .topia-ip-pill span {
		display: block !important;
		overflow: hidden !important;
		text-overflow: ellipsis !important;
		white-space: nowrap !important;
		font-size: 1em !important;
		line-height: 1 !important;
	}

	.theme-aetherwood .topia-nav-toggle {
		order: 4 !important;
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;
		padding: 0 !important;
		border: 1px solid rgba(87, 214, 255, 0.68) !important;
		border-radius: 9px !important;
		background: linear-gradient(180deg, rgba(8, 44, 66, 0.96), rgba(2, 18, 31, 0.98)) !important;
		box-shadow: 0 0 12px rgba(38, 195, 255, 0.34) !important;
	}

	.theme-aetherwood .topia-nav-toggle .navbar-toggler-icon {
		position: relative !important;
		display: block !important;
		width: 20px !important;
		height: 16px !important;
		border: 0 !important;
		border-radius: 0 !important;
		background:
			linear-gradient(#28ceff, #28ceff) 0 0 / 20px 2px no-repeat,
			linear-gradient(#28ceff, #28ceff) 0 7px / 20px 2px no-repeat,
			linear-gradient(#28ceff, #28ceff) 0 14px / 20px 2px no-repeat !important;
		box-shadow: none !important;
		filter: none !important;
		transform: none !important;
		animation: none !important;
	}

	.theme-aetherwood .topia-nav-toggle .navbar-toggler-icon::before,
	.theme-aetherwood .topia-nav-toggle .navbar-toggler-icon::after {
		content: none !important;
		display: none !important;
	}

	.theme-aetherwood .topia-nav-menu {
		order: 5 !important;
		grid-column: 1 / -1 !important;
	}

	.theme-aetherwood .topia-nav-list {
		margin-top: 0.55rem !important;
		border-radius: 12px !important;
		background: rgba(3, 18, 31, 0.94) !important;
	}

	.route-home .topia-play-button {
		flex-basis: clamp(142px, 38vw, 166px) !important;
		width: clamp(142px, 38vw, 166px) !important;
		max-width: 166px !important;
		min-height: 48px !important;
		font-size: clamp(1.12rem, 4.5vw, 1.25rem) !important;
		color: #ffffff !important;
		text-shadow: 0 2px 0 rgba(0, 74, 130, 0.42) !important;
	}

	.route-home .topia-play-button i {
		font-size: 1.16rem !important;
		color: #ffffff !important;
	}
}

@media (max-width: 390px) {
	.theme-aetherwood .topia-page-header .topia-nav,
	.route-home .topia-nav {
		left: 7px !important;
		right: 7px !important;
		grid-template-columns: 38px minmax(104px, 1fr) minmax(124px, 1.2fr) 38px !important;
		max-width: calc(100vw - 14px) !important;
	}

	.theme-aetherwood .topia-version-pill,
	.theme-aetherwood .topia-ip-pill {
		padding: 0 0.44rem !important;
		font-size: clamp(0.68rem, 3vw, 0.8rem) !important;
	}

	.theme-aetherwood .topia-version-pill i,
	.theme-aetherwood .topia-ip-pill i {
		margin-right: 0.25rem !important;
		font-size: 0.9rem !important;
	}

	.route-home .topia-play-button {
		flex-basis: clamp(132px, 37vw, 150px) !important;
		width: clamp(132px, 37vw, 150px) !important;
		max-width: 150px !important;
		min-height: 46px !important;
		font-size: clamp(1.04rem, 4.3vw, 1.16rem) !important;
	}
}

body[data-bs-theme=light].theme-aetherwood .topia-page-header {
	background:
		linear-gradient(180deg, rgba(238, 250, 255, 0.98), rgba(214, 240, 252, 0.94)),
		radial-gradient(circle at 18% 0%, rgba(65, 198, 255, 0.2), transparent 34%) !important;
	box-shadow: 0 16px 36px rgba(0, 83, 145, 0.11) !important;
}

body[data-bs-theme=light].theme-aetherwood .topia-header:not(.topia-home-header) {
	background: linear-gradient(180deg, rgba(238, 250, 255, 0.96), rgba(222, 244, 255, 0.92)) !important;
}

body[data-bs-theme=light].theme-aetherwood .topia-home-header::after,
body[data-bs-theme=light].theme-aetherwood .topia-home-bg::after {
	background:
		linear-gradient(180deg, rgba(238, 250, 255, 0.08), rgba(228, 246, 255, 0.12)),
		linear-gradient(90deg, rgba(235, 250, 255, 0.22), rgba(255, 255, 255, 0.04)) !important;
}

body[data-bs-theme=light].theme-aetherwood .topia-nav {
	background:
		linear-gradient(180deg, rgba(245, 253, 255, 0.92), rgba(218, 244, 255, 0.9)),
		radial-gradient(circle at 0% 0%, rgba(66, 204, 255, 0.2), transparent 40%) !important;
	border-color: rgba(70, 184, 235, 0.42) !important;
	box-shadow:
		0 0 0 1px rgba(255, 255, 255, 0.72) inset,
		0 0 15px rgba(43, 190, 255, 0.2),
		0 12px 24px rgba(0, 95, 160, 0.14) !important;
}

body[data-bs-theme=light].theme-aetherwood .topia-nav-list {
	background: rgba(246, 253, 255, 0.97) !important;
	border: 1px solid rgba(7, 113, 182, 0.15) !important;
}

body[data-bs-theme=light].theme-aetherwood .topia-nav-link {
	color: #0b2238 !important;
	text-shadow: none !important;
}

body[data-bs-theme=light].theme-aetherwood .topia-nav-link i {
	filter: none !important;
	color: #0871b6 !important;
}

body[data-bs-theme=light].theme-aetherwood .topia-version-pill,
body[data-bs-theme=light].theme-aetherwood .topia-ip-pill {
	color: #0871b6 !important;
	text-shadow: none !important;
	border-left-color: rgba(7, 113, 182, 0.18) !important;
}

body[data-bs-theme=light].theme-aetherwood .topia-version-pill i,
body[data-bs-theme=light].theme-aetherwood .topia-ip-pill i {
	color: #0871b6 !important;
	text-shadow: none !important;
}

body[data-bs-theme=light].theme-aetherwood .topia-account-pill,
body[data-bs-theme=light].theme-aetherwood .topia-nav-toggle {
	border-color: rgba(7, 113, 182, 0.28) !important;
	background: linear-gradient(180deg, #ffffff, #dff4ff) !important;
	color: #0871b6 !important;
	box-shadow: 0 0 12px rgba(43, 190, 255, 0.18) !important;
}

body[data-bs-theme=light].theme-aetherwood .topia-nav-toggle .navbar-toggler-icon {
	background:
		linear-gradient(#0871b6, #0871b6) 0 0 / 20px 2px no-repeat,
		linear-gradient(#0871b6, #0871b6) 0 7px / 20px 2px no-repeat,
		linear-gradient(#0871b6, #0871b6) 0 14px / 20px 2px no-repeat !important;
}

body[data-bs-theme=light].theme-aetherwood .topia-account-menu {
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(231, 247, 255, 0.98)) !important;
	border-color: rgba(7, 113, 182, 0.2) !important;
	box-shadow: 0 20px 44px rgba(0, 91, 155, 0.16) !important;
}

body[data-bs-theme=light].theme-aetherwood .topia-account-menu .dropdown-item,
body[data-bs-theme=light].theme-aetherwood .topia-account-menu .dropdown-item span,
body[data-bs-theme=light].theme-aetherwood .topia-account-menu .dropdown-item i {
	color: #0b2238 !important;
}

body[data-bs-theme=light].theme-aetherwood .topia-account-menu .dropdown-item:hover,
body[data-bs-theme=light].theme-aetherwood .topia-account-menu .dropdown-item:focus {
	background: rgba(7, 113, 182, 0.1) !important;
	color: #0871b6 !important;
}

body[data-bs-theme=light].theme-aetherwood .topia-account-menu .dropdown-item:hover i,
body[data-bs-theme=light].theme-aetherwood .topia-account-menu .dropdown-item:focus i {
	color: #0871b6 !important;
}

body[data-bs-theme=light].theme-aetherwood a.topia-play-button,
body[data-bs-theme=light].theme-aetherwood a.topia-play-button span,
body[data-bs-theme=light].theme-aetherwood a.topia-play-button i,
body[data-bs-theme=light].theme-aetherwood a.topia-discord-button,
body[data-bs-theme=light].theme-aetherwood a.topia-discord-button span,
body[data-bs-theme=light].theme-aetherwood a.topia-discord-button i {
	color: #ffffff !important;
	text-shadow: 0 2px 0 rgba(0, 72, 132, 0.42) !important;
}

body[data-bs-theme=light].theme-aetherwood a.topia-play-button {
	background: linear-gradient(180deg, rgba(61, 211, 255, 0.96), rgba(7, 142, 214, 0.96)) !important;
	border-color: rgba(229, 250, 255, 0.86) !important;
	box-shadow:
		0 0 0 1px rgba(255, 255, 255, 0.35) inset,
		0 0 18px rgba(33, 197, 255, 0.45),
		0 14px 28px rgba(0, 103, 172, 0.26) !important;
}

/* Final home module/widget bridge: renders panel-enabled content inside Aetherwood. */
.theme-aetherwood .topia-home-content-section {
	position: relative;
	z-index: 2;
	padding: clamp(2.1rem, 4.5vw, 4rem) 0;
	background:
		radial-gradient(circle at 15% 0%, rgba(47, 196, 255, 0.1), transparent 32%),
		linear-gradient(180deg, rgba(3, 16, 28, 0.92), rgba(2, 12, 21, 0.96));
}

.theme-aetherwood .topia-home-content-section + .topia-home-content-section,
.theme-aetherwood .topia-home-content-section + .topia-home-widgets-section {
	padding-top: clamp(1.2rem, 3vw, 2.2rem);
}

.theme-aetherwood .topia-home-slider-section {
	padding-top: clamp(1.4rem, 3vw, 2.4rem);
}

.theme-aetherwood .topia-home-slider {
	overflow: hidden;
	border: 1px solid rgba(116, 218, 255, 0.24);
	border-radius: 22px;
	background: rgba(3, 18, 31, 0.76);
	box-shadow:
		0 0 0 1px rgba(255, 255, 255, 0.04) inset,
		0 24px 50px rgba(0, 0, 0, 0.28),
		0 0 30px rgba(34, 190, 255, 0.12);
}

.theme-aetherwood .topia-home-slider img {
	width: 100%;
	max-height: 420px;
	object-fit: cover;
}

.theme-aetherwood .topia-home-slider .carousel-control-prev,
.theme-aetherwood .topia-home-slider .carousel-control-next {
	width: 54px;
	opacity: 0.9;
}

.theme-aetherwood .topia-home-section-head {
	display: flex;
	flex-direction: column;
	gap: 0.45rem;
	max-width: 760px;
	margin-bottom: 1.25rem;
}

.theme-aetherwood .topia-home-section-head span {
	color: #78e2ff;
	font-size: 0.78rem;
	font-weight: 950;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-shadow: 0 0 14px rgba(39, 203, 255, 0.25);
}

.theme-aetherwood .topia-home-section-head h2 {
	margin: 0;
	color: #ffffff;
	font-size: clamp(1.7rem, 3vw, 2.55rem);
	font-weight: 950;
	letter-spacing: -0.055em;
	text-shadow: 0 3px 0 rgba(0, 105, 170, 0.24);
}

.theme-aetherwood .topia-home-section-head p {
	max-width: 650px;
	margin: 0;
	color: rgba(225, 243, 255, 0.74);
	font-weight: 750;
	line-height: 1.7;
}

.theme-aetherwood .topia-home-module-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0.95rem;
}

.theme-aetherwood .topia-home-module-card {
	position: relative;
	display: grid;
	grid-template-rows: auto 1fr auto;
	gap: 1rem;
	min-height: 230px;
	padding: 1.1rem;
	overflow: hidden;
	border: 1px solid rgba(116, 218, 255, 0.2);
	border-radius: 20px;
	background:
		linear-gradient(145deg, rgba(8, 32, 51, 0.94), rgba(2, 15, 27, 0.96)),
		radial-gradient(circle at 18% 10%, rgba(57, 205, 255, 0.2), transparent 38%);
	box-shadow:
		0 18px 42px rgba(0, 0, 0, 0.24),
		0 0 26px rgba(24, 183, 255, 0.1);
	color: #ffffff;
	text-decoration: none;
	transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.theme-aetherwood .topia-home-module-card::after {
	content: "";
	position: absolute;
	right: -36px;
	bottom: -46px;
	width: 132px;
	height: 132px;
	border-radius: 999px;
	background: radial-gradient(circle, rgba(45, 205, 255, 0.2), transparent 64%);
	pointer-events: none;
}

.theme-aetherwood .topia-home-module-card:hover,
.theme-aetherwood .topia-home-module-card:focus-visible {
	transform: translateY(-5px);
	border-color: rgba(134, 230, 255, 0.44);
	box-shadow:
		0 24px 54px rgba(0, 0, 0, 0.3),
		0 0 34px rgba(35, 204, 255, 0.2);
}

.theme-aetherwood .topia-home-module-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border: 1px solid rgba(220, 248, 255, 0.64);
	border-radius: 14px;
	background: linear-gradient(180deg, #f7fdff, #cfefff);
	box-shadow: 0 0 18px rgba(40, 202, 255, 0.24);
	color: #0871b6;
	font-size: 1.45rem;
}

.theme-aetherwood .topia-home-module-copy {
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
	min-width: 0;
}

.theme-aetherwood .topia-home-module-copy strong {
	color: #ffffff;
	font-size: clamp(1.05rem, 1.5vw, 1.26rem);
	font-weight: 950;
	letter-spacing: -0.025em;
}

.theme-aetherwood .topia-home-module-copy small {
	display: -webkit-box;
	overflow: hidden;
	color: rgba(225, 243, 255, 0.72);
	font-size: 0.86rem;
	font-weight: 750;
	line-height: 1.55;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
}

.theme-aetherwood .topia-home-module-action {
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.55rem;
	width: 100%;
	min-height: 42px;
	padding: 0.65rem 0.78rem;
	border-radius: 12px;
	background: linear-gradient(180deg, rgba(239, 251, 255, 0.98), rgba(203, 235, 249, 0.98));
	color: #0871b6;
	font-size: 0.84rem;
	font-weight: 950;
	text-transform: uppercase;
	box-shadow: 0 0 18px rgba(35, 202, 255, 0.18);
}

.theme-aetherwood .topia-home-news-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
}

.theme-aetherwood .topia-home-news-card,
.theme-aetherwood .topia-home-news-empty {
	overflow: hidden;
	border: 1px solid rgba(116, 218, 255, 0.2);
	border-radius: 20px;
	background: rgba(4, 21, 36, 0.9);
	box-shadow: 0 20px 44px rgba(0, 0, 0, 0.24);
}

.theme-aetherwood .topia-home-news-image {
	display: block;
	overflow: hidden;
	aspect-ratio: 16 / 9;
	background: rgba(255, 255, 255, 0.04);
}

.theme-aetherwood .topia-home-news-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.22s ease;
}

.theme-aetherwood .topia-home-news-card:hover .topia-home-news-image img {
	transform: scale(1.04);
}

.theme-aetherwood .topia-home-news-body {
	display: flex;
	flex-direction: column;
	gap: 0.72rem;
	padding: 1rem;
	min-width: 0;
}

.theme-aetherwood .topia-home-news-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem 0.75rem;
	color: rgba(225, 243, 255, 0.62);
	font-size: 0.8rem;
	font-weight: 850;
}

.theme-aetherwood .topia-home-news-meta a {
	color: #83e7ff;
	text-decoration: none;
}

.theme-aetherwood .topia-home-news-body h3 {
	margin: 0;
	font-size: clamp(1.08rem, 1.6vw, 1.34rem);
	font-weight: 950;
	line-height: 1.25;
	letter-spacing: -0.025em;
}

.theme-aetherwood .topia-home-news-body h3 a {
	color: #ffffff;
	text-decoration: none;
}

.theme-aetherwood .topia-home-news-body p {
	display: -webkit-box;
	min-height: 4.8em;
	margin: 0;
	overflow: hidden;
	color: rgba(225, 243, 255, 0.72);
	font-weight: 700;
	line-height: 1.6;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
}

.theme-aetherwood .topia-home-read-more {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	width: fit-content;
	margin-top: auto;
	color: #84e7ff;
	font-weight: 950;
	text-decoration: none;
}

.theme-aetherwood .topia-home-news-empty {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 0.55rem;
	min-height: 230px;
	padding: 1.4rem;
	text-align: center;
}

.theme-aetherwood .topia-home-news-empty i {
	color: #64ddff;
	font-size: 2.1rem;
}

.theme-aetherwood .topia-home-news-empty strong {
	color: #ffffff;
	font-size: 1.1rem;
	font-weight: 950;
}

.theme-aetherwood .topia-home-news-empty span {
	max-width: 520px;
	color: rgba(225, 243, 255, 0.68);
	font-weight: 750;
}

.theme-aetherwood .topia-home-pagination {
	display: flex;
	justify-content: center;
	margin-top: 1.5rem;
}

@media (max-width: 1199.98px) {
	.theme-aetherwood .topia-home-module-grid,
	.theme-aetherwood .topia-home-news-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767.98px) {
	.theme-aetherwood .topia-home-content-section {
		padding: 1.35rem 0;
	}

	.theme-aetherwood .topia-home-section-head {
		align-items: center;
		text-align: center;
	}

	.theme-aetherwood .topia-home-slider {
		border-radius: 16px;
	}

	.theme-aetherwood .topia-home-slider img {
		max-height: 230px;
	}

	.theme-aetherwood .topia-home-module-grid,
	.theme-aetherwood .topia-home-news-grid {
		grid-template-columns: 1fr;
	}

	.theme-aetherwood .topia-home-module-card {
		grid-template-columns: auto 1fr;
		grid-template-rows: auto auto;
		min-height: 0;
		gap: 0.75rem;
		padding: 0.85rem;
		border-radius: 16px;
	}

	.theme-aetherwood .topia-home-module-icon {
		width: 42px;
		height: 42px;
		border-radius: 12px;
		font-size: 1.25rem;
	}

	.theme-aetherwood .topia-home-module-action {
		grid-column: 1 / -1;
		min-height: 38px;
	}

	.theme-aetherwood .topia-home-news-body p {
		min-height: 0;
	}
}

/* Tebex failure state: avoid endless skeleton loading when the public key/API returns 404. */
.theme-aetherwood .topia-tebex-empty {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 0.7rem;
	width: 100%;
	min-height: 190px;
	padding: 1.25rem;
	border: 1px solid rgba(116, 218, 255, 0.22);
	border-radius: 18px;
	background:
		radial-gradient(circle at 50% 0%, rgba(44, 204, 255, 0.16), transparent 46%),
		linear-gradient(180deg, rgba(5, 24, 40, 0.94), rgba(2, 13, 24, 0.96));
	box-shadow: 0 20px 42px rgba(0, 0, 0, 0.24), 0 0 24px rgba(34, 190, 255, 0.1);
	text-align: center;
}

.theme-aetherwood .topia-tebex-empty-main {
	min-height: 230px;
	margin-bottom: 1rem;
}

.theme-aetherwood .topia-tebex-empty i {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border: 1px solid rgba(226, 249, 255, 0.7);
	border-radius: 16px;
	background: linear-gradient(180deg, #f7fdff, #cfedfb);
	box-shadow: 0 0 18px rgba(36, 201, 255, 0.22);
	color: #0871b6;
	font-size: 1.55rem;
}

.theme-aetherwood .topia-tebex-empty strong {
	color: #ffffff;
	font-size: clamp(1.05rem, 1.5vw, 1.25rem);
	font-weight: 950;
	letter-spacing: -0.02em;
}

.theme-aetherwood .topia-tebex-empty span {
	max-width: 560px;
	color: rgba(225, 243, 255, 0.72);
	font-weight: 760;
	line-height: 1.6;
}

.theme-aetherwood .topia-tebex-empty a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 0 1rem;
	border-radius: 12px;
	background: linear-gradient(180deg, #f7fdff, #cfedfb);
	color: #0871b6;
	font-weight: 950;
	text-decoration: none;
	box-shadow: 0 0 18px rgba(36, 201, 255, 0.18);
}

@media (max-width: 767.98px) {
	.theme-aetherwood .tebex-section .row {
		gap: 1rem;
	}

	.theme-aetherwood .topia-tebex-empty,
	.theme-aetherwood .topia-tebex-empty-main {
		min-height: 155px;
		padding: 1rem;
		border-radius: 15px;
	}
}

/* Final legal/footer markers: keep credits in document flow, never floating above content. */
.theme-aetherwood .aetherwood-footer .topia-footer-bottomline {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
	align-items: center !important;
	gap: 1rem !important;
	width: min(1180px, 100%) !important;
	margin: 0 auto !important;
}

.theme-aetherwood .aetherwood-footer .topia-footer-copyright {
	justify-self: start;
}

.theme-aetherwood .aetherwood-footer .topia-footer-powered {
	justify-self: end;
}

.theme-aetherwood .topia-auth-footer {
	position: relative !important;
	z-index: 2;
	width: 100%;
	padding: 0 1.25rem 1rem;
	background: transparent;
	color: rgba(235, 247, 255, 0.78);
	font-weight: 760;
}

.theme-aetherwood .topia-auth-footer-line {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: center;
	gap: 1rem;
	width: min(1180px, 100%);
	margin: 0 auto;
	padding: 0.9rem 0 0;
	border-top: 1px solid rgba(118, 220, 255, 0.16);
}

.theme-aetherwood .topia-auth-footer-line > span:first-child {
	justify-self: start;
}

.theme-aetherwood .topia-auth-footer-line > span:last-child {
	justify-self: end;
}

.theme-aetherwood .topia-auth-footer strong,
.theme-aetherwood .topia-auth-footer #powered_by_leaderos a {
	color: #ffffff !important;
	font-weight: 950;
	text-decoration: none;
}

.theme-aetherwood .topia-auth-footer #powered_by_leaderos,
.theme-aetherwood .topia-auth-footer #powered_by_leaderos * {
	position: static !important;
	inset: auto !important;
	display: inline !important;
	width: auto !important;
	height: auto !important;
	min-height: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	transform: none !important;
}

@media (max-width: 767.98px) {
	.theme-aetherwood .aetherwood-footer .topia-footer-bottomline,
	.theme-aetherwood .topia-auth-footer-line {
		grid-template-columns: 1fr !important;
		justify-items: center !important;
		text-align: center !important;
	}

	.theme-aetherwood .aetherwood-footer .topia-footer-copyright,
	.theme-aetherwood .aetherwood-footer .topia-footer-powered,
	.theme-aetherwood .topia-auth-footer-line > span:first-child,
	.theme-aetherwood .topia-auth-footer-line > span:last-child {
		justify-self: center !important;
	}

	.theme-aetherwood .topia-auth-footer {
		padding: 0 1rem calc(1rem + env(safe-area-inset-bottom));
	}
}
