/**
 * char.html — лише локальні правки перса (прозорий .l2-char-mobi, сумка, кнопки).
 * Тло колонки — у l2-app-chrome-skin.css для всіх сторінок з l2-app-l2-chrome.
 * Підключати після l2-app-chrome-skin.css.
 */
body.l2-app-l2-chrome.l2-page-char .l2-char-mobi {
  margin: 10px 0 0;
  padding: 14px 4px 16px;
  border-radius: 0 !important;
  border: none !important;
  border-image: none !important;
  background: transparent !important;
  -webkit-box-shadow: none !important;
  box-shadow: none !important;
}

body.l2-app-l2-chrome.l2-page-char .l2-char-mobi::before {
  opacity: 0;
}

body.l2-app-l2-chrome.l2-page-char .l2-char-title-row {
  margin-bottom: 12px;
  padding-bottom: 8px;
  min-height: 22px;
  border-bottom: 1px solid rgba(180, 140, 80, 0.4);
}

body.l2-app-l2-chrome.l2-page-char .l2-char-title-empty {
  color: #b8a890;
}

body.l2-app-l2-chrome.l2-page-char .l2-char-name-bracket {
  color: #f0d880;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.9),
    0 0 10px rgba(200, 150, 60, 0.25);
}

body.l2-app-l2-chrome.l2-page-char .l2-char-equip-frame {
  border-radius: 8px !important;
  border: 1px solid rgba(200, 160, 70, 0.28) !important;
  border-image: none !important;
  background: transparent !important;
  -webkit-box-shadow: none !important;
  box-shadow: none !important;
}

body.l2-app-l2-chrome.l2-page-char .l2-char-equip-frame::before {
  opacity: 0;
}

body.l2-app-l2-chrome.l2-page-char .l2-char-equip-bg {
  background: transparent;
  min-height: 194px;
}

/* Герой поверх сцени: на сходах, з тінню під ногами */
body.l2-app-l2-chrome.l2-page-char .l2-char-equip-bg--hero-on-stairs .l2-char-equip-hero-stage::before {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 8.5%;
  z-index: 0;
  width: 58%;
  height: 14%;
  transform: translateX(-50%) skewX(-10deg) scaleY(0.9);
  background: radial-gradient(
    ellipse at center,
    rgba(0, 0, 0, 0.92) 0%,
    rgba(0, 0, 0, 0.62) 32%,
    rgba(0, 0, 0, 0.28) 52%,
    rgba(0, 0, 0, 0.08) 68%,
    transparent 82%
  );
  filter: blur(2.5px);
  opacity: 0.95;
  pointer-events: none;
}

body.l2-app-l2-chrome.l2-page-char .l2-char-equip-bg--hero-on-stairs .l2-char-equip-hero-stage::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 9.5%;
  z-index: 0;
  width: 34%;
  height: 6%;
  transform: translateX(-50%) skewX(-8deg);
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.35) 55%, transparent 78%);
  filter: blur(1px);
  pointer-events: none;
}

body.l2-app-l2-chrome.l2-page-char .l2-char-equip-bg--hero-on-stairs .l2-char-equip-hero-overlay {
  position: relative;
  z-index: 1;
  width: auto;
  height: 86%;
  max-width: 94%;
  object-fit: contain;
  object-position: center bottom;
  transform: translateY(1%) scale(1.03);
  transform-origin: center bottom;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.35));
}

/* JPG з чорним фоном (L2 render) — «вирізаємо» чорне на сцені */
body.l2-app-l2-chrome.l2-page-char .l2-char-equip-hero-overlay--black-key {
  mix-blend-mode: lighten;
}

body.l2-app-l2-chrome.l2-page-char .l2-char-equip-bg--hero-human-fighter-m .l2-char-equip-hero-overlay {
  height: 91%;
  max-width: 96%;
  transform: translateY(2%) scale(1.05);
}

body.l2-app-l2-chrome.l2-page-char .l2-char-equip-bg--hero-human-fighter-f .l2-char-equip-hero-overlay {
  height: 91%;
  max-width: 96%;
  transform: translateY(-5%) scale(1.05);
}

