/* Marco de monitor: conserva el ancho y la proporción de las capturas. */
.vp { display: grid; gap: 0; width: 100%; min-width: 0; }
/* Reparte el espacio libre por encima y debajo del monitor. */
.cf-videos .vp { margin-block: auto; }
.cf-videos .cf-tile-copy { text-align: center; }
.cf-videos .cf-num { padding-inline: 44px; }
.cf-videos .cf-name { justify-content: center; }
.vp-monitor { position: relative; min-width: 0; isolation: isolate; }
/* Cámara integrada en el bisel superior. */
.vp-monitor::before { content: ""; position: absolute; z-index: 2; top: 3px; left: calc(50% - 2px); width: 4px; height: 4px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #5c7797, #0c1420 65%); box-shadow: 0 0 0 1px #364254; pointer-events: none; }
.vp-screen { position: relative; overflow: hidden; border: 6px solid #202c3d; border-top-width: 10px; border-bottom: 0; border-radius: 12px; background: #081b3d; box-shadow: 0 0 0 1px #637187, 0 2px 0 #111c2c, 0 12px 26px rgba(8, 27, 61, .13); }
.vp-top { display: flex; justify-content: space-between; gap: 12px; padding: 3px 10px; color: #c8d8f3; font-size: 9px; line-height: 12px; font-weight: 700; letter-spacing: .04em; }
.vp-top [data-vp-count] { color: #93bdfb; font-variant-numeric: tabular-nums; white-space: nowrap; }
/* Oculta los controles incluidos en el borde inferior de las capturas. */
.vp-frame { position: relative; aspect-ratio: 1.93; overflow: hidden; background: #fff; }
.vp-frame .vp-slide { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: center top; opacity: 0; transition: opacity .65s ease; }
.vp-frame .vp-slide.is-active { opacity: 1; }
.vp-progress { height: 2px; overflow: hidden; background: #28436b; }
.vp-progress i { display: block; width: 100%; height: 100%; background: #6ac8ff; transform: scaleX(0); transform-origin: left; }
.vp-chin { position: relative; display: grid; place-items: center; height: 14px; margin-inline: -6px; background: linear-gradient(180deg, #e8edf3, #b7c4d3 75%, #95a6ba); border-top: 1px solid #f7f9fc; box-shadow: inset 0 -1px 0 #7d91a8; }
.vp-chin span { color: #54687f; font-size: 6px; line-height: 1; font-weight: 850; letter-spacing: .16em; }
.vp-chin i { position: absolute; right: 13px; top: 5px; width: 3px; height: 3px; border-radius: 50%; background: #74d5e5; box-shadow: 0 0 4px #3b90ab; }
.vp-stand { position: relative; height: 18px; }
.vp-stand::before { content: ""; position: absolute; top: 0; bottom: 3px; left: 43%; width: 14%; background: linear-gradient(90deg, #9aaec3, #e4ebf3 45%, #b1c1d3); clip-path: polygon(12% 0, 88% 0, 100% 100%, 0 100%); box-shadow: inset 0 4px 6px rgba(21, 42, 72, .16); }
.vp-stand::after { content: ""; position: absolute; z-index: -1; left: 25%; right: 25%; bottom: -2px; height: 5px; border-radius: 50%; background: rgba(12, 35, 66, .18); filter: blur(3px); }
.vp-stand i { position: absolute; left: 32%; right: 32%; bottom: 0; height: 5px; border: 1px solid #a9b9ca; border-top-color: #f2f6fa; border-radius: 50% 50% 3px 3px; background: linear-gradient(#e9eff5, #b0c1d2); }
.vp-controls { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 34px; padding: 0 2px; }
.vp-caption { margin: 0; color: var(--ink-2); font-size: 11px; font-weight: 650; line-height: 1.4; }
.vp-actions { display: flex; align-items: center; gap: 5px; flex-shrink: 0; }
.vp-actions button { display: grid; place-items: center; width: 30px; height: 30px; padding: 0; border: 1px solid var(--line); border-radius: 8px; background: var(--blue-3); color: var(--blue); font: inherit; font-size: 22px; line-height: 1; cursor: pointer; }
.vp-actions button:hover { background: #dce9ff; border-color: #9fc0f2; }
.vp button:focus-visible { outline: 3px solid #66bcff; outline-offset: 3px; }
@media (max-width: 480px) {
  .vp-screen { border-inline-width: 5px; }
  .vp-top { padding-inline: 7px; font-size: 8px; }
  .vp-caption { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .vp .vp-slide { transition: none; }
}
