[data-proof-slot="social-share"][data-proof-enhanced="social-share"] {
  width: 100%;
  max-width: none;
  padding: 0;
  overflow: visible;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.share-proof {
  --share-product-panel-width: 604px;
  --share-product-preview-height: 440px;
  --share-product-platform-size: 46px;
  width: min(100%, 760px);
  margin-inline: auto;
  color: var(--bb-text-primary);
  font-family: var(--bb-font-family);
}

.share-proof__modal {
  position: relative;
  width: min(var(--share-product-panel-width), calc(100vw - 48px));
  max-height: calc(100dvh - 48px);
  margin-inline: auto;
  padding: 24px 26px 22px;
  overflow-y: auto;
  border: 1px solid rgba(var(--bb-cyan-rgb), calc(var(--bb-line-card) + (var(--bb-line-strong) - var(--bb-line-card)) * 0.67));
  border-radius: calc((var(--bb-radius-card) + var(--bb-radius-shell)) / 2);
  background: transparent;
  box-shadow: var(--bb-glow-cyan);
  opacity: 1;
  transform: none;
  scrollbar-color: rgba(var(--bb-vibrant-blue-rgb), 0.82) transparent;
  scrollbar-width: thin;
}

[data-proof-enhanced="social-share"] .share-proof__modal {
  background: transparent;
  opacity: var(--share-modal-progress);
  transform: none;
  clip-path: inset(0 calc((1 - var(--share-modal-progress)) * 100%) 0 0 round var(--bb-radius-panel));
}

.share-proof__modal::-webkit-scrollbar {
  width: 6px;
}

.share-proof__modal::-webkit-scrollbar-track {
  background: transparent;
}

.share-proof__modal::-webkit-scrollbar-thumb {
  border-radius: var(--bb-radius-pill);
  background: rgba(var(--bb-vibrant-blue-rgb), 0.82);
}

.share-proof__close {
  position: absolute;
  inset-block-start: 16px;
  inset-inline-end: 16px;
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(var(--bb-white-rgb), var(--bb-line-neutral));
  border-radius: var(--bb-radius-pill);
  color: rgba(var(--bb-white-rgb), 0.66);
}

.share-proof__close svg {
  width: 12px;
  height: 12px;
}

.share-proof__close path {
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}

.share-proof__title {
  /* Window controls stay on the right in every locale. */
  padding-right: 42px;
  color: var(--bb-text-primary);
  font-size: 1.375rem;
  font-weight: var(--bb-weight-display);
  letter-spacing: var(--bb-tracking-display);
  line-height: 1.18;
}

.share-proof__preview {
  position: relative;
  display: block;
  width: 100%;
  max-height: min(48vh, var(--share-product-preview-height));
  aspect-ratio: 16 / 9;
  margin-block-start: 18px;
  overflow: clip;
  border: 1px solid rgba(var(--bb-white-rgb), var(--bb-line-quiet));
  border-radius: var(--bb-radius-inner);
  background: transparent;
  isolation: isolate;
}

[data-world-attached] [data-share-static-fallback] {
  display: none;
}

/* One photographic exposure, confined to the captured picture. The short held
   peak remains readable on slower GPUs; there is no repeating/full-page flash. */
.share-proof__preview::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  background: var(--bb-white);
  opacity: calc(var(--share-capture-flash, 0) * .76);
}

.share-proof__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-block-start: 16px;
}

.share-proof__actions:has([data-share-action="other"]:not([hidden])) {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.share-proof__action {
  display: inline-flex;
  min-width: 0;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  padding: 7px 12px;
  border: 1px solid rgba(var(--bb-white-rgb), var(--bb-line-neutral));
  border-radius: var(--bb-radius-pill);
  background: transparent;
  color: rgba(var(--bb-white-rgb), 0.86);
  font-size: 0.875rem;
  font-weight: var(--bb-weight-strong);
  line-height: 1.2;
  text-align: center;
}

.share-proof__action[data-active] {
  border-color: rgba(var(--bb-white-rgb), var(--bb-line-neutral-hover));
  box-shadow: 0 0 calc(18px * var(--share-control-hover, 0)) rgba(var(--bb-white-rgb), .2);
  color: var(--bb-text-primary);
  transform: scale(calc(1 - var(--share-control-press, 0) * .04));
}

.share-proof [hidden] {
  display: none !important;
}

.share-proof__hint {
  margin-block-start: 18px;
  color: var(--bb-text-secondary);
  font-size: 0.875rem;
  line-height: 1.45;
}

.share-proof__platforms {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-block-start: 12px;
}

.share-proof__platform {
  display: inline-flex;
  width: var(--share-product-platform-size);
  height: var(--share-product-platform-size);
  flex: 0 0 var(--share-product-platform-size);
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(var(--bb-white-rgb), 0.9);
  border-radius: var(--bb-radius-pill);
  background: transparent;
  color: rgba(var(--bb-white-rgb), 0.92);
}

.share-proof__platform svg {
  width: 22px;
  height: 22px;
}

.share-proof__platform[data-active] {
  border-color: currentColor;
  box-shadow: 0 0 0 1px currentColor, 0 0 calc(18px * var(--share-control-hover, 0)) currentColor;
  transform: scale(calc(1 - var(--share-control-press, 0) * .07));
}

/* These four local values are copied from the versioned Desktop surface.
   They identify external platforms and do not extend Blender Bridge's palette. */
.share-proof__platform--telegram { color: rgba(56, 189, 248, 0.94); }
.share-proof__platform--instagram { color: rgba(244, 114, 182, 0.94); }
.share-proof__platform--reddit { color: rgba(255, 86, 24, 0.96); }

.share-proof__product-status {
  min-height: 18px;
  margin-block-start: 12px;
  color: var(--bb-text-secondary);
  font-size: 0.875rem;
  line-height: 1.45;
}

.share-proof__outcomes {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 2.2vw, 28px);
  width: min(100%, 720px);
  margin: 30px auto 0;
  padding-block-start: 18px;
  border-block-start: 1px solid rgba(var(--bb-white-rgb), var(--bb-line-hint));
}

