.v1284hc-detail-page .rp-product-stage {
  position: relative;
}

.v1284hc-playback-button {
  top: 24px;
  right: 24px;
}

.v1284hc-nine-channel .sync-video-modal__dialog:not(.is-single-view) {
  width: min(1500px, 96vw);
  height: 94vh;
  height: 94dvh;
  max-height: 94vh;
  max-height: 94dvh;
  overflow: hidden;
}

.v1284hc-nine-channel .v1284hc-video-grid:not(.is-single-view) {
  flex: 1 1 0;
  min-height: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(3, minmax(0, 1fr));
  overflow: hidden;
}

.v1284hc-nine-channel .v1284hc-video-grid:not(.is-single-view) .sync-video-panel,
.v1284hc-nine-channel .v1284hc-video-grid:not(.is-single-view) .sync-video-frame {
  min-height: 0;
  height: 100%;
}

.v1284hc-nine-channel .v1284hc-video-grid:not(.is-single-view) .sync-video-frame {
  aspect-ratio: auto;
}

.v1284hc-nine-channel .sync-video-modal__header {
  padding: 12px 18px 8px;
}

.v1284hc-nine-channel .sync-video-modal__header p {
  margin-top: 3px;
  font-size: 0.78rem;
}

.v1284hc-nine-channel .sync-view-selector {
  margin: 0 18px 8px;
}

.v1284hc-nine-channel .sync-view-button:disabled {
  cursor: not-allowed;
  opacity: 0.4;
}

.v1284hc-nine-channel .sync-video-frame--empty {
  min-height: 0;
}

.v1284hc-nine-channel .sync-video-placeholder {
  margin: 0;
  color: #a9a9ad;
  font-size: clamp(0.68rem, 1vw, 0.9rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.v1284hc-nine-channel .sync-video-modal__dialog:fullscreen:not(.is-single-view) .v1284hc-video-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(3, minmax(0, 1fr));
}

@media (max-width: 720px) {
  .v1284hc-playback-button {
    top: 14px;
    right: 14px;
  }

  .v1284hc-nine-channel .sync-video-modal__dialog:not(.is-single-view) {
    width: 98vw;
    height: 94dvh;
  }

  .v1284hc-nine-channel .v1284hc-video-grid:not(.is-single-view) {
    gap: 5px;
    padding-inline: 8px;
  }
}
