html.watch-support-open {
  scrollbar-gutter: stable;
}

.watch-support__trigger {
  position: fixed;
  right: max(22px, env(safe-area-inset-right));
  bottom: max(22px, env(safe-area-inset-bottom));
  z-index: 8700;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 16px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  background: rgba(38,38,38,.54);
  color: #f5f5f5;
  box-shadow: 0 12px 34px rgba(0, 0, 0, .28);
  backdrop-filter: blur(22px) saturate(1.16);
  -webkit-backdrop-filter: blur(22px) saturate(1.16);
  font: 600 13px/1 var(--watch-global-font, "Segoe UI", Tahoma, Arial, sans-serif);
  cursor: pointer;
  transition: transform .18s ease, background-color .18s ease;
}

.watch-support__trigger:hover {
  background: rgba(48,48,48,.68);
  transform: translateY(-2px);
}

.watch-support__trigger:active {
  transform: translateY(0);
}

.watch-support__triggerIcon {
  width: 19px;
  height: 19px;
  background: currentColor;
  -webkit-mask: url("../images/support-svgrepo-com.svg?v=20260726-6") center/contain no-repeat;
  mask: url("../images/support-svgrepo-com.svg?v=20260726-6") center/contain no-repeat;
}

.watch-support {
  position: fixed;
  inset: 0;
  z-index: 13000;
  display: flex !important;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow: hidden;
  overscroll-behavior: none;
  will-change: opacity;
  background: rgba(0, 0, 0, .56);
  backdrop-filter: blur(22px) saturate(1.15);
  -webkit-backdrop-filter: blur(22px) saturate(1.15);
  transition: opacity .42s cubic-bezier(.22,1,.36,1), visibility 0s linear .42s;
  font: 400 14px/1.45 var(--watch-global-font, "Segoe UI", Tahoma, Arial, sans-serif);
}

.watch-support,
.watch-support button,
.watch-support input,
.watch-support textarea {
  font-family: var(--watch-global-font, "Segoe UI", Tahoma, Arial, sans-serif) !important;
}

.watch-support.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transition-delay: 0s;
}

.watch-support__backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  will-change: opacity;
  cursor: default;
}

.watch-support__dialog {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 1;
  width: min(620px, calc(100vw - 40px));
  max-height: min(780px, calc(100vh - 40px));
  overflow: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
  padding: 24px;
  border-radius: 18px;
  background: #1A1A1A;
  color: #f5f5f5;
  box-shadow: 0 26px 80px rgba(0, 0, 0, .46);
  transform: translate(-50%, -50%) translateY(10px) scale(.985);
  transition: transform .42s cubic-bezier(.22,1,.36,1);
}

.watch-support__dialog::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

.watch-support.is-open .watch-support__dialog {
  transform: translate(-50%, -50%) translateY(0) scale(1);
}

