:root {
	color-scheme: dark;
	--bg: #070a11;
	--panel: rgba(12, 18, 30, 0.78);
	--text: #f8fbff;
	--muted: rgba(248, 251, 255, 0.72);
	--soft: rgba(248, 251, 255, 0.54);
	--blue: #12aee8;
	--gold: #f3ad3f;
	--danger: #ff6b88;
	--line: rgba(255, 255, 255, 0.15);
	--radius: 8px;
	--shadow: 0 28px 80px rgba(0, 0, 0, 0.36);
	--ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html,
body {
	width: 100%;
	min-height: 100%;
	overflow-x: hidden;
}

body {
	margin: 0;
	font-family: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
	color: var(--text);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

img {
	display: block;
	max-width: 100%;
	height: auto;
}

a {
	color: inherit;
	text-decoration: none;
}

button,
input {
	font: inherit;
	color: inherit;
}

button {
	border: 0;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
	outline: 2px solid rgba(18, 174, 232, 0.9);
	outline-offset: 3px;
	border-radius: var(--radius);
}

.auth-page {
	position: relative;
	min-height: 100svh;
	display: grid;
	place-items: center;
	padding: 28px;
	isolation: isolate;
	overflow: hidden;
	background:
		linear-gradient(120deg, rgba(18, 174, 232, 0.13), transparent 38%),
		linear-gradient(230deg, rgba(243, 173, 63, 0.1), transparent 42%),
		linear-gradient(180deg, #05070d, #0b101c 70%, #070a11);
}

.auth-page::before,
.auth-page::after {
	content: "";
	position: absolute;
	z-index: -1;
	pointer-events: none;
	border-radius: 999px;
	filter: blur(38px);
	opacity: 0.8;
}

.auth-page::before {
	left: 46%;
	top: 8%;
	width: 360px;
	height: 360px;
	background: radial-gradient(circle, rgba(18, 174, 232, 0.32), rgba(18, 174, 232, 0.08) 46%, transparent 70%);
	animation: pageGlowBlue 8s var(--ease) infinite alternate;
}

.auth-page::after {
	right: 8%;
	bottom: 8%;
	width: 300px;
	height: 300px;
	background: radial-gradient(circle, rgba(243, 173, 63, 0.24), rgba(243, 173, 63, 0.06) 48%, transparent 72%);
	animation: pageGlowGold 10s var(--ease) infinite alternate-reverse;
}

.auth-bg {
	position: absolute;
	inset: 0;
	z-index: -1;
	overflow: hidden;
}

.auth-bg::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
	background-size: 84px 84px;
	mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.62), transparent 78%);
}

.auth-orbit {
	position: absolute;
	width: 58vw;
	min-width: 520px;
	height: 58vw;
	min-height: 520px;
	border-radius: 50%;
	background:
		linear-gradient(var(--bg), var(--bg)) padding-box,
		conic-gradient(from 90deg, transparent, rgba(18, 174, 232, 0.78), rgba(243, 173, 63, 0.54), transparent 58%) border-box;
	border: 1px solid transparent;
	filter: blur(0.5px);
	opacity: 0.46;
	animation: orbit 30s linear infinite;
}

.auth-orbit--one {
	right: -22vw;
	top: -24vw;
}

.auth-orbit--two {
	left: -30vw;
	bottom: -36vw;
	animation-direction: reverse;
	animation-duration: 38s;
}

.auth-smoke {
	position: absolute;
	width: 86vw;
	min-width: 760px;
	height: 40vh;
	filter: blur(24px);
	opacity: 0.72;
	background:
		radial-gradient(ellipse at 24% 52%, rgba(18, 174, 232, 0.36), transparent 46%),
		radial-gradient(ellipse at 52% 44%, rgba(255, 255, 255, 0.18), transparent 42%),
		radial-gradient(ellipse at 80% 58%, rgba(243, 173, 63, 0.2), transparent 44%);
	transform: skewX(-16deg);
	animation: smoke 18s var(--ease) infinite alternate;
}

