/* Feed Page Styles */

/* Light mode colors (to be configured) */
:root {
    --feed-bg: #f8f9fa;
    --feed-card: #ffffff;
    --feed-border: #e5e7eb;
    --feed-divider: #e5e7eb;
    --feed-text: #1a1a1a;
    --feed-text-sub: #4b5563;
    --feed-text-muted: #6b7280;
    --feed-orange: #ff6b00;
    --feed-black: #1a1a1a;
    --feed-white: #ffffff;
    --feed-card-hover: rgba(0, 0, 0, 0.03);
    --feed-overlay: rgba(0, 0, 0, 0.5);
    --radius-card: 20px;
    --radius-btn: 12px;
    --radius-thumb: 10px;
    --radius-pill: 10px;
    --accent-orange: #ff6b00;
    --accent-orange-light: rgba(255, 107, 0, 0.1);
    --accent-orange-medium: rgba(255, 107, 0, 0.2);
}

/* Dark mode colors (current design - DO NOT CHANGE) */
body.dark-mode {
    --feed-bg: #0a0a0a;
    --feed-card: rgba(255, 255, 255, 0.02);
    --feed-border: rgba(255, 255, 255, 0.1);
    --feed-divider: rgba(255, 255, 255, 0.08);
    --feed-text: rgba(255, 255, 255, 0.95);
    --feed-text-sub: rgba(255, 255, 255, 0.7);
    --feed-text-muted: rgba(255, 255, 255, 0.5);
    --feed-orange: #f97316;
    --feed-black: #000000;
    --feed-white: #ffffff;
    --feed-card-hover: rgba(255, 255, 255, 0.02);
    --feed-overlay: rgba(0, 0, 0, 0.8);
    --accent-orange: #ff8534;
    --accent-orange-light: rgba(255, 133, 52, 0.15);
    --accent-orange-medium: rgba(255, 133, 52, 0.3);
}

.feed-container {
    flex: 1;
    max-width: none;
    width: 100%;
}

/* Filter Section */
.feed-filter-section {
    padding: 1rem 0 0 0;
    margin-bottom: 1rem;
}

.feed-filter-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--feed-border);
}

.feed-filter-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.feed-filter-dropdown {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: none;
    border: none;
    color: var(--feed-text);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    padding: 0;
    transition: color 0.2s;
}

.feed-filter-dropdown:hover {
    color: var(--feed-orange);
}

.feed-filter-dropdown svg:first-child {
    color: var(--feed-text-secondary);
}

.feed-filter-dropdown svg:last-child {
    color: var(--feed-text-secondary);
    transition: transform 0.2s;
}

.feed-filter-placeholder {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.875rem;
    background: rgba(71, 85, 105, 0.12);
    border: 1px solid rgba(71, 85, 105, 0.25);
    border-radius: 6px;
    color: rgb(51, 65, 85);
    font-size: 0.8125rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

/* Read limit badge states */
#readLimitBadge.unlimited {
    background: rgba(255, 107, 0, 0.15);
    border-color: rgba(255, 107, 0, 0.3);
    color: rgb(255, 107, 0);
    font-family: 'IBM Plex Mono', monospace;
    letter-spacing: 0.05em;
}

#readLimitBadge.low {
    background: rgba(245, 158, 11, 0.15);
    border-color: rgba(245, 158, 11, 0.3);
    color: rgb(180, 83, 9);
}

#readLimitBadge.none {
    background: rgba(245, 158, 11, 0.15);
    border-color: rgba(245, 158, 11, 0.3);
    color: rgb(180, 83, 9);
    cursor: pointer;
}

/* Dark mode adjustments */
@media (prefers-color-scheme: dark) {
    .feed-filter-placeholder {
        background: rgba(100, 116, 139, 0.15);
        border-color: rgba(100, 116, 139, 0.3);
        color: rgba(148, 163, 184, 1);
    }
    
    #readLimitBadge.unlimited {
        background: rgba(255, 107, 0, 0.15);
        border-color: rgba(255, 107, 0, 0.4);
        color: rgb(255, 147, 51);
        font-family: 'IBM Plex Mono', monospace;
        letter-spacing: 0.05em;
    }
    
    #readLimitBadge.low {
        background: rgba(251, 191, 36, 0.15);
        border-color: rgba(251, 191, 36, 0.3);
        color: rgb(250, 204, 21);
    }
    
    #readLimitBadge.none {
        background: rgba(251, 191, 36, 0.15);
        border-color: rgba(251, 191, 36, 0.3);
        color: rgb(250, 204, 21);
    }
}

.feed-filter-live {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.25rem 0.625rem;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 6px;
    color: rgb(34, 197, 94);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.feed-filter-live-dot {
    width: 6px;
    height: 6px;
    background: rgb(34, 197, 94);
    border-radius: 50%;
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.feed-filter-bottom {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--feed-border);
    flex-wrap: wrap;
}

.feed-filter-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--feed-text-sub);
}

.feed-filter-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: none;
    border: none;
    color: var(--feed-text-sub);
    font-size: 0.875rem;
    font-weight: 400;
    cursor: pointer;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    transition: all 0.2s;
}

.feed-filter-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--feed-text-sub);
}

.feed-filter-btn.active {
    color: var(--feed-text-sub);
    font-weight: 400;
}

.feed-filter-radio {
    width: 18px;
    height: 18px;
    border: 2px solid var(--feed-border);
    border-radius: 50%;
    position: relative;
    transition: all 0.2s;
}

.feed-filter-btn.active .feed-filter-radio {
    border-color: var(--feed-orange);
}

.feed-filter-btn.active .feed-filter-radio::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: var(--feed-orange);
    border-radius: 50%;
}

.feed-post {
    background: var(--feed-card);
    border: 1px solid var(--feed-border);
    border-radius: 8px;
    padding: 0.75rem;
    margin-bottom: 1rem;
}

/* Post Header */
.feed-post-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    gap: 1rem;
}

.feed-post-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

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

