/* BitClac v271: selected coin, live price and three-period movement in one compact row. */
html body[data-page="home"] .home-coin-summary-v244 {
  min-height: 76px !important;
  grid-template-columns: minmax(180px, .9fr) minmax(218px, 1.1fr) auto !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 9px 12px !important;
}

html body[data-page="home"] .home-coin-lead-v271 {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

html body[data-page="home"] .home-coin-lead-v271 .crypto-rates-main-coin {
  flex: 0 0 auto !important;
}

html body[data-page="home"] .home-coin-lead-v271 .crypto-rates-big-price {
  min-width: 0 !important;
  display: grid !important;
  justify-items: start !important;
  justify-self: start !important;
  align-items: center !important;
  gap: 1px !important;
}

html body[data-page="home"] .home-current-price-label-v271 {
  color: #8192a7;
  font-size: 9px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: .04em;
}

html body[data-page="home"] .home-coin-lead-v271 .crypto-rates-big-price > strong {
  overflow: hidden;
  color: #f6f8fb;
  font-size: clamp(22px, 2vw, 30px) !important;
  line-height: 1.05 !important;
  text-overflow: ellipsis;
  white-space: nowrap;
}

html body[data-page="home"] .home-market-dynamics-v271 {
  min-width: 0;
  display: grid;
  gap: 5px;
  padding-inline: 10px;
  border-inline: 1px solid rgba(148, 163, 184, .18);
}

html body[data-page="home"] .home-market-dynamics-v271 p {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin: 0;
  color: #e8edf4;
  font-size: 10px;
  line-height: 1;
  white-space: nowrap;
}

html body[data-page="home"] .home-market-dynamics-v271 p small {
  color: #8192a7;
  font-size: 9px;
  font-weight: 750;
}

html body[data-page="home"] .home-market-dynamics-v271 > div {
  display: grid;
  grid-template-columns: repeat(3, minmax(46px, 1fr));
  gap: 4px;
}

html body[data-page="home"] .home-market-dynamics-v271 [data-home-change-v271] {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 4px 5px;
  border: 1px solid rgba(148, 163, 184, .14);
  border-radius: 7px;
  background: rgba(148, 163, 184, .055);
  white-space: nowrap;
}

html body[data-page="home"] .home-market-dynamics-v271 [data-home-change-v271] b {
  font-size: 10px;
  line-height: 1;
}

html body[data-page="home"] .home-market-dynamics-v271 [data-home-change-v271] small {
  color: #8192a7;
  font-size: 8px;
  font-weight: 800;
}

html body[data-page="home"] .home-market-dynamics-v271 .is-positive b {
  color: #47d89a;
}

html body[data-page="home"] .home-market-dynamics-v271 .is-negative b {
  color: #f17d87;
}

html body[data-page="home"] .home-market-dynamics-v271 .is-flat b {
  color: #aab5c3;
}

html body[data-page="home"] .home-market-stats-v244 > span {
  min-width: 82px !important;
  padding-inline: 9px !important;
}

html body[data-page="home"] .home-market-stats-v244 small {
  font-size: 9px !important;
}

html body[data-page="home"] .home-market-stats-v244 b {
  font-size: 11px !important;
}

/* LONG starts 15px in and is (shell - 44px) / 2 wide, so its right edge is (shell - 14px) / 2. */
@media (min-width: 1121px) {
  html body[data-page="home"] .home-coin-summary-v244 {
    width: calc((100% - 14px) / 2) !important;
    max-width: calc((100% - 14px) / 2) !important;
    margin-left: 0 !important;
  }
}

@media (max-width: 1120px) {
  html body[data-page="home"] .home-coin-summary-v244 {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
  }
}

@media (max-width: 760px) {
  html body[data-page="home"] .home-coin-summary-v244 {
    grid-template-columns: minmax(160px, .8fr) minmax(210px, 1.2fr) !important;
  }

  html body[data-page="home"] .home-market-stats-v244 {
    grid-column: 1 / -1 !important;
    justify-self: stretch;
  }

  html body[data-page="home"] .home-market-stats-v244 > span {
    flex: 1 1 50%;
  }
}

@media (max-width: 520px) {
  html body[data-page="home"] .home-coin-summary-v244 {
    grid-template-columns: 1fr !important;
    padding: 10px !important;
  }

  html body[data-page="home"] .home-market-dynamics-v271 {
    padding: 8px 0;
    border-inline: 0;
    border-block: 1px solid rgba(148, 163, 184, .18);
  }

  html body[data-page="home"] .home-market-stats-v244 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}