.auth-smoke--one {
	left: -20vw;
	top: 18%;
}

.auth-smoke--two {
	right: -28vw;
	bottom: 8%;
	animation-duration: 24s;
	animation-direction: reverse;
}

.auth-sparks {
	position: absolute;
	inset: 0;
	background-image:
		radial-gradient(circle at 14% 24%, rgba(243, 173, 63, 0.9) 0 1px, transparent 2px),
		radial-gradient(circle at 34% 66%, rgba(18, 174, 232, 0.78) 0 1px, transparent 2px),
		radial-gradient(circle at 58% 32%, rgba(255, 255, 255, 0.68) 0 1px, transparent 2px),
		radial-gradient(circle at 82% 48%, rgba(243, 173, 63, 0.72) 0 1px, transparent 2px);
	animation: sparks 15s linear infinite alternate;
}

@keyframes orbit {
	to {
		transform: rotate(360deg);
	}
}

@keyframes smoke {
	from {
		transform: translate3d(-4%, 0, 0) skewX(-16deg);
	}
	to {
		transform: translate3d(8%, -22px, 0) skewX(-8deg);
	}
}

@keyframes sparks {
	to {
		transform: translate3d(0, -20px, 0);
	}
}

@keyframes pageGlowBlue {
	to {
		transform: translate3d(-34px, 28px, 0) scale(1.14);
	}
}

@keyframes pageGlowGold {
	to {
		transform: translate3d(26px, -24px, 0) scale(1.18);
	}
}

.auth-shell {
	width: min(1120px, 100%);
	display: grid;
	grid-template-columns: minmax(0, 0.86fr) minmax(360px, 0.64fr);
	gap: clamp(24px, 5vw, 56px);
	align-items: center;
}

.brand {
	grid-column: 1 / -1;
	width: fit-content;
}

.brand__plate {
	width: 172px;
	height: 46px;
	padding: 7px 10px;
	border-radius: var(--radius);
	background: rgba(255, 255, 255, 0.96);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 14px 36px rgba(0, 0, 0, 0.28);
}

.brand img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--gold);
	font-size: 0.78rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0;
}

.eyebrow::before {
	content: "";
	width: 30px;
	height: 1px;
	background: linear-gradient(90deg, var(--blue), var(--gold));
}

.auth-copy h1 {
	margin: 14px 0 0;
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: clamp(3rem, 7vw, 6.5rem);
	line-height: 0.92;
	letter-spacing: 0;
	text-wrap: balance;
}

.auth-copy p {
	max-width: 640px;
	margin: 18px 0 0;
	color: var(--muted);
	line-height: 1.75;
	font-size: 1.04rem;
}

.typing-line {
	min-height: 34px;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 800;
}

.typing-line span {
	color: transparent;
	background: linear-gradient(90deg, #ffffff, var(--blue), #fff3c9, var(--gold));
	background-size: 180% 100%;
	background-clip: text;
	-webkit-background-clip: text;
	animation: shimmer 4.6s linear infinite;
}

.typing-line i {
	width: 2px;
	height: 1.25em;
	border-radius: 999px;
	background: var(--gold);
	box-shadow: 0 0 18px rgba(243, 173, 63, 0.7);
	animation: caret 850ms steps(2, end) infinite;
}

@keyframes shimmer {
	to {
		background-position: 180% 50%;
	}
}

@keyframes caret {
	0%,
	45% {
		opacity: 1;
	}
	46%,
	100% {
		opacity: 0;
	}
}

.auth-card {
	position: relative;
	overflow: hidden;
	border-radius: var(--radius);
	border: 1px solid rgba(255, 255, 255, 0.18);
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.06));
	backdrop-filter: blur(18px);
	box-shadow: var(--shadow);
	padding: 24px;
	animation: cardBreathe 5.4s var(--ease) infinite alternate;
}

