/* ==========================================
   COMPONENTES BASE (TODOS OS DISPOSITIVOS)
   ==========================================
   Last update: 2025-10-09 - Side filters: 53px desktop, 6px gap
   */

/* ===== BARRA LATERAL ESQUERDA (fundo para destacar controles) ===== */
.sidebar-controls-bg {
	position: fixed;
	top: 0;
	left: 0;
	width: 55px;
	height: 100vh;
	background-image: url('http://erderon.com/wp-content/uploads/2025/10/iron_texture-dark.png');
	background-size: cover;
	background-position: center;
	background-repeat: repeat-y;
	opacity: 1;
	z-index: 999;
	pointer-events: none;
}

/* Tema CLARO */
[data-theme="light"] .sidebar-controls-bg {
	background-image: url('http://erderon.com/wp-content/uploads/2025/10/iron_texture-light.png');
	background-size: cover;
	background-position: center;
	background-repeat: repeat-y;
	opacity: 1;
}

/* ===== BOTÃO BACK TO SITE ===== */
.back-to-site {
	position: fixed;
	bottom: 20px;
	min-height: 0;
	top: clamp(565px, calc(100vh - 20px - 50px), 100vh);
	left: 10px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	z-index: 1100;
	text-decoration: none;
	cursor: pointer;
	transition: all 0.3s ease;
	filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.4));
}

.back-to-site:hover {
	transform: scale(1.1);
	filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.6));
}

/* Tema ESCURO (padrão) */
.back-icon {
	width: 26px;
	height: 26px;
	display: block;
	content: url('http://erderon.com/wp-content/uploads/2025/10/backb-dark.png');
}

/* Tema CLARO */
[data-theme="light"] .back-icon {
	content: url('http://erderon.com/wp-content/uploads/2025/10/backb-light.png');
}

.back-text {
	font-size: 14px;
	font-weight: bold;
	color: white;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
	letter-spacing: 1px;
}

/* ===== BOTÃO DE TOGGLE DE ÁUDIO ===== */
.audio-toggle-btn {
	width: 28px;
	height: 28px;
	background: rgba(30, 30, 30, 0.9);
	border: 2px solid rgba(255, 255, 255, 0.3);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.3s ease;
	filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.4));
}

.audio-toggle-btn:hover {
	transform: scale(1.1);
	filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.6));
	background: rgba(40, 40, 40, 0.95);
}

.audio-toggle-btn:active {
	transform: scale(0.95);
}

.audio-icon {
	font-size: 14px;
	user-select: none;
}

/* Estado muted */
.audio-toggle-btn.muted {
	background: rgba(139, 0, 0, 0.9);
	border-color: rgba(255, 100, 100, 0.5);
}

/* Tema CLARO */
[data-theme="light"] .audio-toggle-btn {
	background: rgba(240, 240, 240, 0.9);
	border-color: rgba(0, 0, 0, 0.3);
}

[data-theme="light"] .audio-toggle-btn:hover {
	background: rgba(255, 255, 255, 0.95);
}

[data-theme="light"] .audio-toggle-btn.muted {
	background: rgba(255, 200, 200, 0.9);
	border-color: rgba(139, 0, 0, 0.5);
}

/* ===== CONTROLES DO MAPA (botões de zoom na direita) ===== */
.map-controls {
	position: absolute;
	bottom: 2vh;
	right: 1.1vw;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2px;
	z-index: 1000;
}

.control-btn {
	width: 26.5px;
	height: 26.5px;
	background-color: transparent !important;
	background-size: contain !important;
	background-repeat: no-repeat !important;
	background-position: center !important;
	border: none !important;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.2s ease;
	user-select: none;
	color: transparent;
	font-size: 0;
}

/* ===== BOTÃO ZOOM IN (+) ===== */
/* Tema ESCURO (padrão) */
#zoomIn {
	background-image: url('http://erderon.com/wp-content/uploads/2025/10/inact-dark-ma.png') !important;
}
#zoomIn:hover {
	background-image: url('http://erderon.com/wp-content/uploads/2025/10/act-dark-ma.png') !important;
}
#zoomIn.at-limit:hover {
	background-image: url('http://erderon.com/wp-content/uploads/2025/10/act-dark-malimit.png') !important;
}

/* Tema CLARO */
[data-theme="light"] #zoomIn {
	background-image: url('http://erderon.com/wp-content/uploads/2025/10/inact-light-ma.png') !important;
}
[data-theme="light"] #zoomIn:hover {
	background-image: url('http://erderon.com/wp-content/uploads/2025/10/act-light-ma.png') !important;
}
[data-theme="light"] #zoomIn.at-limit:hover {
	background-image: url('http://erderon.com/wp-content/uploads/2025/10/act-light-malimit.png') !important;
}

