/*
 * MarketForge site header, phone header and footer.
 * [marketforge_header] · [marketforge_phone_header] · [marketforge_footer]
 *
 * Design tokens come from Marketplace → Design. The gold (accent) is the
 * logo's card edge: menu underline, the edge of the main button and of
 * hovered menu items, footer marks. Everything is scoped to .mf-root and
 * written defensively, because themes and page builders restyle buttons,
 * links and fields.
 */

/* ---------- Wrappers: full width, no component card ---------- */
.mf-root.mf-c-header,
.mf-root.mf-c-phone-header,
.mf-root.mf-c-footer {
	--mf-root-pad: 0;
	--mf-root-radius: 0;
	--mf-root-bg: transparent;
	max-width: none;
	margin: 0;
	padding: 0;
	container-type: normal;
}
.mf-root .mfh-in,
.mf-root .mff-in {
	box-sizing: border-box;
	width: 100%;
	max-width: var(--mf-container, 1240px);
	margin: 0 auto;
	padding: 0 24px;
}
.mf-root .mfh-sr {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}
.mf-root .mfh-logo {
	display: inline-flex;
	flex: none;
	align-items: center;
	line-height: 0;
	text-decoration: none;
}
.mf-root .mfh-logo img {
	display: block;
	width: auto;
	max-width: none;
	height: var(--mfh-logo-h, 38px);
	margin: 0;
	border: 0;
	box-shadow: none;
}
.mf-root .mfh-fill { fill: currentColor; }

