#section-hero-page-home-v3 .txt-hero-description {
	max-width: 660px;
}

#section-hero-page-home-v3 .txt-hero-tagline {
	color: #E6FC70;
}

#section-highlights,
#section-strategy-providers,
#section-how-to-start-social-trading {
	background-color: rgba(189, 198, 232, 0.6);
}

/* FXT AI specialists */

#section-fxt-ai-specialists {
	background: linear-gradient(180deg, #F4F3F0 0%, #F7F6F3 30%, #EEF8B8 52%, #D7F26A 66%, #7C6CFF 84%, #4535FE 100%);
	padding: 4.25rem 0 5rem;
	color: #1c1c1c;
}

#section-fxt-ai-specialists .ai-specialist-head {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 1rem;
}

#section-fxt-ai-specialists .ai-specialist-head img {
	width: 132px;
	height: auto;
}

#section-fxt-ai-specialists .ai-specialist-title {
	margin: 0;
	max-width: 100%;
	color: #1c1c1c;
	font-size: clamp(1.75rem, 2.4vw, 2.25rem);
	font-weight: 400;
	letter-spacing: -0.03em;
	line-height: 1.15;
}

#section-fxt-ai-specialists .ai-specialist-title-strong {
	font-weight: 400;
	color: #4535FE;
}

#section-fxt-ai-specialists .ai-specialist-intro {
	margin: 0;
	max-width: 42rem;
	color: #5E5E5E;
	font-size: 1rem;
	line-height: 1.5;
}

#section-fxt-ai-specialists .ai-specialist-tabs {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.25rem;
	width: 100%;
	max-width: 720px;
	margin: 1.75rem auto 0;
	padding: 0.3rem;
	border-radius: 0.75rem;
	background: #E6E3DA;
}

#section-fxt-ai-specialists .ai-specialist-tabs button {
	appearance: none;
	flex: 1;
	margin: 0;
	padding: 0.7rem 1.2rem;
	border: 0;
	border-radius: 0.75rem;
	background: transparent;
	color: #1c1c1c;
	font: inherit;
	font-size: 0.95rem;
	font-weight: 600;
	line-height: 1.2;
	cursor: pointer;
}

#section-fxt-ai-specialists .ai-specialist-tabs button[aria-selected="true"] {
	background: #4535FE;
	color: #fff;
}

#section-fxt-ai-specialists .ai-specialist-tabs button:focus-visible,
#section-fxt-ai-specialists .ai-account-btn:focus-visible {
	outline: 2px solid #1c1c1c;
	outline-offset: 3px;
}

#section-fxt-ai-specialists .ai-specialist-panel {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 2rem;
	align-items: start;
	margin-top: 2.75rem;
}

#section-fxt-ai-specialists .ai-specialist-panel.hidden {
	display: none;
}

#section-fxt-ai-specialists .fxt-ai-intro {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.9rem;
	min-width: 0;
}

#section-fxt-ai-specialists .fxt-ai-panel {
	min-width: 0;
}

#section-fxt-ai-specialists .ai-specialist-name {
	display: flex;
	align-items: center;
	gap: 0.65rem;
}

#section-fxt-ai-specialists .ai-specialist-name img {
	width: 32px;
	height: 32px;
}

#section-fxt-ai-specialists .ai-specialist-name h3 {
	margin: 0;
	color: #1c1c1c;
	font-size: 1.85rem;
	font-weight: 500;
	letter-spacing: -0.02em;
	line-height: 1.2;
}

#section-fxt-ai-specialists .ai-specialist-lead {
	margin: 0;
	color: #1c1c1c;
	font-size: 1.15rem;
	font-weight: 600;
	line-height: 1.4;
}

#section-fxt-ai-specialists .ai-specialist-body {
	margin: 0;
	color: #5C5C5C;
	font-size: 1rem;
	line-height: 1.5;
}

#section-fxt-ai-specialists .fxt-ai-image {
	display: block;
	width: min(100%, 320px);
	height: auto;
	margin-top: 0.4rem;
}

