.support-launcher {
  position: fixed;
  z-index: 80;
  bottom: 22px;
  left: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 54px;
  min-height: 52px;
  padding: 10px;
  border: 1px solid color-mix(in srgb, var(--blue) 65%, var(--line));
  border-radius: 17px;
  color: #fff;
  background: #145fc7;
  box-shadow: 0 16px 38px #071a3d80;
  font-size: 13px;
  font-weight: 700;
}
.support-launcher svg { width: 22px; height: 22px; }
.support-launcher span { display: none; }
.support-launcher:hover { background: #2278e9; }
.support-dialog {
  position: fixed;
  inset: auto auto 86px 22px;
  width: min(390px, calc(100vw - 32px));
  max-width: none;
  max-height: min(680px, calc(100dvh - 105px));
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  color: var(--ink);
  background: var(--surface);
  box-shadow: 0 26px 85px #0009;
}
.support-dialog::backdrop { background: #07101db3; backdrop-filter: blur(3px); }
.support-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 20px 13px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(130deg, var(--surface), var(--blue-soft));
}
.support-heading small { color: var(--blue-text); font-size: 10px; font-weight: 800; letter-spacing: .12em; }
.support-heading h2 { margin: 6px 0 0; color: var(--ink); font-size: 22px; line-height: 1.1; letter-spacing: -.04em; }
.support-close { width: 32px; height: 32px; border-radius: 10px; color: var(--muted); font-size: 25px; line-height: 1; }
.support-close:hover { background: var(--soft); }
.support-intro { padding: 14px 20px 0; color: var(--muted-strong); font-size: 13px; line-height: 1.5; }
.support-start { display: grid; gap: 12px; padding: 16px 20px 20px; overflow-y: auto; max-height: calc(100dvh - 260px); }
.support-start[hidden], .support-escalate[hidden], .support-error[hidden] { display: none; }
.support-start label { display: grid; gap: 6px; font-size: 12px; font-weight: 700; }
.support-start input,
.support-start textarea,
.support-send textarea {
  width: 100%;
  min-height: 43px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--bg);
  color: var(--ink);
  font: 14px/1.45 var(--body);
  resize: vertical;
}
.support-start input:focus,
.support-start textarea:focus,
.support-send textarea:focus { outline: 2px solid var(--blue); outline-offset: 1px; }
.support-note { color: var(--muted); font-size: 11px; line-height: 1.5; }
.support-submit,
.support-send button {
  min-height: 43px;
  padding: 10px 16px;
  border-radius: 11px;
  color: white;
  background: var(--blue);
  font-size: 13px;
  font-weight: 700;
}
.support-submit:disabled,
.support-send button:disabled { opacity: .55; cursor: wait; }
.support-error { margin: 0 20px 16px; color: #fa9dad; font-size: 12px; }
.support-conversation { display: flex; flex-direction: column; min-height: 280px; height: min(460px, 52dvh); }
.support-conversation[hidden] { display: none; }
.support-messages { flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; padding: 16px 20px; }
.support-bubble { max-width: 88%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 13px; background: var(--soft); font-size: 13px; line-height: 1.5; overflow-wrap: anywhere; white-space: pre-wrap; }
.support-bubble[data-role="guest"] { align-self: flex-end; border-color: var(--blue); background: var(--blue-soft); }
.support-bubble small { display: block; margin-bottom: 3px; color: var(--muted); font-size: 10px; font-weight: 700; }
.support-status { padding: 0 20px; color: var(--muted); font-size: 11px; min-height: 16px; }
.support-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 20px; }
.support-actions button { color: var(--ink); font-size: 12px; text-decoration: underline; }
.support-actions a { color: var(--blue-text); font-size: 12px; font-weight: 700; }
.support-send { display: flex; gap: 7px; padding: 10px 20px 18px; border-top: 1px solid var(--line); }
.support-send textarea { flex: 1; min-width: 0; max-height: 90px; }
.support-send button { align-self: end; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 480px) {
  .support-launcher { left: 12px; bottom: 12px; min-width: 50px; padding: 10px 12px; }
  .support-launcher span { display: none; }
  .support-dialog { left: 8px; bottom: 72px; width: calc(100vw - 16px); max-height: calc(100dvh - 84px); }
}
@media (max-width: 760px) {
  .has-cinema .opening-support { left: 90px; }
}
