.nrmt-baiak-layout .nrmt-chat-window,
.nrmt-baiak-layout #root > .nrmt-chat-window,
.nrmt-baiak-layout [class*="_leftPanelArea_"] > .nrmt-chat-window {
  z-index: 8500 !important;
  top: auto !important;
  left: calc(var(--bi-left) + var(--bi-gap)) !important;
  right: auto !important;
  bottom: 70px !important;
  width: min(690px, calc(100vw - var(--bi-left) - var(--bi-right) - 28px)) !important;
  min-width: 0 !important;
  max-width: calc(100vw - var(--bi-left) - var(--bi-right) - 28px) !important;
  height: 176px !important;
  min-height: 176px !important;
  max-height: 176px !important;
  border: 1px solid #4c3c22 !important;
  border-radius: 3px !important;
  background: rgba(15, 18, 20, .96) !important;
  box-shadow: 0 0 0 1px #101213, 0 5px 16px #000 !important;
  zoom: 1 !important;
  pointer-events: auto !important;
}
.nrmt-baiak-layout #nrmt-bi-left,
.nrmt-baiak-layout .nrmt-bi-rail--left {
  z-index: 13050 !important;
  pointer-events: auto !important;
}
.nrmt-baiak-layout #nrmt-bi-left .nrmt-bi-panel--party {
  position: relative;
  z-index: 2;
}
.nrmt-baiak-layout .nrmt-chat-window [class*="_header_7xxre_"] {
  display: flex !important;
  flex: 0 0 27px !important;
  min-height: 27px !important;
  height: 27px !important;
  padding: 3px 6px 3px 10px !important;
  cursor: default !important;
  background: linear-gradient(#292d2f, #1c2022) !important;
}
.nrmt-baiak-layout .nrmt-chat-window [class*="_titleText_7xxre_"] {
  font-size: 9px !important;
  color: #d6aa42 !important;
}
.nrmt-baiak-layout .nrmt-chat-window [class*="_titleArea_7xxre_"] {
  min-width: 0 !important;
}
.nrmt-baiak-layout .nrmt-chat-window [class*="_tabs_7xxre_"] {
  flex: 0 0 29px !important;
  min-height: 29px !important;
  height: 29px !important;
  padding: 0 5px !important;
  border-bottom: 1px solid #4c3c22 !important;
  background: #202427 !important;
}
.nrmt-baiak-layout .nrmt-chat-window [class*="_tab_7xxre_"] {
  min-height: 29px !important;
  padding: 7px 13px !important;
  font-size: 9px !important;
  color: #aeb2b0 !important;
}
.nrmt-baiak-layout .nrmt-chat-window [class*="_logContent_7xxre_"] {
  min-height: 82px !important;
  padding: 7px 10px !important;
  font-size: 10px !important;
  line-height: 1.35 !important;
  background: rgba(10, 12, 14, .72) !important;
}
.nrmt-baiak-layout .nrmt-chat-window [class*="_inputArea_7xxre_"] {
  flex: 0 0 37px !important;
  min-height: 37px !important;
  padding: 4px 7px !important;
  border-top: 1px solid #30363a !important;
  background: #191d20 !important;
}
.nrmt-baiak-layout .nrmt-chat-window .nrmt-chat-resize {
  display: none !important;
}
.nrmt-baiak-layout .nrmt-chat-window .nrmt-chat-controls {
  display: flex !important;
  gap: 3px !important;
}
.nrmt-baiak-layout .nrmt-chat-window .nrmt-chat-btn {
  display: grid !important;
  place-items: center !important;
  width: 21px !important;
  height: 19px !important;
  min-width: 21px !important;
  padding: 0 !important;
  font-size: 11px !important;
}
.nrmt-baiak-layout [class*="_leftPanelArea_"] > .nrmt-chat-window.nrmt-chat-is-collapsed {
  width: 185px !important;
  height: 28px !important;
  min-height: 28px !important;
  max-height: 28px !important;
}
.nrmt-baiak-layout .nrmt-chat-window.nrmt-chat-is-collapsed [class*="_header_7xxre_"] {
  height: 27px !important;
  min-height: 27px !important;
}
.nrmt-baiak-layout canvas {
  height: calc(100vh - var(--bi-top) - var(--bi-stage) - 79px) !important;
  background: #101417 !important;
  transform-origin: left top !important;
  transition: none !important;
}
.nrmt-baiak-layout.nrmt-world-safe canvas {
  transform: scale(1.149, 1.11) !important;
  clip-path: inset(0 12.97% 9.91% 0) !important;
}
.nrmt-baiak-layout.nrmt-world-hunt canvas {
  transform: scale(1.235, 1.055) !important;
  clip-path: inset(0 19.03% 5.21% 0) !important;
}
@media (max-width: 1100px) {
  .nrmt-baiak-layout .nrmt-chat-window,
  .nrmt-baiak-layout #root > .nrmt-chat-window {
    z-index: 8500 !important;
    left: calc(var(--bi-left) + 8px) !important;
    width: calc(100vw - var(--bi-left) - 16px) !important;
    max-width: calc(100vw - var(--bi-left) - 16px) !important;
    bottom: 8px !important;
  }
  .nrmt-baiak-layout canvas {
    transform: none !important;
    clip-path: none !important;
  }
}
