/* Virtual ME — Muro, feed y Explorar (estilo minimalista, enfocado en el contenido) */
.disc-head-acts { display: flex; gap: .5rem; align-items: center; }
.disc-me { display: inline-flex; align-items: center; gap: .45rem; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); color: #e2e8f0; border-radius: 999px; padding: .3rem .8rem .3rem .3rem; cursor: pointer; font-size: .82rem; font-weight: 600; }
.disc-me img { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; }
.disc-tabs { display: flex; gap: .25rem; margin: .9rem 0 1rem; border-bottom: 1px solid rgba(255,255,255,.08); position: sticky; top: -1.2rem; z-index: 3; background: rgba(2,6,23,.92); backdrop-filter: blur(8px); }
.disc-tabs button { flex: 1; background: none; border: none; color: #94a3b8; padding: .75rem .4rem; font-weight: 600; font-size: .9rem; cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.disc-tabs button.on { color: #f8fafc; border-bottom-color: #f8fafc; }
.disc-sub { color: #94a3b8; font-size: .85rem; margin-bottom: .7rem; }
.disc-pane.hidden { display: none; }

/* feed */
.vf-top { display: flex; align-items: center; justify-content: space-between; gap: .6rem; max-width: 560px; margin: 0 auto .7rem; }
.vf-mode { display: inline-flex; background: rgba(255,255,255,.05); border-radius: 10px; padding: 3px; }
.vf-mode button { background: none; border: none; color: #94a3b8; padding: .4rem .9rem; border-radius: 8px; font-weight: 600; font-size: .85rem; cursor: pointer; }
.vf-mode button.on { background: rgba(255,255,255,.12); color: #fff; }
.vf-new { background: #f8fafc; color: #020617; border: none; border-radius: 10px; padding: .45rem .9rem; font-weight: 700; font-size: .85rem; cursor: pointer; }
.vf-compose { max-width: 560px; margin: 0 auto 1rem; display: flex; align-items: center; gap: .7rem; padding: .7rem .9rem; border-radius: 14px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07); color: #94a3b8; cursor: pointer; font-size: .9rem; }
.vf-compose img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.vf-compose span { flex: 1; }
.vf-list { max-width: 560px; margin: 0 auto; }
.vf-more { text-align: center; color: #64748b; padding: 1.4rem 0; font-size: .85rem; min-height: 1px; }

/* tarjeta */
.vp-card { border-bottom: 1px solid rgba(255,255,255,.08); padding-bottom: .9rem; margin-bottom: 1rem; color: #e2e8f0; }
.vp-head { display: flex; align-items: center; gap: .6rem; padding: .3rem 0 .6rem; }
.vp-av { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; cursor: pointer; background: #0f172a; }
.vp-who { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.2; }
.vp-who b { font-size: .9rem; cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vp-who small { color: #94a3b8; font-size: .74rem; }
.vp-follow { background: none; border: none; color: #38bdf8; font-weight: 700; font-size: .85rem; cursor: pointer; padding: .3rem .4rem; }
.vp-icon { background: none; border: none; color: #e2e8f0; font-size: 1.3rem; cursor: pointer; padding: .3rem .35rem; line-height: 1; transition: transform .12s; }
.vp-icon:active { transform: scale(.85); }
.vp-head .vp-icon { font-size: 1rem; color: #94a3b8; }
.vp-icon.liked { color: #f43f5e; }
.vp-media { position: relative; width: 100%; background: #000; border-radius: 6px; overflow: hidden; max-height: 78vh; user-select: none; -webkit-user-select: none; }
.vp-track { display: flex; width: 100%; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.vp-track::-webkit-scrollbar { display: none; }
.vp-track > img, .vp-track > video { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; scroll-snap-align: center; }
.vp-video video { width: 100%; height: 100%; object-fit: cover; display: block; }
.vp-sound { position: absolute; right: .6rem; bottom: .6rem; width: 30px; height: 30px; border-radius: 50%; border: none; background: rgba(0,0,0,.6); color: #fff; cursor: pointer; font-size: .8rem; }
.vp-count { position: absolute; top: .6rem; right: .6rem; background: rgba(0,0,0,.6); color: #fff; font-size: .72rem; padding: .15rem .5rem; border-radius: 999px; }
.vp-dots { position: absolute; bottom: .55rem; left: 0; right: 0; display: flex; justify-content: center; gap: 4px; pointer-events: none; }
.vp-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.45); }
.vp-dots i.on { background: #fff; }
.vp-burst { position: absolute; left: 50%; top: 50%; font-size: 5.5rem; color: #fff; opacity: 0; transform: translate(-50%, -50%) scale(.3); pointer-events: none; filter: drop-shadow(0 6px 18px rgba(0,0,0,.45)); }
.vp-burst.go { animation: vp-burst .9s ease forwards; }
@keyframes vp-burst { 15% { opacity: .95; transform: translate(-50%, -50%) scale(1.1); } 30% { transform: translate(-50%, -50%) scale(.95); } 70% { opacity: .95; transform: translate(-50%, -50%) scale(1); } 100% { opacity: 0; transform: translate(-50%, -50%) scale(1); } }
.vp-text { position: relative; padding: .2rem 0 .3rem; font-size: .98rem; line-height: 1.5; white-space: normal; word-wrap: break-word; }
.vp-text.big { font-size: 1.35rem; line-height: 1.35; font-weight: 500; padding: 1.4rem 1rem; border-radius: 10px; background: linear-gradient(135deg, rgba(6,182,212,.16), rgba(139,92,246,.16)); }
.vp-text a, .vp-cap a, .vp-c a, .vp-cm a { color: #38bdf8; text-decoration: none; }
.vp-tag { cursor: pointer; }
.vp-link { display: flex; flex-direction: column; margin-top: .5rem; border-radius: 12px; overflow: hidden; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); color: #e2e8f0; text-decoration: none; }
.vp-link img { width: 100%; max-height: 300px; object-fit: cover; display: block; background: #000; }
.vp-link div { display: flex; flex-direction: column; gap: .15rem; padding: .65rem .8rem; }
.vp-link small { color: #94a3b8; font-size: .72rem; text-transform: lowercase; }
.vp-link b { font-size: .92rem; }
.vp-link span { color: #94a3b8; font-size: .8rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.vp-actions { display: flex; align-items: center; gap: .3rem; padding-top: .45rem; }
.vp-sp { flex: 1; }
.vp-likes { font-weight: 700; font-size: .86rem; padding: .1rem .2rem .25rem; }
.vp-cap, .vp-c { font-size: .88rem; line-height: 1.45; padding: 0 .2rem .15rem; word-wrap: break-word; }
.vp-cap b, .vp-c b { cursor: pointer; margin-right: .15rem; }
.vp-cap.clamp { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.vp-more-txt, .vp-allc { background: none; border: none; color: #94a3b8; font-size: .85rem; cursor: pointer; padding: 0 .2rem .2rem; }
.vp-card.full { border: none; }
.vp-comments { margin-top: .6rem; border-top: 1px solid rgba(255,255,255,.08); padding-top: .6rem; max-height: 42vh; overflow-y: auto; }
.vp-cm { display: flex; gap: .55rem; align-items: flex-start; padding: .35rem 0; }
.vp-cm img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; cursor: pointer; }
.vp-cm p { flex: 1; font-size: .86rem; line-height: 1.4; word-wrap: break-word; }
.vp-cm b { cursor: pointer; }
.vp-cm small { display: block; color: #64748b; font-size: .72rem; margin-top: .1rem; }
.vp-cm .vp-icon { font-size: .8rem; color: #64748b; }
.vp-noc { color: #64748b; font-size: .85rem; padding: .4rem 0; }
.vp-cform { display: flex; gap: .55rem; align-items: center; border-top: 1px solid rgba(255,255,255,.08); padding-top: .6rem; margin-top: .4rem; }
.vp-cform img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; }
.vp-cform input { flex: 1; background: none; border: none; color: #f8fafc; font-size: .92rem; outline: none; padding: .45rem 0; }
.vp-cform button { background: none; border: none; color: #38bdf8; font-weight: 700; cursor: pointer; }

/* Explorar y muro (cuadrícula) */
.vx-people { display: flex; gap: .9rem; overflow-x: auto; padding: .2rem 0 .9rem; scrollbar-width: none; }
.vx-people button { background: none; border: none; color: #e2e8f0; display: flex; flex-direction: column; align-items: center; gap: .3rem; cursor: pointer; flex: 0 0 auto; width: 64px; font-size: .74rem; }
.vx-people img { width: 58px; height: 58px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(56,189,248,.6); padding: 2px; }
.vx-people span { max-width: 64px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vx-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; }
.vx-tile { position: relative; aspect-ratio: 1; border: none; padding: 0; background: #0f172a; overflow: hidden; cursor: pointer; color: #fff; }
.vx-tile img, .vx-tile video { width: 100%; height: 100%; object-fit: cover; display: block; }
.vx-ic { position: absolute; top: .45rem; right: .45rem; font-size: .9rem; filter: drop-shadow(0 1px 3px rgba(0,0,0,.7)); }
.vx-txt { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; padding: .7rem; background: linear-gradient(135deg, #0e7490, #6d28d9); }
.vx-txt p { font-size: .78rem; line-height: 1.35; text-align: center; display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.vx-hover { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: .5rem; background: rgba(0,0,0,.45); opacity: 0; transition: opacity .15s; font-weight: 700; font-size: .85rem; }
@media (hover: hover) { .vx-tile:hover .vx-hover { opacity: 1; } }
.vx-grid .disc-empty { grid-column: 1 / -1; }

/* muro en el perfil */
.dp-wall { padding-top: .4rem; }
.w-stats { display: flex; justify-content: space-around; text-align: center; padding: .4rem 0 .8rem; }
.w-stats div { display: flex; flex-direction: column; }
.w-stats b { font-size: 1.1rem; }
.w-stats span { color: #94a3b8; font-size: .76rem; }
.w-act { display: flex; gap: .5rem; align-items: center; justify-content: center; margin-bottom: .8rem; }
.w-act:empty { display: none; }
.w-btn { flex: 1; max-width: 300px; border: none; border-radius: 10px; padding: .55rem 1rem; font-weight: 700; cursor: pointer; background: rgba(255,255,255,.1); color: #f8fafc; }
.w-btn.primary { background: #0ea5e9; color: #fff; }
.w-chip { font-size: .74rem; color: #94a3b8; border: 1px solid rgba(255,255,255,.15); border-radius: 8px; padding: .2rem .5rem; }
.w-tabs { display: flex; border-top: 1px solid rgba(255,255,255,.08); margin: 0 -1.2rem .2rem; }
.w-tabs button { flex: 1; background: none; border: none; color: #64748b; padding: .7rem 0; font-size: 1.05rem; cursor: pointer; border-top: 1px solid transparent; margin-top: -1px; }
.w-tabs button.on { color: #f8fafc; border-top-color: #f8fafc; }
.w-grid { margin: 0 -1.2rem; }

/* visor de publicación y compositor */
.vpost { position: fixed; inset: 0; z-index: 470; background: rgba(2,6,23,.82); backdrop-filter: blur(6px); display: flex; align-items: center; justify-content: center; padding: 1rem; animation: vmc-fade .15s ease; }
.vpost-card { position: relative; width: min(600px, 100%); max-height: 94vh; overflow-y: auto; background: #020617; border: 1px solid rgba(255,255,255,.1); border-radius: 18px; padding: 1rem 1.1rem; color: #e2e8f0; }
.vpost-x { position: absolute; top: .45rem; right: .45rem; z-index: 2; font-size: 1.1rem; color: #94a3b8; }
#vpost-body .vp-head { padding-right: 2rem; }
@media (max-width: 600px) { .vpost { padding: 0; } .vpost-card { max-height: 100vh; height: 100%; border-radius: 0; border: none; } }
.vc-head { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin: -.3rem 0 .8rem; }
.vc-pub { background: #0ea5e9; color: #fff; border: none; border-radius: 10px; padding: .45rem 1rem; font-weight: 700; cursor: pointer; }
.vc-pub:disabled { opacity: .4; cursor: not-allowed; }
.vc-me { display: flex; align-items: center; gap: .6rem; margin-bottom: .5rem; }
.vc-me img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
#vc-text { width: 100%; background: none; border: none; outline: none; color: #f8fafc; font-size: 1.05rem; line-height: 1.5; resize: vertical; min-height: 90px; font-family: inherit; }
.vc-prev { display: flex; gap: .5rem; overflow-x: auto; padding: .4rem 0; }
.vc-it, .vc-add { position: relative; flex: 0 0 110px; height: 110px; border-radius: 10px; overflow: hidden; background: #0f172a; }
.vc-it img, .vc-it video { width: 100%; height: 100%; object-fit: cover; }
.vc-it button { position: absolute; top: 4px; right: 4px; width: 24px; height: 24px; border-radius: 50%; border: none; background: rgba(0,0,0,.7); color: #fff; cursor: pointer; font-size: .75rem; }
.vc-add { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .3rem; border: 1px dashed rgba(255,255,255,.25); color: #94a3b8; cursor: pointer; font-size: .78rem; }
.vc-add i { font-size: 1.3rem; }
.vc-tools { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.08); padding-top: .6rem; margin-top: .4rem; }
.vc-tool { color: #38bdf8; cursor: pointer; font-weight: 600; font-size: .9rem; }
.vc-count { color: #64748b; font-size: .76rem; }
.vc-aud { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; margin-top: .8rem; }
.vc-aud > span { width: 100%; font-size: .8rem; color: #94a3b8; }
.vc-aud button { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); color: #cbd5e1; border-radius: 999px; padding: .35rem .75rem; font-size: .8rem; cursor: pointer; }
.vc-aud button.on { background: rgba(14,165,233,.2); border-color: #0ea5e9; color: #fff; }
.vc-aud small { width: 100%; color: #64748b; font-size: .75rem; }
.vc-prog { height: 4px; background: rgba(255,255,255,.08); border-radius: 4px; overflow: hidden; margin-top: .8rem; }
.vc-prog div { height: 100%; width: 0; background: linear-gradient(90deg, #06b6d4, #8b5cf6); transition: width .2s; }

/* hoja de acciones (compartir / opciones) */
.vsheet { position: fixed; inset: 0; z-index: 480; background: rgba(0,0,0,.55); display: flex; align-items: flex-end; justify-content: center; animation: vmc-fade .12s ease; }
.vsheet-body { width: min(480px, 100%); background: #0f172a; border-radius: 18px 18px 0 0; padding: .6rem .6rem max(.8rem, env(safe-area-inset-bottom)); }
.vsheet-body h4 { text-align: center; color: #94a3b8; font-size: .8rem; font-weight: 600; padding: .4rem 0 .6rem; }
.vsheet-body button { display: flex; align-items: center; gap: .9rem; width: 100%; padding: .8rem .9rem; border: none; background: none; color: #e2e8f0; font-size: .95rem; cursor: pointer; border-radius: 12px; text-align: left; }
.vsheet-body button:hover { background: rgba(255,255,255,.05); }
.vsheet-body button i { width: 22px; text-align: center; font-size: 1.1rem; color: #94a3b8; }
.vsheet-body button.danger { color: #f87171; }
.vsheet-body button.danger i { color: #f87171; }
.vsheet-body button.cancel { justify-content: center; color: #94a3b8; margin-top: .2rem; }

.vp-card.full .vp-media { max-height: 62vh; }
.vp-cform input[aria-label] { background: transparent; border: none; box-shadow: none; margin: 0; text-align: left; }

/* Editor de fotos */
.ved { position: fixed; inset: 0; z-index: 495; background: #000; display: flex; flex-direction: column; color: #f8fafc; user-select: none; -webkit-user-select: none; }
.ved-top { display: flex; align-items: center; justify-content: space-between; padding: max(.6rem, env(safe-area-inset-top)) .9rem .6rem; }
.ved-txt { background: none; border: none; color: #e2e8f0; font-size: .95rem; cursor: pointer; padding: .3rem .2rem; }
.ved-txt.ok { color: #38bdf8; font-weight: 700; }
.ved-stage { position: relative; flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; padding: .4rem; touch-action: none; }
#ved-canvas { max-width: 100%; max-height: 100%; display: block; box-shadow: 0 10px 40px rgba(0,0,0,.6); }
.ved-grid { position: absolute; inset: 0; pointer-events: none; }
.ved-hint { position: absolute; bottom: .6rem; left: 50%; transform: translateX(-50%); font-size: .72rem; color: rgba(255,255,255,.55); background: rgba(0,0,0,.45); padding: .2rem .6rem; border-radius: 999px; pointer-events: none; white-space: nowrap; }
.ved-panel { min-height: 150px; padding: .5rem 0 .2rem; }
.ved-load { text-align: center; color: #94a3b8; padding: 2rem 0; }
.ved-filters { display: flex; gap: .7rem; overflow-x: auto; padding: 0 1rem .3rem; scrollbar-width: none; }
.ved-filters::-webkit-scrollbar { display: none; }
.ved-filters button { flex: 0 0 auto; background: none; border: none; color: #94a3b8; display: flex; flex-direction: column; align-items: center; gap: .35rem; cursor: pointer; font-size: .74rem; }
.ved-filters canvas { width: 76px; height: 76px; object-fit: cover; border-radius: 4px; border: 2px solid transparent; background: #111; }
.ved-filters button.on { color: #fff; font-weight: 700; }
.ved-filters button.on canvas { border-color: #fff; }
.ved-amount, .ved-slider { display: flex; align-items: center; gap: .8rem; padding: .7rem 1.2rem 0; font-size: .8rem; color: #cbd5e1; }
.ved-amount.hidden, .ved-slider.hidden { display: none; }
.ved-amount input, .ved-slider input { flex: 1; accent-color: #f8fafc; }
.ved-amount b, .ved-slider b { width: 2.6rem; text-align: right; font-variant-numeric: tabular-nums; }
.ved-tools { display: flex; gap: .4rem; overflow-x: auto; padding: 0 1rem; scrollbar-width: none; }
.ved-tools::-webkit-scrollbar { display: none; }
.ved-tools button { flex: 0 0 74px; background: none; border: none; color: #94a3b8; display: flex; flex-direction: column; align-items: center; gap: .3rem; cursor: pointer; font-size: .72rem; padding: .4rem 0; border-radius: 10px; }
.ved-tools button i { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.25); display: flex; align-items: center; justify-content: center; font-size: 1rem; }
.ved-tools button.on { color: #fff; }
.ved-tools button.on i, .ved-tools button.set i { border-color: #f8fafc; color: #fff; }
.ved-tools button b { font-size: .68rem; color: #38bdf8; min-height: .9em; }
.ved-mini { background: none; border: none; color: #94a3b8; cursor: pointer; }
.ved-crop { padding: 0 1rem; display: flex; flex-direction: column; gap: .4rem; }
.ved-asp, .ved-geo { display: flex; gap: .45rem; justify-content: center; flex-wrap: wrap; }
.ved-asp button, .ved-geo button { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); color: #cbd5e1; border-radius: 999px; padding: .38rem .8rem; font-size: .8rem; cursor: pointer; }
.ved-asp button.on { background: #f8fafc; color: #000; border-color: #f8fafc; font-weight: 700; }
.ved-crop .ved-amount { padding: .2rem .2rem 0; }
.ved-tabs { display: flex; border-top: 1px solid rgba(255,255,255,.1); padding-bottom: env(safe-area-inset-bottom); }
.ved-tabs button { flex: 1; background: none; border: none; color: #64748b; padding: .9rem 0; font-weight: 700; font-size: .9rem; cursor: pointer; }
.ved-tabs button.on { color: #fff; }
.vc-edit { position: absolute; left: 4px; bottom: 4px; height: 26px; padding: 0 .55rem; border-radius: 999px; border: none; background: rgba(0,0,0,.72); color: #fff; cursor: pointer; font-size: .72rem; display: inline-flex; align-items: center; gap: .3rem; }
.vc-edit.done { background: rgba(14,165,233,.9); }

/* Editor de videos */
.vved .ved-stage { position: relative; }
#vv-out { max-width: 100%; max-height: 100%; display: block; background: #000; }
.vv-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 64px; height: 64px; border-radius: 50%; border: none; background: rgba(0,0,0,.55); color: #fff; font-size: 1.4rem; cursor: pointer; transition: opacity .2s; }
.vv-play.on { opacity: 0; }
.ved-stage:hover .vv-play.on { opacity: .8; }
.vv-trim { position: relative; height: 52px; margin: .5rem 1rem 0; border-radius: 8px; overflow: hidden; background: #111; touch-action: none; cursor: pointer; }
.vv-strip { position: absolute; inset: 0; display: flex; }
.vv-strip canvas { flex: 1; min-width: 0; height: 100%; object-fit: cover; opacity: .55; }
.vv-sel { position: absolute; top: 0; bottom: 0; border: 3px solid #facc15; border-radius: 8px; box-shadow: 0 0 0 999px rgba(0,0,0,.55); background: rgba(250,204,21,.06); }
.vv-h { position: absolute; top: -3px; bottom: -3px; width: 16px; background: #facc15; cursor: ew-resize; }
.vv-h.l { left: -3px; border-radius: 6px 0 0 6px; } .vv-h.r { right: -3px; border-radius: 0 6px 6px 0; }
.vv-h::after { content: ''; position: absolute; left: 6px; top: 35%; bottom: 35%; width: 3px; border-radius: 2px; background: rgba(0,0,0,.55); }
.vv-head { position: absolute; top: 0; bottom: 0; width: 2px; background: #fff; pointer-events: none; }
.vv-times { display: flex; justify-content: space-between; font-size: .75rem; color: #94a3b8; padding: .3rem 1.1rem 0; font-variant-numeric: tabular-nums; }
.vv-times b { color: #f8fafc; }
.vv-panel { min-height: 130px; }
.vv-help { color: #94a3b8; font-size: .78rem; text-align: center; padding: .2rem 1rem .6rem; }
.vv-adj { display: grid; grid-template-columns: 1fr 1fr; gap: .2rem .9rem; padding: .5rem 1rem 0; }
.vv-adj label { display: flex; align-items: center; gap: .4rem; font-size: .72rem; color: #cbd5e1; }
.vv-adj label span { width: 4.6rem; }
.vv-adj input { flex: 1; min-width: 0; accent-color: #f8fafc; }
.vv-adj b { width: 2rem; text-align: right; font-size: .7rem; }
.vv-text { padding: 0 1rem; display: flex; flex-direction: column; gap: .55rem; }
.vv-text input#vv-tx { width: 100%; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); border-radius: 10px; color: #fff; padding: .6rem .8rem; font-size: .95rem; text-align: left; margin: 0; }
.vv-row { display: flex; gap: .5rem; justify-content: center; align-items: center; }
.vv-col { width: 28px; height: 28px; border-radius: 50%; border: 2px solid rgba(255,255,255,.3); cursor: pointer; }
.vv-col.on { border-color: #38bdf8; box-shadow: 0 0 0 2px #38bdf8; }
.vv-opt { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); color: #cbd5e1; border-radius: 8px; width: 34px; height: 30px; cursor: pointer; }
.vv-opt.on { background: #f8fafc; color: #000; }
.vv-audio { padding: .3rem 1rem; display: flex; flex-direction: column; gap: .7rem; align-items: center; }
.vv-switch { display: flex; align-items: center; gap: .6rem; font-size: .9rem; }
.vv-switch input { width: 20px; height: 20px; accent-color: #0ea5e9; margin: 0; }
.vv-lab { color: #94a3b8; font-size: .8rem; align-self: center; margin-right: .3rem; }
.vv-export { position: absolute; inset: 0; z-index: 5; background: rgba(0,0,0,.85); display: flex; align-items: center; justify-content: center; }
.vv-export > div { width: min(320px, 86vw); display: flex; flex-direction: column; gap: .5rem; align-items: center; text-align: center; }
.vv-export i { font-size: 2rem; color: #38bdf8; }
.vv-export small { color: #94a3b8; }
.vv-export .vc-prog { width: 100%; }
.vc-edit.must { background: rgba(234,88,12,.92); }

/* Cámara integrada */
.vcap { position: fixed; inset: 0; z-index: 500; background: #000; display: flex; align-items: center; justify-content: center; }
.vcap video, .vcap img { max-width: 100%; max-height: 100%; width: 100%; height: 100%; object-fit: contain; }
.vcap video.mirror { transform: scaleX(-1); }
.vcap-x { position: absolute; top: max(.8rem, env(safe-area-inset-top)); left: .8rem; width: 42px; height: 42px; border-radius: 50%; border: none; background: rgba(0,0,0,.5); color: #fff; font-size: 1.2rem; cursor: pointer; }
.vcap-bar { position: absolute; left: 0; right: 0; bottom: max(1.4rem, env(safe-area-inset-bottom)); display: flex; align-items: center; justify-content: space-around; }
.vcap-bar > span { width: 48px; }
.vcap-shutter { width: 76px; height: 76px; border-radius: 50%; border: 5px solid #fff; background: rgba(255,255,255,.25); cursor: pointer; transition: transform .1s; }
.vcap-shutter:active { transform: scale(.9); background: #fff; }
.vcap-flip { width: 48px; height: 48px; border-radius: 50%; border: none; background: rgba(255,255,255,.15); color: #fff; font-size: 1.2rem; cursor: pointer; }
.vcap-txt, .vcap-use { border: none; border-radius: 999px; padding: .8rem 1.4rem; font-weight: 700; font-size: .95rem; cursor: pointer; }
.vcap-txt { background: rgba(255,255,255,.15); color: #fff; }
.vcap-use { background: #0ea5e9; color: #fff; }
.vc-tools > span:first-child { display: flex; gap: 1rem; align-items: center; }
.vc-cam { background: none; border: none; font: inherit; }

/* v6.6: identidad propia — guardar (disquete) a la izquierda; Me gusta, comentar y enviar (sobre) a la derecha */
.vp-likes { text-align: right; }
.vp-icon.saved { color: #38bdf8; }

.demo-tag { font-style: normal; font-size: .62rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #c4b5fd; border: 1px solid rgba(167,139,250,.55);
  border-radius: 6px; padding: 0 .3rem; margin-left: .3rem; vertical-align: middle; }
.dp-chip.demo { background: rgba(124,58,237,.16); color: #ddd6fe; border-color: rgba(167,139,250,.45); }

/* Repostear */
.vp-via { display: flex; align-items: center; gap: .4rem; font-size: .78rem; color: #94a3b8; padding: .1rem 0 .4rem; }
.vp-via i.fa-retweet { color: #34d399; }
.vp-via b { color: #cbd5e1; cursor: pointer; }
.vp-via .vp-icon { margin-left: auto; font-size: .8rem; color: #64748b; }
.vp-via-txt { font-size: .9rem; line-height: 1.45; padding: 0 0 .5rem; }
.vp-icon.reposted { color: #34d399; }
.vp-gone .vp-text { color: #64748b; font-style: italic; }
/* Enviar por chat */
.vsend { max-height: 78vh; display: flex; flex-direction: column; }
.vsend .disc-search { margin: .2rem .4rem .5rem; }
.vsend-list { overflow-y: auto; padding: 0 .2rem; }
.vsend-list h5 { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: #64748b; padding: .6rem .6rem .3rem; }
.vs-row { display: flex !important; align-items: center; gap: .7rem; }
.vs-row img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.vs-row span { display: flex; flex-direction: column; text-align: left; }
.vs-row small { color: #64748b; font-size: .75rem; }
.vs-row.hidden { display: none !important; }
.vs-empty { color: #64748b; padding: 1rem; text-align: center; font-size: .85rem; }

/* Listas de guardados */
.w-lists { display: flex; gap: .45rem; overflow-x: auto; padding: .7rem 0 .6rem; scrollbar-width: none; }
.w-lists::-webkit-scrollbar { display: none; }
.w-lists button { flex: 0 0 auto; display: inline-flex; align-items: center; gap: .35rem; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.05); color: #cbd5e1;
  border-radius: 999px; padding: .4rem .75rem; font-size: .8rem; cursor: pointer; }
.w-lists button b { font-size: .7rem; color: #94a3b8; }
.w-lists button.on { background: #f8fafc; color: #020617; border-color: #f8fafc; }
.w-lists button.on b { color: #475569; }
.w-lists button.add { border-style: dashed; color: #38bdf8; }
.w-lists [data-wlm] { margin-left: .15rem; padding: 0 .15rem; }
