.fdc-shared-ad-slot {
  width: 100%;
  margin: 0;
}

.fdc-shared-ad-slot[hidden] {
  display: none !important;
}

.fdc-shared-ad-slot__frame {
  width: 100%;
  border: 1px solid var(--fdc-ad-slot-border, rgba(148, 163, 184, 0.28));
  border-radius: 16px;
  background: var(--fdc-ad-slot-surface, rgba(255, 255, 255, 0.88));
  overflow: hidden;
}

.fdc-shared-ad-slot__label {
  min-height: 30px;
  padding: 8px 12px;
  border-bottom: 1px solid var(--fdc-ad-slot-border-soft, rgba(148, 163, 184, 0.18));
  color: var(--fdc-ad-slot-label, #64748b);
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
}

.fdc-shared-ad-slot__body {
  width: 100%;
  min-height: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}

.fdc-shared-ad-slot__placeholder {
  width: 100%;
  min-height: 120px;
  border-radius: 12px;
  background: rgba(148, 163, 184, 0.12);
  color: #94a3b8;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.fdc-shared-ad-slot__body ins.adsbygoogle {
  display: block;
  width: 100%;
}

.fdc-shared-ad-slot--feed-inline {
  min-height: 154px;
  margin-top: 14px;
}

.fdc-shared-ad-slot--rail {
  min-height: 292px;
  margin-top: 16px;
}

.fdc-shared-ad-slot--detail-inline,
.fdc-shared-ad-slot--detail-bottom {
  min-height: 168px;
}

.fdc-shared-ad-slot--detail-inline {
  margin-top: 20px;
}

.fdc-shared-ad-slot--detail-bottom {
  margin-top: 0;
}

:root[data-theme='dark'] .fdc-shared-ad-slot__frame {
  background: rgba(15, 23, 42, 0.82);
  border-color: rgba(71, 85, 105, 0.8);
}

:root[data-theme='dark'] .fdc-shared-ad-slot__label {
  border-bottom-color: rgba(71, 85, 105, 0.58);
  color: #94a3b8;
}

:root[data-theme='dark'] .fdc-shared-ad-slot__placeholder {
  background: rgba(71, 85, 105, 0.2);
  color: #94a3b8;
}

@media (max-width: 1024px) {
  .fdc-shared-ad-slot--rail {
    display: none;
  }
}
