/**
 * Mobile Swipe Feed front end.
 */

.msf-root {
	--msf-page-height: 100vh;
	--msf-side: clamp(18px, 5vw, 26px);
	--msf-safe-top: max(14px, env(safe-area-inset-top));
	--msf-safe-bottom: max(18px, env(safe-area-inset-bottom));
	background: #101513;
	color: #fff;
	display: none;
	font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	inset: 0;
	line-height: 1.45;
	overflow: hidden;
	position: fixed;
	z-index: 2147483000;
}

@supports (height: 100dvh) {
	.msf-root {
		--msf-page-height: 100dvh;
	}
}

.msf-root.is-active {
	display: block;
}

body.msf-feed-open {
	height: 100%;
	overflow: hidden !important;
}

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

.msf-root a,
.msf-root button {
	-webkit-tap-highlight-color: transparent;
}

.msf-scroller {
	height: var(--msf-page-height);
	overflow-x: hidden;
	overflow-y: auto;
	overscroll-behavior-y: contain;
	scroll-behavior: smooth;
	scroll-snap-type: y mandatory;
	scrollbar-width: none;
	touch-action: pan-y;
}

.msf-scroller::-webkit-scrollbar {
	display: none;
}

.msf-scroller:focus {
	outline: 0;
}

.msf-chrome {
	align-items: center;
	display: flex;
	justify-content: space-between;
	left: 0;
	padding: var(--msf-safe-top) var(--msf-side) 42px;
	pointer-events: none;
	position: absolute;
	right: 0;
	top: 0;
	z-index: 20;
	background: linear-gradient(180deg, rgba(8, 12, 11, 0.78) 0%, rgba(8, 12, 11, 0.18) 62%, transparent 100%);
}

.msf-brand {
	align-items: center;
	color: #fff !important;
	display: inline-flex;
	gap: 10px;
	max-width: calc(100% - 58px);
	pointer-events: auto;
	text-decoration: none !important;
	text-shadow: 0 1px 10px rgba(0, 0, 0, 0.4);
}

.msf-brand__mark {
	align-items: center;
	background: var(--msf-accent);
	background: color-mix(in srgb, var(--msf-accent) 88%, #fff 12%);
	border: 1px solid rgba(255, 255, 255, 0.65);
	border-radius: 50%;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.24);
	color: #17201d;
	display: inline-flex;
	flex: 0 0 38px;
	font-family: Georgia, serif;
	font-size: 20px;
	font-weight: 700;
	height: 38px;
	justify-content: center;
}

