/* Lunara Living World Map - V52 Wide Three Villages Layout */

/* Forza il pannello Live Map a comportarsi come una sezione larga, stile visual/wiki. */
html body[data-lunara-patch="forge-v26-clean-live"] .lunara-v12-world-panel[data-lunara-worldmap].lunara-worldmap-three-mode{
	width:min(100%, 1180px)!important;
	max-width:1180px!important;
	margin-left:auto!important;
	margin-right:auto!important;
	padding:22px 24px 26px!important;
}

/* Header più largo, non più stretto al centro. */
html body[data-lunara-patch="forge-v26-clean-live"] .lunara-v12-world-panel[data-lunara-worldmap].lunara-worldmap-three-mode .lunara-v12-section-head{
	width:100%!important;
	max-width:100%!important;
	margin-left:0!important;
	margin-right:0!important;
	padding-bottom:16px!important;
	border-bottom:1px solid rgba(126,226,255,.14)!important;
}

/* Griglia principale: 3 mappe vere affiancate, larghe quanto il contenitore. */
html body[data-lunara-patch="forge-v26-clean-live"] .lunara-worldmap-three-grid{
	display:grid!important;
	grid-template-columns:repeat(3, minmax(0, 1fr))!important;
	gap:18px!important;
	align-items:start!important;
	width:100%!important;
	max-width:100%!important;
	margin:18px 0 0!important;
}

/* Card più pulite e leggibili */
html body[data-lunara-patch="forge-v26-clean-live"] .lunara-worldmap-three-card{
	min-width:0!important;
	border:1px solid rgba(126,226,255,.20)!important;
	background:rgba(2,9,14,.78)!important;
	border-radius:14px!important;
	overflow:hidden!important;
	box-shadow:inset 0 0 0 1px rgba(255,255,255,.025),0 18px 48px rgba(0,0,0,.34)!important;
}

html body[data-lunara-patch="forge-v26-clean-live"] .lunara-worldmap-three-card.realm-shinsoo{
	border-color:rgba(255,107,107,.26)!important;
}

html body[data-lunara-patch="forge-v26-clean-live"] .lunara-worldmap-three-card.realm-chunjo{
	border-color:rgba(255,211,107,.26)!important;
}

/* Titoli completi: niente JINNO... troncato. */
html body[data-lunara-patch="forge-v26-clean-live"] .lunara-worldmap-three-head{
	display:flex!important;
	align-items:center!important;
	justify-content:space-between!important;
	gap:10px!important;
	padding:11px 13px!important;
	border-bottom:1px solid rgba(255,255,255,.06)!important;
	background:linear-gradient(180deg,rgba(15,39,52,.78),rgba(6,16,24,.62))!important;
}

html body[data-lunara-patch="forge-v26-clean-live"] .lunara-worldmap-three-title{
	font-size:12px!important;
	font-weight:950!important;
	letter-spacing:.35px!important;
	text-transform:uppercase!important;
	color:#eafcff!important;
	white-space:normal!important;
	overflow:visible!important;
	text-overflow:clip!important;
	line-height:1.25!important;
}

html body[data-lunara-patch="forge-v26-clean-live"] .lunara-worldmap-three-title:before{
	content:""!important;
	display:inline-block!important;
	width:7px!important;
	height:7px!important;
	border-radius:50%!important;
	background:#7ee2ff!important;
	box-shadow:0 0 10px rgba(126,226,255,.75)!important;
	margin-right:7px!important;
	vertical-align:middle!important;
}

html body[data-lunara-patch="forge-v26-clean-live"] .realm-shinsoo .lunara-worldmap-three-title:before{
	background:#ff6b6b!important;
	box-shadow:0 0 10px rgba(255,107,107,.75)!important;
}

html body[data-lunara-patch="forge-v26-clean-live"] .realm-chunjo .lunara-worldmap-three-title:before{
	background:#ffd36b!important;
	box-shadow:0 0 10px rgba(255,211,107,.75)!important;
}

html body[data-lunara-patch="forge-v26-clean-live"] .lunara-worldmap-three-count{
	font-size:11px!important;
	font-weight:900!important;
	color:#b8d3df!important;
	white-space:nowrap!important;
}

