  #roomContainer {
    max-width: 600px;
    margin: 40px auto;
    padding: 20px;
    background: #1e1e1e;
    color: #fff;
    border-radius: 12px;
    font-family: sans-serif;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
  }

  #playerCount {
    font-size: 18px;
    margin-bottom: 15px;
    text-align: center;
  }

#playerList {
  font-size: 22px;
  line-height: 1.6;
  padding: 10px;
  background: #2a2a2a;
  border-radius: 8px;
  min-height: 200px;
}

.playerEntry {
  font-size: 24px;
  padding: 6px 0;
}
  #roomButtons {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
  }

#roomButtons button {
  display: inline-block;
  height: 40px;
  padding: 0 16px;
  font-size: 16px;
  line-height: 40px;           /* vertikale Zentrierung */
  text-align: center;
  border: none;
  border-radius: 6px;
  background: #444;
  color: #fff;
  cursor: pointer;
  transition: background 0.3s;
  vertical-align: middle;
}

  #roomButtons button:disabled {
    background: #666;
    cursor: not-allowed;
  }

  #roomButtons button:hover:not(:disabled) {
    background: #5c5cff;
  }

  .fullRoom {
    color: #ff4444;
    font-weight: bold;
  }

  .notFullRoom {
    color: #44ff44;
    font-weight: bold;
  }

#mapPreview {
  margin-top: 10px;
  padding: 10px;
  background: #2a2a2a;
  border-radius: 8px;
  color: #fff;
}
#mapPreview h4 {
  margin-bottom: 5px;
}
#mapPreview img {
  margin-top: 10px;
  max-width: 100%;
  border-radius: 8px;
}

#roomListContainer {
  max-width: 800px;
  margin: 30px auto;
  background: #1a1a1a;
  color: #eee;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 0 12px rgba(0,0,0,0.6);
  font-family: 'Segoe UI', sans-serif;
}
#roomListContainer h2 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 1.6em;
}
.symbol {
  font-size: 1.2em;
  margin-right: 6px;
}
.roomTable {
  width: 100%;
  border-collapse: collapse;
}
.roomTable th, .roomTable td {
  padding: 12px;
  text-align: left;
}
.roomTable th {
  background-color: #333;
  color: #fff;
}
.roomTable tr:nth-child(even) {
  background-color: #2a2a2a;
}
.roomTable tr:hover {
  background-color: #3a3a3a;
}
.roomAction {
  color: #00ccff;
  text-decoration: none;
  font-weight: bold;
}
.roomAction:hover {
  text-decoration: underline;
}
.noRooms {
  text-align: center;
  font-style: italic;
  color: #aaa;
}

.roomFull {
  color: #ff4444;
  font-weight: bold;
}

#chatContainer {
  background: #1a1a1a;
  border: 1px solid #333;
  padding: 10px;
  border-radius: 8px;
  max-width: 600px;
  margin: 20px auto;
  color: #eee;
}
#chatMessages {
  height: 200px;
  overflow-y: auto;
  background: #2a2a2a;
  padding: 10px;
  margin-bottom: 10px;
  border-radius: 6px;
  font-size: 0.9em;
}
#chatMessages div {
  margin-bottom: 6px;
}
#chatForm {
  display: flex;
  gap: 8px;
}

#chatInput {
  flex: 1;
  padding: 10px;
  border: none;
  border-radius: 6px;
  font-size: 1em;
  background-color: #fff;
  color: #000;
}

#chatForm button {
  padding: 10px 16px;
  font-size: 1em;
  border: none;
  border-radius: 6px;
  background-color: #00ccff;
  color: #000;
  font-weight: bold;
  cursor: pointer;
  white-space: nowrap;
  height: 100%;
}
.chatTime {
  color: #888;
  margin-right: 6px;
  font-size: 0.85em;
}

/* Shop-Überschrift mit Icon */
#shop h2 {
  color: #fff;
  text-shadow: 0 0 6px #0ff;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* Kontostand-Zeile */
#shop p.text-center {
  font-size: 1.2rem;
  color: #ccc;
}

/* Kartenlayout */
.card {
  background-color: #1b1b1b;
  border: 1px solid #333;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: scale(1.02);
  box-shadow: 0 0 12px #0ff;
}

/* Kartentitel */
.card-title {
  color: #0ff;
  font-weight: 600;
}

/* Beschreibungstext */
.card-text {
  font-size: 0.95rem;
  color: #ddd;
}

/* Preis- und Besitzzeilen */
.card-body p {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

/* Kaufen-Button */
.btn-outline-info {
  border-color: #0ff;
  color: #0ff;
}

.btn-outline-info:hover {
  background-color: #0ff;
  color: #000;
  border-color: #0ff;
}

#deviceContainer {
  margin-top: 30px;
  background: #1a1a1a;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
  color: #eee;
}

#deviceContainer h3 {
  text-align: center;
  margin-bottom: 20px;
}

.deviceRow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #2a2a2a;
  padding: 10px;
  margin-bottom: 10px;
  border-radius: 8px;
}

.deviceName {
  flex: 2;
  font-weight: bold;
}

.deviceName small {
  display: block;
  font-weight: normal;
  font-size: 0.85em;
  color: #aaa;
}

.deviceLobbyCount,
.deviceOwned {
  flex: 0 0 80px;
  text-align: center;
  font-size: 1.1em;
}

.deviceControls {
  flex: 0 0 80px;
  display: flex;
  justify-content: center;
  gap: 6px;
}

.deviceBtn {
  background: #444;
  color: #fff;
  border: none;
  border-radius: 6px;
  width: 32px;
  height: 32px;
  font-size: 1.2em;
  cursor: pointer;
  transition: background 0.2s;
}

.deviceBtn:hover {
  background: #5c5cff;
}

#deviceContainer {
  margin-top: 30px;
  background: #1a1a1a;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
  color: #eee;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

#deviceContainer h3 {
  text-align: center;
  margin-bottom: 20px;
}

#deviceGrid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-top: 20px;
}

.deviceCard {
  background: #2a2a2a;
  border-radius: 10px;
  padding: 12px;
  width: 240px;
  box-shadow: 0 0 6px rgba(0,0,0,0.4);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #eee;
}

.deviceTitle {
  font-weight: bold;
  font-size: 1.1em;
  margin-bottom: 4px;
  text-align: center;
}

.deviceDesc {
  font-size: 0.85em;
  color: #aaa;
  margin-bottom: 8px;
  text-align: center;
}

.deviceStats {
  display: flex;
  justify-content: space-around;
  font-size: 0.95em;
  margin-bottom: 10px;
}

.deviceControls {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: auto;
}

.deviceBtn {
  background: #444;
  color: #fff;
  border: none;
  border-radius: 6px;
  width: 40px;
  height: 40px;
  font-size: 1.2em;
  cursor: pointer;
  transition: background 0.2s;
}

.deviceBtn:hover {
  background: #5c5cff;
}
