.monitor {
  --monitor-fundo: #070707;
  --monitor-tinta: #f5f5f5;
  width: min(100%, 350px);
  margin: 0 auto;
  text-align: center;
}
.monitor-moldura {
  padding: 8px;
  border: 1px solid #646464;
  border-radius: 17px;
  background: linear-gradient(145deg, #454545, #222 42%, #303030 75%, #161616);
  box-shadow: inset 0 1px 2px #ffffff33, 0 12px 32px #0008;
}
.monitor-tela {
  aspect-ratio: 16 / 10;
  min-height: 135px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 9px;
  padding: 12px 8px;
  border-radius: 10px;
  border: 1px solid #383838;
  color: var(--monitor-tinta);
  background: var(--monitor-fundo);
}
.monitor-tela img { display: block; object-fit: contain; }
.monitor-tela strong { font-size: clamp(13px, 1.3vw, 17px); font-weight: 650; }
.monitor-estado { min-height: 1.3em; font-size: 12px; color: #bbb; }
.monitor-luzes { display: flex; justify-content: center; gap: clamp(8px, 1.25vw, 17px); margin-top: 4px; }
.monitor-luzes span { width: 7px; height: 7px; border-radius: 50%; background: var(--cor); opacity: .65; }
.monitor-luzes span:nth-child(1) { --cor: #a278f8; }
.monitor-luzes span:nth-child(2) { --cor: #f5a5c7; }
.monitor-luzes span:nth-child(3) { --cor: #50d283; }
.monitor-luzes span:nth-child(4) { --cor: #59aaff; }
.monitor-luzes span:nth-child(5) { --cor: #fa676b; }
.monitor-luzes span:nth-child(6) { --cor: #f6cb54; }
.monitor[data-estado="ocupado"] .monitor-luzes span { opacity: 1; animation: luz-monitor 1.2s ease-in-out infinite alternate; }
.monitor[data-estado="ocupado"] .monitor-luzes span:nth-child(even) { animation-delay: .35s; }
@keyframes luz-monitor { from { opacity: .55; } to { opacity: 1; } }
.monitor-pe {
  display: block;
  width: 44%;
  height: 29px;
  margin: 0 auto;
  background: linear-gradient(#202020, #4d4d4d 85%, #242424 86%);
  clip-path: polygon(28% 0, 72% 0, 75% 51%, 100% 83%, 100% 100%, 0 100%, 0 83%, 25% 51%);
}
@media (prefers-reduced-motion: reduce) {
  .monitor[data-estado="ocupado"] .monitor-luzes span { animation: none; }
}