body.l2-app-l2-chrome.l2-page-char .l2-char-equip-bg--hero-human-warlord-f .l2-char-equip-hero-overlay {
  height: 93%;
  max-width: 96%;
  transform: translateY(-10%) scale(1.04);
}

/* Лук: Rogue / Hawkeye / Sagittarius (photo_10) */
body.l2-app-l2-chrome.l2-page-char .l2-char-equip-bg--hero-human-hawkeye-f .l2-char-equip-hero-overlay {
  height: 91%;
  max-width: 98%;
  transform: translateY(0%) scale(1.15);
}

body.l2-app-l2-chrome.l2-page-char .l2-char-equip-bg--hero-dwarf-fighter-m .l2-char-equip-hero-overlay {
  height: 88%;
  max-width: 94%;
  transform: translateY(2%) scale(1.02);
}

/* Scavenger / Artisan (photo_26) — чоловік */
body.l2-app-l2-chrome.l2-page-char .l2-char-equip-bg--hero-dwarf-scavenger-m .l2-char-equip-hero-overlay {
  height: 90%;
  max-width: 94%;
  transform: translateY(-8%) scale(1.02);
}

body.l2-app-l2-chrome.l2-page-char .l2-char-equip-bg--hero-orc-fighter-m .l2-char-equip-hero-overlay {
  height: 90%;
  max-width: 95%;
  transform: translateY(0%) scale(1.03);
}

body.l2-app-l2-chrome.l2-page-char .l2-char-equip-bg--hero-orc-raider-m .l2-char-equip-hero-overlay {
  height: 90%;
  max-width: 95%;
  transform: translateY(0%) scale(1.03);
}

body.l2-app-l2-chrome.l2-page-char .l2-char-equip-bg--hero-orc-monk-m .l2-char-equip-hero-overlay {
  height: 90%;
  max-width: 95%;
  transform: translateY(0%) scale(1.03);
}

body.l2-app-l2-chrome.l2-page-char .l2-char-equip-bg--hero-orc-mystic-m .l2-char-equip-hero-overlay {
  height: 88%;
  max-width: 94%;
  transform: translateY(-1%) scale(1.04);
}

body.l2-app-l2-chrome.l2-page-char .l2-char-equip-bg--hero-human-mage-m .l2-char-equip-hero-overlay {
  height: 88%;
  max-width: 94%;
  transform: translateY(-1%) scale(1.04);
}

body.l2-app-l2-chrome.l2-page-char .l2-char-equip-bg--hero-human-wizard-m .l2-char-equip-hero-overlay {
  height: 88%;
  max-width: 94%;
  transform: translateY(-1%) scale(1.04);
}

body.l2-app-l2-chrome.l2-page-char .l2-char-equip-bg--hero-human-mage-f .l2-char-equip-hero-overlay {
  height: 88%;
  max-width: 94%;
  transform: translateY(-1%) scale(1.04);
}

body.l2-app-l2-chrome.l2-page-char .l2-char-equip-bg--hero-human-wizard-f .l2-char-equip-hero-overlay {
  height: 88%;
  max-width: 94%;
  transform: translate(-0.5cm, -1%) scale(1.04);
}

body.l2-app-l2-chrome.l2-page-char .l2-char-equip-bg--hero-orc-fighter-f .l2-char-equip-hero-overlay {
  height: 90%;
  max-width: 95%;
  transform: translateY(0%) scale(1.03);
}

body.l2-app-l2-chrome.l2-page-char .l2-char-equip-bg--hero-orc-raider-f .l2-char-equip-hero-overlay {
  height: 90%;
  max-width: 95%;
  transform: translateY(0%) scale(1.03);
}

body.l2-app-l2-chrome.l2-page-char .l2-char-equip-bg--hero-orc-monk-f .l2-char-equip-hero-overlay {
  height: 90%;
  max-width: 95%;
  transform: translateY(0%) scale(1.03);
}

body.l2-app-l2-chrome.l2-page-char .l2-char-equip-bg--hero-orc-mystic-f .l2-char-equip-hero-overlay {
  height: 88%;
  max-width: 94%;
  transform: translateY(-1%) scale(1.04);
}

