/* Feed vertical tipo TikTok e historias. */
.feed-body { background: #0E0E1A; color: #fff; overflow: hidden; height: 100dvh; }
.feed-top { position: fixed; z-index: 20; top: 0; left: 0; right: 0; display: flex; align-items: center; gap: .75rem; padding: .75rem 1rem; background: linear-gradient(rgba(14,14,26,.85), transparent); }
.feed-top .marca { color: #fff; font-size: 1.1rem; } .feed-top .marca b { color: var(--amarillo); }
.feed-top .volver { color: #fff; display: grid; place-items: center; width: 44px; height: 44px; }
.feed-top .titulo { font: 800 var(--t-m)/1 var(--display); }
.feed-top .sonido { margin-left: auto; background: rgba(255,255,255,.14); border: 0; color: #fff; width: 44px; height: 44px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; }
.feed-historias { position: fixed; z-index: 19; top: 64px; left: 0; right: 0; display: flex; gap: .75rem; overflow-x: auto; padding: .25rem 1rem .5rem; }
.feed-historias .historia-btn { color: #fff; width: 64px; }
.feed-historias .historia-btn .aro { width: 58px; height: 58px; }
.feed-historias .historia-btn .aro img { border-color: #0E0E1A; }

.feed { height: 100dvh; overflow-y: scroll; scroll-snap-type: y mandatory; scrollbar-width: none; }
.feed::-webkit-scrollbar { display: none; }
.reel { position: relative; height: 100dvh; scroll-snap-align: start; scroll-snap-stop: always; display: grid; place-items: center; }
.reel-marco { position: relative; height: 100%; width: min(100%, calc(100dvh * 9 / 16)); background: #000; overflow: hidden; }
@media (min-width: 700px) { .reel-marco { height: calc(100dvh - 2rem); border: 7px solid #fff; border-radius: 4px; } }
.reel video { width: 100%; height: 100%; object-fit: cover; }
.reel .capa { position: absolute; inset: auto 0 0 0; padding: 5rem 4.75rem 1.25rem 1rem; background: linear-gradient(transparent, rgba(0,0,0,.8)); }
.reel .quien { display: flex; align-items: center; gap: .6rem; color: #fff; text-decoration: none; font: 800 var(--t-m)/1.1 var(--display); margin-bottom: .5rem; }
.reel .quien .av { width: 40px; height: 40px; border-radius: 50%; border: 2px solid #fff; background: var(--c, var(--marca)); background-image: var(--calamina); display: grid; place-items: center; overflow: hidden; font-size: 1.1rem; }
.reel .quien .av img { width: 100%; height: 100%; object-fit: cover; }
.reel .texto { font-size: var(--t-s); line-height: 1.4; margin-bottom: .75rem; text-shadow: 0 1px 2px rgba(0,0,0,.6); }
.reel .producto-pin { display: flex; gap: .7rem; align-items: center; background: #fff; color: var(--tinta); text-decoration: none; border-radius: var(--r); padding: .5rem; border: 2px solid var(--tinta); box-shadow: 0 3px 0 rgba(0,0,0,.4); max-width: 320px; }
.reel .producto-pin img { width: 46px; height: 46px; border-radius: 4px; object-fit: cover; }
.reel .producto-pin b { display: block; font-size: var(--t-s); line-height: 1.2; }
.reel .producto-pin .precio { font-size: var(--t-m); }
.reel .producto-pin .ir { margin-left: auto; background: var(--amarillo); border-radius: 4px; padding: .5rem; display: grid; place-items: center; }
.reel .lateral { position: absolute; right: .6rem; bottom: 1.5rem; display: grid; gap: 1rem; justify-items: center; }
.reel .lateral a, .reel .lateral button { background: rgba(255,255,255,.16); backdrop-filter: blur(6px); color: #fff; border: 0; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; text-decoration: none; }
.reel .lateral .ico { width: 26px; height: 26px; }
.reel .lateral small { display: block; font-size: .7rem; font-weight: 700; text-align: center; margin-top: -.6rem; }
.reel .lateral button.activo { color: var(--coral); background: #fff; }
.reel .pausa { position: absolute; inset: 0; margin: auto; width: 76px; height: 76px; border-radius: 50%; background: rgba(0,0,0,.45); display: grid; place-items: center; opacity: 0; transition: opacity .2s; pointer-events: none; }
.reel .pausa .ico { width: 34px; height: 34px; }
.reel.pausado .pausa { opacity: 1; }
.reel .progreso { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255,255,255,.2); }
.reel .progreso i { display: block; height: 100%; width: 0; background: var(--amarillo); }
.feed-vacio { height: 100dvh; display: grid; place-items: center; text-align: center; padding: 2rem; }

/* Visor de historias */
.visor { position: fixed; inset: 0; z-index: 100; background: #0E0E1A; display: none; place-items: center; }
.visor.abierto { display: grid; }
.visor-marco { position: relative; height: 100dvh; width: min(100%, calc(100dvh * 9 / 16)); background: #000; overflow: hidden; }
.visor-marco video, .visor-marco img { width: 100%; height: 100%; object-fit: cover; }
.visor-barras { position: absolute; top: .6rem; left: .6rem; right: .6rem; display: flex; gap: 4px; z-index: 3; }
.visor-barras span { flex: 1; height: 3px; background: rgba(255,255,255,.35); border-radius: 2px; overflow: hidden; }
.visor-barras span i { display: block; height: 100%; width: 0; background: #fff; }
.visor-cab { position: absolute; top: 1.3rem; left: .8rem; right: .8rem; z-index: 3; display: flex; align-items: center; gap: .6rem; font-weight: 800; font-family: var(--display); color: #fff; }
.visor-cab small { font: 500 var(--t-xs) var(--texto); opacity: .8; }
.visor-cab button { margin-left: auto; background: none; border: 0; color: #fff; cursor: pointer; width: 44px; height: 44px; display: grid; place-items: center; }
.visor-zona { position: absolute; top: 0; bottom: 0; width: 35%; z-index: 2; background: none; border: 0; cursor: pointer; }
.visor-zona.ant { left: 0; } .visor-zona.sig { right: 0; }
.visor-pie { position: absolute; left: .8rem; right: .8rem; bottom: 1rem; z-index: 3; }
.visor-pie .texto { color: #fff; font-weight: 600; margin-bottom: .6rem; text-shadow: 0 1px 3px rgba(0,0,0,.7); }
