.gn-telegram-login {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 118px;
  min-height: 34px;
  box-sizing: border-box;
  gap: 7px;
  padding: 3px 10px 3px 8px;
  border: 1px solid rgba(112, 225, 255, 0.58);
  border-radius: 11px;
  background: linear-gradient(135deg, rgba(32, 112, 232, 0.96), rgba(48, 59, 194, 0.96));
  box-shadow: 0 6px 16px rgba(0, 116, 255, 0.24), inset 0 1px rgba(255, 255, 255, 0.22);
  color: #fff;
  cursor: pointer;
}

.gn-telegram-login::before {
  content: "";
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M21.7 3.3 18.4 20c-.25 1.18-.92 1.47-1.87.91l-5.04-3.72-2.43 2.34c-.27.27-.49.5-1.01.5l.36-5.13 9.34-8.44c.41-.36-.09-.57-.63-.21L5.58 13.52.6 11.96c-1.08-.34-1.1-1.08.23-1.6L20.3 2.86c.9-.33 1.69.21 1.4.44Z'/%3E%3C/svg%3E");
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.18));
}

.gn-telegram-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  line-height: 1.05;
}

.gn-telegram-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.gn-telegram-sub {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 9px;
  white-space: nowrap;
}

@media (max-width: 360px) {
  .gn-telegram-login {
    min-width: 104px;
    gap: 5px;
    padding-right: 7px;
    padding-left: 6px;
  }

  .gn-telegram-login::before {
    width: 16px;
    height: 16px;
    flex-basis: 16px;
  }

  .gn-telegram-title {
    font-size: 11px;
  }

  .gn-telegram-sub {
    font-size: 8px;
  }
}

.gn-member-badge {
  display: flex;
  max-width: 164px;
  flex-direction: column;
  align-items: flex-end;
  color: #fff;
  line-height: 1.2;
}

.gn-member-name {
  max-width: 164px;
  overflow: hidden;
  font-size: 12px;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gn-member-balance {
  margin-top: 2px;
  color: #67ddff;
  font-size: 11px;
}

.gn-auth-toast {
  position: fixed;
  z-index: 2147483647;
  top: 64px;
  left: 50%;
  max-width: min(82vw, 340px);
  padding: 10px 14px;
  transform: translate(-50%, -14px);
  border: 1px solid rgba(95, 222, 255, 0.28);
  border-radius: 10px;
  background: rgba(15, 26, 52, 0.96);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
  color: #fff;
  font-size: 13px;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: 0.2s ease;
}

.gn-auth-toast.is-visible {
  transform: translate(-50%, 0);
  opacity: 1;
}

.gn-auth-toast.is-error {
  border-color: rgba(255, 99, 119, 0.45);
  color: #ffd9df;
}
