.xplay-support__launcher {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 1005;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(37, 211, 102, .67) !important;
  border-radius: 50%;
  background: #15263e !important;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .34);
  cursor: pointer;
}
html body .xplay-support__launcher:hover,
html body .xplay-support__launcher:focus,
html body .xplay-support__launcher:active { background: #15263e !important; border-color: rgba(37, 211, 102, .67) !important; }
.xplay-support__launcher svg { width: 27px; height: 27px; fill: none; stroke: #25d366; stroke-width: 1.8; }
.xplay-support__unread { position: absolute; top: -5px; right: -5px; min-width: 20px; height: 20px; display: grid; place-items: center; box-sizing: border-box; padding: 0 5px; border: 2px solid #15263e; border-radius: 999px; background: #e53935; color: #fff; font-size: 11px; font-weight: 800; line-height: 1; }
.xplay-support__unread[hidden] { display: none !important; }
.xplay-support { position: fixed; inset: 0; z-index: 1600; display: none; }
.xplay-support--open { display: block; }
html body .xplay-support[aria-hidden="true"] { display: none !important; }
html body .xplay-support.xplay-support--open[aria-hidden="false"] { display: block !important; }
.xplay-support__scrim { position: absolute; inset: 0; background: transparent; }
.xplay-support__panel {
  position: absolute;
  top: auto;
  right: 24px;
  bottom: 16px;
  width: min(414px, calc(100vw - 40px));
  height: min(620px, calc(100dvh - 40px));
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid rgba(111, 173, 214, .67);
  border-radius: 22px;
  background: #15263e;
  box-shadow: 0 28px 70px rgba(0, 0, 0, .52);
}
html body .xplay-support__close { position: absolute; top: 12px; right: 12px; z-index: 2; width: 32px; height: 32px; display: grid; place-items: center; padding: 0; border: 1px solid rgba(111, 173, 214, .67) !important; border-radius: 50%; background: #15263e !important; color: #6fadd6; cursor: pointer; }
.xplay-support__close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.xplay-support__thread { min-height: 0; height: 100%; display: grid; grid-template-rows: minmax(0, 1fr) auto auto; background: #15263e; }
.xplay-support__messages { min-height: 0; padding: 54px 16px 16px; overflow-y: auto !important; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; touch-action: pan-y; scrollbar-width: thin; display: flex; flex-direction: column; gap: 10px; }
.xplay-support__message { width: fit-content; max-width: 84%; padding: 10px 12px; border: 1px solid rgba(111, 173, 214, .35); border-radius: 14px; background: #141b2d; color: #fff; }
.xplay-support__message--operator { align-self: flex-start; background: #141b2d; }
.xplay-support__message--user { align-self: flex-end; background: #15263e; }
.xplay-support__meta { display: flex; align-items: baseline; gap: 8px; margin-bottom: 7px; }
.xplay-support__meta strong { min-width: 0; overflow: hidden; color: #fff; font-size: 12px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.xplay-support__meta time { color: #adc0c6; font-size: 10px; white-space: nowrap; }
.xplay-support__text { color: #f3f7f8; font-size: 14px; line-height: 1.35; overflow-wrap: anywhere; }
.xplay-support__image-link { display: block; margin-top: 8px; }
.xplay-support__image-link img { display: block; max-width: 100%; border-radius: 10px; }
.xplay-support__composer { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; align-items: end; gap: 10px; padding: 12px 14px; border-top: 1px solid rgba(111, 173, 214, .35); background: #15263e; }
.xplay-support__attachment { display: grid; place-items: center; width: 28px; height: 44px; cursor: pointer; }
.xplay-support__attachment svg { width: 23px; height: 23px; fill: none; stroke: #6fadd6; stroke-width: 1.7; }
.xplay-support__attachment input { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; }
.xplay-support__input { width: 100%; min-height: 44px; max-height: 112px; resize: none; overflow-x: hidden; overflow-y: hidden; padding: 12px; border: 1px solid rgba(111, 173, 214, .67); border-radius: 14px; background: #141b2d; color: #fff; font: inherit; line-height: 1.25; outline: none; }
.xplay-support__input::placeholder { color: #adc0c6; }
.xplay-support__input:focus { border-color: #6fadd6; }
html body .xplay-support__send { min-height: 44px; padding: 0 15px; border: 1px solid rgba(111, 173, 214, .67) !important; border-radius: 14px; background: linear-gradient(88.78deg, #6fadd6 -13.15%, #48708b 113.06%) !important; color: #fff; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
html body .xplay-support__send:disabled { opacity: .55; cursor: not-allowed; }
.xplay-support__status, .xplay-support__blocked { margin: 0; padding: 0 14px 10px; color: #ff9c9c; font-size: 12px; }
html[lang="he"] .xplay-support__header, html[lang="ar"] .xplay-support__header { direction: rtl; }
html[lang="he"] .xplay-support__close, html[lang="ar"] .xplay-support__close { right: auto; left: 12px; }
html[lang="he"] .xplay-support__chatbar, html[lang="ar"] .xplay-support__chatbar { direction: rtl; padding: 0 16px 0 56px; }
@media (max-width: 700px) {
  .xplay-support__launcher { right: 16px; bottom: max(16px, env(safe-area-inset-bottom)); width: 54px; height: 54px; }
  .xplay-support__panel { top: auto; right: 8px; bottom: max(12px, env(safe-area-inset-bottom)); width: calc(100% - 16px); height: min(620px, calc(100dvh - 32px)); border-width: 1px; border-radius: 20px; }
  .xplay-support__messages { padding-top: 54px; }
  .xplay-support__composer { padding-bottom: max(12px, env(safe-area-inset-bottom)); }
}

/* Channel picker and chat share one panel; the page remains interactive outside it. */
.xplay-support { pointer-events: none; }
.xplay-support__panel { pointer-events: auto; grid-template-rows: minmax(0, 1fr); }
.xplay-support__scrim { display: none; }
.xplay-support__view[hidden] { display: none !important; }
.xplay-support__hub { min-height: 0; height: 100%; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; background: #15263e; }
.xplay-support__hub-head { padding: 26px 24px 20px; border-bottom: 1px solid rgba(111, 173, 214, .35); }
.xplay-support__hub-head h2 { margin: 0 42px 7px 0; color: #fff; font-family: var(--font-family); font-size: 22px; font-weight: 800; line-height: 1.1; }
.xplay-support__hub-head p { margin: 0; color: #adc0c6; font-size: 14px; font-weight: 600; }
.xplay-support__channels { display: grid; align-content: start; gap: 12px; padding: 24px; }
.xplay-support__hub-status { color: #adc0c6; }
.xplay-support__hub-greeting { grid-column: 1 / -1; margin: 0 0 4px; color: #fff; font-size: 15px; font-weight: 700; }

html body .xplay-support__channel { width: 100%; min-height: 76px; display: grid; grid-template-columns: 44px minmax(0, 1fr) auto auto; align-items: center; gap: 13px; box-sizing: border-box; padding: 12px 16px; border: 1px solid rgba(111, 173, 214, .67) !important; border-radius: 16px; background: #141b2d !important; color: #fff; font: inherit; text-align: left; text-decoration: none; cursor: pointer; }
html body .xplay-support__channel:hover, html body .xplay-support__channel:focus, html body .xplay-support__channel:active { border-color: #6fadd6 !important; background: #141b2d !important; }
.xplay-support__channel-icon { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: rgba(111, 173, 214, .14); }
.xplay-support__channel-icon--chat svg { width: 21px; height: 21px; fill: none; stroke: #6fadd6; stroke-width: 1.8; }
.xplay-support__channel-icon img { width: 22px; height: 22px; object-fit: contain; }
.xplay-support__channel-copy { min-width: 0; display: grid; gap: 4px; }
.xplay-support__channel-copy strong { color: #fff; font-size: 15px; font-weight: 800; line-height: 1.1; }
.xplay-support__channel-copy small { color: #adc0c6; font-size: 12px; font-weight: 600; line-height: 1.1; }
.xplay-support__online { padding: 5px 8px; border-radius: 12px; color: #25d366; background: rgba(37, 211, 102, .14); font-size: 10px; font-weight: 800; letter-spacing: .08em; }
.xplay-support__chevron { color: #adc0c6; font-size: 29px; font-weight: 300; line-height: .6; }
.xplay-support__hub-foot { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 16px; border-top: 1px solid rgba(111, 173, 214, .35); color: #adc0c6; font-size: 12px; font-weight: 600; }
.xplay-support__hub-foot i { width: 8px; height: 8px; border-radius: 50%; background: #25d366; }
.xplay-support__thread { grid-template-rows: auto minmax(0, 1fr) auto auto; }
.xplay-support__chatbar { min-height: 58px; display: flex; align-items: center; gap: 10px; padding: 0 56px 0 16px; border-bottom: 1px solid rgba(111, 173, 214, .35); color: #fff; }
html body .xplay-support__chatbar button { width: 30px; height: 30px; display: grid; place-items: center; padding: 0; border: 0 !important; border-radius: 50%; background: transparent !important; color: #6fadd6; cursor: pointer; }
.xplay-support__chatbar svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; }
.xplay-support__chatbar strong { font-size: 14px; font-weight: 800; }
.xplay-support__thread .xplay-support__messages { padding: 16px; }
html[lang="he"] .xplay-support__hub, html[lang="ar"] .xplay-support__hub { direction: rtl; }
html[lang="he"] .xplay-support__hub-head h2, html[lang="ar"] .xplay-support__hub-head h2 { margin-right: 0; margin-left: 42px; }
html[lang="he"] .xplay-support__channel, html[lang="ar"] .xplay-support__channel { text-align: right; }
@media (max-width: 700px) { .xplay-support__hub-head { padding: 24px 20px 18px; } .xplay-support__channels { padding: 20px; gap: 10px; } .xplay-support__channel { min-height: 70px; } }
/* The header only rises above support while its language dropdown is expanded. */
.x-header:has(.x-header__language .list.active) { z-index: 1701; }
