.banner-creative {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  text-decoration: none;
}

.banner-creative img,
.banner-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.banner-creative:hover,
.banner-creative:focus-visible {
  border-color: var(--acid);
  outline: none;
}

.banner-rotation {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
}

.banner-frame {
  position: absolute;
  inset: 0;
  display: block;
  opacity: 0;
  pointer-events: none;
  transition: opacity .45s ease;
}

.banner-frame.is-active {
  opacity: 1;
  pointer-events: auto;
}

.banner-frame:focus-visible {
  outline: 2px solid var(--acid);
  outline-offset: -2px;
}

.bottom-anchor {
  position: fixed;
  z-index: 19;
  right: 0;
  bottom: 0;
  left: 0;
  display: none;
  flex-direction: column;
  align-items: center;
  padding: 7px 12px 8px;
  border-top: 1px solid var(--line);
  background: rgba(7, 8, 11, .97);
  backdrop-filter: blur(12px);
}

.bottom-anchor.is-visible {
  display: flex;
}

#close-anchor {
  position: absolute;
  top: 2px;
  right: max(12px, calc((100vw - 728px) / 2 + 2px));
  z-index: 2;
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  margin: 0;
  padding: 0;
  color: #d7dce5;
  border: 1px solid #3b424e;
  border-radius: 50%;
  background: #10131ad9;
  font: 20px/1 Arial, sans-serif;
  cursor: pointer;
}

#close-anchor:hover,
#close-anchor:focus-visible {
  color: var(--acid);
  border-color: var(--acid);
  outline: none;
}

@media (max-width: 760px) {
  .bottom-anchor {
    display: none !important;
  }
}
