#inventory-page [data-manager-shell] + [data-manager-shell] {
  margin-top: 22px;
}

#inventory-page .manager-pill-row,
#market-page .manager-pill-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

#inventory-page .manager-pill,
#market-page .manager-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  color: #eef3ff;
  font-size: 13px;
  font-weight: 800;
}

.manager-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin: 12px 0 22px;
}

.manager-select-box {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.72);
  font-size: 14px;
  font-weight: 700;
}

.manager-select-box select {
  min-width: 220px;
  background: rgba(255,255,255,0.06);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  padding: 8px 12px;
}

.manager-note {
  min-height: 20px;
  color: rgba(215,223,239,0.76);
  font-size: 13px;
  line-height: 1.5;
}

.manager-table-head {
  margin-bottom: 10px;
}

#inventory-shelf-list .empty-tip {
  margin-top: 0;
}

#inventory-shelf-list .table-row {
  grid-template-columns: minmax(0, 1.6fr) 110px 110px 120px 120px minmax(0, 1fr);
}

#inventory-shelf-list .table-row > div:last-child {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

#inventory-shelf-list .btn-small {
  min-width: 88px;
}

#shelf-modal.manager-shelf-modal {
  display: none;
}

#shelf-modal.manager-shelf-modal.active {
  display: flex !important;
}

#shelf-modal .modal-card {
  max-width: 520px;
}

#shelf-modal .modal-info-grid {
  display: grid;
  gap: 10px;
  margin: 14px 0;
}

#shelf-modal .modal-info-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: rgba(225,232,255,0.84);
}

#shelf-modal .modal-info-row strong {
  color: #fff;
}

@media (max-width: 860px) {
  #inventory-shelf-list .table-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  #inventory-shelf-list .table-row > div:last-child {
    justify-content: flex-start;
  }
}
