/* ============================================================
   NOSTR FEED — CryptoInNYC
   ============================================================ */

/* Header row: title + tab switcher */
.news-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.news-section-header .section-title {
    margin-bottom: 0;
}

/* Tab buttons */
.news-tab-switcher {
    display: flex;
    gap: 4px;
}

.news-tab-btn {
    background: transparent;
    border: 1px solid var(--color-border);
    color: var(--color-text-dim);
    font-family: 'Space Mono', monospace;
    font-size: 10px;
    font-weight: 700;
    padding: 4px 10px;
    cursor: pointer;
    transition: all 0.2s;
    letter-spacing: 0.05em;
}

.news-tab-btn:hover {
    border-color: var(--color-accent-cyan);
    color: var(--color-accent-cyan);
}

.news-tab-btn.active {
    background: var(--color-accent-cyan);
    border-color: var(--color-accent-cyan);
    color: var(--color-base);
}

.news-tab-btn.active #nostr-tab-dot {
    color: var(--color-base) !important;
}

/* Feed container */
.nostr-feed-list {
    padding: 0;
    margin: 0;
    overflow-y: auto;
    overflow-x: hidden !important;
    scrollbar-width: thin;
    scrollbar-color: rgba(45, 212, 191, 0.25) transparent;
}
.nostr-feed-list::-webkit-scrollbar {
    width: 6px;
}
.nostr-feed-list::-webkit-scrollbar-thumb {
    background: rgba(45, 212, 191, 0.25);
    border-radius: 10px;
}
.nostr-feed-list::-webkit-scrollbar-track {
    background: transparent;
}

/* Status / empty state */
.nostr-feed-status {
    color: var(--color-text-dim);
    font-family: 'Space Mono', monospace;
    font-size: 11px;
    padding: 20px 10px;
    text-align: center;
}

/* Individual post */
.nostr-post {
    padding: 10px 4px;
    border-bottom: 1px solid var(--color-border);
    transition: background 0.15s;
}

.nostr-post:hover {
    background: rgba(0, 255, 255, 0.03);
}

.nostr-post:last-child {
    border-bottom: none;
}

/* Post text */
.nostr-post-content {
    font-family: 'Space Mono', monospace;
    font-size: 11px;
    color: var(--color-text-light);
    line-height: 1.55;
    margin-bottom: 6px;
    word-break: break-word;
    white-space: pre-wrap;
}

/* Meta row */
.nostr-post-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.nostr-post-key {
    font-family: 'Space Mono', monospace;
    font-size: 9px;
    color: var(--color-accent-cyan);
    opacity: 0.65;
}

.nostr-post-time {
    font-family: 'Space Mono', monospace;
    font-size: 9px;
    color: var(--color-text-dim);
}

.nostr-post-tags {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    margin-left: auto;
}

.nostr-tag {
    font-family: 'Space Mono', monospace;
    font-size: 9px;
    color: var(--color-accent-cyan);
    opacity: 0.55;
}

/* ============================================================
   MOBILE — inside virtual page
   ============================================================ */
@media (max-width: 768px) {
    .news-section-header {
        flex-direction: row;
        align-items: center;
    }

    .news-tab-btn {
        font-size: 9px;
        padding: 4px 8px;
    }

    .nostr-post-content {
        font-size: 12px;
    }

    .nostr-post-key,
    .nostr-post-time,
    .nostr-tag {
        font-size: 10px;
    }
}
