  #otixTelegramOverlay,
  #otixTelegramOverlay * {
    box-sizing: border-box;
  }

  #otixTelegramOverlay {
    position: fixed;
    inset: 0;
    z-index: 999990;
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    background: rgba(21, 21, 23, 0.18) !important;
    background-image: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    color: #151517;
    color-scheme: light;
    font-family: Inter, "Plus Jakarta Sans", sans-serif;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    transition: opacity 0.2s ease, visibility 0.2s ease;
  }

  #otixTelegramOverlay.otix-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  #otixTelegramOverlay .otix-tg-center {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 100%;
    margin: 0;
    padding:
      max(18px, env(safe-area-inset-top))
      max(16px, env(safe-area-inset-right))
      max(18px, env(safe-area-inset-bottom))
      max(16px, env(safe-area-inset-left));
  }

  #otixTelegramOverlay .otix-telegram-popup {
    position: relative;
    width: 100%;
    max-width: 460px;
    margin: 0;
    padding: 0 0 18px;
    border: 1px solid #f3e8e3;
    border-radius: 24px;
    background: #fff;
    background-image: none;
    box-shadow:
      0 1px 0 rgba(255, 255, 255, 0.7) inset,
      0 18px 40px rgba(80, 30, 10, 0.08),
      0 40px 80px rgba(80, 30, 10, 0.12);
    overflow: hidden;
    transform: none;
    filter: none;
    text-align: center;
  }

  #otixTelegramOverlay .otix-telegram-popup::before,
  #otixTelegramOverlay .otix-telegram-popup::after,
  #otixTelegramOverlay .otix-tg-close::before,
  #otixTelegramOverlay .otix-tg-close::after,
  #otixTelegramOverlay .otix-tg-join::before,
  #otixTelegramOverlay .otix-tg-join::after {
    content: none;
    display: none;
  }

  #otixTelegramOverlay.otix-visible .otix-telegram-popup.otix-telegram-popup {
    transform: none;
    background-color: #fff;
    background-image: none;
  }

  #otixTelegramOverlay .otix-telegram-popup:focus {
    outline: none;
  }

  #otixTelegramOverlay .otix-tg-hero {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    padding: 16px 56px 16px 18px;
    background: #fff;
    background-image: none;
    border-bottom: 1px solid #f3e8e3;
    text-align: left;
  }

  #otixTelegramOverlay button {
    margin: 0;
    font-family: inherit;
    font-style: normal;
    text-transform: none;
    letter-spacing: 0;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

  #otixTelegramOverlay .otix-tg-close {
    position: absolute;
    top: 50%;
    right: 14px;
    transform: translateY(-50%);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 1px solid #f3e8e3;
    border-radius: 50%;
    background: #fff;
    color: #151517;
    flex: 0 0 36px;
    box-shadow: 0 4px 12px rgba(80, 30, 10, 0.06);
  }

  #otixTelegramOverlay .otix-tg-close svg {
    display: block;
    width: 14px;
    height: 14px;
  }

  #otixTelegramOverlay .otix-tg-close:hover {
    background: #fff5f1;
    border-color: #ffd8cc;
    color: #e24b12;
  }

  #otixTelegramOverlay .otix-tg-mark {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin: 0;
    flex: 0 0 48px;
    border-radius: 50%;
    background: #2AABEE;
    background-image: linear-gradient(180deg, #2AABEE 0%, #229ED9 100%);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.35),
      0 12px 26px rgba(34, 158, 217, 0.35);
  }

  #otixTelegramOverlay .otix-tg-mark svg {
    display: block;
    width: 24px;
    height: 24px;
    color: #fff;
    animation: otixTgPlane 2.6s ease-in-out infinite;
  }

  @keyframes otixTgPlane {
    0%,
    100% {
      transform: translate(0, 0);
    }

    45% {
      transform: translate(2px, -3px);
    }

    70% {
      transform: translate(0, 0);
    }
  }

  #otixTelegramOverlay .otix-tg-id {
    min-width: 0;
    text-align: left;
  }

  #otixTelegramOverlay .otix-tg-handle {
    margin: 0;
    padding: 0;
    color: #151517;
    font-family: "Plus Jakarta Sans", Inter, sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    text-transform: none;
  }

  #otixTelegramOverlay .otix-tg-kicker {
    margin: 3px 0 0;
    padding: 0;
    color: #229ED9;
    font-family: Inter, sans-serif;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: 0;
    text-transform: none;
  }

  #otixTelegramOverlay .otix-tg-body {
    padding: 22px 26px 0;
  }

  #otixTelegramOverlay .otix-telegram-popup h2 {
    margin: 0 0 10px;
    padding: 0;
    color: #151517;
    font-family: Sora, "Plus Jakarta Sans", Inter, sans-serif;
    font-size: 32px;
    font-weight: 700;
    font-style: normal;
    line-height: 1.12;
    letter-spacing: -0.04em;
    text-transform: none;
  }

  #otixTelegramOverlay .otix-tg-accent {
    color: #f04400;
  }

  #otixTelegramOverlay .otix-tg-copy {
    max-width: 380px;
    margin: 0 auto 18px;
    padding: 0;
    color: #5f5e5a;
    font-family: Inter, sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: 0;
  }

  #otixTelegramOverlay a.otix-tg-inline {
    display: inline;
    color: #c2410c;
    font-weight: 600;
    text-decoration: none;
  }

  #otixTelegramOverlay a.otix-tg-inline:hover {
    color: #f04400;
  }

  #otixTelegramOverlay .otix-tg-points {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    margin: 0 0 18px;
    padding: 0;
    list-style: none;
    border: 1px solid #f3e8e3;
    border-radius: 16px;
    background: #fffaf8;
    overflow: hidden;
  }

  #otixTelegramOverlay .otix-tg-points li {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    min-width: 0;
    margin: 0;
    padding: 13px 8px 12px;
    list-style: none;
    text-align: center;
  }

  #otixTelegramOverlay .otix-tg-points li + li {
    border-left: 1px solid #f3e8e3;
  }

  #otixTelegramOverlay .otix-tg-tick {
    display: block;
    width: 18px;
    height: 3px;
    margin: 0 auto 7px;
    border-radius: 99px;
    background: #ff6733;
  }

  #otixTelegramOverlay .otix-tg-points strong {
    display: block;
    margin: 0;
    color: #151517;
    font-family: "Plus Jakarta Sans", Inter, sans-serif;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.01em;
  }

  #otixTelegramOverlay .otix-tg-points small {
    display: block;
    margin: 0;
    color: #8a847e;
    font-family: Inter, sans-serif;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.3;
  }

  #otixTelegramOverlay .otix-tg-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    width: 100%;
    margin: 0;
  }

  #otixTelegramOverlay a.otix-tg-join {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 52px;
    margin: 0;
    padding: 0 22px;
    border: 0;
    border-radius: 999px;
    background: #2AABEE;
    background-image: linear-gradient(180deg, #2AABEE 0%, #229ED9 100%);
    color: #fff;
    box-shadow: 0 10px 22px rgba(34, 158, 217, 0.34);
    filter: none;
    font-family: "Plus Jakarta Sans", Inter, sans-serif;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.01em;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
  }

  #otixTelegramOverlay a.otix-tg-join svg {
    display: block;
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    color: #fff;
  }

  #otixTelegramOverlay a.otix-tg-join:hover {
    background: #229ED9;
    background-image: linear-gradient(180deg, #39b4f3 0%, #1b92cc 100%);
    color: #fff;
  }

  #otixTelegramOverlay .otix-tg-later {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 40px;
    margin: 0;
    padding: 0 12px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    box-shadow: none;
    color: #8a847e;
    font-family: Inter, sans-serif;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0;
  }

  #otixTelegramOverlay .otix-tg-later:hover {
    background: transparent;
    border-color: transparent;
    color: #151517;
  }

  #otixTelegramOverlay .otix-tg-close:focus-visible,
  #otixTelegramOverlay .otix-tg-join:focus-visible,
  #otixTelegramOverlay .otix-tg-later:focus-visible,
  #otixTelegramOverlay .otix-tg-inline:focus-visible {
    outline: 2px solid #ff6733;
    outline-offset: 3px;
  }

  @media (max-width: 420px) {
    #otixTelegramOverlay .otix-telegram-popup {
      border-radius: 20px;
    }

    #otixTelegramOverlay .otix-tg-hero {
      padding: 14px 50px 14px 16px;
    }

    #otixTelegramOverlay .otix-tg-mark {
      width: 44px;
      height: 44px;
      flex-basis: 44px;
    }

    #otixTelegramOverlay .otix-tg-mark svg {
      width: 22px;
      height: 22px;
    }

    #otixTelegramOverlay .otix-tg-handle {
      font-size: 15px;
    }

    #otixTelegramOverlay .otix-tg-kicker {
      font-size: 12px;
    }

    #otixTelegramOverlay .otix-tg-body {
      padding: 18px 16px 0;
    }

    #otixTelegramOverlay .otix-telegram-popup h2 {
      font-size: 26px;
    }

    #otixTelegramOverlay .otix-tg-copy {
      font-size: 14.5px;
      margin-bottom: 14px;
    }

    #otixTelegramOverlay .otix-tg-points li {
      padding: 11px 4px 10px;
    }

    #otixTelegramOverlay .otix-tg-points strong {
      font-size: 12px;
    }
  }

  @media (max-height: 640px) {
    #otixTelegramOverlay .otix-telegram-popup {
      padding-bottom: 12px;
    }

    #otixTelegramOverlay .otix-tg-hero {
      padding-top: 12px;
      padding-bottom: 12px;
    }

    #otixTelegramOverlay .otix-tg-mark {
      width: 42px;
      height: 42px;
      flex-basis: 42px;
    }

    #otixTelegramOverlay .otix-tg-mark svg {
      width: 20px;
      height: 20px;
    }

    #otixTelegramOverlay .otix-tg-body {
      padding-top: 14px;
    }

    #otixTelegramOverlay .otix-telegram-popup h2 {
      margin-bottom: 6px;
      font-size: 24px;
    }

    #otixTelegramOverlay .otix-tg-copy {
      margin-bottom: 12px;
    }

    #otixTelegramOverlay .otix-tg-points {
      margin-bottom: 12px;
    }

    #otixTelegramOverlay a.otix-tg-join {
      min-height: 46px;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    #otixTelegramOverlay,
      #otixTelegramOverlay .otix-tg-mark svg {
      animation: none;
      transition: none;
    }
  }
