#t4k-support-modal,
#t4k-support-section,
#t4k-support-launcher {
  --t4k-green: var(--evergreen, #0e3b2c);
  --t4k-green-deep: var(--evergreen-deep, #0a2d21);
  --t4k-leaf: var(--leaf, #1e9e5c);
  --t4k-ink: var(--ink, #152019);
  --t4k-moss: var(--moss, #4f6157);
  --t4k-line: var(--line, #dfe7df);
  --t4k-sage: var(--sage, #edf3ed);
  box-sizing: border-box;
  font-family: inherit;
}

#t4k-support-modal *,
#t4k-support-modal *::before,
#t4k-support-modal *::after,
#t4k-support-section *,
#t4k-support-section *::before,
#t4k-support-section *::after,
#t4k-support-launcher * {
  box-sizing: border-box;
}

.t4k-home-sup {
  position: relative;
  width: min(920px, calc(100% - (var(--gutter, 1rem) * 2)));
  margin: 1rem auto 0.25rem;
  color: var(--t4k-ink);
}

.t4k-home-card {
  padding: 1.35rem 1.4rem 1rem;
  box-shadow:
    0 1px 2px rgba(14, 59, 44, 0.06),
    0 22px 48px -30px rgba(10, 45, 33, 0.45);
}

.t4k-home-card .t4k-sup-head {
  padding-inline: 0;
}

.t4k-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding:
    max(1rem, env(safe-area-inset-top, 0px))
    max(1rem, env(safe-area-inset-right, 0px))
    max(1rem, env(safe-area-inset-bottom, 0px))
    max(1rem, env(safe-area-inset-left, 0px));
  color: var(--t4k-ink);
}

.t4k-modal[hidden] {
  display: none;
}

.t4k-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 26, 19, 0.52);
  -webkit-backdrop-filter: blur(6px) saturate(115%);
  backdrop-filter: blur(6px) saturate(115%);
  opacity: 0;
  transition: opacity 0.22s ease;
}

.t4k-modal-dialog {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(920px, 100%);
  max-height: calc(100vh - 2rem);
  max-height: calc(100dvh - 2rem - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
  overflow: hidden;
  opacity: 0;
  transform: translateY(14px) scale(0.97);
  transition:
    opacity 0.24s ease,
    transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.t4k-modal-dialog:focus {
  outline: none;
}

.t4k-modal.is-open .t4k-modal-backdrop {
  opacity: 1;
}

.t4k-modal.is-open .t4k-modal-dialog {
  opacity: 1;
  transform: none;
}

.t4k-modal.is-closing .t4k-modal-backdrop,
.t4k-modal.is-closing .t4k-modal-dialog {
  opacity: 0;
  transition-duration: 0.18s;
}

.t4k-modal.is-closing .t4k-modal-dialog {
  transform: translateY(6px) scale(0.985);
}

.t4k-modal-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 1.35rem 1.4rem 1rem;
}

.t4k-sup-card {
  background:
    radial-gradient(120% 140% at 50% -40%, rgba(30, 158, 92, 0.1), rgba(30, 158, 92, 0) 60%),
    #fff;
  border: 1px solid rgba(14, 59, 44, 0.12);
  border-radius: 1.5rem;
  box-shadow:
    0 1px 2px rgba(14, 59, 44, 0.06),
    0 32px 80px -24px rgba(5, 20, 14, 0.55);
}

.t4k-sup-close {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 1px solid var(--t4k-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--t4k-moss);
  cursor: pointer;
  box-shadow: 0 4px 12px -6px rgba(14, 59, 44, 0.35);
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.t4k-sup-close:hover {
  background: var(--t4k-sage);
  border-color: rgba(14, 59, 44, 0.25);
  color: var(--t4k-green);
}

.t4k-sup-close:focus-visible {
  outline: none;
  border-color: var(--t4k-green);
  box-shadow: 0 0 0 3px rgba(30, 158, 92, 0.25);
}

.t4k-sup-close svg {
  display: block;
}

.t4k-sup-head {
  max-width: 40rem;
  margin: 0 auto 0.95rem;
  padding-inline: 2.5rem;
  text-align: center;
}

.t4k-sup-flag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 0.6rem;
  padding: 0.28rem 0.7rem 0.28rem 0.5rem;
  border: 1px solid rgba(30, 158, 92, 0.28);
  border-radius: 999px;
  background: #eaf6ef;
  color: #146c40;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.t4k-sup-flag span {
  display: grid;
  place-items: center;
}

.t4k-sup-flag svg {
  display: block;
  width: 0.95rem;
  height: 0.95rem;
}

.t4k-sup-title {
  margin: 0;
  color: var(--t4k-green);
  font-size: clamp(1.15rem, 0.95rem + 0.8vw, 1.5rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.2;
  text-wrap: balance;
}

.t4k-sup-text {
  margin: 0.4rem 0 0;
  color: var(--t4k-moss);
  font-size: 0.95rem;
  line-height: 1.5;
}

.t4k-sup-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 2fr);
  gap: 0.75rem;
}

.t4k-sup-primary {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.7rem;
  min-width: 0;
  padding: 0.85rem 0.9rem;
  border-radius: 1.1rem;
  background: linear-gradient(160deg, #134a37 0%, var(--t4k-green) 48%, var(--t4k-green-deep) 100%);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 14px 28px -18px rgba(10, 45, 33, 0.8);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.t4k-sup-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 32px -18px rgba(10, 45, 33, 0.9);
}

.t4k-sup-primary:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 3px #fff,
    0 0 0 5px var(--t4k-leaf);
}

.t4k-sup-primary-top {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.t4k-sup-primary-ico {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 0.8rem;
  background: #fff;
  box-shadow: 0 6px 14px -8px rgba(0, 0, 0, 0.5);
}

.t4k-sup-primary-ico img {
  display: block;
  width: 1.65rem;
  height: 1.65rem;
}

.t4k-sup-primary-txt {
  display: grid;
  gap: 0.15rem;
  min-width: 0;
}

.t4k-sup-badge {
  padding: 0.18rem 0.5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #d7f5e3;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.t4k-sup-primary-label {
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-start;
  gap: 0.3rem;
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.25;
}

.t4k-sup-primary-value {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
  font-weight: 600;
}

.t4k-sup-primary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.55rem 0.75rem;
  border-radius: 0.75rem;
  background: #fff;
  color: var(--t4k-green);
  font-size: 0.88rem;
  font-weight: 700;
}

.t4k-sup-primary-cta svg {
  display: block;
  transition: transform 0.18s ease;
}

.t4k-sup-primary:hover .t4k-sup-primary-cta svg {
  transform: translateX(2px);
}

.t4k-sup-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  min-width: 0;
}

.t4k-sup-list > :last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.t4k-sup-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  min-width: 0;
  min-height: 3.9rem;
  margin: 0;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--t4k-line);
  border-radius: 1rem;
  background: #fff;
  color: var(--t4k-ink);
  font: inherit;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.t4k-sup-item:hover {
  border-color: rgba(14, 59, 44, 0.32);
  background: #fbfdfb;
  box-shadow: 0 8px 18px -14px rgba(14, 59, 44, 0.45);
}

