body.cbc-public-home-active, body.cbc-public-home-active #app,
.cbc-public-home-layout, .cbc-public-home-layout .ant-layout,
.cbc-public-home-layout .ant-pro-basicLayout-content,
.cbc-public-home-layout .ant-pro-grid-content,
.cbc-public-home-layout .basic-route-view-shell { background: #000 !important; }
.cbc-public-home-layout .ant-pro-basicLayout-content { margin: 0 !important; padding: 0 !important; }
.cbc-public-home-layout .ant-pro-grid-content { width: 100%; max-width: none !important; }
.cbc-public-home-layout .basic-route-view-shell { margin: 0 !important; padding: 0 !important; }
.cbc-public-home-layout .ant-pro-global-footer { display: none; }
.cbc-home-header-actions { display: flex !important; align-items: center; gap: 14px; padding-right: 18px; }
.cbc-home-account-link { display: inline-flex; align-items: center; justify-content: center; height: 32px; min-height: 32px; line-height: 32px; padding: 0 18px; border-radius: 3px; background: var(--primary-color, #52c41a); color: #000 !important; font-size: 13px; font-weight: 500; white-space: nowrap; }
.cbc-home-account-link:hover { background: var(--primary-color-hover, #73d13d); }
/* Legacy left drawers need physical anchors when the selected language is RTL. */
body.cbc-public-home-active .ant-drawer-left,
body.cbc-public-home-active .ant-drawer-left .ant-drawer-content-wrapper { left: 0; right: auto; }
.cbc-public-home {
  --home-ink: #f0f0f0;
  --home-accent: var(--primary-color, #52c41a);
  --home-muted: #a3a3a3;
  --home-border: #303030;
  --home-surface: #141414;
  color: var(--home-ink);
  background: #000;
  overflow-x: clip;
  font-family: Bahnschrift, Aptos, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
.cbc-public-home * { box-sizing: border-box; }
.cbc-public-home h1, .cbc-public-home h2, .cbc-public-home h3, .cbc-public-home p { margin: 0; color: inherit; }
.cbc-public-home a { color: inherit; text-decoration: none; }
.cbc-public-home button { font: inherit; cursor: pointer; }
.cbc-public-home button, .cbc-public-home a { -webkit-tap-highlight-color: transparent; }
.cbc-public-home :is(a, button):focus-visible { outline: 3px solid var(--primary-color, #52c41a); outline-offset: 5px; }
.cbc-home-container { width: min(1240px, calc(100% - 112px)); margin: 0 auto; }
.cbc-home-icon { width: 24px; height: 24px; flex-shrink: 0; }
.cbc-home-hero { position: relative; min-height: min(890px, calc(100svh - 64px)); height: max(680px, calc(100svh - 64px)); max-height: 1020px; overflow: hidden; color: #fff; background-color: #000; background-size: cover; background-position: center; }
.cbc-home-hero-video, .cbc-home-hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.cbc-home-hero-video { object-fit: cover; object-position: center; pointer-events: none; }
.cbc-home-hero-shade { background: linear-gradient(90deg, rgba(0, 0, 0, .78) 0%, rgba(0, 0, 0, .48) 36%, rgba(0, 0, 0, .05) 75%), linear-gradient(0deg, rgba(0, 0, 0, .36), transparent 30%); pointer-events: none; }
.cbc-home-hero-inner { position: relative; height: 100%; min-height: inherit; display: flex; align-items: center; padding-top: 15px; padding-bottom: 110px; }
.cbc-home-hero-copy { width: 660px; max-width: 60%; }
.cbc-home-title { font-size: clamp(46px, 4.35vw, 70px); font-weight: 600; line-height: 1.26; letter-spacing: -.04em; }
.cbc-home-intro { max-width: 495px; margin-top: 27px !important; font-size: 18px; line-height: 1.9; color: #ccc !important; }
.cbc-home-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 42px; }
.cbc-home-button { display: inline-flex; align-items: center; justify-content: center; gap: 22px; min-height: 52px; max-width: 100%; padding: 12px 26px; border-radius: 3px; font-size: 15px; font-weight: 600; white-space: normal; text-align: center; overflow-wrap: anywhere; border: 1px solid transparent; transition: background-color .18s, border-color .18s; }
.cbc-home-button .cbc-home-icon { width: 18px; height: 18px; }
.cbc-home-button-gold { color: #000 !important; background: var(--primary-color, #52c41a); }
.cbc-home-button-gold:hover { background: var(--primary-color-hover, #73d13d); color: #000 !important; }
.cbc-home-button-quiet { background: rgba(0, 0, 0, .22); color: #fff; border-color: rgba(255, 255, 255, .36); }
.cbc-home-button-quiet:hover { background: rgba(255, 255, 255, .07); border-color: #fff; }
/* Public market ticker shares the system's dark surfaces and quote colors. */
.cbc-home-market { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; display: flex; align-items: stretch; min-height: 92px; width: 100%; border-top: 1px solid rgba(255, 255, 255, .14); background: rgba(0, 0, 0, .76); overflow: hidden; }
.cbc-home-market-accessibility { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.cbc-home-market-viewport { display: flex; flex: 1; align-items: center; min-width: 0; overflow: hidden; container-type: inline-size; mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 28px), transparent); }
.cbc-home-market-viewport:focus-visible { overflow-x: auto; outline: 2px solid var(--home-accent); outline-offset: -4px; scrollbar-width: thin; scrollbar-color: #434343 #000; mask-image: none; }
.cbc-home-market-track { display: flex; align-items: center; width: max-content; animation: cbc-home-market-scroll 40s linear infinite; }
.cbc-home-market-group { display: flex; flex: 0 0 auto; align-items: center; justify-content: space-around; min-width: 100vw; min-width: 100cqw; gap: 42px; padding-right: 42px; }
.cbc-home-market-item { display: flex; flex: 0 0 auto; align-items: center; gap: 12px; padding: 20px 0; white-space: nowrap; font-size: 14px; }
.cbc-home-market-coin { color: #f0f0f0; font-size: 14px; font-weight: 600; }
.cbc-home-market-pair { color: #8c8c8c; font-size: 11px; }
.cbc-home-market-price { color: #e0e0e0; font-size: 16px; font-weight: 500; font-variant-numeric: tabular-nums; }
.cbc-home-market-change { font-size: 12px; font-weight: 500; font-variant-numeric: tabular-nums; }
.cbc-home-market-change.is-up { color: #73d13d; }
.cbc-home-market-change.is-down { color: #ff7875; }
.cbc-home-market-change.is-flat { color: #a3a3a3; }
.cbc-home-market-message { padding: 20px 24px; color: #a3a3a3; font-size: 13px; }
.cbc-home-market:hover .cbc-home-market-track, .cbc-home-market:focus-within .cbc-home-market-track { animation-play-state: paused; }
@keyframes cbc-home-market-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.cbc-home-section { padding: 116px 0; background: #000; }
.cbc-home-section-title { font-size: clamp(32px, 3vw, 45px); line-height: 1.35; letter-spacing: -.035em; font-weight: 600; }
.cbc-home-section-intro { margin-top: 24px !important; max-width: 430px; color: var(--home-muted) !important; line-height: 1.9; }
.cbc-home-capability-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 90px; align-items: center; }
.cbc-home-feature-list { margin: 32px 0 23px; }
.cbc-home-feature { display: flex; align-items: center; gap: 18px; width: 100%; padding: 19px 12px 19px 0; background: none; border: none; border-bottom: 1px solid var(--home-border); color: #a3a3a3; text-align: left; }
.cbc-home-feature > .cbc-home-icon { width: 16px; height: 16px; margin-left: auto; }
.cbc-home-feature-icon { display: flex; align-self: flex-start; margin-top: 4px; color: #8c8c8c; }
.cbc-home-feature-text { flex: 1; min-width: 0; }
.cbc-home-feature strong { display: block; color: #bfbfbf; font-size: 18px; font-weight: 600; }
.cbc-home-feature-text > span { display: none; max-width: 340px; margin-top: 10px; font-size: 14px; line-height: 1.9; color: var(--home-muted); }
.cbc-home-feature.is-active { color: var(--home-accent); }
.cbc-home-feature.is-active strong { color: #f0f0f0; }
.cbc-home-feature.is-active .cbc-home-feature-icon { color: var(--home-accent); }
.cbc-home-feature.is-active .cbc-home-feature-text > span { display: block; }
.cbc-home-link { display: inline-flex; align-items: center; gap: 15px; padding: 8px 0; color: var(--home-accent) !important; font-size: 14px; font-weight: 600; }
.cbc-home-link .cbc-home-icon { width: 17px; height: 17px; }
.cbc-home-link:hover { color: var(--primary-color-hover, #73d13d) !important; }
.cbc-home-product { padding: 28px 32px 22px; border-radius: 8px; border: 1px solid var(--home-border); background: var(--home-surface); box-shadow: none; }
.cbc-home-product-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 22px; border-bottom: 1px solid var(--home-border); }
.cbc-home-product-brand { font-size: 17px; font-weight: 650; letter-spacing: -.5px; color: #f0f0f0; }
.cbc-home-product-note { font-size: 10px; color: #8c8c8c; }
.cbc-home-product-heading { display: flex; justify-content: space-between; align-items: center; padding-top: 28px; }
.cbc-home-product-caption { font-size: 11px; color: #a3a3a3; }
.cbc-home-product-heading h3 { margin-top: 6px; font-size: 23px; font-weight: 600; color: #f0f0f0; }
.cbc-home-product-mark { width: 42px; height: 42px; display: grid; place-items: center; background: #1f1f1f; color: var(--home-accent); border-radius: 50%; }
.cbc-home-product-chart { margin: 24px 0; }
.cbc-home-product-chart svg { display: block; width: 100%; height: auto; }
.cbc-home-product-row { display: flex; align-items: center; gap: 13px; padding: 13px 0; border-top: 1px solid var(--home-border); font-size: 13px; color: #bfbfbf; }
.cbc-home-product-row-icon { display: inline-flex; color: #8c8c8c; }
.cbc-home-product-row .cbc-home-icon { width: 17px; height: 17px; }
.cbc-home-product-row-line { width: 70px; height: 5px; margin-left: auto; border-radius: 3px; background: #303030; }
.cbc-home-product-row:nth-child(2) .cbc-home-product-row-line { width: 92px; }
.cbc-home-product-row:nth-child(3) .cbc-home-product-row-line { width: 54px; }
.cbc-home-product-bottom { margin-top: 18px !important; padding-top: 17px; border-top: 1px solid var(--home-border); font-size: 11px; line-height: 1.8; color: #8c8c8c !important; }
.cbc-home-workflow { color: #fff; background: #000; border-top: 1px solid var(--home-border); border-bottom: 1px solid var(--home-border); }
.cbc-home-workflow-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 60px; }
.cbc-home-workflow .cbc-home-section-intro { margin: 0 0 6px !important; max-width: 345px; color: var(--home-muted) !important; }
.cbc-home-steps { display: grid; grid-template-columns: repeat(3, 1fr); list-style: none; padding: 0; margin: 66px 0 0; }
.cbc-home-steps li { position: relative; padding: 0 36px 0 32px; border-left: 1px solid var(--home-border); }
.cbc-home-steps li:first-child { padding-left: 0; border-left: none; }
.cbc-home-step-number { display: block; font-size: 15px; color: var(--home-accent); }
.cbc-home-steps h3 { margin-top: 23px; font-size: 23px; font-weight: 500; }
.cbc-home-steps p { max-width: 300px; min-height: 65px; margin-top: 16px; font-size: 14px; line-height: 1.9; color: var(--home-muted); }
.cbc-home-steps .cbc-home-link { margin-top: 24px; color: #d9d9d9 !important; }
.cbc-home-control-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: start; }
.cbc-home-control-list { list-style: none; padding: 0; margin: 0; }
.cbc-home-control-list li { display: flex; align-items: flex-start; gap: 20px; padding: 25px 0; border-bottom: 1px solid var(--home-border); }
.cbc-home-control-list li:first-child { padding-top: 0; }
.cbc-home-control-list h3 { font-size: 18px; font-weight: 600; }
.cbc-home-control-list p { margin-top: 9px; max-width: 370px; font-size: 14px; line-height: 1.9; color: var(--home-muted); }
.cbc-home-check { width: 31px; height: 31px; display: grid; place-items: center; flex-shrink: 0; border: 1px solid #434343; border-radius: 50%; color: var(--home-accent); }
.cbc-home-check .cbc-home-icon { width: 18px; height: 18px; }
.cbc-home-cta { padding: 78px 0; background: #000; border-top: 1px solid var(--home-border); }
.cbc-home-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 45px; }
.cbc-home-cta .cbc-home-section-title { font-size: 38px; }
.cbc-home-cta p { margin-top: 18px; color: var(--home-muted); font-size: 14px; }
.cbc-home-button-dark { background: var(--home-accent); color: #000 !important; padding: 17px 32px; flex-shrink: 0; }
.cbc-home-button-dark:hover { background: var(--primary-color-hover, #73d13d); }
.cbc-home-footer { padding: 54px 0 24px; background: #000; color: #bfbfbf; }
.cbc-home-footer-top { display: flex; justify-content: space-between; gap: 36px; padding-bottom: 42px; }
.cbc-home-footer-logo { display: inline-block; }
.cbc-home-footer-logo img { display: block; width: 164px; height: auto; object-fit: contain; }
.cbc-home-footer-top p { margin-top: 14px; font-size: 12px; color: #8c8c8c; }
.cbc-home-footer nav { display: flex; gap: 38px; align-items: flex-start; padding-top: 8px; font-size: 13px; }
.cbc-home-footer a:hover { color: #fff; }
.cbc-home-footer-bottom { display: flex; align-items: flex-start; justify-content: space-between; gap: 32px; padding-top: 22px; border-top: 1px solid var(--home-border); font-size: 10px; color: #8c8c8c; }
.cbc-home-footer-bottom p { max-width: 590px; line-height: 1.8; }
.cbc-home-title, .cbc-home-section-title { overflow-wrap: break-word; hyphens: auto; }
.cbc-public-home[dir="rtl"] { font-family: "Segoe UI", Tahoma, Arial, sans-serif; }
.cbc-public-home[dir="rtl"] .cbc-home-title, .cbc-public-home[dir="rtl"] .cbc-home-section-title { letter-spacing: normal; }
.cbc-public-home[dir="rtl"] .cbc-home-hero-shade { background: linear-gradient(270deg, rgba(0, 0, 0, .78) 0%, rgba(0, 0, 0, .48) 36%, rgba(0, 0, 0, .05) 75%), linear-gradient(0deg, rgba(0, 0, 0, .36), transparent 30%); }
.cbc-public-home[dir="rtl"] .cbc-home-feature { padding: 19px 0 19px 12px; text-align: right; }
.cbc-public-home[dir="rtl"] .cbc-home-feature > .cbc-home-icon { margin-left: 0; margin-right: auto; transform: rotate(180deg); }
.cbc-public-home[dir="rtl"] .cbc-home-product-row-line { margin-left: 0; margin-right: auto; }
.cbc-public-home[dir="rtl"] .cbc-home-link > .cbc-home-icon, .cbc-public-home[dir="rtl"] .cbc-home-button > .cbc-home-icon { transform: rotate(180deg); }
.cbc-public-home[dir="rtl"] .cbc-home-steps li { padding: 0 32px 0 36px; border-left: 0; border-right: 1px solid var(--home-border); }
.cbc-public-home[dir="rtl"] .cbc-home-steps li:first-child { padding-right: 0; border-right: 0; }
@media (min-width: 1800px) { .cbc-home-container { width: min(1380px, calc(100% - 160px)); } }
@media (max-width: 1150px) {
  .cbc-home-container { width: calc(100% - 80px); }
  .cbc-home-capability-grid { gap: 45px; }
  .cbc-home-product { padding: 23px; }
  .cbc-home-control-grid { gap: 60px; }
}
@media (max-width: 820px) {
  .cbc-home-container { width: calc(100% - 48px); }
  .cbc-home-market-group { gap: 30px; padding-right: 30px; }
  .cbc-home-hero { height: max(690px, calc(100svh - 64px)); max-height: 880px; }
  .cbc-home-hero-copy { max-width: 80%; }
  .cbc-home-title { font-size: 51px; }
  .cbc-home-intro { font-size: 16px; max-width: 430px; }
  .cbc-home-section { padding: 78px 0; }
  .cbc-home-capability-grid { grid-template-columns: 1fr; gap: 44px; }
  .cbc-home-capability-copy { max-width: 600px; }
  .cbc-home-section-intro { max-width: 520px; }
  .cbc-home-feature-text > span { max-width: 500px; }
  .cbc-home-product { max-width: 600px; width: 100%; justify-self: center; }
  .cbc-home-workflow-heading { display: block; }
  .cbc-home-workflow .cbc-home-section-intro { margin-top: 24px !important; max-width: 510px; }
  .cbc-home-steps { margin-top: 42px; }
  .cbc-home-steps li { padding-right: 20px; padding-left: 20px; }
  .cbc-public-home[dir="rtl"] .cbc-home-steps li { padding-right: 20px; padding-left: 20px; }
  .cbc-public-home[dir="rtl"] .cbc-home-steps li:first-child { padding-right: 0; }
  .cbc-home-steps h3 { font-size: 20px; }
  .cbc-home-steps p { min-height: 100px; }
  .cbc-home-control-grid { gap: 40px; grid-template-columns: .9fr 1.1fr; }
  .cbc-home-cta .cbc-home-section-title { font-size: 33px; }
  .cbc-home-cta-inner { gap: 28px; }
}
@media (max-width: 767px) {
  .cbc-public-home-layout .ant-pro-global-header-logo {
    display: block !important;
    width: 112px;
    min-width: 112px;
    height: 34px;
    background: url('/assets/cbc-quant-logo-2b72247a.png') center / contain no-repeat;
  }
  .cbc-home-header-actions { gap: 5px; padding-right: 10px; }
  .cbc-home-account-link { padding: 0 12px; font-size: 12px; }
}
@media (max-width: 560px) {
  .cbc-home-container { width: calc(100% - 40px); }
  .cbc-home-market { min-height: 80px; }
  .cbc-home-market-group { gap: 24px; padding-right: 24px; }
  .cbc-home-market-item { gap: 8px; }
  .cbc-home-market-coin { font-size: 13px; }
  .cbc-home-market-price { font-size: 14px; }
  .cbc-home-market-pair, .cbc-home-market-change { font-size: 11px; }
  .cbc-home-hero { min-height: 650px; height: calc(100svh - 64px); max-height: 860px; }
  .cbc-home-hero-video { object-position: 64% center; opacity: .84; }
  .cbc-home-hero-shade { background: linear-gradient(90deg, rgba(0, 0, 0, .76), rgba(0, 0, 0, .28)), linear-gradient(0deg, rgba(0, 0, 0, .46), transparent 40%); }
  .cbc-home-hero-inner { align-items: center; padding-top: 0; padding-bottom: 104px; }
  .cbc-home-hero-copy { width: 100%; max-width: 100%; }
  .cbc-home-title { font-size: clamp(34px, 8.6vw, 46px); line-height: 1.35; letter-spacing: -.05em; }
  .cbc-home-intro { max-width: 330px; margin-top: 24px !important; font-size: 15px; line-height: 1.95; }
  .cbc-home-actions { margin-top: 34px; gap: 12px; }
  .cbc-home-button { min-height: 48px; padding: 11px 12px; font-size: 12px; gap: 10px; }
  .cbc-home-scroll { font-size: 10px !important; gap: 10px; }
  .cbc-home-section { padding: 62px 0; }
  .cbc-home-section-title { font-size: 33px; }
  .cbc-home-section-intro { margin-top: 20px !important; font-size: 14px; }
  .cbc-home-feature { gap: 14px; }
  .cbc-home-feature strong { font-size: 17px; }
  .cbc-home-feature-text > span { font-size: 13px; }
  .cbc-home-product { padding: 22px 20px 18px; }
  .cbc-home-product-heading h3 { font-size: 21px; }
  .cbc-home-product-note { font-size: 9px; }
  .cbc-home-product-bottom { font-size: 10px; }
  .cbc-home-steps { grid-template-columns: 1fr; margin-top: 38px; gap: 28px; }
  .cbc-home-steps li, .cbc-home-steps li:first-child { padding: 0 0 26px 44px; border-left: 0; border-bottom: 1px solid var(--home-border); }
  .cbc-home-steps li:last-child { border-bottom: 0; padding-bottom: 0; }
  .cbc-home-step-number { position: absolute; top: 2px; left: 0; }
  .cbc-home-steps h3 { margin-top: 0; font-size: 22px; }
  .cbc-home-steps p { min-height: 0; max-width: none; margin-top: 13px; font-size: 13px; }
  .cbc-home-steps .cbc-home-link { margin-top: 15px; }
  .cbc-home-control-grid { grid-template-columns: 1fr; gap: 35px; }
  .cbc-home-control-list h3 { font-size: 17px; }
  .cbc-home-control-list p { font-size: 13px; }
  .cbc-home-control-list li { gap: 15px; }
  .cbc-home-cta { padding: 49px 0; }
  .cbc-home-cta-inner { display: block; }
  .cbc-home-cta .cbc-home-button { margin-top: 28px; }
  .cbc-home-cta p { max-width: 310px; font-size: 13px; }
  .cbc-home-footer { padding-top: 40px; }
  .cbc-home-footer-top { flex-direction: column; gap: 24px; padding-bottom: 30px; }
  .cbc-home-footer nav { gap: 28px; font-size: 12px; }
  .cbc-home-footer-bottom { flex-direction: column; gap: 14px; }
  .cbc-public-home[dir="rtl"] .cbc-home-hero-shade { background: linear-gradient(270deg, rgba(0, 0, 0, .76), rgba(0, 0, 0, .28)), linear-gradient(0deg, rgba(0, 0, 0, .46), transparent 40%); }
  .cbc-public-home[dir="rtl"] .cbc-home-steps li, .cbc-public-home[dir="rtl"] .cbc-home-steps li:first-child { padding: 0 44px 26px 0; border-right: 0; }
  .cbc-public-home[dir="rtl"] .cbc-home-steps li:last-child { padding-bottom: 0; }
  .cbc-public-home[dir="rtl"] .cbc-home-step-number { left: auto; right: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .cbc-public-home *, .cbc-public-home *::before, .cbc-public-home *::after { scroll-behavior: auto !important; transition: none !important; }
  .cbc-home-market-track { animation: none; }
  .cbc-home-market-viewport { overflow-x: auto; scrollbar-width: thin; scrollbar-color: #434343 #000; mask-image: none; }
  .cbc-home-market-group[aria-hidden="true"] { display: none; }
}
