/* Enhanced Top Performers Styles */

.top-performers-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    width: 100%;
    box-sizing: border-box;
}

/* Performers container styles */
.performers-container {
    width: 100%;
    box-sizing: border-box;
}

.performers-section {
    width: 100%;
    box-sizing: border-box;
}

.performers-list,
#top-gainers-list,
#top-losers-list {
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.top-performers-card .card-title {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.top-performers-card .card-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.performers-section {
    margin-bottom: 1.5rem;
}

.performers-section:last-child {
    margin-bottom: 0;
}

/* Enhanced Section Headers */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.section-title-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.section-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 6px;
    font-size: 0.8rem;
}

.section-icon.gainers {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.section-icon.losers {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.section-title {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
}

.section-subtitle {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    margin-left: 0.25rem;
    font-weight: 400;
}

.section-count {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.08);
    padding: 0.3rem 0.6rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-weight: 500;
}

/* Performer Items */
.performer-item {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 0.75rem;
    margin-bottom: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.performer-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.performer-item:last-child {
    margin-bottom: 0;
}

.performer-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    width: 100%;
    box-sizing: border-box;
}

.performer-symbol {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 1;
    min-width: 0;
}

.symbol-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.2rem;
}

.crypto-logo {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    flex-shrink: 0;
    aspect-ratio: 1 / 1;
    object-fit: contain;
}

.performer-symbol .symbol {
    font-size: 0.9rem;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.2;
}

