/* ============================================================
   LunaticRo Theme — FluxCP
   Style : Clair & épuré (blanc/bleu)
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	background:
		linear-gradient(rgba(240, 246, 255, 0.86), rgba(240, 246, 255, 0.92)),
		url("../img/background.jpg") center top / cover fixed no-repeat,
		#f0f6ff;
	color: #1a2a3a;
	min-height: 100vh;
}

/* ── Navbar ── */
.lr-nav {
	background: #ffffff;
	border-bottom: 1px solid #c8daf5;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 2rem;
	height: 58px;
	position: sticky;
	top: 0;
	z-index: 100;
	gap: 1rem;
}

.lr-logo {
	font-size: 20px;
	font-weight: 600;
	color: #1a5cb8;
	display: flex;
	align-items: center;
	gap: 8px;
	text-decoration: none;
	white-space: nowrap;
}
.lr-logo i { font-size: 22px; }
.lr-logo img {
	display: block;
	max-height: 56px;
	width: auto;
}

.lr-nav-links {
	display: flex;
	align-items: center;
	gap: 10px;
	flex: 1;
	justify-content: center;
}
.lr-nav-links a {
	display: flex;
	align-items: center;
	gap: 5px;
	padding: 10px 18px;
	border-radius: 10px;
	font-size: 15px;
	font-weight: 600;
	color: #4a6a8a;
	text-decoration: none;
	border: 1px solid transparent;
	transition: background 0.15s, color 0.15s;
}
.lr-nav-links a:hover {
	background: #e8f0fc;
	color: #1a5cb8;
}
.lr-nav-links a i { font-size: 15px; }

.lr-nav-right { display: flex; align-items: center; gap: 8px; white-space: nowrap; }

.lr-login-btn, .lr-account-btn {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 7px 16px;
	border-radius: 8px;
	font-size: 13px;
	font-weight: 500;
	background: #1a5cb8;
	color: #fff;
	border: none;
	cursor: pointer;
	text-decoration: none;
	transition: background 0.15s;
}
.lr-login-btn:hover, .lr-account-btn:hover { background: #154fa0; }

.lr-logout-btn {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 7px 10px;
	border-radius: 8px;
	font-size: 13px;
	font-weight: 700;
	color: #4a6a8a;
	text-decoration: none;
	border: 1px solid #c8daf5;
	transition: background 0.15s, color 0.15s;
}
.lr-logout-btn:hover { background: #fee2e2; color: #b91c1c; border-color: #fca5a5; }

/* ── Wrapper ── */
.lr-wrap { min-height: calc(100vh - 58px - 56px); }

/* Page compte */
.lr-account-page {
	max-width: 1120px;
	margin: 0 auto;
	padding: 3rem 1.5rem 4rem;
}
.lr-account-hero {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 18px;
	margin-bottom: 22px;
	padding: 28px;
	border: 1px solid rgba(139, 180, 232, 0.55);
	border-radius: 18px;
	background:
		linear-gradient(145deg, rgba(255,255,255,0.94), rgba(239,247,255,0.88)),
		url("../img/background.jpg") center / cover no-repeat;
	box-shadow: 0 22px 56px rgba(13, 63, 138, 0.12);
}
.lr-account-avatar {
	width: 62px;
	height: 62px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 18px;
	background: transparent;
	box-shadow: none;
}

.lr-account-avatar img {
	display: block;
	max-width: 52px;
	max-height: 52px;
	object-fit: contain;
}

.lr-account-avatar i,
.lr-register-icon i,
.lr-account-actions a > i,
.lr-login-panel strong > i,
.lr-register-submit > i,
.lr-login-btn > i,
.lr-account-btn > i,
.lr-logout-btn > i,
.lr-page-button > i,
.lr-register-close > i {
	display: none !important;
}

.lr-account-avatar::before,
.lr-register-icon::before,
.lr-account-actions a::before,
.lr-login-panel strong::before,
.lr-register-submit::before,
.lr-login-btn::before,
.lr-account-btn::before,
.lr-logout-btn::before,
.lr-page-button::before,
.lr-register-close::before {
	content: "";
	display: inline-block;
	flex: 0 0 auto;
	width: 1.08em;
	height: 1.08em;
	background: currentColor;
	-webkit-mask: var(--lr-fallback-icon) center / contain no-repeat;
	mask: var(--lr-fallback-icon) center / contain no-repeat;
}

.lr-account-avatar::before {
	width: 34px;
	height: 34px;
	color: #1a5cb8;
	--lr-fallback-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 7a4 4 0 1 0 8 0a4 4 0 0 0 -8 0'/%3E%3Cpath d='M6 21v-2a4 4 0 0 1 4 -4h4a4 4 0 0 1 4 4v2'/%3E%3C/svg%3E");
}

.lr-register-icon::before {
	width: 30px;
	height: 30px;
	color: #fff;
	--lr-fallback-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16.5 7.5m-3.5 0a3.5 3.5 0 1 0 7 0a3.5 3.5 0 1 0 -7 0'/%3E%3Cpath d='M14 10l-10 10'/%3E%3Cpath d='M8 16l3 3'/%3E%3Cpath d='M6 18l3 3'/%3E%3C/svg%3E");
}

.lr-account-actions a[href*="changepass"]::before,
.lr-account-actions a[data-lr-password-open]::before {
	--lr-fallback-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16.5 7.5m-3.5 0a3.5 3.5 0 1 0 7 0a3.5 3.5 0 1 0 -7 0'/%3E%3Cpath d='M14 10l-10 10'/%3E%3Cpath d='M8 16l3 3'/%3E%3Cpath d='M6 18l3 3'/%3E%3C/svg%3E");
}

.lr-account-actions a[href*="changemail"]::before,
.lr-account-actions a[data-lr-email-open]::before {
	--lr-fallback-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='M3 7l9 6l9 -6'/%3E%3C/svg%3E");
}

.lr-account-actions a[href*="character"]::before {
	--lr-fallback-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 7a4 4 0 1 0 0 8a4 4 0 0 0 0 -8'/%3E%3Cpath d='M3 21v-2a4 4 0 0 1 4 -4h4a4 4 0 0 1 4 4v2'/%3E%3Cpath d='M16 3.13a4 4 0 0 1 0 7.75'/%3E%3Cpath d='M21 21v-2a4 4 0 0 0 -3 -3.85'/%3E%3C/svg%3E");
}

.lr-account-actions a[href*="donate"]::before {
	--lr-fallback-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19.5 12.6l-7.5 7.4l-7.5 -7.4a5 5 0 1 1 7.5 -6.6a5 5 0 1 1 7.5 6.6'/%3E%3Cpath d='M12 8v8'/%3E%3Cpath d='M9.5 10.5c0 -1.4 5 -1.4 5 0c0 2 -5 1 -5 3c0 1.4 5 1.4 5 0'/%3E%3C/svg%3E");
}

.lr-login-panel strong::before,
.lr-register-submit::before {
	--lr-fallback-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5l10 -10'/%3E%3C/svg%3E");
}

.lr-login-btn::before,
.lr-account-btn::before {
	--lr-fallback-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 7a4 4 0 1 0 8 0a4 4 0 0 0 -8 0'/%3E%3Cpath d='M6 21v-2a4 4 0 0 1 4 -4h4a4 4 0 0 1 4 4v2'/%3E%3C/svg%3E");
}

.lr-logout-btn::before {
	--lr-fallback-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 8l-4 4l4 4'/%3E%3Cpath d='M5 12h11'/%3E%3Cpath d='M13 4h4a2 2 0 0 1 2 2v12a2 2 0 0 1 -2 2h-4'/%3E%3C/svg%3E");
}

.lr-page-button::before {
	--lr-fallback-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 6l-6 6l6 6'/%3E%3C/svg%3E");
}
/* ti-user dans des contextes spécifiques : hérité du bloc générique ci-dessous */
.lr-register-close::before {
	width: 18px;
	height: 18px;
	--lr-fallback-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 6l-12 12'/%3E%3Cpath d='M6 6l12 12'/%3E%3C/svg%3E");
}
.ti-user::before,
.ti-user-circle::before,
.ti-user-plus::before,
.ti-user-search::before,
.ti-users::before,
.ti-x::before,
.ti-key::before,
.ti-mail::before,
.ti-search::before,
.ti-download::before,
.ti-login::before,
.ti-logout::before,
.ti-check::before,
.ti-settings::before,
.ti-shield-lock::before,
.ti-shield-star::before,
.ti-heart-dollar::before,
.ti-arrow-left::before,
.ti-chevron-right::before {
	content: "" !important;
	display: inline-block;
	width: 1em;
	height: 1em;
	background: currentColor;
	vertical-align: -0.125em;
	-webkit-mask: var(--lr-ti-mask) center / contain no-repeat;
	mask: var(--lr-ti-mask) center / contain no-repeat;
}
.ti-user,
.ti-user-circle {
	--lr-ti-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 7a4 4 0 1 0 8 0a4 4 0 0 0 -8 0'/%3E%3Cpath d='M6 21v-2a4 4 0 0 1 4 -4h4a4 4 0 0 1 4 4v2'/%3E%3C/svg%3E");
}
.ti-user-plus {
	--lr-ti-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 7a4 4 0 1 0 8 0a4 4 0 0 0 -8 0'/%3E%3Cpath d='M6 21v-2a4 4 0 0 1 4 -4h2'/%3E%3Cpath d='M19 8v6'/%3E%3Cpath d='M16 11h6'/%3E%3C/svg%3E");
}
.ti-users {
	--lr-ti-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 7a4 4 0 1 0 0 8a4 4 0 0 0 0 -8'/%3E%3Cpath d='M3 21v-2a4 4 0 0 1 4 -4h4a4 4 0 0 1 4 4v2'/%3E%3Cpath d='M16 3.13a4 4 0 0 1 0 7.75'/%3E%3Cpath d='M21 21v-2a4 4 0 0 0 -3 -3.85'/%3E%3C/svg%3E");
}
.ti-search {
	--lr-ti-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 10m-7 0a7 7 0 1 0 14 0a7 7 0 1 0 -14 0'/%3E%3Cpath d='M21 21l-6 -6'/%3E%3C/svg%3E");
}
/* ti-user-search : utilisateur + loupe (icone distincte de ti-search) */
.ti-user-search {
	--lr-ti-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 7a4 4 0 1 0 8 0a4 4 0 0 0 -8 0'/%3E%3Cpath d='M6 21v-2a4 4 0 0 1 4 -4h1'/%3E%3Cpath d='M18 18m-3 0a3 3 0 1 0 6 0a3 3 0 1 0 -6 0'/%3E%3Cpath d='M20.2 20.2l1.8 1.8'/%3E%3C/svg%3E");
}
.ti-x {
	--lr-ti-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 6l-12 12'/%3E%3Cpath d='M6 6l12 12'/%3E%3C/svg%3E");
}
.ti-key {
	--lr-ti-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16.5 7.5m-3.5 0a3.5 3.5 0 1 0 7 0a3.5 3.5 0 1 0 -7 0'/%3E%3Cpath d='M14 10l-10 10'/%3E%3Cpath d='M8 16l3 3'/%3E%3Cpath d='M6 18l3 3'/%3E%3C/svg%3E");
}
.ti-mail {
	--lr-ti-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='M3 7l9 6l9 -6'/%3E%3C/svg%3E");
}
.ti-download {
	--lr-ti-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v12'/%3E%3Cpath d='M8 11l4 4l4 -4'/%3E%3Cpath d='M4 19h16'/%3E%3C/svg%3E");
}
.ti-login {
	--lr-ti-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 8l4 4l-4 4'/%3E%3Cpath d='M19 12h-11'/%3E%3Cpath d='M11 4h-4a2 2 0 0 0 -2 2v12a2 2 0 0 0 2 2h4'/%3E%3C/svg%3E");
}
.ti-logout {
	--lr-ti-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 8l-4 4l4 4'/%3E%3Cpath d='M5 12h11'/%3E%3Cpath d='M13 4h4a2 2 0 0 1 2 2v12a2 2 0 0 1 -2 2h-4'/%3E%3C/svg%3E");
}
.ti-check {
	--lr-ti-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5l10 -10'/%3E%3C/svg%3E");
}
.ti-settings {
	--lr-ti-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10.3 4.3l.7 -2.3h2l.7 2.3a8 8 0 0 1 2 1.1l2.3 -.7l1 1.7l-1.6 1.8a8 8 0 0 1 0 2.3l1.6 1.8l-1 1.7l-2.3 -.7a8 8 0 0 1 -2 1.1l-.7 2.3h-2l-.7 -2.3a8 8 0 0 1 -2 -1.1l-2.3 .7l-1 -1.7l1.6 -1.8a8 8 0 0 1 0 -2.3l-1.6 -1.8l1 -1.7l2.3 .7a8 8 0 0 1 2 -1.1z'/%3E%3Cpath d='M12 9a3 3 0 1 0 0 6a3 3 0 0 0 0 -6'/%3E%3C/svg%3E");
}
.ti-shield-lock,
.ti-shield-star {
	--lr-ti-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l8 4v5c0 5 -3.4 8.4 -8 9c-4.6 -.6 -8 -4 -8 -9v-5z'/%3E%3Cpath d='M9 12l2 2l4 -4'/%3E%3C/svg%3E");
}
.ti-heart-dollar {
	--lr-ti-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19.5 12.6l-7.5 7.4l-7.5 -7.4a5 5 0 1 1 7.5 -6.6a5 5 0 1 1 7.5 6.6'/%3E%3Cpath d='M12 8v8'/%3E%3Cpath d='M9.5 10.5c0 -1.4 5 -1.4 5 0c0 2 -5 1 -5 3c0 1.4 5 1.4 5 0'/%3E%3C/svg%3E");
}
.ti-arrow-left {
	--lr-ti-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 6l-6 6l6 6'/%3E%3C/svg%3E");
}
.ti-chevron-right {
	--lr-ti-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l6 6l-6 6'/%3E%3C/svg%3E");
}
.ti-user::before,
.ti-user-circle::before,
.ti-user-plus::before,
.ti-user-search::before,
.ti-users::before,
.ti-x::before,
.ti-key::before,
.ti-mail::before,
.ti-search::before,
.ti-download::before,
.ti-login::before,
.ti-logout::before,
.ti-check::before,
.ti-settings::before,
.ti-shield-lock::before,
.ti-shield-star::before,
.ti-heart-dollar::before,
.ti-arrow-left::before,
.ti-chevron-right::before {
	width: auto !important;
	height: auto !important;
	background: none !important;
	-webkit-mask: none !important;
	mask: none !important;
}
.ti-user::before { content: "\eb4d" !important; }
.ti-user-circle::before { content: "\ef68" !important; }
.ti-user-plus::before { content: "\eb4b" !important; }
.ti-user-search::before { content: "\ef89" !important; }
.ti-users::before { content: "\ebf2" !important; }
.ti-x::before { content: "\eb55" !important; }
.ti-key::before { content: "\eac7" !important; }
.ti-mail::before { content: "\eae5" !important; }
.ti-search::before { content: "\eb1c" !important; }
.ti-download::before { content: "\ea96" !important; }
.ti-login::before { content: "\eba7" !important; }
.ti-logout::before { content: "\eba8" !important; }
.ti-check::before { content: "\ea5e" !important; }
.ti-settings::before { content: "\eb20" !important; }
.ti-shield-lock::before { content: "\ed58" !important; }
.ti-shield-star::before { content: "\f9cf" !important; }
.ti-heart-dollar::before { content: "\fba4" !important; }
.ti-arrow-left::before { content: "\ea19" !important; }
.ti-chevron-right::before { content: "\ea61" !important; }
.lr-account-kicker {
	display: block;
	margin-bottom: 6px;
	font-size: 11px;
	font-weight: 900;
	letter-spacing: 3px;
	text-transform: uppercase;
	color: #6d91c7;
}
.lr-account-hero h1 {
	margin: 0;
	color: #083f8f;
	font-size: clamp(28px, 4vw, 42px);
	line-height: 1.05;
}
.lr-account-hero p {
	margin: 8px 0 0;
	color: #5578aa;
	line-height: 1.55;
}
.lr-account-logout {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 42px;
	padding: 0 18px;
	border: 1px solid rgba(220, 38, 38, 0.22);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.82);
	color: #b91c1c;
	text-decoration: none;
	font-size: 13px;
	font-weight: 900;
}
.lr-account-logout:hover {
	background: #fee2e2;
	border-color: #fca5a5;
}
.lr-account-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
}
.lr-account-card {
	padding: 22px;
	border: 1px solid rgba(139, 180, 232, 0.55);
	border-radius: 14px;
	background: rgba(255,255,255,0.86);
	box-shadow: 0 14px 34px rgba(13, 63, 138, 0.09);
}
.lr-account-card--wide {
	grid-column: 1 / -1;
}
.lr-account-card h2 {
	display: flex;
	align-items: center;
	gap: 9px;
	margin: 0 0 18px;
	color: #083f8f;
	font-size: 20px;
}
.lr-account-info-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
}
.lr-account-info-grid div {
	padding: 14px;
	border: 1px solid rgba(139, 180, 232, 0.32);
	border-radius: 10px;
	background: rgba(244, 249, 255, 0.78);
}
.lr-account-info-grid span {
	display: block;
	margin-bottom: 6px;
	color: #6d91c7;
	font-size: 12px;
	font-weight: 800;
	text-transform: uppercase;
}
.lr-account-info-grid strong {
	display: block;
	color: #123f82;
	font-size: 16px;
	overflow-wrap: anywhere;
}
.lr-account-actions {
	display: grid;
	gap: 10px;
}
.lr-account-actions a {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 46px;
	padding: 0 14px;
	border: 1px solid rgba(139, 180, 232, 0.42);
	border-radius: 10px;
	background: rgba(244, 249, 255, 0.76);
	color: #0d3f8a;
	text-decoration: none;
	font-weight: 800;
	transition: transform .15s, border-color .15s, background .15s;
}
.lr-account-actions a:hover {
	transform: translateY(-2px);
	border-color: rgba(26, 92, 184, 0.42);
	background: #fff;
}
.lr-gm-menu-card {
	border-color: rgba(26, 92, 184, 0.45);
	background:
		linear-gradient(145deg, rgba(255,255,255,0.94), rgba(239,247,255,0.9)),
		url("../img/background.jpg") center / cover no-repeat;
}
.lr-gm-menu-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
}
.lr-gm-menu-grid a {
	display: flex;
	align-items: center;
	gap: 9px;
	min-height: 42px;
	padding: 0 13px;
	border: 1px solid rgba(139, 180, 232, 0.42);
	border-radius: 10px;
	background: rgba(244, 249, 255, 0.76);
	color: #0d3f8a;
	font-weight: 900;
	text-decoration: none;
	transition: transform .15s, border-color .15s, background .15s;
}
.lr-gm-menu-grid a:hover {
	transform: translateY(-2px);
	border-color: rgba(26, 92, 184, 0.42);
	background: #fff;
}
.lr-gm-menu-grid i {
	color: #1a5cb8;
}

