/* Virtualis 20261124-conexion-r2 — «Tu conexión» en la tarjeta de portada, hora de Temuco y tarjetas de proyectos. Inmutable. */
.cx { margin: 0; padding: 4px 0 2px; }
.cx-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 18px; }
.cx-head b { font: 500 15px/1.2 "Space Grotesk", sans-serif; color: #fff; }
.cx-head span { font-size: 12px; color: rgba(255, 255, 255, .5); }
.cx-route { position: relative; list-style: none; margin: 0; padding: 0 0 0 26px; }
.cx-fiber { position: absolute; left: 4px; width: 1px; background: rgba(255, 255, 255, .18); }
.cx-lit { position: absolute; left: 0; top: 0; width: 1px; height: 0; background: linear-gradient(#7fc0ff, rgba(127, 192, 255, .55)); }
.cx-pulse { position: absolute; left: -1px; top: 0; width: 3px; height: 40px; margin-top: -40px; border-radius: 2px; opacity: 0; background: linear-gradient(rgba(127, 192, 255, 0), rgba(127, 192, 255, .9) 70%, #fff); filter: drop-shadow(0 0 6px rgba(127, 192, 255, .8)); }
.cx-node { position: relative; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.cx-node::before, .cx-node::after { content: ''; position: absolute; left: -26px; top: 6px; width: 9px; height: 9px; border-radius: 50%; }
.cx-node::before { background: #0b0f15; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .3); transition: background-color .24s ease, box-shadow .24s ease; }
.cx-node::after { box-shadow: 0 0 0 1px #7fc0ff; opacity: 0; pointer-events: none; }
.cx-node.is-lit::before { background: #7fc0ff; box-shadow: inset 0 0 0 1.5px #7fc0ff; }
.cx-node.is-ping::after { animation: cx-ping .7s cubic-bezier(.23, 1, .32, 1); }
@keyframes cx-ping { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(3.2); } }
.cx-node b { font: 500 15px/1.4 "Space Grotesk", sans-serif; color: #fff; }
.cx-node span { font-size: 13px; color: rgba(255, 255, 255, .7); text-align: right; }
.cx-seg { display: flex; justify-content: space-between; gap: 12px; min-height: 44px; padding: 8px 0 12px; font-size: 12px; color: rgba(255, 255, 255, .5); }
.cx-seg .ms { font-family: "Space Grotesk", sans-serif; font-variant-numeric: tabular-nums; color: rgba(255, 255, 255, .78); white-space: nowrap; }
.cx-total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 16px; }
.cx-total strong { font: 500 34px/1 "Space Grotesk", sans-serif; letter-spacing: -.03em; color: #fff; font-variant-numeric: tabular-nums; white-space: nowrap; }
.cx-total span { font-size: 12px; color: rgba(255, 255, 255, .55); text-align: right; max-width: 22ch; }
.cx-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 12px; font-size: 12px; color: rgba(255, 255, 255, .46); }
.cx-again { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; margin-right: -8px; padding: 0 8px; border: 0; border-radius: 8px; background: none; font: inherit; color: rgba(255, 255, 255, .72); cursor: pointer; }
.cx-again:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.cx-again svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.cx-seg > *, .cx-total > * { transition: opacity .35s ease, transform .35s ease; }
.cx.is-armed .cx-seg > *, .cx.is-armed .cx-total > * { opacity: 0; transform: translateY(4px); }
.cx.is-armed .cx-seg.is-shown > *, .cx.is-armed .cx-total.is-shown > * { opacity: 1; transform: none; }
.cx:not(.is-built) { visibility: hidden; }

/* Hora local bajo el vídeo de Sobre mí */
.about-clock { margin: 14px 0 0; font-size: 13px; color: rgba(255, 255, 255, .55); }
.about-clock b { font: 500 13px "Space Grotesk", sans-serif; font-variant-numeric: tabular-nums; color: rgba(255, 255, 255, .85); }

/* Proyectos: Arcade y Temuco Libre con imagen */
#proyectos .lab-media { display: grid; grid-template-columns: 5fr 7fr; gap: 32px; padding: 32px 0; border-bottom: 1px solid #304858; }
#proyectos .lab-media .lab-project { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
#proyectos .lab-shot { width: 100%; margin-bottom: 20px; border-radius: 12px; overflow: hidden; background: #0d1219; }
#proyectos .lab-shot img { display: block; width: 100%; height: 100%; object-fit: cover; }
#proyectos .lab-mosaic { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; aspect-ratio: 844 / 390; }
#proyectos .lab-temuco .lab-shot { aspect-ratio: 844 / 390; }
#proyectos .lab-kind { font-size: 13px; color: #8fa8bb; margin: 0 0 8px; }
@media (max-width: 900px) { #proyectos .lab-media { grid-template-columns: minmax(0, 1fr); gap: 32px; } }
@media (prefers-reduced-motion: reduce) { .cx-seg > *, .cx-total > * { transition: none; } }
