/* Keep the original Telegram profile and scroll animation; only remove its card. */
.pu-tg .pu-tg_art {
  background: transparent;
  border-radius: 0;
  overflow: visible;
}

.pu-tg .pu-tg_star {
  width: .95em;
  height: .95em;
  object-fit: contain;
}

/* The expanding Purple row remains an app-style card. */
.pu-tg .pu-tg_logo {
  margin-right: calc(.8em + .2em * var(--k));
}

.pu-tg .pu-tg_lbl {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  white-space: nowrap;
}

.pu-tg_name-line {
  display: inline-flex;
  align-items: center;
  gap: .04em;
  line-height: 1.05;
}

.pu-tg_name-hand {
  display: inline-block;
  flex: none;
  width: .6em;
  height: .6em;
  margin-left: .3em;
  background: transparent url('/images/home/social/hello.svg?v=1') center / contain no-repeat;
}

.pu-tg_bot-tag {
  display: block;
  height: calc(1.15em * var(--k));
  overflow: hidden;
  opacity: var(--k);
  margin-top: .12em;
  color: #8e8e93;
  font-size: .62em;
  line-height: 1.15;
}

.pu-tg_open {
  flex: none;
  width: 0;
  height: 2.15em;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 2em;
  background: #43566b;
  color: #fff;
  font-size: 1.08em;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: scale(.84);
  transition: width .25s ease, opacity .25s ease, transform .25s ease, visibility .25s;
}

.pu-tg.is-full .pu-tg_open {
  width: 4.45em;
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.pu-tg .pu-tg_chev {
  width: calc(.5em * (1 - var(--k)));
  opacity: calc(1 - var(--k));
}

/* Restore recognizable icons in the original Wallet and Settings rows. */
.pu-tg .pu-tg_li:nth-child(2) .pu-tg_sq,
.pu-tg .pu-tg_li:nth-child(3) .pu-tg_sq {
  background-position: center;
  background-repeat: no-repeat;
  background-size: 62%;
}

.pu-tg .pu-tg_li:nth-child(2) .pu-tg_sq {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='6' width='18' height='13' rx='2'/%3E%3Cpath d='M3 9h18M16 14h2'/%3E%3C/svg%3E") !important;
}

.pu-tg .pu-tg_li:nth-child(3) .pu-tg_sq {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M19.4 15a1.6 1.6 0 0 0 .3 1.8l-1.9 1.9a1.6 1.6 0 0 0-1.8-.3l-1.1.5-.4 2.1h-2.7l-.4-2.1-1.1-.5a1.6 1.6 0 0 0-1.8.3l-1.9-1.9a1.6 1.6 0 0 0 .3-1.8l-.5-1.1-2.1-.4v-2.7l2.1-.4.5-1.1a1.6 1.6 0 0 0-.3-1.8l1.9-1.9a1.6 1.6 0 0 0 1.8.3l1.1-.5.4-2.1h2.7l.4 2.1 1.1.5a1.6 1.6 0 0 0 1.8-.3l1.9 1.9a1.6 1.6 0 0 0-.3 1.8l.5 1.1 2.1.4v2.7l-2.1.4z'/%3E%3C/svg%3E") !important;
}