/* ── Hero ── */
.lr-hero-title-fs {
	font-family: 'Baloo 2', cursive;
	font-size: clamp(2.8rem, 7vw, 5.2rem);
	font-weight: 800;
	letter-spacing: -2px;
	line-height: 1;
	color: #ffffff;

	text-shadow:
		-2px -2px 0 rgba(130, 190, 255, 0.85),
		 2px -2px 0 rgba(130, 190, 255, 0.85),
		-2px  2px 0 rgba(130, 190, 255, 0.85),
		 2px  2px 0 rgba(130, 190, 255, 0.85),
		 0 0 18px rgba(120, 190, 255, 0.55),
		 0 6px 18px rgba(0, 0, 0, 0.35);

	transform: rotate(-1deg);
	margin-bottom: .8rem;
}

.lr-hero-title-fs {
	animation: lrTitleFloat 3.5s ease-in-out infinite;
}

@keyframes lrTitleFloat {
	0%, 100% {
		transform: rotate(-1deg) translateY(0);
		text-shadow:
			-2px -2px 0 rgba(130, 190, 255, 0.85),
			 2px -2px 0 rgba(130, 190, 255, 0.85),
			-2px  2px 0 rgba(130, 190, 255, 0.85),
			 2px  2px 0 rgba(130, 190, 255, 0.85),
			 0 0 16px rgba(120, 190, 255, 0.45),
			 0 6px 18px rgba(0, 0, 0, 0.35);
	}

	50% {
		transform: rotate(-1deg) translateY(-6px);
		text-shadow:
			-2px -2px 0 rgba(160, 215, 255, 0.95),
			 2px -2px 0 rgba(160, 215, 255, 0.95),
			-2px  2px 0 rgba(160, 215, 255, 0.95),
			 2px  2px 0 rgba(160, 215, 255, 0.95),
			 0 0 26px rgba(150, 220, 255, 0.75),
			 0 10px 24px rgba(0, 0, 0, 0.4);
	}
}