#section-fxt-ai-specialists .ai-account-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.45rem;
	min-height: 48px;
	margin-top: 0.35rem;
	padding: 1rem 2rem;
	border-radius: 10px;
	background: #4535FE;
	color: #E6FC70;
	font-size: 1rem;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	transition: background-color 0.2s ease, color 0.2s ease;
}

#section-fxt-ai-specialists .ai-account-btn:hover {
	background: #3526e0;
	color: #fff;
}

.ai-account-btn-icon {
	flex: none;
	color: var(--color-green-600, #E6FC70);
}

#section-fxt-ai-specialists .ai-account-btn-icon {
	color: inherit;
}

#section-fxt-ai-specialists .ai-account-btn:hover .ai-account-btn-icon {
	color: var(--color-green-600, #E6FC70);
}

#section-fxt-ai-specialists .ai-specialist-foot {
	margin: 0 1.5rem 1.15rem;
	padding-top: 0.9rem;
	border-top: 1px solid #E6E3DA;
	color: #5C5C5C;
	font-size: 0.8125rem;
	line-height: 1.4;
}

@media (min-width: 1024px) {
	#section-fxt-ai-specialists .ai-specialist-panel {
		grid-template-columns: minmax(280px, 0.86fr) minmax(360px, 1.14fr);
		gap: 2.5rem;
	}

	#section-fxt-ai-specialists .ai-specialist-panel:has(.agent-card.is-collapsed) .ai-account-btn,
	#section-fxt-ai-specialists .ai-specialist-panel:has(.agent-card.is-collapsed) .ai-account-btn:hover .ai-account-btn-icon {
		color: var(--color-primary-600, #4535FE);
	}

	#section-fxt-ai-specialists .ai-specialist-panel:has(.agent-card.is-collapsed) .ai-account-btn {
		background: var(--color-green-600, #E6FC70);
	}

	#section-fxt-ai-specialists .ai-specialist-panel:has(.agent-card.is-collapsed) .ai-account-btn:hover {
		background: #d8f24a;
	}
}

/* FXT AI agent cards */

