.ad-slot {
  box-sizing: border-box;
  width: 100%;
  max-width: 728px;
  min-width: 0;
  margin: 32px auto;
  color: #666;
  font-size: 12px;
  line-height: 1.5;
}
.ad-slot__label { margin-bottom: 4px; text-align: center; }
.ad-slot__area {
  box-sizing: border-box;
  position: relative;
  max-width: 100%;
  min-width: 0;
  background: #f7f7f7;
  outline: 1px solid #ddd;
}
.ad-slot__message {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px;
  margin: 0;
  text-align: center;
}
.ad-slot--placeholder .ad-slot__message,
.ad-slot--loading .ad-slot__area,
.ad-slot__unit { height: 100px; }
.ad-slot__unit { width: 100%; max-width: 100%; }
.ad-slot--live .ad-slot__unit { display: none !important; }
.ad-slot--loading .ad-slot__unit { display: block !important; }
.ad-slot--loading .ad-slot__message { display: none; }
.ad-slot--failed-visible .ad-slot__message { display: flex; height: 100%; }
.ad-slot--admax { max-width: none; }
.ad-slot--admax .ad-slot__area {
  display: flex;
  justify-content: center;
  overflow: clip;
  background: transparent;
  outline: 0;
}
.ad-slot__admax-tag { flex: 0 0 var(--admax-width); width: var(--admax-width); }
@media (min-width: 768px) {
  .ad-slot--admax[data-ad-device="desktop"] .ad-slot__area {
    width: 728px;
    max-width: none;
    margin-inline: calc((100% - 728px) / 2);
    overflow: visible;
  }
  .ad-slot--placeholder .ad-slot__message,
  .ad-slot--loading .ad-slot__area,
  .ad-slot__unit { height: 90px; }
}
