/* Mapa mundial — tema PoringSaga (integrado ao site) */

html.world-map-site.lg-world-map {
	color-scheme: light;
	min-height: 100%;
	cursor: auto;
	overflow-x: hidden;
	background-color: #e8eaed !important;
	background-image: var(--wm-promo-bg) !important;
	background-repeat: no-repeat !important;
	background-position: center top !important;
	background-size: cover !important;
	background-attachment: scroll !important;
}

html.world-map-site.lg-world-map body {
	background: transparent !important;
	background-image: none !important;
	box-shadow: none !important;
	padding: 0 !important;
	margin: 0;
	min-height: 100%;
	display: block;
}

html.world-map-site .world-map-wrapper,
html.world-map-site .page-box.world-map-page,
html.world-map-site .world-map-layout,
html.world-map-site .world-map-panel {
	background: transparent;
}

html.world-map-site .page-box.world-map-page {
	padding-top: 0;
}

html.world-map-site .world-map-layout {
	max-width: min(1240px, 100%);
}

html.world-map-site .world-map-panel .world-map-panel__body {
	padding: 0 !important;
}

/* Barra de busca + abas (mesma linguagem do info-top-nav) */
html.world-map-site .world-map-toolbar {
	display: grid;
	gap: 1rem;
	padding: 1.15rem clamp(1rem, 2.5vw, 1.45rem);
	background:
		radial-gradient(ellipse 70% 80% at 0% 0%, rgba(78, 172, 255, 0.08) 0%, transparent 55%),
		linear-gradient(180deg, #fff 0%, #f8fbff 100%);
	border-bottom: 1px solid rgba(78, 172, 255, 0.18);
}

@media (min-width: 992px) {
	html.world-map-site .world-map-toolbar {
		grid-template-columns: minmax(240px, 1fr) minmax(320px, auto);
		align-items: end;
		gap: 1.25rem;
	}
}

html.world-map-site .world-map-toolbar__side {
	display: grid;
	gap: 0.65rem;
}

html.world-map-site .world-map-toolbar__feedback {
	margin: 0.45rem 0 0;
	font-size: 0.82rem;
	font-weight: 600;
}

html.world-map-site .world-map-toolbar__feedback.is-hit {
	color: #15803d;
}

html.world-map-site .world-map-toolbar__feedback.is-miss {
	color: #b45309;
}

html.world-map-site .world-map-legend {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem 1rem;
	padding: 0.35rem 0.15rem 0;
	font-size: 0.78rem;
	color: #5a6573;
}

html.world-map-site .world-map-legend__item {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
}

html.world-map-site .world-map-legend__dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	flex-shrink: 0;
}

html.world-map-site .world-map-legend__dot--boss {
	background: linear-gradient(white 1%, red 70%, white 110%);
}

html.world-map-site .world-map-legend__dot--mini {
	background: linear-gradient(white 1%, pink 70%, white 110%);
}

html.world-map-site .world-map-legend__dot--dungeon {
	background: linear-gradient(white 1%, dodgerblue 70%, white 110%);
}

html.world-map-site .wm-back-to-top {
	position: fixed;
	right: 1.1rem;
	bottom: 1.25rem;
	z-index: 1200;
	width: 2.65rem;
	height: 2.65rem;
	border: 1px solid rgba(78, 172, 255, 0.35);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.95);
	color: #1d4ed8;
	font-size: 1.2rem;
	font-weight: 700;
	line-height: 1;
	box-shadow: 0 10px 24px rgba(15, 23, 42, 0.14);
	cursor: pointer;
	transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

html.world-map-site .wm-back-to-top:hover {
	transform: translateY(-2px);
	box-shadow: 0 14px 28px rgba(15, 23, 42, 0.18);
	background: #fff;
}

@media (max-width: 991px) {
	html.world-map-site .world-map-canvas {
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}

	html.world-map-site .world-map-canvas .inner-body {
		min-width: max-content;
	}
}

