body[data-channel="telegram"] {
  --accent: #27a8ff;
  --accent-2: #20f2b2;
  background:
    radial-gradient(circle at 12% 10%, rgba(39, 168, 255, 0.28), transparent 31%),
    radial-gradient(circle at 88% 0%, rgba(32, 242, 178, 0.15), transparent 30%),
    radial-gradient(circle at 50% 42%, rgba(39, 168, 255, 0.08), transparent 28%),
    linear-gradient(180deg, #06111f 0%, #07101a 52%, #050a12 100%);
}

body[data-channel="telegram"] .topbar {
  border-color: rgba(39, 168, 255, 0.32);
}

body[data-channel="telegram"] .hero {
  position: relative;
  padding-top: 62px;
}

body[data-channel="telegram"] .hero::before {
  content: '';
  position: absolute;
  inset: 42px 36% auto 4%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(39, 168, 255, 0.62), transparent);
  opacity: 0.8;
}

body[data-channel="telegram"] .channel-card {
  border-color: rgba(39, 168, 255, 0.34);
  background:
    radial-gradient(320px 180px at 100% 0%, rgba(39, 168, 255, 0.22), transparent 60%),
    linear-gradient(145deg, rgba(14, 31, 48, 0.98), rgba(7, 15, 26, 0.95));
}

body[data-channel="telegram"] .mini-actions span {
  color: #ddf4ff;
  border-color: rgba(39, 168, 255, 0.38);
  background: rgba(39, 168, 255, 0.12);
}

.power-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.power-flow span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid rgba(39, 168, 255, 0.34);
  border-radius: 999px;
  color: #dff6ff;
  background: rgba(39, 168, 255, 0.1);
  font-size: 13px;
  font-weight: 900;
  animation: telegramChipFlow 6s ease-in-out infinite;
}

.power-flow span:nth-of-type(2) {
  animation-delay: 0.35s;
}

.power-flow span:nth-of-type(3) {
  animation-delay: 0.7s;
}

.power-flow span:nth-of-type(4) {
  animation-delay: 1.05s;
}

.power-flow span:nth-of-type(5) {
  animation-delay: 1.4s;
}

.power-flow b {
  color: rgba(32, 242, 178, 0.88);
}

body[data-channel="telegram"] .card {
  border-color: rgba(39, 168, 255, 0.22);
  background:
    linear-gradient(145deg, rgba(39, 168, 255, 0.08), rgba(255, 255, 255, 0.035));
}

body[data-channel="telegram"] .telegram-pipeline-section {
  padding-bottom: clamp(28px, 5vw, 54px);
  background:
    radial-gradient(640px 220px at 12% 0%, rgba(39, 168, 255, 0.16), transparent 58%),
    linear-gradient(145deg, rgba(9, 22, 37, 0.98), rgba(5, 12, 22, 0.96));
}

.telegram-action-board {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1fr);
  gap: 18px;
  margin-top: 24px;
}

.pipeline-rail {
  position: relative;
  display: grid;
  gap: 10px;
  padding: 18px;
  border-radius: 26px;
  border: 1px solid rgba(39, 168, 255, 0.26);
  background: rgba(39, 168, 255, 0.07);
}

.pipeline-rail span {
  min-height: 52px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  border-radius: 18px;
  border: 1px solid rgba(39, 168, 255, 0.28);
  background: rgba(8, 18, 31, 0.74);
  color: #e6f8ff;
  font-weight: 900;
  animation: telegramStepHighlight 7s ease-in-out infinite;
}

.pipeline-rail span:nth-of-type(2) { animation-delay: 0.4s; }
.pipeline-rail span:nth-of-type(3) { animation-delay: 0.8s; }
.pipeline-rail span:nth-of-type(4) { animation-delay: 1.2s; }
.pipeline-rail span:nth-of-type(5) { animation-delay: 1.6s; }

.pipeline-rail i {
  width: 2px;
  height: 18px;
  margin-left: 24px;
  background: linear-gradient(180deg, rgba(39, 168, 255, 0.2), rgba(32, 242, 178, 0.6));
}

.feature-strips {
  display: grid;
  gap: 12px;
}

.feature-strip {
  display: grid;
  grid-template-columns: minmax(150px, 0.34fr) minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  min-height: 94px;
  padding: 16px 18px;
  border-radius: 22px;
  border: 1px solid rgba(39, 168, 255, 0.2);
  background:
    linear-gradient(90deg, rgba(39, 168, 255, 0.12), rgba(255, 255, 255, 0.035));
}

.feature-strip strong {
  color: #dff6ff;
  font-size: 1.02rem;
}

.feature-strip p {
  margin: 0;
  color: #aec6dc;
  line-height: 1.5;
}

body[data-channel="telegram"] .screenshots-grid {
  align-items: start;
}

body[data-channel="telegram"] .screenshot-card:nth-child(even) {
  margin-top: 26px;
}

body[data-channel="telegram"] .channel-card {
  animation: telegramPanelFloat 8s ease-in-out infinite;
}

@media (max-width: 920px) {
  body[data-channel="telegram"] .hero::before {
    display: none;
  }
}

@media (max-width: 620px) {
  body[data-channel="telegram"] .screenshot-card:nth-child(even) {
    margin-top: 0;
  }

  .power-flow {
    gap: 7px;
  }
}

@keyframes telegramChipFlow {
  0%,
  100% {
    border-color: rgba(39, 168, 255, 0.34);
    background: rgba(39, 168, 255, 0.1);
  }
  50% {
    border-color: rgba(32, 242, 178, 0.5);
    background: rgba(32, 242, 178, 0.12);
  }
}

@keyframes telegramPanelFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -8px, 0);
  }
}

@keyframes telegramStepHighlight {
  0%,
  100% {
    border-color: rgba(39, 168, 255, 0.28);
    transform: translateX(0);
  }
  50% {
    border-color: rgba(32, 242, 178, 0.52);
    transform: translateX(5px);
  }
}

@media (max-width: 860px) {
  .telegram-action-board {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .feature-strip {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
