.vr-shot-trigger {
  appearance: none;
  width: 100%;
  color: inherit;
  font: inherit;
  text-align: inherit;
  cursor: zoom-in;
}

.vr-shot-trigger--surface {
  position: relative;
  display: block;
  min-width: 0;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  background: transparent;
  border: 0;
  border-radius: 0;
  line-height: 0;
  letter-spacing: normal;
}

.vr-shot-trigger:focus-visible,
.vrai-workspace-label:focus-visible,
.vrid-visual-label:focus-visible {
  outline: 2px solid #f5f5f3;
  outline-offset: -3px;
}

.vrai-workspace-label,
.vrid-visual-label {
  text-decoration: none;
}

html.vr-shot-modal-open,
html.vr-shot-modal-open body {
  overflow: hidden;
}

.vr-shot-dialog {
  width: min(96vw, 1800px);
  height: min(94vh, 1120px);
  max-width: none;
  max-height: none;
  margin: auto;
  padding: 0;
  overflow: hidden;
  color: #f5f5f3;
  background: #050606;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 5px;
  box-shadow: 0 3rem 10rem rgba(0, 0, 0, 0.9);
}

.vr-shot-dialog[open] {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
}

.vr-shot-dialog::backdrop {
  background: rgba(0, 0, 0, 0.91);
  backdrop-filter: blur(7px);
}

.vr-shot-dialog-head {
  display: grid;
  grid-template-columns: minmax(13rem, 1fr) minmax(15rem, auto) minmax(13rem, 1fr);
  align-items: center;
  gap: 1.25rem;
  min-height: 4.4rem;
  padding: 0.7rem 0.9rem 0.7rem 1.1rem;
  background: #090a0a;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.vr-shot-dialog-heading {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  min-width: 0;
  font-family: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
  text-transform: uppercase;
}

.vr-shot-dialog-heading span {
  flex: 0 0 auto;
  color: #858988;
  font-size: 0.54rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.vr-shot-dialog-heading strong {
  min-width: 0;
  overflow: hidden;
  color: #f5f5f3;
  font-size: clamp(0.68rem, 0.78vw, 0.86rem);
  font-weight: 800;
  letter-spacing: 0.11em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vr-shot-dialog-head p {
  margin: 0;
  color: #969a99;
  font-family: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 0.55rem;
  letter-spacing: 0.08em;
  line-height: 1.45;
  text-align: center;
  text-transform: uppercase;
}

.vr-shot-dialog-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.55rem;
}

.vr-shot-dialog-actions a,
.vr-shot-dialog-actions button,
.vr-shot-dialog-nav button {
  min-height: 2.35rem;
  padding: 0 0.85rem;
  color: #d9dcda;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.19);
  border-radius: 2px;
  font-family: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 0.55rem;
  font-weight: 750;
  letter-spacing: 0.11em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}

.vr-shot-dialog-actions a {
  display: inline-flex;
  align-items: center;
}

.vr-shot-dialog-actions a:hover,
.vr-shot-dialog-actions button:hover,
.vr-shot-dialog-nav button:hover,
.vr-shot-dialog-actions a:focus-visible,
.vr-shot-dialog-actions button:focus-visible,
.vr-shot-dialog-nav button:focus-visible,
.vr-shot-dialog-nav button[aria-pressed="true"] {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.72);
  outline: 0;
}

.vr-shot-dialog-stage {
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 0;
  padding: clamp(0.4rem, 0.8vw, 0.85rem);
  overflow: auto;
  background-color: #020303;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 4rem 4rem;
  cursor: zoom-in;
  overscroll-behavior: contain;
}

.vr-shot-dialog-stage img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  margin: auto;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 1.5rem 5rem rgba(0, 0, 0, 0.62);
  cursor: zoom-in;
}

.vr-shot-dialog-stage.is-actual {
  display: block;
  place-items: initial;
  cursor: zoom-out;
}

.vr-shot-dialog-stage.is-actual img {
  max-width: none;
  max-height: none;
  cursor: zoom-out;
}

.vr-shot-dialog-stage.is-phone-crop img {
  aspect-ratio: 718 / 1504;
  object-fit: cover;
  object-position: 50% 100%;
}

.vr-shot-dialog-stage.is-phone-crop:not(.is-actual) img {
  width: auto;
  height: 100%;
}

.vr-shot-dialog-stage.is-phone-crop.is-actual img {
  width: var(--vr-shot-native-width, 718px);
  height: auto;
}

.vr-shot-dialog-nav {
  display: grid;
  grid-template-columns: minmax(7rem, 1fr) auto auto minmax(7rem, 1fr);
  align-items: center;
  gap: 0.55rem;
  min-height: 3.6rem;
  padding: 0.55rem 0.9rem;
  background: #090a0a;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.vr-shot-dialog-nav button:first-child {
  justify-self: start;
}

.vr-shot-dialog-nav button:last-child {
  justify-self: end;
}

.vr-shot-dialog-nav button:disabled {
  opacity: 0.3;
  cursor: default;
}

.vr-shot-dialog-nav span {
  min-width: 4.7rem;
  color: #8e9391;
  font-family: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-align: center;
}

@media (max-width: 768px) {
  .vrdv-shot-link.vr-shot-trigger--surface {
    width: max-content;
    min-width: 100%;
    overflow: visible;
  }

}

@media (max-width: 760px) {
  .vr-shot-dialog {
    width: calc(100vw - 0.7rem);
    height: calc(100dvh - 0.7rem);
    border-radius: 3px;
  }

  .vr-shot-dialog-head {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.55rem;
    min-height: 4rem;
    padding: 0.55rem 0.65rem;
  }

  .vr-shot-dialog-heading {
    display: grid;
    gap: 0.22rem;
  }

  .vr-shot-dialog-head p {
    display: none;
  }

  .vr-shot-dialog-actions {
    gap: 0.35rem;
  }

  .vr-shot-dialog-actions a,
  .vr-shot-dialog-actions button,
  .vr-shot-dialog-nav button {
    min-height: 2.25rem;
    padding: 0 0.58rem;
    font-size: 0.5rem;
  }

  .vr-shot-dialog-actions a {
    max-width: 6.5rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .vr-shot-dialog-nav {
    grid-template-columns: 1fr auto auto 1fr;
    gap: 0.3rem;
    padding: 0.45rem 0.55rem;
  }

  .vr-shot-dialog-nav span {
    min-width: 3.7rem;
    font-size: 0.5rem;
  }
}

@media (max-width: 430px) {
  .vr-shot-dialog-nav button {
    padding: 0 0.42rem;
  }

  .vr-shot-dialog-nav button:first-child,
  .vr-shot-dialog-nav button:last-child {
    width: 2.45rem;
    overflow: hidden;
    white-space: nowrap;
  }
}
