:root {
    --main: rgb(99, 70, 222);
    --main2: rgb(15, 209, 161);
    --para: rgb(195, 195, 195);

    --bg: #121212;
    --bgone: rgba(54, 38, 122, 0.3);
    --bgtwo: rgba(99, 70, 222, 0.3);

    --glassbg: rgba(255, 255, 255, 0.01);
    --glassbgh: rgba(99, 70, 222, 0.1);
    --glassborder: rgba(255, 255, 255, 0.1);
    --glassborderh: rgba(99, 70, 222, 0.8);
    --glassshadow: rgba(255, 255, 255, 0.05);
    --glassshadowh: rgba(99, 70, 222, 0.4);

    --btnbg: rgba(255, 255, 255, 0.03);
    --btnbgh: rgba(5, 70, 54, 0.3);
    --btnbr: rgba(255, 255, 255, 0.1);
    --btnbrh: rgba(15, 209, 161, 0.8);
    --btnshw: rgba(255, 255, 255, 0.04);
    --btnshwh: rgba(15, 209, 161, 0.4);

    /* Size between 960px - 2560px viewport width */
    --px12: clamp(9px, 0.625vw, 16px);
    --px16: clamp(10px, 0.833vw, 21px);
    --px18: clamp(12px, 0.9375vw, 24px);
    --px20: clamp(18px, 1.0417vw, 27px);
    --px25: clamp(17px, 1.30vw, 33px);
    --px34: clamp(23px, 1.77vw, 45px);
    --px42: clamp(28px, 2.1875vw, 56px);
    --px46: clamp(31px, 2.4vw, 61px);
    --px60: clamp(40px, 3.125vw, 80px);
    --px80: clamp(40px, 4.1667vw, 106px);
    --px120: clamp(60px, 6.25vw, 160px);
    --px240: clamp(120px, 12.5vw, 320px);
    --px300: clamp(150px, 15.625vw, 400px);

    --main2orientationw: 75%;
    --fixew: 22%;

    --spotbg: rgba(8, 149, 69, 0.5);
    --spotbgh: rgb(8, 149, 69);
    --spotbd: rgba(30, 215, 96, 0.6);
    --spotbdh: rgb(30, 215, 96);
    --spotshwh: rgba(30, 215, 96, 0.6);

    --cloudbg: rgba(255, 49, 2, 0.5);
    --cloudbgh: rgb(255, 49, 2);
    --cloudbd: rgba(255, 118, 1, 0.6);
    --cloudbdh: rgb(255, 118, 1);
    --cloudshwh: rgba(255, 118, 1, 0.6);

    --grambg: rgba(126, 72, 192, 0.5);
    --grambgh: rgb(126, 72, 192);
    --grambd: rgba(77, 98, 211, 0.6);
    --grambdh: rgb(77, 98, 211);
    --gramshwh: rgba(77, 98, 211, 0.6);

    --tokbg: black;
    --tokbgh: black;
    --tokbd: rgb(254, 44, 85);
    --tokbdh: rgb(37, 244, 238);
    --tokshwh: rgba(37, 244, 238, 0.6);
}

@media (max-width: 2000px) {
    :root {
        /* --main: violet; */

        --px12: 12px;
        --px16: 16px;
        --px18: 18px;
        --px20: 20px;
        --px25: 25px;
        --px34: 34px;
        --px42: 42px;
        --px46: 46px;
        --px60: 60px;
        --px80: 80px;
        --px120: 120px;
        --px240: 240px;
        --px300: 300px;

        --main2orientationw: 1330px;
        --fixew: 430px;
    }
}

@media (max-width: 1300px) {
    :root {
        /* --main: red; */

        --px12: 12px;
        --px16: 16px;
        --px18: 16px;
        --px20: 18px;
        --px25: 20px;
        --px34: 25px;
        --px42: 30px;
        --px46: 40px;
        --px60: 50px;
        --px80: 70px;
        --px120: 80px;
        --px240: 200px;
        --px300: 250px;

        --main2orientationw: 75%;
        --fixew: 22%;

        .front-grid {
            display: flex;
            gap: 0;
            margin: 1.5% 0 4% 0;
            scroll-behavior: smooth;
            overflow: auto;
        }
    }
}