.feed-author-info {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.feed-author-name {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.feed-post-time {
    font-size: 0.8125rem;
    color: var(--text-secondary);
}

.feed-subscribe-btn {
    background: var(--accent-orange);
    color: #000;
    border: none;
    padding: 0.5rem 1.25rem;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.feed-subscribe-btn:hover {
    background: var(--accent-orange-dark);
    transform: translateY(-1px);
}

/* Opportunity Button for Pitch Cards */
.feed-opportunity-btn {
    display: flex;
    align-items: center;
    gap: 0.325rem;
    background: #ea580c;
    color: #ffffff;
    border: none;
    padding: 0.3rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.feed-opportunity-btn svg {
    stroke: #ffffff;
    flex-shrink: 0;
}

/* Intelligence Button for Documentary Cards */
.feed-intelligence-btn {
    display: flex;
    align-items: center;
    gap: 0.325rem;
    background: #2563eb;
    color: #ffffff;
    border: none;
    padding: 0.3rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.feed-intelligence-btn svg {
    stroke: #ffffff;
    flex-shrink: 0;
}

/* Research Button for Memo Cards */
.feed-research-btn {
    display: flex;
    align-items: center;
    gap: 0.325rem;
    background: #7c3aed;
    color: #ffffff;
    border: none;
    padding: 0.3rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.feed-research-btn svg {
    stroke: #ffffff;
    flex-shrink: 0;
}

/* Exclusive Button for Exclusive Insight Cards */
.feed-exclusive-btn {
    display: flex;
    align-items: center;
    gap: 0.325rem;
    background: #ca8a04;
    color: #ffffff;
    border: none;
    padding: 0.3rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.feed-exclusive-btn svg {
    stroke: #ffffff;
    fill: none;
    flex-shrink: 0;
}

/* Post Title */
.feed-post-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.5rem 0;
    line-height: 1.4;
    cursor: pointer;
    text-decoration: none;
}

.feed-post-title:hover {
    text-decoration: none;
}

/* Key Takeaways */
.feed-key-takeaways {
    margin: 0.75rem 0;
}

.feed-takeaway-item {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    align-items: flex-start;
}

.feed-takeaway-bullet {
    color: var(--accent-orange);
    font-size: 0.5rem;
    line-height: 1.5;
    padding-top: 0.25rem;
    flex-shrink: 0;
}

.feed-takeaway-text {
    font-size: 0.8125rem;
    line-height: 1.5;
    color: var(--feed-text-sub);
}

/* Post Summary */
.feed-post-summary {
    font-size: 0.8125rem;
    line-height: 1.5;
    color: var(--text-secondary);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Post Content - Horizontal Layout */
.feed-post-content {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    cursor: pointer;
    margin-bottom: 1rem;
}

/* Post Media - Left Side */
.feed-post-media-left {
    position: relative;
    width: 150px;
    min-width: 150px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    background: #000;
    aspect-ratio: 9/16;
}

/* Post Text - Right Side */
.feed-post-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.feed-video,
.feed-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
}

.feed-play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feed-post-content:hover .feed-play-overlay {
    opacity: 1;
}

/* Post Meta (Tags & Tickers) */
.feed-post-meta {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: 0.375rem;
    flex-wrap: wrap;
}

.feed-meta-left {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    flex: 1;
}

.feed-meta-tags {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    flex-wrap: wrap;
}

.feed-meta-tags::-webkit-scrollbar {
    display: none;
}

.feed-meta-tickers {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    flex-wrap: wrap;
}

.feed-meta-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.feed-vote-buttons {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.feed-vote-btn {
    background: none;
    border: none;
    border-radius: 4px;
    padding: 0.25rem 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--feed-text-muted);
}

.feed-vote-btn svg {
    width: 14px;
    height: 14px;
    color: var(--feed-text-muted);
    transition: color 0.2s ease;
}

.feed-vote-btn .vote-count {
    color: var(--feed-text-muted);
    font-size: 0.8125rem;
    font-weight: 500;
}

.feed-vote-btn:hover {
    background: var(--feed-card-hover);
}

.feed-upvote-btn:hover svg,
.feed-upvote-btn:hover .vote-count {
    color: #22c55e;
}

.feed-upvote-btn.active-upvote {
    background: rgba(34, 197, 94, 0.1);
}

.feed-upvote-btn.active-upvote svg {
    color: #22c55e;
}

.feed-upvote-btn.active-upvote .vote-count {
    color: #22c55e;
}

.feed-downvote-btn:hover svg,
.feed-downvote-btn:hover .vote-count {
    color: #ef4444;
}

.feed-downvote-btn.active-downvote {
    background: rgba(239, 68, 68, 0.1);
}

.feed-downvote-btn.active-downvote svg {
    color: #ef4444;
}

.feed-downvote-btn.active-downvote .vote-count {
    color: #ef4444;
}

.vote-percentage {
    font-size: 0.8125rem;
    font-weight: 500;
    margin-left: 0.25rem;
    color: var(--feed-text-sub);
}

.vote-percentage.high {
    color: #22c55e;
}

.vote-percentage.medium {
    color: #f59e0b;
}

.vote-percentage.low {
    color: #ef4444;
}

.feed-view-count {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.25rem 0.625rem;
    background: var(--feed-card-hover);
    border-radius: 4px;
    color: var(--feed-text-muted);
    font-size: 0.75rem;
    font-weight: 500;
    white-space: nowrap;
}

.view-icon {
    color: var(--feed-text-muted);
    flex-shrink: 0;
}

.view-count-number {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
}

/* Category Buttons */
.feed-category-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.25rem 0.5rem;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    border: 1px solid;
    border-radius: 0;
    cursor: pointer;
    white-space: nowrap;
}

.feed-category-btn svg {
    width: 10px;
    height: 10px;
    flex-shrink: 0;
}

.feed-intelligence-btn {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.3);
    color: #3b82f6;
}

.feed-research-btn {
    background: rgba(168, 85, 247, 0.1);
    border-color: rgba(168, 85, 247, 0.3);
    color: #a855f7;
}

.feed-professional-btn {
    background: rgba(255, 215, 0, 0.1);
    border-color: rgba(255, 215, 0, 0.3);
    color: #FFD700;
}

.feed-opportunity-btn {
    background: rgba(255, 107, 0, 0.1);
    border-color: rgba(255, 107, 0, 0.3);
    color: var(--feed-orange);
}

.feed-exclusive-btn {
    background: rgba(34, 197, 94, 0.1);
    border-color: rgba(34, 197, 94, 0.3);
    color: #22c55e;
}

.feed-post-meta .tag-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.125rem 0.5rem;
    background: var(--accent-orange-light);
    border: 1px solid var(--accent-orange-medium);
    color: var(--accent-orange) !important;
    border-radius: 4px;
    font-size: 0.6875rem;
    font-weight: 500;
    text-transform: capitalize;
    letter-spacing: 0.025em;
    white-space: nowrap;
    flex-shrink: 0;
}

.feed-post-meta .ticker-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.125rem 0.5rem;
    background: #ccff00;
    border: none;
    color: #000000 !important;
    border-radius: 4px;
    font-size: 0.6875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    white-space: nowrap;
    flex-shrink: 0;
}

.avatar-type-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.125rem 0.25rem;
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: #d4af37;
    border-radius: 4px;
    font-size: 0.6875rem;
    font-weight: 500;
    text-transform: capitalize;
    letter-spacing: 0.025em;
    white-space: nowrap;
    flex-shrink: 0;
    margin-left: 5px;
}

.avatar-type-badge.avatar-type-expert {
    gap: 0.25rem;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    border: none;
    color: #000;
    font-weight: 600;
    text-transform: uppercase;
}

.avatar-type-badge.avatar-type-expert svg {
    width: 10px;
    height: 10px;
}

/* Post Footer */
.feed-post-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.5rem;
    margin-top: 0.5rem;
    border-top: 1px solid var(--feed-divider);
}

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

/* Right side of header with actions + menu button */
.feed-header-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.feed-action-btn {
    background: none;
    border: none;
    border-radius: 4px;
    color: var(--feed-text-muted);
    display: flex;
    align-items: center;
    gap: 0.25rem;
    cursor: pointer;
    font-size: 0.8125rem;
    font-weight: 500;
    padding: 0.25rem 0.5rem;
    transition: all 0.2s ease;
}

.feed-action-btn:hover {
    background: var(--feed-card-hover);
    color: var(--feed-text-sub);
}

.feed-action-btn svg {
    width: 14px;
    height: 14px;
}

.feed-action-btn span {
    color: var(--feed-text-muted);
    font-size: 0.8125rem;
    font-weight: 500;
}

.feed-action-btn:hover span {
    color: var(--feed-text-sub);
}

/* Share Dropdown */
.feed-share-dropdown {
    position: relative;
}

.feed-share-dropdown-menu {
    position: absolute;
    bottom: 100%;
    left: 0;
    margin-bottom: 0.5rem;
    background: var(--feed-card);
    border: 1px solid var(--feed-border);
    border-radius: 8px;
    padding: 0.5rem 0;
    min-width: 180px;
    box-shadow: 0 4px 20px var(--feed-overlay);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s ease;
    z-index: 1000;
}

.feed-share-dropdown.active .feed-share-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.feed-share-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 1rem;
    color: var(--feed-text-sub);
    text-decoration: none;
    font-size: 0.875rem;
    transition: all 0.2s ease;
    cursor: pointer;
}

.feed-share-option:hover {
    background: var(--feed-card-hover);
    color: var(--feed-text);
}

