.cri-chat-launch {
  width: 120px !important;
  height: 120px !important;
  min-width: 120px !important;
  padding: 0 !important;
  overflow: hidden;
  border: 5px solid #fff !important;
  border-radius: 50% !important;
  background: #fff url('cri-site-icon-512.png') center / 90% no-repeat !important;
  box-shadow: 0 10px 32px rgba(8, 49, 85, .42) !important;
  color: transparent !important;
  transition: transform .18s ease, box-shadow .18s ease;
}

.cri-chat-launch:hover {
  transform: scale(1.08);
  box-shadow: 0 14px 38px rgba(8, 49, 85, .52) !important;
}

.cri-chat-launch:focus-visible {
  outline: 4px solid #f6c344 !important;
  outline-offset: 4px;
}

.cri-window-actions {
  display: flex;
  gap: 6px;
}

.cri-transfer,
.cri-restore {
  display: none !important;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid #d9e7f2;
}

.cri-restore span {
  display: flex;
  gap: 8px;
  margin-top: 6px;
}

.cri-restore input {
  width: 9.5em;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.cri-transfer-status {
  margin: 7px 0 0;
  font-weight: 600;
}

@media (max-width: 600px) {
  .cri-chat-launch {
    width: 88px !important;
    height: 88px !important;
    min-width: 88px !important;
    border-width: 4px !important;
  }

  .cri-chat {
    position: fixed !important;
    left: 10px !important;
    right: 10px !important;
    bottom: calc(10px + env(safe-area-inset-bottom)) !important;
    width: auto !important;
    max-width: none !important;
    max-height: calc(100dvh - 20px - env(safe-area-inset-bottom)) !important;
    overflow-y: auto !important;
  }

  .cri-chat textarea,
  .cri-chat button,
  .cri-chat input,
  .cri-chat select {
    font-size: 16px;
  }

  .cri-minimize,
  .cri-close {
    min-width: 44px;
    min-height: 44px;
  }
}