/* ===== BOTÃO ZOOM OUT (-) ===== */
/* Tema ESCURO (padrão) */
#zoomOut {
	background-image: url('http://erderon.com/wp-content/uploads/2025/10/inact-dark-mi.png') !important;
}
#zoomOut:hover {
	background-image: url('http://erderon.com/wp-content/uploads/2025/10/act-dark-mi.png') !important;
}
#zoomOut.at-limit:hover {
	background-image: url('http://erderon.com/wp-content/uploads/2025/10/act-dark-milimit.png') !important;
}

/* Tema CLARO */
[data-theme="light"] #zoomOut {
	background-image: url('http://erderon.com/wp-content/uploads/2025/10/inact-light-mi.png') !important;
}
[data-theme="light"] #zoomOut:hover {
	background-image: url('http://erderon.com/wp-content/uploads/2025/10/act-light-mi.png') !important;
}
[data-theme="light"] #zoomOut.at-limit:hover {
	background-image: url('http://erderon.com/wp-content/uploads/2025/10/act-light-milimit.png') !important;
}

/* ===== BOTÃO RESET ===== */
/* Tema ESCURO (padrão) */
#resetView {
	background-image: url('http://erderon.com/wp-content/uploads/2025/10/inact-dark-reset.png') !important;
}
#resetView:hover {
	background-image: url('http://erderon.com/wp-content/uploads/2025/10/act-dark-reset.png') !important;
}

/* Tema CLARO */
[data-theme="light"] #resetView {
	background-image: url('http://erderon.com/wp-content/uploads/2025/10/inact-light-reset.png') !important;
}
[data-theme="light"] #resetView:hover {
	background-image: url('http://erderon.com/wp-content/uploads/2025/10/act-light-reset.png') !important;
}

.control-btn:active {
	transform: scale(0.95);
}

/* ===== MINIMAP (ao lado da barra esquerda) ===== */
.minimap {
	position: absolute;
	bottom: 2vh;
	left: 70px;
	width: 144px;
	height: 102px;
	background: rgba(255, 255, 255, 0.9);
	border: 2px solid #ddd;
	border-radius: 4px;
	overflow: hidden;
}

.minimap-background {
	position: absolute;
	width: 100%;
	height: 100%;
	background-image: url('http://erderon.com/wp-content/uploads/2025/10/Mapa-Mundi-minimap.jpg');
	background-size: cover;
	background-position: center;
}

.minimap-view {
	position: absolute;
	border: 2px solid #e74c3c;
	background: rgba(231, 76, 60, 0.2);
	pointer-events: none;
}

/* ===== SISTEMA DE BUSCA ===== */
.search-container {
	position: absolute;
	top: 20px;
	left: 75px;
	z-index: 1000;
}

/* ===== SEARCH INPUT ===== */
/* Tema ESCURO (padrão) */
.search-input {
	width: 300px;
	padding: 12px 40px 12px 16px;
	border: none !important;
	border-radius: 0;
	border-left: 10px solid transparent !important;
	border-right: 10px solid transparent !important;
	background-color: transparent !important;
	background-image:
		url('http://erderon.com/wp-content/uploads/2025/10/searchl-dark.png'),
		url('http://erderon.com/wp-content/uploads/2025/10/searchr-dark.png'),
		url('http://erderon.com/wp-content/uploads/2025/10/searchm-dark.png') !important;
	background-position:
		left center,
		right center,
		left center !important;
	background-repeat: no-repeat, no-repeat, repeat-x !important;
	background-size: auto 100%, auto 100%, auto 100% !important;
	background-origin: border-box, border-box, padding-box !important;
	background-clip: border-box, border-box, padding-box !important;
	color: #ffffff !important;
	font-size: 14px;
	font-weight: 500;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.9), 0 1px 2px rgba(0, 0, 0, 1);
	transition: all 0.3s ease;
}

/* Tema CLARO */
[data-theme="light"] .search-input {
	background-image:
		url('http://erderon.com/wp-content/uploads/2025/10/searchl-light.png'),
		url('http://erderon.com/wp-content/uploads/2025/10/searchr-light.png'),
		url('http://erderon.com/wp-content/uploads/2025/10/searchm-light.png') !important;
	color: rgba(255, 255, 255, 1) !important;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.9), 0 1px 2px rgba(0, 0, 0, 1);
}

.search-input:focus {
	outline: none;
	border-left: 10px solid transparent !important;
	border-right: 10px solid transparent !important;
	border-top: none !important;
	border-bottom: none !important;
	box-shadow: none;
}

