.hobc-whales,
.hobc-whales * {
  box-sizing: border-box;
}

.hobc-whales {
  margin: 1.2rem 0;
}

.hobc-whales-panel {
  background: linear-gradient(180deg, rgba(12, 14, 16, 0.98), rgba(3, 4, 5, 0.98));
  border: 1px solid rgba(246, 185, 40, 0.28);
  border-radius: 18px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.36), inset 0 0 0 1px rgba(246, 185, 40, 0.04);
  color: #f7f5ed;
  overflow: hidden;
  padding: 14px;
}

.hobc-whales-head {
  align-items: flex-start;
  display: flex;
  gap: 14px;
  justify-content: space-between;
  margin-bottom: 12px;
}

.hobc-whales-head h2 {
  color: #fff;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0;
}

.hobc-whales-head p {
  color: rgba(247, 245, 237, 0.66);
  font-size: 0.82rem;
  line-height: 1.35;
  margin: 0.28rem 0 0;
}

.hobc-whales-stats {
  align-items: baseline;
  display: grid;
  gap: 8px 14px;
  grid-template-columns: repeat(2, minmax(88px, auto));
  margin: 0;
}

.hobc-whales-stats > div {
  min-width: 0;
}

.hobc-whales-stats dt {
  color: rgba(247, 245, 237, 0.52);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  margin: 0;
  text-transform: uppercase;
}

.hobc-whales-stats dd {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0.12rem 0 0;
}

.hobc-whales-table-wrap {
  overflow-x: auto;
}

.hobc-whales-table {
  border-collapse: collapse;
  min-width: 100%;
  width: 100%;
}

.hobc-whales-table th,
.hobc-whales-table td {
  border-bottom: 1px solid rgba(246, 185, 40, 0.12);
  padding: 0.72rem 0.55rem;
  text-align: left;
  vertical-align: middle;
}

.hobc-whales-table th {
  color: rgba(247, 245, 237, 0.58);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hobc-whales-rank {
  color: rgba(246, 185, 40, 0.92);
  font-weight: 800;
  white-space: nowrap;
  width: 3.5rem;
}

.hobc-whales-address .hash-chip {
  display: inline-block;
  max-width: min(100%, 22rem);
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: middle;
  white-space: nowrap;
}

.hobc-whales-balance {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  white-space: nowrap;
}

.hobc-whales-supply,
.hobc-whales-utxos {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.hobc-whales-empty {
  color: rgba(247, 245, 237, 0.66);
  padding: 1.2rem 0.55rem;
  text-align: center;
}

.hobc-whales-footer {
  border-top: 1px solid rgba(246, 185, 40, 0.12);
  margin-top: 0.35rem;
  padding-top: 0.85rem;
}

.hobc-whales-pagination-meta {
  color: rgba(247, 245, 237, 0.62);
  font-size: 0.78rem;
  margin: 0 0 0.55rem;
}

.hobc-whales-pagination-nav {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.hobc-whales-pagination-nav button {
  background: rgba(246, 185, 40, 0.12);
  border: 1px solid rgba(246, 185, 40, 0.34);
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.38rem 0.85rem;
}

.hobc-whales-pagination-nav button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.hobc-whales-pagination-page {
  color: rgba(247, 245, 237, 0.78);
  font-size: 0.78rem;
}

.hobc-whales-unavailable p {
  color: rgba(247, 245, 237, 0.72);
  margin: 0;
  padding: 0.35rem 0;
}

@media (min-width: 860px) {
  .hobc-whales-stats {
    grid-template-columns: repeat(4, minmax(88px, auto));
  }
}

@media (max-width: 720px) {
  .hobc-whales-head {
    flex-direction: column;
  }

  .hobc-whales-table th:nth-child(5),
  .hobc-whales-table td:nth-child(5) {
    display: none;
  }
}