@media (max-width: 1000px) {
    :root {
        .main-orientation {
            flex-direction: column-reverse;
        }

        .fixe {
            position: static;
            width: 100%;
            transform: none;
        }

        .main2-orientation {
            width: 100%;
        }

        .cover-image {
            width: 400px;
        }

        .fixe>div img {
            display: block;
            margin: auto;
        }

        .mobileheader {
            display: flex;
        }

        .desktopheader {
            display: none;
        }

        header {
        pointer-events: none;
        }

        header>.top *,
        header>.bot * {
            pointer-events: all;
        }

        header>.top {
            filter: drop-shadow(0 0 0.2rem black);
            margin-top: 80px;
            margin-left: 10px;
            position: fixed;
            z-index: 100;
        }

        header img {
            height: 50px;
        }

        header>.bot {
            background: linear-gradient(transparent, rgba(0,0,0,0.6));
            width: 100%;
            bottom: 0px;
            position: fixed;
            z-index: 100;
            justify-content: space-evenly;
            pointer-events: none;
        }

        header>.bot>.menu-btn {
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            padding-bottom: 5px;
            pointer-events: auto;
        }
        
        .site-header {
            padding-left: 0;
            padding-right: 0;
        }

        .glass.mobileheader {
            align-items: center;
        }
    }
}

/* 
@media (max-width: 850px) {
    :root {
        --main: green; 
    }
}
*/
@media (max-width: 700px) {
    :root {
        /* --main: blue; */

        --px12: 12px;
        --px16: 16px;
        --px18: 16px;
        --px20: 18px;
        --px25: 20px;
        --px34: 25px;
        --px42: 28px;
        --px46: 30px;
        --px60: 40px;
        --px80: 60px;
        --px120: 70px;

        .cover-image {
            width: 300px;
        }
    }
}

/* Mobile */
@media (max-width: 580px) {
    :root {
        /* --main: orange; */

        /* Font sizes */
        --px34: 25px;
        --px42: 21px;
        --px46: 23px;
        --px60: 30px;
        --px80: 40px;
        --px120: 49px;
        --px240: 120px;
        --px300: 150px;

        .custom-scrollbar {
            display: none !important;
        }
    }
}



/* ========== Responsive ========== */

.fixe {
    width: 100%;
    position: unset;

}

.fixe {
    width: 22%;
    position-anchor: --box;
    position: fixed;
    left: anchor(right);
    align-self: first baseline;
    transform: translate(-100%, var(--px42));
}

.main-orientation {
    align-items: start;
    padding: 1% 2% 0 2%;
    gap: 2vw;
    anchor-name: --box;
}

.main2-orientation {
    width: 75%;
    padding-top: 3%;
    min-height: 65vh;
}

.mobileheader {
    display: none;
}


/* ========== Home ========== */
#stats * {
    user-select: none;
    transition: all .2s;
}

#stats .glass:hover {
    border: 2px solid var(--btnbrh);
    background: var(--btnbgh);
    box-shadow: 3px 3px 10px inset var(--btnshwh),
        3px 3px 5px var(--btnshwh);
}

.section {
    padding: 2.5% 2%;
    position: relative;
    z-index: 0;
}

.inner-section {
    padding: 2% 0;
}

#header {
    padding-top: max(45px, 2.5%);
}

.glass-top#header {
    padding: 10% 0;
}

#header2 {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    position: relative;
    padding: 2%;
}

#byn {
    margin-top: -6%;
}

#cover-image.pfp-design {
    height: var(--px300);
}

section {
    padding-top: max(80px, 2.5%);
}

#wrapper>div {
    margin-top: 30vh;
    text-align: center;
}

#changelogs {
    height: 65%;
    padding: 1% 0;
}

#changelogs .welcome {
    margin-bottom: 0;
}

#changelogs .welcome div,
#changelogs .welcome div .glass-bottom>* {
    max-width: 80%;
}

