.game-shell .cf-owned-warehouse .cf-drag-layout {
  grid-template-columns: 300px minmax(0, 1fr) !important;
}
.cf-warehouse-store .cf-tabbed-backpacks {
  display: block;
  max-height: none;
  overflow: visible;
  padding: 14px;
}
.cf-tabbed-backpacks > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 14px;
}
.cf-editor-active {
  color: #a9b9bc;
  font-size: 11px;
  white-space: nowrap;
}
.cf-editor-tabs {
  display: flex;
  align-items: center;
  gap: 5px;
  overflow-x: auto;
  scrollbar-width: thin;
  padding: 2px 1px 6px;
  margin-bottom: 6px;
}
.cf-tabbed-backpacks .cf-editor-tabs > button {
  position: relative;
  flex: 1 0 28px;
  min-width: 28px;
  height: 34px;
  padding: 0;
  border: 1px solid #405964;
  border-radius: 4px;
  background: #162d38;
  color: #c7d7dd;
  font-family: inherit;
  font-weight: 650;
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
  text-align: center;
}
.cf-tabbed-backpacks .cf-editor-tabs > button[aria-pressed=true] {
  background: #65542d;
  border-color: #c8aa61;
  color: #ffe6a0;
}
.cf-editor-tabs button i {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #e7c777;
  bottom: 3px;
  left: calc(50% - 2px);
}
.cf-editor-tabs button:focus-visible,
.cf-editor-slot:focus-visible {
  outline: 2px solid #e2bc6c;
  outline-offset: 1px;
}
.cf-editor-gear {
  display: flex;
  flex-direction: column;
  gap: 9px;
  min-width: 0;
}
.cf-editor-slot {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-width: 0;
  min-height: 102px;
  padding: 24px 6px 9px;
  border: 1px solid #3b5261;
  border-radius: 4px;
  background: #132430;
  color: #e6eef3;
  cursor: grab;
  box-sizing: border-box;
}
.cf-editor-slot > small {
  position: absolute;
  left: 8px;
  top: 7px;
  font-size: 10px;
  color: #8fa6b4;
}
.cf-editor-slot > img {
  width: 90%;
  height: 40px;
  object-fit: contain;
}
.cf-editor-slot > strong {
  max-width: 100%;
  font-size: 11px;
  line-height: 1.4;
  text-align: center;
  overflow-wrap: anywhere;
}
.cf-editor-slot.is-empty > strong {
  color: #6d8391;
  font-weight: 400;
}
.cf-editor-slot.cf-editor-primary {
  min-height: 164px;
}
.cf-editor-primary > img {
  height: 92px;
}
.cf-editor-secondary-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  min-width: 0;
}
.cf-tabbed-backpacks .cf-editor-reset {
  position: absolute;
  right: 3px;
  top: 3px;
  width: 22px;
  height: 22px;
  min-height: 0;
  padding: 0;
  border: 0;
  background: #0e1b23;
  color: #a8bac1;
  line-height: 1;
  cursor: pointer;
}
.cf-tabbed-backpacks .cf-editor-use {
  width: 100%;
  margin: 0;
  min-height: 36px;
  padding: 8px 5px;
  font-size: 12px;
  white-space: normal;
}
@media (max-width: 1100px) {
  .game-shell .cf-owned-warehouse .cf-drag-layout {
    grid-template-columns: 240px minmax(0, 1fr) !important;
  }
  .cf-warehouse-store .cf-tabbed-backpacks {
    padding: 10px;
  }
  .cf-editor-tabs {
    gap: 3px;
  }
  .cf-editor-tabs > button {
    font-size: 12px;
  }
  .cf-editor-slot > strong {
    font-size: 10px;
  }
  .cf-editor-secondary-row {
    gap: 4px;
  }
}
@media (max-width: 760px) {
  .game-shell .cf-owned-warehouse .cf-drag-layout {
    grid-template-columns: 150px minmax(0, 1fr) !important;
  }
  .cf-warehouse-store .cf-tabbed-backpacks {
    padding: 8px;
  }
  .cf-editor-slot.cf-editor-primary {
    min-height: 130px;
  }
  .cf-editor-primary > img {
    height: 64px;
  }
  .cf-editor-secondary-row {
    grid-template-columns: repeat(3, minmax(64px, 1fr));
    overflow-x: auto;
    scrollbar-width: thin;
    padding-bottom: 4px;
  }
  .cf-editor-active {
    font-size: 9px;
  }
  .cf-tabbed-backpacks > header {
    flex-wrap: wrap;
    gap: 3px;
  }
}
@media (max-width: 480px) {
  .game-shell .cf-owned-warehouse .cf-drag-layout {
    grid-template-columns: 100px minmax(0, 1fr) !important;
  }
  .cf-warehouse-store .cf-tabbed-backpacks {
    padding: 5px;
  }
  .cf-tabbed-backpacks > header {
    margin-bottom: 8px;
  }
  .cf-tabbed-backpacks .cf-editor-tabs > button {
    flex-basis: 28px;
    height: 30px;
  }
  .cf-editor-slot.cf-editor-primary {
    min-height: 116px;
  }
  .cf-editor-primary > img {
    height: 50px;
  }
  .cf-editor-slot {
    min-height: 94px;
    padding: 22px 4px 6px;
  }
  .cf-editor-slot > small {
    left: 5px;
    font-size: 9px;
  }
  .cf-editor-slot > strong {
    font-size: 9px;
  }
  .cf-tabbed-backpacks .cf-editor-use {
    font-size: 9px;
    padding: 7px 2px;
  }
  .cf-editor-gear {
    gap: 6px;
  }
}