.search-btn {
	position: absolute;
	right: 8px;
	top: 50%;
	transform: translateY(-50%);
	background: none;
	border: none;
	color: #666;
	cursor: pointer;
	font-size: 16px;
	padding: 4px;
	border-radius: 50%;
	transition: all 0.2s ease;
	z-index: 10005;
	pointer-events: auto;
}

.search-btn:hover {
	background: rgba(74, 144, 226, 0.1);
	color: #4a90e2;
	transform: translateY(-50%) scale(1.2);
}

/* ===== RESULTADOS DE BUSCA ===== */
.search-results {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	background: var(--glass-bg);
	border: 2px solid var(--border-color);
	border-top: none;
	border-radius: 0 0 12px 12px;
	backdrop-filter: blur(10px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	z-index: 2000;
	max-height: 300px;
	overflow-y: auto;
}

.search-results-header {
	padding: 8px 16px;
	font-size: 12px;
	color: var(--text-secondary);
	border-bottom: 1px solid var(--border-color);
	background: var(--bg-secondary);
}

.search-result-item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 16px;
	cursor: pointer;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	transition: background-color 0.2s ease;
	pointer-events: auto;
	z-index: 2001;
}

.search-result-item:last-child {
	border-bottom: none;
}

.search-result-item:hover {
	background: rgba(74, 144, 226, 0.1);
}

.result-image {
	width: 32px;
	height: 32px;
	border-radius: 4px;
	background-size: cover;
	background-position: center;
	background-color: #ddd;
	flex-shrink: 0;
}

.result-content {
	flex: 1;
	min-width: 0;
}

.result-title {
	font-size: 14px;
	font-weight: 600;
	color: var(--text-primary);
	margin-bottom: 2px;
}

.result-subtitle {
	font-size: 12px;
	color: var(--text-secondary);
	margin-bottom: 2px;
}

.result-type {
	font-size: 11px;
	color: var(--text-muted);
	text-transform: uppercase;
	font-weight: 500;
}

.search-no-results {
	padding: 16px;
	text-align: center;
	color: var(--text-muted);
	font-size: 14px;
}


/* ===== SISTEMA DE LOGIN ===== */
.login-container {
	position: absolute;
	top: 20px;
	right: 23px;
	z-index: 1000;
}

/* ===== BOTÃO LOGIN ===== */
/* Tema ESCURO (padrão) */
.login-btn {
	width: 45px;
	height: 45px;
	background-color: transparent !important;
	background-image: url('http://erderon.com/wp-content/uploads/2025/10/login-dark-inact.png') !important;
	background-size: contain !important;
	background-repeat: no-repeat !important;
	background-position: center !important;
	border: none !important;
	border-radius: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	font-size: 0;
	color: transparent;
	transition: all 0.2s ease;
	user-select: none;
	z-index: 10010;
	pointer-events: auto;
}

.login-btn:hover {
	background-image: url('http://erderon.com/wp-content/uploads/2025/10/login-dark-act.png') !important;
	background-color: transparent !important;
	border: none !important;
}

/* Tema CLARO */
[data-theme="light"] .login-btn {
	background-image: url('http://erderon.com/wp-content/uploads/2025/10/login-light-inact.png') !important;
}

[data-theme="light"] .login-btn:hover {
	background-image: url('http://erderon.com/wp-content/uploads/2025/10/login-light-act.png') !important;
}

.login-btn:active {
	transform: scale(0.95);
}

/* Login sempre separado - Desktop e Mobile */
.search-container .login-btn {
	display: none !important;
}

/* ===== FILTROS DE CATEGORIA ===== */
.filter-container {
	position: absolute;
	top: 22px;
	left: 380px;
	right: 80px;
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	z-index: 500;
	pointer-events: none;
}

/* ===== FILTER BUTTONS ===== */
/* Tema ESCURO (padrão) */
.filter-btn {
	padding: 0;
	background-color: transparent !important;
	background-image: url('http://erderon.com/wp-content/uploads/2025/10/filterbutton-dark-inact.png') !important;
	background-size: 100% 100% !important;
	background-repeat: no-repeat !important;
	background-position: center !important;
	border: none !important;
	cursor: pointer;
	font-size: 12px;
	font-weight: bold;
	text-transform: uppercase;
	transition: all 0.3s ease;
	pointer-events: auto;
	color: white !important;
	text-align: center;
	min-width: 120px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.filter-btn:hover {
	transform: scale(1.1);
	background-color: transparent !important;
}

/* Estado ativo - Tema ESCURO */
.filter-btn.active {
	background-color: transparent !important;
	background-image: url('http://erderon.com/wp-content/uploads/2025/10/filterbutton-dark-act.png') !important;
	text-shadow: 0 2px 6px rgba(0, 0, 0, 1);
}

/* Tema CLARO */
[data-theme="light"] .filter-btn {
	background-image: url('http://erderon.com/wp-content/uploads/2025/10/filterbutton-light-inact.png') !important;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.9), 0 1px 2px rgba(0, 0, 0, 1);
}