.performer-symbol .name {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.2;
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.performer-price {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    flex-shrink: 0;
    min-width: fit-content;
}

.performer-price .price {
    font-size: 0.85rem;
    font-weight: 500;
    color: #ffffff;
    line-height: 1.2;
}

.performer-price .change {
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.2;
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
    margin-top: 0.2rem;
}

.performer-price .change.positive {
    color: #ffffff;
    background: rgba(34, 197, 94, 0.2);
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.performer-price .change.negative {
    color: #ffffff;
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.performer-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    width: 100%;
    box-sizing: border-box;
}

.performer-details .volume {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.performer-details .volume .label {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5);
}

.performer-details .volume .value {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

/* Loading and Error States */
.loading-message,
.error-message,
.no-data {
    text-align: center;
    padding: 2rem 1rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.error-message {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 6px;
}

.loading-message {
    color: #00ffa3;
}

/* ULTIMATE OVERRIDE: Target dynamically created elements with maximum specificity */
#top-gainers-list img[src*="crypto-32-icon"],
#top-losers-list img[src*="crypto-32-icon"],
.performers-list img[src*="crypto-32-icon"],
.performer-item img[src*="crypto-32-icon"],
.symbol-container img[src*="crypto-32-icon"],
div.performer-item div.performer-main div.performer-symbol div.symbol-container img.crypto-logo,
div.performer-item div.symbol-container img.crypto-logo,
div.symbol-container img.crypto-logo,
img.crypto-logo[src*="crypto-32-icon"] {
    width: 20px !important;
    height: 20px !important;
    min-width: 20px !important;
    max-width: 20px !important;
    min-height: 20px !important;
    max-height: 20px !important;
    aspect-ratio: 1 / 1 !important;
    object-fit: contain !important;
    flex-shrink: 0 !important;
    flex-grow: 0 !important;
    border-radius: 50% !important;
    display: block !important;
    box-sizing: border-box !important;
    padding: 0 !important;
    margin: 0 !important;
    transform: none !important;
    visibility: visible !important;
}

/* ULTIMATE FLEX OVERRIDE: Target exact JS-created structure */
div.performer-item div.performer-main {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
}

div.performer-item div.performer-main div.performer-symbol {
    flex: 1 1 85% !important;
    min-width: 0 !important;
    overflow: hidden !important;
    max-width: 85% !important;
}

div.performer-item div.performer-main div.performer-price {
    flex: 0 0 15% !important;
    text-align: right !important;
    min-width: fit-content !important;
    max-width: 15% !important;
}

div.performer-symbol div.name {
    max-width: none !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

/* NUCLEAR OPTION: ABSOLUTE LOGO PRESERVATION FOR ALL SCREEN SIZES - TARGET BOTH CLASSES */
html body .top-performers-card .performer-item .symbol-container .crypto-logo,
html body .performers-list .performer-item .symbol-container .crypto-logo,
html body .performers-section .performer-item .symbol-container .crypto-logo,
html body #top-gainers-list .performer-item .symbol-container .crypto-logo,
html body #top-losers-list .performer-item .symbol-container .crypto-logo,
html body .top-performers-card .crypto-logo,
html body .performers-list .crypto-logo,
html body #top-gainers-list .crypto-logo,
html body #top-losers-list .crypto-logo,
html body .top-performers-card .performer-icon,
html body .performers-list .performer-icon,
html body #top-gainers-list .performer-icon,
html body #top-losers-list .performer-icon,
html body .performer-item .performer-icon,
html body .symbol-container .performer-icon,
.top-performers-card .performer-item .symbol-container .crypto-logo,
.performers-list .performer-item .symbol-container .crypto-logo,
#top-gainers-list .crypto-logo,
#top-losers-list .crypto-logo,
.performer-item .crypto-logo,
.symbol-container .crypto-logo,
.crypto-logo,
.performer-icon {
    width: 20px !important;
    height: 20px !important;
    min-width: 20px !important;
    max-width: 20px !important;
    min-height: 20px !important;
    max-height: 20px !important;
    aspect-ratio: 1 / 1 !important;
    object-fit: contain !important;
    flex-shrink: 0 !important;
    flex-grow: 0 !important;
    border-radius: 50% !important;
    display: block !important;
    box-sizing: border-box !important;
}

/* CRITICAL FIX: MASSIVE SPACE REALLOCATION - NAME GETS 85%, PRICE GETS 15% */
.performer-main {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
}

.performer-symbol {
    flex: 1 1 85% !important; /* MASSIVE space for name column */
    min-width: 0 !important;
    overflow: hidden !important;
    max-width: 85% !important;
}

.performer-price {
    flex: 0 0 15% !important; /* MINIMAL space for price column */
    text-align: right !important;
    min-width: fit-content !important;
    max-width: 15% !important;
}

/* CRITICAL FIX: Name text width allocation */
.performer-symbol .name {
    max-width: none !important; /* Remove width restrictions */
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

/* RESPONSIVE DESIGN WITH CRITICAL FIXES */

/* Large screens (1029px+): Default sizing */
@media (min-width: 1029px) {
    /* NUCLEAR: Logo preservation */
    html body .crypto-logo,
    .crypto-logo {
        width: 20px !important;
        height: 20px !important;
        min-width: 20px !important;
        max-width: 20px !important;
        min-height: 20px !important;
        max-height: 20px !important;
        aspect-ratio: 1 / 1 !important;
        object-fit: contain !important;
        flex-shrink: 0 !important;
    }
    
    .performer-symbol {
        flex: 1 1 85% !important; /* More space for names */
    }
    
    .performer-price {
        flex: 0 0 15% !important; /* Less space for prices */
    }
}

/* Medium-large screens (901px-1028px) */
@media (max-width: 1028px) and (min-width: 901px) {
    .top-performers-card {
        padding: 1.2rem;
    }
    
    .section-header {
        padding: 0.6rem 0.8rem;
        margin-bottom: 0.8rem;
    }
    
    .section-icon {
        width: 20px;
        height: 20px;
        font-size: 0.7rem;
    }
    
    .section-title {
        font-size: 0.9rem;
    }
    
    .section-subtitle {
        font-size: 0.7rem;
    }
    
    .section-count {
        font-size: 0.7rem;
        padding: 0.25rem 0.5rem;
    }
    
    .performer-item {
        padding: 0.6rem;
    }
    
    .symbol-container {
        gap: 0.4rem;
    }
    
    /* NUCLEAR: Logo sizing with absolute preservation */
    html body .top-performers-card .crypto-logo,
    html body .performers-list .crypto-logo,
    html body .performer-item .crypto-logo,
    html body .symbol-container .crypto-logo,
    .top-performers-card .crypto-logo,
    .performers-list .crypto-logo,
    .performer-item .crypto-logo,
    .symbol-container .crypto-logo,
    .crypto-logo {
        width: 18px !important;
        height: 18px !important;
        min-width: 18px !important;
        max-width: 18px !important;
        min-height: 18px !important;
        max-height: 18px !important;
        aspect-ratio: 1 / 1 !important;
        object-fit: contain !important;
        flex-shrink: 0 !important;
        flex-grow: 0 !important;
        box-sizing: border-box !important;
    }
    
    .performer-symbol .symbol {
        font-size: 0.85rem;
    }
    
    .performer-symbol .name {
        font-size: 0.7rem;
        max-width: none !important; /* Remove width restrictions */
    }
    
    .performer-price .price {
        font-size: 0.8rem;
    }
    
    .performer-price .change {
        font-size: 0.75rem;
        padding: 0.1rem 0.3rem;
    }
    
    .performer-details .volume .value,
    .performer-details .volume .label {
        font-size: 0.65rem;
    }
    
    /* CRITICAL: Massive space reallocation for 901-1028px */
    .performer-symbol {
        flex: 1 1 85% !important; /* Even more space for names */
    }
    
    .performer-price {
        flex: 0 0 15% !important; /* Minimal space for prices */
    }
}

/* CRITICAL 800px BREAKPOINT: Where logos start squashing */
@media (max-width: 900px) and (min-width: 769px) {
    .top-performers-card {
        padding: 1.1rem;
    }
    
    .section-header {
        padding: 0.55rem 0.75rem;
        margin-bottom: 0.75rem;
    }
    
    .section-icon {
        width: 19px;
        height: 19px;
        font-size: 0.68rem;
    }
    
    .section-title {
        font-size: 0.88rem;
    }
    
    .section-subtitle {
        font-size: 0.68rem;
    }
    
    .section-count {
        font-size: 0.68rem;
        padding: 0.22rem 0.45rem;
    }
    
    .performer-item {
        padding: 0.55rem;
    }
    
    .symbol-container {
        gap: 0.35rem;
    }
    
    /* NUCLEAR: Logo sizing with absolute preservation for 800px range */
    html body .top-performers-card .crypto-logo,
    html body .performers-list .crypto-logo,
    html body .performer-item .crypto-logo,
    html body .symbol-container .crypto-logo,
    .top-performers-card .crypto-logo,
    .performers-list .crypto-logo,
    .performer-item .crypto-logo,
    .symbol-container .crypto-logo,
    .crypto-logo {
        width: 17px !important;
        height: 17px !important;
        min-width: 17px !important;
        max-width: 17px !important;
        min-height: 17px !important;
        max-height: 17px !important;
        aspect-ratio: 1 / 1 !important;
        object-fit: contain !important;
        flex-shrink: 0 !important;
        flex-grow: 0 !important;
        border-radius: 50% !important;
        box-sizing: border-box !important;
    }
    
    .performer-symbol .symbol {
        font-size: 0.82rem;
    }
    
    .performer-symbol .name {
        font-size: 0.68rem;
        max-width: none !important; /* Remove width restrictions at 800px */
    }
    
    .performer-price .price {
        font-size: 0.78rem;
    }
    
    .performer-price .change {
        font-size: 0.72rem;
        padding: 0.1rem 0.28rem;
    }
    
    .performer-details .volume .value,
    .performer-details .volume .label {
        font-size: 0.62rem;
    }
    
    /* NUCLEAR: Extreme space allocation at 800px where truncation is worst */
    .performer-symbol {
        flex: 1 1 88% !important; /* MASSIVE space for name at 800px */
    }
    
    .performer-price {
        flex: 0 0 12% !important; /* TINY space for price at 800px */
    }
}

/* CRITICAL 600px BREAKPOINT: Where truncation is absolutely worst */
@media (max-width: 700px) and (min-width: 601px) {
    .top-performers-card {
        padding: 0.9rem;
    }
    
    /* NUCLEAR: Logo preservation at 600px */
    html body .top-performers-card .crypto-logo,
    html body .performers-list .crypto-logo,
    html body .performer-item .crypto-logo,
    html body .symbol-container .crypto-logo,
    .top-performers-card .crypto-logo,
    .performers-list .crypto-logo,
    .performer-item .crypto-logo,
    .symbol-container .crypto-logo,
    .crypto-logo {
        width: 16px !important;
        height: 16px !important;
        min-width: 16px !important;
        max-width: 16px !important;
        min-height: 16px !important;
        max-height: 16px !important;
        aspect-ratio: 1 / 1 !important;
        object-fit: contain !important;
        flex-shrink: 0 !important;
        flex-grow: 0 !important;
        border-radius: 50% !important;
        box-sizing: border-box !important;
    }
    
    /* EXTREME: 90% for names, 10% for prices at 600px */
    .performer-symbol {
        flex: 1 1 90% !important;
        max-width: 90% !important;
    }
    
    .performer-price {
        flex: 0 0 10% !important;
        max-width: 10% !important;
        font-size: 0.7rem !important;
    }
    
    .performer-symbol .name {
        max-width: none !important;
        font-size: 0.65rem;
    }
    
    .performer-symbol .symbol {
        font-size: 0.75rem;
    }
}

/* ULTRA-SPECIFIC 500px BREAKPOINT: MAXIMUM LOGO PRESERVATION */
@media (max-width: 500px) and (min-width: 401px) {
    .top-performers-card {
        padding: 0.7rem;
    }
    
    /* ULTIMATE NUCLEAR: Target exact JS structure + ALL possible logo classes for 500px */
    #top-gainers-list img[src*="crypto-32-icon"],
    #top-losers-list img[src*="crypto-32-icon"],
    .performers-list img[src*="crypto-32-icon"],
    .performer-item img[src*="crypto-32-icon"],
    .symbol-container img[src*="crypto-32-icon"],
    div.performer-item div.performer-main div.performer-symbol div.symbol-container img.crypto-logo,
    div.performer-item div.symbol-container img.crypto-logo,
    div.symbol-container img.crypto-logo,
    img.crypto-logo[src*="crypto-32-icon"],
    html body .top-performers-card .crypto-logo,
    html body .performers-list .crypto-logo,
    html body .performer-item .crypto-logo,
    html body .symbol-container .crypto-logo,
    html body .top-performers-card .performer-icon,
    html body .performers-list .performer-icon,
    html body .performer-item .performer-icon,
    html body .symbol-container .performer-icon,
    html body #top-gainers-list .crypto-logo,
    html body #top-losers-list .crypto-logo,
    html body #top-gainers-list .performer-icon,
    html body #top-losers-list .performer-icon,
    .top-performers-card .crypto-logo,
    .performers-list .crypto-logo,
    .performer-item .crypto-logo,
    .symbol-container .crypto-logo,
    .top-performers-card .performer-icon,
    .performers-list .performer-icon,
    .performer-item .performer-icon,
    .symbol-container .performer-icon,
    .crypto-logo,
    .performer-icon {
        width: 14px !important;
        height: 14px !important;
        min-width: 14px !important;
        max-width: 14px !important;
        min-height: 14px !important;
        max-height: 14px !important;
        aspect-ratio: 1 / 1 !important;
        object-fit: contain !important;
        flex-shrink: 0 !important;
        flex-grow: 0 !important;
        border-radius: 50% !important;
        box-sizing: border-box !important;
        display: block !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    /* ULTIMATE: 95% for names, 5% for prices at 500px - TARGET EXACT JS STRUCTURE */
    div.performer-item div.performer-main,
    .performer-main {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100% !important;
    }
    
    div.performer-item div.performer-main div.performer-symbol,
    .performer-symbol,
    .performer-info {
        flex: 1 1 95% !important;
        max-width: 95% !important;
        min-width: 0 !important;
        overflow: hidden !important;
    }
    
    div.performer-item div.performer-main div.performer-price,
    .performer-price,
    .performer-change {
        flex: 0 0 5% !important;
        max-width: 5% !important;
        font-size: 0.55rem !important;
        text-align: right !important;
        min-width: fit-content !important;
    }
    
    div.performer-symbol div.name,
    .performer-symbol .name {
        max-width: none !important;
        font-size: 0.55rem;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    
    div.symbol-container div.symbol,
    .performer-symbol .symbol {
        font-size: 0.65rem;
    }
}

@media (max-width: 600px) and (min-width: 501px) {
    .top-performers-card {
        padding: 0.8rem;
    }
    
    /* NUCLEAR: Logo preservation at 600px - TARGET BOTH CLASSES */
    html body .top-performers-card .crypto-logo,
    html body .performers-list .crypto-logo,
    html body .performer-item .crypto-logo,
    html body .symbol-container .crypto-logo,
    html body .top-performers-card .performer-icon,
    html body .performers-list .performer-icon,
    html body .performer-item .performer-icon,
    html body .symbol-container .performer-icon,
    .top-performers-card .crypto-logo,
    .performers-list .crypto-logo,
    .performer-item .crypto-logo,
    .symbol-container .crypto-logo,
    .top-performers-card .performer-icon,
    .performers-list .performer-icon,
    .performer-item .performer-icon,
    .symbol-container .performer-icon,
    .crypto-logo,
    .performer-icon {
        width: 15px !important;
        height: 15px !important;
        min-width: 15px !important;
        max-width: 15px !important;
        min-height: 15px !important;
        max-height: 15px !important;
        aspect-ratio: 1 / 1 !important;
        object-fit: contain !important;
        flex-shrink: 0 !important;
        flex-grow: 0 !important;
        border-radius: 50% !important;
        box-sizing: border-box !important;
    }
    
    /* MAXIMUM: 92% for names, 8% for prices at 600px */
    .performer-symbol {
        flex: 1 1 92% !important;
        max-width: 92% !important;
    }
    
    .performer-price {
        flex: 0 0 8% !important;
        max-width: 8% !important;
        font-size: 0.65rem !important;
    }
    
    .performer-symbol .name {
        max-width: none !important;
        font-size: 0.6rem;
    }
    
    .performer-symbol .symbol {
        font-size: 0.7rem;
    }
}

@media (max-width: 768px) {
    .top-performers-card {
        padding: 1rem;
    }
    
    .section-header {
        padding: 0.5rem 0.7rem;
        margin-bottom: 0.7rem;
    }
    
    .section-title-container {
        gap: 0.4rem;
    }
    
    .section-icon {
        width: 18px;
        height: 18px;
        font-size: 0.65rem;
    }
    
    .section-title {
        font-size: 0.85rem;
    }
    
    .section-subtitle {
        font-size: 0.65rem;
    }
    
    .section-count {
        font-size: 0.65rem;
        padding: 0.2rem 0.4rem;
    }
    
    .performer-symbol .name {
        max-width: none !important; /* Remove all width restrictions below 768px */
    }
    
    .symbol-container {
        gap: 0.3rem;
    }
    
    /* NUCLEAR: Logo sizing with absolute preservation for mobile */
    html body .top-performers-card .crypto-logo,
    html body .performers-list .crypto-logo,
    html body .performer-item .crypto-logo,
    html body .symbol-container .crypto-logo,
    .top-performers-card .crypto-logo,
    .performers-list .crypto-logo,
    .performer-item .crypto-logo,
    .symbol-container .crypto-logo,
    .crypto-logo {
        width: 14px !important;
        height: 14px !important;
        min-width: 14px !important;
        max-width: 14px !important;
        min-height: 14px !important;
        max-height: 14px !important;
        aspect-ratio: 1 / 1 !important;
        object-fit: contain !important;
        flex-shrink: 0 !important;
        flex-grow: 0 !important;
        border-radius: 50% !important;
        box-sizing: border-box !important;
    }
    
    .performer-item {
        padding: 0.5rem;
        margin-bottom: 0.4rem;
    }
    
    /* EXTREME: Space allocation for mobile 768px */
    .performer-symbol {
        flex: 1 1 90% !important;
        max-width: 90% !important;
    }
    
    .performer-price {
        flex: 0 0 10% !important;
        max-width: 10% !important;
        font-size: 0.65rem !important;
    }
}

/* ULTIMATE 400px BREAKPOINT: LAST RESORT FOR LOGO PRESERVATION */
@media (max-width: 400px) {
    .top-performers-card {
        padding: 0.6rem;
    }
    
    /* FINAL NUCLEAR OPTION: All possible selectors for logos */
    html body .top-performers-card img,
    html body .performers-list img,
    html body .performer-item img,
    html body .symbol-container img,
    html body .top-performers-card .crypto-logo,
    html body .performers-list .crypto-logo,
    html body .performer-item .crypto-logo,
    html body .symbol-container .crypto-logo,
    html body .top-performers-card .performer-icon,
    html body .performers-list .performer-icon,
    html body .performer-item .performer-icon,
    html body .symbol-container .performer-icon,
    html body #top-gainers-list img,
    html body #top-losers-list img,
    html body #top-gainers-list .crypto-logo,
    html body #top-losers-list .crypto-logo,
    html body #top-gainers-list .performer-icon,
    html body #top-losers-list .performer-icon,
    .top-performers-card img,
    .performers-list img,
    .performer-item img,
    .symbol-container img,
    .crypto-logo,
    .performer-icon,
    img.crypto-logo,
    img.performer-icon {
        width: 12px !important;
        height: 12px !important;
        min-width: 12px !important;
        max-width: 12px !important;
        min-height: 12px !important;
        max-height: 12px !important;
        aspect-ratio: 1 / 1 !important;
        object-fit: contain !important;
        flex-shrink: 0 !important;
        flex-grow: 0 !important;
        border-radius: 50% !important;
        box-sizing: border-box !important;
        display: block !important;
        padding: 0 !important;
        margin: 0 !important;
        transform: none !important;
    }
    
    /* ULTIMATE: 96% for names, 4% for prices at 400px */
    .performer-main,
    .performer-info {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100% !important;
        gap: 0.2rem !important;
    }
    
    .performer-symbol,
    .performer-info > *:first-child {
        flex: 1 1 96% !important;
        max-width: 96% !important;
        min-width: 0 !important;
        overflow: hidden !important;
    }
    
    .performer-price,
    .performer-change,
    .performer-info > *:last-child {
        flex: 0 0 4% !important;
        max-width: 4% !important;
        font-size: 0.5rem !important;
        text-align: right !important;
        min-width: fit-content !important;
    }
    
    .performer-symbol .name {
        max-width: none !important;
        font-size: 0.5rem !important;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    
    .performer-symbol .symbol {
        font-size: 0.6rem !important;
    }
}

@media (max-width: 480px) and (min-width: 401px) {
    .section-header {
        padding: 0.4rem 0.6rem;
        margin-bottom: 0.6rem;
    }
    
    .section-title-container {
        gap: 0.3rem;
    }
    
    .section-icon {
        width: 16px;
        height: 16px;
        font-size: 0.6rem;
    }
    
    .section-title {
        font-size: 0.8rem;
    }
    
    .section-subtitle {
        font-size: 0.6rem;
    }
    
    .section-count {
        font-size: 0.6rem;
        padding: 0.15rem 0.35rem;
    }
    
    .performer-item {
        padding: 0.4rem;
    }
    
    .symbol-container {
        gap: 0.25rem;
    }
    
    /* NUCLEAR: Logo sizing with absolute preservation for small mobile */
    html body .top-performers-card .crypto-logo,
    html body .performers-list .crypto-logo,
    html body .performer-item .crypto-logo,
    html body .symbol-container .crypto-logo,
    .top-performers-card .crypto-logo,
    .performers-list .crypto-logo,
    .performer-item .crypto-logo,
    .symbol-container .crypto-logo,
    .crypto-logo {
        width: 13px !important;
        height: 13px !important;
        min-width: 13px !important;
        max-width: 13px !important;
        min-height: 13px !important;
        max-height: 13px !important;
        aspect-ratio: 1 / 1 !important;
        object-fit: contain !important;
        flex-shrink: 0 !important;
        flex-grow: 0 !important;
        border-radius: 50% !important;
        box-sizing: border-box !important;
    }
    
    .performer-symbol .symbol {
        font-size: 0.8rem;
    }
    
    .performer-symbol .name {
        font-size: 0.65rem;
        max-width: none !important; /* Remove all width restrictions for small mobile */
    }
    
    .performer-price .price {
        font-size: 0.75rem;
    }
    
    .performer-price .change {
        font-size: 0.7rem;
        padding: 0.1rem 0.25rem;
    }
    
    .performer-details .volume .value,
    .performer-details .volume .label {
        font-size: 0.6rem;
    }
    
    .performer-main {
        gap: 0.4rem;
        margin-bottom: 0.25rem;
    }
    
    /* MAXIMUM: Space allocation for very small mobile */
    .performer-symbol {
        flex: 1 1 93% !important; /* MAXIMUM space for name on very small screens */
        max-width: 93% !important;
    }
    
    .performer-price {
        flex: 0 0 7% !important; /* MINIMAL space for price on very small screens */
        max-width: 7% !important;
        font-size: 0.6rem !important;
    }
}