.bg-img{
    background-size: cover;
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: -3;
    -webkit-mask-image: linear-gradient(black 0%, transparent 10%);
    mask-image: linear-gradient(black 0%, transparent 10%);
}

main.work-page{
    backdrop-filter: blur(100px) saturate(160%);
}

.main-content{
    padding-top: 0;
    padding-bottom: 2.5rem;
    gap: 1.5rem;
}

.top-info{
    padding: 5% 5% 2rem 5%;
    gap: 0 3%;
    align-items: flex-end;
}

.top-info .work-cover{
    width: 33%;
    aspect-ratio: 1 / 1;
    box-shadow: 0px 0px 23px -6px var(--Dark-gray);
}

.top-info.playlist .rectangle-overlay .overlay-title{
    font-size: small;
}

.top-info.playlist .rectangle-overlay .overlay-artist{
    font-size: x-large;
}

.top-info .cover:hover img{
    opacity: 1;
}

.top-info .work-cover, .top-info .work-cover img{
    border-radius: 15px;
}

.top-info .right-side{
    width: 67%;
    align-items: flex-start;
    justify-content: flex-end;
    padding-bottom: 4%;
}

.top-info .right-side .info{
    align-items: flex-start;
    margin-bottom: 3rem;
    line-break: auto;
}

.top-info.playlist .right-side .info{
    margin-bottom: 0;
}

.top-info .right-side .info .work-title{
    color: var(--Purple);
    font-size: xxx-large;
    font-weight: 900;
    line-height: 0.8;
}

.top-info .right-side .info .work-artist{
    color: var(--Purple);
    font-size: x-large;
    margin-bottom: 0.7rem;
}

.top-info .right-side .info .work-others{
    text-transform: uppercase;
    font-weight: 700;
    color: var(--Dark-gray);
}

.top-info .right-side .info .work-others{
    font-weight: 600;
    color: var(--Dark-gray);
}

.top-info .right-side .buttons{
    gap: 1rem;
    flex-wrap: wrap;
}

.work-button{
    border-radius: 6px;
    gap: 0 5px;
    padding: 0.25rem 1rem;
    font-weight: 600;
    width: auto;
}

.tracklist .sub-header{
    gap: 0 3%;
    height: 6rem;
    overflow: hidden;
    align-items: flex-start;
}

.tracklist .sub-header .other-images-wrapper{
    width: 33%;
    height: 6rem;
}

.tracklist .sub-header .other-images{
    width: 100%;
    overflow: scroll;
    -webkit-mask-image: linear-gradient(to right, black 46%, transparent 102%);
    mask-image: linear-gradient(to right, black 46%, transparent 102%);
}

.tracklist .sub-header .other-images .wrapper{
    height: 5rem;
    gap: 0 1rem;
    min-width: 100%;
    width: max-content;
    justify-content: center;
    align-items: center;
}

.tracklist .sub-header .other-images .other-image{
    height: 5rem;
    width: auto;
    display: flex;
}

.tracklist .sub-header .other-images-wrapper .arrows{
    justify-content: space-between;
}

.tracklist .sub-header .other-images-wrapper .arrows > *{
    width: auto;
}

.icon-right{
    color: var(--Purple);
    background-color: var(--White);
}

.tracklist .right-side{
    width: 67%;
    gap: 0 3%;
}

.tracklist.playlist .right-side{
    width: 100%;
}

.tracklist .sub-header .compact-about{
    width: calc(100% - calc(6rem + 3%));
    overflow: scroll;
    height: 6rem;
    align-items: flex-start;
    text-align: justify;
    line-height: 1;
    color: var(--Dark-gray);
}

.tracklist.playlist .sub-header .compact-about, .tracklist.playlist .sub-header{
    max-height: 2.5rem;
    height: auto;
}

.tracklist .sub-header .compact-about.about-single{
    width: 100%;
}

.tracklist .sub-header .metacritic{
    width: 6rem;
    height: 6rem;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: var(--White);
    font-weight: 800;
    font-size: xx-large;
}

.tracklist-table{
    width: 100%;
    border: none;
    border-spacing: 0;
    border-collapse: collapse;
}

.tracklist-table thead{
    text-align: left;
}

.tracklist-table thead th{
    border-bottom: 0.1rem solid var(--Off-white);
    padding-bottom: 0.2rem;
    font-size: 12px;
}

.tracklist-table tbody tr td {
    padding: 0.5rem 0;
}

.tracklist-table .pos, .tracklist-table .play-button {
    width: 3%;
    text-align: center;
}