[data-theme="light"] .filter-btn.active {
	background-image: url('http://erderon.com/wp-content/uploads/2025/10/filterbutton-light-act.png') !important;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.9), 0 1px 2px rgba(0, 0, 0, 1);
}

/* ===== BOTÃO ALL ===== */
/* Tema ESCURO (padrão) */
.filter-btn[data-type="all"] {
	min-width: 80px;
	background-color: transparent !important;
	background-image: url('http://erderon.com/wp-content/uploads/2025/10/allbutton-dark-inact.png') !important;
	background-size: contain !important;
}

.filter-btn[data-type="all"].active {
	background-color: transparent !important;
	background-image: url('http://erderon.com/wp-content/uploads/2025/10/allbutton-dark-act.png') !important;
}

.filter-btn[data-type="all"]:hover {
	background-color: transparent !important;
	background-image: url('http://erderon.com/wp-content/uploads/2025/10/allbutton-dark-inact.png') !important;
}

/* Tema CLARO */
[data-theme="light"] .filter-btn[data-type="all"] {
	background-image: url('http://erderon.com/wp-content/uploads/2025/10/allbutton-light-inact.png') !important;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.9), 0 1px 2px rgba(0, 0, 0, 1);
}

[data-theme="light"] .filter-btn[data-type="all"].active {
	background-image: url('http://erderon.com/wp-content/uploads/2025/10/allbutton-light-act.png') !important;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.9), 0 1px 2px rgba(0, 0, 0, 1);
}

[data-theme="light"] .filter-btn[data-type="all"]:hover {
	background-image: url('http://erderon.com/wp-content/uploads/2025/10/allbutton-light-inact.png') !important;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.9), 0 1px 2px rgba(0, 0, 0, 1);
}

/* ===== SISTEMA DE MENU + SIDE FILTERS (coluna na barra lateral) ===== */
.main-menu {
	position: fixed !important;
	top: 15px !important;
	left: 10px !important;
	z-index: 1100;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	pointer-events: auto;
}

/* ===== BOTÃO MENU ===== */
/* Tema ESCURO (padrão) */
.menu-toggle {
	width: 35px;
	height: 35px;
	background-color: transparent !important;
	background-image: url('http://erderon.com/wp-content/uploads/2025/10/inact-dark-menub.png') !important;
	background-size: contain !important;
	background-repeat: no-repeat !important;
	background-position: center !important;
	border: none !important;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	font-size: 0;
	color: transparent;
	transition: all 0.2s ease;
	user-select: none;
	filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.4));
}

.menu-toggle:hover {
	background-image: url('http://erderon.com/wp-content/uploads/2025/10/act-dark-menub.png') !important;
	background-color: transparent !important;
	border: none !important;
	filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.6));
}

/* Tema CLARO */
[data-theme="light"] .menu-toggle {
	background-image: url('http://erderon.com/wp-content/uploads/2025/10/inact-light-menub.png') !important;
}

[data-theme="light"] .menu-toggle:hover {
	background-image: url('http://erderon.com/wp-content/uploads/2025/10/act-light-menub.png') !important;
}

.menu-toggle:active {
	transform: scale(0.95);
}

.menu-dropdown {
	position: absolute;
	top: 55px;
	left: 0;
	right: auto;
	min-width: 200px;
	background: var(--glass-bg);
	border: 2px solid var(--border-color);
	border-radius: 12px;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
	backdrop-filter: blur(10px);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-10px);
	transition: all 0.3s ease;
	z-index: 1200;
}

.menu-dropdown.active {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.menu-item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 16px;
	cursor: pointer;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	transition: all 0.2s ease;
}

.menu-item:last-child {
	border-bottom: none;
}

.menu-item:hover {
	background: rgba(74, 144, 226, 0.1);
	color: #4a90e2;
}

.menu-item-icon {
	font-size: 16px;
	width: 20px;
	text-align: center;
}

.menu-item-text {
	font-size: 14px;
	font-weight: 500;
}

/* ==========================================
   RESPONSIVIDADE DESKTOP (min-width: 769px)
   ========================================== */

@media (min-width: 769px) {
	.control-btn {
		width: 45px;
		height: 45px;
		font-size: 22px;
	}
}

/* ==========================================
   RESPONSIVIDADE MOBILE (max-width: 768px)
   ========================================== */