body.l2-app-l2-chrome.l2-page-char .l2-char-equip-bg--hero-dwarf-fighter-f .l2-char-equip-hero-overlay {
  height: 88%;
  max-width: 94%;
  transform: translateY(0%) scale(1.02);
}

body.l2-app-l2-chrome.l2-page-char .l2-char-equip-bg--hero-human-rogue-m .l2-char-equip-hero-overlay {
  height: 91%;
  max-width: 96%;
  transform: translateY(2%) scale(1.05);
}

body.l2-app-l2-chrome.l2-page-char .l2-char-equip-bg--hero-human-warrior-m .l2-char-equip-hero-overlay {
  height: 91%;
  max-width: 96%;
  transform: translateY(2%) scale(1.05);
}

body.l2-app-l2-chrome.l2-page-char .l2-char-equip-bg--hero-human-warlord-m .l2-char-equip-hero-overlay {
  height: 91%;
  max-width: 96%;
  transform: translate(-0.4cm, -4%) scale(1.05);
}

body.l2-app-l2-chrome.l2-page-char .l2-char-equip-bg--hero-human-gladiator-m .l2-char-equip-hero-overlay {
  height: 91%;
  max-width: 96%;
  transform: translateY(2%) scale(1.05);
}

body.l2-app-l2-chrome.l2-page-char .l2-char-equip-bg--hero-dark-elf-mystic-m .l2-char-equip-hero-overlay {
  height: 88%;
  transform: translateY(-1%) scale(1.04);
}

body.l2-app-l2-chrome.l2-page-char .l2-char-slot-icon {
  border: 1px solid rgba(200, 160, 95, 0.5);
  background: rgba(8, 6, 5, 0.78);
  box-shadow:
    inset 0 1px 0 rgba(255, 220, 180, 0.08),
    0 0 0 1px rgba(0, 0, 0, 0.45);
}

body.l2-app-l2-chrome.l2-page-char .l2-char-currency {
  margin-top: calc(-26px + 3mm);
  padding: 5px 10px 6px;
  border: none !important;
  border-image: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #e4dcc8;
}

/* Адена/EXP/SP — риски зверху і знизу: товщі по центру, тонші до країв */
body.l2-app-l2-chrome.l2-page-char .l2-char-currency::before,
body.l2-app-l2-chrome.l2-page-char .l2-char-currency::after {
  content: '';
  display: block;
  flex: 0 0 100%;
  width: min(94%, 320px);
  height: 3px;
  margin-left: auto;
  margin-right: auto;
  background:
    linear-gradient(
      90deg,
      transparent 0%,
      rgba(199, 173, 128, 0.35) 16%,
      rgba(199, 173, 128, 0.92) 50%,
      rgba(199, 173, 128, 0.35) 84%,
      transparent 100%
    )
    center / 68% 2px no-repeat,
    linear-gradient(
      90deg,
      transparent 0%,
      rgba(199, 173, 128, 0.22) 8%,
      rgba(199, 173, 128, 0.55) 50%,
      rgba(199, 173, 128, 0.22) 92%,
      transparent 100%
    )
    center / 100% 1px no-repeat;
}

body.l2-app-l2-chrome.l2-page-char .l2-char-currency::before {
  margin-bottom: 5px;
}

body.l2-app-l2-chrome.l2-page-char .l2-char-currency::after {
  margin-top: 5px;
  order: 99;
}

body.l2-app-l2-chrome.l2-page-char .l2-char-adena-label {
  color: #c4b090;
}

body.l2-app-l2-chrome.l2-page-char .l2-char-bag-block {
  margin-top: 12px;
  margin-bottom: 12px;
  padding: 12px 0 10px;
  border-radius: 0 !important;
  border: none !important;
  border-image: none !important;
  background: transparent !important;
  -webkit-box-shadow: none !important;
  box-shadow: none !important;
}

body.l2-app-l2-chrome.l2-page-char {
  --l2-char-bag-tab-outset-x: calc(4px + 0.4mm);
  --l2s-char-inv888-bd-x: 12;
}

body.l2-app-l2-chrome.l2-page-char .l2-char-bag-title {
  box-sizing: border-box;
  color: #c5b398 !important;
  text-shadow: none;
  text-transform: none;
  letter-spacing: 0.04em;
  margin-left: calc(-1 * var(--l2-char-bag-tab-outset-x));
  padding-left: calc(1px * var(--l2s-char-inv888-bd-x));
  margin-bottom: 6px;
}