.agent-checks {
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.agent-checks li {
	display: flex;
	align-items: flex-start;
	gap: 0.45rem;
	color: #1C1C1C;
	font-size: 1rem;
	line-height: 1.5;
}

.agent-checks svg {
	display: block;
	flex-shrink: 0;
	width: 20px;
	height: 20px;
	margin-top: 0.15rem;
}

.agent-card {
	min-width: 0;
	overflow: hidden;
	border-radius: 16px;
	background: #FFFEFA;
	color: #1c1c1c;
	box-shadow: 0 10px 30px rgba(28, 28, 28, 0.06);
}

.agent-question {
	display: flex;
	flex-direction: column;
	gap: 0.9rem;
	padding: 1rem 1.5rem;
}

.agent-ask,
.agent-name {
	margin: 0;
	letter-spacing: 0.06em;
	line-height: 1.4;
}

.agent-ask {
	color: #6A6A6A;
	font-size: 0.8rem;
	font-weight: 400;
}

.agent-name {
	color: #1c1c1c;
	font-size: 1rem;
	font-weight: 600;
	text-transform: uppercase;
}

.agent-question-row {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
}

.agent-question-row > svg {
	display: block;
	flex-shrink: 0;
	width: 32px;
	height: 32px;
}

.agent-bubble {
	flex: 1;
	min-width: 0;
	margin: 0;
	padding: 0.5rem 0.7rem;
	border: 1px solid #4535FE;
	border-radius: 8px;
	background: #F7F6F4;
	color: #1c1c1c;
	font-size: 1rem;
	line-height: 1.5;
}

.agent-answer {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
	padding: 1.5rem;
}

.agent-response,
.agent-detail {
	display: flex;
	flex-direction: column;
	padding-bottom: 1rem;
	border-bottom: 1px solid #D2CFC0;
}

.agent-response {
	gap: 0.5rem;
}

.agent-detail {
	gap: 1rem;
}

.agent-more > .agent-detail:first-child {
	border-bottom: none;
}

.agent-response h3,
.agent-group-title {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.agent-response h3,
.agent-group-title,
.agent-detail h3 {
	margin: 0;
	color: #1c1c1c;
	font-size: 1.1rem;
	font-weight: 600;
	line-height: 1.4;
}

.agent-response h3 svg,
.agent-group-title svg {
	display: block;
	flex-shrink: 0;
	width: 20px;
	height: 20px;
}

.agent-response p,
.agent-detail p,
.agent-callout p {
	margin: 0;
	font-size: 1rem;
	line-height: 1.45;
}

.agent-response p,
.agent-callout p {
	color: #1c1c1c;
}

.agent-detail p {
	color: #59616B;
}

.agent-callout {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	padding: 1rem;
	border-left: 2px solid #4535FE;
	background: #E6FC70;
}

.agent-callout-title {
	color: #1c1c1c;
	font-size: 0.875rem;
	font-weight: 600;
	line-height: 1.4;
}

.agent-toggle,
.agent-collapse-end {
	width: 100%;
	margin: 0;
	border: 0;
	border-top: 1px solid #D2CFC0;
	background: transparent;
	text-align: left;
	cursor: pointer;
}

.agent-toggle {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 1rem 0 0;
	color: #1c1c1c;
}

.agent-collapse-end {
	padding: 0.85rem 0 0;
	color: #59616B;
	font-size: 0.75rem;
	line-height: 1.5;
}

.agent-toggle:focus-visible,
.agent-collapse-end:focus-visible {
	outline: 2px solid #4535FE;
	outline-offset: 3px;
}

.agent-toggle-label {
	flex: 1;
	font-size: 0.75rem;
	font-weight: 600;
	line-height: 1.5;
}

.agent-toggle-glyph {
	display: grid;
	place-items: center;
	flex-shrink: 0;
	width: 32px;
	height: 32px;
	border-radius: 999px;
	background: #E6FC70;
}

.agent-card .agent-plus,
.agent-card.is-collapsed .agent-minus {
	display: none;
}

.agent-card.is-collapsed .agent-plus {
	display: block;
}

.agent-more {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	overflow: hidden;
	opacity: 1;
	transition: height 0.4s ease, opacity 0.3s ease, margin-top 0.4s ease;
}

.agent-card.is-collapsed .agent-more {
	height: 0;
	margin-top: -1.25rem;
	opacity: 0;
}

.agent-table-wrap {
	width: 100%;
	overflow-x: auto;
}

.agent-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.85rem;
	line-height: 1.45;
}

.agent-table th,
.agent-table td {
	padding: 0.5rem 0.75rem;
	border-bottom: 1px solid #D2CFC0;
	text-align: left;
	vertical-align: top;
}

.agent-table thead th {
	background: #4535FE;
	color: #fff;
	font-weight: 600;
}

.agent-table tbody th {
	width: 34%;
	color: #1c1c1c;
	font-weight: 600;
}

.agent-table td {
	color: #59616B;
}

.agent-table td[colspan] {
	text-align: center;
}

.agent-table-metrics thead th:last-child,
.agent-table-metrics td {
	text-align: right;
}

.agent-metrics {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.75rem;
}

.agent-metric {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	min-width: 0;
	padding: 0.75rem;
	border: 1px solid #E6E3DA;
	border-radius: 8px;
	background: #F7F6F4;
}

.agent-response .agent-metric-label {
	margin: 0;
	color: #59616B;
	font-size: 0.75rem;
	line-height: 1.4;
}

.agent-response .agent-metric-value {
	margin: 0;
	color: #1c1c1c;
	font-size: 0.875rem;
	font-weight: 600;
	line-height: 1.25;
	overflow-wrap: anywhere;
}

@media (min-width: 768px) {
	.agent-response .agent-metric-value {
		font-size: 1.5rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.agent-more {
		transition: none;
	}
}

/* Mobile app */

#section-trading-platform-mobile-app {
	background-color: #FCFBF8;
	padding: 4rem 0;
	color: #1c1c1c;
}

#section-trading-platform-mobile-app .mobile-app-inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 2.5rem;
	align-items: center;
}