@media (max-width: 768px) {
	/* CONTROLES DE ZOOM - APENAS RESET */
	#mapContainer .map-controls {
		top: unset !important;
		bottom: 8vh !important;
		right: 4vw !important;
		left: unset !important;
		gap: 8px;
		position: absolute !important;
	}
	
	.control-btn {
		min-width: 44px;
		min-height: 44px;
		touch-action: manipulation;
		-webkit-tap-highlight-color: transparent;
	}
	
	/* Esconde botões zoom +/- no mobile */
	.control-btn:nth-child(1),
	.control-btn:nth-child(2) {
		display: none;
	}
	
	/* BUSCA MOBILE */
	.search-container {
		position: absolute !important;
		top: 10px !important;
		left: 65px !important;
		right: 60px !important;
		width: auto !important;
	}
	
	/* COMENTADO - Agora controlado por responsive.css */
	/* .search-input {
		width: 100%;
		padding: 10px 75px 10px 12px;
		font-size: 16px;
	} */

	.search-btn {
		right: 8px;
		font-size: 14px;
	}
    
	/* RESULTADOS DE BUSCA MOBILE */
	.search-results {
		z-index: 15000 !important;
	}
	
	.search-result-item {
		pointer-events: auto !important;
		z-index: 15001 !important;
		touch-action: manipulation;
		-webkit-tap-highlight-color: transparent;
	}
	
	.result-image {
		width: 28px;
		height: 28px;
	}
	
	.result-title {
		font-size: 13px;
	}
	
	.result-subtitle {
		font-size: 11px;
	}
	
	.result-type {
		font-size: 10px;
	}
	
	/* LOGIN MOBILE - SEPARADO DO SEARCH */
	.login-container {
		display: block !important;
		position: absolute !important;
		top: 10px !important;
		right: 10px !important;
		z-index: 10000 !important;
	}
	
	/* Login Mobile - Tema ESCURO (padrão) */
	.login-btn {
		width: 44px !important;
		height: 44px !important;
		background-color: transparent !important;
		background-image: url('http://erderon.com/wp-content/uploads/2025/10/login-dark-inact.png') !important;
		background-size: contain !important;
		background-repeat: no-repeat !important;
		background-position: center !important;
		border: none !important;
		border-radius: 0 !important;
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;
		cursor: pointer !important;
		font-size: 0 !important;
		color: transparent !important;
		transition: all 0.2s ease !important;
		user-select: none !important;
		touch-action: manipulation !important;
		-webkit-tap-highlight-color: transparent !important;
		pointer-events: auto !important;
		z-index: 10010 !important;
	}

	.login-btn:hover,
	.login-btn:active {
		background-image: url('http://erderon.com/wp-content/uploads/2025/10/login-dark-act.png') !important;
		background-color: transparent !important;
		border: none !important;
	}

	/* Login Mobile - Tema CLARO */
	[data-theme="light"] .login-btn {
		background-image: url('http://erderon.com/wp-content/uploads/2025/10/login-light-inact.png') !important;
	}

	[data-theme="light"] .login-btn:hover,
	[data-theme="light"] .login-btn:active {
		background-image: url('http://erderon.com/wp-content/uploads/2025/10/login-light-act.png') !important;
	}
	
	/* FILTROS MOBILE - HORIZONTAL ABAIXO DO SEARCH */
	.filter-container {
		top: 60px !important;
		left: 10px !important;
		right: 10px !important;
		flex-direction: row !important;
		justify-content: flex-start !important;
		flex-wrap: wrap !important;
		gap: 4px !important; /* Diminuído de 8px para 4px */
	}
	
	/* CÓPIA EXATA do botão "all" para os outros botões - USA AS MESMAS IMAGENS */
	.filter-container .filter-btn:not([data-type="all"]) {
		width: 58px !important; /* 48px + 20% = 57.6px ≈ 58px */
		height: 58px !important;
		min-width: 58px !important;
		min-height: 58px !important;
		max-width: 58px !important;
		max-height: 58px !important;
		padding: 0 !important;
		margin: 0 !important;
		border-radius: 50% !important;
		font-size: 0 !important;
		text-transform: none !important;
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;
		position: relative !important;
		overflow: hidden !important;
		text-indent: -9999px !important;
		flex-shrink: 0 !important;
		touch-action: manipulation;
		-webkit-tap-highlight-color: transparent;
		background-color: transparent !important;
		background-image: url('http://erderon.com/wp-content/uploads/2025/10/allbutton-dark-inact.png') !important;
		background-size: contain !important;
		background-repeat: no-repeat !important;
		background-position: center !important;
	}

	/* Estado ativo - mesma imagem do "all" ativo */
	.filter-container .filter-btn:not([data-type="all"]).active {
		background-image: url('http://erderon.com/wp-content/uploads/2025/10/allbutton-dark-act.png') !important;
	}

	/* Tema CLARO - mesmas imagens do "all" no tema claro */
	[data-theme="light"] .filter-container .filter-btn:not([data-type="all"]) {
		background-image: url('http://erderon.com/wp-content/uploads/2025/10/allbutton-light-inact.png') !important;
	}

	[data-theme="light"] .filter-container .filter-btn:not([data-type="all"]).active {
		background-image: url('http://erderon.com/wp-content/uploads/2025/10/allbutton-light-act.png') !important;
	}

	/* Botão "todos" mantém estilo REDONDO original */
	.filter-container .filter-btn[data-type="all"] {
		width: 58px !important; /* 48px + 20% = 57.6px ≈ 58px */
		height: 58px !important;
		min-width: 58px !important;
		min-height: 58px !important;
		max-width: 58px !important;
		max-height: 58px !important;
		padding: 0 !important;
		margin: 0 !important;
		border-radius: 50% !important;
		font-size: 0 !important;
		text-transform: none !important;
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;
		position: relative !important;
		overflow: hidden !important;
		text-indent: -9999px !important;
		flex-shrink: 0 !important;
		touch-action: manipulation;
		-webkit-tap-highlight-color: transparent;
	}
	
	.filter-btn::before {
		content: '';
		position: absolute;
		font-size: 16px !important; /* Diminuído de 20px para 16px */
		text-indent: 0 !important;
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;
		width: 100% !important;
		height: 100% !important;
		top: 0 !important;
		left: 0 !important;
	}
	
	.filter-btn[data-type="all"]::before {
		content: '∞';
		font-size: 32px !important; /* Dobro do tamanho normal (16px × 2 = 32px) */
		line-height: 58px !important; /* Centralização vertical = altura do botão */
		transform: translateY(-3px) !important; /* Move o símbolo 3px para cima */
		display: inline-block !important; /* Necessário para transform funcionar */
	}
	.filter-btn.capitals::before { content: '🏛️'; } /* Templo = capital/edifício governamental */
	.filter-btn.castles::before { content: '🏰'; }
	.filter-btn.adventures::before { content: '☠️'; }
	.filter-btn.regions::before { content: '🌎'; }
		
	/* MENU MOBILE */
	.main-menu {
		top: 10px !important;
		left: 10px !important;
	}

	/* FORÇA DESKTOP - sobrescreve mobile se necessário */
	@media (min-width: 769px) {
		.main-menu {
			left: 10px !important;
		}
	}
	
	.menu-toggle {
		width: 35px !important;
		height: 35px !important;
		font-size: 18px !important;
		border-radius: 10px !important;
		touch-action: manipulation;
		-webkit-tap-highlight-color: transparent;
	}
	
	.menu-dropdown {
		top: 50px !important;
		left: 0 !important;
		right: auto !important;
		min-width: 180px !important;
		font-size: 13px !important;
	}
	
	.menu-item {
		padding: 10px 14px !important;
	}
	
	.menu-item-icon {
		font-size: 14px !important;
	}
	
	.menu-item-text {
		font-size: 13px !important;
	}

	/* CORREÇÃO SEARCH MOBILE - Z-INDEX */
	.search-container {
		z-index: 10000 !important;
	}

	.search-input {
		z-index: 10001 !important;
		pointer-events: auto !important;
		position: relative !important;
	}

	.search-btn {
		z-index: 10003 !important;
		pointer-events: auto !important;
	}

	.search-container .login-btn {
		z-index: 99999 !important;
	}
}

