body.landing-rebuild #support .ff-support-channel-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  width: min(100%, 540px);
  margin: 26px 0 0;
}

body.landing-rebuild #support .ff-support-channel {
  appearance: none;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  min-height: 62px;
  margin: 0;
  padding: 9px 10px 9px 11px;
  border-radius: 15px;
  border: 1px solid transparent;
  font: inherit;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

body.landing-rebuild #support .ff-support-channel:focus-visible {
  outline: 2px solid rgba(247, 247, 245, 0.94);
  outline-offset: 2px;
}

.ff-support-chat-layer button:focus-visible,
.ff-support-chat-layer textarea:focus-visible,
.ff-support-chat-layer a:focus-visible {
  outline: 3px solid rgba(82, 137, 255, 0.75);
  outline-offset: 3px;
}

body.landing-rebuild #support .ff-support-channel--chat {
  color: #0b0d10;
  background: #ef4a43;
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 8px 22px rgba(239, 74, 67, 0.14);
}

body.landing-rebuild #support .ff-support-channel--chat:hover {
  background: #f0524b;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 10px 26px rgba(239, 74, 67, 0.18);
}

body.landing-rebuild #support .ff-support-channel--chat:active {
  background: #e4433d;
}

body.landing-rebuild #support .ff-support-channel--telegram {
  color: #f7f7f5;
  background: rgba(255, 255, 255, 0.035);
  border-color: rgba(255, 255, 255, 0.13);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

body.landing-rebuild #support .ff-support-channel--telegram:hover {
  background: rgba(255, 255, 255, 0.065);
  border-color: rgba(255, 255, 255, 0.21);
}

body.landing-rebuild #support .ff-support-channel__icon {
  flex: 0 0 38px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  overflow: hidden;
  border-radius: 11px;
  background: #0b0d10;
}

body.landing-rebuild #support .ff-support-channel--telegram .ff-support-channel__icon {
  background: #f4f4f1;
}

body.landing-rebuild #support .ff-support-channel__icon img {
  display: block;
  width: 26px;
  height: 26px;
  object-fit: contain;
}

body.landing-rebuild #support .ff-support-channel--chat .ff-support-channel__icon img {
  width: 36px;
  height: 36px;
}

body.landing-rebuild #support .ff-support-channel__copy {
  display: grid;
  flex: 1 1 auto;
  min-width: 0;
  gap: 2px;
}

body.landing-rebuild #support .ff-support-channel__copy strong,
body.landing-rebuild #support .ff-support-channel__copy small {
  display: block;
  margin: 0;
  color: inherit;
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
}

body.landing-rebuild #support .ff-support-channel__copy strong {
  font-size: 15px;
  font-weight: 720;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

body.landing-rebuild #support .ff-support-channel__copy small {
  font-size: 11px;
  font-weight: 540;
  line-height: 1.3;
  opacity: 0.72;
}

body.landing-rebuild #support .ff-support-channel--chat .ff-support-channel__copy small {
  opacity: 0.86;
}

body.landing-rebuild #support .ff-support-channel__arrow {
  flex: 0 0 30px;
  display: block;
  box-sizing: border-box;
  width: 30px;
  height: 30px;
  padding: 7px;
  border-radius: 50%;
  background: rgba(11, 13, 16, 0.09);
  transition: transform 180ms ease, background-color 180ms ease;
}

body.landing-rebuild #support .ff-support-channel--telegram .ff-support-channel__arrow {
  filter: invert(1);
  opacity: 0.78;
  background: rgba(0, 0, 0, 0.09);
}

body.landing-rebuild #support .ff-support-channel:hover .ff-support-channel__arrow {
  transform: translate(1px, -1px);
}

body.landing-rebuild #support .ff-support-channel:active .ff-support-channel__arrow {
  transform: none;
}

body.ff-support-chat-open {
  overflow-x: clip;
  overflow-y: auto;
  overscroll-behavior-x: none;
}

html {
  scrollbar-gutter: stable;
}

.ff-support-chat-layer[hidden] {
  display: none;
}

.ff-support-chat-layer {
  position: fixed;
  z-index: 2200;
  top: var(--ff-support-chat-viewport-top, 0);
  right: auto;
  bottom: auto;
  left: var(--ff-support-chat-viewport-left, 0);
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  width: var(--ff-support-chat-viewport-width, 100vw);
  height: var(--ff-support-chat-viewport-height, 100dvh);
  max-width: 100vw;
  overflow: hidden;
  padding: 24px;
  overscroll-behavior: none;
  color: #f6f6f4;
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
}

