/**
 * Broker detail hero.
 * Tailwind in pc-dist is precompiled; this file owns hero-specific layout.
 */

[data-fxm-broker-tabs] {
	position: sticky;
	top: var(--fxm-detail-sticky-top, calc(var(--spacing, 0.25rem) * 18));
	z-index: 40;
}

[data-fxm-broker-detail-page] .scroll-mt-\[140px\] {
	scroll-margin-top: var(--fxm-detail-scroll-margin, 140px);
}

@media (min-width: 768px) {
	[data-fxm-broker-detail-page] > .fxm-id-desktop-hero > .pt-\[72px\] {
		padding-top: calc(var(--spacing, 0.25rem) * 18);
	}
}

[data-fxm-broker-hero] {
	background: #f3f1f8;
	border: 0;
	box-shadow: none;
}

[data-fxm-broker-hero] .fxm-hero-accent {
	height: 6px;
	background: linear-gradient(90deg, #4f34d9 0%, #6b55f8 52%, #89dfd7 100%);
}

[data-fxm-broker-hero] .fxm-hero-title {
	font-size: 1.45rem;
	letter-spacing: -0.045em;
	line-height: 1.2;
}

[data-fxm-broker-hero] .fxm-hero-kicker {
	margin: 0;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.04em;
	color: #3d2ba8;
}

[data-fxm-broker-hero] .fxm-hero-link {
	font-size: 12.5px;
}

[data-fxm-broker-hero] .fxm-hero-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	border-radius: 9999px;
	padding: 4px 10px;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.2;
	background: #ffffff;
}

[data-fxm-broker-hero] .fxm-hero-badge-ok {
	border: 1px solid #a7f3d0;
	background: #ecfdf5;
	color: #047857;
}

[data-fxm-broker-hero] .fxm-hero-badge-risk {
	border: 1px solid #fecdd3;
	background: #ffffff;
	color: #9f1239;
}

[data-fxm-broker-hero] .fxm-hero-badge-tier {
	border: 1px solid rgba(16, 185, 129, 0.25);
	background: #f0fdf4;
	color: #166534;
	font-size: 11px;
	font-weight: 700;
	padding: 2px 8px;
}

[data-fxm-broker-hero] .fxm-hero-score-card {
	flex: 1 1 auto;
	height: 100%;
	padding: 18px 16px 16px;
	border-radius: 22px;
	background: #ffffff;
	border: 0;
	box-shadow: 0 10px 28px -12px rgba(79, 52, 217, 0.18), 0 4px 12px -8px rgba(47, 38, 88, 0.12);
}

[data-fxm-broker-hero] .fxm-hero-logo {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: 0;
	border-radius: 4px;
	background: transparent;
	overflow: hidden;
}

[data-fxm-broker-hero] .fxm-hero-logo img {
	width: 100%;
	height: 100%;
	/* Brand logos come in every aspect ratio; cover would crop them. */
	object-fit: contain;
	display: block;
}

[data-fxm-broker-hero] .fxm-hero-logo-xs {
	width: 52px;
	height: 52px;
}

[data-fxm-broker-hero] .fxm-hero-logo-sm {
	width: 56px;
	height: 56px;
}

[data-fxm-broker-hero] .fxm-hero-logo-lg {
	width: 108px;
	height: 64px;
}

[data-fxm-broker-hero] .fxm-hero-logo-xl {
	width: 128px;
	height: 84px;
}

[data-fxm-broker-hero] .fxm-hero-meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 4px;
	margin: 8px 0 0;
	font-size: 12px;
	font-weight: 500;
	color: rgba(47, 38, 88, 0.55);
}

[data-fxm-broker-hero] .fxm-hero-region {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-size: 13.5px;
	font-weight: 600;
	color: #2f2658;
}

/* Same native/Twemoji SVG flag rendering as .fxm-license-certificate-agency .country
   so the flag keeps its natural 1:1 square viewBox without stretching. */
[data-fxm-broker-hero] .fxm-hero-region-flag {
	display: inline-flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 1em;
	height: 1em;
	font-size: 24px;
	line-height: 1;
}

[data-fxm-broker-hero] .fxm-hero-region-flag img {
	width: 1em !important;
	height: 1em !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 2px;
	background: transparent !important;
	box-shadow: none !important;
	object-fit: contain;
}

[data-fxm-broker-hero] .fxm-hero-meta-dot {
	color: rgba(47, 38, 88, 0.3);
}

[data-fxm-broker-hero] .fxm-hero-follow-btn svg {
	fill: none;
	transition: fill 0.15s ease, color 0.15s ease, border-color 0.15s ease, background-color 0.15s ease;
}

[data-fxm-broker-hero] .fxm-hero-follow-btn.is-followed {
	border-color: rgba(79, 52, 217, 0.35);
	background: rgba(79, 52, 217, 0.08);
	color: #4f34d9;
}

[data-fxm-broker-hero] .fxm-hero-follow-btn.is-followed svg {
	fill: currentColor;
}

[data-fxm-broker-hero] .fxm-hero-follow-btn[aria-busy="true"] {
	opacity: 0.6;
	cursor: wait;
}

[data-fxm-broker-hero] .fxm-hero-follow-status {
	margin: 6px 0 0;
	font-size: 12px;
	color: #9b3a29;
}

[data-fxm-broker-hero] .fxm-hero-reg-logo {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	width: 100%;
	height: 36px;
	margin-bottom: 6px;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	overflow: visible;
	box-shadow: none;
}

[data-fxm-broker-hero] .fxm-hero-reg-logo img,
[data-fxm-broker-hero] .fxm-hero-reg-logo-img {
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: 34px;
	object-fit: contain;
	object-position: left center;
	display: block;
}

[data-fxm-broker-hero] .fxm-hero-score-box,
[data-fxm-broker-hero] .fxm-hero-stats {
	border: 0;
	border-radius: 22px;
	box-shadow: 0 8px 22px -12px rgba(79, 52, 217, 0.16), 0 2px 8px -6px rgba(47, 38, 88, 0.08);
}

[data-fxm-broker-hero] .fxm-hero-score-box {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	align-items: stretch;
	gap: 12px;
	padding: 12px 14px;
	background: linear-gradient(180deg, #f4f1ff 0%, #ece8ff 100%);
}
[data-fxm-broker-hero] .fxm-hero-score-box > div {
	min-width: 0;
}
[data-fxm-broker-hero] .fxm-hero-score-metric {
	display: flex;
	flex-direction: column;
}

[data-fxm-broker-hero] .fxm-hero-score-environment {
	padding-left: 12px;
	border-left: 1px solid rgba(79, 52, 217, 0.14);
}

[data-fxm-broker-hero] .fxm-hero-score-value {
	display: flex;
	align-items: baseline;
	gap: 4px;
	margin-top: auto;
	padding-top: 6px;
}

[data-fxm-broker-hero] .fxm-hero-score-unit {
	font-size: 13px;
	white-space: nowrap;
}

[data-fxm-broker-hero] .fxm-hero-score-pending {
	color: #706886;
	font-family: var(--font-family-body);
	font-size: 13px;
	font-weight: 500;
	line-height: 28px;
}

[data-fxm-broker-hero] .fxm-hero-score-grade-row {
	grid-column: 1 / -1;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	padding-top: 10px;
	border-top: 1px solid rgba(79, 52, 217, 0.14);
}
[data-fxm-broker-hero] .fxm-hero-score-box > .fxm-hero-score-divider {
	flex: 0 0 1px;
}
[data-fxm-broker-hero] .fxm-hero-score-num--sm {
	font-size: 17px;
}

[data-fxm-broker-hero] .fxm-hero-score-divider {
	width: 1px;
	height: 36px;
	background: rgba(79, 52, 217, 0.14);
}

[data-fxm-broker-hero] .fxm-hero-score-num {
	font-size: 28px;
	line-height: 1;
	letter-spacing: -0.04em;
}

@media (max-width: 359px) {
	[data-fxm-broker-hero] .fxm-hero-score-value { gap: 3px; }
	[data-fxm-broker-hero] .fxm-hero-score-num { font-size: 24px; }
	[data-fxm-broker-hero] .fxm-hero-score-unit { font-size: 11px; }
}

[data-fxm-broker-hero] .fxm-hero-grade {
	font-size: 28px;
	line-height: 1;
	letter-spacing: -0.04em;
}

[data-fxm-broker-hero] .fxm-hero-radar {
	height: 176px;
	background: #ffffff;
	border-radius: 16px;
}

@media (min-width: 768px) {
	[data-fxm-broker-hero] .fxm-hero-score-card > .fxm-ios-score-disclosure {
		display: flex;
		flex: 1 0 auto;
		flex-direction: column;
		justify-content: center;
		margin-top: 12px;
	}

	[data-fxm-broker-hero] .fxm-hero-radar {
		width: 100%;
		max-width: 300px;
		height: auto;
		aspect-ratio: 360 / 308;
		margin: 0 auto;
	}

	[data-fxm-broker-hero] .fxm-hero-radar > svg {
		display: block;
		width: 100%;
		height: 100%;
	}
}

[data-fxm-broker-hero] .fxm-hero-stats {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0;
	overflow: hidden;
	background: #ffffff;
}

[data-fxm-broker-hero] .fxm-hero-stat {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 14px 16px;
}

[data-fxm-broker-hero] .fxm-hero-stat + .fxm-hero-stat {
	border-top: 1px solid rgba(79, 52, 217, 0.1);
}

/* Hero actions (left column): one row of three. Each button starts from its
   own label width (flex-basis auto) and the spare width is shared out, so the
   row fills the 360px column and the longest label keeps the widest button.
   Labels never wrap; the ellipsis (full text in title) only guards against an
   unusually long future translation. */
[data-fxm-broker-hero] .fxm-hero-actions {
	display: flex;
	align-items: center;
	gap: 6px;
}

[data-fxm-broker-hero] .fxm-hero-actions > .fxm-hero-action {
	flex: 1 1 auto;
	justify-content: center;
	min-width: 0;
	gap: 5px;
	padding-inline: 10px;
	white-space: nowrap;
}

[data-fxm-broker-hero] .fxm-hero-action > svg {
	flex: none;
}

[data-fxm-broker-hero] .fxm-hero-action > span {
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
}

[data-fxm-broker-hero] .fxm-hero-action:focus-visible {
	outline: 2px solid #4f34d9;
	outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
	[data-fxm-broker-hero] .fxm-hero-action--primary:hover { transform: none; }
}

[data-fxm-broker-hero] .fxm-hero-updated {
	margin: 10px 0 0;
	font-size: 12px;
	color: rgba(47, 38, 88, 0.45);
}

[data-fxm-broker-hero] .fxm-hero-updated span {
	margin-left: 4px;
	color: rgba(47, 38, 88, 0.7);
}

[data-fxm-broker-hero] .fxm-hero-panel {
	padding: 12px;
	border-radius: 22px;
	background: #ffffff;
	border: 0;
	box-shadow: 0 10px 26px -12px rgba(79, 52, 217, 0.16), 0 3px 10px -6px rgba(47, 38, 88, 0.08);
}

[data-fxm-broker-hero] .fxm-hero-panel--identity {
	position: relative;
	overflow: hidden;
	padding: 16px;
	border: 1px solid rgba(47, 38, 88, 0.06);
	background: linear-gradient(120deg, #ffffff 0%, #fbfbfd 45%, #f4f5fa 100%);
}

/* Painted as ::before (first in paint order among the panel's positioned
   children) so it sits under the row/foot content instead of over it —
   an ::after here would paint on top and wash out the cards above it.
   world-map-dots.svg is one whole dot per land grid point, sampled from
   world-atlas's land-110m coastline (Antarctica cropped), on a fine regular
   grid with sparse purple accents — see tools/build_world_map_dots.js.
   A fixed width (not cover) keeps the dot
   size identical whether a broker has one site card or two rows of them;
   the map hugs the right edge and fades out toward the logo on the left. */
[data-fxm-broker-hero] .fxm-hero-panel--identity::before {
	position: absolute;
	inset: 0;
	content: "";
	pointer-events: none;
	background-image: var(--fxm-img-world-map-dots-v5, url("../images/world-map-dots.svg?v=5"));
	background-repeat: no-repeat;
	background-size: 760px auto;
	background-position: right -6px center;
	-webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.42) 18%, #000 44%);
	mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.42) 18%, #000 44%);
}

[data-fxm-broker-hero] .fxm-hero-identity-row {
	position: relative;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 14px;
}

[data-fxm-broker-hero] .fxm-hero-identity-divider {
	flex-shrink: 0;
	align-self: stretch;
	width: 1px;
	min-height: 56px;
	background: rgba(79, 52, 217, 0.14);
}

[data-fxm-broker-hero] .fxm-hero-site-cards {
	display: flex;
	flex: 1 1 auto;
	flex-wrap: wrap;
	min-width: 0;
	gap: 10px;
}

[data-fxm-broker-hero] .fxm-hero-site-card {
	display: flex;
	/* Fixed, equal width on desktop — deliberately not flex:1 filling the row.
	   The open space to the right is where the map dot pattern shows through.
	   Brokers can report anywhere from 1 to ~5 real sites, so cards wrap
	   onto a second line rather than growing/shrinking to fill the row. */
	flex: 0 0 208px;
	align-items: center;
	min-width: 0;
	gap: 11px;
	padding: 11px 14px;
	border: 1px solid rgba(79, 52, 217, 0.12);
	border-radius: 16px;
	background: #ffffff;
	box-shadow: 0 10px 22px -14px rgba(47, 38, 88, 0.4);
	transition: all 0.2s ease;
}

@media (max-width: 640px) {
	[data-fxm-broker-hero] .fxm-hero-site-card {
		flex: 1 1 160px;
	}
}

[data-fxm-broker-hero] a.fxm-hero-site-card:hover {
	border-color: rgba(79, 52, 217, 0.3);
	box-shadow: 0 14px 26px -14px rgba(47, 38, 88, 0.46);
	transform: translateY(-1px);
}

[data-fxm-broker-hero] .fxm-hero-site-card.is-empty {
	border-style: dashed;
	border-color: rgba(79, 52, 217, 0.18);
	background: rgba(255, 255, 255, 0.78);
	box-shadow: none;
	cursor: default;
}

