/* Nummaria entry gate — deliberately plain; merchants skin via --nm-gate-accent + logo. */
html.nm-gate-open,
html.nm-gate-open body {
	overflow: hidden;
}

.nm-gate {
	position: fixed;
	inset: 0;
	z-index: 2147483000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	background: rgba(15, 18, 25, 0.55);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	overflow-y: auto;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	--nm-gate-accent: #1f2937;
}

.nm-gate *,
.nm-gate *::before,
.nm-gate *::after {
	box-sizing: border-box;
}

.nm-gate__card {
	width: 100%;
	max-width: 460px;
	margin: auto;
	padding: 28px 28px 20px;
	background: #fff;
	color: #1f2328;
	border-radius: 12px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
	font-size: 15px;
	line-height: 1.45;
	text-align: left;
}

.nm-gate__logo {
	display: block;
	max-width: 160px;
	max-height: 64px;
	width: auto;
	height: auto;
	margin: 0 auto 14px;
}

.nm-gate__title {
	margin: 0 0 8px;
	font-size: 22px;
	line-height: 1.25;
	font-weight: 700;
	text-align: center;
	color: inherit;
}

.nm-gate__intro {
	margin: 0 0 14px;
	font-size: 14px;
	color: #4b5563;
	text-align: center;
}

.nm-gate__offer {
	margin: 0 0 16px;
	padding: 10px 12px;
	border: 1px solid var(--nm-gate-accent);
	border-radius: 8px;
	font-size: 14px;
}

.nm-gate__code {
	padding: 1px 6px;
	border: 1px dashed var(--nm-gate-accent);
	border-radius: 4px;
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-weight: 700;
	font-size: 0.95em;
	background: #fff;
	color: inherit;
	user-select: all;
}

.nm-gate__form {
	margin: 0;
}

.nm-gate .nm-gate__label {
	display: block;
	line-height: 1.3;
	margin: 0 0 4px;
	font-size: 13px;
	font-weight: 600;
}

.nm-gate__input {
	display: block;
	width: 100%;
	margin: 0 0 12px;
	padding: 10px 12px;
	border: 1px solid #d0d5dd;
	border-radius: 8px;
	background: #fff;
	color: #1f2328;
	font: inherit;
	font-size: 16px; /* no iOS zoom */
}

.nm-gate__input:focus {
	outline: 2px solid var(--nm-gate-accent);
	outline-offset: 1px;
}

.nm-gate .nm-gate__check {
	display: flex;
	line-height: 1.45;
	gap: 10px;
	align-items: flex-start;
	margin: 0 0 10px;
	font-size: 13px;
	font-weight: 400;
	cursor: pointer;
}

.nm-gate__check input {
	flex: none;
	width: 18px;
	height: 18px;
	margin: 1px 0 0;
	accent-color: var(--nm-gate-accent);
}

.nm-gate__check a,
.nm-gate__foot a {
	color: inherit;
	text-decoration: underline;
}

.nm-gate__hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	opacity: 0;
}

.nm-gate__error {
	margin: 4px 0 10px;
	color: #b42318;
	font-size: 13px;
}

.nm-gate button.nm-gate__submit,
.nm-gate button.nm-gate__submit:hover,
.nm-gate button.nm-gate__submit:focus {
	display: block;
	width: 100%;
	margin: 6px 0 0;
	padding: 12px 16px;
	border: 0;
	border-radius: 8px;
	background: var(--nm-gate-accent);
	color: #fff;
	font: inherit;
	font-weight: 700;
	line-height: 1.3;
	text-transform: none;
	cursor: pointer;
}

.nm-gate button.nm-gate__submit:hover {
	filter: brightness(1.15);
}

.nm-gate button.nm-gate__submit:focus-visible {
	outline: 2px solid var(--nm-gate-accent);
	outline-offset: 2px;
}

.nm-gate button.nm-gate__submit:disabled {
	opacity: 0.6;
	cursor: progress;
}

.nm-gate__foot {
	margin: 14px 0 0;
	font-size: 13px;
	color: #4b5563;
	text-align: center;
}
