/* One unified horizontal action bar; the redundant resource HUD is hidden. */
.game-hud { display: none !important; }

.unified-client-actions {
  position: absolute;
  z-index: 12;
  left: 50%;
  top: 6px;
  display: flex;
  align-items: center;
  max-width: calc(100% - 130px);
  padding: 3px;
  overflow-x: auto;
  overflow-y: hidden;
  transform: translateX(-50%);
  background: #11171be8;
  border: 1px solid #806b32;
  border-radius: 5px;
  box-shadow: 0 3px 12px #000a;
  scrollbar-width: none;
}

.unified-client-actions::-webkit-scrollbar { display: none; }

.unified-client-actions .client-top-actions,
.unified-client-actions .client-toolbar {
  position: static;
  z-index: auto;
  left: auto;
  right: auto;
  top: auto;
  display: flex;
  flex: 0 0 auto;
  flex-direction: row;
  align-items: center;
  gap: 3px;
  padding: 0;
  overflow: visible;
  transform: none;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.unified-client-actions .client-top-actions {
  padding-right: 5px;
  margin-right: 5px;
  border-right: 1px solid #806b32;
}

.unified-client-actions .client-top-actions button,
.unified-client-actions .client-toolbar button {
  width: 38px;
  height: 34px;
  flex: 0 0 38px;
  padding: 1px;
  border: 0;
  border-radius: 3px;
  background: #ffffff08;
  box-shadow: none;
}

.unified-client-actions .client-toolbar button:hover,
.unified-client-actions .client-toolbar button.active {
  border: 0;
  background: #ffffff18;
  transform: translateY(-1px);
}

.unified-client-actions .client-toolbar span {
  left: 50%;
  right: auto;
  top: 38px;
  z-index: 20;
  transform: translateX(-50%);
}

@media (max-width: 740px) {
  .unified-client-actions {
    left: 6px;
    right: 6px;
    top: 5px;
    max-width: none;
    transform: none;
  }
  .unified-client-actions .client-top-actions,
  .unified-client-actions .client-toolbar { display: flex; }
}
