.tinylux-support {
  position: fixed;
  right: max(20px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
  z-index: 900;
  display: grid;
  justify-items: end;
  gap: 10px;
  max-width: min(360px, calc(100vw - 32px));
  color: #17130f;
  font-family: inherit;
}

.tinylux-support__launcher,
.tinylux-support__fallback {
  min-width: 44px;
  min-height: 44px;
  border-radius: 999px;
  border: 1px solid #17130f;
  font: inherit;
  font-weight: 700;
}

.tinylux-support__launcher {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px 10px 10px;
  background: #17130f;
  color: #fffaf2;
  box-shadow: 0 10px 30px rgba(23, 19, 15, .22);
  cursor: pointer;
}

.tinylux-support__launcher:disabled {
  cursor: wait;
  opacity: .72;
}

.tinylux-support__mark {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #d5b47b;
  color: #17130f;
  font-size: 12px;
  letter-spacing: .08em;
}

.tinylux-support__status {
  max-width: 320px;
  padding: 0 4px;
  color: #17130f;
  background: rgba(255, 250, 242, .94);
  font-size: 14px;
  line-height: 1.45;
}

.tinylux-support__status:empty {
  display: none;
}

.tinylux-support__fallback {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  background: #fffaf2;
  color: #17130f;
  text-decoration: none;
}

.tinylux-support__fallback[hidden] {
  display: none;
}

.tinylux-support__launcher:focus-visible,
.tinylux-support__fallback:focus-visible {
  outline: 3px solid #2467d1;
  outline-offset: 3px;
}

@media (max-width: 640px) {
  .tinylux-support {
    right: max(12px, env(safe-area-inset-right));
    bottom: max(12px, env(safe-area-inset-bottom));
    max-width: calc(100vw - 24px);
  }

  .tinylux-support__launcher {
    padding-right: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tinylux-support__launcher {
    scroll-behavior: auto;
  }
}
