* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

:root {
  --token-pnl-positive-from: #16a34a;
  --token-pnl-positive-to: #4ade80;
}

html {
  overflow-x: auto;
  scrollbar-color: #71717a #000000;
  scrollbar-width: thin;
}

body {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  margin: 0;
  padding: 1rem;
  background: #0f0f12;
  color: #e4e4e7;
  min-height: 100vh;
  min-width: 1100px;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
}

header {
  margin-bottom: 1.5rem;
}

header h1 {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0 0 0.25rem 0;
}

.subtitle {
  color: #a1a1aa;
  font-size: 0.9rem;
  margin: 0;
}

.inputs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: flex-end;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.field label {
  font-size: 0.8rem;
  color: #a1a1aa;
}

.field input,
.field select {
  padding: 0.5rem 0.75rem;
  font-size: 0.9rem;
  border: 1px solid #3f3f46;
  border-radius: 6px;
  background: #0f0f12;
  color: #e4e4e7;
  min-width: 240px;
}

.field select {
  cursor: pointer;
}

.field-control {
  position: relative;
  display: flex;
  align-items: center;
}

.field-icon {
  position: absolute;
  left: 10px;
  width: 16px;
  height: 16px;
  opacity: 0.85;
  background: #a1a1aa;
  border-radius: 4px;
}

