

/*  style ------ Ipacamod  */

/*字体!!*/
@font-face {
	font-family: 'HarmonyOS';
	font-display: swap;
	src: url('https://ipacel.cc/dav/HarmonyOS_Sans_SC_Medium.subset.woff2') format('woff2');
}
@font-face {
	font-family: 'JetBrainsMono';
	font-display: swap;
	src: url('https://ipacel.cc/dav/JetBrainsMono-Regular.woff2') format('woff2');
}

/*光标*/
html, .map, .map:active, .dynmap{cursor:url('https://ipacel.cc/dav/command.png'),default !important}
body a, button, td, .player, .leaflet-interactive{cursor:url('https://ipacel.cc/dav/command_2.png'),default !important}


.dynmap > .map{
	background:#18191c!important;
}


/*使其不显示*/
.leaflet-control-zoom, /*放大缩小*/
.coord-control-label, /*"当前坐标"这段文字*/
.compass, /*指南针, 没找到配置*/
br{
	display:none!important;
}

/*字体*/
body, *{
	font-family: 'JetBrainsMono', 'PingFang SC', 'HarmonyOS' !important;
}

/*选中文本高亮*/
::selection{background:#06B0FF33}

/*工具栏 地图按钮*/
.dynmap .sublist .item{border-radius:1px}
.dynmap .sublist .item.selected{border:1px solid #008fff}


/*顶部错误信息*/
.alertbox{background-color:#008fff;border:0}

/*坐标显示*/
.dynmap .coord-control{
	border-radius:1px;
	margin:15px;
	padding:5px;
	width:fit-content;
	background-color:rgba(0,0,0,0.6);
	border:1px solid rgba(0,0,0,0.2);
	border-top:1px solid #008fff;
	/*文字*/
	color:#fff;
	font-size:0.875em;
}




/*玩家名称*/
.dynmap .playerNameSm{
	border-radius:0;
    margin-top:3px;
    padding:0 4px;
}
/*使玩家头像和名称往下移动一些*/
.dynmap .playerMarker{
	top: 5px;
}


/*地标名称*/
.dynmap .mapMarker .markerName{
	top: -10px !important;
	border-radius: 0 !important;
    padding: 1px 6px 1px 5px !important;
	
	/*始终显示*/
	display: block;
    position: absolute;
    z-index: 16;
    white-space: nowrap;
    background: rgba(0,0,0,0.6);
}
.dynmap .mapMarker .markerName_huskhomes\:dynmap\/warp_markers{
	border-left: 2px solid #55FFFF;
}
.dynmap .mapMarker .markerName_huskhomes\:dynmap\/public_home_markers{
	border-left: 2px solid #55FF55;
}

/*一个错位和溢出*/
.dynmap .leaflet-interactive{
	width: 0px;
    height: 0px;
}
/*白色悬浮框位置*/
.leaflet-fade-anim .leaflet-map-pane .leaflet-popup{
	bottom: -34px !important;
    left: 10px !important;
}
	/*白色悬浮框圆角*/
	.leaflet-popup-content-wrapper{
		border-radius: 0;
	}
	/*白色悬浮框大小*/
	.leaflet-popup-content {
		width: max-content;
		max-width: 320px;
		margin: 5px 10px 5px 7px;
	}
		.MarkerPopup p{
		    margin-top: 5px;
			margin-bottom: 0;
		}
		.MarkerPopup p:nth-child(1){
			font-weight: bold;
		}
		.MarkerPopup p:nth-child(2){
			padding: 0 0 0 10px;
		}
		.MarkerPopup p:nth-child(2)::before{
			content: "- ";
		}
		.MarkerPopup p:nth-child(2):empty{
			display: none;
		}
		.MarkerPopup p:nth-child(3){
			margin-top: 2px;
			border-top: 1px solid #ddd;
			padding-top: 2px;
			user-select: all;
		}


.leaflet-popup-tip-container {display: none;}
.leaflet-container a.leaflet-popup-close-button {display: none;}


/*跟随玩家 白色方框*/
.dynmap .playerlist .player.following{border-radius:1px}

/*坐标显示, 行内转为块级*/
.dynmap .coord-control-value{
	display:block;
}

/*链接生成按钮*/
.dynmap .dynmap-link{
	border-radius:0;
	background-color:transparent;
}
.dynmap .dynmap-link a{
	border-radius:0;
	background-color:transparent;
}
.dynmap .dynmap-link a:hover{
	background-color:transparent;
}
.dynmap .dynmap-link-button {
	background-image:url(images/external-link.svg);
	filter:brightness(150%);
}


/*鼠标移出变透明*/
.map .coord-control, /*显示坐标*/
.dynmap .dynmap-link, /*链接*/
.dynmap .hitbar{
	transition: 0.7s 0.2s all;
	opacity: 0;
}
.map:hover .coord-control,
.map:hover .dynmap-link,
.dynmap:hover .hitbar{
	transition: 0.4s all;
	opacity: 1;
}


/*解决hitbar打不开, 使hitbar移动时透明*/
.dynmap .hitbar:hover{
	transition: all 2.5s, opacity 0.3s;
}
.dynmap .sidebar:hover .hitbar{
	opacity: 0;
}


/*世界边界*/
.dynmap .leaflet-interactive{
    stroke:#06b0ff!important;
	stroke-width:2!important;
	stroke-opacity:0.7!important;
}


/*网格背景*/
.dynmap .map{
    background-image: 
		linear-gradient(90deg, rgba(164, 164, 164, 0.12) 10%,rgba(0, 0, 0, 0) 10%),
		linear-gradient(rgba(164, 164, 164, 0.12) 10%, rgba(0, 0, 0, 0) 10%)!important;
	background-size: 15px 15px!important;
}
.leaflet-layer{position:static!important}/*消除新视图空白区域加载的黑色背景*/
.leaflet-tile{background:transparent!important}/*消除新加载图块的黑色背景*/









