/* Central da Equipe v2: gestao compacta, provador de skins e builder de jutsus. */
#nrmt-inventory-v2 {
  --team-gold: #e8b84f;
  --team-gold-soft: #9a7330;
  --team-cyan: #70ddea;
  --team-green: #73e1b1;
  --team-red: #ef7568;
  --team-panel: #11191b;
  --team-panel-2: #0a1012;
  --team-border: #344646;
}

#nrmt-inventory-v2 .nrmt-inventory-window {
  width: min(1640px, calc(100vw - 14px));
  height: min(780px, calc(100dvh - var(--nrmt-fixed-header-height, 62px) - 18px)) !important;
  border-color: #8b6729;
  background: #080d0f;
  box-shadow: 0 28px 90px #000, 0 0 0 1px #e7b84a1c, inset 0 0 45px #000;
}

#nrmt-inventory-v2 .nrmt-inventory-window > header {
  height: 55px;
  min-height: 55px;
  padding: 0 17px;
  background:
    linear-gradient(90deg, #283332, #101719 60%, #171b18),
    radial-gradient(circle at 18% 0, #7a592433, transparent 45%);
}

#nrmt-inventory-v2 .nrmt-inventory-window > header small {
  color: #8eb1aa;
  letter-spacing: .2em;
}

#nrmt-inventory-v2 .nrmt-inventory-window > header h2 {
  margin-top: 2px;
  color: #f3c862;
  font-size: 19px;
}

#nrmt-inventory-v2 .nrmt-inventory-window > header > b {
  min-width: 104px;
  padding: 7px 11px;
  border-color: #6c592d;
  background: #101716;
  color: #f1ca65;
  text-align: center;
}

.nrmt-team-center-nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  flex: 0 0 51px;
  gap: 1px;
  padding: 0 12px;
  border-bottom: 1px solid #665128;
  background: #070c0e;
}

.nrmt-team-center-nav button {
  position: relative;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 6px 10px;
  border: 0;
  border-inline: 1px solid #263233;
  background: linear-gradient(180deg, #151e20, #0a1012);
  color: #80918d;
  text-align: left;
  cursor: pointer;
  transition: background .18s, color .18s, filter .18s;
}

.nrmt-team-center-nav button::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: transparent;
  content: "";
}

.nrmt-team-center-nav button > i {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border: 1px solid #3d5151;
  border-radius: 2px;
  background: #071012;
  color: #69d7e4;
  font: 900 8px/1 NinjaUI, sans-serif;
}

