/* ============================================
   View Styles
   Influencer, Compare, Stocks Views
   ============================================ */

/* ============================================
   Influencer View
   ============================================ */

#influencer-view .card {
    background: linear-gradient(165deg, rgba(22, 24, 35, .98), rgba(12, 14, 22, .99));
    border: 1px solid rgba(139, 92, 246, .15);
    box-shadow: 0 30px 100px rgba(0, 0, 0, .6);
}

#influencer-view .card::after {
    z-index: -1;
}

.profile-header {
    background:
        radial-gradient(ellipse 100% 60% at 50% -10%, rgba(139, 92, 246, .12), transparent 50%),
        linear-gradient(165deg, rgba(22, 24, 35, .98), rgba(12, 14, 22, .99));
    border-radius: 20px;
    padding: 40px 44px;
    border: 1px solid rgba(139, 92, 246, .12);
}

.profile-name-row {
    display: flex;
    align-items: baseline;
    gap: 20px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.profile-header h1 {
    font-size: 2.4rem;
    font-weight: 700;
    background: linear-gradient(135deg, #a855f7 0%, #8b5cf6 50%, #6366f1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
}

.youtube-channel-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease;
}

.youtube-channel-link:hover {
    color: #ff0000;
}

.youtube-channel-link svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.youtube-channel-link.hidden {
    display: none;
}

.profile-description-row {
    display: flex;
    align-items: stretch;
    gap: 24px;
    margin-bottom: 36px;
}

.inf-description {
    position: relative;
    flex: 1;
    color: rgba(255, 255, 255, .78);
    font-size: 1rem;
    line-height: 1.85;
    padding: 28px 32px 28px 28px;
    background: linear-gradient(145deg, rgba(28, 32, 48, .9), rgba(18, 20, 30, .95));
    border: 1px solid rgba(139, 92, 246, .18);
    border-left: none;
    border-radius: 0 18px 18px 0;
    margin-left: 5px;
}

/* Curved purple bracket on the left */
.inf-description::before {
    content: '';
    position: absolute;
    left: -5px;
    top: 0;
    bottom: 0;
    width: 5px;
    background: linear-gradient(180deg, #a855f7, #8b5cf6, #7c3aed);
    border-radius: 10px 0 0 10px;
}

.stat-box-featured {
    min-width: 240px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(155deg, rgba(0, 70, 55, .5), rgba(5, 28, 24, .92));
    border: 1px solid rgba(74, 222, 128, .3);
    border-radius: 20px;
    padding: 44px 56px;
    gap: 18px;
}

.stat-box.stat-box-featured .stat-label,
.stat-box-featured .stat-label {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #4ade80 !important;
    font-weight: 700;
}

.stat-box.stat-box-featured .stat-label svg,
.stat-box-featured .stat-label svg {
    stroke: #4ade80 !important;
    opacity: 1 !important;
    width: 28px;
    height: 28px;
}

.stat-box.stat-box-featured .stat-value,
.stat-box-featured .stat-value {
    font-size: 2.5rem !important;
    font-weight: 800 !important;
    line-height: 1;
    color: #22c55e !important;
    text-shadow: 0 0 30px rgba(34, 197, 94, 0.4);
}

.profile-stats {
    gap: 18px;
}

.profile-stats.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.profile-stats.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

/* Suggested Stocks Card */
.suggested-stocks-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.15), rgba(118, 75, 162, 0.15));
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #667eea;
}

.suggested-stocks-card:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.25), rgba(118, 75, 162, 0.25));
    border-color: rgba(102, 126, 234, 0.5);
    transform: translateY(-2px);
}

.suggested-stocks-content {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 0.95rem;
}

.suggested-stocks-arrow {
    opacity: 0.7;
    transition: transform 0.2s ease;
}

.suggested-stocks-card:hover .suggested-stocks-arrow {
    transform: translateX(4px);
    opacity: 1;
}

/* Suggested Stocks Modal */
.stocks-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.stocks-modal.hidden {
    display: none;
}

.stocks-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.stocks-modal-content {
    position: relative;
    background: linear-gradient(165deg, rgba(22, 24, 35, 0.98), rgba(12, 14, 22, 0.99));
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 20px;
    width: 100%;
    max-width: 700px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
    animation: modalSlideIn 0.25s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(10px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.stocks-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.stocks-modal-title-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stocks-modal-header h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stocks-modal-subtitle {
    margin: 0;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 400;
}

.stocks-modal-subtitle span {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.stocks-modal-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    padding: 4px;
    transition: color 0.2s ease;
}

.stocks-modal-close:hover {
    color: rgba(255, 255, 255, 0.9);
}

.stocks-modal-tabs {
    display: flex;
    gap: 10px;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    flex-wrap: wrap;
    flex-shrink: 0;
}

.stocks-year-tab {
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.stocks-year-tab:hover {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
}

.stocks-year-tab.active {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-color: transparent;
    color: white;
}

.stocks-modal-body {
    padding: 20px 24px;
    overflow-y: auto;
    flex: 1;
}

.stocks-modal-body::-webkit-scrollbar {
    width: 10px;
}

.stocks-modal-body::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, .04);
    border-radius: 999px;
    margin: 8px;
}

.stocks-modal-body::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(124, 92, 255, .55), rgba(255, 77, 141, .45));
    border-radius: 999px;
    border: 2px solid rgba(10, 12, 26, .75);
}