.lr-hero {
	text-align: center;
	padding: 4rem 2rem 2.5rem;
	background: linear-gradient(180deg, #ddeeff 0%, #f0f6ff 100%);
	border-bottom: 1px solid #c8daf5;
}

.lr-hero-moon {
	width: 72px;
	height: 72px;
	border-radius: 50%;
	background: #c8daf5;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 1.2rem;
	border: 3px solid #91b8eb;
}
.lr-hero-moon i { font-size: 36px; color: #1a5cb8; }

.lr-hero h1 { font-size: 32px; font-weight: 600; color: #0d3f8a; margin-bottom: 8px; }
.lr-hero p  { font-size: 15px; color: #4a6fa5; margin-bottom: 1.8rem; }

.lr-hero-btns { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

.btn-primary {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 10px 24px;
	border-radius: 8px;
	background: #1a5cb8;
	color: #fff;
	font-size: 14px;
	font-weight: 500;
	text-decoration: none;
	border: none;
	cursor: pointer;
	transition: background 0.15s;
}
.btn-primary:hover { background: #154fa0; }

.btn-outline {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 10px 24px;
	border-radius: 8px;
	background: #fff;
	color: #1a5cb8;
	font-size: 14px;
	font-weight: 500;
	text-decoration: none;
	border: 2px solid #1a5cb8;
	cursor: pointer;
	transition: background 0.15s;
}
.btn-outline:hover { background: #e6f0ff; }

/* ── Stats ── */
.lr-stats {
	display: grid;
	grid-template-columns: repeat(2, minmax(150px, 174px));
	justify-content: center;
	gap: 16px;
	padding: 1.8rem 2rem;
	max-width: 960px;
	margin: 0 auto;
}

.lr-stat-card {
	background: #fff;
	border-radius: 12px;
	border: 1px solid #c8daf5;
	padding: 1rem 1.25rem;
	text-align: center;
	min-height: 134px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}
.lr-stat-card .stat-icon {
	height: 26px;
	font-size: 20px;
	color: #4a90d9;
	margin-bottom: 6px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
}
.lr-stat-img {
	display: block;
	max-width: 28px;
	max-height: 26px;
	width: auto;
	height: auto;
	object-fit: contain;
}
.lr-stat-card .stat-val  { font-size: 22px; font-weight: 600; color: #0d3f8a; }
.lr-stat-card .stat-label { font-size: 12px; color: #7a9cc5; margin-top: 3px; }

.lr-online-dot {
	display: inline-block;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #2eb87a;
	animation: lrPulse 1.8s infinite;
}
@keyframes lrPulse { 0%,100%{opacity:1} 50%{opacity:0.35} }

/* ── Liens rapides ── */
.lr-quicklinks {
	display: none;
	justify-content: center;
	gap: 12px;
	flex-wrap: wrap;
	padding: 0 2rem 2rem;
	max-width: 960px;
	margin: 0 auto;
}

.lr-ql-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	padding: 1rem 1.5rem;
	background: #fff;
	border-radius: 12px;
	border: 1px solid #c8daf5;
	text-decoration: none;
	color: #1a5cb8;
	font-size: 13px;
	font-weight: 500;
	transition: background 0.15s, border-color 0.15s;
	min-width: 90px;
}
.lr-ql-card i { font-size: 22px; }
.lr-ql-card:hover { background: #e8f0fc; border-color: #91b8eb; }

/* ── News ── */
.lr-news-section {
	max-width: 960px;
	margin: 0 auto;
	padding: 0 2rem 3rem;
}

.lr-section-title {
	font-size: 16px;
	font-weight: 600;
	color: #1a5cb8;
	margin-bottom: 1rem;
	display: flex;
	align-items: center;
	gap: 8px;
}
.lr-section-title i { font-size: 18px; }

.lr-news-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 12px;
}

.lr-news-card {
	background: #fff;
	border-radius: 12px;
	border: 1px solid #c8daf5;
	padding: 1rem 1.25rem;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.lr-news-badge {
	display: inline-block;
	font-size: 11px;
	font-weight: 600;
	padding: 3px 10px;
	border-radius: 20px;
	background: #e6f0ff;
	color: #1a5cb8;
	width: fit-content;
}

.lr-news-card h3 { font-size: 14px; font-weight: 600; color: #0d3f8a; }
.lr-news-card > p { font-size: 12px; color: #7a9cc5; }

.lr-news-body {
	font-size: 13px;
	color: #4a6a8a;
	line-height: 1.5;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.lr-news-link {
	font-size: 13px;
	color: #1a5cb8;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	margin-top: 4px;
	font-weight: 500;
}
.lr-news-link:hover { text-decoration: underline; }

/* ── Footer ── */
.lr-footer {
	background: #fff;
	border-top: 1px solid #c8daf5;
	padding: 1rem 2rem;
}

.lr-footer-inner {
	width: 100%;
	margin: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	min-height: 32px;
	font-size: 12px;
	color: #9ab5d4;
	text-align: center;
}
.lr-footer-social {
	display: flex;
	align-items: center;
	justify-content: center;
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
}
.lr-discord-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 8px;
	color: #5865f2;
	text-decoration: none;
	transition: background 0.15s, transform 0.15s;
}
.lr-discord-link:hover {
	background: #e8f0fc;
	transform: translateY(-1px);
}
.lr-discord-link img {
	display: block;
	max-width: 28px;
	max-height: 28px;
	width: auto;
	height: auto;
}
.lr-discord-link i { font-size: 24px; }
.lr-footer-copy { justify-self: center; }

.lr-theme-switcher { display: flex; gap: 10px; }
.lr-theme-switcher a { color: #4a90d9; text-decoration: none; font-size: 12px; }
.lr-theme-switcher a:hover { text-decoration: underline; }

/* ── Responsive ── */
@media (max-width: 600px) {
	.lr-nav { padding: 0 1rem; }
	.lr-nav-links { display: none; }
	.lr-hero { padding: 2.5rem 1rem 1.5rem; }
	.lr-hero h1 { font-size: 24px; }
	.lr-stats, .lr-news-section, .lr-quicklinks { padding-left: 1rem; padding-right: 1rem; }
	.lr-footer-inner { padding-right: 44px; }
	.lr-footer-spacer { display: none; }
}

/* ── Message flash ── */
.lr-message {
	background: #e6f0ff;
	color: #1a5cb8;
	border-left: 3px solid #1a5cb8;
	padding: 10px 2rem;
	font-size: 13px;
}

/* Server information */
.lr-server-info {
	max-width: 1180px;
	margin: 0 auto;
	padding: 2rem 2rem 4rem;
	text-align: center;
}
.lr-server-info-title {
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: 96px;
	margin-bottom: 1.75rem;
}
.lr-server-info-title img {
	display: block;
	max-width: 280px;
	max-height: 110px;
	width: auto;
	height: auto;
	filter: drop-shadow(0 12px 18px rgba(13, 63, 138, 0.18));
}
.lr-server-info-title span {
	color: #0d3f8a;
	font-size: 30px;
	font-weight: 800;
	text-transform: uppercase;
}
.lr-info-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 30px;
}
.lr-info-item {
	display: flex;
	flex-direction: column;
	align-items: center;
}
.lr-info-item img {
	display: block;
	width: 100%;
	max-width: 220px;
	height: 190px;
	object-fit: contain;
	margin-bottom: 1.1rem;
	filter: drop-shadow(0 12px 18px rgba(13, 63, 138, 0.12));
}
.lr-info-item > i {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 150px;
	height: 150px;
	margin-bottom: 1.1rem;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.74);
	border: 1px solid #c8daf5;
	color: #1a5cb8;
	font-size: 58px;
}
.lr-info-item h3 {
	color: #0d3f8a;
	font-size: 18px;
	font-weight: 800;
	margin-bottom: 0.7rem;
}
.lr-info-item p {
	color: #385574;
	font-size: 14px;
	line-height: 1.65;
	max-width: 270px;
}

.lr-highlights {
	max-width: 1180px;
	margin: -2rem auto 4rem;
	padding: 0 2rem;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}
.lr-highlight-card {
	background: rgba(255, 255, 255, 0.88);
	border: 1px solid #c8daf5;
	border-radius: 12px;
	padding: 1.25rem;
	text-align: center;
	box-shadow: 0 12px 28px rgba(13, 63, 138, 0.08);
	display: flex;
	flex-direction: column;
}
.lr-highlight-visual {
	height: 92px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 0.65rem;
}
.lr-highlight-visual img {
	display: block;
	max-width: 140px;
	max-height: 92px;
	width: auto;
	height: auto;
	object-fit: contain;
}
.lr-highlight-visual i {
	color: #1a5cb8;
	font-size: 54px;
}
.lr-highlight-card h2 {
	color: #0d3f8a;
	font-size: 20px;
	font-weight: 800;
	margin-bottom: 0.9rem;
}
.lr-highlight-list {
	list-style: none;
	display: grid;
	gap: 8px;
	margin-bottom: 1rem;
}
.lr-highlight-list li {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 10px;
	padding: 8px 10px;
	border-radius: 8px;
	background: #f4f8ff;
	color: #385574;
	font-size: 13px;
}
.lr-rank-number {
	color: #0d3f8a;
	font-weight: 900;
	font-size: 13px;
	white-space: nowrap;
}
.lr-rank-player {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
	text-align: left;
}
.lr-rank-player img,
.lr-rank-player i {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	object-fit: contain;
}
.lr-rank-player i {
	color: #1a5cb8;
	font-size: 24px;
}
.lr-rank-player .lr-guild-emblem {
	width: 24px;
	height: 24px;
	image-rendering: pixelated;
}
.lr-rank-player span {
	display: grid;
	gap: 2px;
	min-width: 0;
}
.lr-rank-player strong {
	color: #0d3f8a;
	font-weight: 800;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.lr-rank-player small {
	color: #7a9cc5;
	font-size: 11px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.lr-highlight-list > li > strong {
	color: #0d3f8a;
	font-weight: 800;
	white-space: nowrap;
}
.lr-highlight-empty {
	color: #7a9cc5;
	font-size: 13px;
	margin-bottom: 1rem;
}
.lr-highlight-card a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #1a5cb8;
	font-size: 13px;
	font-weight: 700;
	text-decoration: none;
}
.lr-highlight-card > a { margin-top: auto; }
.lr-highlight-card a:hover { text-decoration: underline; }

.lr-features {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	gap: 2rem;
	align-items: center;
	max-width: 1180px;
	margin: 0 auto 4rem;
	padding: 0 2rem;
	color: #0d3f8a;
}
.lr-feature-preview {
	background: rgba(255, 255, 255, 0.9);
	border: 1px solid #c8daf5;
	border-radius: 12px;
	padding: 2rem;
	text-align: center;
	box-shadow: 0 12px 28px rgba(13, 63, 138, 0.08);
}
.lr-feature-preview-visual {
	height: 160px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 1.4rem;
}
.lr-feature-preview-visual img {
	display: block;
	max-width: 280px;
	max-height: 160px;
	width: auto;
	height: auto;
	object-fit: contain;
	filter: drop-shadow(0 16px 20px rgba(0, 0, 0, 0.35));
}
.lr-feature-preview-visual i {
	font-size: 82px;
	color: #1a5cb8;
}
.lr-feature-kicker {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	margin-bottom: 1.4rem;
	text-transform: uppercase;
	letter-spacing: 4px;
	color: #7a9cc5;
	font-size: 12px;
}
.lr-feature-kicker span {
	display: inline-flex;
	align-items: center;
	padding: 4px 15px;
	border-radius: 999px;
	background: #e6f0ff;
	color: #1a5cb8;
	font-weight: 800;
	letter-spacing: 0;
	text-transform: none;
}
.lr-feature-preview h2 {
	font-size: 24px;
	font-weight: 900;
	margin-bottom: 0.6rem;
}
.lr-feature-preview p {
	max-width: 620px;
	margin: 0 auto 1.8rem;
	color: #385574;
	font-size: 15px;
	line-height: 1.55;
}
.lr-feature-facts {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	margin-bottom: 1.5rem;
}
.lr-feature-facts div {
	text-align: left;
	background: #f4f8ff;
	border: 1px solid #c8daf5;
	border-radius: 12px;
	padding: 14px;
	min-height: 76px;
}
.lr-feature-facts small {
	display: block;
	color: #7a9cc5;
	font-size: 12px;
	margin-bottom: 6px;
}
.lr-feature-facts strong {
	display: block;
	color: #0d3f8a;
	font-size: 15px;
}
.lr-feature-preview a {
	color: #1a5cb8;
	font-weight: 800;
	text-decoration: none;
}
.lr-feature-preview a:hover { text-decoration: underline; }
.lr-feature-copyblock {
	text-align: right;
}
.lr-feature-eyebrow {
	color: #7a9cc5;
	font-size: 12px;
	letter-spacing: 8px;
	text-transform: uppercase;
	margin-bottom: 1.8rem;
}
.lr-feature-copyblock h2 {
	font-size: 46px;
	line-height: 1.08;
	font-weight: 900;
	margin-bottom: 1.4rem;
}
.lr-feature-copyblock h2 span {
	color: #1a5cb8;
}
.lr-feature-copyblock > p {
	max-width: 600px;
	margin: 0 0 1.8rem auto;
	color: #385574;
	font-size: 18px;
	line-height: 1.55;
}
.lr-feature-list {
	display: grid;
	gap: 14px;
}
.lr-feature-tab {
	position: relative;
	display: grid;
	gap: 8px;
	width: 100%;
	border: 1px solid #c8daf5;
	border-radius: 12px;
	padding: 18px 86px 18px 18px;
	background: rgba(255, 255, 255, 0.86);
	color: #385574;
	text-align: left;
	cursor: pointer;
	transition: border-color 0.15s, background 0.15s, transform 0.15s;
}
.lr-feature-tab:hover,
.lr-feature-tab.is-active {
	border-color: #1a5cb8;
	background: #ffffff;
	transform: translateY(-1px);
}
.lr-feature-tab strong {
	color: #0d3f8a;
	font-size: 16px;
}
.lr-feature-tab span {
	font-size: 14px;
	line-height: 1.4;
}
.lr-feature-tab em {
	position: absolute;
	right: 18px;
	top: 22px;
	font-style: normal;
	font-size: 11px;
	font-weight: 800;
	color: #1a5cb8;
	background: #e6f0ff;
	border-radius: 999px;
	padding: 5px 13px;
}

@media (max-width: 600px) {
	.lr-stats, .lr-server-info, .lr-quicklinks { padding-left: 1rem; padding-right: 1rem; }
	.lr-server-info { padding-top: 1.5rem; }
	.lr-server-info-title { min-height: 72px; margin-bottom: 1rem; }
	.lr-server-info-title img { max-width: 220px; }
	.lr-account-hero { grid-template-columns: 1fr; text-align: center; justify-items: center; }
	.lr-account-grid, .lr-account-info-grid, .lr-gm-menu-grid { grid-template-columns: 1fr; }
	.lr-account-page { padding: 2rem 1rem 3rem; }
	.lr-info-grid { grid-template-columns: 1fr; gap: 24px; }
	.lr-info-item img { height: 150px; }
	.lr-highlights { grid-template-columns: 1fr; padding: 0 1rem; margin-top: -1rem; }
	.lr-features { grid-template-columns: 1fr; padding: 2rem 1rem; gap: 2rem; }
	.lr-feature-copyblock { text-align: left; }
	.lr-feature-copyblock h2 { font-size: 32px; }
	.lr-feature-copyblock > p { margin-left: 0; font-size: 16px; }
	.lr-feature-facts { grid-template-columns: 1fr; }
	.lr-feature-tab { padding-right: 18px; }
	.lr-feature-tab em { position: static; width: fit-content; }
}

@media (min-width: 601px) and (max-width: 980px) {
	.lr-info-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.lr-highlights { grid-template-columns: 1fr; }
	.lr-features { grid-template-columns: 1fr; padding: 3rem 2rem; }
	.lr-feature-copyblock { text-align: left; }
	.lr-feature-copyblock > p { margin-left: 0; }
}

/* ============================================================
   HERO PLEIN ÉCRAN — Ajout LunaticRo
   ============================================================ */

.lr-hero-fullscreen {
	position: relative;
	overflow: hidden;
	min-height: clamp(460px, 72vh, 620px);
	display: flex;
	align-items: center;
	justify-content: center;
	background:
		linear-gradient(135deg, rgba(6,24,58,0.62) 0%, rgba(13,49,101,0.52) 50%, rgba(26,92,184,0.48) 100%),
		url("../img/hero-background.jpg") center center / cover no-repeat,
		url("../img/background.jpg") center top / cover no-repeat;
}

/* Overlay pour assombrir l'image et garder le texte lisible */
.lr-hero-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		to bottom,
		rgba(6,24,58,0.34) 0%,
		rgba(6,24,58,0.22) 55%,
		rgba(6,24,58,0.60) 100%
	);
	z-index: 1;
}

/* Lune SVG décorative à droite */
.lr-hero-deco-moon {
	position: absolute;
	z-index: 1;
	right: 6%;
	top: 50%;
	transform: translateY(-50%);
	width: 280px;
	height: 280px;
	opacity: .38;
	pointer-events: none;
}

/* Contenu centré */
.lr-hero-body {
	position: relative;
	z-index: 2;
	text-align: center;
	color: #fff;
	padding: 1.5rem 1.5rem 5.4rem;
	max-width: 660px;
	width: 100%;
}

.lr-hero-welcome {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 5px;
	color: rgba(255,255,255,.5);
	margin-bottom: .7rem;
	text-transform: uppercase;
}

/* Logo image dans le hero si logo.png présent */
.lr-hero-logo-img {
	display: block;
	max-height: 92px;
	max-width: 340px;
	width: auto;
	margin: 0 auto;
	filter: drop-shadow(0 8px 28px rgba(0,0,0,.5));
}

.lr-hero-tagline {
	font-size: .98rem;
	color: rgba(255,255,255,.72);
	margin-bottom: 1.35rem;
	line-height: 1.55;
}

/* Compteurs style glassmorphism */
.lr-hero-counters {
	display: inline-flex;
	align-items: center;
	gap: 1rem;
	background: rgba(255,255,255,.12);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border: 1px solid rgba(255,255,255,.2);
	border-radius: 50px;
	padding: .52rem 1.45rem;
	margin-bottom: 1.35rem;
}

.lr-hero-counter {
	min-width: 92px;
	text-align: center;
}

.lr-hero-counter > div {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
}

.lr-counter-dot {
	display: inline-block;
	width: auto;
	min-width: 0;
	height: auto;
	min-height: 0;
	flex-shrink: 0;
	background: transparent !important;
}
.lr-counter-dot--green,
.lr-counter-dot--online {
	color: #2ecc71;
	text-shadow: 0 0 8px #2ecc71;
	animation: lrPulse 1.8s infinite;
}
.lr-counter-dot--offline {
	color: #ff4d5e;
	text-shadow: 0 0 8px #ff4d5e;
	animation: lrPulse 1.8s infinite;
}
.lr-counter-dot--gold {
	color: #f1c40f;
	text-shadow: 0 0 8px #f1c40f;
}

.lr-counter-label {
	text-align: center;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 2px;
	color: rgba(255,255,255,.5);
	line-height: 1;
	text-transform: uppercase;
}
.lr-counter-value-row {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
}
.lr-counter-val {
	font-size: 1.42rem;
	font-weight: 900;
	color: #fff;
	line-height: 1.15;
}
.lr-hero-counter-sep {
	width: 1px;
	height: 32px;
	background: rgba(255,255,255,.2);
}

/* Boutons CTA */
.lr-hero-cta {
	display: flex;
	justify-content: center;
	gap: 14px;
	flex-wrap: wrap;
	margin-bottom: 1.25rem;
}

.lr-cta-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	flex: 0 1 220px;
	width: 220px;
	max-width: 100%;
	padding: 12px 28px;
	border-radius: 50px;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: .8px;
	text-transform: uppercase;
	text-decoration: none;
	transition: transform .15s, box-shadow .15s;
}
.lr-cta-btn i {
	width: 16px;
	text-align: center;
	flex: 0 0 16px;
}
.lr-cta-btn:hover { transform: translateY(-3px); }

.lr-cta-btn--primary {
	background: linear-gradient(135deg, #4a90d9, #1a5cb8);
	color: #fff;
	box-shadow: 0 6px 20px rgba(26,92,184,.5);
}
.lr-cta-btn--primary:hover { box-shadow: 0 10px 28px rgba(26,92,184,.65); }

.lr-cta-btn--outline {
	background: rgba(255,255,255,.1);
	color: #fff;
	border: 2px solid rgba(255,255,255,.4);
	backdrop-filter: blur(4px);
}
.lr-cta-btn--outline:hover {
	background: rgba(255,255,255,.22);
	border-color: rgba(255,255,255,.85);
}

/* Liens Wiki / Discord / Vote sous les boutons */
.lr-hero-extlinks {
	display: flex;
	justify-content: center;
	gap: 22px;
	flex-wrap: wrap;
}
.lr-hero-extlinks a {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	color: rgba(255,255,255,.6);
	text-decoration: none;
	transition: color .15s;
}
.lr-hero-extlinks a:hover { color: #fff; }
.lr-hero-extlinks a i { font-size: 15px; }

/* Vague de transition vers le contenu */
.lr-hero-wave {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 3;
	line-height: 0;
}
.lr-hero-wave svg {
	width: 100%;
	height: 56px;
	display: block;
}

/* Modal inscription */
.lr-register-modal,
.lr-login-modal {
	position: fixed;
	inset: 0;
	z-index: 1000;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 24px;
}
.lr-register-modal.is-open,
.lr-login-modal.is-open { display: flex; }
.lr-register-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(4, 18, 42, 0.72);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
}
.lr-register-dialog {
	position: relative;
	z-index: 1;
	width: min(980px, 100%);
	max-height: calc(100vh - 24px);
	overflow: auto;
	background:
		linear-gradient(145deg, rgba(255,255,255,0.98), rgba(239,247,255,0.96)),
		url("../img/background.jpg") center / cover no-repeat;
	border: 1px solid rgba(139, 180, 232, 0.55);
	border-radius: 18px;
	box-shadow: 0 28px 80px rgba(4, 23, 54, 0.38);
	padding: 24px 36px 28px;
	color: #0b326e;
}
.lr-register-page {
	max-width: 1080px;
	margin: 0 auto;
	padding: 3rem 1.5rem 4rem;
}
.lr-register-dialog--page {
	margin: 0 auto;
}
.lr-login-dialog {
	width: min(560px, 100%);
}
.lr-login-form {
	grid-template-columns: 1fr;
}
.lr-login-panel {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	margin-bottom: 18px;
	padding: 14px 16px;
	border: 1px solid rgba(139, 180, 232, 0.42);
	border-radius: 12px;
	background: rgba(255,255,255,0.68);
	color: #5578aa;
}
.lr-login-panel strong {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #083f8f;
}
.lr-register-error {
	margin-bottom: 20px;
	padding: 12px 14px;
	border: 1px solid rgba(215, 78, 78, 0.35);
	border-radius: 10px;
	background: rgba(255, 235, 235, 0.85);
	color: #9a2424;
	font-weight: 800;
}
.lr-register-close {
	position: absolute;
	top: 16px;
	right: 16px;
	width: 38px;
	height: 38px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid rgba(13, 63, 138, 0.18);
	border-radius: 50%;
	background: rgba(255,255,255,0.86);
	color: #0d3f8a;
	cursor: pointer;
}
.lr-register-close::before,
.lr-register-close::after {
	content: "" !important;
	position: absolute;
	left: 50%;
	top: 50%;
	width: 17px !important;
	height: 2px !important;
	border-radius: 999px;
	background: currentColor !important;
	-webkit-mask: none !important;
	mask: none !important;
	transform-origin: center;
}
.lr-register-close::before {
	transform: translate(-50%, -50%) rotate(45deg);
}
.lr-register-close::after {
	transform: translate(-50%, -50%) rotate(-45deg);
}

.lr-register-dialog button[aria-label="Fermer"],
.lr-register-dialog [data-lr-register-close][aria-label="Fermer"],
.lr-register-dialog [data-lr-login-close][aria-label="Fermer"],
.lr-register-dialog [data-lr-account-search-close][aria-label="Fermer"],
.lr-register-dialog [data-lr-password-close][aria-label="Fermer"],
.lr-register-dialog [data-lr-email-close][aria-label="Fermer"],
.lr-register-dialog [data-lr-character-search-close][aria-label="Fermer"],
.lr-register-dialog [data-lr-guild-search-close][aria-label="Fermer"],
.lr-register-dialog [data-lr-reset-close][aria-label="Fermer"],
.lr-register-dialog [data-lr-reset-result-close][aria-label="Fermer"] {
	position: absolute;
	top: 16px;
	right: 16px;
	width: 38px;
	height: 38px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid rgba(13, 63, 138, 0.18);
	border-radius: 50%;
	background: rgba(255,255,255,0.86);
	color: #0d3f8a;
	cursor: pointer;
	font-size: 0;
}
.lr-register-dialog button[aria-label="Fermer"] > i,
.lr-register-dialog [aria-label="Fermer"] > i {
	display: none !important;
}
.lr-register-dialog button[aria-label="Fermer"]::before,
.lr-register-dialog button[aria-label="Fermer"]::after,
.lr-register-dialog [data-lr-register-close][aria-label="Fermer"]::before,
.lr-register-dialog [data-lr-register-close][aria-label="Fermer"]::after,
.lr-register-dialog [data-lr-login-close][aria-label="Fermer"]::before,
.lr-register-dialog [data-lr-login-close][aria-label="Fermer"]::after,
.lr-register-dialog [data-lr-account-search-close][aria-label="Fermer"]::before,
.lr-register-dialog [data-lr-account-search-close][aria-label="Fermer"]::after,
.lr-register-dialog [data-lr-password-close][aria-label="Fermer"]::before,
.lr-register-dialog [data-lr-password-close][aria-label="Fermer"]::after,
.lr-register-dialog [data-lr-email-close][aria-label="Fermer"]::before,
.lr-register-dialog [data-lr-email-close][aria-label="Fermer"]::after,
.lr-register-dialog [data-lr-character-search-close][aria-label="Fermer"]::before,
.lr-register-dialog [data-lr-character-search-close][aria-label="Fermer"]::after,
.lr-register-dialog [data-lr-guild-search-close][aria-label="Fermer"]::before,
.lr-register-dialog [data-lr-guild-search-close][aria-label="Fermer"]::after,
.lr-register-dialog [data-lr-reset-close][aria-label="Fermer"]::before,
.lr-register-dialog [data-lr-reset-close][aria-label="Fermer"]::after,
.lr-register-dialog [data-lr-reset-result-close][aria-label="Fermer"]::before,
.lr-register-dialog [data-lr-reset-result-close][aria-label="Fermer"]::after {
	content: "" !important;
	position: absolute;
	left: 50%;
	top: 50%;
	width: 17px !important;
	height: 2px !important;
	border-radius: 999px;
	background: currentColor !important;
	-webkit-mask: none !important;
	mask: none !important;
	transform-origin: center;
}
.lr-register-dialog button[aria-label="Fermer"]::before,
.lr-register-dialog [aria-label="Fermer"]::before {
	transform: translate(-50%, -50%) rotate(45deg);
}
.lr-register-dialog button[aria-label="Fermer"]::after,
.lr-register-dialog [aria-label="Fermer"]::after {
	transform: translate(-50%, -50%) rotate(-45deg);
}
.lr-register-head {
	display: flex;
	align-items: center;
	gap: 18px;
	margin-bottom: 16px;
	padding-right: 42px;
}
.lr-register-icon {
	width: 54px;
	height: 54px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 16px;
	background: linear-gradient(135deg, #4a90d9, #1a5cb8);
	color: #fff;
	font-size: 28px;
	box-shadow: 0 12px 28px rgba(26, 92, 184, 0.28);
}
.lr-register-kicker {
	display: block;
	margin-bottom: 4px;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 3px;
	text-transform: uppercase;
	color: #6d91c7;
}
.lr-register-head h2 {
	margin: 0;
	font-size: clamp(24px, 3vw, 32px);
	color: #083f8f;
	line-height: 1.08;
}
.lr-register-head p {
	margin: 5px 0 0;
	color: #5578aa;
}
.lr-register-benefits {
	margin-bottom: 18px;
	padding: 14px 18px;
	border: 1px solid rgba(139, 180, 232, 0.42);
	border-radius: 12px;
	background: rgba(255,255,255,0.68);
}
.lr-register-benefits strong {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 6px;
	color: #083f8f;
}
.lr-register-benefits ul {
	margin: 0;
	padding-left: 20px;
	color: #466fa7;
	line-height: 1.45;
}
.lr-register-benefits li::marker { color: #1a5cb8; }
.lr-register-form {
	display: grid;
	grid-template-columns: repeat(2, calc((100% - 24px) / 2));
	gap: 13px 24px;
	align-items: end;
	width: 100%;
	box-sizing: border-box;
}
.lr-register-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
	width: 100%;
	box-sizing: border-box;
}
.lr-register-field--full,
.lr-register-terms,
.lr-register-submit,
.lr-register-login {
	grid-column: 1 / -1;
}
.lr-register-field > span {
	font-size: 13px;
	font-weight: 800;
	color: #153f7f;
}
.lr-register-field input[type="text"],
.lr-register-field input[type="email"],
.lr-register-field input[type="password"],
.lr-register-field select {
	width: 100%;
	box-sizing: border-box;
	min-height: 40px;
	border: 1px solid rgba(96, 143, 204, 0.45);
	border-radius: 8px;
	background: rgba(255,255,255,0.88);
	color: #0b326e;
	padding: 0 13px;
	font: inherit;
	outline: none;
}
.lr-register-field input:focus,
.lr-register-field select:focus {
	border-color: #1a5cb8;
	box-shadow: 0 0 0 3px rgba(26, 92, 184, 0.14);
}
.lr-register-choice {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	width: 100%;
	box-sizing: border-box;
	min-height: 40px;
	padding: 0 13px;
	border: 1px solid rgba(96, 143, 204, 0.3);
	border-radius: 8px;
	background: rgba(255,255,255,0.58);
}
.lr-register-choice label {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-weight: 700;
	color: #315f9a;
}
.lr-register-date {
	display: flex;
	align-items: center;
	width: 100%;
}
.lr-register-date .date-field {
	display: flex;
	justify-content: space-between;
	width: 100%;
	font-size: 0;
}
.lr-register-date .date-field select {
	width: calc((100% - 20px) / 3) !important;
	flex: 0 0 calc((100% - 20px) / 3) !important;
	min-width: 0 !important;
	max-width: none !important;
	font-size: 1rem;
}
.lr-register-captcha img {
	display: block;
	max-width: 100%;
	border-radius: 8px;
}
.lr-register-note,
.lr-register-terms {
	color: #5578aa;
	font-size: 13px;
	line-height: 1.6;
}
.lr-register-terms a {
	color: #0d5ec8;
	font-weight: 800;
}
.lr-register-submit {
	justify-self: center;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-width: 230px;
	min-height: 46px;
	border: 0;
	border-radius: 999px;
	background: linear-gradient(135deg, #4a90d9, #1a5cb8);
	color: #fff;
	font-size: 14px;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: .7px;
	cursor: pointer;
	box-shadow: 0 12px 28px rgba(26, 92, 184, 0.32);
}
.lr-register-login {
	justify-self: end;
	margin-top: -4px;
	color: #5578aa;
	font-size: 13px;
}
.lr-register-login a {
	color: #0d3f8a;
	font-weight: 900;
	text-decoration: underline;
	text-underline-offset: 3px;
}
.lr-reset-confirm-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
}
.lr-reset-confirm-actions .lr-register-submit {
	grid-column: auto;
	text-decoration: none;
}
.lr-reset-cancel {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 140px;
	min-height: 46px;
	border: 1px solid rgba(139, 180, 232, 0.55);
	border-radius: 999px;
	background: rgba(255,255,255,0.86);
	color: #0d3f8a;
	font: inherit;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: .7px;
	cursor: pointer;
}
body.lr-modal-open { overflow: hidden; }

/* FluxCP unitip override */
#unitip {
	z-index: 3000;
	pointer-events: none;
	color: #fff;
	font: 800 12px/1.35 Arial, Helvetica, sans-serif;
}
#unitippoint,
#unitipcap {
	display: none !important;
	width: 0 !important;
	height: 0 !important;
	overflow: visible !important;
	background: none !important;
}
#unitipmid {
	display: block !important;
	width: auto !important;
	min-width: max-content;
	max-width: min(320px, calc(100vw - 32px));
	height: auto !important;
	padding: 10px 14px !important;
	border-radius: 8px;
	background: rgba(20, 24, 31, 0.94) !important;
	box-shadow: 0 12px 28px rgba(4, 18, 42, 0.28);
	white-space: nowrap;
	overflow: visible !important;
	box-sizing: border-box;
}

/* Pages FluxCP ajoutees au theme */
.lr-page-hero {
	max-width: 1120px;
	margin: 0 auto;
	padding: 3rem 1.5rem 1.5rem;
}
.lr-page-hero > div {
	padding: 30px;
	border: 1px solid rgba(139, 180, 232, 0.55);
	border-radius: 18px;
	background:
		linear-gradient(145deg, rgba(255,255,255,0.94), rgba(239,247,255,0.88)),
		url("../img/background.jpg") center / cover no-repeat;
	box-shadow: 0 22px 56px rgba(13, 63, 138, 0.12);
}
.lr-page-kicker {
	display: block;
	margin-bottom: 8px;
	font-size: 11px;
	font-weight: 900;
	letter-spacing: 3px;
	text-transform: uppercase;
	color: #6d91c7;
}
.lr-page-hero h1 {
	margin: 0;
	color: #083f8f;
	font-size: clamp(30px, 4vw, 46px);
	line-height: 1.05;
}
.lr-page-hero p,
.lr-page-panel p {
	margin: 10px 0 0;
	color: #5578aa;
	line-height: 1.6;
}
.lr-page-grid {
	max-width: 1120px;
	margin: 0 auto;
	padding: 0 1.5rem 4rem;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
}
.lr-info-page {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}
.lr-page-panel {
	padding: 22px;
	border: 1px solid rgba(139, 180, 232, 0.55);
	border-radius: 14px;
	background: rgba(255,255,255,0.88);
	box-shadow: 0 14px 34px rgba(13, 63, 138, 0.09);
}
.lr-page-panel--wide {
	grid-column: 1 / -1;
}
.lr-page-panel h2 {
	display: flex;
	align-items: center;
	gap: 9px;
	margin: 0 0 16px;
	color: #083f8f;
	font-size: 20px;
}
.lr-download-card {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 18px;
	border-radius: 12px;
	background: #f4f8ff;
	border: 1px solid rgba(139, 180, 232, 0.42);
}
.lr-download-card strong,
.lr-download-card span {
	display: block;
}
.lr-download-card strong {
	color: #0d3f8a;
	font-size: 18px;
}
.lr-download-card span,
.lr-page-muted {
	color: #7a9cc5;
	font-size: 13px;
}
.lr-page-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 42px;
	padding: 0 18px;
	border-radius: 999px;
	background: linear-gradient(135deg, #4a90d9, #1a5cb8);
	color: #fff;
	text-decoration: none;
	font-size: 13px;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: .5px;
	border: 0;
}
.lr-page-button--secondary {
	background: #fff;
	color: #1a5cb8;
	border: 1px solid #91b8eb;
}
.lr-page-link {
	display: inline-flex;
	margin-top: 14px;
	color: #1a5cb8;
	font-weight: 800;
	text-decoration: none;
}
.lr-page-link:hover { text-decoration: underline; }
.lr-page-list {
	display: grid;
	gap: 10px;
	list-style: none;
}
.lr-page-list li {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	padding: 12px 14px;
	border-radius: 10px;
	background: #f4f8ff;
	border: 1px solid rgba(139, 180, 232, 0.32);
}
.lr-page-list span { color: #5578aa; }
.lr-page-list strong {
	color: #0d3f8a;
	white-space: nowrap;
}
.lr-page-actions {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	margin-top: 18px;
}

/* Liste personnages */
.lr-character-page {
	max-width: 1180px;
	margin: 0 auto;
	padding: 3rem 1.5rem 4rem;
}
.lr-character-hero {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 18px;
	margin-bottom: 18px;
	padding: 28px;
	border: 1px solid rgba(139, 180, 232, 0.55);
	border-radius: 18px;
	background:
		linear-gradient(145deg, rgba(255,255,255,0.94), rgba(239,247,255,0.88)),
		url("../img/background.jpg") center / cover no-repeat;
	box-shadow: 0 22px 56px rgba(13, 63, 138, 0.12);
}
.lr-character-hero h1 {
	margin: 0;
	color: #083f8f;
	font-size: clamp(30px, 4vw, 44px);
	line-height: 1.05;
}
.lr-character-hero p {
	margin: 8px 0 0;
	color: #5578aa;
	line-height: 1.55;
}
.lr-character-filter-btn {
	border-color: rgba(26, 92, 184, 0.22);
	color: #1a5cb8;
	cursor: pointer;
	font: inherit;
	font-weight: 900;
}
.lr-character-filter-btn:hover {
	background: #e8f0fc;
	border-color: #91b8eb;
	color: #0d3f8a;
}
.lr-character-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	margin-bottom: 18px;
	padding: 14px 18px;
	border: 1px solid rgba(139, 180, 232, 0.42);
	border-radius: 12px;
	background: rgba(255,255,255,0.82);
	color: #5578aa;
}
.lr-character-toolbar strong {
	color: #0d3f8a;
	font-size: 22px;
}
.lr-character-toolbar a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: #1a5cb8;
	font-size: 13px;
	font-weight: 900;
	text-decoration: none;
}
.lr-character-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}
.lr-character-card {
	padding: 20px;
	border: 1px solid rgba(139, 180, 232, 0.55);
	border-radius: 14px;
	background: rgba(255,255,255,0.88);
	box-shadow: 0 14px 34px rgba(13, 63, 138, 0.09);
}
.lr-character-card-head {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 14px;
	margin-bottom: 16px;
}
.lr-character-sprite {
	width: 58px;
	height: 58px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 16px;
	background: #f4f8ff;
	border: 1px solid rgba(139, 180, 232, 0.42);
	color: #1a5cb8;
	font-size: 30px;
}
.lr-character-sprite img {
	display: block;
	max-width: 46px;
	max-height: 46px;
	object-fit: contain;
}
.lr-character-card h2 {
	margin: 0;
	font-size: 22px;
	line-height: 1.15;
}
.lr-character-card h2 a,
.lr-character-meta a {
	color: #083f8f;
	text-decoration: none;
}
.lr-character-card h2 a:hover,
.lr-character-meta a:hover {
	text-decoration: underline;
}
.lr-character-card-head span {
	display: block;
	margin-top: 4px;
	color: #6d91c7;
	font-weight: 800;
}
.lr-character-card-head .lr-character-status {
	display: inline-grid;
	place-items: center;
	align-items: center;
	justify-content: center;
	min-width: 72px;
	height: 30px;
	min-height: 30px;
	margin: 0 !important;
	padding: 0 14px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 900;
	line-height: 30px;
	text-align: center;
	box-sizing: border-box;
	transform: translateY(1px);
}
.lr-character-status.is-online {
	background: #dcfce7;
	color: #15803d;
}
.lr-character-status.is-offline {
	background: #eef4ff;
	color: #5578aa;
}
.lr-character-stats {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 10px;
	margin-bottom: 14px;
}
.lr-character-stats div {
	padding: 12px;
	border-radius: 10px;
	background: #f4f8ff;
	border: 1px solid rgba(139, 180, 232, 0.32);
}
.lr-character-stats span {
	display: block;
	margin-bottom: 5px;
	color: #7a9cc5;
	font-size: 11px;
	font-weight: 900;
	text-transform: uppercase;
}
.lr-character-stats strong {
	display: block;
	color: #0d3f8a;
	font-size: 16px;
	overflow-wrap: anywhere;
}
.lr-character-meta {
	display: grid;
	gap: 9px;
	color: #385574;
}
.lr-character-meta > div {
	display: flex;
	align-items: center;
	gap: 9px;
	min-width: 0;
}
.lr-character-meta i {
	color: #1a5cb8;
	font-size: 18px;
}
.lr-character-meta span {
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.lr-character-empty {
	padding: 42px 24px;
	border: 1px solid rgba(139, 180, 232, 0.55);
	border-radius: 14px;
	background: rgba(255,255,255,0.88);
	text-align: center;
	color: #5578aa;
}
.lr-character-empty i {
	color: #1a5cb8;
	font-size: 48px;
}
.lr-character-empty h2 {
	margin: 12px 0 8px;
	color: #083f8f;
}
.lr-character-empty a {
	display: inline-flex;
	margin-top: 14px;
	color: #1a5cb8;
	font-weight: 900;
	text-decoration: none;
}
.lr-character-pagination {
	margin-top: 20px;
	text-align: center;
}
.lr-character-pagination a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 34px;
	height: 34px;
	margin: 0 3px;
	border-radius: 999px;
	border: 1px solid rgba(139, 180, 232, 0.55);
	background: rgba(255,255,255,0.86);
	color: #1a5cb8;
	font-size: 13px;
	font-weight: 900;
	text-decoration: none;
}
.lr-character-pagination a.current-page {
	background: #1a5cb8;
	color: #fff;
	border-color: #1a5cb8;
}
.lr-character-search-dialog {
	width: min(860px, 100%);
}
.lr-character-search-form {
	grid-template-columns: repeat(2, calc((100% - 24px) / 2));
}
.lr-character-inline-filter {
	display: grid;
	grid-template-columns: minmax(120px, .8fr) minmax(0, 1fr);
	gap: 8px;
}
.lr-character-inline-filter input,
.lr-character-inline-filter select {
	width: 100%;
}

/* Donation */
.lr-donate-page {
	max-width: 1120px;
	margin: 0 auto;
	padding: 3rem 1.5rem 4rem;
}
.lr-donate-hero {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 18px;
	margin-bottom: 20px;
	padding: 28px;
	border: 1px solid rgba(139, 180, 232, 0.55);
	border-radius: 18px;
	background:
		linear-gradient(145deg, rgba(255,255,255,0.94), rgba(239,247,255,0.88)),
		url("../img/background.jpg") center / cover no-repeat;
	box-shadow: 0 22px 56px rgba(13, 63, 138, 0.12);
}
.lr-donate-hero h1 {
	margin: 0;
	color: #083f8f;
	font-size: clamp(30px, 4vw, 44px);
	line-height: 1.05;
}
.lr-donate-hero p {
	margin: 8px 0 0;
	color: #5578aa;
	line-height: 1.55;
}
.lr-donate-shop-link {
	border-color: rgba(26, 92, 184, 0.22);
	color: #1a5cb8;
}
.lr-donate-shop-link:hover {
	background: #e8f0fc;
	border-color: #91b8eb;
	color: #0d3f8a;
}
.lr-donate-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(360px, .78fr);
	gap: 20px;
	align-items: start;
}
.lr-donate-panel {
	padding: 24px;
	border: 1px solid rgba(139, 180, 232, 0.55);
	border-radius: 14px;
	background: rgba(255,255,255,0.9);
	box-shadow: 0 14px 34px rgba(13, 63, 138, 0.09);
}
.lr-donate-panel--primary {
	min-height: 100%;
}
.lr-donate-panel h2 {
	display: flex;
	align-items: center;
	gap: 9px;
	margin: 0 0 14px;
	color: #083f8f;
	font-size: 22px;
}
.lr-donate-panel p {
	color: #5578aa;
	line-height: 1.65;
}
.lr-donate-rate-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	margin-top: 20px;
}
.lr-donate-rate-grid div,
.lr-donate-confirm div {
	padding: 16px;
	border-radius: 12px;
	background: #f4f8ff;
	border: 1px solid rgba(139, 180, 232, 0.32);
}
.lr-donate-rate-grid span,
.lr-donate-confirm span {
	display: block;
	margin-bottom: 8px;
	color: #7a9cc5;
	font-size: 11px;
	font-weight: 900;
	text-transform: uppercase;
}
.lr-donate-rate-grid strong,
.lr-donate-confirm strong {
	display: block;
	color: #0d3f8a;
	font-size: 20px;
}
.lr-donate-rate-grid small {
	display: block;
	margin-top: 4px;
	color: #5578aa;
}
.lr-donate-note {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: 18px;
	padding: 14px;
	border-radius: 12px;
	background: #fff7ed;
	border: 1px solid #fed7aa;
	color: #9a3412;
	font-weight: 800;
}
.lr-donate-note i {
	font-size: 22px;
}
.lr-donate-form {
	display: grid;
	gap: 14px;
}
.lr-donate-confirm {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	margin-bottom: 18px;
}
.lr-donate-paypal {
	margin: 18px 0 10px;
	text-align: center;
}
.lr-donate-paypal input[type="image"],
.lr-donate-paypal img {
	max-width: 100%;
	height: auto;
}
.lr-donate-disabled {
	text-align: center;
}
.lr-donate-disabled > i {
	color: #1a5cb8;
	font-size: 48px;
}

/* Pages d'etat simples */
.lr-state-page {
	min-height: calc(100vh - 58px - 56px);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 3rem 1.5rem;
}
.lr-state-card {
	width: min(620px, 100%);
	padding: 34px;
	border: 1px solid rgba(139, 180, 232, 0.55);
	border-radius: 18px;
	background:
		linear-gradient(145deg, rgba(255,255,255,0.96), rgba(239,247,255,0.92)),
		url("../img/background.jpg") center / cover no-repeat;
	box-shadow: 0 22px 56px rgba(13, 63, 138, 0.14);
	text-align: center;
}
.lr-state-icon {
	width: 68px;
	height: 68px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 16px;
	border-radius: 20px;
	background: linear-gradient(135deg, #4a90d9, #1a5cb8);
	color: #fff;
	font-size: 34px;
	box-shadow: 0 12px 28px rgba(26, 92, 184, 0.28);
}
.lr-state-icon > i {
	display: none !important;
}
.lr-state-icon::before {
	content: "";
	display: inline-block;
	width: 36px;
	height: 36px;
	background: currentColor;
	-webkit-mask: var(--lr-state-icon) center / contain no-repeat;
	mask: var(--lr-state-icon) center / contain no-repeat;
	--lr-state-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 8l-4 4l4 4'/%3E%3Cpath d='M5 12h11'/%3E%3Cpath d='M13 4h4a2 2 0 0 1 2 2v12a2 2 0 0 1 -2 2h-4'/%3E%3C/svg%3E");
}
.lr-state-card--warning .lr-state-icon {
	background: linear-gradient(135deg, #f59e0b, #d97706);
	box-shadow: 0 12px 28px rgba(217, 119, 6, 0.22);
}
.lr-state-card h1 {
	margin: 0;
	color: #083f8f;
	font-size: clamp(30px, 4vw, 44px);
	line-height: 1.05;
}
.lr-state-card p {
	margin: 14px auto 0;
	max-width: 500px;
	color: #5578aa;
	font-size: 16px;
	line-height: 1.65;
}
.lr-state-card p strong {
	color: #0d3f8a;
}
.lr-state-card p a {
	color: #1a5cb8;
	font-weight: 900;
}
.lr-state-card .lr-page-actions {
	justify-content: center;
	margin-top: 24px;
}

/* Guild view */
.lr-guild-page {
	max-width: 1180px;
	margin: 0 auto;
	padding: 3rem 1.5rem 4rem;
}
.lr-guild-hero {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 18px;
	margin-bottom: 18px;
	padding: 28px;
	border: 1px solid rgba(139, 180, 232, 0.55);
	border-radius: 18px;
	background:
		linear-gradient(145deg, rgba(255,255,255,0.94), rgba(239,247,255,0.88)),
		url("../img/background.jpg") center / cover no-repeat;
	box-shadow: 0 22px 56px rgba(13, 63, 138, 0.12);
}
.lr-guild-emblem-large {
	width: 76px;
	height: 76px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 20px;
	background: #f4f8ff;
	border: 1px solid rgba(139, 180, 232, 0.42);
	color: #1a5cb8;
	font-size: 38px;
}
.lr-guild-emblem-large img {
	max-width: 48px;
	max-height: 48px;
	image-rendering: pixelated;
}
.lr-guild-hero h1 {
	margin: 0;
	color: #083f8f;
	font-size: clamp(30px, 4vw, 46px);
	line-height: 1.05;
}
.lr-guild-hero p {
	margin: 8px 0 0;
	color: #5578aa;
}
.lr-guild-hero a,
.lr-guild-panel a {
	color: #0d5ec8;
	font-weight: 800;
	text-decoration: none;
}
.lr-guild-hero a:hover,
.lr-guild-panel a:hover {
	text-decoration: underline;
}
.lr-guild-level {
	min-width: 110px;
	padding: 14px;
	border-radius: 14px;
	background: #f4f8ff;
	border: 1px solid rgba(139, 180, 232, 0.42);
	text-align: center;
}
.lr-guild-level span,
.lr-guild-stat-grid span {
	display: block;
	margin-bottom: 6px;
	color: #7a9cc5;
	font-size: 11px;
	font-weight: 900;
	text-transform: uppercase;
}
.lr-guild-level strong {
	color: #0d3f8a;
	font-size: 30px;
}
.lr-guild-stat-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
	margin-bottom: 20px;
}
.lr-guild-stat-grid div,
.lr-guild-panel {
	padding: 18px;
	border: 1px solid rgba(139, 180, 232, 0.55);
	border-radius: 14px;
	background: rgba(255,255,255,0.9);
	box-shadow: 0 14px 34px rgba(13, 63, 138, 0.09);
}
.lr-guild-stat-grid strong {
	display: block;
	color: #0d3f8a;
	font-size: 18px;
	overflow-wrap: anywhere;
}
.lr-guild-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
	margin-bottom: 20px;
}
.lr-guild-panel--wide {
	margin-bottom: 20px;
}
.lr-guild-panel h2 {
	display: flex;
	align-items: center;
	gap: 9px;
	margin: 0 0 14px;
	color: #083f8f;
	font-size: 22px;
}
.lr-guild-notices {
	display: grid;
	gap: 10px;
}
.lr-guild-notices p,
.lr-guild-empty {
	margin: 0;
	color: #5578aa;
	line-height: 1.6;
}
.lr-guild-chip-list {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}
.lr-guild-chip-list span {
	display: inline-flex;
	align-items: center;
	min-height: 34px;
	padding: 0 14px;
	border-radius: 999px;
	background: #e6f0ff;
	color: #0d3f8a;
	font-weight: 800;
}
.lr-guild-chip-list--danger span {
	background: #fee2e2;
	color: #991b1b;
}
.lr-guild-member-list,
.lr-guild-simple-list {
	display: grid;
	gap: 12px;
}
.lr-guild-member,
.lr-guild-simple-list > div {
	padding: 14px;
	border-radius: 12px;
	background: #f4f8ff;
	border: 1px solid rgba(139, 180, 232, 0.32);
}
.lr-guild-member {
	display: grid;
	grid-template-columns: minmax(180px, 1fr) minmax(0, 1.4fr);
	gap: 12px;
	align-items: center;
}
.lr-guild-member h3 {
	margin: 0;
	color: #083f8f;
	font-size: 18px;
}
.lr-guild-member span,
.lr-guild-member small,
.lr-guild-simple-list span {
	color: #5578aa;
}
.lr-guild-member small {
	grid-column: 1 / -1;
}
.lr-guild-member-stats {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: flex-end;
}
.lr-guild-member-stats span {
	display: inline-flex;
	align-items: center;
	min-height: 28px;
	padding: 0 10px;
	border-radius: 999px;
	background: rgba(255,255,255,0.86);
	border: 1px solid rgba(139, 180, 232, 0.32);
	font-size: 12px;
	font-weight: 800;
}
.lr-guild-simple-list strong {
	display: block;
	color: #083f8f;
	margin-bottom: 4px;
}

/* Character detail view */
.lr-character-view-page {
	max-width: 1180px;
	margin: 0 auto;
	padding: 3rem 1.5rem 4rem;
}
.lr-character-view-hero {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 18px;
	margin-bottom: 18px;
	padding: 28px;
	border: 1px solid rgba(139, 180, 232, 0.55);
	border-radius: 18px;
	background:
		linear-gradient(145deg, rgba(255,255,255,0.94), rgba(239,247,255,0.88)),
		url("../img/background.jpg") center / cover no-repeat;
	box-shadow: 0 22px 56px rgba(13, 63, 138, 0.12);
}
.lr-character-view-sprite {
	width: 82px;
	height: 82px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 20px;
	background: #f4f8ff;
	border: 1px solid rgba(139, 180, 232, 0.42);
	color: #1a5cb8;
	font-size: 38px;
}
.lr-character-view-sprite img {
	max-width: 68px;
	max-height: 68px;
	image-rendering: pixelated;
}
.lr-character-view-hero h1 {
	margin: 0;
	color: #083f8f;
	font-size: clamp(32px, 4vw, 50px);
	line-height: 1.05;
}
.lr-character-view-hero p {
	margin: 8px 0 0;
	color: #5578aa;
	font-weight: 700;
}
.lr-character-view-stats {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 12px;
	margin-bottom: 20px;
}
.lr-character-view-stats div,
.lr-character-view-panel {
	padding: 18px;
	border: 1px solid rgba(139, 180, 232, 0.55);
	border-radius: 14px;
	background: rgba(255,255,255,0.9);
	box-shadow: 0 14px 34px rgba(13, 63, 138, 0.09);
}
.lr-character-view-stats span,
.lr-character-view-list span,
.lr-character-attribute-grid span {
	display: block;
	margin-bottom: 6px;
	color: #7a9cc5;
	font-size: 11px;
	font-weight: 900;
	text-transform: uppercase;
}
.lr-character-view-stats strong,
.lr-character-view-list strong,
.lr-character-attribute-grid strong {
	display: block;
	color: #0d3f8a;
	font-size: 18px;
	overflow-wrap: anywhere;
}
.lr-character-view-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
	margin-bottom: 20px;
}
.lr-character-view-panel {
	margin-bottom: 20px;
}
.lr-character-view-panel h2 {
	display: flex;
	align-items: center;
	gap: 9px;
	margin: 0 0 14px;
	color: #083f8f;
	font-size: 22px;
}
.lr-character-view-panel a {
	color: #0d5ec8;
	font-weight: 800;
	text-decoration: none;
}
.lr-character-view-panel a:hover {
	text-decoration: underline;
}
.lr-character-view-panel--wide {
	grid-column: 1 / -1;
}
.lr-character-view-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}
.lr-character-view-list--compact {
	margin-top: 12px;
}
.lr-character-view-list div,
.lr-character-attribute-grid div {
	padding: 14px;
	border-radius: 12px;
	background: #f4f8ff;
	border: 1px solid rgba(139, 180, 232, 0.32);
}
.lr-character-attribute-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}
.lr-inline-emblem,
.lr-item-icon {
	width: 24px;
	height: 24px;
	margin-right: 7px;
	vertical-align: middle;
	image-rendering: pixelated;
}
.lr-character-mini-list {
	display: grid;
	gap: 12px;
}
.lr-character-mini-list > div {
	display: grid;
	grid-template-columns: minmax(180px, 1fr) minmax(0, 1.5fr) auto;
	align-items: center;
	gap: 12px;
	padding: 14px;
	border-radius: 12px;
	background: #f4f8ff;
	border: 1px solid rgba(139, 180, 232, 0.32);
}
.lr-character-mini-list strong {
	color: #083f8f;
	font-size: 17px;
}
.lr-character-mini-list span,
.lr-character-mini-list small,
.lr-character-empty-line {
	color: #5578aa;
}
.lr-character-mini-list small {
	display: inline-grid;
	place-items: center;
	min-height: 28px;
	padding: 0 12px;
	border-radius: 999px;
	background: #eaf1ff;
	color: #4f74ad;
	font-weight: 900;
}
.lr-character-empty-line {
	margin: 0 0 12px;
	line-height: 1.6;
}
.lr-character-table-wrap {
	overflow-x: auto;
	border-radius: 12px;
	border: 1px solid rgba(139, 180, 232, 0.32);
	background: #f4f8ff;
}
.lr-character-table {
	width: 100%;
	min-width: 860px;
	border-collapse: collapse;
}
.lr-character-table th,
.lr-character-table td {
	padding: 12px 14px;
	border-bottom: 1px solid rgba(139, 180, 232, 0.24);
	text-align: left;
	vertical-align: middle;
}
.lr-character-table th {
	color: #6d91c7;
	font-size: 11px;
	font-weight: 900;
	text-transform: uppercase;
	background: rgba(234, 241, 255, 0.82);
}
.lr-character-table td {
	color: #123f82;
	font-weight: 700;
}
.lr-character-table tr:last-child td {
	border-bottom: 0;
}
.lr-character-table tr.is-equipped td {
	background: rgba(217, 232, 255, 0.5);
}

