:root:not(.theme-dark) {
  --tv-color-platform-background: #ffffff;
  --tv-color-pane-background: #ffffff;
  --tv-color-pane-background-secondary: rgb(250, 250, 250);
  --tv-color-toolbar-button-background-hover: rgb(240, 243, 250);
  --tv-color-toolbar-button-background-secondary-hover: rgb(240, 243, 250);
  --tv-color-toolbar-button-background-expanded: rgb(240, 243, 250);
  --tv-color-toolbar-button-text: rgb(19, 23, 34);
  --tv-color-toolbar-button-text-hover: black;
  --tv-color-toolbar-button-text-active: #02B7CF;
  --tv-color-toolbar-button-text-active-hover: #02B7CF;
  --tv-color-item-active-text: #FB4755;
  --tv-color-toolbar-toggle-button-background-active: #02B7CF;
  --tv-color-toolbar-toggle-button-background-active-hover: #02B7CF;
}

.theme-dark:root {
  --tv-color-platform-background: #151517;
  --tv-color-pane-background: #151517;
  --tv-color-pane-background-secondary: rgb(25, 25, 30);
  --tv-color-toolbar-button-background-hover: rgb(42, 46, 57);
  --tv-color-toolbar-button-background-secondary-hover: rgb(42, 46, 57);
  --tv-color-toolbar-button-background-expanded: rgb(42, 46, 57);
  --tv-color-toolbar-button-text: rgb(120, 123, 134);
  --tv-color-toolbar-button-text-hover: rgb(134, 137, 147);
  --tv-color-toolbar-button-text-active: #02B7CF;
  --tv-color-toolbar-button-text-active-hover: #02B7CF;
  --tv-color-item-active-text: #FB4755;
  --tv-color-toolbar-toggle-button-background-active: #02B7CF;
  --tv-color-toolbar-toggle-button-background-active-hover: #02B7CF;
}

body {
  font-family: HarmonyOS_Sans_Regular, DIN, Chinese Quote, -apple-system, BlinkMacSystemFont, Segoe UI, PingFang SC,
    Hiragino Sans GB, Microsoft YaHei, Helvetica Neue, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji,
    Segoe UI Symbol, DIN, Chinese Quote, -apple-system, BlinkMacSystemFont, Segoe UI, PingFang SC, Hiragino Sans GB,
    Microsoft YaHei, Helvetica Neue, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol !important;
}

.sources-6Hp4M7li {
  flex-direction: row !important;
  flex-wrap: wrap;
}

.dateRangeWrapper-2yU8ifXU .sliderRow-1emAA4_D,
.dateRangeWrapper-2yU8ifXU .separator-13-1nlsQ {
  display: none;
}

/*theme*/
.theme-light .js-rootresizer__contents {
  background-color: #fff !important;
}

.theme-dark .js-rootresizer__contents {
  background-color: #151517 !important;
}

.theme-light .chart-controls-bar {
  background-color: #fff !important;
}

.theme-dark .chart-controls-bar {
  background-color: #151517 !important;
}

.theme-light .group-2_so5thS {
  background-color: #fff !important;
}

.theme-dark .group-2_so5thS {
  background-color: #151517 !important;
}

.theme-light .content-379NmUSU {
  background-color: #fff !important;
}

.theme-dark .content-379NmUSU {
  background-color: #151517 !important;
}

/**/
.dateRangeWrapper-2yU8ifXU .sliderRow-1emAA4_D,
.dateRangeWrapper-2yU8ifXU .separator-13-1nlsQ {
  display: none;
}

/* 覆盖工具栏图标点击后字体颜色  */
:root:not(.theme-dark) .group-2_so5thS {
  --tv-color-item-active-text: #ffffff;
}
.theme-dark .group-2_so5thS {
  --tv-color-item-active-text: #ffffff;
}

/* 覆盖切换工具栏显示隐藏icon样式（保持和现货一样） */
:root:not(.theme-dark) .drawingToolbar-2_so5thS [data-name="toolbar-drawing-toggle-button"] {
  --tv-color-platform-background: #e0e3eb;
}
.theme-dark .drawingToolbar-2_so5thS [data-name="toolbar-drawing-toggle-button"] {
  --tv-color-platform-background: #2a2e39;
}

/* 覆盖左上角K线信息字体大小 */
.series-1WIwNaDF .titleWrapper-1WIwNaDF {
  font-size: 12px !important;
}

.series-1WIwNaDF .titleWrapper-1WIwNaDF .title-1WIwNaDF.withDot-1WIwNaDF:not(:first-child):before {
  font-size: 12px !important
}

.button-2Vpz_LXc.isInteractive-2Vpz_LXc.isActive-2Vpz_LXc {
  color: #0891b2 !important
}