.field-icon::after {
  /* default: magnifier */
  content: '';
  position: absolute;
  inset: 0;
  background: #a1a1aa;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M10 2a8 8 0 1 0 4.9 14.3l4.4 4.4a1 1 0 0 0 1.4-1.4l-4.4-4.4A8 8 0 0 0 10 2Zm0 2a6 6 0 1 1 0 12a6 6 0 0 1 0-12Z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M10 2a8 8 0 1 0 4.9 14.3l4.4 4.4a1 1 0 0 0 1.4-1.4l-4.4-4.4A8 8 0 0 0 10 2Zm0 2a6 6 0 1 1 0 12a6 6 0 0 1 0-12Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.field-icon.icon-search::after {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M10 2a8 8 0 1 0 4.9 14.3l4.4 4.4a1 1 0 0 0 1.4-1.4l-4.4-4.4A8 8 0 0 0 10 2Zm0 2a6 6 0 1 1 0 12a6 6 0 0 1 0-12Z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M10 2a8 8 0 1 0 4.9 14.3l4.4 4.4a1 1 0 0 0 1.4-1.4l-4.4-4.4A8 8 0 0 0 10 2Zm0 2a6 6 0 1 1 0 12a6 6 0 0 1 0-12Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.field-icon.icon-clock::after {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2a10 10 0 1 0 0 20a10 10 0 0 0 0-20Zm0 2a8 8 0 1 1 0 16a8 8 0 0 1 0-16Zm-1 3a1 1 0 0 1 2 0v5l3.3 2a1 1 0 0 1-1 1.7l-3.8-2.3A1 1 0 0 1 11 13V7Z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2a10 10 0 1 0 0 20a10 10 0 0 0 0-20Zm0 2a8 8 0 1 1 0 16a8 8 0 0 1 0-16Zm-1 3a1 1 0 0 1 2 0v5l3.3 2a1 1 0 0 1-1 1.7l-3.8-2.3A1 1 0 0 1 11 13V7Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.field-icon.icon-tag::after {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M3 5a2 2 0 0 1 2-2h6.2a2 2 0 0 1 1.4.6l8.8 8.8a2 2 0 0 1 0 2.8l-6 6a2 2 0 0 1-2.8 0L3.6 12.2A2 2 0 0 1 3 10.8V5Zm2 0v5.8l9 9L20 13.8l-8.8-8.8H5Zm2.5 1.5A1.5 1.5 0 1 0 7.5 9a1.5 1.5 0 0 0 0-3Z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M3 5a2 2 0 0 1 2-2h6.2a2 2 0 0 1 1.4.6l8.8 8.8a2 2 0 0 1 0 2.8l-6 6a2 2 0 0 1-2.8 0L3.6 12.2A2 2 0 0 1 3 10.8V5Zm2 0v5.8l9 9L20 13.8l-8.8-8.8H5Zm2.5 1.5A1.5 1.5 0 1 0 7.5 9a1.5 1.5 0 0 0 0-3Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.field-icon.icon-link::after {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M10.6 13.4a1 1 0 0 1 0-1.4l2-2a1 1 0 1 1 1.4 1.4l-2 2a1 1 0 0 1-1.4 0ZM8.5 15.5a4 4 0 0 1 0-5.7l1.4-1.4a4 4 0 0 1 5.7 0a1 1 0 1 1-1.4 1.4a2 2 0 0 0-2.9 0L9.9 11.2a2 2 0 0 0 2.9 2.9a1 1 0 1 1 1.4 1.4a4 4 0 0 1-5.7 0ZM15.5 8.5a4 4 0 0 1 0 5.7l-1.4 1.4a4 4 0 0 1-5.7 0a1 1 0 1 1 1.4-1.4a2 2 0 0 0 2.9 0l1.4-1.4a2 2 0 0 0-2.9-2.9a1 1 0 1 1-1.4-1.4a4 4 0 0 1 5.7 0Z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M10.6 13.4a1 1 0 0 1 0-1.4l2-2a1 1 0 1 1 1.4 1.4l-2 2a1 1 0 0 1-1.4 0ZM8.5 15.5a4 4 0 0 1 0-5.7l1.4-1.4a4 4 0 0 1 5.7 0a1 1 0 1 1-1.4 1.4a2 2 0 0 0-2.9 0L9.9 11.2a2 2 0 0 0 2.9 2.9a1 1 0 1 1 1.4 1.4a4 4 0 0 1-5.7 0ZM15.5 8.5a4 4 0 0 1 0 5.7l-1.4 1.4a4 4 0 0 1-5.7 0a1 1 0 1 1 1.4-1.4a2 2 0 0 0 2.9 0l1.4-1.4a2 2 0 0 0-2.9-2.9a1 1 0 1 1-1.4-1.4a4 4 0 0 1 5.7 0Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.field-icon.icon-market::after {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M4 4v16h16V4H4zm2 2h12v3l-1 2v9H7v-9l-1-2V6z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M4 4v16h16V4H4zm2 2h12v3l-1 2v9H7v-9l-1-2V6z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.field-icon.icon-dollar::after {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M11 2a1 1 0 0 1 2 0v1.1c2.6.3 4.5 1.9 4.8 4.3a1 1 0 1 1-2 .2c-.2-1.7-1.6-2.5-3.8-2.5c-2.2 0-3.5.9-3.5 2.3c0 1.3 1.1 1.9 4 2.5c3.3.8 5.5 2 5.5 5.1c0 2.7-2.1 4.5-5.3 4.9V22a1 1 0 0 1-2 0v-1.1c-2.9-.3-5-2-5.4-4.7a1 1 0 1 1 2-.3c.4 2 2.2 3 4.4 3c2.4 0 3.9-1 3.9-2.6c0-1.6-1.4-2.2-4.5-2.9C8.5 11.6 6.5 10.4 6.5 7.6c0-2.5 1.9-4.2 4.5-4.5V2Z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M11 2a1 1 0 0 1 2 0v1.1c2.6.3 4.5 1.9 4.8 4.3a1 1 0 1 1-2 .2c-.2-1.7-1.6-2.5-3.8-2.5c-2.2 0-3.5.9-3.5 2.3c0 1.3 1.1 1.9 4 2.5c3.3.8 5.5 2 5.5 5.1c0 2.7-2.1 4.5-5.3 4.9V22a1 1 0 0 1-2 0v-1.1c-2.9-.3-5-2-5.4-4.7a1 1 0 1 1 2-.3c.4 2 2.2 3 4.4 3c2.4 0 3.9-1 3.9-2.6c0-1.6-1.4-2.2-4.5-2.9C8.5 11.6 6.5 10.4 6.5 7.6c0-2.5 1.9-4.2 4.5-4.5V2Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.field-icon.icon-scale::after {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2a1 1 0 0 1 1 1v2h6a1 1 0 1 1 0 2h-1.1l1.9 4.6a1 1 0 0 1-.1.9c-.7 1-1.9 1.7-3.3 1.7s-2.6-.6-3.3-1.7a1 1 0 0 1-.1-.9L14.9 7H13v13h3a1 1 0 1 1 0 2H8a1 1 0 1 1 0-2h3V7h-1.9l1.9 4.6a1 1 0 0 1-.1.9c-.7 1-1.9 1.7-3.3 1.7S5.1 13.6 4.4 12.6a1 1 0 0 1-.1-.9L6.2 7H5a1 1 0 1 1 0-2h6V3a1 1 0 0 1 1-1Zm3.2 9l1.2-3l1.2 3h-2.4Zm-10.4 0h2.4L6 8l-1.2 3Z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2a1 1 0 0 1 1 1v2h6a1 1 0 1 1 0 2h-1.1l1.9 4.6a1 1 0 0 1-.1.9c-.7 1-1.9 1.7-3.3 1.7s-2.6-.6-3.3-1.7a1 1 0 0 1-.1-.9L14.9 7H13v13h3a1 1 0 1 1 0 2H8a1 1 0 1 1 0-2h3V7h-1.9l1.9 4.6a1 1 0 0 1-.1.9c-.7 1-1.9 1.7-3.3 1.7S5.1 13.6 4.4 12.6a1 1 0 0 1-.1-.9L6.2 7H5a1 1 0 1 1 0-2h6V3a1 1 0 0 1 1-1Zm3.2 9l1.2-3l1.2 3h-2.4Zm-10.4 0h2.4L6 8l-1.2 3Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.field-icon.icon-hash::after {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M8 3a1 1 0 0 1 1 1v3h6V4a1 1 0 1 1 2 0v3h3a1 1 0 1 1 0 2h-3v6h3a1 1 0 1 1 0 2h-3v3a1 1 0 1 1-2 0v-3H9v3a1 1 0 1 1-2 0v-3H4a1 1 0 1 1 0-2h3V9H4a1 1 0 1 1 0-2h3V4a1 1 0 0 1 1-1Zm1 6v6h6V9H9Z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M8 3a1 1 0 0 1 1 1v3h6V4a1 1 0 1 1 2 0v3h3a1 1 0 1 1 0 2h-3v6h3a1 1 0 1 1 0 2h-3v3a1 1 0 1 1-2 0v-3H9v3a1 1 0 1 1-2 0v-3H4a1 1 0 1 1 0-2h3V9H4a1 1 0 1 1 0-2h3V4a1 1 0 0 1 1-1Zm1 6v6h6V9H9Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.field-icon.icon-sort::after {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M7 3a1 1 0 0 1 1 1v14.6l1.3-1.3a1 1 0 0 1 1.4 1.4l-3 3a1 1 0 0 1-1.4 0l-3-3a1 1 0 1 1 1.4-1.4L6 18.6V4a1 1 0 0 1 1-1Zm10 18a1 1 0 0 1-1-1V5.4l-1.3 1.3a1 1 0 1 1-1.4-1.4l3-3a1 1 0 0 1 1.4 0l3 3a1 1 0 1 1-1.4 1.4L18 5.4V20a1 1 0 0 1-1 1Z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M7 3a1 1 0 0 1 1 1v14.6l1.3-1.3a1 1 0 0 1 1.4 1.4l-3 3a1 1 0 0 1-1.4 0l-3-3a1 1 0 1 1 1.4-1.4L6 18.6V4a1 1 0 0 1 1-1Zm10 18a1 1 0 0 1-1-1V5.4l-1.3 1.3a1 1 0 1 1-1.4-1.4l3-3a1 1 0 0 1 1.4 0l3 3a1 1 0 1 1-1.4 1.4L18 5.4V20a1 1 0 0 1-1 1Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.field-icon.icon-pages::after {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M7 3h9a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2Zm0 2v12h9V5H7Zm12 3h1a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H9a1 1 0 1 1 0-2h11V10h-1a1 1 0 1 1 0-2Z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M7 3h9a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2Zm0 2v12h9V5H7Zm12 3h1a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H9a1 1 0 1 1 0-2h11V10h-1a1 1 0 1 1 0-2Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.field-icon.icon-download::after {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 3a1 1 0 0 1 1 1v9.6l2.3-2.3a1 1 0 1 1 1.4 1.4l-4 4a1 1 0 0 1-1.4 0l-4-4a1 1 0 1 1 1.4-1.4L11 13.6V4a1 1 0 0 1 1-1Zm-7 16a1 1 0 0 1 1 1v1h12v-1a1 1 0 1 1 2 0v1a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2v-1a1 1 0 0 1 1-1Z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 3a1 1 0 0 1 1 1v9.6l2.3-2.3a1 1 0 1 1 1.4 1.4l-4 4a1 1 0 0 1-1.4 0l-4-4a1 1 0 1 1 1.4-1.4L11 13.6V4a1 1 0 0 1 1-1Zm-7 16a1 1 0 0 1 1 1v1h12v-1a1 1 0 1 1 2 0v1a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2v-1a1 1 0 0 1 1-1Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.field-icon.icon-grid::after {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M4 4h7v7H4V4Zm9 0h7v7h-7V4ZM4 13h7v7H4v-7Zm9 0h7v7h-7v-7Z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M4 4h7v7H4V4Zm9 0h7v7h-7V4ZM4 13h7v7H4v-7Zm9 0h7v7h-7v-7Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.field-icon.icon-user::after {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 12a4.5 4.5 0 1 0-4.5-4.5A4.5 4.5 0 0 0 12 12Zm0-2a2.5 2.5 0 1 1 2.5-2.5A2.5 2.5 0 0 1 12 10Zm0 4c-4.4 0-8 2.2-8 5a1 1 0 0 0 2 0c0-1.4 2.5-3 6-3s6 1.6 6 3a1 1 0 0 0 2 0c0-2.8-3.6-5-8-5Z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 12a4.5 4.5 0 1 0-4.5-4.5A4.5 4.5 0 0 0 12 12Zm0-2a2.5 2.5 0 1 1 2.5-2.5A2.5 2.5 0 0 1 12 10Zm0 4c-4.4 0-8 2.2-8 5a1 1 0 0 0 2 0c0-1.4 2.5-3 6-3s6 1.6 6 3a1 1 0 0 0 2 0c0-2.8-3.6-5-8-5Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.field-icon.icon-info::after {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.field input,
.field select {
  padding-left: 34px;
}

#limit {
  min-width: 120px;
}

