.prale-chat-launcher,
.prale-chat-panel {
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
}

.prale-chat-launcher {
  position: fixed;
  right: clamp(18px, 2.4vw, 34px);
  bottom: clamp(18px, 2.4vw, 34px);
  z-index: 9998;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 20px 0 16px;
  border: 1px solid rgba(255, 255, 255, .17);
  border-radius: 999px;
  color: #fff;
  background: rgba(13, 14, 16, .94);
  box-shadow: 0 18px 55px rgba(0, 0, 0, .42), inset 0 1px rgba(255, 255, 255, .06);
  backdrop-filter: blur(18px);
  cursor: pointer;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.prale-chat-launcher:hover {
  transform: translateY(-3px);
  border-color: rgba(227, 27, 50, .75);
  box-shadow: 0 22px 62px rgba(0, 0, 0, .52), 0 0 0 1px rgba(227, 27, 50, .16);
}

.prale-chat-launcher__icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #e31b32;
  box-shadow: 0 0 26px rgba(227, 27, 50, .32);
}

.prale-chat-launcher__icon svg { width: 17px; height: 17px; fill: currentColor; }
.prale-chat-launcher__copy { display: grid; gap: 1px; text-align: left; }
.prale-chat-launcher__label { font-size: 13px; font-weight: 750; letter-spacing: .02em; }
.prale-chat-launcher__status { color: #aeb1b7; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }

.prale-chat-panel {
  position: fixed;
  right: clamp(18px, 2.4vw, 34px);
  bottom: clamp(84px, 8vw, 104px);
  z-index: 9999;
  width: min(390px, calc(100vw - 28px));
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 22px;
  color: #f6f6f4;
  background: rgba(16, 17, 19, .985);
  box-shadow: 0 32px 90px rgba(0, 0, 0, .64);
  transform: translateY(16px) scale(.97);
  transform-origin: right bottom;
  opacity: 0;
  visibility: hidden;
  transition: opacity .22s ease, transform .22s ease, visibility .22s;
}

.prale-chat-panel.is-open { transform: none; opacity: 1; visibility: visible; }

.prale-chat-panel__head {
  position: relative;
  padding: 24px 24px 20px;
  background: linear-gradient(135deg, rgba(227, 27, 50, .17), transparent 62%), #121315;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.prale-chat-panel__eyebrow { color: #e31b32; font-size: 10px; font-weight: 750; letter-spacing: .18em; text-transform: uppercase; }
.prale-chat-panel h2 { margin: 8px 42px 6px 0; color: #fff; font-size: 24px; line-height: 1.08; letter-spacing: -.03em; }
.prale-chat-panel__intro { margin: 0; color: #acafb5; font-size: 13px; line-height: 1.55; }
.prale-chat-panel__close { position: absolute; top: 18px; right: 18px; width: 34px; height: 34px; border: 1px solid rgba(255,255,255,.1); border-radius: 50%; color: #fff; background: rgba(255,255,255,.04); font-size: 20px; cursor: pointer; }

.prale-chat-panel__body { padding: 20px 24px 24px; }
.prale-chat-panel__prompt { margin: 0 0 10px; color: #d8d9dc; font-size: 12px; font-weight: 700; }
.prale-chat-panel__topics { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.prale-chat-topic { padding: 9px 11px; border: 1px solid rgba(255,255,255,.1); border-radius: 999px; color: #d2d4d8; background: #1a1b1e; font-size: 11px; cursor: pointer; transition: .2s ease; }
.prale-chat-topic:hover,
.prale-chat-topic.is-active { border-color: rgba(227,27,50,.7); color: #fff; background: rgba(227,27,50,.13); }
.prale-chat-message { box-sizing: border-box; width: 100%; min-height: 102px; resize: vertical; padding: 14px; border: 1px solid rgba(255,255,255,.11); border-radius: 14px; outline: 0; color: #fff; background: #0d0e10; font: inherit; font-size: 13px; line-height: 1.5; }
.prale-chat-message:focus { border-color: rgba(227,27,50,.8); box-shadow: 0 0 0 3px rgba(227,27,50,.1); }
.prale-chat-send { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 50px; margin-top: 12px; padding: 0 17px; border: 0; border-radius: 12px; color: #fff; background: #e31b32; font-size: 12px; font-weight: 800; letter-spacing: .04em; cursor: pointer; transition: transform .2s ease, background .2s ease; }
.prale-chat-send:hover { transform: translateY(-1px); background: #f1243d; }
.prale-chat-send:disabled { cursor: not-allowed; opacity: .52; transform: none; }
.prale-chat-panel__note { margin: 10px 2px 0; color: #777b82; font-size: 10px; line-height: 1.45; }

@media (max-width: 560px) {
  .prale-chat-launcher { right: 14px; bottom: 14px; min-width: 54px; padding-right: 16px; }
  .prale-chat-panel { right: 14px; bottom: 78px; width: calc(100vw - 28px); max-height: calc(100vh - 100px); overflow-y: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .prale-chat-launcher,
  .prale-chat-panel,
  .prale-chat-send { transition: none; }
}