.stocks-modal-body::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, rgba(124, 92, 255, .75), rgba(255, 77, 141, .65));
}

.stocks-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.stock-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    background: rgba(102, 126, 234, 0.12);
    border: 1px solid rgba(102, 126, 234, 0.25);
    border-radius: 10px;
    color: #667eea;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: 'SF Mono', 'Monaco', 'Consolas', monospace;
}

.stock-count {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
    font-weight: 500;
}

.stocks-empty {
    text-align: center;
    padding: 40px 20px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.95rem;
}

@media (max-width: 520px) {
    .suggested-stocks-box {
        padding: 14px 18px;
        font-size: 0.88rem;
    }

    .stocks-modal-content {
        max-height: 90vh;
        border-radius: 16px;
    }

    .stocks-modal-header {
        padding: 16px 18px;
    }

    .stocks-modal-tabs {
        padding: 12px 18px;
    }

    .stocks-modal-body {
        padding: 16px 18px;
    }
}

.stat-box {
    position: relative;
    background: linear-gradient(145deg, rgba(28, 32, 48, .9), rgba(18, 20, 30, .95));
    padding: 22px 26px;
    border-radius: 16px;
    border: 1px solid rgba(139, 92, 246, .12);
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: all 200ms ease;
    overflow: hidden;
}

/* Subtle green glow at bottom */
.stat-box::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50px;
    background: linear-gradient(to top, rgba(74, 222, 128, .06), transparent);
    pointer-events: none;
}

.stat-box:hover {
    border-color: rgba(139, 92, 246, .25);
    transform: translateY(-2px);
}

.stat-box .stat-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    color: rgba(255, 255, 255, .5);
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.stat-box .stat-label svg {
    opacity: 0.5;
    color: rgba(255, 255, 255, .5);
}

.stat-box .stat-value {
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, .92);
    line-height: 1.5;
}

.back-nav .btn-outline {
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .12);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: inline-flex;
    align-items: center;
}

.back-nav .btn-outline:hover {
    background: rgba(124, 92, 255, .12);
    border-color: rgba(124, 92, 255, .35);
}

.inf-comparison-controls {
    display: flex;
    gap: 10px;
    align-items: center;
}

.inf-comparison-controls select {
    min-width: 120px;
}

#influencer-view .inf-compare-input {
    width: 220px;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 12px;
    padding: 10px 14px;
    color: rgba(255, 255, 255, .9);
    transition: all 180ms ease;
}

#influencer-view .inf-compare-input:focus {
    border-color: rgba(124, 92, 255, .5);
    box-shadow: 0 0 0 4px rgba(124, 92, 255, .12);
    outline: none;
}

#influencer-view .compare-timeframe-select {
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 12px;
    padding: 10px 14px;
    color: rgba(255, 255, 255, .9);
    min-width: 110px;
}

#influencer-view .compare-timeframe-select option {
    background: #1a1a2e;
    color: rgba(255, 255, 255, .9);
}

#influencer-view .compare-timeframe-select:focus {
    border-color: rgba(124, 92, 255, .5);
    box-shadow: 0 0 0 4px rgba(124, 92, 255, .12);
    outline: none;
}

#influencer-view .btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 12px;
    padding: 10px 18px;
    font-weight: 600;
    transition: all 180ms ease;
}

#influencer-view .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(102, 126, 234, .35);
}

#influencer-view .chart-container {
    background: rgba(255, 255, 255, .02);
    border-radius: var(--radius-md);
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, .06);
}

