.spark-chat {
  position: fixed;
  right: max(20px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
  z-index: 190;
  max-width: min(290px, calc(100vw - 32px));
  color: #f4f4f4;
  font-family: inherit;
}
.spark-chat[hidden], .spark-chat [hidden] { display: none !important; }
.spark-chat__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid #525456;
  border-radius: 999px;
  background: #242628;
  color: #f4f4f4;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 4px 18px #0004;
}
.spark-chat__button::before {
  content: '';
  width: 17px;
  height: 14px;
  border: 1.5px solid currentColor;
  border-radius: 5px 5px 5px 0;
}
.spark-chat__button:hover { background: #323436; color: #fff; }
.spark-chat__button:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.spark-chat__button:disabled { cursor: wait; }
.spark-chat__notice:empty { display: none; }
.spark-chat__notice {
  margin: 0 0 10px;
  padding: 12px;
  background: #242628;
  border: 1px solid #525456;
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.5;
}
body:has(.consent-panel:not([hidden])) .spark-chat,
body:has(.consent-panel:not([hidden])) #chat-widget-container { visibility: hidden !important; }
@media (max-width: 600px) {
  .spark-chat { right: max(12px, env(safe-area-inset-right)); bottom: max(12px, env(safe-area-inset-bottom)); }
  .spark-chat__button { min-height: 46px; padding: 11px 15px; font-size: 13px; }
}
.spark-chat-noscript { display: block; padding: 12px 24px; text-align: center; }
