.yhs-wrap{
  width:100%;
  max-width:600px;
  margin:0 auto;
}

.yhs-player{
  --yhs-brand:#8B6CFF;
  --yhs-brand-soft:#B9A7FF;
  --yhs-brand-pink:#FF73D2;

  position:relative;
  width:100%;
  aspect-ratio:9 / 13.2;
  overflow:hidden;
  border-radius:18px;
  background:#07090f;

  border:1px solid rgba(255,255,255,.16);

  box-shadow:
    0 24px 70px rgba(0,0,0,.58),
    0 0 0 1px rgba(255,255,255,.04) inset,
    0 0 36px rgba(139,108,255,.10);

  isolation:isolate;
}

.yhs-frame{
  position:relative;
  width:100%;
  height:100%;
  overflow:hidden;
  border-radius:inherit;
  background:#07090f;
  isolation:isolate;
}

.yhs-frame::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:3;
  pointer-events:none;
  border-radius:inherit;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.10),
    inset 0 0 32px rgba(0,0,0,.28);
}

.yhs-frame::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  height:34%;
  z-index:2;
  pointer-events:none;
  background:linear-gradient(
    to top,
    rgba(0,0,0,.82) 0%,
    rgba(0,0,0,.55) 38%,
    rgba(0,0,0,.18) 72%,
    transparent 100%
  );
}

.yhs-video{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  display:block;
  background:#07090f;
}

.yhs-player .yhs-big-play{
  position:absolute;
  left:50%;
  top:50%;
  z-index:5;
  width:82px;
  height:82px;
  border-radius:50%;
  transform:translate(-50%,-50%);
  display:flex;
  align-items:center;
  justify-content:center;
  padding:0;
  min-width:0;
  margin:0;
  box-sizing:border-box;
  appearance:none;
  color:#fff;
  cursor:pointer;

  background:
    linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.03)),
    rgba(5,7,12,.78);

  border:1px solid rgba(255,255,255,.12);
  outline:none;

  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);

  box-shadow:
    inset .8px .8px 0 rgba(255,255,255,.16),
    inset -.8px -.8px 0 rgba(255,255,255,.05),
    0 14px 34px rgba(0,0,0,.48),
    0 0 26px rgba(139,108,255,.18);

  transition:
    transform .22s ease,
    opacity .22s ease,
    box-shadow .22s ease,
    background .22s ease;
}

.yhs-big-play svg{
  width:39px;
  height:39px;
  margin-left:5px;
  fill:#ffffff;
  filter:drop-shadow(0 2px 4px rgba(0,0,0,.32));
}

.yhs-player:hover .yhs-big-play{
  background:
    linear-gradient(180deg, rgba(185,167,255,.16), rgba(139,108,255,.08)),
    rgba(5,7,12,.82);

  box-shadow:
    inset .8px .8px 0 rgba(185,167,255,.22),
    inset -.8px -.8px 0 rgba(255,115,210,.08),
    0 16px 40px rgba(0,0,0,.52),
    0 0 30px rgba(139,108,255,.34),
    0 0 54px rgba(255,115,210,.12);
}

.yhs-player.is-playing .yhs-big-play{
  opacity:0;
  pointer-events:none;
  transform:translate(-50%,-50%) scale(.92);
}

.yhs-bottom{
  position:absolute;
  left:22px;
  right:22px;
  bottom:17px;
  z-index:6;

  display:grid;
  grid-template-columns:26px auto 1fr auto 26px;
  align-items:center;
  gap:12px;
}

/* Strong reset for Elementor/theme button styles */
.yhs-player .yhs-play-btn,
.yhs-player .yhs-fullscreen{
  width:26px;
  height:26px;
  min-width:26px;
  min-height:26px;

  border:0;
  border-radius:8px;
  padding:0;
  margin:0;

  background:transparent;
  background-color:transparent;
  background-image:none;

  color:#ffffff;

  display:flex;
  align-items:center;
  justify-content:center;

  cursor:pointer;
  opacity:.96;

  box-shadow:none;
  outline:none;

  appearance:none;
  -webkit-appearance:none;

  transition:
    opacity .18s ease,
    transform .18s ease,
    filter .18s ease,
    background .18s ease,
    box-shadow .18s ease;
}

