.mcj-top10-wrapper {
    color: #fff;
    padding-bottom: 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
.mcj-top-header {
    padding: 0 0 1rem 0;
}
.mcj-top-header h4 {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0;
}
.mcj-top-header .subtitle {
    font-size: 0.85rem;
    color: #aaa;
    letter-spacing: 1px;
}
.mcj-week-badge {
    background: #1a1a1a;
    color: #888;
    font-size: 0.75rem;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
}

/* Base Card Style */
.mcj-song-card {
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    margin-bottom: 0.35rem;
    display: flex !important;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none !important;
    color: inherit;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.4);
}

.mcj-song-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.6);
}

/* Card Specific Themes (Background Gradients & Borders) */
.mcj-song-card.card-gold {
    background: linear-gradient(180deg, #f7d070 0%, #c59733 100%);
    border: 1px solid #ffd700;
    box-shadow: inset 0 1px 1px rgba(255,255,255,0.6), 0 4px 6px rgba(0,0,0,0.5);
}
.mcj-song-card.card-silver {
    background: linear-gradient(180deg, #f0f0f0 0%, #999999 100%);
    border: 1px solid #ffffff;
    box-shadow: inset 0 1px 1px rgba(255,255,255,0.8), 0 4px 6px rgba(0,0,0,0.5);
}
.mcj-song-card.card-bronze {
    background: linear-gradient(180deg, #d38b50 0%, #905120 100%);
    border: 1px solid #ffa366;
    box-shadow: inset 0 1px 1px rgba(255,255,255,0.4), 0 4px 6px rgba(0,0,0,0.5);
}
.mcj-song-card.card-normal {
    background: linear-gradient(180deg, #333333 0%, #1a1a1a 100%);
    border: 1px solid #4d4d4d;
    box-shadow: inset 0 1px 1px rgba(255,255,255,0.1), 0 4px 6px rgba(0,0,0,0.5);
}

/* Rank Numbers */
.mcj-rank {
    font-size: 3.2rem;
    font-weight: 900;
    width: 45px;
    text-align: center;
    flex-shrink: 0;
    line-height: 1;
    font-family: "Impact", "Arial Black", sans-serif;
    text-shadow: 2px 4px 5px rgba(0,0,0,0.7);
}

/* Rank Colors */
.card-gold .mcj-rank { color: #fdf5ca; }
.card-silver .mcj-rank { color: #fbfbfb; }
.card-bronze .mcj-rank { color: #ffcc99; }
.card-normal .mcj-rank { color: #b3b3b3; text-shadow: 1px 2px 3px rgba(0,0,0,0.8); }

/* Thumbnails (16:9 ratio) */
.mcj-thumb {
    width: 72px;
    height: 48px;
    border-radius: 4px;
    background: #000;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    /* overflow: hidden; removed to allow vinyl to slide out */
    box-shadow: inset 0 0 4px rgba(0,0,0,0.8), 0 2px 4px rgba(0,0,0,0.3);
}
.mcj-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 2;
    border-radius: 4px;
}
.mcj-thumb .placeholder {
    font-size: 1.5rem;
    color: #555;
    position: relative;
    z-index: 2;
}
.mcj-thumb .yt-badge {
    position: absolute;
    bottom: 2px;
    right: 2px;
    background: rgba(255, 0, 0, 0.8);
    color: white;
    font-size: 0.65rem;
    padding: 1px 3px;
    border-radius: 3px;
}

/* Title and Artist stacked */
.mcj-song-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.mcj-song-title {
    font-weight: 700;
    font-size: 1.05rem;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    margin-bottom: -2px;
}
.mcj-song-artist {
    font-size: 0.8rem;
    color: #e0e0e0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 500;
}
.card-normal .mcj-song-title { text-shadow: none; }
.card-normal .mcj-song-artist { color: #999; }

/* Overlay Play Button */
.mcj-mod-play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.75);
    border-radius: 50%;
    color: white;
    transition: 0.2s;
    opacity: 0.8;
    z-index: 3;
}
.mcj-song-card:hover .mcj-mod-play-overlay {
    opacity: 1;
    background: var(--mcj-purple, #6f42c1);
}
.mcj-mod-play-overlay i {
    font-size: 11px;
    margin-left: 2px;
}

@keyframes mcj-glow-multicolor { 0% { box-shadow: 0 0 12px #ff0000, inset 0 0 5px #ff0000; border-color: #ff0000; } 16% { box-shadow: 0 0 12px #ff7f00, inset 0 0 5px #ff7f00; border-color: #ff7f00; } 33% { box-shadow: 0 0 12px #ffff00, inset 0 0 5px #ffff00; border-color: #ffff00; } 50% { box-shadow: 0 0 12px #00ff00, inset 0 0 5px #00ff00; border-color: #00ff00; } 66% { box-shadow: 0 0 12px #0000ff, inset 0 0 5px #0000ff; border-color: #0000ff; } 83% { box-shadow: 0 0 12px #4b0082, inset 0 0 5px #4b0082; border-color: #4b0082; } 100% { box-shadow: 0 0 12px #ff0000, inset 0 0 5px #ff0000; border-color: #ff0000; } }
.mcj-song-card.is-playing { animation: mcj-glow-multicolor 3s infinite linear !important; z-index: 10; position: relative; }

/* Vinyl Record Effect */
.mcj-thumb::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cdefs%3E%3CclipPath id='c'%3E%3Ccircle cx='50' cy='50' r='50'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg clip-path='url(%23c)'%3E%3Ccircle cx='50' cy='50' r='50' fill='%231a1a1a'/%3E%3Ccircle cx='50' cy='50' r='45' fill='none' stroke='%232c2c2c' stroke-width='2'/%3E%3Ccircle cx='50' cy='50' r='38' fill='none' stroke='%23242424' stroke-width='2'/%3E%3Ccircle cx='50' cy='50' r='31' fill='none' stroke='%232c2c2c' stroke-width='2'/%3E%3Ccircle cx='50' cy='50' r='24' fill='none' stroke='%23242424' stroke-width='2'/%3E%3Cpolygon points='50,50 20,0 50,0' fill='%23fff' opacity='0.15'/%3E%3Cpolygon points='50,50 80,100 50,100' fill='%23fff' opacity='0.15'/%3E%3Cpolygon points='50,50 0,70 0,40' fill='%23fff' opacity='0.05'/%3E%3Cpolygon points='50,50 100,30 100,60' fill='%23fff' opacity='0.05'/%3E%3Ccircle cx='50' cy='50' r='18' fill='%23ff0055'/%3E%3Ccircle cx='50' cy='50' r='14' fill='none' stroke='%23cc0044' stroke-width='1'/%3E%3Ccircle cx='50' cy='50' r='4' fill='%23ececec'/%3E%3C/g%3E%3C/svg%3E");
    background-size: cover;
    box-shadow: 0 0 6px rgba(0,0,0,0.8);
    z-index: 1;
    opacity: 0;
    transition: left 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease;
    transform: translate(-50%, -50%) rotate(0deg);
}
.mcj-song-card.is-playing .mcj-thumb::before {
    left: calc(100% - 6px);
    opacity: 1;
    animation: mcj-spin-vinyl 2s linear infinite;
}
@keyframes mcj-spin-vinyl {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