.feed-share-option svg {
    width: 16px;
    height: 16px;
    color: var(--feed-text-muted);
    flex-shrink: 0;
}

.feed-share-option:hover svg {
    color: var(--feed-text-sub);
}

.feed-menu-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.feed-menu-btn:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

/* Responsive */
@media (max-width: 768px) {
    .feed-container {
        padding: 0;
    }

    .feed-post {
        padding: 1rem;
        margin-bottom: 1.5rem;
    }

    .feed-post-title {
        font-size: 1rem;
    }

    .feed-post-content {
        gap: 0.75rem;
    }

    .feed-post-media-left {
        width: 140px;
        min-width: 140px;
    }

    .feed-post-actions {
        gap: 1rem;
    }

    .feed-subscribe-btn {
        padding: 0.375rem 1rem;
        font-size: 0.8125rem;
    }

    /* Compact filter section on mobile */
    .feed-filter-section {
        padding: 0.5rem 0 0 0;
        margin-bottom: 0.5rem;
    }

    .feed-filter-top {
        padding-bottom: 0.5rem;
        margin-bottom: 0.5rem;
    }

    .feed-filter-placeholder {
        padding: 0.2rem 0.5rem;
        font-size: 0.65rem;
    }

    .feed-filter-placeholder svg {
        width: 12px;
        height: 12px;
    }

    .feed-filter-live {
        padding: 0.2rem 0.5rem;
        font-size: 0.7rem;
    }

    .feed-filter-bottom {
        gap: 0.25rem 0.375rem;
        padding-bottom: 0.5rem;
    }

    .feed-filter-label {
        display: none;
    }

    .feed-filter-btn {
        font-size: 0.75rem;
        padding: 0.25rem 0.375rem;
        gap: 0.3rem;
    }

    .feed-filter-radio {
        width: 14px;
        height: 14px;
    }

    .feed-filter-btn.active .feed-filter-radio::after {
        width: 7px;
        height: 7px;
    }
}

@media (max-width: 480px) {
    .feed-post-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .feed-post-content {
        flex-direction: column;
    }

    .feed-post-media-left {
        width: 100%;
        max-width: 250px;
        margin: 0 auto;
    }

    .feed-subscribe-btn {
        width: 100%;
    }

    .feed-action-btn span {
        display: none;
    }

    .feed-right-column {
        display: none;
    }
}

/* Right Column Styles */
.feed-right-column {
    width: 360px;
    min-width: 360px;
    position: sticky;
    top: 0;
    padding: 0;
}

/* Search Pill */
.feed-search-pill {
    background: var(--feed-card);
    border: 1px solid var(--feed-border);
    border-radius: var(--radius-pill);
    height: 46px;
    display: flex;
    align-items: center;
    padding: 0 14px;
    margin-bottom: 14px;
}

.feed-search-icon {
    color: var(--feed-text-muted);
    flex-shrink: 0;
    margin-right: 8px;
}

.feed-search-input {
    flex: 1;
    border: none;
    background: none;
    outline: none;
    font-size: 14px;
    color: var(--feed-text);
}

.feed-search-input::placeholder {
    color: var(--feed-text-muted);
}

/* CTA Card */
.feed-cta-card {
    background: var(--feed-card);
    border: 1px solid var(--feed-border);
    border-radius: var(--radius-card);
    padding: 20px 18px;
    margin-bottom: 14px;
    text-align: center;
}

.feed-cta-icon {
    color: var(--feed-orange);
    margin: 0 auto 12px auto;
    display: block;
}

.feed-cta-title {
    font-size: 21px;
    font-weight: 700;
    color: var(--feed-text);
    margin: 0 0 8px 0;
}

.feed-cta-subtitle {
    font-size: 14px;
    color: var(--feed-text-sub);
    line-height: 1.4;
    margin: 0 0 18px 0;
}

.feed-cta-btn-primary {
    width: 100%;
    background: var(--feed-orange);
    color: white;
    border: none;
    border-radius: var(--radius-btn);
    height: 46px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 10px;
    transition: opacity 0.2s;
}

.feed-cta-btn-primary:hover {
    opacity: 0.9;
}

.feed-cta-btn-secondary {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-btn);
    height: 46px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.feed-cta-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
}

/* Up Next Card */
.feed-upnext-card {
    background: var(--feed-card);
    border: 1px solid var(--feed-border);
    border-radius: var(--radius-card);
    padding: 16px 16px 12px 16px;
}

.feed-upnext-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--feed-text);
    margin: 0 0 12px 0;
}

/* Up Next Items */
.feed-upnext-item {
    position: relative;
    display: flex;
    gap: 12px;
    padding: 12px 0;
    cursor: pointer;
}

.feed-upnext-item:hover {
    opacity: 0.8;
}

.feed-bookmark-btn {
    position: absolute;
    top: 12px;
    right: 0;
    background: none;
    border: none;
    color: var(--feed-text-muted);
    cursor: pointer;
    padding: 0;
    width: 18px;
    height: 18px;
}

.feed-bookmark-btn:hover {
    color: var(--feed-text);
}

.feed-upnext-content {
    flex: 1;
    min-width: 0;
    padding-right: 24px;
}

.feed-upnext-source {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
    font-size: 12px;
    color: var(--feed-text-muted);
}

.feed-upnext-avatar {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--feed-orange);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 700;
    flex-shrink: 0;
}

.feed-upnext-item-title {
    font-size: 16px;
    font-weight: 400;
    color: var(--feed-text);
    margin: 0 0 6px 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.feed-upnext-meta {
    font-size: 12px;
    color: var(--feed-text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.feed-upnext-thumb {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-thumb);
    object-fit: cover;
    flex-shrink: 0;
}

.feed-upnext-thumb-video {
    background: rgba(255, 255, 255, 0.05);
}

.feed-upnext-divider {
    height: 1px;
    background: var(--feed-divider);
    margin: 0;
}

/* Stock Pitch Card Styles */
.feed-post-pitch {
    cursor: pointer;
    transition: all 0.2s ease;
}

/* Prevent background changes on feed card content hover */
.feed-post-content:hover,
.feed-post-pitch:hover,
.feed-post-content,
.feed-post-pitch {
    background: transparent !important;
}

/* Override - only allow play overlay to show on video hover */
.feed-post-content:hover .feed-play-overlay {
    opacity: 1;
}

.feed-pitch-logo {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    width: 80px;
    min-width: 80px;
    background: transparent !important;
    aspect-ratio: auto !important;
}

.feed-logo-img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border: 1px solid var(--feed-border);
    border-radius: 4px;
    padding: 4px;
}

.feed-pitch-category-header {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    margin-bottom: 0.125rem;
}

.feed-category-icon {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    object-fit: cover;
}

.feed-category-label {
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--feed-text-muted);
    text-transform: lowercase;
}

.feed-pitch-header {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    margin-bottom: 0.375rem;
}

.feed-pitch-company {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 0.125rem;
}

.feed-company-name {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--feed-text-secondary);
}

.feed-post-pitch .feed-category-label {
    color: var(--feed-orange);
}

.feed-post-pitch .feed-post-meta {
    margin-top: 0.75rem;
}

.feed-post-pitch .feed-post-title {
    font-size: 0.9375rem;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}

/* Pitch Author Info (Below Title) */
.feed-pitch-author {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.feed-pitch-author-avatar {
    width: 20px;
    height: 20px;
    border-radius: 3px;
    object-fit: cover;
}

.feed-pitch-author-name {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--feed-text);
}

.feed-pitch-author-time {
    font-size: 0.75rem;
    color: var(--feed-text-muted);
}

/* Position Badge Styles */
.position-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.125rem 0.5rem;
    border-radius: 4px;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.position-long {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
}