.nrmt-team-center-nav button span { display: grid; gap: 2px; min-width: 0; }
.nrmt-team-center-nav button b { color: #dbe5e1; font-size: 9px; letter-spacing: .07em; }
.nrmt-team-center-nav button small { color: #6f7f7b; font-size: 7px; }
.nrmt-team-center-nav button:hover { background: linear-gradient(180deg, #202d2f, #0e1618); }
.nrmt-team-center-nav button.is-active {
  background: radial-gradient(circle at 12%, #6c4e233d, transparent 48%), linear-gradient(180deg, #292a22, #11191a);
}
.nrmt-team-center-nav button.is-active::after { background: linear-gradient(90deg, transparent, #efbb47 22%, #efbb47 78%, transparent); box-shadow: 0 0 10px #efbb4766; }
.nrmt-team-center-nav button.is-active > i { border-color: #d2a13e; color: #ffe48a; box-shadow: 0 0 10px #d79f2f2b; }
.nrmt-team-center-nav button.is-active b { color: #f4ce6d; }

#nrmt-inventory-v2 .nrmt-inventory-body {
  grid-template-columns: 205px minmax(0, 1fr) 250px !important;
  overflow: hidden;
}

#nrmt-inventory-v2 .nrmt-inventory-body > aside:first-child {
  position: relative;
  padding: 11px 9px !important;
  background: linear-gradient(180deg, #121a1c, #080d0f 68%);
}

#nrmt-inventory-v2 .nrmt-inventory-body > aside:first-child > h3 {
  margin: 1px 3px 3px;
  color: #e7ba50;
  font-size: 9px;
}

#nrmt-inventory-v2 .nrmt-inv-side-help {
  margin: 0 3px 9px;
  color: #82938f;
  font-size: 7px;
}

#nrmt-inventory-v2 [data-inv-ninjas] { display: grid; gap: 6px; }
#nrmt-inventory-v2 .nrmt-inv-ninja--v2 {
  grid-template-columns: 50px minmax(0, 1fr);
  min-height: 62px;
  margin: 0;
  padding: 6px;
  border-color: #3d504d;
  background: linear-gradient(120deg, #192526, #0d1315 76%);
}

#nrmt-inventory-v2 .nrmt-inv-ninja--v2 img {
  width: 48px;
  height: 49px;
  border-right-color: #3d5550;
}

#nrmt-inventory-v2 .nrmt-inv-ninja--v2 .nrmt-inv-ninja__body { gap: 2px; }
#nrmt-inventory-v2 .nrmt-inv-ninja--v2 .nrmt-inv-ninja__body > b { font-size: 10px; }
#nrmt-inventory-v2 .nrmt-inv-ninja--v2 .nrmt-inv-ninja__body > small { font-size: 6px; }
#nrmt-inventory-v2 .nrmt-inv-ninja--v2 .nrmt-inv-ninja__body > i { gap: 3px; }
#nrmt-inventory-v2 .nrmt-inv-ninja--v2 .nrmt-inv-ninja__body > i em { padding: 2px; font-size: 6px; }
#nrmt-inventory-v2 .nrmt-inv-ninja--v2 .nrmt-inv-ninja__badge { right: 3px; top: 3px; font-size: 5px; }

#nrmt-inventory-v2 .nrmt-inventory-body > aside:first-child::after {
  display: grid;
  min-height: 44px;
  align-content: center;
  margin: 10px 1px 0;
  padding: 8px 9px 8px 28px;
  border: 1px solid #2f504a;
  border-left: 2px solid #61caba;
  background: linear-gradient(90deg, #0b1d1a, #091211);
  color: #8bb1a8;
  font-size: 7px;
  line-height: 1.45;
  content: "Selecione um ninja para editar set, visual e build individual.";
}

#nrmt-inventory-v2 .nrmt-inventory-body > aside:first-child::before {
  position: absolute;
  z-index: 2;
  bottom: 25px;
  left: 18px;
  color: #6bd4c1;
  font: 900 11px/1 serif;
  content: "術";
}

#nrmt-inventory-v2 .nrmt-inv-ninja-tools { display: none !important; }

/* As abas reaproveitam a logica persistente do inventario. */
#nrmt-inventory-v2[data-team-section="set"] .nrmt-inv-toolbar,
#nrmt-inventory-v2[data-team-section="set"] .nrmt-inv-items { display: none !important; }
#nrmt-inventory-v2[data-team-section="backpack"] .nrmt-inv-paper-head,
#nrmt-inventory-v2[data-team-section="backpack"] .nrmt-inv-equipped { display: none !important; }
#nrmt-inventory-v2[data-team-section="backpack"] .nrmt-inv-summary { margin-top: 9px; }
#nrmt-inventory-v2[data-team-section="set"] .nrmt-inv-summary { display: none !important; }

/* Arsenal anatomico: janela de montagem completa, sem o antigo resumo lateral. */
#nrmt-inventory-v2[data-team-section="set"] .nrmt-inventory-window {
  height: min(780px, calc(100dvh - var(--nrmt-fixed-header-height, 62px) - 18px)) !important;
}
#nrmt-inventory-v2[data-team-section="set"] .nrmt-inventory-body {
  grid-template-columns: 190px minmax(0, 1fr) 270px !important;
}
#nrmt-inventory-v2[data-team-section="set"] .nrmt-inventory-body > aside:first-child::before,
#nrmt-inventory-v2[data-team-section="set"] .nrmt-inventory-body > aside:first-child::after { display: none; }
#nrmt-inventory-v2[data-team-section="set"] .nrmt-inventory-body > aside:first-child { padding: 7px 6px !important; }
#nrmt-inventory-v2[data-team-section="set"] .nrmt-inv-side-help { display: none; }
#nrmt-inventory-v2[data-team-section="set"] [data-inv-ninjas] { gap: 4px; }
#nrmt-inventory-v2[data-team-section="set"] .nrmt-inv-ninja--v2 { min-height: 58px; }
#nrmt-inventory-v2[data-team-section="set"] .nrmt-inv-ninja--v2 img { width: 45px; height: 45px; }
#nrmt-inventory-v2[data-team-section="set"] .nrmt-inventory-body > main {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: 34px minmax(0, 1fr);
  align-items: start;
  overflow: hidden;
}
#nrmt-inventory-v2[data-team-section="set"] .nrmt-inv-paper-head {
  grid-column: 1 / -1;
  height: 34px;
  justify-content: flex-start;
  padding: 0 13px;
  background: linear-gradient(90deg, #172222, #0b1113);
}
#nrmt-inventory-v2[data-team-section="set"] .nrmt-inv-equipped {
  grid-column: 1;
  grid-row: 2;
  align-self: stretch;
  min-width: 0;
  height: auto;
  margin: 10px !important;
}
#nrmt-inventory-v2[data-team-section="set"] .nrmt-inv-loadout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: 58px minmax(0, 1fr);
  gap: 0;
  min-height: 0;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border-color: #4b4d38;
  background: radial-gradient(circle at 68% 75%, #2c5e5140, transparent 42%), linear-gradient(145deg, #151e20, #090e10);
  box-shadow: inset 0 0 42px #0009, 0 10px 24px #0008;
}
#nrmt-inventory-v2[data-team-section="set"] .nrmt-team-set-head {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 7px 12px;
  border-bottom: 1px solid #3d504b;
  background: linear-gradient(90deg, #142b27, #0d1718 55%, #251e0e);
  text-align: left;
}
#nrmt-inventory-v2[data-team-section="set"] .nrmt-team-set-head > i {
  display: grid;
  width: 39px;
  height: 39px;
  place-items: center;
  border: 1px solid #b58b39;
  border-radius: 50%;
  background: radial-gradient(circle, #27443c, #0a1314 68%);
  box-shadow: 0 0 18px #5acdb04a, inset 0 0 12px #e8be4f2b;
  color: #f0c75c;
  font: 22px/1 Georgia, serif;
  font-style: normal;
}
#nrmt-inventory-v2[data-team-section="set"] .nrmt-team-set-head > span {
  display: grid;
  min-width: 0;
  gap: 2px;
}
#nrmt-inventory-v2[data-team-section="set"] .nrmt-team-set-head > span small {
  color: #72d8c3;
  font-size: 6px;
  font-weight: 900;
  letter-spacing: .13em;
}
#nrmt-inventory-v2[data-team-section="set"] .nrmt-team-set-head > span b {
  overflow: hidden;
  color: #f2c65d;
  font: 14px/1.05 NinjaTitle, Georgia, serif;
  text-overflow: ellipsis;
  white-space: nowrap;
}
#nrmt-inventory-v2[data-team-section="set"] .nrmt-team-set-head > span em {
  color: #91a7a1;
  font-size: 6px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: .08em;
}
#nrmt-inventory-v2[data-team-section="set"] .nrmt-team-set-head > strong {
  display: grid;
  justify-items: end;
  gap: 1px;
  padding-left: 13px;
  border-left: 1px solid #5b5236;
}
#nrmt-inventory-v2[data-team-section="set"] .nrmt-team-set-head > strong b { color: #f0c75d; font-size: 18px; line-height: 1; }
#nrmt-inventory-v2[data-team-section="set"] .nrmt-team-set-head > strong small { color: #839790; font-size: 6px; letter-spacing: .1em; }
#nrmt-inventory-v2[data-team-section="set"] .nrmt-team-set-body {
  display: grid;
  grid-template-columns: 184px minmax(0, 1fr);
  gap: 10px;
  min-height: 0;
  padding: 9px;
}
#nrmt-inventory-v2[data-team-section="set"] .nrmt-team-set-status {
  display: grid;
  grid-template-rows: auto auto auto auto auto minmax(0, 1fr) auto;
  align-content: start;
  gap: 7px;
  min-width: 0;
  padding: 11px 10px;
  border: 1px solid #354a45;
  background: linear-gradient(160deg, #10211f, #080e10 72%);
  box-shadow: inset 3px 0 #4fae96, inset 0 0 22px #0008;
}
#nrmt-inventory-v2[data-team-section="set"] .nrmt-team-set-status > small { color: #72d8c3; font-size: 6px; font-weight: 900; letter-spacing: .12em; }
#nrmt-inventory-v2[data-team-section="set"] .nrmt-team-set-status > strong { display: flex; align-items: baseline; gap: 5px; }
#nrmt-inventory-v2[data-team-section="set"] .nrmt-team-set-status > strong b { color: #f1c85f; font-size: 25px; line-height: 1; }
#nrmt-inventory-v2[data-team-section="set"] .nrmt-team-set-status > strong em { color: #80928d; font-size: 6px; font-style: normal; font-weight: 800; }
#nrmt-inventory-v2[data-team-section="set"] .nrmt-team-set-status > i {
  height: 7px;
  overflow: hidden;
  border: 1px solid #365049;
  background: #030708;
  box-shadow: inset 0 0 5px #000;
}
#nrmt-inventory-v2[data-team-section="set"] .nrmt-team-set-status > i > u {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #3fa98d, #f0bb4b);
  box-shadow: 0 0 12px #70ddbd8c;
}
#nrmt-inventory-v2[data-team-section="set"] .nrmt-team-set-status > p { margin: 0; color: #879892; font-size: 6px; font-weight: 900; letter-spacing: .06em; }
#nrmt-inventory-v2[data-team-section="set"] .nrmt-team-set-roles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; }
#nrmt-inventory-v2[data-team-section="set"] .nrmt-team-set-roles span { display: grid; justify-items: center; gap: 3px; padding: 5px 2px; border: 1px solid #293936; background: #0a1213; opacity: .58; }
#nrmt-inventory-v2[data-team-section="set"] .nrmt-team-set-roles span.is-active { border-color: #b18a3c; background: #292211; opacity: 1; }
#nrmt-inventory-v2[data-team-section="set"] .nrmt-team-set-roles small { color: #899a95; font-size: 5px; }
#nrmt-inventory-v2[data-team-section="set"] .nrmt-team-set-roles b { color: #e8be58; font-size: 9px; }
#nrmt-inventory-v2[data-team-section="set"] .nrmt-team-set-bonuses { min-height: 0; padding-top: 7px; border-top: 1px solid #293a37; }
#nrmt-inventory-v2[data-team-section="set"] .nrmt-team-set-bonuses > small { color: #647a74; font-size: 5px; font-weight: 900; letter-spacing: .09em; }
#nrmt-inventory-v2[data-team-section="set"] .nrmt-team-set-bonuses > div { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; margin-top: 5px; }
#nrmt-inventory-v2[data-team-section="set"] .nrmt-team-set-bonuses span { display: flex; justify-content: space-between; gap: 4px; padding: 4px; border: 1px solid #29483f; background: #0b1916; }
#nrmt-inventory-v2[data-team-section="set"] .nrmt-team-set-bonuses span small { color: #92aaa3; font-size: 5px; }
#nrmt-inventory-v2[data-team-section="set"] .nrmt-team-set-bonuses span b { color: #71ddb8; font-size: 7px; }
#nrmt-inventory-v2[data-team-section="set"] .nrmt-team-set-bonuses em { display: block; margin-top: 8px; color: #53645f; font-size: 6px; font-style: normal; text-align: center; }
#nrmt-inventory-v2[data-team-section="set"] .nrmt-team-set-status > footer {
  align-self: end;
  padding-top: 7px;
  border-top: 1px solid #293a37;
  color: #758783;
  font-size: 6px;
  line-height: 1.35;
}
#nrmt-inventory-v2[data-team-section="set"] .nrmt-inv-loadout__slots {
  position: relative;
  display: grid;
  grid-template-areas:
    ". head . . ."
    "weapon mask necklace shoulder ring1"
    "gloves armor artifact belt ring2"
    ". pants . . ."
    ". boots . . .";
  grid-template-columns: repeat(5, minmax(72px, 1fr));
  grid-template-rows: repeat(5, 50px);
  grid-auto-rows: 50px;
  gap: 7px;
  align-content: center;
  min-width: 0;
  padding: 2px 8px;
}
#nrmt-inventory-v2[data-team-section="set"] .nrmt-inv-loadout__slots::before {
  content: "";
  position: absolute;
  z-index: 0;
  left: 50%;
  top: 49%;
  width: 104px;
  height: 204px;
  border: 1px solid #77a29885;
  border-radius: 42px 42px 25px 25px;
  background: linear-gradient(90deg, #17302ca8, #315249a8 48%, #143029a8);
  box-shadow: 0 0 30px #55d1b62e, inset 0 0 18px #7ce3c01a;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
#nrmt-inventory-v2[data-team-section="set"] .nrmt-inv-equip {
  position: relative;
  z-index: 1;
  display: grid;
  height: 50px !important;
  grid-template-columns: 36px minmax(0, 1fr);
  align-items: center;
  justify-content: normal;
  gap: 5px;
  padding: 4px;
  background: linear-gradient(145deg, #1d2728, #0a0f11);
  transition: border-color .16s, filter .16s, transform .16s;
}
#nrmt-inventory-v2[data-team-section="set"] .nrmt-inv-equip.slot-head { grid-area: head !important; }
#nrmt-inventory-v2[data-team-section="set"] .nrmt-inv-equip.slot-mask { grid-area: mask !important; }
#nrmt-inventory-v2[data-team-section="set"] .nrmt-inv-equip.slot-necklace { grid-area: necklace !important; }
#nrmt-inventory-v2[data-team-section="set"] .nrmt-inv-equip.slot-weapon { grid-area: weapon !important; }
#nrmt-inventory-v2[data-team-section="set"] .nrmt-inv-equip.slot-armor { grid-area: armor !important; }
#nrmt-inventory-v2[data-team-section="set"] .nrmt-inv-equip.slot-shoulder { grid-area: shoulder !important; }
#nrmt-inventory-v2[data-team-section="set"] .nrmt-inv-equip.slot-ring1 { grid-area: ring1 !important; }
#nrmt-inventory-v2[data-team-section="set"] .nrmt-inv-equip.slot-ring2 { grid-area: ring2 !important; }
#nrmt-inventory-v2[data-team-section="set"] .nrmt-inv-equip.slot-belt { grid-area: belt !important; }
#nrmt-inventory-v2[data-team-section="set"] .nrmt-inv-equip.slot-gloves { grid-area: gloves !important; }
#nrmt-inventory-v2[data-team-section="set"] .nrmt-inv-equip.slot-pants { grid-area: pants !important; }
#nrmt-inventory-v2[data-team-section="set"] .nrmt-inv-equip.slot-artifact { grid-area: artifact !important; }
#nrmt-inventory-v2[data-team-section="set"] .nrmt-inv-equip.slot-boots { grid-area: boots !important; }
#nrmt-inventory-v2[data-team-section="set"] .nrmt-inv-equip:hover {
  filter: brightness(1.18);
  transform: translateY(-1px);
}
#nrmt-inventory-v2[data-team-section="set"] .nrmt-inv-equip img { width: 35px; height: 35px; }
#nrmt-inventory-v2[data-team-section="set"] .nrmt-inv-equip b {
  display: -webkit-box;
  overflow: hidden;
  font-size: 6px;
  line-height: 1.2;
  text-align: left;
  white-space: normal;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