.auth-card::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	padding: 1px;
	background: conic-gradient(from var(--auth-angle, 0deg), rgba(18, 174, 232, 0.78), rgba(243, 173, 63, 0.58), transparent, rgba(18, 174, 232, 0.78));
	mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	mask-composite: exclude;
	pointer-events: none;
	animation: borderSpin 9s linear infinite;
}

.auth-card::after {
	content: "";
	position: absolute;
	left: -18%;
	right: -18%;
	top: -26%;
	height: 230px;
	pointer-events: none;
	background:
		linear-gradient(92deg, transparent, rgba(18, 174, 232, 0.3), rgba(255, 255, 255, 0.18), rgba(243, 173, 63, 0.18), transparent),
		radial-gradient(ellipse at 74% 60%, rgba(18, 174, 232, 0.28), transparent 48%);
	filter: blur(18px);
	opacity: 0.76;
	transform: skewX(-14deg);
	animation: cardBeam 7.4s var(--ease) infinite alternate;
}

@property --auth-angle {
	syntax: "<angle>";
	inherits: false;
	initial-value: 0deg;
}

@keyframes borderSpin {
	to {
		--auth-angle: 360deg;
	}
}

@keyframes cardBreathe {
	to {
		box-shadow: 0 30px 90px rgba(0, 0, 0, 0.42), 0 0 58px rgba(18, 174, 232, 0.2);
	}
}

@keyframes cardBeam {
	to {
		transform: translate3d(12%, 18px, 0) skewX(-6deg);
		opacity: 0.95;
	}
}

.auth-card__lamp {
	position: absolute;
	right: 24px;
	top: 22px;
	width: 94px;
	height: 48px;
	border: 0;
	border-radius: 62% 58% 48% 58%;
	background: linear-gradient(135deg, rgba(255, 234, 177, 0.9), rgba(243, 173, 63, 0.74) 52%, rgba(142, 91, 22, 0.8));
	transform: rotate(-14deg);
	opacity: 0.68;
	box-shadow: 0 0 28px rgba(243, 173, 63, 0.36), inset -10px -8px 16px rgba(58, 30, 0, 0.26);
	animation: tinyLamp 3.8s var(--ease) infinite alternate;
}

.auth-card__lamp::before,
.auth-card__lamp::after {
	content: "";
	position: absolute;
	display: block;
}

.auth-card__lamp::before {
	right: -34px;
	top: 12px;
	width: 56px;
	height: 18px;
	border-top: 8px solid rgba(255, 214, 129, 0.9);
	border-right: 16px solid rgba(255, 214, 129, 0.9);
	border-radius: 0 999px 999px 0;
}

.auth-card__lamp::after {
	left: 24px;
	top: -58px;
	width: 38px;
	height: 78px;
	border-radius: 999px;
	background:
		radial-gradient(ellipse at 50% 18%, rgba(255, 255, 255, 0.74), transparent 34%),
		linear-gradient(180deg, rgba(18, 174, 232, 0.58), rgba(255, 255, 255, 0.28), transparent);
	filter: blur(9px);
	opacity: 0.85;
	animation: tinyLampSmoke 3.4s var(--ease) infinite;
}

.auth-card__smoke {
	position: absolute;
	inset: -16% -24% auto;
	height: 310px;
	pointer-events: none;
	opacity: 0.9;
	filter: blur(14px);
	background:
		radial-gradient(ellipse at 18% 70%, rgba(18, 174, 232, 0.34), transparent 54%),
		radial-gradient(ellipse at 50% 44%, rgba(255, 255, 255, 0.22), transparent 46%),
		radial-gradient(ellipse at 82% 68%, rgba(243, 173, 63, 0.22), transparent 52%);
	animation: cardSmoke 11s var(--ease) infinite alternate;
}

@keyframes cardSmoke {
	to {
		transform: translate3d(8%, -18px, 0) skewX(-5deg);
	}
}

@keyframes tinyLamp {
	to {
		transform: translate3d(0, -4px, 0) rotate(-10deg);
	}
}