[data-fxm-broker-hero] .fxm-hero-site-icon {
	display: flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 9999px;
	color: #ffffff;
	/* Portal's webSites[] carries no region/type per entry, so every
	   card (whether 1 or several) gets one uniform globe style. */
	background: linear-gradient(135deg, #3b7dfb, #2f5fe0);
}

[data-fxm-broker-hero] .fxm-hero-site-card.is-empty .fxm-hero-site-icon {
	background: rgba(47, 38, 88, 0.08);
	color: rgba(47, 38, 88, 0.32);
}

[data-fxm-broker-hero] .fxm-hero-site-text {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	min-width: 0;
	gap: 1px;
}

[data-fxm-broker-hero] .fxm-hero-site-label {
	font-size: 13.5px;
	font-weight: 700;
	color: #2f2658;
	line-height: 1.3;
}

[data-fxm-broker-hero] .fxm-hero-site-domain {
	overflow: hidden;
	font-size: 12px;
	color: rgba(47, 38, 88, 0.52);
	line-height: 1.3;
	text-overflow: ellipsis;
	white-space: nowrap;
}

[data-fxm-broker-hero] .fxm-hero-site-ext {
	flex-shrink: 0;
	margin-left: auto;
	color: rgba(47, 38, 88, 0.4);
}

[data-fxm-broker-hero] .fxm-hero-identity-foot {
	position: relative;
	margin-top: 14px;
	padding-top: 12px;
	border-top: 1px solid rgba(79, 52, 217, 0.08);
}

/* "Website timeline" entry: sits after the official-site cards and opens
   the capture-archive dialog. Same card footprint as a site card, with a
   violet icon so it reads as an action rather than another domain. */
[data-fxm-broker-hero] .fxm-hero-snapshot-btn {
	appearance: none;
	font: inherit;
	color: inherit;
	text-align: left;
	cursor: pointer;
	border-color: rgba(79, 52, 217, 0.2);
}

[data-fxm-broker-hero] .fxm-hero-snapshot-btn:hover {
	border-color: rgba(79, 52, 217, 0.38);
	box-shadow: 0 14px 26px -14px rgba(79, 52, 217, 0.42);
	transform: translateY(-1px);
}

[data-fxm-broker-hero] .fxm-hero-snapshot-btn:focus-visible {
	outline: 2px solid rgba(79, 52, 217, 0.55);
	outline-offset: 2px;
}

[data-fxm-broker-hero] .fxm-hero-snapshot-btn .fxm-hero-site-icon {
	background: linear-gradient(135deg, #8b72ff, #4f34d9);
}

[data-fxm-broker-hero] .fxm-hero-snapshot-btn .fxm-hero-site-ext {
	color: #4f34d9;
}

/* Merged official-site card (2+ sites): same footprint and blue globe as a
   single site card, the site count after the label, and a chevron because it
   opens the website dialog instead of leaving the page. */
[data-fxm-broker-hero] .fxm-hero-sites-btn {
	appearance: none;
	font: inherit;
	color: inherit;
	text-align: left;
	cursor: pointer;
}

[data-fxm-broker-hero] .fxm-hero-sites-btn:hover {
	border-color: rgba(59, 125, 251, 0.36);
	box-shadow: 0 14px 26px -14px rgba(47, 95, 224, 0.42);
	transform: translateY(-1px);
}

[data-fxm-broker-hero] .fxm-hero-sites-btn:focus-visible {
	outline: 2px solid rgba(59, 125, 251, 0.6);
	outline-offset: 2px;
}

[data-fxm-broker-hero] .fxm-hero-sites-btn .fxm-hero-site-label {
	display: flex;
	align-items: center;
	min-width: 0;
}

[data-fxm-broker-hero] .fxm-hero-site-count,
.fxm-sites-modal .fxm-sites-modal-count {
	display: inline-flex;
	flex: none;
	align-items: center;
	justify-content: center;
	min-width: 20px;
	height: 18px;
	margin-left: 6px;
	padding: 0 6px;
	border-radius: 9999px;
	background: #eaf1ff;
	color: #2f5fe0;
	font-size: 11.5px;
	font-weight: 700;
	line-height: 1;
	font-variant-numeric: tabular-nums;
}

[data-fxm-broker-hero] .fxm-hero-sites-btn .fxm-hero-site-ext {
	color: #2f5fe0;
}

@media (prefers-reduced-motion: reduce) {
	[data-fxm-broker-hero] .fxm-hero-sites-btn:hover { transform: none; }
}

@media (max-width: 480px) {
	[data-fxm-broker-hero] .fxm-hero-identity-divider {
		display: none;
	}
}

[data-fxm-broker-hero] .fxm-hero-panel--regulatory {
	position: relative;
	background: linear-gradient(145deg, #ffffff 0%, #f8f6ff 68%, #f1edff 100%);
	border: 1px solid rgba(117, 92, 232, 0.12);
	box-shadow: 0 16px 34px -18px rgba(79, 52, 217, 0.28), 0 4px 12px -8px rgba(47, 38, 88, 0.1);
}

[data-fxm-broker-hero] .fxm-hero-panel--regulatory::after {
	position: absolute;
	right: 18px;
	top: 0;
	width: 76px;
	height: 3px;
	border-radius: 0 0 999px 999px;
	background: linear-gradient(90deg, #6b55f8, #89dfd7);
	content: "";
	opacity: 0.85;
}

[data-fxm-broker-hero] .fxm-hero-panel-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 8px;
}

[data-fxm-broker-hero] .fxm-hero-reg-stage {
	position: relative;
}

.fxm-hero-license-empty {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: clamp(16px, 2vw, 32px);
	min-height: 212px;
	padding: 18px clamp(20px, 2.5vw, 40px);
	border: 1px solid #e3dcf5;
	border-radius: 15px;
	background: radial-gradient(ellipse at 22% 68%, #ece6fb, transparent 60%), #f8f6fc;
}

.fxm-hero-license-empty > img {
	width: 29%;
	max-width: 180px;
	height: auto;
	flex: none;
}

.fxm-hero-license-empty-copy {
	min-width: 0;
	max-width: 40ch;
	overflow-wrap: anywhere;
}

.fxm-hero-license-empty-copy h3 {
	margin: 0;
	color: #28213e;
	font-size: clamp(21px, 2vw, 28px);
	font-weight: 700;
	line-height: 1.25;
}

.fxm-hero-license-empty-copy p {
	margin: 8px 0 0;
	color: #58546b;
	font-size: 15px;
	line-height: 1.6;
}

@media (max-width: 767px) {
	.fxm-hero-license-empty {
		justify-content: flex-start;
		gap: 12px;
		min-height: 110px;
		padding: 14px;
		border-radius: 12px;
	}
	.fxm-hero-license-empty > img { width: 23%; max-width: 88px; }
	.fxm-hero-license-empty-copy h3 { font-size: 18px; }
	.fxm-hero-license-empty-copy p { margin-top: 4px; font-size: 13px; }
}

/* Keep carousel controls outside the license cards; mobile uses its own list. */
.fxm-hero-reg-controls {
	display: none;
}

@media (min-width: 768px) {
	[data-fxm-broker-hero] .fxm-hero-panel--regulatory .fxm-hero-panel-head {
		min-height: 32px;
	}

	[data-fxm-broker-hero] .fxm-hero-panel--regulatory .fxm-hero-panel-head > :first-child {
		margin-inline-end: auto;
	}

	[data-fxm-broker-hero] .fxm-hero-panel--regulatory .fxm-hero-panel-head > .fxm-hero-link {
		display: none;
	}

	[data-fxm-broker-hero] .fxm-hero-panel--regulatory .fxm-hero-reg-controls:has(.fxm-hero-reg-arrow:not([hidden])) {
		display: flex;
		flex: none;
		align-items: center;
		gap: 6px;
	}

	[data-fxm-broker-hero] .fxm-hero-reg-arrow {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		flex: none;
		width: 32px;
		height: 32px;
		padding: 0;
		border: 1px solid #e5dff7;
		border-radius: 50%;
		background: #fff;
		color: #4f34d9;
		cursor: pointer;
		transition: background-color .18s ease, border-color .18s ease, color .18s ease;
	}

	[data-fxm-broker-hero] .fxm-hero-reg-arrow svg {
		width: 18px;
		height: 18px;
		stroke-width: 2;
	}

	[data-fxm-broker-hero] .fxm-hero-reg-arrow[hidden] {
		display: none;
	}

	[data-fxm-broker-hero] .fxm-hero-reg-arrow:hover:not(:disabled) {
		border-color: #bcaaf0;
		background: #f3efff;
	}

	[data-fxm-broker-hero] .fxm-hero-reg-arrow:active:not(:disabled) {
		background: #e8e0fc;
	}

	[data-fxm-broker-hero] .fxm-hero-reg-arrow:focus-visible {
		outline: 2px solid #6b55f8;
		outline-offset: 2px;
	}

	[data-fxm-broker-hero] .fxm-hero-reg-arrow:disabled {
		border-color: #eeebf5;
		background: #faf9fd;
		color: #c4bed4;
		cursor: default;
	}
}

@media (prefers-reduced-motion: reduce) {
	[data-fxm-broker-hero] .fxm-hero-reg-arrow { transition: none; }
}

[data-fxm-broker-hero] .fxm-hero-panel-more {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	margin-top: 8px;
	font-size: 12.5px;
	font-weight: 600;
	color: #4f34d9;
}

[data-fxm-broker-hero] .fxm-hero-license-grid {
	display: grid;
	grid-template-columns: none;
	grid-auto-flow: column;
	grid-auto-columns: 100%;
	gap: 8px;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	-ms-overflow-style: none;
}

[data-fxm-broker-hero] .fxm-hero-license-grid::-webkit-scrollbar {
	display: none;
}

@media (min-width: 640px) {
	[data-fxm-broker-hero] .fxm-hero-license-grid {
		grid-template-columns: none;
		grid-auto-columns: calc((100% - 8px) / 2);
	}
}

@media (min-width: 1024px) {
	[data-fxm-broker-hero] .fxm-hero-license-grid {
		grid-template-columns: none;
		grid-auto-columns: calc((100% - 16px) / 3);
	}
}

[data-fxm-broker-hero] .fxm-hero-license {
	scroll-snap-align: start;
	min-width: 0;
	padding: 10px;
	min-height: 100%;
	background: #f8f7fc;
	border: 1px solid rgba(119, 99, 224, 0.08);
	border-radius: 16px;
	box-shadow: 0 6px 16px -10px rgba(79, 52, 217, 0.14);
}

[data-fxm-broker-hero] .fxm-hero-license:hover {
	background: #f3f0ff;
	border-color: rgba(107, 85, 248, 0.22);
	box-shadow: 0 10px 22px -10px rgba(79, 52, 217, 0.22);
}

/* Reserve one country row so missing data cannot shift the facts below it. */
[data-fxm-broker-hero] .fxm-hero-license-country {
	min-height: 20px;
	line-height: 20px;
}

/* Compact flags share their size in the list and dialog. Cap long flags
   at 3:2 without cropping their artwork; narrower flags keep their width. */
.fxm-hero-license-country-flag,
.fxm-license-flag {
	--fxm-license-flag-height: 16px;
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: flex-start;
	width: auto;
	height: var(--fxm-license-flag-height);
	line-height: 1;
}
.fxm-hero-license-country-flag[hidden],
.fxm-license-flag[hidden] { display: none !important; }
.fxm-hero-license-country-flag img,
.fxm-license-flag img {
	display: block; flex: none; width: auto; height: var(--fxm-license-flag-height);
	max-width: calc(var(--fxm-license-flag-height) * 1.5); max-height: none;
	object-fit: fill; border-radius: 1px;
	outline: 1px solid rgba(47,38,88,.14); outline-offset: 0;
}
@media (max-width: 767.98px) {
	.fxm-hero-license-country-flag,
	.fxm-license-flag { --fxm-license-flag-height: 14px; }
}

[data-fxm-broker-hero] .fxm-hero-license-country-name {
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

[data-fxm-broker-hero] .fxm-hero-tier-chip {
	display: inline-flex;
	align-items: center;
	border-radius: 9999px;
	padding: 2px 7px;
	font-size: 10.5px;
	font-weight: 700;
	color: #4f34d9;
	background: #f3f0ff;
}

/* One label column per card, sized to its longest label (at least the old
   64px), so localized labels (ライセンス番号, ประเภทใบอนุญาต) stay on one
   line and still line up; the row divs are flattened into this grid. */
[data-fxm-broker-hero] .fxm-hero-license-meta {
	display: grid;
	grid-template-columns: minmax(64px, max-content) minmax(0, 1fr);
	align-items: center;
	gap: 4px 8px;
	margin: 8px 0 0;
}

[data-fxm-broker-hero] .fxm-hero-license-meta > div {
	display: contents;
}

[data-fxm-broker-hero] .fxm-hero-license-meta dt {
	margin: 0;
	font-size: 12px;
	font-weight: 600;
	color: rgba(47, 38, 88, 0.48);
	white-space: nowrap;
}

[data-fxm-broker-hero] .fxm-hero-license-meta dd {
	min-width: 0;
}

[data-fxm-broker-hero] .fxm-hero-license-meta dd {
	margin: 0;
	font-size: 12px;
	font-weight: 700;
	color: #2f2658;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

/* Desktop summarizes the dictionary-backed type (with optional subtype).
   The mobile number/type presentation is unchanged. */
.fxm-hero-license-meta > .fxm-hero-license-type-row { display: none !important; }

@media (min-width: 768px) {
	[data-fxm-broker-hero] .fxm-hero-license-meta > .fxm-hero-license-number-row { display: none; }
	[data-fxm-broker-hero] .fxm-hero-license-meta > .fxm-hero-license-type-row { display: contents !important; }
	[data-fxm-broker-hero] .fxm-hero-license-meta { align-items: start; row-gap: 7px; }
	[data-fxm-broker-hero] .fxm-hero-license-type-row dd {
		color: #2f2658; font-size: 13px; line-height: 1.45;
		white-space: normal; overflow: visible; overflow-wrap: anywhere;
	}
}

[data-fxm-broker-hero] .fxm-hero-status-tag {
	display: inline-flex;
	align-items: center;
	border-radius: 9999px;
	padding: 2px 8px;
	border: 1px solid #a7f3d0;
	background: #ecfdf5;
	color: #047857;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.3;
}

/* Licence status tones, same palette as the regulator page's .fxm-rd-state:
   active stays green (above); the label text always names the state. */
[data-fxm-broker-hero] .fxm-hero-status-tag.is-suspended {
	border-color: #fde68a;
	background: #fffbeb;
	color: #92400e;
}

[data-fxm-broker-hero] .fxm-hero-status-tag.is-revoked {
	border-color: #fecdd3;
	background: #fff1f2;
	color: #9f1239;
}

[data-fxm-broker-hero] .fxm-hero-status-tag.is-expired,
[data-fxm-broker-hero] .fxm-hero-status-tag.is-unknown {
	border-color: rgba(47, 38, 88, 0.12);
	background: #f6f5fb;
	color: rgba(47, 38, 88, 0.6);
}

[data-fxm-broker-hero] .fxm-hero-chip-row {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 2px 0;
}

[data-fxm-broker-hero] .fxm-hero-chip-row + .fxm-hero-chip-row {
	margin-top: 6px;
	padding-top: 8px;
	border-top: 1px solid rgba(79, 52, 217, 0.08);
}

[data-fxm-broker-hero] .fxm-hero-chip-row--link {
	text-decoration: none;
	color: inherit;
	cursor: pointer;
	border-radius: 10px;
	transition: background-color 0.18s ease;
}

[data-fxm-broker-hero] .fxm-hero-chip-row--link:hover .fxm-hero-chip {
	background: #efeaff;
	color: #4f34d9;
}

[data-fxm-broker-hero] .fxm-hero-chip-row--link:focus-visible {
	outline: 2px solid rgba(79, 52, 217, 0.55);
	outline-offset: 2px;
}

[data-fxm-broker-hero] .fxm-hero-chip-label {
	flex-shrink: 0;
	font-size: 12px;
	font-weight: 700;
	color: rgba(47, 38, 88, 0.48);
}

[data-fxm-broker-hero] .fxm-hero-chip-list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	min-width: 0;
}

[data-fxm-broker-hero] .fxm-hero-chip-list--nowrap {
	position: relative;
	flex: 1 1 0%;
	flex-wrap: nowrap;
	overflow: hidden;
}

[data-fxm-broker-hero] .fxm-hero-chip-list--nowrap .fxm-hero-chip {
	flex-shrink: 0;
	white-space: nowrap;
}

[data-fxm-broker-hero] .fxm-hero-chip[hidden] {
	display: none !important;
}

[data-fxm-broker-hero] .fxm-hero-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 5px 10px;
	border-radius: 9999px;
	background: #f6f4fb;
	color: #3f3858;
	font-size: 12px;
	font-weight: 600;
}

[data-fxm-broker-hero] .fxm-hero-chip.is-active {
	background: #efeaff;
	color: #4f34d9;
}

[data-fxm-broker-hero] .fxm-hero-license-entity {
	margin-top: 8px;
	padding-top: 8px;
	border-top: 1px solid rgba(226, 223, 250, 0.9);
}

[data-fxm-broker-hero] .fxm-hero-license-entity-label {
	display: block;
	font-size: 12px;
	font-weight: 600;
	color: rgba(47, 38, 88, 0.48);
}

[data-fxm-broker-hero] .fxm-hero-license-entity-name {
	margin: 4px 0 0;
	font-size: 12px;
	font-weight: 700;
	color: #2f2658;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

@media (min-width: 640px) {
	[data-fxm-broker-hero] .fxm-hero-title {
		font-size: 1.75rem;
	}

	[data-fxm-broker-hero] .fxm-hero-stats {
		grid-template-columns: 1fr 1fr 1fr;
	}

	[data-fxm-broker-hero] .fxm-hero-stat + .fxm-hero-stat {
		border-top: 0;
		border-left: 1px solid rgba(79, 52, 217, 0.1);
	}
}

@media (min-width: 1024px) {
	/* Keep the columns aligned while license panels retain their content height. */
	[data-fxm-broker-hero] .fxm-hero-layout {
		align-items: stretch;
	}

	[data-fxm-broker-hero] .fxm-hero-score-col {
		padding-right: 0;
		border-right: 0;
	}

	[data-fxm-broker-hero] .fxm-hero-score-card {
		height: auto;
	}

	[data-fxm-broker-hero] .fxm-hero-info-col {
		padding-left: 12px;
		gap: 10px;
	}

	[data-fxm-broker-hero] .fxm-hero-info-col > .fxm-hero-stats,
	[data-fxm-broker-hero] .fxm-hero-info-col > .fxm-hero-panel {
		flex: 0 0 auto;
		margin-top: 0;
	}

	[data-fxm-broker-hero] .fxm-hero-info-col > .fxm-hero-panel--regulatory {
		display: flex;
		flex-direction: column;
		flex: 0 0 auto;
	}

	[data-fxm-broker-hero] .fxm-hero-reg-stage {
		display: flex;
		flex-direction: column;
		flex: 0 0 auto;
	}

	[data-fxm-broker-hero] .fxm-hero-panel--regulatory:has(.fxm-hero-license-empty),
	[data-fxm-broker-hero] .fxm-hero-reg-stage:has(> .fxm-hero-license-empty),
	.fxm-hero-license-empty {
		flex-grow: 1;
	}

	[data-fxm-broker-hero] .fxm-hero-stat {
		padding: 10px 12px;
	}
}

[data-fxm-ai-insight] {
	border: 0;
	box-shadow: 0 10px 28px -14px rgba(79, 52, 217, 0.16), 0 4px 12px -8px rgba(47, 38, 88, 0.08);
}

[data-fxm-ai-insight] .fxm-ai-score {
	display: inline-flex;
	align-items: center;
	border-radius: 9999px;
	padding: 2px 8px;
	background: rgba(79, 52, 217, 0.08);
	color: #4f34d9;
	font-size: 11.5px;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}

[data-fxm-ai-insight] .fxm-ai-generated {
	font-size: 12px;
	color: rgba(47, 38, 88, 0.45);
}

[data-fxm-ai-insight] .fxm-ai-verdict {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin-top: 16px;
	padding: 12px 14px;
	border-radius: 16px;
	background: #f3f0ff;
	color: #2f2658;
}

[data-fxm-ai-insight] .fxm-ai-verdict svg {
	margin-top: 2px;
	color: #4f34d9;
}

[data-fxm-ai-insight] .fxm-ai-verdict p {
	margin: 0;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.65;
}

[data-fxm-ai-insight] .fxm-ai-summary,
[data-fxm-ai-insight] .fxm-ai-conclusion {
	margin: 16px 0 0;
	font-size: 14px;
	line-height: 1.8;
	color: rgba(47, 38, 88, 0.78);
}

[data-fxm-ai-insight] .fxm-ai-list {
	margin-top: 18px;
}

[data-fxm-ai-insight] .fxm-ai-list h3 {
	margin: 0 0 10px;
	font-size: 14px;
	font-weight: 700;
	color: #2f2658;
}

[data-fxm-ai-insight] .fxm-ai-list ul {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 8px;
}

[data-fxm-ai-insight] .fxm-ai-list li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
}

[data-fxm-ai-insight] .fxm-ai-list p {
	margin: 0;
	font-size: 13.5px;
	line-height: 1.7;
	color: rgba(47, 38, 88, 0.78);
}

[data-fxm-ai-insight] .fxm-ai-list strong {
	color: #2f2658;
	font-weight: 700;
}

[data-fxm-ai-insight] .fxm-ai-dot {
	width: 7px;
	height: 7px;
	margin-top: 8px;
	border-radius: 9999px;
	flex-shrink: 0;
}

[data-fxm-ai-insight] .fxm-ai-dot-purple {
	background: #4f34d9;
}

[data-fxm-ai-insight] .fxm-ai-dot-amber {
	background: #d97706;
}

[data-fxm-ai-insight] .fxm-ai-split {
	display: grid;
	gap: 12px;
	margin-top: 18px;
}

[data-fxm-ai-insight] .fxm-ai-pros,
[data-fxm-ai-insight] .fxm-ai-cons {
	padding: 14px 16px;
	border-radius: 16px;
}

[data-fxm-ai-insight] .fxm-ai-pros {
	background: #ecfdf5;
}

[data-fxm-ai-insight] .fxm-ai-cons {
	background: #fff1f2;
}

[data-fxm-ai-insight] .fxm-ai-split-head {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-bottom: 10px;
}

[data-fxm-ai-insight] .fxm-ai-pros .fxm-ai-split-head,
[data-fxm-ai-insight] .fxm-ai-pros .fxm-ai-split-head h3 {
	color: #047857;
}

[data-fxm-ai-insight] .fxm-ai-cons .fxm-ai-split-head,
[data-fxm-ai-insight] .fxm-ai-cons .fxm-ai-split-head h3 {
	color: #be123c;
}

[data-fxm-ai-insight] .fxm-ai-split-head h3 {
	margin: 0;
	font-size: 14px;
	font-weight: 700;
}

[data-fxm-ai-insight] .fxm-ai-split ul {
	margin: 0;
	padding: 0 0 0 18px;
	display: grid;
	gap: 6px;
}

[data-fxm-ai-insight] .fxm-ai-split li {
	font-size: 13.5px;
	line-height: 1.65;
	color: rgba(47, 38, 88, 0.78);
}

[data-fxm-ai-insight] .fxm-ai-evidence {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin-top: 18px;
	padding: 12px 14px;
	border-radius: 14px;
	background: #f6f5f8;
}

[data-fxm-ai-insight] .fxm-ai-evidence-label {
	flex-shrink: 0;
	font-size: 12px;
	font-weight: 700;
	color: rgba(47, 38, 88, 0.48);
}

[data-fxm-ai-insight] .fxm-ai-evidence-list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 16px;
	min-width: 0;
}

[data-fxm-ai-insight] .fxm-ai-evidence-list span {
	font-size: 12px;
	line-height: 1.6;
	color: rgba(47, 38, 88, 0.55);
}

@media (min-width: 768px) {
	[data-fxm-ai-insight] .fxm-ai-split {
		grid-template-columns: 1fr 1fr;
	}
}

[data-fxm-hot-instruments],
[data-fxm-about-card] {
	border: 0;
	box-shadow: 0 10px 28px -14px rgba(79, 52, 217, 0.16), 0 4px 12px -8px rgba(47, 38, 88, 0.08);
	background: #ffffff;
}

[data-fxm-hot-instruments] .fxm-overview-head,
[data-fxm-about-card] .fxm-overview-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 16px 18px 14px;
}

[data-fxm-hot-instruments],
[data-fxm-about-card] {
	display: flex;
	flex-direction: column;
	height: 100%;
}

[data-fxm-about-card] {
	padding: 22px 22px 20px;
}

[data-fxm-about-card] .fxm-overview-head {
	align-items: flex-start;
	padding: 0 0 16px;
}

[data-fxm-hot-instruments] .fxm-overview-icon,
[data-fxm-about-card] .fxm-overview-icon {
	display: flex;
	width: 40px;
	height: 40px;
	align-items: center;
	justify-content: center;
	border-radius: 9999px;
	background: #4f34d9;
	color: #ffffff;
}

[data-fxm-hot-instruments] .fxm-overview-kicker,
[data-fxm-about-card] .fxm-overview-kicker {
	margin: 0;
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: #4f34d9;
}

[data-fxm-about-card] .fxm-overview-kicker {
	color: rgba(47, 38, 88, 0.42);
}

[data-fxm-hot-instruments] .fxm-overview-more {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 6px 10px;
	border-radius: 10px;
	border: 1px solid rgba(79, 52, 217, 0.12);
	font-size: 12.5px;
	font-weight: 600;
	color: rgba(47, 38, 88, 0.72);
}

[data-fxm-hot-instruments] .fxm-hot-cols,
[data-fxm-hot-instruments] .fxm-hot-row {
	display: grid;
	grid-template-columns: 28px minmax(0, 1fr) 64px 88px;
	align-items: center;
	gap: 10px;
	padding: 0 18px;
}

[data-fxm-hot-instruments] .fxm-hot-cols {
	padding-bottom: 8px;
	font-size: 11px;
	font-weight: 600;
	color: rgba(47, 38, 88, 0.42);
}

[data-fxm-hot-instruments] .fxm-hot-cols span:nth-child(3),
[data-fxm-hot-instruments] .fxm-hot-cols span:nth-child(4) {
	text-align: right;
}

[data-fxm-hot-instruments] .fxm-hot-list {
	margin: 0;
	padding: 0;
	list-style: none;
	flex: 1;
}

[data-fxm-hot-instruments] .fxm-hot-row {
	padding-top: 12px;
	padding-bottom: 12px;
	border-top: 1px solid rgba(79, 52, 217, 0.06);
}

[data-fxm-hot-instruments] .fxm-hot-rank {
	display: flex;
	width: 24px;
	height: 24px;
	align-items: center;
	justify-content: center;
	border-radius: 9999px;
	background: #f0edff;
	color: #4f34d9;
	font-size: 11px;
	font-weight: 700;
}

[data-fxm-hot-instruments] .fxm-hot-pair {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
}

[data-fxm-hot-instruments] .fxm-hot-avatar {
	display: flex;
	width: 36px;
	height: 36px;
	align-items: center;
	justify-content: center;
	border-radius: 9999px;
	background: #f3f0ff;
	color: #3d2ba8;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: -0.02em;
}

[data-fxm-hot-instruments] .fxm-hot-symbol {
	display: flex;
	align-items: center;
	gap: 6px;
	min-width: 0;
}

[data-fxm-hot-instruments] .fxm-hot-symbol strong {
	font-size: 14px;
	color: #2f2658;
}

[data-fxm-hot-instruments] .fxm-hot-symbol span {
	display: inline-flex;
	align-items: center;
	padding: 1px 7px;
	border-radius: 9999px;
	background: #efeaff;
	color: #4f34d9;
	font-size: 11px;
	font-weight: 700;
}

[data-fxm-hot-instruments] .fxm-hot-pair p {
	margin: 2px 0 0;
	font-size: 12px;
	color: rgba(47, 38, 88, 0.55);
}

[data-fxm-hot-instruments] .fxm-hot-spread {
	text-align: right;
}

[data-fxm-hot-instruments] .fxm-hot-spread strong {
	display: block;
	font-size: 16px;
	font-weight: 800;
	color: #4f34d9;
	letter-spacing: -0.03em;
}

[data-fxm-hot-instruments] .fxm-hot-spread span {
	display: block;
	margin-top: 2px;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.12em;
	color: rgba(47, 38, 88, 0.4);
}

[data-fxm-hot-instruments] .fxm-hot-swap {
	text-align: right;
}

[data-fxm-hot-instruments] .fxm-hot-swap span {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 3px 8px;
	border-radius: 9999px;
	font-size: 12px;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}

[data-fxm-hot-instruments] .fxm-hot-swap.is-neg span {
	background: #f3e8ff;
	color: #6b2c9c;
}

[data-fxm-hot-instruments] .fxm-hot-swap.is-pos span {
	background: #e5f8f5;
	color: #0e6b62;
}

[data-fxm-hot-instruments] .fxm-hot-swap em {
	display: block;
	margin-top: 4px;
	font-style: normal;
	font-size: 10.5px;
	color: rgba(47, 38, 88, 0.42);
}

[data-fxm-hot-instruments] .fxm-hot-foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: auto;
	padding: 12px 18px 16px;
	border-top: 1px solid rgba(79, 52, 217, 0.06);
	font-size: 12px;
	color: rgba(47, 38, 88, 0.5);
}

[data-fxm-hot-instruments] .fxm-hot-foot span {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

[data-fxm-hot-instruments] .fxm-hot-foot strong {
	color: #4f34d9;
	letter-spacing: 0.12em;
	font-size: 11px;
}

/* Tradable instruments: symbol-code chips, first 40 visible, the rest behind
   the footer toggle; the expanded list scrolls so the card does not grow
   several screens tall next to the About card. */
[data-fxm-hot-instruments] .fxm-hot-chips {
	display: flex;
	flex-wrap: wrap;
	align-content: flex-start;
	gap: 8px;
	margin: 0;
	padding: 2px 18px 16px;
	list-style: none;
	flex: 1;
}

[data-fxm-hot-instruments] .fxm-hot-chips li {
	padding: 5px 10px;
	border-radius: 9999px;
	background: #f3f0ff;
	color: #3d2ba8;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 0.01em;
	font-variant-numeric: tabular-nums;
}

[data-fxm-hot-instruments] .fxm-hot-chips.is-collapsed li.is-extra {
	display: none;
}

[data-fxm-hot-instruments] .fxm-hot-chips:not(.is-collapsed) {
	flex: 0 1 auto;
	max-height: 420px;
	overflow-y: auto;
	overscroll-behavior: contain;
}

[data-fxm-hot-instruments] .fxm-hot-toggle {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 0;
	border: 0;
	background: none;
	color: #4f34d9;
	font-size: 12.5px;
	font-weight: 600;
	cursor: pointer;
}

[data-fxm-hot-instruments] .fxm-hot-toggle[hidden] {
	display: none;
}

[data-fxm-hot-instruments] .fxm-hot-toggle svg {
	transition: transform 0.2s ease;
}

[data-fxm-hot-instruments] .fxm-hot-toggle.is-open svg {
	transform: rotate(180deg);
}

@media (max-width: 767.98px) {
	[data-fxm-hot-instruments] .fxm-hot-chips {
		gap: 6px;
		padding: 2px 14px 14px;
	}

	[data-fxm-hot-instruments] .fxm-hot-chips li {
		padding: 4px 9px;
		font-size: 11.5px;
	}
}

[data-fxm-about-card] .fxm-about-founded {
	text-align: right;
}

[data-fxm-about-card] .fxm-about-founded span {
	display: block;
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: rgba(47, 38, 88, 0.42);
}

[data-fxm-about-card] .fxm-about-founded strong {
	display: block;
	margin-top: 4px;
	font-size: 28px;
	line-height: 1;
	color: #4f34d9;
	letter-spacing: -0.04em;
}

[data-fxm-about-card] .fxm-about-intro {
	margin: 0;
	overflow: visible;
	font-size: 13.5px;
	line-height: 1.85;
	color: rgba(47, 38, 88, 0.78);
}

[data-fxm-about-card] .fxm-about-intro.is-collapsed .is-more {
	display: none;
}

[data-fxm-about-card] .fxm-about-intro p {
	margin: 0;
}

[data-fxm-about-card] .fxm-about-intro p + p {
	margin-top: 10px;
}

[data-fxm-about-card] .fxm-about-more {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	margin: 10px 0 0;
	padding: 0;
	border: 0;
	background: none;
	color: #4f34d9;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
}

[data-fxm-about-card] .fxm-about-more.is-open svg {
	transform: rotate(180deg);
}

[data-fxm-about-card] .fxm-about-foot {
	margin-top: auto;
	padding-top: 22px;
}

[data-fxm-about-card] .fxm-about-block {
	margin-top: 20px;
}

[data-fxm-about-card] .fxm-about-foot .fxm-about-block:first-child {
	margin-top: 0;
}

[data-fxm-about-card] .fxm-about-block h4 {
	margin: 0 0 12px;
	font-size: 15px;
	font-weight: 700;
	color: #2f2658;
}

[data-fxm-about-card] .fxm-about-block ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

[data-fxm-about-card] .fxm-about-block li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin-top: 10px;
	font-size: 13.5px;
	line-height: 1.55;
	color: rgba(47, 38, 88, 0.72);
}

[data-fxm-about-card] .fxm-about-block li:first-child {
	margin-top: 0;
}

[data-fxm-about-card] .fxm-about-block li svg {
	flex: 0 0 auto;
	margin-top: 2px;
	color: rgba(47, 38, 88, 0.42);
}

[data-fxm-about-card] .fxm-about-block a {
	color: #4f34d9;
	word-break: break-all;
}

[data-fxm-about-card] .fxm-about-block li:nth-child(3) a {
	color: rgba(47, 38, 88, 0.72);
}

[data-fxm-about-card] .fxm-about-socials {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
}

[data-fxm-about-card] .fxm-about-social-btn,
[data-fxm-about-card] .fxm-about-block .fxm-about-social-btn {
	display: flex;
	width: 32px;
	height: 32px;
	align-items: center;
	justify-content: center;
	border-radius: 9999px;
	color: #ffffff;
}

[data-fxm-about-card] .fxm-about-social-btn svg {
	display: block;
	fill: currentColor;
	stroke: none;
}

[data-fxm-about-card] .fxm-about-social-btn.is-twitter,
[data-fxm-about-card] .fxm-about-social-btn.is-x {
	background: #111111;
}

[data-fxm-about-card] .fxm-about-social-btn.is-facebook {
	background: #1877f2;
}

[data-fxm-about-card] .fxm-about-social-btn.is-youtube {
	background: #ff0000;
}

[data-fxm-about-card] .fxm-about-social-btn.is-linkedin {
	background: #0a66c2;
}

[data-fxm-about-card] .fxm-about-social-btn.is-instagram {
	background: #e1306c;
}

.fxm-trading-cards {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	align-items: stretch;
	gap: 20px;
}

[data-fxm-conditions],
[data-fxm-rules] {
	position: relative;
	display: flex;
	flex-direction: column;
	min-width: 0;
	height: 100%;
	overflow: hidden;
	border: 0;
	border-radius: 24px;
	background: #ffffff;
	box-shadow: 0 10px 28px -14px rgba(79, 52, 217, 0.16), 0 4px 12px -8px rgba(47, 38, 88, 0.08);
	padding: 22px;
}

[data-fxm-conditions]::before,
[data-fxm-rules]::before {
	content: "";
	position: absolute;
	inset: 0 0 auto;
	height: 3px;
	background: #4f34d9;
}

[data-fxm-rules]::before {
	background: #5eead4;
}

[data-fxm-conditions] .fxm-overview-head,
[data-fxm-rules] .fxm-overview-head {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	min-height: 52px;
	padding: 0 0 16px;
}

[data-fxm-conditions] .fxm-overview-head h3,
[data-fxm-rules] .fxm-overview-head h3 {
	margin: 0;
	font-size: 16px;
	line-height: 1.5;
}

[data-fxm-conditions] .fxm-overview-icon,
[data-fxm-rules] .fxm-overview-icon {
	display: flex;
	flex: 0 0 auto;
	width: 36px;
	height: 36px;
	align-items: center;
	justify-content: center;
	border-radius: 9999px;
	background: #4f34d9;
	color: #ffffff;
}

[data-fxm-conditions] .fxm-cond-list,
[data-fxm-rules] .fxm-rule-list {
	flex: 1 1 auto;
	min-width: 0;
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 12px;
}

[data-fxm-conditions] .fxm-cond-list {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	grid-auto-rows: minmax(98px, 1fr);
}

[data-fxm-rules] .fxm-rule-list {
	grid-template-rows: repeat(3, minmax(58px, 1fr));
}

[data-fxm-conditions] .fxm-cond-list li,
[data-fxm-rules] .fxm-rule-list li {
	min-width: 0;
	margin: 0;
	padding: 16px;
	border-radius: 14px;
	background: #f6f5fb;
}

[data-fxm-conditions] .fxm-cond-list li {
	display: grid;
	grid-template-rows: minmax(0, 1fr) auto;
	gap: 10px;
}

[data-fxm-conditions] .fxm-cond-list strong {
	display: block;
	min-width: 0;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.5;
	color: #716b85;
	overflow-wrap: anywhere;
}

[data-fxm-conditions] .fxm-cond-list em {
	display: block;
	min-width: 0;
	font-style: normal;
	font-size: 26px;
	font-weight: 700;
	line-height: 1.25;
	color: #4f34d9;
	font-variant-numeric: tabular-nums;
	overflow-wrap: anywhere;
}

[data-fxm-conditions] .fxm-cond-list li.is-missing em {
	font-size: 15px;
	font-weight: 500;
	line-height: 1.6;
	color: #777383;
}

[data-fxm-rules] .fxm-rule-list li {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(88px, max-content);
	align-items: center;
	gap: 14px;
}

[data-fxm-rules] .fxm-rule-list span {
	min-width: 0;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.6;
	color: #2f2658;
	overflow-wrap: anywhere;
}

[data-fxm-rules] .fxm-rule-list strong {
	display: inline-flex;
	align-items: center;
	justify-content: flex-end;
	gap: 6px;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.6;
	text-align: right;
	white-space: nowrap;
}

[data-fxm-rules] .fxm-rule-list strong.is-unknown {
	font-weight: 500;
	color: #777383;
}

[data-fxm-rules] .fxm-rule-list strong.is-ok {
	color: #0f9f6e;
}

[data-fxm-rules] .fxm-rule-list strong.is-ok svg {
	width: 18px;
	height: 18px;
	padding: 3px;
	border-radius: 9999px;
	background: #10b981;
	color: #ffffff;
	stroke: #ffffff;
}

[data-fxm-rules] .fxm-rule-list strong.is-no {
	color: #e11d48;
}

[data-fxm-rules] .fxm-rule-list strong svg {
	flex: 0 0 auto;
}

.fxm-mod-card {
	position: relative;
	overflow: hidden;
	border: 0;
	border-radius: 24px;
	background: #ffffff;
	box-shadow: 0 10px 28px -14px rgba(79, 52, 217, 0.16), 0 4px 12px -8px rgba(47, 38, 88, 0.08);
	padding: 18px 18px 16px;
}

.fxm-mod-card::before {
	content: "";
	position: absolute;
	inset: 0 0 auto;
	height: 3px;
	background: #4f34d9;
}

.fxm-mod-card .fxm-overview-head {
	display: flex;
	align-items: center;
	padding: 4px 2px 14px;
}

.fxm-mod-card .fxm-overview-icon {
	display: flex;
	width: 36px;
	height: 36px;
	align-items: center;
	justify-content: center;
	border-radius: 9999px;
	background: #4f34d9;
	color: #ffffff;
}

[data-fxm-accounts] {
	padding: 22px;
}

[data-fxm-accounts] .fxm-overview-head {
	justify-content: space-between;
	gap: 12px;
	padding: 0 0 18px;
}

[data-fxm-accounts] .fxm-overview-head > div {
	min-width: 0;
}

[data-fxm-accounts] .fxm-overview-head h3 {
	margin: 0;
	font-size: 16px;
	line-height: 1.5;
}

[data-fxm-accounts] .fxm-overview-icon {
	flex: 0 0 auto;
}

[data-fxm-accounts] .fxm-account-count {
	flex: 0 0 auto;
	max-width: 42%;
	padding: 4px 10px;
	border-radius: 9999px;
	background: #f6f5fb;
	font-size: 12px;
	font-weight: 500;
	line-height: 1.5;
	text-align: center;
	color: #716b85;
}

[data-fxm-accounts] .fxm-account-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	align-items: stretch;
	gap: 12px;
}

