.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.theme-switcher {
  display: flex;
  align-items: center;
  gap: 3px;
  min-height: 34px;
  padding: 3px;
  color: #bbb3ac;
  background: rgba(18, 17, 19, .9);
  border: 1px solid #4f494e;
  box-shadow: 3px 3px 0 rgba(7, 7, 8, .9);
  font-family: var(--pixel);
}

.theme-switcher-label {
  padding: 0 7px;
  color: #8e8783;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 1.3px;
}

.theme-switcher button {
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 8px;
  border: 0;
  color: #908a87;
  background: transparent;
  cursor: pointer;
  font: 700 8px/1 var(--pixel);
  letter-spacing: .6px;
}

.theme-switcher button:hover {
  color: #fff3df;
  background: #302c30;
}

.theme-switcher button[aria-pressed="true"] {
  color: #281106;
  background: linear-gradient(180deg, #ffc25b, #ff751b);
  box-shadow: inset -2px -2px 0 rgba(123, 35, 4, .42), inset 2px 2px 0 rgba(255, 239, 184, .42);
}

.theme-swatch {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border: 1px solid rgba(255,255,255,.34);
  box-shadow: 1px 1px 0 rgba(0,0,0,.65);
}

.theme-swatch-brand {
  background: #ff7419;
}

.theme-swatch-green {
  background: #9adf46;
}

html[data-theme="green"] .theme-switcher {
  color: #a9b6a9;
  background: rgba(12, 18, 14, .93);
  border-color: #3d4c3f;
}

html[data-theme="green"] .theme-switcher button:hover {
  color: #c5ff63;
  background: #243023;
}

html[data-theme="green"] .theme-switcher button[aria-pressed="true"] {
  color: #14200f;
  background: #9adf46;
  box-shadow: inset 0 -3px 0 rgba(48, 91, 20, .38), inset 2px 2px 0 rgba(224, 255, 179, .3);
}

html[data-theme="green"] .pose-button:hover,
html[data-theme="green"] .pose-button.active {
  color: var(--lime-bright);
  background: #243023;
  box-shadow: inset 0 -3px 0 var(--lime);
}

html[data-theme="green"] .icon-button:hover,
html[data-theme="green"] .icon-button:focus-visible {
  color: #14200f;
  background: var(--lime);
  border-color: var(--lime-bright);
  box-shadow: inset 0 -4px 0 rgba(48, 91, 20, .35), 3px 3px 0 rgba(6, 10, 7, .8);
}

@media (max-width: 760px) {
  .header-actions {
    gap: 8px;
  }

}

@media (max-width: 620px) {
  .theme-switcher {
    gap: 2px;
    padding: 2px;
    box-shadow: 2px 2px 0 rgba(7, 7, 8, .9);
  }

  .theme-switcher button {
    min-height: 25px;
    padding: 0 6px;
    font-size: 7px;
  }

  .theme-swatch {
    width: 7px;
    height: 7px;
  }
}

@media (max-width: 390px) {
  .theme-switcher button {
    gap: 4px;
    padding: 0 5px;
    font-size: 6px;
  }
}