.tracklist-table tbody .play-button{
    display: none;
    color: var(--Purple);
    font-size: x-large;
}

.tracklist-table .str {
    width: 11%;
}

.tracklist-table .tit {
    width: 61%;
}

.tracklist.playlist .tracklist-table .tit {
    width: 48%;
}

.tracklist-table .typ {
    width: 25%;
}

.tracklist.playlist .tracklist-table .typ {
    width: 15%;
}

.tracklist.playlist .tracklist-table .alb {
    width: 20%;
}

.tracklist-table .cov {
    width: 3%;
}

.tracklist-table .cov div{
    width: 3.5rem;
    border-radius: 0;
    padding: 0.2rem 0.5rem 0rem 0.5rem;
}

.tracklist-table .cov div img{
    border-radius: 5px;
}

.tracklist-table tbody .title{
    line-height: 1.2;
    -webkit-line-clamp: 1;
    line-clamp: 1;
}

.tracklist-table tbody .artist{
    line-height: 1.3;
    display: block;
}

.tracklist-table tbody tr:hover{
    background-color: color-mix(in srgb, var(--Purple), transparent 90%);
}

.tracklist-table tbody tr:hover td:nth-child(2), .tracklist-table tbody tr:focus td:first-child{
  border-radius: 5px 0 0 5px;
}

.tracklist-table tbody tr:hover td:last-child, .tracklist-table tbody tr:focus td:last-child{
  border-radius: 0 5px 5px 0;
}

.tracklist-table tbody tr:focus{
    background-color: color-mix(in srgb, var(--Purple), transparent 0%);
}

.tracklist-table tbody tr:focus .subtitle, .tracklist-table tbody tr:focus .title, .tracklist-table tbody tr:focus .play-button{
    color: var(--White);
}

.tracklist-table tbody tr:hover .pos{
    display: none;
}

.tracklist-table tbody tr:hover .play-button{
    display: table-cell;
}

.tracklist-table .explicit{
    font-size: 12px;
    color: var(--Light-gray);
    padding-right: 0.3rem;
}

.tracklist-footnotes{
    gap: 0 1.5%;
}

.tracklist-footnotes .seal-image{
    width: 4rem;
    opacity: 0.5;
}

.tracklist-footnotes .seal-image img{
    width: 100%;
}

.tracklist-footnotes .right-side{
    align-items: flex-start;
}

.biography.footer-details .album .work-card {
    width: 11rem;
}

.biography.footer-details .work-card:hover{
    background-color: var(--White);
}

.biography.footer-details .album .work-card .work-cover{
    width: 11rem;
    aspect-ratio: 1 / 1;
}

.biography.footer-details .album .work-card:hover .work-cover{
    width: 9rem;
    aspect-ratio: 1 / 1;
}

.biography.footer-details .work-card .work-title {
    font-size: medium;
}

.comment-editor{
    width: 70%;
}

.comment-editor form{
    gap: 0 1rem;
    justify-content: flex-end;
    align-items: flex-end;
}

.comments .comment-editor textarea{
    width: 90%;
    border: none;
    border-radius: 10px;
    padding: 1rem;
    height: 5rem;
    font-family: 'Satoshi-Variable', sans-serif;
}

.comments .comment-editor .comment-button{
    font-family: 'Satoshi-Variable', sans-serif;
    border: none;
    cursor: pointer;
    width: 15%;
    min-width: fit-content;
    justify-content: center;
}

.comments .comment-editor textarea:focus-visible{
    outline: none;
    box-shadow: 0px 0px 17px -5px var(--Purple);
}

.comments .comment-list{
    margin-top: 1rem;
    margin-bottom: 5%;
    flex-wrap: wrap;
    gap: 1rem;
}

.comments .comment{
    width: calc(50% - 1rem);
    align-items: flex-start;
    gap: 0 1rem;
    padding: 1rem;
    background-color: color-mix(in srgb, var(--Purple), transparent 90%);
    border-radius: 10px;
}

.comments .comment .icon{
    width: 3rem;
    border-radius: 100px;
}

.comments .comment .icon img{
    border-radius: 100px;
}

.comments .comment .comment-content{
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    width: calc(100% - 3rem);
    gap: 0.5rem 0;
}

.comments .comment .comment-content .artist-name{
    color: var(--Purple);
    font-weight: 700;
}

.main-content#art, .main-content#wiki, .main-content#audio{
    display: none;
}

.conteudo-arte{
    padding: 0;
    height: max-content;
    min-height: 600px;
}

.wiki{
    line-height: 1.6;
}

