/* YOW modal overlay (shared) */
/* HTML5, UTF-8, 2-space indentation */

.yow-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.yow-overlay.is-open {
  display: flex;
}

.yow-modal {
  background: #111;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
  width: min(960px, 96vw);
  height: min(640px, 86vh);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.12);
}

.yow-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: #1a1a1a;
  color: #fff;
  font-size: 14px;
}

.yow-title {
  margin: 0;
  font-weight: 600;
}

.yow-close {
  appearance: none;
  border: none;
  background: transparent;
  color: #fff;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.yow-modal-body {
  position: relative;
  flex: 1 1 auto;
  background: #000;
}

.yow-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 640px) {
  .yow-modal {
    width: 96vw;
    height: 72vh;
  }
}

