#yvp-gallery-login {
	box-sizing: border-box;
	position: fixed;
	inset: 0;
	margin: auto;
	width: min(25rem, calc(100% - 2rem));
	height: fit-content;
	max-height: calc(100vh - 2rem);
	max-height: calc(100dvh - 2rem);
	overflow: auto;
	overscroll-behavior: contain;
	padding: clamp(1.35rem, 4vw, 2rem);
	border: 1px solid rgba(255, 255, 255, .8);
	border-radius: 10px;
	background: #faf9f7;
	color: #2e2a26;
	box-shadow: 0 18px 65px rgba(0, 0, 0, .33), 0 3px 12px rgba(0, 0, 0, .14);
	font: 400 15px/1.45 Lato, Roboto, sans-serif;
	text-align: left;
}
#yvp-gallery-login:not([open]) { display: none; }
#yvp-gallery-login::backdrop {
	background: rgba(20, 18, 16, .25);
	-webkit-backdrop-filter: blur(7px);
	backdrop-filter: blur(7px);
}
html.yvp-login-open, html.yvp-login-open body { overflow: hidden !important; }
#yvp-gallery-login .yvp-login-heading {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	margin: 0 0 22px;
}
#yvp-gallery-login h2 {
	margin: 0;
	color: inherit;
	font: 500 24px/1.2 Lato, Roboto, sans-serif;
	letter-spacing: normal;
	text-transform: none;
}
#yvp-gallery-login .yvp-login-close {
	display: grid;
	place-items: center;
	flex: 0 0 36px;
	width: 36px;
	height: 36px;
	margin: -4px -6px -4px 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: #514b44;
	font: 400 28px/1 Arial, sans-serif;
	cursor: pointer;
}
#yvp-gallery-login .yvp-login-close:hover { background: #eae6e1; }
#yvp-gallery-login .tml, #yvp-gallery-login form {
	position: static;
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
}
#yvp-gallery-login .tml-field-wrap { margin: 0 0 14px; }
#yvp-gallery-login label {
	color: #37332e;
	font: 400 14px/1.4 Lato, Roboto, sans-serif;
	letter-spacing: normal;
	text-transform: none;
}
#yvp-gallery-login .tml-label { display: block; margin: 0 0 5px; }
#yvp-gallery-login .tml-field {
	box-sizing: border-box;
	width: 100%;
	height: 43px;
	margin: 0;
	padding: 7px 11px;
	border: 1px solid #bcb7b0;
	border-radius: 4px;
	background: #fff;
	color: #26231f;
	font: 400 16px/1.4 Lato, Roboto, sans-serif;
}
#yvp-gallery-login .tml-pwd .tml-field { padding-right: 44px; }
#yvp-gallery-login .tml-toggle-pwd { color: #57514b; }
#yvp-gallery-login :is(input, button, a):focus-visible {
	outline: 2px solid #985016;
	outline-offset: 2px;
}
#yvp-gallery-login .tml-rememberme-wrap { display: flex; align-items: center; gap: 8px; margin: 17px 0; }
#yvp-gallery-login .tml-rememberme-wrap :is(input, label) { margin: 0; }
#yvp-gallery-login .tml-checkbox { accent-color: #9a4a0f; }
#yvp-gallery-login .tml-button {
	box-sizing: border-box;
	width: 100%;
	min-height: 43px;
	padding: 9px 18px;
	border: 1px solid #e77f28;
	border-radius: 4px;
	background: #e77f28;
	color: #241c17;
	font: 700 15px/1.4 Lato, Roboto, sans-serif;
	letter-spacing: normal;
	text-transform: none;
	cursor: pointer;
}
#yvp-gallery-login .tml-button:hover { background: #eb8b3c; }
#yvp-gallery-login .tml-links { margin: 2px 0 0; padding: 0; list-style: none; }
#yvp-gallery-login .tml-links li { margin: 0; padding: 0; list-style: none; }
#yvp-gallery-login .tml-links a { color: #80420f; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
#yvp-gallery-login .tml-alerts { color: #75281c; font-size: 14px; }
@media (max-height: 520px) {
	#yvp-gallery-login { padding: 1rem 1.35rem; }
	#yvp-gallery-login .yvp-login-heading { margin-bottom: 12px; }
}