.msf-brand > span:last-child {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.msf-brand strong {
	font-size: 14px;
	font-weight: 800;
	letter-spacing: 0.02em;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.msf-brand small {
	color: rgba(255, 255, 255, 0.74);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.msf-close {
	align-items: center;
	appearance: none;
	background: rgba(9, 14, 12, 0.48);
	border: 1px solid rgba(255, 255, 255, 0.5);
	border-radius: 50%;
	color: #fff;
	cursor: pointer;
	display: inline-flex;
	flex: 0 0 44px;
	height: 44px;
	justify-content: center;
	margin: 0;
	padding: 0;
	pointer-events: auto;
	position: relative;
	width: 44px;
}

.msf-chrome__actions {
	align-items: center;
	display: flex;
	gap: 8px;
	pointer-events: auto;
}

.msf-chrome-heart {
	align-items: center;
	appearance: none;
	background: rgba(9, 14, 12, 0.48);
	border: 1px solid rgba(255, 255, 255, 0.5);
	border-radius: 50%;
	color: #fff;
	cursor: pointer;
	display: inline-flex;
	height: 44px;
	justify-content: center;
	padding: 0;
	position: relative;
	width: 44px;
}

.msf-chrome-heart svg {
	fill: transparent;
	height: 20px;
	stroke: currentColor;
	stroke-width: 1.8;
	width: 20px;
}

.msf-chrome-heart > span {
	align-items: center;
	background: var(--msf-accent);
	border-radius: 999px;
	color: #17201d;
	display: flex;
	font-size: 8px;
	font-weight: 900;
	height: 16px;
	justify-content: center;
	min-width: 16px;
	padding: 0 4px;
	position: absolute;
	right: -3px;
	top: -3px;
}

.msf-close span {
	background: currentColor;
	height: 2px;
	left: 11px;
	position: absolute;
	top: 19px;
	transform: rotate(45deg);
	width: 18px;
}

.msf-close span:last-child {
	transform: rotate(-45deg);
}

.msf-close:focus-visible,
.msf-root a:focus-visible,
.msf-round-button:focus-visible {
	outline: 3px solid var(--msf-accent);
	outline-offset: 3px;
}

.msf-card {
	background: #151d1a;
	color: #fff;
	display: flex;
	flex-direction: column;
	height: var(--msf-page-height);
	isolation: isolate;
	justify-content: flex-end;
	min-height: var(--msf-page-height);
	overflow: hidden;
	position: relative;
	scroll-snap-align: start;
	scroll-snap-stop: always;
}

.msf-card__media,
.msf-ad__stage,
.msf-card__shade {
	inset: 0;
	position: absolute;
}

.msf-card__media {
	background: radial-gradient(circle at 20% 15%, #395d52 0%, #18231f 48%, #0c110f 100%);
	z-index: -3;
}

.msf-card__media img,
.msf-ad__image,
.msf-ad__video {
	display: block;
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.msf-card__media img {
	transform: scale(1.015);
	transition: transform 7s cubic-bezier(0.2, 0.6, 0.3, 1);
}

.msf-card.is-current .msf-card__media img {
	transform: scale(1.08);
}

.msf-card__fallback,
.msf-ad__fallback {
	align-items: center;
	background: #1a2823;
	background:
		radial-gradient(circle at 76% 22%, color-mix(in srgb, var(--msf-accent) 68%, transparent) 0 13%, transparent 14%),
		linear-gradient(145deg, #315d53 0%, #1a2823 52%, #0c110f 100%);
	display: flex;
	height: 100%;
	justify-content: center;
	width: 100%;
}

.msf-card__fallback span,
.msf-ad__fallback span {
	color: rgba(255, 255, 255, 0.16);
	font-family: Georgia, serif;
	font-size: clamp(150px, 54vw, 250px);
	font-weight: 700;
	line-height: 1;
}

.msf-card__shade {
	background:
		linear-gradient(180deg, rgba(5, 8, 7, 0.2) 0%, transparent 28%, rgba(5, 8, 7, 0.08) 44%, rgba(5, 8, 7, 0.91) 100%),
		linear-gradient(90deg, rgba(5, 8, 7, 0.12), transparent 60%);
	z-index: -1;
}

.msf-card__content {
	align-items: flex-start;
	display: flex;
	flex-direction: column;
	max-width: calc(100% - 64px);
	padding: 110px var(--msf-side) calc(var(--msf-safe-bottom) + 26px);
	position: relative;
	z-index: 5;
}

.msf-card__label {
	align-items: center;
	color: rgba(255, 255, 255, 0.84);
	display: flex;
	font-size: 11px;
	font-weight: 800;
	gap: 9px;
	letter-spacing: 0.13em;
	margin: 0 0 12px;
	text-transform: uppercase;
}

.msf-card__label span {
	background: var(--msf-accent);
	border-radius: 999px;
	height: 3px;
	width: 28px;
}

.msf-root .msf-card h2 {
	color: #fff !important;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(34px, 10.5vw, 48px);
	font-weight: 500;
	letter-spacing: -0.035em;
	line-height: 0.98;
	margin: 0 0 16px;
	max-width: 11.5em;
	text-shadow: 0 2px 24px rgba(0, 0, 0, 0.48);
	text-wrap: balance;
}

.msf-card h2 a {
	color: inherit !important;
	text-decoration: none !important;
}

.msf-card__excerpt {
	color: rgba(255, 255, 255, 0.88);
	display: -webkit-box;
	font-size: 14px;
	line-height: 1.5;
	margin: 0 0 10px;
	max-width: 32em;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
}

.msf-card__byline {
	color: rgba(255, 255, 255, 0.62);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.03em;
	margin: 0 0 18px;
}

.msf-card__cta {
	align-items: center;
	background: var(--msf-accent);
	border-radius: 999px;
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
	color: #17201d !important;
	display: inline-flex;
	font-size: 12px;
	font-weight: 900;
	gap: 15px;
	justify-content: center;
	letter-spacing: 0.08em;
	min-height: 44px;
	padding: 11px 19px;
	position: relative;
	text-decoration: none !important;
	text-transform: uppercase;
	z-index: 6;
}

.msf-card__cta span {
	font-size: 19px;
	line-height: 1;
	margin-top: -2px;
}

.msf-saved-card__remove {
	align-items: center;
	appearance: none;
	background: rgba(111, 24, 43, 0.82);
	border: 1px solid rgba(255, 255, 255, 0.36);
	border-radius: 50%;
	color: #fff;
	cursor: pointer;
	display: inline-flex;
	font: 400 22px/1 Arial, sans-serif;
	height: 44px;
	justify-content: center;
	margin-top: 11px;
	padding: 0 0 2px;
	position: relative;
	width: 44px;
	z-index: 6;
}

.msf-saved-card__remove > span:first-child {
	font-size: 24px;
	line-height: 1;
}

.msf-saved-card__remove:focus-visible {
	outline: 3px solid #fff;
	outline-offset: 3px;
}

.msf-card__rail {
	bottom: calc(var(--msf-safe-bottom) + 32px);
	display: flex;
	flex-direction: column;
	gap: 13px;
	position: absolute;
	right: 12px;
	z-index: 7;
}

.msf-round-button {
	align-items: center;
	appearance: none;
	background: none;
	border: 0;
	color: #fff;
	cursor: pointer;
	display: flex;
	flex-direction: column;
	font: inherit;
	font-size: 9px;
	font-weight: 800;
	gap: 5px;
	letter-spacing: 0.04em;
	margin: 0;
	padding: 0;
	text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
	text-transform: uppercase;
}

.msf-root button.msf-round-button {
	box-shadow: none !important;
}

.msf-round-button svg {
	background: rgba(8, 12, 11, 0.48);
	border: 1px solid rgba(255, 255, 255, 0.45);
	border-radius: 50%;
	fill: currentColor;
	height: 46px;
	padding: 12px;
	width: 46px;
}

.msf-round-button__icon {
	align-items: center !important;
	background: rgba(8, 12, 11, 0.52) !important;
	border: 1px solid rgba(255, 255, 255, 0.45) !important;
	border-radius: 50% !important;
	display: flex !important;
	font-family: Georgia, serif !important;
	font-size: 20px !important;
	font-weight: 800 !important;
	height: 46px !important;
	justify-content: center;
	width: 46px !important;
}

.msf-round-button[data-msf-favorite] svg {
	fill: rgba(8, 12, 11, 0.48);
	stroke: currentColor;
	stroke-width: 1.8;
}

.msf-round-button[data-msf-favorite].is-saved svg {
	background: #ef4f74;
	border-color: #ffb4c5;
	fill: #fff;
	stroke: #fff;
}

.msf-round-button--reaction.is-reacted .msf-round-button__icon {
	background: rgba(239, 79, 116, 0.82) !important;
	transform: scale(1.06);
}

.msf-round-button--pinterest .msf-round-button__icon {
	background: #bd081c !important;
}

.msf-content__tap-target {
	inset: 0;
	position: absolute;
	z-index: 2;
}

.msf-reaction-particle {
	animation: msf-reaction-rise 1.8s cubic-bezier(0.16, 0.75, 0.36, 1) forwards;
	bottom: calc(var(--msf-safe-bottom) + 88px);
	filter: drop-shadow(0 7px 12px rgba(0, 0, 0, 0.34));
	font-size: 28px;
	pointer-events: none;
	position: absolute;
	right: 23px;
	z-index: 18;
}

.msf-reaction-particle--desktop {
	bottom: auto;
	position: fixed;
	right: auto;
	z-index: 99999;
}

@keyframes msf-reaction-rise {
	0% { opacity: 0; transform: translate3d(0, 15px, 0) scale(0.45) rotate(0); }
	14% { opacity: 1; }
	75% { opacity: 0.95; }
	100% { opacity: 0; transform: translate3d(var(--msf-drift), -72vh, 0) scale(1.35) rotate(var(--msf-spin)); }
}

.msf-root .msf-round-button span {
	background: none !important;
	border: 0 !important;
	border-radius: 0 !important;
	color: #fff !important;
	display: block !important;
	font: inherit !important;
	height: auto !important;
	line-height: 1.2 !important;
	margin: 0 !important;
	min-height: 0 !important;
	padding: 0 !important;
	width: auto !important;
}

.msf-root .msf-round-button .msf-round-button__icon {
	align-items: center !important;
	background: rgba(8, 12, 11, 0.52) !important;
	border: 1px solid rgba(255, 255, 255, 0.45) !important;
	border-radius: 50% !important;
	display: flex !important;
	font-family: Georgia, serif !important;
	font-size: 20px !important;
	font-weight: 800 !important;
	height: 46px !important;
	justify-content: center !important;
	width: 46px !important;
}

.msf-root .msf-round-button--reaction.is-reacted .msf-round-button__icon {
	background: rgba(239, 79, 116, 0.82) !important;
}

.msf-root .msf-round-button--pinterest .msf-round-button__icon {
	background: #bd081c !important;
}

.msf-card--ad {
	background: #111714;
}

.msf-ad__stage {
	background: #111714;
	z-index: -3;
}

.msf-card--ad:not(.is-ad-ready) .msf-ad__stage,
.msf-card--ad:not(.is-ad-ready) .msf-ad__content {
	opacity: 0;
}

.msf-ad__stage,
.msf-ad__content {
	transition: opacity 0.42s ease;
}

.msf-ad__image--zoom {
	animation: msf-ad-zoom 12s ease-in-out infinite alternate;
}

.msf-ad__image--pan {
	height: 112%;
	animation: msf-ad-pan 12s ease-in-out infinite alternate;
}

@keyframes msf-ad-zoom {
	from { transform: scale(1); }
	to { transform: scale(1.13); }
}

@keyframes msf-ad-pan {
	from { transform: translateY(0) scale(1.05); }
	to { transform: translateY(-10%) scale(1.05); }
}

.msf-ad__code-slot {
	align-items: center;
	display: flex;
	height: 100%;
	justify-content: center;
	padding: 74px 18px 110px;
	width: 100%;
}

.msf-card--ad-code .msf-ad__stage {
	z-index: 3;
}

.msf-card--ad-code .msf-card__shade {
	pointer-events: none;
}

.msf-ad__code-slot > * {
	max-height: 100%;
	max-width: 100%;
}

.msf-ad__label {
	background: rgba(9, 13, 12, 0.58);
	border: 1px solid rgba(255, 255, 255, 0.34);
	border-radius: 999px;
	color: rgba(255, 255, 255, 0.88);
	font-size: 9px;
	font-weight: 800;
	left: var(--msf-side);
	letter-spacing: 0.15em;
	padding: 6px 10px;
	position: absolute;
	text-transform: uppercase;
	top: calc(var(--msf-safe-top) + 68px);
	z-index: 7;
}

.msf-ad__sponsor {
	color: var(--msf-accent);
	font-size: 12px;
	font-weight: 900;
	letter-spacing: 0.12em;
	margin: 0 0 11px;
	text-transform: uppercase;
}

.msf-product__badge {
	background: rgba(255, 255, 255, 0.93);
	border-radius: 999px;
	color: #17201d;
	font-size: 9px;
	font-weight: 900;
	letter-spacing: 0.12em;
	margin: 0 0 10px;
	padding: 6px 10px;
	text-transform: uppercase;
}

.msf-product__description {
	color: rgba(255, 255, 255, 0.88);
	display: -webkit-box;
	font-size: 14px;
	line-height: 1.45;
	margin: -4px 0 10px;
	max-width: 32em;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
}

.msf-product__price {
	align-items: baseline;
	display: flex;
	gap: 10px;
	margin: 0 0 16px;
}

.msf-product__price strong {
	color: #fff;
	font-size: 24px;
	line-height: 1;
}

.msf-product__price del {
	color: rgba(255, 255, 255, 0.58);
	font-size: 14px;
}

.msf-ad__tap-target {
	inset: 0;
	position: absolute;
	z-index: 2;
}

.msf-card--end {
	align-items: center;
	background:
		radial-gradient(circle at 50% 25%, rgba(227, 184, 79, 0.22), transparent 30%),
		linear-gradient(160deg, #26463e, #101714 66%);
	justify-content: center;
	padding: 40px 30px;
	text-align: center;
}

.msf-card--end h2 {
	font-size: clamp(38px, 11vw, 52px);
	margin-bottom: 28px;
	max-width: 9em;
}

.msf-card--end .msf-card__label {
	margin-bottom: 18px;
}

.msf-end-mark {
	align-items: center;
	background: var(--msf-accent);
	border-radius: 50%;
	box-shadow: 0 18px 50px rgba(0, 0, 0, 0.25);
	color: #17201d;
	display: flex;
	font-size: 31px;
	font-weight: 900;
	height: 74px;
	justify-content: center;
	margin-bottom: 26px;
	width: 74px;
}

.msf-helper {
	align-items: center;
	background: rgba(7, 11, 10, 0.86);
	backdrop-filter: blur(16px);
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: 24px;
	box-shadow: 0 24px 80px rgba(0, 0, 0, 0.48);
	display: flex;
	flex-direction: column;
	left: 50%;
	max-width: calc(100% - 48px);
	opacity: 0;
	padding: 22px 24px 20px;
	pointer-events: none;
	position: absolute;
	text-align: center;
	top: 50%;
	transform: translate(-50%, -45%) scale(0.94);
	transition: opacity 0.28s ease, transform 0.28s ease;
	visibility: hidden;
	width: 280px;
	z-index: 30;
}

.msf-helper.is-visible {
	opacity: 1;
	transform: translate(-50%, -50%) scale(1);
	visibility: visible;
}

.msf-helper strong {
	font-family: Georgia, serif;
	font-size: 25px;
	font-weight: 500;
	margin-top: 12px;
}

.msf-helper > span {
	color: rgba(255, 255, 255, 0.72);
	font-size: 13px;
	line-height: 1.45;
	margin-top: 5px;
}

.msf-helper__demo {
	height: 100px;
	position: relative;
	width: 88px;
}

.msf-helper__phone {
	background: #17201d;
	border: 2px solid rgba(255, 255, 255, 0.7);
	border-radius: 10px;
	height: 86px;
	left: 7px;
	overflow: hidden;
	position: absolute;
	top: 0;
	width: 48px;
}

.msf-helper__phone span {
	background: linear-gradient(155deg, #53958a, #1e3731);
	display: block;
	height: 100%;
	position: absolute;
	width: 100%;
	animation: msf-screen-swipe 1.7s ease-in-out infinite;
}

.msf-helper__phone span:last-child {
	background: linear-gradient(155deg, var(--msf-accent), #845f22);
	top: 100%;
}

.msf-helper__hand {
	animation: msf-hand-swipe 1.7s ease-in-out infinite;
	bottom: -4px;
	filter: drop-shadow(0 5px 8px rgba(0, 0, 0, 0.32));
	position: absolute;
	right: 0;
	width: 46px;
}

.msf-helper__hand svg {
	display: block;
	fill: #f1c9a9;
	stroke: rgba(82, 48, 28, 0.55);
	stroke-width: 1.5;
	width: 100%;
}

@keyframes msf-hand-swipe {
	0%, 18% { transform: translateY(9px); }
	52%, 66% { transform: translateY(-27px); }
	100% { transform: translateY(9px); }
}

@keyframes msf-screen-swipe {
	0%, 18% { transform: translateY(0); }
	52%, 66% { transform: translateY(-100%); }
	100% { transform: translateY(0); }
}

.msf-root.is-closing {
	opacity: 0;
	transition: opacity 0.22s ease;
}

.msf-root .screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

/* Portable desktop post favorite control. */
.msf-desktop-favorite-wrap {
	display: block;
	margin: 0 0 24px;
}

.msf-desktop-favorite-wrap--archive {
	margin: 18px 0 4px;
}

.msf-desktop-favorite-wrap--card {
	display: block;
	margin: 10px 0 2px;
}

.msf-desktop-engagement-wrap {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.msf-desktop-favorite-wrap--single-top,
.msf-desktop-favorite-wrap--single-bottom {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: flex-end;
	position: relative;
	width: 100%;
	z-index: 4;
}

.msf-desktop-favorite-wrap--single-top {
	margin: 0 0 24px;
}

.msf-desktop-favorite-wrap--single-bottom {
	border-top: 1px solid rgba(34, 78, 66, 0.12);
	margin: 32px 0 0;
	padding-top: 20px;
}

.msf-desktop-favorite,
.msf-desktop-like {
	align-items: center;
	appearance: none;
	background: #fff;
	border: 1px solid rgba(34, 78, 66, 0.2);
	border-radius: 999px;
	box-shadow: 0 7px 22px rgba(28, 58, 50, 0.08);
	color: #315f54;
	cursor: pointer;
	display: inline-flex;
	font: 800 12px/1.2 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	gap: 9px;
	letter-spacing: 0.035em;
	min-height: 43px;
	padding: 10px 17px;
	text-transform: uppercase;
	transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.msf-desktop-favorite:hover,
.msf-desktop-like:hover {
	border-color: #d7a93d;
	color: #9d394f;
	transform: translateY(-1px);
}

.msf-desktop-favorite:focus-visible,
.msf-desktop-like:focus-visible {
	outline: 3px solid color-mix(in srgb, var(--msf-accent) 58%, transparent);
	outline-offset: 3px;
}

.msf-desktop-favorite svg,
.msf-desktop-like svg {
	fill: transparent;
	height: 19px;
	stroke: currentColor;
	stroke-width: 1.9;
	transition: fill 0.18s ease, transform 0.18s ease;
	width: 19px;
}

.msf-desktop-favorite.is-saved {
	background: #fff5f6;
	border-color: rgba(212, 63, 94, 0.32);
	color: #cf3f5d;
}

.msf-desktop-favorite.is-saved svg {
	fill: currentColor;
	transform: scale(1.06);
}

.msf-desktop-like {
	color: #9d394f;
}

.msf-desktop-like.is-reacted {
	background: #fff5f6;
	border-color: rgba(212, 63, 94, 0.32);
	color: #cf3f5d;
}

.msf-desktop-like.is-reacted svg {
	fill: currentColor;
	transform: scale(1.08);
}

.msf-desktop-favorite--card {
	box-shadow: none;
	font-size: 10px;
	gap: 6px;
	letter-spacing: 0.055em;
	min-height: 44px;
	padding: 7px 12px;
}

.msf-desktop-favorite--card svg {
	height: 15px;
	width: 15px;
}

.msf-desktop-like--card {
	box-shadow: none;
	font-size: 10px;
	gap: 6px;
	letter-spacing: 0.055em;
	min-height: 34px;
	padding: 7px 12px;
}

.msf-desktop-like--card svg {
	height: 15px;
	width: 15px;
}

/* Keep theme button effects from leaking into engagement controls. */
.msf-desktop-favorite,
.msf-desktop-favorite:hover,
.msf-desktop-favorite:focus,
.msf-desktop-favorite:active,
.msf-desktop-like,
.msf-desktop-like:hover,
.msf-desktop-like:focus,
.msf-desktop-like:active,
.msf-favorites-menu-button,
.msf-favorites-menu-button:hover,
.msf-favorites-menu-button:focus,
.msf-favorites-menu-button:active,
.msf-favorites-fab,
.msf-favorites-fab:hover,
.msf-favorites-fab:focus,
.msf-favorites-fab:active,
.msf-favorites-panel button,
.msf-favorites-panel button:hover,
.msf-favorites-panel button:focus,
.msf-favorites-panel button:active,
.msf-favorites-panel a,
.msf-favorites-panel a:hover,
.msf-favorites-panel a:focus,
.msf-favorites-panel a:active,
.msf-favorites-panel label,
.msf-favorites-panel label:hover,
.msf-favorites-panel label:focus,
.msf-favorites-panel label:active {
	box-shadow: none !important;
	text-decoration: none !important;
}

.msf-root button,
.msf-root button:hover,
.msf-root button:focus,
.msf-root button:active {
	box-shadow: none !important;
	text-decoration: none !important;
}

.msf-desktop-favorite::before,
.msf-desktop-favorite::after,
.msf-desktop-like::before,
.msf-desktop-like::after,
.msf-favorites-menu-button::before,
.msf-favorites-menu-button::after,
.msf-favorites-fab::before,
.msf-favorites-fab::after,
.msf-favorites-panel button::before,
.msf-favorites-panel button::after,
.msf-favorites-panel a::before,
.msf-favorites-panel a::after,
.msf-favorites-panel label::before,
.msf-favorites-panel label::after {
	box-shadow: none !important;
	content: none !important;
	display: none !important;
}

.msf-root button::before,
.msf-root button::after {
	box-shadow: none !important;
	content: none !important;
	display: none !important;
}

.msf-favorites-menu-button:focus-visible,
.msf-favorites-fab:focus-visible,
.msf-favorites-panel button:focus-visible,
.msf-favorites-panel a:focus-visible,
.msf-favorites-panel label:focus-visible {
	outline: 3px solid color-mix(in srgb, var(--msf-accent) 58%, transparent) !important;
	outline-offset: 3px;
}

.msf-root button:focus-visible {
	outline: 3px solid color-mix(in srgb, var(--msf-accent) 58%, white) !important;
	outline-offset: 3px;
}

/* Sitewide favorites access and collection panel. */
.msf-favorites-menu-button {
	align-items: center;
	appearance: none;
	background: transparent;
	border: 0;
	color: inherit;
	cursor: pointer;
	display: inline-flex;
	height: 40px;
	justify-content: center;
	padding: 8px 10px;
	position: relative;
}

.msf-favorites-menu-button svg,
.msf-favorites-fab svg {
	fill: transparent;
	height: 22px;
	stroke: currentColor;
	stroke-width: 1.8;
	width: 22px;
}

.msf-favorites-count {
	align-items: center;
	background: #e4486d;
	border-radius: 999px;
	color: #fff;
	display: inline-flex;
	font-size: 8px;
	font-weight: 900;
	height: 16px;
	justify-content: center;
	min-width: 16px;
	padding: 0 4px;
	position: absolute;
	right: 0;
	top: 1px;
}

.msf-favorites-count.is-empty,
.msf-favorites-fab [data-msf-favorites-count].is-empty,
.msf-chrome-heart [data-msf-favorites-count].is-empty {
	display: none;
}

.msf-favorites-fab {
	align-items: center;
	appearance: none;
	background: #fff;
	border: 1px solid rgba(26, 45, 39, 0.12);
	border-radius: 50%;
	bottom: max(78px, calc(18px + env(safe-area-inset-bottom)));
	box-shadow: 0 12px 34px rgba(22, 40, 34, 0.2);
	color: #263c36;
	cursor: pointer;
	display: none;
	height: 50px;
	justify-content: center;
	padding: 0;
	position: fixed;
	right: 16px;
	width: 50px;
	z-index: 99990;
}

.msf-favorites-fab > span {
	align-items: center;
	background: #e4486d;
	border-radius: 999px;
	color: #fff;
	display: flex;
	font-size: 8px;
	font-weight: 900;
	height: 16px;
	justify-content: center;
	min-width: 16px;
	padding: 0 4px;
	position: absolute;
	right: -2px;
	top: -2px;
}

body.msf-feed-open .msf-favorites-fab {
	display: none !important;
}

.msf-favorites-panel {
	display: none;
	font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	inset: 0;
	position: fixed;
	z-index: 2147483600;
}

.msf-favorites-panel.is-open {
	display: block;
}

.msf-favorites-backdrop {
	appearance: none;
	background: rgba(8, 14, 12, 0.62);
	border: 0;
	inset: 0;
	padding: 0;
	position: absolute;
	width: 100%;
}

.msf-favorites-sheet {
	background: #fbfaf6;
	box-shadow: -24px 0 80px rgba(0, 0, 0, 0.24);
	color: #1e2925;
	display: flex;
	flex-direction: column;
	height: 100%;
	max-width: 470px;
	position: absolute;
	right: 0;
	top: 0;
	transform: translateX(100%);
	transition: transform 0.25s ease;
	width: min(92vw, 470px);
}

.msf-favorites-panel.is-open .msf-favorites-sheet {
	transform: translateX(0);
}

.msf-favorites-sheet > header {
	align-items: center;
	border-bottom: 1px solid #e6e0d4;
	display: flex;
	justify-content: space-between;
	padding: max(24px, env(safe-area-inset-top)) 26px 20px;
}

.msf-favorites-sheet header p {
	color: #2f766b;
	font-size: 9px;
	font-weight: 900;
	letter-spacing: 0.16em;
	margin: 0 0 3px;
}

.msf-favorites-sheet header h2 {
	color: #1e2925;
	font-family: Georgia, serif;
	font-size: 34px;
	font-weight: 500;
	line-height: 1;
	margin: 0;
}

.msf-favorites-sheet header button {
	align-items: center;
	appearance: none;
	background: #fff;
	border: 1px solid #dcd8cf;
	border-radius: 50%;
	color: #1e2925;
	cursor: pointer;
	display: flex;
	font: 300 30px/1 Arial, sans-serif;
	height: 42px;
	justify-content: center;
	padding: 0 0 3px;
	width: 42px;
}

.msf-favorites-list {
	display: grid;
	gap: 14px;
	overflow-y: auto;
	padding: 20px 22px max(28px, env(safe-area-inset-bottom));
}

.msf-favorite-row {
	background: #fff;
	border: 1px solid #e6e0d4;
	border-radius: 14px;
	display: grid;
	grid-template-columns: 116px 1fr;
	min-height: 112px;
	overflow: hidden;
}

.msf-favorite-row__image {
	background: linear-gradient(145deg, #315d53, #1a2823);
	display: block;
	min-height: 112px;
	overflow: hidden;
	text-decoration: none;
}

.msf-favorite-row__image img {
	display: block;
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.msf-favorite-row__image > span {
	align-items: center;
	color: rgba(255, 255, 255, 0.34);
	display: flex;
	font: 700 56px/1 Georgia, serif;
	height: 100%;
	justify-content: center;
}

.msf-favorite-row__details {
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-width: 0;
	padding: 12px 14px;
}

.msf-favorite-row__details small {
	color: #2f766b;
	font-size: 9px;
	font-weight: 900;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.msf-favorite-row__details h3 {
	color: #1e2925;
	display: -webkit-box;
	font-family: Georgia, serif;
	font-size: 18px;
	font-weight: 500;
	line-height: 1.13;
	margin: 4px 0 10px;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.msf-like-count {
	align-items: center;
	color: #9f3e50;
	display: flex;
	font-size: 11px;
	font-weight: 750;
	gap: 6px;
	line-height: 1.25;
	margin: -4px 0 10px;
}

.msf-like-count > span:first-child {
	color: #e4486d;
	font-size: 15px;
}

.msf-favorite-row__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.msf-favorite-row__actions a,
.msf-favorite-row__actions button {
	appearance: none;
	background: none;
	border: 0;
	color: #2f766b;
	cursor: pointer;
	font: 800 10px/1.2 Inter, sans-serif;
	letter-spacing: 0.06em;
	margin: 0;
	padding: 0;
	text-decoration: none;
	text-transform: uppercase;
}

.msf-favorite-row__actions button {
	color: #9f3e50;
}

.msf-favorite-row__actions button.msf-favorite-row__remove {
	align-items: center;
	background: #fff1f3;
	border: 1px solid #f1c6ce;
	border-radius: 50%;
	display: inline-flex;
	height: 27px;
	justify-content: center;
	padding: 0 0 2px;
	width: 27px;
}

.msf-favorite-row__remove > span:first-child {
	font-size: 18px;
	line-height: 1;
}

.msf-favorite-row__save {
	align-items: center;
	display: inline-flex;
	gap: 4px;
}

.msf-favorite-row__save > span:first-child {
	font-size: 15px;
	line-height: 0.7;
}

.msf-favorite-row__save.is-saved > span:first-child {
	color: #e4486d;
}

.msf-library-loading {
	align-items: center;
	color: #5c6a64;
	display: flex;
	font-size: 13px;
	justify-content: center;
	min-height: 42vh;
	padding: 40px;
	text-align: center;
}

.msf-favorites-empty {
	align-items: center;
	color: #6e756f;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 50vh;
	padding: 40px;
	text-align: center;
}

.msf-favorites-empty span {
	color: #d6a641;
	font: 300 72px/1 Georgia, serif;
}

.msf-favorites-empty p {
	font-size: 14px;
	line-height: 1.5;
	margin: 12px 0 0;
}

.msf-global-announcer {
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	height: 1px;
	overflow: hidden;
	position: absolute;
	white-space: nowrap;
	width: 1px;
}

body.msf-favorites-open {
	overflow: hidden !important;
}

@media (max-width: 420px) {
	.msf-card__content {
		max-width: calc(100% - 54px);
	}

	.msf-root .msf-card h2 {
		font-size: clamp(33px, 10vw, 43px);
	}

	.msf-card__excerpt {
		font-size: 13px;
		-webkit-line-clamp: 2;
	}

	.msf-card__rail {
		right: 9px;
	}
}

@media (max-width: 820px) {
	.msf-favorites-fab {
		display: flex;
	}

	.msf-favorites-menu-item {
		display: none !important;
	}

	.msf-favorites-sheet {
		max-width: none;
		width: 100%;
	}
}

@media (max-height: 680px) {
	.msf-card__content {
		padding-bottom: calc(var(--msf-safe-bottom) + 16px);
	}

	.msf-root .msf-card h2 {
		font-size: clamp(30px, 9vw, 40px);
		margin-bottom: 11px;
	}

	.msf-card__excerpt {
		-webkit-line-clamp: 2;
		margin-bottom: 7px;
	}

	.msf-card__byline {
		margin-bottom: 12px;
	}

	.msf-card__cta {
		min-height: 40px;
		padding: 9px 16px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.msf-scroller {
		scroll-behavior: auto;
	}

	.msf-card__media img,
	.msf-ad__image,
	.msf-helper__phone span,
	.msf-helper__hand {
		animation: none !important;
		transform: none !important;
		transition: none !important;
	}
}

/* Version 2 discovery, preference, video, and recipe UI. */
.msf-settings-open {
	align-items: center;
	appearance: none;
	background: rgba(9, 14, 12, 0.48);
	border: 1px solid rgba(255, 255, 255, 0.5);
	border-radius: 50%;
	color: #fff;
	cursor: pointer;
	display: inline-flex;
	font-size: 18px;
	height: 42px;
	justify-content: center;
	padding: 0;
	width: 42px;
}

.msf-feed-tabs {
	display: flex;
	gap: 8px;
	left: 0;
	overflow-x: auto;
	padding: 0 var(--msf-side) 12px;
	position: absolute;
	right: 0;
	scrollbar-width: none;
	top: calc(var(--msf-safe-top) + 54px);
	z-index: 24;
}

.msf-feed-tabs::-webkit-scrollbar { display: none; }

.msf-feed-tabs button {
	appearance: none;
	backdrop-filter: blur(12px);
	background: rgba(10, 16, 14, 0.54);
	border: 1px solid rgba(255, 255, 255, 0.28);
	border-radius: 999px;
	color: rgba(255, 255, 255, 0.82);
	cursor: pointer;
	flex: 0 0 auto;
	font: 800 11px/1 Inter, sans-serif;
	letter-spacing: 0.05em;
	min-height: 34px;
	padding: 0 15px;
}

.msf-feed-tabs button.is-active {
	background: var(--msf-accent);
	border-color: var(--msf-accent);
	color: #15201c;
}

.msf-card__buttons {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 9px;
}

.msf-card__cta--secondary {
	appearance: none;
	background: rgba(10, 16, 14, 0.62);
	border: 1px solid rgba(255, 255, 255, 0.62);
	color: #fff !important;
	cursor: pointer;
	white-space: nowrap;
}

.msf-card__cta--secondary:hover,
.msf-card__cta--secondary:focus-visible {
	background: rgba(10, 16, 14, 0.82);
	border-color: rgba(255, 255, 255, 0.86);
	color: #fff !important;
}

/* Add Saved to GluJoy's existing mobile/tablet app navigation. */
@media (max-width: 1024px) {
	.gj-app-tabbar.msf-has-favorites {
		grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
	}

	.gj-app-tabbar .msf-mobile-favorites-tab,
	.gj-app-tabbar .msf-mobile-favorites-tab:hover,
	.gj-app-tabbar .msf-mobile-favorites-tab:focus,
	.gj-app-tabbar .msf-mobile-favorites-tab:active {
		appearance: none;
		background: transparent !important;
		border: 0 !important;
		box-shadow: none !important;
		color: #e4486d !important;
		cursor: pointer;
		font: inherit;
		margin: 0;
		min-width: 0;
		padding: 0;
		position: relative;
		text-decoration: none !important;
		transform: none !important;
		width: 100%;
	}

	.gj-app-tabbar .msf-mobile-favorites-tab::before,
	.gj-app-tabbar .msf-mobile-favorites-tab::after {
		box-shadow: none !important;
		content: none !important;
		display: none !important;
	}

	.gj-app-tabbar .msf-mobile-favorites-tab .gj-app-tabbar__icon {
		position: relative;
	}

	.gj-app-tabbar .msf-mobile-favorites-tab svg {
		fill: rgba(228, 72, 109, 0.12);
		height: 22px;
		stroke: currentColor;
		stroke-linecap: round;
		stroke-linejoin: round;
		stroke-width: 1.9;
		width: 22px;
	}

	.gj-app-tabbar .msf-mobile-favorites-tab:focus-visible {
		outline: 2px solid rgba(228, 72, 109, 0.48) !important;
		outline-offset: -4px;
	}

	.msf-mobile-favorites-count {
		align-items: center;
		background: var(--msf-accent, #e3b84f);
		border: 1px solid #fff;
		border-radius: 999px;
		color: #17201d;
		display: inline-flex;
		font-size: 8px;
		font-weight: 900;
		height: 16px;
		justify-content: center;
		min-width: 16px;
		padding: 0 4px;
		position: absolute;
		right: -8px;
		top: -6px;
	}

	.msf-mobile-favorites-count.is-empty {
		display: none;
	}

	body.msf-mobile-favorites-mounted .msf-favorites-fab {
		display: none !important;
	}
}

.msf-preference-controls {
	display: flex;
	gap: 8px;
	margin-top: 12px;
}

.msf-preference-controls button {
	align-items: center;
	appearance: none;
	background: rgba(255, 255, 255, 0.13);
	border: 1px solid rgba(255, 255, 255, 0.34);
	border-radius: 50%;
	color: #fff;
	cursor: pointer;
	display: inline-flex;
	font: 500 19px/1 sans-serif;
	height: 32px;
	justify-content: center;
	width: 32px;
}

.msf-content-video {
	display: block;
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.msf-video-toggle {
	align-items: center;
	appearance: none;
	background: rgba(5, 9, 8, 0.5);
	border: 1px solid rgba(255, 255, 255, 0.65);
	border-radius: 50%;
	color: #fff;
	cursor: pointer;
	display: flex;
	font-size: 17px;
	height: 48px;
	justify-content: center;
	left: 50%;
	opacity: 0;
	padding-left: 4px;
	position: absolute;
	top: 45%;
	transform: translate(-50%, -50%);
	transition: opacity 0.2s ease;
	width: 48px;
	z-index: 5;
}

.msf-card:hover .msf-video-toggle,
.msf-video-toggle:focus-visible,
.msf-data-saver .msf-video-toggle { opacity: 1; }

.msf-video-progress {
	background: rgba(255, 255, 255, 0.28);
	bottom: 0;
	height: 3px;
	left: 0;
	position: absolute;
	right: 0;
	z-index: 6;
}

.msf-video-progress span { background: var(--msf-accent); display: block; height: 100%; width: 0; }
.msf-card.is-capped { display: none !important; }

.msf-card--loader {
	align-items: center;
	background: radial-gradient(circle at 50% 35%, #315d53, #101513 68%);
	justify-content: center;
	text-align: center;
}

.msf-card--loader p { color: rgba(255, 255, 255, 0.76); font-size: 13px; font-weight: 700; letter-spacing: 0.05em; }
.msf-loader-ring { animation: msf-loader 0.8s linear infinite; border: 3px solid rgba(255, 255, 255, 0.18); border-radius: 50%; border-top-color: var(--msf-accent); height: 42px; width: 42px; }
.msf-card--loader.is-done .msf-loader-ring { animation: none; border-color: var(--msf-accent); position: relative; }
.msf-card--loader.is-done .msf-loader-ring::after { content: "\2713"; color: var(--msf-accent); font-size: 22px; left: 8px; position: absolute; top: 4px; }
@keyframes msf-loader { to { transform: rotate(360deg); } }

.msf-settings,
.msf-recipe-modal {
	display: none;
	inset: 0;
	position: absolute;
	z-index: 60;
}

.msf-settings.is-open,
.msf-recipe-modal.is-open { display: block; }

.msf-settings__backdrop,
.msf-recipe-modal__backdrop {
	appearance: none;
	background: rgba(4, 8, 7, 0.72);
	border: 0;
	inset: 0;
	padding: 0;
	position: absolute;
}

.msf-settings > section,
.msf-recipe-modal > section {
	background: #f7f3eb;
	border-radius: 24px 24px 0 0;
	bottom: 0;
	box-shadow: 0 -20px 70px rgba(0, 0, 0, 0.34);
	color: #1d2925;
	left: 0;
	max-height: 84%;
	overflow-y: auto;
	padding: 22px var(--msf-side) max(28px, env(safe-area-inset-bottom));
	position: absolute;
	right: 0;
}

.msf-settings header,
.msf-recipe-modal header { align-items: center; display: flex; justify-content: space-between; margin-bottom: 18px; }
.msf-settings h2,
.msf-recipe-modal h2 { color: #1d2925; font: 500 28px/1.1 Georgia, serif; margin: 0; }
.msf-settings header button,
.msf-recipe-modal header button { appearance: none; background: #fff; border: 1px solid #d8d4cb; border-radius: 50%; color: #1d2925; font-size: 26px; height: 40px; width: 40px; }
.msf-settings label { align-items: center; border-bottom: 1px solid #dfd9ce; display: flex; font-size: 14px; gap: 10px; justify-content: space-between; min-height: 52px; }
.msf-settings select { min-width: 110px; }
.msf-reset-button { appearance: none; background: none; border: 0; color: #a63e50; cursor: pointer; font-weight: 800; margin-top: 20px; padding: 8px 0; }
.msf-recipe-modal [data-msf-recipe-content] { color: #222; }
.msf-recipe-modal [data-msf-recipe-link] { background: #2f766b; border-radius: 999px; color: #fff; display: inline-flex; font-weight: 800; margin-top: 20px; padding: 12px 18px; text-decoration: none; }

.msf-library-tabs { border-bottom: 1px solid #ddd8ce; display: flex; gap: 4px; overflow-x: auto; padding: 0 22px; }
.msf-library-tabs button { appearance: none; background: none; border: 0; border-bottom: 3px solid transparent; color: #646d68; cursor: pointer; font: 800 11px/1 Inter, sans-serif; padding: 14px 10px 12px; text-transform: uppercase; }
.msf-library-tabs button.is-active { border-bottom-color: #2f766b; color: #2f766b; }
.msf-library-tools { align-items: center; border-top: 1px solid #ddd8ce; display: flex; flex-wrap: wrap; gap: 9px; padding: 12px 22px max(18px, env(safe-area-inset-bottom)); }
.msf-library-tools button,
.msf-library-tools label { appearance: none; background: #fff; border: 1px solid #d4d0c7; border-radius: 999px; color: #2f766b; cursor: pointer; font: 800 10px/1 Inter, sans-serif; padding: 10px 13px; text-transform: uppercase; }
.msf-library-tools input { display: none; }
.msf-collection { display: grid; gap: 10px; }
.msf-collection > h3 { color: #1d2925; font: 500 24px/1.1 Georgia, serif; margin: 10px 0 2px; }

.msf-text-large { font-size: 112%; }
.msf-text-large .msf-card__excerpt { font-size: 16px; }
.msf-pause-motion *,
.msf-pause-motion *::before,
.msf-pause-motion *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: 0.001ms !important; }