#changelogs .glass-bottom * {
    margin-bottom: 0.5em;
}

/* ========== Scrollbar ========== */
html {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

html::-webkit-scrollbar {
    display: none;
}

.custom-scrollbar {
    position: fixed;
    top: 0;
    right: 0px;
    width: 15px;
    height: 100%;
    background: transparent;
    z-index: 9999;
}

.custom-scrollbar-thumb {
    position: absolute;
    right: 0;
    width: 15px;
    background: rgba(255, 255, 255, 0.2);
}

.custom-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.4);
}

.custom-scrollbar-thumb.dragging {
    background: rgba(255, 255, 255, 0.6);
}

/* Styled native scrollbar for inner scrollable panels —
   matches the visual style of the global custom scrollbar
   -------------------------------------------------
   -------------------------------------------------
   -------------------------------------------------
   -------------------------------------------------
   -------------------------------------------------
   -------------------------------------------------
   */
.inner-scroll {
    /* Firefox */
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

.inner-scroll::-webkit-scrollbar {
    width: 6px;
}

.inner-scroll::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 999px;
}

.inner-scroll::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    transition: background 0.2s;
}

.inner-scroll::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.4);
}

.inner-scroll::-webkit-scrollbar-thumb:active {
    background: rgba(255, 255, 255, 0.6);
}

/* ========== Header ========== */
header img {
    height: 55px;
    width: 55px;
}

.site-header h5 {
    font-weight: bold;
    color: white;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
}

.site-header #headermenu {
    margin-top: 20px;
    padding-left: 5px;
    transition: all .2s;
    anchor-name: --menu;
}

.site-header #headermenu * {
    margin-bottom: 0px;
}

#user-modal {
    position-anchor: --menu;
    position: fixed;
    left: anchor(right);
    align-self: first baseline;
    margin-top: 80px;
    translate: -100%;
    animation: fadeIn 0.3s ease;
    transition: all .2s;
}

#home-icon {
    height: 55px;
    width: 55px;
    margin-top: -30px;
}

#search-input {
    position: relative;
    pointer-events: auto;
    padding: 10px;
    color: white;
    text-shadow: 1px 1px 2px black;
    font-size: var(--px25);
    font-family: 'Unifont Ex Mono', sans-serif;
    transition: all .2s;
}

#search-input::placeholder {
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
}

.site-header {
    position: fixed;
    top: 0;
    justify-content: space-between;
    right: 0px;
    left: 0px;
    padding-top: 5px;
    padding-left: 30px;
    padding-right: 30px;
    background: transparent;
    z-index: 1001;
    pointer-events: none;
    user-select: none;
}

#search-overlay {
    position: absolute;
    top: 100%;
    width: 400px;
    max-height: 75vh;
    overflow-y: auto;
    right: 2%;
    padding: 5px;
    background-color: rgba(0, 0, 0, 0.5) !important;
}

#search-overlay h4 {
    margin: 20px 0px;
}

header * {
    user-select: auto;
    pointer-events: auto;
}

.glass-input {
    width: 100%;
    padding: 12px;
    border-radius: 5px;
    margin: 10px 0px;
    color: white;
    text-shadow: 1px 1px 2px black;
    font-size: var(--px25);
    font-family: 'Unifont Ex Mono', sans-serif;
    transition: box-shadow .2s, background-color .2s, border .2s;
}

button:focus,
select:focus,
textarea:focus {
    outline: none;
}

/* ========== Text size ========== */
@keyframes float {
    from {
        translate: 0;
    }

    to {
        translate: 0 -20%;
    }
}

#wrapper {
    height: 100vh;
    display: flex;
    justify-content: center;
}

#wrapper a {
    position: absolute;
    top: 90vh;
}

#wrapper svg {
    opacity: 0.5;
    transition: all .2s;
    animation: float 2s ease-in-out infinite alternate;
}

#wrapper svg:hover {
    opacity: 0.8;
    transform: scale(1.1);
}