#nrmt-inventory-v2[data-team-section="set"] .nrmt-inv-equip:not(.has-item) b { text-align: center; }
#nrmt-inventory-v2[data-team-section="set"] .nrmt-inv-detail {
  padding: 9px;
  background: linear-gradient(180deg, #111a1b, #070c0e);
}
#nrmt-inventory-v2[data-team-section="set"] .nrmt-inv-detail-empty {
  min-height: 0;
  height: 100%;
  gap: 6px;
  padding: 14px;
}

/* Seletor lateral: cartoes legiveis, sem texto sobreposto ou ultimo item cortado. */
#nrmt-inventory-v2 .nrmt-inv-detail:has(.nrmt-inv-slot-picker) {
  min-height: 0;
  overflow: hidden;
  padding: 9px;
}
#nrmt-inventory-v2 .nrmt-inv-slot-picker {
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  gap: 9px;
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: 11px;
  overflow: hidden;
  box-sizing: border-box;
}
#nrmt-inventory-v2 .nrmt-inv-slot-picker > header {
  min-width: 0;
  padding-bottom: 8px;
}
#nrmt-inventory-v2 .nrmt-inv-slot-picker > header h3 { margin-top: 2px; font-size: 17px; }
#nrmt-inventory-v2 .nrmt-inv-slot-picker > p {
  margin: 0;
  color: #91a19c;
  font-size: 7px;
  line-height: 1.4;
}
#nrmt-inventory-v2 .nrmt-inv-slot-picker > .nrmt-inv-slot-list {
  display: grid;
  grid-auto-rows: max-content;
  align-content: start;
  gap: 7px;
  min-height: 0;
  padding: 1px 6px 12px 1px;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: #bc8c32 #080d0f;
}
#nrmt-inventory-v2 .nrmt-inv-slot-picker > .nrmt-inv-slot-list > .nrmt-inv-empty {
  min-height: 100%;
  align-content: center;
  padding: 18px 8px;
}
#nrmt-inventory-v2 .nrmt-inv-slot-choice {
  display: grid !important;
  grid-template-columns: 39px minmax(0, 1fr) 53px !important;
  align-items: center !important;
  justify-content: normal !important;
  gap: 7px !important;
  width: 100%;
  height: auto !important;
  min-height: 78px !important;
  padding: 7px 6px !important;
  overflow: hidden;
  box-sizing: border-box;
  text-align: left !important;
}
#nrmt-inventory-v2 .nrmt-inv-slot-choice > img {
  width: 38px;
  height: 38px;
  margin: 0;
}
#nrmt-inventory-v2 .nrmt-inv-slot-choice > span {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr);
  align-content: center;
  gap: 3px;
  min-width: 0;
}
#nrmt-inventory-v2 .nrmt-inv-slot-choice > span > b {
  display: -webkit-box;
  overflow: hidden;
  line-height: 1.15;
  white-space: normal;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
