.fl-support {
  --fl-support-edge: max(16px, env(safe-area-inset-right));
  position: fixed;
  left: 0;
  right: 0;
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 9999;
  pointer-events: none;
  font: 14px/1.45 system-ui, sans-serif;
  color: #f7f2f5;
}
.fl-support *, .fl-support *::before, .fl-support *::after { box-sizing: border-box; }
.fl-support > * { pointer-events: auto; }
.fl-support [hidden] { display: none !important; }
.fl-support button, .fl-support input { font: inherit; }
.fl-support-launch {
  display: block;
  margin: 0 var(--fl-support-edge) 0 auto;
  padding: 12px 19px;
  border: 1px solid #ff8e9b;
  border-radius: 999px;
  background: #b82036;
  color: #fff;
  font-weight: 700 !important;
  box-shadow: 0 8px 26px #0007;
  cursor: pointer;
}
.fl-support-panel {
  display: flex;
  flex-direction: column;
  position: absolute;
  right: var(--fl-support-edge);
  bottom: calc(100% + 10px);
  width: min(370px, calc(100% - var(--fl-support-edge) - 16px));
  max-height: min(590px, calc(100vh - 100px));
  max-height: min(590px, calc(100dvh - 100px));
  overflow: hidden;
  padding: 0;
  border: 1px solid #68404d;
  border-radius: 18px;
  background: #1d1922;
  box-shadow: 0 12px 40px #0009;
}
.fl-support-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 15px 17px; background: #34212d; }
.fl-support-header strong, .fl-support-header span { display: block; }
.fl-support-header span { color: #dbc4ce; font-size: 12px; }
.fl-support .fl-support-close { width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: #53323f; color: #fff; font-size: 24px; cursor: pointer; }
.fl-support-body { overflow-y: auto; padding: 15px; overscroll-behavior: contain; }
.fl-support .fl-support-intro, .fl-support .fl-support-tip { margin: 0 0 10px; color: #eee1e7; font-size: 13px; }
.fl-support .fl-support-tip { color: #dfbdc5; }
.fl-support-user, .fl-support-answer { margin: 10px 0; padding: 11px 13px; border-radius: 12px; overflow-wrap: anywhere; }
.fl-support-user { margin-left: 28px; background: #6d2839; color: #fff; }
.fl-support-answer { margin-right: 20px; background: #302833; color: #f7f2f5; }
.fl-support-answer p { margin: 0 0 8px; }
.fl-support-answer a { display: inline-block; margin: 4px 10px 0 0; color: #ffb3bd; font-weight: 600; }
.fl-support-form { display: block; margin: 0; padding: 12px 15px; border-top: 1px solid #513b46; }
.fl-support-form label { display: block; margin-bottom: 5px; color: #f7f2f5; font-size: 12px; font-weight: 600; }
.fl-support-form div { display: flex; gap: 8px; }
.fl-support .fl-support-form input { flex: 1; min-width: 0; width: auto; margin: 0; padding: 10px; border: 1px solid #795462; border-radius: 8px; background: #15121a; color: #fff; }
.fl-support .fl-support-form button { width: auto; margin: 0; padding: 10px 12px; border: 0; border-radius: 8px; background: #b82036; color: #fff; cursor: pointer; }
.fl-support-contact { display: flex; flex-wrap: wrap; gap: 8px 14px; padding: 0 15px 14px; }
.fl-support-contact a { color: #ffb3bd; font-size: 12px; font-weight: 600; }
.fl-support :focus-visible { outline: 2px solid #ffc3cb; outline-offset: 2px; }
@media (max-width: 400px) {
  .fl-support { --fl-support-edge: max(10px, env(safe-area-inset-right)); bottom: max(10px, env(safe-area-inset-bottom)); }
  .fl-support-panel { width: calc(100% - var(--fl-support-edge) - 10px); }
}
