/* TopBaseTokens — ranked Base ecosystem token table */
.top-base-tokens__controls {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0 0 10px;
    margin-bottom: 8px;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.06);
}
.top-base-tokens__sort { display: flex; align-items: center; gap: 8px; }
.top-base-tokens__sort-label {
    font-size: 0.66rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-text-muted, #9ca3af);
}
.top-base-tokens__select {
    font-family: inherit;
    font-size: 0.8rem;
    padding: 5px 9px;
    background: rgba(0, 0, 0, 0.25);
    color: var(--color-text-primary, #f3f4f6);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 6px;
}

.top-base-tokens__table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.82rem;
}
.top-base-tokens__table thead th {
    text-align: left;
    font-size: 0.66rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-text-muted, #9ca3af);
    padding: 6px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.top-base-tokens__table tbody td {
    padding: 8px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    color: var(--color-text-primary, #f3f4f6);
}
.top-base-tokens__table tbody tr:hover { background: rgba(255, 255, 255, 0.02); }

.top-base-tokens__name {
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 7px;
}
.top-base-tokens__name-link {
    color: var(--color-text-primary, #f3f4f6);
    text-decoration: none;
}
.top-base-tokens__name-link:hover { color: #60a5fa; text-decoration: underline; }

.top-base-tokens__ticker {
    font-family: var(--font-mono, monospace);
    font-size: 0.74rem;
    color: var(--color-text-muted, #9ca3af);
}
.top-base-tokens__num {
    text-align: right;
    font-family: var(--font-mono, monospace);
    font-size: 0.78rem;
}
.top-base-tokens__change {
    text-align: right;
    font-family: var(--font-mono, monospace);
    font-size: 0.78rem;
    color: var(--color-text-muted, #9ca3af);
}
.top-base-tokens__change--up   { color: #4ade80; }
.top-base-tokens__change--down { color: #f87171; }

.top-base-tokens__badge {
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    padding: 1px 5px;
    background: rgba(59, 130, 246, 0.18);
    color: #93c5fd;
    border: 1px solid rgba(59, 130, 246, 0.4);
    border-radius: 3px;
}

.top-base-tokens__more {
    margin-top: 10px;
    font-family: inherit;
    font-size: 0.72rem;
    padding: 5px 12px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--color-text-secondary, #d1d5db);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 6px;
    cursor: pointer;
}
.top-base-tokens__more:hover { background: rgba(255, 255, 255, 0.08); }

.top-base-tokens__empty {
    padding: 20px;
    text-align: center;
    color: var(--color-text-muted, #9ca3af);
    font-size: 0.8rem;
}

@media (max-width: 640px) {
    .top-base-tokens__table { font-size: 0.74rem; }
    .top-base-tokens__table thead th,
    .top-base-tokens__table tbody td { padding: 6px 6px; }
    .top-base-tokens__ticker { font-size: 0.66rem; }
}