/* Character preferences modal */
.lr-character-prefs-page {
	min-height: calc(100vh - 76px);
}
.lr-character-prefs-modal {
	display: flex;
}
.lr-character-prefs-dialog {
	width: min(640px, 100%);
}
.lr-character-prefs-form {
	gap: 12px;
}
.lr-pref-toggle {
	grid-column: 1 / -1;
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	align-items: center;
	gap: 14px;
	padding: 14px;
	border: 1px solid rgba(139, 180, 232, 0.42);
	border-radius: 12px;
	background: rgba(244, 249, 255, 0.78);
	cursor: pointer;
}
.lr-pref-toggle input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}
.lr-pref-switch {
	position: relative;
	width: 50px;
	height: 28px;
	border-radius: 999px;
	background: #d9e6f8;
	border: 1px solid rgba(96, 143, 204, 0.38);
	transition: background .16s, border-color .16s;
}
.lr-pref-switch::after {
	content: "";
	position: absolute;
	top: 4px;
	left: 4px;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 3px 8px rgba(13, 63, 138, 0.22);
	transition: transform .16s;
}
.lr-pref-toggle input:checked + .lr-pref-switch {
	background: linear-gradient(135deg, #4a90d9, #1a5cb8);
	border-color: rgba(26, 92, 184, 0.45);
}
.lr-pref-toggle input:checked + .lr-pref-switch::after {
	transform: translateX(22px);
}
.lr-pref-toggle input:focus + .lr-pref-switch {
	box-shadow: 0 0 0 3px rgba(26, 92, 184, 0.14);
}
.lr-pref-toggle strong {
	display: block;
	color: #083f8f;
	font-size: 15px;
}
.lr-pref-toggle small {
	display: block;
	margin-top: 4px;
	color: #5578aa;
	line-height: 1.45;
}

/* Item detail view */
.lr-item-view-page {
	max-width: 1180px;
	margin: 0 auto;
	padding: 3rem 1.5rem 4rem;
}
.lr-item-hero {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 18px;
	margin-bottom: 18px;
	padding: 28px;
	border: 1px solid rgba(139, 180, 232, 0.55);
	border-radius: 18px;
	background:
		linear-gradient(145deg, rgba(255,255,255,0.94), rgba(239,247,255,0.88)),
		url("../img/background.jpg") center / cover no-repeat;
	box-shadow: 0 22px 56px rgba(13, 63, 138, 0.12);
}
.lr-item-icon-large {
	width: 86px;
	height: 86px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 20px;
	background: #f4f8ff;
	border: 1px solid rgba(139, 180, 232, 0.42);
	color: #1a5cb8;
	font-size: 38px;
}
.lr-item-icon-large img {
	max-width: 72px;
	max-height: 72px;
	image-rendering: pixelated;
}
.lr-item-hero h1 {
	margin: 0;
	color: #083f8f;
	font-size: clamp(32px, 4vw, 50px);
	line-height: 1.05;
}
.lr-item-hero p {
	margin: 8px 0 0;
	color: #5578aa;
	font-weight: 700;
}
.lr-item-sale-badge {
	min-width: 150px;
	padding: 14px 16px;
	border-radius: 14px;
	border: 1px solid rgba(139, 180, 232, 0.42);
	background: #f4f8ff;
	text-align: center;
}
.lr-item-sale-badge span,
.lr-item-stat-grid span,
.lr-item-list span {
	display: block;
	margin-bottom: 6px;
	color: #7a9cc5;
	font-size: 11px;
	font-weight: 900;
	text-transform: uppercase;
}
.lr-item-sale-badge strong,
.lr-item-stat-grid strong,
.lr-item-list strong {
	display: block;
	color: #0d3f8a;
	font-size: 18px;
	overflow-wrap: anywhere;
}
.lr-item-sale-badge.is-sale {
	background: #e8f7ef;
	border-color: rgba(34, 197, 94, 0.28);
}
.lr-item-sale-badge.is-off strong {
	color: #5578aa;
}
.lr-item-stat-grid {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 12px;
	margin-bottom: 20px;
}
.lr-item-stat-grid div,
.lr-item-panel {
	padding: 18px;
	border: 1px solid rgba(139, 180, 232, 0.55);
	border-radius: 14px;
	background: rgba(255,255,255,0.9);
	box-shadow: 0 14px 34px rgba(13, 63, 138, 0.09);
}
.lr-item-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
	margin-bottom: 20px;
}
.lr-item-panel {
	margin-bottom: 20px;
}
.lr-item-panel h2 {
	display: flex;
	align-items: center;
	gap: 9px;
	margin: 0 0 14px;
	color: #083f8f;
	font-size: 22px;
}
.lr-item-panel a {
	color: #0d5ec8;
	font-weight: 800;
	text-decoration: none;
}
.lr-item-panel a:hover {
	text-decoration: underline;
}
.lr-item-panel--wide {
	grid-column: 1 / -1;
}
.lr-item-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}
.lr-item-list div {
	padding: 14px;
	border-radius: 12px;
	background: #f4f8ff;
	border: 1px solid rgba(139, 180, 232, 0.32);
}
.lr-item-script-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}
.lr-item-script-block {
	padding: 14px;
	border-radius: 12px;
	background: #f4f8ff;
	border: 1px solid rgba(139, 180, 232, 0.32);
}
.lr-item-script-block h3 {
	margin: 0 0 10px;
	color: #083f8f;
	font-size: 16px;
}
.lr-item-script-block pre {
	max-height: 260px;
	margin: 0;
	overflow: auto;
	white-space: pre-wrap;
	color: #123f82;
	font: 700 13px/1.55 Consolas, "Courier New", monospace;
}
.lr-item-script-block p,
.lr-item-empty {
	margin: 0;
	color: #5578aa;
	line-height: 1.6;
}
.lr-item-description {
	color: #123f82;
	line-height: 1.7;
}
.lr-item-table-wrap {
	overflow-x: auto;
	border-radius: 12px;
	border: 1px solid rgba(139, 180, 232, 0.32);
	background: #f4f8ff;
}
.lr-item-table {
	width: 100%;
	min-width: 820px;
	border-collapse: collapse;
}
.lr-item-table th,
.lr-item-table td {
	padding: 12px 14px;
	border-bottom: 1px solid rgba(139, 180, 232, 0.24);
	text-align: left;
	vertical-align: middle;
}
.lr-item-table th {
	color: #6d91c7;
	font-size: 11px;
	font-weight: 900;
	text-transform: uppercase;
	background: rgba(234, 241, 255, 0.82);
}
.lr-item-table td {
	color: #123f82;
	font-weight: 700;
}
.lr-item-table tr:last-child td {
	border-bottom: 0;
}
.lr-item-table small {
	display: block;
	margin-top: 4px;
	color: #7a9cc5;
}
.lr-item-mvp {
	display: inline-grid;
	place-items: center;
	min-height: 24px;
	margin-right: 8px;
	padding: 0 9px;
	border-radius: 999px;
	background: #fee2e2;
	color: #991b1b;
	font-size: 11px;
	font-weight: 900;
}

