/* MY AI NOW · Video (31/10/2026): catalogo, schede, modulo e selettore per newsletter e webmail */
.vd-barra { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; margin: 0.25rem 0 1rem; }
.vd-barra .my-cerca { flex: 1 1 16rem; min-width: 0; }
.vd-f select { min-height: 2.4rem; }
.vd-carica h2 { font-size: var(--t-l); font-weight: 800; margin-bottom: 0.75rem; }
.vd-griglia { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); align-items: start; }
.vd-scheda { border: 1px solid var(--ink-line); border-radius: 18px; background: var(--white); overflow: hidden; display: flex; flex-direction: column; }
.vd-spento { opacity: 0.72; }
.vd-schermo { position: relative; aspect-ratio: 16 / 10; background: #14121a; display: grid; place-items: center; }
.vd-schermo img, .vd-schermo video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; display: block; }
.vd-vuoto { color: #f4f2f7; font-size: 2rem; opacity: 0.4; }
.vd-play { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: transparent; cursor: pointer; display: grid; place-items: center; }
.vd-play span { width: 3.4rem; height: 3.4rem; border-radius: 50%; display: grid; place-items: center; background: rgba(20, 18, 26, 0.78); color: #f4f2f7;
  border: 2px solid #A4CF53; font-size: 1.1rem; padding-left: 0.2rem; transition: transform 0.15s ease; }
.vd-play:hover span, .vd-play:focus-visible span { transform: scale(1.08); }
.vd-play:focus-visible { outline: 3px solid var(--magenta-deep); outline-offset: -3px; }
.vd-corpo { padding: 0.85rem 1rem 1rem; display: grid; gap: 0.45rem; }
.vd-corpo h3 { font-size: var(--t-m); font-weight: 800; line-height: 1.2; text-wrap: balance; }
.vd-meta { display: flex; flex-wrap: wrap; gap: 0.3rem; font-size: var(--t-xs); color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.vd-meta span { background: var(--paper-2); border-radius: 999px; padding: 0.15rem 0.55rem; }
.vd-meta span:first-child { background: var(--lavender-tint); color: var(--lavender-deep); font-weight: 650; }
.vd-descr { font-size: var(--t-s); white-space: pre-line; }
.vd-link { font-size: var(--t-xs); color: var(--ink-soft); overflow-wrap: anywhere; }
.vd-link a { color: var(--magenta-deep); }
.vd-azioni { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.vd-modulo { margin-top: 0.5rem; }
.vd-campo-bt { align-self: end; }
.vd-scelta { list-style: none; padding: 0; margin: 0.5rem 0 0; display: grid; gap: 0.5rem; max-height: 26rem; overflow-y: auto; }
.vd-scelta li { display: grid; grid-template-columns: 6.5rem 1fr auto; gap: 0.75rem; align-items: center; border: 1px solid var(--ink-line); border-radius: 12px; padding: 0.4rem; background: var(--white); }
.vd-scelta img { width: 6.5rem; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 8px; background: #14121a; display: block; }
.vd-scelta span { display: grid; gap: 0.1rem; min-width: 0; }
@media (max-width: 30rem) { .vd-scelta li { grid-template-columns: 5rem 1fr; } .vd-scelta li button { grid-column: 1 / -1; } .vd-scelta img { width: 5rem; } }
@media (prefers-reduced-motion: reduce) { .vd-play span { transition: none; } }
/* finestra di Guarda e Modifica (31/10/2026) */
.vd-finestra { border: 0; padding: 0; border-radius: 20px; background: var(--white); color: var(--ink); width: min(1100px, calc(100vw - 2rem)); max-height: calc(100vh - 2rem); overflow: auto; box-shadow: 0 24px 60px rgba(20, 18, 26, 0.35); }
.vd-finestra::backdrop { background: rgba(20, 18, 26, 0.72); }
.vd-finestra:not(.vd-finestra-mod) { width: min(980px, calc(100vw - 2rem)); }
.vd-fin-testa { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 1.25rem 0.75rem; border-bottom: 1px solid var(--ink-line); position: sticky; top: 0; background: var(--white); z-index: 1; }
.vd-fin-testa h2 { font-size: var(--t-l); font-weight: 800; line-height: 1.2; text-wrap: balance; }
.vd-fin-corpo { display: grid; gap: 1.25rem; padding: 1rem 1.25rem 0.5rem; }
.vd-finestra-mod .vd-fin-corpo { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: start; }
.vd-fin-video { display: grid; gap: 0.5rem; }
.vd-fin-video video { width: 100%; max-height: 68vh; background: #14121a; border-radius: 12px; display: block; }
.vd-fin-video.vd-vert video { max-height: 70vh; width: auto; max-width: 100%; justify-self: center; }
.vd-fin-ant { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
.vd-finestra .vd-modulo { margin: 0; }
.vd-finestra > .my-avviso { margin: 0 1.25rem 1rem; }
@media (max-width: 52rem) { .vd-finestra-mod .vd-fin-corpo { grid-template-columns: 1fr; } }
