/* char.html — inventory discard mode */
body.l2-app-l2-chrome.l2-page-char .l2-char-bag-title-actions {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

body.l2-app-l2-chrome.l2-page-char .l2-char-discard-mode-btn {
  min-height: 22px;
  padding: 2px 7px;
  border: 1px solid rgba(132, 78, 64, 0.72);
  border-radius: 3px;
  background: linear-gradient(180deg, #3b2923 0%, #241713 100%);
  box-shadow: inset 0 1px 0 rgba(255, 225, 190, 0.08);
  color: #d9b0a3;
  font: inherit;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.25;
  white-space: nowrap;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

body.l2-app-l2-chrome.l2-page-char .l2-char-discard-mode-btn.is-active {
  border-color: rgba(192, 151, 86, 0.72);
  background: linear-gradient(180deg, #4a3b27 0%, #2b2115 100%);
  color: #ffdf8c;
}

body.l2-app-l2-chrome.l2-page-char .l2-char-bag-block--discard-mode
  .l2-char-bag-row--discardable {
  cursor: pointer;
}

body.l2-app-l2-chrome.l2-page-char .l2-char-bag-row--discard-selected {
  position: relative;
  background: linear-gradient(
    90deg,
    rgba(117, 52, 39, 0.32) 0%,
    rgba(78, 40, 28, 0.15) 70%,
    transparent 100%
  ) !important;
  box-shadow:
    inset 2px 0 0 #a9604e,
    inset 0 1px 0 rgba(232, 190, 130, 0.12),
    inset 0 -1px 0 rgba(68, 36, 28, 0.7);
}

body.l2-app-l2-chrome.l2-page-char .l2-char-bag-row--discard-selected
  .l2-char-bag-name {
  color: #f0b3a4 !important;
}

body.l2-app-l2-chrome.l2-page-char .l2-char-discard-panel {
  margin: 7px 0 4px;
  padding: 7px 8px;
  border: 1px solid rgba(105, 79, 54, 0.65);
  border-radius: 3px;
  background: rgba(24, 20, 16, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255, 230, 190, 0.05),
    0 1px 2px rgba(0, 0, 0, 0.42);
  text-align: center;
}

body.l2-app-l2-chrome.l2-page-char .l2-char-discard-panel[hidden] {
  display: none !important;
}

body.l2-app-l2-chrome.l2-page-char .l2-char-discard-panel__hint,
body.l2-app-l2-chrome.l2-page-char .l2-char-discard-panel__selected {
  margin: 0;
  line-height: 1.35;
}

body.l2-app-l2-chrome.l2-page-char .l2-char-discard-panel__hint {
  color: #b9aa90;
  font-size: 11px;
}

body.l2-app-l2-chrome.l2-page-char .l2-char-discard-panel__selected {
  margin-top: 4px;
  color: #e4cfaa;
  font-size: 11px;
  font-weight: 700;
}

body.l2-app-l2-chrome.l2-page-char .l2-char-discard-panel__delete {
  min-width: 88px;
  margin-top: 7px;
  padding: 4px 12px;
  border: 1px solid #7d3d35;
  border-radius: 3px;
  background: linear-gradient(180deg, #6a2924 0%, #3a1714 100%);
  box-shadow: inset 0 1px 0 rgba(255, 210, 180, 0.08);
  color: #f1b0a5;
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

body.l2-app-l2-chrome.l2-page-char .l2-char-discard-panel__delete:disabled {
  opacity: 0.45;
  cursor: default;
}

body.l2-app-l2-chrome.l2-page-char .l2-char-bag-notice.l2-char-discard-notice--error {
  color: #ef9b90;
}

@media (max-width: 390px) {
  body.l2-app-l2-chrome.l2-page-char .l2-char-bag-title-actions {
    gap: 5px;
  }

  body.l2-app-l2-chrome.l2-page-char .l2-char-discard-mode-btn {
    padding-inline: 6px;
    font-size: 9px;
  }
}