/* Monster detail view */
.lr-monster-view-page {
	max-width: 1180px;
	margin: 0 auto;
	padding: 3rem 1.5rem 4rem;
}
.lr-monster-hero {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 18px;
	margin-bottom: 18px;
	padding: 28px;
	border: 1px solid rgba(139, 180, 232, 0.55);
	border-radius: 18px;
	background:
		linear-gradient(145deg, rgba(255,255,255,0.94), rgba(239,247,255,0.88)),
		url("../img/background.jpg") center / cover no-repeat;
	box-shadow: 0 22px 56px rgba(13, 63, 138, 0.12);
}
.lr-monster-sprite {
	width: 96px;
	height: 96px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 20px;
	background: #f4f8ff;
	border: 1px solid rgba(139, 180, 232, 0.42);
	color: #1a5cb8;
	font-size: 42px;
}
.lr-monster-sprite img {
	max-width: 86px;
	max-height: 86px;
	image-rendering: pixelated;
}
.lr-monster-hero h1 {
	margin: 0;
	color: #083f8f;
	font-size: clamp(32px, 4vw, 50px);
	line-height: 1.05;
}
.lr-monster-hero p {
	margin: 8px 0 0;
	color: #5578aa;
	font-weight: 700;
}
.lr-monster-badge {
	display: inline-grid;
	place-items: center;
	min-height: 44px;
	padding: 0 20px;
	border-radius: 999px;
	background: #fee2e2;
	border: 1px solid rgba(220, 38, 38, 0.25);
	color: #991b1b;
	font-weight: 900;
}
.lr-monster-stat-grid {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 12px;
	margin-bottom: 20px;
}
.lr-monster-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
	margin-bottom: 20px;
}
.lr-monster-stat-grid div,
.lr-monster-panel {
	padding: 18px;
	border: 1px solid rgba(139, 180, 232, 0.55);
	border-radius: 14px;
	background: rgba(255,255,255,0.9);
	box-shadow: 0 14px 34px rgba(13, 63, 138, 0.09);
}
.lr-monster-panel {
	margin-bottom: 20px;
}
.lr-monster-panel--wide {
	grid-column: 1 / -1;
}
.lr-monster-panel h2 {
	display: flex;
	align-items: center;
	gap: 9px;
	margin: 0 0 14px;
	color: #083f8f;
	font-size: 22px;
}
.lr-monster-panel a {
	color: #0d5ec8;
	font-weight: 800;
	text-decoration: none;
}
.lr-monster-panel a:hover {
	text-decoration: underline;
}
.lr-monster-stat-grid span,
.lr-monster-list span {
	display: block;
	margin-bottom: 6px;
	color: #7a9cc5;
	font-size: 11px;
	font-weight: 900;
	text-transform: uppercase;
}
.lr-monster-stat-grid strong,
.lr-monster-list strong {
	display: block;
	color: #0d3f8a;
	font-size: 18px;
	overflow-wrap: anywhere;
}
.lr-monster-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}
.lr-monster-list div {
	padding: 14px;
	border-radius: 12px;
	background: #f4f8ff;
	border: 1px solid rgba(139, 180, 232, 0.32);
}
.lr-monster-chip-list {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}
.lr-monster-chip-list span {
	display: inline-flex;
	align-items: center;
	min-height: 34px;
	padding: 0 14px;
	border-radius: 999px;
	background: #e6f0ff;
	color: #0d3f8a;
	font-weight: 800;
}
.lr-monster-empty {
	margin: 0;
	color: #5578aa;
	line-height: 1.6;
}
.lr-monster-table-wrap {
	overflow-x: auto;
	border-radius: 12px;
	border: 1px solid rgba(139, 180, 232, 0.32);
	background: #f4f8ff;
}
.lr-monster-table {
	width: 100%;
	min-width: 760px;
	border-collapse: collapse;
}
.lr-monster-table th,
.lr-monster-table td {
	padding: 12px 14px;
	border-bottom: 1px solid rgba(139, 180, 232, 0.24);
	text-align: left;
	vertical-align: middle;
}
.lr-monster-table th {
	color: #6d91c7;
	font-size: 11px;
	font-weight: 900;
	text-transform: uppercase;
	background: rgba(234, 241, 255, 0.82);
}
.lr-monster-table td {
	color: #123f82;
	font-weight: 700;
}
.lr-monster-table tr:last-child td {
	border-bottom: 0;
}

