.ad-inline {
  display: grid;
  justify-items: center;
}

.ad-inline:has(iframe) {
  margin-block: 12px;
}

.ad-dock {
  position: fixed;
  left: 0;
  bottom: 0;
  z-index: 20;
  width: 320px;
  min-height: 136px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  pointer-events: none;
}

.ad-dock[data-ad-dock="Content8"] {
  width: 300px;
  min-height: 286px;
  /* Leave room for the 100px banner, its 36px close area and an 8px gap. */
  bottom: 144px;
}

.ad-dock[hidden] {
  display: none;
}

.ad-dock #Content8 {
  min-height: 250px;
}

.ad-dock #Content9 {
  min-height: 50px;
}

.ad-close {
  display: flex;
  align-items: center;
  gap: 5px;
  min-height: 32px;
  margin-bottom: 4px;
  padding: 4px 9px;
  border: 0;
  background: #c71919;
  color: #fff;
  font-size: .75rem;
  font-weight: 800;
  pointer-events: auto;
}

.ad-close:hover {
  background: #a31515;
}

.ad-dock .ad-creative {
  width: 100%;
  margin-top: auto;
  line-height: 0;
}

.ad-dock .ad-creative iframe {
  pointer-events: auto;
}