#section-trading-platform-mobile-app .mobile-app-title {
	margin: 0;
	color: #1c1c1c;
	font-size: clamp(2rem, 3.4vw, 2.75rem);
	font-weight: 400;
	letter-spacing: -0.03em;
	line-height: 1.15;
}

#section-trading-platform-mobile-app .mobile-app-title-accent {
	display: block;
	color: #4535FE;
}

#section-trading-platform-mobile-app .mobile-app-lead,
#section-trading-platform-mobile-app .mobile-app-feature p {
	color: #5E5E5E;
	font-size: 1rem;
	line-height: 1.5;
}

#section-trading-platform-mobile-app .mobile-app-lead {
	margin: 1.5rem 0 0;
	max-width: 36rem;
}

#section-trading-platform-mobile-app .mobile-app-features {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	margin: 1.75rem 0 0;
	padding: 0;
	list-style: none;
}

#section-trading-platform-mobile-app .mobile-app-feature {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
}

#section-trading-platform-mobile-app .mobile-app-feature svg {
	flex: none;
	width: 20px;
	height: 20px;
	margin-top: 0.1rem;
	color: #4535FE;
}

#section-trading-platform-mobile-app .mobile-app-feature h3 {
	margin: 0;
	color: #1c1c1c;
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.4;
}

#section-trading-platform-mobile-app .mobile-app-feature p {
	margin: 0.5rem 0 0;
}

#section-trading-platform-mobile-app .mobile-app-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 1.75rem;
}

#section-trading-platform-mobile-app .mobile-app-note {
	margin: 1.5rem 0 0;
	color: #5E5E5E;
	font-size: 0.75rem;
	line-height: 1.4;
}

#section-trading-platform-mobile-app .mobile-app-image {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 1rem;
}

@media (min-width: 1024px) {
	#section-trading-platform-mobile-app {
		padding: 5.5rem 0;
	}

	#section-trading-platform-mobile-app .mobile-app-inner {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		gap: 4rem;
	}
}

/* Trading platforms */

#section-trading-platforms {
	background-color: #4535FE;
}

#section-trading-platforms .section-card-grid {
	margin-top: 1.75rem;
}

#section-trading-platforms .platform-icon,
#section-trading-platforms .platform-arrow {
	flex: none;
	color: #4535FE;
}

/* Strategy providers / social trading */

#section-strategy-providers .section-card-grid {
	margin-top: 2.5rem;
}

#section-how-to-start-social-trading .social-trading-intro {
	max-width: 600px;
}

#section-how-to-start-social-trading .social-trading-steps {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 1.5rem;
	margin-top: 2.5rem;
}

#section-how-to-start-social-trading .social-trading-body p {
	text-align: center;
}

#section-how-to-start-social-trading .social-trading-image-1,
#section-how-to-start-social-trading .social-trading-image-2,
#section-how-to-start-social-trading .social-trading-image-3 {
	margin-left: auto;
	margin-right: auto;
}

#section-how-to-start-social-trading .social-trading-image-1 {
	max-width: 271px;
}

#section-how-to-start-social-trading .social-trading-image-2 {
	max-width: 308px;
}

#section-how-to-start-social-trading .social-trading-image-3 {
	max-width: 278px;
}

#section-how-to-start-social-trading .btn-action-open-account,
#section-how-to-start-social-trading .btn-action-open-account .button-text {
	white-space: nowrap;
}

@media (min-width: 1250px) {
	#section-how-to-start-social-trading .social-trading-steps {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

/* Get started */

#section-get-ready {
	background: linear-gradient(180deg, #F6F5F3 0%, #FFFFFF 30%);
}

#section-get-ready .get-ready-row-alt {
	background-color: #FAF9F8;
}