/* Account detail view */
.lr-account-view-page {
	max-width: 1180px;
	margin: 0 auto;
	padding: 3rem 1.5rem 4rem;
}
.lr-account-view-info {
	margin-bottom: 20px;
}
.lr-account-view-actions {
	display: flex;
	justify-content: flex-end;
	margin: -6px 0 20px;
}
.lr-account-admin-panel {
	margin-bottom: 20px;
}
.lr-admin-action-form {
	display: grid;
	gap: 12px;
	margin-top: 14px;
	padding-top: 14px;
	border-top: 1px solid rgba(139, 180, 232, 0.32);
}
.lr-admin-action-form textarea {
	width: 100%;
	min-height: 86px;
	border: 1px solid rgba(96, 143, 204, 0.45);
	border-radius: 8px;
	background: rgba(255,255,255,0.88);
	color: #0b326e;
	padding: 10px 13px;
	font: inherit;
}
.lr-account-view-list {
	display: grid;
	gap: 12px;
}
.lr-account-view-list > div {
	padding: 14px;
	border-radius: 12px;
	background: #f4f8ff;
	border: 1px solid rgba(139, 180, 232, 0.32);
}
.lr-account-view-list strong,
.lr-account-view-list span {
	display: block;
}
.lr-account-view-list strong {
	color: #083f8f;
	margin-bottom: 5px;
}
.lr-account-view-list span {
	color: #5578aa;
}
.lr-account-view-character-grid {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}
.lr-account-view-char-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 14px;
}
.lr-account-view-char-actions a {
	display: inline-flex;
	align-items: center;
	min-height: 30px;
	padding: 0 12px;
	border-radius: 999px;
	background: #e6f0ff;
	color: #0d3f8a;
	font-size: 12px;
	font-weight: 900;
	text-decoration: none;
}
.lr-account-view-char-actions a:hover {
	text-decoration: underline;
}
.lr-account-view-total {
	margin: 16px 0 0;
	color: #5578aa;
}
.lr-account-view-total strong {
	color: #083f8f;
}

