/* Revisión 9.4: estilos aislados de la pantalla 12 */
#screen-12 { background: var(--ivory); padding: clamp(15px, 2vw, 32px); }
#screen-12 .live-stage { width:100%; max-width:1600px; margin:auto; display:flex; flex-direction:column; gap:clamp(12px,2vh,24px); color:var(--petrol); }
#screen-12 .live-heading { text-align:center; display:grid; gap:5px; }
#screen-12 .live-heading h2 { font-size:clamp(1.8rem,3vw,3.6rem); line-height:1.1; }
#screen-12 .live-kicker { color:#916A25; font-size:clamp(.68rem,.9vw,.9rem); font-weight:700; text-transform:uppercase; letter-spacing:.10em; line-height:1.4; }
#screen-12 .live-modes { display:flex; flex-wrap:wrap; justify-content:center; gap:6px; }
#screen-12 .live-modes button, #screen-12 .live-secondary { border:1px solid #A28B61; border-radius:6px; padding:9px 15px; background:transparent; color:var(--petrol); font-size:clamp(.76rem,1vw,1rem); font-weight:600; }
#screen-12 .live-modes button[aria-pressed=true] { background:var(--petrol); color:var(--ivory); border-color:var(--petrol); }
#screen-12 .live-modes button:hover:not([aria-pressed=true]), #screen-12 .live-secondary:hover:not(:disabled) { background:#E8DCC6; }
#screen-12 button:disabled { opacity:.4; cursor:not-allowed; }
#screen-12 .live-view { display:flex; flex-direction:column; gap:12px; min-width:0; }
#screen-12 .live-synthesis-card, #screen-12 .live-backup-card { display:flex; flex-direction:column; align-items:flex-start; justify-content:center; gap:clamp(14px,2vh,28px); padding:clamp(22px,4vw,64px); border:1px solid var(--gold); border-top:5px solid var(--gold); border-radius:12px; background:var(--petrol); color:var(--ivory); }
#screen-12 .live-synthesis-card .live-kicker, #screen-12 .live-backup-card .live-kicker, #screen-12 .live-invite .live-kicker { color:#D8B66F; }
#screen-12 .live-synthesis-card h3 { font-size:clamp(1.6rem,3vw,3rem); line-height:1.2; }
#screen-12 .live-synthesis-card p { font-size:clamp(1rem,1.6vw,1.65rem); line-height:1.65; max-width:1050px; }
#screen-12 .live-primary { display:inline-flex; align-items:center; justify-content:center; gap:14px; border:1px solid var(--gold); border-radius:6px; padding:12px 18px; background:var(--gold); color:var(--petrol); font-weight:700; text-decoration:none; font-size:clamp(.85rem,1.1vw,1.1rem); }
#screen-12 .live-primary:hover { background:#D8B66F; }
#screen-12 .live-status { display:flex; align-items:center; gap:9px; align-self:flex-start; color:#513A14; font-size:.85rem; font-weight:600; padding:7px 11px; border:1px solid #CFB98E; background:#FFF9ED; border-radius:6px; }
#screen-12 .live-dot { width:10px; height:10px; border-radius:50%; background:#88785B; flex:none; }
#screen-12 .live-status[data-state=open] { color:#20513C; background:#E3F1E9; border-color:#94BEA7; }
#screen-12 .live-status[data-state=open] .live-dot { background:#32785D; }
#screen-12 .live-status[data-state=offline] { color:#592424; background:#F7E5E5; border-color:#C69C9C; }
#screen-12 .live-status[data-state=offline] .live-dot { background:#963D3D; }
#screen-12 .live-debate-grid { display:grid; grid-template-columns:minmax(220px,.8fr) minmax(0,2fr); gap:clamp(12px,1.8vw,28px); align-items:stretch; }
#screen-12 .live-invite { min-width:0; background:var(--petrol); color:var(--ivory); border-radius:10px; padding:clamp(20px,2.8vw,42px); display:flex; flex-direction:column; align-items:flex-start; justify-content:center; gap:15px; }
#screen-12 .live-invite h3 { font-size:clamp(1.4rem,2.3vw,2.5rem); line-height:1.15; }
#screen-12 .live-invite p { font-size:clamp(.9rem,1.25vw,1.2rem); line-height:1.6; }
#screen-12 .live-note { color:#E0D4BF; font-size:.78rem; line-height:1.5; }
#screen-12 .live-question-slot { min-width:0; display:flex; }
#screen-12 .live-waiting, #screen-12 .live-featured { width:100%; display:flex; flex-direction:column; justify-content:center; gap:clamp(14px,2vh,28px); min-height:clamp(240px,40vh,450px); padding:clamp(22px,3.5vw,60px); border:1px solid var(--gold); border-left:5px solid var(--gold); background:#FFFDF8; border-radius:10px; overflow-wrap:anywhere; }
#screen-12 .live-waiting { text-align:center; align-items:center; border-left-width:1px; border-style:dashed; }
#screen-12 .live-waiting h3 { font-size:clamp(1.8rem,3.5vw,3.8rem); line-height:1.15; }
#screen-12 .live-waiting p { line-height:1.6; color:#514A40; font-size:clamp(.95rem,1.4vw,1.35rem); }
#screen-12 .live-featured h3, #screen-12 .live-backup-card h3 { font-size:clamp(1.35rem,2.65vw,2.85rem); line-height:1.32; white-space:pre-wrap; }
#screen-12 .live-featured[data-long=true] h3 { font-size:clamp(1.2rem,2.1vw,2.35rem); }
#screen-12 .live-author { border-top:1px solid #D6C7AE; padding-top:14px; font-size:clamp(.9rem,1.1vw,1.15rem); }
#screen-12 .live-featured.live-change { animation:live-question-in .25s ease-out; }
@keyframes live-question-in { from { opacity:.35; transform:translateY(4px); } to { opacity:1; transform:translateY(0); } }
#screen-12 .live-bottom { display:flex; justify-content:flex-end; }
#screen-12 .live-resource { background:#FFFDF8; color:var(--petrol); border:1px solid #CBB587; border-radius:7px; width:100%; }
#screen-12 .live-resource summary { padding:11px 16px; font-size:.85rem; font-weight:600; cursor:pointer; }
#screen-12 .live-document { padding:15px 20px; border-top:1px solid #D6C7AE; line-height:1.7; font-size:1rem; }
#screen-12 .live-document p+p { margin-top:14px; }
#screen-12 .live-answer { margin-top:4px; }
#screen-12 .live-backup-nav { display:flex; justify-content:center; align-items:center; gap:15px; }
#screen-12 #live-back-count { font-weight:700; font-variant-numeric:tabular-nums; }
#screen-12 .live-farewell { display:flex; gap:20px; align-items:center; padding:20px; }
#screen-12 .live-farewell img { width:min(22%,160px); height:auto; object-fit:contain; }
#screen-12 .live-farewell p { line-height:1.65; margin-top:10px; }
@media (max-width:750px) { #screen-12 .live-debate-grid { grid-template-columns:1fr; } #screen-12 .live-invite { gap:10px; } #screen-12 .live-waiting,#screen-12 .live-featured { min-height:230px; } #screen-12 .live-farewell { flex-direction:column; align-items:flex-start; } #screen-12 .live-farewell img { width:100px; } }
@media (min-width:751px) and (max-height:800px) { #screen-12 .live-synthesis-card,#screen-12 .live-backup-card { padding:clamp(20px,2.7vw,40px); } #screen-12 .live-featured,#screen-12 .live-waiting { padding:clamp(18px,2.6vw,36px); min-height:270px; } }
@media (prefers-reduced-motion:reduce) { #screen-12 .live-featured.live-change { animation:none; } }


/* Revisión 9.5: acceso público por QR. */
#screen-12 .live-invite { align-items:center; text-align:center; gap:10px; padding:clamp(14px,2vw,28px); }
#screen-12 .live-invite h3 { font-size:clamp(1.25rem,2vw,2.2rem); }
#screen-12 .live-qr-link { display:block; width:min(100%, 272px); background:#fff; border-radius:4px; flex:none; }
#screen-12 .live-qr { display:block; width:100%; height:auto; aspect-ratio:1; image-rendering:pixelated; }
#screen-12 .live-public-url { color:#F4EBDC; text-decoration:underline; text-underline-offset:3px; font-size:clamp(.8rem,1vw,1rem); line-height:1.45; overflow-wrap:anywhere; max-width:100%; }
#screen-12 .live-invite .live-note { max-width:30ch; }
@media (min-width:751px) and (max-height:800px) {
  #screen-12 .live-invite { padding:13px 16px; gap:8px; }
  #screen-12 .live-qr-link { width:min(100%, 200px); }
  #screen-12 .live-invite .live-note { font-size:.75rem; }
}
@media (max-width:750px) { #screen-12 .live-qr-link { width:min(100%, 240px); } }
