/* Mr.Account Telegram Community — v5.30.0 */
.tg-live {
  --tg-blue: #2aabee;
  --tg-cyan: #74d8ff;
  --tg-orange: #ff9418;
  width: min(1180px, calc(100% - 32px));
  margin: clamp(44px, 7vw, 86px) auto;
  color: #fff;
  font-family: Inter, "Segoe UI", system-ui, -apple-system, sans-serif;
}

.tg-live *,
.tg-live *::before,
.tg-live *::after {
  box-sizing: border-box;
}

.tg-live__shell {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(460px, 1.18fr);
  gap: clamp(24px, 4vw, 54px);
  align-items: center;
  overflow: hidden;
  padding: clamp(26px, 4vw, 52px);
  border: 1px solid rgba(116, 216, 255, .24);
  border-radius: 30px;
  background:
    radial-gradient(circle at 9% 16%, rgba(42, 171, 238, .25), transparent 34%),
    radial-gradient(circle at 95% 90%, rgba(255, 148, 24, .16), transparent 38%),
    linear-gradient(135deg, #08111e 0%, #0d1c2c 52%, #07101a 100%);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, .36),
    inset 0 1px 0 rgba(255, 255, 255, .07);
}

.tg-live__shell::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: .26;
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(90deg, #000, transparent 72%);
}

.tg-live__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 15px;
  color: var(--tg-cyan);
  font-size: .73rem;
  font-weight: 900;
  letter-spacing: .16em;
}

.tg-live__pulse {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #59f0a7;
  box-shadow: 0 0 0 6px rgba(89, 240, 167, .12), 0 0 18px rgba(89, 240, 167, .76);
}

.tg-live__intro h2 {
  max-width: 580px;
  margin: 0;
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: .99;
  letter-spacing: -.045em;
  text-wrap: balance;
}

.tg-live__intro > p {
  max-width: 570px;
  margin: 20px 0 0;
  color: #b9c8d9;
  font-size: clamp(.96rem, 1.45vw, 1.08rem);
  line-height: 1.62;
}

.tg-live__benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 23px;
}

.tg-live__benefits span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: 999px;
  background: rgba(255, 255, 255, .055);
  color: #dbeafe;
  font-size: .74rem;
  font-weight: 800;
}

.tg-live__channels {
  display: grid;
  gap: 14px;
}

.tg-live__channel {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 15px;
  align-items: center;
  min-height: 126px;
  padding: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 21px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .105), rgba(255, 255, 255, .035));
  color: #fff;
  text-decoration: none !important;
  box-shadow: 0 15px 36px rgba(0, 0, 0, .18);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.tg-live__channel::after {
  content: "";
  position: absolute;
  inset: auto -40px -75px auto;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: var(--tg-blue);
  opacity: .09;
  filter: blur(4px);
}

.tg-live__channel--ps5::after {
  background: var(--tg-orange);
}

.tg-live__channel:hover {
  transform: translateY(-3px);
  border-color: rgba(116, 216, 255, .48);
  box-shadow: 0 21px 42px rgba(0, 0, 0, .28);
}

.tg-live__channel:focus-visible {
  outline: 3px solid rgba(116, 216, 255, .64);
  outline-offset: 3px;
}

.tg-live__channel-icon {
  position: relative;
  z-index: 1;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(145deg, #42b9f1, #168bcc);
  box-shadow: 0 10px 26px rgba(42, 171, 238, .34);
}

.tg-live__channel-icon svg {
  width: 31px;
  height: 31px;
  fill: #fff;
}

.tg-live__channel-copy {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.tg-live__channel-copy small,
.tg-live__channel-copy strong,
.tg-live__channel-copy > span {
  display: block;
}

.tg-live__channel-copy small {
  overflow: hidden;
  margin-bottom: 6px;
  color: var(--tg-cyan);
  font-size: .7rem;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tg-live__channel-copy strong {
  color: #fff;
  font-size: clamp(1.05rem, 1.65vw, 1.28rem);
  line-height: 1.15;
}

.tg-live__channel-copy > span {
  margin-top: 7px;
  color: #aebdce;
  font-size: .82rem;
  line-height: 1.35;
}

.tg-live__join {
  position: relative;
  z-index: 1;
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 13px;
  border-radius: 12px;
  background: rgba(42, 171, 238, .16);
  color: #d8f3ff;
  font-size: .75rem;
  font-weight: 900;
  white-space: nowrap;
}

.tg-live__join b {
  font-size: 1rem;
}

@media (max-width: 920px) {
  .tg-live__shell {
    grid-template-columns: 1fr;
  }

  .tg-live__intro h2,
  .tg-live__intro > p {
    max-width: 760px;
  }
}

@media (max-width: 620px) {
  .tg-live {
    width: min(100% - 20px, 1180px);
    margin: 38px auto;
  }

  .tg-live__shell {
    gap: 23px;
    padding: 22px 15px 16px;
    border-radius: 23px;
  }

  .tg-live__intro {
    padding: 0 4px;
  }

  .tg-live__intro h2 {
    font-size: clamp(1.8rem, 9vw, 2.55rem);
  }

  .tg-live__intro > p {
    margin-top: 15px;
    font-size: .93rem;
  }

  .tg-live__benefits {
    margin-top: 18px;
  }

  .tg-live__channel {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 12px;
    min-height: 0;
    padding: 16px;
    border-radius: 17px;
  }

  .tg-live__channel-icon {
    width: 50px;
    height: 50px;
    border-radius: 15px;
  }

  .tg-live__channel-icon svg {
    width: 27px;
    height: 27px;
  }

  .tg-live__join {
    grid-column: 1 / -1;
    width: 100%;
    min-height: 48px;
    margin-top: 2px;
    background: linear-gradient(135deg, #2aabee, #147fc1);
    color: #fff;
    font-size: .82rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tg-live__channel {
    transition: none;
  }
}