/* Purple only on hover/focus/click */
.yhs-player .yhs-play-btn:hover,
.yhs-player .yhs-play-btn:focus-visible,
.yhs-player .yhs-fullscreen:hover,
.yhs-player .yhs-fullscreen:focus-visible{
  background:rgba(139,108,255,.18);
  background-color:rgba(139,108,255,.18);

  opacity:1;
  transform:scale(1.08);

  box-shadow:
    0 0 0 1px rgba(185,167,255,.22) inset,
    0 0 12px rgba(139,108,255,.45),
    0 0 22px rgba(255,115,210,.12);

  filter:drop-shadow(0 0 7px rgba(139,108,255,.55));
}

.yhs-player .yhs-play-btn:active,
.yhs-player .yhs-fullscreen:active{
  background:rgba(139,108,255,.32);
  background-color:rgba(139,108,255,.32);

  transform:scale(.96);

  box-shadow:
    0 0 0 1px rgba(185,167,255,.35) inset,
    0 0 16px rgba(139,108,255,.58),
    0 0 28px rgba(255,115,210,.18);
}

.yhs-play-btn svg{
  width:25px;
  height:25px;
  fill:currentColor;
  pointer-events:none;
}

.yhs-fullscreen svg{
  width:23px;
  height:23px;
  fill:none;
  stroke:currentColor;
  stroke-width:2;
  stroke-linecap:round;
  stroke-linejoin:round;
  pointer-events:none;
}

.yhs-icon-pause{
  display:none;
}

.yhs-player.is-playing .yhs-icon-play{
  display:none;
}

.yhs-player.is-playing .yhs-icon-pause{
  display:block;
}

.yhs-time{
  color:rgba(255,255,255,.88);
  font-size:13px;
  font-weight:600;
  line-height:1;
  letter-spacing:.01em;
  font-family:inherit;
  white-space:nowrap;
  text-shadow:0 2px 8px rgba(0,0,0,.55);
}

.yhs-progress{
  width:100%;
  height:18px;
  margin:0;
  padding:0;
  cursor:pointer;
  appearance:none;
  -webkit-appearance:none;
  background:transparent;
  outline:none;

  --yhs-progress-value:0%;
}

.yhs-progress::-webkit-slider-runnable-track{
  height:4px;
  border-radius:999px;
  background:
    linear-gradient(
      to right,
      var(--yhs-brand) 0%,
      var(--yhs-brand-soft) var(--yhs-progress-value),
      rgba(255,255,255,.22) var(--yhs-progress-value),
      rgba(255,255,255,.22) 100%
    );
  box-shadow:
    0 0 10px rgba(139,108,255,.32),
    inset 0 0 0 1px rgba(255,255,255,.05);
}

.yhs-progress::-moz-range-track{
  height:4px;
  border-radius:999px;
  background:rgba(255,255,255,.22);
}

.yhs-progress::-moz-range-progress{
  height:4px;
  border-radius:999px;
  background:linear-gradient(90deg, var(--yhs-brand), var(--yhs-brand-soft));
  box-shadow:0 0 10px rgba(139,108,255,.32);
}

.yhs-progress::-webkit-slider-thumb{
  -webkit-appearance:none;
  appearance:none;
  width:13px;
  height:13px;
  border-radius:50%;
  margin-top:-4.5px;
  background:var(--yhs-brand);
  border:2px solid rgba(255,255,255,.82);
  box-shadow:
    0 0 0 4px rgba(139,108,255,.18),
    0 0 14px rgba(139,108,255,.82),
    0 2px 8px rgba(0,0,0,.38);
}

.yhs-progress::-moz-range-thumb{
  width:13px;
  height:13px;
  border-radius:50%;
  background:var(--yhs-brand);
  border:2px solid rgba(255,255,255,.82);
  box-shadow:
    0 0 0 4px rgba(139,108,255,.18),
    0 0 14px rgba(139,108,255,.82),
    0 2px 8px rgba(0,0,0,.38);
}

