.kline-card {
  overflow: hidden;
  padding: 0;
  background: #fff;
}
.kline-card .market-summary {
  padding: 16px 16px 12px;
}
.option-market-price {
  padding: 16px 16px 8px;
}
.kline-toolbar {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 42px;
  padding: 0 12px;
  border-top: 1px solid #eef2f8;
  border-bottom: 1px solid #eef2f8;
  background: #fbfcff;
}
.kline-toolbar button {
  position: relative;
  min-width: 44px;
  height: 42px;
  padding: 0 10px;
  color: #667085;
  font-size: 12px;
  font-weight: 600;
}
.kline-toolbar button.active {
  color: #1769e0;
}
.kline-toolbar button.active:after {
  position: absolute;
  right: 10px;
  bottom: 0;
  left: 10px;
  height: 2px;
  border-radius: 2px;
  background: #1769e0;
  content: "";
}
.kline-meta {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 10px 14px 4px;
  color: #7d899b;
  font-size: 11px;
  white-space: nowrap;
  scrollbar-width: none;
}
.kline-meta::-webkit-scrollbar {
  display: none;
}
.kline-meta b {
  margin-left: 3px;
  color: #25324a;
  font-weight: 600;
}
.kline-legend {
  display: flex;
  gap: 14px;
  overflow: hidden;
  padding: 2px 14px 4px;
  color: #8b96a8;
  font-size: 10px;
  white-space: nowrap;
}
.kline-legend .legend-ma5 {
  color: #d79616;
}
.kline-legend .legend-ma10 {
  color: #7357c7;
}
.kline-canvas {
  width: 100%;
  height: 292px;
  padding: 0 2px 4px;
}
.pro-kline {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.kline-grid {
  stroke: #e8edf5;
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}
.kline-axis,
.kline-time {
  fill: #8b96a8;
  font-size: 10px;
  font-family: Inter, sans-serif;
}
.candle-up {
  fill: #13a67a;
  stroke: #13a67a;
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}
.candle-down {
  fill: #e84c5b;
  stroke: #e84c5b;
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}
.volume-bar {
  opacity: 0.3;
  stroke: none;
}
.ma-line {
  fill: none;
  stroke-width: 1.2;
  vector-effect: non-scaling-stroke;
}
.ma5 {
  stroke: #d79616;
}
.ma10 {
  stroke: #7357c7;
}
.last-price-line {
  stroke: #1769e0;
  stroke-width: 1;
  stroke-dasharray: 4 3;
  vector-effect: non-scaling-stroke;
}
.last-price-box {
  fill: #1769e0;
}
.last-price-text {
  fill: #fff;
  font-size: 10px;
  font-weight: 600;
  font-family: Inter, sans-serif;
}
.timeline-legend {
  color: #1769e0;
  font-weight: 600;
}
.timeline-area {
  fill: url(#timelineFill);
}
.timeline-line {
  fill: none;
  stroke: #1769e0;
  stroke-width: 1.6;
  vector-effect: non-scaling-stroke;
}
.timeline-volume {
  fill: #7baaf0;
  opacity: 0.28;
}
.option-quote {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 12px;
  padding: 2px 2px 0;
}
.option-quote > div:first-child span,
.option-quote small {
  display: block;
  margin-bottom: 4px;
  color: #7d899b;
  font-size: 11px;
}
.option-quote strong {
  font-size: 25px;
}
.option-quote > div:last-child {
  text-align: right;
}
.option-quote b {
  font-size: 13px;
}
.option-kline {
  margin-bottom: 14px;
}
.option-order {
  padding: 17px 15px;
}
.option-order header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 18px;
}
.option-order header h2,
.option-record-head h2 {
  margin: 0;
  font-size: 17px;
}
.option-order header p {
  max-width: 270px;
  margin: 5px 0 0;
  color: #8a96a8;
  font-size: 10px;
  line-height: 1.5;
}
.option-order header > span {
  padding: 5px 9px;
  border-radius: 8px;
  background: #edf4ff;
  color: #1769e0;
  font-size: 11px;
  font-weight: 700;
}
.option-label {
  margin: 15px 0 8px;
  color: #4b5870;
  font-size: 12px;
  font-weight: 700;
}
.option-periods {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.option-periods button {
  padding: 11px 4px 9px;
  border: 1px solid #e5ebf4;
  border-radius: 11px;
  background: #fafcff;
}
.option-periods button.active {
  border-color: #1769e0;
  background: #edf4ff;
  color: #1769e0;
  box-shadow: inset 0 0 0 1px #1769e0;
}
.option-periods b,
.option-periods small {
  display: block;
}
.option-periods b {
  font-size: 14px;
}
.option-periods small {
  margin-top: 4px;
  color: #8a96a8;
  font-size: 9px;
}
.option-periods .active small {
  color: #1769e0;
}
.option-directions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.option-directions button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 48px;
  border: 1px solid #dfeee9;
  border-radius: 12px;
  background: #f2fbf8;
  color: #12a377;
  font-weight: 700;
}
.option-directions .fall {
  border-color: #f5dfe2;
  background: #fff5f6;
  color: #e84c5b;
}
.option-directions .rise.active {
  border-color: #12a377;
  background: #12a377;
  color: #fff;
}
.option-directions .fall.active {
  border-color: #e84c5b;
  background: #e84c5b;
  color: #fff;
}
.option-directions i {
  font-size: 18px;
  font-style: normal;
}
.option-amount {
  position: relative;
  margin-top: 16px !important;
}
.option-amount input {
  height: 52px;
  padding-right: 60px !important;
  font-size: 18px;
  font-weight: 700;
}
.option-quick {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
  margin-top: 8px;
}
.option-quick button {
  padding: 8px 2px;
  border-radius: 8px;
  background: #f0f4fa;
  color: #63718a;
  font-size: 11px;
}
.option-return {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 17px 0 12px;
  padding: 12px;
  border-radius: 11px;
  background: #f5f8fd;
  color: #748198;
  font-size: 11px;
}
.option-return strong {
  color: #13213a;
}
.option-return strong b {
  color: #1769e0;
  font-size: 16px;
}
.option-submit {
  height: 48px;
}
.option-record-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 20px 2px 11px;
}
.option-record-head span {
  min-width: 25px;
  padding: 4px 7px;
  border-radius: 10px;
  background: #edf4ff;
  color: #1769e0;
  font-size: 10px;
  text-align: center;
}
.option-record-direction {
  margin: -3px 0 9px;
  font-size: 11px;
  font-weight: 700;
}
.kline-time:last-child {
  text-anchor: end;
}
@media (max-width: 420px) {
  .kline-canvas {
    height: 270px;
  }
  .kline-toolbar {
    overflow-x: auto;
    scrollbar-width: none;
  }
  .kline-toolbar::-webkit-scrollbar {
    display: none;
  }
  .kline-meta {
    gap: 9px;
  }
  .kline-card .market-summary {
    padding: 14px 14px 10px;
  }
}
