/* Mov.ibes — visor de video único (§visor_hg). Prefijo .vv-, monocromo. */
html.vv-lock, html.vv-lock body { overflow: hidden !important; }
.vv { --vv-bg: #111213; --vv-card: #1b1c1e; --vv-card2: #232427; --vv-line: rgba(255,255,255,.08); --vv-tx: #f2f2f2; --vv-mu: #8d8f94; --vv-side: 368px;
  position: fixed; inset: 0; z-index: 10050; display: grid; grid-template-columns: minmax(0, 1fr) var(--vv-side); grid-template-rows: minmax(0, 1fr);
  background: var(--vv-bg); color: var(--vv-tx); font-family: inherit; }
.vv * { box-sizing: border-box; }
.vv button { font: inherit; color: inherit; cursor: pointer; }
.vv-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.vv-bg img { position: absolute; inset: -12%; width: 124%; height: 124%; object-fit: cover; filter: blur(48px) saturate(0) brightness(.32); opacity: .9; }
.vv-top { display: none; }
/* escenario: el resultado grande, formato original */
.vv-stage { position: relative; z-index: 1; grid-column: 1; grid-row: 1; min-width: 0; min-height: 0; padding: 12px; display: flex; align-items: center; justify-content: center; }
.vv-frame { position: relative; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.vv-media { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 6px; background: #000; }
video.vv-media { width: 100%; height: 100%; background: transparent; }
.vv-nd { display: grid; place-items: center; width: 60%; aspect-ratio: 9/16; max-height: 100%; color: var(--vv-mu); font-size: 13px; background: var(--vv-card); }
.vv-vars { position: absolute; left: 0; right: 0; bottom: 76px; display: flex; justify-content: center; gap: 8px; z-index: 3; pointer-events: none; }
.vv-var { pointer-events: auto; width: 34px; height: 34px; padding: 0; border-radius: 50%; overflow: hidden; border: 2px solid rgba(255,255,255,.55); background: #222; box-shadow: 0 2px 10px rgba(0,0,0,.5); transition: transform .12s, border-color .12s; }
.vv-var:hover { transform: scale(1.08); }
.vv-var.on { border-color: #fff; outline: 2px solid rgba(255,255,255,.35); outline-offset: 2px; }
.vv-var img, .vv-var video, .vv-st img, .vv-st video { width: 100%; height: 100%; object-fit: cover; display: block; }
.vv-lbl { position: absolute; top: 22px; left: 50%; transform: translateX(-50%); z-index: 3; padding: 5px 12px; border-radius: 999px; background: rgba(0,0,0,.65); font-size: 12px; letter-spacing: .02em; }
.vv-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--vv-line); background: rgba(20,20,22,.7); backdrop-filter: blur(8px); opacity: .75; transition: opacity .12s, background .12s; }
.vv-nav:hover { opacity: 1; background: rgba(40,40,44,.9); }
.vv-nav.l { left: 20px; } .vv-nav.r { right: 20px; }
.vv-strip { display: none; }
/* columna derecha */
.vv-side { position: relative; z-index: 1; grid-column: 2; grid-row: 1; min-height: 0; padding: 8px 8px 8px 0; display: flex; flex-direction: column; }
.vv-side > * { background: transparent; }
.vv-sh, .vv-scroll, .vv-foot { background: var(--vv-card); }
.vv-sh { display: flex; align-items: flex-start; gap: 10px; padding: 14px 14px 10px; border-radius: 16px 16px 0 0; border: 1px solid var(--vv-line); border-bottom: 0; }
.vv-tit { flex: 1; min-width: 0; display: grid; gap: 2px; }
.vv-tit small { font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--vv-mu); }
.vv-tit b { font-size: 15px; font-weight: 600; line-height: 1.3; }
.vv-tit span { font-size: 12px; color: var(--vv-mu); }
.vv-x, .vv-ic { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; border: 0; background: var(--vv-card2); }
.vv-x:hover, .vv-ic:hover { background: #303135; }
.vv-scroll { flex: 1; min-height: 0; overflow-y: auto; padding: 4px 10px 12px; border-left: 1px solid var(--vv-line); border-right: 1px solid var(--vv-line); display: grid; align-content: start; gap: 8px; scrollbar-width: thin; }
.vv-card { background: var(--vv-card2); border-radius: 12px; padding: 10px 12px 12px; border: 1px solid var(--vv-line); }
.vv-card h4 { margin: 0 0 10px; display: flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--vv-mu); }
.vv-h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.vv-h h4 { margin: 0; }
.vv-copy { display: inline-flex; align-items: center; gap: 5px; padding: 5px 9px; border-radius: 8px; border: 1px solid var(--vv-line); background: #2c2d31; font-size: 12px; }
.vv-copy:hover { background: #36373b; }
.vv-p { margin: 8px 0 0; font-size: 12.5px; line-height: 1.5; }
.vv-mute { color: var(--vv-mu); }
.vv-prompt { margin: 0; font-size: 13px; line-height: 1.55; white-space: pre-wrap; word-break: break-word; }
.vv-prompt.corto { display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent); }
.vv-mas { margin-top: 6px; padding: 0; border: 0; background: none; color: var(--vv-mu); font-size: 12.5px; }
.vv-mas:hover { color: var(--vv-tx); }
.vv-els { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 8px; }
.vv-el { margin: 0; display: grid; gap: 5px; align-content: start; }
.vv-elm { position: relative; display: block; width: 100%; aspect-ratio: 1; padding: 0; border-radius: 10px; overflow: hidden; border: 1px solid var(--vv-line); background: #111; }
.vv-elm img, .vv-elm video { width: 100%; height: 100%; object-fit: cover; display: block; }
.vv-elm.on { outline: 2px solid #fff; outline-offset: 1px; }
.vv-elm em { position: absolute; left: 4px; bottom: 4px; font-style: normal; font-size: 9.5px; padding: 1px 5px; border-radius: 4px; background: rgba(0,0,0,.7); }
.vv-el.nd .vv-elm { display: grid; place-items: center; border-style: dashed; background: transparent; }
.vv-el.nd .vv-elm i { font-style: normal; font-size: 10px; color: var(--vv-mu); text-align: center; padding: 4px; }
.vv-el figcaption { display: grid; gap: 1px; min-width: 0; }
.vv-el figcaption b { font-size: 11.5px; font-weight: 500; line-height: 1.25; }
.vv-el figcaption small { font-size: 10.5px; color: var(--vv-mu); line-height: 1.3; }
.vv-det { display: flex; justify-content: space-between; gap: 12px; padding: 8px 10px; border-radius: 8px; background: #2a2b2e; font-size: 12.5px; }
.vv-det + .vv-det { margin-top: 4px; }
.vv-det span { color: var(--vv-mu); flex: none; }
.vv-det b { font-weight: 500; text-align: right; min-width: 0; overflow-wrap: anywhere; }
.vv-sec summary { list-style: none; cursor: pointer; }
.vv-sec summary::-webkit-details-marker { display: none; }
.vv-sec summary h4 { margin: 0; justify-content: space-between; }
.vv-sec summary h4::after { content: "+"; font-size: 15px; }
.vv-sec[open] summary h4::after { content: "–"; }
.vv-sec-b { margin-top: 10px; font-size: 12.5px; line-height: 1.5; }
.vv-sec-b dl { margin: 0; display: grid; gap: 4px; } .vv-sec-b dt { color: var(--vv-mu); font-size: 11.5px; margin-top: 6px; } .vv-sec-b dd { margin: 0; }
.vv-sec-b ul { margin: 2px 0 0; padding-left: 16px; } .vv-sec-b p { margin: 0 0 6px; }
.vv-links { display: flex; flex-wrap: wrap; gap: 6px; }
.vv-links a { padding: 7px 11px; border-radius: 8px; border: 1px solid var(--vv-line); color: var(--vv-tx); text-decoration: none; font-size: 12.5px; }
.vv-links a:hover { background: #303135; }
.vv-foot { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px; border-radius: 0 0 16px 16px; border: 1px solid var(--vv-line); border-top: 0; }
.vv-rec, .vv-dl { display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 44px; border-radius: 12px; font-size: 14px; font-weight: 600; text-decoration: none; }
.vv-rec { border: 0; background: #fff; color: #0c0c0d !important; }
.vv-rec:hover { background: #e6e6e6; }
.vv-dl { border: 1px solid var(--vv-line); background: #2a2b2e; color: var(--vv-tx); }
.vv-dl:hover:not([disabled]) { background: #34353a; }
.vv-dl[disabled] { opacity: .45; cursor: not-allowed; }
.vv-foot > .vv-rec:only-child { grid-column: 1 / -1; }
.vv-fn { grid-column: 1 / -1; font-size: 11px; color: var(--vv-mu); text-align: center; }
.vv-toast { position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(10px); z-index: 9; padding: 8px 14px; border-radius: 10px; background: #fff; color: #000; font-size: 13px; opacity: 0; transition: .2s; pointer-events: none; }
.vv-toast.on { opacity: 1; transform: translateX(-50%); }
.vv :focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
/* ── celular: barra arriba, video, tira «Resultado y elementos», info debajo, Recrear fijo ── */
@media (max-width: 760px) {
  .vv { display: block; overflow-y: auto; overscroll-behavior: contain; }
  .vv-top { display: flex; position: sticky; top: 0; z-index: 5; align-items: center; gap: 8px; padding: 10px 16px; background: linear-gradient(var(--vv-bg) 60%, transparent); }
  .vv-marca { font-size: 16px; font-weight: 700; letter-spacing: -.01em; }
  .vv-cnt { flex: 1; font-size: 12px; color: var(--vv-mu); }
  .vv-stage { height: 62vh; height: 62svh; padding: 0 16px; }
  .vv-vars { display: none; }
  .vv-nav { display: none; }
  .vv-lbl { top: 10px; }
  .vv-strip { display: grid; position: relative; z-index: 1; justify-items: center; gap: 8px; padding: 14px 16px 6px; }
  .vv-strip small { font-size: 12px; color: var(--vv-tx); }
  .vv-strip > div { display: flex; align-items: center; gap: 8px; max-width: 100%; overflow-x: auto; padding: 2px; }
  .vv-strip em { font-style: normal; font-size: 11px; color: var(--vv-mu); }
  .vv-st { flex: none; width: 56px; height: 56px; padding: 0; border-radius: 10px; overflow: hidden; border: 2px solid transparent; background: #222; }
  .vv-st.on { border-color: #fff; }
  .vv-sep { flex: none; width: 1px; height: 36px; background: var(--vv-line); margin: 0 4px; }
  .vv-side { padding: 8px 16px 0; display: block; }
  .vv-sh { border-radius: 16px 16px 0 0; }
  .vv-sh .vv-x { display: none; }
  .vv-scroll { overflow: visible; padding-bottom: 14px; }
  .vv-foot { position: sticky; bottom: 0; z-index: 4; margin: 0 -16px; border-radius: 0; border: 0; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: linear-gradient(transparent, var(--vv-bg) 30%); }
}
/* botón «Ver» en las tarjetas de biblioteca (abre el visor) */
.cr-mov, .cv-itb { position: relative; }
.vv-chipver { position: absolute; top: 6px; right: 6px; z-index: 2; padding: 3px 9px; border-radius: 999px; font-size: 11px; font-weight: 600; line-height: 1.4; background: rgba(0,0,0,.72); color: #fff; border: 1px solid rgba(255,255,255,.18); cursor: pointer; }
.vv-chipver:hover { background: #fff; color: #000; }
/* §visor_todo: tarjetas de ejemplo con «Ver» */
:where(.vv-tiene) { position: relative; }   /* §vvpos (09-10): sin especificidad — antes pisaba position:absolute de .cn-poster y otros (tarjetas del inicio de Cine caían sobre el título) */
.vv-tiene > .vv-chipver[data-vv-auto] { top: 8px; right: 8px; }
/* §reproductor (08-10) barra de controles propia (sonido al abrir, tiempo arrastrable, velocidad, repetir, pantalla completa, descargar) */
.vv-frame { flex-direction: column; }
.vv-frame video.vv-media { flex: 1 1 auto; min-height: 0; cursor: pointer; }
.vv-ctl { flex: 0 0 auto; width: 100%; display: flex; align-items: center; gap: 8px; padding: 8px 10px; background: rgba(10,10,12,.82); border-radius: 0 0 8px 8px; color: #f2f2f2; font: 12px/1 Inter, system-ui, sans-serif; }
.vv-cb { flex: 0 0 auto; min-width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 8px; background: rgba(255,255,255,.08); color: inherit; cursor: pointer; font-size: 13px; }
.vv-cb:hover { background: rgba(255,255,255,.18); } .vv-cb.on { background: #c7f36b; color: #111; } .vv-txtb { padding: 0 8px; font-weight: 700; }
.vv-t { flex: 0 0 auto; font-variant-numeric: tabular-nums; min-width: 78px; }
.vv-seek { flex: 1 1 auto; min-width: 60px; accent-color: #c7f36b; } .vv-vol { flex: 0 0 72px; width: 72px; accent-color: #c7f36b; }
.vv-frame:fullscreen { background: #000; } .vv-frame:fullscreen video.vv-media { max-height: none; }
.vv-foot .vv-acc { background: #222227; color: #f2f2f2; border: 1px solid #3a3a41; } .vv-foot .vv-acc:hover { background: #2e2e35; }
@media (max-width: 640px) { .vv-vol { display: none; } .vv-t { min-width: 0; } .vv-ctl { gap: 5px; padding: 6px; } .vv-cb { min-width: 28px; height: 28px; } }
/* §borrar2 (08-10) contraste: .vv-rec trae color oscuro !important (para Recrear blanco) y dejaba el texto de las acciones casi negro sobre gris */
.vv-foot .vv-acc { background: #2a2b2f; color: #f2f2f2 !important; border: 1px solid #44454c; }
.vv-foot .vv-acc:hover { background: #e9e9ea; color: #0c0c0d !important; border-color: #e9e9ea; }
.vv-foot .vv-acc:focus-visible { outline: 2px solid #f2f2f2; outline-offset: 2px; }
.vv-foot .vv-acc[data-vv-a="borrar"] { background: #3a1d20; color: #ffc4c4 !important; border-color: #6e3036; }
.vv-foot .vv-acc[data-vv-a="borrar"]:hover { background: #c2414a; color: #fff !important; border-color: #c2414a; }