@media (max-width: 900px) {
    .profile-header {
        padding: 30px;
    }

    .profile-header h1 {
        font-size: 2rem;
    }

    .profile-description-row {
        flex-direction: column;
        gap: 20px;
    }

    .stat-box-featured {
        min-width: 100%;
        max-width: 100%;
        padding: 24px;
        order: -1;
    }

    .stat-box.stat-box-featured .stat-value,
    .stat-box-featured .stat-value {
        font-size: 5rem !important;
    }

    .profile-stats.grid-3,
    .profile-stats.grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .inf-comparison-controls {
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    #influencer-view .container {
        padding: 14px;
    }

    .profile-header {
        padding: 20px;
        border-radius: 16px;
    }

    .profile-name-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        margin-bottom: 16px;
    }

    .profile-header h1 {
        font-size: 1.65rem;
    }

    .inf-description {
        padding: 18px 20px 18px 18px;
        font-size: 0.9rem;
        line-height: 1.7;
    }

    .stat-box-featured {
        padding: 20px;
        border-radius: 16px;
    }

    .stat-box.stat-box-featured .stat-value,
    .stat-box-featured .stat-value {
        font-size: 3.5rem !important;
    }

    .stat-box.stat-box-featured .stat-label,
    .stat-box-featured .stat-label {
        font-size: 0.8rem;
        letter-spacing: 1.5px;
    }

    .stat-box {
        padding: 16px 18px;
        border-radius: 14px;
    }

    .stat-box .stat-label {
        font-size: 0.7rem;
    }

    .stat-box .stat-value {
        font-size: 0.9rem;
    }

    .profile-stats {
        gap: 12px;
    }

    .inf-comparison-controls {
        gap: 8px;
    }

    #influencer-view .inf-compare-input {
        width: 100%;
        min-width: 0;
    }

    .inf-comparison-controls select {
        min-width: 100px;
    }
}

@media (max-width: 520px) {
    #influencer-view .container {
        padding: 10px;
    }

    .profile-header {
        padding: 16px;
        border-radius: 14px;
    }

    .profile-header h1 {
        font-size: 1.4rem;
    }

    .inf-description {
        padding: 14px 16px 14px 14px;
        font-size: 0.85rem;
        line-height: 1.6;
        border-radius: 0 14px 14px 0;
    }

    .stat-box-featured {
        padding: 16px;
        border-radius: 14px;
        gap: 12px;
    }

    .stat-box.stat-box-featured .stat-value,
    .stat-box-featured .stat-value {
        font-size: 2.8rem !important;
    }

    .stat-box.stat-box-featured .stat-label,
    .stat-box-featured .stat-label {
        font-size: 0.72rem;
        letter-spacing: 1px;
        gap: 8px;
    }

    .stat-box.stat-box-featured .stat-label svg,
    .stat-box-featured .stat-label svg {
        width: 22px;
        height: 22px;
    }

    .stat-box {
        padding: 14px 16px;
        border-radius: 12px;
    }

    .stat-box .stat-label {
        font-size: 0.65rem;
        letter-spacing: 1px;
    }

    .profile-stats {
        gap: 10px;
    }

    .profile-stats.grid-3,
    .profile-stats.grid-4 {
        grid-template-columns: 1fr;
    }

    .inf-comparison-controls {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .inf-comparison-controls select,
    #influencer-view .inf-compare-input {
        width: 100%;
    }

    #influencer-view .btn-primary {
        width: 100%;
        justify-content: center;
    }

    .back-nav .btn-outline {
        padding: 8px 14px;
        font-size: 0.85rem;
    }
}

@media (max-width: 380px) {
    #influencer-view .container {
        padding: 8px;
    }

    .profile-header {
        padding: 12px;
        border-radius: 12px;
    }

    .profile-header h1 {
        font-size: 1.25rem;
    }

    .stat-box.stat-box-featured .stat-value,
    .stat-box-featured .stat-value {
        font-size: 2.2rem !important;
    }
}

/* ============================================
   Compare View - Glassy UI
   ============================================ */

#compare-view .card {
    background:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(124, 92, 255, .18), transparent),
        linear-gradient(160deg, rgba(30, 32, 48, .92), rgba(16, 18, 30, .96));
    border: 1px solid rgba(255, 255, 255, .10);
    box-shadow: 0 24px 80px rgba(0, 0, 0, .45);
}

#compare-view .card::after {
    z-index: -1;
    pointer-events: none;
}

#compare-view .card {
    isolation: isolate;
}

.compare-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(124, 92, 255, .25), rgba(255, 77, 141, .18));
    border: 1px solid rgba(124, 92, 255, .3);
    margin-right: 4px;
}

.compare-icon svg {
    color: rgba(255, 255, 255, .9);
}

.compare-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 20px;
    padding: 0 4px;
}

.comparison-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: flex-end;
    margin-bottom: 24px;
    padding: 20px;
    background: rgba(255, 255, 255, .03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, .08);
    position: relative;
    z-index: 50;
    isolation: isolate;
}

.comparison-selects {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    flex: 1;
}

.comparison-select-row {
    display: flex;
    gap: 8px;
    align-items: center;
}

.comparison-influencer {
    min-width: 200px;
}

.comparison-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

