/* HeroChart service theme. Load after the original service CSS and herochart.js.
 * Original site CSS, fonts, images and CSS variables remain in use.
 * valueline: .herochart-negative → .herochart-point-negative and .herochart-color-0 dropped , tooltip star images .herochart-tooltip img (engine class names and tooltip markup; 2026-11-17). */
.herochart-tooltip img {
  display: inline-block;
  padding: 3px 2px 0;
}
.valueline #wrap #container .btm_layBox .left .market_box .line_swbox .treemap_style text .herochart-br,
.valueline #wrap #container .btm_layBox .left .market_box .line_swbox .treemap_style a .herochart-br {
  background-color: red;
}
#container .M_right .contents.sub_con .summary_Box .mid .left .chart_box .BICchart_style .herochart-button-box {
  cursor: pointer;
  flex: 1;
  padding: 8px 0;
  border-bottom: 1px solid #000;
  font-size: 13px;
  letter-spacing: -0.65px;
  text-align: center;
  color: #222;
}
#container .M_right .contents.sub_con .summary_Box .mid .left .chart_box .BICchart_style .herochart-navigator-xaxis {
  font-size: 0;
  opacity: 0;
}
#container .M_right .contents.sub_con .summary_Box .mid .left .chart_box .BICchart_style .herochart-series-label text {
  font-size: 0 !important;
}
#container .M_right .contents.sub_con .summary_Box .mid .left .chart_box .BICchart_style .herochart-input-group,
#container .M_right .contents.sub_con .summary_Box .mid .left .chart_box .BICchart_style .herochart-navigator {
  display: none;
}
#container .M_right .contents.sub_con .summary_Box .mid .left .chart_box .BICchart_style .herochart-range-selector-group .herochart-label {
  display: none !important;
  font-size: 0 !important;
}
#container .M_right .contents.sub_con .summary_Box .mid .left .chart_box .BICchart_style .herochart-point-up {
  fill: rgb(252, 79, 79);
  stroke: rgb(252, 79, 79);
}
#container .M_right .contents.sub_con .summary_Box .mid .left .chart_box .BICchart_style .herochart-point-down,
#container .M_right .contents.sub_con .summary_Box .mid .left .chart_box .BICchart_style .herochart-point-down-bearish-up {
  fill: rgb(54, 85, 214);
  stroke: rgb(54, 85, 214);
}
#container .M_right .contents.sub_con .summary_Box .mid .right .chart_box .financials_style .herochart-label text,
#container .M_right .contents.sub_con .summary_Box .mid .right .chart_box .financials_style .herochart-label tspan {
  font-size: 12px !important;
  color: #707070 !important;
  fill: #707070 !important;
  font-weight: normal !important;
  text-shadow: none;
  stroke-width: 0;
}
#container .M_right .contents.sub_con .summary_Box .mid .right .chart_box .financials_style rect.herochart-point {
  fill: #3655d6;
  background: #3655d6;
  stroke-width: 0;
}
#container .M_right .contents.sub_con .summary_Box .mid .right .chart_box .financials_style rect.herochart-point.point_color {
  fill: #dbdfed !important;
  background: #dbdfed !important;
}
#container .M_right .contents.sub_con .summary_Box .mid .right .chart_box .financials_style .herochart-point.herochart-point-negative {
  fill: rgba(0, 147, 255, 0.35);
  background: rgba(0, 147, 255, 0.35);
}
#container .M_right .contents .bic_chartbox .chart_line .con_box .left .chart_BIC .BICchart_style .herochart-title {
  font-family: "Spoqa Han Sans Neo";
  font-size: 17px !important;
  font-weight: 700;
  letter-spacing: -0.85px;
  text-align: center;
  color: #222 !important;
  fill: #222 !important;
}
#container .M_right .contents .bic_chartbox .chart_line .con_box .left .chart_BIC .BICchart_style .herochart-title tspan {
  font-size: 12px;
  font-weight: normal;
  letter-spacing: -0.6px;
  fill: #3655d6;
  color: #3655d6;
}
/* valueline: HTML 제목(useHTML, 보정층 A) 안의 <span> 은 SVG tspan 과 같은 글자 */
#container .M_right .contents .bic_chartbox .chart_line .con_box .left .chart_BIC .BICchart_style .herochart-title span {
  font-size: 12px;
  font-weight: normal;
  letter-spacing: -0.6px;
  color: #3655d6;
}
#container .M_right .contents .bic_chartbox .chart_line .con_box .left .chart_BIC .BICchart_style .herochart-point {
  stroke-width: 1;
}
#container .M_right .contents .excavation_area.pattern .tab_content .BICchart_ptnStyle .herochart-title {
  font-family: "Spoqa Han Sans Neo";
  font-size: 15px !important;
  font-weight: 700;
  letter-spacing: -0.85px;
  text-align: center;
  color: #222 !important;
  fill: #222 !important;
}
#container .M_right .contents .excavation_area.pattern .tab_content .BICchart_ptnStyle .herochart-title tspan {
  display: block;
  font-size: 12px;
  font-weight: normal;
  letter-spacing: -0.6px;
  fill: #3655d6;
  color: #3655d6;
}
/* valueline: HTML 제목(useHTML, 보정층 A) 안의 <span> 은 SVG tspan 과 같은 글자 */
#container .M_right .contents .excavation_area.pattern .tab_content .BICchart_ptnStyle .herochart-title span {
  font-size: 12px;
  font-weight: normal;
  letter-spacing: -0.6px;
  color: #3655d6;
}
#container .M_right .contents .sectors_area .tab_content .scatterchart_style .herochart-axis text {
  color: #656d7e !important;
  font-size: 13px !important;
  fill: #656d7e !important;
  font-weight: 700;
}
.주가차트 .BICchart_style .herochart-button-box {
  cursor: pointer;
  flex: 1;
  padding: 8px 0;
  border-bottom: 1px solid #000;
  font-size: 13px;
  letter-spacing: -0.65px;
  text-align: center;
  color: #222;
}
.주가차트 .BICchart_style .herochart-navigator-xaxis {
  font-size: 0;
  opacity: 0;
}
.주가차트 .BICchart_style .herochart-series-label text {
  font-size: 0 !important;
}
.주가차트 .BICchart_style .herochart-input-group,
.주가차트 .BICchart_style .herochart-navigator {
  display: none;
}
.주가차트 .BICchart_style .herochart-range-selector-group .herochart-label {
  display: none !important;
  font-size: 0 !important;
}
.주가차트 .BICchart_style .herochart-point-up {
  fill: rgb(252, 79, 79);
  stroke: rgb(252, 79, 79);
}
.주가차트 .BICchart_style .herochart-point-down,
.주가차트 .BICchart_style .herochart-point-down-bearish-up {
  fill: rgb(54, 85, 214);
  stroke: rgb(54, 85, 214);
}
.주가차트 .오른쪽차트영역 .AI주가예측 .chart_layout .herochart-grid-line {
  display: none;
}
.주가차트 .오른쪽차트영역 .AI주가예측 .chart_layout .herochart-label text,
.주가차트 .오른쪽차트영역 .AI주가예측 .chart_layout .herochart-label tspan {
  font-size: 11px !important;
  color: #656d7e !important;
  fill: #656d7e !important;
  font-weight: normal !important;
  text-shadow: none;
  stroke-width: 0;
}
.투자지표 .chart_box .financials_style rect.herochart-point {
  fill: #3655d6 !important;
  background: #3655d6 !important;
  stroke-width: 0;
}
.투자지표 .chart_box .financials_style rect.herochart-point.point_color {
  fill: #dbdfed !important;
  background: #dbdfed !important;
}
.투자지표 .chart_box .financials_style rect.herochart-point.decrease_color {
  fill: rgba(0, 147, 255, 0.3490196078) !important;
  background: rgba(0, 147, 255, 0.3490196078) !important;
}
.투자지표 .chart_box .financials_style .herochart-point.herochart-point-negative {
  fill: #26ABFF;
  background: #26ABFF;
}
.투자지표 .chart_box .financials_style .herochart-label text,
.투자지표 .chart_box .financials_style .herochart-label tspan {
  font-size: 12px !important;
  color: #707070 !important;
  fill: #707070 !important;
  text-shadow: none;
  stroke-width: 0;
  font-weight: 400 !important;
}
.투자지표 .chart_box .financials_style .herochart-axis-labels text {
  font-size: 10px !important;
  color: #656d7e !important;
  fill: #656d7e !important;
  font-weight: 400 !important;
}
.벨류에이션 .chart_box .bandchart_layout .herochart-series-label text {
  display: none !important;
  font-size: 0 !important;
}
.수급분석 .chart_box .supplychart_style .herochart-axis-line {
  display: none !important;
}
.수급분석 .chart_box .supplychart_style .herochart-title {
  font-family: "Pretendard Variable", Pretendard, "Spoqa Han Sans Neo", -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
  line-height: normal;
  font-weight: bold !important;
  font-size: 13px !important;
  color: #222 !important;
  fill: #222 !important;
}
.수급분석 .chart_box .supplychart_style rect.herochart-point {
  fill: #FF545B !important;
  background: #FF545B !important;
  stroke-width: 0;
}
.수급분석 .chart_box .supplychart_style rect.herochart-point.herochart-point-negative {
  fill: #3655D6 !important;
  background: #3655D6 !important;
}
.수급분석 .chart_box .supplychart_style .herochart-label text,
.수급분석 .chart_box .supplychart_style .herochart-label tspan {
  font-size: 11px !important;
  color: #656D7E !important;
  fill: #656D7E !important;
  text-shadow: none;
  stroke-width: 0;
  font-weight: 400 !important;
}
.수급분석 .chart_box .supplychart_style .herochart-axis-labels text {
  font-size: 12px !important;
  color: #656d7e !important;
  fill: #656d7e !important;
  font-weight: 400 !important;
}
.투자매력은 .top_spider .left .MRIchart_style .herochart-axis-labels.herochart-radial-axis-labels span {
  color: #656d7e !important;
  font-weight: 400;
  font-size: 14px;
}
.투자매력은 .top_spider .left .MRIchart_style .herochart-axis-labels.herochart-radial-axis-labels strong {
  display: inline-block;
  padding-top: 3px;
  font-weight: 400;
  color: #656d7e !important;
  font-size: 14px;
}
.투자매력은 .top_spider .left .MRIchart_style .herochart-axis-labels text {
  font-family: "Pretendard Variable", Pretendard, "Spoqa Han Sans Neo", -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
  line-height: normal;
  font-size: 14px !important;
  color: #656d7e !important;
  fill: #656d7e !important;
}
.투자매력은 .top_spider .left .MRIchart_small_style .herochart-title {
  cursor: pointer;
  width: 100px !important;
  padding-top: 9px;
  line-height: 1.2;
  margin: 0 auto;
  box-sizing: border-box;
  display: inline-block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: center;
  font-size: 12px !important;
  color: #656d7e !important;
  fill: #656d7e !important;
}
.투자매력은 .top_spider .left .MRIchart_small_style .herochart-axis-labels text {
  font-size: 12px !important;
  color: #656d7e !important;
  fill: #656d7e !important;
}