body.l2-app-l2-chrome.l2-page-char .l2-char-inv-filters {
  box-sizing: border-box !important;
  gap: 2px !important;
  margin-left: calc(-1 * var(--l2-char-bag-tab-outset-x)) !important;
  margin-right: calc(-1 * var(--l2-char-bag-tab-outset-x)) !important;
  width: calc(100% + (2 * var(--l2-char-bag-tab-outset-x))) !important;
  max-width: none !important;
  margin-bottom: 1px !important;
  padding: 3px 0 2px !important;
  border-radius: 0 !important;
  border-style: solid !important;
  border-color: transparent !important;
  border-width: calc(1px * var(--l2s-char-inv888-bd-y)) calc(1px * var(--l2s-char-inv888-bd-x)) !important;
  border-image-source: url('/ref/8888888.png') !important;
  border-image-slice: var(--l2s-char-inv888-slice-y) var(--l2s-char-inv888-slice-x) var(--l2s-char-inv888-slice-y)
    var(--l2s-char-inv888-slice-x) fill !important;
  border-image-width: calc(1px * var(--l2s-char-inv888-bd-y)) calc(1px * var(--l2s-char-inv888-bd-x)) !important;
  border-image-outset: 0 !important;
  border-image-repeat: stretch !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.l2-app-l2-chrome.l2-page-char .l2-char-inv-shop-tabs-host.l2-gm-shop {
  padding-top: 0;
  width: 100% !important;
  max-width: none !important;
}

/* Таби всередині суцільнішої рамки: категорії та грейди — сітка, без горизонтального скролу */
body.l2-app-l2-chrome.l2-page-char .l2-char-inv-shop-tabs-host.l2-gm-shop .l2-drops-shop-tablist {
  margin: 0 0 2px !important;
  padding-bottom: 2px !important;
  width: 100% !important;
  max-width: none !important;
}

body.l2-app-l2-chrome.l2-page-char .l2-char-inv-shop-tabs-host.l2-gm-shop .l2-drops-shop-tablist:last-of-type {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
  border-bottom: none !important;
}

body.l2-app-l2-chrome.l2-page-char .l2-char-inv-shop-tabs-host.l2-gm-shop .l2-drops-shop-tablist--cats,
body.l2-app-l2-chrome.l2-page-char .l2-char-inv-shop-tabs-host.l2-gm-shop .l2-drops-shop-tablist--grades {
  display: grid !important;
  justify-content: stretch !important;
  justify-items: stretch !important;
  align-items: start !important;
  overflow-x: visible !important;
  overflow-y: visible !important;
  -webkit-overflow-scrolling: auto !important;
  gap: 2px !important;
}

body.l2-app-l2-chrome.l2-page-char .l2-char-inv-shop-tabs-host.l2-gm-shop .l2-drops-shop-tablist--cats {
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
}

body.l2-app-l2-chrome.l2-page-char .l2-char-inv-cats-wrap {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 2px !important;
  width: 100% !important;
  margin: 0 0 2px !important;
}

body.l2-app-l2-chrome.l2-page-char .l2-char-inv-all-host {
  grid-column: 2 / 5 !important;
  grid-row: 1 !important;
  display: flex !important;
  align-items: stretch !important;
  justify-content: stretch !important;
  min-width: 0 !important;
  margin-bottom: 1px !important;
}

body.l2-app-l2-chrome.l2-page-char .l2-char-inv-cats-wrap #char-bag-tab-cats {
  grid-column: 1 / -1 !important;
  grid-row: 2 !important;
  margin-bottom: 0 !important;
}