#compare-view .compare-influencer-input {
    width: 100%;
    min-width: 200px;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 12px;
    padding: 10px 14px;
    color: rgba(255, 255, 255, .9);
    transition: all 180ms ease;
}

#compare-view .compare-influencer-input:focus {
    border-color: rgba(124, 92, 255, .5);
    box-shadow: 0 0 0 4px rgba(124, 92, 255, .12);
    outline: none;
}

#compare-view .compare-influencer-input::placeholder {
    color: rgba(255, 255, 255, .4);
}

#compare-view .compare-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: rgba(10, 12, 26, .98);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 14px;
    max-height: 220px;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    z-index: 9999;
    box-shadow: 0 22px 70px rgba(0, 0, 0, .55);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    -webkit-overflow-scrolling: touch;
    pointer-events: auto;
}

#compare-view .compare-dropdown .autocomplete-item {
    display: block;
    padding: 12px 14px;
    cursor: pointer;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
    color: rgba(255, 255, 255, .85);
    transition: background 150ms ease;
    pointer-events: auto;
}

#compare-view .compare-dropdown .autocomplete-item:hover,
#compare-view .compare-dropdown .autocomplete-item.active {
    background: rgba(124, 92, 255, .22);
    color: #fff;
}

#compare-view .compare-timeframe-select {
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 12px;
    padding: 10px 14px;
    padding-right: 40px;
    color: rgba(255, 255, 255, .9);
    min-width: 110px;
    text-align: center;
    text-align-last: center;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.7)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
}

#compare-view .compare-timeframe-select option {
    background: #1a1a2e;
    color: rgba(255, 255, 255, .9);
    text-align: center;
}

#compare-view .compare-timeframe-select:focus {
    border-color: rgba(124, 92, 255, .5);
    box-shadow: 0 0 0 4px rgba(124, 92, 255, .12);
    outline: none;
}

#compare-view .btn-secondary {
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 12px;
    color: rgba(255, 255, 255, .9);
    padding: 10px 16px;
    font-weight: 600;
    transition: all 180ms ease;
}

#compare-view .btn-secondary:hover {
    background: rgba(255, 255, 255, .10);
    border-color: rgba(124, 92, 255, .35);
}

#compare-view .btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 12px;
    padding: 10px 20px;
    font-weight: 600;
    transition: all 180ms ease;
}

#compare-view .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(102, 126, 234, .35);
}

#compare-view .btn-remove {
    background: rgba(255, 71, 87, .12);
    border: 1px solid rgba(255, 71, 87, .35);
    color: #ff4757;
    border-radius: 10px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 180ms ease;
}

#compare-view .btn-remove:hover {
    background: rgba(255, 71, 87, .25);
    border-color: #ff4757;
}

#compare-view .checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, .8);
    font-size: 0.9rem;
    font-weight: 400;
    cursor: pointer;
}

#compare-view .checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #764ba2;
}

#compare-view .chart-container {
    background: rgba(255, 255, 255, .02);
    border-radius: var(--radius-md);
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, .06);
}

@media (max-width: 768px) {
    #compare-view .container {
        padding: 14px;
    }

    #compare-view .card {
        padding: 18px;
        border-radius: 18px;
    }

    .comparison-controls {
        flex-direction: column;
        align-items: stretch;
        padding: 16px;
        gap: 12px;
    }

    .comparison-selects {
        flex-direction: column;
        gap: 10px;
    }

    .comparison-select-row {
        flex-wrap: wrap;
        gap: 8px;
    }

    .comparison-influencer {
        min-width: 100%;
    }

    .compare-search-wrapper {
        width: 100%;
    }

    #compare-view .compare-influencer-input {
        min-width: 0;
    }

    .comparison-actions {
        justify-content: stretch;
        width: 100%;
    }

    #compare-view .compare-timeframe-select {
        flex: 1;
        min-width: 0;
    }

    #compare-view .btn-primary,
    #compare-view .btn-secondary {
        flex: 1;
        text-align: center;
        justify-content: center;
    }

    .compare-description {
        font-size: 0.88rem;
    }
}

@media (max-width: 520px) {
    #compare-view .container {
        padding: 10px;
    }

    #compare-view .card {
        padding: 14px;
        border-radius: 14px;
    }

    #compare-view .card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding-bottom: 12px;
        margin-bottom: 16px;
    }

    #compare-view .card-title {
        font-size: 1.05rem;
    }

    .compare-icon {
        width: 30px;
        height: 30px;
    }

    .comparison-controls {
        padding: 12px;
        border-radius: 12px;
        gap: 10px;
    }

    .comparison-select-row {
        width: 100%;
    }

    #compare-view .btn-remove {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }

    .comparison-actions {
        flex-direction: column;
        gap: 10px;
    }

    #compare-view .btn-primary,
    #compare-view .btn-secondary {
        width: 100%;
        padding: 12px 16px;
    }

    #compare-view .compare-timeframe-select {
        width: 100%;
        padding: 12px 16px;
        padding-right: 40px;
        min-width: 100%;
        box-sizing: border-box;
    }

    #compare-view .compare-timeframe-select option {
        min-width: 100%;
    }

    .compare-description {
        font-size: 0.82rem;
        margin-bottom: 14px;
    }
}

