.tw-support-widget {
  --tw-widget-accent: #ff4f8b;
  --tw-widget-green: #34d399;
  position: fixed;
  z-index: 180;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  font-family: "Exo 2", Inter, ui-sans-serif, system-ui, sans-serif;
  color: #f6f3f7;
}
.tw-support-widget *, .tw-support-widget *::before, .tw-support-widget *::after { box-sizing: border-box; }
.tw-support-widget [hidden] { display: none !important; }
.tw-support-launcher {
  display: flex;
  min-width: 184px;
  min-height: 58px;
  align-items: center;
  gap: 11px;
  padding: 8px 14px 8px 9px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 18px;
  outline: 0;
  background: linear-gradient(145deg, rgba(28,24,31,.98), rgba(13,12,18,.98));
  color: #fff;
  box-shadow: 0 18px 55px rgba(0,0,0,.48), 0 0 0 1px rgba(255,79,139,.06), 0 0 36px rgba(255,79,139,.16);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.tw-support-launcher:hover { border-color: rgba(255,79,139,.38); transform: translateY(-2px); box-shadow: 0 22px 65px rgba(0,0,0,.52), 0 0 42px rgba(255,79,139,.22); }
.tw-support-launcher:focus-visible, .tw-support-panel button:focus-visible, .tw-support-panel a:focus-visible { outline: 2px solid var(--tw-widget-accent); outline-offset: 3px; }
.tw-support-launcher-icon { position: relative; display: grid; width: 42px; height: 42px; flex: 0 0 42px; place-items: center; border-radius: 13px; background: linear-gradient(135deg,#ff6499,#e92f70); box-shadow: 0 8px 22px rgba(255,79,139,.32), inset 0 1px 0 rgba(255,255,255,.3); font-size: 17px; }
.tw-support-launcher-icon > svg { width: 21px; height: 21px; fill: currentColor; filter: drop-shadow(0 1px 1px rgba(75,10,35,.3)); }
.tw-support-launcher-online { position: absolute; right: -2px; bottom: -2px; width: 12px; height: 12px; border: 3px solid #151219; border-radius: 50%; background: var(--tw-widget-green); box-shadow: 0 0 12px rgba(52,211,153,.7); }
.tw-support-widget.is-support-away .tw-support-launcher-online,
.tw-support-widget.is-support-away .tw-support-presence-dot { background: #8b8790; box-shadow: none; }
.tw-support-launcher-copy { display: flex; flex: 1; flex-direction: column; line-height: 1.24; }
.tw-support-launcher-copy strong { font-size: 13px; letter-spacing: -.01em; }
.tw-support-launcher-copy small { margin-top: 2px; color: #85808d; font-size: 10px; }
.tw-support-unread { display: grid; min-width: 21px; height: 21px; place-items: center; padding: 0 6px; border-radius: 999px; background: var(--tw-widget-accent); color: white; font-size: 10px; font-weight: 800; box-shadow: 0 0 16px rgba(255,79,139,.42); }
.tw-support-panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + 12px);
  display: flex;
  width: min(390px, calc(100vw - 28px));
  max-height: min(680px, calc(100dvh - 104px));
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 22px;
  background: rgba(10,9,14,.985);
  box-shadow: 0 32px 90px rgba(0,0,0,.66), 0 0 0 1px rgba(255,79,139,.04);
  animation: twSupportOpen .22s cubic-bezier(.2,.8,.2,1);
}
@keyframes twSupportOpen { from { opacity: 0; transform: translateY(10px) scale(.98); } }
.tw-support-panel-head { position: relative; display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 12px; padding: 18px; overflow: hidden; border-bottom: 1px solid rgba(255,255,255,.08); background: radial-gradient(circle at 15% 0,rgba(255,79,139,.18),transparent 42%),linear-gradient(145deg,#17121a,#0e0d12); }
.tw-support-panel-head::after { position: absolute; top: -70px; right: -40px; width: 160px; height: 160px; border-radius: 50%; background: rgba(255,79,139,.09); content: ""; filter: blur(40px); pointer-events: none; }
.tw-support-agent-stack { position: relative; }
.tw-support-agent-stack > span { display: grid; width: 46px; height: 46px; place-items: center; border: 1px solid rgba(255,79,139,.3); border-radius: 15px; background: linear-gradient(145deg,rgba(255,79,139,.2),rgba(255,79,139,.07)); color: #ff8db4; font-size: 18px; }
.tw-support-presence-dot { position: absolute; right: -2px; bottom: -2px; width: 13px; height: 13px; border: 3px solid #121016; border-radius: 50%; background: var(--tw-widget-green); }
.tw-support-panel-head p { color: #ff7ca8; font-size: 9px; font-weight: 850; letter-spacing: .13em; }
.tw-support-panel-head h2 { margin: 2px 0 1px; color: #fff; font-size: 18px; line-height: 1.2; letter-spacing: -.025em; }
.tw-support-panel-head div > span { color: #77717e; font-size: 10px; }
.tw-support-panel-head > button { position: relative; z-index: 1; display: grid; width: 32px; height: 32px; place-items: center; border: 1px solid rgba(255,255,255,.08); border-radius: 9px; background: rgba(255,255,255,.03); color: #85808d; cursor: pointer; }
.tw-support-panel-head > button:hover { background: rgba(255,255,255,.07); color: #fff; }
.tw-support-panel-body { min-height: 0; padding: 16px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.tw-support-welcome { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 14px; }
.tw-support-mini-logo { display: grid; width: 30px; height: 30px; flex: 0 0 30px; place-items: center; border-radius: 9px; background: rgba(255,79,139,.1); color: var(--tw-widget-accent); font-size: 11px; }
.tw-support-welcome strong { font-size: 12px; }
.tw-support-welcome p { margin-top: 3px; color: #827d88; font-size: 11px; line-height: 1.5; }
.tw-support-current { margin-bottom: 13px; padding: 12px; border: 1px solid rgba(52,211,153,.18); border-radius: 13px; background: linear-gradient(145deg,rgba(52,211,153,.075),rgba(52,211,153,.025)); }
.tw-support-current > div { display: flex; align-items: center; gap: 7px; color: #85d8bb; font-size: 10px; }
.tw-support-pulse { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--tw-widget-green); box-shadow: 0 0 10px rgba(52,211,153,.55); }
.tw-support-current p { margin: 6px 0 9px; overflow: hidden; color: #d7d2d9; font-size: 12px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.tw-support-current a { display: flex; align-items: center; justify-content: space-between; color: #76d8b4; font-size: 10px; font-weight: 750; text-decoration: none; }
.tw-support-actions { display: grid; gap: 8px; }
.tw-support-action { display: grid; min-width: 0; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 10px; padding: 11px; border: 1px solid rgba(255,255,255,.08); border-radius: 13px; background: rgba(255,255,255,.025); color: #ece8ee; text-decoration: none; transition: .18s ease; }
.tw-support-action:hover { border-color: rgba(255,79,139,.24); background: rgba(255,79,139,.055); transform: translateX(2px); }
.tw-support-action-primary { border-color: rgba(255,79,139,.2); background: linear-gradient(135deg,rgba(255,79,139,.11),rgba(255,79,139,.035)); }
.tw-support-action-icon { display: grid; width: 35px; height: 35px; place-items: center; border-radius: 10px; background: rgba(255,79,139,.09); color: #ff7ca8; font-size: 13px; }
.tw-support-action > span:nth-child(2) { display: flex; min-width: 0; flex-direction: column; }
.tw-support-action strong { font-size: 11px; }
.tw-support-action small { margin-top: 2px; overflow: hidden; color: #6f6a75; font-size: 9.5px; text-overflow: ellipsis; white-space: nowrap; }
.tw-support-action > i { color: #55505a; font-size: 9px; }
.tw-support-quick { margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.07); }
.tw-support-quick > div:first-child { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.tw-support-quick > div:first-child strong { color: #b9b4bd; font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.tw-support-quick > div:first-child a { color: #ff75a4; font-size: 9px; text-decoration: none; }
.tw-support-quick > button { display: grid; width: 100%; grid-template-columns: 19px minmax(0,1fr) auto; align-items: center; gap: 7px; padding: 9px 4px; border: 0; border-bottom: 1px solid rgba(255,255,255,.055); background: transparent; color: #a7a2ab; font: inherit; font-size: 10px; text-align: left; cursor: pointer; }
.tw-support-quick > button > i:first-child { color: #6e6872; }
.tw-support-quick > button > i:last-child { color: #4c4850; font-size: 8px; transition: transform .18s ease; }
.tw-support-quick > button[aria-expanded="true"] > i:last-child { transform: rotate(180deg); }
.tw-support-answer { padding: 9px 8px 11px 30px; border-bottom: 1px solid rgba(255,255,255,.055); color: #77717e; font-size: 9.5px; line-height: 1.55; }
.tw-support-panel-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 16px; border-top: 1px solid rgba(255,255,255,.07); background: #0e0d12; color: #5e5963; font-size: 9px; }
.tw-support-panel-foot span, .tw-support-panel-foot a { display: inline-flex; align-items: center; gap: 6px; }
.tw-support-panel-foot i { color: #716b77; }
.tw-support-panel-foot a { color: #77717e; text-decoration: none; }
.tw-support-panel-foot .tw-support-pulse { width: 6px; height: 6px; }
@media (max-width: 768px) {
  .tw-support-widget { right: 10px; bottom: max(78px, calc(10px + env(safe-area-inset-bottom))); }
  .tw-support-panel { right: -2px; width: calc(100vw - 16px); max-height: calc(100dvh - 154px); border-radius: 18px; }
  .tw-support-launcher { min-width: 0; min-height: 54px; padding: 7px; border-radius: 17px; }
  .tw-support-launcher-icon { width: 40px; height: 40px; flex-basis: 40px; }
  .tw-support-launcher-copy { display: none; }
  .tw-support-unread { position: absolute; top: -5px; right: -4px; }
}
@media (max-width: 768px) and (max-height: 520px) {
  .tw-support-panel { position: fixed; inset: max(8px, env(safe-area-inset-top)) 8px max(78px, calc(68px + env(safe-area-inset-bottom))); width: auto; max-height: none; }
}
@media (prefers-reduced-motion: reduce) { .tw-support-panel { animation: none; } .tw-support-launcher { transition: none; } }