/* ===== 8. SISTEMA DE SIDE FILTERS (COA, TAVERNS, etc.) ===== */

/* Wrapper dos side filters (posicionado na esquerda, abaixo do menu) */
.side-filters-wrapper {
	position: fixed !important;
	top: 81px !important;
	left: 10px !important;
	display: flex !important;
	flex-direction: column !important;
	align-items: center !important;
	gap: 6px !important;
	z-index: 1050 !important;
	pointer-events: none !important;
	visibility: visible !important;
	opacity: 1 !important;
}

/* Container individual de cada side filter */
.side-filter-container {
	width: 35px;
	height: 35px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	pointer-events: auto;
}

/* Botão de toggle dos side filters - BASE (35x35 desktop, 44x44 mobile) */
.side-filter-btn {
	width: 35px !important;
	height: 35px !important;
	background: transparent !important;
	border: none !important;
	border-radius: 0 !important;
	cursor: pointer !important;
	padding: 0 !important;
	transition: all 0.2s ease !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	user-select: none !important;
	overflow: visible !important;
	pointer-events: auto !important;
	filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.4));
}

.side-filter-btn:hover {
	background: rgba(0, 0, 139, 0.2);
	box-shadow: 0 2px 10px rgba(0,0,0,0.2);
	transform: scale(1.1);
	filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.6));
}

