.sf-roster-hide,
.sf-roster-show {
  border: 1px solid rgba(114, 247, 223, .28);
  background: rgba(5, 13, 22, .94);
  color: #bff9ef;
  font-size: 7px;
  font-weight: 950;
  letter-spacing: .11em;
  cursor: pointer;
}

.sf-roster-hide {
  position: sticky;
  bottom: -1px;
  z-index: 5;
  width: 100%;
  min-height: 30px;
  flex: 0 0 auto;
  margin-top: 3px;
  border-radius: 6px;
  box-shadow: 0 -8px 18px rgba(5, 13, 22, .9);
}

.sf-roster-show {
  position: absolute;
  left: 5px;
  bottom: 90px;
  z-index: 18;
  width: 32px;
  min-height: 82px;
  padding: 7px 4px;
  border-radius: 8px;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .38);
}

.sf-roster-show[hidden] {
  display: none !important;
}

#weaponPanel {
  transition: transform .24s cubic-bezier(.22, 1, .36, 1), opacity .18s ease !important;
}

#weaponPanel .card.active,
#weaponPanel .card.selected {
  border-color: #ffe17a !important;
  background: linear-gradient(135deg, rgba(104, 70, 21, .98), rgba(38, 25, 15, .98)) !important;
  box-shadow: inset 4px 0 0 #ffe17a, 0 0 24px rgba(255, 193, 70, .2) !important;
}

#weaponPanel .card.active b,
#weaponPanel .card.selected b {
  color: #fff6c9 !important;
}

#wrap.sf-roster-collapsed #weaponPanel {
  transform: translateX(calc(-100% - 18px));
  opacity: 0;
  pointer-events: none;
}

#wrap.sf-roster-collapsed #pHud {
  margin-left: 0 !important;
}

html[dir="rtl"] .sf-roster-show {
  left: 5px;
  right: auto;
}

@media (max-width: 900px), (pointer: coarse) {
  .sf-roster-hide {
    min-height: 28px;
    font-size: 6px;
  }

  .sf-roster-show {
    bottom: 82px;
    width: 30px;
    min-height: 72px;
    font-size: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #weaponPanel {
    transition: none !important;
  }
}
