/* MacCMS default ad blocks inside lanying layout */
.ly-ad-slot .pannel.ads_all,
.ly-ad-slot .ads_all {
  margin: 0;
}

.ly-ad-slot .ads img {
  border-radius: var(--ly-radius);
}

#bottom_ads.hl_bottom_ads,
.ly-ad-slot--sticky-bottom #bottom_ads {
  background: var(--ly-bg-elevated);
  border-top: 1px solid var(--ly-border);
}

#bottom_ads .close_ads_btn,
.hl_ads_double .close_ads_lbtn,
.hl_ads_double .close_ads_rbtn {
  position: absolute;
  top: 4px;
  right: 4px;
  z-index: 2;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  border-radius: 50%;
  text-decoration: none;
}

.ly-ad-slot .ads_icon1_grid {
  max-width: none !important;
  margin: 0 !important;
}

.ly-ad-slot .ads_icon1-marquee {
  margin-block: 8px;
}

.ly-ad-native-card {
  position: relative;
}

.ly-ad-native-card::after {
  content: "广告";
  position: absolute;
  top: 6px;
  left: 6px;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(11, 18, 32, 0.75);
  color: var(--ly-accent);
  border: 1px solid rgba(78, 205, 196, 0.35);
}