body.l2-app-l2-chrome.l2-page-char .l2-char-inv-all-items-btn {
  --l2s-char-all541-slice-y: 30;
  --l2s-char-all541-slice-x: 40;
  --l2s-char-all541-bd-y: 5;
  --l2s-char-all541-bd-x: 10;
  box-sizing: border-box !important;
  display: flex !important;
  align-items: flex-start !important;
  justify-content: center !important;
  width: 100% !important;
  min-height: 22px !important;
  margin: 0 !important;
  padding: 1px 8px 5px !important;
  border-radius: 0 !important;
  border-style: solid !important;
  border-color: transparent !important;
  border-width: calc(1px * var(--l2s-char-all541-bd-y)) calc(1px * var(--l2s-char-all541-bd-x)) !important;
  border-image-source: url('/ref/541.png?v=20260707charAll541') !important;
  border-image-slice: var(--l2s-char-all541-slice-y) var(--l2s-char-all541-slice-x)
    var(--l2s-char-all541-slice-y) var(--l2s-char-all541-slice-x) fill !important;
  border-image-width: calc(1px * var(--l2s-char-all541-bd-y)) calc(1px * var(--l2s-char-all541-bd-x)) !important;
  border-image-outset: 0 !important;
  border-image-repeat: stretch !important;
  background: transparent !important;
  color: #f0e8d8 !important;
  font-size: 9px !important;
  font-weight: 700 !important;
  line-height: 1.05 !important;
  letter-spacing: 0.02em !important;
  text-transform: none !important;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.85),
    0 0 8px rgba(180, 140, 80, 0.12) !important;
  cursor: pointer !important;
  white-space: nowrap !important;
  overflow: visible !important;
  text-overflow: clip !important;
  transform: translateY(-1px) !important;
}

body.l2-app-l2-chrome.l2-page-char .l2-char-inv-all-items-btn:hover,
body.l2-app-l2-chrome.l2-page-char .l2-char-inv-all-items-btn:focus {
  filter: brightness(1.12) !important;
  outline: none !important;
}

body.l2-app-l2-chrome.l2-page-char .l2-char-inv-all-items-btn--active {
  filter: brightness(1.2) saturate(1.1) !important;
  color: #fff6d8 !important;
}

body.l2-app-l2-chrome.l2-page-char .l2-char-bag-row--equipped {
  opacity: 0.92;
}

body.l2-app-l2-chrome.l2-page-char .l2-char-inv-shop-tabs-host.l2-gm-shop .l2-drops-shop-tablist--grades {
  grid-template-columns: repeat(7, minmax(0, 1fr)) !important;
}

