/* ==========================================================================
   [05] PLAYER-TERMINAL (80/20 BANNER-LOOK)
   ========================================================================== */

   .player-avatar {
    width: 24px;
    height: 24px;
    border-radius: 10%;
    object-fit: cover;
    margin-left: 8px;
    vertical-align: middle;
    border: 1px solid #ffffff;
    padding-bottom: 5px;
}

.user-info-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 20px;
    color: #ffffff;
    font-size: 0.9rem;
}

/* Container für die Hörer-Leiste zähmen */
.listeners-bar {
    display: flex;
    flex-wrap: nowrap; /* WICHTIG: Kein Umbruch mehr in die nächste Zeile */
    overflow-x: auto;  /* WICHTIG: Horizontaler Scrollbalken, wenn nötig */
    gap: 6px;          /* Etwas weniger Abstand, um Platz zu sparen */
    margin-bottom: 15px; /* Etwas weniger Abstand zur Headline */
    padding: 8px;      /* Kompakteres Padding */
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid #e8e8e8;
    
    /* Optionale visuelle Verschönerung des Scrollbalkens */
    scrollbar-width: thin; /* Für Firefox */
    scrollbar-color: rgba(232, 232, 232, 0.3) transparent; /* Für Firefox */
}

/* Scrollbalken-Styling für Chrome/Safari/Edge */
.listeners-bar::-webkit-scrollbar {
    height: 4px; /* Sehr flacher Scrollbalken */
}

.listeners-bar::-webkit-scrollbar-thumb {
    background: rgba(232, 232, 232, 0.3);
    border-radius: 4px;
}

/* Die Avatare leicht verkleinern */
.listener-avatar {
    width: 30px; /* Von 35px auf 30px */
    height: 30px;
    flex-shrink: 0; /* Verhindert, dass Avatare gestaucht werden */
    border: 2px solid #ffffff;
    border-radius: 50%;
    position: relative;
    cursor: help;
}


.banner-container { 
    line-height: 0;
        border-bottom: 8px solid #8d8d8d; 
        z-index: 1;

}

/* 2. Banner: Lückenlos (100% Breite) */
.playerbanner-container { 
    line-height: 0; 
    width: 100%; /* Korrektur von 1005 auf 100% */
    z-index: 1;
}

.playerbanner-image { 
    width: 100%; display: block; 
}

.banner-image { 
    width: 100%; display: block; 
}

