/**
 * Hitz360 Top 100 / Hall of Fame chart styles
 */
.top100-widget {
    box-sizing: border-box;
    width: 100%;
    max-width: 940px !important;
    margin: 0 auto;
    color: #05070d;
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Arial, sans-serif;
}

.h360-top100-page {
    width: min(1168px, calc(100% - 48px));
    max-width: none;
    margin: 0 auto;
    padding-top: 36px;
    padding-bottom: 70px;
}
.h360-top100-page + .main-footer { margin-top: 60px; }

@media (max-width: 600px) {
    .h360-top100-page {
        width: calc(100% - 32px);
        padding-top: 22px;
        padding-bottom: 45px;
    }
}

.top100-widget *,
.top100-widget *::before,
.top100-widget *::after {
    box-sizing: border-box;
}

.top100-nav {
    min-height: 34px;
    margin-bottom: 22px;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.top100-nav-link {
    color: #000;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 9px;
}

.top100-nav-link:hover,
.top100-nav-link:focus {
    color: #008000;
}

.top100-nav-link--hall {
    float: right;
}

.top100-frame {
    position: relative;
    border: 1px solid #111;
    padding: 74px 24px 44px;
    background: #fff;
}

.top100-heading-wrap {
    position: relative;
    text-align: center;
    margin-bottom: 42px;
}

.top100-header {
    position: absolute;
    top: -112px;
    left: 50%;
    transform: translateX(-50%);
    display: inline-block;
    margin: 0 !important;
    padding: 0 22px 6px;
    background: #fff;
    color: #000;
    font-size: clamp(34px, 5.2vw, 58px);
    font-weight: 950;
    line-height: .95;
    letter-spacing: 0 !important;
    text-align: center;
    text-transform: uppercase;
    max-width: min(100%, calc(100vw - 48px)) !important;
    white-space: normal !important;
    text-wrap: balance;
}

.top100-header::after {
    content: '';
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 0;
    height: 11px;
    background: repeating-linear-gradient(135deg, #111 0, #111 1px, transparent 1px, transparent 4px);
    opacity: .8;
    z-index: -1;
}

.top100-seo-intro {
    max-width: 680px;
    margin: 0 auto 20px;
    color: #343b49;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.55;
    text-align: center;
}

.top100-datebar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    min-height: 30px;
    font-size: 16px;
    color: #000;
}

.top100-week-prev {
    color: #000;
    font-size: 28px;
    line-height: 1;
    text-decoration: none;
}

.top100-week-prev:hover,
.top100-week-prev:focus {
    color: #008000;
}

.top100-week-form {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin: 0;
}

.top100-week-form label {
    font-weight: 500;
}

.top100-week-form input[type='date'] {
    width: 138px;
    height: 38px;
    border: 0;
    border-bottom: 2px dotted #000;
    border-radius: 0;
    padding: 0 0 2px;
    background: transparent;
    color: #000;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

.top100-weeks-label {
    position: absolute;
    right: 4px;
    bottom: -54px;
    font-size: 8px;
    font-weight: 800;
    text-transform: uppercase;
}

.top100-hall-intro {
    max-width: 520px;
    margin: 0 auto;
    color: #404756;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
}

.top100-list,
.entry-content .top100-list,
.post-content .top100-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.top100-song,
.entry-content .top100-song,
.post-content .top100-song {
    list-style: none !important;
    margin: 0 0 32px;
    padding-left: 0 !important;
}

.top100-song-card {
    display: block;
    margin: 0;
}

.top100-song-link,
.entry-content .top100-song-link,
.post-content .top100-song-link {
    display: grid !important;
    grid-template-columns: 34px 52px 176px minmax(0, 1fr) 118px;
    align-items: center;
    gap: 16px;
    min-height: 218px;
    padding: 20px 28px;
    overflow: visible !important;
    background: #f6f7fc;
    color: #05070d;
    text-decoration: none !important;
    transition: transform .16s ease, box-shadow .16s ease, background-color .16s ease;
}

.top100-song-link:hover,
.top100-song-link:focus {
    transform: translateY(-2px);
    background: #f9fafc;
    box-shadow: 0 18px 38px rgba(0, 0, 0, .08);
    color: #05070d;
}

.top100-trend {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 24px;
    color: #4b4f58;
    font-size: 24px;
    font-weight: 950;
    line-height: 1;
}

.top100-song--up .top100-trend {
    color: #159447;
}

.top100-song--down .top100-trend {
    color: #ff3030;
}

.top100-song--new .top100-trend {
    color: #dc143c;
}

.top100-rank {
    color: #000;
    font-size: 31px;
    font-weight: 950;
    text-align: center;
    line-height: 1;
}

.top100-cover-wrap {
    position: relative;
    margin: 0;
    display: block;
    width: 176px;
    height: 176px;
}

.top100-cover-wrap::after {
    content: '';
    position: absolute;
    left: 20px;
    right: 0;
    bottom: -7px;
    height: 10px;
    background: repeating-linear-gradient(135deg, #111 0, #111 1px, transparent 1px, transparent 4px);
    opacity: .8;
    z-index: 0;
}

.top100-cover,
.entry-content .top100-cover,
.post-content .top100-cover {
    position: relative;
    z-index: 1;
    display: block;
    width: 176px !important;
    height: 176px !important;
    max-width: none !important;
    aspect-ratio: 1 / 1;
    object-fit: cover !important;
    border-radius: 0;
    background: #e8ebf3;
}

.top100-meta {
    display: block;
    min-width: 0;
}

.top100-song-title {
    display: block;
    margin: 0;
    color: #202633;
    font-size: 21px;
    font-weight: 900;
    line-height: 1.18;
}

.top100-song-artist {
    display: block;
    margin: 3px 0 0;
    color: #05070d;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.25;
}

.top100-weeks {
    justify-self: end;
    margin: 0;
    color: #000;
    font-size: 15px;
    font-weight: 500;
    max-width: calc(100vw - 48px);
    white-space: nowrap;
}

.top100-weeks data {
    color: inherit;
    font: inherit;
}

.top100-widget--hall .top100-song-link {
    grid-template-columns: 52px 176px minmax(0, 1fr);
    max-width: 732px;
    margin-left: auto;
    margin-right: auto;
}

.top100-widget--hall .top100-trend,
.top100-widget--hall .top100-weeks {
    display: none;
}

.no-songs {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.no-songs-icon {
    font-size: 60px;
    margin-bottom: 18px;
}

.no-songs-text {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 8px;
}

.no-songs-subtext {
    font-size: 14px;
    color: #777;
}

@media (max-width: 860px) {
    .top100-widget {
        padding: 0 12px;
    }

    .top100-frame {
        padding: 58px 18px 32px;
    }

    .top100-header {
        top: -88px;
        font-size: clamp(28px, 8vw, 42px);
    }

    .top100-song-link,
    .entry-content .top100-song-link,
    .post-content .top100-song-link,
    .top100-widget--hall .top100-song-link {
        grid-template-columns: 28px 42px 112px minmax(0, 1fr);
        gap: 12px;
        min-height: 146px;
        padding: 16px;
    }

    .top100-widget--hall .top100-song-link {
        grid-template-columns: 42px 112px minmax(0, 1fr);
    }

    .top100-cover-wrap,
    .top100-cover,
    .entry-content .top100-cover,
    .post-content .top100-cover {
        width: 112px !important;
        height: 112px !important;
    }

    .top100-weeks {
        grid-column: 4;
        justify-self: start;
        margin-top: 4px;
        font-size: 12px;
    }

    .top100-song-title {
        font-size: 18px;
    }

    .top100-song-artist {
        font-size: 15px;
    }

    .top100-rank {
        font-size: 25px;
    }

    .top100-trend {
        font-size: 20px;
    }
}

@media (max-width: 560px) {
    .top100-nav {
        margin-bottom: 36px;
    }

    .top100-frame {
        padding: 46px 10px 22px;
    }

    .top100-header {
        top: -66px;
        width: max-content;
        max-width: calc(100% - 10px) !important;
        padding-left: 6px;
        padding-right: 6px;
        font-size: clamp(21px, 6.5vw, 28px) !important;
        line-height: 1 !important;
    }

    .top100-datebar {
        gap: 10px;
        font-size: 14px;
    }

    .top100-week-form {
        gap: 5px;
    }

    .top100-week-form input[type='date'] {
        width: 128px;
    }

    .top100-weeks-label {
        display: none;
    }

    .top100-song {
        margin-bottom: 18px;
    }

    .top100-song-link,
    .entry-content .top100-song-link,
    .post-content .top100-song-link,
    .top100-widget--hall .top100-song-link {
        grid-template-columns: 22px 34px 82px minmax(0, 1fr);
        min-height: 112px;
        gap: 8px;
        padding: 12px 10px;
    }

    .top100-widget--hall .top100-song-link {
        grid-template-columns: 34px 82px minmax(0, 1fr);
    }

    .top100-cover-wrap,
    .top100-cover,
    .entry-content .top100-cover,
    .post-content .top100-cover {
        width: 82px !important;
        height: 82px !important;
    }

    .top100-cover-wrap::after {
        left: 12px;
        bottom: -6px;
    }

    .top100-rank {
        font-size: 22px;
    }

    .top100-trend {
        width: 20px;
        font-size: 16px;
    }

    .top100-song-title {
        font-size: 15px;
    }

    .top100-song-artist {
        font-size: 13px;
    }

    .top100-weeks {
        grid-column: 4;
        font-size: 11px;
    }
}
