/* #277 виджет поддержки на страницах студии */
.vvsup { position: fixed; right: 0; bottom: 96px; z-index: 900; font-family: inherit; }
.vvsup__tab {
  position: absolute; right: 0; bottom: 0; display: flex; align-items: center; gap: 8px;
  padding: 14px 12px; color: #fff; background: #c8102e; border: 0; border-radius: 12px 0 0 12px;
  cursor: pointer; writing-mode: vertical-rl; font-size: 14px; letter-spacing: .04em;
  box-shadow: 0 6px 24px rgba(0, 0, 0, .35);
}
.vvsup__tab:hover { background: #a80d26; }
.vvsup--open .vvsup__tab { display: none; }
.vvsup__dot { width: 8px; height: 8px; background: #fff; border-radius: 50%; }
.vvsup__panel {
  position: fixed; right: 20px; bottom: 20px; display: flex; flex-direction: column;
  width: min(360px, calc(100vw - 32px)); height: min(520px, calc(100vh - 40px));
  background: #1b1b1b; border: 1px solid rgba(255, 255, 255, .14); border-radius: 16px;
  overflow: hidden; box-shadow: 0 18px 48px rgba(0, 0, 0, .5);
}
.vvsup__panel[hidden] { display: none; }
.vvsup__head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 16px; background: #c8102e; color: #fff;
}
.vvsup__title { font-size: 15px; }
.vvsup__close { width: 32px; height: 32px; font-size: 22px; line-height: 1; color: #fff; background: none; border: 0; cursor: pointer; }
.vvsup__feed { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.vvsup__hello, .vvsup__err { margin: 0; font-size: 13.5px; line-height: 1.45; color: #a9a9a9; }
.vvsup__err { color: #ff8f8f; }
.vvsup__msg { max-width: 85%; padding: 9px 12px; border-radius: 14px; background: #2a2a2a; color: #f2f2f2; align-self: flex-start; }
.vvsup__msg--my { align-self: flex-end; background: #c8102e; color: #fff; }
.vvsup__who { display: block; margin-bottom: 3px; font-size: 11.5px; opacity: .7; }
.vvsup__text { margin: 0; font-size: 14px; line-height: 1.45; white-space: pre-wrap; overflow-wrap: anywhere; }
.vvsup__form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid rgba(255, 255, 255, .12); }
.vvsup__input {
  flex: 1; min-height: 40px; max-height: 120px; padding: 10px 12px; resize: none;
  color: #f2f2f2; background: #242424; border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 10px; font: inherit; font-size: 14px;
}
.vvsup__send { width: 44px; border: 0; border-radius: 10px; background: #c8102e; color: #fff; font-size: 18px; cursor: pointer; }
.vvsup__send:hover { background: #a80d26; }
@media (max-width: 600px) {
  .vvsup { bottom: 76px; }
  .vvsup__panel { right: 8px; left: 8px; width: auto; height: min(70vh, 520px); }
}
