/* Desenvolvido por: DriveWeb | Rodrigo Soares | © DriveWeb — Todos os direitos reservados · https://driveweb.pt · contacto@driveweb.pt · WhatsApp +351 913 671 493 */

.ex-anim.ex-video {
  position: relative;
  width: 100%;
  max-width: 440px;
  height: auto;
  aspect-ratio: 1 / 1;
  min-width: 0;
  margin-left: auto;
  margin-right: auto;
  overflow: hidden;
  background: #0B0F0C;
  isolation: isolate;
  container-type: inline-size;
  container-name: dwt-guide-video;
}

.ex-anim.ex-video video {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.ex-anim.ex-video,
.ex-anim.ex-video * {
  box-sizing: border-box;
}

.ex-ov {
  --dwt-ov-neon: #39FF14;
  --dwt-ov-dark: #0B0F0C;
  --dwt-ov-pill: rgba(11,15,12,.78);
  --dwt-ov-label-size: clamp(11px, 2.6vw, 13px);

  position: absolute;
  z-index: 5;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
  overflow: hidden;
  color: #fff;
  font-family: inherit;
  line-height: 1.2;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
}

.ov-arrow {
  position: absolute;
  top: var(--dwt-arrow-y1, 18%);
  left: var(--dwt-arrow-x, 50%);
  width: clamp(2px, .75%, 5px);
  height: var(--dwt-arrow-length, 28%);
  min-height: 1px;
  border-radius: 999px;
  background: var(--dwt-ov-neon);
  box-shadow: 0 0 clamp(5px, 1.5vw, 12px) var(--dwt-ov-neon);
  opacity: 1;
  pointer-events: none;
  transform: translateX(-50%);
  transform-origin: 50% 50%;
  animation: dwt-guide-arrow-down 1.35s ease-in-out infinite;
  will-change: transform, opacity;
  transition: opacity .2s ease;
}

.ov-arrow::after {
  position: absolute;
  right: auto;
  bottom: clamp(-9px, -1.6vw, -5px);
  left: 50%;
  width: 0;
  height: 0;
  content: "";
  border-top: clamp(6px, 2vw, 12px) solid var(--dwt-ov-neon);
  border-right: clamp(5px, 1.6vw, 10px) solid transparent;
  border-left: clamp(5px, 1.6vw, 10px) solid transparent;
  filter: drop-shadow(0 0 clamp(4px, 1.2vw, 9px) var(--dwt-ov-neon));
  transform: translateX(-50%);
}

.ov-arrow.is-up,
.ov-arrow.up,
.ov-arrow[data-direction="up"],
.ov-arrow[data-dir="up"],
.ov-arrow[data-arrow="up"] {
  animation-name: dwt-guide-arrow-up;
}

.ov-arrow.is-up::after,
.ov-arrow.up::after,
.ov-arrow[data-direction="up"]::after,
.ov-arrow[data-dir="up"]::after,
.ov-arrow[data-arrow="up"]::after {
  top: clamp(-9px, -1.6vw, -5px);
  right: auto;
  bottom: auto;
  transform: translateX(-50%) rotate(180deg);
}

.ov-arrow.is-down,
.ov-arrow.down,
.ov-arrow[data-direction="down"],
.ov-arrow[data-dir="down"],
.ov-arrow[data-arrow="down"] {
  animation-name: dwt-guide-arrow-down;
}

.ov-arrow.is-none,
.ov-arrow.none,
.ov-arrow.is-hidden,
.ov-arrow[data-direction=""],
.ov-arrow[data-dir=""],
.ov-arrow[data-arrow=""],
.ov-arrow[data-direction="none"],
.ov-arrow[data-dir="none"],
.ov-arrow[data-arrow="none"] {
  opacity: 0;
  animation: none;
}

.ov-arrow > svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.ov-arrow > svg path,
.ov-arrow > svg line,
.ov-arrow > svg polyline,
.ov-arrow > svg polygon {
  stroke: var(--dwt-ov-neon);
  fill: none;
  filter: drop-shadow(0 0 clamp(4px, 1.2vw, 9px) var(--dwt-ov-neon));
}

.ov-phase,
.ov-grip-label,
.ov-alert {
  z-index: 6;
  max-width: 90%;
  padding: clamp(4px, 1.4%, 7px) clamp(8px, 2.5%, 12px);
  color: #fff;
  font-size: var(--dwt-ov-label-size);
  font-weight: 600;
  line-height: 1.15;
  text-align: center;
  background: rgba(11,15,12,.78);
  border: 1px solid rgba(57,255,20,.5);
  border-radius: 999px;
  box-shadow: 0 0 clamp(5px, 1.4vw, 12px) rgba(57,255,20,.18);
  overflow-wrap: anywhere;
}

.ov-phase {
  position: absolute;
  top: var(--dwt-phase-y, 50%);
  left: var(--dwt-phase-x, 54%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  white-space: nowrap;
  pointer-events: none;
  transform: translateY(-50%);
}

.ov-grip {
  position: absolute;
  top: var(--dwt-grip-y, 50%);
  left: var(--dwt-grip-x, 50%);
  display: grid;
  width: clamp(20px, 7%, 36px);
  height: auto;
  aspect-ratio: 1 / 1;
  place-items: center;
  padding: 0;
  color: var(--dwt-ov-neon);
  font: inherit;
  font-size: 0;
  line-height: 1;
  background: rgba(57,255,20,.12);
  border: clamp(1px, .35vw, 2px) solid var(--dwt-ov-neon);
  border-radius: 50%;
  box-shadow:
    0 0 0 clamp(2px, .8vw, 6px) rgba(57,255,20,.14),
    0 0 clamp(7px, 2vw, 16px) var(--dwt-ov-neon);
  cursor: pointer;
  pointer-events: auto;
  touch-action: manipulation;
  transform: translate(-50%, -50%);
  animation: dwt-guide-grip-pulse 1.8s ease-in-out infinite;
  -webkit-appearance: none;
  appearance: none;
}

.ov-grip::before {
  position: absolute;
  inset: -clamp(3px, 1.2%, 8px);
  content: "";
  border: 1px solid rgba(57,255,20,.65);
  border-radius: 50%;
  animation: dwt-guide-ring-pulse 1.8s ease-in-out infinite;
}

.ov-grip:focus-visible,
.ov-mus:focus-visible,
.ov-toggle:focus-visible {
  outline: clamp(2px, .5vw, 3px) solid #fff;
  outline-offset: clamp(2px, .8vw, 5px);
}

.ov-grip-label {
  position: absolute;
  top: calc(100% + clamp(4px, 1.5%, 8px));
  left: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: max-content;
  white-space: nowrap;
  pointer-events: none;
  transform: translateX(-50%);
}

.ov-mus {
  position: absolute;
  top: var(--dwt-mus-y, 50%);
  left: var(--dwt-mus-x, 50%);
  display: grid;
  width: clamp(13px, 5.5%, 24px);
  height: auto;
  aspect-ratio: 1 / 1;
  place-items: center;
  padding: 0;
  color: var(--dwt-ov-dark);
  font: inherit;
  font-size: 0;
  line-height: 1;
  background: var(--dwt-ov-neon);
  border: clamp(1px, .35vw, 2px) solid #caffc0;
  border-radius: 50%;
  box-shadow:
    0 0 clamp(6px, 2vw, 15px) var(--dwt-ov-neon),
    0 0 clamp(11px, 3vw, 24px) rgba(57,255,20,.75);
  cursor: pointer;
  pointer-events: auto;
  touch-action: manipulation;
  transform: translate(-50%, -50%);
  animation: dwt-guide-muscle-pulse 1.35s ease-in-out infinite;
  -webkit-appearance: none;
  appearance: none;
}

.ov-mus::before {
  position: absolute;
  inset: -clamp(3px, 1.2%, 8px);
  content: "";
  border: 1px solid rgba(57,255,20,.7);
  border-radius: 50%;
  animation: dwt-guide-ring-pulse 1.35s ease-in-out infinite;
}

.ov-mus:hover,
.ov-mus:focus-visible,
.ov-mus[aria-expanded="true"] {
  filter: brightness(1.25);
}

.ov-tip {
  position: absolute;
  z-index: 20;
  top: var(--dwt-tip-y, 50%);
  left: var(--dwt-tip-x, 50%);
  display: block;
  width: max-content;
  max-width: 70%;
  min-width: 0;
  padding: clamp(7px, 2.2%, 11px) clamp(9px, 2.8%, 14px);
  color: #fff;
  font-size: var(--dwt-ov-label-size);
  font-weight: 400;
  line-height: 1.35;
  text-align: left;
  background: #0B0F0C;
  border: 1px solid var(--dwt-ov-neon);
  border-radius: clamp(8px, 2.5%, 14px);
  box-shadow:
    0 clamp(4px, 1.2vw, 10px) clamp(12px, 3vw, 24px) rgba(0,0,0,.5),
    0 0 clamp(6px, 1.8vw, 14px) rgba(57,255,20,.3);
  overflow-wrap: anywhere;
  pointer-events: none;
  transform: translate(-50%, calc(-100% - clamp(6px, 1.5%, 10px)));
  transition: opacity .2s ease, transform .2s ease;
}

.ov-tip strong,
.ov-tip b {
  font-weight: 700;
}

.ov-tip[hidden],
.ov-tip.is-hidden,
.ov-tip[aria-hidden="true"] {
  display: none;
}

.ov-alert {
  position: absolute;
  bottom: clamp(6px, 3%, 14px);
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  max-width: calc(100% - clamp(16px, 8%, 34px));
  min-height: clamp(24px, 8%, 38px);
  white-space: normal;
  pointer-events: none;
  transform: translateX(-50%);
  transition: opacity .28s ease, transform .28s ease;
}

.ov-alert.is-out,
.ov-alert.fade-out,
.ov-alert[data-state="out"] {
  opacity: 0;
  transform: translate(-50%, 15%);
}

.ov-alert.is-in,
.ov-alert.fade-in,
.ov-alert[data-state="in"] {
  opacity: 1;
  transform: translate(-50%, 0);
}

.ov-alert[hidden],
.ov-alert.is-hidden {
  display: none;
}

.ov-toggle {
  position: absolute;
  z-index: 30;
  top: clamp(6px, 2.5%, 13px);
  right: clamp(6px, 2.5%, 13px);
  display: grid;
  width: clamp(27px, 8%, 38px);
  height: auto;
  aspect-ratio: 1 / 1;
  place-items: center;
  padding: 0;
  color: #fff;
  font: inherit;
  font-size: clamp(16px, 4.5vw, 22px);
  line-height: 1;
  background: rgba(11,15,12,.78);
  border: 1px solid rgba(57,255,20,.5);
  border-radius: 50%;
  box-shadow: 0 0 clamp(5px, 1.4vw, 12px) rgba(57,255,20,.22);
  cursor: pointer;
  pointer-events: auto;
  touch-action: manipulation;
  -webkit-appearance: none;
  appearance: none;
}

.ov-toggle:hover,
.ov-toggle:focus-visible,
.ov-toggle[aria-pressed="true"] {
  color: var(--dwt-ov-neon);
  background: #0B0F0C;
  border-color: var(--dwt-ov-neon);
}

.ex-ov.is-hidden .ov-arrow,
.ex-ov.is-hidden .ov-phase,
.ex-ov.is-hidden .ov-grip,
.ex-ov.is-hidden .ov-mus,
.ex-ov.is-hidden .ov-alert,
.ex-ov.is-hidden .ov-tip,
.ex-ov.is-off .ov-arrow,
.ex-ov.is-off .ov-phase,
.ex-ov.is-off .ov-grip,
.ex-ov.is-off .ov-mus,
.ex-ov.is-off .ov-alert,
.ex-ov.is-off .ov-tip,
.ex-ov.is-collapsed .ov-arrow,
.ex-ov.is-collapsed .ov-phase,
.ex-ov.is-collapsed .ov-grip,
.ex-ov.is-collapsed .ov-mus,
.ex-ov.is-collapsed .ov-alert,
.ex-ov.is-collapsed .ov-tip,
.ex-ov[data-ov="0"] .ov-arrow,
.ex-ov[data-ov="0"] .ov-phase,
.ex-ov[data-ov="0"] .ov-grip,
.ex-ov[data-ov="0"] .ov-mus,
.ex-ov[data-ov="0"] .ov-alert,
.ex-ov[data-ov="0"] .ov-tip,
.ex-ov[data-visible="0"] .ov-arrow,
.ex-ov[data-visible="0"] .ov-phase,
.ex-ov[data-visible="0"] .ov-grip,
.ex-ov[data-visible="0"] .ov-mus,
.ex-ov[data-visible="0"] .ov-alert,
.ex-ov[data-visible="0"] .ov-tip,
.ex-ov[aria-hidden="true"] .ov-arrow,
.ex-ov[aria-hidden="true"] .ov-phase,
.ex-ov[aria-hidden="true"] .ov-grip,
.ex-ov[aria-hidden="true"] .ov-mus,
.ex-ov[aria-hidden="true"] .ov-alert,
.ex-ov[aria-hidden="true"] .ov-tip {
  visibility: hidden;
}

@keyframes dwt-guide-arrow-down {
  0%,
  100% {
    transform: translate(-50%, -3%);
  }

  50% {
    transform: translate(-50%, 3%);
  }
}

@keyframes dwt-guide-arrow-up {
  0%,
  100% {
    transform: translate(-50%, 3%);
  }

  50% {
    transform: translate(-50%, -3%);
  }
}

@keyframes dwt-guide-grip-pulse {
  0%,
  100% {
    box-shadow:
      0 0 0 clamp(2px, .8vw, 6px) rgba(57,255,20,.14),
      0 0 clamp(7px, 2vw, 16px) var(--dwt-ov-neon);
  }

  50% {
    box-shadow:
      0 0 0 clamp(4px, 1.4vw, 10px) rgba(57,255,20,.28),
      0 0 clamp(12px, 3vw, 24px) var(--dwt-ov-neon);
  }
}

@keyframes dwt-guide-muscle-pulse {
  0%,
  100% {
    opacity: .88;
    box-shadow:
      0 0 clamp(6px, 2vw, 15px) var(--dwt-ov-neon),
      0 0 clamp(11px, 3vw, 24px) rgba(57,255,20,.75);
  }

  50% {
    opacity: 1;
    box-shadow:
      0 0 clamp(10px, 3vw, 22px) var(--dwt-ov-neon),
      0 0 clamp(17px, 4.5vw, 34px) rgba(57,255,20,.95);
  }
}

@keyframes dwt-guide-ring-pulse {
  0%,
  100% {
    opacity: .45;
    transform: scale(.9);
  }

  50% {
    opacity: .95;
    transform: scale(1.12);
  }
}

@container dwt-guide-video (max-width: 259px) {
  .ex-ov .ov-phase,
  .ex-ov .ov-grip-label,
  .ex-ov .ov-mus-label,
  .ex-ov .ov-label,
  .ex-ov .ov-caption {
    display: none;
  }

  .ex-ov .ov-alert {
    max-width: calc(100% - 8%);
  }
}

@media (max-width: 259px) {
  .ex-ov .ov-phase,
  .ex-ov .ov-grip-label,
  .ex-ov .ov-mus-label,
  .ex-ov .ov-label,
  .ex-ov .ov-caption {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ex-ov .ov-arrow,
  .ex-ov .ov-grip,
  .ex-ov .ov-grip::before,
  .ex-ov .ov-mus,
  .ex-ov .ov-mus::before {
    animation: none !important;
  }

  .ex-ov .ov-alert,
  .ex-ov .ov-tip {
    transition: none !important;
  }
}

.ex-ov .ov-phase {
  left: 4% !important;
  top: 4% !important;
  right: auto !important;
  bottom: auto !important;
  transform: none !important;
  max-width: 72%;
  white-space: normal;
  line-height: 1.25;
}

.ex-ov .ov-alert {
  max-width: 92%;
  text-align: center;
}
