.live-stream {
  box-sizing: border-box;
  width: 300px;
  height: 125px;
  margin-bottom: 10px;
  border: 3px solid #cccccc;
  padding: 0 7px;
  border-radius: 10px;
  background: #DDDDDD;
}

.player {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 5px;
  gap: 5px;
}

.player button {
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
}

#volume { 
  accent-color: black; 
  width: 120px; 
  height: 30px; 
  background: linear-gradient(#444, #111); 
  border: 1px solid #888; 
  box-shadow: inset 0 0 2px #000; }


.meter-container {
  position: relative;
  width: 100%;
  height: 40px;

  border: 1px solid #333;
  border-radius: 4px;

  overflow: hidden;
  margin-top: 10px;

  background: #ddd;
}

.meter-text {
  visibility: hidden;
  width: 100%;
  color: #000;
  text-align: center;
  padding: 5px 0;
  position: absolute;
  z-index: 1;
}

.meter-container:hover .meter-text {
  visibility: visible;
}


.meter-zones {
  position: absolute;
  inset: 0;
  z-index: 1;

  background: linear-gradient(
    to right,
    rgba(0,255,0,0.18) 0%,
    rgba(0,255,0,0.18) 58.3%,

    rgba(255,165,0,0.18) 58.3%,
    rgba(255,165,0,0.18) 83.3%,

    rgba(255,0,0,0.18) 83.3%,
    rgba(255,0,0,0.18) 100%
  );
}

.meter-bar {
  position: absolute;
  top: 0;
  height: 100%;
  z-index: 2;

  transition: width 0.03s linear;
}

#green-bar {
  left: 0;
  background: lime;
  max-width: 58.3%;
}

#orange-bar {
  left: 58.3%;
  background: #ffaa00;
  max-width: 25%;
}

#red-bar {
  left: 83.3%;
  background: red;
  max-width: 16.7%;
}

.meter-scale {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
}

.tick {
  position: absolute;
  top: 0;

  height: 100%;

  display: flex;
  align-items: flex-end;

  transform: translateX(-50%);

  font-size: 10px;
  color: #000;
  font-family: Arial, sans-serif;
}

#peak-dot { 
  position: absolute; 
  top: 0; width: 3px; 
  height: 100%; 
  background: #000; 
  z-index: 5; 
  box-shadow: 0 0 4px rgba(255,255,255,0.9); 
}





