/* Grundlayout */
body {
    font-family: Arial, sans-serif;
    font-size: 9px; /* Basisgröße für rem – ändere hier, um alles zu skalieren */
    text-align: left; /* Text und Inhalt linksbündig */
    margin: 0;
    padding: 0;
    background: transparent;
    color: #ffffff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Inhalt oben statt in der Mitte */
    align-items: flex-start; /* Inhalt nach links ausrichten */
    padding-left: 5px; /* Optional: etwas Abstand vom linken Rand */
}

/* Container */
.container {
    display: flex;
    flex-direction: column;
    gap: 3px;
    background: transparent;
    padding: 6px;
    border-radius: 8px;
    border: 1px solid #1e90ff;
    width: 90%;
    max-width: 150px;
}

/* Boxen */
.box {
    padding: 5px;
    background: transparent;
    border-radius: 8px;
    border: 1px solid #1e90ff;
    margin-bottom: 2px;
    color: #ffffff;
    font-size: 1.5rem;
}

/* Nur die Titelbox hat zusätzlichen Abstand */
.title-box {
    margin-top: 10px;
    margin-bottom: 2px;
}

/* Moderator-Bereich */
.moderator {
    display: flex;
    flex-direction: column;
    align-items: center; /* Links ausgerichtet */
    gap: 1px;
    padding: 4px 0;
    background: transparent;
    border-radius: 8px;
    border: 1px solid #1e90ff;
    max-height: 150px;
    overflow: hidden;
}

/* Moderator-Name */
.moderator-name {

    font-size: 1.0rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
    line-height: 1.1;
}

/* Moderator-Bild */
.moderator-image {
    width: 100%;
    max-height: 80px;
    object-fit: contain;
    border-radius: 6px;
    border: 2px solid #1e90ff;
    margin-top: 4px;
    margin-bottom: 2px;
}

     .title-box > p {
    margin: 0;
    width: 100%;
    text-align: center;
    font-size: 0.9rem; /* Passe die Größe nach Wunsch an (z. B. 0.8rem oder 0.7rem) */
    margin: 0;
}

/* Aktueller Titel – Box */
.current-title {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start; /* Links ausgerichtet */
    padding: 8px 12px;
    height: 120px;
    font-size: 12px;
   /* font-weight:bold ; */
    line-height: 1.4;
    color: #ffffff;
    border: 1px solid #1e90ff;
    overflow-y: auto;
    overflow-x: hidden;
    background: transparent;
    text-align: left; /* Links ausgerichtet */
    word-wrap: break-word;
    word-break: break-word;
    overflow-wrap: break-word;

    scrollbar-width: auto;      /* Firefox */
}

/* Scrollbar für WebKit */
  /* Für Firefox */
.current-title {
    scrollbar-color: red transparent;
    scrollbar-width: thin;
}

/* Für Chrome, Edge, Safari */
.current-title::-webkit-scrollbar {
    width: 12px;
}

.current-title::-webkit-scrollbar-thumb {
    background-color: red;
    border-radius: 2px;
}

.current-title::-webkit-scrollbar {
    width: 12px;
}

.current-title::-webkit-scrollbar-thumb {
    background-color: #1e90ff;
    border-radius: 2px;
}

/* Lautstärkeregler */
.volume-control input[type="range"] {
    width: 100%;
    height: 4px;
    border-radius: 5px;
    background: linear-gradient(to right, #1e90ff, #00ced1);
    cursor: pointer;
}

.volume-control input[type="range"]::-webkit-slider-thumb,
.volume-control input[type="range"]::-moz-range-thumb {
    background: #fff;
    border: 2px solid #1e90ff;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    cursor: pointer;
}

/* Steuerbuttons */
.control-buttons {
    display: flex;
    gap: 10px;
    justify-content: center; /* mittig ausgerichtet */
    margin-top: 4px;
}

.control-buttons button {
    color: #fff;
    border: none;
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.75rem;
    transition: background 0.3s ease, transform 0.2s ease;
}

#power-on {
    background-color: #1e90ff;
}

#power-on:hover {
    background-color: #1c86ee;
    transform: scale(1.05);
}

#power-off {
    background-color: #dc3545;
}

#power-off:hover {
    background-color: #c82333;
    transform: scale(1.05);
}

/* Audio Player */
.audio-player {
    display: none;
}

.stream-stats p {
    margin: 5px 0;
    font-size: 14px;
}