#mnrv-chat {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 2147483000;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

#mnrv-chat * {
  box-sizing: border-box;
}

.mnrv-fab {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
  border: 0;
  padding: 12px 18px;
  border-radius: 999px;
  background: #13131a;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.22), 0 1px 3px rgba(0, 0, 0, 0.18);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.mnrv-fab:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.26);
}

.mnrv-fab:focus-visible {
  outline: 3px solid #6c7cff;
  outline-offset: 2px;
}

.mnrv-fab-icon {
  display: inline-flex;
}

#mnrv-chat[data-open="true"] .mnrv-fab-label {
  display: none;
}

#mnrv-chat[data-open="true"] .mnrv-fab {
  padding: 12px;
}

#mnrv-chat[data-open="true"] .mnrv-fab-icon svg path {
  d: path("M18 6 6 18M6 6l12 12");
}

.mnrv-panel {
  position: absolute;
  right: 0;
  bottom: 64px;
  width: 300px;
  background: #fff;
  border-radius: 18px;
  padding: 18px 16px 12px;
  box-shadow: 0 16px 48px rgba(20, 20, 40, 0.18), 0 2px 8px rgba(20, 20, 40, 0.1);
  transform: translateY(10px) scale(0.98);
  transform-origin: bottom right;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

#mnrv-chat[data-open="true"] .mnrv-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.mnrv-panel-title {
  margin: 0 4px 2px;
  font-size: 16px;
  font-weight: 700;
  color: #13131a;
  letter-spacing: -0.01em;
}

.mnrv-panel-sub {
  margin: 0 4px 12px;
  font-size: 13px;
  color: #6b6b76;
  line-height: 1.4;
}

.mnrv-channels {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mnrv-channel {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  padding: 10px;
  border-radius: 12px;
  color: inherit;
  transition: background 0.15s ease;
}

.mnrv-channel:hover {
  background: #f3f3f6;
}

.mnrv-channel:focus-visible {
  outline: 3px solid #6c7cff;
  outline-offset: -1px;
}

.mnrv-channel-icon {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: grid;
  place-items: center;
}

.mnrv-channel-text {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-width: 0;
}

.mnrv-channel-name {
  font-size: 14.5px;
  font-weight: 600;
  color: #13131a;
  line-height: 1.2;
}

.mnrv-channel-sub {
  font-size: 12.5px;
  color: #8a8a94;
  line-height: 1.3;
}

.mnrv-channel-go {
  color: #c2c2cc;
  font-size: 16px;
  transition: transform 0.15s ease, color 0.15s ease;
}

.mnrv-channel:hover .mnrv-channel-go {
  color: #13131a;
  transform: translateX(2px);
}

@media (max-width: 380px) {
  .mnrv-panel {
    width: calc(100vw - 40px);
  }
}

@media (prefers-reduced-motion: reduce) {
  #mnrv-chat * {
    transition: none !important;
  }

  .mnrv-channel:hover .mnrv-channel-go {
    transform: none;
  }
}
