.augment-icon {
  display: grid;
  place-items: center;
  overflow: hidden;
  position: relative;
  background: #0c1118;
  border-color: #303b49;
  box-shadow: none;
}

.augment-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transform: none;
}

.augment-icon .augment-art {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transform: none;
}

.augment-icon .augment-effect {
  z-index: 1;
}

.augment-icon .augment-core {
  z-index: 2;
  opacity: 0;
  pointer-events: none;
  background: #fff;
  clip-path: inset(13% 9% 7% 12% round 2px);
  -webkit-mask-image: var(--augment-icon-source);
  mask-image: var(--augment-icon-source);
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.augment-icon.rarity-0 .augment-core {
  opacity: 1;
  background: linear-gradient(125deg, #5f707c 0%, #dce5eb 24%, #f8fbfd 39%, #9eabb5 54%, #667783 73%, #e7eef2 100%);
}

.augment-icon.rarity-1 .augment-core {
  opacity: 1;
  background: linear-gradient(135deg, #b7772d, #ffe2a0 52%, #d69b45);
}

.augment-icon.rarity-2 .augment-core {
  opacity: 1;
  background: conic-gradient(from 210deg, #ff5577 0deg 52deg, #ffc94f 52deg 112deg, #5de09e 112deg 174deg, #49b9ff 174deg 236deg, #a77bff 236deg 300deg, #ff70c8 300deg 360deg);
}

.augment-icon.rarity-0 {
  background: #0c1118;
  border-color: #303b49;
  box-shadow: none;
}

.augment-icon.rarity-1 {
  background: #0c1118;
  border-color: #303b49;
  box-shadow: none;
}

.augment-icon.rarity-2 {
  background: #0c1118;
  border-color: #303b49;
  box-shadow: none;
}

.rarity-badge {
  display: inline-block;
  min-width: 16px;
  margin-right: 5px;
  padding: 1px 4px;
  border: 1px solid currentColor;
  font-size: 9px;
  line-height: 12px;
  text-align: center;
}

.rarity-badge.rarity-0 { color: #bfcbd6; }
.rarity-badge.rarity-1 { color: #f1b869; }
.rarity-badge.rarity-2 { color: #b4a0ff; }

.table-filter {
  appearance: none;
  color: var(--text);
  background: #0c1118;
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 8px 28px 8px 10px;
  font-size: 11px;
  cursor: pointer;
}

.table-filter:focus {
  outline: 1px solid var(--cyan);
}

.sort-header {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  border: 0;
  color: #718092;
  background: transparent;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  cursor: pointer;
}

.sort-header:hover,
.sort-header.active {
  color: var(--gold);
}

.sort-indicator {
  color: #566474;
  font-size: 12px;
}

.sort-header.active .sort-indicator {
  color: var(--gold);
}