/* Price Target Badge */
.price-target-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.125rem 0.5rem;
    border-radius: 4px;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    background: rgba(255, 107, 0, 0.15);
    color: #ff6b00;
}

/* Idea Detail Page Styles */
.idea-header {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.idea-category {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.idea-category-left {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.idea-category-right {
    display: flex;
    align-items: center;
}

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

.research-actions .action-btn-export {
    background: #1a1a1a;
    border: 1px solid rgba(255, 140, 0, 0.4);
    background-clip: padding-box;
    border-radius: 6px;
    padding: 0.375rem 0.875rem;
    color: #ff8c00;
    font-family: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, 'Liberation Mono', monospace;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    white-space: nowrap;
    position: relative;
}

.research-actions .action-btn-export::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 6px;
    padding: 1px;
    background: linear-gradient(90deg, 
        rgba(255, 107, 0, 0.3), 
        rgba(255, 107, 0, 0.6),
        rgba(255, 140, 0, 1), 
        rgba(255, 165, 0, 1),
        rgba(255, 140, 0, 0.6),
        rgba(255, 107, 0, 0.3)
    );
    background-size: 400% 100%;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    animation: gradient-shine 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes gradient-shine {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 300% 50%;
    }
}

.research-actions .action-btn-export:hover {
    background: #2a2a2a;
}

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

.research-actions .vote-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 0.375rem 0.75rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    font-family: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, 'Liberation Mono', monospace;
}

.research-actions .vote-btn svg {
    width: 14px;
    height: 14px;
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.2s ease;
}

.research-actions .vote-btn .vote-count {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.6875rem;
    font-weight: 600;
}

.research-actions .vote-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.research-actions .vote-btn:hover svg {
    color: rgba(255, 255, 255, 0.8);
}

.research-actions .upvote-btn.active-upvote {
    background: rgba(34, 197, 94, 0.15);
    border-color: rgba(34, 197, 94, 0.3);
}

.research-actions .upvote-btn.active-upvote svg {
    color: #22c55e;
}

.research-actions .downvote-btn.active-downvote {
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.3);
}

.research-actions .downvote-btn.active-downvote svg {
    color: #ef4444;
}

.idea-price-target-container {
    margin-top: 0.5rem;
}

.idea-price-target-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.75rem;
    background: rgba(255, 107, 0, 0.1);
    border: 1px solid rgba(255, 107, 0, 0.3);
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.idea-price-target-badge:hover {
    background: rgba(255, 107, 0, 0.15);
    border-color: rgba(255, 107, 0, 0.5);
}

.price-target-icon {
    color: #ff6b00;
    flex-shrink: 0;
}

.price-target-label {
    font-size: 0.6875rem;
    color: rgba(255, 107, 0, 0.8);
    letter-spacing: 0.5px;
    font-weight: 700;
}

.price-target-value {
    font-size: 0.875rem;
    color: #ff6b00;
    font-weight: 700;
    letter-spacing: 0.3px;
}

/* Price Target Visualization */
.price-target-visualization {
    margin-top: 1rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    font-family: 'IBM Plex Mono', ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, 'Liberation Mono', monospace;
}

.price-viz-header {
    margin-bottom: 0.75rem;
}

.price-viz-label {
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    font-family: 'IBM Plex Mono', ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, 'Liberation Mono', monospace;
}

.price-viz-loading,
.price-viz-error {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
    padding: 0.5rem 0;
    font-family: 'IBM Plex Mono', ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, 'Liberation Mono', monospace;
}

.price-viz-error {
    color: rgba(255, 0, 0, 0.6);
}

.price-viz-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* Price Display Row */
.price-viz-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.viz-current-price {
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    font-family: 'IBM Plex Mono', ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, 'Liberation Mono', monospace;
}

.viz-arrow {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    font-family: 'IBM Plex Mono', ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, 'Liberation Mono', monospace;
}

.viz-target-price {
    font-size: 0.875rem;
    font-weight: 600;
    color: #ccff00;
    font-family: 'IBM Plex Mono', ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, 'Liberation Mono', monospace;
}

.viz-upside {
    font-size: 0.875rem;
    font-weight: bold;
    margin-left: auto;
    font-family: 'IBM Plex Mono', ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, 'Liberation Mono', monospace;
}

.viz-upside.positive {
    color: #00ff00;
}

.viz-upside.negative {
    color: #ff0000;
}

/* Progress Bar */
.price-viz-bar-container {
    height: 12px;
    display: flex;
    align-items: center;
}

.price-viz-bar-background {
    position: relative;
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.price-viz-bar-fill {
    position: absolute;
    height: 6px;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.price-viz-bar-fill.long {
    background: linear-gradient(to right, rgba(0, 255, 0, 0.6), rgba(0, 255, 0, 1.0));
}

.price-viz-bar-fill.short {
    background: linear-gradient(to right, rgba(255, 0, 0, 1.0), rgba(255, 0, 0, 0.6));
}

.price-viz-indicator {
    position: absolute;
    top: 50%;
    width: 10px;
    height: 10px;
    background: var(--feed-white);
    border: 2px solid #ff6b00;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    box-shadow: 0 0 4px rgba(255, 107, 0, 0.5);
}

/* Dashboard-specific price viz styling */
.price-viz-dashboard {
    margin-top: 1rem;
    margin-bottom: 0.75rem;
    font-size: 0.9em;
}

.price-viz-dashboard .price-viz-label {
    font-size: 0.575rem;
}

.price-viz-dashboard .price-viz-row {
    gap: 0.5rem;
    font-size: 0.875rem;
}

.price-viz-dashboard .price-viz-loading,
.price-viz-dashboard .price-viz-error {
    font-size: 0.75rem;
    padding: 0.5rem;
}

.idea-company-header {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.idea-logo {
    width: 80px;
    height: 80px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    object-fit: contain;
    background: transparent;
    flex-shrink: 0;
}

.idea-company-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.idea-title {
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--text-color);
    margin: 0;
    line-height: 1.4;
}

.idea-company-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.idea-company-name {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-color);
}

.idea-author-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.idea-author-avatar {
    width: 24px;
    height: 24px;
    border-radius: 3px;
    object-fit: cover;
}

.idea-author-info {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.idea-author-name {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-color);
}

.idea-author-time {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

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

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

.idea-actions .vote-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 0.5rem 0.75rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.idea-actions .vote-btn svg {
    width: 20px;
    height: 20px;
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.2s ease;
}

.idea-actions .vote-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.idea-actions .vote-btn:hover svg {
    color: rgba(255, 255, 255, 0.8);
}

.idea-actions .upvote-btn.active-upvote {
    background: rgba(34, 197, 94, 0.15);
    border-color: rgba(34, 197, 94, 0.3);
}

.idea-actions .upvote-btn.active-upvote svg {
    color: #22c55e;
}

.idea-actions .downvote-btn.active-downvote {
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.3);
}

.idea-actions .downvote-btn.active-downvote svg {
    color: #ef4444;
}

.idea-actions .share-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    gap: 0.5rem;
}

.idea-actions .share-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.idea-actions .share-btn svg {
    color: rgba(255, 255, 255, 0.5);
}

.idea-actions .share-btn:hover svg {
    color: rgba(255, 255, 255, 0.8);
}

.idea-actions .share-btn span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
}

.idea-actions .views-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    gap: 0.5rem;
    cursor: default;
}

.idea-actions .views-btn svg {
    color: rgba(255, 255, 255, 0.5);
}

.idea-actions .views-btn span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
}

.idea-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.idea-section {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.idea-section-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 107, 0, 0.7);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin: 0 0 1rem 0;
    padding: 0 0 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.idea-section-header::before {
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='rgba(255,107,0,0.7)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'%3E%3C/path%3E%3Cpolyline points='14 2 14 8 20 8'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    flex-shrink: 0;
}