@keyframes tinyLampSmoke {
	0% {
		transform: translateY(22px) scale(0.7) rotate(-8deg);
		opacity: 0;
	}
	24% {
		opacity: 0.95;
	}
	100% {
		transform: translateY(-18px) scale(1.08) rotate(8deg);
		opacity: 0;
	}
}

.mode-tabs,
.auth-state,
.auth-form,
.signed-in-panel,
.auth-note {
	position: relative;
	z-index: 1;
}

.mode-tabs {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 8px;
	padding: 6px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: var(--radius);
	background: rgba(7, 10, 17, 0.46);
}

.mode-tab {
	min-height: 42px;
	border-radius: var(--radius);
	background: transparent;
	color: var(--muted);
	font-weight: 900;
	cursor: pointer;
	transition: background 180ms var(--ease), color 180ms var(--ease);
}

.mode-tab.is-active {
	background: linear-gradient(135deg, rgba(18, 174, 232, 0.92), rgba(124, 232, 255, 0.92));
	color: #06111a;
}

.auth-state {
	margin: 16px 0;
	min-height: 46px;
	display: flex;
	align-items: center;
	gap: 10px;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: var(--radius);
	background: rgba(255, 255, 255, 0.07);
	padding: 12px;
	color: var(--muted);
	font-size: 0.92rem;
	line-height: 1.45;
}

.auth-state.is-error {
	border-color: rgba(255, 107, 136, 0.44);
	color: #ffd7df;
}

.auth-state.is-success {
	border-color: rgba(18, 174, 232, 0.44);
	color: #d9f8ff;
}

.auth-state__dot {
	width: 10px;
	height: 10px;
	border-radius: 999px;
	background: var(--gold);
	box-shadow: 0 0 0 6px rgba(243, 173, 63, 0.12);
	flex: 0 0 auto;
}

.auth-state.is-error .auth-state__dot {
	background: var(--danger);
	box-shadow: 0 0 0 6px rgba(255, 107, 136, 0.12);
}

.auth-state.is-success .auth-state__dot {
	background: var(--blue);
	box-shadow: 0 0 0 6px rgba(18, 174, 232, 0.12);
}

.auth-form {
	display: grid;
	gap: 13px;
}

.field {
	display: grid;
	gap: 8px;
}

.field span,
.remember span {
	color: rgba(248, 251, 255, 0.78);
	font-size: 0.84rem;
	font-weight: 800;
}

.legal-consent {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 10px;
	align-items: start;
	border: 1px solid rgba(255, 255, 255, 0.13);
	border-radius: var(--radius);
	background: rgba(255, 255, 255, 0.06);
	padding: 12px;
}

.legal-consent input {
	width: 17px;
	height: 17px;
	margin-top: 2px;
	accent-color: var(--blue);
}

.legal-consent span {
	color: rgba(248, 251, 255, 0.76);
	font-size: 0.82rem;
	font-weight: 700;
	line-height: 1.55;
}

.legal-consent a {
	color: var(--gold);
	font-weight: 900;
}

.legal-consent a:hover {
	color: #ffe0a3;
}

.field input {
	width: 100%;
	min-height: 48px;
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: var(--radius);
	background: rgba(7, 10, 17, 0.58);
	color: var(--text);
	padding: 13px 14px;
	transition: border-color 200ms var(--ease), box-shadow 200ms var(--ease), background 200ms var(--ease);
}

.field input::placeholder {
	color: rgba(248, 251, 255, 0.4);
}

.field input:focus {
	outline: none;
	border-color: rgba(18, 174, 232, 0.72);
	box-shadow: 0 0 0 4px rgba(18, 174, 232, 0.16), 0 0 34px rgba(18, 174, 232, 0.22);
	background: rgba(7, 10, 17, 0.74);
}

.auth-card:focus-within {
	box-shadow: 0 30px 92px rgba(0, 0, 0, 0.45), 0 0 82px rgba(18, 174, 232, 0.28);
}

.auth-card:focus-within .auth-card__smoke {
	opacity: 1;
	filter: blur(10px);
}

