@font-face {
	font-family: "Minecraft";
	src: url("fonts/1_Minecraft-Regular.woff") format("woff");
	font-weight: normal;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Minecraft";
	src: url("fonts/2_Minecraft-Italic.woff") format("woff");
	font-weight: normal;
	font-style: italic;
	font-display: swap;
}

@font-face {
	font-family: "Minecraft";
	src: url("fonts/3_Minecraft-Bold.woff") format("woff");
	font-weight: bold;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Minecraft";
	src: url("fonts/4_Minecraft-BoldItalic.woff") format("woff");
	font-weight: bold;
	font-style: italic;
	font-display: swap;
}

.invslot-item {
	position: relative;
	display: inline-block;
	background: #8B8B8B no-repeat center center / 32px 32px;
	border: 2px solid;
	border-color: #373737 #FFF #FFF #373737;
	width: 32px;
	height: 32px;
	font-size: 16px;
	line-height: 1;
	text-align: left;
	vertical-align: bottom;
	margin: 0;
	padding: 0;

	a:first-child {
		position: relative;
		display: block;
		margin: -2px;
		padding: 2px;
		width: 32px;
		height: 32px;
	}

	img {
		image-rendering: pixelated;
		width: 32px;
		height: 32px;
	}
}

.format-bold {
	font-weight: bold;
}

.format-strikethrough {
	text-decoration: line-through 3px;
}

.format-underline {
	text-decoration: underline 3px;
	text-decoration-skip-ink: none;
}

.format-italic {
	font-style: italic;
}

#minetip-tooltip {
	color: #FBFBFB;
	text-shadow: 0.125em 0.125em 0 color-mix(in srgb, currentColor 25%, #000 75%);
	position: fixed;
	top: 0;
	left: 0;
	background-color: rgba(16, 0, 16, 0.9);
	padding: 0.375em;
	font-family: Minecraft, monospace;
	font-size: 1.25em;
	line-height: 1.1em;
	white-space: nowrap;
	margin: 0.125em 0.25em;
	pointer-events: none;
	z-index: 9999;
}

#minetip-tooltip::before {
	content: "";
	position: absolute;
	top: 0.125em;
	right: -0.125em;
	bottom: 0.125em;
	left: -0.125em;
	border-style: none solid;
	border-color: rgba(16, 0, 16, 0.9);
}

#minetip-tooltip::after {
	content: "";
	position: absolute;
	top: 0.125em;
	right: 0;
	bottom: 0.125em;
	left: 0;
	border: 0.125em solid #2D0A63;
	border-image: -webkit-linear-gradient(rgba(80, 0, 255, 0.3), rgba(40, 0, 127, 0.3)) 1;
	border-image: linear-gradient(rgba(80, 0, 255, 0.3), rgba(40, 0, 127, 0.3)) 1;
}

#minetip-tooltip > .minetip-description {
	display: block;
	margin-top: 0.25em;
}
