body {
  background: #0e0e10;
  color: white;
  font-family: sans-serif;
  margin: 0;
}
#layout {
  display: flex;
  height: 100vh;
}
#stream-area {
  flex: 3;
  display: flex;
  flex-direction: column;
}
#player {
  flex: 1;
  background: black;
  border: 0px;
}
#chat-area {
  flex: 1;
  border-left: 1px solid #333;
  display: flex;
  flex-direction: column;
}
#chat-display {
  flex: 1;
  overflow-y: auto;
  padding: 10px;
}
.msg {
  margin-bottom: 8px;
  font-size: 0.9em;
}
.twitch {
  border-left: 3px solid #9147ff;
  padding-left: 5px;
}
.youtube {
  border-left: 3px solid #ff0000;
  padding-left: 5px;
}
.kick {
  border-left: 3px solid #53fc18;
  padding-left: 5px;
}
#input-container {
  padding: 10px;
  background: #18181b;
}
input {
  width: 80%;
  padding: 8px;
  background: #222;
  color: white;
  border: 1px solid #444;
}
.hidden {
  visibility: hidden;
}
#login-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-content {
  background: #18181b;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
}
#platform-selector {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 10px;
  background: #1a1a1a;
  font-size: 0.8em;
  border-top: 1px solid #333;
}

#platform-icons img {
  width: 20px;
  height: 20px;
  margin-left: 8px;
  cursor: pointer;
  filter: grayscale(100%); /* Standard: Ausgegraut */
  transition: 0.2s;
  opacity: 0.4;
}

#platform-icons img.logged-in {
  filter: grayscale(0%); /* Farbe wenn eingeloggt */
  opacity: 0.7;
}

#platform-icons img.active-platform {
  opacity: 1;
  transform: scale(1.2);
  border-bottom: 2px solid #fff; /* Unterstreichung des aktiven Senders */
}

#platform-icons img:hover {
  opacity: 1;
}
