/* ===== CARD CLICKABLE ===== */
.spotlight-card {
    cursor: pointer;
}
.spotlight-card:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

/* ===== BADGES (protocol + bonding status) ===== */
.sp-badges {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.sp-badge {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.3px;
    padding: 3px 8px;
    border-radius: 5px;
    white-space: nowrap;
    text-transform: uppercase;
    line-height: 1.2;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* Protocol / launchpad badge */
.sp-badge-proto {
    background: rgba(212, 175, 55, 0.1);
    color: var(--gold);
    border: 1px solid var(--border-gold);
}

/* Bonding status badge */
.sp-badge-status::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    display: inline-block;
}

.sp-status-new {
    background: rgba(34, 197, 94, 0.12);
    color: var(--green);
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.sp-status-finalizing {
    background: rgba(212, 175, 55, 0.14);
    color: var(--gold);
    border: 1px solid var(--border-gold);
}

.sp-status-migrated {
    background: rgba(96, 165, 250, 0.12);
    color: #60a5fa;
    border: 1px solid rgba(96, 165, 250, 0.3);
}
/* =============================================================
   Spotlight — Meme Rush (extends index.css theme)
   ============================================================= */

/* ===== MAIN LAYOUT ===== */
.spotlight-main {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    min-height: 0;
    padding-bottom: 12px;
}

/* ===== HEADER ===== */
.spotlight-header {
    padding: 24px 20px 12px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex-shrink: 0;
}

.spotlight-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.spotlight-title {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
}

.spotlight-title .live-dot {
    width: 8px;
    height: 8px;
}

.spotlight-sub {
    font-size: 12px;
    color: var(--text-2);
    font-weight: 500;
    margin-top: 2px;
}

/* ===== CONTROLS ===== */
.spotlight-controls {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.spotlight-select {
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid var(--border-strong);
    background: var(--bg);
    color: var(--text);
    font-family: var(--sans);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    outline: none;
    transition: 0.16s;
}

.spotlight-select:focus {
    border-color: var(--gold);
    box-shadow: var(--gold-glow);
}

.spotlight-refresh {
    padding: 8px 16px;
    border-radius: 8px;
    border: 1px solid var(--border-gold);
    background: rgba(212, 175, 55, 0.08);
    color: var(--gold);
    font-family: var(--sans);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.16s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.spotlight-refresh:hover {
    background: rgba(212, 175, 55, 0.18);
    border-color: var(--gold);
}

/* ===== CHAIN FILTER ===== */
.spotlight-chain-filter {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.spotlight-chain-btn {
    padding: 7px 14px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: var(--bg2);
    color: var(--text-2);
    font-family: var(--sans);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.16s;
    white-space: nowrap;
}

.spotlight-chain-btn:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.spotlight-chain-btn.active {
    background: var(--gold-glossy);
    color: var(--gold-text);
    border-color: transparent;
    box-shadow: 0 2px 10px rgba(212, 175, 55, 0.35);
}

/* ===== GRID ===== */
.spotlight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 12px;
    padding: 0 20px 20px;
}

/* ===== CARD ===== */
.spotlight-card {
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: 0.16s;
    position: relative;
    overflow: hidden;
}

.spotlight-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.2), transparent);
}

.spotlight-card:hover {
    border-color: var(--border-gold);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.08);
}

.sp-card-top {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sp-logo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    background: var(--bg3);
    border: 1px solid var(--border);
    flex-shrink: 0;
}

.sp-logo-fallback {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg3);
    border: 1px solid var(--border);
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 14px;
    color: var(--gold);
    flex-shrink: 0;
}

.sp-info {
    flex: 1;
    min-width: 0;
}

.sp-symbol {
    font-weight: 800;
    font-size: 14px;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sp-name {
    font-size: 11px;
    color: var(--text-2);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sp-chain-badge {
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 2px 6px;
    border-radius: 4px;
    background: rgba(212, 175, 55, 0.1);
    color: var(--gold);
    border: 1px solid var(--border-gold);
    white-space: nowrap;
    flex-shrink: 0;
}

/* ===== STATS ===== */
.sp-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    font-size: 11px;
}

.sp-stat {
    display: flex;
    justify-content: space-between;
    gap: 4px;
}

.sp-stat-label {
    color: var(--text-3);
    font-weight: 500;
}

.sp-stat-val {
    font-family: var(--mono);
    font-weight: 600;
    color: var(--text);
    font-variant-numeric: tabular-nums;
    text-align: right;
}

/* ===== PROGRESS BAR ===== */
.sp-progress-wrap {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.sp-progress-label {
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    color: var(--text-3);
    font-weight: 600;
}

.sp-progress-bar {
    height: 4px;
    background: var(--bg3);
    border-radius: 2px;
    overflow: hidden;
}

.sp-progress-fill {
    height: 100%;
    background: var(--gold-glossy);
    border-radius: 2px;
    transition: width 0.4s ease;
}

/* ===== TAGS ===== */
.sp-tags {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}

.sp-tag {
    font-size: 9px;
    padding: 1px 6px;
    border-radius: 3px;
    background: var(--bg3);
    color: var(--text-3);
    border: 1px solid var(--border);
    white-space: nowrap;
}

.sp-tag.hot {
    background: rgba(212, 175, 55, 0.12);
    color: var(--gold);
    border-color: var(--border-gold);
}

/* ===== EMPTY / LOADING ===== */
.spotlight-empty {
    grid-column: 1 / -1;
    padding: 48px 20px;
    text-align: center;
    color: var(--text-3);
    font-size: 13px;
}

.spotlight-loading {
    grid-column: 1 / -1;
    padding: 48px 20px;
    text-align: center;
    color: var(--text-2);
    font-size: 13px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.spinner {
    width: 28px;
    height: 28px;
    border: 2px solid var(--border);
    border-top-color: var(--gold);
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ===== FOOTER NOTE ===== */
.spotlight-footer-note {
    padding: 0 20px 20px;
    font-size: 10.5px;
    color: var(--text-3);
    text-align: center;
    font-family: var(--mono);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 760px) {
    .spotlight-header {
        padding: 16px 12px 8px;
    }
    .spotlight-title {
        font-size: 18px;
    }
    .spotlight-grid {
        padding: 0 12px 12px;
        gap: 8px;
        grid-template-columns: 1fr;
    }
    .spotlight-card {
        padding: 12px;
    }
    .spotlight-chain-btn {
        padding: 5px 10px;
        font-size: 11px;
    }
    .spotlight-controls {
        width: 100%;
    }
    .spotlight-select {
        flex: 1;
    }
    .spotlight-footer-note {
        padding: 0 12px 12px;
    }
}

@media (max-width: 520px) {
    .spotlight-grid {
        grid-template-columns: 1fr;
    }
    .sp-stats {
        grid-template-columns: 1fr 1fr;
    }
}