#gadgetBar {
  position: fixed;
  z-index: 15;
  bottom: 86px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 7px;
  max-width: calc(100vw - 30px);
  pointer-events: auto;
}
#gadgetBar.hide {
  display: none;
}
#gadgetBar button {
  position: relative;
  display: grid;
  gap: 4px;
  min-width: 118px;
  background: #12232bef;
  border: 1px solid #68808a;
  border-radius: 8px;
  padding: 9px 12px 9px 30px;
  color: #e4edf0;
  text-align: left;
  font:
    14px Archivo,
    sans-serif;
  cursor: pointer;
}
#gadgetBar kbd {
  position: absolute;
  left: 9px;
  top: 10px;
  color: #d3f990;
  font:
    600 14px Archivo,
    sans-serif;
}
#gadgetBar small {
  font-size: 12px;
  color: #a9bac2;
}
#gadgetBar .gadget-ready {
  border-color: #b9e876;
  background: #263921ed;
}
#gadgetBar .gadget-ready small {
  color: #d1f99d;
}
#gadgetBar button:disabled {
  opacity: 0.55;
  cursor: default;
}
#gadgetBar button:focus-visible {
  outline: 3px solid #c8f477;
  outline-offset: 3px;
}
#shop .box {
  max-height: 88vh;
  overflow: auto;
}
#ups h3 {
  margin: 22px 0 10px;
  color: #c8f477;
  font-size: 17px;
}
#ups .up small {
  line-height: 1.5;
}
#ups .up button {
  white-space: nowrap;
}
@media (max-width: 900px) {
  #gadgetBar {
    bottom: 128px;
  }
  #gadgetBar button {
    min-width: 0;
    width: 130px;
    padding: 9px 8px 9px 26px;
    font-size: 13px;
  }
  #gadgetBar kbd {
    left: 8px;
  }
}
@media (max-width: 600px) {
  #gadgetBar {
    left: 10px;
    bottom: 10px;
    transform: none;
    flex-direction: column;
    gap: 4px;
    max-width: 116px;
  }
  #gadgetBar button {
    width: 112px;
    padding: 7px 5px 7px 23px;
    font-size: 12px;
  }
  #gadgetBar small {
    font-size: 11px;
  }
  .quick-actions {
    left: auto;
    right: 10px;
    transform: none !important;
    width: calc(100vw - 145px);
    max-width: 320px !important;
  }
  .speed-chip {
    bottom: 260px !important;
  }
}
#gadgetBar {
  flex-wrap: wrap;
  justify-content: center;
  width: max-content;
  max-width: min(880px, calc(100vw - 30px));
}
#gadgetBar button[hidden] {
  display: none;
}
@media (max-width: 600px) {
  #gadgetBar {
    max-width: 116px;
    max-height: 50vh;
    overflow: auto;
    flex-wrap: nowrap;
  }
}