.ff-support-chat-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  opacity: 0;
  transition: opacity 200ms ease;
}

.ff-support-chat-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(430px, calc(100vw - 48px));
  max-width: 100%;
  height: min(700px, calc(100% - 48px));
  min-height: min(460px, calc(100% - 48px));
  overflow: hidden;
  overscroll-behavior: contain;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  background: #101216;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.55);
  opacity: 0;
  transform: translateY(18px) scale(0.985);
  transition: transform 220ms ease, opacity 180ms ease;
}

.ff-support-chat-panel:focus {
  outline: none;
}

.ff-support-chat-layer.is-open .ff-support-chat-backdrop,
.ff-support-chat-layer.is-open .ff-support-chat-panel {
  opacity: 1;
}

.ff-support-chat-layer.is-open .ff-support-chat-panel {
  transform: translateY(0) scale(1);
}

.ff-support-chat-header {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  background: #0d0f12;
}

.ff-support-chat-brand {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 11px;
}

.ff-support-chat-brand__icon {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  overflow: hidden;
  border-radius: 13px;
  background: #050607;
}

.ff-support-chat-brand__icon img {
  display: block;
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.ff-support-chat-brand__copy {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.ff-support-chat-brand__copy strong {
  overflow: hidden;
  font-size: 16px;
  font-weight: 760;
  line-height: 1.2;
  letter-spacing: -0.015em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ff-support-chat-brand__copy small {
  color: #9ea1a9;
  font-size: 12px;
  font-weight: 560;
  line-height: 1.35;
}

.ff-support-chat-close {
  appearance: none;
  flex: 0 0 auto;
  min-height: 38px;
  margin: 0;
  padding: 0 13px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 11px;
  color: #d9dadd;
  background: #1b1d22;
  font: inherit;
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
}

.ff-support-chat-close:hover {
  color: #ffffff;
  background: #24272d;
}

.ff-support-chat-language {
  flex: 0 0 auto;
  display: flex;
  gap: 6px;
  padding: 11px 16px 0;
}

.ff-support-chat-language button {
  appearance: none;
  min-height: 32px;
  margin: 0;
  padding: 0 11px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: #a9acb3;
  background: transparent;
  font: inherit;
  font-size: 12px;
  font-weight: 680;
  cursor: pointer;
}

.ff-support-chat-language button[aria-pressed="true"] {
  color: #0b0d10;
  background: #ef4a43;
  border-color: #ef4a43;
}

.ff-support-chat-messages {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 0;
  margin: 0;
  padding: 16px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  touch-action: pan-y;
  -webkit-overflow-scrolling: touch;
  scroll-padding-block: 16px;
  scrollbar-width: thin;
  scrollbar-color: #34373e transparent;
}

.ff-support-chat-message {
  width: fit-content;
  max-width: 88%;
  margin: 0;
  padding: 11px 13px;
  border-radius: 15px;
  font-size: 14px;
  font-weight: 480;
  line-height: 1.46;
  white-space: normal;
  overflow-wrap: anywhere;
}

.ff-support-chat-message p {
  margin: 0;
  color: inherit;
  font: inherit;
  white-space: pre-wrap;
}

.ff-support-chat-message--assistant {
  align-self: flex-start;
  color: #ececea;
  background: #1b1d22;
  border-bottom-left-radius: 5px;
}

.ff-support-chat-message--user {
  align-self: flex-end;
  color: #0b0d10;
  background: #ef4a43;
  border-bottom-right-radius: 5px;
}

.ff-support-chat-message--error {
  color: #ffd7d4;
  background: #2a1718;
  border: 1px solid rgba(239, 74, 67, 0.34);
}

.ff-support-chat-human-action {
  appearance: none;
  display: block;
  width: fit-content;
  min-height: 34px;
  margin: 10px 0 0;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  color: #f3f3f1;
  background: #272a30;
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.25;
  cursor: pointer;
}

.ff-support-chat-human-action:hover {
  color: #ffffff;
  background: #30343b;
  border-color: rgba(255, 255, 255, 0.22);
}

.ff-support-chat-human-action[hidden] {
  display: none;
}

.ff-support-chat-handoff {
  display: grid;
  gap: 8px;
  width: min(100%, 310px);
  margin-top: 11px;
}

.ff-support-chat-ticket {
  display: block;
  color: #aeb1b7;
  font-size: 11px;
  font-weight: 620;
  line-height: 1.35;
}

.ff-support-chat-handoff__actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
  gap: 7px;
}

.ff-support-chat-handoff__actions.is-single {
  grid-template-columns: minmax(0, 1fr);
}

.ff-support-chat-handoff__action {
  appearance: none;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  margin: 0;
  padding: 8px 10px;
  border: 1px solid transparent;
  border-radius: 11px;
  font-size: 12px;
  font-weight: 720;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.ff-support-chat-handoff__action[hidden] {
  display: none;
}

.ff-support-chat-handoff__action--telegram {
  color: #0b0d10;
  background: #f2f2ef;
}

.ff-support-chat-handoff__action--email {
  color: #f5f5f3;
  background: #202329;
  border-color: rgba(255, 255, 255, 0.13);
}

.ff-support-chat-handoff__action:hover {
  transform: translateY(-1px);
}

.ff-support-chat-handoff__action[aria-disabled="true"],
.ff-support-chat-handoff__action:disabled {
  pointer-events: none;
  cursor: wait;
  opacity: 0.46;
  transform: none;
}

.ff-support-chat-handoff__status {
  display: block;
  color: #aeb1b7;
  font-size: 11px;
  font-weight: 560;
  line-height: 1.4;
}

.ff-support-chat-handoff__status:empty {
  display: none;
}

.ff-support-chat-handoff__status.is-error {
  color: #ffaaa5;
}

.ff-support-chat-email-form[hidden] {
  display: none;
}

.ff-support-chat-email-form {
  display: grid;
  gap: 8px;
  margin-top: 2px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.ff-support-chat-email-form > input[type="email"] {
  display: block;
  width: 100%;
  min-height: 40px;
  margin: 0;
  padding: 9px 11px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 11px;
  color: #f7f7f5;
  background: #111318;
  font: inherit;
  font-size: 13px;
  line-height: 1.35;
}

.ff-support-chat-email-form > input[type="email"]::placeholder {
  color: #737780;
}

.ff-support-chat-email-consent {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  align-items: start;
  gap: 7px;
  color: #aeb1b7;
  font-size: 10px;
  font-weight: 520;
  line-height: 1.4;
}

.ff-support-chat-email-consent input {
  width: 15px;
  height: 15px;
  margin: 1px 0 0;
  accent-color: #ef4a43;
}

.ff-support-chat-email-form > button {
  appearance: none;
  min-height: 38px;
  margin: 0;
  padding: 8px 12px;
  border: 1px solid #ef4a43;
  border-radius: 11px;
  color: #0b0d10;
  background: #ef4a43;
  font: inherit;
  font-size: 12px;
  font-weight: 740;
  cursor: pointer;
}

.ff-support-chat-email-form > button:disabled,
.ff-support-chat-email-form > input:disabled {
  cursor: wait;
  opacity: 0.56;
}

.ff-support-chat-email-form > [hidden] {
  display: none;
}

.ff-support-chat-email-status {
  display: block;
  min-height: 0;
  color: #aeb1b7;
  font-size: 10px;
  font-weight: 560;
  line-height: 1.4;
}

.ff-support-chat-email-status:empty {
  display: none;
}

.ff-support-chat-email-status.is-error {
  color: #ffaaa5;
}

.ff-support-chat-email-status.is-success {
  color: #71d99a;
}

.ff-support-chat-prompts {
  flex: 0 0 auto;
  display: flex;
  gap: 7px;
  padding: 0 16px 10px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}

.ff-support-chat-prompts[hidden] {
  display: none;
}

.ff-support-chat-prompts::-webkit-scrollbar {
  display: none;
}

.ff-support-chat-prompt {
  appearance: none;
  flex: 0 0 auto;
  max-width: 240px;
  min-height: 36px;
  margin: 0;
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 12px;
  color: #d7d8dc;
  background: #17191e;
  font: inherit;
  font-size: 12px;
  font-weight: 620;
  line-height: 1.25;
  text-align: left;
  cursor: pointer;
}

.ff-support-chat-prompt:hover {
  color: #ffffff;
  background: #202329;
  border-color: rgba(255, 255, 255, 0.18);
}

.ff-support-chat-privacy {
  flex: 0 0 auto;
  margin: 0;
  padding: 0 16px 10px;
  color: #777b84;
  font-size: 11px;
  font-weight: 520;
  line-height: 1.35;
}

.ff-support-chat-status {
  flex: 0 0 auto;
  margin: 0;
  padding: 0 16px 8px;
  color: #aeb1b7;
  font-size: 12px;
  line-height: 1.35;
}

.ff-support-chat-status[hidden] {
  display: none;
}

.ff-support-chat-form {
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 9px;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  background: #0d0f12;
}

.ff-support-chat-form textarea {
  display: block;
  width: 100%;
  min-height: 44px;
  max-height: 116px;
  margin: 0;
  padding: 11px 13px;
  resize: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  color: #f6f6f4;
  background: #191b20;
  font: inherit;
  font-size: 14px;
  line-height: 1.42;
}

.ff-support-chat-form textarea::placeholder {
  color: #777b84;
}

.ff-support-chat-form textarea:disabled {
  opacity: 0.65;
}

.ff-support-chat-form button {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 84px;
  min-height: 44px;
  margin: 0;
  padding: 0 7px 0 14px;
  border: 1px solid #ef4a43;
  border-radius: 14px;
  color: #0b0d10;
  background: #ef4a43;
  font: inherit;
  font-size: 13px;
  font-weight: 760;
  white-space: nowrap;
  cursor: pointer;
}

.ff-support-chat-send__icon {
  flex: 0 0 26px;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 9px;
  color: #ffffff;
  background: #111318;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  transition: transform 150ms ease, background-color 150ms ease;
}

.ff-support-chat-send__icon svg {
  display: block;
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.ff-support-chat-form button:hover {
  background: #e9433d;
  border-color: #e9433d;
}

.ff-support-chat-form button:hover .ff-support-chat-send__icon {
  background: #050608;
  transform: translateY(-1px);
}

.ff-support-chat-form button:active .ff-support-chat-send__icon {
  transform: scale(0.94);
}

.ff-support-chat-form button:disabled .ff-support-chat-send__icon {
  transform: none;
}

.ff-support-chat-form button:disabled,
.ff-support-chat-prompt:disabled,
.ff-support-chat-language button:disabled {
  cursor: wait;
  opacity: 0.48;
}

.ff-support-chat-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (min-width: 720px) {
  body.landing-rebuild #support .ff-support-channel-list {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  }

  body.landing-rebuild #support .ff-support-channel--telegram .ff-support-channel__copy small {
    display: none;
  }
}

@media (max-width: 719px) {
  .ff-support-chat-layer {
    padding: 0;
  }

  .ff-support-chat-panel {
    width: 100%;
    height: auto;
    max-height: min(720px, calc(100% - max(8px, env(safe-area-inset-top))));
    min-height: 0;
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 24px 24px 0 0;
    transform: translateY(28px);
  }

  .ff-support-chat-message {
    max-width: 91%;
  }

  .ff-support-chat-handoff {
    width: 100%;
  }

  .ff-support-chat-form textarea,
  .ff-support-chat-email-form > input[type="email"] {
    font-size: 16px;
  }

  .ff-support-chat-form textarea {
    height: 48px;
    min-height: 48px;
    max-height: 48px;
    overflow-y: auto;
  }
}

@media (max-width: 420px) {
  body.landing-rebuild #support .ff-support-channel-list {
    width: 100%;
    margin-top: 22px;
  }

  body.landing-rebuild #support .ff-support-channel {
    min-height: 60px;
  }

  .ff-support-chat-header,
  .ff-support-chat-messages {
    padding-right: 14px;
    padding-left: 14px;
  }

  .ff-support-chat-language {
    padding-right: 14px;
    padding-left: 14px;
  }

  .ff-support-chat-prompts,
  .ff-support-chat-privacy,
  .ff-support-chat-status {
    padding-right: 14px;
    padding-left: 14px;
  }

  .ff-support-chat-form {
    padding-right: 14px;
    padding-left: 14px;
  }
}

@media (max-width: 340px) {
  body.landing-rebuild #support .ff-support-channel {
    gap: 8px;
    padding-right: 9px;
    padding-left: 9px;
  }

  body.landing-rebuild #support .ff-support-channel__icon {
    flex-basis: 36px;
    width: 36px;
    height: 36px;
  }

  body.landing-rebuild #support .ff-support-channel--chat .ff-support-channel__icon img {
    width: 34px;
    height: 34px;
  }

  body.landing-rebuild #support .ff-support-channel__copy strong {
    font-size: 14px;
  }

  body.landing-rebuild #support .ff-support-channel__copy small {
    display: none;
  }

  body.landing-rebuild #support .ff-support-channel__arrow {
    flex-basis: 28px;
    width: 28px;
    height: 28px;
    padding: 7px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.landing-rebuild #support .ff-support-channel,
  .ff-support-chat-backdrop,
  .ff-support-chat-panel,
  .ff-support-chat-send__icon {
    transition: none;
  }
}