#asharchives {
    margin-bottom: 20px;
    text-align: center;
    text-transform: uppercase;
    text-shadow: none;
    filter: drop-shadow(3px 3px 10px black);
    font-family: "Better VCR", sans-serif;
    background: linear-gradient(0deg, var(--glassbgh), var(--glassborderh), var(--main), var(--glassborderh), var(--main2) 110%),
        radial-gradient(circle, rgba(0, 0, 0, 0.1) 50%, transparent 1%) 0 0 / 3px 3px repeat;
    background-blend-mode: overlay;
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

h1.artist-name,
#asharchives {
    font-size: var(--px120);
}

h1 {
    font-size: var(--px60);
}

h2 {
    font-size: var(--px46);
}

h3 {
    font-size: var(--px42);
}

h4 {
    font-size: var(--px34);
}

h5 {
    font-size: var(--px18);
}

p {
    font-size: var(--px16);
}

h6 {
    font-size: var(--px12);
}


/* ========== Common assets ========== */
.glass,
.glass-bottom,
.glass-top,
.glass-btn,
.glass-input {
    padding: 10px;
    user-select: none;
}

.glass.b,
.glass-bottom b,
.glass-top b,
.glass-btn,
.glass-input {
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.glass,
.glass-bottom,
.glass-input {
    background-color: var(--glassbg);
    border-radius: 15px;
    box-shadow: 3px 3px 10px inset var(--glassshadow),
        3px 3px 5px var(--glassshadow);
    border: 2px solid var(--glassborder);
}

.glass-top {
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 15px 15px 0 0;
    box-shadow: 3px 3px 10px inset var(--glassshadow);
    border: 2px solid var(--glassborder);
    border-bottom: none;
    display: flex;
    align-items: center;
    gap: 0.26vw;
}

#toggle-cover,
.glass-btn {
    background-color: var(--btnbg);
    border-radius: 15px;
    box-shadow: 3px 3px 5px inset var(--btnshw),
        3px 3px 5px var(--btnshw);
    border: 2px solid var(--btnbr);
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    transition: all .2s;
}

.glass-btn {
    height: auto;
    width: auto;
}

/* ══════════════════════════════════════════════════════
   .glass-ray-btn  — Glassmorphism button with a gradient
   border that simulates a light ray hitting the glass
   edge (bright flash top-left → purple/teal bottom-right).

   Technique: the ::before pseudo-element fills the entire
   button with a gradient, then mask-composite: exclude
   "punches out" the interior, leaving only a 2px border
   ring that shows the gradient colours. This is the only
   CSS-native way to make a true gradient border.
   ══════════════════════════════════════════════════════ */
.glass-ray-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: auto;
    width: auto;
    padding: 10px 20px;
    border: none;
    border-radius: 15px;
    background-color: var(--btnbg);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    box-shadow:
        3px 3px 5px inset var(--btnshw),
        3px 3px 5px var(--btnshw);
    cursor: pointer;
    user-select: none;
    transition: background-color 0.2s, box-shadow 0.2s, transform 0.15s;
    isolation: isolate;
}

/* Gradient border — the "light ray" on the glass edge.
   Top-left corner = bright white flash (where light hits).
   Bottom-right = purple/teal refraction (shadow side). */
.glass-ray-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 2px;
    /* = border thickness */
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.80) 0%,
            rgba(255, 255, 255, 0.22) 22%,
            rgba(255, 255, 255, 0.04) 100%);
    /* Hollow the interior so only the 2px border ring is visible */
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
    pointer-events: none;
    transition: background 0.2s;
}

/* Subtle inner sheen — frosted glass light wash from top */
.glass-ray-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(170deg,
            rgba(255, 255, 255, 0.08) 0%,
            transparent 52%);
    pointer-events: none;
}

/* Hover — brighter ray + glow */
.glass-ray-btn:hover {
    background-color: var(--btnbgh);
    box-shadow:
        3px 3px 5px inset var(--btnshwh),
        3px 3px 5px var(--btnshwh);
}

.glass-ray-btn:hover::before {
    background: linear-gradient(135deg,
            var(--btnbrh) 0%,
            rgba(255, 255, 255, 0.22) 22%,
            rgba(255, 255, 255, 0.04) 100%);
}

