.select-menu {
  width: 382px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 8px;
  background: #646464;
  background-color: #313031;
}

.select-menu-header {
  display: flex;
  flex-direction: row;
}
.select-menu-header-title {
  font-weight: 700;
  font-stretch: 100%;
  font-size: 19.2px;
  color: #ffe6c0;
}
.select-menu-header-spacer {
  flex-grow: 1;
  cursor: grab;
  margin: 2px 6px;
  background: repeating-linear-gradient(
    90deg,
    #2b2b2b,
    #2b2b2b 3px,
    rgb(56, 55, 56) 3px,
    rgb(56, 55, 56) 6px
  );
  box-shadow: inset 0 -4px 5px -2px #313031;
}
.select-menu-header-action {
  display: inline-flex;
  gap: 4px;
  font-size: 12px;
}
.select-menu-header-action input[type="search"] {
  font-size: 12px;
  line-height: 1.1rem;
  height: 1.5rem;
}
.select-menu-header-action img {
  height: 18px;
  aspect-ratio: 1;
}
.select-menu-group {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}
.select-menu-group-icon {
  cursor: pointer;
  background-color: rgb(140, 140, 140);
  border: 1px solid #646464;
}
.select-menu-group-icon.active {
  background-color: #f1be64;
}
.select-menu-group-icon:hover {
  background-color: #e39827;
  filter: drop-shadow(0 0 2px #f9b44b);
}
.select-menu-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
  background-color: #242324;
  padding: 2px;
  max-height: 300px;
  overflow-y: auto;
}
.select-menu-content-row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 2px;
}
.select-menu-slot {
  position: relative;
  height: 36px;
  width: 36px;
  display: inline-flex;
}
.select-menu-icon {
  cursor: pointer;
  background-color: #373737;
  border-radius: 4px;
  height: 36px;
  width: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    inset 0px -4px 0.5px -2px #121212,
    inset 5px 0px 2px -2.5px #1f1f1f,
    inset -3px 0px 1px -1.5px #292929,
    inset 0px 4px 1px -2px #515050;
}
.select-menu-icon:hover,
.select-menu-icon.hover {
  color: #000;
  outline: 0;
  box-shadow:
    inset 8px 0px 4px -8px #000,
    inset -8px 0px 4px -8px #000,
    inset 0px 9px 2px -8px #fff,
    inset 0px 8px 4px -8px #000,
    inset 0px -8px 4px -8px #000,
    inset 0px -9px 2px -8px #432400,
    0px 0px 4px 0px #000,
    inset 0px 0px 4px 2px #f9b44b;
  background-color: #e39827;
  filter: drop-shadow(0 0 2px #f9b44b);
}
.select-menu-icon.active {
  box-shadow:
    inset 0px 10px 2px -8px #000,
    inset 0px 9px 2px -8px #000,
    inset 8px 0px 4px -8px #563a10,
    inset 8px 0px 4px -8px #563a10,
    inset -8px 0px 4px -8px #563a10,
    inset -8px 0px 4px -8px #563a10,
    inset 0px 9px 2px -8px #563a10,
    inset 0px -9px 2px -8px #563a10,
    inset 0px -8.5px 0px -8px #563a10,
    0px 0px 4px 0px #000;
  background-color: #f1be64;
}

.select-menu-slot-empty {
  position: relative;
  z-index: 0;
  width: 100%;
  margin: 8px;
  background-color: #242324;
  box-shadow: 0px 0px 2px #131112;
}
.select-menu-slot-empty::before {
  position: relative;
  content: "";
  display: block;
  width: 100%;
  height: 0px;
  box-shadow: 0px -0.5px 1.5px 1px #555250;
}
.select-menu-slot-empty::after {
  position: relative;
  content: "";
  display: block;
  width: 100%;
  height: 0px;
  margin-top: 100%;
  box-shadow: 0px 0.5px 1.5px 1px #161414;
}