[data-fxm-accounts] article {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	min-width: 0;
	min-height: 152px;
	gap: 22px;
	padding: 18px;
	border-radius: 16px;
	background: #f6f5fb;
}

[data-fxm-accounts] .fxm-account-name {
	min-width: 0;
}

[data-fxm-accounts] .fxm-account-name > strong {
	display: block;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.5;
	color: #2f2658;
	overflow-wrap: anywhere;
}

[data-fxm-accounts] .fxm-account-name p {
	margin: 6px 0 0;
	font-size: 12.5px;
	line-height: 1.6;
	color: #777383;
	overflow-wrap: anywhere;
}

[data-fxm-accounts] .fxm-account-minimum {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 5px;
	min-width: 0;
}

[data-fxm-accounts] .fxm-account-minimum > span {
	display: block;
	font-size: 12.5px;
	font-weight: 500;
	line-height: 1.6;
	color: #716b85;
	overflow-wrap: anywhere;
}

[data-fxm-accounts] .fxm-account-minimum > strong {
	display: block;
	font-size: 24px;
	font-weight: 700;
	line-height: 1.3;
	color: #4f34d9;
	font-variant-numeric: tabular-nums;
	overflow-wrap: anywhere;
}

[data-fxm-accounts] .fxm-account-minimum.is-missing > strong {
	font-size: 15px;
	font-weight: 500;
	line-height: 1.6;
	color: #777383;
}

/* Match the body type used by the adjacent funding, platform and news cards. */
#overview-section [data-fxm-conditions] .fxm-cond-list em,
#overview-section [data-fxm-rules] .fxm-rule-list :is(span, strong),
#account-section [data-fxm-accounts] .fxm-account-name > strong,
#account-section [data-fxm-accounts] .fxm-account-minimum > strong,
#trading-section p.tabular-nums,
#trading-section tbody td {
	color: #2f2658;
	font-family: var(--font-family-body);
	font-size: 14px;
	font-weight: 500;
	line-height: 1.6;
}

#overview-section [data-fxm-conditions] .fxm-cond-list li:not(.is-missing) > em,
#account-section [data-fxm-accounts] .fxm-account-minimum:not(.is-missing) > strong,
#trading-section p.tabular-nums {
	font-size: 16px;
	font-weight: 600;
	line-height: 1.5;
}

#account-section [data-fxm-accounts] .fxm-account-name > strong {
	font-weight: 600;
}

#overview-section [data-fxm-conditions] .fxm-cond-list strong,
#account-section [data-fxm-accounts] .fxm-account-minimum > span {
	color: #716b85;
	font-family: var(--font-family-body);
	font-size: 13px;
	font-weight: 500;
	line-height: 1.6;
}

#account-section [data-fxm-accounts] .fxm-account-name p,
#account-section [data-fxm-accounts] .fxm-account-empty {
	color: #777383;
	font-family: var(--font-family-body);
	font-size: 13px;
	font-weight: 400;
	line-height: 1.6;
}

/* Rule indicators keep their semantic color independently from the body copy. */
#overview-section [data-fxm-rules] .fxm-rule-list strong.is-no svg {
	color: #e11d48;
}

@media (max-width: 1023px) {
	[data-fxm-accounts] .fxm-account-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767.98px) {
	.fxm-trading-cards {
		grid-template-columns: minmax(0, 1fr);
		gap: 20px;
	}

	[data-fxm-conditions],
	[data-fxm-rules],
	[data-fxm-accounts] {
		padding: 20px;
	}

	[data-fxm-conditions] .fxm-cond-list,
	[data-fxm-rules] .fxm-rule-list {
		gap: 10px;
	}

	[data-fxm-conditions] .fxm-cond-list {
		grid-auto-rows: minmax(94px, 1fr);
	}

	[data-fxm-conditions] .fxm-cond-list em {
		font-size: 24px;
	}

	[data-fxm-rules] .fxm-rule-list {
		grid-template-rows: repeat(3, minmax(58px, auto));
	}

	[data-fxm-accounts] article {
		min-height: 140px;
		padding: 16px;
	}
}

@media (max-width: 479px) {
	[data-fxm-conditions],
	[data-fxm-rules],
	[data-fxm-accounts] {
		padding: 18px 16px 16px;
	}

	[data-fxm-conditions] .fxm-cond-list li,
	[data-fxm-rules] .fxm-rule-list li {
		padding: 14px;
	}

	[data-fxm-rules] .fxm-rule-list li {
		gap: 10px;
	}

	[data-fxm-accounts] .fxm-account-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	[data-fxm-accounts] article {
		min-height: 0;
		gap: 18px;
	}
}

[data-fxm-funding] .fxm-fund-list {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 8px;
}

[data-fxm-funding] .fxm-fund-list li {
	display: grid;
	grid-template-columns: 10px minmax(0, 1fr) auto auto auto;
	align-items: center;
	gap: 10px;
	padding: 12px 12px;
	border-radius: 14px;
	background: #f6f5fb;
}

[data-fxm-funding] .fxm-fund-dot {
	width: 8px;
	height: 8px;
	border-radius: 9999px;
	background: #10b981;
}

[data-fxm-funding] .fxm-fund-dot.is-wait {
	background: #f59e0b;
}

[data-fxm-funding] .fxm-fund-list strong {
	font-size: 13.5px;
	color: #2f2658;
}

[data-fxm-funding] .fxm-fund-list em {
	font-style: normal;
	font-size: 12.5px;
	color: rgba(47, 38, 88, 0.52);
	white-space: nowrap;
}

[data-fxm-funding] .fxm-fund-list b {
	font-size: 12.5px;
	font-weight: 700;
	white-space: nowrap;
}

[data-fxm-funding] .fxm-fund-list b.is-ok {
	color: #0f9f6e;
}

[data-fxm-funding] .fxm-fund-list b.is-wait {
	color: #d97706;
}

[data-fxm-platforms] .fxm-plat-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 16px;
}

[data-fxm-platforms] .fxm-plat-tabs button {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	border: 1px solid rgba(79, 52, 217, 0.14);
	border-radius: 14px;
	padding: 9px 18px 9px 10px;
	background: #f8f8fc;
	color: rgba(47, 38, 88, 0.62);
	font-size: 14px;
	font-weight: 800;
	line-height: 1;
	cursor: pointer;
	transition: all 0.25s ease;
}

[data-fxm-platforms] .fxm-plat-tabs button:hover {
	border-color: rgba(79, 52, 217, 0.32);
	color: #4f34d9;
}

[data-fxm-platforms] .fxm-plat-tabs button svg {
	flex: 0 0 auto;
}

[data-fxm-platforms] .fxm-plat-tabs button .fxm-plat-tab-logo {
	flex: 0 0 auto;
	width: 30px;
	height: 30px;
	border-radius: 9px;
	object-fit: cover;
	box-shadow: 0 2px 8px rgba(31, 27, 58, 0.28);
}

[data-fxm-platforms] .fxm-plat-tabs button.is-active {
	background: #4f34d9;
	border-color: #4f34d9;
	color: #ffffff;
	box-shadow: 0 10px 24px -10px rgba(79, 52, 217, 0.55);
}

[data-fxm-platforms] .fxm-plat-tabs button.is-active .fxm-plat-tab-logo {
	box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.65), 0 2px 8px rgba(31, 27, 58, 0.3);
}

[data-fxm-platforms] .fxm-plat-hero {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 16px;
	border-radius: 16px;
	background: #f6f5fb;
}

[data-fxm-platforms] .fxm-plat-brand {
	display: flex;
	align-items: center;
	gap: 12px;
}

[data-fxm-platforms] .fxm-plat-brand > span {
	display: flex;
	width: 48px;
	height: 48px;
	align-items: center;
	justify-content: center;
	border-radius: 9999px;
	background: #1e3a5f;
	color: #ffffff;
	font-size: 13px;
	font-weight: 800;
}

[data-fxm-platforms] .fxm-plat-brand strong {
	display: block;
	font-size: 15px;
	color: #2f2658;
}

[data-fxm-platforms] .fxm-plat-brand p {
	margin: 3px 0 0;
	font-size: 12.5px;
	color: rgba(47, 38, 88, 0.5);
}

[data-fxm-platforms] .fxm-plat-metrics {
	display: grid;
	grid-template-columns: repeat(3, minmax(72px, 1fr));
	gap: 18px;
	text-align: center;
}

[data-fxm-platforms] .fxm-plat-metrics strong {
	display: block;
	font-size: 24px;
	line-height: 1;
	color: #2f2658;
}

[data-fxm-platforms] .fxm-plat-metrics div:first-child strong {
	color: #4f34d9;
}

[data-fxm-platforms] .fxm-plat-metrics strong.is-ok {
	color: #10b981;
}

[data-fxm-platforms] .fxm-plat-metrics span {
	display: block;
	margin-top: 6px;
	font-size: 12px;
	color: rgba(47, 38, 88, 0.48);
}

[data-fxm-platforms] .fxm-plat-block {
	margin-top: 16px;
}

[data-fxm-platforms] .fxm-plat-block > p,
[data-fxm-platforms] .fxm-plat-server-head > p {
	margin: 0 0 10px;
	font-size: 13px;
	font-weight: 700;
	color: rgba(47, 38, 88, 0.62);
}

[data-fxm-platforms] .fxm-plat-server-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 10px;
}

[data-fxm-platforms] .fxm-plat-server-head > p {
	margin: 0;
}

[data-fxm-platforms] .fxm-plat-server-more {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 4px 0;
	border: 0;
	background: transparent;
	color: #4f34d9;
	font-size: 13px;
	font-weight: 600;
	white-space: nowrap;
	cursor: pointer;
}

[data-fxm-platforms] .fxm-plat-server-more:hover {
	color: #3823aa;
}

[data-fxm-platforms] .fxm-plat-servers {
	display: grid;
	gap: 12px;
}

