/* ==========================================================================
   [05] PLAYER-TERMINAL (80/20 BANNER-LOOK)
   ========================================================================== */

   .player-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    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 #001b3d; 
        z-index: 1;

}
.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: left; 
}

/* Passe .track-entry an */
.track-entry {
    padding: 20px;
    background: rgba(255, 255, 255, 0.4);
    border-left: 8px solid #2f3d4d;
    border-radius: 0 15px 15px 0; /* Nur die rechte Seite abgerundet */
    margin: 10px 10px 10px 0;    /* Abstand zwischen den Einträgen */
    border-bottom: none;         /* Trennlinien weg */
    transition: all 0.3s ease;
}

.track-entry.now-playing {
    border-left: 8px solid #ff4949; /* Hellblau für den aktuellen Song */
    background: #f0faff; /* Ganz zarter blauer Schimmer für den aktiven Track */
    font-weight: bold;
}

.track-entry:hover {
    background: rgba(255, 255, 255, 0.7);
    transform: translateX(5px);  /* Kleiner "Schweb-Effekt" beim Hover */
}

.track-time {
    font-size: 0.8em;
    color: #888;
    display: block;
}

/* Passe .player-content-side an */
.player-content-side {
    padding: 40px 20px;
    background: rgba(0, 27, 61, 0.92); /* Leichte Transparenz im Blau */
    backdrop-filter: blur(15px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-width: 200px;
    color: #ffffff;
}

.player-headline { 
    font-size: 1.5rem; 
    border-bottom: 4px solid #e8e8e8; 
    margin-bottom: 30px; 
    text-align: center;
    text-transform: uppercase;
    width: 100%;
}

/* UI-Verbesserung: Status-Box mit Lauftext */
.status-box { 
    background: #ffffff; 
    border: 1px solid #e8e8e8; 
    padding: 15px; 
    width: 100%; 
    box-sizing: border-box;
    margin-bottom: 20px;
    color: #001b3d;
    font-family: 'Roboto Mono', monospace;
    overflow: hidden; /* Für Marquee */
    white-space: nowrap;
}

#player-current-title {
    display: inline-block;
    font-weight: bold;
    font-size: 0.85rem;
    padding-left: 100%;
    animation: marquee 15s linear infinite;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

.player-btn { 
    background: #e8e8e8; 
    color: #001b3d; 
    border: none;
    padding: 20px; 
    width: 100%;
    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-container { width: 100%; margin-top: 25px; }
.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; 
}

.player-info-note { 
    margin-top: 30px; 
    font-family: 'Roboto Mono', monospace; 
    font-size: 0.65rem; 
    text-align: center; 
    opacity: 0.7;
    text-align: left;
}

.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;
    }
}





    