.share-proof__outcome {
  min-width: 0;
  opacity: 0.38;
}

.share-proof__outcome dt {
  color: var(--bb-text-primary);
  font-size: 0.875rem;
  font-weight: var(--bb-weight-bold);
  line-height: 1.25;
}

.share-proof__outcome dd {
  margin-block-start: 6px;
  color: var(--bb-text-secondary);
  font-size: 0.875rem;
  line-height: 1.48;
}

.share-proof__outcome[data-share-outcome-state="active"] {
  opacity: 1;
}

.share-proof__outcome[data-share-outcome-state="resolved"] {
  opacity: 0.72;
}

.share-proof__caption {
  width: min(100%, 720px);
  margin: 18px auto 0;
  color: var(--bb-text-tertiary);
  font-size: 0.875rem;
  line-height: 1.5;
}

@media (max-width: 720px) {
  .share-proof {
    width: 100%;
  }

  .share-proof__modal {
    width: 100%;
    max-height: none;
    padding: 22px 18px 20px;
  }

  .share-proof__actions:has([data-share-action="other"]:not([hidden])) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .share-proof__action[data-share-action="other"]:not([hidden]) {
    grid-column: 1 / -1;
  }

  .share-proof__platforms {
    justify-content: space-between;
  }

  .share-proof__outcomes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 20px;
  }
}

@media (max-width: 390px) {
  .share-proof__modal {
    padding: 20px 14px 18px;
    border-radius: var(--bb-radius-panel);
  }

  .share-proof__title {
    font-size: 1.25rem;
  }

  .share-proof__actions,
  .share-proof__actions:has([data-share-action="other"]:not([hidden])) {
    grid-template-columns: 1fr;
  }

  .share-proof__action[data-share-action="other"]:not([hidden]) {
    grid-column: auto;
  }

  .share-proof__platforms {
    gap: 8px;
  }

  .share-proof__outcomes {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  [data-proof-enhanced="social-share"] .share-proof__modal {
    opacity: 1;
    transform: none;
    clip-path: none;
  }

  .share-proof__platform[data-active] {
    transform: none;
  }
}


/* Строка статуса под иконками не показывается: она ничего не объясняет, а окно
   из-за неё меняло высоту прямо во время анимации выбора канала. */
#marketing-v5 .share-proof__product-status {
  display: none !important;
}

/* The original product stays on the right; reasons belong to the title. */
#marketing-v5 #share[data-share-directed] > .marketing-inner {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  grid-template-rows: minmax(0, 1fr);
  width: min(1280px, calc(100vw - 144px));
  gap: clamp(48px, 6vw, 112px);
  align-items: center;
  margin-inline: auto;
}
#marketing-v5 #share[data-share-directed] .marketing-copy {
  max-width: none;
  text-align: left;
  opacity: 1;
  transform: none;
}
#marketing-v5 #share[data-share-directed] .marketing-copy h2 {
  max-width: 10ch;
  margin: 0;
  font-size: clamp(38px, 4.1vw, 64px);
  line-height: 1.02;
  color: var(--bb-white);
  opacity: var(--share-heading-presence, 0);
  transform: none;
  filter: none;
  clip-path: inset(-8% calc((1 - var(--share-heading-presence, 0)) * 100%) -8% -2%);
}
#marketing-v5 #share[data-share-directed] .share-reasons {
  display: grid;
  gap: 15px;
  margin: 38px 0 0;
  padding: 0;
  list-style: none;
  color: var(--bb-white);
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.4;
  opacity: var(--share-reasons-presence, 0);
}
#marketing-v5 #share[data-share-directed] [data-proof-slot="social-share"] {
  grid-column: auto;
  min-width: 0;
  min-height: 0;
  margin: 0;
  opacity: 1;
  transform: none;
}
#marketing-v5 #share[data-share-directed] .share-proof__modal { max-width: 100%; }
@media (max-width: 900px) {
  #marketing-v5 #share[data-share-directed] > .marketing-inner {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    width: calc(100vw - 40px);
    gap: 32px;
  }
  #marketing-v5 #share[data-share-directed] .marketing-copy h2 {
    max-width: 16ch;
    font-size: clamp(36px, 8.8vw, 52px);
  }
  #marketing-v5 #share[data-share-directed] .share-reasons {
    margin-top: 24px;
    gap: 7px;
    font-size: 16px;
  }
  #marketing-v5 #share[data-share-directed] .share-proof__actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
