@font-face {
    font-family: "Monospace821Regular";
    src: url('assets/fonts/MONOSPACE821BT.TTF') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@import url('https://fonts.googleapis.com/css2?family=Mozilla+Headline:wght@300&display=swap');

:root {
    --link-color: #0000EE;
    --bg-color: #ffffff;
    --text-color: #000;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body, html {
    height: 100%;
    background-color: var(--bg-color);
}

.container {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

h1 {
    font-family: 'Mozilla Headline', sans-serif;
    font-weight: 300;
    font-size: clamp(3rem, 15vw, 10rem);
    letter-spacing: -2px;
    margin-bottom: 30px;
}

.brutalist-player-inline {
    width: 100%;
    max-width: 600px; /* Moins large que le paragraphe (800px) */
    background: transparent;
    font-family: "Monospace821Regular", monospace;
    margin: 70px 0 30px 0;
}

.player-row {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 8px; /* Espace réduit avant la playlist */
}

.audio-btn {
    background: #000;
    color: #fff;
    border: none;
    padding: 3px 10px;
    cursor: pointer;
    font-weight: bold;
    font-size: 11px;
}

.track-status { font-size: 10px; font-weight: bold; min-width: 45px; }

/* Barre de progression fine */
.progress-container {
    flex-grow: 1;
    height: 2px; /* Plus fin */
    background: #e0e0e0;
    cursor: pointer;
    position: relative;
}
.progress-fill {
    height: 100%;
    background: var(--link-color);
    width: 0%;
}

/* Volume : Custom Slider (Ligne + Trait vertical) */
.volume-control { display: flex; align-items: center; gap: 5px; }
.vol-label { font-size: 9px; font-weight: bold; }
#volumeSlider {
    -webkit-appearance: none; /* La ligne qui cause l'alerte */
    appearance: none;         /* AJOUTE CETTE LIGNE (Version standard) */
    
    width: 50px;
    height: 1px;
    background: #000;
    outline: none;
}

/* Fais de même pour le "thumb" (le curseur vertical) si besoin */
#volumeSlider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;         /* AJOUTE AUSSI ICI */
    
    width: 1px;
    height: 10px;
    background: #000;
    cursor: pointer;
}

/* Le trait vertical pour Firefox */
#volumeSlider::-moz-range-thumb {
    width: 1px;
    height: 10px;
    background: #000;
    border: none;
    border-radius: 0;
    cursor: pointer;
}

/* Playlist Horizontale alignée sous la barre */
#playlist-inline {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 12px;
    margin-left: 125px; /* Aligne approximativement sous le début de la barre de prog */
}

#playlist-inline li a {
    color: #999; /* Discret par défaut */
    text-decoration: none;
    font-size: 10px;
    font-weight: bold;
}

#playlist-inline li.active a {
    color: var(--link-color);
    text-decoration: none; /* Style simple pour l'actif */
}