#section-get-ready .get-ready-title-accent {
	color: #4535FE;
}

#section-get-ready .get-ready-number {
	color: #4535FE;
	font-size: clamp(2.5rem, 4vw, 3rem);
	font-weight: 600;
	letter-spacing: -0.02em;
	line-height: 1;
}

#section-get-ready .get-ready-description {
	margin: 0.5rem 0 0;
	max-width: 33rem;
	color: #5E5E5E;
	line-height: 1.5;
}

#section-get-ready .get-ready-image {
	max-width: 420px;
}

@media (min-width: 768px) {
	#section-get-ready .get-ready-row-inner {
		max-width: 960px;
	}
}

/* Open account */

#section-open-account-all-in-one {
	background-color: #4535FE;
}

#section-open-account-all-in-one .open-account-image {
	max-width: 380px;
}

#section-open-account-all-in-one .open-account-lead strong {
	color: #fff;
	font-weight: 600;
}

/* FAQs */

#section-faqs-all-in-one {
	background-color: #FAF9F6;
}

/* Market explorer */

#section-market-explorer {
	background-color: #fff;
	padding: 3.5rem 0 4.5rem;
	color: #1c1c1c;
}

#section-market-explorer button {
	appearance: none;
	margin: 0;
	border: 0;
	background: none;
	color: inherit;
	font: inherit;
	cursor: pointer;
}

#section-market-explorer .market-explorer-title {
	margin: 0;
	color: #1c1c1c;
	font-size: clamp(2rem, 3.4vw, 2.75rem);
	font-weight: 400;
	letter-spacing: -0.03em;
	line-height: 1.15;
}

#section-market-explorer .market-explorer-title-accent {
	color: #4535FE;
}

#section-market-explorer .market-explorer-lead {
	margin: 0.9rem 0 0;
	max-width: 48rem;
	color: #5E5E5E;
	font-size: 1.15rem;
	line-height: 1.45;
}

#section-market-explorer .market-explorer-instruction {
	margin: 1.75rem 0 1.15rem;
	color: #6A6A6A;
	font-size: 1rem;
	line-height: 1.4;
}

#section-market-explorer .market-grid {
	display: flex;
	gap: 0.75rem;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x proximity;
	-webkit-overflow-scrolling: touch;
	padding-bottom: 0.35rem;
}

#section-market-explorer .market-tile {
	display: flex;
	flex: 0 0 78%;
	flex-direction: column;
	align-items: flex-start;
	width: 78%;
	max-width: 280px;
	min-height: 210px;
	scroll-snap-align: start;
	padding: 1.05rem 0.95rem 0.95rem;
	border: 1px solid #E6E3DA;
	border-radius: 16px;
	background: #fff;
	box-shadow: inset 0 0 0 1px transparent;
	text-align: left;
	transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

#section-market-explorer .market-tile:hover {
	border-color: #CFCBC0;
}

#section-market-explorer .market-tile[aria-pressed="true"],
#section-market-explorer .market-tile[aria-pressed="true"]:hover {
	border-color: #4535FE;
}

#section-market-explorer .market-tile[aria-pressed="true"] {
	background: #E6FC70;
	box-shadow: inset 0 0 0 1px #4535FE;
}

#section-market-explorer .market-tile img {
	display: block;
	width: 48px;
	height: 48px;
}

#section-market-explorer .market-tile-name {
	display: block;
	margin-top: 0.95rem;
	color: #1c1c1c;
	font-size: 1.05rem;
	font-weight: 600;
	line-height: 1.3;
}

#section-market-explorer .market-tile-description {
	display: block;
	flex: 1 1 auto;
	margin-top: 0.4rem;
	color: #5C5C5C;
	font-size: 0.8125rem;
	line-height: 1.45;
}

