/* BitClac v387: compact, high-contrast controls in the coin header. */
html body[data-page="coin-detail"] .coin-detail-actions {
  align-items: center;
  gap: 8px;
}

html body[data-page="coin-detail"] .coin-detail-actions .btn {
  min-height: 38px;
  padding: 7px 12px;
  border: 1px solid #4b5868 !important;
  border-radius: 8px !important;
  background: #242c36 !important;
  color: #f4f8fc !important;
  box-shadow: none !important;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0;
  text-decoration: none;
}

html body[data-page="coin-detail"] .coin-detail-actions .coin-buy-button {
  border-color: #5b88b4 !important;
  background: #29425b !important;
  color: #ffffff !important;
}

html body[data-page="coin-detail"] .coin-detail-actions .btn:hover,
html body[data-page="coin-detail"] .coin-detail-actions .btn:focus-visible {
  border-color: #79bdf2 !important;
  background: #304154 !important;
  color: #ffffff !important;
}

html body[data-page="coin-detail"] .coin-detail-actions .btn:focus-visible {
  outline: 2px solid rgba(121, 189, 242, .9) !important;
  outline-offset: 2px;
}

/* Defensive retirement for HTML or JS left in an older browser cache. */
html body[data-page="coin-detail"] .coin-detail-actions .coin-markets-anchor,
html body[data-page="home"] .coin-markets-discovery-link {
  display: none !important;
}

@media (max-width: 760px) {
  html body[data-page="coin-detail"] .coin-detail-actions {
    gap: 7px;
  }

  html body[data-page="coin-detail"] .coin-detail-actions .btn {
    min-height: 44px;
    padding: 9px 12px;
  }
}
