/* Telegram dark mode mockup — dense packed */
.hp-slide--telegram {
  background: #0e1621;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.hp-slide--telegram .hp-status {
  height: 42px;
  padding: 0 22px 4px;
  font-size: 12px;
  flex: none;
  background: #17212b !important;
  color: #fff !important;
}

.hp-slide--telegram .hp-status span,
.hp-slide--telegram .hp-status .hp-status__icons {
  color: #fff !important;
}

.hp-slide--telegram .hp-signal span {
  background: #fff !important;
}

.hp-slide--telegram .hp-battery {
  border-color: rgba(255, 255, 255, 0.35) !important;
}

.hp-slide--telegram .hp-battery__fill {
  background: #fff !important;
}

.hp-tg-head {
  background: #17212b;
  color: #fff;
  padding: 2px 10px 7px;
  display: flex;
  align-items: center;
  gap: 7px;
  flex: none;
  border-bottom: 0.5px solid rgba(255, 255, 255, 0.06);
}

.hp-tg-head .back {
  font-size: 22px;
  font-weight: 300;
  line-height: 1;
  opacity: 0.9;
  color: #6ab3f3;
}

.hp-tg-head__avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2b5278, #17212b);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex: none;
}

.hp-tg-head__info { min-width: 0; flex: 1; }

.hp-tg-head__name {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.15;
  color: #fff;
}

.hp-tg-head__sub {
  font-size: 9.5px;
  color: #6ab3f3;
}

.hp-tg-head__actions {
  margin-left: auto;
  display: flex;
  gap: 12px;
  font-size: 14px;
  opacity: 0.85;
  color: #6ab3f3;
}

.hp-tg-body {
  background: #0e1621;
  padding: 3px 5px 1px;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 1px;
  position: relative;
}

.hp-tg-body::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 22px;
  background: linear-gradient(transparent, #0e1621);
  pointer-events: none;
}

.hp-tg-date {
  align-self: center;
  font-size: 7.5px;
  color: #708499;
  background: rgba(23, 33, 43, 0.9);
  padding: 2px 8px;
  border-radius: 100px;
  flex: none;
}

.hp-tg-msg {
  display: flex;
  gap: 0;
  align-items: flex-end;
  flex: none;
}

.hp-tg-msg--out {
  justify-content: flex-end;
}

.hp-tg-bubble {
  max-width: 97%;
  border-radius: 10px 10px 10px 3px;
  padding: 4px 6px;
  font-size: 8.5px;
  line-height: 1.34;
  color: #e4ecf2;
  background: #182533;
  box-shadow: none;
}

.hp-tg-msg--out .hp-tg-bubble {
  background: #2b5278;
  border-radius: 10px 10px 3px 10px;
  color: #fff;
}

.hp-tg-bubble b,
.hp-tg-bubble strong {
  font-weight: 700;
  color: #fff;
}

.hp-tg-bubble .hp-tg-hl {
  color: #6ab3f3;
  font-weight: 700;
}

.hp-tg-bubble .hp-tg-pick {
  display: inline-block;
  background: #2b5278;
  border: 1px solid #6ab3f3;
  color: #6ab3f3;
  font-weight: 700;
  padding: 1px 4px;
  border-radius: 4px;
  font-size: 8px;
  margin-top: 1px;
}

.hp-tg-msg--out .hp-tg-bubble .hp-tg-pick {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.hp-tg-bubble .hp-tg-warn {
  color: #e8a838;
  font-weight: 600;
}

.hp-tg-bubble .hp-tg-dot {
  color: #708499;
}

.hp-tg-meta {
  font-size: 7px;
  color: #5d6d7e;
  margin-top: 1px;
  text-align: right;
  line-height: 1;
}

.hp-tg-msg--out .hp-tg-meta {
  text-align: left;
  padding-left: 3px;
}

.hp-tg-msg--out .hp-tg-meta .read {
  color: #6ab3f3;
}

.hp-tg-card {
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(106, 179, 243, 0.2);
  border-radius: 5px;
  padding: 3px 5px;
  margin: 2px 0;
  font-size: 8px;
  line-height: 1.38;
}

.hp-tg-card__row {
  display: flex;
  justify-content: space-between;
  padding: 1px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.hp-tg-card__row:last-child { border-bottom: none; }

.hp-tg-foot {
  background: #17212b;
  padding: 4px 7px 3px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-top: 0.5px solid rgba(255, 255, 255, 0.06);
  flex: none;
}

.hp-tg-input {
  flex: 1;
  height: 24px;
  background: #0e1621;
  border: none;
  border-radius: 14px;
  display: flex;
  align-items: center;
  padding: 0 10px;
  font-size: 10px;
  color: #5d6d7e;
}

.hp-tg-foot .icon {
  font-size: 14px;
  color: #5d6d7e;
}

.hp-slide--telegram .hp-home-bar {
  height: 16px;
  flex: none;
  background: #17212b;
}

.hp-slide--telegram .hp-home-bar span {
  width: 100px;
  height: 4px;
  background: rgba(255, 255, 255, 0.35);
}

.hp-slide--telegram .hp-tg-scroll-hint {
  position: absolute;
  bottom: 6px;
  right: 8px;
  width: 22px;
  height: 22px;
  background: #2b5278;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: #fff;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

/* Phone badge */
.phone-badge--channel {
  background: #fff !important;
  border: 1px solid rgba(0, 136, 204, 0.2) !important;
  box-shadow: 0 14px 40px rgba(0, 136, 204, 0.15) !important;
}

.phone-badge__ad {
  color: #1a3a52 !important;
}

.phone-badge--live {
  position: absolute;
  bottom: 14%;
  right: -4%;
  background: #fff;
  border: 1px solid rgba(0, 136, 204, 0.2);
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 12px;
  color: #3d6a85;
  display: flex;
  align-items: center;
  gap: 8px;
  animation: floatY 6s ease-in-out infinite 0.8s;
  box-shadow: 0 14px 30px rgba(0, 136, 204, 0.12);
  z-index: 3;
  font-weight: 600;
}

.phone-badge--live .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  animation: pulseDot 1.5s ease-in-out infinite;
}

.brand-mark--telegram {
  background: transparent;
  border-radius: 8px;
  padding: 0;
}

.brand-mark--telegram img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: none;
}

/* Telegram CTA buttons */
.btn-telegram {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.btn-telegram img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  flex: none;
}

.btn-telegram--lg img {
  width: 28px;
  height: 28px;
}

.float-telegram img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.hero-phone-inner:has(.hp-slide--telegram) {
  background: #0e1621;
}

.hero-phone-inner:has(.hp-slide--telegram) .hp-home-bar span {
  background: rgba(255, 255, 255, 0.35);
}