#section-market-explorer .market-tile-action {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	margin-top: 1rem;
	color: #4535FE;
	font-size: 0.8125rem;
	font-weight: 600;
	line-height: 1.3;
}

#section-market-explorer .market-tile-action .market-tile-action-label {
	color: #1C1C1C;
}

#section-market-explorer .market-arrow {
	display: block;
	flex-shrink: 0;
}

#section-market-explorer .market-chart-panel {
	display: flex;
	flex-direction: column;
	margin-top: 1rem;
	padding: 1.25rem 1.15rem 1.15rem;
	border-radius: 22px;
	background: #4535FE;
	color: #fff;
}

#section-market-explorer .market-symbols {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
}

#section-market-explorer .market-symbols[hidden] {
	display: none;
}

#section-market-explorer .market-symbol,
#section-market-explorer .market-period {
	border: 1.5px solid rgba(255, 255, 255, 0.78);
	background: transparent;
	color: #fff;
	font-size: 0.8125rem;
	font-weight: 600;
	line-height: 1;
}

#section-market-explorer .market-symbol {
	min-height: 34px;
	padding: 0.4rem 0.85rem;
	border-radius: 999px;
}

#section-market-explorer .market-period {
	min-width: 40px;
	height: 34px;
	padding: 0 0.55rem;
	border-radius: 8px;
}

#section-market-explorer .market-symbol[aria-pressed="true"],
#section-market-explorer .market-period[aria-pressed="true"] {
	border-color: #E6FC70;
	background: #E6FC70;
	color: #1c1c1c;
}

#section-market-explorer .market-symbol:hover,
#section-market-explorer .market-period:hover {
	background: rgba(255, 255, 255, 0.12);
}

#section-market-explorer .market-symbol[aria-pressed="true"]:hover,
#section-market-explorer .market-period[aria-pressed="true"]:hover {
	background: #d8f24a;
}

#section-market-explorer .market-chart-heading {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: space-between;
	gap: 0.85rem;
	margin-top: 1.35rem;
}

#section-market-explorer .market-chart-category,
#section-market-explorer .market-chart-code {
	margin: 0;
	font-size: 0.8125rem;
	line-height: 1.3;
}

#section-market-explorer .market-chart-category {
	color: rgba(255, 255, 255, 0.88);
}

#section-market-explorer .market-chart-code {
	color: rgba(255, 255, 255, 0.9);
}

#section-market-explorer .market-chart-name {
	margin: 0.2rem 0 0.15rem;
	color: #fff;
	font-size: clamp(1.55rem, 2.2vw, 1.85rem);
	font-weight: 500;
	letter-spacing: -0.02em;
	line-height: 1.2;
}

#section-market-explorer .market-periods {
	display: flex;
	flex-shrink: 0;
	gap: 0.35rem;
}

#section-market-explorer .market-chart-link {
	color: #fff;
	font-size: 0.8125rem;
	font-weight: 600;
	line-height: 1.3;
	text-underline-offset: 3px;
	white-space: nowrap;
}

#section-market-explorer .market-chart-link:hover {
	color: #E6FC70;
}

#section-market-explorer .market-chart-stage {
	position: relative;
	flex: 1 1 auto;
	height: 400px;
	margin-top: 0;
	border-radius: 14px;
	background: #4535FE;
	overflow: hidden;
}

#section-market-explorer [data-widget-host] {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

#section-market-explorer .tradingview-widget-container {
	width: 100%;
	height: 100%;
}

#section-market-explorer [data-widget-host] .tradingview-widget-container {
	position: absolute;
	inset: 0;
	transition: opacity 0.25s ease, filter 0.2s ease;
}

#section-market-explorer .tradingview-widget-container.is-pending {
	visibility: hidden;
	opacity: 0;
}

#section-market-explorer .tradingview-widget-container.is-leaving {
	opacity: 0.5;
	filter: blur(1px);
	pointer-events: none;
}

#section-market-explorer .market-chart-stage.is-switching .tradingview-widget-container:not(.is-pending) {
	opacity: 0.5;
	filter: blur(1px);
	pointer-events: none;
}

