/* Camera crops of real application captures; the interface is not redrawn. */
.pro-ad-guide {
  margin-top: 28px;
  border-top: 3px solid var(--pro-violet);
}
.pro-ad-player {
  margin-top: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--pro-well);
}
#ad-manager-title {
  scroll-margin-top: 95px;
}
.pro-ad-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 22px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.pro-ad-topline strong span {
  color: var(--muted);
  font-weight: 500;
}
.pro-ad-capture-label {
  font-size: 11px;
  color: var(--muted);
}
.pro-ad-body {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.3fr);
  gap: 28px;
  align-items: center;
  padding: 26px;
}
.pro-ad-explanation {
  min-width: 0;
  padding: 10px;
}
.pro-ad-location {
  display: inline-block;
  color: var(--pro-violet);
  border: 1px solid rgba(198, 175, 245, 0.35);
  background: rgba(198, 175, 245, 0.08);
  border-radius: 6px;
  padding: 7px 11px;
  font-weight: 800;
  font-size: 12px;
  margin-bottom: 22px;
}
.pro-ad-explanation h3 {
  font-size: clamp(25px, 2.8vw, 34px);
  line-height: 1.2;
  margin: 0 0 16px;
  letter-spacing: -0.025em;
}
.pro-ad-explanation > p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0;
  min-height: 100px;
}
.pro-ad-detail {
  border-left: 3px solid var(--pro-mint);
  margin-top: 24px;
  padding: 2px 0 2px 16px;
}
.pro-ad-detail > span {
  display: block;
  font-size: 11px;
  color: var(--pro-mint);
  font-weight: 800;
  margin-bottom: 8px;
}
.pro-ad-detail > strong {
  display: block;
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.65;
  overflow-wrap: anywhere;
}
.pro-ad-stage {
  min-width: 0;
  height: 642px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 12px;
  background: rgba(8, 29, 44, 0.44);
  border: 1px solid rgba(198, 175, 245, 0.22);
}
.pro-ad-camera {
  position: relative;
  overflow: hidden;
  width: 400px;
  max-width: 100%;
  aspect-ratio: 400/640;
  flex-shrink: 0;
  isolation: isolate;
}
.pro-ad-camera > img {
  position: absolute;
  max-width: none;
  width: 320%;
  height: auto;
  left: -17.5%;
  top: -9.375%;
  pointer-events: none;
  user-select: none;
}
.pro-ad-focus {
  position: absolute;
  border: 2px solid var(--pro-violet);
  border-radius: 6px;
  box-shadow: 0 0 0 4px rgba(198, 175, 245, 0.16);
  pointer-events: none;
}
.pro-ad-cursor {
  position: absolute;
  width: 28px;
  height: 34px;
  z-index: 2;
  filter: drop-shadow(0 2px 4px #051d32);
  pointer-events: none;
  transform: translate(0, 0);
}
.pro-ad-cursor svg {
  width: 100%;
  height: 100%;
}
.pro-ad-cursor::before {
  content: "";
  position: absolute;
  inset: -11px 0 4px -11px;
  border: 2px solid var(--pro-mint);
  border-radius: 50%;
  opacity: 0;
}
.pro-ad-cursor.is-clicking::before {
  opacity: 1;
}
.pro-ad-cursor.is-clicking {
  transform: scale(0.87);
  transform-origin: top left;
}
.pro-ad-controls .pro-player-play {
  min-width: 110px;
  font-size: 12px;
}
.pro-ad-controls input {
  min-width: 0;
  width: 100%;
  accent-color: var(--pro-violet);
  cursor: pointer;
}
.pro-ad-controls button:focus-visible,
.pro-ad-controls input:focus-visible {
  outline: 3px solid var(--pro-violet);
  outline-offset: 4px;
}
@media (max-width: 900px) {
  .pro-ad-body {
    gap: 12px;
    padding: 18px;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  }
  .pro-ad-explanation {
    padding: 0;
  }
  .pro-ad-topline {
    flex-wrap: wrap;
    padding: 14px 18px;
  }
}
@media (max-width: 700px) {
  .pro-ad-body {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 16px 10px;
  }
  .pro-ad-explanation {
    align-self: stretch;
    padding: 0 6px;
  }
  .pro-ad-location {
    margin-bottom: 12px;
  }
  .pro-ad-explanation h3 {
    font-size: 25px;
    margin-bottom: 9px;
  }
  .pro-ad-explanation > p {
    font-size: 13px;
    min-height: 66px;
    line-height: 1.55;
  }
  .pro-ad-detail {
    margin-top: 12px;
    padding-left: 12px;
    min-height: 84px;
  }
  .pro-ad-detail > strong {
    font-size: 12px;
  }
  .pro-ad-stage {
    width: 100%;
    height: 380px;
  }
  .pro-ad-camera {
    max-height: 100%;
  }
  .pro-ad-controls #ad-demo-progress {
    grid-column: 1/-1;
    grid-row: 2;
  }
  .pro-ad-cursor {
    width: 23px;
    height: 28px;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .pro-ad-cursor,
  .pro-ad-focus {
    transition:
      left 0.65s ease,
      top 0.65s ease,
      width 0.65s ease,
      height 0.65s ease;
  }
  .pro-ad-cursor.is-clicking {
    transition: transform 0.12s;
  }
}