@media (max-width: 380px) {
    #compare-view .container {
        padding: 8px;
    }

    #compare-view .card {
        padding: 12px;
        border-radius: 12px;
    }

    #compare-view .card-title {
        font-size: 0.95rem;
    }

    .comparison-controls {
        padding: 10px;
    }
}

/* ============================================
   Stocks View - Glassy UI
   ============================================ */

#stocks-view .card {
    background:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(124, 92, 255, .18), transparent),
        linear-gradient(160deg, rgba(30, 32, 48, .92), rgba(16, 18, 30, .96));
    border: 1px solid rgba(255, 255, 255, .10);
    box-shadow: 0 24px 80px rgba(0, 0, 0, .45);
}

#stocks-view .card::after {
    z-index: -1;
}

.stocks-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(255, 165, 2, .25), rgba(255, 77, 141, .18));
    border: 1px solid rgba(255, 165, 2, .35);
    margin-right: 4px;
}

.stocks-icon svg {
    color: rgba(255, 255, 255, .9);
}

.stocks-filters {
    display: flex;
    gap: 12px;
}

.stocks-filters select {
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 12px;
    padding: 8px 14px;
    padding-right: 36px;
    color: rgba(255, 255, 255, .9);
    min-width: 120px;
    transition: all 180ms ease;
    text-align: center;
    text-align-last: center;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.7)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
}

.stocks-filters select:focus {
    border-color: rgba(124, 92, 255, .5);
    box-shadow: 0 0 0 4px rgba(124, 92, 255, .12);
    outline: none;
}

.stocks-filters select option {
    background: #1a1a2e;
    color: rgba(255, 255, 255, .9);
    text-align: center;
}

#stocks-view .table-container {
    background: rgba(10, 12, 26, .35);
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, .08);
    overflow-x: auto;
}

#stocks-view .stocks-table {
    width: 100%;
    border-collapse: collapse;
}

#stocks-view .stocks-table thead {
    background: rgba(255, 255, 255, .04);
}

#stocks-view .stocks-table th {
    padding: 14px 16px;
    text-align: left;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, .7);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

#stocks-view .stocks-table td {
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, .04);
    color: rgba(255, 255, 255, .85);
}

#stocks-view .stocks-table tbody tr {
    transition: background 150ms ease;
    animation: fadeInRight 400ms ease both;
}

#stocks-view .stocks-table tbody tr:nth-child(1) {
    animation-delay: 0ms;
}

#stocks-view .stocks-table tbody tr:nth-child(2) {
    animation-delay: 30ms;
}

#stocks-view .stocks-table tbody tr:nth-child(3) {
    animation-delay: 60ms;
}

#stocks-view .stocks-table tbody tr:nth-child(4) {
    animation-delay: 90ms;
}

#stocks-view .stocks-table tbody tr:nth-child(5) {
    animation-delay: 120ms;
}

#stocks-view .stocks-table tbody tr:nth-child(6) {
    animation-delay: 150ms;
}

#stocks-view .stocks-table tbody tr:nth-child(7) {
    animation-delay: 180ms;
}

#stocks-view .stocks-table tbody tr:nth-child(8) {
    animation-delay: 210ms;
}

#stocks-view .stocks-table tbody tr:nth-child(9) {
    animation-delay: 240ms;
}

#stocks-view .stocks-table tbody tr:nth-child(10) {
    animation-delay: 270ms;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(-12px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

#stocks-view .stocks-table tbody tr:hover {
    background: rgba(124, 92, 255, .08);
}

#stocks-view .stocks-table .font-mono {
    color: rgba(124, 92, 255, .95);
    font-weight: 700;
    transition: color 150ms ease;
}

#stocks-view .stocks-table tbody tr:hover .font-mono {
    color: #ff4d8d;
}

#stocks-view .positive-cell {
    color: #00e676 !important;
}

#stocks-view .negative-cell {
    color: #ff4757 !important;
}

#stocks-view .influencer-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    max-width: 280px;
}

.influencer-pill {
    display: inline-block;
    background: rgba(124, 92, 255, .15);
    border: 1px solid rgba(124, 92, 255, .25);
    border-radius: 20px;
    padding: 4px 10px;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, .85);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 130px;
}