#section-market-explorer .market-chart-stage::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	z-index: 2;
	width: 40%;
	height: 3px;
	background: #E6FC70;
	border-radius: 0 3px 3px 0;
	opacity: 0;
	transform: translateX(-100%);
	pointer-events: none;
}

#section-market-explorer .market-chart-stage.is-switching::before {
	opacity: 1;
	animation: market-chart-progress 1.1s ease-in-out infinite;
}

@keyframes market-chart-progress {
	from {
		transform: translateX(-100%);
	}
	to {
		transform: translateX(250%);
	}
}

#section-market-explorer.is-wc .market-chart-symbols {
	margin-bottom: 0.85rem;
}

#section-market-explorer.is-wc .market-chart-stage {
	--tv-widget-background-color: transparent;
	--tv-widget-hover-background-color: transparent;
	--tv-widget-border-color: transparent;
	--tv-widget-attribution-border-color: transparent;
	--tv-widget-text-color: #fff;
	--tv-widget-price-text-color: #fff;
	--tv-widget-text-secondary-color: rgba(255, 255, 255, 0.75);
	--tv-widget-scales-font-color: rgba(255, 255, 255, 0.75);
	--tv-widget-positive-color: #E6FC70;
	--tv-widget-negative-color: #E6FC70;
	--tv-widget-positive-line-color: #E6FC70;
	--tv-widget-negative-line-color: #E6FC70;
	--tv-widget-positive-area-top-color: rgba(230, 252, 112, 0.3);
	--tv-widget-negative-area-top-color: rgba(230, 252, 112, 0.3);
	--tv-widget-positive-area-bottom-color: rgba(230, 252, 112, 0);
	--tv-widget-negative-area-bottom-color: rgba(230, 252, 112, 0);
	--tv-widget-chart-line-width: 2px;
}

#section-market-explorer.is-wc tv-mini-chart {
	display: block;
	width: 100%;
	height: 100%;
}

#section-market-explorer .tradingview-widget-container__widget {
	width: 100%;
	height: calc(100% - 32px);
}

#section-market-explorer .tradingview-widget-copyright {
	height: 32px;
	padding: 5px;
	color: #6b7280;
	font-size: 12px;
	text-align: center;
}

#section-market-explorer .tradingview-widget-copyright a {
	color: #2962ff;
}

#section-market-explorer .market-chart-message {
	position: absolute;
	inset: 0;
	z-index: 3;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.85rem;
	padding: 1.5rem;
	background: #4535FE;
	color: #fff;
	font-size: 0.875rem;
	line-height: 1.45;
	text-align: center;
}

#section-market-explorer .market-chart-message > * {
	position: relative;
	z-index: 1;
}

#section-market-explorer .market-chart-message.is-loading {
	justify-content: flex-end;
	padding-bottom: 1.25rem;
	font-size: 0.8125rem;
	color: rgba(255, 255, 255, 0.75);
}

#section-market-explorer .market-chart-message.is-loading::before {
	content: '';
	position: absolute;
	inset: 1rem;
	pointer-events: none;
	border-radius: 10px;
	background:
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 120' preserveAspectRatio='none'%3E%3Cpath d='M0,90 L30,75 L60,82 L90,60 L120,68 L150,45 L180,55 L210,35 L240,48 L270,25 L300,32 L300,120 L0,120 Z' fill='%23FFFFFF' fill-opacity='0.18'/%3E%3Cpolyline points='0,90 30,75 60,82 90,60 120,68 150,45 180,55 210,35 240,48 270,25 300,32' fill='none' stroke='%23FFFFFF' stroke-opacity='0.35' stroke-width='2'/%3E%3C/svg%3E") left bottom / 100% 65% no-repeat,
		linear-gradient(rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.22)) 0 0 / 64px 24px no-repeat,
		linear-gradient(rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.22)) 76px 0 / 64px 24px no-repeat,
		linear-gradient(rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.22)) 152px 0 / 64px 24px no-repeat,
		linear-gradient(rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.22)) 0 36px / 36px 20px no-repeat,
		linear-gradient(rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.22)) 44px 36px / 36px 20px no-repeat,
		linear-gradient(rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.22)) 88px 36px / 36px 20px no-repeat,
		linear-gradient(rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.22)) 132px 36px / 36px 20px no-repeat;
	animation: market-chart-pulse 1.4s ease-in-out infinite;
}