/* La mappa occupa tutta la card mantenendo il rapporto reale 171:214. */
html body[data-lunara-patch="forge-v26-clean-live"] .lunara-worldmap-three-map{
	position:relative!important;
	width:100%!important;
	aspect-ratio:171 / 214!important;
	background:rgba(2,8,12,.92)!important;
	overflow:hidden!important;
}

html body[data-lunara-patch="forge-v26-clean-live"] .lunara-worldmap-three-map img{
	display:block!important;
	width:100%!important;
	height:100%!important;
	object-fit:fill!important;
	filter:none!important;
	opacity:1!important;
	image-rendering:auto!important;
	transform:none!important;
}

/* Puntini piccoli e puliti */
html body[data-lunara-patch="forge-v26-clean-live"] .lunara-worldmap-three-layer{
	position:absolute!important;
	inset:0!important;
	pointer-events:none!important;
	z-index:3!important;
}

html body[data-lunara-patch="forge-v26-clean-live"] .lunara-worldmap-three-dot{
	position:absolute!important;
	width:4px!important;
	height:4px!important;
	margin-left:-2px!important;
	margin-top:-2px!important;
	border-radius:50%!important;
	background:#7ee2ff!important;
	border:1px solid rgba(255,255,255,.68)!important;
	box-shadow:0 0 4px rgba(126,226,255,.75)!important;
}

html body[data-lunara-patch="forge-v26-clean-live"] .lunara-worldmap-three-dot.empire-1{
	background:#ff6b6b!important;
	box-shadow:0 0 4px rgba(255,107,107,.70)!important;
}

html body[data-lunara-patch="forge-v26-clean-live"] .lunara-worldmap-three-dot.empire-2{
	background:#ffd36b!important;
	box-shadow:0 0 4px rgba(255,211,107,.70)!important;
}

html body[data-lunara-patch="forge-v26-clean-live"] .lunara-worldmap-three-dot.empire-3{
	background:#7ee2ff!important;
	box-shadow:0 0 4px rgba(126,226,255,.75)!important;
}

/* Empty box più discreto */
html body[data-lunara-patch="forge-v26-clean-live"] .lunara-worldmap-three-empty{
	position:absolute!important;
	left:12px!important;
	right:12px!important;
	bottom:12px!important;
	padding:8px 10px!important;
	border-radius:9px!important;
	background:rgba(0,0,0,.56)!important;
	border:1px solid rgba(255,255,255,.07)!important;
	color:#b8d3df!important;
	font-size:11px!important;
	font-weight:700!important;
	z-index:4!important;
}

/* Nasconde la vecchia visualizzazione singola mappa dentro la tab live map */
html body[data-lunara-patch="forge-v26-clean-live"] .lunara-worldmap-three-mode .lunara-worldmap-toolbar,
html body[data-lunara-patch="forge-v26-clean-live"] .lunara-worldmap-three-mode .lunara-worldmap-realms,
html body[data-lunara-patch="forge-v26-clean-live"] .lunara-worldmap-three-mode .lunara-live-worldmap-wrap,
html body[data-lunara-patch="forge-v26-clean-live"] .lunara-worldmap-three-mode .lunara-live-map-info{
	display:none!important;
}

/* Tablet */
@media(max-width:1100px){
	html body[data-lunara-patch="forge-v26-clean-live"] .lunara-v12-world-panel[data-lunara-worldmap].lunara-worldmap-three-mode{
		width:min(100%, 820px)!important;
		max-width:820px!important;
	}
	html body[data-lunara-patch="forge-v26-clean-live"] .lunara-worldmap-three-grid{
		grid-template-columns:repeat(2, minmax(0, 1fr))!important;
	}
}

/* Mobile */
@media(max-width:720px){
	html body[data-lunara-patch="forge-v26-clean-live"] .lunara-v12-world-panel[data-lunara-worldmap].lunara-worldmap-three-mode{
		width:100%!important;
		max-width:100%!important;
		padding:16px 12px 20px!important;
	}
	html body[data-lunara-patch="forge-v26-clean-live"] .lunara-worldmap-three-grid{
		grid-template-columns:1fr!important;
		gap:14px!important;
	}
}