body.l2-app-l2-chrome.l2-page-char .l2-char-inv-shop-tabs-host.l2-gm-shop .l2-drops-shop-tablist--cats .l2-drops-shop-tab,
body.l2-app-l2-chrome.l2-page-char .l2-char-inv-shop-tabs-host.l2-gm-shop .l2-drops-shop-tablist--grades .l2-drops-shop-tab {
  flex: unset !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  box-sizing: border-box !important;
  padding: 1px 2px !important;
  font-size: 8px !important;
  font-weight: 600 !important;
  line-height: 1.08 !important;
  letter-spacing: 0 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

/* Зброя: обидва ряди табів одна висота (компактно, без «роздутого» першого ряду) */
body.l2-app-l2-chrome.l2-page-char .l2-char-inv-shop-tabs-host.l2-gm-shop .l2-drops-shop-tablist--weapon-kind {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 2px !important;
  align-items: start !important;
  justify-content: stretch !important;
  justify-items: stretch !important;
}

body.l2-app-l2-chrome.l2-page-char .l2-char-inv-shop-tabs-host.l2-gm-shop .l2-drops-shop-tablist--weapon-kind .l2-drops-shop-tab {
  width: 100% !important;
  min-height: 0 !important;
  padding: 1px 2px !important;
  font-size: 8px !important;
  font-weight: 600 !important;
  line-height: 1.08 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

body.l2-app-l2-chrome.l2-page-char .l2-char-inv-shop-tabs-host.l2-gm-shop .l2-drops-shop-tablist--consumable-sub {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 2px !important;
  justify-content: stretch !important;
  justify-items: stretch !important;
}

/* Розхідники — ті самі пропорції висоти */
body.l2-app-l2-chrome.l2-page-char .l2-char-inv-shop-tabs-host.l2-gm-shop .l2-drops-shop-tablist--consumable-sub .l2-drops-shop-tab {
  width: 100% !important;
  padding: 1px 2px !important;
  font-size: 8px !important;
  line-height: 1.08 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

/* Armour / аксесуари — узгоджено з висотою weapon-kind на персі */
body.l2-app-l2-chrome.l2-page-char .l2-char-inv-shop-tabs-host.l2-gm-shop .l2-drops-shop-tablist--armor-piece,
body.l2-app-l2-chrome.l2-page-char .l2-char-inv-shop-tabs-host.l2-gm-shop .l2-drops-shop-tablist--jewelry-sub {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 2px !important;
  justify-content: stretch !important;
  justify-items: stretch !important;
}

body.l2-app-l2-chrome.l2-page-char .l2-char-inv-shop-tabs-host.l2-gm-shop .l2-drops-shop-tablist--armor-piece .l2-drops-shop-tab,
body.l2-app-l2-chrome.l2-page-char .l2-char-inv-shop-tabs-host.l2-gm-shop .l2-drops-shop-tablist--jewelry-sub .l2-drops-shop-tab {
  width: 100% !important;
  min-height: 0 !important;
  padding: 1px 2px !important;
  font-size: 8px !important;
  line-height: 1.08 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

/* Обраний грейд помітніший */
body.l2-app-l2-chrome.l2-page-char #char-bag-tab-grades .l2-drops-shop-tab--active {
  filter: brightness(1.28) saturate(1.2) drop-shadow(0 0 5px rgba(255, 210, 120, 0.55));
  text-shadow:
    0 0 6px rgba(255, 236, 180, 0.65),
    0 1px 2px rgba(0, 0, 0, 0.9);
  z-index: 1;
  position: relative;
}

body.l2-app-l2-chrome.l2-page-char .l2-char-bag-list {
  margin-top: 2px !important;
  min-height: 196px;
}

body.l2-app-l2-chrome.l2-page-char .l2-char-inv-filters {
  min-height: 74px;
}

body.l2-app-l2-chrome.l2-page-char .l2-char-bag-row--skeleton {
  pointer-events: none;
  opacity: 0.7;
}

body.l2-app-l2-chrome.l2-page-char .l2-char-bag-icon--skeleton {
  display: inline-block;
  background: rgba(140, 120, 90, 0.24);
  border-color: rgba(140, 120, 90, 0.32);
}

body.l2-app-l2-chrome.l2-page-char .l2-char-bag-name--skeleton,
body.l2-app-l2-chrome.l2-page-char .l2-char-bag-stats--skeleton {
  color: rgba(196, 176, 144, 0.75);
}

body.l2-app-l2-chrome.l2-page-char .l2-char-inv-row--grades {
  border-top-color: rgba(140, 110, 60, 0.4);
}

body.l2-app-l2-chrome.l2-page-char .l2-char-bag-row--click:hover,
body.l2-app-l2-chrome.l2-page-char .l2-char-bag-row--click:focus {
  background: rgba(40, 28, 12, 0.42);
}

body.l2-app-l2-chrome.l2-page-char .l2-char-bag-modal-craft-hint {
  margin: 8px 0 0;
  font-size: 11px;
  line-height: 1.45;
  color: #c5b398;
  white-space: pre-line;
}

body.l2-app-l2-chrome.l2-page-char #char-bag-modal-craft-hint[hidden],
body.l2-app-l2-chrome.l2-page-char #char-bag-modal-use-row[hidden],
body.l2-app-l2-chrome.l2-page-char #char-bag-modal-equip[hidden],
body.l2-app-l2-chrome.l2-page-char #char-bag-modal-use[hidden],
body.l2-app-l2-chrome.l2-page-char button.l2-char-bag-modal-action[hidden] {
  display: none !important;
}

body.l2-app-l2-chrome.l2-page-char .l2-char-bag-modal-use-row:not([hidden]) {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}

body.l2-app-l2-chrome.l2-page-char .l2-char-bag-modal-use-label {
  font-size: 11px;
  color: #c8c0b0;
}

body.l2-app-l2-chrome.l2-page-char .l2-char-bag-modal-use-qty {
  box-sizing: border-box;
  width: 64px;
  padding: 4px 6px;
  font-size: 12px;
  color: #f0e6b8;
  border: 1px solid rgba(199, 173, 128, 0.45);
  border-radius: 2px;
  background: rgba(0, 0, 0, 0.35);
}

body.l2-app-l2-chrome.l2-page-char button.l2-char-bag-equip,
body.l2-app-l2-chrome.l2-page-char button.l2-char-bag-modal-action:not([hidden]),
body.l2-app-l2-chrome.l2-page-char #char-bag-modal-equip:not([hidden]),
body.l2-app-l2-chrome.l2-page-char #char-bag-modal-use:not([hidden]) {
  box-sizing: border-box !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 58px;
  min-height: 26px;
  padding: 5px 12px !important;
  font-size: 10px !important;
  font-weight: 600 !important;
  line-height: 1.2;
  border: 0 !important;
  border-width: 0 !important;
  border-style: none !important;
  border-color: transparent !important;
  border-radius: 0 !important;
  border-image: none !important;
  border-image-source: none !important;
  border-image-slice: none !important;
  border-image-width: 0 !important;
  background-color: transparent !important;
  background-image: url('/assets/1512125-removebg-preview-removebg-preview.png?v=20260707charBagBtn1512') !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: 100% 100% !important;
  -webkit-box-shadow: none !important;
  box-shadow: none !important;
  color: #f0e6b8 !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.85) !important;
  cursor: pointer;
  filter: none !important;
  -webkit-filter: none !important;
  transform: none !important;
}

body.l2-app-l2-chrome.l2-page-char #char-bag-modal-equip,
body.l2-app-l2-chrome.l2-page-char #char-bag-modal-use {
  min-width: 72px;
  min-height: 30px;
  padding: 6px 14px !important;
  font-size: 11px !important;
  margin-top: 4px;
}

body.l2-app-l2-chrome.l2-page-char #char-bag-modal-use-row #char-bag-modal-use {
  margin-top: 0;
}

