/**
 * Desktop header account — marble pill (matches #mega-menu-wrap-primary desktop).
 */

#ast-desktop-header .ast-header-account-wrap .ast-header-account-link.ast-header-account-type-avatar {
	display: inline-flex;
	align-items: center;
	max-width: min(300px, 34vw);
	padding: 0;
	text-decoration: none;
	background: transparent !important;
}

#ast-desktop-header .ast-header-account-wrap .ausbia-header-profile-card {
	display: inline-flex;
	flex-shrink: 1;
	min-width: 0;
	max-width: 100%;
	border-radius: 9999px;
	overflow: hidden;
	/* Marble layers: ausbia-header-account-profile inline style (same as mega menu). */
	border: 1px solid rgba(255, 222, 150, 0.78);
	box-shadow:
		0 8px 18px rgba(59, 12, 4, 0.28),
		inset 0 1px 0 rgba(255, 243, 207, 0.35),
		inset 0 -2px 3px rgba(61, 2, 0, 0.22);
	transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

#ast-desktop-header .ast-header-account-wrap .ausbia-header-profile-card__inner {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
	padding: 4px 5px 4px 16px;
}

#ast-desktop-header .ast-header-account-wrap .ausbia-header-profile-card .ausbia-user-profile-meta {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	gap: 1px;
	min-width: 0;
	flex: 1 1 auto;
	text-align: left;
}

#ast-desktop-header .ast-header-account-wrap .ausbia-header-profile-card .ausbia-user-profile-name {
	min-width: 0;
	max-width: 148px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: 0.02em;
	color: rgba(255, 244, 218, 0.95);
	text-shadow: 0 1px 1px rgba(65, 0, 0, 0.28);
}

#ast-desktop-header .ast-header-account-wrap .ausbia-header-profile-card .ausbia-user-profile-student {
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-size: 11px;
	font-weight: 500;
	line-height: 1.35;
	font-variant-numeric: tabular-nums;
	letter-spacing: 0.05em;
	color: rgba(255, 236, 200, 0.82);
	text-shadow: 0 1px 1px rgba(65, 0, 0, 0.22);
}

#ast-desktop-header .ast-header-account-wrap .ausbia-header-profile-avatar {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	overflow: hidden;
	background: rgba(0, 0, 0, 0.12);
	box-shadow:
		inset 0 0 0 1.5px rgba(255, 222, 150, 0.72),
		0 1px 3px rgba(40, 0, 0, 0.25);
}

#ast-desktop-header .ast-header-account-wrap .ausbia-header-profile-avatar .avatar {
	display: block !important;
	width: 40px !important;
	height: 40px !important;
	max-width: none !important;
	border-radius: 50% !important;
	object-fit: cover;
	margin: 0 !important;
	border: 0 !important;
	box-shadow: none !important;
}

#ast-desktop-header .ast-header-account-wrap .ast-header-account-link.ast-header-account-type-avatar:hover .ausbia-header-profile-card,
#ast-desktop-header .ast-header-account-wrap .ast-header-account-link.ast-header-account-type-avatar:focus-visible .ausbia-header-profile-card {
	border-color: rgba(244, 216, 137, 0.95);
	box-shadow:
		0 10px 22px rgba(59, 12, 4, 0.34),
		inset 0 1px 0 rgba(255, 248, 220, 0.42),
		inset 0 -2px 3px rgba(61, 2, 0, 0.26);
}

#ast-mobile-header .ast-header-account-wrap .ausbia-header-profile-card {
	display: none !important;
}