.idea-section-content {
    font-size: 0.9rem;
    line-height: 1.7;
    color: #e2e8f0;
    font-weight: 300;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Mono', 'Monaco', 'Menlo', monospace;
    background: transparent;
    padding: 0;
    margin: 0;
    white-space: normal;
}

.idea-section-content p {
    margin-bottom: 1rem;
}

.idea-section-content ul,
.idea-section-content ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.idea-section-content li {
    margin-bottom: 0.5rem;
}

.idea-section-content h1,
.idea-section-content h2,
.idea-section-content h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.idea-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-color);
    white-space: pre-wrap;
}

.idea-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Catalyst Finder Section */
.catalyst-finder-section {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 107, 0, 0.1);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.catalyst-finder-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.catalyst-finder-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.catalyst-finder-title svg {
    color: #ff6b00;
    flex-shrink: 0;
}

.catalyst-counter {
    font-size: 0.75rem;
    color: #666;
    font-weight: 500;
}

.catalyst-counter #currentCatalyst {
    color: #ff6b00;
    font-weight: 600;
}

.catalyst-display-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.catalyst-display {
    min-height: 100px;
    padding: 1.25rem;
    background: var(--feed-black);
    border-radius: 8px;
    display: flex;
    align-items: center;
    position: relative;
}

.catalyst-text-display {
    font-size: 0.875rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
    white-space: normal;
    word-wrap: break-word;
    width: 100%;
}

.catalyst-text-display.typing::after {
    content: '|';
    animation: blink 0.7s infinite;
    margin-left: 2px;
    color: #ff6b00;
}

.catalyst-nav-controls {
    display: flex;
    gap: 0.5rem;
    justify-content: space-between;
    align-items: center;
}

.catalyst-progress {
    flex: 1;
    display: flex;
    gap: 0.375rem;
    padding: 0 0.5rem;
}

