/* «Lo más moderno» (v3 IA, 10 nov). Leandra: «deberiaas redisenar con IA con la UI mas moderna que se pueda
   hacer de cada pantalla … y conservar el efecto del gold halo sobre el movimiento del dedo»; al ver las
   imágenes: «amo lo mas moderno». Spec de Dirección estética: 02_marca/rediseno_ia/SPEC_LO_MAS_MODERNO.md
   (referencias en rediseno_ia/salida/v3_<pantalla>.jpg). Es una capa encima de foro.css: no cambia ninguna
   función (Inicio a pantalla completa, el video y los 3 botones de una opinión, la cámara al grabar, los
   discos «VS» y el ▲ de los debates, los números de la API). */

@property --ha { syntax: '<angle>'; inherits: true; initial-value: 90deg; }

#pantalla-foro, #pantalla-grabar, #reels {
  --v3-vidrio: linear-gradient(160deg, rgba(91, 35, 80, 0.55), rgba(25, 22, 28, 0.92) 65%);
  --v3-vidrio-hondo: linear-gradient(160deg, rgba(91, 35, 80, 0.62), rgba(20, 16, 24, 0.96) 70%);
  --v3-borde: 1px solid rgba(255, 255, 255, 0.09);
  --v3-brillo: inset 0 1px 0 rgba(255, 255, 255, 0.1);
  --v3-sombra: 0 18px 40px rgba(0, 0, 0, 0.45);
  --v3-marfil: #f4ede2;
  --v3-orquidea: #c98bbb;
  --v3-oro: #ffb46b;
  --v3-titulo: 900 40px/1.02 Nunito, system-ui, sans-serif;
}

/* ------------------------------------------------------------------ el halo (brillo.js, una pieza por pantalla) */
.halo-anillo { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 6; transition: --ha 0.22s ease-out; }
.halo-anillo > i {
  position: absolute; border-radius: inherit;
  background: conic-gradient(from var(--ha), rgba(255, 180, 107, 0) 0deg, #ffb46b 16deg, #ffe2b8 45deg, #ffb46b 74deg, rgba(255, 180, 107, 0) 90deg, rgba(255, 180, 107, 0) 360deg) border-box;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.halo-anillo > .halo-linea { inset: 0; padding: 2px; }
.halo-anillo > .halo-luz { inset: -7px; padding: 14px; filter: blur(7px); opacity: 0.45; }
@media (prefers-reduced-motion: reduce) { .halo-anillo { transition: none; } }

/* ------------------------------------------------------------------ sistema */
/* Vidrio ciruela en capas: tarjetas grandes 28px, chicas 20px. */
#pantalla-foro .hero-hoy, #pantalla-foro .deb-tarjeta, #pantalla-foro .yo-grupo, #pantalla-foro .deb-inv,
#pantalla-grabar.historia.cromo .y-pie {
  background: var(--v3-vidrio); border: var(--v3-borde); border-radius: 28px; box-shadow: var(--v3-brillo), var(--v3-sombra);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
}
#pantalla-foro[data-tab="explorar"] #categorias .fila-cat, #lista.grid-v > li.gv,
#pantalla-foro[data-tab="explorar"] .recientes-tarjetas #recientes:not(.expandido) > li.fila-hilo,
#pantalla-foro[data-tab="yo"] #foro-mios .mio {
  border: var(--v3-borde) !important; border-radius: 20px !important; box-shadow: var(--v3-brillo), 0 10px 26px rgba(0, 0, 0, 0.4);
}
/* Los títulos grandes, apretados y en marfil (sin degradé, salvo la pregunta de grabar). */
.reels.inicio .reel-titulo, #pantalla-foro .hero-hoy-texto, #vista-hilo.op #hilo-titulo, .cat-hero #categoria-titulo,
.yo-apodo, #pantalla-foro[data-tab="yo"] > .foro-cabecera .marca::after, #pantalla-foro[data-tab="debates"] > .foro-cabecera .marca::after {
  font-family: Nunito, system-ui, sans-serif; font-weight: 900; letter-spacing: -0.02em; line-height: 1.02; color: var(--v3-marfil);
}
#pantalla-foro[data-tab="yo"] > .foro-cabecera .marca::after, #pantalla-foro[data-tab="debates"] > .foro-cabecera .marca::after { font-size: 40px; }
/* Lo elegido: pastilla orquídea con texto tinta y un borde dorado finito. */
.segm .chip[aria-pressed="true"], .orden.segm .chip[aria-pressed="true"], .segm.yo-segm .chip[aria-pressed="true"], .segm.deb-segm .chip[aria-pressed="true"],
#pantalla-grabar.historia.cromo .y-seg button[aria-pressed="true"], .reels-pestana.on {
  background: var(--v3-orquidea) !important; color: #141016 !important; box-shadow: 0 0 0 1px rgba(255, 196, 120, 0.85), 0 4px 14px rgba(201, 139, 187, 0.35) !important;
}
.reels-pestana { padding: 6px 14px; border-radius: 99px; border: 0; }
.reels-pestana.on { text-shadow: none; }
.segm, .segm.yo-segm, .segm.deb-segm {
  background: rgba(36, 28, 40, 0.72); border: var(--v3-borde); border-radius: 999px; padding: 5px; box-shadow: var(--v3-brillo);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}