.t4k-sup-item:focus-visible {
  outline: none;
  border-color: var(--t4k-green);
  box-shadow: 0 0 0 3px rgba(30, 158, 92, 0.25);
}

.t4k-sup-ico {
  display: grid;
  place-items: center;
  flex: 0 0 2.35rem;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 0.75rem;
  background: var(--t4k-sage);
  color: var(--t4k-green);
}

.t4k-sup-ico img,
.t4k-sup-ico svg {
  display: block;
}

.t4k-sup-ico img {
  width: 1.4rem;
  height: 1.4rem;
}

.t4k-sup-ico.is-brand {
  background: #fff;
  border: 1px solid var(--t4k-line);
}

.t4k-sup-ico.is-chat {
  background: var(--t4k-green);
  color: #fff;
}

.t4k-sup-txt {
  display: grid;
  gap: 0.1rem;
  flex: 1 1 auto;
  min-width: 0;
}

.t4k-sup-label {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  color: var(--t4k-moss);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.25;
  text-transform: uppercase;
}

.t4k-sup-value {
  overflow: hidden;
  color: var(--t4k-ink);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.t4k-sup-chev {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: rgba(79, 97, 87, 0.6);
  transition: color 0.18s ease, transform 0.18s ease;
}

.t4k-sup-chev svg {
  display: block;
}

.t4k-sup-item:hover .t4k-sup-chev {
  color: var(--t4k-green);
  transform: translateX(2px);
}

.t4k-sup-status {
  margin: 0.6rem 0 0;
  color: var(--t4k-green-deep);
  font-size: 0.82rem;
  text-align: center;
}

.t4k-sup-status:empty {
  display: none;
}

.t4k-sup-note {
  margin: 0.75rem 0 0;
  color: var(--t4k-moss);
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.45;
  text-align: center;
  text-wrap: balance;
}

.t4k-sup-note span {
  display: inline-grid;
  place-items: center;
  margin-right: 0.4rem;
  vertical-align: -0.3em;
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 999px;
  background: rgba(30, 158, 92, 0.14);
  color: var(--t4k-leaf);
}

.t4k-sup-note svg {
  display: block;
  width: 0.75rem;
  height: 0.75rem;
}

@media (max-width: 820px) {
  .t4k-sup-grid {
    grid-template-columns: 1fr;
  }

  .t4k-sup-primary {
    flex-direction: row;
    align-items: center;
    gap: 0.8rem;
    padding: 0.85rem 0.9rem;
  }

  .t4k-sup-primary-top {
    flex: 1 1 auto;
  }

  .t4k-sup-primary-label {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.25rem 0.45rem;
  }

  .t4k-sup-primary-cta span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .t4k-sup-primary-cta {
    flex: 0 0 auto;
    width: 2.35rem;
    height: 2.35rem;
    padding: 0;
    justify-content: center;
    border-radius: 999px;
  }
}

@media (max-width: 600px) {
  .t4k-modal {
    padding:
      max(0.75rem, env(safe-area-inset-top, 0px))
      max(0.75rem, env(safe-area-inset-right, 0px))
      max(0.75rem, env(safe-area-inset-bottom, 0px))
      max(0.75rem, env(safe-area-inset-left, 0px));
  }

  .t4k-modal-dialog {
    max-height: calc(100vh - 1.5rem);
    max-height: calc(100dvh - 1.5rem - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
    border-radius: 1.25rem;
  }

  .t4k-modal-scroll,
  .t4k-home-card {
    padding: 1rem 0.8rem 0.8rem;
  }

  .t4k-home-sup {
    margin-top: 0.75rem;
  }

  .t4k-home-card {
    border-radius: 1.25rem;
  }

  .t4k-home-card .t4k-sup-text {
    margin-inline: 0;
  }

  .t4k-sup-close {
    top: 0.55rem;
    right: 0.55rem;
    width: 2.35rem;
    height: 2.35rem;
  }

  .t4k-sup-head {
    margin-bottom: 0.75rem;
    padding-inline: 2.1rem;
  }

  .t4k-sup-flag {
    margin-bottom: 0.45rem;
    font-size: 0.64rem;
  }

  .t4k-sup-title {
    font-size: 1.04rem;
  }

  .t4k-sup-text {
    margin-top: 0.3rem;
    margin-inline: -1.4rem;
    font-size: 0.82rem;
    line-height: 1.45;
  }

  .t4k-sup-grid {
    gap: 0.55rem;
  }

  .t4k-sup-primary {
    padding: 0.7rem 0.75rem;
    border-radius: 1rem;
  }

  .t4k-sup-primary-ico {
    width: 2.35rem;
    height: 2.35rem;
  }

  .t4k-sup-primary-ico img {
    width: 1.5rem;
    height: 1.5rem;
  }

  .t4k-sup-badge {
    padding: 0.14rem 0.45rem;
    font-size: 0.6rem;
  }

  .t4k-sup-primary-label {
    font-size: 0.95rem;
  }

  .t4k-sup-primary-value {
    font-size: 0.85rem;
  }

  .t4k-sup-list {
    grid-template-columns: 1fr;
    gap: 0;
    overflow: hidden;
    border: 1px solid var(--t4k-line);
    border-radius: 1rem;
    background: #fff;
  }

  .t4k-sup-item {
    min-height: 3.25rem;
    padding: 0.55rem 0.75rem;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .t4k-sup-item + .t4k-sup-item {
    border-top: 1px solid var(--t4k-line);
  }

  .t4k-sup-item:hover {
    box-shadow: none;
  }

  .t4k-sup-item:focus-visible {
    box-shadow: inset 0 0 0 2px var(--t4k-leaf);
  }

  .t4k-sup-ico {
    flex-basis: 2.1rem;
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 0.65rem;
  }

  .t4k-sup-ico img {
    width: 1.25rem;
    height: 1.25rem;
  }

  .t4k-sup-label {
    font-size: 0.68rem;
  }

  .t4k-sup-value {
    font-size: 0.9rem;
  }

  .t4k-sup-note {
    margin-top: 0.6rem;
    font-size: 0.78rem;
  }
}

.t4k-launcher {
  position: fixed;
  left: max(1rem, env(safe-area-inset-left, 0px));
  bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px));
  z-index: 65;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  height: 2.85rem;
  padding: 0 1.05rem 0 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: linear-gradient(160deg, #134a37 0%, var(--t4k-green) 55%, var(--t4k-green-deep) 100%);
  color: #fff;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 12px 26px -14px rgba(10, 45, 33, 0.85);
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

.t4k-launcher:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 30px -14px rgba(10, 45, 33, 0.95);
}

.t4k-launcher:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 3px #fff,
    0 0 0 5px var(--t4k-leaf);
}

.t4k-launcher-ico,
.t4k-launcher-ico svg {
  display: block;
}

html.t4k-modal-open .t4k-launcher {
  opacity: 0;
  pointer-events: none;
}

@media (max-width: 767.5px) {
  .t4k-launcher {
    bottom: calc(0.85rem + env(safe-area-inset-bottom, 0px));
    left: max(0.75rem, env(safe-area-inset-left, 0px));
    width: 2.85rem;
    padding: 0;
    justify-content: center;
  }

  .t4k-launcher-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  .t4k-modal-backdrop,
  .t4k-modal-dialog,
  .t4k-sup-primary,
  .t4k-sup-primary-cta svg,
  .t4k-sup-item,
  .t4k-sup-chev,
  .t4k-sup-close,
  .t4k-launcher {
    transition: none;
  }

  .t4k-modal-dialog {
    transform: none;
  }
}

.sp-channel-icon--tg {
  background: #fff;
  box-shadow: 0 6px 14px -8px rgba(34, 158, 217, 0.55);
}

.sp-channel-icon--tg img {
  object-fit: contain;
  width: 2rem;
  height: 2rem;
  display: block;
}

.sp-channel--tg {
  background: #e8f6fc;
  border-color: rgba(34, 158, 217, 0.35);
}

.sp-channel--tg:hover,
.sp-channel--tg:focus-visible {
  background: #f4fbfe;
  border-color: #229ed9;
}

@media (max-width: 860px) {
  .sp-channel-icon--tg img {
    width: 1.55rem;
    height: 1.55rem;
  }
}