.influencer-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .08);
    border-radius: 20px;
    padding: 4px 10px;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, .6);
    white-space: nowrap;
}

.influencer-more-clickable {
    cursor: pointer;
    transition: all 200ms ease;
}

.influencer-more-clickable:hover {
    background: rgba(139, 92, 246, .25);
    color: rgba(255, 255, 255, .9);
    border-color: rgba(139, 92, 246, .4);
}

/* ============================================
   Influencer List Modal
   ============================================ */

.influencer-list-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.influencer-list-modal.hidden {
    display: none;
}

.influencer-list-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.influencer-list-modal-content {
    position: relative;
    background: linear-gradient(165deg, rgba(22, 24, 35, 0.98), rgba(12, 14, 22, 0.99));
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 20px;
    width: 100%;
    max-width: 500px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
    animation: modalSlideIn 0.25s ease;
}

.influencer-list-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.influencer-list-modal-header h3 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
    background: linear-gradient(135deg, #a855f7 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.influencer-list-modal-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    padding: 4px;
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.influencer-list-modal-close:hover {
    color: rgba(255, 255, 255, 0.9);
}

.influencer-list-modal-body {
    padding: 16px 24px 24px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.influencer-list-modal-body::-webkit-scrollbar {
    width: 10px;
}

.influencer-list-modal-body::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, .04);
    border-radius: 999px;
    margin: 8px;
}

.influencer-list-modal-body::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(124, 92, 255, .55), rgba(255, 77, 141, .45));
    border-radius: 999px;
    border: 2px solid rgba(10, 12, 26, .75);
}

.influencer-list-modal-body::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, rgba(124, 92, 255, .75), rgba(255, 77, 141, .65));
}

.influencer-list-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    cursor: pointer;
    transition: all 200ms ease;
}

.influencer-list-item:hover {
    background: rgba(139, 92, 246, 0.15);
    border-color: rgba(139, 92, 246, 0.3);
    transform: translateX(4px);
}

.influencer-list-item svg {
    color: rgba(139, 92, 246, 0.7);
    flex-shrink: 0;
}

.influencer-list-item:hover svg {
    color: rgba(139, 92, 246, 1);
}

#stocks-view .chart-container {
    background: transparent;
    border-radius: 0;
    padding: 0;
    border: none;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

/* All-Time Stocks Scrollable Table */
.alltime-table-wrap {
    position: relative;
    max-height: 480px;
    overflow-x: auto;
    overflow-y: auto;
    scrollbar-gutter: stable;
    overscroll-behavior: contain;
}

.alltime-table-wrap .stocks-table {
    min-width: 520px;
    border-collapse: separate;
    border-spacing: 0;
}

.alltime-table-wrap .stocks-table thead th {
    position: sticky;
    top: 0;
    z-index: 2;
    background: #12141f;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

/* Custom scrollbar styling */
#stocks-view .table-container::-webkit-scrollbar,
.alltime-table-wrap::-webkit-scrollbar {
    width: 10px;
    height: 8px;
}

#stocks-view .table-container::-webkit-scrollbar-track,
.alltime-table-wrap::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, .04);
    border-radius: 999px;
    margin: 8px;
}

#stocks-view .table-container::-webkit-scrollbar-thumb,
.alltime-table-wrap::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(124, 92, 255, .55), rgba(255, 77, 141, .45));
    border-radius: 999px;
    border: 2px solid rgba(10, 12, 26, .75);
}

#stocks-view .table-container::-webkit-scrollbar-thumb:hover,
.alltime-table-wrap::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, rgba(124, 92, 255, .75), rgba(255, 77, 141, .65));
}

@media (max-width: 800px) {
    #stocks-view .grid-2 {
        grid-template-columns: 1fr;
    }

    .strategy-chart-wrap {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        min-height: 320px;
        overflow: hidden;
    }

    .strategy-chart-wrap .chart-container {
        min-height: 260px;
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    .strategy-chart-header {
        text-align: left;
    }

    .strategy-chart-title {
        justify-content: flex-start;
    }

    .strategy-chart-subtitle {
        text-align: left;
    }
}