.auth-card:focus-within .auth-card__lamp {
	opacity: 0.95;
	box-shadow: 0 0 36px rgba(243, 173, 63, 0.62), inset -10px -8px 16px rgba(58, 30, 0, 0.26);
}

body[data-auth-engaged="true"] .auth-card {
	border-color: rgba(18, 174, 232, 0.42);
	box-shadow: 0 30px 96px rgba(0, 0, 0, 0.46), 0 0 92px rgba(18, 174, 232, 0.3);
}

body[data-auth-engaged="true"] .auth-card__smoke {
	opacity: 1;
	animation-duration: 6.4s;
}

body[data-auth-engaged="true"] .auth-state__dot {
	animation: statusPulse 1.2s var(--ease) infinite alternate;
}

@keyframes statusPulse {
	to {
		box-shadow: 0 0 0 9px rgba(243, 173, 63, 0.18), 0 0 22px rgba(243, 173, 63, 0.42);
	}
}

.form-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.remember {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.remember input {
	width: 16px;
	height: 16px;
	accent-color: var(--blue);
}

.form-row a {
	color: var(--gold);
	font-size: 0.84rem;
	font-weight: 900;
}

.btn {
	min-height: 46px;
	border-radius: var(--radius);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 12px 16px;
	border: 1px solid transparent;
	font-weight: 900;
	line-height: 1;
	cursor: pointer;
	transition: transform 200ms var(--ease), opacity 200ms var(--ease), background 200ms var(--ease);
}

.btn:hover {
	transform: translateY(-2px);
}

.btn[disabled] {
	opacity: 0.58;
	cursor: wait;
	transform: none;
}

.btn--primary {
	color: #06111a;
	background: linear-gradient(135deg, #37d7ff, var(--blue) 52%, #7ce8ff);
	box-shadow: 0 18px 54px rgba(18, 174, 232, 0.22);
}

.btn--ghost {
	color: var(--text);
	background: rgba(255, 255, 255, 0.08);
	border-color: var(--line);
}

.signed-in-panel {
	display: grid;
	gap: 18px;
	border: 1px solid rgba(18, 174, 232, 0.32);
	border-radius: var(--radius);
	background: rgba(18, 174, 232, 0.09);
	padding: 18px;
}

.signed-in-panel__label {
	color: var(--gold);
	font-size: 0.8rem;
	font-weight: 900;
	text-transform: uppercase;
}

.signed-in-panel h2 {
	margin: 8px 0 0;
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: 2.4rem;
	line-height: 1;
}

.signed-in-panel p {
	margin: 8px 0 0;
	color: var(--muted);
	line-height: 1.6;
	overflow-wrap: anywhere;
}

.signed-in-panel__actions {
	display: grid;
	gap: 10px;
}

.auth-note {
	margin: 14px 0 0;
	color: var(--soft);
	font-size: 0.82rem;
	line-height: 1.6;
}

.wish-prompt {
	position: fixed;
	inset: 0;
	z-index: 30;
	display: grid;
	place-items: center;
	padding: 22px;
	opacity: 0;
	pointer-events: none;
	transition: opacity 360ms var(--ease);
}

.wish-prompt.is-open {
	opacity: 1;
	pointer-events: auto;
}

.wish-prompt__screen {
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse at 50% 62%, rgba(18, 174, 232, 0.16), transparent 42%),
		radial-gradient(ellipse at 58% 42%, rgba(243, 173, 63, 0.1), transparent 36%),
		rgba(3, 5, 10, 0.72);
	backdrop-filter: blur(10px);
	overflow: hidden;
}

.wish-prompt__screen::before,
.wish-prompt__screen::after {
	content: "";
	position: absolute;
	left: -24vw;
	width: 150vw;
	height: 32vh;
	pointer-events: none;
	filter: blur(24px);
	opacity: 0.78;
	background:
		radial-gradient(ellipse at 20% 50%, rgba(18, 174, 232, 0.28), transparent 48%),
		radial-gradient(ellipse at 52% 48%, rgba(255, 255, 255, 0.2), transparent 40%),
		radial-gradient(ellipse at 82% 58%, rgba(243, 173, 63, 0.18), transparent 46%);
	transform: skewX(-12deg);
	animation: promptSmoke 9s var(--ease) infinite alternate;
}

.wish-prompt__screen::before {
	top: 14%;
}

.wish-prompt__screen::after {
	bottom: 10%;
	animation-duration: 12s;
	animation-direction: alternate-reverse;
}

.wish-prompt__card {
	position: relative;
	width: min(520px, 100%);
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: var(--radius);
	background:
		linear-gradient(180deg, rgba(12, 18, 30, 0.9), rgba(7, 10, 17, 0.88)),
		linear-gradient(135deg, rgba(18, 174, 232, 0.14), rgba(243, 173, 63, 0.1));
	box-shadow: 0 32px 110px rgba(0, 0, 0, 0.56), 0 0 90px rgba(18, 174, 232, 0.18);
	backdrop-filter: blur(20px);
	padding: 26px;
	transform: translateY(18px) scale(0.96);
	transition: transform 420ms var(--ease);
}

.wish-prompt.is-open .wish-prompt__card {
	transform: none;
}

.wish-prompt__card::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	padding: 1px;
	background: conic-gradient(from var(--prompt-angle, 0deg), rgba(18, 174, 232, 0.85), rgba(243, 173, 63, 0.62), transparent, rgba(18, 174, 232, 0.85));
	mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	mask-composite: exclude;
	pointer-events: none;
	animation: promptBorder 7s linear infinite;
}