.side-filter-btn:active {
	transform: scale(0.95);
}

.side-filter-icon {
	background-color: transparent;
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
	pointer-events: none;
	width: 35px;
	height: 35px;
}

/* Elementos das casas no mapa */
.house-element {
	user-select: none;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	position: relative;
}

.house-element:hover {
	z-index: 1001 !important;
}

/* Elementos das raças no mapa */
.race-element {
	user-select: none;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	position: relative;
}

.race-element:hover {
	z-index: 1001 !important;
}


/* Houses escondidos (mesma lógica dos markers) */
.house-element.hidden {
	display: none !important;
	visibility: hidden !important;
	opacity: 0 !important;
	pointer-events: none !important;
}

/* Races escondidos (mesma lógica dos markers) */
.race-element.hidden {
	display: none !important;
	visibility: hidden !important;
	opacity: 0 !important;
	pointer-events: none !important;
}

/* Elementos de inputs no mapa */
.input-element {
	user-select: none;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	position: relative;
}

.input-element:hover {
	z-index: 1001 !important;
}

.input-element.hidden {
	display: none !important;
	visibility: hidden !important;
	opacity: 0 !important;
	pointer-events: none !important;
}

/* Elementos de pois no mapa */
.poi-element {
	user-select: none;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	position: relative;
}

.poi-element:hover {
	z-index: 1001 !important;
}

.poi-element.hidden {
	display: none !important;
	visibility: hidden !important;
	opacity: 0 !important;
	pointer-events: none !important;
}

/* Elementos de ports no mapa */
.port-element {
	user-select: none;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	position: relative;
}

.port-element:hover {
	z-index: 1001 !important;
}

.port-element.hidden {
	display: none !important;
	visibility: hidden !important;
	opacity: 0 !important;
	pointer-events: none !important;
}

/* Elementos de services no mapa */
.service-element {
	user-select: none;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	position: relative;
}

.service-element:hover {
	z-index: 1001 !important;
}

.service-element.hidden {
	display: none !important;
	visibility: hidden !important;
	opacity: 0 !important;
	pointer-events: none !important;
}

/* Elementos de towers no mapa */
.tower-element {
	user-select: none;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	position: relative;
}

.tower-element:hover {
	z-index: 1001 !important;
}

.tower-element.hidden {
	display: none !important;
	visibility: hidden !important;
	opacity: 0 !important;
	pointer-events: none !important;
}

/* NOTA: Estrelinhas de favorito agora usam .marker-favorite-star para TODOS os markers (incluindo Houses) */

/* ===== RESPONSIVIDADE MOBILE ===== */
@media (max-width: 768px) {
	.side-filter-btn:not(.grid-btn) {
		width: 44px !important;
		height: 44px !important;
		touch-action: manipulation;
		-webkit-tap-highlight-color: transparent;
	}

}

/* ===== TEMA CLARO ===== */
.theme-light .side-filter-btn {
	background: transparent;
}

.theme-light .side-filter-btn:hover {
	background: rgba(0, 0, 139, 0.2);
}

/* ===== SISTEMA DE FAVORITOS ===== */

/* Container do botão de favoritos (no topo, abaixo do login) */
.favorites-toggle-container {
	position: absolute;
	top: 90px;
	right: 20px;
	z-index: 1000;
}

/* Botão de toggle dos favoritos - BASE */
.favorites-toggle-btn {
	width: 45px;
	height: 45px;
	background-color: transparent !important;
	background-image: none !important;
	background: transparent !important;
	border: none !important;
	cursor: pointer;
	padding: 0;
	transition: all 0.2s ease;
	display: flex;
	align-items: center;
	justify-content: center;
	user-select: none;
	overflow: hidden;
	pointer-events: auto;
	touch-action: manipulation;
	-webkit-tap-highlight-color: transparent;
}

.favorites-toggle-btn:hover {
	transform: scale(1.05);
}

.favorites-toggle-btn:active {
	transform: scale(0.95);
}

.favorites-toggle-icon {
	width: 50px;
	height: 50px;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	transition: all 0.3s ease;
}

/* Responsivo - MOBILE */
@media (max-width: 768px) {
	.favorites-toggle-container {
		top: 64px !important;
		right: 10px !important;
	}
	
	.favorites-toggle-btn {
		width: 44px !important;
		height: 44px !important;
	}
	
	.favorites-toggle-icon {
		width: 44px !important;
		height: 44px !important;
	}
}

