body {
	margin: 0;
	font-family: 'Avenir Next', 'Segoe UI', sans-serif;
	background: linear-gradient(180deg, #eff6ff 0%, #f8fafc 55%, #ffffff 100%);
	color: #0f172a;
}

.page {
	max-width: 980px;
	margin: 0 auto;
	padding: 3rem 1.25rem 4rem;
}

.hero {
	margin-bottom: 2rem;
}

.hero-top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1.5rem;
}

.hero-account {
	display: flex;
	justify-content: flex-end;
	flex: 0 0 auto;
}

.hero h1 {
	margin: 0 0 0.5rem;
	font-size: clamp(2rem, 4vw, 3.25rem);
	line-height: 1;
}

.hero p {
	margin: 0 0 1rem;
	font-size: 1.05rem;
	color: #475569;
}

.connect-link {
	display: inline-block;
	padding: 0.8rem 1.15rem;
	border-radius: 999px;
	background: #2563eb;
	color: #ffffff;
	text-decoration: none;
	font-weight: 600;
	box-shadow: 0 12px 24px rgba(37, 99, 235, 0.25);
	border: none;
	font: inherit;
	cursor: pointer;
}

.connect-link:hover {
	background: #1d4ed8;
}

.disconnect-form {
	margin: 0;
}

.disconnect-button {
	display: inline-block;
	padding: 0.55rem 0.85rem;
	border-radius: 999px;
	border: 1px solid #cbd5e1;
	background: rgba(255, 255, 255, 0.82);
	color: #475569;
	font: inherit;
	font-size: 0.92rem;
	font-weight: 600;
	cursor: pointer;
	box-shadow: none;
}

.disconnect-button:hover {
	background: #f8fafc;
	color: #0f172a;
}

.account-summary {
	position: relative;
}

.account-identity {
	display: inline-flex;
	align-items: center;
	gap: 0.65rem;
	padding: 0.45rem 0.75rem 0.45rem 0.5rem;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.72);
	box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
	cursor: pointer;
	list-style: none;
	user-select: none;
}

.account-identity::-webkit-details-marker {
	display: none;
}

.account-identity:hover {
	background: rgba(255, 255, 255, 0.9);
}

.account-summary[open] .account-identity {
	background: rgba(255, 255, 255, 0.95);
	box-shadow: 0 14px 30px rgba(15, 23, 42, 0.12);
}

.account-avatar,
.account-avatar-fallback {
	width: 2.4rem;
	height: 2.4rem;
	border-radius: 999px;
	flex: 0 0 auto;
}

.account-avatar {
	object-fit: cover;
	background: #dbeafe;
}

.account-avatar-fallback {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, #2563eb, #0f172a);
	color: #ffffff;
	font-weight: 700;
}

.account-name {
	font-weight: 700;
	color: #0f172a;
	white-space: nowrap;
}

.account-caret {
	font-size: 0.85rem;
	color: #64748b;
}

.account-menu {
	position: absolute;
	top: calc(100% + 0.5rem);
	right: 0;
	display: grid;
	justify-items: stretch;
	gap: 0.45rem;
	padding: 0.45rem;
	min-width: 13rem;
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.96);
	box-shadow: 0 18px 34px rgba(15, 23, 42, 0.14);
	border: 1px solid rgba(203, 213, 225, 0.9);
}

.account-menu-link {
	display: block;
	padding: 0.65rem 0.85rem;
	border-radius: 12px;
	color: #1d4ed8;
	font-size: 0.92rem;
	font-weight: 600;
	text-decoration: none;
	background: #eff6ff;
}

.account-menu-link:hover {
	background: #dbeafe;
}

@media (max-width: 760px) {
	.hero-top {
		flex-direction: column;
	}

	.hero-account {
		justify-content: flex-start;
	}

	.account-summary {
		width: 100%;
	}

	.account-menu {
		left: 0;
		right: auto;
	}
}