@media (max-width: 768px) {
    #stocks-view .container {
        padding: 14px;
    }

    #stocks-view .card {
        padding: 18px;
        border-radius: 18px;
    }

    #stocks-view .card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .stocks-filters {
        width: 100%;
        flex-wrap: wrap;
    }

    .stocks-filters select {
        flex: 1;
        min-width: calc(50% - 6px);
    }

    #stocks-view .table-container {
        border-radius: 14px;
    }

    .strategy-chart-wrap {
        border-radius: 14px;
    }

    #stocks-view .stocks-table th,
    #stocks-view .stocks-table td {
        padding: 10px 12px;
    }

    #stocks-view .stocks-table th {
        font-size: 0.7rem;
    }

    #stocks-view .influencer-list {
        max-width: 180px;
        gap: 4px;
    }

    .influencer-pill {
        padding: 3px 8px;
        font-size: 0.7rem;
        max-width: 100px;
    }

    .influencer-more {
        padding: 3px 8px;
        font-size: 0.7rem;
    }

    .alltime-table-wrap {
        max-height: 320px;
    }

    #toggle-alltime-stocks {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 520px) {
    #stocks-view .container {
        padding: 10px;
    }

    #stocks-view .card {
        padding: 14px;
        border-radius: 14px;
    }

    #stocks-view .card-title {
        font-size: 1.05rem;
    }

    .stocks-icon {
        width: 30px;
        height: 30px;
    }

    .stocks-filters {
        gap: 8px;
    }

    .stocks-filters select {
        min-width: 100%;
        padding: 10px 12px;
    }

    #stocks-view .table-container {
        border-radius: 12px;
        margin: 0 -4px;
    }

    #stocks-view .stocks-table {
        min-width: 500px;
    }

    #stocks-view .stocks-table th,
    #stocks-view .stocks-table td {
        padding: 8px 10px;
        white-space: nowrap;
    }

    #stocks-view .stocks-table th {
        font-size: 0.65rem;
    }

    #stocks-view .stocks-table td {
        font-size: 0.82rem;
    }

    #stocks-view .influencer-list {
        max-width: 140px;
        gap: 3px;
    }

    .influencer-pill {
        padding: 2px 6px;
        font-size: 0.65rem;
        max-width: 80px;
    }

    .influencer-more {
        padding: 2px 6px;
        font-size: 0.65rem;
    }

    .alltime-table-wrap {
        max-height: 280px;
    }

    .alltime-table-wrap .table-fade {
        height: 60px;
    }

    #toggle-alltime-stocks {
        padding: 10px 14px;
        font-size: 0.8rem;
    }

    .strategy-chart-wrap {
        padding: 12px;
        min-height: 300px;
        max-width: 100%;
        overflow: hidden;
        border-radius: 12px;
    }

    .strategy-chart-title {
        font-size: 0.85rem;
    }

    .strategy-chart-subtitle {
        font-size: 0.72rem;
    }

    .strategy-chart-wrap .chart-container {
        min-height: 230px;
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }
}

@media (max-width: 380px) {
    #stocks-view .container {
        padding: 8px;
    }

    #stocks-view .card {
        padding: 12px;
        border-radius: 12px;
    }

    #stocks-view .card-title {
        font-size: 0.95rem;
    }

    #stocks-view .stocks-table {
        min-width: 450px;
    }

    #stocks-view .stocks-table th,
    #stocks-view .stocks-table td {
        padding: 6px 8px;
    }

    .strategy-chart-wrap {
        padding: 10px;
        min-height: 280px;
        max-width: 100%;
        overflow: hidden;
    }

    .strategy-chart-title {
        font-size: 0.8rem;
        gap: 6px;
    }

    .strategy-chart-title svg {
        width: 14px;
        height: 14px;
    }

    .strategy-chart-subtitle {
        font-size: 0.68rem;
    }

    .strategy-chart-wrap .chart-container {
        min-height: 220px;
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }
}

/* ============================================
   Performers Section
   ============================================ */

.performers-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

@media (max-width: 800px) {
    .performers-section {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .performers-section {
        gap: 12px;
        margin-top: 20px;
    }

    .performer-item {
        padding: 10px;
        gap: 10px;
    }

    .performer-medal {
        font-size: 1.2rem;
    }

    .performer-name {
        font-size: 0.9rem;
    }

    .performer-stats {
        font-size: 0.78rem;
    }

    .performer-return {
        font-size: 0.95rem;
    }
}

.performer-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: var(--radius-sm);
    background: var(--bg-secondary);
    transition: var(--transition);
}

.performer-item:hover {
    background: var(--bg-hover);
}

.performer-medal {
    font-size: 1.5rem;
}

.performer-info {
    flex: 1;
}

.performer-name {
    font-weight: 600;
    margin-bottom: 2px;
}

.performer-stats {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.performer-return {
    font-weight: 700;
    font-size: 1.1rem;
}

/* ============================================
   Clickable Influencer Link
   ============================================ */

.influencer-link {
    color: var(--accent-primary);
    cursor: pointer;
    transition: var(--transition);
}

.influencer-link:hover {
    color: var(--accent-secondary);
    text-decoration: underline;
}

/* ============================================
   About View
   ============================================ */

#about-view .container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

.about-card {
    background:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(139, 92, 246, .15), transparent),
        linear-gradient(165deg, rgba(22, 24, 35, .98), rgba(12, 14, 22, .99));
    border: 1px solid rgba(139, 92, 246, .15);
    border-radius: 24px;
    padding: 48px;
    box-shadow: 0 30px 100px rgba(0, 0, 0, .5);
}