body.l2-app-l2-chrome.l2-page-char button.l2-char-bag-equip:hover,
body.l2-app-l2-chrome.l2-page-char button.l2-char-bag-equip:focus,
body.l2-app-l2-chrome.l2-page-char button.l2-char-bag-equip:focus-visible,
body.l2-app-l2-chrome.l2-page-char button.l2-char-bag-modal-action:hover,
body.l2-app-l2-chrome.l2-page-char button.l2-char-bag-modal-action:focus,
body.l2-app-l2-chrome.l2-page-char button.l2-char-bag-modal-action:focus-visible {
  outline: none !important;
  border: 0 !important;
  border-image: none !important;
  background-image: url('/assets/1512125-removebg-preview-removebg-preview.png?v=20260707charBagBtn1512') !important;
  filter: brightness(1.06) !important;
  -webkit-filter: brightness(1.06) !important;
  color: #fff4d6 !important;
  transform: none !important;
}

/* ПК (+30% колонки): трохи читабельніші таби сумки, портрет пропорційно ширший */
@media (min-width: 520px) {
  body.l2-app-l2-chrome.l2-page-char .l2-char-inv-shop-tabs-host.l2-gm-shop .l2-drops-shop-tablist--cats .l2-drops-shop-tab,
  body.l2-app-l2-chrome.l2-page-char .l2-char-inv-shop-tabs-host.l2-gm-shop .l2-drops-shop-tablist--grades .l2-drops-shop-tab,
  body.l2-app-l2-chrome.l2-page-char .l2-char-inv-shop-tabs-host.l2-gm-shop .l2-drops-shop-tablist--weapon-kind .l2-drops-shop-tab,
  body.l2-app-l2-chrome.l2-page-char .l2-char-inv-shop-tabs-host.l2-gm-shop .l2-drops-shop-tablist--consumable-sub .l2-drops-shop-tab,
  body.l2-app-l2-chrome.l2-page-char .l2-char-inv-shop-tabs-host.l2-gm-shop .l2-drops-shop-tablist--armor-piece .l2-drops-shop-tab,
  body.l2-app-l2-chrome.l2-page-char .l2-char-inv-shop-tabs-host.l2-gm-shop .l2-drops-shop-tablist--jewelry-sub .l2-drops-shop-tab {
    font-size: 9px !important;
  }

  body.l2-app-l2-chrome.l2-page-char .l2-char-equip-frame {
    width: min(100%, 390px);
  }
}
