.video-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(10, 20, 40, .78);
  backdrop-filter: blur(8px);
}

.video-modal.hidden {
  display: none !important;
}

.video-player {
  width: min(940px, 100%);
  overflow: hidden;
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 30px 100px rgba(0, 0, 0, .35);
}

.video-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  color: #fff;
  background: #172033;
}

.video-top strong {
  font-size: 17px;
}

.video-close {
  min-height: 40px;
  color: #fff;
  background: rgba(255,255,255,.16);
}

.video-stage {
  position: relative;
  display: grid;
  min-height: 460px;
  place-items: center;
  padding: 32px;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, #bfdbfe, transparent 45%),
    linear-gradient(145deg, #f8fbff, #eaf2ff);
}

.video-scene {
  width: min(720px, 100%);
  text-align: center;
  animation: videoSceneIn .35s ease;
}

@keyframes videoSceneIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.video-icon {
  display: grid;
  width: 96px;
  height: 96px;
  margin: 0 auto 18px;
  place-items: center;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 14px 35px rgba(37,99,235,.16);
  font-size: 50px;
}

.video-scene h2 {
  margin: 0 0 12px;
  font-size: clamp(28px, 5vw, 48px);
}

.video-scene p {
  margin: 0 auto;
  color: #52637d;
  font-size: clamp(17px, 2.5vw, 23px);
  line-height: 1.5;
}

.video-example {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 70px;
  margin-top: 24px;
  padding: 12px 28px;
  border: 2px solid #bfd2f2;
  border-radius: 20px;
  color: #172033;
  background: rgba(255,255,255,.9);
  font-size: clamp(24px, 5vw, 42px);
  font-weight: 850;
}

.video-subtitle {
  min-height: 64px;
  padding: 14px 24px;
  color: #fff;
  background: #172033;
  text-align: center;
  font-size: 17px;
  line-height: 1.45;
}

.video-progress {
  height: 8px;
  background: #dbe3ef;
}

.video-progress > div {
  width: 0;
  height: 100%;
  background: #2563eb;
}

.video-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 14px 18px 18px;
  background: #fff;
}

.video-controls button {
  flex: 1 1 150px;
}

.video-ready {
  color: #15803d !important;
}

@media (max-width: 700px) {
  .video-modal {
    padding: 6px;
  }

  .video-stage {
    min-height: 390px;
    padding: 22px 16px;
  }

  .video-subtitle {
    min-height: 78px;
    padding: 12px 14px;
    font-size: 15px;
  }

  .video-controls {
    padding: 10px;
  }
}

/* BEGIN GT_FOUR_SKILLS_VIDEO_DARK_THEME_V1 */
.video-player {
  color: #f7f9ff;
  border: 1px solid rgba(148, 163, 184, .28);
  background: #111f3b;
}

.video-scene {
  color: #f7f9ff;
  background:
    radial-gradient(
      circle at top,
      rgba(40, 119, 242, .24),
      transparent 75%
    ),
    #0b1730;
}

.video-scene h2 {
  color: #f8fafc;
}

.video-scene p,
.video-subtitle,
.video-status {
  color: #cbd5e1;
}

.video-example {
  color: #dbeafe;
  border-color: rgba(115, 166, 255, .35);
  background: rgba(23, 45, 85, .9);
}

.video-subtitle {
  border-color: rgba(148, 163, 184, .25);
  background: #172d55;
}

.video-progress {
  background: #253653;
}

.video-controls {
  border-color: rgba(148, 163, 184, .22);
  background: #111f3b;
}

.video-controls button:not(.primary),
#closeVideoExplanation {
  color: #f8fafc;
  background: #243857;
}

.video-controls button:not(.primary):hover,
#closeVideoExplanation:hover {
  background: #30496f;
}
/* END GT_FOUR_SKILLS_VIDEO_DARK_THEME_V1 */