.wiki .wiki-text{
    font-size: 14px;
}

.wiki .sections > *{
    flex-direction: column;
    align-items: flex-start;
}

.wiki .sections .about{
    grid-area: about;
}

.wiki .sections .infobox-side{
    grid-area: infobox;
}

.wiki .sections .second-section{
    grid-area: second;
}

.wiki .sections .commercial-performance{
    grid-area: performance;
}

.wiki .sections .awards{
    grid-area: awards;
}

.wiki .sections{
	grid-template-areas:
		"about infobox"
		"second infobox"
        "performance performance"
        "awards awards";
    grid-template-columns: calc(70% - 1rem) calc(30% - 1rem);
    width: 100%;
    gap: 1rem 2rem;
}

.wiki .sections .heading{
    color: var(--Black);
    font-size: large;
    margin-bottom: 0.3rem;
}

.wiki .sections .wiki-heading{
    font-size: x-large;
    margin-bottom: 0.7rem;
}

.wiki .sections hr{
    margin-bottom: 0.7rem;
}

.infobox-side{
    line-height: 1;
}

.infobox-side .infobox a{
    color: var(--Purple);
}

.infobox-side .infobox .infos .info-row .att{
    width: 40%;
}

.infobox-side .infobox .infos .info-row{
    align-items: flex-start;
}

.infobox-side .infobox .infos .info-row .att-a{
    width: 60%;
}

.infobox-side .infobox{
    background-color: var(--Off-white);
    border: 1px solid var(--Light-gray);
    border-radius: 10px;
    padding-bottom: 1rem;
}

.infobox-side .infobox > *{
    padding: 1rem;
}

.infobox-side .infobox .singles-list > *{
    padding-left: 1rem;
}

.infobox-side .infobox .singles-list li + li {
    margin-top: 0.5rem;
}

.infobox-side .infobox .singles-list .single, .infobox-side .infobox .chrono .prev > *{
    align-items: flex-start;
}

.infobox-side .infobox .chrono .next > *{
    align-items: flex-end;
}

i.bi.bi-chevron-compact-left, i.bi.bi-chevron-compact-right {
    font-size: x-large;
    color: var(--Purple);
}

.infobox-side .infobox .singles-list ::marker {
    font-size: small;
}

.infobox-side .infobox .subsection-title, .infobox-side .infobox .box-header{
    background-color: color-mix(in srgb, var(--Purple), transparent 68%);
    justify-content: center;
    color: var(--Purple);
    padding: 0.2rem 1rem;
    gap: 0 0.2rem;
}

.infobox-side .infobox .box-header{
    padding: 1.5rem;
    position: relative;
}

.infobox-side .infobox .box-header .title{
    font-weight: 900;
    z-index: 2;
}

.infobox-side .infobox .box-header .music-note{
    color: color-mix(in srgb, var(--White), transparent 55%);
    position: absolute;
    font-size: xxx-large;
    float: right;
    right: -8px;
    rotate: -18.5deg;
}

.infobox-side .infobox .box-cover{
    width: 220px;
    padding: 0;
    margin: 1rem 0;
}

.infobox-side .infobox .box-cover img{
    border-radius: 0;
}

.infobox-side .infobox .infos{
    gap: 0.5rem 0;
}

.second-section .wiki-text{
    width: 100%;
}

.second-section .wiki-text .scroll.song-lyrics {
    overflow: scroll;
    height: 60rem;
    width: 100%;
}

.commercial-performance th{
    color: var(--Purple);
    font-size: 13px;
    background-color: color-mix(in srgb, var(--Purple), transparent 68%);
    padding: 0 0.5rem;
    line-height: 1;
    height: 3rem;
}

.commercial-performance .weekly{
    grid-area: weekly;
}

.commercial-performance .sales{
    grid-area: sales;
}

.commercial-performance .streaming{
    grid-area: streaming;
}

.commercial-performance .chartrun{
    grid-area: chartrun;
}

.commercial-performance .wiki-text.grid{
    width: 100%;
    grid-template-areas:
        "weekly streaming"
        "sales chartrun";
    grid-template-columns: calc(35% - 1rem) calc(50% - 1rem);
    gap: 1rem 2rem;
}

.commercial-performance.track-performance .wiki-text.grid{
    grid-template-areas:
        "sales streaming"
        "weekly chartrun";
    grid-template-columns: calc(35% - 1rem) calc(50% - 1rem);
}

.commercial-performance .wiki-text.grid > *{
    gap: 0.3rem 0;
    overflow: scroll;
}

