.ot-theme .ot-ad {
  width: 100%;
  max-width: none;
  margin-left: auto;
  margin-right: auto;
  padding-left: 0;
  padding-right: 0;
  margin-top: var(--ot-sp-6);
  margin-bottom: var(--ot-sp-6);
}

.ot-theme .ot-ad--top {
  margin-top: var(--ot-sp-4);
  margin-bottom: var(--ot-sp-4);
}

.ot-theme .ot-ad--strip {
  margin-top: var(--ot-sp-8);
  margin-bottom: var(--ot-sp-4);
}

.ot-theme .ot-ad--list .bst-list-banners,
.ot-theme .ot-ad--list ul {
  width: 100%;
  margin: 0;
}

.ot-theme .ot-ad--scroll {
  padding-top: var(--ot-sp-2);
  padding-bottom: var(--ot-sp-2);
  overflow: visible;
}

.ot-theme .ot-scroll-wrapper {
  width: 100%;
  overflow: visible;
  position: relative;
  mask-image: none;
  -webkit-mask-image: none;
}

.ot-theme .ot-scroll-track {
  display: flex;
  width: 100%;
  flex-wrap: wrap;
  animation: none !important;
  transform: none !important;
  will-change: auto;
}

.ot-theme .ot-scroll-group {
  display: flex;
  width: 100%;
  flex: 1 1 100%;
  flex-wrap: wrap;
  gap: var(--ot-sp-4);
  padding: var(--ot-sp-3) 0;
}

.ot-theme .ot-scroll-group[aria-hidden="true"] {
  display: none;
}

.ot-theme .ot-scroll-group > a {
  flex: 0 0 auto;
  width: 96px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--ot-sp-2);
  text-decoration: none;
  color: var(--ot-text-mute, #a1a1aa);
}

.ot-theme .ot-scroll-group > a > img {
  width: 64px;
  height: 64px;
  display: block;
  object-fit: fill;
  border-radius: var(--ot-r-sm);
  background: var(--ot-surface-2);
}

.ot-theme .ot-scroll-label {
  font-size: 12px;
  line-height: 1.2;
  max-width: 96px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 767px) {
  .ot-theme .ot-scroll-group {
    gap: var(--ot-sp-2);
  }

  .ot-theme .ot-scroll-group > a {
    width: calc((100% - (var(--ot-sp-2) * 3)) / 4);
    gap: var(--ot-sp-1);
  }

  .ot-theme .ot-scroll-group > a > img {
    width: min(72px, 100%);
    height: min(72px, calc((100vw - 56px) / 4));
  }

  .ot-theme .ot-scroll-label {
    max-width: 100%;
    font-size: 11px;
  }
}

.ot-theme .ot-card--ad {
  position: relative;
  display: block;
  background: var(--ot-surface-1);
  border: 1px solid var(--ot-border);
  border-radius: 0;
  overflow: hidden;
}

.ot-theme .ot-card--ad .ot-card__cover {
  border-radius: 0;
  aspect-ratio: var(--ad-slot-list-ar-pc, 5 / 1);
}

@media (max-width: 767px) {
  .ot-theme .ot-card--ad .ot-card__cover {
    aspect-ratio: var(--ad-slot-list-ar-mobile, 50 / 9);
  }
}

.ot-theme .ot-card--ad .ot-card__cover img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: fill;
  border-radius: 0;
}

.ot-theme .ot-card--ad .ot-card__badge--ad {
  position: absolute;
  top: var(--ot-sp-2);
  right: var(--ot-sp-2);
  background: var(--ot-accent);
  color: var(--ot-accent-ink, #1a1408);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 2px 6px;
  border-radius: var(--ot-r-xs);
  z-index: 2;
  pointer-events: none;
}

.ot-theme .adspop .popup-picture,
.ot-theme .adspop .application-list {
  overflow: visible;
}

.ot-theme .adspop img[data-src] {
  opacity: 1;
}

.ot-theme .ot-float-banner {
  position: fixed;
  right: var(--ot-sp-5);
  bottom: 78px;
  width: min(180px, calc(100vw - 32px));
  aspect-ratio: 1 / 1;
  z-index: var(--ot-z-toast);
}

.ot-theme .ot-float-banner__link {
  display: block;
  width: 100%;
  height: 100%;
  line-height: 0;
}

.ot-theme .ot-float-banner__link img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: fill;
}

.ot-theme .ot-float-banner__close {
  position: absolute;
  top: -18px;
  right: -14px;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--ot-bg-elev);
  color: var(--ot-text);
  border: 1px solid var(--ot-border-hi);
  box-shadow: var(--ot-shadow-1);
  font-size: 22px;
  line-height: 1;
}

@media (max-width: 767px) {
  .ot-theme .ot-float-banner {
    right: var(--ot-sp-4);
    bottom: 72px;
    width: min(156px, calc(100vw - 32px));
  }

  .ot-theme .ot-float-banner__close {
    top: -20px;
    right: -12px;
    width: 44px;
    height: 44px;
  }
}