.glass-ray-btn:active {
    transform: translateY(0);
    box-shadow:
        3px 3px 5px inset var(--btnshw),
        1px 1px 3px var(--btnshw);
}

.glass-bottom {
    border-radius: 0 0 10px 10px;
    border: 0 0 1px 1px solid rgba(255, 255, 255, 0.1);
}

/* ========== Common hover/focus ========== */
.glass-btn:hover,
.glass-input:hover,
.glass-input:focus,
#search-input:hover,
#search-input:focus,
#headermenu:hover,
#user-modal:hover,
#toggle-cover:hover {
    border: 2px solid var(--btnbrh);
    background: var(--btnbgh);
    box-shadow: 3px 3px 5px inset var(--btnshwh),
        3px 3px 5px var(--btnshwh);
}

.title-stats {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    text-align: center;
}

.pfp-design {
    border-radius: 1000px;
    box-shadow: 1px 1px 10px black;
    pointer-events: none;
}

#bio {
    align-items: normal;
    margin-top: 1.5%;
    gap: 20px;
    width: 50%;
}

#bio img {
    border-radius: 10px;
    width: 15%;
    height: 15%;
    box-shadow: 1px 1px 10px black;
    pointer-events: none;
}

.text-clip {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 350px;
}

.text-multiline-clip {
    max-width: var(--px240);
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
    word-break: break-word;
    overflow-wrap: anywhere;
    line-height: 1.2em;
}

.title {
    font-family: "Better VCR", sans-serif;
    font-weight: 600;
    color: white;
    overflow: hidden;
    margin: 0px;
    background: transparent;
    -webkit-text-stroke: 0px transparent;
}

.inner-error-message {
    background: rgba(255, 0, 0, 0.2);
    border: 1px solid red;
    padding: 10px;
    border-radius: 5px;
    margin: 10px 0px;
    display: none;
}

.inner-error-message p {
    color: #ff6b6b;
    margin: 0;
}

/* ========== Tags ========== */
.tag-deleted,
.tag-unreleased,
.tag-snippet,
.tag-upcoming {
    border-radius: 10px;
    box-shadow: 1px 1px 10px black;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    text-align: center;
    width: auto;
}

.tag-deleted {
    background: rgba(255, 0, 0, 0.7);
    border: 1px solid rgba(255, 0, 0, 0.8);
}

.tag-unreleased {
    background: rgba(161, 0, 167, 0.7);
    border: 1px solid rgba(161, 0, 167, 0.8);
}

.tag-snippet {
    background: rgba(10, 151, 113, 0.7);
    border: 1px solid rgba(10, 151, 113, 0.8);
}

.tag-upcoming {
    background: rgba(255, 123, 0, 0.7);
    border: 1px solid rgba(255, 123, 0, 0.8);
}

.album-card .tag-deleted,
.album-card .tag-unreleased,
.album-card .tag-snippet,
.album-card .tag-upcoming {
    border-radius: 10px 10px 0px 0px;
    right: 15px;
    left: 15px;
    z-index: 2;
    position: absolute;
}

.h-stack .tag-deleted,
.h-stack .tag-unreleased,
.h-stack .tag-snippet,
.h-stack .tag-upcoming {
    padding: 5px;
}

.tag-deleted h6,
.tag-unreleased h6,
.tag-snippet h6,
.tag-upcoming h6 {
    margin: 3px;
    color: white;
}

.tag-deleted h5,
.tag-unreleased h5,
.tag-snippet h5,
.tag-upcoming h5 {
    margin: 0;
}

/* ========== Grid ========== */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 10px;
}

#artists-index.grid-contrainer {
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
}

.album-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, auto));
    gap: 0;
    margin: 20px 0;
    justify-content: start;
}

.front-grid {
    max-height: calc(2 * 280px);
    overflow: hidden;
    grid-auto-rows: 1fr;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, auto));
    gap: 0;
    margin: 1.5% 0 4% 0;
    justify-content: start;
}