.commercial-performance table{
    width: 100%;
    background-color: var(--Off-white);
    border-spacing: 0;
    border-radius: 10px;
    border: 1px solid var(--Light-gray);
    overflow: hidden;
}

.commercial-performance td{
    padding: 0.2rem 1rem;
    border-right: 1px solid var(--Light-gray);
    font-size: smaller;
}

.commercial-performance td:last-of-type{
    border-right: none;
}

.commercial-performance tr:last-of-type td{
    padding-bottom: 0.4rem;
}

.commercial-performance tr:first-of-type td{
    padding-top: 0.4rem;
}

.commercial-performance .streaming .data-column{
    width: 17%;
    padding: 0.2rem 0.3rem;
}

.commercial-performance .data-column{
    text-align: center;
}

.commercial-performance .sum-row td{
    border-top: 1px solid var(--Light-gray);
}

.commercial-performance .sum-row .world-cell{
    color: var(--Purple);
}

.commercial-performance .sum-row:last-of-type td{
    padding-bottom: 0.2rem;
}

.commercial-performance .chartrun .sum-row .world-cell{
    text-align: center;
}

.commercial-performance .chartrun .chartrun-cell{
    text-align: center;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding-bottom: 0.4rem;
}

.commercial-performance .chartrun .chartrun-cell .week{
    text-align: center;
    align-items: center;
    justify-content: center;
    height: 2rem;
    width: 2rem;
    border: 1px solid var(--Purple);

}

.commercial-performance .chartrun .chartrun-cell .week:hover{
    background-color: var(--Purple);
    color: var(--White);
    font-weight: 900;
    cursor: pointer;
}

.awards .wiki-text{
    gap: 1rem 0;
}

@media screen and (max-width: 800px) {
    .top-info .work-cover, .tracklist .sub-header .other-images-wrapper{
        width: 40%;
    }

    .top-info .right-side, .tracklist .right-side{
        width: 60%;
    }

    .top-info .right-side .info{
        margin-bottom: 0.5rem;
    }

    .top-info .right-side{
        padding-bottom: 0.2rem;
    }

    .top-info .right-side .buttons {
        gap: 0.5rem 1rem;
    }
}

@media screen and (max-width: 650px) {
    .top-info{
        flex-direction: column;
        padding: 5% 5% 0.5rem 5%;
        gap: 2rem 0;
        align-items: flex-end;
    }

    .comments .comment, .comments .comment-editor, .top-info .work-cover, .top-info .right-side, .tracklist .right-side, .tracklist .sub-header .other-images-wrapper{
        width: 100%;
    }

    .top-info .right-side{
        align-items: center;
        justify-content: center;
        padding-bottom: 4%;
    }

    .top-info .right-side .info{
        align-items: center;
        margin-bottom: 1rem;
    }

    .top-info .right-side .info .work-title {
        text-align: center;
    }

    .top-info .right-side .info .work-artist{
        margin-bottom: 0.2rem;
    }

    .top-info .right-side .buttons{
        justify-content: center;
    }

    .tracklist .sub-header {
        flex-direction: column-reverse;
        height: auto;
        gap: 1.5rem 0;
        justify-content: center;
        align-items: center;
    }

    .tracklist .sub-header .other-images{
        overflow: scroll;
        height: 6rem;
        -webkit-mask-image: none;
        mask-image: none;
    }
    
    .icon-right{
        display: none;
    }

    .tracklist .right-side{
        gap: 0 5%;
    }

    .tracklist .sub-header .compact-about{
        width: calc(100% - calc(6rem + 5%));
    }

    .tracklist-table .typ , .tracklist.playlist .tracklist-table .alb{
        display: none;
    }

    .tracklist-table tbody tr td {
        padding: 0.5rem 0;
    }

    .tracklist-table .pos {
        width: 6%;
    }

    .tracklist-table .str {
        width: 22%;
    }

    .wiki .sections{
        grid-template-areas:
            "about"
            "infobox"
            "second"
            "performance"
            "awards";
        grid-template-columns: 100%;
        width: 100%;
        gap: 2rem;
    }

    .commercial-performance .wiki-text.grid, .commercial-performance.track-performance .wiki-text.grid{
        width: 100%;
        grid-template-areas:
            "weekly"
            "sales"
            "streaming"
            "chartrun";
        grid-template-columns: 100%;
        gap: 1rem 2rem;
    }

    .commercial-performance.track-performance .wiki-text.grid{
        grid-template-areas:
            "sales"
            "streaming"
            "weekly"
            "chartrun";
    }

}