.video-help-component {
  flex: 0 0 auto;
}

.video-help-trigger {
  align-items: center;
  background: rgba(18, 57, 86, 0.18);
  border: 1px solid #3b9ed8;
  border-radius: 8px;
  color: #eef7fc;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  gap: 0.5rem;
  line-height: 1.25;
  padding: 0.5rem 0.72rem;
  text-align: left;
  transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.video-help-icon {
  color: #55b9f3;
  font-size: 0.88em;
}

.video-help-trigger:hover,
.video-help-trigger:focus-visible {
  background: rgba(42, 137, 190, 0.2);
  border-color: #65c5f7;
  color: #fff;
}

.video-help-trigger:focus-visible,
.video-help-close:focus-visible {
  outline: 2px solid #65c5f7;
  outline-offset: 3px;
}

.video-help-overlay {
  align-items: center;
  background: rgba(4, 8, 13, 0.86);
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 20px;
  position: fixed;
  z-index: 5000;
}

.video-help-overlay[hidden] {
  display: none !important;
}

.video-help-dialog {
  background: #101820;
  border: 1px solid rgba(101, 197, 247, 0.45);
  border-radius: 12px;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.58);
  box-sizing: border-box;
  max-height: calc(100vh - 40px);
  max-width: 880px;
  overflow: auto;
  padding: 14px;
  width: 100%;
}

.video-help-header {
  align-items: center;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-bottom: 10px;
}

.video-help-header h2 {
  color: #eef7fc;
  font-size: 1.05rem;
  line-height: 1.35;
  margin: 0;
}

.video-help-close {
  align-items: center;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 7px;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  flex: 0 0 auto;
  font: inherit;
  font-size: 1.55rem;
  height: 36px;
  justify-content: center;
  line-height: 1;
  padding: 0;
  width: 36px;
}

.video-help-close:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #65c5f7;
}

.video-help-guidance {
  color: rgba(238, 247, 252, 0.76);
  font-size: 0.9rem;
  line-height: 1.45;
  margin: 0 0 10px;
}

.video-help-guidance span:first-child {
  color: #55b9f3;
}

.video-help-player {
  aspect-ratio: 4 / 3;
  background: #000;
  display: block;
  height: auto;
  object-fit: contain;
  width: 100%;
}

.video-help-player.is-awaiting-play {
  cursor: pointer;
}

body.video-help-open {
  overflow: hidden;
}

@media (max-width: 620px) {
  .video-help-overlay {
    padding: 12px;
  }

  .video-help-dialog {
    max-height: calc(100vh - 24px);
    padding: 10px;
  }

  .video-help-trigger {
    max-width: 100%;
  }
}