/* Botão de favorito no sidebar */
.sidebar-favorite-button {
	position: fixed;
	top: 20px;
	right: 20px;
	width: 40px;
	height: 40px;
	background: transparent;
	border: none;
	cursor: pointer;
	z-index: 1100;
	padding: 0;
	opacity: 0;
	transition: opacity 0.3s ease 0.3s, transform 0.2s ease;
}

.sidebar-favorite-button:hover {
	transform: scale(1.15);
}

.sidebar-favorite-button:active {
	transform: scale(0.9);
}

.sidebar-favorite-icon {
	width: 100%;
	height: 100%;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	transition: all 0.3s ease;
}

/* Responsivo - Mobile (sidebar button) */
@media (max-width: 768px) {
	.sidebar-favorite-button {
		width: 35px;
		height: 35px;
		right: 15px;
	}
}

/* ===== SPLASH SCREEN DE ENTRADA ===== */
.splash-screen {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-image: url('http://erderon.com/wp-content/uploads/2025/10/Mapa-Mundi-minimap.jpg');
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 99999;
	opacity: 1;
	visibility: visible;
	transition: opacity 0.8s ease, visibility 0.8s ease;
	cursor: pointer;
}

.splash-screen::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(10, 14, 39, 0.75);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	z-index: 1;
}

.splash-screen.hidden {
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
}

.splash-content {
	position: relative;
	z-index: 2;
	text-align: center;
	animation: fadeInUp 1s ease;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
	height: 100%;
	width: 100%;
	padding: 5vh 0;
}

.splash-group-top {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.splash-group-bottom {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-end;
	gap: 8px;
	padding-bottom: 5vh;
}

.splash-logo {
	width: 120px;
	height: 120px;
	margin: 0 auto 20px;
	animation: pulse 2s infinite;
}

.splash-logo-small {
	width: 100%;
	height: 100%;
	object-fit: contain;
	filter: drop-shadow(0 10px 30px rgba(255, 215, 0, 0.4));
}

.splash-title {
	font-size: 14px;
	font-weight: bold;
	color: #c4b9b6;
	margin-bottom: -33px;
	transform: translateY(-10px);
	text-transform: uppercase;
	letter-spacing: 2px;
	text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
	position: relative;
	z-index: 10;
}

.splash-logo-erderon {
	width: 800px;
	height: auto;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
}

.splash-logo-erderon img {
	width: 100%;
	height: auto;
	object-fit: contain;
	filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.8));
}

.splash-subtitle {
	font-size: 22px;
	color: #a8b2d1;
	margin: 0;
	font-weight: 400;
	letter-spacing: 1.5px;
	text-shadow: 0 4px 12px rgba(0, 0, 0, 0.8), 0 2px 6px rgba(0, 0, 0, 0.9);
}

.splash-enter-btn {
	position: relative;
	width: 160px;
	height: 50px;
	padding: 0;
	margin: 0 auto;
	background-color: transparent !important;
	background-image: url('http://erderon.com/wp-content/uploads/2025/10/filterbutton-light-act.png') !important;
	background-size: 100% 100% !important;
	background-repeat: no-repeat !important;
	background-position: center !important;
	border: none !important;
	cursor: pointer;
	transition: all 0.3s ease;
	color: #ffffff;
	font-size: 16px;
	font-weight: bold;
	text-transform: uppercase;
	letter-spacing: 2px;
	text-shadow: 0 4px 8px rgba(0, 0, 0, 0.9), 0 2px 4px rgba(0, 0, 0, 0.8);
	display: flex;
	align-items: center;
	justify-content: center;
}

.splash-enter-btn:hover {
	transform: scale(1.05);
	background-color: transparent !important;
	border: none !important;
}

.splash-enter-btn:active {
	transform: scale(0.95);
}

.splash-hint {
	margin-top: 20px;
	font-size: 14px;
	color: #718096;
	font-style: italic;
}

/* Animações */
@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes pulse {
	0%, 100% {
		transform: scale(1);
	}
	50% {
		transform: scale(1.05);
	}
}

/* Responsivo - Mobile */
@media (max-width: 768px) {
	.splash-content {
		padding: 3vh 0;
	}

	.splash-group-bottom {
		gap: 6px;
		padding-bottom: 3vh;
	}

	.splash-title {
		font-size: 12px;
		letter-spacing: 1.5px;
		margin-bottom: -23px;
	}

	.splash-logo-erderon {
		width: 320px;
		margin: 0 auto;
	}

	.splash-subtitle {
		font-size: 16px;
		margin: 0;
	}

	.splash-enter-btn {
		width: 140px;
		height: 44px;
		font-size: 14px;
		margin: 0 auto;
	}

	.splash-hint {
		font-size: 12px;
	}
}