.valueline #wrap #container.sub_search .mainBox.outline .outline_style .herochart-navigator-xaxis {
  font-size: 0;
  opacity: 0;
}

.valueline #wrap #container.sub_search .mainBox.outline .outline_style .herochart-input-group,
.valueline #wrap #container.sub_search .mainBox.outline .outline_style .herochart-range-selector-group,
.valueline #wrap #container.sub_search .mainBox.outline .outline_style .herochart-navigator {
  display: none;
}

.valueline #wrap #container.sub_search .mainBox.outline .outline_style .herochart-point-up {
  fill: #dd5257;
  stroke: #dd5257;
}

.valueline #wrap #container.sub_search .mainBox.outline .outline_style .herochart-point-down,
.valueline #wrap #container.sub_search .mainBox.outline .outline_style .herochart-point-down-bearish-up {
  fill: #4d6ee4;
  stroke: #4d6ee4;
}
.valueline #wrap #container .mainBox.financials .chart_box .financials_style rect.herochart-point {
  fill: #4D6EE4 !important;
  background: #4D6EE4 !important;
  stroke-width: 0;
}

.valueline #wrap #container .mainBox.financials .chart_box .financials_style rect.herochart-point.point_color {
  fill: #EDEEEF !important;
  background: #EDEEEF !important;
}

