html {
        box-sizing: border-box;
      }
      *,
      *::before,
      *::after {
        box-sizing: inherit;
      }

      #tgWidget {
        position: fixed;
        bottom: 24px;
        left: 24px;
        display: flex;
        align-items: flex-start;
        gap: 12px;
        padding: 16px 20px;
        width: 280px;

        background: #ffffff;
        border-radius: 12px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);

        font-family: "Inter", "Segoe UI", sans-serif;
        z-index: 9999;

        opacity: 1;
        transform: translateY(0);
        transition: transform 0.3s ease, opacity 0.3s ease;
      }
      #tgWidget.tg-hidden {
        opacity: 0;
        pointer-events: none;
        transform: translateY(20px);
      }

      /* Icon */
      #tgWidget .tg-icon {
        flex: 0 0 32px;
        height: 32px;
        background: url('data:image/svg+xml;utf8,') center/contain no-repeat;
      }

      /* Texts */
      #tgWidget .tg-content {
        flex: 1 1 auto;
      }
      #tgWidget .tg-title {
        font-weight: 700;
        font-size: 16px;
        line-height: 1.2;
        margin-bottom: 4px;
        color: #111111;
      }
      #tgWidget .tg-text {
        font-size: 14px;
        line-height: 1.3;
        margin-bottom: 8px;
        color: #555555;
      }

      /* Subscribe button */
      #tgWidget .tg-btn {
        display: inline-block;
        padding: 8px 16px;
        font-size: 14px;
        font-weight: 600;
        border-radius: 6px;
        background: #0088cc;
        color: #ffffff;
        text-decoration: none;
        transition: background 0.2s ease;
      }
      #tgWidget .tg-btn:hover {
        background: #0073b1;
      }

      /* Close (×) */
      #tgWidget .tg-close {
        position: absolute;
        top: 6px;
        right: 8px;
        background: none;
        border: none;
        font-size: 20px;
        line-height: 20px;
        color: #888888;
        cursor: pointer;
        padding: 0;
      }
      #tgWidget .tg-close:hover {
        color: #444444;
      }

      /* Mobile tweaks */
      @media (max-width: 600px) {
        #tgWidget {
          bottom: 80px;
          left: 10px;
          right: 10px;
          width: auto;
        }
      }