.mal-bridge-card {
	align-items: center;
	background: linear-gradient(135deg, #052b20, #0a5037);
	border: 1px solid rgba(255, 255, 255, .15);
	border-radius: 22px;
	box-shadow: 0 18px 50px rgba(3, 30, 22, .18);
	box-sizing: border-box;
	color: #fff;
	display: grid;
	gap: 18px;
	grid-template-columns: auto minmax(0, 1fr) auto;
	margin: 24px auto;
	max-width: 1120px;
	padding: 24px 28px;
}

.mal-bridge-card * { box-sizing: border-box; }
.mal-bridge-card > span { background: #a9d72d; border-radius: 999px; color: #052b20; font-size: 10px; font-weight: 900; letter-spacing: .12em; padding: 8px 11px; white-space: nowrap; }
.mal-bridge-card h2 { color: #fff; font-size: clamp(22px, 3vw, 32px); line-height: 1.05; margin: 0 0 7px; }
.mal-bridge-card p { color: #dcebe3; font-size: 13px; line-height: 1.55; margin: 0; }
.mal-bridge-actions { display: grid; gap: 8px; min-width: 190px; }
.mal-bridge-actions a { border: 1px solid #fff; border-radius: 999px; font-size: 12px; font-weight: 900; padding: 12px 17px; text-align: center; text-decoration: none; white-space: nowrap; }
.mal-bridge-primary { background: #fff; color: #09633c !important; }
.mal-bridge-secondary { background: transparent; color: #fff !important; }

.mal-course-unlock { align-items: center; background: radial-gradient(circle at 50% 0, #ecf7ed 0, #f7faf7 46%, #eef4ef 100%); box-sizing: border-box; display: flex; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; justify-content: center; min-height: calc(100vh - 150px); padding: 58px 22px; }
.mal-course-unlock * { box-sizing: border-box; }
.mal-course-unlock__card { background: #fff; border: 1px solid #d9e6dc; border-radius: 32px; box-shadow: 0 28px 72px rgba(4, 45, 31, .14); max-width: 700px; padding: clamp(34px, 6vw, 62px); text-align: center; width: 100%; }
.mal-course-unlock__mark { align-items: center; background: linear-gradient(145deg, #073d2d, #0d7245); border-radius: 23px; box-shadow: 0 15px 32px rgba(3, 50, 34, .2); color: #fff; display: inline-flex; flex-direction: column; height: 86px; justify-content: center; margin-bottom: 20px; width: 86px; }
.mal-course-unlock__mark strong { font-size: 22px; font-weight: 950; letter-spacing: .04em; line-height: 1; }
.mal-course-unlock__mark span { color: #c9ef59; font-size: 10px; font-weight: 900; letter-spacing: .16em; margin-top: 7px; }
.mal-course-unlock__eyebrow { color: #16864b !important; font-size: 10px !important; font-weight: 950; letter-spacing: .17em; margin: 0 0 10px !important; }
.mal-course-unlock__card h1 { color: #073d2d; font-size: clamp(36px, 6vw, 56px); letter-spacing: -.04em; line-height: 1; margin: 0 auto 18px; max-width: 590px; }
.mal-course-unlock__card > p:not(.mal-course-unlock__eyebrow):not(.mal-course-unlock__note) { color: #586d63; font-size: 16px; line-height: 1.65; margin: 0 auto 28px; max-width: 585px; }
.mal-course-unlock__actions { display: grid; gap: 11px; margin: 0 auto; max-width: 440px; }
.mal-course-unlock__primary, .mal-course-unlock__secondary { align-items: center; border-radius: 999px; display: flex; font-size: 14px; font-weight: 900; gap: 10px; justify-content: center; min-height: 54px; padding: 12px 22px; text-decoration: none; }
.mal-course-unlock__primary, .mal-course-unlock__primary:visited { background: #0d7546; border: 1px solid #0d7546; color: #fff !important; margin: 0 auto; max-width: 440px; }
.mal-course-unlock__primary:hover, .mal-course-unlock__primary:focus-visible { background: #095d38; color: #fff !important; }
.mal-course-unlock__secondary, .mal-course-unlock__secondary:visited { background: #fff; border: 1px solid #abc9b6; color: #0b6340 !important; }
.mal-course-unlock__secondary:hover, .mal-course-unlock__secondary:focus-visible { background: #f2f8f4; color: #084b31 !important; }
.mal-course-unlock__note { border-top: 1px solid #e2ebe5; color: #6b7c74 !important; font-size: 12px !important; line-height: 1.55 !important; margin: 25px auto 0 !important; max-width: 540px; padding-top: 20px; }
.mal-course-unlock__success { align-items: center; background: #ddf5df; border-radius: 999px; color: #0d7546; display: flex; font-size: 23px; font-weight: 950; height: 54px; justify-content: center; margin: 0 auto 17px; width: 54px; }

@media (max-width: 600px) {
	.mal-course-unlock { padding: 36px 14px; }
	.mal-course-unlock__card { border-radius: 25px; padding: 30px 20px; }
	.mal-course-unlock__card h1 { font-size: 39px; }
	.mal-course-unlock__card > p:not(.mal-course-unlock__eyebrow):not(.mal-course-unlock__note) { font-size: 15px; }
}

.mal-connected-profile { box-sizing: border-box; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; max-width: 330px; position: relative; z-index: 9998; }
.mal-connected-profile.is-floating { bottom: max(18px, env(safe-area-inset-bottom)); position: fixed; right: max(18px, env(safe-area-inset-right)); }
.mal-connected-profile * { box-sizing: border-box; }
.mal-connected-profile__card { position: relative; }
.mal-connected-profile__card > a { align-items: center; background: rgba(255,255,255,.97); border: 1px solid rgba(6,58,42,.13); border-radius: 20px; box-shadow: 0 18px 48px rgba(3,38,27,.18); color: #082d22; display: grid; gap: 12px; grid-template-columns: 50px minmax(0, 1fr) auto; padding: 11px 38px 11px 13px; text-decoration: none; transition: box-shadow 150ms ease, transform 150ms ease; }
.mal-connected-profile__card > a:hover, .mal-connected-profile__card > a:focus-visible { box-shadow: 0 22px 56px rgba(3,38,27,.24); color: #082d22; transform: translateY(-2px); }
.mal-connected-profile__avatar { align-items: center; background: linear-gradient(145deg, #087a4d, #06442f); border-radius: 14px; color: #fff; display: flex; font-size: 12px; font-weight: 950; height: 50px; justify-content: center; overflow: hidden; width: 50px; }
.mal-connected-profile__avatar img { display: block; height: 100%; object-fit: cover; width: 100%; }
.mal-connected-profile__avatar .mal-avatar-placeholder { display: block; height: 42px; width: 42px; }
.mal-connected-profile__avatar .mal-avatar-placeholder__halo { fill: rgba(255,255,255,.08); }
.mal-connected-profile__avatar .mal-avatar-placeholder__head, .mal-connected-profile__avatar .mal-avatar-placeholder__body { fill: none; stroke: #f4fbf7; stroke-linecap: round; stroke-linejoin: round; stroke-width: 4.5; }
.mal-connected-profile__avatar .mal-avatar-placeholder__leaf { fill: #b8df45; }
.mal-connected-profile__details, .mal-connected-profile__details > * { display: block; min-width: 0; }
.mal-connected-profile__details small { color: #168a4a; font-size: 7px; font-weight: 950; letter-spacing: .1em; margin-bottom: 2px; }
.mal-connected-profile__details strong { color: #082d22; font-size: 12px; line-height: 1.25; }
.mal-connected-profile__details > span { color: #6d7b75; font-size: 9px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mal-connected-profile__details em { color: #99a49f; font-size: 8px; font-style: normal; letter-spacing: .03em; margin-top: 1px; }
.mal-connected-profile b { color: #168a4a; font-size: 14px; }
.mal-connected-profile .mal-connected-profile__close { align-items: center; appearance: none !important; background: #eef5f1 !important; border: 1px solid transparent !important; border-radius: 999px !important; box-shadow: none !important; color: #315e4e !important; cursor: pointer; display: flex; font: 700 18px/1 sans-serif !important; height: 25px; justify-content: center; margin: 0 !important; min-height: 0; min-width: 0; padding: 0 !important; position: absolute; right: 9px; text-decoration: none !important; top: 9px; width: 25px; }
.mal-connected-profile .mal-connected-profile__close:hover, .mal-connected-profile .mal-connected-profile__close:focus-visible { background: #dcece3 !important; border-color: #b8d8c7 !important; box-shadow: none !important; color: #073d2c !important; outline: 2px solid #56c97a !important; outline-offset: 2px; }
.mal-connected-profile__restore { align-items: center; appearance: none; background: linear-gradient(145deg, #0a7c4e, #06432f); border: 2px solid #fff; border-radius: 16px 0 0 16px; box-shadow: 0 12px 30px rgba(3,38,27,.25); color: #fff; cursor: pointer; display: none; height: 48px; justify-content: center; padding: 0 8px; position: fixed; right: 0; top: 58%; width: 48px; }
.mal-connected-profile__restore span { font-size: 9px; font-weight: 950; letter-spacing: -.02em; }
.mal-connected-profile.is-collapsed .mal-connected-profile__card { display: none; }
.mal-connected-profile.is-collapsed .mal-connected-profile__restore { display: flex; }

.login form#loginform {
	border: 1px solid #dbe5df;
	border-radius: 24px;
	box-shadow: 0 22px 56px rgba(4, 41, 29, .14);
	box-sizing: border-box;
	overflow: hidden;
	padding: 0 26px 26px;
}

.login .mal-bridge-login-panel {
	background: linear-gradient(145deg, #073a2b, #0c6545);
	color: #fff;
	margin: 0 -26px 24px;
	padding: 24px 26px 20px;
	text-align: center;
}

.login .mal-bridge-login-panel > span {
	background: #b7df39;
	border-radius: 999px;
	color: #073a2b;
	display: inline-block;
	font-size: 9px;
	font-weight: 900;
	letter-spacing: .14em;
	margin-bottom: 10px;
	padding: 7px 10px;
}

.login .mal-bridge-login-panel h2 { color: #fff; font-size: 22px; line-height: 1.1; margin: 0 0 8px; }
.login .mal-bridge-login-panel p { color: #dbece5; font-size: 12px; line-height: 1.5; margin: 0 auto; max-width: 310px; }
.mal-bridge-login-actions { display: grid; gap: 8px; margin: 16px 0 18px; }
.mal-bridge-login-actions a { border-radius: 999px; display: block; font-size: 12px; font-weight: 850; padding: 11px 14px; text-decoration: none; }
.mal-bridge-login-primary, .mal-bridge-login-primary:visited { background: #fff; color: #086342 !important; }
.mal-bridge-login-primary:hover, .mal-bridge-login-primary:focus { background: #f0f8f3; color: #064b34 !important; }
.mal-bridge-login-create, .mal-bridge-login-create:visited { border: 1px solid rgba(255,255,255,.72); color: #fff !important; }
.mal-bridge-login-create:hover, .mal-bridge-login-create:focus { border-color: #fff; color: #fff !important; }
.mal-bridge-login-divider { align-items: center; display: flex; gap: 10px; }
.mal-bridge-login-divider::before, .mal-bridge-login-divider::after { background: rgba(255,255,255,.28); content: ""; flex: 1; height: 1px; }
.mal-bridge-login-divider span { color: #dbece5; font-size: 9px; letter-spacing: .03em; line-height: 1.3; text-transform: uppercase; }

@media (max-width: 480px) {
	.login form#loginform { padding: 0 22px 23px; }
	.login .mal-bridge-login-panel { margin-left: -22px; margin-right: -22px; padding: 22px 20px 18px; }
	.mal-connected-profile.is-floating { bottom: max(10px, env(safe-area-inset-bottom)); left: 10px; max-width: none; right: 10px; }
	.mal-connected-profile__card > a { border-radius: 17px; grid-template-columns: 44px minmax(0, 1fr) auto; padding: 9px 38px 9px 11px; }
	.mal-connected-profile__avatar { border-radius: 12px; height: 44px; width: 44px; }
}

@media (max-width: 800px) {
	.mal-bridge-card { grid-template-columns: 1fr; padding: 22px; }
	.mal-bridge-card > span { justify-self: start; }
	.mal-bridge-actions { min-width: 0; }
	.mal-bridge-actions a { white-space: normal; }
}
