:root {
	color-scheme: dark;
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
	box-sizing: border-box;
}

html,
body {
	margin: 0;
	min-height: 100%;
}

body.illikai-access {
	min-height: 100vh;
	color: #f7f9fa;
	background: #161616;
}

.illikai-access__shell {
	width: 100%;
	min-height: 100vh;
	display: grid;
	place-items: center;
	padding: 32px 20px;
}

.illikai-access__card {
	position: relative;
	width: min(100%, 470px);
	padding: clamp(32px, 7vw, 54px);
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.07);
	border-radius: 20px;
	background: #1d1d1d;
	box-shadow: 0 16px 46px rgba(0, 0, 0, 0.22), inset 0 1px rgba(255, 255, 255, 0.025);
}

.illikai-access__error {
	margin: 0 0 18px;
	padding: 12px 14px;
	border: 1px solid rgba(255, 122, 112, 0.25);
	border-radius: 8px;
	color: #ffb1aa;
	background: rgba(127, 29, 29, 0.18);
	font-size: 13px;
	line-height: 1.45;
}

.illikai-access__form {
	display: grid;
	gap: 11px;
}

.illikai-access__form label {
	color: #d9a43b;
	font-size: 14px;
	font-weight: 800;
	letter-spacing: 0.02em;
}

.illikai-access__controls {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 54px;
}

.illikai-access__form input {
	width: 100%;
	height: 54px;
	padding: 0 16px;
	border: 1px solid rgba(255, 255, 255, 0.13);
	border-radius: 8px 0 0 8px;
	outline: none;
	color: #fff;
	background: rgba(255, 255, 255, 0.055);
	font: inherit;
	transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.illikai-access__form input::placeholder {
	color: #73838c;
}

.illikai-access__form input:focus {
	border-color: #d9a43b;
	background: rgba(255, 255, 255, 0.075);
	box-shadow: 0 0 0 4px rgba(217, 164, 59, 0.12);
}

.illikai-access__form button {
	width: 54px;
	height: 54px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 0;
	border: 1px solid #d9a43b;
	border-left: 0;
	border-radius: 0 8px 8px 0;
	color: #071722;
	background: #d9a43b;
	font: inherit;
	font-size: 22px;
	font-weight: 850;
	cursor: pointer;
	transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.illikai-access__form button:hover {
	transform: translateY(-1px);
	border-color: #edbc55;
	background: #edbc55;
}

.illikai-access__form button:focus-visible {
	outline: 3px solid rgba(237, 188, 85, 0.35);
	outline-offset: 3px;
}

@media (max-width: 520px) {
	.illikai-access__shell {
		align-items: end;
		padding: 16px;
	}

	.illikai-access__card {
		border-radius: 16px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.illikai-access__form input,
	.illikai-access__form button {
		transition: none;
	}
}
