/* ---------- Инвентарь ---------- */
.inv { gap: 14px; padding-bottom: 8px; }

.inv__card {
  padding: 18px; border-radius: 28px; display: flex; flex-direction: column; gap: 6px;
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(247,37,133,.38), rgba(247,37,133,0) 60%),
    linear-gradient(135deg, rgba(27,36,56,.6), rgba(27,36,56,.3));
}
.inv__card > * { position: relative; }
.inv__label { font-size: 12px; font-weight: 600; letter-spacing: .6px; text-transform: uppercase; color: rgba(255,255,255,.65); }
.inv__big { display: flex; align-items: baseline; gap: 8px; margin-top: 2px; }
.inv__big b { font: 700 38px 'Unbounded', system-ui, sans-serif; line-height: 1.1; font-variant-numeric: tabular-nums; }
.inv__big span { font: 700 20px 'Unbounded', system-ui, sans-serif; color: rgba(255,255,255,.5); }
.inv__ton { align-self: center; display: flex; margin-left: 2px; }
.inv__ton svg { width: 26px; height: 26px; }
.inv__count { font-size: 13px; font-weight: 600; color: rgba(255,255,255,.7); }

.inv__title { font: 700 22px 'Unbounded', system-ui, sans-serif; margin: 4px 2px 0; }
.inv__titlerow { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.inv__all {
  flex: none; height: 38px; padding: 0 16px; border-radius: 19px; cursor: pointer; margin-top: 4px;
  border: 1px solid rgba(247,37,133,.6); background: linear-gradient(180deg, rgba(247,37,133,.75), rgba(247,37,133,.45));
  box-shadow: inset 0 1px 1px rgba(255,255,255,.5); color: #fff; font: 700 13px inherit; font-family: inherit;
  transition: transform .2s cubic-bezier(.3,1.4,.5,1), filter .2s;
}
.inv__all:active { transform: scale(.95); }
@media (hover: hover) { .inv__all:hover { transform: translateY(-2px); filter: brightness(1.1); } }
.inv__allrow { display: flex; align-items: center; gap: 6px; margin-bottom: 12px; flex-wrap: wrap; }
.inv__allrow i { width: 44px; height: 44px; border-radius: 14px; font-style: normal; font-size: 26px; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,.12); }
.inv__allrow em { font-style: normal; font-weight: 700; font-size: 13px; color: rgba(255,255,255,.7); padding: 0 6px; }
.inv__wdsub { margin: 0 0 6px; font-size: 13px; line-height: 1.4; color: rgba(255,255,255,.7); }
.inv__wdsub b { color: #fff; }
.inv__warn {
  display: flex; flex-direction: column; align-items: flex-start; gap: 6px; margin: 4px 0 10px; padding: 12px 14px; border-radius: 18px;
  background: rgba(251,191,36,.14); border: 1px solid rgba(251,191,36,.45);
}
.inv__warn b { font-size: 13px; color: #fbbf24; }
.inv__warn span { font-size: 13px; line-height: 1.4; color: rgba(255,255,255,.92); }
.inv__warn button {
  margin-top: 4px; height: 34px; padding: 0 14px; border: 0; border-radius: 17px; cursor: pointer;
  background: #fff; color: #000; font: 700 12px inherit; font-family: inherit; transition: transform .2s cubic-bezier(.3,1.4,.5,1);
}
.inv__warn button:active { transform: scale(.95); }
.inv__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.inv__gift {
  border-radius: 24px; padding: 16px 12px 14px;
  display: flex; flex-direction: column; align-items: center; gap: 3px; text-align: center;
}
.inv__gift > * { position: relative; }
.inv__pic {
  width: 72px; height: 72px; margin-bottom: 6px; border-radius: 22px; font-style: normal; font-size: 40px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.14);
}
.inv__gift b { font-size: 14px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.inv__gift small { font-size: 12px; color: rgba(255,255,255,.55); }
.inv__val {
  margin-top: 8px; padding: 6px 12px; border-radius: 14px;
  font: 700 12px 'Unbounded', system-ui, sans-serif; background: rgba(255,255,255,.12);
}
.inv__wd {
  position: relative; width: 100%; height: 40px; margin-top: 10px; border: 0; border-radius: 20px; cursor: pointer;
  background: #fff; color: #000; font: 700 13px inherit; font-family: inherit; transition: transform .15s;
}
.inv__wd:active { transform: scale(.97); }
.inv__sell {
  position: relative; width: 100%; min-height: 40px; margin-top: 8px; padding: 0 8px; border-radius: 20px; cursor: pointer;
  border: 1px solid rgba(247,37,133,.6);
  background: linear-gradient(180deg, rgba(247,37,133,.75), rgba(247,37,133,.45));
  box-shadow: inset 0 1px 1px rgba(255,255,255,.5);
  color: #fff; font: 700 12px inherit; font-family: inherit; transition: transform .15s;
}
.inv__sell:active { transform: scale(.97); }
.inv__wdgift { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.inv__wdgift i {
  width: 52px; height: 52px; flex: none; border-radius: 16px; font-style: normal; font-size: 30px;
  display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,.12);
}
.inv__wdgift span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.inv__wdgift small { font-size: 12px; color: rgba(255,255,255,.6); }
.inv__wdtext { margin: 0 0 6px; font-size: 14px; line-height: 1.4; color: #fff; }
.inv__wdtext b { white-space: nowrap; font-family: 'Unbounded', system-ui, sans-serif; font-weight: 700; }
.inv__empty {
  border-radius: 28px; padding: 32px 0; display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: rgba(255,255,255,.55); font-size: 13px; font-weight: 600;
}
.inv__empty > * { position: relative; }
.inv__empty svg { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
