html.entry-ad-open,
html.entry-ad-open body {
  overflow: hidden;
}

html.entry-ad-open .phone {
  filter: blur(16px);
  pointer-events: none;
}

.entry-ad {
  display: none;
}

html.entry-ad-open .entry-ad {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: block;
}

.entry-ad-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 12, 16, 0.55);
}

.entry-ad-frame {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translate(-50%, -50%);
}

#seattle-ad-10002 {
  width: 300px;
  height: 250px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px dashed rgba(255, 228, 180, 0.7);
  border-radius: 8px;
  background: rgba(19, 25, 33, 0.88);
  color: rgba(255, 236, 210, 0.9);
  font-size: 12px;
  letter-spacing: 0.4px;
}

#seattle-ad-10002:empty::before {
  content: "Advertisement · 300×250";
}

#seattle-ad-10002:not(:empty) {
  border: 0;
  border-radius: 0;
  background: #fff;
}

.entry-ad-close-slot {
  position: relative;
  margin-top: 14px;
  width: 36px;
  height: 36px;
  pointer-events: auto;
}

.entry-ad-close,
.entry-ad-countdown {
  width: 36px;
  height: 36px;
  margin: 0;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  background: rgba(19, 25, 33, 0.72);
  color: #fff8ea;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
}

.entry-ad-countdown {
  position: absolute;
  inset: 0;
  display: none;
  pointer-events: none;
}

html.entry-ad-open:not(.entry-ad-closable) .entry-ad-countdown {
  display: inline-flex;
}

html.entry-ad-open:not(.entry-ad-closable) .entry-ad-close {
  display: none;
}

.entry-ad-close {
  cursor: pointer;
}