.album-card,
.album-card-noimg {
    position: relative;
    background: rgba(255, 255, 255, 0);
    box-shadow: 2px 2px 6px transparent;
    transition: all .2s;
    border-radius: 20px;
    min-height: 250px;
    max-width: 170px;
    padding: 15px;
    user-select: none;
}

.album-card-noimg {
    min-height: 75px;
}

.album-card:hover,
.album-card-noimg:hover {
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.2);
    padding: 15px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transform: scale(0.95);
}

.album-card img {
    width: 170px;
    height: auto;
    border-radius: 10px;
    pointer-events: none;
    box-shadow: 0px 0px 10px black;
    margin-bottom: 5px;
    display: block;
}

.album-card-artist {
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0);
    box-shadow: 2px 2px 6px rgba(0, 0, 0, 0);
    transition: all .2s;
    border-radius: 10px;
    min-height: 250px;
    max-width: 170px;
    padding: 15px;
    user-select: none;
}

.album-card-artist:hover {
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.2);
    padding: 15px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transform: scale(0.95);
}

.album-card-artist img {
    width: 170px;
    height: auto;
    pointer-events: none;
    border-radius: 1000px;
    box-shadow: 1px 1px 20px black;
}

.album-card-artist .artist-name,
.front-grid .title-stats,
.album-grid .title-stats,
.album-card-noimg *,
#header h1,
.main-orientation .artist-name {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    word-break: break-word;
    overflow-wrap: anywhere;
}

#header h1,
.main-orientation .artist-name {
    -webkit-line-clamp: 1;
    line-clamp: 1;
}

.album-card-artist .title-stats {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, auto));
    gap: 20px;
    justify-content: center;
}

.list-card {
    width: 95% !important;
    user-select: none;
}

.list-card img {
    border-radius: 10px;
    pointer-events: none;
    box-shadow: 0px 0px 10px black;
    margin: 0px;
}

.list-card .artist-name {
    color: rgba(255, 255, 255, 0.6);
}

.list-card.h-stack {
    align-items: normal;
}

/* ========== Welcome Demi-Header ========== */
.welcome {
    align-items: center;
    gap: 0;
    margin-bottom: 5%;
}

.welcome * {
    user-select: text;
    margin: 0;
}

.welcome .h-stack .glass-btn,
.welcome .h-stack .glass {
    align-items: center;
    justify-content: center;
}

/* ========== Title page ========== */
.cover-image {
    width: 80%;
    /* min-height: 250px;
    min-width: 250px; */
    border-radius: 20px;
    box-shadow: 0px 0px 20px black;
    cursor: pointer;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 999;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.overlay-background {
    position: absolute;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(10px);
    background-color: rgba(0, 0, 0, 0.5);
}

.overlay-image {
    height: 80%;
    border-radius: 20px;
    box-shadow: 0px 0px 30px black;
    z-index: 1000;
    animation: fadeIn 0.5s ease;
}

#toggle-cover {
    position: absolute;
    top: 0;
    right: 0;
    height: var(--px46);
    width: var(--px46);
    padding: 5px;
}

#toggle-cover p {
    font-size: var(--px25);
    text-shadow: 1px 1px 5px rgba(255, 255, 255, 0.5);
    color: white;
}

.tab-panel {
    display: none;
}

.tab-panel .grid-container .glass p,
.tab-panel .grid-container .glass h5 {
    user-select: text;
}

.tab-panel .grid-container .glass .artist-name {
    font-size: 25px;
    margin: 0;
    color: white;
}

.tab-panel .grid-container .glass h4 {
    margin-bottom: 10px;
}

.tab-panel.active {
    display: block;
}

.glass-custom {
    transition: all .2s;
}

.glass-custom:hover {
    box-shadow: none;
    transform: scale(1.05);
}

.lyrics,
#bio p {
    user-select: text;
}

.lyrics son,
.glass son {
    font-family: "Better VCR", sans-serif;
    font-weight: 600;
    color: white;
    font-size: var(--px16);
}

.custom-textbg {
    margin: 0px;
}

/* ========== Artist page ========== */
.spot,
.cloud,
.gram,
.tok {
    height: auto;
    width: auto;
    border-radius: 10px;
    box-shadow: 1px 1px 10px black;
    padding: 10px;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    user-select: none;
    transition: all .2s;
}