.watch-support__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.watch-support__title {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.watch-support__remove {
  border: 0;
  background: transparent;
  color: #8f8f94;
  font-weight: 600;
  cursor: pointer;
}

.watch-support__remove:hover {
  color: #fff;
}

.watch-support__field {
  display: block;
}

.watch-support__field + .watch-support__field {
  margin-top: 20px;
}

.watch-support__field.is-revealing {
  animation: watchSupportFieldReveal .42s cubic-bezier(.22,1,.36,1) both;
  animation-delay: var(--watch-support-reveal-delay, 0ms);
  will-change: opacity, transform, filter;
}

@keyframes watchSupportFieldReveal {
  from {
    opacity: 0;
    transform: translateY(14px) scale(.985);
    filter: blur(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

.watch-support__label {
  display: block;
  margin-bottom: 10px;
  color: #d8d8db;
  font-size: 13px;
  font-weight: 600;
}

.watch-support__categories {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.watch-support__category,
.watch-support__choice {
  min-height: 44px;
  padding: 10px 13px;
  border: 1px solid transparent;
  border-radius: 11px;
  background: #232323;
  color: #d4d4d7;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: border-color .16s ease, background-color .16s ease, color .16s ease, box-shadow .16s ease;
}

.watch-support__category:hover,
.watch-support__choice:hover {
  background: #292929;
  color: #fff;
}

.watch-support__category.is-selected,
.watch-support__choice.is-selected {
  border-color: #fff;
  background: #2a2a2a;
  color: #fff;
}

.watch-support__choices {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.watch-support__choice {
  min-height: 38px;
  font-size: 13px;
  font-weight: 600;
}

.watch-support__textarea {
  display: block;
  width: 100%;
  min-height: 118px;
  max-height: 320px;
  resize: none;
  overflow-y: hidden;
  padding: 14px 15px;
  border: 1px solid transparent;
  border-radius: 12px;
  outline: 0;
  background: #232323;
  color: #fff;
  font: inherit;
  scrollbar-width: thin;
  scrollbar-color: #555 transparent;
}

.watch-support__textarea::-webkit-scrollbar {
  width: 6px;
}

.watch-support__textarea::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: #555;
}

.watch-support__textarea::-webkit-scrollbar-track {
  background: transparent;
}

.watch-support__textarea::placeholder {
  color: #737378;
}

.watch-support__textarea:focus {
  border-color: #777;
}

.watch-support__attachment {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 68px;
  padding: 10px;
  border-radius: 12px;
  background: #232323;
}

.watch-support__fileButton {
  flex: 0 0 auto;
  padding: 10px 13px;
  border-radius: 9px;
  background: #f5f5f5;
  color: #111;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color .16s ease, color .16s ease, box-shadow .16s ease;
}

.watch-support__fileButton:hover,
.watch-support__fileButton:focus-within {
  background: #d9d9dc;
  box-shadow: inset 0 0 0 999px rgba(0, 0, 0, .08);
}

.watch-support__fileButton input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.watch-support__fileMeta {
  min-width: 0;
  flex: 1;
  color: #85858b;
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.watch-support__preview {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 8px;
  object-fit: cover;
}

.watch-support__error {
  margin: 7px 0 0;
  color: #ff7b7b;
  font-size: 12px;
}

.watch-support__actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 24px;
}

.watch-support__button {
  min-height: 42px;
  padding: 0 17px;
  border: 0;
  border-radius: 11px;
  background: #232323;
  color: #f3f3f3;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: background-color .16s ease, color .16s ease, box-shadow .16s ease;
}

.watch-support__button--primary {
  background: #f5f5f5;
  color: #111;
}

.watch-support__button:not(:disabled):hover,
.watch-support__button:not(:disabled):focus-visible {
  background: #2c2c2c;
}

.watch-support__button--primary:not(:disabled):hover,
.watch-support__button--primary:not(:disabled):focus-visible {
  background: #d9d9dc;
  box-shadow: inset 0 0 0 999px rgba(0, 0, 0, .08);
}

.watch-support__button:disabled {
  opacity: .38;
  cursor: not-allowed;
}

.watch-support__success {
  padding: 32px 8px 6px;
  text-align: center;
}

.watch-support__successMark {
  display: block;
  width: 64px;
  height: 56px;
  margin: 0 auto 18px;
}

.watch-support__successMark svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.watch-support__successMark path {
  fill: none;
  stroke: currentColor;
  stroke-width: 8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.watch-support__success h3 {
  margin: 0 0 8px;
  font-size: 19px;
}

.watch-support__success p {
  max-width: 420px;
  margin: 0 auto 22px;
  color: #909096;
}

.watch-support [hidden] {
  display: none !important;
}

html[data-watch-theme="light"] .watch-support__dialog,
html[data-theme="light"] .watch-support__dialog,
body.watch-theme-light .watch-support__dialog {
  background: #fff;
  color: #151515;
}

html[data-watch-theme="light"] .watch-support__category,
html[data-watch-theme="light"] .watch-support__choice,
html[data-watch-theme="light"] .watch-support__textarea,
html[data-watch-theme="light"] .watch-support__attachment,
html[data-theme="light"] .watch-support__category,
html[data-theme="light"] .watch-support__choice,
html[data-theme="light"] .watch-support__textarea,
html[data-theme="light"] .watch-support__attachment,
body.watch-theme-light .watch-support__category,
body.watch-theme-light .watch-support__choice,
body.watch-theme-light .watch-support__textarea,
body.watch-theme-light .watch-support__attachment {
  background: #EAEBED;
  color: #202124;
}

html[data-watch-theme="light"] .watch-support__category.is-selected,
html[data-watch-theme="light"] .watch-support__choice.is-selected,
html[data-theme="light"] .watch-support__category.is-selected,
html[data-theme="light"] .watch-support__choice.is-selected,
body.watch-theme-light .watch-support__category.is-selected,
body.watch-theme-light .watch-support__choice.is-selected {
  border-color: #202124;
  background: #e5e7ea;
}

html[data-watch-theme="light"] .watch-support__category:hover,
html[data-watch-theme="light"] .watch-support__choice:hover,
html[data-theme="light"] .watch-support__category:hover,
html[data-theme="light"] .watch-support__choice:hover,
body.watch-theme-light .watch-support__category:hover,
body.watch-theme-light .watch-support__choice:hover {
  border-color: #c8ccd2;
  background: #dce0e4;
  color: #202124;
  box-shadow: inset 0 0 0 1px rgba(32, 33, 36, .04);
}

html[data-watch-theme="light"] .watch-support__label,
html[data-theme="light"] .watch-support__label,
body.watch-theme-light .watch-support__label {
  color: #51545a;
}

html[data-watch-theme="light"] .watch-support__fileMeta,
html[data-watch-theme="light"] .watch-support__optional,
html[data-watch-theme="light"] .watch-support__success p,
html[data-theme="light"] .watch-support__fileMeta,
html[data-theme="light"] .watch-support__optional,
html[data-theme="light"] .watch-support__success p,
body.watch-theme-light .watch-support__fileMeta,
body.watch-theme-light .watch-support__optional,
body.watch-theme-light .watch-support__success p {
  color: #74777e;
}

html[data-watch-theme="light"] .watch-support__fileButton,
html[data-theme="light"] .watch-support__fileButton,
body.watch-theme-light .watch-support__fileButton {
  background: #EAEBED;
  color: #17181a;
  box-shadow: inset 0 0 0 1px #d9dce1;
}

html[data-watch-theme="light"] .watch-support__fileButton:hover,
html[data-watch-theme="light"] .watch-support__fileButton:focus-within,
html[data-theme="light"] .watch-support__fileButton:hover,
html[data-theme="light"] .watch-support__fileButton:focus-within,
body.watch-theme-light .watch-support__fileButton:hover,
body.watch-theme-light .watch-support__fileButton:focus-within {
  background: #dce0e4;
  box-shadow: inset 0 0 0 1px #c3c7ce;
}

html[data-watch-theme="light"] .watch-support__button,
html[data-theme="light"] .watch-support__button,
body.watch-theme-light .watch-support__button {
  background: #EAEBED;
  color: #202124;
}

html[data-watch-theme="light"] .watch-support__button--primary,
html[data-theme="light"] .watch-support__button--primary,
body.watch-theme-light .watch-support__button--primary {
  background: #202124;
  color: #fff;
}

html[data-watch-theme="light"] .watch-support__button:not(.watch-support__button--primary):not(:disabled):hover,
html[data-watch-theme="light"] .watch-support__button:not(.watch-support__button--primary):not(:disabled):focus-visible,
html[data-theme="light"] .watch-support__button:not(.watch-support__button--primary):not(:disabled):hover,
html[data-theme="light"] .watch-support__button:not(.watch-support__button--primary):not(:disabled):focus-visible,
body.watch-theme-light .watch-support__button:not(.watch-support__button--primary):not(:disabled):hover,
body.watch-theme-light .watch-support__button:not(.watch-support__button--primary):not(:disabled):focus-visible {
  background: #d7dbe0;
  box-shadow: inset 0 0 0 1px #c3c7ce;
}

html[data-watch-theme="light"] .watch-support__button--primary:not(:disabled):hover,
html[data-watch-theme="light"] .watch-support__button--primary:not(:disabled):focus-visible,
html[data-theme="light"] .watch-support__button--primary:not(:disabled):hover,
html[data-theme="light"] .watch-support__button--primary:not(:disabled):focus-visible,
body.watch-theme-light .watch-support__button--primary:not(:disabled):hover,
body.watch-theme-light .watch-support__button--primary:not(:disabled):focus-visible {
  background: #2b313b;
  box-shadow: none;
}

html[data-watch-theme="light"] .watch-support__button:disabled,
html[data-theme="light"] .watch-support__button:disabled,
body.watch-theme-light .watch-support__button:disabled {
  background: #e4e6e9;
  color: #8a8e95;
  opacity: 1;
}

html[data-watch-theme="light"] .watch-support__remove,
html[data-theme="light"] .watch-support__remove,
body.watch-theme-light .watch-support__remove {
  color: #6e7177;
}

html[data-watch-theme="light"] .watch-support__remove:hover,
html[data-theme="light"] .watch-support__remove:hover,
body.watch-theme-light .watch-support__remove:hover {
  color: #17181a;
}

@media (prefers-reduced-motion: reduce) {
  .watch-support__field.is-revealing {
    animation: none;
    will-change: auto;
  }
}

@media (max-width: 720px) {
  .watch-support {
    align-items: flex-end;
    padding: 10px;
  }

  .watch-support__dialog {
    top: auto;
    left: 50%;
    bottom: 10px;
    width: 100%;
    max-height: calc(100vh - 20px);
    padding: 19px;
    border-radius: 18px;
    transform: translate(-50%, 10px) scale(.985);
  }

  .watch-support.is-open .watch-support__dialog {
    transform: translate(-50%, 0) scale(1);
  }

  .watch-support__categories {
    grid-template-columns: 1fr;
  }

  .watch-support__trigger {
    right: max(14px, env(safe-area-inset-right));
    bottom: max(14px, env(safe-area-inset-bottom));
    min-width: 46px;
    padding: 0 14px;
  }

  .watch-support__triggerLabel {
    display: none;
  }

  .watch-support__attachment {
    align-items: flex-start;
    flex-wrap: wrap;
  }
}
