/* =========================
   CLIQUES DROPDOWN
========================= */
#browseCliquesBtn {
    display: block;
    margin: 0.5em auto;
    padding: 0.4em 1em;
    font-family: "AnimalCute", sans-serif;
    font-size: 1.2rem;
    background: rgba(255, 255, 255, 0.12);       /* soft pastel overlay */
    border: 1px solid rgba(203, 167, 255, 0.4);  /* softened outline */
    color: var(--text-color2);
    cursor: pointer;
    border-radius: 6px;
}

#cliqueScroller {
    max-height: 0;
    overflow: hidden;
    transition: max-height 300ms ease;
    margin: 0.5em auto;
    width: 90%;
    max-width: 190px;
    border: 1px solid rgba(203, 167, 255, 0.3); /* soft pastel border */
    background: rgba(255, 255, 255, 0.08);      /* gentle overlay */
    backdrop-filter: blur(4px);
    box-shadow: rgba(203, 167, 255, 0.2) 0 0 6px; /* soft glow */
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.3em;
    border-radius: 6px;
}

#cliqueScroller.open {
    max-height: 160px;
    overflow-y: auto;
}

#cliqueScroller a {
    text-decoration: none;
    border: none;
    outline: none;
}

#cliqueScroller img {
    display: block;
    max-height: 50px;
    height: auto;
    width: auto;
}

/* =========================
   MUSIC PLAYER
========================= */
.whangam-player {
    width: fit-content;             
    max-width: 70%;                 
    margin: 0.5em auto;
    padding: 0.4em 0.6em;             
    border: 1px solid rgba(203, 167, 255, 0.25); /* even softer border */
    background: linear-gradient(
        135deg,
        rgba(255, 230, 245, 0.3),
        rgba(230, 245, 255, 0.25),
        rgba(245, 235, 255, 0.28)
    ); /* dreamy pastel gradient */
    backdrop-filter: blur(4px);
    box-shadow: rgba(203, 167, 255, 0.2) 0 0 8px; /* soft glow */
    border-radius: 10px;
    font-family: "AnimalCute", sans-serif;
    color: var(--text-color2);       /* readable text */
    text-align: center;

    display: flex;                   
    flex-direction: column;
    align-items: center;
    gap: 0.25em;                     
}

.whangam-player .track-title {
    font-size: 0.5rem;               
    font-weight: 600;                
    color: var(--text-color);        /* contrasts with gradient */
    opacity: 0.95;
    margin: 0;                       
}

/* Play button */
.play-btn {
    background: rgba(255, 255, 255, 0.25);    
    border: 1px solid rgba(203, 167, 255, 0.35); /* softened outline */
    padding: 0.25em 0.6em;                     
    border-radius: 6px;
    cursor: pointer;
    color: var(--text-color);                 /* readable */
    font-size: 1rem;                          
    transition: background 150ms ease, transform 100ms ease;
}

.play-btn:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: scale(1.05);
}

/* Progress bar */
.progress-container {
    width: 100%;
    height: 4px;                     
    background: rgba(255, 255, 255, 0.12);
    border-radius: 3px;
    overflow: hidden;
    margin-top: 0.2em;
}

.progress {
    height: 100%;
    width: 0%;
    background: linear-gradient(
        90deg,
        rgba(203, 167, 255, 0.9),
        rgba(218, 160, 255, 0.9),
        rgba(230, 200, 255, 0.9)
    );  /* pastel gradient progress bar */
    border-radius: 2px;
}
