.pd-ads {
  display: flex;
  gap: 12px;
  overflow: hidden;
  margin: 0 0 34px;
  padding: 0;
  max-width: 1180px;
  margin-inline: auto;
}

.pd-ad {
  position: relative;
  flex: 0 0 calc((100% - 24px) / 3);
  min-width: 0;
  height: 168px;
  overflow: hidden;
  border: 1px solid rgba(0, 255, 255, .14);
  border-radius: 12px;
  background:
    radial-gradient(circle at 0% 100%, rgba(46, 114, 255, .08), transparent 36%),
    radial-gradient(circle at 100% 0%, rgba(0, 255, 255, .08), transparent 34%),
    linear-gradient(180deg, rgba(12, 12, 20, .98), rgba(8, 8, 14, .98));
  text-decoration: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .02),
    0 12px 30px rgba(0, 0, 0, .18),
    0 0 14px rgba(0, 255, 255, .08);
  transition:
    opacity .32s ease,
    transform .32s ease,
    border-color .18s ease,
    background .18s ease,
    box-shadow .18s ease;
}

.pd-ad::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 0%, transparent 46%, rgba(5, 8, 18, .14) 78%, rgba(5, 8, 18, .26) 100%);
}

.pd-ad:not(.pd-ad--loaded) {
  border-color: rgba(0, 255, 255, .1);
  background:
    radial-gradient(circle at 0% 100%, rgba(46, 114, 255, .06), transparent 36%),
    radial-gradient(circle at 100% 0%, rgba(0, 255, 255, .06), transparent 34%),
    linear-gradient(180deg, rgba(12, 12, 20, .98), rgba(8, 8, 14, .98));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .02),
    0 12px 30px rgba(0, 0, 0, .18),
    0 0 12px rgba(0, 255, 255, .06);
}

.pd-ad-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 1;
}

.pd-ad-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 22px;
  border-radius: 16px;
  background: #0f1018;
  color: rgba(255, 255, 255, .72);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: .04em;
  text-align: center;
  text-transform: uppercase;
}

.pd-ads-track {
  display: flex;
  gap: inherit;
  width: 100%;
  will-change: transform;
}

.pd-ads.pd-ads-rotating .pd-ad {
  will-change: transform;
}

@media (max-width: 760px) {
  .pd-ads {
    display: block;
    gap: 10px;
    overflow-x: hidden;
    overflow-y: hidden;
    scroll-behavior: auto;
    scroll-snap-type: none;
    -webkit-overflow-scrolling: auto;
    margin: 0 0 22px;
    width: calc(100% + 24px);
    margin-left: -12px;
    margin-right: -12px;
    padding: 0;
    max-width: none;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
    touch-action: pan-y;
    cursor: grab;
  }

  .pd-ads:active {
    cursor: grabbing;
  }

  .pd-ads::-webkit-scrollbar {
    display: none;
  }

  .pd-ad {
    flex: 0 0 calc(100% - 30px);
    width: calc(100% - 30px);
    height: 172px;
    border-radius: 12px;
  }

  .pd-ad-empty {
    border-radius: 12px;
    font-size: 14px;
  }
}