@property --prompt-angle {
	syntax: "<angle>";
	inherits: false;
	initial-value: 0deg;
}

@keyframes promptBorder {
	to {
		--prompt-angle: 360deg;
	}
}

@keyframes promptSmoke {
	to {
		transform: translate3d(9%, -18px, 0) skewX(-6deg);
	}
}

.wish-prompt__close {
	position: absolute;
	right: 14px;
	top: 14px;
	z-index: 2;
	width: 36px;
	height: 36px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.16);
	cursor: pointer;
	transition: background 180ms var(--ease), transform 180ms var(--ease);
}

.wish-prompt__close:hover {
	background: rgba(255, 255, 255, 0.14);
	transform: rotate(90deg);
}

.wish-prompt__close::before,
.wish-prompt__close::after {
	content: "";
	position: absolute;
	left: 10px;
	top: 17px;
	width: 14px;
	height: 2px;
	border-radius: 999px;
	background: var(--text);
}

.wish-prompt__close::before {
	transform: rotate(45deg);
}

.wish-prompt__close::after {
	transform: rotate(-45deg);
}

.wish-lamp,
.wish-prompt__copy,
.wish-prompt__actions {
	position: relative;
	z-index: 1;
}

.wish-lamp {
	width: 190px;
	height: 124px;
	margin: 4px auto 14px;
	filter: drop-shadow(0 0 24px rgba(243, 173, 63, 0.28));
	animation: lampFloat 4.8s var(--ease) infinite alternate;
}

.wish-lamp__body,
.wish-lamp__spout,
.wish-lamp__handle,
.wish-lamp__base {
	position: absolute;
	display: block;
}

