:root {
  --gw-green: #d9ff72;
  --gw-green-bright: #efffa9;
  --gw-panel: #0d1116;
  --gw-line: rgba(255, 255, 255, .12);
  --gw-text: #f1f3f5;
  --gw-muted: #858d97;
}

.goog-te-banner-frame,
iframe.skiptranslate,
.skiptranslate > iframe {
  display: none !important;
}

#google_translate_element {
  position: fixed !important;
  left: -10000px !important;
  bottom: 0 !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

body {
  top: 0 !important;
}

.global-widget-button {
  position: fixed;
  z-index: 1300;
  bottom: 20px;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 50%;
  background: rgba(8, 11, 14, .92);
  color: #f2f4f6;
  box-shadow: 0 14px 38px rgba(0, 0, 0, .34);
  backdrop-filter: blur(16px);
  transition: transform .2s ease, border-color .2s ease, color .2s ease;
}

.global-widget-button:hover {
  transform: translateY(-2px);
  border-color: rgba(217, 255, 114, .4);
  color: var(--gw-green-bright);
}

.global-widget-button svg {
  width: 19px;
  height: 19px;
}

.global-language-button.translating svg {
  animation: gw-spin 1.1s linear infinite;
}

@keyframes gw-spin {
  to { transform: rotate(360deg); }
}

.global-language-button {
  left: 20px;
}

.support-widget-button {
  right: 20px;
  background: var(--gw-green);
  border-color: var(--gw-green);
  color: #080a0b;
}

.support-widget-button:hover {
  color: #080a0b;
  background: var(--gw-green-bright);
}

.support-unread-badge {
  position: absolute;
  right: -3px;
  top: -3px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  display: none;
  place-items: center;
  border: 2px solid #080a0b;
  border-radius: 99px;
  background: #ff646b;
  color: #fff;
  font-size: 8px;
  font-weight: 900;
}

.support-unread-badge.show {
  display: grid;
}

.global-language-menu {
  position: fixed;
  z-index: 1390;
  left: 20px;
  bottom: 76px;
  width: 230px;
  max-height: min(520px, calc(100vh - 110px));
  overflow: auto;
  padding: 8px;
  border: 1px solid var(--gw-line);
  border-radius: 16px;
  background: rgba(10, 13, 17, .98);
  box-shadow: 0 28px 80px rgba(0, 0, 0, .48);
  backdrop-filter: blur(20px);
}

.global-language-menu[hidden] {
  display: none;
}

.global-language-menu header {
  padding: 9px 10px 10px;
  border-bottom: 1px solid var(--gw-line);
  color: var(--gw-green);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .08em;
}

.global-language-menu button {
  width: 100%;
  min-height: 35px;
  padding: 0 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #c8cdd3;
  text-align: left;
  font-size: 10px;
}

.global-language-menu button:hover,
.global-language-menu button.active {
  background: rgba(217, 255, 114, .08);
  color: var(--gw-green-bright);
}

.global-language-menu button small {
  color: #626b75;
  font-size: 7px;
}

.global-language-menu footer {
  margin-top: 6px;
  padding: 9px 10px 4px;
  border-top: 1px solid var(--gw-line);
  color: #565f69;
  font-size: 6px;
  line-height: 1.55;
}

.global-language-notice {
  position: fixed;
  z-index: 1400;
  left: 20px;
  bottom: 74px;
  max-width: min(360px, calc(100vw - 40px));
  padding: 10px 13px;
  border: 1px solid rgba(217, 255, 114, .2);
  border-radius: 10px;
  background: rgba(8, 11, 15, .97);
  color: #d9ff72;
  box-shadow: 0 16px 45px rgba(0, 0, 0, .45);
  font-size: 9px;
  line-height: 1.55;
}

.global-language-notice[hidden] {
  display: none;
}