.about-header {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 40px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.about-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(139, 92, 246, .25), rgba(99, 102, 241, .15));
    border: 1px solid rgba(139, 92, 246, .3);
}

.about-icon svg {
    color: #a855f7;
}

.about-title {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #a855f7 0%, #8b5cf6 50%, #6366f1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
    letter-spacing: -0.02em;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.about-section {
    position: relative;
    padding: 24px 28px;
    background: linear-gradient(145deg, rgba(28, 32, 48, .7), rgba(18, 20, 30, .8));
    border: 1px solid rgba(139, 92, 246, .12);
    border-radius: 16px;
    transition: transform 300ms cubic-bezier(.25, .46, .45, .94),
        border-color 300ms ease,
        box-shadow 300ms ease,
        background 300ms ease;
}

.about-section:hover {
    border-color: rgba(139, 92, 246, .35);
    transform: translateY(-4px) scale(1.015);
    box-shadow: 0 12px 40px rgba(139, 92, 246, .15), 0 4px 12px rgba(0, 0, 0, .3);
    background: linear-gradient(145deg, rgba(35, 38, 58, .85), rgba(22, 24, 36, .9));
}

.about-section:hover h2 svg {
    transform: scale(1.2);
    filter: drop-shadow(0 0 6px rgba(139, 92, 246, .5));
}

.about-section h2 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.15rem;
    font-weight: 700;
    color: rgba(255, 255, 255, .95);
    margin: 0 0 14px 0;
}

.about-section h2 svg {
    color: #8b5cf6;
    opacity: 0.85;
    transition: transform 300ms ease, filter 300ms ease;
}

.about-section p {
    color: rgba(255, 255, 255, .72);
    font-size: 0.95rem;
    line-height: 1.75;
    margin: 0;
}

.about-disclaimer {
    background: linear-gradient(145deg, rgba(255, 193, 7, .08), rgba(28, 32, 48, .7));
    border-color: rgba(255, 193, 7, .2);
}

.about-disclaimer:hover {
    border-color: rgba(255, 193, 7, .45);
    box-shadow: 0 12px 40px rgba(255, 193, 7, .1), 0 4px 12px rgba(0, 0, 0, .3);
    background: linear-gradient(145deg, rgba(255, 193, 7, .12), rgba(35, 38, 58, .85));
}

.about-disclaimer:hover h2 svg {
    filter: drop-shadow(0 0 6px rgba(255, 193, 7, .5));
}

.about-disclaimer h2 svg {
    color: #ffc107;
}


@media (max-width: 768px) {
    #about-view .container {
        padding: 20px 14px;
    }

    .about-card {
        padding: 28px 22px;
        border-radius: 20px;
    }

    .about-header {
        gap: 14px;
        margin-bottom: 28px;
        padding-bottom: 20px;
    }

    .about-icon {
        width: 48px;
        height: 48px;
        border-radius: 14px;
    }

    .about-icon svg {
        width: 24px;
        height: 24px;
    }

    .about-title {
        font-size: 1.5rem;
    }

    .about-content {
        gap: 20px;
    }

    .about-section {
        padding: 20px 22px;
        border-radius: 14px;
    }

    .about-section h2 {
        font-size: 1.05rem;
        gap: 10px;
    }

    .about-section h2 svg {
        width: 18px;
        height: 18px;
    }

    .about-section p {
        font-size: 0.9rem;
        line-height: 1.7;
    }

}

@media (max-width: 520px) {
    .about-card {
        padding: 22px 18px;
        border-radius: 16px;
    }

    .about-header {
        gap: 12px;
    }

    .about-icon {
        width: 40px;
        height: 40px;
        border-radius: 10px;
        flex-shrink: 0;
    }

    .about-icon svg {
        width: 20px;
        height: 20px;
    }

    .about-title {
        font-size: 1.15rem;
    }

    .about-section {
        padding: 16px 18px;
    }

    .about-section h2 {
        font-size: 1rem;
    }

    .about-section p {
        font-size: 0.85rem;
    }

}

/* Hide Stock View Description on Top Picks Page */
body[data-page="top-picks"] #stocks-view .compare-description {
    display: none !important;
}

/* Allow overflow on stocks-view card so tooltips aren't clipped */
#stocks-view .card {
    overflow: visible !important;
    z-index: 5;
    /* Ensure it stacks correctly above others if needed */
}