@import url("languages/fonts/roboto-regular.css?v=2c7593fb353e");

/* Shared typography, dividers and interactive colors for Markets and Trade. */
.market-trade-page {
  --market-green: #32FFB5;
  --market-orange: #FF7332;
  --action-color: var(--market-green);
  --action-hover: color-mix(in srgb, var(--action-color) 84%, black);
  --ink: #fff;
  --quiet: rgb(255 255 255 / 72%);
  --muted: rgb(255 255 255 / 62%);
  --line: rgba(255, 255, 255, 0.15);
  --surface: rgb(255 255 255 / 6%);
  --lav: rgb(255 255 255 / 8%);
  --wash: #101010;
  --mint: #fff;
  --purple: var(--action-color);
  color: var(--ink);
}
/* Use the existing script fonts only for glyphs Roboto does not provide. */
.market-trade-page {
  --market-fallback: "AFT Noto", sans-serif;
}
.market-trade-page:lang(zh), .market-trade-page [lang]:lang(zh) {
  --market-fallback: "Alibaba PuHuiTi 3.0", "PingFang SC", "Microsoft YaHei", sans-serif;
}
.market-trade-page:lang(ja), .market-trade-page [lang]:lang(ja) {
  --market-fallback: "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
}
.market-trade-page:lang(ko), .market-trade-page [lang]:lang(ko) {
  --market-fallback: "Noto Sans KR", "Apple SD Gothic Neo", sans-serif;
}
/* The shared site, archived profiles and form controls each set their own fonts. */
body.market-trade-page,
body.market-trade-page *,
body.market-trade-page *::before,
body.market-trade-page *::after,
body.market-trade-page *::marker,
body.market-trade-page ::placeholder {
  font-family: Roboto, var(--market-fallback) !important;
  font-weight: 400 !important;
}
.market-trade-page ::selection {color: #fff; background: #555;}
.market-trade-page .skip {background: #111; color: #fff;}
.market-trade-page :focus-visible {outline-color: #fff;}
.market-trade-page main :is(h2,h3,h4) { color: #fff;}
.market-trade-page main h1 {
  font-size: 72px;
  overflow-wrap: anywhere;
  color: #fff;
}
.market-trade-page .forex-banner {
  height: auto;
  min-height: 900px;
  grid-template-columns: minmax(0, 1fr);
}
.market-trade-page main :is(.lead,.section-lead,.stamp,.section-label,.kicker,.fine) {font-weight: 400;}
.market-trade-page main :is(.lead,.section-lead,.stamp) {color: #fff;}
.market-trade-page :is(.subhero,.compare-intro) {background: #0c0c0c; border-color: var(--line);}
.market-trade-page .compare-intro img, .market-trade-page .subhero .visual {background: #141414;}
.market-trade-page .subhero .instrument-visual,
.market-trade-page .subhero .account-visual {background: radial-gradient(ellipse at 58% 48%, #292929, #101010 68%);}
.market-trade-page .instrument-visual::before {
  background: repeating-linear-gradient(0deg,transparent 0 38px,var(--line) 39px 40px),
              repeating-linear-gradient(90deg,transparent 0 38px,var(--line) 39px 40px);
}
.market-trade-page .photo-visual::after {background: linear-gradient(90deg,#0009,transparent 45%);}
.market-trade-page .account-visual span, .market-trade-page .metal-type {
  background: none; color: rgb(255 255 255 / 88%); -webkit-text-fill-color: currentColor;
}
.market-trade-page .section-label::before {background: var(--line);}
.market-trade-page main :is(.entries > div,.answer,.section,.scroll-table,table,th,td,.contents,.account-facts,.account-explorer,.strategy-record) {border-color: var(--line);}
.market-trade-page main thead th, .market-trade-page .account-matrix .current-account {background: var(--lav);}
.market-trade-page main tbody td {color: rgb(255 255 255 / 88%);}
.market-trade-page main :is(.workbox,[data-compare],.account-facts,.switches button[aria-pressed=true],.steps li::before) {background: var(--surface); border-color: var(--line);}
.market-trade-page .guide-section .steps li::before {color: var(--ink); background: var(--surface); border-color: var(--line);}
.market-trade-page main :is(input,select,textarea,button,.button) {
  color: var(--ink); background-color: #181818; border-color: var(--line);
}
.market-trade-page main .button::after {color: #fff;}
.market-trade-page main :is(a:not(.button),summary,.switches button), .market-trade-page .auth .login {color: var(--action-color);}
.market-trade-page footer .foot-top a {color: color-mix(in srgb, var(--action-color) 78%, transparent);}
.market-trade-page main .contents a:not([aria-current]) {color: var(--quiet);}
.market-trade-page main .contents a[aria-current] {color: #fff; border-bottom-color: rgb(255 255 255 / 65%);}
.market-trade-page main :is(button:not(:disabled),.button):is(:hover,:focus-visible) {
  color: var(--action-color); background: #171717; border-color: var(--action-color);
}
.market-trade-page main .contents a:is(:hover,:focus-visible),
.market-trade-page main a:is(:hover,:focus-visible), .market-trade-page main summary:is(:hover,:focus-visible),
.market-trade-page footer :is(a,summary):is(:hover,:focus-visible) {color: var(--action-color);}
.market-trade-page .handoff:not([hidden]), .market-trade-page .handoff pre {
  background: #171717; border-color: var(--line); color: var(--ink);
}
.market-trade-page .field-error {color: #fff;}
.market-trade-page .enquiry [aria-invalid=true] {border-color: #fff; box-shadow: inset 3px 0 #fff;}
.market-trade-page footer {
  color: var(--ink);
  border-color: var(--line);
  container-type: inline-size;
}
.market-trade-page footer p.risk {
  --warning-width: min(1280px, max(100%, 100cqi - 48px));
  width: var(--warning-width);
  max-width: none;
  margin-inline: calc((100% - var(--warning-width)) / 2);
}
.market-trade-page footer a {color: var(--quiet);}
.market-trade-page footer .footer-utility-row {
  display: flex;
  flex-flow: row wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  direction: ltr;
}
.market-trade-page footer .footer-utility-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: baseline;
  gap: 12px 24px;
  max-width: 100%;
}
.market-trade-page footer .footer-utility-links a {
  color: rgb(255 255 255 / 60%);
}
.market-trade-page footer .footer-utility-links a:is(:hover, :focus-visible) {
  color: var(--action-color);
}
.market-trade-page footer .foot-top img, .market-trade-page #site-masthead .bar .brand img {background: var(--action-color);}
.market-trade-page #site-masthead {
  --nav-text: rgb(255 255 255 / 88%);
  --nav-secondary: var(--quiet);
  --nav-hover: var(--action-color);
  --nav-rim: var(--line);
  color: var(--nav-text);
}
.market-trade-page #site-masthead .bar .login {color: var(--action-color);}
.market-trade-page #site-masthead .auth .button.small {
  color: #fff; background: rgb(255 255 255 / 12%); border-color: rgb(255 255 255 / 34%);
}
.market-trade-page #site-masthead .auth .button.small:is(:hover,:focus-visible) {
  color: var(--action-color); background: transparent; border-color: var(--action-color);
}
.market-trade-page #main-nav .nav-column-title {color: #fff;}
.market-trade-page #main-nav .nav-shortcut a {color: var(--action-color);}
.market-trade-page #main-nav .nav-status {color: var(--muted);}
.market-trade-page #main-nav > .navgroup, .market-trade-page #main-nav .nav-wide .nav-column + .nav-column {border-color: var(--line);}
.market-trade-page #site-masthead :focus-visible, .market-trade-page #site-masthead #main-nav :focus-visible {outline-color: #fff;}
.market-trade-page #site-masthead :is(summary,a):active {background: rgb(255 255 255 / 10%);}
.market-trade-page .language-picker img {filter: grayscale(1); box-shadow: 0 0 0 1px var(--line);}

/* Trader and fund-manager profiles use the archived profile layout. */
.market-trade-page :is(.pm-main,.ctd-main) {
  background: #000; color: var(--ink); color-scheme: dark;
}
.market-trade-page :is(.pm-main,.ctd-main) :is(section,aside,div,dd,dt,li,button,select,summary,table,th,td,span,hr) {
  border-color: var(--line);
}
.market-trade-page :is(.pm-panel,.ctd-box,.ctd-chart-unavailable) {background: #0c0c0c;}
.market-trade-page :is(.pm-main,.ctd-main) :is(span,dt,p,small,label,time,option) {color: var(--quiet);}
.market-trade-page :is(.pm-meta,.ctd-profile-meta,.pm-profile-note,.ctd-updated-note,.pm-risk,.ctd-risk) {font-weight: 400; color: var(--quiet);}
.market-trade-page :is(.pm-main,.ctd-main) :is(h1,h2,h3,b,strong,dd) {color: var(--ink);}
.market-trade-page :is(.pm-main,.ctd-main) :is(.pm-highlight-pair strong,.pm-period-values b,.ctd-positive) {color: var(--market-green);}
.market-trade-page :is(.pm-main,.ctd-main) :is(strong.pm-negative,b.pm-negative,.ctd-negative) {color: var(--market-orange);}
.market-trade-page :is(.ctd-win-fill,.ctd-legend-win) {background-color: var(--market-green);}
.market-trade-page :is(.ctd-loss-fill,.ctd-legend-loss) {background-color: var(--market-orange);}
.market-trade-page :is(.pm-main,.ctd-main) :is(button:enabled,a) {color: var(--action-color);}
.market-trade-page :is(.pm-main,.ctd-main) a.ctd-copy {background: #191919; color: var(--action-color);}
.market-trade-page :is(.pm-main,.ctd-main) :is(button:enabled,a):is(:hover,:focus-visible) {color: var(--action-color); border-color: var(--action-color);}
.market-trade-page :is(.pm-sidebar-divider,.ctd-divider) {background: var(--line);}
.market-trade-page .recharts-cartesian-grid line {stroke: var(--line);}
.market-trade-page .recharts-default-tooltip {border-color: var(--line) !important;}
.market-trade-page .recharts-text {fill: var(--quiet);}

.market-trade-page #site-masthead.cmc-header {box-shadow: inset 0 -1px var(--line) !important;}
.market-trade-page #site-masthead.cmc-header > .site-container :is(a,button,select) {color: var(--nav-text) !important;}
.market-trade-page #site-masthead.cmc-header > .site-container select {background: var(--nav-surface); border-color: var(--line);}
.market-trade-page #site-masthead.cmc-header > .site-container a[href*="registration"] {
  color: #fff !important; background: var(--lav) !important; border-color: rgb(255 255 255 / 34%) !important;
}
.market-trade-page #site-masthead.cmc-header > .site-container a[href*="login"] {color: var(--action-color) !important;}
.market-trade-page #site-masthead.cmc-header > .site-container :is(a,button,select):is(:hover,:focus-visible) {
  color: var(--action-color) !important;
}
.market-trade-page .aft-footer-dark :is(p,h2,strong) {color: var(--quiet) !important;}
.market-trade-page .aft-footer-dark [data-footer-title] {color: #fff !important;}
.market-trade-page .aft-footer-dark #company-disclosures {border-color: var(--line);}

/* Markets and Trade use a 2px type scale and 150% leading. */
body.market-trade-page,
body.market-trade-page *,
body.market-trade-page *::before,
body.market-trade-page *::after,
body.market-trade-page *::marker,
body.market-trade-page ::placeholder {
  line-height: 1.5 !important;
}
body.market-trade-page { font-size: 16px; }
.market-trade-page :is(small, sub, sup) { font-size: round(nearest, .8em, 2px); }
.market-trade-page main h1 { font-size: 72px !important; }
.market-trade-page.feature-page h2 { font-size: round(nearest, clamp(1.65rem, 3vw, 2.65rem), 2px); }
.market-trade-page.feature-page h3 { font-size: round(nearest, clamp(1.15rem, 2vw, 1.55rem), 2px); }
.market-trade-page.feature-page .section-content > h2 { font-size: round(nearest, clamp(2.05rem, 3.15vw, 3.9rem), 2px); }
.market-trade-page.feature-page .guide-heading h2 { font-size: round(nearest, clamp(2rem, 3.4vw, 4.2rem), 2px); }
.market-trade-page .account-facts h3 { font-size: round(nearest, clamp(2rem, 3vw, 3rem), 2px); }
.market-trade-page .account-visual span { font-size: round(nearest, clamp(6rem, 13vw, 14rem), 2px); }
.market-trade-page .lead { font-size: round(nearest, clamp(1.06rem, 1.5vw, 1.3rem), 2px); }
.market-trade-page .subhero .lead { font-size: round(nearest, clamp(1rem, 1.22vw, 1.25rem), 2px); }
.market-trade-page .section-lead, .market-trade-page .strategy-record dd { font-size: 18px; }
.market-trade-page .forex-banner p { font-size: round(nearest, clamp(1rem, 1.25vw, 1.2rem), 2px); }
.market-trade-page.forex-page #s3 h2 { font-size: round(down, min(clamp(1.8rem, 3.15vw, 3.9rem), var(--heading-fit)), 2px); }
.market-trade-page.forex-page #s2 .entries dt { font-size: round(nearest, clamp(20px, 1.4vw, 24px), 2px); }
.market-trade-page.feature-page :is(.section-label,.kicker,.stamp,.fine,.utility,.account-facts dt,.strategy-record dt,.field-error,.fee-pair small,.record small,.reading small,label,.footlinks a) { font-size: 14px; }
.market-trade-page.feature-page table { font-size: 16px; }
.market-trade-page.feature-page footer .risk { font-size: 16px; }
.market-trade-page.feature-page footer .answer p { font-size: 14px; }
.market-trade-page #site-masthead .auth { font-size: round(nearest, clamp(.84rem, .84vw, 1.12rem), 2px); }
.market-trade-page #site-masthead nav#main-nav { font-size: round(nearest, clamp(.86rem, .86vw, 1.18rem), 2px); }
.market-trade-page #site-masthead :is(.auth .login,.auth .button.small,.bar .menubtn,#main-nav .nav-column-title,#main-nav .nav-planned li) { font-size: 14px; }
.market-trade-page #site-masthead :is(.language-choice,#main-nav .nav-column a,#main-nav .nav-shortcut a) { font-size: 16px; }
.market-trade-page #site-masthead :is(.language-choice small,#main-nav .nav-status) { font-size: 12px; }
.market-trade-page .auth .button::after { font-size: inherit; }
@container masthead (min-width: 56rem) {
  .market-trade-page #site-masthead #main-nav > .navlink { font-size: round(nearest, clamp(.8rem, .92vw, .94rem), 2px); }
  .market-trade-page #site-masthead #main-nav > .navgroup > summary { font-size: round(nearest, clamp(.8rem, .92vw, .94rem), 2px); }
}
@media (max-width: 670px) {
  .market-trade-page.feature-page .section-content > h2 { font-size: round(nearest, clamp(1.8rem, 7vw, 2.3rem), 2px); }
  .market-trade-page .subhero .lead { font-size: 16px; }
}
/* Archived trader profiles have their own utilities and chart labels. */
.market-trade-page :is(.aft-halloween-menu-badge,.aft-menu-live,.aft-menu-pending small) { font-size: 10px !important; }
.market-trade-page :is(.aft-halloween-menu-description,.text-\[11px\],.ctd-segment button,.pm-period-values small,.recharts-tooltip-label,.aft-footer-dark .footer-utility-row,#mirror-dialog small) { font-size: 12px !important; }
.market-trade-page :is(.text-\[13px\],.aft-menu-mobile-shortcuts > a,.pamm-performance-notice,.ctd-profile-meta,.ctd-heading .ct-select-trigger,.ctd-highlight span,.ctd-win-loss-labels,.ctd-chart-unavailable,#mirror-nav) { font-size: 14px !important; }
.market-trade-page :is(.text-\[15px\],.aft-halloween-menu-title) { font-size: 16px !important; }
.market-trade-page .text-\[17px\] { font-size: 18px !important; }
.market-trade-page .ctd-highlight strong { font-size: 20px; }
@media (max-width: 1000px) {
  .market-trade-page .ctd-stats > div { font-size: 14px; }
}
@media (max-width: 760px) {
  .market-trade-page .pm-tabs button { font-size: 14px; }
  .market-trade-page .pm-meta { font-size: 12px; }
}
.market-trade-page .contents a { font-size: 14px; }
.market-trade-page .aft-footer-dark .footer-disclosures,
.market-trade-page .aft-footer-dark .footer-disclosures :is(h2,p,a,strong) { font-size: 14px !important; }
.market-trade-page .recharts-cartesian-axis-tick-value tspan { font-size: 12px; }
@media (min-width: 1024px) and (max-width: 1400px) {
  .market-trade-page header.cmc-header nav button { font-size: 14px !important; }
}
/* Let single-line selects honor leading while retaining a visible dropdown arrow. */
.market-trade-page select:not([multiple]):not([size]) {
  appearance: none;
  padding-inline-end: 2em;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='m1 1 4 4 4-4' fill='none' stroke='%23fff' stroke-opacity='.8'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 10px 6px;
  background-position: right .65em center;
}
.market-trade-page:dir(rtl) select:not([multiple]):not([size]) { background-position: left .65em center; }

.forex-page #s4 .tool-visual img { filter: grayscale(1); }
