/* AdSense block — Figma 12105:1044; hidden until ad fills (see adsense-ad.js) */
.adsense-section {
  position: relative;
  display: none;
}

.adsense-section.is-visible {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: stretch;
      -ms-flex-align: stretch;
          align-items: stretch;
  gap: 12px;
  width: 100%;
  margin: 0;
  padding: 20px 0;
  background: #EAEAEA;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

/* Official responsive-class pattern (fixed 200px height in our UI) */
.lazada_ad_200 {
  width: 100% !important;
  height: 200px !important;
}

.adsense-sponsored-tag {
  position: absolute;
  top: 7px;
  right: 12px;
  z-index: 1;
  padding: 0 4px;
  background: #BDBDBD;
  border-radius: 6px 6px 0 0;
  font-family: Inter-Medium, Inter, sans-serif;
  font-size: 9px;
  font-weight: 500;
  font-style: normal;
  line-height: 13px;
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
  white-space: nowrap;
  pointer-events: none;
}

/* Figma 12105:1047 — tag tail below label */
.adsense-sponsored-tag::after {
  content: '';
  position: absolute;
  left: 0;
  top: 13px;
  width: 64px;
  height: 14px;
  background: #BDBDBD;
}

.adsense-ad-slot {
  position: relative;
  z-index: 2;
  width: auto;
  max-width: none;
  margin: 0 12px;
  height: 200px;
  overflow: hidden;
  background: #FFFFFF;
  border-radius: 8px;
  text-align: center;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  -ms-flex-negative: 0;
      flex-shrink: 0;
}

.adsense-ad-slot ins.adsbygoogle {
  display: block !important;
  width: 100% !important;
  height: 200px !important;
  min-height: 200px;
  max-height: 200px;
  margin: 0 auto;
  background: #FFFFFF;
  border-radius: 8px;
}

/* 弹窗内广告 — Figma 12136:733 */
.openApp-modal .adsense-section--modal {
  position: relative;
  z-index: 3;
  margin: 0;
  padding: 20px 0;
}

.openApp-modal .adsense-section--modal .adsense-ad-slot {
  margin: 0 12px;
}