@media (min-width: 640px) {
	[data-fxm-platforms] .fxm-plat-servers {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1024px) {
	[data-fxm-platforms] .fxm-plat-servers {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

[data-fxm-platforms] .fxm-server-card {
	display: flex;
	flex-direction: column;
	min-width: 0;
	border: 1px solid #e6e8f0;
	border-radius: 12px;
	background: #fff;
	overflow: hidden;
}

[data-fxm-platforms] .fxm-server-card-head {
	display: flex;
	flex: 1;
	align-items: flex-start;
	gap: 9px;
	min-width: 0;
	padding: 16px 16px 14px;
}

[data-fxm-platforms] .fxm-server-platform {
	flex-shrink: 0;
	max-width: 40%;
	margin-top: 1px;
	padding: 2px 6px;
	border: 1px solid #ded9f5;
	border-radius: 4px;
	background: #f3f0fe;
	color: #5941bb;
	font-size: 10.5px;
	font-weight: 700;
	line-height: 1.45;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

[data-fxm-platforms] .fxm-server-platform.is-mt5 {
	border-color: #cde8eb;
	background: #edf7f8;
	color: #227b83;
}

[data-fxm-platforms] .fxm-server-name {
	min-width: 0;
	color: #28334b;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.65;
	overflow-wrap: anywhere;
}

[data-fxm-platforms] .fxm-server-facts {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(max-content, 0.8fr);
	gap: 12px;
	margin: 0;
	padding: 12px 16px 14px;
	border-top: 1px solid #eff0f5;
	background: #fbfbfd;
}

[data-fxm-platforms] .fxm-server-facts > div {
	display: flex;
	flex-direction: column;
	min-width: 0;
	overflow-wrap: anywhere;
}

[data-fxm-platforms] .fxm-server-facts dt {
	margin-bottom: 6px;
	color: #7a8294;
	font-size: 11.5px;
	font-weight: 400;
	line-height: 1.5;
}

[data-fxm-platforms] .fxm-server-facts dd {
	display: flex;
	align-items: center;
	gap: 4px;
	min-height: 23px;
	margin: auto 0 0;
	color: #344057;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.5;
}

[data-fxm-platforms] .fxm-server-type {
	padding: 1px 7px;
	border-radius: 4px;
	font-size: 11.5px;
	font-weight: 500;
}

[data-fxm-platforms] .fxm-server-type.is-real {
	background: #edf4fc;
	color: #3b6fa2;
}

[data-fxm-platforms] .fxm-server-type.is-demo {
	background: #eceef4;
	color: #697187;
}

[data-fxm-platforms] .fxm-server-ping {
	padding-inline-end: 6px;
}

[data-fxm-platforms] .fxm-server-ping b {
	font-size: 17px;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
	line-height: 1.25;
}

[data-fxm-platforms] .fxm-server-ping small {
	color: #7a8294;
	font-size: 11px;
	font-weight: 400;
}

[data-fxm-platforms] .fxm-server-ping.is-low,
[data-fxm-platforms] .fxm-plat-metrics .fxm-platform-ping.is-low {
	color: #13805c;
}

[data-fxm-platforms] .fxm-server-ping.is-medium,
[data-fxm-platforms] .fxm-plat-metrics .fxm-platform-ping.is-medium {
	color: #a16c08;
}

[data-fxm-platforms] .fxm-server-ping.is-high,
[data-fxm-platforms] .fxm-plat-metrics .fxm-platform-ping.is-high {
	color: #cb3f55;
}

[data-fxm-platforms] .fxm-server-ping-dot {
	position: relative;
	flex: 0 0 6px;
	width: 6px;
	height: 6px;
	margin-inline-start: 3px;
	border-radius: 50%;
	background: currentColor;
}

[data-fxm-platforms] .fxm-server-ping-dot::after {
	position: absolute;
	inset: 0;
	border-radius: inherit;
	background: currentColor;
	content: "";
	animation: fxm-server-ping-pulse 2.8s ease-out infinite;
}

@keyframes fxm-server-ping-pulse {
	0% { transform: scale(1); opacity: 0.32; }
	65%, 100% { transform: scale(2.8); opacity: 0; }
}

[data-fxm-platforms] .fxm-server-ping-label {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
	[data-fxm-platforms] .fxm-server-ping-dot::after {
		animation: none;
		opacity: 0;
	}
}

[data-fxm-platforms] .fxm-server-facts .is-unknown {
	padding: 0;
	color: #8b91a0;
	font-size: 12px;
	font-weight: 400;
}

[data-fxm-platforms] .fxm-plat-metrics .fxm-platform-ping.is-unknown {
	color: #8b91a0;
}

@media (max-width: 639px) {
	[data-fxm-platforms] .fxm-server-card-head {
		padding: 14px 14px 12px;
	}
	[data-fxm-platforms] .fxm-server-facts {
		gap: 8px;
		padding: 10px 14px 12px;
	}
}

[data-fxm-platforms] .fxm-plat-downloads {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

[data-fxm-platforms] .fxm-plat-downloads a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 12px;
	border-radius: 12px;
	background: #f6f5fb;
	color: #2f2658;
	font-size: 13px;
}

[data-fxm-platforms] .fxm-plat-downloads svg {
	color: #4f34d9;
}

[data-fxm-reviews] {
	border: 0;
	box-shadow: 0 10px 28px -14px rgba(79, 52, 217, 0.16), 0 4px 12px -8px rgba(47, 38, 88, 0.08);
}

[data-fxm-reviews] .fxm-reviews-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
}

[data-fxm-reviews] .fxm-reviews-icon {
	display: flex;
	width: 32px;
	height: 32px;
	align-items: center;
	justify-content: center;
	border-radius: 10px;
	background: #f3f0ff;
	color: #4f34d9;
}

[data-fxm-reviews] .fxm-reviews-head p {
	margin: 2px 0 0;
	font-size: 12.5px;
	color: rgba(47, 38, 88, 0.5);
}

[data-fxm-reviews] .fxm-reviews-write {
	border: 0;
	border-radius: 9999px;
	padding: 9px 18px;
	background: linear-gradient(135deg, #6a52ea, #4f34d9);
	color: #ffffff;
	font-size: 13px;
	font-weight: 700;
	box-shadow: 0 8px 18px -10px rgba(79, 52, 217, 0.55);
	transition: transform 0.18s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.18s;
}

[data-fxm-reviews] .fxm-reviews-write:hover:not(:disabled) {
	transform: translateY(-1px);
	box-shadow: 0 12px 22px -10px rgba(79, 52, 217, 0.65);
}

[data-fxm-reviews] .fxm-reviews-summary {
	display: grid;
	gap: 20px;
	margin-top: 18px;
	padding-bottom: 18px;
	border-bottom: 1px solid rgba(79, 52, 217, 0.08);
}

[data-fxm-reviews] .fxm-reviews-score {
	text-align: center;
}

[data-fxm-reviews] .fxm-reviews-score strong {
	display: block;
	font-size: 48px;
	line-height: 1;
	letter-spacing: -0.05em;
	color: #2f2658;
}

[data-fxm-reviews] .fxm-reviews-score p {
	margin: 6px 0 0;
	font-size: 12.5px;
	color: rgba(47, 38, 88, 0.5);
}

[data-fxm-reviews] .fxm-review-stars {
	display: inline-flex;
	align-items: center;
	gap: 3px;
	margin-top: 8px;
}

[data-fxm-reviews] .fxm-review-stars .is-on {
	color: #f59e0b;
}

[data-fxm-reviews] .fxm-review-stars .is-off {
	color: #e5e7eb;
}

[data-fxm-reviews] .fxm-reviews-bar {
	display: grid;
	grid-template-columns: 92px 1fr 20px;
	align-items: center;
	gap: 10px;
	margin-top: 10px;
}

[data-fxm-reviews] .fxm-reviews-bar span {
	font-size: 12.5px;
	font-weight: 600;
	color: rgba(47, 38, 88, 0.72);
}

[data-fxm-reviews] .fxm-reviews-bar div {
	height: 8px;
	overflow: hidden;
	border-radius: 9999px;
	background: rgba(47, 38, 88, 0.08);
}

[data-fxm-reviews] .fxm-reviews-bar i {
	display: block;
	height: 100%;
	border-radius: 9999px;
}

[data-fxm-reviews] .fxm-reviews-bar em {
	font-style: normal;
	font-size: 13px;
	font-weight: 700;
	text-align: right;
	color: #2f2658;
}

[data-fxm-reviews] .fxm-reviews-list {
	display: grid;
	gap: 22px;
	margin-top: 20px;
}

[data-fxm-reviews] .fxm-review-user,
[data-fxm-reviews] .fxm-review-reply {
	display: flex;
	align-items: flex-start;
	gap: 10px;
}

[data-fxm-reviews] .fxm-review-user > span,
[data-fxm-reviews] .fxm-review-reply > span {
	display: flex;
	width: 36px;
	height: 36px;
	align-items: center;
	justify-content: center;
	border-radius: 9999px;
	color: #ffffff;
	font-size: 13px;
	font-weight: 700;
	flex-shrink: 0;
}

[data-fxm-reviews] .fxm-review-reply > span {
	width: 28px;
	height: 28px;
	font-size: 11px;
	background: #94a3b8;
}

[data-fxm-reviews] .fxm-review-reply > span.is-official {
	background: #4f34d9;
}

[data-fxm-reviews] .fxm-review-meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
}

[data-fxm-reviews] .fxm-review-meta strong {
	font-size: 14px;
	color: #2f2658;
}

[data-fxm-reviews] .fxm-review-meta time {
	font-size: 12px;
	color: rgba(47, 38, 88, 0.42);
}

[data-fxm-reviews] .fxm-review-meta b {
	display: inline-flex;
	align-items: center;
	padding: 1px 6px;
	border-radius: 6px;
	background: #2563eb;
	color: #ffffff;
	font-size: 10.5px;
	font-weight: 700;
}

[data-fxm-reviews] .fxm-review-rate {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-top: 2px;
}

[data-fxm-reviews] .fxm-review-rate .fxm-review-stars {
	margin-top: 0;
}

[data-fxm-reviews] .fxm-review-rate em {
	font-style: normal;
	font-size: 13px;
	font-weight: 700;
	color: #d97706;
}

[data-fxm-reviews] .fxm-review > p,
[data-fxm-reviews] .fxm-review-reply p {
	margin: 8px 0 0;
	font-size: 14px;
	line-height: 1.75;
	color: rgba(47, 38, 88, 0.78);
}

[data-fxm-reviews] .fxm-review-avatar {
	width: 36px;
	height: 36px;
	flex-shrink: 0;
	border-radius: 9999px;
	object-fit: cover;
	background: #f3f0ff;
}

[data-fxm-reviews] .fxm-reviews-write:disabled {
	cursor: not-allowed;
	opacity: 0.45;
}

/* Status line under the summary: post / delete / rate-limit outcomes. */
[data-fxm-reviews] .fxm-reviews-notice {
	margin: 14px 0 0;
	padding: 10px 14px;
	border-radius: 12px;
	background: #ecfdf5;
	color: #047857;
	font-size: 13px;
	line-height: 1.6;
}

[data-fxm-reviews] .fxm-reviews-notice.is-error {
	background: #fff1f2;
	color: #be123c;
}

/* Own-review actions, added by main.js to reviews this browser posted. */
[data-fxm-reviews] .fxm-review-own {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 10px;
}

[data-fxm-reviews] .fxm-review-own span {
	padding: 2px 8px;
	border-radius: 6px;
	background: #f3f0ff;
	color: #4f34d9;
	font-size: 11.5px;
	font-weight: 700;
}

[data-fxm-reviews] .fxm-review-own button {
	padding: 3px 10px;
	border: 1px solid rgba(47, 38, 88, 0.14);
	border-radius: 9999px;
	background: #ffffff;
	color: rgba(47, 38, 88, 0.72);
	font-size: 12px;
	font-weight: 600;
	transition: border-color 0.2s, color 0.2s;
}

[data-fxm-reviews] .fxm-review-own button:hover {
	border-color: rgba(79, 52, 217, 0.4);
	color: #4f34d9;
}

[data-fxm-reviews] .fxm-review-own button.is-danger:hover {
	border-color: rgba(225, 29, 72, 0.4);
	color: #e11d48;
}

[data-fxm-reviews] .fxm-review-own button:disabled {
	opacity: 0.45;
}

/* Write form, opened in place under the summary. Redesigned as a composer
   card: a spectrum strip + banded score chips echo the 好评/中评/差评 colors
   already used in the distribution bars above, instead of a flat gray grid. */
[data-fxm-reviews] .fxm-review-form {
	position: relative;
	display: grid;
	gap: 16px;
	margin-top: 18px;
	padding: 22px 22px 20px;
	border-radius: 20px;
	background: linear-gradient(165deg, #ffffff 0%, #faf9ff 55%, #f3effe 100%);
	border: 1px solid rgba(79, 52, 217, 0.12);
	box-shadow: 0 14px 32px -22px rgba(47, 38, 88, 0.45);
	overflow: hidden;
}

[data-fxm-reviews] .fxm-review-form::before {
	content: "";
	position: absolute;
	inset: 0 0 auto 0;
	height: 3px;
	background: linear-gradient(90deg, #f43f5e, #f59e0b, #10b981, #4f34d9);
}

[data-fxm-reviews] .fxm-review-form[hidden] {
	display: none;
}

@keyframes fxm-review-form-reveal {
	from {
		opacity: 0;
		transform: translateY(8px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

[data-fxm-reviews] .fxm-review-form:not([hidden]) {
	animation: fxm-review-form-reveal 0.32s cubic-bezier(0.2, 0.8, 0.2, 1);
}

[data-fxm-reviews] .fxm-review-form-score {
	margin: 0;
	padding: 0;
	border: 0;
	min-width: 0;
}

[data-fxm-reviews] .fxm-review-form-score legend,
[data-fxm-reviews] .fxm-review-form-label {
	display: flex;
	align-items: baseline;
	gap: 8px;
	margin-bottom: 10px;
	padding: 0;
	font-size: 13.5px;
	font-weight: 700;
	color: #2f2658;
}

[data-fxm-reviews] .fxm-review-form-score legend small,
[data-fxm-reviews] .fxm-review-form-anon small {
	font-size: 12px;
	font-weight: 500;
	color: rgba(47, 38, 88, 0.45);
}

[data-fxm-reviews] .fxm-review-slider {
	display: grid;
	gap: 4px;
}

[data-fxm-reviews] .fxm-review-slider-readout {
	display: flex;
	align-items: baseline;
	gap: 10px;
	margin-bottom: 4px;
}

[data-fxm-reviews] .fxm-review-slider-readout strong {
	font-size: 30px;
	font-weight: 800;
	line-height: 1;
	font-variant-numeric: tabular-nums;
	color: rgba(47, 38, 88, 0.35);
	transition: color 0.18s;
}

[data-fxm-reviews] .fxm-review-slider-readout span {
	padding: 3px 10px;
	border-radius: 999px;
	background: rgba(47, 38, 88, 0.06);
	color: rgba(47, 38, 88, 0.45);
	font-size: 12.5px;
	font-weight: 700;
	transition: background 0.18s, color 0.18s;
}

/* 1–4 差评, 5–7 中评, 8–10 好评 — same bands and colors as $review_buckets above. */
[data-fxm-reviews] .fxm-review-slider[data-band="negative"] .fxm-review-slider-readout strong { color: #f43f5e; }
[data-fxm-reviews] .fxm-review-slider[data-band="negative"] .fxm-review-slider-readout span { background: rgba(244, 63, 94, 0.12); color: #e11d48; }
[data-fxm-reviews] .fxm-review-slider[data-band="neutral"] .fxm-review-slider-readout strong { color: #f59e0b; }
[data-fxm-reviews] .fxm-review-slider[data-band="neutral"] .fxm-review-slider-readout span { background: rgba(245, 158, 11, 0.14); color: #b45309; }
[data-fxm-reviews] .fxm-review-slider[data-band="positive"] .fxm-review-slider-readout strong { color: #10b981; }
[data-fxm-reviews] .fxm-review-slider[data-band="positive"] .fxm-review-slider-readout span { background: rgba(16, 185, 129, 0.12); color: #0f9d72; }

[data-fxm-reviews] .fxm-review-slider-input {
	-webkit-appearance: none;
	appearance: none;
	width: 100%;
	height: 26px;
	margin: 0;
	background: transparent;
	cursor: pointer;
}

[data-fxm-reviews] .fxm-review-slider-input::-webkit-slider-runnable-track {
	height: 10px;
	border-radius: 999px;
	background: linear-gradient(90deg, #f43f5e 0%, #f43f5e 37%, #f59e0b 41%, #f59e0b 70%, #10b981 74%, #10b981 100%);
	box-shadow: inset 0 1px 2px rgba(47, 38, 88, 0.18);
}

[data-fxm-reviews] .fxm-review-slider-input::-moz-range-track {
	height: 10px;
	border-radius: 999px;
	background: linear-gradient(90deg, #f43f5e 0%, #f43f5e 37%, #f59e0b 41%, #f59e0b 70%, #10b981 74%, #10b981 100%);
	box-shadow: inset 0 1px 2px rgba(47, 38, 88, 0.18);
}

[data-fxm-reviews] .fxm-review-slider-input::-webkit-slider-thumb {
	-webkit-appearance: none;
	width: 26px;
	height: 26px;
	margin-top: -8px;
	border-radius: 50%;
	background: #ffffff;
	border: 3px solid #4f34d9;
	box-shadow: 0 4px 10px -2px rgba(47, 38, 88, 0.45);
	transition: transform 0.15s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.15s;
}

[data-fxm-reviews] .fxm-review-slider-input::-moz-range-thumb {
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: #ffffff;
	border: 3px solid #4f34d9;
	box-shadow: 0 4px 10px -2px rgba(47, 38, 88, 0.45);
	transition: transform 0.15s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.15s;
}

[data-fxm-reviews] .fxm-review-slider-input:hover::-webkit-slider-thumb,
[data-fxm-reviews] .fxm-review-slider-input:active::-webkit-slider-thumb {
	transform: scale(1.12);
	box-shadow: 0 6px 14px -2px rgba(47, 38, 88, 0.55);
}

[data-fxm-reviews] .fxm-review-slider-input:hover::-moz-range-thumb,
[data-fxm-reviews] .fxm-review-slider-input:active::-moz-range-thumb {
	transform: scale(1.12);
	box-shadow: 0 6px 14px -2px rgba(47, 38, 88, 0.55);
}

[data-fxm-reviews] .fxm-review-slider-input:focus-visible::-webkit-slider-thumb {
	outline: 2px solid #4f34d9;
	outline-offset: 2px;
}

[data-fxm-reviews] .fxm-review-slider-input:focus-visible::-moz-range-thumb {
	outline: 2px solid #4f34d9;
	outline-offset: 2px;
}


[data-fxm-reviews] .fxm-review-form textarea {
	width: 100%;
	min-height: 120px;
	resize: vertical;
	padding: 14px 16px;
	border: 1.5px solid rgba(47, 38, 88, 0.12);
	border-radius: 16px;
	background: #ffffff;
	color: #2f2658;
	font-size: 14px;
	line-height: 1.75;
	transition: border-color 0.18s, box-shadow 0.18s;
}

[data-fxm-reviews] .fxm-review-form textarea::placeholder {
	color: rgba(47, 38, 88, 0.35);
}

[data-fxm-reviews] .fxm-review-form textarea:focus {
	outline: none;
	border-color: #4f34d9;
	box-shadow: 0 0 0 4px rgba(79, 52, 217, 0.12);
}

[data-fxm-reviews] .fxm-review-form-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 10px;
}

[data-fxm-reviews] .fxm-review-form-anon {
	display: inline-flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	font-size: 13px;
	font-weight: 600;
	color: #2f2658;
	cursor: pointer;
}

/* A toggle switch reads as a deliberate privacy choice, not a stray checkbox. */
[data-fxm-reviews] .fxm-review-form-anon input {
	appearance: none;
	-webkit-appearance: none;
	position: relative;
	width: 34px;
	height: 20px;
	margin: 0;
	border-radius: 999px;
	background: #e3e0f0;
	border: 1px solid rgba(47, 38, 88, 0.12);
	cursor: pointer;
	flex-shrink: 0;
	transition: background 0.2s;
}

[data-fxm-reviews] .fxm-review-form-anon input::before {
	content: "";
	position: absolute;
	top: 1px;
	left: 1px;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: #ffffff;
	box-shadow: 0 1px 3px rgba(47, 38, 88, 0.3);
	transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

[data-fxm-reviews] .fxm-review-form-anon input:checked {
	background: #4f34d9;
	border-color: #4f34d9;
}

[data-fxm-reviews] .fxm-review-form-anon input:checked::before {
	transform: translateX(14px);
}

[data-fxm-reviews] .fxm-review-form-anon input:focus-visible {
	outline: 2px solid #4f34d9;
	outline-offset: 2px;
}

[data-fxm-reviews] .fxm-review-form-count {
	font-size: 12px;
	font-variant-numeric: tabular-nums;
	color: rgba(47, 38, 88, 0.5);
	padding: 3px 10px;
	border-radius: 999px;
	background: rgba(47, 38, 88, 0.06);
}

[data-fxm-reviews] .fxm-review-form-rule {
	margin: 0;
	padding: 10px 12px;
	border-radius: 10px;
	background: rgba(79, 52, 217, 0.05);
	font-size: 12px;
	line-height: 1.7;
	color: rgba(47, 38, 88, 0.55);
}

[data-fxm-reviews] .fxm-review-form-status {
	margin: 0;
	font-size: 13px;
	font-weight: 600;
	color: #be123c;
}

[data-fxm-reviews] .fxm-review-form-actions {
	display: flex;
	justify-content: flex-end;
	gap: 10px;
	padding-top: 4px;
}

[data-fxm-reviews] .fxm-review-form-actions button {
	border-radius: 9999px;
	padding: 10px 22px;
	font-size: 13.5px;
	font-weight: 700;
	transition: transform 0.18s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.18s, background 0.18s, border-color 0.18s;
}

[data-fxm-reviews] .fxm-review-form-cancel {
	border: 1.5px solid rgba(47, 38, 88, 0.14);
	background: #ffffff;
	color: rgba(47, 38, 88, 0.72);
}

[data-fxm-reviews] .fxm-review-form-cancel:hover {
	border-color: rgba(47, 38, 88, 0.3);
	background: #f7f6fb;
}

[data-fxm-reviews] .fxm-review-form-submit {
	border: 0;
	background: linear-gradient(135deg, #6a52ea, #4f34d9);
	color: #ffffff;
	box-shadow: 0 10px 22px -10px rgba(79, 52, 217, 0.6);
}

[data-fxm-reviews] .fxm-review-form-submit:hover:not(:disabled) {
	transform: translateY(-1px);
	box-shadow: 0 14px 26px -10px rgba(79, 52, 217, 0.7);
}

[data-fxm-reviews] .fxm-review-form-submit:disabled {
	opacity: 0.6;
	cursor: progress;
	transform: none;
	box-shadow: none;
}

[data-fxm-reviews] .fxm-review-thread {
	display: grid;
	gap: 14px;
	margin-top: 12px;
	padding: 14px;
	border-radius: 14px;
	background: #f5f4f8;
}

[data-fxm-reviews] .fxm-review-reply p {
	margin-top: 4px;
	font-size: 13.5px;
}

@media (min-width: 768px) {
	[data-fxm-reviews] .fxm-reviews-summary {
		grid-template-columns: 180px 1fr;
		align-items: center;
	}
}

/* Sponsored discovery cards: true broker marks on brand-colour covers. */
[data-fxm-broker-sponsored] .fxm-sponsored-card {
	min-width: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	padding: 0;
	box-shadow: none;
}

[data-fxm-broker-sponsored] .fxm-sponsored-head {
	display: grid;
	grid-template-columns: 28px minmax(0, 1fr) auto;
	align-items: center;
	gap: 4px 10px;
}

[data-fxm-broker-sponsored] .fxm-sponsored-icon {
	display: flex;
	align-self: start;
	width: 28px;
	height: 30px;
	align-items: center;
	justify-content: center;
	background: transparent;
	color: #6b38ed;
}

[data-fxm-broker-sponsored] .fxm-sponsored-icon svg {
	width: 26px;
	height: 26px;
}

[data-fxm-broker-sponsored] .fxm-sponsored-heading { min-width: 0; }

[data-fxm-broker-sponsored] .fxm-sponsored-heading h2 {
	margin: 0;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: -0.025em;
	color: #171431;
}

[data-fxm-broker-sponsored] .fxm-sponsored-heading p {
	margin: 4px 0 0;
	font-size: 13px;
	line-height: 1.55;
	color: #75718b;
}

[data-fxm-broker-sponsored] .fxm-sponsored-all {
	display: inline-flex;
	align-items: center;
	justify-self: end;
	gap: 6px;
	min-height: 36px;
	max-width: 100%;
	color: #6b38ed;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.4;
	text-decoration: none;
	overflow-wrap: anywhere;
}

[data-fxm-broker-sponsored] .fxm-sponsored-all svg { width: 16px; height: 16px; flex: none; }
[data-fxm-broker-sponsored] .fxm-sponsored-all:hover { color: #4f24c5; }

/* Fixed column counts keep a short paid lineup from becoming oversized. */
[data-fxm-broker-sponsored] .fxm-sponsored-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 18px;
	margin-top: 20px;
}

[data-fxm-broker-sponsored] .fxm-sponsored-item {
	--fxm-cover-rgb: 96, 108, 128;
	--fxm-cover-base: #f0f2f6;
	--fxm-cover-accent: #606c80;
	--fxm-cover-ink: #253344;
	position: relative;
	display: flex;
	flex-direction: column;
	min-width: 0;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.9);
	border-radius: 18px;
	background: #ffffff;
	padding: 0;
	box-shadow: 0 4px 12px rgba(69, 45, 128, 0.055), 0 1px 3px rgba(69, 45, 128, 0.035);
	color: #171431;
	text-decoration: none;
	isolation: isolate;
	transition: transform 0.18s ease, box-shadow 0.18s ease;
}

[data-fxm-broker-sponsored] .fxm-sponsored-item:hover {
	transform: translateY(-2px);
	box-shadow: 0 9px 22px rgba(69, 45, 128, 0.1), 0 2px 5px rgba(69, 45, 128, 0.04);
}

[data-fxm-broker-sponsored] .fxm-sponsored-cover {
	position: relative;
	display: block;
	flex: none;
	width: 100%;
	aspect-ratio: 2.05;
	overflow: hidden;
	background: var(--fxm-cover-base);
	color: var(--fxm-cover-ink);
	isolation: isolate;
}

[data-fxm-broker-sponsored] .fxm-sponsored-art {
	position: absolute;
	inset: 0;
	z-index: -1;
	overflow: hidden;
	background: radial-gradient(ellipse at 28% 22%, rgba(255, 255, 255, 0.65), rgba(255, 255, 255, 0) 76%);
	pointer-events: none;
}

[data-fxm-broker-sponsored] .fxm-sponsored-art::before,
[data-fxm-broker-sponsored] .fxm-sponsored-art::after {
	position: absolute;
	display: block;
	content: "";
	aspect-ratio: 1;
	border-radius: 50%;
}

[data-fxm-broker-sponsored] .fxm-sponsored-art::before {
	top: -66%;
	right: -32%;
	width: 84%;
	border: 34px solid var(--fxm-cover-accent);
	opacity: 0.84;
}

[data-fxm-broker-sponsored] .fxm-sponsored-art::after {
	bottom: -66%;
	left: -22%;
	width: 60%;
	background: rgba(var(--fxm-cover-rgb), 0.15);
}

/* The generated masks carry only shape; every cover uses its sampled brand hue.
   Keep the simple circles above solely for browsers without CSS masking. */
@supports (mask-image: url("")) or (-webkit-mask-image: url("")) {
	[data-fxm-broker-sponsored] .fxm-sponsored-art {
		background: var(--fxm-cover-accent);
		opacity: 0.78;
		-webkit-mask-image: var(--fxm-cover-art, linear-gradient(transparent, transparent));
		mask-image: var(--fxm-cover-art, linear-gradient(transparent, transparent));
		-webkit-mask-position: center;
		mask-position: center;
		-webkit-mask-repeat: no-repeat;
		mask-repeat: no-repeat;
		-webkit-mask-size: cover;
		mask-size: cover;
		mask-mode: alpha;
	}
	[data-fxm-broker-sponsored] .fxm-sponsored-art::before,
	[data-fxm-broker-sponsored] .fxm-sponsored-art::after { content: none; }
}

[data-fxm-broker-sponsored] .fxm-sponsored-logo {
	position: absolute;
	top: 41%;
	left: 8%;
	z-index: 1;
	display: flex;
	width: 62%;
	height: 32%;
	max-width: 220px;
	max-height: 56px;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	border: 0;
	border-radius: 0;
	background: transparent;
	font-family: var(--font-family-heading);
	font-size: 32px;
	font-weight: 700;
	color: var(--fxm-cover-ink);
	transform: translateY(-50%);
}

[data-fxm-broker-sponsored] .fxm-sponsored-logo img {
	display: block;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

[data-fxm-broker-sponsored] .fxm-sponsored-logo > img[data-fxm-broker-logo] { padding: 0 !important; }
[data-fxm-broker-sponsored] .fxm-sponsored-logo .fxm-broker-logo-viewport { inset: 0; background: transparent; }
/* Only verified opaque white-matte sources blend into the pale cover.
   Transparent and unknown marks keep their normal compositing. */
[data-fxm-broker-sponsored] .fxm-sponsored-logo--white-matte { mix-blend-mode: darken; }
[data-fxm-broker-sponsored] .fxm-sponsored-logo.is-fallback > .fxm-broker-logo-initials {
	border-radius: 0;
	background: transparent;
	color: var(--fxm-cover-ink);
	font-size: 32px;
}

[data-fxm-broker-sponsored] .fxm-sponsored-label {
	position: absolute;
	top: 11px;
	right: 11px;
	z-index: 2;
	border: 1px solid rgba(255, 255, 255, 0.65);
	border-radius: 7px;
	background: rgba(255, 255, 255, 0.8);
	padding: 2px 8px;
	color: #626074;
	font-size: 11px;
	font-weight: 500;
	line-height: 1.5;
}

[data-fxm-broker-sponsored] .fxm-sponsored-cta {
	position: absolute;
	right: 13px;
	bottom: 13px;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-height: 34px;
	max-width: calc(100% - 26px);
	border: 1px solid rgba(255, 255, 255, 0.9);
	border-radius: 999px;
	background: #ffffff;
	padding: 6px 12px;
	box-shadow: 0 4px 9px rgba(47, 32, 73, 0.13);
	color: #6732ec;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.4;
	overflow-wrap: anywhere;
}

[data-fxm-broker-sponsored] .fxm-sponsored-cta svg { width: 16px; height: 16px; flex: none; }

[data-fxm-broker-sponsored] .fxm-sponsored-body {
	display: flex;
	flex: 1 1 auto;
	align-items: center;
	gap: 12px;
	min-width: 0;
	min-height: 72px;
	padding: 10px 14px 11px;
}

[data-fxm-broker-sponsored] .fxm-sponsored-identity {
	flex: 1 1 auto;
	min-width: 0;
}

[data-fxm-broker-sponsored] .fxm-sponsored-name {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
	margin: 0;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.35;
	letter-spacing: -0.025em;
	color: #171431;
	overflow-wrap: anywhere;
}

[data-fxm-broker-sponsored] .fxm-sponsored-country {
	display: flex;
	align-items: center;
	gap: 6px;
	min-width: 0;
	margin-top: 4px;
	color: #78738c;
	font-size: 12px;
	line-height: 1.4;
	overflow-wrap: anywhere;
}

[data-fxm-broker-sponsored] .fxm-sponsored-country img {
	flex: none;
	width: 22px;
	height: 16px;
	border-radius: 2px;
	object-fit: contain;
}

[data-fxm-broker-sponsored] .fxm-sponsored-score {
	display: flex;
	flex: 0 0 auto;
	flex-direction: column;
	align-self: stretch;
	justify-content: center;
	gap: 2px;
	max-width: 43%;
	border-inline-start: 1px solid #e4dfee;
	padding-inline-start: 10px;
}

[data-fxm-broker-sponsored] .fxm-sponsored-score-label {
	display: block;
	color: #807992;
	font-size: 11px;
	font-weight: 400;
	line-height: 1.4;
	overflow-wrap: anywhere;
}

[data-fxm-broker-sponsored] .fxm-sponsored-score-value {
	display: inline-flex;
	align-items: baseline;
	gap: 4px;
	color: #6b38ed;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -0.025em;
	font-variant-numeric: tabular-nums;
}

[data-fxm-broker-sponsored] .fxm-sponsored-score-value strong { font: inherit; }
[data-fxm-broker-sponsored] .fxm-sponsored-score-value small {
	color: #8a8299;
	font-size: 11px;
	font-weight: 400;
	letter-spacing: 0;
}

[data-fxm-broker-sponsored] .fxm-sponsored-note {
	margin: 17px 0 0;
	color: #807992;
	font-size: 12px;
	line-height: 1.65;
}

[data-fxm-broker-sponsored] .fxm-sponsored-item:focus-visible,
[data-fxm-broker-sponsored] .fxm-sponsored-all:focus-visible {
	outline: 2px solid #6b38ed;
	outline-offset: 4px;
}

[data-fxm-broker-sponsored] .fxm-sponsored-all:focus-visible { border-radius: 4px; }

@media (min-width: 640px) {
	[data-fxm-broker-sponsored] .fxm-sponsored-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
	[data-fxm-broker-sponsored] .fxm-sponsored-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 639.98px) {
	[data-fxm-broker-sponsored] .fxm-sponsored-grid { gap: 16px; margin-top: 16px; }
	[data-fxm-broker-sponsored] .fxm-sponsored-heading h2 { font-size: 20px; }
	[data-fxm-broker-sponsored] .fxm-sponsored-all { min-height: 44px; }
	[data-fxm-broker-sponsored] .fxm-sponsored-item:hover { transform: none; }
	[data-fxm-broker-sponsored] .fxm-sponsored-body { gap: 10px; min-height: 68px; padding: 9px 12px 10px; }
	[data-fxm-broker-sponsored] .fxm-sponsored-score { padding-inline-start: 10px; }
	[data-fxm-broker-sponsored] .fxm-sponsored-cta { min-height: 36px; }
}

@media (max-width: 479.98px) {
	[data-fxm-broker-sponsored] .fxm-sponsored-head { grid-template-columns: 26px minmax(0, 1fr); }
	[data-fxm-broker-sponsored] .fxm-sponsored-all { grid-column: 2; justify-self: start; }
	[data-fxm-broker-sponsored] .fxm-sponsored-heading p { font-size: 12.5px; }
}

@media (prefers-reduced-motion: reduce) {
	[data-fxm-broker-sponsored] .fxm-sponsored-item { transition: none; }
	[data-fxm-broker-sponsored] .fxm-sponsored-item:hover { transform: none; }
}

[data-fxm-faqs] {
	border: 0;
	box-shadow: 0 10px 28px -14px rgba(79, 52, 217, 0.16), 0 4px 12px -8px rgba(47, 38, 88, 0.08);
}

[data-fxm-faqs] .fxm-faq-head {
	display: flex;
	align-items: flex-start;
	gap: 10px;
}

[data-fxm-faqs] .fxm-faq-icon {
	display: flex;
	width: 32px;
	height: 32px;
	align-items: center;
	justify-content: center;
	border-radius: 9999px;
	background: #4f34d9;
	color: #ffffff;
}

[data-fxm-faqs] .fxm-faq-head p {
	margin: 2px 0 0;
	font-size: 12.5px;
	color: rgba(47, 38, 88, 0.5);
}

[data-fxm-faqs] .fxm-faq-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 16px;
}

[data-fxm-faqs] .fxm-faq-filter {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	border: 0;
	border-radius: 9999px;
	padding: 6px 12px;
	background: #f4f3f7;
	color: #2f2658;
	font-size: 13px;
	font-weight: 600;
}

[data-fxm-faqs] .fxm-faq-filter em {
	font-style: normal;
	font-weight: 700;
}

[data-fxm-faqs] .fxm-faq-filter.is-active {
	background: #4f34d9;
	color: #ffffff;
}

[data-fxm-faqs] .fxm-faq-list {
	display: flex;
	flex-direction: column;
	margin-top: 12px;
}

/* Plain stacked questions separated by a single divider line. No cards,
   no index numbers: just the question text plus the chevron. */
[data-fxm-faqs] .fxm-faq-item + .fxm-faq-item {
	border-top: 1px solid #efeff4;
}

[data-fxm-faqs] .fxm-faq-item summary {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 16px 4px;
	cursor: pointer;
	list-style: none;
}

[data-fxm-faqs] .fxm-faq-item summary::-webkit-details-marker {
	display: none;
}

/* Category chip, rendered only when the row carries one. */
[data-fxm-faqs] .fxm-faq-item summary span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 24px;
	padding: 0 10px;
	border-radius: 999px;
	background: #eeeef3;
	color: #6c5ce7;
	font-size: 12px;
	font-weight: 700;
	white-space: nowrap;
}

[data-fxm-faqs] .fxm-faq-item summary strong {
	flex: 1;
	font-size: 15px;
	font-weight: 500;
	font-style: italic;
	color: #2a2a3c;
	letter-spacing: 0.01em;
}

[data-fxm-faqs] .fxm-faq-item summary svg {
	flex-shrink: 0;
	color: #9ca0b0;
	transition: transform 0.22s ease;
}

[data-fxm-faqs] .fxm-faq-item[open] summary svg {
	transform: rotate(180deg);
}

/* Answer: plain text under the question, no inner card; roomy line spacing. */
[data-fxm-faqs] .fxm-faq-item .fxm-faq-answer {
	margin: 0 4px 16px;
	font-size: 14px;
	line-height: 2.1;
	color: #374151;
}

[data-fxm-faqs] .fxm-faq-item .fxm-faq-answer p {
	margin: 0;
}

[data-fxm-faqs] .fxm-faq-item .fxm-faq-updated {
	display: block;
	margin-top: 10px;
	font-size: 12px;
	color: #b0b3c0;
}

/* Compact FAQ rows on narrow screens. */
@media (max-width: 640px) {
	[data-fxm-faqs] .fxm-faq-item summary {
		gap: 8px;
		padding: 14px 2px;
	}
	[data-fxm-faqs] .fxm-faq-item .fxm-faq-answer {
		margin: 0 2px 14px;
	}
}

[data-fxm-news] .fxm-news-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
}

[data-fxm-news] .fxm-news-icon {
	display: flex;
	width: 32px;
	height: 32px;
	align-items: center;
	justify-content: center;
	border-radius: 10px;
	background: #f3f0ff;
	color: #4f34d9;
}

[data-fxm-news] .fxm-news-head p {
	margin: 2px 0 0;
	font-size: 12.5px;
	color: rgba(47, 38, 88, 0.5);
}

[data-fxm-news] .fxm-news-nav {
	display: flex;
	gap: 8px;
}

[data-fxm-news] .fxm-news-nav button {
	display: flex;
	width: 32px;
	height: 32px;
	align-items: center;
	justify-content: center;
	border: 1px solid rgba(79, 52, 217, 0.12);
	border-radius: 9999px;
	background: #f6f4ff;
	color: #4f34d9;
	cursor: pointer;
}

[data-fxm-news] .fxm-news-nav [data-fxm-carousel-prev] svg {
	transform: rotate(180deg);
}

[data-fxm-news] .fxm-news-track {
	display: flex;
	gap: 14px;
	margin-top: 16px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}

[data-fxm-news] .fxm-news-track::-webkit-scrollbar {
	display: none;
}

[data-fxm-news] .fxm-news-item {
	flex: 0 0 240px;
	min-width: 0;
	scroll-snap-align: start;
}

[data-fxm-news] .fxm-news-item:hover h3 {
	color: #4f34d9;
}

[data-fxm-news] .fxm-news-item img {
	display: block;
	width: 100%;
	height: 132px;
	object-fit: cover;
	border-radius: 14px;
	background: #f3f1f8;
}

[data-fxm-news] .fxm-news-item h3 {
	margin: 10px 0 0;
	min-height: 2.7em;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.45;
	color: #2f2658;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

[data-fxm-news] .fxm-news-item div {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 10px;
}

[data-fxm-news] .fxm-news-item span,
[data-fxm-news] .fxm-news-item time {
	font-size: 12px;
	color: rgba(47, 38, 88, 0.48);
}

[data-fxm-news] .fxm-news-item i {
	width: 3px;
	height: 3px;
	border-radius: 9999px;
	background: rgba(47, 38, 88, 0.28);
	font-style: normal;
}

[data-fxm-news] .fxm-news-item em {
	display: flex;
	width: 18px;
	height: 18px;
	margin-left: auto;
	align-items: center;
	justify-content: center;
	border-radius: 9999px;
	background: #10b981;
	color: #ffffff;
	font-style: normal;
}

@media (min-width: 1100px) {
	[data-fxm-news] .fxm-news-track {
		display: grid;
		grid-template-columns: repeat(4, minmax(0, 1fr));
		overflow: visible;
	}

	[data-fxm-news] .fxm-news-item {
		flex: unset;
	}
}

/* Partnerships: same head/nav language as the news card; each card reads as a
   small certificate whose accent colour follows the partnership type. */
[data-fxm-partners] {
	--fxm-p-ink: #2f2658;
	--fxm-p-muted: rgba(47, 38, 88, 0.52);
}

[data-fxm-partners] .fxm-partner-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
}

[data-fxm-partners] .fxm-partner-icon {
	display: flex;
	width: 32px;
	height: 32px;
	align-items: center;
	justify-content: center;
	border-radius: 10px;
	background: #fff6e0;
	color: #b7791f;
}

[data-fxm-partners] .fxm-partner-head p {
	margin: 2px 0 0;
	font-size: 12.5px;
	color: rgba(47, 38, 88, 0.5);
}

[data-fxm-partners] .fxm-partner-nav {
	display: flex;
	gap: 8px;
}

[data-fxm-partners] .fxm-partner-nav button {
	display: flex;
	width: 32px;
	height: 32px;
	align-items: center;
	justify-content: center;
	border: 1px solid rgba(79, 52, 217, 0.12);
	border-radius: 9999px;
	background: #f6f4ff;
	color: #4f34d9;
	cursor: pointer;
	transition: background-color 160ms ease, border-color 160ms ease;
}

[data-fxm-partners] .fxm-partner-nav button:hover {
	border-color: rgba(79, 52, 217, 0.28);
	background: #ece8ff;
}

[data-fxm-partners] .fxm-partner-nav button:focus-visible {
	outline: 2px solid #4f34d9;
	outline-offset: 2px;
}

[data-fxm-partners] .fxm-partner-nav [data-fxm-carousel-prev] svg {
	transform: rotate(180deg);
}

[data-fxm-partners] .fxm-partner-nav button:disabled {
	border-color: rgba(47, 38, 88, 0.06);
	background: #f7f7fa;
	color: rgba(47, 38, 88, 0.25);
	cursor: default;
}

/* Type filter chips: one row, scrolls sideways on narrow screens. */
[data-fxm-partners] .fxm-partner-filters {
	display: flex;
	gap: 8px;
	margin-top: 14px;
	overflow-x: auto;
	scrollbar-width: none;
}

[data-fxm-partners] .fxm-partner-filters button {
	--tone: #4f34d9;
	--tone-soft: #f2efff;
	display: inline-flex;
	flex: none;
	align-items: center;
	gap: 6px;
	height: 30px;
	padding: 0 12px;
	border: 1px solid rgba(47, 38, 88, 0.1);
	border-radius: 9999px;
	background: #ffffff;
	color: rgba(47, 38, 88, 0.72);
	font-size: 12.5px;
	font-weight: 600;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

[data-fxm-partners] .fxm-partner-filters button[data-tone="gold"] { --tone: #b7791f; --tone-soft: #fff7e6; }
[data-fxm-partners] .fxm-partner-filters button[data-tone="teal"] { --tone: #0f8a7e; --tone-soft: #e8f7f4; }
[data-fxm-partners] .fxm-partner-filters button[data-tone="violet"] { --tone: #5b3fe0; --tone-soft: #f2efff; }
[data-fxm-partners] .fxm-partner-filters button[data-tone="amber"] { --tone: #c2410c; --tone-soft: #fff1e8; }
[data-fxm-partners] .fxm-partner-filters button[data-tone="blue"] { --tone: #2563eb; --tone-soft: #ecf2ff; }

[data-fxm-partners] .fxm-partner-filters button:hover {
	border-color: color-mix(in srgb, var(--tone) 35%, transparent);
	color: var(--tone);
}

[data-fxm-partners] .fxm-partner-filters button[aria-pressed="true"] {
	border-color: var(--tone);
	background: var(--tone-soft);
	color: var(--tone);
}

[data-fxm-partners] .fxm-partner-filters button:focus-visible {
	outline: 2px solid var(--tone);
	outline-offset: 2px;
}

[data-fxm-partners] .fxm-partner-filters span {
	color: inherit;
	font-variant-numeric: tabular-nums;
	opacity: 0.6;
}

[data-fxm-partners] .fxm-partner-track {
	display: flex;
	gap: 14px;
	margin-top: 16px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}

[data-fxm-partners] .fxm-partner-track::-webkit-scrollbar {
	display: none;
}

[data-fxm-partners] .fxm-partner-item {
	--tone: #6b5fb5;
	--tone-soft: #f4f2fb;
	position: relative;
	display: flex;
	flex: 0 0 calc((100% - 42px) / 4);
	min-width: 228px;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid rgba(47, 38, 88, 0.08);
	border-radius: 16px;
	background: #ffffff;
	scroll-snap-align: start;
	transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

[data-fxm-partners] .fxm-partner-item:hover {
	transform: translateY(-2px);
	border-color: color-mix(in srgb, var(--tone) 32%, transparent);
	box-shadow: 0 14px 30px -22px color-mix(in srgb, var(--tone) 70%, transparent);
}

[data-fxm-partners] .fxm-partner-item[data-tone="gold"] { --tone: #b7791f; --tone-soft: #fff7e6; }
[data-fxm-partners] .fxm-partner-item[data-tone="teal"] { --tone: #0f8a7e; --tone-soft: #e8f7f4; }
[data-fxm-partners] .fxm-partner-item[data-tone="violet"] { --tone: #5b3fe0; --tone-soft: #f2efff; }
[data-fxm-partners] .fxm-partner-item[data-tone="amber"] { --tone: #c2410c; --tone-soft: #fff1e8; }
[data-fxm-partners] .fxm-partner-item[data-tone="blue"] { --tone: #2563eb; --tone-soft: #ecf2ff; }

[data-fxm-partners] .fxm-partner-media {
	position: relative;
	display: flex;
	height: 112px;
	align-items: center;
	justify-content: center;
	border-bottom: 1px solid rgba(47, 38, 88, 0.06);
	background:
		repeating-linear-gradient(135deg, transparent 0 9px, color-mix(in srgb, var(--tone) 7%, transparent) 9px 10px),
		var(--tone-soft);
}

[data-fxm-partners] .fxm-partner-media::before {
	content: "";
	position: absolute;
	inset: 0 0 auto;
	height: 3px;
	background: var(--tone);
}

/* Logos arrive in any aspect ratio, so they sit on a white plate and are
   contained rather than cropped. */
[data-fxm-partners] .fxm-partner-media img {
	display: block;
	max-width: 62%;
	max-height: 64px;
	padding: 8px 12px;
	border-radius: 12px;
	background: #ffffff;
	box-shadow: 0 6px 18px -12px rgba(47, 38, 88, 0.45);
	object-fit: contain;
}

[data-fxm-partners] .fxm-partner-mono {
	display: flex;
	width: 58px;
	height: 58px;
	align-items: center;
	justify-content: center;
	border: 1.5px dashed color-mix(in srgb, var(--tone) 45%, transparent);
	border-radius: 9999px;
	background: #ffffff;
	box-shadow: 0 0 0 5px color-mix(in srgb, var(--tone) 8%, transparent);
	color: var(--tone);
	font-size: 17px;
	font-weight: 800;
	letter-spacing: 0.04em;
}

[data-fxm-partners] .fxm-partner-body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 12px 14px 14px;
}

[data-fxm-partners] .fxm-partner-type {
	align-self: flex-start;
	max-width: 100%;
	overflow: hidden;
	padding: 2px 8px;
	border-radius: 6px;
	background: var(--tone-soft);
	color: var(--tone);
	font-size: 11.5px;
	font-weight: 700;
	line-height: 1.6;
	text-overflow: ellipsis;
	white-space: nowrap;
}

[data-fxm-partners] .fxm-partner-body h3 {
	display: -webkit-box;
	margin: 8px 0 0;
	overflow: hidden;
	color: var(--fxm-p-ink);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.45;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

[data-fxm-partners] .fxm-partner-name {
	margin: 4px 0 0;
	overflow: hidden;
	color: var(--fxm-p-muted);
	font-size: 12.5px;
	text-overflow: ellipsis;
	white-space: nowrap;
}

[data-fxm-partners] .fxm-partner-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 6px 10px;
	margin-top: auto;
	padding-top: 10px;
	border-top: 1px dashed rgba(47, 38, 88, 0.1);
	font-size: 12px;
	color: var(--fxm-p-muted);
}

[data-fxm-partners] .fxm-partner-body h3,
[data-fxm-partners] .fxm-partner-name {
	margin-bottom: 12px;
}

[data-fxm-partners] .fxm-partner-body h3:has(+ .fxm-partner-name) {
	margin-bottom: 0;
}

[data-fxm-partners] .fxm-partner-meta span,
[data-fxm-partners] .fxm-partner-meta a {
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

[data-fxm-partners] .fxm-partner-meta a {
	color: var(--tone);
	font-weight: 600;
	text-decoration: none;
}

[data-fxm-partners] .fxm-partner-meta a:hover {
	text-decoration: underline;
}

/* Footer: progress rail + "1–4 / 20" readout, both maintained by initBrokerPartners(). */
[data-fxm-partners] .fxm-partner-foot {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 14px;
}

[data-fxm-partners] .fxm-partner-progress {
	position: relative;
	flex: 1;
	height: 3px;
	overflow: hidden;
	border-radius: 9999px;
	background: rgba(47, 38, 88, 0.08);
}

[data-fxm-partners] .fxm-partner-progress i {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	width: 25%;
	border-radius: inherit;
	background: #4f34d9;
	transition: left 120ms linear;
}

[data-fxm-partners] .fxm-partner-range {
	flex: none;
	min-width: 56px;
	color: var(--fxm-p-muted);
	font-size: 12px;
	font-variant-numeric: tabular-nums;
	text-align: right;
}

[data-fxm-partners] .fxm-partner-track:focus-visible {
	outline: 2px solid #4f34d9;
	outline-offset: 4px;
	border-radius: 12px;
}

/* The hidden attribute loses to the display rules above without these. */
[data-fxm-partners] .fxm-partner-nav[hidden],
[data-fxm-partners] .fxm-partner-foot[hidden],
[data-fxm-partners] .fxm-partner-item[hidden] {
	display: none;
}

@media (max-width: 767.98px) {
	[data-fxm-partners] .fxm-partner-item {
		flex-basis: 78%;
		min-width: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	[data-fxm-partners] .fxm-partner-item,
	[data-fxm-partners] .fxm-partner-item:hover {
		transform: none;
		transition: none;
	}
}

[data-fxm-echarts-root] {
	position: relative;
	overflow: hidden;
}

[data-fxm-echarts-root] > div,
[data-fxm-echarts-root] svg {
	display: block;
	width: 100% !important;
	height: 100% !important;
}

[data-fxm-echarts-root] canvas,
[data-fxm-echarts-root] svg {
	shape-rendering: geometricPrecision;
}

/* Trading sub-view switcher: spread / execution / instruments / cost share one
   card. Visibility rides the hidden attribute so the panels never stack when
   JavaScript is unavailable or before hydration. */
[data-fxm-broker-section="trading"] .fxm-trading-tab {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	border-radius: 12px;
	border: 1px solid transparent;
	padding: 8px 16px;
	font-size: 13px;
	font-weight: 500;
	color: rgba(63, 71, 90, 0.75);
	background: transparent;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

[data-fxm-broker-section="trading"] .fxm-trading-tab:hover {
	background: rgba(79, 52, 217, 0.04);
	color: #3f475a;
}

[data-fxm-broker-section="trading"] .fxm-trading-tab.is-active {
	background: #4f34d9;
	color: #ffffff;
	box-shadow: 0 10px 24px -10px rgba(79, 52, 217, 0.55);
}

[data-fxm-broker-section="trading"] .fxm-trading-panel[hidden] {
	display: none;
}

/* Module pagers (media / faqs / reviews / exposure): prev/next above each list. */
.fxm-module-pager {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 8px;
	margin: 0 0 12px;
}
.fxm-module-pager button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 999px;
	border: 1px solid rgba(28, 16, 80, 0.12);
	background: #fff;
	color: rgba(47, 38, 88, 0.6);
	cursor: pointer;
	transition: border-color 0.16s ease, color 0.16s ease;
}
.fxm-module-pager button:hover:not(:disabled) {
	border-color: rgba(79, 52, 217, 0.4);
	color: #4f34d9;
}
.fxm-module-pager button:disabled {
	cursor: not-allowed;
	opacity: 0.35;
}
.fxm-module-pager [data-fxm-module-info] {
	min-width: 64px;
	text-align: center;
	font-size: 12px;
	font-variant-numeric: tabular-nums;
	color: rgba(47, 38, 88, 0.6);
}

/* Module pager rendered inside a module header (media news-nav): match the
   header arrow buttons instead of the standalone list pager. */
.fxm-module-pager--head {
	margin: 0;
}
.fxm-module-pager--head button {
	border-color: rgba(79, 52, 217, 0.12);
	background: #f6f4ff;
	color: #4f34d9;
}
.fxm-module-pager--head button:hover:not(:disabled) {
	border-color: rgba(79, 52, 217, 0.4);
	color: #3a26b8;
}
.fxm-module-pager--head button:disabled {
	opacity: 0.35;
}

/* Full server lists open in a native dialog, scoped to their platform panel. */
.fxm-server-dialog {
	position: fixed;
	inset: 0;
	width: min(900px, calc(100% - 40px));
	max-width: none;
	max-height: min(82vh, 760px);
	margin: auto;
	padding: 0;
	border: 1px solid rgba(79, 52, 217, 0.1);
	border-radius: 20px;
	background: #fff;
	color: #2f2658;
	box-shadow: 0 32px 90px -30px rgba(25, 18, 66, 0.5);
	overflow: hidden;
}

.fxm-server-dialog[open] {
	display: flex;
	flex-direction: column;
}

.fxm-server-dialog::backdrop {
	background: rgba(15, 10, 40, 0.42);
	backdrop-filter: blur(2px);
}

.fxm-server-dialog-head {
	display: flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 18px 22px;
	border-bottom: 1px solid rgba(28, 16, 80, 0.08);
}

.fxm-server-dialog-head h3 {
	margin: 0;
	font-size: 17px;
	font-weight: 700;
}

.fxm-server-dialog-head button {
	display: inline-flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border: 1px solid rgba(28, 16, 80, 0.12);
	border-radius: 50%;
	background: #f6f5fb;
	color: #4f34d9;
	cursor: pointer;
}

.fxm-server-dialog-head button:hover {
	background: #eeebfb;
}

.fxm-server-dialog-body {
	min-height: 0;
	padding: 20px 22px 22px;
	overflow-y: auto;
	overscroll-behavior: contain;
}

@media (min-width: 640px) {
	[data-fxm-platforms] .fxm-server-dialog .fxm-plat-servers {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 639px) {
	.fxm-server-dialog {
		width: calc(100% - 24px);
		max-height: 85dvh;
		border-radius: 16px;
	}
	.fxm-server-dialog-head,
	.fxm-server-dialog-body {
		padding: 16px;
	}
}

/* Hero brand chip with a real platform logo: light background so the
   original logo colors read correctly. */
[data-fxm-platforms] .fxm-plat-brand > span.is-logo {
	background: #f6f5fb;
}
[data-fxm-platforms] .fxm-plat-brand > span.is-logo img {
	width: 28px;
	height: 28px;
	object-fit: contain;
}

/* Reviews empty placeholder: invites the first review. */
.fxm-reviews-empty {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	padding: 34px 16px;
	border-radius: 14px;
	background: #f9f8fd;
	color: #4f34d9;
	text-align: center;
}
.fxm-reviews-empty p {
	margin: 0;
	font-size: 14px;
	font-weight: 700;
	color: #2f2658;
}
.fxm-reviews-empty span {
	max-width: 420px;
	font-size: 12px;
	line-height: 1.7;
	color: rgba(47, 38, 88, 0.5);
}

/* License dialog (portal): full license table in a centered modal. */
.fxm-license-modal {
	position: fixed;
	inset: 0;
	z-index: 90;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
}
.fxm-license-modal[hidden] {
	display: none;
}
.fxm-license-modal-mask {
	position: absolute;
	inset: 0;
	background: rgba(15, 10, 40, 0.42);
	backdrop-filter: blur(2px);
}
.fxm-license-modal-card {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	width: min(94%, 860px);
	max-height: 86vh;
	border-radius: 20px;
	background: #fff;
	box-shadow: 0 32px 90px -30px rgba(25, 18, 66, 0.5);
	overflow: hidden;
}
.fxm-license-modal-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
	padding: 18px 22px 14px;
	border-bottom: 1px solid rgba(28, 16, 80, 0.08);
}
.fxm-license-modal-head h3 {
	margin: 0;
	font-size: 17px;
	font-weight: 700;
	color: #2f2658;
}
.fxm-license-modal-head p {
	margin: 4px 0 0;
	font-size: 12.5px;
	color: rgba(47, 38, 88, 0.5);
}
.fxm-license-modal-head button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border: 1px solid rgba(28, 16, 80, 0.12);
	border-radius: 999px;
	background: #f6f5fb;
	color: rgba(47, 38, 88, 0.6);
	cursor: pointer;
	transition: color 0.16s ease, border-color 0.16s ease;
}
.fxm-license-modal-head button:hover {
	color: #4f34d9;
	border-color: rgba(79, 52, 217, 0.4);
}
.fxm-license-modal-body {
	overflow: auto;
	padding: 6px 22px 20px;
}
/* FAQ: an empty category chip never occupies the leading slot. */
.fxm-faq-item summary span:empty {
	display: none;
}

/* License dialog: white canvas; the hero-style cards keep their own tints,
   so the card-internal light panels never blend into the background. */
.fxm-license-modal .fxm-license-modal-body {
	background: #fff;
}
.fxm-license-modal .fxm-license-modal-body .fxm-hero-license {
	border: 1px solid rgba(28, 16, 80, 0.08);
	box-shadow: 0 10px 26px -18px rgba(25, 18, 66, 0.35);
}

/* Website timeline dialog: a quiet archive rail, one full-page capture,
   and a filmstrip for the selected day. All sizing stays inside the modal. */
.fxm-snapshot-modal {
	padding: 24px;
}
.fxm-snapshot-modal .fxm-license-modal-mask {
	background: rgba(24, 25, 43, 0.38);
	backdrop-filter: blur(4px);
}
.fxm-snapshot-modal .fxm-snapshot-modal-card {
	width: min(100%, 1240px);
	height: min(90vh, 850px);
	height: min(90dvh, 850px);
	max-height: calc(100vh - 48px);
	max-height: calc(100dvh - 48px);
	min-height: 0;
	border: 1px solid rgba(255, 255, 255, 0.8);
	border-radius: 22px;
	background: #ffffff;
	box-shadow: 0 24px 80px -28px rgba(31, 27, 59, 0.38);
}
.fxm-snapshot-modal-card,
.fxm-snapshot-modal-card * {
	box-sizing: border-box;
}
/* Component display rules must never reveal an inactive panel or shot. */
.fxm-snapshot-modal [hidden] {
	display: none !important;
}
.fxm-snapshot-modal .fxm-snapshot-modal-head {
	flex: 0 0 60px;
	height: 60px;
	min-height: 60px;
	max-height: 60px;
	align-items: center;
	padding: 0 28px;
	border-bottom: 1px solid #ececf2;
}
.fxm-snapshot-heading {
	display: flex;
	flex: 1 1 auto;
	align-items: center;
	gap: 12px;
	min-width: 0;
}
.fxm-snapshot-heading > div {
	min-width: 0;
}
.fxm-snapshot-heading-logo.fxm-broker-logo-frame {
	display: inline-flex;
	flex: 0 0 44px;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	overflow: hidden;
	border: 0;
	border-radius: 0;
	background: transparent;
}
.fxm-snapshot-modal .fxm-snapshot-heading-logo > img[data-fxm-broker-logo] {
	padding: 0 !important;
}
.fxm-snapshot-heading-logo .fxm-broker-logo-viewport {
	inset: 0;
	border-radius: 0;
	background: transparent;
}
.fxm-snapshot-modal-head .fxm-snapshot-heading h3,
.fxm-snapshot-modal-head .fxm-snapshot-heading p {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.fxm-snapshot-modal-head .fxm-snapshot-heading h3 {
	font-size: 18px;
	line-height: 1.35;
	letter-spacing: -0.02em;
	color: #202231;
}
.fxm-snapshot-modal-head .fxm-snapshot-heading p {
	margin-top: 2px;
	font-size: 12px;
	line-height: 1.5;
	color: #858296;
	overflow-wrap: anywhere;
}
.fxm-snapshot-modal-head > button {
	flex: 0 0 auto;
	width: 36px;
	height: 36px;
	border: 0;
	border-radius: 9px;
	background: transparent;
	color: #8a879b;
}
.fxm-snapshot-modal-head > button:hover {
	background: #f5f3fa;
	color: #6540be;
}
.fxm-snapshot-modal-body {
	display: grid;
	grid-template-columns: 232px minmax(0, 1fr);
	flex: 1 1 auto;
	min-width: 0;
	min-height: 0;
	overflow: hidden;
	background: #ffffff;
}
.fxm-snapshot-rail {
	display: flex;
	flex-direction: column;
	gap: 0;
	min-width: 0;
	min-height: 0;
	padding: 22px 12px 18px 20px;
	border-right: 1px solid #e7e7ef;
	background: #ffffff;
}
.fxm-snapshot-rail-title {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	gap: 9px;
	margin: 0 8px 18px;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.5;
	color: #282a39;
}
.fxm-snapshot-rail-title svg {
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	color: #676478;
}
.fxm-snapshot-archives {
	flex: 1 1 auto;
	min-width: 0;
	min-height: 0;
	padding-right: 3px;
	overflow: auto;
	overscroll-behavior: contain;
	scrollbar-width: thin;
	scrollbar-color: #d9d5e3 transparent;
}
.fxm-snapshot-year + .fxm-snapshot-year {
	margin-top: 18px;
}
.fxm-snapshot-year-label {
	margin: 0 10px 8px;
	font-size: 12px;
	font-weight: 500;
	line-height: 1.5;
	color: #918a9f;
}
.fxm-snapshot-month-label {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 9px 9px 9px 10px;
	list-style: none;
	font-size: 14px;
	font-weight: 650;
	line-height: 1.5;
	color: #303141;
	cursor: pointer;
	border-radius: 7px;
}
.fxm-snapshot-month-label::-webkit-details-marker {
	display: none;
}
.fxm-snapshot-month-label::before {
	flex: 0 0 auto;
	width: 6px;
	height: 6px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	content: "";
	transform: rotate(-45deg);
	transition: transform 150ms ease;
}
.fxm-snapshot-month[open] > .fxm-snapshot-month-label::before {
	transform: rotate(45deg) translateY(-2px);
}
.fxm-snapshot-month-label:hover {
	background: #faf9fd;
}
.fxm-snapshot-month-count {
	margin-left: auto;
	font-size: 11px;
	font-weight: 400;
	color: #928b9f;
	white-space: nowrap;
}
.fxm-snapshot-timeline {
	margin: 0;
	padding: 5px 0 8px;
	list-style: none;
}
.fxm-snapshot-month:not([open]) > .fxm-snapshot-timeline {
	display: none;
}
.fxm-snapshot-timeline li {
	position: relative;
	margin: 0;
	padding: 0;
}
.fxm-snapshot-timeline li:not(:last-child)::after {
	position: absolute;
	z-index: 0;
	left: 15.5px;
	top: 22px;
	bottom: -22px;
	width: 1px;
	background: #dcdbe2;
	content: "";
	pointer-events: none;
}
.fxm-snapshot-node {
	position: relative;
	display: flex;
	align-items: flex-start;
	gap: 12px;
	width: 100%;
	min-width: 0;
	padding: 12px 10px;
	border: 0;
	border-left: 2px solid transparent;
	border-radius: 9px;
	background: transparent;
	font: inherit;
	color: #323243;
	text-align: left;
	cursor: pointer;
	transition: background-color 150ms ease, border-color 150ms ease;
}
.fxm-snapshot-node:hover {
	background: #faf8fe;
}
.fxm-snapshot-node.is-active {
	border-left-color: #8050e2;
	background: #f4efff;
}
.fxm-snapshot-node-dot {
	position: relative;
	z-index: 1;
	flex: 0 0 8px;
	width: 8px;
	height: 8px;
	margin-top: 6px;
	border: 1px solid #ffffff;
	border-radius: 50%;
	background: #b7b6be;
}
.fxm-snapshot-node.is-active .fxm-snapshot-node-dot {
	border-color: #f4efff;
	background: #8050e2;
	box-shadow: 0 0 0 3px #e8dcff;
}
.fxm-snapshot-node-text {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	gap: 3px;
	min-width: 0;
}
.fxm-snapshot-node-heading {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 7px;
	min-width: 0;
}
.fxm-snapshot-node-date {
	font-size: 14px;
	font-weight: 650;
	line-height: 1.5;
	font-variant-numeric: tabular-nums;
}
.fxm-snapshot-node.is-active .fxm-snapshot-node-date {
	color: #7644d9;
}
.fxm-snapshot-node-meta {
	font-size: 11.5px;
	line-height: 1.5;
	color: #91899f;
}
.fxm-snapshot-node-badge {
	flex: 0 0 auto;
	padding: 1px 6px;
	border-radius: 4px;
	background: #e9defe;
	color: #7a48da;
	font-size: 10px;
	font-weight: 600;
	line-height: 1.6;
}
.fxm-snapshot-node-chevron {
	flex: 0 0 auto;
	align-self: center;
	width: 14px;
	height: 14px;
	margin-left: auto;
	color: #a19aaa;
}
.fxm-snapshot-total {
	flex: 0 0 auto;
	margin: 14px 8px 0;
	padding-top: 13px;
	border-top: 1px solid #e7e4ed;
	font-size: 11.5px;
	line-height: 1.6;
	color: #91899d;
}
.fxm-snapshot-stage {
	display: flex;
	min-width: 0;
	min-height: 0;
	padding: 20px 26px;
	overflow: hidden;
	background: #fcfcfe;
}
.fxm-snapshot-panel {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	min-width: 0;
	min-height: 0;
}
.fxm-snapshot-toolbar {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-width: 0;
	margin-bottom: 16px;
}
.fxm-snapshot-toolbar-info {
	display: flex;
	flex: 1 1 auto;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px 16px;
	min-width: 0;
}
.fxm-snapshot-toolbar-info h4 {
	margin: 0;
	font-size: 19px;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: -0.015em;
	color: #262837;
}
.fxm-snapshot-toolbar-info p {
	margin: 0;
	padding-left: 16px;
	border-left: 1px solid #dedbe7;
	font-size: 12px;
	line-height: 1.5;
	color: #928b9f;
}
.fxm-snapshot-original {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	gap: 7px;
	max-width: 100%;
	min-height: 35px;
	padding: 7px 11px;
	border: 1px solid #dcd9e5;
	border-radius: 8px;
	background: #ffffff;
	font-size: 12px;
	font-weight: 500;
	line-height: 1.5;
	color: #545163;
	text-decoration: none;
	white-space: nowrap;
	transition: border-color 150ms ease, color 150ms ease;
}
.fxm-snapshot-original svg {
	flex: 0 0 auto;
	width: 14px;
	height: 14px;
}
.fxm-snapshot-original:hover {
	border-color: #b5a1dc;
	color: #7647ce;
}
.fxm-snapshot-frame-view {
	flex: 1 1 auto;
	min-width: 0;
	min-height: 0;
	overflow: auto;
	overscroll-behavior: contain;
	scrollbar-gutter: stable;
	scrollbar-width: thin;
	scrollbar-color: #c9c6d0 #fbfbfd;
	border: 1px solid #e6e4ed;
	border-radius: 12px;
	background: #ffffff;
	box-shadow: 0 2px 8px rgba(37, 27, 64, 0.035);
}
.fxm-snapshot-shot {
	min-width: 0;
	min-height: 100%;
	margin: 0;
	background: #ffffff;
}
.fxm-snapshot-shot > img {
	display: block;
	width: 100%;
	max-width: none;
	height: auto;
	object-position: top;
}
.fxm-snapshot-error {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 220px;
	padding: 36px 24px;
	font-size: 13px;
	line-height: 1.7;
	color: #92899f;
	text-align: center;
}
.fxm-snapshot-filmstrip {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	gap: 22px;
	min-width: 0;
	margin-top: 16px;
	padding-top: 13px;
	border-top: 1px solid #e4e1ec;
}
.fxm-snapshot-filmstrip-label {
	display: flex;
	flex: 0 0 92px;
	flex-direction: column;
	gap: 6px;
	padding-right: 18px;
	border-right: 1px solid #dfdbe8;
}
.fxm-snapshot-filmstrip-label strong {
	font-size: 12px;
	font-weight: 600;
	line-height: 1.5;
	color: #43404f;
}
.fxm-snapshot-filmstrip-label > span {
	font-size: 11.5px;
	line-height: 1.5;
	font-variant-numeric: tabular-nums;
	color: #9b91aa;
}
.fxm-snapshot-thumbs {
	display: flex;
	flex: 1 1 auto;
	align-items: flex-start;
	gap: 14px;
	min-width: 0;
	padding: 3px 2px 4px;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scrollbar-width: thin;
	scrollbar-color: #ddd6eb transparent;
}
.fxm-snapshot-thumb {
	display: flex;
	flex: 0 0 138px;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
	padding: 0;
	border: 0;
	border-radius: 8px;
	background: transparent;
	font: inherit;
	cursor: pointer;
}
.fxm-snapshot-thumb-image {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 8.5;
	overflow: hidden;
	border: 1px solid #ddd9e5;
	border-radius: 7px;
	background: #ffffff;
	transition: border-color 150ms ease, box-shadow 150ms ease;
}
.fxm-snapshot-thumb-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
}
.fxm-snapshot-thumb:hover .fxm-snapshot-thumb-image {
	border-color: #b5a0da;
}
.fxm-snapshot-thumb.is-active .fxm-snapshot-thumb-image {
	border: 2px solid #8551e6;
	box-shadow: 0 0 0 2px #f1eaff;
}
.fxm-snapshot-thumb-label {
	align-self: center;
	max-width: 100%;
	padding: 1px 6px;
	overflow: hidden;
	border-radius: 4px;
	font-size: 11px;
	line-height: 1.6;
	color: #8f849e;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.fxm-snapshot-thumb.is-active .fxm-snapshot-thumb-label {
	background: #f1eaff;
	color: #7a49d8;
}
.fxm-snapshot-node:focus-visible,
.fxm-snapshot-month-label:focus-visible,
.fxm-snapshot-original:focus-visible,
.fxm-snapshot-frame-view:focus-visible,
.fxm-snapshot-thumb:focus-visible,
.fxm-snapshot-modal-head > button:focus-visible {
	outline: 2px solid #966de2;
	outline-offset: 3px;
}
@media (max-width: 980px) {
	.fxm-snapshot-modal-body {
		grid-template-columns: 205px minmax(0, 1fr);
	}
	.fxm-snapshot-rail {
		padding-left: 12px;
	}
	.fxm-snapshot-stage {
		padding: 18px;
	}
	.fxm-snapshot-toolbar-info {
		flex-direction: column;
		align-items: flex-start;
		gap: 3px;
	}
	.fxm-snapshot-toolbar-info p {
		padding-left: 0;
		border-left: 0;
	}
	.fxm-snapshot-filmstrip {
		gap: 16px;
	}
	.fxm-snapshot-thumb {
		flex-basis: 120px;
	}
}
@media (max-width: 720px) {
	.fxm-snapshot-modal {
		padding: 12px;
	}
	.fxm-snapshot-modal .fxm-snapshot-modal-card {
		width: 100%;
		height: calc(100vh - 24px);
		height: calc(100dvh - 24px);
		max-height: calc(100vh - 24px);
		max-height: calc(100dvh - 24px);
		border-radius: 16px;
	}
	.fxm-snapshot-modal .fxm-snapshot-modal-head {
		gap: 10px;
		padding: 0 16px;
	}
	.fxm-snapshot-heading {
		gap: 11px;
	}
	.fxm-snapshot-modal-head .fxm-snapshot-heading h3 {
		font-size: 17px;
	}
	.fxm-snapshot-modal-head .fxm-snapshot-heading p {
		font-size: 11px;
	}
	.fxm-snapshot-modal-head > button {
		width: 30px;
		height: 30px;
	}
	.fxm-snapshot-modal-body {
		grid-template-columns: minmax(0, 1fr);
		grid-template-rows: auto minmax(0, 1fr);
	}
	.fxm-snapshot-rail {
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto;
		grid-template-rows: auto minmax(0, 1fr);
		gap: 4px 12px;
		max-height: 174px;
		padding: 10px 14px;
		border-right: 0;
		border-bottom: 1px solid #e7e7ef;
	}
	.fxm-snapshot-rail-title {
		grid-column: 1;
		grid-row: 1;
		gap: 6px;
		margin: 0;
		font-size: 11px;
	}
	.fxm-snapshot-rail-title svg {
		width: 14px;
		height: 14px;
	}
	.fxm-snapshot-total {
		grid-column: 2;
		grid-row: 1;
		align-self: center;
		margin: 0;
		padding: 0;
		border: 0;
		font-size: 10px;
		text-align: right;
	}
	.fxm-snapshot-archives {
		display: flex;
		grid-column: 1 / -1;
		grid-row: 2;
		align-items: flex-start;
		gap: 18px;
		max-height: 130px;
		padding-right: 0;
	}
	.fxm-snapshot-year {
		flex: 0 0 auto;
		min-width: 0;
	}
	.fxm-snapshot-year + .fxm-snapshot-year {
		margin-top: 0;
	}
	.fxm-snapshot-year-label {
		margin: 0 2px 2px;
		font-size: 10px;
	}
	.fxm-snapshot-month-label {
		gap: 7px;
		padding: 3px 2px;
		font-size: 11px;
	}
	.fxm-snapshot-month-count {
		margin-left: 8px;
		font-size: 10px;
	}
	.fxm-snapshot-timeline {
		display: flex;
		gap: 6px;
		padding: 4px 0;
	}
	.fxm-snapshot-timeline li {
		flex: 0 0 auto;
	}
	.fxm-snapshot-timeline li:not(:last-child)::after,
	.fxm-snapshot-node-dot,
	.fxm-snapshot-node-chevron {
		display: none;
	}
	.fxm-snapshot-node {
		width: auto;
		min-width: 94px;
		max-width: 160px;
		padding: 7px 10px;
		border-left: 0;
		border-bottom: 2px solid transparent;
		border-radius: 7px;
	}
	.fxm-snapshot-node.is-active {
		border-bottom-color: #8050e2;
	}
	.fxm-snapshot-node-date {
		font-size: 12px;
	}
	.fxm-snapshot-node-meta {
		font-size: 10px;
	}
	.fxm-snapshot-node-heading {
		gap: 5px;
	}
	.fxm-snapshot-node-badge {
		padding: 0 4px;
		font-size: 9px;
	}
	.fxm-snapshot-stage {
		padding: 14px;
	}
	.fxm-snapshot-toolbar {
		gap: 9px;
		margin-bottom: 12px;
	}
	.fxm-snapshot-toolbar-info h4 {
		font-size: 15px;
	}
	.fxm-snapshot-toolbar-info p {
		font-size: 10px;
	}
	.fxm-snapshot-original {
		gap: 5px;
		min-height: 32px;
		padding: 6px 8px;
		font-size: 10px;
	}
	.fxm-snapshot-original svg {
		width: 12px;
		height: 12px;
	}
	.fxm-snapshot-frame-view {
		border-radius: 9px;
	}
	.fxm-snapshot-filmstrip {
		gap: 12px;
		margin-top: 12px;
		padding-top: 10px;
	}
	.fxm-snapshot-filmstrip-label {
		flex-basis: 68px;
		gap: 4px;
		padding-right: 10px;
	}
	.fxm-snapshot-filmstrip-label strong {
		font-size: 10px;
	}
	.fxm-snapshot-filmstrip-label > span {
		font-size: 10px;
	}
	.fxm-snapshot-thumbs {
		gap: 10px;
	}
	.fxm-snapshot-thumb {
		flex-basis: 102px;
		gap: 4px;
	}
	.fxm-snapshot-thumb-label {
		font-size: 10px;
	}
}
/* Small windows keep every control reachable by scrolling the viewer pane. */
@media (max-height: 560px) {
	.fxm-snapshot-modal {
		padding-top: 10px;
		padding-bottom: 10px;
	}
	.fxm-snapshot-modal .fxm-snapshot-modal-card {
		height: calc(100vh - 20px);
		height: calc(100dvh - 20px);
		max-height: calc(100vh - 20px);
		max-height: calc(100dvh - 20px);
	}
	.fxm-snapshot-rail {
		padding-top: 10px;
		padding-bottom: 10px;
	}
	.fxm-snapshot-stage {
		overflow-y: auto;
		overscroll-behavior: contain;
	}
	.fxm-snapshot-panel {
		min-height: 300px;
	}
	.fxm-snapshot-toolbar {
		margin-bottom: 10px;
	}
	.fxm-snapshot-filmstrip {
		margin-top: 10px;
		padding-top: 8px;
	}
}
/* Compact phones keep the year, month, and dates together in one horizontal
   archive row, leaving the capture most of the available vertical space. */
@media (max-width: 720px) and (max-height: 640px) {
	.fxm-snapshot-rail {
		display: block;
		max-height: none;
		padding: 7px 12px;
	}
	.fxm-snapshot-rail-title,
	.fxm-snapshot-total {
		display: none;
	}
	.fxm-snapshot-archives {
		max-height: none;
		overflow-x: auto;
		overflow-y: hidden;
	}
	.fxm-snapshot-year {
		display: grid;
		grid-template-rows: auto auto;
		grid-auto-flow: column;
		grid-auto-columns: max-content;
		gap: 0 14px;
	}
	.fxm-snapshot-year-label {
		grid-column: 1;
		grid-row: 1;
		margin-bottom: 0;
		font-size: 9px;
		line-height: 1.4;
	}
	.fxm-snapshot-month {
		grid-row: 2;
	}
	.fxm-snapshot-month-label {
		padding-top: 2px;
		padding-bottom: 2px;
		font-size: 10px;
		line-height: 1.4;
	}
	.fxm-snapshot-timeline {
		padding-top: 2px;
		padding-bottom: 2px;
	}
	.fxm-snapshot-node {
		min-width: 86px;
		padding: 5px 8px;
	}
	.fxm-snapshot-node-text {
		gap: 1px;
	}
	.fxm-snapshot-node-date {
		font-size: 11px;
		line-height: 1.4;
	}
	.fxm-snapshot-node-meta {
		font-size: 9px;
		line-height: 1.4;
	}
	.fxm-snapshot-stage {
		padding: 10px 12px;
	}
	.fxm-snapshot-toolbar {
		margin-bottom: 8px;
	}
	.fxm-snapshot-toolbar-info {
		gap: 2px;
	}
	.fxm-snapshot-toolbar-info h4 {
		font-size: 14px;
		line-height: 1.35;
	}
	.fxm-snapshot-toolbar-info p {
		font-size: 9px;
		line-height: 1.4;
	}
	.fxm-snapshot-filmstrip {
		gap: 10px;
		margin-top: 8px;
		padding-top: 7px;
	}
	.fxm-snapshot-filmstrip-label {
		flex-basis: 58px;
		padding-right: 8px;
	}
	.fxm-snapshot-thumbs {
		gap: 9px;
		padding-top: 2px;
		padding-bottom: 2px;
	}
	.fxm-snapshot-thumb {
		flex-basis: 86px;
		gap: 3px;
	}
	.fxm-snapshot-thumb-image {
		aspect-ratio: 16 / 8;
	}
	.fxm-snapshot-thumb-label {
		font-size: 9px;
		line-height: 1.4;
	}
}
@media (max-width: 720px) and (min-height: 500px) and (max-height: 640px) {
	.fxm-snapshot-stage {
		overflow: hidden;
	}
	.fxm-snapshot-panel {
		min-height: 0;
	}
}
@media (prefers-reduced-motion: reduce) {
	.fxm-snapshot-node,
	.fxm-snapshot-month-label::before,
	.fxm-snapshot-original,
	.fxm-snapshot-thumb-image {
		transition: none;
	}
}

/* Regulator name + tier chip stay on one line; a long name truncates with an
   ellipsis (the full name is already on the title attribute). */
[data-fxm-broker-hero] .fxm-hero-license-head > div:first-child {
	flex-wrap: nowrap;
}
[data-fxm-broker-hero] .fxm-hero-license-head > div:first-child > p {
	min-width: 0;
	flex: 0 1 auto;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
[data-fxm-broker-hero] .fxm-hero-license-head .fxm-hero-tier-chip {
	flex: 0 0 auto;
}

/* Regulator monogram badge: shown when the portal ships no logo for the
   regulator — a generated abbreviation, never a bundled local logo. */
[data-fxm-broker-hero] .fxm-hero-reg-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 34px;
	min-width: 52px;
	padding: 0 10px;
	border-radius: 10px;
	background: linear-gradient(135deg, #4f34d9 0%, #6b55f8 100%);
	color: #ffffff;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.04em;
	line-height: 1;
}

/* Disclosure banner: keep the alert visible while giving it the same layered
   card treatment as the refreshed broker and regulator panels. */
.fxm-disclosure-banner {
	position: relative;
	display: flex;
	align-items: flex-start;
	gap: 14px;
	min-height: 86px;
	padding: 16px 18px;
	overflow: hidden;
	border: 1px solid rgba(245, 158, 11, 0.2);
	border-radius: 22px;
	background: linear-gradient(135deg, #fffdf6 0%, #fff8e8 58%, #fff3d8 100%);
	box-shadow: 0 14px 30px -18px rgba(180, 112, 16, 0.28), 0 3px 10px -8px rgba(47, 38, 88, 0.1);
}

.fxm-disclosure-banner::before {
	position: absolute;
	inset: 0 auto 0 0;
	width: 4px;
	background: linear-gradient(180deg, #f59e0b, #f97316);
	content: "";
}

.fxm-disclosure-icon {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	margin-top: 1px;
	border: 1px solid rgba(245, 158, 11, 0.22);
	border-radius: 12px;
	background: rgba(245, 158, 11, 0.13);
	color: #b45309;
}

.fxm-disclosure-copy {
	min-width: 0;
	flex: 1 1 auto;
}

.fxm-disclosure-meta {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}

.fxm-disclosure-label,
.fxm-disclosure-count {
	display: inline-flex;
	align-items: center;
	border-radius: 9999px;
	font-size: 10.5px;
	font-weight: 750;
	line-height: 1.2;
}

.fxm-disclosure-label {
	padding: 4px 8px;
	background: rgba(245, 158, 11, 0.14);
	color: #a16207;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.fxm-disclosure-count {
	padding: 3px 7px;
	border: 1px solid rgba(180, 83, 9, 0.16);
	color: rgba(146, 64, 14, 0.68);
}

.fxm-disclosure-banner h4 {
	margin: 7px 0 0;
	font-size: 14px;
	font-weight: 750;
	line-height: 1.35;
	color: #7c2d12;
}

.fxm-disclosure-banner p {
	margin: 4px 0 0;
	font-size: 13px;
	line-height: 1.65;
	color: rgba(63, 47, 27, 0.76);
}

.fxm-disclosure-rule {
	display: block;
	flex: 0 0 auto;
	width: 1px;
	height: 52px;
	margin: 1px 4px 0 8px;
	background: rgba(180, 83, 9, 0.16);
}

@media (max-width: 639px) {
	.fxm-disclosure-banner {
		gap: 10px;
		padding: 14px 14px 15px;
		border-radius: 18px;
	}

	.fxm-disclosure-rule {
		display: none;
	}
}

/* ---------- H5 (< 768px) ---------- */
@media (max-width: 767.98px) {
	[data-fxm-broker-detail-page] .pt-\[72px\] { padding-top: var(--fxm-m-header, 60px); }
	[data-fxm-broker-detail-page] [data-fxm-broker-tabs] { top: var(--fxm-detail-sticky-top, var(--fxm-m-header, 60px)); z-index: 40; }
	[data-fxm-broker-tabs] nav { gap: 2px; padding-block: 8px; }
	[data-fxm-broker-tabs] nav > a { padding: 6px 12px; font-size: 13px; }
	[data-fxm-broker-tabs] nav > a svg { width: 14px; height: 14px; }
	[data-fxm-broker-detail-page] .scroll-mt-\[140px\] { scroll-margin-top: var(--fxm-detail-scroll-margin, 116px); }

	/* hero: one frame, not a card inside a card */
	[data-fxm-broker-hero] { border-radius: 22px; }
	[data-fxm-broker-hero] > .relative { padding: 10px; }
	[data-fxm-broker-hero] .fxm-hero-score-card { padding: 16px 14px 14px; border-radius: 18px; }
	/* Same single row as desktop; 44px touch targets, tighter side padding. */
	[data-fxm-broker-hero] .fxm-hero-actions > .fxm-hero-action {
		height: 44px;
		padding-inline: 8px;
		border-radius: 12px;
	}
	/* Sub-360px phones: drop the icons so all three labels still fit one row. */
	@media (max-width: 359.98px) {
		[data-fxm-broker-hero] .fxm-hero-actions > .fxm-hero-action > svg { display: none; }
	}
	[data-fxm-broker-hero] .fxm-hero-info-col { padding: 4px 4px 2px; }

	/* section cards: tighter gutters, keep the rounded card language */
	[data-fxm-broker-detail-page] .space-y-10 > :not(:last-child) { margin-bottom: 1.5rem; }
	[data-fxm-broker-detail-page] .py-6.pb-16 { padding-top: 1rem; padding-bottom: 2rem; }
}


/* ---------- Exposure module (broker-detail-page.php #exposure-section) ----------
   Same card language as the news / reviews / FAQ cards it sits between: white
   rounded-2xl card with the shared soft shadow, light-purple tile icon, count
   subtitle, purple pill CTA, lavender (#f6f5fb) inner tiles. Colour is kept for
   state only (risk, broker response, resolution) and every state also has text. */
.fxm-bd-exposure {
	box-shadow: 0 10px 28px -14px rgba(79, 52, 217, 0.16), 0 4px 12px -8px rgba(47, 38, 88, 0.08);
}

.fxm-bd-exposure__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
}

.fxm-bd-exposure__icon {
	display: flex;
	flex: none;
	width: 32px;
	height: 32px;
	align-items: center;
	justify-content: center;
	border-radius: 10px;
	background: #f3f0ff;
	color: #4f34d9;
}

.fxm-bd-exposure__head p {
	margin: 2px 0 0;
	font-size: 12.5px;
	color: rgba(47, 38, 88, 0.5);
}

/* Identical to the reviews "write" pill next to it. */
.fxm-bd-exposure__cta {
	flex: none;
	border: 0;
	border-radius: 9999px;
	padding: 9px 18px;
	background: linear-gradient(135deg, #6a52ea, #4f34d9);
	color: #ffffff;
	font-size: 13px;
	font-weight: 700;
	white-space: nowrap;
	cursor: pointer;
	box-shadow: 0 8px 18px -10px rgba(79, 52, 217, 0.55);
	transition: transform 0.18s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.18s;
}

.fxm-bd-exposure__cta:hover {
	transform: translateY(-1px);
	box-shadow: 0 12px 22px -10px rgba(79, 52, 217, 0.65);
}

.fxm-bd-exposure__cta:focus-visible {
	outline: 2px solid #4f34d9;
	outline-offset: 2px;
}

/* Summary: the resolution rate is the headline figure (as the score is in the
   reviews card), the four counts sit beside it as lavender tiles. */
.fxm-bd-exposure__summary {
	display: grid;
	gap: 16px;
	margin-top: 18px;
	padding-bottom: 18px;
	border-bottom: 1px solid rgba(79, 52, 217, 0.08);
}

.fxm-bd-exposure__rate {
	text-align: center;
}

.fxm-bd-exposure__rate strong {
	display: block;
	font-size: 48px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: -0.05em;
	color: #2f2658;
	font-variant-numeric: tabular-nums;
}

.fxm-bd-exposure__rate strong small {
	margin-left: 2px;
	font-size: 22px;
	letter-spacing: 0;
	color: rgba(47, 38, 88, 0.55);
}

.fxm-bd-exposure__bar {
	display: block;
	width: 100%;
	max-width: 148px;
	height: 8px;
	margin: 12px auto 0;
	overflow: hidden;
	border-radius: 9999px;
	background: rgba(47, 38, 88, 0.08);
}

.fxm-bd-exposure__bar > i {
	display: block;
	height: 100%;
	min-width: 4px;
	border-radius: inherit;
	background: #10b981;
}

.fxm-bd-exposure__rate p {
	margin: 8px 0 0;
	font-size: 12.5px;
	color: rgba(47, 38, 88, 0.5);
}

.fxm-bd-exposure__stats {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	margin: 0;
}

.fxm-bd-exposure__stats > div {
	min-width: 0;
	padding: 14px 16px;
	border-radius: 14px;
	background: #f6f5fb;
}

.fxm-bd-exposure__stats dt {
	font-size: 12.5px;
	line-height: 1.5;
	color: rgba(47, 38, 88, 0.55);
}

.fxm-bd-exposure__stats dd {
	margin: 6px 0 0;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.2;
	color: #2f2658;
	font-variant-numeric: tabular-nums;
	overflow-wrap: anywhere;
}

.fxm-bd-exposure__stats .is-resolved dd { color: #0f9f6e; }
.fxm-bd-exposure__stats .is-alert dd { color: #b45309; }
.fxm-bd-exposure__stats .is-amount dd { font-size: 20px; line-height: 1.32; }
.fxm-bd-exposure__stats [title] { cursor: help; }

/* Latest exposures: section head (same as the platform server-list head). */

[data-fxm-broker-section="exposure"][hidden],
[data-fxm-broker-tab="exposure"][hidden] { display: none !important; }

.fxm-bd-exposure__latest-head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin: 16px 0 10px;
}

.fxm-bd-exposure__latest-head h3 {
	margin: 0;
	font-size: 13px;
	font-weight: 700;
	color: rgba(47, 38, 88, 0.62);
}

.fxm-bd-exposure__latest-head a {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 4px 0;
	color: #4f34d9;
	font-size: 13px;
	font-weight: 600;
	white-space: nowrap;
	text-decoration: none;
}

.fxm-bd-exposure__latest-head a:hover { color: #3823aa; }

.fxm-bd-exposure__latest-head a:focus-visible {
	border-radius: 6px;
	outline: 2px solid #4f34d9;
	outline-offset: 2px;
}

/* Latest exposures as cards, same shell as the sponsored-broker cards on this
   page (hairline lavender border, #faf9ff → white wash, lift on hover). One
   column below 1024px; at desktop up to three columns and two rows per page,
   so a last page with one or two exposures keeps its adaptive width. */
.fxm-bd-exposure__list {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.fxm-bd-exposure__list > li { min-width: 0; }

.fxm-bd-exposure__item {
	display: flex;
	flex-direction: column;
	height: 100%;
	min-width: 0;
	padding: 14px 16px 0;
	border: 1px solid rgba(79, 52, 217, 0.08);
	border-radius: 14px;
	background: linear-gradient(180deg, #faf9ff 0%, #ffffff 100%);
	color: #2f2658;
	text-decoration: none;
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.fxm-bd-exposure__item:hover {
	transform: translateY(-1px);
	border-color: rgba(79, 52, 217, 0.22);
	box-shadow: 0 16px 30px -22px rgba(79, 52, 217, 0.5);
}

.fxm-bd-exposure__item:focus-visible {
	outline: 2px solid #4f34d9;
	outline-offset: 2px;
}

/* State row: risk on the left, broker response on the right. The response
   pill is the one that gives way (ellipsis, full text in its title). */
.fxm-bd-exposure__state {
	display: flex;
	align-items: center;
	gap: 6px;
	min-width: 0;
	min-height: 22px;
}

.fxm-bd-exposure__risk {
	display: inline-flex;
	flex: none;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.5;
	white-space: nowrap;
	color: rgba(47, 38, 88, 0.62);
}

/* Signal-style meter: 1 / 2 / 3 lit bars for low / medium / high, so the level
   reads from the shape as well as the colour and the label. */
.fxm-bd-exposure__meter {
	display: inline-flex;
	align-items: flex-end;
	gap: 2px;
	height: 12px;
}

.fxm-bd-exposure__meter > i {
	width: 3px;
	border-radius: 2px;
	background: rgba(47, 38, 88, 0.14);
}

.fxm-bd-exposure__meter > i:nth-child(1) { height: 6px; }
.fxm-bd-exposure__meter > i:nth-child(2) { height: 9px; }
.fxm-bd-exposure__meter > i:nth-child(3) { height: 12px; }

.fxm-bd-exposure__risk[data-risk="low"] { color: #047857; }
.fxm-bd-exposure__risk[data-risk="medium"] { color: #b45309; }
.fxm-bd-exposure__risk[data-risk="high"] { color: #be123c; }
.fxm-bd-exposure__risk[data-risk="low"] .fxm-bd-exposure__meter > i:nth-child(-n + 1),
.fxm-bd-exposure__risk[data-risk="medium"] .fxm-bd-exposure__meter > i:nth-child(-n + 2),
.fxm-bd-exposure__risk[data-risk="high"] .fxm-bd-exposure__meter > i { background: currentColor; }

.fxm-bd-exposure__pinned,
.fxm-bd-exposure__response {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 2px 9px;
	border-radius: 9999px;
	font-size: 11.5px;
	font-weight: 700;
	line-height: 1.5;
	white-space: nowrap;
}

.fxm-bd-exposure__pinned { flex: none; background: #fef3c7; color: #92400e; }

.fxm-bd-exposure__response {
	flex: 0 1 auto;
	min-width: 0;
	margin-left: auto;
	background: #f3f0ff;
	color: rgba(47, 38, 88, 0.72);
}

.fxm-bd-exposure__response > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.fxm-bd-exposure__response svg { flex: none; }
.fxm-bd-exposure__response[data-response="none"] { background: #fff7ed; color: #b45309; }
.fxm-bd-exposure__response[data-response="timeout"] { background: #fff1f2; color: #be123c; }
.fxm-bd-exposure__response[data-response="responded"] { background: #f3f0ff; color: #4f34d9; }
.fxm-bd-exposure__response[data-response="resolved"] { background: #ecfdf5; color: #047857; }

.fxm-bd-exposure__title {
	display: -webkit-box;
	margin-top: 10px;
	overflow: hidden;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.5;
	color: #2f2658;
	overflow-wrap: anywhere;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	transition: color 0.2s ease;
}

.fxm-bd-exposure__item:hover .fxm-bd-exposure__title { color: #4f34d9; }

.fxm-bd-exposure__excerpt {
	display: -webkit-box;
	margin-top: 6px;
	overflow: hidden;
	font-size: 13px;
	line-height: 1.65;
	color: rgba(47, 38, 88, 0.6);
	overflow-wrap: anywhere;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

/* Ticket-stub footer, pinned to the card bottom so a row of cards lines up:
   category over date on the left, amount label over value on the right.
   Stacked pairs need no separators, so nothing can strand on a wrap. */
.fxm-bd-exposure__body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	min-width: 0;
	padding-bottom: 14px;
}

.fxm-bd-exposure__foot {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 12px;
	padding: 12px 0 14px;
	border-top: 1px dashed rgba(79, 52, 217, 0.16);
}

.fxm-bd-exposure__facts,
.fxm-bd-exposure__amount {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
	line-height: 1.5;
}

.fxm-bd-exposure__category {
	overflow: hidden;
	font-size: 12.5px;
	font-weight: 600;
	white-space: nowrap;
	text-overflow: ellipsis;
	color: rgba(47, 38, 88, 0.72);
}

.fxm-bd-exposure__facts time {
	font-size: 12px;
	color: rgba(47, 38, 88, 0.48);
	font-variant-numeric: tabular-nums;
}

.fxm-bd-exposure__amount {
	flex: none;
	max-width: 60%;
	align-items: flex-end;
	text-align: right;
}

.fxm-bd-exposure__amount small {
	font-size: 11.5px;
	color: rgba(47, 38, 88, 0.48);
}

.fxm-bd-exposure__amount b {
	font-size: 15px;
	font-weight: 700;
	line-height: 1.35;
	color: #2f2658;
	white-space: nowrap;
	font-variant-numeric: tabular-nums;
}

@media (min-width: 1024px) {
	.fxm-bd-exposure__list[data-count="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.fxm-bd-exposure__list[data-count="3"],
	.fxm-bd-exposure__list[data-count="4"],
	.fxm-bd-exposure__list[data-count="5"],
	.fxm-bd-exposure__list[data-count="6"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 767.98px) {
	.fxm-bd-exposure__item { padding: 13px 14px 0; }
	.fxm-bd-exposure__item:hover { transform: none; }
	.fxm-bd-exposure__title { font-size: 14.5px; }
	.fxm-bd-exposure__foot { padding: 11px 0 13px; }
}

/* UGC disclaimer, kept as a quiet footnote. */
.fxm-bd-exposure__note {
	display: flex;
	align-items: flex-start;
	gap: 6px;
	margin: 14px 0 0;
	font-size: 12px;
	line-height: 1.6;
	color: rgba(47, 38, 88, 0.45);
}

.fxm-bd-exposure__note svg { flex: none; margin-top: 3px; color: rgba(79, 52, 217, 0.5); }

@media (min-width: 768px) {
	.fxm-bd-exposure__summary {
		grid-template-columns: 180px minmax(0, 1fr);
		align-items: center;
		gap: 20px;
	}
}

@media (min-width: 1024px) {
	.fxm-bd-exposure__stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 767.98px) {
	.fxm-bd-exposure__stats > div { padding: 12px 14px; }
	.fxm-bd-exposure__stats dd { font-size: 20px; }
	.fxm-bd-exposure__stats .is-amount dd { font-size: 18px; line-height: 1.33; }
	.fxm-bd-exposure__stats [title] { cursor: default; }
	.fxm-bd-exposure__latest-head a { min-height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
	.fxm-bd-exposure__cta,
	.fxm-bd-exposure__item,
	.fxm-bd-exposure__title { transition: none; }
	.fxm-bd-exposure__cta:hover { transform: none; }
}

/* ---------- Official-website dialog (broker-detail-page.php #fxm-sites-modal) ----------
   Reuses the license dialog shell (mask, card, head); narrower card because it
   only holds a short list. Each site is one lavender row link: index, domain
   (full URL underneath only when it adds something), and a "visit" pill. */
.fxm-sites-modal .fxm-sites-modal-card {
	width: min(94%, 520px);
}

.fxm-sites-modal .fxm-license-modal-head > div { min-width: 0; }
/* Long localized descriptions wrap; the close button never gets squeezed. */
.fxm-sites-modal .fxm-license-modal-head button { flex: none; }

.fxm-sites-modal .fxm-license-modal-head h3 {
	display: flex;
	align-items: center;
}

.fxm-sites-modal .fxm-sites-modal-count {
	margin-left: 8px;
	height: 20px;
	font-size: 12px;
}

.fxm-sites-list {
	display: grid;
	gap: 8px;
	margin: 0;
	padding: 16px 22px 22px;
	overflow: auto;
	list-style: none;
}

.fxm-sites-item {
	display: grid;
	grid-template-columns: 28px minmax(0, 1fr) auto;
	align-items: center;
	gap: 12px;
	min-height: 56px;
	padding: 10px 12px 10px 14px;
	border-radius: 14px;
	background: #f6f5fb;
	color: #2f2658;
	text-decoration: none;
	transition: background-color 0.2s ease;
}

.fxm-sites-item:hover {
	background: #f0edfb;
}

.fxm-sites-item:focus-visible {
	outline: 2px solid #4f34d9;
	outline-offset: 2px;
}

.fxm-sites-index {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 9999px;
	background: #ffffff;
	box-shadow: inset 0 0 0 1px rgba(79, 52, 217, 0.14);
	color: #4f34d9;
	font-size: 12.5px;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}

.fxm-sites-text {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.fxm-sites-domain,
.fxm-sites-url {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.fxm-sites-domain {
	font-size: 14px;
	font-weight: 700;
	line-height: 1.4;
}

.fxm-sites-url {
	font-size: 12px;
	line-height: 1.4;
	color: rgba(47, 38, 88, 0.5);
}

.fxm-sites-visit {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 6px 12px;
	border-radius: 9999px;
	background: #ffffff;
	color: #4f34d9;
	font-size: 13px;
	font-weight: 600;
	white-space: nowrap;
	transition: color 0.2s ease, box-shadow 0.2s ease;
}

.fxm-sites-item:hover .fxm-sites-visit {
	color: #3823aa;
	box-shadow: 0 6px 14px -8px rgba(79, 52, 217, 0.45);
}

@media (max-width: 767.98px) {
	.fxm-sites-modal .fxm-license-modal-head { padding: 16px 16px 12px; }
	.fxm-sites-list { padding: 12px 16px 18px; }
	.fxm-sites-item { gap: 10px; padding: 10px 10px 10px 12px; }
	.fxm-sites-visit { padding: 6px 10px; }
}

@media (prefers-reduced-motion: reduce) {
	.fxm-sites-item,
	.fxm-sites-visit { transition: none; }
}

/* ==================================================================
   Broker notices (announcements + promotions): one slim band per view,
   the same band as the DETAIL_PAGE / HOME_TOP ads (fxm-paid-ads.css):
   blurred cover behind a white wash, 16:9 thumbnail left, copy right,
   label row and progress tabs laid over the copy column.
   ================================================================== */
[data-fxm-broker-notices] {
	--bn-band: 148px;
	--bn-pad: 14px;
	--bn-thumb: calc((var(--bn-band) - 2 * var(--bn-pad)) * 16 / 9);
	--bn-text-x: calc(var(--bn-pad) + var(--bn-thumb) + 22px);
	--bn-ink: #243044;
	--bn-primary: #4f34d9;
	--bn-dwell: 6s;
	display: grid;
	grid-template: minmax(0, 1fr) / minmax(0, 1fr);
	overflow: hidden;
	border: 1px solid #e6e9f5;
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 4px 18px #25286003;
}

[data-fxm-broker-notices] > * {
	grid-area: 1 / 1;
	min-width: 0;
}

/* Label row over the copy column; clicks fall through except on the arrows. */
[data-fxm-broker-notices] .fxm-bn-head {
	z-index: 2;
	display: flex;
	align-self: start;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 12px 12px 0 var(--bn-text-x);
	pointer-events: none;
}

[data-fxm-broker-notices] .fxm-bn-head h2 {
	margin: 0;
	color: #4b586c;
	font-size: 12.5px;
	font-weight: 600;
	line-height: 1.5;
	letter-spacing: 0.04em;
}

[data-fxm-broker-notices] .fxm-bn-nav {
	display: flex;
	gap: 6px;
	pointer-events: auto;
}

[data-fxm-broker-notices] .fxm-bn-nav[hidden],
[data-fxm-broker-notices] .fxm-bn-tabs[hidden] { display: none; }

[data-fxm-broker-notices] .fxm-bn-nav button {
	position: relative;
	display: inline-flex;
	width: 30px;
	height: 30px;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: 1px solid rgba(226, 229, 240, 0.95);
	border-radius: 9999px;
	background: rgba(255, 255, 255, 0.9);
	color: #4b586c;
	cursor: pointer;
	transition: color 150ms ease, border-color 150ms ease, background-color 150ms ease;
}

[data-fxm-broker-notices] .fxm-bn-nav button svg { width: 15px; height: 15px; }
[data-fxm-broker-notices] .fxm-bn-nav [data-fxm-bn-prev] svg { transform: rotate(180deg); }

[data-fxm-broker-notices] .fxm-bn-nav button:hover {
	border-color: rgba(79, 52, 217, 0.32);
	background: #fff;
	color: var(--bn-primary);
}

[data-fxm-broker-notices] button:focus-visible {
	outline: 2px solid var(--bn-primary);
	outline-offset: 2px;
}

/* ---- Track: one band per view, scroll-snap ---- */
[data-fxm-broker-notices] .fxm-bn-track {
	z-index: 1;
	display: flex;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}

[data-fxm-broker-notices] .fxm-bn-track::-webkit-scrollbar { display: none; }

[data-fxm-broker-notices] .fxm-bn-slide {
	position: relative;
	isolation: isolate;
	display: flex;
	flex: 0 0 100%;
	align-items: center;
	gap: 22px;
	min-width: 0;
	height: var(--bn-band);
	padding: var(--bn-pad);
	overflow: hidden;
	background: #f7f6fd;
	scroll-snap-align: start;
	scroll-snap-stop: always;
}

/* Wrapping last → first cuts to the band and fades it in instead of sweeping back. */
[data-fxm-broker-notices] .fxm-bn-slide.is-cut { animation: fxm-bn-cut 400ms cubic-bezier(0.2, 0.7, 0.2, 1) both; }

@keyframes fxm-bn-cut {
	from { opacity: 0.3; }
	to { opacity: 1; }
}

/* Blurred cover across the band (its calm left side), under a white wash. */
[data-fxm-broker-notices] .fxm-bn-backdrop {
	position: absolute;
	inset: -40px;
	z-index: -2;
	width: calc(100% + 80px);
	height: calc(100% + 80px);
	max-width: none;
	object-fit: cover;
	object-position: 12% 50%;
	filter: blur(34px) saturate(1.2);
	opacity: 0.75;
}

[data-fxm-broker-notices] .fxm-bn-slide::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(90deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.8) calc(var(--bn-text-x) + 40px), rgba(255, 255, 255, 0.9) 100%);
	pointer-events: none;
}

[data-fxm-broker-notices] .fxm-bn-thumb {
	position: relative;
	flex: none;
	width: var(--bn-thumb);
	height: calc(var(--bn-band) - 2 * var(--bn-pad));
	overflow: hidden;
	border-radius: 9px;
	background: linear-gradient(135deg, #ece8ff, #f7f5ff);
	box-shadow: 0 10px 22px -14px rgba(20, 24, 40, 0.55);
}

[data-fxm-broker-notices] .fxm-bn-slide[data-kind="promotion"] .fxm-bn-thumb {
	background: linear-gradient(135deg, #fff1d6, #fffaf0);
}

/* Hairline over the cover edge, like the ad creative. */
[data-fxm-broker-notices] .fxm-bn-thumb::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	box-shadow: inset 0 0 0 1px rgba(36, 48, 68, 0.07);
	pointer-events: none;
}

[data-fxm-broker-notices] .fxm-bn-thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* ---- Copy: title, then kind tag + date; bottom room for the progress tabs ---- */
[data-fxm-broker-notices] .fxm-bn-body {
	display: flex;
	flex: 1;
	flex-direction: column;
	justify-content: center;
	gap: 0.4rem;
	min-width: 0;
	height: 100%;
	padding: 22px 4px 14px 0;
}

[data-fxm-broker-notices] .fxm-bn-body h3 {
	margin: 0;
	color: var(--bn-ink);
	font-family: var(--font-family-heading);
	font-size: 17px;
	font-weight: 600;
	line-height: 1.45;
	display: -webkit-box;
	-webkit-line-clamp: 1;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

[data-fxm-broker-notices] .fxm-bn-meta {
	display: flex;
	align-items: center;
	gap: 8px;
	min-width: 0;
	color: #667085;
	font-size: 12.5px;
	line-height: 1.5;
	font-variant-numeric: tabular-nums;
}

/* Kind tag on the thumbnail's top-left corner: solid fill so it reads on any cover. */
[data-fxm-broker-notices] .fxm-bn-tag {
	position: absolute;
	top: 6px;
	left: 6px;
	z-index: 1;
	padding: 0 6px;
	border-radius: 4px;
	background: var(--bn-primary);
	color: #fff;
	font-size: 11px;
	font-weight: 600;
	line-height: 18px;
	letter-spacing: 0.02em;
	white-space: nowrap;
	box-shadow: 0 2px 6px -2px rgba(20, 24, 40, 0.35);
}

[data-fxm-broker-notices] .fxm-bn-slide[data-kind="promotion"] .fxm-bn-tag {
	background: #f07c1a;
}

/* ---- Progress tabs at the foot of the copy; the current one fills over the dwell ---- */
[data-fxm-broker-notices] .fxm-bn-tabs {
	z-index: 2;
	display: grid;
	grid-template-columns: repeat(var(--bn-count, 3), minmax(0, 1fr));
	align-self: end;
	justify-self: start;
	gap: 6px;
	width: min(200px, 40%);
	margin: 0 0 6px var(--bn-text-x);
}

[data-fxm-broker-notices] .fxm-bn-tab {
	display: block;
	min-width: 0;
	padding: 8px 0;
	border: 0;
	background: transparent;
	cursor: pointer;
}

[data-fxm-broker-notices] .fxm-bn-bar {
	position: relative;
	display: block;
	height: 3px;
	overflow: hidden;
	border-radius: 3px;
	background: rgba(36, 48, 68, 0.14);
	transition: background-color 150ms ease;
}

[data-fxm-broker-notices] .fxm-bn-tab:hover .fxm-bn-bar { background: rgba(36, 48, 68, 0.24); }

[data-fxm-broker-notices] .fxm-bn-bar i {
	position: absolute;
	inset: 0;
	border-radius: inherit;
	background: var(--bn-primary);
	transform: scaleX(0);
	transform-origin: left center;
}

[data-fxm-broker-notices] .fxm-bn-tab[data-state="done"] .fxm-bn-bar i { opacity: 0.3; transform: scaleX(1); }
[data-fxm-broker-notices] .fxm-bn-tab[aria-current="true"] .fxm-bn-bar i { transform: scaleX(1); }
[data-fxm-broker-notices].is-playing .fxm-bn-tab[aria-current="true"] .fxm-bn-bar i { animation: fxm-bn-progress var(--bn-dwell) linear both; }
[data-fxm-broker-notices].is-paused .fxm-bn-tab[aria-current="true"] .fxm-bn-bar i { animation-play-state: paused; }

@keyframes fxm-bn-progress {
	from { transform: scaleX(0); }
	to { transform: scaleX(1); }
}

/* ---- H5 (≤767px): the ad band's phone size (104px); swipe replaces the arrows ---- */
@media (max-width: 767.98px) {
	[data-fxm-broker-notices] {
		--bn-band: 104px;
		--bn-pad: 10px;
		--bn-text-x: calc(var(--bn-pad) + var(--bn-thumb) + 12px);
	}

	[data-fxm-broker-notices] .fxm-bn-head { padding: 8px 8px 0 var(--bn-text-x); }
	[data-fxm-broker-notices] .fxm-bn-head h2 { font-size: 11px; }
	[data-fxm-broker-notices] .fxm-bn-nav { display: none; }
	[data-fxm-broker-notices] .fxm-bn-slide { gap: 12px; }
	[data-fxm-broker-notices] .fxm-bn-thumb { border-radius: 7px; }
	[data-fxm-broker-notices] .fxm-bn-body { gap: 0.2rem; padding: 18px 8px 10px 0; }

	[data-fxm-broker-notices] .fxm-bn-body h3 {
		font-size: 13.5px;
		line-height: 1.4;
		-webkit-line-clamp: 2;
	}

	[data-fxm-broker-notices] .fxm-bn-meta { gap: 6px; font-size: 11px; }
	[data-fxm-broker-notices] .fxm-bn-tag { top: 4px; left: 4px; padding: 0 4px; border-radius: 3px; font-size: 10px; line-height: 15px; }
	[data-fxm-broker-notices] .fxm-bn-tabs { width: min(140px, 45%); margin-bottom: 0; }
	[data-fxm-broker-notices] .fxm-bn-tab { padding: 6px 0; }
}

@media (prefers-reduced-motion: reduce) {
	[data-fxm-broker-notices] .fxm-bn-nav button,
	[data-fxm-broker-notices] .fxm-bn-bar { transition: none; }
	[data-fxm-broker-notices] .fxm-bn-bar i,
	[data-fxm-broker-notices] .fxm-bn-slide.is-cut { animation: none !important; }
}

/* Logged-in users: the WP admin bar pushes the fixed header down (fxm-header-menus.css),
   so the sticky tab bar must sit under the header's new bottom edge, not at 72px. Below
   600px the admin bar scrolls away, so the phone rule stays as it is. */
@media (min-width: 783px) {
	.admin-bar [data-fxm-broker-detail-page] [data-fxm-broker-tabs] {
		top: var(--fxm-detail-sticky-top, calc(var(--wp-admin--admin-bar--height, 32px) + var(--spacing, 0.25rem) * 18));
	}
	.admin-bar [data-fxm-broker-detail-page] .scroll-mt-\[140px\] {
		scroll-margin-top: var(--fxm-detail-scroll-margin, calc(var(--wp-admin--admin-bar--height, 32px) + 140px));
	}
}

@media (min-width: 768px) and (max-width: 782px) {
	.admin-bar [data-fxm-broker-detail-page] [data-fxm-broker-tabs] {
		top: var(--fxm-detail-sticky-top, calc(var(--wp-admin--admin-bar--height, 46px) + var(--spacing, 0.25rem) * 18));
	}
	.admin-bar [data-fxm-broker-detail-page] .scroll-mt-\[140px\] {
		scroll-margin-top: var(--fxm-detail-scroll-margin, calc(var(--wp-admin--admin-bar--height, 46px) + 140px));
	}
}

@media (min-width: 601px) and (max-width: 767.98px) {
	.admin-bar [data-fxm-broker-detail-page] [data-fxm-broker-tabs] {
		top: var(--fxm-detail-sticky-top, calc(var(--wp-admin--admin-bar--height, 46px) + var(--fxm-m-header, 60px)));
	}
	.admin-bar [data-fxm-broker-detail-page] .scroll-mt-\[140px\] {
		scroll-margin-top: var(--fxm-detail-scroll-margin, calc(var(--wp-admin--admin-bar--height, 46px) + 116px));
	}
}

/* Saved official-domain records. UI labels are localized; source notes stay intact. */
.fxm-domain-card {
	overflow: hidden;
	border: 1px solid #e7e3ef;
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 4px 16px rgba(49, 31, 83, .035);
}
.fxm-domain-head {
	display: grid;
	grid-template-columns: 38px minmax(0, 1fr) auto;
	align-items: start;
	gap: 12px;
	padding: 21px 22px 19px;
}
.fxm-domain-icon {
	display: flex;
	width: 38px;
	height: 38px;
	align-items: center;
	justify-content: center;
	border-radius: 12px;
	background: #f1edff;
	color: #6b38ed;
}
.fxm-domain-heading { min-width: 0; }
.fxm-domain-heading h2 {
	margin: 0;
	color: #201b34;
	font-family: var(--font-family-heading, inherit);
	font-size: 18px;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: -.025em;
}
.fxm-domain-heading > p {
	margin: 4px 0 0;
	color: #756c82;
	font-size: 13px;
	line-height: 1.65;
}
.fxm-domain-count {
	margin-top: 2px;
	border: 1px solid #eae4f7;
	border-radius: 999px;
	background: #faf8ff;
	padding: 5px 10px;
	color: #785aa8;
	font-size: 11.5px;
	font-weight: 500;
	line-height: 1.45;
	white-space: nowrap;
}
.fxm-domain-list {
	margin: 0;
	border-top: 1px solid #eeeaf4;
	padding: 0 22px;
	list-style: none;
}
.fxm-domain-row {
	--fxm-domain-state-ink: #686372;
	--fxm-domain-state-bg: #f4f3f7;
	--fxm-domain-state-border: #e6e4ec;
	display: grid;
	grid-template-columns: 36px minmax(0, 1fr) auto;
	align-items: start;
	gap: 14px;
	margin: 0;
	padding: 19px 0;
}
.fxm-domain-row + .fxm-domain-row { border-top: 1px solid #f0edf5; }
.fxm-domain-row.is-verified {
	--fxm-domain-state-ink: #167052;
	--fxm-domain-state-bg: #eef9f3;
	--fxm-domain-state-border: #d3eadd;
}
.fxm-domain-row.is-suspected {
	--fxm-domain-state-ink: #99621e;
	--fxm-domain-state-bg: #fff7e9;
	--fxm-domain-state-border: #f4dfb5;
}
.fxm-domain-row.is-risky {
	--fxm-domain-state-ink: #b63e4b;
	--fxm-domain-state-bg: #fff1f2;
	--fxm-domain-state-border: #f3d3d8;
}
.fxm-domain-mark {
	display: flex;
	width: 36px;
	height: 36px;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--fxm-domain-state-border);
	border-radius: 11px;
	background: var(--fxm-domain-state-bg);
	color: var(--fxm-domain-state-ink);
}
.fxm-domain-identity { min-width: 0; }
.fxm-domain-host {
	display: block;
	color: #292337;
	font-size: 16px;
	font-weight: 650;
	line-height: 1.5;
	letter-spacing: -.015em;
	overflow-wrap: anywhere;
	unicode-bidi: isolate;
}
.fxm-domain-description {
	max-width: 65ch;
	margin: 4px 0 0;
	color: #756c82;
	font-size: 12.5px;
	line-height: 1.7;
	overflow-wrap: anywhere;
}
.fxm-domain-meta {
	display: flex;
	max-width: 230px;
	flex-direction: column;
	align-items: flex-end;
	gap: 7px;
	padding-top: 1px;
}
.fxm-domain-status {
	display: inline-flex;
	max-width: 100%;
	align-items: center;
	gap: 6px;
	border: 1px solid var(--fxm-domain-state-border);
	border-radius: 999px;
	background: var(--fxm-domain-state-bg);
	padding: 4px 9px;
	color: var(--fxm-domain-state-ink);
	font-size: 11.5px;
	font-weight: 600;
	line-height: 1.45;
	overflow-wrap: anywhere;
}
.fxm-domain-status::before {
	flex: none;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: currentColor;
	content: "";
}
.fxm-domain-meta time {
	color: #766d83;
	font-size: 11px;
	line-height: 1.5;
	text-align: end;
	font-variant-numeric: tabular-nums;
}
.fxm-domain-note {
	margin: 0;
	border-top: 1px solid #eeeaf4;
	background: #fbfafd;
	padding: 12px 22px;
	color: #7a7187;
	font-size: 12px;
	line-height: 1.65;
}
@media (max-width: 599.98px) {
	.fxm-domain-head {
		grid-template-columns: 34px minmax(0, 1fr);
		gap: 8px 10px;
		padding: 17px 16px;
	}
	.fxm-domain-icon { width: 34px; height: 34px; border-radius: 10px; }
	.fxm-domain-heading h2 { font-size: 17px; }
	.fxm-domain-heading > p { font-size: 12.5px; }
	.fxm-domain-count { grid-column: 2; justify-self: start; margin-top: 0; padding: 3px 9px; }
	.fxm-domain-list { padding: 0 16px; }
	.fxm-domain-row { grid-template-columns: 28px minmax(0, 1fr); gap: 8px 10px; padding: 16px 0; }
	.fxm-domain-mark { width: 28px; height: 28px; border-radius: 9px; }
	.fxm-domain-mark svg { width: 15px; height: 15px; }
	.fxm-domain-host { font-size: 15px; }
	.fxm-domain-meta {
		grid-column: 2;
		max-width: none;
		flex-direction: row;
		flex-wrap: wrap;
		align-items: center;
		gap: 6px 9px;
		padding-top: 0;
	}
	.fxm-domain-meta time { text-align: start; }
	.fxm-domain-note { padding: 11px 16px; }
}