#page {
  min-width: 88px;
  max-width: 88px;
}

#sortByAsc,
#sortByDesc {
  min-width: 250px;
  max-width: 250px;
}

.field input[type='number'] {
  min-width: 100px;
  max-width: 100px;
}

#mint {
  min-width: 430px;
  max-width: 430px;
}

.holders-fetch-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.75rem;
  flex-basis: 100%;
}

.field label .label-icon.field-icon,
.field-switch-header .label-icon.field-icon {
  display: inline-block;
  position: relative;
  left: 0;
  width: 14px;
  height: 14px;
  vertical-align: middle;
  background: none;
  opacity: 1;
}
.field label .label-icon.field-icon::after,
.field-switch-header .label-icon.field-icon::after {
  inset: 0;
  position: absolute;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

.remote-filters-help {
  margin: 0.5rem 0 0.5rem;
  font-size: 0.8rem;
  color: #a1a1aa;
  flex-basis: 100%;
}

.actions {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.loading {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: #a1a1aa;
}

.loading[hidden] {
  display: none !important;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.section-header h2 {
  margin: 0;
  font-size: 1.1rem;
}

.section-header--trades {
  justify-content: space-between;
  width: 100%;
}

.section-header-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.trades-fetch-control {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
}

.trades-fetch-lock {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 1.85rem;
  padding: 0;
  border: 1px solid #3f3f46;
  border-radius: 6px;
  background: #18181b;
  color: #a1a1aa;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}

.trades-fetch-lock[aria-pressed="true"] {
  background: #ca8a04;
  color: #1c1917;
  border-color: #a16207;
}

.trades-fetch-lock[aria-pressed="false"] {
  background: #90ee90;
  color: #1e6b1e;
  border-color: #6bc96b;
}

.trades-fetch-lock[aria-pressed="false"]:not(.trades-fetch-lock--no-hover):hover {
  background: #ca8a04;
  color: #1c1917;
  border-color: #a16207;
}

.trades-fetch-lock[aria-pressed="false"]:not(.trades-fetch-lock--no-hover):hover .trades-fetch-lock-icon--locked {
  display: block !important;
}

.trades-fetch-lock[aria-pressed="false"]:not(.trades-fetch-lock--no-hover):hover .trades-fetch-lock-icon--unlocked {
  display: none !important;
}

.trades-fetch-lock[aria-pressed="true"]:not(.trades-fetch-lock--no-hover):hover {
  background: #90ee90;
  color: #1e6b1e;
  border-color: #6bc96b;
}

.trades-fetch-lock[aria-pressed="true"]:not(.trades-fetch-lock--no-hover):hover .trades-fetch-lock-icon--locked {
  display: none;
}

.trades-fetch-lock[aria-pressed="true"]:not(.trades-fetch-lock--no-hover):hover .trades-fetch-lock-icon--unlocked {
  display: block !important;
}

.trades-fetch-lock[aria-pressed="false"] .trades-fetch-lock-icon--locked {
  display: none;
}

.trades-fetch-lock[aria-pressed="false"] .trades-fetch-lock-icon--unlocked {
  display: block !important;
}

.trades-fetch-lock-icon--unlocked {
  display: none;
}

.trades-fetch-switch {
  display: inline-flex;
  cursor: pointer;
  user-select: none;
}

.trades-fetch-switch-input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.trades-fetch-switch-track {
  display: flex;
  align-items: center;
  height: 2rem;
  padding: 0 0.25rem;
  border-radius: 6px;
  background: #27272a;
  border: 1px solid #3f3f46;
  position: relative;
  min-width: 7.5rem;
}

.trades-fetch-switch-track::after {
  content: "";
  position: absolute;
  left: 0.25rem;
  top: 0.25rem;
  width: calc(50% - 0.35rem);
  height: calc(100% - 0.5rem);
  border-radius: 6px;
  background: #3b82f6;
  border: 1px solid #3f3f46;
  transition: transform 0.2s ease;
  z-index: 0;
}

.trades-fetch-switch-input:checked + .trades-fetch-switch-track::after {
  transform: translateX(100%);
}

.trades-fetch-switch-option {
  flex: 1;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 500;
  color: #71717a;
  z-index: 1;
  transition: color 0.2s;
}

.trades-fetch-switch-input:not(:checked) + .trades-fetch-switch-track .trades-fetch-switch-option[data-value="single"] {
  color: #e4e4e7;
}

.trades-fetch-switch-input:checked + .trades-fetch-switch-track .trades-fetch-switch-option[data-value="paged"] {
  color: #e4e4e7;
}

.trades-fetch-switch.trades-fetch-switch--locked {
  pointer-events: none;
  opacity: 0.85;
}

.section-loading {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: #a1a1aa;
  margin-left: 12px;
}

.section-loading[hidden] {
  display: none !important;
}

.section-error {
  display: inline-block;
  font-size: 0.9rem;
  color: #f87171;
}

.section-error[hidden] {
  display: none !important;
}

.loading-spinner {
  width: 14px;
  height: 14px;
  border: 2px solid #3f3f46;
  border-top-color: #3b82f6;
  border-radius: 999px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.loading-text {
  margin: 0;
}

button {
  border: 1px solid #3f3f46;
  background: #27272a;
  color: #e4e4e7;
  border-radius: 8px;
  padding: 0.55rem 0.9rem;
  font-size: 0.9rem;
  cursor: pointer;
}

button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.panel {
  background: #18181b;
  border: 1px solid #27272a;
  border-radius: 10px;
  padding: 1rem;
  margin-bottom: 1rem;
}

.panel h2 {
  margin: 0;
  font-size: 1.1rem;
}

#tokenSection .section-header h2,
#holdersSection .section-header h2 {
  margin-bottom: 0.65rem;
}

.token-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.token-logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.token-header .symbol {
  font-weight: 600;
  font-size: 1.1rem;
  display: block;
}

.token-header .name {
  font-size: 0.85rem;
  color: #a1a1aa;
}

.token-stats-groups {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.token-stats-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  align-items: stretch;
}

.token-stats-col {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.token-stats-group {
  padding: 1rem;
  background: #0f0f12;
  border: 1px solid #27272a;
  border-radius: 6px;
}

/* Includes cards inside .token-stats-row columns (price / supply). */
.token-stats-groups .token-stats-group,
.holders-table-card {
  position: relative;
  overflow: hidden;
}

.token-stats-group-title {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #a1a1aa;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0 0 0.75rem 0;
}

.section-header > h2.token-stats-group-title {
  display: flex;
  margin-bottom: 0.5rem;
}

.token-stats-group-title .section-icon {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.token-stats-group--overview .token-stats-group-title .section-icon {
  color: #f59e0b;
}

.token-stats-group--price .token-stats-group-title .section-icon {
  color: #38bdf8;
}

.token-stats-group--supply .token-stats-group-title .section-icon {
  color: #34d399;
}

.token-stats-group--meta .token-stats-group-title .section-icon {
  color: #a78bfa;
}

.token-stats {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.35rem 1.5rem;
  margin: 0;
  font-size: 0.9rem;
}

.token-stats dt {
  color: #a1a1aa;
  font-weight: 500;
}

.token-stats dd {
  margin: 0;
  word-break: break-all;
}

.token-section a {
  color: #3b82f6;
  text-decoration: none;
}

.token-section a:hover {
  text-decoration: none;
}

/* Muted section label (matches top-traders period row, e.g. “24 HOURS”) */
.token-supply-period-header {
  margin: 0 0 0.75rem 0;
}

.token-supply-period-title {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.35;
  color: #a1a1aa;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Card titles: brighter, tracked caps (matches traders pie card headers) */
.token-supply-card .section-header h2 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
  color: #d4d4d8;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.token-supply-subheader {
  margin-top: 0;
}

.token-supply-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.token-supply-card {
  position: relative;
  background: #0f0f12;
  border: 1px solid #27272a;
  border-radius: 8px;
  padding: 1rem;
  overflow: hidden;
}

/* Left accent stripe */
.token-supply-card::before,
.token-stats-groups .token-stats-group::before,
.holders-table-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  opacity: 0.92;
  pointer-events: none;
}

.token-supply-card::before {
  width: 3px;
  border-radius: 8px 0 0 8px;
  background: linear-gradient(180deg, #60a5fa, #34d399);
}

.holders-table-card::before {
  border-radius: 6px 0 0 6px;
  background: linear-gradient(180deg, #60a5fa, #34d399);
}

.token-stats-groups .token-stats-group::before {
  border-radius: 6px 0 0 6px;
}

.token-stats-group--overview::before {
  background: linear-gradient(180deg, #fbbf24, #d97706);
}

.token-stats-group--price::before {
  background: linear-gradient(180deg, #38bdf8, #2563eb);
}

.token-stats-group--supply::before {
  background: linear-gradient(180deg, #34d399, #0d9488);
}

.token-stats-group--meta::before {
  background: linear-gradient(180deg, #a78bfa, #6366f1);
}

.holders-section .holders-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.holders-table-card .token-stats-group-title {
  margin-bottom: 0.65rem;
}

.holders-table-card .table-wrap thead th {
  background: #0f0f12;
}

.holders-table-card tbody tr:hover td {
  background: rgba(255, 255, 255, 0.04);
}

.token-supply-wrap {
  display: flex;
  gap: 2rem;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

.token-supply-pie {
  position: relative;
  width: clamp(180px, 20vw, 240px);
  aspect-ratio: 1 / 1;
  height: auto;
  flex: 0 0 auto;
  border-radius: 50%;
  border: none;
  transform: translateZ(0);
  isolation: isolate;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 0 0 1px rgba(0, 0, 0, 0.55) inset,
    0 0 0.65px rgba(0, 0, 0, 0.45),
    0 10px 32px rgba(0, 0, 0, 0.5);
  background: #1a1a1f;
}

.token-supply-pie::after {
  content: '';
  position: absolute;
  inset: 27%;
  border-radius: 50%;
  z-index: 1;
  background: linear-gradient(165deg, #15151a 0%, #101014 50%, #0c0c10 100%);
  box-shadow:
    inset 0 2px 5px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.05);
  pointer-events: none;
}

.token-supply-pie--donut-labels {
  overflow: visible;
}

.token-supply-card:has(.token-supply-pie--donut-labels) {
  overflow: visible;
}

.token-supply-legend {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  font-size: 1.05rem;
  min-width: 240px;
  flex: 1 1 260px;
}

.token-supply-legend-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.token-supply-legend-swatch {
  width: 12px;
  height: 12px;
  border-radius: 2px;
  flex: 0 0 auto;
}

.token-supply-legend-content {
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
}

.token-supply-legend-label {
  color: #e4e4e7;
  font-weight: 500;
  line-height: 1.2;
}

.token-supply-legend-sublist {
  margin: 0;
  padding-left: 1.15rem;
  font-size: 0.9rem;
  line-height: 1.2;
}

.token-supply-legend-sublist li {
  margin: 0.05rem 0;
  overflow-wrap: anywhere;
}

.token-supply-legend-pct {
  color: #f4f4f5;
}

.token-supply-legend-token {
  color: #a1a1aa;
}

.token-supply-legend-usd {
  color: #86efac;
}

.meta {
  font-size: 0.85rem;
  color: #a1a1aa;
  margin: 0 0 0.75rem 0;
}

.meta.token-supply-card-desc {
  margin: 0 0 24px 0;
  font-size: 0.9rem;
  line-height: 1.45;
  font-weight: 400;
  color: #d4d4d8;
}

.trades-summary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  align-items: start;
}

.trades-summary-programs-fullrow {
  grid-column: 1 / -1;
}

.trades-summary-block {
  background: #0f0f12;
  border: 1px solid #27272a;
  border-radius: 6px;
  padding: 1rem;
}

.trades-summary-programs {
  min-width: 0;
}

.trades-summary-programs table {
  table-layout: fixed;
  width: 100%;
}

.trades-summary-programs table col.col-label {
  width: 30%;
}

.trades-summary-programs table col.col-top-market {
  min-width: 12rem;
}

.trades-summary-programs table col.col-count {
  width: 4.5rem;
}

.trades-summary-programs table th:first-child,
.trades-summary-programs table td:first-child {
  width: 30%;
  box-sizing: border-box;
}

.trades-summary-programs table th:last-child,
.trades-summary-programs table td:last-child {
  width: 4.5rem;
  min-width: 4.5rem;
  max-width: 4.5rem;
  text-align: right;
  box-sizing: border-box;
}

.trades-summary-programs table td:nth-child(2) {
  min-width: 0;
}

.trades-summary-programs table td:nth-child(3) {
  white-space: nowrap;
}

.trades-summary-programs a {
  color: #3b82f6;
  text-decoration: none;
}

.trades-summary-programs a:hover {
  text-decoration: none;
}

.trades-summary-quotes a {
  color: #3b82f6;
  text-decoration: none;
}

.trades-summary-quotes a:hover {
  text-decoration: none;
}

.trades-summary-quotes {
  min-width: 0;
}

.trades-summary-block.trades-summary-quotes .trades-summary-table th:last-child,
.trades-summary-block.trades-summary-quotes .trades-summary-table td:last-child {
  text-align: right;
}

.trades-summary-block.trades-summary-markets .trades-summary-table th:last-child,
.trades-summary-block.trades-summary-markets .trades-summary-table td:last-child {
  text-align: right;
}

.trades-summary-markets .trades-summary-table th:first-child,
.trades-summary-markets .trades-summary-table td:first-child {
  width: 42%;
  box-sizing: border-box;
}

.trades-summary-markets a {
  color: #3b82f6;
  text-decoration: none;
}

.trades-summary-markets a:hover {
  text-decoration: none;
}

/* ~20 rows visible, then scroll */
.top-traders-section .table-wrap,
.holders-section .table-wrap {
  max-height: 45rem;
  overflow-y: auto;
}

/* Sticky header row for Top traders and Top holders */
.top-traders-section .table-wrap thead th,
.holders-section .table-wrap thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #18181b;
  border-bottom: 1px solid #27272a;
  box-shadow: 0 1px 0 #27272a;
}

.top-traders-section a {
  color: #3b82f6;
  text-decoration: none;
}

.top-traders-section a:hover {
  text-decoration: none;
}

.trades-summary-markets {
  min-width: 0;
}

.trades-summary-subtitle {
  font-size: 0.8rem;
  font-weight: 600;
  color: #a1a1aa;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0 0 0.75rem 0;
}

.trades-summary-table {
  font-size: 0.85rem;
}

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

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

th,
td {
  text-align: left;
  padding: 0.5rem 0.75rem;
  border-bottom: 1px solid #27272a;
}

th {
  color: #a1a1aa;
  font-weight: 500;
}

tr:hover td {
  background: #27272a;
}

.holders-section a {
  color: #3b82f6;
  text-decoration: none;
}

.holders-section a:hover {
  text-decoration: none;
}

td .mono {
  font-family: ui-monospace, monospace;
  font-size: 0.8rem;
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.error.panel {
  border-color: #7f1d1d;
  background: #1c1917;
}

#errorText {
  margin: 0;
  font-size: 0.85rem;
  color: #fca5a5;
  white-space: pre-wrap;
  word-break: break-all;
}

/* Numeric columns: right-align header and cells so they line up (Top traders, Holders) */
#topTradersTable th:nth-child(4),
#topTradersTable td:nth-child(4),
#topTradersTable th:nth-child(5),
#topTradersTable td:nth-child(5),
#topTradersTable th:nth-child(6),
#topTradersTable td:nth-child(6) {
  text-align: right !important;
}

#holdersTable th:nth-child(3),
#holdersTable td:nth-child(3) {
  text-align: left !important;
}

#holdersTable th:nth-child(4),
#holdersTable td:nth-child(4),
#holdersTable th:nth-child(5),
#holdersTable td:nth-child(5) {
  text-align: right !important;
}

.holders-value-usd {
  color: #86efac;
}

*::-webkit-scrollbar {
  width: 10px;
}

*::-webkit-scrollbar-track {
  background: #000000;
  border-radius: 999px;
  margin: 4px 0; /* let rounded ends show */
}

*::-webkit-scrollbar-thumb {
  background-color: #71717a;
  border-radius: 999px;
}

/* Dashboard layout + charts (aligned with top-traders token supply UI) */
.token-supply-grid--trade-count-pie-row {
  grid-template-columns: 1fr;
  margin-bottom: 0.25rem;
}

.token-supply-grid--section-gap {
  margin-bottom: 1.15rem;
}

.token-supply-card--fullwidth {
  grid-column: 1 / -1;
}

.token-supply-card--trade-tier-dash {
  overflow: visible;
}

.token-trade-tier-dash__main {
  display: grid;
  grid-template-columns: minmax(200px, 260px) 1fr;
  gap: 1.25rem 1.5rem;
  align-items: start;
}

.token-trade-tier-dash__chart-col {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: visible;
  padding-top: 12px;
  padding-bottom: 8px;
}

.token-trade-tier-dash__legend-col {
  min-width: 0;
}

.token-supply-wrap--trade-tier-pie {
  justify-content: center;
  flex-wrap: nowrap;
  margin-top: 0.25rem;
  padding: 0.45rem min(5.5vw, 22px);
  overflow: visible;
  box-sizing: border-box;
}

.token-trade-tier-dash__chart-title {
  margin: 0 0 0.35rem;
}

.token-trade-tier-dash__chart-note.meta.token-supply-card-desc {
  margin: 0 0 0.65rem;
}

.token-supply-legend--compact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 0.65rem;
  row-gap: 1rem;
  font-size: 0.72rem;
  min-width: 0;
  flex: 1 1 200px;
}

.token-supply-legend--compact-grid .token-supply-legend-item {
  gap: 0.45rem;
  align-items: flex-start;
}

.token-supply-legend--compact-grid .token-supply-legend-swatch {
  width: 9px;
  height: 9px;
  margin-top: 0.15em;
}

.token-supply-legend--compact-grid .token-supply-legend-label {
  font-size: 0.97em;
  line-height: 1.25;
  color: #a1a1aa;
}

.token-supply-legend--compact-grid .token-supply-legend-pct {
  color: #e0f2fe;
}

.token-supply-legend--compact-grid .token-supply-legend-sublist {
  font-size: 0.92em;
  padding-left: 0.95rem;
  line-height: 1.15;
}

.token-supply-legend--compact-grid .token-supply-legend-sublist li {
  margin: 0;
}

.token-supply-legend--tier-dashboard.token-supply-legend--compact-grid {
  column-gap: 0.75rem;
  row-gap: 0.85rem;
}

.token-trade-tier-dash__holders-dist {
  margin-top: 0.2rem;
  padding-bottom: 0.75rem;
}

.token-trades-vertical-bars {
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  gap: 0.65rem;
  align-items: start;
}

.token-trades-vertical-bars--cols6 {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.token-trades-vertical-bar-item {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-width: 0;
}

.token-trades-vertical-track {
  position: relative;
  height: 200px;
  border-radius: 10px;
  background: #18181b;
  border: 1px solid #27272a;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.token-trades-vertical-fill {
  width: 100%;
  border-radius: 8px 8px 0 0;
}

.token-trades-vertical-count {
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.78rem;
  color: #f4f4f5;
  font-weight: 600;
  text-shadow:
    0 0 2px rgba(0, 0, 0, 0.98),
    0 1px 2px rgba(0, 0, 0, 0.9),
    0 -1px 1px rgba(0, 0, 0, 0.8);
  pointer-events: none;
}

.token-trades-vertical-label {
  font-size: 0.74rem;
  line-height: 1.2;
  color: #d4d4d8;
  text-align: center;
  word-break: break-word;
}

.token-pnl-bar-fill--trade-scale {
  background: linear-gradient(
    180deg,
    hsl(calc(120 - (var(--trade-grad-t, 0) * 120)) 85% 42%),
    hsl(calc(120 - (var(--trade-grad-t, 0) * 120)) 92% 52%)
  );
}

.wallet-pnl-pnl-trading-lede {
  font-size: 0.88rem;
  line-height: 1.45;
  color: #a1a1aa;
}

.token-stat-price-pct {
  font-size: 0.82em;
  font-weight: 600;
  white-space: nowrap;
}

.usd-tone--positive {
  color: #4ade80;
}

.usd-tone--negative {
  color: #f87171;
}

/* Pie legend tier cards (from top-traders) */
.token-supply-legend--compact-grid.token-supply-legend--cols2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.token-supply-legend--compact-grid.token-supply-legend--cols3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.token-supply-legend--cols6 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.token-supply-legend--tier-dashboard.token-supply-legend--cols6 {
  column-gap: 0.65rem;
}

.token-supply-legend--tier-dashboard .token-supply-legend-item--tier-dashboard {
  min-width: 0;
}

.token-supply-legend--tier-dashboard .token-supply-legend-item {
  align-items: stretch;
}

.token-tier-card {
  background: linear-gradient(165deg, rgba(22, 22, 28, 0.98) 0%, rgba(11, 11, 14, 0.99) 100%);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  padding: 0.55rem 0.65rem 0.6rem;
  border-left: 3px solid var(--tier-accent, #38bdf8);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.04) inset,
    0 10px 32px rgba(0, 0, 0, 0.5);
  width: 100%;
  box-sizing: border-box;
}

.token-tier-card--placeholder {
  opacity: 0.72;
}

.token-tier-card__title {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #f4f4f5;
  margin: 0 0 0.5rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  line-height: 1.25;
}

.token-tier-card__metrics {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.36rem;
}

.token-tier-metric {
  display: flex;
  align-items: center;
  gap: 0.42rem;
  font-size: 0.66rem;
  line-height: 1.35;
  margin: 0;
}

.token-tier-metric__ico {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.58rem;
  font-weight: 800;
  line-height: 1;
}

.token-tier-metric__ico--share-swatch {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.token-tier-metric__ico--share-swatch::before {
  content: '';
  width: 11px;
  height: 11px;
  border-radius: 3px;
  background: var(--tier-swatch, #38bdf8);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.35),
    0 1px 2px rgba(0, 0, 0, 0.25);
}

.token-tier-metric__ico--usd {
  background: rgba(134, 239, 172, 0.1);
  color: #86efac;
  border: 1px solid rgba(134, 239, 172, 0.18);
  font-size: 0.62rem;
}

.token-tier-metric__ico--volume {
  background: rgba(125, 211, 252, 0.12);
  color: #7dd3fc;
  border: 1px solid rgba(125, 211, 252, 0.22);
}

.token-tier-metric__ico--people {
  background: rgba(161, 161, 170, 0.12);
  color: #a1a1aa;
  border: 1px solid rgba(161, 161, 170, 0.15);
}

.token-tier-metric__svg {
  width: 13px;
  height: 13px;
  display: block;
}

.token-tier-metric__body {
  flex: 1;
  min-width: 0;
}

.token-tier-metric__slice-pct {
  color: #93c5fd;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.token-tier-metric__muted {
  color: #a1a1aa;
}

.token-tier-metric__accent-usd {
  color: #86efac;
  font-weight: 600;
}

.token-tier-metric__accent-volume {
  color: #7dd3fc;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.token-tier-metric__emph {
  color: #e4e4e7;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.token-tier-metric__body--stack {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
}

.token-tier-metric__label {
  display: block;
  font-size: 0.58rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #71717a;
  font-weight: 600;
}

.token-tier-metric__ratio {
  font-size: 0.72rem;
  font-weight: 700;
  color: #e0f2fe;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

.token-tier-metric__ratio--vol-pnl-split {
  font-size: unset;
  font-weight: unset;
  color: unset;
  letter-spacing: unset;
}

.token-tier-metric__vol-pnl-slice-val {
  font-size: 0.72rem;
  font-weight: 700;
  color: #e0f2fe;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

.token-tier-metric__vol-pnl-totalvol-suffix {
  font-size: 0.58rem;
  font-weight: 500;
  color: #71717a;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
}

.token-tier-metric--total {
  margin-top: 0.12rem;
  padding-top: 0.35rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Concentration metrics */
.holders-concentration-inner {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.85rem 1.25rem;
  align-items: start;
}

.holders-conc-metric {
  background: rgba(15, 15, 18, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 0.55rem 0.65rem;
}

.holders-conc-metric__label {
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #71717a;
  margin: 0 0 0.35rem;
}

.holders-conc-metric__value {
  font-size: 1.05rem;
  font-weight: 700;
  color: #e0f2fe;
  font-variant-numeric: tabular-nums;
  margin: 0 0 0.45rem;
}

.holders-conc-bar-track {
  position: relative;
  height: 8px;
  border-radius: 999px;
  background: #18181b;
  border: 1px solid #27272a;
  overflow: hidden;
}

.holders-conc-bar-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #2563eb, #60a5fa);
}

.holders-conc-gini {
  grid-column: 1 / -1;
  padding: 0.65rem 0.75rem;
  border-radius: 8px;
  background: rgba(96, 165, 250, 0.06);
  border: 1px solid rgba(96, 165, 250, 0.15);
  font-size: 0.85rem;
  line-height: 1.45;
  color: #d4d4d8;
}

.holders-conc-gini strong {
  color: #93c5fd;
  font-variant-numeric: tabular-nums;
}

/* Horizontal bar lists (labeled groups) */
.holders-hbar-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 0.35rem;
}

.holders-hbar-row {
  display: grid;
  grid-template-columns: minmax(100px, 1fr) minmax(120px, 2.5fr) auto;
  gap: 0.65rem 1rem;
  align-items: center;
  font-size: 0.78rem;
}

.holders-hbar-name {
  color: #e4e4e7;
  font-weight: 500;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.holders-hbar-name a {
  color: #60a5fa;
  text-decoration: none;
}

.holders-hbar-name a:hover {
  text-decoration: underline;
}

.holders-hbar-track {
  position: relative;
  height: 14px;
  border-radius: 999px;
  background: #18181b;
  border: 1px solid #27272a;
  overflow: hidden;
}

.holders-hbar-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #2563eb, #34d399);
}

.holders-hbar-meta {
  color: #a1a1aa;
  font-variant-numeric: tabular-nums;
  text-align: right;
  white-space: nowrap;
}

.holders-hbar-meta .holders-value-usd {
  margin-left: 0.35rem;
}