#v2-queue-panel {
  position: absolute;
  top: 60px;
  right: 16px;
  width: 260px;
  max-height: calc(100vh - 100px);
  overflow-y: auto;
  background: rgba(13, 17, 23, 0.92);
  border: 1px solid var(--neon-muted);
  padding: 10px 12px 12px;
  font-family: var(--font-body);
  color: var(--ink);
  font-size: 12px;
  z-index: 10;
}

.queue-title {
  color: var(--neon-primary);
  font-family: var(--font-heading);
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 8px;
  border-bottom: 1px solid rgba(0, 212, 255, 0.10);
  padding-bottom: 6px;
}

.queue-empty {
  color: #5a6878;
  font-size: 11px;
  font-style: italic;
}

.queue-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.queue-item {
  background: rgba(0, 212, 255, 0.04);
  border: 1px solid rgba(0, 212, 255, 0.10);
  color: var(--ink);
  font-family: var(--font-body);
  padding: 6px 8px 8px;
  cursor: pointer;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: background 150ms, border-color 150ms;
}
.queue-item:hover {
  background: rgba(0, 212, 255, 0.10);
  border-color: var(--neon-primary);
}
.queue-label {
  font-size: 12px;
  color: #e6edf3;
  text-transform: capitalize;
}
.queue-meta {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: #8b949e;
  letter-spacing: 0.5px;
}
.queue-bar {
  height: 3px;
  background: rgba(0, 212, 255, 0.10);
  position: relative;
  overflow: hidden;
}
.queue-bar-fill {
  position: absolute;
  inset: 0 auto 0 0;
  background: var(--neon-primary);
  transition: width 400ms ease-out;
}

.queue-item-build .queue-bar-fill { background: #ffaa00; }
.queue-item-unit  .queue-bar-fill { background: #ff5544; }
.queue-item-worker .queue-bar-fill { background: #44ddaa; }
.queue-item-move  .queue-bar-fill { background: #00d4ff; }
