/* BitClac v442: Yandex-readable mobile typography on the homepage only. */

@media (max-width: 768px) {
  html body[data-page="home"] {
    --home-mobile-caption-v442: 12px;
    --home-mobile-support-v442: 13px;
    --home-mobile-body-v442: 16px;
    --home-mobile-control-v442: 16px;
    --home-mobile-value-v442: 18px;
  }

  html body[data-page="home"] .home-current-price-label-v271,
  html body[data-page="home"] .home-market-dynamics-v271 p,
  html body[data-page="home"] .home-market-dynamics-v271 p small,
  html body[data-page="home"] .home-market-dynamics-v271 [data-home-change-v271] b,
  html body[data-page="home"] .home-market-dynamics-v271 [data-home-change-v271] small,
  html body[data-page="home"] .home-market-stats-v244 small,
  html body[data-page="home"] .home-market-tools-label-v278,
  html body[data-page="home"] .home-market-sentiment-v278 > small,
  html body[data-page="home"] .home-fear-greed-v278 small,
  html body[data-page="home"] .home-fear-greed-v278 em,
  html body[data-page="home"] .home-market-converter-v278 label > span,
  html body[data-page="home"] .home-market-converter-v278 label > span > b,
  html body[data-page="home"] .home-market-converter-v278 > small,
  html body[data-page="home"] .home-btc-dominance-v278 > small {
    font-size: var(--home-mobile-caption-v442) !important;
    line-height: 1.35 !important;
  }

  html body[data-page="home"] .home-market-converter-v278 input,
  html body[data-page="home"] .home-market-converter-v278 select,
  html body[data-page="home"] .crypto-market-toolbar input,
  html body[data-page="home"] .crypto-market-toolbar select {
    font-size: var(--home-mobile-control-v442) !important;
  }

  html body[data-page="home"] .home-converter-output-v278 button {
    min-width: 44px !important;
    min-height: 40px !important;
    padding: 8px 10px !important;
    font-size: var(--home-mobile-caption-v442) !important;
    line-height: 1.2 !important;
  }

  html body[data-page="home"] .fho-home-list h3 small,
  html body[data-page="home"] .fho-home-item > span:first-child,
  html body[data-page="home"] .fho-home-item__metrics,
  html body[data-page="home"] .fho-home-item__metrics span,
  html body[data-page="home"] .fho-home-item__metrics b,
  html body[data-page="home"] .fho-heat,
  html body[data-page="home"] .fho-home-heatmap__bar,
  html body[data-page="home"] .fho-home-heatmap__bar strong,
  html body[data-page="home"] .fho-home-heatmap__bar strong span,
  html body[data-page="home"] .fho-home-heatmap__bar > span,
  html body[data-page="home"] .fho-home-heatmap__metric > span,
  html body[data-page="home"] .fho-home-heatmap__metric > small {
    font-size: var(--home-mobile-caption-v442) !important;
    line-height: 1.35 !important;
  }

  html body[data-page="home"] .fho-home-item {
    min-height: 52px;
    padding-block: 8px;
  }

  html body[data-page="home"] .fho-home-item__metrics {
    gap: 6px;
  }

  html body[data-page="home"] .fho-home-heatmap__metric {
    min-height: 122px;
  }

  html body[data-page="home"] .fho-home-heatmap__metric > span {
    min-height: 34px;
  }

  html body[data-page="home"] .fho-home-heatmap__metric > b {
    overflow: visible;
    line-height: 1.2;
    text-overflow: clip;
    white-space: normal;
  }

  html body[data-page="home"] .crypto-market-search > span,
  html body[data-page="home"] .crypto-market-sector-filter > span,
  html body[data-page="home"] .market-pulse-category-filter-v254 > span,
  html body[data-page="home"] .crypto-market-mobile-sort-v441 > span,
  html body[data-page="home"] .crypto-market-counter,
  html body[data-page="home"] .crypto-market-pagination button {
    font-size: var(--home-mobile-caption-v442) !important;
    line-height: 1.35 !important;
  }

  html body[data-page="home"] .crypto-market-table td.market-price::before,
  html body[data-page="home"] .crypto-market-table td.market-pulse-momentum-cell-v254::before,
  html body[data-page="home"] .market-pulse-curve-value-v255,
  html body[data-page="home"] .market-pulse-curve-value-v255 small {
    font-size: var(--home-mobile-caption-v442) !important;
    line-height: 1.25 !important;
  }

  html body[data-page="home"] .market-pulse-curve-value-v255:nth-child(2) {
    font-size: 15px !important;
  }

  html body[data-page="home"] .crypto-market-table td.market-price,
  html body[data-page="home"] .crypto-market-table td.market-pulse-momentum-cell-v254 {
    min-height: 62px;
  }

  html body[data-page="home"] .market-pulse-coin-v254 > a:first-child b,
  html body[data-page="home"] .market-pulse-coin-v254 > a:first-child small {
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
  }

  html body[data-page="home"] .crypto-market-table tbody tr,
  html body[data-page="home"] .crypto-market-table tbody tr:nth-child(even) {
    min-height: 150px;
  }

  html body[data-page="home"] .mobile-bottom-nav__item,
  html body[data-page="home"] button.mobile-bottom-nav__item,
  html body[data-page="home"] .mobile-bottom-nav__item > span {
    min-height: 60px !important;
    font-size: var(--home-mobile-caption-v442) !important;
    line-height: 1.15 !important;
    letter-spacing: 0 !important;
  }

  html body[data-page="home"] .mobile-bottom-nav__item svg {
    flex: 0 0 auto;
  }

  html body[data-page="home"] .mobile-site-menu,
  html body[data-page="home"] .mobile-site-menu a,
  html body[data-page="home"] footer,
  html body[data-page="home"] footer a,
  html body[data-page="home"] footer small {
    font-size: max(var(--home-mobile-caption-v442), 1em);
  }
}