/* Ersetze .player-card in deinem CSS */
.player-card {
    width: 100%;
    background: rgba(255, 255, 255, 0.85); /* Etwas Transparenz */
    backdrop-filter: blur(10px);          /* Der "Milchglas"-Effekt */
    border-radius: 20px 0 20px 0;         /* Deine gewünschte asymmetrische Rundung */
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: grid;
    grid-template-columns: 80% 20%; 
    height: 680px; 
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.playlist-container {
    display: flex;
    flex-direction: column;
    /* Gap auf 0, damit sie direkt aneinander liegen */
    gap: 0; 
    padding: 0; /* Padding am Container entfernen */
    text-align: right; 
}

/* Passe .track-entry an */
.track-entry {
    padding: 20px;
    background: #004e7a;
    border-right: 100px solid #ffffff;
    color: white;
    border-bottom: none;         /* Trennlinien weg */
    transition: all 0.1s ease;
}

.track-entry.now-playing {
    border-left: 8px solid #ff751f; /* Hellblau für den aktuellen Song */
    background: #ff751f; /* Ganz zarter blauer Schimmer für den aktiven Track */
    font-weight: bold;
    color: white;
    text-align: center;
}

.track-time {
    font-size: 0.8em;
    color: #ffffff;
    display: block;
}

/* 1. Player Content Side Container vorbereiten */
.player-content-side {
    background: #001b3d;
    backdrop-filter: blur(15px);
    display: flex;
    flex-direction: column;
    align-items: center; /* Zentriert die Elemente */
    min-width: 250px;
    color: #ffffff;
    /* Hier kein Padding, da wir es in den Kind-Elementen steuern */
}

/* 3. Status-Box: Lückenlos (100% Breite) */
.status-box { 
    background: #ffffff; 
    border: 1px solid #e8e8e8;  
    width: 100%; 
    box-sizing: border-box;
    margin-bottom: 20px;
    color: #ff751f;
    font-family: 'Roboto Mono', monospace;
    overflow: hidden;
    white-space: nowrap;
    /* padding-left/right entfernt für "lückenlos" */
    padding-left: 0; 
    padding-right: 0;
}

#player-current-title {
    display: inline-block;
    font-weight: bold;
    font-size: 2.0rem;
    padding-left: 100%;
    animation: marquee 15s linear infinite;
    will-change: transform; 
    backface-visibility: hidden;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

.player-btn { 
    background: #e8e8e8; 
    color: #001b3d; 
    border: none;
    font-family: 'Oswald', sans-serif; 
    font-weight: 600; 
    cursor: pointer; 
    text-transform: uppercase;
    box-shadow: 0 4px 0 #a6a6a6;
    transition: 0.1s;
}

.player-btn:active { transform: translateY(2px); box-shadow: 0 2px 0 #a6a6a6; }
.player-btn:hover { background: #ffffff; }

.volume-bar { width: 100%; appearance: none; background: #334b6b; height: 4px; outline: none; }
.volume-bar::-webkit-slider-thumb { 
    appearance: none; width: 12px; height: 20px; background: #ffffff; cursor: pointer; 
}

/* Angepasste Info-Note: Klein, grau, vertikales & horizontales Padding */
.player-info-note { 
    /* Vertikal (oben 30px, unten 10px), Horizontal (20px) */
    padding: 30px 20px 10px 20px; 
    
    font-family: 'Roboto Mono', monospace; 
    font-size: 0.65rem; 
    color: #888888;     
    text-align: left;
    
    width: 100%;
    box-sizing: border-box;
    margin-top: 0; /* Margin entfernen, da wir jetzt Padding nutzen */
}

/* Die anderen Elemente (Button, Headline, etc.) bekommen ebenfalls vertikales Padding */
.player-headline {
    padding: 20px 20px 30px 20px;
    width: 100%;
    box-sizing: border-box;
}

.player-btn {
    padding: 30px 20px; /* Oben/Unten 10px, Links/Rechts 20px */
    width: 90%;
    height: 30;
    box-sizing: border-box;
    font-size: 1.5rem;

}
.volume-container {
    padding: 30px 20px; /* Oben/Unten 10px, Links/Rechts 20px */
    width: 100%;
    box-sizing: border-box;
}

.system-divider {
    margin: 5px 0;
    text-align: center;
    font-family: 'Roboto Mono', monospace;
    font-size: 1.0rem;
    color: #8d8d8d;
    letter-spacing: 1px;
    user-select: none;
    white-space: nowrap;
    overflow: hidden;
}

/* ==========================================================================
   [07] MOBILE ANPASSUNGEN (FLACHE STRUKTUR)
   ========================================================================== */
@media screen and (max-width: 1000px) {
 header, .header-inner {
        width: 100% !important;
        max-width: 100vw !important;
        overflow: hidden !important;
        padding: 0 5px !important;
    }

    /* 1. Header-Background mobil reaktivieren */
    .header-bg-slash {
        display: block !important; /* Wieder sichtbar machen */
        width: 25% !important;     /* Mobil schmaler halten (z.B. 25% statt 40%) */
        clip-path: polygon(25% 0%, 100% 0%, 100% 100%, 0% 100%) !important;
        background: #001b3d !important;
        z-index: 0 !important;
    }

    /* 2. Der Ticker bekommt den restlichen Platz, aber darf ihn nicht sprengen */
    .status-container {
     display: none !important;
    }
    
    #icecast-title {
     display: none !important;
    }

    /* 2. Elemente müssen schrumpfen dürfen */
    .logo-container { 
        display: block !important; /* Wieder sichtbar machen */
    }
    
/* User-Widget auf Mobile komplett ausblenden */
    .user-header-widget {
         display: none !important; /* Wieder sichtbar machen */
    }


/* Der Status-Container darf nicht mehr den Platz sprengen */
    .icecast-status {
     display: none !important;
    }

    
    /* Player Card Umbruch */
    .player-card { display: flex !important; flex-direction: column !important; height: auto !important; border-left: 0 !important; border-top: 10px solid #001b3d; }
    .playlist-section { height: 300px !important; order: 2; }
    .player-content-side { order: 1; padding: 20px !important; width: 100% !important; }


nav { 
        margin-left: auto !important; /* DRÜCKT ALLES NACH RECHTS */
        flex: 0 0 auto !important;
        display: flex !important;
        align-items: center !important;
    }
}





    
