/* Homepage bot + channel tiles — store look with a clear Telegram mark */
.os-tg-banners {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
  margin: 0 0 0.95rem;
}

@media (min-width: 640px) {
  .os-tg-banners {
    grid-template-columns: 1fr 1fr;
    gap: 0.7rem;
    margin-bottom: 1rem;
  }
}

.os-tg-tile {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 4.75rem;
  padding: 0.78rem 0.86rem;
  border-radius: 1.05rem;
  border: 1px solid color-mix(in srgb, #2aabee 34%, var(--border));
  background:
    radial-gradient(ellipse 80% 90% at 100% -20%, color-mix(in srgb, #2aabee 24%, transparent), transparent 58%),
    linear-gradient(165deg, color-mix(in srgb, #2aabee 10%, var(--surface)) 0%, var(--surface) 62%);
  color: inherit;
  text-decoration: none;
  box-shadow: 0 10px 28px color-mix(in srgb, #2aabee 16%, transparent);
}

.os-tg-tile--channel {
  background:
    radial-gradient(ellipse 75% 85% at -10% 120%, color-mix(in srgb, #2aabee 20%, transparent), transparent 55%),
    linear-gradient(165deg, var(--surface) 0%, color-mix(in srgb, #2aabee 9%, var(--surface)) 100%);
}

.os-tg-tile:hover,
.os-tg-tile:focus-visible {
  border-color: color-mix(in srgb, #2aabee 58%, var(--border));
  transform: translateY(-1px);
}

.os-tg-tile:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.os-tg-tile__glow {
  position: absolute;
  inset: auto -18% -55% auto;
  z-index: 0;
  width: 8.5rem;
  height: 8.5rem;
  border-radius: 999px;
  background: radial-gradient(circle, color-mix(in srgb, #2aabee 34%, transparent), transparent 70%);
  pointer-events: none;
}

.os-tg-tile--channel .os-tg-tile__glow {
  inset: auto auto -50% -20%;
}

.os-tg-tile__mark,
.os-tg-tile__copy,
.os-tg-tile__cta {
  position: relative;
  z-index: 1;
}

.os-tg-tile__mark {
  display: grid;
  flex-shrink: 0;
  place-items: center;
  width: 2.45rem;
  height: 2.45rem;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #37bbfe 0%, #168acd 100%);
  border: 1px solid color-mix(in srgb, #fff 22%, #2aabee);
  box-shadow: inset 0 1px 0 color-mix(in srgb, #fff 12%, transparent);
}

.os-tg-tile__copy {
  min-width: 0;
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.08rem;
}

.os-tg-tile__kicker {
  font-size: 0.64rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--muted);
}

.os-tg-tile__title {
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--foreground);
}

.os-tg-tile__handle {
  font-size: 0.68rem;
  font-weight: 600;
  font-family: ui-monospace, "Cascadia Mono", "Segoe UI Mono", monospace;
  color: #8edcff;
  unicode-bidi: isolate;
}

.os-tg-tile__cta {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 0.12rem;
  margin-inline-start: auto;
  padding: 0.34rem 0.62rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #2aabee 0%, #168acd 100%);
  box-shadow: 0 4px 14px color-mix(in srgb, #2aabee 40%, transparent);
}

:dir(ltr) .os-tg-tile__chev {
  transform: rotate(180deg);
}

@media (min-width: 768px) {
  .os-tg-tile {
    min-height: 5rem;
    padding: 0.85rem 1rem;
    gap: 0.85rem;
  }

  .os-tg-tile__mark {
    width: 2.7rem;
    height: 2.7rem;
  }

  .os-tg-tile__title {
    font-size: 0.95rem;
  }

  .os-tg-tile__cta {
    padding: 0.4rem 0.8rem;
    font-size: 0.75rem;
  }
}