.wish-lamp__body {
	left: 44px;
	bottom: 22px;
	width: 88px;
	height: 42px;
	border-radius: 62% 58% 52% 56%;
	background: linear-gradient(135deg, #fff0ba, var(--gold) 54%, #a86d18);
	box-shadow: inset -14px -8px 20px rgba(76, 38, 0, 0.26), inset 10px 8px 18px rgba(255, 255, 255, 0.34);
}

.wish-lamp__spout {
	right: 18px;
	bottom: 40px;
	width: 70px;
	height: 24px;
	border-radius: 0 80% 80% 0;
	border-top: 10px solid #f6c263;
	border-right: 18px solid #f6c263;
	transform: rotate(-10deg);
}

.wish-lamp__handle {
	left: 16px;
	bottom: 34px;
	width: 46px;
	height: 42px;
	border: 9px solid #d8952b;
	border-right: 0;
	border-radius: 60% 0 0 60%;
	transform: rotate(8deg);
}

.wish-lamp__base {
	left: 34px;
	bottom: 12px;
	width: 110px;
	height: 14px;
	border-radius: 999px;
	background: linear-gradient(90deg, #8c5814, #ffd681, #a66a18);
}

.wish-lamp__smoke {
	position: absolute;
	left: 88px;
	top: 0;
	width: 32px;
	height: 92px;
	border-radius: 999px;
	background:
		radial-gradient(ellipse at 50% 20%, rgba(255, 255, 255, 0.68), transparent 32%),
		linear-gradient(180deg, rgba(18, 174, 232, 0.46), rgba(255, 255, 255, 0.24), transparent);
	filter: blur(10px);
	opacity: 0.8;
	transform-origin: bottom center;
	animation: lampSmoke 4.2s var(--ease) infinite;
}

.wish-lamp__smoke--two {
	left: 112px;
	top: 4px;
	height: 82px;
	opacity: 0.58;
	animation-delay: 800ms;
	animation-duration: 5.4s;
}

@keyframes lampFloat {
	to {
		transform: translateY(-8px) rotate(-1deg);
	}
}

@keyframes lampSmoke {
	0% {
		transform: translateY(22px) scale(0.76) rotate(-10deg);
		opacity: 0;
	}
	25% {
		opacity: 0.8;
	}
	100% {
		transform: translateY(-36px) scale(1.16) rotate(10deg);
		opacity: 0;
	}
}

.wish-prompt__copy {
	text-align: center;
}

.wish-prompt__copy span {
	color: var(--gold);
	font-size: 0.74rem;
	font-weight: 900;
	text-transform: uppercase;
}

.wish-prompt__copy h2 {
	margin: 8px 0 0;
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: clamp(2.25rem, 8vw, 3.8rem);
	line-height: 0.95;
}

.wish-prompt__copy p {
	margin: 14px auto 0;
	max-width: 410px;
	color: var(--muted);
	line-height: 1.65;
}

.wish-prompt__actions {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
	margin-top: 22px;
}

.toast {
	position: fixed;
	left: 18px;
	bottom: 18px;
	z-index: 20;
	max-width: min(380px, calc(100% - 36px));
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: var(--radius);
	background: rgba(7, 10, 17, 0.92);
	color: var(--text);
	box-shadow: var(--shadow);
	backdrop-filter: blur(16px);
	padding: 13px 15px;
	opacity: 0;
	transform: translateY(12px);
	pointer-events: none;
	transition: opacity 220ms var(--ease), transform 220ms var(--ease);
}

.toast.is-open {
	opacity: 1;
	transform: none;
}

.is-hidden {
	display: none !important;
}

body[data-mode="login"] .field--name,
body[data-mode="login"] .field--confirm {
	display: none;
}

body[data-mode="reset"] .field--name,
body[data-mode="reset"] .field--password,
body[data-mode="reset"] .field--confirm,
body[data-mode="reset"] .field--session,
body[data-mode="reset"] .field--legal {
	display: none;
}

@media (max-width: 900px) {
	.auth-page {
		place-items: start center;
	}

	.auth-shell {
		grid-template-columns: 1fr;
	}

	.auth-copy h1 {
		max-width: 760px;
	}
}

@media (max-width: 560px) {
	.auth-page {
		padding: 18px;
	}

	.brand__plate {
		width: 138px;
		height: 40px;
	}

	.auth-copy h1 {
		font-size: 3rem;
	}

	.auth-card {
		padding: 16px;
	}

	.mode-tabs {
		grid-template-columns: 1fr;
	}

	.form-row {
		align-items: flex-start;
		flex-direction: column;
	}

	.wish-prompt__card {
		padding: 20px;
	}

	.wish-lamp {
		width: 156px;
		transform: scale(0.88);
	}

	.wish-prompt__actions {
		grid-template-columns: 1fr;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
		scroll-behavior: auto !important;
	}
}
