/* Build 712: quiet native video playback with a premium secondary action row. */

html body .app-shell .photo-lightbox.video-mode .photo-lightbox-frame {
  gap: 12px;
}

html body .app-shell .photo-lightbox-video-actions {
  z-index: 3;
  display: grid !important;
  grid-template-columns: minmax(108px, 0.72fr) minmax(190px, 1.28fr) !important;
  width: min(100%, 520px) !important;
  margin: 0 auto !important;
  padding: 6px !important;
  gap: 6px !important;
  box-sizing: border-box;
  border: 1px solid rgba(204, 249, 239, 0.17);
  border-radius: 22px;
  background: rgba(3, 31, 40, 0.8);
  box-shadow:
    0 16px 40px rgba(0, 8, 14, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px) saturate(1.08);
  -webkit-backdrop-filter: blur(18px) saturate(1.08);
}

html body .app-shell .photo-lightbox-video-actions[hidden] {
  display: none !important;
}

html body .app-shell .photo-lightbox-video-actions button,
html body .app-shell .photo-lightbox-video-actions a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 0;
  min-height: 50px !important;
  margin: 0 !important;
  padding: 0 17px !important;
  gap: 9px !important;
  box-sizing: border-box;
  border-radius: 16px !important;
  font: inherit;
  font-size: 0.84rem !important;
  font-weight: 850 !important;
  letter-spacing: -0.01em;
  line-height: 1.1;
  text-decoration: none !important;
  white-space: nowrap;
  cursor: pointer;
  touch-action: manipulation;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

html body .app-shell .photo-lightbox-video-actions button {
  border: 1px solid rgba(150, 255, 232, 0.18) !important;
  color: #f7fffd !important;
  background: linear-gradient(135deg, #087f77, #159a9d 58%, #2c9ec1) !important;
  box-shadow:
    0 10px 24px rgba(3, 113, 110, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
}

html body .app-shell .photo-lightbox-video-actions a {
  border: 1px solid rgba(206, 248, 240, 0.16) !important;
  color: rgba(246, 255, 252, 0.94) !important;
  background: rgba(10, 56, 65, 0.7) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07) !important;
}

html body .app-shell .photo-lightbox-video-actions button:hover,
html body .app-shell .photo-lightbox-video-actions a:hover {
  transform: translateY(-1px);
}

html body .app-shell .photo-lightbox-video-actions button:focus-visible,
html body .app-shell .photo-lightbox-video-actions a:focus-visible {
  outline: 2px solid rgba(125, 239, 218, 0.92);
  outline-offset: 3px;
}

html body .app-shell .photo-lightbox-action-icon,
html body .app-shell .photo-lightbox-action-icon svg {
  flex: 0 0 auto;
  width: 17px !important;
  height: 17px !important;
  color: currentColor !important;
  stroke-width: 2.25;
}

@media (max-width: 420px) {
  html body .app-shell .photo-lightbox-video-actions {
    grid-template-columns: minmax(100px, 0.68fr) minmax(0, 1.32fr) !important;
    padding: 5px !important;
    gap: 5px !important;
    border-radius: 20px;
  }

  html body .app-shell .photo-lightbox-video-actions button,
  html body .app-shell .photo-lightbox-video-actions a {
    min-height: 48px !important;
    padding: 0 12px !important;
    gap: 7px !important;
    border-radius: 15px !important;
    font-size: 0.78rem !important;
  }

  html body .app-shell .photo-lightbox-action-icon,
  html body .app-shell .photo-lightbox-action-icon svg {
    width: 16px !important;
    height: 16px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html body .app-shell .photo-lightbox-video-actions button,
  html body .app-shell .photo-lightbox-video-actions a {
    transition: none !important;
  }
}
