.accountPopup {
	position: fixed;
	z-index: 6;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	box-sizing: border-box;
	width: min(400px, calc(100vw - 32px));
	padding: 20px;
	border: 1px solid #888173;
	border-radius: 5px;
	background: #e8d9b5 url("../images/bgr_advanced_difficulties.jpg") fixed center / cover;
	color: #4f310f;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	font-size: 15px;
}

.accountPopupTitle {
	display: block;
	margin: 0 0 15px;
	padding-bottom: 10px;
	border-bottom: 1px solid #888173;
	color: #4f310f;
	font-size: 22px;
	font-weight: bold;
}

.accountStatus {
	margin: 0 0 15px;
}

#menu-linkbar > .menu-entry-4 {
	flex-shrink: 0;
	width: 36px;
}

#menu-linkbar .searchDiv,
#menu-linkbar .search {
	min-width: 0;
}

.accountSignedOut {
	filter: grayscale(1);
	opacity: 0.7;
}

.accountWarning {
	outline: 2px solid #b3261e;
	outline-offset: -2px;
}

.loginForm {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.loginLabel {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.loginInput {
	padding: 8px;
	border: 1px solid #888173;
	border-radius: 3px;
	background: #fffaf0;
	color: #2a2c27;
	font: inherit;
}

.loginError {
	min-height: 1.3em;
	margin: 0;
	color: #9c1c14;
}

.loginButton {
	padding: 9px 16px;
	border: 1px solid #888173;
	border-radius: 3px;
	background: #2a2c27;
	color: #f3e6c8;
	font: inherit;
	cursor: pointer;
}

.loginButton:hover:enabled {
	background: #4f310f;
}

.loginButton:disabled {
	opacity: 0.6;
	cursor: default;
}

.loginPage {
	background: #2a2c27;
}
