#TrendDetailsPage .main-data-index {
  padding-top: 0;
}

#TrendDetailsPage .contract-header .van-popup {
  width: 75vw !important;
  max-width: 75vw !important;
}

#TrendDetailsPage.TrendDetailsPage {
  background-color: #191c26 !important;
  background-image:
    radial-gradient(ellipse 75% 32% at 0% 0%, rgba(57, 87, 143, 0.92) 0%, rgba(41, 61, 106, 0.72) 38%, rgba(25, 28, 38, 0) 76%),
    radial-gradient(ellipse 48% 23% at 100% 22%, rgba(39, 52, 83, 0.42) 0%, rgba(25, 28, 38, 0) 78%),
    linear-gradient(180deg, #1a1e29 0%, #191c26 100%) !important;
  background-size: 100% 100% !important;
}

#TrendDetailsPage .quote-summary {
  min-height: 4.4rem;
  overflow: visible;
}

#TrendDetailsPage .quote-summary > div:first-child {
  flex: 0 0 20%;
  min-width: 0;
}

#TrendDetailsPage .quote-secondary,
#TrendDetailsPage .quote-mark {
  font-size: 1.17rem;
  line-height: 1.58rem;
}

#TrendDetailsPage .quote-summary > div:first-child .quote-secondary {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

#TrendDetailsPage .quote-price {
  font-size: 2.8rem;
  line-height: 3.1rem;
}

#TrendDetailsPage .quote-metrics {
  display: grid !important;
  flex: 1 1 0;
  min-width: 0;
  grid-template-rows: repeat(2, minmax(0, auto));
  row-gap: 0.1rem;
  font-size: 1.32rem;
  line-height: 1.7rem;
}

#TrendDetailsPage .quote-metric-row {
  display: grid !important;
  grid-template-columns: max-content max-content;
  width: 100%;
  min-width: 0;
  align-items: baseline;
  justify-content: flex-end;
  column-gap: 0.35rem;
  transform: translateX(-1.5rem);
}

#TrendDetailsPage .quote-metric-row .quote-metric {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  width: auto !important;
  min-width: 0 !important;
  align-items: baseline;
  justify-content: flex-start;
  gap: 0.12rem;
  overflow: visible;
}

#TrendDetailsPage .quote-metric-row .quote-metric p {
  margin: 0;
  flex: 0 0 auto;
  min-width: 0;
  white-space: nowrap;
  overflow: visible;
  text-overflow: clip;
}

#TrendDetailsPage .quote-metric-row .quote-metric p:last-child {
  font-size: 1.32rem;
}

#TrendDetailsPage .quote-metric-row .quote-metric p:first-child {
  font-size: 1.08rem;
}

#cryptos .kline-charts > .relative,
#cryptos .kline-charts > .relative * {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
}

#cryptos .kline-candle-tooltip {
  width: max-content !important;
  min-width: 0 !important;
  max-width: calc(100% - 20px);
  color: #f7f9fc;
  background: rgba(23, 26, 30, 0.45);
  border-color: rgba(149, 162, 181, 0.62);
  backdrop-filter: blur(6px);
  font-size: 1.08rem !important;
  line-height: 1.65rem !important;
}

#kline:not([data-tooltip-active]) + .kline-candle-tooltip {
  display: none !important;
}

.kline-indicator-settings {
  position: relative;
  top: auto;
  right: auto;
  z-index: 30;
  flex: 0 0 auto;
  margin-left: 0.35rem;
  font-size: 0.75rem;
  pointer-events: auto !important;
  touch-action: manipulation;
}

#cryptos .kline-charts > ul:first-child {
  flex-wrap: nowrap !important;
  overflow: visible !important;
}

.kline-indicator-settings__toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  padding: 0;
  color: #d9e1ee;
  font-size: 1.55rem;
  line-height: 1;
  background: rgba(20, 25, 36, 0.76);
  border: 1px solid rgba(157, 170, 191, 0.45);
  border-radius: 0.3rem;
}

.kline-indicator-settings__menu {
  position: absolute;
  top: calc(100% + 0.45rem);
  right: 0;
  display: none;
  z-index: 100;
  grid-template-columns: repeat(2, max-content);
  gap: 0.45rem;
  margin-top: 0.45rem;
  padding: 0.55rem;
  background: rgba(20, 25, 36, 0.92);
  border: 1px solid rgba(157, 170, 191, 0.45);
  border-radius: 0.35rem;
  box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.28);
}

.kline-indicator-settings.is-open .kline-indicator-settings__menu {
  display: grid;
}

.kline-indicator-settings__option {
  min-width: 4.1rem;
  padding: 0.42rem 0.5rem;
  color: #d9e1ee;
  font-size: 0.92rem;
  line-height: 1;
  background: rgba(255, 255, 255, 0.08);
  border: 0;
  border-radius: 0.22rem;
  pointer-events: auto !important;
  touch-action: manipulation;
}

.kline-indicator-settings__option.is-active {
  color: #fff;
  background: #394aff;
}

#cryptos .kline-candle-tooltip::after {
  position: absolute;
  width: 0;
  height: 0;
  content: '';
  border: 8px solid transparent;
}

#cryptos .kline-candle-tooltip[data-position='right']::after {
  top: var(--tooltip-arrow-y);
  left: -16px;
  margin-top: -8px;
  border-right-color: rgba(23, 26, 30, 0.45);
}

#cryptos .kline-candle-tooltip[data-position='left']::after {
  top: var(--tooltip-arrow-y);
  right: -16px;
  margin-top: -8px;
  border-left-color: rgba(23, 26, 30, 0.45);
}

#cryptos .kline-candle-tooltip[data-position='bottom']::after {
  top: -16px;
  left: var(--tooltip-arrow-x);
  margin-left: -8px;
  border-bottom-color: rgba(23, 26, 30, 0.45);
}

#cryptos .kline-candle-tooltip[data-position='top']::after {
  bottom: -16px;
  left: var(--tooltip-arrow-x);
  margin-left: -8px;
  border-top-color: rgba(23, 26, 30, 0.45);
}

#cryptos .kline-candle-tooltip[data-position='bottom-right']::after,
#cryptos .kline-candle-tooltip[data-position='bottom-left']::after,
#cryptos .kline-candle-tooltip[data-position='top-right']::after,
#cryptos .kline-candle-tooltip[data-position='top-left']::after {
  width: 12px;
  height: 12px;
  border: 0;
  background: rgba(23, 26, 30, 0.45);
  transform: rotate(45deg);
}

#cryptos .kline-candle-tooltip[data-position='bottom-right']::after {
  top: -6px;
  left: -6px;
}

#cryptos .kline-candle-tooltip[data-position='bottom-left']::after {
  top: -6px;
  right: -6px;
}

#cryptos .kline-candle-tooltip[data-position='top-right']::after {
  bottom: -6px;
  left: -6px;
}

#cryptos .kline-candle-tooltip[data-position='top-left']::after {
  right: -6px;
  bottom: -6px;
}

#cryptos .kline-candle-tooltip__time {
  color: #ffffff;
}

#cryptos .kline-candle-tooltip__grid {
  display: flex !important;
  flex-direction: column !important;
  grid-template-columns: none !important;
  gap: 1px !important;
}

#cryptos .kline-candle-tooltip__grid span {
  display: block;
  white-space: nowrap;
}