@keyframes market-chart-pulse {
	0%, 100% {
		opacity: 1;
	}
	50% {
		opacity: 0.55;
	}
}

#section-market-explorer .market-chart-message[hidden] {
	display: none;
}

#section-market-explorer .market-chart-message button {
	min-height: 36px;
	padding: 0.4rem 0.9rem;
	border: 0;
	border-radius: 999px;
	background: #fff;
	color: #4535FE;
	font-size: 0.8125rem;
	font-weight: 600;
}

#section-market-explorer .market-chart-note {
	margin: 0.85rem 0.15rem 0.35rem;
	color: rgba(255, 255, 255, 0.78);
	font-size: 0.75rem;
	line-height: 1.45;
}

#section-market-explorer .market-chart-footer {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0.85rem;
}

#section-market-explorer .market-chart-footer p {
	margin: 0;
	color: #fff;
	font-size: 0.95rem;
	line-height: 1.4;
}

#section-market-explorer .market-chart-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	align-self: flex-start;
	gap: 0.45rem;
	min-height: 46px;
	padding: 0.7rem 1.05rem;
	border-radius: 10px;
	background: #E6FC70;
	color: #1c1c1c;
	font-size: 0.95rem;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
}

#section-market-explorer .market-chart-cta:hover {
	background: #d8f24a;
	color: #1c1c1c;
}

#section-market-explorer .market-tile:focus-visible,
#section-market-explorer .market-chart-cta:focus-visible,
#section-market-explorer .market-chart-link:focus-visible {
	outline: 2px solid #1c1c1c;
	outline-offset: 3px;
}

#section-market-explorer .market-symbol:focus-visible,
#section-market-explorer .market-period:focus-visible {
	outline: 2px solid #E6FC70;
	outline-offset: 3px;
}

@media (min-width: 768px) {
	#section-market-explorer {
		padding: 4.5rem 0 5.5rem;
	}

	#section-market-explorer .market-grid {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		overflow: visible;
		scroll-snap-type: none;
	}

	#section-market-explorer .market-tile {
		flex: none;
		width: 100%;
		max-width: none;
		scroll-snap-align: none;
	}

	#section-market-explorer .market-chart-panel {
		padding: 1.4rem 1.6rem 1.25rem;
	}

	#section-market-explorer .market-chart-heading {
		flex-direction: row;
		align-items: center;
		gap: 1rem;
	}

	#section-market-explorer .market-chart-stage {
		height: 440px;
	}

	#section-market-explorer .market-chart-footer {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
	}
}

@media (min-width: 1100px) {
	#section-market-explorer .market-grid {
		grid-template-columns: repeat(6, minmax(0, 1fr));
		gap: 0.7rem;
	}

	#section-market-explorer .market-tile {
		min-height: 228px;
		padding: 1.1rem 0.9rem 0.95rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	#section-market-explorer .market-tile {
		transition: none;
	}

	#section-market-explorer [data-widget-host] .tradingview-widget-container {
		transition: none;
	}

	#section-market-explorer .market-chart-stage.is-switching .tradingview-widget-container:not(.is-pending),
	#section-market-explorer .tradingview-widget-container.is-leaving {
		filter: none;
	}

	#section-market-explorer .market-chart-stage.is-switching::before {
		animation: none;
		transform: none;
		width: 100%;
		opacity: 0.6;
	}

	#section-market-explorer .market-chart-message.is-loading::before {
		animation: none;
	}
}
