/* 0.132.0 (184) · Βίντεο οδηγοί υπολογιστή (desktop-videos.js). Μόνο σε υπολογιστή· στο κινητό δεν φαίνονται.
   Παράθυρο «Μάθε το Aneligma»: Searchable «Video Tutorials», WRITER «Learning Center», Motion «Tutorials».
   Κάρτες: Descript «Learn», Magnific Academy. Αναπαραγωγή με βήματα δίπλα: Skillshare, Codecademy.
   Η σκηνή του βίντεο και τα σήματα πάνω στις μικρογραφίες μένουν όπως είναι στη σκοτεινή (make-dark: KEEP_LIGHT).
   Οι κινήσεις υπάρχουν μόνο μέσα σε «prefers-reduced-motion: no-preference». */

.dv {
  width: min(1240px, calc(100vw - 48px));
  height: min(820px, calc(100vh - 48px));
  max-width: none;
  max-height: none;
  padding: 0;
  border: 1px solid var(--line, #dfe6e9);
  border-radius: 16px;
  background: var(--panel, #ffffff);
  color: var(--ink, #263b43);
  box-shadow: 0 24px 64px rgba(15, 26, 36, 0.28);
  overflow: hidden;
}
.dv[open] {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
}
.dv::backdrop {
  background: rgba(15, 26, 36, 0.46);
}

/* ---------- στήλη αριστερά ---------- */
.dv-side {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 20px 12px;
  border-right: 1px solid var(--line, #dfe6e9);
  background: #f4f6f7;
}
.dv-side-h {
  margin: 0 8px 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted, #64767d);
}
.dv-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 38px;
  padding: 7px 10px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--ink, #263b43);
  font: inherit;
  font-size: 14px;
  text-align: left;
  cursor: pointer;
}
.dv-nav:hover {
  background: #e9eef1;
}
.dv-nav.is-on {
  background: #ffffff;
  font-weight: 600;
  box-shadow: 0 1px 2px rgba(15, 26, 36, 0.08);
}
.dv-nav svg {
  flex: 0 0 auto;
  color: #4a7299;
}

/* ---------- κύριο μέρος ---------- */
.dv-main {
  min-width: 0;
  min-height: 0;
  overflow: auto;
  padding: 22px 26px 26px;
}
.dv-head,
.dv-p-head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.dv-head > div {
  flex: 1 1 auto;
  min-width: 0;
}
.dv-kicker {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted, #64767d);
}
.dv-head h2 {
  margin: 4px 0 2px;
  font-size: 24px;
  line-height: 1.2;
}
.dv-count {
  margin: 0;
  font-size: 14px;
  color: var(--muted, #64767d);
}
.dv-en {
  margin: 6px 0 0;
  font-size: 13px;
  color: var(--muted, #64767d);
}
.dv-x {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  margin-left: auto;
  border: 1px solid var(--line, #dfe6e9);
  border-radius: 50%;
  background: var(--panel, #ffffff);
  color: var(--ink, #263b43);
  cursor: pointer;
}
.dv-x:hover {
  background: #eef2f4;
}

/* κουφέτα «Όλα · Τα βασικά · Σε βάθος» */
.dv-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 16px;
}
.dv-chip {
  min-height: 32px;
  padding: 5px 13px;
  border: 1px solid var(--line, #dfe6e9);
  border-radius: 999px;
  background: var(--panel, #ffffff);
  color: var(--ink, #263b43);
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}
.dv-chip span {
  color: var(--muted, #64767d);
}
.dv-chip[aria-pressed='true'] {
  border-color: #16283a;
  background: #16283a;
  color: #ffffff;
}
.dv-chip[aria-pressed='true'] span {
  color: #c7dbec;
}

/* κάρτες */
.dv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.dv-card {
  display: grid;
  gap: 4px;
  width: 100%;
  padding: 0 0 4px;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.dv-thumb {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  background: #16283a;
  border: 1px solid var(--line, #dfe6e9);
}
.dv-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.dv-play-ic {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin: -23px 0 0 -23px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #16283a;
  box-shadow: 0 4px 14px rgba(15, 26, 36, 0.3);
}
.dv-play-ic svg {
  margin-left: 3px;
}
.dv-dur {
  position: absolute;
  right: 8px;
  bottom: 8px;
  padding: 2px 7px;
  border-radius: 6px;
  background: rgba(15, 26, 36, 0.78);
  color: #ffffff;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
.dv-seen {
  position: absolute;
  left: 8px;
  bottom: 8px;
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.94);
  color: #16283a;
  font-size: 12px;
  font-weight: 600;
}
.dv-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.dv-card-t {
  margin-top: 6px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
}
.dv-num {
  color: #4a7299;
  font-variant-numeric: tabular-nums;
}
.dv-card-s {
  font-size: 13px;
  line-height: 1.4;
  color: var(--muted, #64767d);
}
.dv-card:hover .dv-thumb,
.dv-card:focus-visible .dv-thumb {
  border-color: #4a7299;
}

/* ---------- αναπαραγωγή ---------- */
.dv-main.dv-is-player {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.dv-p-head {
  align-items: center;
}
.dv-back {
  flex: 0 0 auto;
  min-height: 34px;
  padding: 5px 12px;
  border: 1px solid var(--line, #dfe6e9);
  border-radius: 999px;
  background: var(--panel, #ffffff);
  color: var(--ink, #263b43);
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}
.dv-p-t {
  flex: 1 1 auto;
  min-width: 0;
}
.dv-p-t h2 {
  margin: 0;
  overflow: hidden;
  font-size: 18px;
  line-height: 1.3;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.dv-p-pos {
  font-size: 13px;
  color: var(--muted, #64767d);
}
.dv-p-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 20px;
  min-height: 0;
  flex: 1 1 auto;
}
.dv-p-left {
  min-width: 0;
}
.dv-stage {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  background: #0f1a24;
  outline: none;
}
.dv-stage:focus-visible {
  box-shadow: 0 0 0 3px #4a7299;
}
.dv-stage:fullscreen {
  border-radius: 0;
}
.dv-vid {
  display: block;
  width: 100%;
  height: 100%;
  background: #0f1a24;
}
.dv-big {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin: -36px 0 0 -36px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: #16283a;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}
.dv-big svg {
  width: 30px;
  height: 30px;
  margin-left: 4px;
}
.dv-end {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 20px;
  background: rgba(15, 26, 36, 0.82);
  color: #ffffff;
  text-align: center;
}
.dv-end[hidden],
.dv-big[hidden] {
  display: none;
}
.dv-end-t {
  margin: 0;
  font-size: 16px;
}
.dv-next-go {
  max-width: 100%;
  min-height: 42px;
  padding: 8px 18px;
  border: 0;
  border-radius: 999px;
  background: #ffffff;
  color: #16283a;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.dv-again {
  border: 0;
  background: transparent;
  color: #c7dbec;
  font: inherit;
  cursor: pointer;
}
.dv-ctl {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
}
.dv-step {
  min-height: 34px;
  padding: 5px 12px;
  border: 1px solid var(--line, #dfe6e9);
  border-radius: 999px;
  background: var(--panel, #ffffff);
  color: var(--ink, #263b43);
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}
.dv-step[data-dv-next] {
  margin-left: auto;
}
.dv-step:disabled {
  opacity: 0.45;
  cursor: default;
}
.dv-rate {
  display: inline-flex;
  margin: 0 auto;
  padding: 2px;
  border: 1px solid var(--line, #dfe6e9);
  border-radius: 999px;
}
.dv-rate button {
  min-width: 52px;
  min-height: 28px;
  padding: 2px 8px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink, #263b43);
  font: inherit;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
}
.dv-rate button[aria-pressed='true'] {
  background: #16283a;
  color: #ffffff;
}
.dv-keys {
  margin: 10px 0 0;
  color: var(--muted, #64767d);
}
.dv-text {
  margin-top: 12px;
  padding: 10px 14px;
  border: 1px solid var(--line, #dfe6e9);
  border-radius: 12px;
}
.dv-text summary {
  font-weight: 600;
  cursor: pointer;
}
.dv-text ol {
  margin: 10px 0 0;
  padding-left: 20px;
  font-size: 14px;
  line-height: 1.5;
}
.dv-text li + li {
  margin-top: 6px;
}

/* βήματα δεξιά */
.dv-steps {
  display: flex;
  flex-direction: column;
  min-height: 0;
  border: 1px solid var(--line, #dfe6e9);
  border-radius: 12px;
  overflow: hidden;
}
.dv-steps h3 {
  margin: 0;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line, #dfe6e9);
  font-size: 14px;
}
.dv-steps h3 span {
  color: var(--muted, #64767d);
  font-weight: 400;
}
.dv-steps ol {
  flex: 1 1 auto;
  min-height: 0;
  max-height: 520px;
  margin: 0;
  padding: 6px;
  overflow: auto;
  list-style: none;
}
.dv-steps .dv-en {
  margin: 0;
  padding: 8px 14px 10px;
  border-top: 1px solid var(--line, #dfe6e9);
}
.dv-st {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 38px;
  padding: 6px 8px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--ink, #263b43);
  font: inherit;
  font-size: 14px;
  text-align: left;
  cursor: pointer;
}
.dv-st:hover {
  background: #eef2f4;
}
.dv-st-n {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #eef2f4;
  color: var(--muted, #64767d);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
.dv-st-time {
  color: var(--muted, #64767d);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
.dv-st.is-cur {
  background: #e5eef6;
  font-weight: 600;
}
.dv-st.is-cur .dv-st-n {
  background: #16283a;
  color: #ffffff;
}

/* ---------- κάρτα της Αρχικής ---------- */
#therapy-flow .dv-home-v {
  display: grid;
  grid-template-columns: minmax(150px, min(46%, 300px)) minmax(0, 1fr);
  min-height: 0;
  box-shadow: none;
  border-radius: 12px;
  align-items: center;
  gap: 14px;
  width: 100%;
  margin-top: 10px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.dv-home-v .dv-play-ic {
  width: 38px;
  height: 38px;
  margin: -19px 0 0 -19px;
}
.dv-home-t {
  display: grid;
  gap: 3px;
  min-width: 0;
}
.dv-home-t b {
  font-size: 15px;
  line-height: 1.3;
}
.dv-home-t .small {
  color: var(--muted, #64767d);
}
#therapy-flow .dv-home-foot {
  max-width: none;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 12px 0 0;
}
#therapy-flow .dv-home-foot .text-link {
  margin-left: auto;
}

/* ---------- σελίδα υποδοχής του aneligma.com (υπολογιστής) ---------- */
.dv-land {
  display: none;
}
@media (min-width: 768px) and (pointer: fine), (min-width: 1025px) {
  .web-ro #gate .dv-land {
    display: block;
    width: min(760px, 100%);
    margin: 22px auto 0;
    padding: 16px;
    border: 1px solid #dfe6eb;
    border-radius: 16px;
    background: #ffffff;
    color: #22333b;
    text-align: left;
  }
}
/* τα γενικά «#gate button» (γεμάτο κουμπί, margin, padding) δεν ισχύουν μέσα στην κάρτα */
.web-ro #gate .dv-land button {
  margin: 0;
  border-radius: 10px;
  background: transparent;
  color: inherit;
  font-size: 14px;
}
.web-ro #gate .dv-land .text-link {
  padding: 2px 4px;
  border: 0;
  background: transparent;
  color: #245967;
  font-size: 14px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.web-ro #gate .dv-land-head {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 12px;
  margin-bottom: 12px;
}
.web-ro #gate .dv-land-head h2 {
  margin: 0;
  font-size: 18px;
}
.web-ro #gate .dv-land-head .small {
  color: #5a6b72;
}
.web-ro #gate .dv-land-head .text-link {
  margin-left: auto;
}
.web-ro #gate .dv-land-row {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 14px;
}
.web-ro #gate .dv-land-big {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 15px;
  text-align: left;
  cursor: pointer;
}
.web-ro #gate .dv-land-list {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.web-ro #gate .dv-land-list button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 4px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 14px;
  text-align: left;
  cursor: pointer;
}
.web-ro #gate .dv-land-list button:hover {
  background: #f1f5f8;
}
.web-ro #gate .dv-land-list img {
  flex: 0 0 auto;
  width: 96px;
  height: 54px;
  border-radius: 7px;
  object-fit: cover;
  background: #16283a;
}
.web-ro #gate .dv-land-list span {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.web-ro #gate .dv-land-list .small {
  color: #5a6b72;
}

/* ---------- στενό παράθυρο ---------- */
@media (max-width: 980px) {
  .dv[open] {
    grid-template-columns: minmax(0, 1fr);
  }
  .dv-side {
    flex-direction: row;
    flex-wrap: wrap;
    padding: 10px 12px;
    border-right: 0;
    border-bottom: 1px solid var(--line, #dfe6e9);
  }
  .dv-side-h {
    display: none;
  }
  .dv-nav {
    width: auto;
  }
  .dv-p-body {
    grid-template-columns: minmax(0, 1fr);
  }
  .dv-steps ol {
    max-height: 260px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .dv-thumb,
  .dv-nav,
  .dv-st,
  .dv-chip {
    transition:
      border-color 0.15s ease,
      background-color 0.15s ease;
  }
  .dv-card:hover .dv-play-ic {
    transform: scale(1.06);
  }
  .dv-play-ic {
    transition: transform 0.15s ease;
  }
}

/* ---------- «▶ Δες πώς · 1:12» δίπλα στο «?» (help-tips.js) ---------- */
#therapy-flow .hlp-vid {
  display: inline-flex;
  align-items: center;
  min-height: 0;
  height: 24px;
  margin-left: 6px;
  padding: 0 10px;
  border: 1px solid #c9d6e0;
  border-radius: 999px;
  background: transparent;
  color: #35597a;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
  text-transform: none;
  vertical-align: middle;
  white-space: nowrap;
  cursor: pointer;
}
#therapy-flow .hlp-vid::before {
  content: attr(data-label);
}
#therapy-flow .hlp-vid:hover {
  background: #eef4f9;
  border-color: #4a7299;
}