/* ---------- Buttons (shared) ---------- */
.mf-root .mfh-btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 44px;
	margin: 0;
	padding: 10px 18px;
	border: 1px solid transparent;
	border-radius: var(--mf-radius-button, 12px);
	background: transparent;
	color: var(--mf-text);
	font: 700 15px/1.2 var(--mf-font-body);
	letter-spacing: normal;
	text-transform: none;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	box-shadow: none;
	transition: background-color .15s, color .15s, transform .15s, box-shadow .15s, border-color .15s;
}
.mf-root .mfh-btn-text:is(:hover, :focus-visible) { background: transparent; color: var(--mf-primary); }
/* Signature button: primary with the logo's gold edge on the left. */
.mf-root .mfh-cta {
	overflow: hidden;
	padding-left: 22px;
	border-color: var(--mf-primary);
	background: var(--mf-primary);
	color: var(--mf-on-primary, #fff);
	box-shadow: 0 10px 22px -12px var(--mf-primary);
}
.mf-root .mfh-cta::before {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	width: 5px;
	background: var(--mf-accent);
	transition: width .2s ease;
}
.mf-root .mfh-cta:is(:hover, :focus-visible, :active) {
	border-color: var(--mf-primary-hover, var(--mf-primary));
	background: var(--mf-primary-hover, var(--mf-primary));
	color: var(--mf-on-primary, #fff);
	transform: translateY(-1px);
	box-shadow: 0 14px 26px -12px var(--mf-primary);
}
.mf-root .mfh-cta:is(:hover, :focus-visible)::before { width: 8px; }
.mf-root .mfh-btn-outline { border-color: var(--mf-border); background: var(--mf-surface); color: var(--mf-text); }
.mf-root .mfh-btn-outline:is(:hover, :focus-visible) { border-color: var(--mf-accent); background: var(--mf-surface); color: var(--mf-primary); }
.mf-root .mfh-btn-light { border-color: #fff; background: #fff; color: var(--mf-text); }
.mf-root .mfh-btn-light:is(:hover, :focus-visible) { border-color: var(--mf-accent); background: var(--mf-accent); color: var(--mf-text); }
.mf-root .mfh-ibtn {
	position: relative;
	display: grid;
	flex: none;
	place-items: center;
	width: 44px;
	height: 44px;
	margin: 0;
	padding: 0;
	border: 1px solid var(--mf-border);
	border-radius: 12px;
	background: var(--mf-surface);
	color: var(--mf-text);
	line-height: 1;
	cursor: pointer;
	box-shadow: none;
	transition: border-color .15s, color .15s;
}
.mf-root .mfh-ibtn:is(:hover, :focus-visible, :active, [aria-expanded="true"]) { border-color: var(--mf-accent); background: var(--mf-surface); color: var(--mf-primary); }
.mf-root .mfh-dot {
	position: absolute;
	top: 5px;
	right: 5px;
	min-width: 18px;
	height: 18px;
	padding: 0 4px;
	border: 2px solid var(--mf-surface);
	border-radius: 99px;
	background: var(--mf-accent);
	color: #0f172a;
	font: 800 10px/14px var(--mf-font-body);
	text-align: center;
}

/* ---------- Announcement bar ---------- */
.mf-root .mfh-announce { background: var(--mff-bg, #0b1120); color: rgb(255 255 255 / .88); font-size: 14px; line-height: 1.45; }
.mf-root .mfh-announce .mfh-in { position: relative; display: flex; align-items: center; justify-content: center; min-height: 42px; padding: 6px 52px; text-align: center; }
.mf-root .mfh-announce p { margin: 0; color: inherit; }
.mf-root .mfh-announce .mfh-gold { color: var(--mf-accent); font-weight: 700; }
.mf-root .mfh-announce a { margin-left: 4px; color: #fff; font-weight: 600; text-decoration: underline; text-decoration-color: var(--mf-accent); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.mf-root .mfh-announce a:is(:hover, :focus-visible) { color: var(--mf-accent); }
.mf-root .mfh-announce .mfh-x {
	position: absolute;
	right: 12px;
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 8px;
	background: transparent;
	color: rgb(255 255 255 / .6);
	cursor: pointer;
}
.mf-root .mfh-announce .mfh-x:is(:hover, :focus-visible) { background: rgb(255 255 255 / .08); color: #fff; }
.mf-root .mfh-announce.is-phone { font-size: 13px; }
.mf-root .mfh-announce.is-phone .mfh-in { min-height: 36px; padding: 5px 44px 5px 14px; }
.mf-root .mfh-announce.is-phone .mfh-x { right: 6px; }

/* ---------- Desktop header ---------- */
.mf-root .mfh {
	position: relative;
	z-index: 1;
	border-bottom: 1px solid transparent;
	background: color-mix(in srgb, var(--mf-bg, #fff) 90%, transparent);
	-webkit-backdrop-filter: saturate(180%) blur(14px);
	backdrop-filter: saturate(180%) blur(14px);
	transition: border-color .2s, box-shadow .2s;
}
.mf-hf-is-scrolled .mf-root .mfh,
.mf-root .mfh.is-scrolled { border-color: var(--mf-border); box-shadow: 0 10px 30px -20px rgb(15 23 42 / .3); }
.mf-root .mfh-bar { position: relative; display: flex; align-items: center; gap: 26px; height: 76px; }
.mf-root .mfh-nav-wrap { min-width: 0; }
.mf-root .mfh-nav { display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; list-style: none; }
.mf-root .mfh-nav > li { position: static; margin: 0; padding: 0; list-style: none; }
.mf-root .mfh-nav > li::before { content: none; }
.mf-root .mfh-link {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 0;
	padding: 10px 14px;
	border: 0;
	border-radius: 10px;
	background: transparent;
	color: var(--mf-text);
	font: 600 15px/1.3 var(--mf-font-body);
	letter-spacing: normal;
	text-transform: none;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	box-shadow: none;
	transition: color .15s;
}
.mf-root .mfh-link::after {
	content: "";
	position: absolute;
	right: 14px;
	bottom: 3px;
	left: 14px;
	height: 3px;
	border-radius: 3px;
	background: var(--mf-accent);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .22s ease;
}
.mf-root .mfh-link:is(:hover, :focus-visible, [aria-current="page"], [data-current]),
.mf-root .mfh-nav > li.is-open > .mfh-link { background: transparent; color: var(--mf-primary); }
.mf-root .mfh-link:is(:hover, :focus-visible, [aria-current="page"], [data-current])::after,
.mf-root .mfh-nav > li.is-open > .mfh-link::after { transform: scaleX(1); }
.mf-root .mfh-chev { transition: transform .2s; }
.mf-root .mfh-nav > li.is-open .mfh-chev,
.mf-root .mfh-user.is-open .mfh-chev { transform: rotate(180deg); }
.mf-root .mfh-actions { display: flex; flex: none; align-items: center; gap: 10px; margin-left: auto; }

/* Mega menus: centred under the header, never wider than the screen. */
.mf-root .mfh-mega {
	position: absolute;
	z-index: 20;
	top: calc(100% - 4px);
	left: 50%;
	box-sizing: border-box;
	width: 780px;
	max-width: calc(100vw - 32px);
	padding: 20px;
	border: 1px solid var(--mf-border);
	border-radius: 18px;
	background: var(--mf-surface);
	box-shadow: 0 30px 70px -30px rgb(15 23 42 / .35);
	opacity: 0;
	visibility: hidden;
	transform: translate(-50%, 8px);
	transition: opacity .18s, transform .18s, visibility .18s;
}
.mf-root .mfh-mega::before { content: ""; position: absolute; top: -14px; right: 0; left: 0; height: 14px; }
.mf-root .mfh-mega.is-narrow { width: 620px; }
.mf-root .mfh-mega.is-plain { width: 460px; }
.mf-root .mfh-nav > li.is-open > .mfh-mega,
.mf-root .mfh-nav > li:focus-within > .mfh-mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
@media (hover: hover) {
	.mf-root .mfh-nav > li:hover > .mfh-mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
	.mf-root .mfh-nav > li:hover > .mfh-link { color: var(--mf-primary); }
	.mf-root .mfh-nav > li:hover > .mfh-link::after { transform: scaleX(1); }
}
.mf-root .mfh-grid { display: grid; grid-template-columns: 1fr 1fr 236px; gap: 4px 12px; }
.mf-root .mfh-grid.is-two { grid-template-columns: 1fr 1fr; }
.mf-root .is-plain .mfh-grid { grid-template-columns: 1fr; }
.mf-root .mfh-title { grid-column: 1 / -1; margin: 0 0 6px 12px; color: var(--mf-text-muted); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.mf-root .mfh-item {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 10px 12px;
	border-radius: 12px;
	color: var(--mf-text);
	text-decoration: none;
	transition: background-color .15s, box-shadow .15s;
}
.mf-root .mfh-item:is(:hover, :focus-visible, [aria-current="page"]) { background: var(--mf-surface-alt); color: var(--mf-text); box-shadow: inset 3px 0 0 var(--mf-accent); }
.mf-root .mfh-ico { display: grid; flex: none; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: var(--mf-primary-soft); color: var(--mf-primary); transition: background-color .15s; }
.mf-root .mfh-item:hover .mfh-ico { background: var(--mf-accent-soft); }
.mf-root .mfh-item strong { display: block; font-size: 15px; font-weight: 600; line-height: 1.35; }
.mf-root .mfh-item small { display: block; margin-top: 1px; color: var(--mf-text-muted); font-size: 13px; line-height: 1.4; }
.mf-root .mfh-feature {
	display: flex;
	flex-direction: column;
	grid-row: span 4;
	justify-content: flex-end;
	gap: 8px;
	overflow: hidden;
	padding: 20px;
	border-radius: 14px;
	background: radial-gradient(260px 180px at 15% 0%, color-mix(in srgb, var(--mf-primary) 55%, transparent), transparent 70%), var(--mff-bg, #0b1120);
	color: #fff;
}
.mf-root .mfh-feature strong { font: 800 18px/1.25 var(--mf-font-heading); color: #fff; }
.mf-root .mfh-feature-text { color: rgb(255 255 255 / .66); font-size: 13px; line-height: 1.45; }
.mf-root .mfh-feature a { align-self: flex-start; margin-top: 6px; padding: 8px 14px; border-radius: 10px; background: #fff; color: #0f172a; font-size: 14px; font-weight: 700; text-decoration: none; }
.mf-root .mfh-feature a:is(:hover, :focus-visible) { background: var(--mf-accent); color: #0f172a; }
.mf-root .mfh-chip { display: inline-flex; align-self: flex-start; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 99px; background: color-mix(in srgb, var(--mf-accent) 16%, transparent); color: var(--mf-accent); font-size: 12px; font-weight: 700; }
.mf-root .mfh-art { position: relative; flex: 1; min-height: 132px; margin: -4px 0 6px; }
.mf-root .mfh-art-back { position: absolute; top: 16px; left: calc(50% - 92px); width: 150px; height: 100px; border: 1px solid rgb(255 255 255 / .14); border-radius: 12px; background: rgb(255 255 255 / .07); box-shadow: inset 5px 0 0 var(--mf-accent); transform: rotate(-9deg); transition: transform .35s ease; }
.mf-root .mfh-art-front { position: absolute; top: 8px; left: calc(50% - 82px); display: grid; gap: 7px; box-sizing: border-box; width: 168px; padding: 10px; border-radius: 12px; background: #fff; color: #0f172a; box-shadow: 0 18px 30px -14px rgb(0 0 0 / .6); transform: rotate(4deg); transition: transform .35s ease; }
.mf-root .mfh-feature:hover .mfh-art-front { transform: rotate(0deg) translateY(-3px); }
.mf-root .mfh-feature:hover .mfh-art-back { transform: rotate(-14deg) translateX(-4px); }
.mf-root .mfh-art-top { display: flex; align-items: center; gap: 8px; }
.mf-root .mfh-art-thumb { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--mf-primary); color: #fff; box-shadow: inset 3px 0 0 var(--mf-accent); }
.mf-root .mfh-art-lines { display: grid; flex: 1; gap: 5px; }
.mf-root .mfh-art-lines i { display: block; height: 6px; border-radius: 3px; background: #e2e8f0; }
.mf-root .mfh-art-lines i:last-child { width: 60%; }
.mf-root .mfh-art-tick { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--mf-accent); color: #0f172a; }
.mf-root .mfh-spark { display: block; width: 100%; height: 34px; }
.mf-root .mfh-spark-area { fill: color-mix(in srgb, var(--mf-primary) 14%, transparent); }
.mf-root .mfh-spark-line { fill: none; stroke: var(--mf-primary); stroke-width: 2; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.mf-root .mfh-art-rows { display: flex; gap: 4px; }
.mf-root .mfh-art-rows span { display: inline-flex; align-items: center; gap: 3px; padding: 2px 5px; border-radius: 99px; background: color-mix(in srgb, var(--mf-primary) 10%, #fff); color: var(--mf-primary); font-size: 10px; font-weight: 700; line-height: 1.4; white-space: nowrap; }
.mf-root .mfh-foot { display: flex; flex-wrap: wrap; grid-column: 1 / -1; justify-content: space-between; gap: 8px; margin-top: 8px; padding: 14px 12px 2px; border-top: 1px solid var(--mf-border); color: var(--mf-text-muted); font-size: 14px; }
.mf-root .mfh-foot a { color: var(--mf-primary); font-weight: 600; text-decoration: none; }
.mf-root .mfh-foot a:is(:hover, :focus-visible) { color: var(--mf-text); text-decoration: underline; text-decoration-color: var(--mf-accent); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.mf-root .mfh-foot .mfh-more { font-weight: 700; }

/* Account menu */
.mf-root .mfh-user { position: relative; }
.mf-root .mfh-avatar {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 44px;
	margin: 0;
	padding: 0 10px 0 4px;
	border: 1px solid var(--mf-border);
	border-radius: 12px;
	background: var(--mf-surface);
	color: var(--mf-text);
	cursor: pointer;
	box-shadow: none;
}
.mf-root .mfh-avatar:is(:hover, :focus-visible, [aria-expanded="true"]) { border-color: var(--mf-accent); background: var(--mf-surface); color: var(--mf-text); }
.mf-root .mfh-avatar i img { display: block; width: 100%; height: 100%; object-fit: cover; }
.mf-root .mfh-avatar i { overflow: hidden; }
.mf-root .mfh-avatar i { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: var(--mf-primary); color: var(--mf-on-primary, #fff); font: 800 13px/1 var(--mf-font-heading); font-style: normal; box-shadow: inset 3px 0 0 var(--mf-accent); }
.mf-root .mfh-avatar.is-static { height: auto; padding: 0; border: 0; background: none; cursor: default; }
.mf-root .mfh-menu { top: calc(100% + 10px); right: 0; left: auto; width: 250px; padding: 8px; transform: translateY(8px); }
.mf-root .mfh-user.is-open > .mfh-menu { opacity: 1; visibility: visible; transform: none; }
.mf-root .mfh-menu a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; color: var(--mf-text); font-size: 14.5px; font-weight: 500; text-decoration: none; }
.mf-root .mfh-menu a:is(:hover, :focus-visible) { background: var(--mf-surface-alt); color: var(--mf-text); box-shadow: inset 3px 0 0 var(--mf-accent); }
.mf-root .mfh-menu a .mf-icon { color: var(--mf-text-muted); }
.mf-root .mfh-menu hr { height: 0; margin: 6px 4px; border: 0; border-top: 1px solid var(--mf-border); background: none; }
/* Notification bell */
.mf-root .mfh-bell > .mfh-ibtn { display: grid; }
.mf-root .mfh-notes { width: 360px; max-width: calc(100vw - 24px); padding: 6px; }
.mf-root .mfh-notes-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px 8px; }
.mf-root .mfh-notes-head b { color: var(--mf-text); font: 800 15px/1.2 var(--mf-font-heading); }
.mf-root .mfh-notes-head form { margin: 0; }
.mf-root .mfh-notes-head button { margin: 0; padding: 4px 6px; border: 0; border-radius: 8px; background: none; color: var(--mf-primary); font: 600 13px/1.2 var(--mf-font-body); cursor: pointer; box-shadow: none; }
.mf-root .mfh-notes-head button:is(:hover, :focus-visible) { background: var(--mf-surface-alt); color: var(--mf-text); }
.mf-root .mfh-notes-list { max-height: min(420px, 60vh); margin: 0; padding: 0; overflow-y: auto; list-style: none; }
.mf-root .mfh-notes-list li { margin: 0; padding: 0; }
.mf-root .mfh-notes .mfh-notes-list a { align-items: flex-start; gap: 12px; padding: 10px 12px; font-weight: 400; }
.mf-root .mfh-notes-ic { display: grid; flex: none; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--mf-surface-alt); color: var(--mf-text-muted); }
.mf-root .mfh-notes-list a.is-unread .mfh-notes-ic { background: color-mix(in srgb, var(--mf-primary) 12%, var(--mf-surface)); color: var(--mf-primary); box-shadow: inset 3px 0 0 var(--mf-accent); }
.mf-root .mfh-notes-tx { display: grid; min-width: 0; gap: 2px; }
.mf-root .mfh-notes-tx b { color: var(--mf-text); font-size: 14px; font-weight: 600; line-height: 1.35; }
.mf-root .mfh-notes-list a.is-unread .mfh-notes-tx b { font-weight: 800; }
.mf-root .mfh-notes-tx > span:not(.mfh-sr) { display: -webkit-box; overflow: hidden; color: var(--mf-text-muted); font-size: 13px; line-height: 1.45; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.mf-root .mfh-notes-tx small { color: var(--mf-text-muted); font-size: 12px; }
.mf-root .mfh-notes-empty { display: flex; align-items: center; gap: 8px; margin: 0; padding: 18px 12px; color: var(--mf-text-muted); font-size: 14px; }
.mf-root .mfh-notes-empty[hidden] { display: none; }
.mf-root .mfh-notes-empty .mf-icon { color: var(--mf-success, var(--mf-primary)); }
.mf-root .mfh-notes .mfh-notes-all { justify-content: center; margin-top: 4px; border-top: 1px solid var(--mf-border); border-radius: 0 0 10px 10px; color: var(--mf-primary); font-weight: 700; }
.mf-root .mfp .mfh-bell { position: static; }
.mf-root .mfp .mfh-notes { top: 100%; right: 12px; left: 12px; width: auto; max-width: none; }
.mf-root .mfh-who { margin: 0; padding: 10px 12px 12px; color: var(--mf-text-muted); font-size: 13px; }
.mf-root .mfh-who b { display: block; color: var(--mf-text); font-size: 15px; }

/* Search panel */
.mf-root .mfh-search { border-top: 1px solid var(--mf-border); background: var(--mf-surface); box-shadow: 0 24px 40px -30px rgb(15 23 42 / .4); animation: mfh-drop .18s ease-out; }
@keyframes mfh-drop { from { opacity: 0; transform: translateY(-6px); } }
.mf-root .mfh-search-form { display: grid; grid-template-columns: minmax(0, 1fr) 220px auto; gap: 10px; padding-top: 18px; padding-bottom: 18px; }
.mf-root .mfh-field { display: flex; align-items: center; gap: 10px; height: 50px; padding: 0 14px; border: 1px solid var(--mf-border); border-radius: 12px; background: var(--mf-surface); color: var(--mf-text-muted); }
.mf-root .mfh-field:focus-within { border-color: var(--mf-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--mf-accent) 22%, transparent); }
.mf-root.mf-root .mfh-field input:not([type="hidden"]) {
	flex: 1;
	width: auto;
	min-width: 0;
	height: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	outline: none;
	background: transparent;
	color: var(--mf-text);
	font: 16px var(--mf-font-body);
	box-shadow: none;
}
.mf-root.mf-root .mfh-search-form select {
	height: 50px;
	margin: 0;
	padding: 0 12px;
	border: 1px solid var(--mf-border);
	border-radius: 12px;
	background-color: var(--mf-surface);
	color: var(--mf-text);
	font: 15px var(--mf-font-body);
	box-shadow: none;
}
.mf-root.mf-root .mfh-search-form select:focus { border-color: var(--mf-accent); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--mf-accent) 22%, transparent); }
.mf-root .mfh-search-form .mfh-cta { min-height: 50px; padding-right: 24px; padding-left: 26px; }
.mf-root .mfh-pop { display: flex; flex-wrap: wrap; grid-column: 1 / -1; align-items: center; gap: 8px; margin: 0; color: var(--mf-text-muted); font-size: 13.5px; }
.mf-root .mfh-pop a { padding: 5px 12px; border: 1px solid var(--mf-border); border-radius: 99px; color: var(--mf-text); font-weight: 600; text-decoration: none; }
.mf-root .mfh-pop a:is(:hover, :focus-visible) { border-color: var(--mf-accent); color: var(--mf-primary); }
.mf-root .mfh-live { grid-column: 1 / -1; }
.mf-root .mfh-live-title { margin: 0 0 8px; color: var(--mf-text-muted); font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.mf-root .mfh-live-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.mf-root .mfh-live-list a { display: flex; align-items: center; gap: 12px; padding: 10px; border: 1px solid var(--mf-border); border-radius: 12px; color: var(--mf-text); text-decoration: none; }
.mf-root .mfh-live-list a:is(:hover, :focus-visible) { border-color: var(--mf-accent); box-shadow: inset 3px 0 0 var(--mf-accent); }
.mf-root .mfh-live-img { display: grid; flex: none; place-items: center; width: 48px; height: 40px; overflow: hidden; border-radius: 8px; background: var(--mf-primary-soft); color: var(--mf-primary); }
.mf-root .mfh-live-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.mf-root .mfh-live-list b { display: block; overflow: hidden; font-size: 14px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.mf-root .mfh-live-list small { color: var(--mf-text-muted); font-size: 12.5px; }
.mf-root .mfh-live-list span:last-child { min-width: 0; }
.mf-root .mfh-live-empty { margin: 0; color: var(--mf-text-muted); font-size: 14px; }
.mf-root .mfh-live-all { display: inline-block; margin-top: 10px; color: var(--mf-primary); font-size: 14px; font-weight: 700; }

@media (max-width: 1240px) {
	.mf-root .mfh-bar { gap: 16px; }
	.mf-root .mfh-link { padding: 10px 11px; }
	.mf-root .mfh-link::after { right: 11px; left: 11px; }
}

/* ---------- Phone header ---------- */
.mf-root .mfp {
	container-type: inline-size;
	position: relative;
	z-index: 1;
	border-bottom: 1px solid var(--mf-border);
	background: color-mix(in srgb, var(--mf-bg, #fff) 92%, transparent);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
}
.mf-root .mfp-bar { display: flex; align-items: center; gap: 8px; height: 62px; padding: 0 14px; }
.mf-root .mfp .mfh-logo img { height: min(var(--mfh-logo-h, 38px), 30px); }
.mf-root .mfp-acts { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.mf-root .mfp .mfh-ibtn { width: 42px; height: 42px; }
.mf-root .mfp-cta { min-height: 42px; padding: 8px 14px 8px 18px; font-size: 14px; }
@container (max-width: 350px) {
	.mf-root .mfp .mfp-cta { display: none; }
}
.mf-root .mfp-drawer { position: fixed; z-index: 99999; inset: 0; }
.mf-root .mfp-back { position: absolute; inset: 0; background: rgb(15 23 42 / .5); }
.mf-root .mfp-panel {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	display: flex;
	flex-direction: column;
	width: min(420px, 100%);
	background: var(--mf-surface);
	box-shadow: -20px 0 60px rgb(15 23 42 / .3);
	animation: mfp-in .22s ease-out;
}
.admin-bar .mf-root .mfp-panel { top: var(--wp-admin--admin-bar--height, 0px); }
@keyframes mfp-in { from { opacity: 0; transform: translateX(30px); } }
.mf-root .mfp-head { display: flex; flex: none; align-items: center; justify-content: space-between; height: 62px; padding: 0 14px; border-bottom: 1px solid var(--mf-border); }
.mf-root .mfp-head .mfh-logo img { height: min(var(--mfh-logo-h, 38px), 30px); }
.mf-root .mfp-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 14px 18px 8px; }
.mf-root .mfp-search { display: flex; align-items: center; gap: 10px; height: 46px; margin: 0 0 12px; padding: 0 14px; border: 1px solid var(--mf-border); border-radius: 12px; background: var(--mf-surface-alt); color: var(--mf-text-muted); }
.mf-root .mfp-search:focus-within { border-color: var(--mf-accent); background: var(--mf-surface); }
.mf-root.mf-root .mfp-search input:not([type="hidden"]) { flex: 1; width: auto; min-width: 0; height: 100%; margin: 0; padding: 0; border: 0; outline: none; background: transparent; color: var(--mf-text); font: 16px var(--mf-font-body); box-shadow: none; }
.mf-root .mfp-account { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; padding: 12px; border-radius: 14px; background: var(--mf-surface-alt); }
.mf-root .mfp-account b { display: block; font-size: 15px; }
.mf-root .mfp-account small { color: var(--mf-text-muted); font-size: 13px; }
.mf-root .mfp-quick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 10px; }
.mf-root .mfp-quick a { display: grid; justify-items: center; gap: 4px; padding: 10px 4px; border: 1px solid var(--mf-border); border-radius: 12px; color: var(--mf-text); font-size: 12.5px; font-weight: 600; text-align: center; text-decoration: none; }
.mf-root .mfp-quick a .mf-icon { color: var(--mf-primary); }
.mf-root .mfp-quick a:is(:hover, :focus-visible) { border-color: var(--mf-accent); }
.mf-root .mfp-group { margin: 0; border: 0; border-bottom: 1px solid var(--mf-border); }
.mf-root .mfp-group summary { display: flex; align-items: center; justify-content: space-between; padding: 15px 2px; color: var(--mf-text); font-size: 16px; font-weight: 700; list-style: none; cursor: pointer; }
.mf-root .mfp-group summary::-webkit-details-marker { display: none; }
.mf-root .mfp-group summary::marker { content: ""; }
.mf-root .mfp-group[open] summary { color: var(--mf-primary); }
.mf-root .mfp-group[open] summary .mfh-chev { transform: rotate(180deg); }
.mf-root .mfp-group > div { display: grid; gap: 2px; padding: 0 0 12px; }
.mf-root .mfp-group a { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 10px; color: var(--mf-text); font-weight: 500; text-decoration: none; }
.mf-root .mfp-group a:is(:hover, :focus-visible, :active, [aria-current="page"]) { background: var(--mf-surface-alt); box-shadow: inset 3px 0 0 var(--mf-accent); }
.mf-root .mfp-group .mfh-ico { width: 34px; height: 34px; border-radius: 10px; }
.mf-root .mfp-plain { display: flex; align-items: center; justify-content: space-between; padding: 15px 2px; border-bottom: 1px solid var(--mf-border); color: var(--mf-text); font-weight: 700; text-decoration: none; }
.mf-root .mfp-plain:is(:hover, :focus-visible, [aria-current="page"]) { color: var(--mf-primary); box-shadow: inset 0 -3px 0 var(--mf-accent); }
.mf-root .mfp-foot { display: grid; flex: none; gap: 10px; padding: 14px 18px 20px; border-top: 1px solid var(--mf-border); }
.mf-root .mfp-foot .mfh-btn { width: 100%; }
.mf-root .mfp-social { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding-top: 4px; }
.mf-root .mfp-social a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; color: var(--mf-text-muted); }
.mf-root .mfp-social a:is(:hover, :focus-visible) { color: var(--mf-accent); }
html.mf-hf-lock,
html.mf-hf-lock body { overflow: hidden; }

/* ---------- Footer ---------- */
.mf-root .mff {
	container-type: inline-size;
	container-name: mff;
	position: relative;
	overflow: hidden;
	background: var(--mff-bg, #0b1120);
	color: rgb(255 255 255 / .88);
	font-family: var(--mf-font-body);
	font-size: 15px;
	line-height: 1.6;
}
.mf-root .mff::before { content: ""; position: absolute; top: -220px; left: -160px; width: 620px; height: 620px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--mf-primary) 30%, transparent), transparent 65%); pointer-events: none; }
.mf-root .mff::after { content: ""; position: absolute; top: 0; right: 0; left: 0; height: 3px; background: linear-gradient(90deg, var(--mf-accent) 0 64px, var(--mf-primary) 64px 100%); }
.mf-root .mff-in { position: relative; }
.mf-root .mff :where(a):focus-visible { box-shadow: 0 0 0 3px color-mix(in srgb, var(--mf-accent) 55%, transparent); }
.mf-root .mff-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin: 44px 0 0; padding: 30px 32px; border: 1px solid rgb(255 255 255 / .1); border-radius: 20px; background: rgb(255 255 255 / .04); }
.mf-root .mff-cta h2 { margin: 0; color: #fff; font: 800 27px/1.2 var(--mf-font-heading); letter-spacing: -.02em; }
.mf-root .mff-cta h2 em { color: var(--mf-accent); font-style: normal; }
.mf-root .mff-cta p { margin: 6px 0 0; color: rgb(255 255 255 / .62); }
.mf-root .mff-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.mf-root .mff-main { display: grid; grid-template-columns: 1.5fr repeat(4, minmax(0, 1fr)); gap: 40px; padding: 52px 0 40px; }
.mf-root .mff-about { min-width: 0; }
.mf-root .mff .mfh-logo img { height: calc(var(--mfh-logo-h, 38px) + 2px); }
.mf-root .mff-about > p { max-width: 36ch; margin: 16px 0 20px; color: rgb(255 255 255 / .62); }
.mf-root .mff-news { display: flex; gap: 8px; max-width: 380px; padding: 6px; border: 1px solid rgb(255 255 255 / .15); border-radius: 14px; background: rgb(255 255 255 / .05); transition: border-color .15s; }
.mf-root .mff-news:focus-within { border-color: var(--mf-accent); }
.mf-root.mf-root .mff-news input:not([type="hidden"]) { flex: 1; width: auto; min-width: 0; height: auto; margin: 0; padding: 0 10px; border: 0; outline: none; background: transparent; color: #fff; font: 15px var(--mf-font-body); box-shadow: none; }
.mf-root.mf-root .mff-news input::placeholder { color: rgb(255 255 255 / .45); opacity: 1; }
.mf-root .mff-news .mfh-cta { min-height: 40px; padding: 8px 14px 8px 18px; font-size: 14px; box-shadow: none; }
.mf-root .mff-news-form { margin: 0; }
.mf-root .mff-note { max-width: 380px; margin: 8px 0 0; color: rgb(255 255 255 / .45); font-size: 12.5px; line-height: 1.5; }
.mf-root .mff-msg { display: flex; align-items: flex-start; gap: 8px; max-width: 380px; margin: 0 0 10px; padding: 10px 12px; border-radius: 12px; background: rgb(255 255 255 / .06); color: #fff; font-size: 14px; }
.mf-root .mff-msg.is-success .mf-icon { color: var(--mf-accent); }
.mf-root .mff-msg:not(.is-success) { border: 1px solid color-mix(in srgb, var(--mf-accent) 50%, transparent); }
.mf-root .mff-social { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.mf-root .mff-social a { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid rgb(255 255 255 / .15); border-radius: 11px; color: rgb(255 255 255 / .8); transition: border-color .15s, color .15s, transform .15s; }
.mf-root .mff-social a:is(:hover, :focus-visible) { border-color: var(--mf-accent); color: var(--mf-accent); transform: translateY(-2px); }
.mf-root .mff-app { display: grid; gap: 12px; margin-top: 24px; }
.mf-root .mff-app__link { display: inline-flex; gap: 8px; align-items: center; justify-self: start; margin: 0; color: #fff; font-weight: 700; text-decoration: none; }
.mf-root a.mff-app__link:is(:hover, :focus-visible) { color: var(--mf-accent); }
.mf-root .mff .mf-store { border-color: rgb(255 255 255 / .22); background: rgb(255 255 255 / .06); }
.mf-root .mff .mf-store:is(:hover, :focus-visible) { border-color: var(--mf-accent); }
.mf-root .mff-col { min-width: 0; }
.mf-root .mff h3 { position: relative; margin: 0 0 18px; padding: 0 0 10px; color: #fff; font: 700 15px/1.3 var(--mf-font-heading); letter-spacing: .01em; text-transform: none; }
.mf-root .mff h3::after { content: "" !important; display: block !important; position: absolute; bottom: 0; left: 0; width: 22px; height: 3px; border-radius: 3px; background: var(--mf-accent); }
.mf-root .mff-col ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.mf-root .mff-col li { margin: 0; padding: 0; list-style: none; }
.mf-root .mff-col li::before { content: none; }
.mf-root .mff-col a { color: rgb(255 255 255 / .62); overflow-wrap: anywhere; text-decoration: none; transition: color .15s; }
.mf-root .mff-col a:is(:hover, :focus-visible) { color: var(--mf-accent); }
.mf-root .mff-col .mff-mail { color: #847eed; color: color-mix(in srgb, var(--mf-primary) 70%, #fff); font-weight: 600; }
.mf-root .mff-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 22px 0; border-top: 1px solid rgb(255 255 255 / .1); list-style: none; }
.mf-root .mff-chips li { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 8px 14px; border: 1px solid rgb(255 255 255 / .12); border-radius: 999px; background: rgb(255 255 255 / .04); color: rgb(255 255 255 / .9); font-size: 13px; font-weight: 600; list-style: none; }
.mf-root .mff-chips li::before { content: none; }
.mf-root .mff-chips .mf-icon { color: var(--mf-accent); }
.mf-root .mff-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding: 22px 0 28px; border-top: 1px solid rgb(255 255 255 / .1); color: rgb(255 255 255 / .45); font-size: 14px; }
.mf-root .mff-bottom p { margin: 0; color: inherit; }
.mf-root .mff-bottom nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.mf-root .mff-bottom nav a { color: rgb(255 255 255 / .55); text-decoration: none; }
.mf-root .mff-bottom nav a:is(:hover, :focus-visible) { color: var(--mf-accent); }
.mf-root .mff-top { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border: 1px solid rgb(255 255 255 / .1); border-radius: 10px; color: rgb(255 255 255 / .62); font-size: 13px; font-weight: 600; text-decoration: none; }
.mf-root .mff-top:is(:hover, :focus-visible) { border-color: var(--mf-accent); color: var(--mf-accent); }
@container mff (max-width: 1000px) {
	.mf-root .mff-main { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.mf-root .mff-about { grid-column: 1 / -1; }
}
@container mff (max-width: 560px) {
	.mf-root .mff-in { padding: 0 18px; }
	.mf-root .mff-cta { margin-top: 32px; padding: 22px; }
	.mf-root .mff-cta h2 { font-size: 22px; }
	.mf-root .mff-btns,
	.mf-root .mff-btns .mfh-btn { width: 100%; }
	.mf-root .mff-main { gap: 30px 18px; padding: 40px 0 30px; }
	.mf-root .mff-col ul { font-size: 14.5px; }
	.mf-root .mff-bottom { flex-direction: column; align-items: flex-start; }
}

/* The captcha of the sign-up form (when switched on) sits under the field. */
.mf-root .mff-news-form > :not(.mff-news):not([type="hidden"]):not(.mf-trap) { margin-top: 10px; }

@media (prefers-reduced-motion: reduce) {
	.mf-root.mf-c-header *,
	.mf-root.mf-c-phone-header *,
	.mf-root.mf-c-footer * { animation: none !important; transition: none !important; }
}