.catalyst-progress-dot {
    flex: 1;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.catalyst-progress-dot.active {
    background: #ff6b00;
}

.catalyst-nav-btn {
    padding: 0.5rem 1rem;
    background: transparent;
    color: #666;
    border: 1px solid rgba(255, 107, 0, 0.2);
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.catalyst-nav-btn:hover {
    background: rgba(255, 107, 0, 0.1);
    border-color: rgba(255, 107, 0, 0.4);
    color: #ff6b00;
}

.catalyst-nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.catalyst-nav-btn:disabled:hover {
    background: transparent;
    border-color: rgba(255, 107, 0, 0.2);
    color: #666;
}

.catalyst-nav-btn svg {
    width: 14px;
    height: 14px;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.position-short {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

/* Stock Chart Section in Right Column */
.stock-chart-section {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 107, 0, 0.1);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.stock-chart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.stock-chart-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stock-chart-timeframe {
    display: flex;
    gap: 0.375rem;
}

.timeframe-btn {
    padding: 0.375rem 0.75rem;
    background: transparent;
    color: #666;
    border: 1px solid rgba(255, 107, 0, 0.2);
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.timeframe-btn:hover {
    background: rgba(255, 107, 0, 0.1);
    border-color: rgba(255, 107, 0, 0.4);
    color: #ff6b00;
}

.timeframe-btn.active {
    background: rgba(255, 107, 0, 0.15);
    color: #ff6b00;
    border-color: #ff6b00;
}

.stock-chart-info {
    margin-bottom: 1.25rem;
}

.stock-price-container {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
}

.stock-price {
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--feed-text);
    letter-spacing: -0.5px;
}

.stock-change {
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.25rem 0.625rem;
    border-radius: 6px;
}

.stock-change.positive {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
}

.stock-change.negative {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

.stock-chart-canvas-container {
    position: relative;
    width: 100%;
    height: 200px;
    background: var(--feed-black);
    border-radius: 8px;
    padding: 0;
}

/* Live indicator dot */
.live-indicator {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: 8px;
    font-size: 0.75rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.live-dot {
    width: 8px;
    height: 8px;
    background: #ff6b00;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.4;
        transform: scale(0.9);
    }
}

.stock-chart-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 200px;
    color: #666;
    font-size: 0.875rem;
}

#stockChart {
    width: 100%;
    height: 100%;
}

/* Token Management Styles */
.tokens-btn {
    background: transparent !important;
    border: 1px solid transparent !important;
    border-radius: 0 !important;
    padding: 0.5rem 0.75rem !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    font-family: 'Courier New', monospace !important;
    transition: all 0.3s ease !important;
}

.tokens-btn:hover {
    background: rgba(249, 115, 22, 0.1) !important;
    border-color: rgba(249, 115, 22, 0.3) !important;
    border-radius: 0.375rem !important;
}

.token-btn-icon {
    width: 16px;
    height: 16px;
    stroke: #f97316 !important;
}

.token-btn-balance {
    font-size: 0.875rem;
    font-weight: 500;
    color: #f97316;
}

.token-btn-label {
    font-size: 0.75rem;
    color: #f97316;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Dialog Overlay */
.token-dialog-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

/* Dialog Container */
.token-dialog {
    background: #000;
    border: 1px solid rgba(249, 115, 22, 0.3);
    border-radius: 0.5rem;
    max-width: 42rem;
    width: 90%;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    color: #fff;
}

/* Dialog Header */
/* COMMENTED OUT - Conflicts with universal modal in purchase_tokens_modal.html
.token-dialog-header {
    position: relative;
    background: #000;
    border-bottom: 1px solid rgba(249, 115, 22, 0.2);
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
*/

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

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

.token-brand-text {
    font-family: 'Courier New', monospace;
    letter-spacing: 0.1em;
    font-size: 1.125rem;
    font-weight: 700;
    background: linear-gradient(to right, #f97316, #fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.token-live-badge {
    border-radius: 0.25rem;
    padding: 0.125rem 0.375rem;
    background: rgba(249, 115, 22, 0.2);
    border: 1px solid rgba(249, 115, 22, 0.3);
    font-family: 'Courier New', monospace;
    font-size: 0.75rem;
    font-weight: 700;
    color: #f97316;
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.token-header-divider {
    height: 0.75rem;
    width: 1px;
    background: rgba(249, 115, 22, 0.3);
}

.token-header-label {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: #f97316;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.token-activity-btn {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: rgba(249, 115, 22, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    transition: all 0.2s;
}

.token-activity-btn:hover {
    color: #f97316;
    background: rgba(249, 115, 22, 0.1);
}

.token-activity-btn.active {
    color: #f97316;
    background: rgba(249, 115, 22, 0.15);
}

.token-activity-btn svg {
    stroke: currentColor;
}

.token-header-icon {
    stroke: #f97316;
}

.token-header-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.token-balance-display {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(249, 115, 22, 0.1);
    border: 1px solid rgba(249, 115, 22, 0.3);
    border-radius: 0.5rem;
    padding: 0.375rem 0.75rem;
}

.token-balance-display svg {
    stroke: #f97316;
}

.token-balance-number {
    font-size: 1.125rem;
    font-weight: 700;
    color: #f97316;
    font-family: 'Courier New', monospace;
}

.token-balance-text {
    font-size: 0.75rem;
    color: rgba(249, 115, 22, 0.7);
    font-family: 'Courier New', monospace;
}

/* COMMENTED OUT - Conflicts with universal modal in purchase_tokens_modal.html
.token-dialog-close-btn {
    background: none;
    border: none;
    color: rgb(148, 163, 184);
    font-size: 1.125rem;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.token-dialog-close-btn:hover {
    background: rgba(249, 115, 22, 0.2);
    color: #fff;
}
*/

/* Scrollable Content */
/* COMMENTED OUT - Conflicts with universal modal in purchase_tokens_modal.html
.token-dialog-scroll {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
*/

/* Coming Soon Section */
.token-coming-soon {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(168, 85, 247, 0.1));
    border: 1px solid rgba(96, 165, 250, 0.3);
    border-radius: 0.5rem;
    padding: 1rem;
}

.token-coming-soon-blur {
    position: absolute;
    top: 0;
    right: 0;
    width: 6rem;
    height: 6rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(168, 85, 247, 0.2));
    border-radius: 50%;
    filter: blur(2rem);
}

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

.token-coming-soon-icon-wrapper {
    background: rgba(59, 130, 246, 0.2);
    padding: 0.375rem;
    border-radius: 0.25rem;
    border: 1px solid rgba(96, 165, 250, 0.3);
}

.token-coming-soon-icon {
    stroke: rgb(147, 197, 253);
    width: 16px;
    height: 16px;
}

.token-coming-soon-title {
    color: rgb(147, 197, 253);
    font-weight: 700;
    font-size: 0.875rem;
    font-family: 'Courier New', monospace;
}

.token-coming-soon-content {
    position: relative;
    z-index: 1;
}

.token-coming-soon-heading {
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.token-coming-soon-text {
    color: rgb(203, 213, 225);
    font-size: 0.875rem;
    line-height: 1.5;
}

/* Section Headers */
.token-section-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 700;
    color: #f97316;
    font-family: 'Courier New', monospace;
    margin-bottom: 0.75rem;
}

.token-section-header svg {
    stroke: #f97316;
}

/* Earn Section */
.token-earn-section {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.token-earn-card {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem;
    background: linear-gradient(to right, rgba(249, 115, 22, 0.05), rgba(168, 85, 247, 0.05));
    border: 1px solid rgba(249, 115, 22, 0.2);
    border-radius: 0.375rem;
}

.token-earn-icon-wrapper {
    background: rgba(249, 115, 22, 0.2);
    padding: 0.375rem;
    border-radius: 0.25rem;
    border: 1px solid rgba(249, 115, 22, 0.3);
    flex-shrink: 0;
}

.token-earn-icon-wrapper svg {
    stroke: #f97316;
}

.token-earn-text {
    flex: 1;
}

.token-earn-title {
    color: #fff;
    font-weight: 500;
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.token-earn-desc {
    color: rgb(203, 213, 225);
    font-size: 0.75rem;
}

/* Daily Reward Section */
.token-reward-section {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.token-reward-card {
    background: linear-gradient(to right, rgba(249, 115, 22, 0.1), rgba(168, 85, 247, 0.1));
    border: 1px solid rgba(249, 115, 22, 0.3);
    border-radius: 0.5rem;
    padding: 0.75rem;
}

.token-reward-text {
    font-size: 0.875rem;
    color: #fff;
    margin-bottom: 0.75rem;
}

.token-claim-btn {
    width: 100%;
    padding: 0.5rem;
    background: rgba(249, 115, 22, 0.15);
    border: 1px solid rgba(249, 115, 22, 0.3);
    border-radius: 0.375rem;
    color: #f97316;
    font-weight: 700;
    font-size: 0.875rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
}

.token-claim-btn:hover:not(:disabled) {
    background: rgba(249, 115, 22, 0.25);
    border-color: rgba(249, 115, 22, 0.5);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.15);
}

.token-claim-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.token-claim-btn svg {
    stroke: currentColor;
}

/* Already Claimed Section */
.token-claimed-section {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    background: rgba(100, 116, 139, 0.3);
    border: 1px solid rgba(100, 116, 139, 0.5);
    border-radius: 0.5rem;
    font-size: 0.875rem;
    color: rgb(148, 163, 184);
}

.token-claimed-section svg {
    stroke: rgb(148, 163, 184);
    flex-shrink: 0;
}

/* Purchase Section */
.token-purchase-section {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.token-buy-btn {
    width: 100%;
    padding: 0.5rem;
    background: #f97316;
    border: 1px solid rgba(249, 115, 22, 0.5);
    border-radius: 0.375rem;
    color: #000;
    font-weight: 700;
    font-size: 0.875rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
}

.token-buy-btn:hover {
    background: rgba(249, 115, 22, 0.8);
}

.token-buy-btn svg {
    stroke: currentColor;
}

/* Dialog Footer */
.token-dialog-footer {
    font-size: 0.75rem;
    text-align: center;
    color: rgb(148, 163, 184);
    font-family: 'Courier New', monospace;
    padding-top: 0.5rem;
}

/* Purchase Dialog */
.token-purchase-dialog-container {
    max-width: 28rem;
}

.token-purchase-title {
    color: #f97316;
    font-family: 'Courier New', monospace;
    font-size: 1.125rem;
    font-weight: 700;
    margin: 0;
}

.token-purchase-description {
    font-size: 0.875rem;
    color: rgb(203, 213, 225);
    margin-bottom: 1rem;
}

/* Processing State */
.token-processing-state {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: #f97316;
    font-size: 0.875rem;
    padding: 1rem;
}

.token-processing-spinner {
    animation: spin 1s linear infinite;
}

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

.token-package-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1rem;
}

.token-package-card {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid rgba(100, 116, 139, 0.3);
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.token-package-card:hover {
    border-color: rgba(249, 115, 22, 0.6);
    background: rgba(249, 115, 22, 0.05);
}

.token-package-best {
    border-color: rgba(249, 115, 22, 0.6);
}

.token-package-best-badge {
    position: absolute;
    top: -0.5rem;
    right: -0.5rem;
    background: #22c55e;
    color: #000;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
}

.token-package-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.token-package-icon-wrapper {
    background: rgba(249, 115, 22, 0.2);
    padding: 0.5rem;
    border-radius: 0.25rem;
    border: 1px solid rgba(249, 115, 22, 0.3);
    flex-shrink: 0;
}

.token-package-icon-wrapper svg {
    stroke: #f97316;
    display: block;
}

.token-package-info {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.token-package-title {
    font-weight: 700;
    color: #fff;
    font-size: 1rem;
    line-height: 1;
}

.token-package-subtitle {
    font-size: 0.875rem;
    color: rgb(226, 232, 240);
}

.token-package-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.125rem;
}

.token-package-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: #f97316;
    line-height: 1;
}

.token-package-per-token {
    font-size: 0.75rem;
    color: rgb(203, 213, 225);
}

/* Activity Tab Styles */
.activity-info-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.25rem;
    margin-bottom: 1rem;
}

.activity-economy-card {
    border-color: rgba(251, 191, 36, 0.2);
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.05), transparent);
}

.activity-earn-card {
    border-color: rgba(16, 185, 129, 0.2);
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05), transparent);
}

.activity-card-header {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    margin-bottom: 0.75rem;
}

.activity-card-header svg {
    stroke: #f97316;
    flex-shrink: 0;
}

.activity-card-header h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #e2e8f0;
    margin: 0;
}

.activity-card-text {
    font-size: 0.875rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.activity-earn-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
}

.activity-transactions-section {
    margin-top: 1.5rem;
}

.activity-section-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #e2e8f0;
    margin: 0 0 0.75rem 0;
}

.activity-divider {
    height: 1px;
    background: rgba(249, 115, 22, 0.2);
    margin-bottom: 1rem;
}

.activity-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 3rem 0;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

.activity-spinner {
    animation: spin 1s linear infinite;
}

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

.activity-transaction-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 0.5rem;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.activity-transaction-item:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.15);
}

.activity-transaction-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.activity-transaction-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
}

.activity-transaction-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.125rem;
    font-weight: 600;
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
}

.activity-transaction-icon.earned {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
}

