.video-share-dialog {
  width: min(920px, calc(100% - 18px));
  height: min(94vh, 900px);
  max-height: min(94vh, 900px);
  padding: 0;
  border: 0;
  border-radius: 24px;
  overflow: hidden;
  background: #edf9ff;
  color: #102b40;
  box-shadow: 0 30px 90px rgba(8, 47, 79, .42);
}

.video-share-dialog::backdrop {
  background: rgba(7, 32, 52, .76);
  backdrop-filter: blur(5px);
}

.video-share-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  overflow: hidden;
}

.video-share-close {
  position: absolute;
  z-index: 4;
  top: 15px;
  right: 17px;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 50%;
  background: rgba(5, 42, 70, .34);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.video-share-close:hover,
.video-share-close:focus-visible {
  background: #fff;
  color: #0878b4;
  outline: 3px solid #9de5ff;
  outline-offset: 2px;
}

.video-share-hero {
  position: relative;
  flex: 0 0 auto;
  min-height: 192px;
  padding: 32px clamp(22px, 5vw, 56px) 27px;
  overflow: hidden;
  background: linear-gradient(115deg, #063b62 0%, #087fb8 57%, #4ac7e7 100%);
  color: #fff;
  isolation: isolate;
}

.video-share-hero::after {
  position: absolute;
  right: -84px;
  bottom: -150px;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(209, 247, 255, .65);
  border-radius: 50%;
  box-shadow: 0 0 0 24px rgba(209, 247, 255, .1), 0 0 0 52px rgba(209, 247, 255, .06);
  content: '';
}

.video-share-eyebrow,
.video-share-kicker {
  margin: 0 0 9px;
  color: #bff2ff;
  font-size: .7rem;
  font-weight: 950;
  letter-spacing: .15em;
}

.video-share-hero h2 {
  position: relative;
  z-index: 1;
  max-width: 12ch;
  margin: 0;
  color: #fff;
  font: 900 clamp(2.2rem, 6vw, 4.5rem) / .94 Georgia, serif;
  letter-spacing: -.06em;
}

.video-share-territory {
  position: relative;
  z-index: 1;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, .88);
  font-size: 1rem;
  font-weight: 800;
}

.video-share-badge {
  position: relative;
  z-index: 1;
  display: inline-flex;
  margin-top: 18px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, .4);
  border-radius: 999px;
  background: rgba(3, 46, 76, .24);
  color: #e5fbff;
  font-size: .64rem;
  font-weight: 950;
  letter-spacing: .12em;
}

.video-share-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 22px clamp(16px, 4vw, 40px) 36px;
  scrollbar-color: #1288bf #d9f2fb;
}