#nrmt-inventory-v2 .nrmt-inv-slot-choice > span > small {
  display: block;
  overflow: hidden;
  color: #859590;
  font-size: 6px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}
#nrmt-inventory-v2 .nrmt-inv-slot-choice > span > em {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
  min-width: 0;
}
#nrmt-inventory-v2 .nrmt-inv-slot-choice > span > em > span {
  display: inline-flex;
  width: auto;
  max-width: 100%;
  gap: 3px;
  padding: 3px 4px;
  overflow: hidden;
  white-space: nowrap;
}
#nrmt-inventory-v2 .nrmt-inv-slot-choice > span > em > span small,
#nrmt-inventory-v2 .nrmt-inv-slot-choice > span > em > span b { font-size: 6px; }
#nrmt-inventory-v2 .nrmt-inv-slot-choice > strong {
  align-self: center;
  color: #f2c24d;
  font-size: 7px;
  line-height: 1.15;
  text-align: center;
  white-space: nowrap;
}

.nrmt-team-special-pane {
  display: none;
  min-height: 0;
  flex: 1;
  overflow: auto;
  padding: 11px;
  scrollbar-color: #a77b2b #070c0e;
  scrollbar-width: thin;
  background:
    radial-gradient(circle at 55% -15%, #24413d55, transparent 44%),
    linear-gradient(145deg, #0f1719, #070b0d 70%);
}

#nrmt-inventory-v2[data-team-section="skins"] .nrmt-inventory-body,
#nrmt-inventory-v2[data-team-section="jutsus"] .nrmt-inventory-body { grid-template-columns: 205px minmax(0, 1fr) !important; }
#nrmt-inventory-v2[data-team-section="skins"] .nrmt-inv-detail,
#nrmt-inventory-v2[data-team-section="jutsus"] .nrmt-inv-detail { display: none !important; }
#nrmt-inventory-v2[data-team-section="skins"] .nrmt-inventory-body > main > :not([data-team-skins]),
#nrmt-inventory-v2[data-team-section="jutsus"] .nrmt-inventory-body > main > :not([data-team-jutsus]) { display: none !important; }
#nrmt-inventory-v2[data-team-section="skins"] [data-team-skins],
#nrmt-inventory-v2[data-team-section="jutsus"] [data-team-jutsus] { display: block; }

.nrmt-team-pane-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  min-height: 61px;
  margin-bottom: 9px;
  padding: 9px 13px;
  border: 1px solid #3a5150;
  border-left: 3px solid #e4b247;
  background:
    linear-gradient(90deg, #1a2929, #0b1214 78%),
    radial-gradient(circle at 12%, #71cfbb1c, transparent 34%);
  box-shadow: inset 0 1px #ffffff08;
}

.nrmt-team-pane-head > div { min-width: 0; }
.nrmt-team-pane-head small { color: #74d1d5; font-size: 7px; letter-spacing: .15em; }
.nrmt-team-pane-head h3 { margin: 3px 0 0; color: #f1c75f; font: 17px NinjaTitle, Georgia, serif; }
.nrmt-team-pane-head p { margin: 4px 0 0; color: #8ea09b; font-size: 8px; line-height: 1.3; }
.nrmt-team-pane-head > b {
  flex: 0 0 auto;
  padding: 7px 10px;
  border: 1px solid #6d5a2f;
  background: #111817;
  color: #f0c761;
  font-size: 8px;
  letter-spacing: .05em;
}

/* Provador: uma grande previa e linhas compactas no catalogo. */
.nrmt-team-skin-workbench {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: 10px;
  min-height: calc(100% - 71px);
}

.nrmt-team-skin-preview,
.nrmt-team-skin-catalog {
  min-width: 0;
  border: 1px solid #354847;
  background: linear-gradient(155deg, #121d1f, #080d0f 74%);
  box-shadow: inset 0 0 30px #0005;
}

.nrmt-team-skin-preview { display: grid; grid-template-rows: auto minmax(240px, 1fr) auto; }
.nrmt-team-skin-preview > header,
.nrmt-team-skin-catalog > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 11px;
  border-bottom: 1px solid #334846;
  background: #10191a;
}
.nrmt-team-skin-preview > header span { display: grid; gap: 3px; min-width: 0; }
.nrmt-team-skin-preview > header small,
.nrmt-team-skin-catalog > header small { color: #6fd7da; font-size: 6px; letter-spacing: .14em; }
.nrmt-team-skin-preview h4,
.nrmt-team-skin-catalog h4 { margin: 0; color: #edca70; font: 12px NinjaTitle, Georgia, serif; }
.nrmt-team-skin-preview > header > b { padding: 4px 6px; border: 1px solid #5b4b2b; color: #ddb85c; font-size: 6px; }

.nrmt-team-skin-preview__stage {
  position: relative;
  display: grid;
  min-height: 250px;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 70%, #4ea29032 0 14%, transparent 43%),
    linear-gradient(180deg, #102020, #070c0e);
}
.nrmt-team-skin-preview__stage::before {
  position: absolute;
  width: 182px;
  height: 182px;
  border: 1px solid #72cbbb24;
  border-radius: 50%;
  box-shadow: 0 0 45px #5ed2ba14, inset 0 0 35px #4ec6ad14;
  content: "";
}
.nrmt-team-skin-preview__stage::after {
  position: absolute;
  right: 15%;
  bottom: 19%;
  left: 15%;
  height: 16px;
  border-radius: 50%;
  background: #000a;
  filter: blur(8px);
  content: "";
}
.nrmt-team-skin-preview__stage > i {
  position: absolute;
  width: 116px;
  height: 240px;
  border: 1px solid #6cd2be18;
  border-radius: 55% 55% 20% 20%;
  background: linear-gradient(90deg, transparent, #69ddc50b, transparent);
}
.nrmt-team-skin-preview__stage img.nrmt-team-skin-preview__art,
.nrmt-team-skin-preview__stage img.nrmt-team-skin-preview__art.nrmt-front-sprite {
  position: relative;
  z-index: 2;
  width: auto !important;
  height: min(280px, 72%) !important;
  min-width: 0 !important;
  min-height: 0 !important;
  max-width: none !important;
  max-height: none !important;
  padding: 0 !important;
  object-fit: contain !important;
  object-position: center !important;
  image-rendering: pixelated !important;
  filter: drop-shadow(0 12px 8px #000) drop-shadow(0 0 11px #63cbb744);
  transform: none !important;
}
.nrmt-team-skin-preview__stage img.nrmt-team-skin-preview__art.is-wide-frame {
  transform: translateX(-27%) !important;
}
.nrmt-team-skin-preview__stage em {
  position: absolute;
  z-index: 3;
  right: 9px;
  bottom: 9px;
  padding: 4px 6px;
  border: 1px solid #48766d;
  background: #071311e6;
  color: #82dfcb;
  font-size: 6px;
  font-style: normal;
  letter-spacing: .09em;
}
.nrmt-team-skin-preview > footer {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 9px 10px;
  border-top: 1px solid #344846;
  background: #0c1314;
}
.nrmt-team-skin-preview > footer span { display: grid; gap: 2px; }
.nrmt-team-skin-preview > footer small { color: #788b87; font-size: 6px; }
.nrmt-team-skin-preview > footer b { color: #73d9c3; font-size: 8px; }
.nrmt-team-skin-preview > footer button,
.nrmt-team-skin-row > div button {
  min-height: 30px;
  padding: 7px 10px;
  border: 1px solid #a77929;
  border-radius: 2px;
  background: linear-gradient(#76541d, #3e2c12);
  color: #ffe398;
  font: 900 7px/1 NinjaUI, sans-serif;
  cursor: pointer;
}
.nrmt-team-skin-preview > footer button:disabled,
.nrmt-team-skin-row > div button:disabled { border-color: #3f5c54; background: #10201d; color: #71cdb7; cursor: default; }

.nrmt-team-skin-catalog { display: flex; min-height: 0; flex-direction: column; }
.nrmt-team-skin-catalog > header > div { display: grid; gap: 3px; }
.nrmt-team-skin-catalog > header > span { color: #84938f; font-size: 7px; }
.nrmt-team-skin-catalog > header > span b { color: #e9c35f; }
.nrmt-team-skin-catalog > p { margin: 0; padding: 7px 11px; border-bottom: 1px solid #253333; color: #7e918c; font-size: 7px; }
.nrmt-team-skin-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 6px;
  min-height: 0;
  align-content: start;
  overflow: auto;
  padding: 8px;
  scrollbar-color: #9d7428 #070c0e;
}
.nrmt-team-skin-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  min-width: 0;
  min-height: 74px;
  overflow: hidden;
  border: 1px solid #324240;
  border-left: 2px solid #53625f;
  background: linear-gradient(120deg, #141e20, #090e10);
  transition: border-color .16s, background .16s, transform .16s;
}
.nrmt-team-skin-row:hover { transform: translateY(-1px); border-color: #88703b; }
.nrmt-team-skin-row.is-previewing { border-color: #d8a43b; border-left-color: #f1c557; background: linear-gradient(120deg, #2f2a1c, #0c1415 72%); box-shadow: inset 3px 0 #d9a63624; }
.nrmt-team-skin-row.is-current { border-right: 2px solid #64d6be; }
.nrmt-team-skin-row__preview {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  grid-template-rows: auto auto auto;
  align-items: center;
  min-width: 0;
  padding: 5px 6px;
  border: 0;
  background: transparent;
  color: #dce4e1;
  text-align: left;
  cursor: pointer;
}
.nrmt-team-skin-row__preview > span { display: grid; grid-row: 1 / 4; width: 52px; height: 60px; place-items: center; border-right: 1px solid #334947; background: radial-gradient(circle, #27453f, #090e10 68%); }
.nrmt-team-skin-row__preview img { max-width: 46px; height: 53px; object-fit: contain; image-rendering: pixelated; filter: drop-shadow(0 5px 3px #000); }
.nrmt-team-skin-row__preview i { color: #6fd3d4; font-size: 5px; font-style: normal; letter-spacing: .1em; }
.nrmt-team-skin-row__preview b { overflow: hidden; color: #e7cb78; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.nrmt-team-skin-row__preview small { color: #85938f; font-size: 6px; }
.nrmt-team-skin-row > em { margin-right: 9px; color: #70d9c1; font-size: 6px; font-style: normal; }
.nrmt-team-skin-row > div { padding-right: 6px; }
.nrmt-team-skin-row > div button { min-width: 48px; min-height: 25px; padding: 5px 7px; }

/* Builder de jutsus. */
.nrmt-team-rotation {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin-bottom: 8px;
}
.nrmt-team-rotation-slot {
  position: relative;
  display: grid;
  grid-template-rows: 1fr auto;
  min-width: 0;
  min-height: 82px;
  overflow: hidden;
  border: 1px solid #4a4d38;
  background: linear-gradient(130deg, #211f18, #0c1314 70%);
  transition: border-color .16s, transform .16s, box-shadow .16s;
}
.nrmt-team-rotation-slot:hover { border-color: #9f7e3b; }
.nrmt-team-rotation-slot.is-target { border-color: #efbd4c; box-shadow: 0 0 0 1px #efbd4c2b, 0 0 16px #d99d2528, inset 0 0 20px #d99d2514; }
.nrmt-team-rotation-slot.is-target::before { position: absolute; z-index: 4; top: 0; right: 0; padding: 3px 5px; background: #e5b448; color: #14120c; font-size: 5px; font-weight: 900; content: "DESTINO"; }
.nrmt-team-rotation-slot__pick {
  display: grid;
  grid-template-columns: 24px 44px minmax(0, 1fr);
  align-items: center;
  gap: 6px;
  min-width: 0;
  padding: 6px;
  border: 0;
  background: transparent;
  color: #dce4e1;
  text-align: left;
  cursor: pointer;
}
.nrmt-team-rotation-slot__pick > b { color: #efc454; font-size: 7px; }
.nrmt-team-rotation-slot__pick > img { width: 42px; height: 42px; object-fit: contain; border: 1px solid #43605e; background: #071012; }
.nrmt-team-rotation-slot__pick > span { display: grid; gap: 2px; min-width: 0; }
.nrmt-team-rotation-slot__pick small { color: #65ced2; font-size: 5px; letter-spacing: .08em; }
.nrmt-team-rotation-slot__pick strong { overflow: hidden; color: #ead181; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.nrmt-team-rotation-slot__pick em { overflow: hidden; color: #879994; font-size: 6px; font-style: normal; text-overflow: ellipsis; white-space: nowrap; }
.nrmt-team-rotation-slot__tools { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #303b3a; }
.nrmt-team-rotation-slot__tools button { height: 21px; border: 0; border-right: 1px solid #303b3a; background: #0b1213; color: #d2b05a; font-size: 13px; cursor: pointer; }
.nrmt-team-rotation-slot__tools button:last-child { border-right: 0; color: #e37a6e; }
.nrmt-team-rotation-slot__tools button:disabled { color: #394441; cursor: default; }
.nrmt-team-rotation-slot.is-empty { grid-template-rows: 1fr; border-style: dashed; background: linear-gradient(130deg, #131b1c, #090e10); }
.nrmt-team-rotation-slot.is-empty .nrmt-team-rotation-slot__pick { grid-template-columns: 24px minmax(0, 1fr); }
.nrmt-team-rotation-slot.is-empty .nrmt-team-rotation-slot__pick:disabled { cursor: not-allowed; opacity: .42; }

.nrmt-team-jutsu-toolbar {
  display: grid;
  grid-template-columns: minmax(180px, 1.1fr) auto auto;
  align-items: center;
  gap: 7px;
  margin-bottom: 8px;
  padding: 7px;
  border: 1px solid #334545;
  background: linear-gradient(180deg, #151f21, #0b1113);
}
.nrmt-team-jutsu-toolbar > label { display: flex; align-items: center; min-width: 0; border: 1px solid #3c5050; background: #070d0f; }
.nrmt-team-jutsu-toolbar > label:focus-within { border-color: #c69635; box-shadow: 0 0 0 2px #c6963518; }
.nrmt-team-jutsu-toolbar > label span { padding-left: 8px; color: #d2a642; }
.nrmt-team-jutsu-toolbar input { width: 100%; min-width: 0; padding: 7px 8px; border: 0; outline: 0; background: transparent; color: #dce5e2; font-size: 8px; }
.nrmt-team-jutsu-toolbar nav { display: flex; gap: 3px; }
.nrmt-team-jutsu-toolbar nav button { min-height: 28px; padding: 5px 7px; border: 1px solid #354545; background: #11191b; color: #80908c; font-size: 6px; cursor: pointer; }
.nrmt-team-jutsu-toolbar nav button b { color: #d4b45f; }
.nrmt-team-jutsu-toolbar nav button.is-active { border-color: #b48630; background: #342a1a; color: #f4cf6f; }
.nrmt-team-jutsu-toolbar > span { display: grid; gap: 1px; min-width: 105px; padding: 3px 7px; border-left: 2px solid #e4b044; }
.nrmt-team-jutsu-toolbar > span b { color: #f0c75c; font-size: 8px; }
.nrmt-team-jutsu-toolbar > span small { color: #7d8e89; font-size: 5px; }

.nrmt-team-jutsu-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(320px, 1fr));
  gap: 7px;
  align-content: start;
}
.nrmt-team-jutsu {
  --jutsu-accent: #61cfdd;
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  min-width: 0;
  min-height: 124px;
  overflow: hidden;
  border: 1px solid #344847;
  border-left: 3px solid var(--jutsu-accent);
  background:
    radial-gradient(circle at 8% 50%, color-mix(in srgb, var(--jutsu-accent) 12%, transparent), transparent 35%),
    linear-gradient(135deg, #131e20, #080d0f 76%);
  color: #dce5e2;
  transition: border-color .16s, transform .16s, filter .16s;
}
.nrmt-team-jutsu[data-jutsu-kind="heal"] { --jutsu-accent: #6ddd9c; }
.nrmt-team-jutsu[data-jutsu-kind="buff"] { --jutsu-accent: #d7ad4b; }
.nrmt-team-jutsu:hover { transform: translateY(-1px); border-color: color-mix(in srgb, var(--jutsu-accent) 75%, #354747); }
.nrmt-team-jutsu.is-equipped { box-shadow: inset 3px 0 #efbc4b40; background: radial-gradient(circle at 10% 50%, #e4ac3421, transparent 35%), linear-gradient(135deg, #28261b, #0a1112 76%); }
.nrmt-team-jutsu.is-locked { opacity: .58; filter: grayscale(.58); }
.nrmt-team-jutsu__icon { position: relative; display: grid; min-width: 0; place-items: center; border-right: 1px solid #354847; background: #071012; }
.nrmt-team-jutsu__icon img { width: 58px; height: 58px; object-fit: contain; filter: drop-shadow(0 5px 5px #000); }
.nrmt-team-jutsu__icon i { position: absolute; right: 3px; bottom: 4px; left: 3px; padding: 3px; border: 1px solid color-mix(in srgb, var(--jutsu-accent) 45%, transparent); background: #061012e8; color: var(--jutsu-accent); font-size: 5px; font-style: normal; font-weight: 900; text-align: center; }
.nrmt-team-jutsu__body { display: grid; min-width: 0; grid-template-rows: auto auto auto 1fr; gap: 5px; padding: 7px 8px; }
.nrmt-team-jutsu__body > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 7px; }
.nrmt-team-jutsu__body > header span { display: grid; gap: 2px; min-width: 0; }
.nrmt-team-jutsu__body > header small { color: var(--jutsu-accent); font-size: 5px; letter-spacing: .13em; }
.nrmt-team-jutsu__body > header strong { overflow: hidden; color: #f0d483; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.nrmt-team-jutsu__body > header > b { flex: 0 0 auto; padding: 3px 5px; border: 1px solid #3d5654; background: #0b1516; color: #83cfc8; font-size: 5px; }
.nrmt-team-jutsu__body > p { margin: 0; overflow: hidden; color: #a1afab; font-size: 7px; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.nrmt-team-jutsu__facts { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 3px; }
.nrmt-team-jutsu__facts span { display: grid; min-width: 0; gap: 2px; padding: 4px 3px; border: 1px solid #2c3e3d; background: #0b1315; text-align: center; }
.nrmt-team-jutsu__facts small { color: #6f827d; font-size: 4px; letter-spacing: .04em; }
.nrmt-team-jutsu__facts b { overflow: hidden; color: #d9c47f; font-size: 7px; text-overflow: ellipsis; white-space: nowrap; }
.nrmt-team-jutsu__body > footer { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 7px; }
.nrmt-team-jutsu__body > footer em { color: #768984; font-size: 6px; font-style: normal; line-height: 1.3; }
.nrmt-team-jutsu__body > footer button { min-width: 112px; min-height: 26px; padding: 5px 7px; border: 1px solid #a47729; background: linear-gradient(#69501f, #332713); color: #f7d579; font: 900 6px/1.1 NinjaUI, sans-serif; cursor: pointer; }
.nrmt-team-jutsu__body > footer button:hover { filter: brightness(1.2); }
.nrmt-team-jutsu__body > footer button:disabled { border-color: #404a48; background: #151b1c; color: #697572; cursor: not-allowed; }

.nrmt-team-loading,
.nrmt-team-empty { display: grid; min-height: 210px; place-items: center; align-content: center; gap: 8px; color: #91a09b; text-align: center; }
.nrmt-team-loading i { width: 34px; height: 34px; border: 3px solid #27464a; border-top-color: #efbd4d; border-radius: 50%; animation: nrmtTeamSpin .8s linear infinite; }
.nrmt-team-loading b, .nrmt-team-empty b { color: #efc75d; }
@keyframes nrmtTeamSpin { to { transform: rotate(360deg); } }

.nrmt-footer-remove-ninja {
  position: absolute;
  z-index: 20;
  top: 3px;
  right: 3px;
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border: 1px solid #93463d;
  background: #2d1210;
  color: #ff9c90;
  font: 900 15px/1 Arial, sans-serif;
  opacity: .72;
}
.nrmt-footer-remove-ninja:hover,
.nrmt-footer-remove-ninja:focus-visible { border-color: #ff7567; background: #5a1d18; color: #fff; opacity: 1; outline: none; }

@media (max-width: 1180px) {
  #nrmt-inventory-v2 .nrmt-inventory-body { grid-template-columns: 185px minmax(0, 1fr) !important; }
  #nrmt-inventory-v2 .nrmt-inv-detail { display: none !important; }
  #nrmt-inventory-v2[data-team-section="skins"] .nrmt-inventory-body,
  #nrmt-inventory-v2[data-team-section="jutsus"] .nrmt-inventory-body { grid-template-columns: 185px minmax(0, 1fr) !important; }
  .nrmt-team-jutsu-grid { grid-template-columns: 1fr; }
  .nrmt-team-skin-list { grid-template-columns: 1fr; }
  #nrmt-inventory-v2[data-team-section="set"] .nrmt-inventory-body { grid-template-columns: 185px minmax(0, 1fr) !important; }
  #nrmt-inventory-v2[data-team-section="set"] .nrmt-inventory-body > main { grid-template-columns: minmax(0, 1fr) 162px; }
}

@media (max-width: 840px) {
  #nrmt-inventory-v2 .nrmt-inventory-window { height: calc(100dvh - var(--nrmt-fixed-header-height, 54px) - 5px) !important; }
  #nrmt-inventory-v2 .nrmt-inventory-body,
  #nrmt-inventory-v2[data-team-section="skins"] .nrmt-inventory-body,
  #nrmt-inventory-v2[data-team-section="jutsus"] .nrmt-inventory-body {
    grid-template-columns: 1fr !important;
    grid-template-rows: auto minmax(0, 1fr);
  }
  #nrmt-inventory-v2 .nrmt-inventory-body > aside:first-child {
    display: block !important;
    min-width: 0;
    padding: 5px 6px !important;
    overflow-x: auto;
    overflow-y: hidden;
    border-right: 0;
    border-bottom: 1px solid #3b4d4a;
  }
  #nrmt-inventory-v2 .nrmt-inventory-body > aside:first-child > h3,
  #nrmt-inventory-v2 .nrmt-inventory-body > aside:first-child > .nrmt-inv-side-help,
  #nrmt-inventory-v2 .nrmt-inventory-body > aside:first-child::before,
  #nrmt-inventory-v2 .nrmt-inventory-body > aside:first-child::after { display: none; }
  #nrmt-inventory-v2 [data-inv-ninjas] { display: flex; gap: 5px; width: max-content; }
  #nrmt-inventory-v2 .nrmt-inv-ninja--v2 { flex: 0 0 158px; min-height: 55px; }
  #nrmt-inventory-v2 .nrmt-inv-ninja--v2 img { width: 45px; height: 45px; }
  .nrmt-team-center-nav { grid-template-columns: repeat(4, minmax(112px, 1fr)); padding: 0 3px; overflow-x: auto; }
  .nrmt-team-center-nav button small { display: none; }
  .nrmt-team-skin-workbench { grid-template-columns: 230px minmax(0, 1fr); }
  .nrmt-team-rotation { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nrmt-team-jutsu-toolbar { grid-template-columns: 1fr auto; }
  .nrmt-team-jutsu-toolbar > span { display: none; }
  #nrmt-inventory-v2[data-team-section="set"] .nrmt-inventory-window { height: calc(100dvh - var(--nrmt-fixed-header-height, 54px) - 5px) !important; }
  #nrmt-inventory-v2[data-team-section="set"] .nrmt-inventory-body > main { display: flex; overflow: auto; }
  #nrmt-inventory-v2[data-team-section="set"] .nrmt-inv-paper-head { flex: 0 0 34px; }
  #nrmt-inventory-v2[data-team-section="set"] .nrmt-inv-equipped { min-width: 590px; margin: 6px !important; }
  #nrmt-inventory-v2[data-team-section="set"] .nrmt-team-set-body { grid-template-columns: 160px minmax(390px, 1fr); gap: 7px; padding: 7px; }
  #nrmt-inventory-v2[data-team-section="set"] .nrmt-inv-loadout__slots {
    grid-template-columns: repeat(5, 72px);
    grid-template-rows: repeat(5, 44px);
    grid-auto-rows: 44px;
    overflow-x: auto;
    padding-bottom: 4px;
  }
  #nrmt-inventory-v2[data-team-section="set"] .nrmt-inv-equip { height: 44px !important; grid-template-columns: 31px minmax(0, 1fr); }
  #nrmt-inventory-v2[data-team-section="set"] .nrmt-inv-equip img { width: 30px; height: 30px; }
  #nrmt-inventory-v2[data-team-section="set"] .nrmt-inv-loadout__slots::before { width: 80px; height: 170px; }
}

@media (max-width: 620px) {
  #nrmt-inventory-v2 .nrmt-inventory-window > header small { display: none; }
  #nrmt-inventory-v2 .nrmt-inventory-window > header > b { min-width: 0; font-size: 6px; }
  .nrmt-team-pane-head > b { display: none; }
  .nrmt-team-skin-workbench { grid-template-columns: 1fr; }
  .nrmt-team-skin-preview { grid-template-rows: auto 210px auto; }
  .nrmt-team-skin-preview__stage { min-height: 210px; }
  .nrmt-team-rotation { grid-template-columns: 1fr; }
  .nrmt-team-jutsu-toolbar { grid-template-columns: 1fr; }
  .nrmt-team-jutsu-toolbar nav { overflow-x: auto; }
  .nrmt-team-jutsu { grid-template-columns: 58px minmax(0, 1fr); }
  .nrmt-team-jutsu__facts { grid-template-columns: repeat(3, 1fr); }
  .nrmt-team-jutsu__body > footer { grid-template-columns: 1fr; }
  .nrmt-team-jutsu__body > footer button { width: 100%; }
  #nrmt-inventory-v2[data-team-section="set"] .nrmt-team-set-head { grid-template-columns: 36px minmax(0, 1fr) auto; gap: 7px; padding-inline: 8px; }
  #nrmt-inventory-v2[data-team-section="set"] .nrmt-team-set-head > i { width: 33px; height: 33px; font-size: 18px; }
}
