/* Footer Shinobi unificado: conta, equipe, equipamentos, vitais e jutsus. */
:root { --bi-left: 0px !important; --bi-bottom: 136px !important; --nrmt-unified-footer-height: 124px; }

body.nrmt-baiak-layout #nrmt-bi-left,
body.nrmt-baiak-layout .nrmt-bi-floating-backpack { display: none !important; }

body.nrmt-baiak-layout:not(.nrmt-display-mobile):not([data-nrmt-display-preference="mobile"]) .nrmt-top-wallet--in-menu,
body.nrmt-baiak-layout[data-nrmt-display-preference="desktop"] .nrmt-top-wallet--in-menu {
  display: none !important;
}

body.nrmt-baiak-layout:not(.nrmt-display-mobile):not([data-nrmt-display-preference="mobile"]) [class*="_topHudNavigation_"] {
  padding-left: 8px !important;
}

body.nrmt-baiak-layout #nrmt-bi-actionbar {
  position: fixed !important;
  z-index: 9700 !important;
  left: var(--bi-gap, 8px) !important;
  right: var(--bi-gap, 8px) !important;
  bottom: var(--bi-gap, 8px) !important;
  display: grid !important;
  grid-template-columns: 224px minmax(0, 1fr) !important;
  align-items: stretch !important;
  gap: 7px !important;
  width: auto !important;
  height: var(--nrmt-unified-footer-height) !important;
  min-height: 0 !important;
  box-sizing: border-box !important;
  padding: 8px !important;
  overflow: hidden !important;
  border-image-width: 10px !important;
  background:
    radial-gradient(circle at 48% -30%, rgba(46, 151, 166, .22), transparent 45%),
    linear-gradient(180deg, rgba(14, 25, 27, .99), rgba(3, 8, 10, .995)) !important;
}

.nrmt-footer-account {
  display: grid;
  grid-template-rows: 34px 33px minmax(0, 1fr);
  min-width: 0;
  padding: 5px 7px;
  box-sizing: border-box;
  border: 1px solid rgba(118, 84, 31, .8);
  background: linear-gradient(135deg, rgba(34, 29, 18, .96), rgba(5, 16, 18, .98) 48%, rgba(6, 11, 13, .99));
  box-shadow: inset 3px 0 #d7a434, inset 0 0 14px rgba(0, 0, 0, .72);
  color: #dce8e5;
}

.nrmt-footer-player {
  display: grid;
  grid-template-columns: 27px minmax(0, 1fr);
  align-items: center;
  gap: 7px;
  min-width: 0;
  border-bottom: 1px solid rgba(74, 107, 105, .45);
}

.nrmt-footer-player > i {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border: 1px solid #987128;
  background: #071113;
  color: #69ddf0;
  font: normal 16px/1 serif;
  box-shadow: inset 0 0 8px #000, 0 0 7px rgba(83, 205, 225, .18);
}

.nrmt-footer-player > span,
.nrmt-footer-money > span,
.nrmt-footer-tn > span {
  display: grid;
  min-width: 0;
}

.nrmt-footer-account small {
  color: #86aaa7;
  font: 700 6px/1 NinjaUI, "Segoe UI", sans-serif;
  letter-spacing: .08em;
}

