.support-launcher {
  padding: 34px 0 70px;
  background: #0f0f0f;
  border-top: 1px solid rgba(255,255,255,.1);
}
.support-launcher__inner {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  align-items: center;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 20px;
  padding: 17px;
  background: #181818;
}
.support-avatar {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg,#f19a59,#eb7721);
  color: #17120e;
  font-weight: 950;
  font-size: 1.05rem;
  box-shadow: 0 10px 28px rgba(235,119,33,.16);
}
.support-launcher__copy > span {
  display: block;
  color: #f5a464;
  font-size: .67rem;
  letter-spacing: .12em;
  font-weight: 900;
  margin-bottom: 5px;
}
.support-launcher__copy h2 {
  margin: 0 0 5px;
  font-size: 1.35rem;
  letter-spacing: -.035em;
}
.support-launcher__copy p {
  margin: 0;
  color: #8e8f89;
  font-size: .82rem;
  line-height: 1.45;
}
.support-open {
  grid-column: 1 / -1;
  min-height: 48px;
  border: 0;
  border-radius: 13px;
  background: #f17d24;
  color: #17120e;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.chat-overlay {
  position: fixed;
  z-index: 80;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: rgba(0,0,0,.32);
  padding: 10px;
}
.chat-panel {
  width: min(100%, 430px);
  max-height: min(78svh, 720px);
  display: grid;
  grid-template-rows: auto minmax(0,1fr);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 22px 22px 16px 16px;
  background: #171717;
  box-shadow: 0 24px 70px rgba(0,0,0,.46);
  animation: chatIn .18s ease both;
}
.chat-panel__header {
  display: grid;
  grid-template-columns: 42px 1fr 40px;
  gap: 11px;
  align-items: center;
  padding: 12px 13px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: #1c1c1c;
}
.chat-panel__header .support-avatar {
  width: 42px;
  height: 42px;
  flex-basis: 42px;
  font-size: .95rem;
}
.chat-panel__header span {
  display: block;
  color: #f5a464;
  font-size: .62rem;
  letter-spacing: .12em;
  font-weight: 900;
}
.chat-panel__header h2 {
  margin: 2px 0 0;
  font-size: 1.12rem;
}
.chat-minimize {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 11px;
  background: rgba(255,255,255,.035);
  color: #eeeae3;
  font: inherit;
  font-size: 1.25rem;
  cursor: pointer;
}
.chat-panel__body {
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 14px;
}
.chat-message {
  max-width: 88%;
  border-radius: 16px;
  padding: 12px 13px;
  margin: 0 0 10px;
  line-height: 1.48;
  font-size: .9rem;
}
.chat-message p { margin: 0; }
.chat-message strong {
  display: block;
  margin-bottom: 4px;
  font-size: .75rem;
  color: #f5a464;
}
.chat-message--agent {
  background: #242423;
  border: 1px solid rgba(255,255,255,.08);
  color: #e7e3dc;
  border-bottom-left-radius: 5px;
}
.chat-message--user {
  margin-left: auto;
  background: #efe5d7;
  color: #1b1917;
  border-bottom-right-radius: 5px;
}
.chat-form {
  display: grid;
  gap: 11px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.chat-form__intro {
  margin: 0;
  color: #bcb8b1;
  font-size: .83rem;
}
.chat-form label {
  display: grid;
  gap: 6px;
  color: #b8b5ae;
  font-size: .78rem;
  font-weight: 750;
}
.chat-form input {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  padding: 0 13px;
  color: #f5f2ec;
  background: #101010;
}
.chat-form input::placeholder { color: #656660; }
.chat-consent {
  color: #71726d;
  font-size: .69rem;
  line-height: 1.42;
  margin: 0;
}
.chat-error {
  color: #ffb4a8;
  font-size: .78rem;
  margin: 0;
}
.faq-choices {
  display: grid;
  grid-template-columns: 1fr;
  gap: 7px;
  margin: 14px 0;
}
.faq-choices button {
  min-height: 46px;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 12px;
  padding: 10px 12px;
  text-align: left;
  background: rgba(255,255,255,.035);
  color: #ece8e1;
  cursor: pointer;
  font: inherit;
  font-size: .82rem;
}
.faq-choices button:hover {
  border-color: rgba(235,119,33,.45);
  background: rgba(235,119,33,.06);
}
.chat-thread {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.sticky-close--single {
  grid-template-columns: 1fr !important;
}

@keyframes chatIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (min-width: 720px) {
  .support-launcher__inner {
    grid-template-columns: 52px 1fr auto;
    padding: 20px;
  }
  .support-open {
    grid-column: auto;
    min-width: 180px;
    padding: 0 18px;
  }
  .chat-overlay {
    align-items: flex-end;
    justify-content: flex-end;
    padding: 18px;
  }
  .chat-panel {
    border-radius: 20px;
    max-height: min(76vh, 720px);
  }
  .faq-choices {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .chat-panel { animation: none; }
}
