.quotation-demo-launch-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid #7c3aed;
  border-radius: 12px;
  background: linear-gradient(135deg, #7c3aed, #4f46e5);
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(79, 70, 229, .2);
}

.quotation-demo-launch-btn:disabled {
  cursor: wait;
  opacity: .62;
}

body.quotation-demo-running {
  overflow: hidden;
}

.quotation-demo-video-dialog {
  position: fixed;
  inset: 0;
  z-index: 2147483001;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(4, 12, 31, .82);
  backdrop-filter: blur(10px);
}

.quotation-demo-video-dialog[hidden] {
  display: none;
}

.quotation-demo-video-shell {
  width: min(1120px, calc(100vw - 48px));
  max-height: calc(100vh - 48px);
  overflow: auto;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 22px;
  background: linear-gradient(145deg, #071a38, #102f68);
  color: #fff;
  box-shadow: 0 30px 90px rgba(2, 9, 25, .62);
}

.quotation-demo-player-head,
.quotation-demo-video-meta {
  display: flex;
  align-items: center;
}

.quotation-demo-player-head {
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.quotation-demo-player-head > div {
  display: grid;
  gap: 5px;
}

.quotation-demo-player-head strong {
  font-size: 1.08rem;
}

.quotation-demo-player-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.quotation-demo-kicker {
  color: #83e6cf;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .1em;
}

.quotation-demo-close,
.quotation-demo-fullscreen {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 11px;
  background: rgba(255, 255, 255, .09);
  color: #fff;
  cursor: pointer;
}

.quotation-demo-fullscreen {
  width: auto;
  min-width: 118px;
  padding: 0 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font: inherit;
  font-size: .8rem;
  font-weight: 800;
}

.quotation-demo-video-frame {
  overflow: hidden;
  border-radius: 16px;
  background: #020817;
  box-shadow: 0 18px 48px rgba(2, 8, 23, .45);
}

.quotation-demo-video-frame video {
  display: block;
  width: 100%;
  max-height: calc(100vh - 190px);
  aspect-ratio: 16 / 9;
  background: #020817;
}

.quotation-demo-video-frame:fullscreen,
.quotation-demo-video-frame:-webkit-full-screen {
  display: grid;
  width: 100vw;
  height: 100vh;
  place-items: center;
  border-radius: 0;
}

.quotation-demo-video-frame:fullscreen video,
.quotation-demo-video-frame:-webkit-full-screen video {
  width: 100vw;
  height: 100vh;
  max-height: none;
  object-fit: contain;
}

.quotation-demo-video-meta {
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 13px;
  color: #d5e5ff;
  font-size: .78rem;
}

.quotation-demo-video-meta span {
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 999px;
  background: rgba(255, 255, 255, .07);
}

.quotation-demo-mobile-hint {
  display: none;
}

@media (max-width: 680px) {
  .quotation-demo-video-dialog {
    padding: 8px;
  }

  .quotation-demo-video-shell {
    width: calc(100vw - 16px);
    max-height: calc(100vh - 16px);
    padding: 12px;
    border-radius: 16px;
  }

  .quotation-demo-player-head strong {
    font-size: .95rem;
  }

  .quotation-demo-fullscreen {
    min-width: 40px;
    padding: 0 10px;
  }

  .quotation-demo-fullscreen span {
    display: none;
  }

  .quotation-demo-video-frame video {
    max-height: calc(100vh - 175px);
  }

  .quotation-demo-video-meta {
    font-size: .7rem;
  }

  .quotation-demo-mobile-hint {
    display: inline-flex;
  }
}

@media (max-width: 920px) and (orientation: landscape) {
  .quotation-demo-video-dialog {
    padding: 0;
  }

  .quotation-demo-video-shell {
    width: 100vw;
    height: 100svh;
    max-height: none;
    padding: 8px;
    border: 0;
    border-radius: 0;
    display: flex;
    flex-direction: column;
  }

  .quotation-demo-player-head {
    margin-bottom: 6px;
  }

  .quotation-demo-video-frame {
    min-height: 0;
    flex: 1;
  }

  .quotation-demo-video-frame video {
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: contain;
  }

  .quotation-demo-video-meta {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .quotation-demo-video-dialog {
    backdrop-filter: none;
  }
}