.activity-transaction-icon.spent {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

.activity-transaction-icon.positive {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
}

.activity-transaction-icon.negative {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

.activity-transaction-icon svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
}

.activity-transaction-details {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.activity-transaction-description {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--feed-text);
    margin: 0;
    line-height: 1.3;
}

.activity-transaction-desc {
    font-size: 0.875rem;
    font-weight: 500;
    color: #e2e8f0;
    margin: 0 0 0.25rem 0;
}

.activity-transaction-date {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
    line-height: 1.2;
}

.activity-transaction-amount {
    font-size: 1rem;
    font-weight: 600;
    white-space: nowrap;
    margin-left: auto;
}

.activity-transaction-amount.positive {
    color: #10b981;
}

.activity-transaction-amount.negative {
    color: #ef4444;
}

.activity-no-transactions {
    text-align: center;
    padding: 3rem 1rem;
    color: rgba(255, 255, 255, 0.5);
}

.activity-no-transactions svg {
    width: 48px;
    height: 48px;
    margin: 0 auto 1rem;
    opacity: 0.5;
    stroke: currentColor;
}

.activity-no-transactions p {
    margin: 0.25rem 0;
    font-size: 0.875rem;
}

.activity-no-transactions p:first-of-type {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Toast Notifications */
.token-toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    padding: 1rem 1.5rem;
    background: #0f172a;
    border: 1px solid rgba(249, 115, 22, 0.3);
    border-radius: 0.5rem;
    color: #fff;
    font-size: 0.875rem;
    font-weight: 500;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 10001;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.token-toast.show {
    opacity: 1;
    transform: translateY(0);
}

.token-toast-success {
    border-color: #22c55e;
    background: #0f172a;
}

.token-toast-error {
    border-color: #ef4444;
    background: #0f172a;
}

.token-toast-info {
    border-color: #3b82f6;
    background: #0f172a;
}

/* Floating Research Notification Buttons */
.floating-research-buttons {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 50;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.floating-research-button-wrapper {
    position: relative;
    animation: fadeInUp 0.3s ease forwards;
    opacity: 0;
}

.floating-research-button-wrapper:nth-child(1) {
    animation-delay: 0s;
}

.floating-research-button-wrapper:nth-child(2) {
    animation-delay: 0.1s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
    from {
        opacity: 0;
        transform: translateY(10px);
    }
}

.floating-research-glow {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background-color: #ccff00;
    filter: blur(12px);
    opacity: 0.4;
    transition: opacity 300ms;
    box-shadow: 0 0 15px rgba(204, 255, 0, 0.3);
}

.floating-research-button-wrapper:hover .floating-research-glow {
    opacity: 0.6;
}

.floating-research-button {
    position: relative;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--feed-black);
    border: 2px solid #ccff00;
    box-shadow: 0 0 10px rgba(204, 255, 0, 0.4), 0 0 20px rgba(204, 255, 0, 0.2);
    overflow: hidden;
    cursor: pointer;
    transition: all 200ms;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-research-button:hover {
    background: rgba(0, 0, 0, 0.9);
}

.floating-research-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 300ms;
}

.floating-research-button:hover .floating-research-avatar {
    transform: scale(1.1);
}

.floating-research-initial {
    color: #ccff00;
    font-size: 20px;
    font-weight: 700;
}

.floating-research-pulse-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid #ccff00;
    opacity: 0.2;
    animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes ping {
    75%, 100% {
        transform: scale(1.1);
        opacity: 0;
    }
}

.floating-research-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    z-index: 10;
    background: #ccff00;
    color: var(--feed-black);
    font-size: 12px;
    font-weight: 700;
    border-radius: 50%;
    min-width: 24px;
    height: 24px;
    border: 2px solid var(--feed-black);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 6px;
}

/* Research Started Popup Styles (for Feed page) */
.research-popup-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    z-index: 99999;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 300ms ease;
}

.research-popup-overlay.active {
    display: flex;
    opacity: 1;
}

.research-popup-container {
    background: #000000;
    border: 1px solid hsla(24, 95%, 53%, 0.3);
    border-radius: 16px;
    padding: 24px;
    max-width: 448px;
    width: calc(100% - 32px);
    margin: 0 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25),
                0 0 50px rgba(255, 165, 0, 0.15),
                0 0 100px rgba(255, 165, 0, 0.05);
    transform: scale(0.95) translateY(4px);
    opacity: 0;
    transition: all 300ms ease;
}

.research-popup-overlay.active .research-popup-container {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.research-popup-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.research-popup-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.variant-text {
    font-family: 'Courier New', monospace;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.1em;
    background: linear-gradient(135deg, hsl(24, 95%, 53%) 0%, var(--feed-white) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.live-badge {
    padding: 2px 6px;
    background: hsla(24, 95%, 53%, 0.2);
    border: 1px solid hsla(24, 95%, 53%, 0.3);
    border-radius: 4px;
    color: hsl(24, 95%, 53%);
    font-family: 'Courier New', monospace;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.research-popup-close {
    width: 24px;
    height: 24px;
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 200ms;
}

.research-popup-close svg {
    width: 12px;
    height: 12px;
}

.research-popup-close:hover {
    background: hsla(24, 95%, 53%, 0.2);
    color: var(--feed-white);
}

.research-popup-content {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.research-popup-avatar-section {
    position: relative;
    width: 64px;
    height: 64px;
    flex-shrink: 0;
}

.research-popup-avatar-ring {
    position: absolute;
    inset: -2px;
    border: 2px solid #ccff00;
    border-radius: 50%;
    animation: popup-ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
    opacity: 0.4;
    pointer-events: none;
}

@keyframes popup-ping {
    0% {
        transform: scale(1);
        opacity: 0.4;
    }
    75%, 100% {
        transform: scale(1.15);
        opacity: 0;
    }
}

.research-popup-avatar-wrapper {
    position: relative;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 2px solid #ccff00;
    padding: 2px;
    box-shadow: 0 0 20px #ccff00, 0 0 40px rgba(204, 255, 0, 0.3);
    z-index: 1;
}

.research-popup-avatar-inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, hsla(24, 95%, 53%, 0.2) 0%, #1e293b 50%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.research-popup-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.research-popup-avatar-fallback {
    font-size: 24px;
    font-weight: 700;
    color: hsl(24, 95%, 53%);
}

.research-popup-text-section {
    flex: 1;
}

.research-popup-title {
    color: var(--feed-text);
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 4px 0;
}

.research-popup-description {
    color: #cbd5e1;
    font-size: 14px;
    line-height: 1.625;
    margin: 0;
}

.avatar-name-text {
    color: hsl(24, 95%, 53%);
    font-weight: 500;
}

.ticker-text {
    color: #ccff00;
    font-family: 'Courier New', monospace;
    font-weight: 700;
    text-transform: uppercase;
}

.research-popup-progress {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 12px;
}

.research-popup-dots-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.research-popup-dots {
    display: flex;
    gap: 8px;
}

.research-popup-dots .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    animation: popup-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.research-popup-dots .dot:nth-child(1) {
    background: hsl(24, 95%, 53%);
    animation-delay: 0s;
}

.research-popup-dots .dot:nth-child(2) {
    background: hsla(24, 95%, 53%, 0.6);
    animation-delay: 0.2s;
}

.research-popup-dots .dot:nth-child(3) {
    background: hsla(24, 95%, 53%, 0.3);
    animation-delay: 0.4s;
}

@keyframes popup-pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.research-popup-status {
    color: #94a3b8;
    font-size: 12px;
    font-family: 'Courier New', monospace;
    margin: 0;
}

.research-popup-instructions {
    padding: 0;
    background: none;
    border: none;
    color: var(--feed-text);
    font-size: 14px;
    font-family: system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    font-weight: 400;
}

.research-popup-instructions strong {
    color: hsl(24, 95%, 53%);
    font-weight: 600;
}

/* Dark Mode Overrides for hardcoded rgba values */
body.dark-mode .feed-post-title {
    color: rgba(255, 255, 255, 0.85);
}

body.dark-mode .feed-post-author-name {
    color: rgba(255, 255, 255, 0.8);
}

body.dark-mode .feed-post-time,
body.dark-mode .feed-post-meta span {
    color: rgba(255, 255, 255, 0.6);
}

body.dark-mode .feed-author-name {
    color: rgba(255, 255, 255, 0.8);
}

body.dark-mode .feed-time {
    color: rgba(255, 255, 255, 0.5);
}

body.dark-mode .view-count-label,
body.dark-mode .view-count {
    color: rgba(255, 255, 255, 0.6);
}

body.dark-mode .view-count-dot {
    background: rgba(255, 255, 255, 0.05);
}

body.dark-mode .view-count-number {
    color: rgba(255, 255, 255, 0.7);
}

body.dark-mode .price-stats-item-label {
    color: rgba(255, 255, 255, 0.6);
}

body.dark-mode .price-stats-item-value {
    color: rgba(255, 255, 255, 0.5);
}

body.dark-mode .feed-divider {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

body.dark-mode .feed-action-button {
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.8);
}

body.dark-mode .feed-action-button:hover {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 1);
}

body.dark-mode .feed-post-thumbnail {
    border: 1px solid rgba(255, 255, 255, 0.1);
}

body.dark-mode .feed-upnext-item-title {
    color: rgba(255, 255, 255, 0.9);
}

body.dark-mode .feed-upnext-item-meta {
    color: rgba(255, 255, 255, 0.6);
}

body.dark-mode .category-filter-button {
    background: rgba(255, 255, 255, 0.05);
}

body.dark-mode .category-filter-button.active {
    background: rgba(255, 255, 255, 0.08);
}

body.dark-mode .price-viz-bar {
    background: rgba(255, 255, 255, 0.1);
}

body.dark-mode .feed-takeaway-text {
    color: rgba(255, 255, 255, 0.85);
}

body.dark-mode .feed-vote-btn {
    color: rgba(255, 255, 255, 0.6);
}

body.dark-mode .feed-vote-btn svg {
    color: rgba(255, 255, 255, 0.5);
}

body.dark-mode .feed-vote-btn .vote-count {
    color: rgba(255, 255, 255, 0.6);
}

body.dark-mode .feed-vote-btn:hover {
    background: rgba(255, 255, 255, 0.05);
}

body.dark-mode .vote-percentage {
    color: rgba(255, 255, 255, 0.7);
}

body.dark-mode .feed-view-count {
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.6);
}

body.dark-mode .view-icon {
    color: rgba(255, 255, 255, 0.5);
}

body.dark-mode .feed-post-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

body.dark-mode .feed-action-btn {
    color: rgba(255, 255, 255, 0.6);
}

body.dark-mode .feed-action-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.8);
}