.support-widget-panel {
  position: fixed;
  z-index: 1380;
  right: 20px;
  bottom: 78px;
  width: min(370px, calc(100vw - 28px));
  height: min(560px, calc(100vh - 110px));
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(217, 255, 114, .18);
  border-radius: 20px;
  background: linear-gradient(150deg, #10151b, #07090c);
  box-shadow: 0 32px 100px rgba(0, 0, 0, .55);
}

.support-widget-panel[hidden] {
  display: none;
}

.support-widget-head {
  min-height: 72px;
  padding: 15px 16px;
  display: flex;
  align-items: center;
  gap: 11px;
  border-bottom: 1px solid var(--gw-line);
}

.support-widget-orb {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(217, 255, 114, .1);
  color: var(--gw-green);
}

.support-widget-orb svg {
  width: 17px;
  height: 17px;
}

.support-widget-head div:nth-child(2) {
  flex: 1;
}

.support-widget-head strong,
.support-widget-head small {
  display: block;
}

.support-widget-head strong {
  color: var(--gw-text);
  font-size: 12px;
}

.support-widget-head small {
  margin-top: 3px;
  color: var(--gw-muted);
  font-size: 7px;
}

.support-widget-close {
  border: 1px solid rgba(255, 255, 255, .1);
  background: transparent;
  color: #9299a2;
}

.support-widget-close {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-size: 17px;
}

.support-widget-messages {
  flex: 1;
  overflow: auto;
  padding: 16px;
  background:
    radial-gradient(circle at 80% 0, rgba(89, 143, 255, .08), transparent 35%),
    #080b0f;
}

.support-widget-message {
  max-width: 84%;
  margin-bottom: 11px;
}

.support-widget-message.user {
  margin-left: auto;
}

.support-widget-message.admin {
  margin-right: auto;
}

.support-widget-message p {
  margin: 0;
  padding: 9px 11px;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 12px 12px 12px 4px;
  background: #11161c;
  color: #d9dde1;
  font-size: 9px;
  line-height: 1.65;
  white-space: pre-wrap;
}

.support-widget-message.user p {
  border-color: rgba(217, 255, 114, .16);
  border-radius: 12px 12px 4px 12px;
  background: rgba(217, 255, 114, .09);
  color: #ecf7d7;
}

.support-widget-message small {
  display: block;
  margin-top: 4px;
  color: #565f69;
  font-size: 6px;
}

.support-widget-message.user small {
  text-align: right;
}

.support-welcome {
  margin-bottom: 14px;
  padding: 13px;
  border: 1px solid rgba(217, 255, 114, .12);
  border-radius: 12px;
  background: rgba(217, 255, 114, .035);
  color: #89928d;
  font-size: 8px;
  line-height: 1.7;
}

.support-widget-composer {
  padding: 11px;
  border-top: 1px solid var(--gw-line);
  background: #0c1014;
}

.support-widget-composer textarea {
  width: 100%;
  min-height: 64px;
  max-height: 120px;
  resize: vertical;
  padding: 9px 10px;
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: 10px;
  outline: 0;
  background: #07090c;
  color: #eff1f3;
  font: inherit;
  font-size: 9px;
  line-height: 1.55;
}

.support-widget-composer textarea:focus {
  border-color: rgba(217, 255, 114, .36);
}

.support-widget-send-row {
  margin-top: 7px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.support-widget-send-row span {
  color: #59636d;
  font-size: 6px;
}

.support-widget-send {
  min-height: 34px;
  padding: 0 14px;
  border: 0;
  border-radius: 8px;
  background: var(--gw-green);
  color: #080a0b;
  font-size: 8px;
  font-weight: 900;
}

.support-widget-send:disabled {
  opacity: .55;
  cursor: wait;
}

.support-widget-status {
  padding: 6px 16px;
  border-top: 1px solid rgba(255, 255, 255, .06);
  color: #59636d;
  font-size: 6px;
  text-align: center;
}

@media (max-width: 680px) {
  .global-widget-button {
    width: 42px;
    height: 42px;
    bottom: 15px;
  }

  .global-language-button {
    left: 14px;
  }

  .support-widget-button {
    right: 14px;
  }

  .global-language-menu {
    left: 14px;
    bottom: 66px;
    width: min(250px, calc(100vw - 28px));
  }

  .global-language-notice {
    left: 14px;
    bottom: 64px;
    max-width: calc(100vw - 28px);
  }

  .support-widget-panel {
    right: 14px;
    bottom: 66px;
    height: min(580px, calc(100vh - 88px));
  }
}
