.quibas-teaser {
  position: fixed;
  inset: 0;
  width: min(1000px, calc(100vw - 32px));
  max-width: none;
  max-height: min(94dvh, 820px);
  margin: auto;
  padding: 0;
  overflow: auto;
  border: 1px solid rgba(137, 200, 234, .26);
  border-radius: 24px;
  background: #081a2c;
  box-shadow: 0 30px 110px rgba(0, 8, 20, .5);
  color: #f5f9ff;
  font-family: inherit;
}

.quibas-teaser::backdrop {
  background: rgba(3, 12, 26, .78);
  backdrop-filter: blur(8px);
}

.quibas-teaser__shell {
  overflow: hidden;
  background: radial-gradient(circle at 90% 0%, rgba(36, 161, 226, .18), transparent 48%), #081a2c;
}

.quibas-teaser__top,
.quibas-teaser__bottom {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 28px;
}

.quibas-teaser__eyebrow {
  margin: 0 0 9px;
  color: #72d9f3;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
}

.quibas-teaser h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(25px, 3vw, 38px);
  font-weight: 650;
  line-height: 1.1;
}

.quibas-teaser__top p:last-child {
  margin: 10px 0 0;
  color: #c3d3df;
  font-size: 15px;
  line-height: 1.5;
}

.quibas-teaser button {
  font: inherit;
  cursor: pointer;
}

.quibas-teaser button:focus-visible {
  outline: 3px solid #6cdbf3;
  outline-offset: 3px;
}

.quibas-teaser__close {
  flex: 0 0 40px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  font-size: 28px !important;
  line-height: 1;
}

.quibas-teaser__screen {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #020c1b;
}

.quibas-teaser__video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.quibas-teaser__play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transform: translate(-50%, -50%);
  padding: 13px 20px;
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 999px;
  background: rgba(8, 26, 44, .88);
  color: #fff;
  white-space: nowrap;
}

.quibas-teaser__play[hidden] { display: none; }

.quibas-teaser__bottom {
  align-items: center;
  padding-block: 17px;
}

.quibas-teaser__bottom p {
  margin: 0;
  color: #aebfce;
  font-size: 13px;
  line-height: 1.4;
}

.quibas-teaser__actions { display: flex; flex-wrap: wrap; gap: 10px; }

.quibas-teaser__sound,
.quibas-teaser__never {
  padding: 10px 15px;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  color: #fff;
  font-size: 13px !important;
  font-weight: 600 !important;
  white-space: nowrap;
}

.quibas-teaser__sound:hover,
.quibas-teaser__never:hover,
.quibas-teaser__close:hover { background: rgba(255, 255, 255, .17); }

@media (max-width: 700px) {
  .quibas-teaser {
    width: calc(100vw - 20px);
    max-height: calc(100dvh - 20px);
    border-radius: 18px;
  }

  .quibas-teaser__top,
  .quibas-teaser__bottom { padding: 18px; }

  .quibas-teaser__top p:last-child { font-size: 13px; }
  .quibas-teaser__bottom { align-items: stretch; flex-direction: column; gap: 12px; }
  .quibas-teaser__actions { justify-content: space-between; }
}