@media (hover: none), (pointer: coarse), (max-width: 991px) {
	html.world-map-site .world-map-canvas .maps.wm-tile--pinned,
	html.world-map-site .world-map-canvas .maps.wm-tile--pinned:hover,
	html.world-map-site .world-map-canvas .maps.wm-tile--pinned:focus-within {
		z-index: 50000 !important;
	}

	html.world-map-site .world-map-canvas .overlay.wm-tile--pinned .tooltip,
	html.world-map-site .world-map-canvas .overlay.wm-tile--pinned .tooltip-right,
	html.world-map-site .world-map-canvas .overlay.wm-tile--pinned .tooltip-bottom,
	html.world-map-site .world-map-canvas .overlay.wm-tile--pinned .tooltip-bottom-right {
		display: block !important;
		opacity: 1 !important;
		visibility: visible !important;
	}
}

html.world-map-site .world-map-toolbar__label {
	display: block;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #1d4ed8;
	margin-bottom: 0.45rem;
}

html.world-map-site .world-map-toolbar #inputValue {
	width: 100%;
	box-sizing: border-box;
	border: 1px solid rgba(78, 172, 255, 0.35);
	border-radius: 10px;
	padding: 0.58rem 0.75rem;
	font-size: 0.95rem;
	color: #1e293b;
	background: #fff;
	transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

html.world-map-site .world-map-toolbar #inputValue:focus {
	outline: none;
	border-color: #4eacff;
	box-shadow: 0 0 0 3px rgba(78, 172, 255, 0.18);
}

html.world-map-site .world-map-toolbar__hint {
	margin: 0.4rem 0 0;
	font-size: 0.78rem;
	color: #5a6573;
	line-height: 1.45;
}

html.world-map-site .world-map-toolbar .lg-map-nav {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.45rem;
	background: rgba(255, 255, 255, 0.82);
	border: 1px solid rgba(78, 172, 255, 0.18);
	border-radius: 12px;
	padding: 0.55rem;
	margin: 0;
}