body.dark-mode .feed-action-btn span {
    color: rgba(255, 255, 255, 0.6);
}

body.dark-mode .feed-action-btn:hover span {
    color: rgba(255, 255, 255, 0.8);
}

body.dark-mode .feed-share-dropdown-menu {
    background: rgba(20, 20, 20, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

body.dark-mode .feed-share-option {
    color: rgba(255, 255, 255, 0.8);
}

body.dark-mode .feed-share-option:hover {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 1);
}

body.dark-mode .feed-share-option svg {
    color: rgba(255, 255, 255, 0.6);
}

body.dark-mode .feed-share-option:hover svg {
    color: rgba(255, 255, 255, 0.9);
}

body.dark-mode .feed-logo-img {
    border: 1px solid rgba(255, 255, 255, 0.2);
}

body.dark-mode .feed-opportunity-btn {
    background: rgba(249, 115, 22, 0.15);
    color: var(--accent-orange);
    border: 1px solid rgba(249, 115, 22, 0.3);
}

body.dark-mode .feed-opportunity-btn svg {
    stroke: var(--accent-orange);
}

body.dark-mode .feed-intelligence-btn {
    background: rgba(96, 165, 250, 0.15);
    color: #60a5fa;
    border: 1px solid rgba(96, 165, 250, 0.3);
}

body.dark-mode .feed-intelligence-btn svg {
    stroke: #60a5fa;
}

body.dark-mode .feed-research-btn {
    background: rgba(139, 92, 246, 0.15);
    color: #a78bfa;
    border: 1px solid rgba(139, 92, 246, 0.3);
}

body.dark-mode .feed-research-btn svg {
    stroke: #a78bfa;
}

body.dark-mode .feed-exclusive-btn {
    background: rgba(218, 165, 32, 0.15);
    color: #DAA520;
    border: 1px solid rgba(218, 165, 32, 0.3);
}

body.dark-mode .feed-exclusive-btn svg {
    stroke: #DAA520;
}

body.dark-mode .feed-exclusive-btn:hover {
    background: rgba(218, 165, 32, 0.2);
}

/* Pro Card Styles */
.feed-post.pro-card {
    background: var(--feed-card);
    border: 1px solid var(--feed-border);
    position: relative;
}

.feed-post.pro-card::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(255, 165, 0, 0.2));
    border-radius: inherit;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feed-post.pro-card:hover::before {
    opacity: 1;
}

.feed-pro-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(192, 192, 192, 0.15);
    color: #c0c0c0;
    border: 1px solid rgba(192, 192, 192, 0.3);
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.feed-pro-btn:hover {
    background: rgba(192, 192, 192, 0.25);
    transform: translateY(-2px);
}

.feed-pro-btn svg {
    width: 16px;
    height: 16px;
    stroke: #c0c0c0;
}

.pro-content {
    background: transparent !important;
}

.pro-catalyst-header {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: linear-gradient(135deg, #FFD700, #FFA500, #FFD700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0.5rem 0 0.75rem 0;
    font-family: 'IBM Plex Mono', monospace;
}

.pro-content-row {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 0.75rem;
}

.pro-text-content {
    flex: 1;
    min-width: 0;
}

.pro-text-content .feed-post-summary {
    -webkit-line-clamp: 5;
    font-size: 0.95rem;
    line-height: 1.6;
}

.pro-chart-section {
    flex-shrink: 0;
    padding: 1rem;
    background: var(--feed-card-hover);
    border-radius: 8px;
    border: 1px solid var(--feed-border);
    width: 200px;
}

.pro-chart-header {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pro-logo-placeholder {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(192, 192, 192, 0.15);
    border: 1px solid rgba(192, 192, 192, 0.3);
    border-radius: 4px;
    font-weight: 700;
    font-size: 1rem;
    color: #c0c0c0;
}

.pro-mini-chart {
    display: block;
    width: 100% !important;
    height: 60px !important;
}




.pro-metadata {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(59, 130, 246, 0.15);
}

.pro-meta-item {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.875rem;
    color: var(--text-tertiary);
}

.pro-meta-item svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
}

.pro-event-type {
    padding: 0.25rem 0.75rem;
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: capitalize;
}

/* Dark Mode Pro Card Styles */
body.dark-mode .feed-post.pro-card {
    background: var(--feed-card);
    border: 1px solid var(--feed-border);
}

body.dark-mode .feed-pro-btn {
    background: rgba(255, 215, 0, 0.15);
    border: 1px solid rgba(255, 215, 0, 0.3);
    color: #FFD700;
}

body.dark-mode .feed-pro-btn:hover {
    background: rgba(255, 215, 0, 0.25);
}

body.dark-mode .pro-logo-placeholder {
    background: rgba(192, 192, 192, 0.2);
    border: 1px solid rgba(192, 192, 192, 0.35);
}

body.dark-mode .pro-chart-section {
    background: var(--feed-card-hover);
    border: 1px solid var(--feed-border);
}

body.dark-mode .pro-chart-header {
    color: var(--text-secondary);
}