.segm .chip, .segm.yo-segm .chip, .segm.deb-segm .chip { border-radius: 999px; }

/* La barra de abajo, en vidrio ciruela; el botón de grabar: aro de cromo plateado-marfil y centro rojo con la máscara. */
.tabbar {
  background: linear-gradient(160deg, rgba(70, 30, 62, 0.78), rgba(22, 18, 26, 0.9) 70%); border: var(--v3-borde); border-radius: 30px;
  box-shadow: var(--v3-brillo), 0 14px 34px rgba(0, 0, 0, 0.5);
}
.tabbar .tab-grabar {
  background: conic-gradient(from 200deg, #fbfaf7, #b9b6b2, #f4ede2, #8f8b88, #fbfaf7);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.55), 0 0 0 4px rgba(13, 11, 16, 0.9), inset 0 1px 0 #fff;
}
.tabbar .tab-grabar-centro { width: 44px; height: 44px; background: radial-gradient(circle at 40% 32%, #ff6b72, #d4293a 72%); box-shadow: inset 0 -2px 4px rgba(80, 0, 10, 0.4); }

/* ------------------------------------------------------------------ Inicio */
.reels.inicio .reel-titulo { font-size: 40px; text-shadow: 0 2px 16px rgba(0, 0, 0, 0.55); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.reels.inicio .reel-acciones {
  right: 10px; width: 64px; padding: 10px 0; gap: 10px; border-radius: 32px;
  background: linear-gradient(180deg, rgba(70, 30, 62, 0.62), rgba(22, 18, 26, 0.78)); border: var(--v3-borde); box-shadow: var(--v3-brillo), var(--v3-sombra);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
}
.reels.inicio .reel-acciones .reel-accion { min-width: 0; width: 64px; }
.reels.inicio .reel-acciones .reel-accion svg, .reels.inicio .reel-votos .voto.arriba .flecha, .reel-mas-puntos { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.12); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12); }
.reels.inicio .reel-votos .voto.arriba { min-width: 0; width: 64px; }
.reel-progreso { height: 4px; background: rgba(255, 255, 255, 0.16); }
.reel-progreso i { background: linear-gradient(90deg, #ffb46b, #ffe2b8); box-shadow: 0 0 8px rgba(255, 180, 107, 0.6); }
.reels.inicio .reel-cat { color: var(--v3-oro); letter-spacing: 0.12em; text-transform: uppercase; font-size: 11px; font-weight: 800; }

/* ------------------------------------------------------------------ Explorar */
#pantalla-foro .hero-hoy { padding: 26px 22px 22px; text-align: left; margin-top: 10px; }
#pantalla-foro .hero-hoy-ojo { text-align: center; }
#pantalla-foro .hero-hoy-texto { font-size: 40px; margin: 14px 0 20px; background: none; -webkit-background-clip: border-box; background-clip: border-box; text-wrap: balance; }
#pantalla-foro .hero-hoy-boton {
  display: flex; width: 100%; justify-content: center; min-height: 54px; border-radius: 999px; font-size: 16px;
  background: var(--v3-marfil); color: #1c0f1a; box-shadow: inset 0 1px 0 #fff, 0 8px 22px rgba(0, 0, 0, 0.35);
}
#pantalla-foro[data-tab="explorar"] #categorias .fila-cat { background: var(--v3-vidrio) !important; padding: 16px 6px 12px; gap: 6px; }
#pantalla-foro[data-tab="explorar"] #categorias .fila-cat .icono { width: 56px; height: 56px; background: none; border: 0; box-shadow: none; }
#pantalla-foro[data-tab="explorar"] #categorias .fila-cat .icono .ico, #pantalla-foro[data-tab="explorar"] #categorias .fila-cat .icono svg { width: 48px; height: 48px; color: var(--v3-marfil); stroke-width: 1.4; filter: none; }
#pantalla-foro[data-tab="explorar"] #categorias .fila-cat a.nombre { font-family: Nunito, system-ui, sans-serif; font-weight: 900; font-size: 14px; }
#pantalla-foro[data-tab="explorar"] #vista-indice .tablero-barra { font-size: 20px; font-weight: 900; letter-spacing: -0.01em; }

/* ------------------------------------------------------------------ Categoría */
.cat-hero { flex-direction: column; text-align: center; gap: 10px; margin-bottom: 16px; }
.cat-hero-texto { text-align: center; }
.cat-hero-ico {
  width: 120px; height: 120px; border-radius: 50%; position: relative;
  background: radial-gradient(circle at 35% 30%, rgba(120, 50, 104, 0.95), rgba(28, 18, 30, 0.95) 72%); border: var(--v3-borde);
  box-shadow: var(--v3-brillo), 0 16px 40px rgba(0, 0, 0, 0.5);
}
/* El arco dorado fijo de la cabecera (aparte del halo que sigue al dedo). */
.cat-hero-ico::after {
  content: ''; position: absolute; inset: -4px; border-radius: 50%; padding: 2px; pointer-events: none;
  background: conic-gradient(from 0deg, #ffb46b 0deg, #ffe2b8 50deg, rgba(255, 180, 107, 0) 110deg, rgba(255, 180, 107, 0) 360deg) border-box;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  filter: drop-shadow(0 0 6px rgba(255, 180, 107, 0.5));
}
.cat-hero-ico .ico, .cat-hero-ico svg { width: 60px; height: 60px; color: var(--v3-marfil); }
.cat-hero #categoria-titulo { font-size: 40px; text-align: center; }
.cat-hero .tablero-desc, .cat-hero-num { text-align: center; }
.cat-top-nombre { visibility: hidden; }
/* El selector en pastillas sueltas. */
.orden.segm { background: none; border: 0; box-shadow: none; padding: 0; gap: 8px; backdrop-filter: none; -webkit-backdrop-filter: none; }
.orden.segm .chip { flex: 0 1 auto; padding: 9px 16px; background: rgba(46, 30, 46, 0.75); border: var(--v3-borde); color: var(--v3-marfil); font-weight: 700; }
/* Las tarjetas: el título grande arriba y los votos abajo. */
#lista.grid-v > li.gv { justify-content: space-between; padding: 14px 12px 12px; height: 210px; }
#lista.grid-v > li.gv::after { inset: 0; height: auto; background: linear-gradient(180deg, rgba(13, 11, 16, 0.82) 0%, rgba(13, 11, 16, 0.25) 55%, rgba(13, 11, 16, 0.7) 100%); }
#lista.grid-v > li.gv .titulo { order: -1; font-size: 18px; line-height: 1.08; font-weight: 900; letter-spacing: -0.01em; -webkit-line-clamp: 4; }
#lista.grid-v > li.gv .numeros { margin-top: auto; }
#lista.grid-v > li.gv .con-debates .debate-etiqueta { background: var(--v3-orquidea); color: #141016; border-radius: 99px; padding: 2px 9px; }
.fab-opinar { background: var(--v3-marfil); box-shadow: inset 0 1px 0 #fff, 0 10px 26px rgba(0, 0, 0, 0.5); }

/* ------------------------------------------------------------------ Una opinión */
#vista-hilo.op .op-cabeza, #vista-hilo.op > .tablero { background: linear-gradient(180deg, #3a1834 0%, #2a1428 40%, #1c121e 100%) !important; }
#vista-hilo.op > .tablero { background: #1c121e !important; }
#vista-hilo.op .op-cabeza { border-radius: 28px 28px 0 0; border-top: 1px solid rgba(255, 255, 255, 0.12); padding: 10px 20px 14px; }
#vista-hilo.op #hilo-titulo { font-size: 44px; margin: 4px 0 12px; }
#vista-hilo.op .op-autor { font-size: 13px; }
#vista-hilo.op #respuestas-titulo { font-family: Nunito, system-ui, sans-serif; font-weight: 900; font-size: 24px; letter-spacing: -0.01em; }
#vista-hilo.op .orden-select select { padding: 7px 14px; border-radius: 99px; background: rgba(255, 255, 255, 0.06); border: var(--v3-borde); color: var(--v3-marfil); }
#vista-hilo.op .burbuja { background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.06); }
#vista-hilo.op .debate-del-hilo { border-radius: 24px; background: rgba(255, 255, 255, 0.04); border: var(--v3-borde); }
#vista-hilo.op .debate-del-hilo .debate-etiqueta { background: none; color: var(--v3-marfil); font-family: Nunito, system-ui, sans-serif; font-weight: 900; font-size: 20px; padding: 0; }
.btn-redondo { border-radius: 50%; background: rgba(36, 24, 38, 0.7); }
/* Abajo: el botón redondo de grabar la respuesta, el campo y enviar con el avioncito. */
#vista-hilo.op #comentar-form { grid-template-columns: auto 1fr; align-items: center; gap: 10px; }
#vista-hilo.op #comentar-form textarea { grid-column: 2; grid-row: 1; padding: 13px 56px 13px 18px; border-radius: 26px; background: rgba(255, 255, 255, 0.06); border: var(--v3-borde); }
#vista-hilo.op #comentar-form .comentar-pie { display: contents; }
#vista-hilo.op #comentar-video {
  grid-column: 1; grid-row: 1; width: 52px; height: 52px; border-radius: 50%; padding: 5px;
  background: radial-gradient(circle at 40% 32%, #ff6b72, #d4293a 72%) content-box, conic-gradient(from 200deg, #fbfaf7, #b9b6b2, #f4ede2, #8f8b88, #fbfaf7) border-box;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5);
}
#vista-hilo.op #comentar-video .ico, #vista-hilo.op #comentar-video svg { display: none; }
#vista-hilo.op #comentar-enviar {
  grid-column: 2; grid-row: 1; justify-self: end; margin-right: 6px; width: 40px; min-width: 40px; height: 40px; min-height: 40px; padding: 0;
  border-radius: 50%; font-size: 0; color: transparent; border: var(--v3-borde); background-color: rgba(201, 139, 187, 0.22);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f4ede2' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 3 10 14'/%3E%3Cpath d='M21 3l-7 18-4-7-7-4z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: 52% 50%; background-size: 20px;
}
#vista-hilo.op #comentar-enviar::before, #vista-hilo.op #comentar-enviar::after { display: none; }

/* ------------------------------------------------------------------ Yo y Ajustes */
.yo-disco {
  width: 140px; height: 140px; position: relative; overflow: hidden;
  background: radial-gradient(circle at 35% 28%, rgba(120, 50, 104, 0.9), rgba(26, 16, 30, 0.96) 72%);
  box-shadow: 0 0 0 3px #0d0b10, 0 0 0 5px #d7a86a, 0 0 26px rgba(255, 180, 107, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
/* El reflejo diagonal del vidrio. */
.yo-disco::before { content: ''; position: absolute; inset: -20%; pointer-events: none; background: linear-gradient(125deg, rgba(255, 255, 255, 0) 38%, rgba(255, 255, 255, 0.16) 46%, rgba(255, 255, 255, 0) 56%); }
.yo-disco .ico, .yo-disco svg { width: 70px; height: 70px; }
.yo-apodo { font-size: 40px; }
.yo-stats strong { font-family: Nunito, system-ui, sans-serif; font-weight: 900; font-size: 36px; color: var(--v3-marfil); letter-spacing: -0.02em; }
.yo-grupo { background: var(--v3-vidrio-hondo); }
#pantalla-foro[data-tab="yo"] #foro-mios .mio { background-color: rgba(46, 26, 44, 0.9); }

/* ------------------------------------------------------------------ Debates */
.deb-tarjeta { padding: 10px; }
.deb-video { border-radius: 20px; overflow: hidden; height: 180px; }
.deb-pie { padding: 14px 8px 6px; }
.deb-pie h3 { font-size: 26px; font-weight: 900; letter-spacing: -0.02em; line-height: 1.05; }
.deb-lados .deb-votos { color: var(--v3-oro); }

/* ------------------------------------------------------------------ Grabar */
/* La cámara se queda arriba; todo lo demás en una tarjeta de vidrio ciruela. */
#pantalla-grabar.historia.cromo::before { background: linear-gradient(rgba(8, 5, 9, 0) 55%, rgba(8, 5, 9, 0.5) 85%); }
#pantalla-grabar.historia.cromo .y-pie { left: 10px; right: 10px; padding: 18px 14px 16px; gap: 12px; }
#pantalla-grabar.historia.cromo .y-chip, #pantalla-grabar.historia.cromo #grabar-volver {
  background: rgba(36, 24, 38, 0.72); color: var(--v3-marfil); border: var(--v3-borde); box-shadow: var(--v3-brillo), 0 4px 12px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
#pantalla-grabar.historia.cromo .y-chip.r { background: rgba(36, 24, 38, 0.8); }
#pantalla-grabar.historia.cromo .y-seg { background: rgba(36, 24, 38, 0.7); border: var(--v3-borde); }
#pantalla-grabar.historia.cromo .y-seg button[aria-pressed="true"] { box-shadow: 0 0 0 1px rgba(255, 196, 120, 0.85) !important; }
#pantalla-grabar.historia.cromo .fondo-interruptor { background: rgba(36, 24, 38, 0.7) !important; border: var(--v3-borde) !important; }
/* El botón: aro de cromo plateado-marfil, centro rojo con la máscara y, al grabar, un arco dorado de progreso. */
#pantalla-grabar.historia.cromo #boton-grabar {
  background: radial-gradient(circle at 40% 32%, #ff6b72, #d4293a 72%) content-box, conic-gradient(from 200deg, #fbfaf7, #b9b6b2, #f4ede2, #8f8b88, #fbfaf7) border-box;
}
#pantalla-grabar.historia.cromo:not(.grabando) #boton-grabar::after {
  content: ''; position: absolute; left: 50%; top: 50%; width: 32px; height: 32px; margin: -16px 0 0 -16px; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff7ea' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 9.5C2.5 8.1 3.6 7 5 7h14c1.4 0 2.5 1.1 2.5 2.5v.8c0 3.4-2.4 5.7-5.4 5.7-1.9 0-3.2-.9-4.1-2.2-.9 1.3-2.2 2.2-4.1 2.2-3 0-5.4-2.3-5.4-5.7z'/%3E%3Ccircle cx='8' cy='11' r='1.4'/%3E%3Ccircle cx='16' cy='11' r='1.4'/%3E%3C/svg%3E") center / contain no-repeat;
}
#pantalla-grabar.historia.cromo.grabando #boton-grabar::before {
  content: ''; position: absolute; inset: -7px; border-radius: 50%; padding: 3px; pointer-events: none;
  background: conic-gradient(#ffb46b 0deg, #ffe2b8 calc(var(--grabado, 0) * 360deg), rgba(255, 180, 107, 0.12) calc(var(--grabado, 0) * 360deg)) border-box;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  filter: drop-shadow(0 0 6px rgba(255, 180, 107, 0.6));
}
.reels.inicio .reel-acciones .reel-accion.debatir svg { border-color: var(--v3-oro); color: var(--v3-oro); box-shadow: 0 0 14px rgba(255, 180, 107, 0.35); background: rgba(255, 180, 107, 0.08); }
/* Ajustes después de las capturas. */
#pantalla-foro .hero-hoy .hero-hoy-texto { text-align: left; }
#lista.grid-v > li.gv .duracion { top: auto; bottom: 12px; right: 12px; }
#vista-hilo.op .op-autor { display: block; line-height: 1.6; }
#vista-hilo.op .op-autor .op-av { vertical-align: middle; margin-right: 6px; }
/* Grabando: el centro oscuro con el cuadradito rojo de parar, adentro del aro y del arco dorado. */
#pantalla-grabar.historia.cromo.grabando #boton-grabar {
  background: linear-gradient(rgba(20, 10, 16, 0.75), rgba(20, 10, 16, 0.75)) content-box, conic-gradient(from 200deg, #fbfaf7, #b9b6b2, #f4ede2, #8f8b88, #fbfaf7) border-box;
}

/* Votar un lado del debate (Leandra eligió la B, 11 nov). */
.lados-voto { margin: 12px 0 6px; display: grid; gap: 8px; }
.lados-pregunta { margin: 0; font-family: Nunito, system-ui, sans-serif; font-weight: 900; font-size: 16px; color: var(--v3-marfil, #f4ede2); }
.lados-voto .deb-barra { height: 6px; border-radius: 6px; background: #3a3340; overflow: hidden; }
.lados-voto .deb-barra i { display: block; height: 100%; background: linear-gradient(90deg, #c98bbb, #ffb46b); transition: width 0.3s ease-out; }
.lados-botones { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.lado-voto {
  display: flex; align-items: center; justify-content: space-between; gap: 6px; min-height: 44px; padding: 8px 14px; border-radius: 999px; cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.1); background: rgba(46, 30, 46, 0.75); color: var(--v3-marfil, #f4ede2); font: inherit; font-size: 14px; font-weight: 700;
}
.lado-voto[data-lado="b"] { flex-direction: row-reverse; }
.lado-voto[aria-pressed="true"] { background: #c98bbb; color: #141016; box-shadow: 0 0 0 1px rgba(255, 196, 120, 0.85), 0 4px 14px rgba(201, 139, 187, 0.35); }
.lado-voto:disabled { opacity: 0.6; cursor: default; }
.lado-pct { font-variant-numeric: tabular-nums; opacity: 0.85; }
.lados-total { margin: 0; font-size: 12px; color: var(--muted, #b9adbd); text-align: center; }

/* Revisión de Dirección estética (11 nov). */
/* 1. En Una opinión, el halo en el borde de afuera de la hoja (arriba, radio 28), no en la caja del título. */
#vista-hilo.op > .halo-anillo { top: 44vh; top: 44dvh; bottom: auto; height: 56vh; height: 56dvh; border-radius: 28px 28px 0 0; }
#vista-hilo.op .op-autor .op-dato { white-space: nowrap; }
/* 2. Grabar: los aros se deslizan, con un degradé de salida a la derecha (no queda uno cortado de golpe). */
#pantalla-grabar.historia.cromo .look-picker .chips {
  overflow-x: auto; justify-content: flex-start; scrollbar-width: none; padding: 2px 28px 2px 6px;
  -webkit-mask-image: linear-gradient(90deg, #000 0, #000 82%, transparent 100%); mask-image: linear-gradient(90deg, #000 0, #000 82%, transparent 100%);
}
#pantalla-grabar.historia.cromo .look-picker .chips::-webkit-scrollbar { display: none; }
#pantalla-grabar.historia.cromo .look-picker .chip.mascara-boton { flex: none; }
/* Menores: «Compartir» entra en la columna de Inicio; en el debate del hilo, compartir y denunciar iguales (texto con ícono). */
.reels.inicio .reel-acciones .reel-accion > span:not(.sr-only) { font-size: 10px; letter-spacing: -0.01em; }
#vista-hilo.op .debate-del-hilo .acciones { display: flex; gap: 18px; align-items: center; }
#vista-hilo.op .debate-del-hilo .acciones .btn { display: inline-flex; align-items: center; gap: 6px; padding: 0; min-height: 36px; color: var(--v3-orquidea); font-size: 14px; font-weight: 700; text-decoration: none; }
#vista-hilo.op .debate-del-hilo .acciones .btn .sr-only { position: static; width: auto; height: auto; margin: 0; clip: auto; overflow: visible; white-space: nowrap; }
#vista-hilo.op .debate-del-hilo .acciones .btn svg { width: 18px; height: 18px; }
#vista-hilo.op .op-autor { font-size: 12.5px; }
#vista-hilo.op .op-autor .op-av + .nombre { margin-left: 0; }
/* La línea de quién publicó, de corrido (en vivo se partía después del apodo). */
.reels.inicio .reel-quien { display: block; line-height: 1.6; }
.reels.inicio .reel-quien .reel-av { vertical-align: middle; margin-right: 6px; }

/* +18 (Leandra, vía la principal; Backend, backend-mas18.md): tapado hasta tocarlo, y la categoría cerrada lleva a Mi cuenta. */
.mas18-tapado { position: relative; }
.mas18-tapado video, .mas18-tapado img, .mas18-tapado canvas { filter: blur(28px) brightness(0.55); transform: scale(1.08); }
.velo-mas18 {
  position: absolute; inset: 0; z-index: 4; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  border: 0; background: rgba(13, 11, 16, 0.35); color: var(--v3-marfil, #f4ede2); cursor: pointer; font: inherit;
}
.velo-mas18 strong { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; font-family: Nunito, system-ui, sans-serif; font-size: 22px; font-weight: 900; background: rgba(25, 18, 26, 0.75); border: 1px solid rgba(255, 196, 120, 0.7); box-shadow: 0 0 18px rgba(255, 180, 107, 0.35); }
.velo-mas18 span { font-size: 14px; font-weight: 700; }
#lista.grid-v > li.gv.mas18 .miniatura img, #lista.grid-v > li.gv.mas18 .miniatura video { filter: blur(22px) brightness(0.55); transform: scale(1.1); }
#lista.grid-v > li.gv.mas18::before {
  content: '+18'; position: absolute; top: 10px; left: 10px; z-index: 2; padding: 2px 8px; border-radius: 99px;
  background: rgba(25, 18, 26, 0.8); border: 1px solid rgba(255, 196, 120, 0.7); color: var(--v3-oro, #ffb46b); font-size: 11px; font-weight: 900;
}
#pantalla-foro[data-tab="explorar"] #categorias .fila-cat.mas18-cerrada { border-style: dashed !important; border-color: rgba(255, 196, 120, 0.45) !important; }
.icono-mas18 { font-family: Nunito, system-ui, sans-serif; font-weight: 900; font-size: 18px; color: var(--v3-oro, #ffb46b); }
#pantalla-foro[data-tab="explorar"] #categorias .fila-cat.mas18-cerrada .numeros { font-size: 10.5px; color: var(--v3-oro, #ffb46b); }
#pantalla-foro[data-tab="explorar"] #categorias .fila-cat.mas18-cerrada .icono svg { color: var(--v3-oro, #ffb46b); width: 40px; height: 40px; }
#pantalla-foro[data-tab="explorar"] #categorias .fila-cat.mas18-cerrada a.nombre { font-size: 20px; }
/* URGENTE (11 nov, iPhone de Leandra: «It doesn't let me press record here»): el halo es solo dibujo. En la
   tarjeta de grabar, la regla «.y-pie > * { pointer-events: auto }» le devolvía los toques y tapaba el botón. */
.halo-anillo, .halo-anillo > i, #pantalla-grabar.historia.cromo .y-pie > .halo-anillo { pointer-events: none !important; }

/* El nombre de la máscara puesta, chico, arriba de la cámara (también mientras graba). */
#pantalla-grabar.historia.cromo #mascara-tag {
  display: inline-block; position: absolute; z-index: 4; left: 50%; transform: translateX(-50%); top: calc(64px + env(safe-area-inset-top, 0px));
  max-width: calc(100% - 140px); padding: 4px 12px; border-radius: 99px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  background: rgba(20, 14, 22, 0.72); border: 1px solid rgba(255, 255, 255, 0.12); color: var(--v3-marfil, #f4ede2);
  font-size: 12px; font-weight: 700; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); pointer-events: none;
}
#pantalla-grabar.historia.cromo #mascara-tag:empty { display: none; }
/* Cuando la cámara no anda: las instrucciones y los botones, legibles debajo de la máscara. */
#mascara-estado .camara-ayuda { display: block; margin-top: 4px; color: var(--muted, #b9adbd); font-size: 0.72rem; }
#mascara-estado .camara-reintentar, #mascara-estado .camara-copiar, #mascara-estado .camara-frente {
  display: inline-flex; margin-top: 6px; min-height: 36px; padding: 4px 12px; border-radius: 99px; text-decoration: none;
  background: rgba(201, 139, 187, 0.22); border: 1px solid rgba(201, 139, 187, 0.5); color: var(--v3-marfil, #f4ede2); font-weight: 700;
}
