.avatar {
  position: relative;
  flex: 0 0 29px;
  overflow: hidden;
}

.caller-cell > span:last-child {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.caller-cell small,
.caller-cell .twitter-link {
  color: var(--muted);
  font-size: 9px;
  font-weight: 400;
}

.caller-cell a:hover {
  text-decoration: underline;
}

.avatar img {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.avatar i {
  font-style: normal;
}

.coin.profile-coin {
  overflow: hidden;
}

.coin.profile-coin img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.callers-section .block-title > div p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 11px;
}

#caller-count {
  color: var(--muted);
  font-size: 11px;
}

.caller-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.caller-card {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--paper);
}

.caller-card .avatar {
  width: 38px;
  height: 38px;
  border-radius: 9px;
}

.caller-card > div {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.caller-card b,
.caller-card small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.caller-card b {
  font-size: 12px;
}

.caller-card small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 9px;
}

.caller-card nav {
  display: flex;
  grid-column: 1 / -1;
  gap: 6px;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}

.caller-card nav a {
  padding: 5px 8px;
  border: 1px solid var(--border);
  border-radius: 5px;
  color: var(--muted);
  font-size: 9px;
}

.caller-card nav a:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.empty-state {
  grid-column: 1 / -1;
  margin: 0;
  padding: 30px;
  border: 1px dashed var(--border);
  border-radius: 8px;
  color: var(--muted);
  text-align: center;
}

.leaderboard-empty {
  padding: 30px;
  color: var(--muted);
  text-align: center;
}

.live-call h3 small {
  color: var(--muted);
  font-size: 10px;
}

.live-call p a {
  font-weight: 650;
}

.live-call p a:hover {
  text-decoration: underline;
}

.call-link {
  margin-top: 10px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 650;
}

.call-link:hover {
  color: var(--ink);
}

.token-coin {
  position: relative;
  overflow: hidden;
}

.token-coin img {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.token-coin i {
  font-style: normal;
}

.mobile-menu {
  display: none;
}

button:disabled,
select:disabled {
  cursor: not-allowed;
  opacity: .5;
}

.dark-theme {
  --bg: #111;
  --paper: #191919;
  --ink: #f5f5f5;
  --muted: #a3a3a3;
  --border: #303030;
  --soft: #171717;
}

.dark-theme .left-rail,
.dark-theme .right-rail,
.dark-theme .mobile-head,
.dark-theme .bottom-nav,
.dark-theme th {
  background: var(--soft);
}

.dark-theme .logo-box,
.dark-theme .tabs button.active,
.dark-theme .primary {
  background: #f5f5f5;
  color: #171717;
}

.dark-theme .call-card,
.dark-theme .search,
.dark-theme table,
.dark-theme .tabs button,
.dark-theme .toolbar select,
.dark-theme .show-more,
.dark-theme .info-card,
.dark-theme .right-top button,
.dark-theme .method article {
  background: var(--paper);
  color: var(--ink);
}

@media (max-width: 1050px) {
  .caller-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .caller-grid {
    grid-template-columns: 1fr;
  }

  .mobile-head button {
    cursor: pointer;
  }

  .mobile-menu.open {
    position: sticky;
    top: 0;
    z-index: 6;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    padding: 1px;
    border-bottom: 1px solid var(--border);
    background: var(--border);
  }

  .mobile-menu a {
    padding: 13px 16px;
    background: var(--paper);
    font-size: 12px;
    text-align: center;
  }
}
