/* v258 verification fix: fallback tickers must never sit under a loaded logo. */
html body[data-page="home"] .market-pulse-coin-v254 .crypto-rates-logo:not(.is-fallback) .crypto-rates-logo-text {
  display: none !important;
}

html body[data-page="home"] .market-pulse-coin-v254 .crypto-rates-logo.is-fallback .crypto-rates-logo-text {
  inset: 2px !important;
  width: auto !important;
  height: auto !important;
  display: grid !important;
  place-items: center !important;
  overflow: hidden !important;
}

html body[data-page="home"] .market-pulse-coin-v254 .crypto-rates-logo.is-fallback img {
  display: none !important;
}
/* v381: single blue focus border and balanced market filters. */
html body[data-page="home"] .crypto-market-sector-filter,
html body[data-page="home"] .market-pulse-category-filter-v254 {
  width: 100%;
  min-width: 0;
}

html body[data-page="home"] .crypto-market-sector-filter select,
html body[data-page="home"] .market-pulse-category-filter-v254 select {
  width: 100%;
  height: 42px;
  min-height: 42px;
  box-sizing: border-box;
  padding: 0 44px 0 13px;
  border: 1px solid var(--market-v213-line-strong, rgba(148, 163, 184, .28)) !important;
  border-radius: 10px !important;
  outline: none !important;
  outline-offset: 0 !important;
  box-shadow: none !important;
}

html body[data-page="home"] .crypto-market-sector-filter select:focus,
html body[data-page="home"] .crypto-market-sector-filter select:focus-visible,
html body[data-page="home"] .market-pulse-category-filter-v254 select:focus,
html body[data-page="home"] .market-pulse-category-filter-v254 select:focus-visible {
  border-color: var(--bc-v304-action, #79BDF2) !important;
  outline: none !important;
  outline-offset: 0 !important;
  box-shadow: none !important;
}

@media (min-width: 1200px) {
  html body[data-page="home"] .crypto-market-toolbar {
    grid-template-columns: minmax(280px, 420px) minmax(170px, 220px) minmax(180px, 220px) minmax(160px, 1fr);
  }
}

@media (min-width: 621px) and (max-width: 1199px) {
  html body[data-page="home"] .crypto-market-toolbar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  html body[data-page="home"] .crypto-market-search:not(.crypto-market-sector-filter) {
    grid-column: 1 / -1;
  }

  html body[data-page="home"] .crypto-market-sector-filter {
    grid-column: 1;
  }

  html body[data-page="home"] .market-pulse-category-filter-v254 {
    grid-column: 2;
  }

  html body[data-page="home"] .crypto-market-counter {
    grid-column: 1 / -1;
    justify-self: start;
    text-align: left;
  }
}