.video-share-body::-webkit-scrollbar { width: 8px; }
.video-share-body::-webkit-scrollbar-track { background: #d9f2fb; }
.video-share-body::-webkit-scrollbar-thumb { border: 2px solid #d9f2fb; border-radius: 99px; background: #1288bf; }

.video-share-player {
  position: relative;
  overflow: hidden;
  border: 5px solid #fff;
  border-radius: 17px;
  background: #082f4d;
  box-shadow: 0 16px 30px rgba(9, 75, 112, .2);
}

.video-share-media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #082f4d;
}

.video-share-player iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-share-shield {
  position: absolute;
  z-index: 1;
  inset: 0;
  cursor: pointer;
  background: rgba(5, 32, 52, .08);
}

.video-share-controls {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(5, 38px) minmax(90px, 1fr) auto;
  gap: 7px;
  align-items: center;
  min-height: 58px;
  padding: 8px 10px;
  background: #063b62;
  color: #fff;
}

.video-share-control {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(191, 242, 255, .45);
  border-radius: 9px;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  font-size: .95rem;
  font-weight: 950;
  cursor: pointer;
}

.video-share-control:hover,
.video-share-control:focus-visible,
.video-share-control.is-on {
  border-color: #fff;
  background: #087fb8;
  outline: 3px solid rgba(116, 216, 245, .45);
  outline-offset: 1px;
}

.video-share-audio {
  font-size: .57rem;
  letter-spacing: .03em;
}

.video-share-timeline {
  display: block;
  min-width: 0;
}

.video-share-timeline input {
  display: block;
  width: 100%;
  accent-color: #4ac7e7;
  cursor: pointer;
}

.video-share-time {
  min-width: 76px;
  color: #d9f7ff;
  font-size: .7rem;
  font-variant-numeric: tabular-nums;
  text-align: right;
  white-space: nowrap;
}

.video-share-intro {
  display: grid;
  grid-template-columns: minmax(150px, .34fr) minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  margin: 22px 0 26px;
  padding: 16px;
  border: 1px solid #b8e3f1;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(9, 75, 112, .1);
}

.video-share-photo {
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  background: #d9edf4;
}

.video-share-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-share-intro h3,
.video-share-details h3,
.video-share-services h3,
.video-share-actions-wrap h3 {
  margin: 0 0 9px;
  color: #0c4162;
  font: 900 clamp(1.25rem, 3vw, 1.8rem) / 1.05 Georgia, serif;
}

.video-share-intro p:last-child {
  margin: 0;
  color: #426274;
  font-size: .93rem;
  line-height: 1.55;
}

.video-share-details,
.video-share-services,
.video-share-actions-wrap {
  margin: 0 0 24px;
  padding: 18px;
  border: 1px solid #b8e3f1;
  border-radius: 16px;
  background: rgba(255, 255, 255, .72);
}

.video-share-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.video-share-detail-grid article {
  padding: 13px;
  border-radius: 12px;
  background: #e5f7fc;
}

.video-share-detail-grid strong {
  display: block;
  margin-bottom: 6px;
  color: #0878b4;
  font-size: .78rem;
  font-weight: 950;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.video-share-detail-grid p {
  margin: 0;
  color: #31586b;
  font-size: .83rem;
  line-height: 1.48;
}

.video-share-services > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.video-share-services a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #b8e3f1;
  border-radius: 11px;
  background: #fff;
  color: #126990;
  font-size: .8rem;
  font-weight: 850;
  text-decoration: none;
}

.video-share-services a:hover,
.video-share-services a:focus-visible {
  border-color: #0878b4;
  background: #e4f8ff;
  outline: 3px solid #74d8f566;
  outline-offset: 2px;
}

.video-share-actions-wrap { margin-bottom: 0; background: #dff5fb; }
.video-share-actions-wrap h3 { color: #0b5277; }
.video-share-actions { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; }
.video-share-actions button { min-height: 48px; border: 0; border-radius: 12px; color: #fff; font-weight: 900; cursor: pointer; }
.video-share-actions button:hover,
.video-share-actions button:focus-visible { transform: translateY(-2px); outline: 3px solid #66d7f788; outline-offset: 2px; }
.video-share-actions .video-share-facebook { background: #1877f2; }
.video-share-actions .video-share-whatsapp { background: #159b63; }
.video-share-actions .video-share-native { background: #0878b4; }
.video-share-actions .video-share-copy { background: #075277; }
.video-share-note { margin: 14px 0 9px; color: #3c677b; font-size: .76rem; line-height: 1.45; }
.video-share-url { width: 100%; box-sizing: border-box; padding: 11px; border: 1px solid #a8d6e5; border-radius: 10px; background: #fff; color: #31586b; font-size: .7rem; }
.video-share-card output { display: block; min-height: 18px; margin-top: 9px; color: #087b58; font-size: .78rem; font-weight: 850; }

.video-share-discover {
  margin-top: 15px;
  padding-top: 14px;
  border-top: 1px solid #c7e8f1;
}

.video-share-discover p {
  margin: 0 0 11px;
  color: #31586b;
  font-size: .82rem;
  line-height: 1.45;
}

.video-share-place-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 48px;
  padding: 10px 15px;
  border: 0;
  border-radius: 11px;
  background: linear-gradient(110deg, #f29f3d, #e76f51);
  color: #fff;
  box-shadow: 0 8px 16px rgba(199, 91, 49, .2);
  font-size: .82rem;
  font-weight: 950;
  cursor: pointer;
}

.video-share-place-button:hover,
.video-share-place-button:focus-visible {
  background: linear-gradient(110deg, #d98226, #cb4f3e);
  outline: 3px solid rgba(242, 159, 61, .32);
  outline-offset: 2px;
  transform: translateY(-1px);
}

@media (max-width: 640px) {
  .video-share-dialog { width: calc(100% - 10px); height: calc(100dvh - 16px); max-height: calc(100dvh - 16px); border-radius: 18px; }
  .video-share-hero { min-height: 175px; padding: 27px 18px 22px; }
  .video-share-body { padding: 15px 12px 28px; }
  .video-share-intro { grid-template-columns: 1fr; gap: 14px; margin-top: 16px; padding: 13px; }
  .video-share-photo { max-height: 210px; }
  .video-share-detail-grid,
  .video-share-services > div { grid-template-columns: 1fr; }
  .video-share-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .video-share-controls { grid-template-columns: repeat(5, 32px) minmax(0, 1fr); gap: 6px; padding: 8px; }
  .video-share-control { width: 32px; height: 36px; }
  .video-share-timeline { grid-column: 1 / -1; grid-row: 2; }
  .video-share-time { grid-column: 1 / -1; grid-row: 3; min-width: 0; text-align: left; }
  .video-share-place-button { width: 100%; }
}
