/* ==========================================================================
   KNR POP MUSIC CHARTS (10 TANGGA LAGU TERPOPULER)
   Clean, Fresh, White-Dominant Style Tailored to Theme Popnews
   ========================================================================== */

.knr-pop-charts-widget-wrap.is-clean-theme {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #FFFFFF;
    border: 1px solid var(--pop-border, #E2E8F0);
    border-radius: 18px;
    padding: 22px 20px;
    color: #0F172A;
    box-shadow: 0 4px 24px -4px rgba(15, 23, 42, 0.06);
    position: relative;
    box-sizing: border-box;
    margin-bottom: 24px;
}

/* Header */
.knr-chart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 14px;
    border-bottom: 1px solid #F1F5F9;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.knr-chart-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.knr-chart-badge-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, #7C3AED 0%, #EC0067 100%);
    display: grid;
    place-items: center;
    color: #FFFFFF;
    font-size: 22px;
    box-shadow: 0 6px 16px rgba(124, 58, 237, 0.28);
    flex-shrink: 0;
}

.knr-chart-badge-edition {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #F3E8FF;
    border: 1px solid #E9D5FF;
    color: #7C3AED;
    padding: 3px 9px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    margin-bottom: 0;
}

.knr-chart-live-dot {
    width: 6px;
    height: 6px;
    background: #7C3AED;
    border-radius: 50%;
}

.knr-chart-title {
    margin: 0;
    font-family: var(--pop-font-display, 'Outfit', sans-serif);
    font-size: 18px;
    font-weight: 800;
    color: #0F172A;
    line-height: 1.25;
    letter-spacing: -0.3px;
}

.knr-chart-subtitle {
    margin: 2px 0 0;
    font-size: 11.5px;
    color: #64748B;
    font-weight: 500;
}

.knr-chart-header-right {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.knr-chart-tag-auto {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #059669;
    background: #ECFDF5;
    border: 1px solid #A7F3D0;
    padding: 3.5px 9px;
    border-radius: 7px;
    font-size: 10.5px;
    font-weight: 700;
}

/* Songs List */
.knr-chart-songs-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* Individual Song Row Item */
.knr-chart-song-row {
    background: #FFFFFF;
    border: 1px solid transparent;
    border-bottom: 1px solid #F1F5F9;
    border-radius: 10px;
    padding: 9px 8px;
    display: flex;
    align-items: center;
    gap: 11px;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    box-sizing: border-box;
}

.knr-chart-song-row:last-child {
    border-bottom: 1px solid transparent;
}

.knr-chart-song-row:hover {
    background: #F8FAFC;
    border-color: #E2E8F0;
    transform: translateX(3px);
}

/* Rank Column */
.knr-chart-rank-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 32px;
    flex-shrink: 0;
}

.knr-chart-rank-num {
    font-family: var(--pop-font-display, 'Outfit', sans-serif);
    font-size: 18px;
    font-weight: 800;
    line-height: 1;
    color: #64748B;
    display: flex;
    align-items: center;
    gap: 2px;
}

/* Podium Rank Accents */
.knr-chart-song-row.rank-1 .knr-chart-rank-num {
    color: #D97706;
}
.knr-crown-icon {
    font-size: 13px;
    color: #F59E0B;
}

.knr-chart-song-row.rank-2 .knr-chart-rank-num {
    color: #7C3AED;
}
.knr-chart-song-row.rank-3 .knr-chart-rank-num {
    color: #EA580C;
}

.knr-chart-trend-badge {
    font-size: 8.5px;
    font-weight: 800;
    margin-top: 3px;
    letter-spacing: 0.2px;
    padding: 1.5px 4px;
    border-radius: 4px;
    line-height: 1;
}
.knr-chart-trend-badge.trend-up {
    color: #059669;
    background: #ECFDF5;
}
.knr-chart-trend-badge.trend-down {
    color: #E11D48;
    background: #FFF1F2;
}
.knr-chart-trend-badge.trend-new {
    color: #D97706;
    background: #FEF3C7;
}
.knr-chart-trend-badge.trend-stable {
    color: #64748B;
    background: #F1F5F9;
}

/* Cover Visual (Static Display, No Play Button) */
.knr-chart-cover-box {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.06);
    background: #F8FAFC;
}

.knr-chart-cover-visual {
    width: 100%;
    height: 100%;
}

.knr-chart-cover-svg {
    display: block;
    width: 100%;
    height: 100%;
}

/* Song Meta */
.knr-chart-info-col {
    flex: 1;
    min-width: 0;
}

.knr-chart-title-row {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 2px;
}

.knr-chart-song-title {
    margin: 0;
    font-size: 13.5px;
    font-weight: 800;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.knr-chart-song-title a {
    color: #0F172A;
    text-decoration: none;
    transition: color 0.2s ease;
}
.knr-chart-song-title a:hover {
    color: #7C3AED;
}

.knr-chart-genre-pill {
    background: #F1F5F9;
    color: #64748B;
    font-size: 9px;
    font-weight: 700;
    padding: 1px 5px;
    border-radius: 4px;
    white-space: nowrap;
}

.knr-chart-artist-row {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    color: #64748B;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.knr-chart-artist-name {
    font-weight: 600;
    color: #334155;
}

.knr-chart-stats-bullet {
    color: #CBD5E1;
}

.knr-chart-streams-info i {
    color: #F59E0B;
}

/* Action: Spotify link */
.knr-chart-action-col {
    flex-shrink: 0;
}

.knr-chart-spotify-link {
    color: #94A3B8;
    font-size: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    text-decoration: none;
}
.knr-chart-spotify-link:hover {
    color: #1DB954; /* Official Spotify green */
    transform: scale(1.15);
}

/* Footer */
.knr-chart-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 13px;
    margin-top: 13px;
    border-top: 1px solid #F1F5F9;
    flex-wrap: wrap;
}

.knr-chart-footer-info {
    font-size: 11px;
    color: #64748B;
    display: flex;
    align-items: center;
    gap: 5px;
}
.knr-chart-footer-info i {
    color: #7C3AED;
    font-size: 13px;
}

.knr-chart-more-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #7C3AED;
    font-size: 11.5px;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s ease;
}
.knr-chart-more-link:hover {
    color: #EC0067;
}
