body {
	font-family: sans-serif;
	background-color: #111;
	margin: 0;
	overflow: hidden;
	user-select: none;
}
a {
	color: white;	
}
#zoom {
	touch-action: none;
}
#map {
	position: absolute;
	width: 1776px;
	image-rendering: pixelated;
	top: 0;
	left: 0;
	visibility: hidden;
}
#path-overlay {
	position: absolute;
	pointer-events: none;
	z-index: 3;
}
#obscure-overlay {
	position: absolute;
	margin: 24px;
	width: 1728px;
	height: 1728px;
	image-rendering: pixelated;
	z-index: 1;
	pointer-events: none;
}
#spoiler-overlay {
	position: absolute;
	width: 1776px;
	height: 1776px;
	image-rendering: pixelated;
	z-index: 2;
	pointer-events: none;
}
#overlay {
	position: absolute;
}
.popup, #room-info, #sidebar-info, #sidebar-route, #settings {
	position: relative;
	color: #eee;
	background-color: #222222e0;
	z-index: 3;
	border: 2px solid #222;
	border-radius: 2px;
	padding: 2px;
	line-height: 1em;
	pointer-events: none;
}
#sidebar-info {
	position: fixed;
	max-height: 600px;
	overflow-y: auto;
	pointer-events: auto;
	top: 16px;
	left: 16px;
	user-select: text;
}
.sidebar-title {
	font-size: x-large;
}
.sidebar-item-name {
	font-size: x-large;
	margin-top: 12px;
}
.item-list {
	width: 440px;
}
.category {
	font-size: small;
	font-weight: bold;
	margin-top: 8px;
}
.step-panel {
	padding: 3px;
	display: flex;
	align-items: center;
}
.step-panel:hover {
	background-color: #333333e0;
}
.step-panel.selected {
	background-color: #444480e0;
}
.step-number {
	font-size: small;
	font-weight: bold;
	text-align: right;
	width: 16px;
	height: 16px;
	margin-right: 8px;
}
.step-whole-map {
	font-size: small;
	font-weight: bold;
	margin-right: 8px;
}
.hidden {
	display: none;
}
.popup {
	display: none;
	z-index: 2;
}
.icon.spoil:hover + .popup {
	display: block;
	width: auto;
}
.icon, .ui-icon, .ui-icon-hoverable {
	background-image: url("items.png");
	width: 16px;
	height: 16px;
	background-size: 384px;
	image-rendering: pixelated;
	transition: transform 200ms ease;
}
.icon {
	position: absolute;
}
.ui-icon, .ui-icon-hoverable {
	display: inline-block;
	margin-top: 1px;
	margin-bottom: 1px;
	margin-left: 1px;
	margin-right: 1px;
}
.icon.spoil:hover {
	transform: scale(2);
	z-index: 2;
}
.ui-icon-hoverable:hover {
	transform: scale(2);
	z-index: 2;
}
.ui-icon-hoverable.selected {
	transform: scale(1.5);
}
.button {
	background-color: #36f;
	border-radius: 2px;
	font-weight: bold;
	text-align: center;
	padding: 5px;
	cursor: pointer;
	width: 200px;
	margin:auto;
}
#msg-wrap {
	position:fixed;
	display:none;
	top:0px;
	left:0px;
	right:0px;
	bottom:0px;
	justify-content: center;
	align-items: center;
	z-index: 4;
}

.msg {
	background: #222;
	color: #eee;
	background-color: #222;
	z-index: 4;
	border-radius: 2px;
	padding: 8px;
	max-width: 600px;
}
.msg-title {
	text-align: center;
	margin: 10px;
}
#helpForm {
	margin:auto;
	margin-bottom:2px;
	width:fit-content;
}
.flag {
	image-rendering: pixelated;
	position: absolute;
}
.flag.spoil:hover {
	transform: scale(1.5);
	z-index: 2;
}
.flag.spoil:hover + .popup {
	display: block;
	z-index: 2;
}
.start {
	image-rendering: pixelated;
	position: absolute;
	z-index: 2;
}
.start:hover {
	transform: scale(1.5);
	z-index: 2;
}
.start:hover + .popup {
	display: block;
	z-index: 2;
}
.ship {
	image-rendering: pixelated;
	position: absolute;
}
.ship.spoil:hover {
	transform: scale(1.5);
	z-index: 2;
}
.ship.spoil:hover + .popup {
	display: block;
	z-index: 2;
}
.ui-flag {
	height: 24px;
	margin: 2px;
}
.ui-flag.selected {
	transform: scale(1.5);
}
.ui-flag:hover {
	transform: scale(1.5);
}
#settings {
	top: 16px;
	right: 16px;
	position: fixed;
	pointer-events: auto;
}
#settingsCog {
	float:right;
}
#settingsForm {
	align-content:center;
	clear:top;
}
#sublabel {
	position:relative;
	left:10px;
}