.nrmt-footer-player b {
  overflow: hidden;
  color: #ffe08a;
  font: 700 12px/1.2 NinjaTitle, "Arial Narrow", sans-serif;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nrmt-footer-money {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  align-items: stretch;
  padding: 4px 0;
  border-bottom: 1px solid rgba(74, 107, 105, .45);
}

.nrmt-footer-money > span,
.nrmt-footer-money > button {
  display: grid;
  align-content: center;
  min-width: 0;
  padding: 2px 5px;
  box-sizing: border-box;
  border: 1px solid rgba(65, 93, 92, .65);
  background: rgba(2, 9, 11, .66);
  text-align: left;
}

.nrmt-footer-money > button { cursor: pointer; }
.nrmt-footer-money > button:hover { border-color: #d4a33a; background: rgba(44, 34, 17, .72); }
.nrmt-footer-money b { overflow: hidden; color: #f2c95f; font: 700 9px/1.2 NinjaUI, "Segoe UI", sans-serif; text-overflow: ellipsis; white-space: nowrap; }
.nrmt-footer-money > button b { color: #70dced; }

.nrmt-footer-tn {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 31px;
  align-items: center;
  gap: 5px;
  min-width: 0;
  padding-top: 4px;
}

.nrmt-footer-tn > span { grid-template-columns: 1fr auto; align-items: end; }
.nrmt-footer-tn small { grid-column: 1 / -1; }
.nrmt-footer-tn b { color: #fff0a5; font: 700 14px/1 NinjaTitle, "Arial Narrow", sans-serif; }
.nrmt-footer-tn em { color: #83beba; font: normal 6px/1 NinjaUI, sans-serif; }
.nrmt-footer-tn > button {
  width: 31px;
  height: 27px;
  padding: 0;
  border: 1px solid rgba(146, 105, 36, .78);
  background: rgba(21, 27, 25, .92);
  color: #efc65e;
  font: 700 8px/1 NinjaUI, sans-serif;
  cursor: pointer;
}
.nrmt-footer-tn > button:hover { border-color: #78d9e8; color: #8be7f4; }

body.nrmt-baiak-layout #nrmt-bi-actionbar .nrmt-bi-action-team {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  align-items: stretch !important;
  gap: 6px !important;
  min-width: 0 !important;
  width: 100% !important;
}

body.nrmt-baiak-layout #nrmt-bi-actionbar .nrmt-bi-team-loadout {
  position: relative;
  display: grid !important;
  grid-template-columns: minmax(105px, .9fr) minmax(78px, .65fr) minmax(98px, .78fr) minmax(106px, .85fr) !important;
  align-items: center !important;
  gap: 5px !important;
  width: 100% !important;
  min-width: 0 !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 8px 7px !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
  color: #dce6e3;
  text-align: left;
}

body.nrmt-baiak-layout #nrmt-bi-actionbar .nrmt-bi-team-loadout:hover {
  filter: brightness(1.13);
  transform: translateY(-1px);
}

body.nrmt-baiak-layout #nrmt-bi-actionbar .nrmt-bi-team-loadout.is-empty {
  display: flex !important;
  justify-content: center !important;
  gap: 8px !important;
  color: #78918e;
}

body.nrmt-baiak-layout #nrmt-bi-actionbar .nrmt-bi-loadout-ninja {
  display: grid !important;
  grid-template-columns: 48px minmax(0, 1fr) !important;
  grid-template-rows: 1fr !important;
  align-items: center !important;
  gap: 7px !important;
  min-width: 0 !important;
  height: 72px !important;
  padding: 0 !important;
}

body.nrmt-baiak-layout #nrmt-bi-actionbar .nrmt-bi-loadout-portrait {
  width: 48px !important;
  height: 66px !important;
  box-sizing: border-box !important;
  padding: 2px !important;
  border: 1px solid rgba(215, 164, 52, .76) !important;
  border-image: none !important;
  background: radial-gradient(circle at 50% 38%, rgba(53, 138, 149, .34), rgba(2, 7, 9, .98) 74%) !important;
  box-shadow: inset 0 0 11px #000, 0 0 8px rgba(218, 166, 53, .16) !important;
}

body.nrmt-baiak-layout #nrmt-bi-actionbar .nrmt-bi-loadout-portrait::before { display: none !important; }
body.nrmt-baiak-layout #nrmt-bi-actionbar .nrmt-bi-loadout-portrait > img[data-hud-thumbnail] { width: 100% !important; height: 100% !important; object-fit: cover !important; object-position: 50% 18% !important; }

body.nrmt-baiak-layout #nrmt-bi-actionbar .nrmt-bi-loadout-copy {
  display: grid !important;
  align-content: center !important;
  gap: 4px !important;
  min-width: 0 !important;
}

body.nrmt-baiak-layout #nrmt-bi-actionbar .nrmt-bi-loadout-copy > b { color: #ffe28d !important; font-size: 11px !important; }
body.nrmt-baiak-layout #nrmt-bi-actionbar .nrmt-bi-loadout-copy > small { color: var(--nrmt-character-rarity, #7fd5de) !important; font-size: 6px !important; }
body.nrmt-baiak-layout #nrmt-bi-actionbar .nrmt-bi-loadout-copy > em { color: #a8bfbb; font: normal 7px/1.2 NinjaUI, "Segoe UI", sans-serif; white-space: nowrap; }
body.nrmt-baiak-layout #nrmt-bi-actionbar .nrmt-character-meta { margin: 0 !important; font-size: 6px !important; }

