.btc-embed {
  margin: 0 0 2.5rem;
}

.btc-embed__header {
  margin-bottom: 0.85rem;
}

.btc-embed__title {
  margin: 0 0 0.35rem;
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.btc-embed__source {
  margin: 0;
  font-size: 0.875rem;
  opacity: 0.72;
}

.btc-embed__source a {
  margin-left: 0.25rem;
}

.btc-embed__frame-wrap {
  position: relative;
  width: 100%;
  height: var(--btc-embed-h, 720px);
  border: 1px solid rgba(20, 28, 36, 0.12);
  border-radius: 4px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(247, 147, 26, 0.06), transparent 42%),
    #f7f5f1;
}

.btc-embed__frame {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #fff;
}

/* Native rankings (no login wall) */
.btc-rankings {
  margin: 0 0 2.5rem;
}

.btc-rankings__header {
  margin-bottom: 0.85rem;
}

.btc-rankings__title {
  margin: 0 0 0.35rem;
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.btc-rankings__source {
  margin: 0;
  font-size: 0.875rem;
  opacity: 0.72;
}

.btc-rankings__source a {
  margin-left: 0.25rem;
}

.btc-rankings__scroll {
  width: 100%;
  overflow-x: auto;
  border: 1px solid rgba(20, 28, 36, 0.12);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.72);
}

.btc-rankings__table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
  font-size: 0.92rem;
}

.btc-rankings__table th,
.btc-rankings__table td {
  padding: 0.7rem 0.85rem;
  border-bottom: 1px solid rgba(20, 28, 36, 0.08);
  text-align: left;
  vertical-align: middle;
}

.btc-rankings__table thead th {
  position: sticky;
  top: 0;
  background: #f3efe6;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #5c6b78;
  font-weight: 600;
}

.btc-rankings__table tbody tr:hover {
  background: rgba(224, 135, 0, 0.06);
}

.btc-rankings__table .is-num {
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.btc-rankings__table .is-rank {
  color: #5c6b78;
  width: 3rem;
  font-variant-numeric: tabular-nums;
}

.btc-rankings__table .is-name {
  font-weight: 600;
}

.btc-rankings__table .is-ticker {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.85rem;
  color: #1a3348;
}

.btc-rankings__count {
  margin: 0.65rem 0 0;
  font-size: 0.85rem;
  opacity: 0.7;
}

.btc-rankings__empty {
  padding: 1rem;
  border: 1px dashed rgba(20, 28, 36, 0.18);
}

@media (max-width: 720px) {
  .btc-embed__frame-wrap {
    height: min(var(--btc-embed-h, 720px), 70vh);
    min-height: 420px;
  }
}