/* Fullscreen fix: keep the video frame vertical */
.yhs-player:fullscreen{
  width:100vw;
  height:100vh;
  max-width:none;
  aspect-ratio:auto;
  border-radius:0;
  border:0;
  box-shadow:none;
  background:#05070f;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}

.yhs-player:-webkit-full-screen{
  width:100vw;
  height:100vh;
  max-width:none;
  aspect-ratio:auto;
  border-radius:0;
  border:0;
  box-shadow:none;
  background:#05070f;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}

.yhs-player:fullscreen .yhs-frame{
  width:min(100vw, calc(100vh * 9 / 13.2));
  height:min(100vh, calc(100vw * 13.2 / 9));
  border-radius:18px;
  border:1px solid rgba(255,255,255,.16);
  box-shadow:
    0 24px 70px rgba(0,0,0,.58),
    0 0 0 1px rgba(255,255,255,.04) inset,
    0 0 36px rgba(139,108,255,.16);
}

.yhs-player:-webkit-full-screen .yhs-frame{
  width:min(100vw, calc(100vh * 9 / 13.2));
  height:min(100vh, calc(100vw * 13.2 / 9));
  border-radius:18px;
  border:1px solid rgba(255,255,255,.16);
  box-shadow:
    0 24px 70px rgba(0,0,0,.58),
    0 0 0 1px rgba(255,255,255,.04) inset,
    0 0 36px rgba(139,108,255,.16);
}

.yhs-player:fullscreen .yhs-video,
.yhs-player:-webkit-full-screen .yhs-video{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
}

@media(max-width:767px){
  .yhs-wrap{
    max-width:100%;
  }

  .yhs-player{
    border-radius:16px;
  }

  .yhs-player .yhs-big-play{
    width:70px;
    height:70px;
  }

  .yhs-big-play svg{
    width:34px;
    height:34px;
  }

  .yhs-bottom{
    left:16px;
    right:16px;
    bottom:14px;
    grid-template-columns:24px auto 1fr auto 24px;
    gap:9px;
  }

  .yhs-time{
    font-size:12px;
  }

  .yhs-player .yhs-play-btn,
  .yhs-player .yhs-fullscreen{
    width:24px;
    height:24px;
    min-width:24px;
    min-height:24px;
    border-radius:7px;
  }

  .yhs-play-btn svg{
    width:23px;
    height:23px;
  }

  .yhs-fullscreen svg{
    width:21px;
    height:21px;
  }

  .yhs-player:fullscreen .yhs-frame,
  .yhs-player:-webkit-full-screen .yhs-frame{
    border-radius:16px;
  }
}




.yhs-player{--yhs-brand:#8B8BE4;--yhs-brand-soft:#B9B9F1;--yhs-brand-pink:#8B8BE4}
.yhs-wrap{max-width:none;margin:0;width:100%}
.yhs-player:not(.custom-ready) .yhs-big-play,.yhs-player:not(.custom-ready) .yhs-bottom,
.yhs-player.native-fallback .yhs-big-play,.yhs-player.native-fallback .yhs-bottom{display:none}
.yhs-player .yhs-progress{padding:0;border:0}

.yhs-player{aspect-ratio:16/9}.yhs-video{object-fit:contain}.yhs-progress{min-width:0}
.yhs-player:fullscreen .yhs-frame,.yhs-player:-webkit-full-screen .yhs-frame{width:min(100vw,calc(100vh*16/9));height:min(100vh,calc(100vw*9/16));border-radius:0}
.yhs-player:fullscreen .yhs-video,.yhs-player:-webkit-full-screen .yhs-video{object-fit:contain}
.yhs-player button:focus-visible,.yhs-player input:focus-visible{outline:2px solid #c7c7ff;outline-offset:4px}
@media(max-width:767px){.yhs-player{border-radius:12px}.yhs-player .yhs-big-play{width:54px;height:54px}.yhs-big-play svg{width:29px;height:29px}.yhs-bottom{left:8px;right:8px;bottom:2px;gap:6px;grid-template-columns:44px auto minmax(0,1fr) auto 44px}.yhs-player .yhs-play-btn,.yhs-player .yhs-fullscreen{width:44px;height:44px;min-width:44px;min-height:44px}.yhs-progress{height:44px}.yhs-time{font-size:10px}}
@media(prefers-reduced-motion:reduce){.yhs-player *{transition:none}}


/* Only the new showreel widget opts the existing hero into this layout. */
.yh-hero:has(.yh-showreel[data-yhs-hero="yes"]){--yh-hero-columns:minmax(0,1fr)}
.yh-hero:has(.yh-showreel[data-yhs-hero="yes"])>.yh-hero-copy,
.yh-hero:has(.yh-showreel[data-yhs-hero="yes"])>.yh-hero-media{display:none}
.yh-hero>.elementor-widget-yair-home-showreel{grid-column:1 / -1;min-width:0;width:100%}
.yh-hero>.elementor-widget-yair-home-showreel:has([data-yhs-hero="yes"]){margin-top:var(--yhs-menu-space,80px)}
@media(max-width:767px){.yh-hero>.elementor-widget-yair-home-showreel:has([data-yhs-hero="yes"]){margin-top:var(--yhs-menu-space,64px)}}
.yh-showreel{--yhs-radius:16px;position:relative;min-width:0;direction:ltr}
.yh-showreel .yhs-player{--yhs-skin-ready:1;--yhs-brand:var(--yhs-accent,#8b8be4);width:100%;height:auto;aspect-ratio:var(--yhs-frame-ratio,var(--yhs-source-ratio,16 / 9));border-radius:var(--yhs-radius);border:0;box-shadow:none}
.yh-showreel .yhs-frame{position:absolute;inset:0;width:100%;height:100%}
.yh-showreel .yhs-frame video.yhs-video{width:100%;height:100%;object-fit:contain;object-position:center}
.yh-showreel>video{display:block;width:100%;height:auto;aspect-ratio:var(--yhs-frame-ratio,16 / 9);object-fit:contain}
.yh-showreel-empty{aspect-ratio:var(--yhs-frame-ratio,16 / 9);border-radius:var(--yhs-radius);overflow:hidden;background:radial-gradient(ellipse at 50% 40%,#272634,#101112 80%);border:1px solid #ffffff1c}
.yh-showreel-empty img{display:block;width:100%;height:100%;object-fit:contain}
.yh-showreel-editor-note{position:absolute;inset:35% 10% auto;padding:20px;background:#101112e8;color:#f3f3ef;border:1px solid #8b8be4;font:14px/1.6 sans-serif;z-index:10;text-align:center}
.yh-showreel .yhs-bottom{grid-template-columns:32px auto minmax(0,1fr) auto 32px 32px}
.yh-showreel .yhs-mute{font-size:18px;line-height:1;color:#fff}
.yh-showreel .yhs-mute svg{fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;width:22px;height:22px}
.yhs-mute .yhs-sound-off,.yhs-mute[aria-pressed="true"] .yhs-sound-waves{display:none}
.yhs-mute[aria-pressed="true"] .yhs-sound-off{display:block}
.yh-showreel .yhs-player:fullscreen{width:100vw;height:100vh;aspect-ratio:auto;border-radius:0}
.yh-showreel .yhs-player:fullscreen .yhs-frame,.yh-showreel .yhs-player:-webkit-full-screen .yhs-frame{width:100%;height:100%;border-radius:0;border:0}
@media(max-width:767px){.yh-showreel{--yhs-radius:12px}.yh-showreel .yhs-bottom{grid-template-columns:44px auto minmax(0,1fr) auto 44px 44px;gap:4px}}
@media(max-width:380px){.yh-showreel .yhs-duration{display:none}.yh-showreel .yhs-bottom{grid-template-columns:44px auto minmax(0,1fr) 44px 44px}}