.nrmt-footer-vitals {
  display: grid;
  align-content: center;
  gap: 6px;
  min-width: 0;
  height: 72px;
  padding: 0 5px;
  border-inline: 1px solid rgba(70, 106, 104, .42);
}

.nrmt-footer-vital { display: grid; grid-template-columns: 1fr auto; gap: 2px 4px; min-width: 0; }
.nrmt-footer-vital small { color: #8ba3a0; font: 700 5px/1 NinjaUI, sans-serif; letter-spacing: .06em; }
.nrmt-footer-vital b { color: #dce5e2; font: 700 6px/1 NinjaUI, sans-serif; white-space: nowrap; }
.nrmt-footer-vital > i { grid-column: 1 / -1; display: block; height: 4px; overflow: hidden; border: 1px solid #263534; background: #030708; }
.nrmt-footer-vital > i > u { display: block; height: 100%; text-decoration: none; box-shadow: 0 0 5px currentColor; }
.nrmt-footer-vital.is-hp > i > u { background: linear-gradient(90deg, #8a261f, #ef6557); color: #ef6557; }
.nrmt-footer-vital.is-chakra > i > u { background: linear-gradient(90deg, #17677b, #58d1e8); color: #58d1e8; }
.nrmt-footer-vital.is-exp > i > u { background: linear-gradient(90deg, #977223, #f0c95f); color: #f0c95f; }

.nrmt-footer-gear {
  display: grid;
  align-content: center;
  gap: 5px;
  min-width: 0;
}
.nrmt-footer-gear > small { color: #8ba5a1; font: 700 5px/1 NinjaUI, sans-serif; letter-spacing: .06em; }
.nrmt-footer-gear > small b { color: #edc659; }
.nrmt-footer-gear-grid { display: grid; grid-template-columns: repeat(3, 20px); gap: 3px; align-items: center; }
.nrmt-footer-gear-slot,
.nrmt-footer-gear-more {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  box-sizing: border-box;
  overflow: hidden;
  border: 1px solid #394b49;
  background: radial-gradient(circle, rgba(52, 94, 95, .22), rgba(2, 7, 8, .96));
  color: #d5ac49;
  font: 700 6px/1 NinjaUI, sans-serif;
}
.nrmt-footer-gear-slot.is-empty { opacity: .38; border-style: dashed; }
.nrmt-footer-gear-slot.has-item[data-rarity="rare"],
.nrmt-footer-gear-slot.has-item[data-rarity="epic"],
.nrmt-footer-gear-slot.has-item[data-rarity="legendary"],
.nrmt-footer-gear-slot.has-item[data-rarity="mythic"] { border-color: var(--nrmt-character-rarity, #d1a440); }
.nrmt-footer-gear-slot img { display: block; width: 17px; height: 17px; object-fit: contain; image-rendering: pixelated; }

body.nrmt-baiak-layout #nrmt-bi-actionbar .nrmt-bi-loadout-techniques {
  display: grid !important;
  grid-template-rows: 8px auto !important;
  align-content: center !important;
  gap: 5px !important;
  min-width: 0 !important;
  height: 72px !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 0 !important;
}
body.nrmt-baiak-layout #nrmt-bi-actionbar .nrmt-bi-loadout-techniques > small { display: block !important; color: #75d6e5 !important; font-size: 5px !important; }
body.nrmt-baiak-layout #nrmt-bi-actionbar .nrmt-bi-loadout-slots { display: grid !important; grid-template-columns: repeat(4, minmax(19px, 26px)) !important; gap: 3px !important; padding: 0 !important; }
body.nrmt-baiak-layout #nrmt-bi-actionbar .nrmt-bi-loadout-jutsu { width: 100% !important; min-width: 19px !important; max-width: 26px !important; height: auto !important; aspect-ratio: 1 !important; }
body.nrmt-baiak-layout #nrmt-bi-actionbar .nrmt-bi-loadout-jutsu img { width: calc(100% - 3px) !important; height: calc(100% - 3px) !important; }
body.nrmt-baiak-layout #nrmt-bi-actionbar .nrmt-jutsu-next-label { display: none !important; }

/* Chat vira janela independente. Recolhido, ocupa somente um botao. */
body.nrmt-baiak-layout #nrmt-comms-center {
  z-index: 9800 !important;
  left: var(--nrmt-chat-left, var(--bi-gap, 8px)) !important;
  top: var(--nrmt-chat-top, auto) !important;
  right: auto !important;
  bottom: auto !important;
  width: var(--nrmt-chat-width, min(620px, calc(100vw - var(--bi-gap, 8px) * 2))) !important;
  height: var(--nrmt-chat-height, 390px) !important;
  max-width: calc(100vw - 8px) !important;
  max-height: calc(100vh - 8px) !important;
}

body.nrmt-baiak-layout #nrmt-comms-center:not([data-expanded="true"]) {
  width: var(--nrmt-chat-width, 122px) !important;
  height: var(--nrmt-chat-height, 46px) !important;
  filter: drop-shadow(0 7px 10px rgba(0, 0, 0, .8)) !important;
}

body.nrmt-baiak-layout #nrmt-comms-center:not([data-expanded="true"]) .nrmt-comms-shell {
  overflow: visible !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.nrmt-baiak-layout #nrmt-comms-center:not([data-expanded="true"]) .nrmt-comms-resize { display: none !important; }
body.nrmt-baiak-layout #nrmt-comms-center:not([data-expanded="true"]) .nrmt-comms-compact { display: block !important; height: 46px !important; padding: 0 !important; }

.nrmt-comms-floating-button {
  position: relative;
  display: grid;
  grid-template-columns: 31px minmax(0, 1fr);
  align-items: center;
  gap: 7px;
  width: 122px;
  height: 46px;
  padding: 5px 8px;
  box-sizing: border-box;
  border: 1px solid #a27729;
  border-radius: 2px;
  background: radial-gradient(circle at 20% 40%, rgba(39, 137, 150, .26), transparent 40%), linear-gradient(145deg, #172326, #050a0c 72%);
  color: #e6d18a;
  box-shadow: inset 0 0 0 2px #071012, inset 0 0 14px #000, 0 0 10px rgba(69, 204, 226, .16);
  text-align: left;
  cursor: grab;
  touch-action: none;
}
.nrmt-comms-floating-button:active,
body.nrmt-baiak-layout #nrmt-comms-center[data-moving="true"] .nrmt-comms-floating-button { cursor: grabbing; }
.nrmt-comms-floating-button:hover { border-color: #71ddec; filter: brightness(1.15); transform: translateY(-1px); }
.nrmt-comms-floating-button > i { display: grid; place-items: center; width: 29px; height: 29px; border: 1px solid #4d989f; background: #061113; color: #74e1f1; font: normal 17px/1 serif; }
.nrmt-comms-floating-button > span { display: grid; gap: 2px; }
.nrmt-comms-floating-button small { color: #78a5a4; font: 700 5px/1 NinjaUI, sans-serif; letter-spacing: .08em; }
.nrmt-comms-floating-button b { color: #ffe08a; font: 700 10px/1 NinjaTitle, sans-serif; letter-spacing: .07em; }
.nrmt-comms-floating-button > em { position: absolute; top: -6px; right: -6px; display: grid; place-items: center; min-width: 18px; height: 18px; padding: 0 4px; border: 1px solid #ffd66d; border-radius: 10px; background: #9d261f; color: #fff; font: 700 8px/1 NinjaUI, sans-serif; box-shadow: 0 2px 7px #000; }

body.nrmt-baiak-layout #nrmt-comms-center[data-expanded="true"] {
  height: var(--nrmt-chat-height, var(--nrmt-comms-expanded-height, min(390px, 52vh))) !important;
}

body.nrmt-baiak-layout #nrmt-comms-center .nrmt-comms-head[data-chat-drag] {
  cursor: grab;
  touch-action: none;
  user-select: none;
}
body.nrmt-baiak-layout #nrmt-comms-center[data-moving="true"] .nrmt-comms-head[data-chat-drag] { cursor: grabbing; }
body.nrmt-baiak-layout #nrmt-comms-center[data-pinned="true"] .nrmt-comms-head[data-chat-drag] { cursor: default; }
.nrmt-comms-pin.is-active { border-color: #ffe08a !important; background: rgba(106, 74, 25, .82) !important; color: #fff0a8 !important; box-shadow: 0 0 8px rgba(235, 187, 73, .4); }

.nrmt-comms-resize-edge {
  position: absolute;
  z-index: 35;
  display: none;
  touch-action: none;
}
body.nrmt-baiak-layout #nrmt-comms-center[data-expanded="true"] .nrmt-comms-resize-edge { display: block; }
body.nrmt-baiak-layout #nrmt-comms-center[data-expanded="true"][data-pinned="true"] :is(.nrmt-comms-resize, .nrmt-comms-resize-edge) { display: none !important; }
.nrmt-comms-resize-edge.is-w { top: 12px; bottom: 12px; left: 0; width: 7px; cursor: ew-resize; }
.nrmt-comms-resize-edge.is-e { top: 12px; right: 0; bottom: 12px; width: 7px; cursor: ew-resize; }
.nrmt-comms-resize-edge.is-s { right: 12px; bottom: 0; left: 12px; height: 7px; cursor: ns-resize; }
.nrmt-comms-resize-edge.is-nw,
.nrmt-comms-resize-edge.is-ne,
.nrmt-comms-resize-edge.is-sw,
.nrmt-comms-resize-edge.is-se { width: 14px; height: 14px; }
.nrmt-comms-resize-edge.is-nw { top: 0; left: 0; cursor: nwse-resize; }
.nrmt-comms-resize-edge.is-ne { top: 0; right: 0; cursor: nesw-resize; }
.nrmt-comms-resize-edge.is-sw { bottom: 0; left: 0; cursor: nesw-resize; }
.nrmt-comms-resize-edge.is-se { right: 0; bottom: 0; cursor: nwse-resize; }
body.nrmt-chat-resizing[data-nrmt-chat-resize="w"],
body.nrmt-chat-resizing[data-nrmt-chat-resize="w"] *,
body.nrmt-chat-resizing[data-nrmt-chat-resize="e"],
body.nrmt-chat-resizing[data-nrmt-chat-resize="e"] * { cursor: ew-resize !important; }
body.nrmt-chat-resizing[data-nrmt-chat-resize="nw"],
body.nrmt-chat-resizing[data-nrmt-chat-resize="nw"] *,
body.nrmt-chat-resizing[data-nrmt-chat-resize="se"],
body.nrmt-chat-resizing[data-nrmt-chat-resize="se"] * { cursor: nwse-resize !important; }
body.nrmt-chat-resizing[data-nrmt-chat-resize="ne"],
body.nrmt-chat-resizing[data-nrmt-chat-resize="ne"] *,
body.nrmt-chat-resizing[data-nrmt-chat-resize="sw"],
body.nrmt-chat-resizing[data-nrmt-chat-resize="sw"] * { cursor: nesw-resize !important; }
body.nrmt-baiak-layout #nrmt-comms-center[data-pinned="true"] .nrmt-comms-floating-button::after {
  content: "⚓";
  position: absolute;
  right: 5px;
  bottom: 3px;
  color: #f2c85f;
  font-size: 7px;
}

@media (max-width: 1500px) and (min-width: 1101px) {
  body.nrmt-baiak-layout #nrmt-bi-actionbar { grid-template-columns: 202px minmax(0, 1fr) !important; }
  body.nrmt-baiak-layout #nrmt-bi-actionbar .nrmt-bi-team-loadout { grid-template-columns: minmax(88px, .9fr) minmax(67px, .65fr) minmax(68px, .6fr) minmax(88px, .82fr) !important; gap: 4px !important; padding-inline: 5px !important; }
  body.nrmt-baiak-layout #nrmt-bi-actionbar .nrmt-bi-loadout-ninja { grid-template-columns: 39px minmax(0, 1fr) !important; gap: 4px !important; }
  body.nrmt-baiak-layout #nrmt-bi-actionbar .nrmt-bi-loadout-portrait { width: 39px !important; height: 58px !important; }
  body.nrmt-baiak-layout #nrmt-bi-actionbar .nrmt-bi-loadout-copy > b { font-size: 9px !important; }
  body.nrmt-baiak-layout #nrmt-bi-actionbar .nrmt-character-meta { display: none !important; }
  .nrmt-footer-gear-grid { grid-template-columns: repeat(3, 17px); gap: 2px; }
  .nrmt-footer-gear-slot, .nrmt-footer-gear-more { width: 17px; height: 17px; }
  .nrmt-footer-gear-slot img { width: 14px; height: 14px; }
  body.nrmt-baiak-layout #nrmt-bi-actionbar .nrmt-bi-loadout-slots { grid-template-columns: repeat(4, minmax(18px, 23px)) !important; gap: 2px !important; }
}

@media (max-width: 1100px) {
  :root { --bi-bottom: 116px !important; --nrmt-unified-footer-height: 106px; }
  body.nrmt-baiak-layout #nrmt-bi-actionbar {
    display: flex !important;
    align-items: stretch !important;
    gap: 5px !important;
    padding: 6px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scrollbar-width: thin;
    scroll-snap-type: x proximity;
  }
  .nrmt-footer-account { flex: 0 0 182px; grid-template-rows: 29px 28px minmax(0, 1fr); padding: 4px 6px; scroll-snap-align: start; }
  .nrmt-footer-player { grid-template-columns: 23px minmax(0, 1fr); gap: 5px; }
  .nrmt-footer-player > i { width: 21px; height: 21px; font-size: 13px; }
  .nrmt-footer-player b { font-size: 10px; }
  .nrmt-footer-money { padding: 3px 0; }
  .nrmt-footer-money b { font-size: 7px; }
  .nrmt-footer-tn b { font-size: 11px; }
  body.nrmt-baiak-layout #nrmt-bi-actionbar .nrmt-bi-action-team { display: flex !important; flex: 0 0 auto; gap: 5px !important; width: auto !important; }
  body.nrmt-baiak-layout #nrmt-bi-actionbar .nrmt-bi-team-loadout { flex: 0 0 330px; grid-template-columns: 83px 65px 63px 92px !important; gap: 4px !important; padding: 5px !important; scroll-snap-align: start; }
  body.nrmt-baiak-layout #nrmt-bi-actionbar .nrmt-bi-team-loadout.is-empty { flex-basis: 150px; }
  body.nrmt-baiak-layout #nrmt-bi-actionbar .nrmt-bi-loadout-ninja { grid-template-columns: 36px minmax(0, 1fr) !important; height: 62px !important; gap: 4px !important; }
  body.nrmt-baiak-layout #nrmt-bi-actionbar .nrmt-bi-loadout-portrait { width: 36px !important; height: 52px !important; }
  body.nrmt-baiak-layout #nrmt-bi-actionbar .nrmt-bi-loadout-copy > b { font-size: 8px !important; }
  body.nrmt-baiak-layout #nrmt-bi-actionbar .nrmt-bi-loadout-copy > small { font-size: 5px !important; }
  body.nrmt-baiak-layout #nrmt-bi-actionbar .nrmt-character-meta { display: none !important; }
  .nrmt-footer-vitals, body.nrmt-baiak-layout #nrmt-bi-actionbar .nrmt-bi-loadout-techniques { height: 62px !important; }
  .nrmt-footer-vitals { gap: 4px; padding: 0 3px; }
  .nrmt-footer-vital b { font-size: 5px; }
  .nrmt-footer-gear-grid { grid-template-columns: repeat(3, 16px); gap: 2px; }
  .nrmt-footer-gear-slot, .nrmt-footer-gear-more { width: 16px; height: 16px; }
  .nrmt-footer-gear-slot img { width: 13px; height: 13px; }
  body.nrmt-baiak-layout #nrmt-bi-actionbar .nrmt-bi-loadout-slots { grid-template-columns: repeat(4, 20px) !important; gap: 2px !important; }
  body.nrmt-baiak-layout #nrmt-comms-center { left: var(--nrmt-chat-left, 5px) !important; top: var(--nrmt-chat-top, auto) !important; right: auto !important; bottom: auto !important; width: var(--nrmt-chat-width, calc(100vw - 10px)) !important; }
  body.nrmt-baiak-layout #nrmt-comms-center:not([data-expanded="true"]) { width: var(--nrmt-chat-width, 112px) !important; height: var(--nrmt-chat-height, 43px) !important; }
  .nrmt-comms-floating-button { width: 112px; height: 43px; grid-template-columns: 28px minmax(0, 1fr); padding: 4px 6px; }
  .nrmt-comms-floating-button > i { width: 26px; height: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  .nrmt-comms-floating-button,
  body.nrmt-baiak-layout #nrmt-bi-actionbar .nrmt-bi-team-loadout { transition: none !important; }
}
