.sub2-support-trigger {
  display: inline-flex;
  height: 36px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 11px;
  border: 1px solid rgba(20, 184, 166, 0.22);
  border-radius: 11px;
  background: rgba(20, 184, 166, 0.09);
  color: rgb(13, 148, 136);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.sub2-support-trigger:hover {
  border-color: rgba(20, 184, 166, 0.38);
  background: rgba(20, 184, 166, 0.16);
  color: rgb(15, 118, 110);
  transform: translateY(-1px);
}

.sub2-support-trigger:focus-visible,
.sub2-support-close:focus-visible {
  outline: 2px solid rgb(20, 184, 166);
  outline-offset: 2px;
}

.sub2-support-trigger svg {
  width: 17px;
  height: 17px;
}

.sub2-support-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 20px;
  overflow-y: auto;
  background: rgba(2, 8, 23, 0.68);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 180ms ease, visibility 180ms ease;
}

.sub2-support-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.sub2-support-dialog {
  position: relative;
  width: min(390px, 100%);
  max-height: calc(100vh - 40px);
  padding: 22px;
  overflow-y: auto;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 22px;
  background: linear-gradient(155deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: 0 30px 80px rgba(2, 8, 23, 0.32), 0 3px 14px rgba(2, 8, 23, 0.16);
  transform: translateY(12px) scale(0.97);
  transition: transform 180ms ease;
}

.sub2-support-overlay.is-open .sub2-support-dialog {
  transform: translateY(0) scale(1);
}

.sub2-support-close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 0;
  border-radius: 10px;
  background: #f1f5f9;
  color: #64748b;
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease;
}

.sub2-support-close:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.sub2-support-close svg {
  width: 18px;
  height: 18px;
}

.sub2-support-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-right: 42px;
  text-align: left;
}

.sub2-support-mark {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 13px;
  background: linear-gradient(145deg, #14b8a6, #0d9488);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(13, 148, 136, 0.24);
}

.sub2-support-mark svg {
  width: 21px;
  height: 21px;
}

.sub2-support-heading h2 {
  margin: 0;
  color: #0f172a;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
}

.sub2-support-heading p {
  margin: 3px 0 0;
  color: #64748b;
  font-size: 13px;
  line-height: 1.5;
}

.sub2-support-qr-frame {
  display: grid;
  place-items: center;
  margin-top: 18px;
  padding: 10px;
  border: 1px solid #e2e8f0;
  border-radius: 17px;
  background: #ffffff;
}

.sub2-support-qr-frame img {
  display: block;
  width: min(100%, 330px);
  height: auto;
  max-height: calc(100vh - 190px);
  border-radius: 11px;
  object-fit: contain;
}

.sub2-support-modal-open {
  overflow: hidden !important;
}

html.dark .sub2-support-trigger {
  border-color: rgba(45, 212, 191, 0.23);
  background: rgba(20, 184, 166, 0.1);
  color: rgb(94, 234, 212);
}

html.dark .sub2-support-trigger:hover {
  border-color: rgba(45, 212, 191, 0.4);
  background: rgba(20, 184, 166, 0.18);
  color: rgb(153, 246, 228);
}

html.dark .sub2-support-dialog {
  border-color: rgba(51, 65, 85, 0.88);
  background: linear-gradient(155deg, #182436 0%, #111c2c 100%);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55);
}

html.dark .sub2-support-close {
  background: #243247;
  color: #94a3b8;
}

html.dark .sub2-support-close:hover {
  background: #334155;
  color: #f8fafc;
}

html.dark .sub2-support-heading h2 {
  color: #f8fafc;
}

html.dark .sub2-support-heading p {
  color: #94a3b8;
}

html.dark .sub2-support-qr-frame {
  border-color: #334155;
  background: #ffffff;
}

@media (max-width: 1099px) {
  .sub2-support-trigger {
    width: 36px;
    padding: 0;
  }

  .sub2-support-trigger span {
    display: none;
  }
}

@media (max-width: 479px) {
  .sub2-support-dialog {
    padding: 18px;
    border-radius: 18px;
  }

  .sub2-support-close {
    top: 13px;
    right: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sub2-support-trigger,
  .sub2-support-overlay,
  .sub2-support-dialog {
    transition: none;
  }
}
