.tch-support {
  position: fixed;
  z-index: 999990;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
}

.tch-support-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 14px 9px;
  border: 0;
  border-radius: 8px 0 0 8px;
  background: #ffdd00;
  color: #1f2937;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.2;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  box-shadow: -2px 2px 8px rgba(15, 23, 42, 0.18);
  cursor: pointer;
}

.tch-support-tab:hover,
.tch-support-tab:focus-visible {
  background: #ffe44d;
}

.tch-support-tab:focus-visible {
  outline: 2px solid #0f172a;
  outline-offset: 2px;
}

.tch-support-panel {
  position: absolute;
  right: 100%;
  top: 50%;
  width: min(260px, calc(100vw - 52px));
  padding: 8px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.2);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-50%) translateX(8px);
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s ease;
}

.tch-support:hover .tch-support-panel,
.tch-support:focus-within .tch-support-panel,
.tch-support.is-open .tch-support-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(-50%) translateX(0);
}

.tch-support-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 10px;
  border-radius: 8px;
  color: #0f172a;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
}

.tch-support-link:hover,
.tch-support-link:focus-visible {
  background: #f8fafc;
}

.tch-support-ico {
  flex: 0 0 auto;
  width: 1.25em;
  text-align: center;
}

@media (max-width: 960px) {
  html.tch-ms-open .tch-support {
    visibility: hidden;
    pointer-events: none;
  }
}