/* Responsive hero */
@media (max-width: 600px) {
	.lr-hero-deco-moon  { display: none; }
	.lr-hero-fullscreen { min-height: 430px; }
	.lr-hero-title-fs   { font-size: 2.05rem; }
	.lr-hero-logo-img   { max-height: 66px; }
	.lr-hero-counters   { flex-direction: column; gap: .5rem; border-radius: 16px; padding: .8rem 1.4rem; }
	.lr-hero-counter-sep{ width: 80%; height: 1px; }
	.lr-hero-body       { padding-bottom: 4.8rem; }
	.lr-register-modal { padding: 12px; }
	.lr-register-dialog { padding: 26px 18px 24px; border-radius: 14px; }
	.lr-register-head { align-items: flex-start; padding-right: 34px; }
	.lr-register-form { grid-template-columns: 1fr; }
	.lr-register-date { flex-wrap: wrap; }
	.lr-page-grid,
	.lr-info-page { grid-template-columns: 1fr; padding-left: 1rem; padding-right: 1rem; }
	.lr-page-hero { padding-left: 1rem; padding-right: 1rem; }
	.lr-download-card { align-items: flex-start; flex-direction: column; }
	.lr-character-page { padding: 2rem 1rem 3rem; }
	.lr-character-hero { grid-template-columns: 1fr; justify-items: center; text-align: center; }
	.lr-character-toolbar { align-items: flex-start; flex-direction: column; }
	.lr-character-grid { grid-template-columns: 1fr; }
	.lr-character-card-head { grid-template-columns: auto minmax(0, 1fr); }
	.lr-character-status { grid-column: 1 / -1; justify-self: start; }
	.lr-character-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.lr-character-search-form { grid-template-columns: 1fr; }
	.lr-character-inline-filter { grid-template-columns: 1fr; }
	.lr-donate-page { padding: 2rem 1rem 3rem; }
	.lr-donate-hero { grid-template-columns: 1fr; justify-items: center; text-align: center; }
	.lr-donate-grid,
	.lr-donate-rate-grid,
	.lr-donate-confirm { grid-template-columns: 1fr; }
	.lr-state-page { align-items: flex-start; padding: 2rem 1rem 3rem; }
	.lr-state-card { padding: 26px 18px; }
	.lr-state-card .lr-page-actions { flex-direction: column; }
	.lr-guild-page { padding: 2rem 1rem 3rem; }
	.lr-guild-hero { grid-template-columns: 1fr; justify-items: center; text-align: center; }
	.lr-guild-stat-grid,
	.lr-guild-grid,
	.lr-guild-member { grid-template-columns: 1fr; }
	.lr-guild-member-stats { justify-content: flex-start; }
	.lr-character-view-page { padding: 2rem 1rem 3rem; }
	.lr-character-view-hero { grid-template-columns: 1fr; justify-items: center; text-align: center; }
	.lr-character-view-stats,
	.lr-character-view-grid,
	.lr-character-view-list,
	.lr-character-attribute-grid,
	.lr-character-mini-list > div { grid-template-columns: 1fr; }
	.lr-character-mini-list small { justify-self: start; }
	.lr-item-view-page { padding: 2rem 1rem 3rem; }
	.lr-item-hero { grid-template-columns: 1fr; justify-items: center; text-align: center; }
	.lr-item-sale-badge { width: 100%; }
	.lr-item-stat-grid,
	.lr-item-grid,
	.lr-item-list,
	.lr-item-script-grid { grid-template-columns: 1fr; }
	.lr-monster-view-page { padding: 2rem 1rem 3rem; }
	.lr-monster-hero { grid-template-columns: 1fr; justify-items: center; text-align: center; }
	.lr-monster-stat-grid,
	.lr-monster-grid,
	.lr-monster-list { grid-template-columns: 1fr; }
	.lr-account-view-page { padding: 2rem 1rem 3rem; }
	.lr-account-view-actions { justify-content: stretch; }
	.lr-account-view-actions .lr-page-button { width: 100%; }
	.lr-account-view-character-grid { grid-template-columns: 1fr; }
}