.spot {
    background: var(--spotbg);
    border: 2px solid var(--spotbd);
}

.spot:hover {
    background: var(--spotbgh);
    border: 2px solid var(--spotbdh);
    box-shadow: 1px 1px 10px var(--spotshwh);
}

.cloud {
    background: var(--cloudbg);
    border: 2px solid var(--cloudbd);
}

.cloud:hover {
    background: var(--cloudbgh);
    border: 2px solid var(--cloudbdh);
    box-shadow: 1px 1px 10px var(--cloudshwh);
}

.gram {
    background: var(--grambg);
    border: 2px solid var(--grambd);
}

.gram:hover {
    background: var(--grambgh);
    border: 2px solid var(--grambdh);
    box-shadow: 1px 1px 10px var(--gramshwh);
}

.tok {
    background: var(--tokbg);
    border: 2px solid var(--tokbd);
}

.tok:hover {
    background: var(--tokbgh);
    border: 2px solid var(--tokbdh);
    box-shadow: 1px 1px 10px var(--tokshwh);
}

/* ========== File manager - Overlay ========== */
.modal,
.modal-settings {
    left: 0;
    top: 0;
    width: 100%;
    transition: all .2s;
}

.modal-settings {
    display: block;
}

.modal {
    height: 100%;
    position: fixed;
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: none;
    transition: all .2s;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    margin: 30vh auto;
    padding: 20px;
    width: 80%;
    max-width: 500px;
    position: relative;
    transition: all .2s;
    max-height: 50vh;
}

#lyrics-modal .modal-content {
    margin: 10vh auto;
    max-width: 1000px;
}

#lyrics-modal textarea {
    max-height: 600px;
}

.close {
    color: white;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: #ccc;
}

.drop-zone {
    border: 2px dashed rgba(255, 255, 255, 0.5);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all .2s;
    margin: 20px 0;
    min-height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.drop-zone.dragover {
    border-color: rgb(99, 70, 222);
    background-color: rgba(99, 70, 222, 0.1);
}

/* ========== File manager - Click droit ========== */
.context-menu {
    position: absolute;
    background: #1a1a1a;
    border: 2px solid #333;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
    border-radius: 5px;
    padding: 5px 0;
    display: none;
    z-index: 9999;
    width: 250px;
    transition: all .2s;
}

.context-menu .item {
    padding: 8px 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all .2s;
}

.context-menu .item img {
    height: 30px;
}

.context-menu .item p {
    margin: 0;
}

.context-menu .danger p {
    color: red;
}

.context-menu .item:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* ========== File manager - File grid ========== */
.files-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(122px, auto));
    gap: 12px;
    justify-content: start;
}

.file-icon {
    width: 120px;
    height: 120px;
    pointer-events: none;
    border-radius: 5px;
}

.files-grid .item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0);
    text-align: center;
}

.files-grid .item p {
    margin-top: 5px;
    color: white;
    word-break: break-all;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 120px;
}

/* ========== File manager - Selection ========== */
.selectable {
    position: relative;
    margin: 2px;
}

.selectable.selected {
    background-color: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 5px;
    margin: 0px;
}

.item-checkbox {
    position: absolute;
    top: 5px;
    right: 5px;
    z-index: 10;
    opacity: 0;
    pointer-events: none;
    transition: all .2s ease;
}

.selectable:hover .item-checkbox,
.selectable.selected .item-checkbox {
    opacity: 1;
    pointer-events: auto;
}

.action-btn {
    display: none;
}

.action-btn.visible {
    display: inline-block;
}

.item-link {
    display: block;
    color: inherit;
    padding: 1px;
}

/* ========== Profile page ========== */

.inner-step-div {
    background: rgba(0, 0, 0, 0.2);
    padding: 20px;
    border-radius: 20px;
}

form.inner-step-div {
    background: rgba(0, 0, 0, 0.2);
    padding: 20px;
    border-radius: 20px;
}

.inner-step-div p {
    margin: 10px 0;
}