.mewf,
.mewf * {
	box-sizing: border-box;
}

.mewf {
	--f-teal: #2a9d8f;
	--f-teal-dark: #218577;
	--f-slate: #264653;
	--f-yellow: #ffec1f;
	--f-sand: #f7f4ed;
	--f-line: #e2ded3;
	position: fixed;
	left: 22px;
	bottom: 22px;
	z-index: 99989;
	font-family: "Be Vietnam Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	opacity: 0;
	transform: translateY(14px);
	transition: opacity .35s ease, transform .35s ease;
	pointer-events: none;
}

.mewf.is-on {
	opacity: 1;
	transform: none;
	pointer-events: auto;
}

.mewf__bubble {
	position: relative;
	width: 172px;
	border: 0;
	padding: 0;
	background: #0f1f24;
	border-radius: 22px;
	overflow: hidden;
	isolation: isolate;
	-webkit-mask-image: -webkit-radial-gradient(#fff, #000);
	cursor: pointer;
	display: block;
	box-shadow: 0 16px 34px rgba(15, 31, 36, .3);
	transition: transform .22s ease, box-shadow .22s ease;
}

.mewf__bubble:hover {
	transform: translateY(-3px);
	box-shadow: 0 20px 42px rgba(15, 31, 36, .38);
}

.mewf__bubble video,
.mewf__bubble img {
	display: block;
	width: 100%;
	height: 229px;
	object-fit: cover;
	background: #0f1f24;
	border-radius: 22px;
}

.mewf .mewf__bubble {
	overflow: hidden;
}

.mewf__veil {
	position: absolute;
	border-radius: 0 0 22px 22px;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 30px 12px 11px;
	background: linear-gradient(to top, rgba(12, 26, 31, .92), rgba(12, 26, 31, 0));
	color: #fff;
	font-size: 13.5px;
	font-weight: 700;
	line-height: 1.3;
	text-align: left;
}

.mewf__veil span {
	display: block;
	margin-top: 3px;
	font-size: 11.5px;
	font-weight: 600;
	color: var(--f-yellow);
}

.mewf__x {
	position: absolute;
	top: 6px;
	right: 6px;
	width: 24px;
	height: 24px;
	border: 0;
	border-radius: 50%;
	background: rgba(9, 20, 24, .62);
	color: #fff;
	cursor: pointer;
	line-height: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
}

.mewf__x:hover {
	background: rgba(9, 20, 24, .9);
}

.mewf__x svg {
	width: 12px;
	height: 12px;
}

.mewf__live {
	position: absolute;
	top: 8px;
	left: 8px;
	display: flex;
	align-items: center;
	gap: 5px;
	font-size: 9.5px;
	font-weight: 700;
	letter-spacing: .1em;
	color: #fff;
	text-transform: uppercase;
	background: rgba(9, 20, 24, .5);
	border-radius: 999px;
	padding: 4px 8px 4px 6px;
}

.mewf__live::before {
	content: "";
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--f-teal);
	box-shadow: 0 0 0 0 rgba(42, 157, 143, .7);
	animation: mewf-pulse 2s infinite;
}

@keyframes mewf-pulse {
	0% { box-shadow: 0 0 0 0 rgba(42, 157, 143, .7); }
	70% { box-shadow: 0 0 0 7px rgba(42, 157, 143, 0); }
	100% { box-shadow: 0 0 0 0 rgba(42, 157, 143, 0); }
}

.mewf__card {
	display: none;
	width: 360px;
	max-width: calc(100vw - 32px);
	background: #fff;
	border: 1px solid var(--f-line);
	border-radius: 20px;
	overflow: hidden;
	overflow-y: auto;
	max-height: calc(100vh - 48px);
	box-shadow: 0 26px 60px rgba(19, 38, 45, .3);
}

.mewf.is-open .mewf__card {
	display: block;
}

.mewf.is-open .mewf__bubble {
	display: none;
}

.mewf__media {
	position: relative;
	background: #0f1f24;
	border-radius: 20px 20px 0 0;
	overflow: hidden;
}

.mewf__media video,
.mewf__media img {
	display: block;
	width: 100%;
	height: 186px;
	object-fit: cover;
	border-radius: 20px 20px 0 0;
}

.mewf__kicker {
	position: absolute;
	left: 16px;
	bottom: 12px;
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	text-shadow: 0 1px 10px rgba(0, 0, 0, .6);
}

.mewf__body {
	padding: 16px 20px 18px;
}

.mewf__body h4 {
	margin: 0 0 8px;
	font-size: 19px;
	font-weight: 700;
	line-height: 1.28;
	color: var(--f-slate);
}

.mewf__body p {
	margin: 0 0 12px;
	font-size: 14.5px;
	line-height: 1.55;
	color: #3d4d52;
}

.mewf__body ul {
	margin: 0 0 16px;
	padding: 0;
	list-style: none;
}

.mewf__body li {
	position: relative;
	padding-left: 22px;
	margin-bottom: 7px;
	font-size: 14px;
	line-height: 1.45;
	color: var(--f-slate);
}

.mewf__body li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 7px;
	width: 7px;
	height: 7px;
	border-radius: 2px;
	background: var(--f-teal);
	transform: rotate(45deg);
}

.mewf__cta {
	display: block;
	width: 100%;
	border: 0;
	border-radius: 11px;
	background: var(--f-teal);
	color: #fff;
	font: inherit;
	font-size: 15px;
	font-weight: 700;
	padding: 13px;
	cursor: pointer;
	text-align: center;
	text-decoration: none;
}

.mewf__cta:hover {
	background: var(--f-teal-dark);
	color: #fff;
}

.mewf__alt {
	display: block;
	margin-top: 10px;
	text-align: center;
	font-size: 13.5px;
	font-weight: 600;
	color: var(--f-teal-dark);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.mewf__dismiss {
	display: block;
	width: 100%;
	margin-top: 6px;
	background: none;
	border: 0;
	font: inherit;
	font-size: 12.5px;
	color: #8a9799;
	cursor: pointer;
	padding: 6px;
}

@media (max-width: 600px) {
	.mewf {
		left: 14px;
		bottom: 14px;
	}

	.mewf__bubble {
		width: 118px;
		border-radius: 18px;
	}

	.mewf__veil {
		border-radius: 0 0 18px 18px;
	}

	.mewf__bubble video,
	.mewf__bubble img {
		height: 157px;
		border-radius: 18px;
	}

	.mewf__card {
		width: calc(100vw - 28px);
	}

	.mewf__media video,
	.mewf__media img {
		height: 150px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.mewf,
	.mewf__bubble {
		transition: none;
	}

	.mewf__live::before {
		animation: none;
	}
}