.valueline #wrap #container .mainBox.financials .chart_box .financials_style rect.herochart-point.decrease_color {
  fill: #D2DCFF !important;
  background: #D2DCFF !important;
}

.valueline #wrap #container .mainBox.financials .chart_box .financials_style .herochart-point.herochart-point-negative {
  fill: #26ABFF;
  background: #26ABFF;
}

.valueline #wrap #container .mainBox.financials .chart_box .financials_style .herochart-label text,
.valueline #wrap #container .mainBox.financials .chart_box .financials_style .herochart-label tspan {
  font-size: 12px !important;
  color: #6A727B !important;
  fill: #6A727B !important;
  text-shadow: none;
  stroke-width: 0;
  font-weight: 400 !important;
}

.valueline #wrap #container .mainBox.financials .chart_box .financials_style .herochart-axis-labels text {
  font-size: 12px !important;
  color: #969EA7 !important;
  fill: #969EA7 !important;
  font-weight: 400 !important;
}

.valueline #wrap #container .mainBox.financials .chart_box .financials_style .herochart-xaxis .herochart-axis-line {
  stroke: var(--colbar);
}

.valueline #wrap #container .mainBox.financials .chart_box .financials_style .herochart-crosshair-category {
  stroke: rgba(255, 255, 255, 0);
}
.valueline #wrap #container .mainBox.financials .chart_box .financialsLine_style .herochart-xaxis .herochart-axis-line {
  stroke: var(--col2f3) !important;
}

.valueline #wrap #container .mainBox.financials .chart_box .financialsLine_style .herochart-legend-item text,
.valueline #wrap #container .mainBox.financials .chart_box .financialsLine_style .herochart-legend-item tspan {
  font-size: 12px !important;
  color: #969ea7 !important;
  fill: #969ea7 !important;
  font-weight: 400 !important;
  text-shadow: none;
  stroke-width: 0;
}

.v_signalStreng.globalStock .containerArea_1 .herochart-tick {
  display: none !important;
}

/* 수급 막대 툴팁: 페이지의 ".chart_box div { width:100% }" 규칙이 툴팁 상자까지 넓히지 않게 (글자 폭만큼의 상자) */
.수급분석 .chart_box .herochart-tooltip {
  width: auto;
  flex: none;
}
