/* Mobile pagination for Stablecoin Flows & Whales — hidden on desktop */
.mobile-pagination {
  display: none;
}

@media (max-width: 768px) {
  .mobile-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    padding: 12px 8px;
    flex-wrap: wrap;
  }

  .mp-btn {
    background: #3a3a3a;
    color: #c8d0d8;
    border: 1px solid #4a4a4a;
    border-radius: 6px;
    min-width: 36px;
    height: 36px;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 8px;
    transition: background 0.15s, border-color 0.15s;
    -webkit-tap-highlight-color: transparent;
  }

  .mp-btn:active {
    background: #4a4a4a;
  }

  .mp-btn.mp-active {
    background: #4a9eff;
    color: #111;
    border-color: #4a9eff;
    font-weight: 600;
  }

  .mp-btn:disabled {
    opacity: 0.3;
    cursor: default;
  }

  .mp-ellipsis {
    color: #888888;
    padding: 0 4px;
    font-size: 14px;
  }

  .mp-info {
    width: 100%;
    text-align: center;
    font-size: 12px;
    color: #888888;
    margin-top: 4px;
  }

  /* Remove internal scroll when paginated on mobile */
  #panel-flows.mobile-paginated,
  #panel-whales.mobile-paginated {
    max-height: none !important;
    height: auto !important;
    overflow: visible !important;
  }

  #panel-flows.mobile-paginated #stablecoin-flows-content.card-content {
    max-height: none !important;
    overflow-y: visible !important;
    overflow-x: hidden !important;
  }

  #panel-whales.mobile-paginated #whales-content {
    max-height: none !important;
    overflow-y: visible !important;
    overflow-x: hidden !important;
  }
}