@media (min-width: 576px) {
	html.world-map-site .world-map-toolbar .lg-map-nav {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

html.world-map-site .world-map-toolbar .lg-map-nav-btn {
	width: 100%;
	max-width: none;
	box-sizing: border-box;
	margin: 0;
	padding: 0.68rem 0.45rem;
	border-radius: 10px;
	border: 1px solid transparent;
	background: transparent;
	color: #5a6573;
	font-family: "Roboto Condensed", "Open Sans", sans-serif;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	text-align: center;
	cursor: pointer;
	transition: color 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

html.world-map-site .world-map-toolbar .lg-map-nav-btn:hover {
	color: #1d4ed8;
	background: rgba(78, 172, 255, 0.08);
	border-color: rgba(78, 172, 255, 0.2);
	box-shadow: none;
}

html.world-map-site .world-map-toolbar .lg-map-nav-btn.is-active {
	color: #1d4ed8;
	background: rgba(78, 172, 255, 0.14);
	border-color: rgba(78, 172, 255, 0.32);
	box-shadow: inset 0 0 0 1px rgba(78, 172, 255, 0.12);
}

html.world-map-site .world-map-panel.info-panel,
html.world-map-site .world-map-panel .info-panel__body,
html.world-map-site .world-map-panel__body {
	overflow: visible !important;
	z-index: auto;
	isolation: auto;
}

html.world-map-site .world-map-canvas .inner-body,
html.world-map-site .world-map-canvas .section,
html.world-map-site .world-map-canvas .section-container-1,
html.world-map-site .world-map-canvas .section-container-2 {
	overflow: visible;
	isolation: auto;
}

html.world-map-site .world-map-canvas .maps {
	position: relative;
	z-index: 2;
}

html.world-map-site .world-map-canvas .maps:hover,
html.world-map-site .world-map-canvas .maps:focus-within {
	z-index: 50000 !important;
}

html.world-map-site .world-map-canvas .section:has(.maps:hover),
html.world-map-site .world-map-canvas .section:has(.maps:focus-within),
html.world-map-site .world-map-canvas .section-d:has(.maps:hover),
html.world-map-site .world-map-canvas .section-d:has(.maps:focus-within) {
	position: relative;
	z-index: 49999;
}

html.world-map-site .world-map-canvas .maps .overlay {
	position: relative;
	z-index: 1;
}

/* Área do mapa: imagem de fundo sem filtros */
html.world-map-site .world-map-canvas {
	position: relative;
	overflow: visible;
	border-radius: 0 0 16px 16px;
	background-color: #e8eaed;
	background-image: var(--wm-canvas-bg);
	background-position: center center;
	background-size: cover;
	background-repeat: no-repeat;
	box-shadow: none;
	cursor: url("../world/img/cursor/mainc.png"), auto;
}

html.world-map-site .world-map-canvas .inner-body {
	padding: 1.15rem 0.75rem 2rem;
	min-height: 520px;
	background: transparent;
	overflow: visible;
}

html.world-map-site .world-map-canvas .maps .tooltip,
html.world-map-site .world-map-canvas .maps .tooltip-right,
html.world-map-site .world-map-canvas .maps .tooltip-bottom,
html.world-map-site .world-map-canvas .maps .tooltip-bottom-right {
	display: none;
	position: absolute;
	z-index: 50001;
	max-width: none;
	padding: 0;
	margin: 0;
	opacity: 1 !important;
	visibility: visible;
	pointer-events: auto;
	transform: none !important;
	font-size: 12px;
	line-height: normal;
	white-space: nowrap;
	word-wrap: normal;
}

html.world-map-site .world-map-canvas .maps .overlay:hover .tooltip,
html.world-map-site .world-map-canvas .maps .overlay:hover .tooltip-right,
html.world-map-site .world-map-canvas .maps .overlay:hover .tooltip-bottom,
html.world-map-site .world-map-canvas .maps .overlay:hover .tooltip-bottom-right,
html.world-map-site .world-map-canvas .boss-icon:hover .tooltip,
html.world-map-site .world-map-canvas .miniboss-icon:hover .tooltip,
html.world-map-site .world-map-canvas .dungeon-icon:hover .tooltip {
	display: block !important;
	opacity: 1 !important;
	visibility: visible !important;
}

html.world-map-site .world-map-canvas .maps .tooltip-header,
html.world-map-site .world-map-canvas .maps .tooltip-body {
	opacity: 1 !important;
	visibility: visible !important;
}

html.world-map-site .tooltip-fixed-left-panel {
	display: none !important;
}

html.world-map-site .world-map-canvas .maps .tooltip,
html.world-map-site .world-map-canvas .maps .tooltip-bottom {
	font-family: "Open Sans", sans-serif;
}

/* Footer: estilo padrão do site (worldmap.css aplica text-shadow em todos os <a>) */
html.world-map-site .footer.footer-hub {
	position: relative;
	margin-top: 0;
	background: inherit;
	cursor: auto;
}

html.world-map-site .footer.footer-hub a {
	text-shadow: none !important;
	cursor: pointer;
}

html.world-map-site .footer.footer-hub .footer-hub__brand h3 {
	color: #1f2a44;
	text-shadow: none;
}

html.world-map-site .footer.footer-hub .footer-hub__brand p {
	color: #5b6476;
	text-shadow: none;
}

html.world-map-site .footer.footer-hub .footer-hub__title {
	color: #2a3552;
	text-shadow: none;
}

html.world-map-site .footer.footer-hub .footer-hub__links a {
	color: #606a7f;
	text-decoration: none;
	font-size: 0.9rem;
	transition: color 0.2s ease, transform 0.2s ease;
	display: inline-block;
}

html.world-map-site .footer.footer-hub .footer-hub__links a:hover {
	color: #1d4ed8;
	transform: translateX(2px);
}

html.world-map-site .footer.footer-hub .footer-hub__status li {
	color: #4f5b72;
	text-shadow: none;
}

html.world-map-site .footer.footer-hub .footer-hub__meta {
	color: #7a8191;
	text-shadow: none;
}

html.world-map-site .footer.footer-hub .btn {
	text-shadow: none;
	cursor: pointer;
}
