/* oteca-hermana.css
   Estilo común de las ocho otecas hermanas: hemeroteca, fonoteca, fototeca, mapoteca,
   memoteca, quinoteca, redoteca y teatroteca. Antes estaba repetido dentro de cada página.
   Lo que es propio de una sola oteca (por ejemplo .personal-card en mapoteca o .receta-card
   en quinoteca) se queda en el <style> de esa página.
   El mensaje de guardado ahora usa .msg-oteca en todas (antes: .msg-hemeroteca, .msg-fonoteca, etc.). */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: 'Segoe UI', system-ui, sans-serif;
    line-height: 1.6;
    color: #eee;
    background: #0a0a1a;
    min-height: 100vh;
}

.barra-casa {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 16px;
    background: #0a0a1a;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    font-size: 12px;
}
.barra-casa a { color: #ff9f43; text-decoration: none; }
.barra-casa a:hover { text-decoration: underline; }
.barra-casa span#quienSoy { color: #8a8aa0; }

.lab-header {
    background: linear-gradient(180deg, #2a1f0a 0%, #0a0a1a 100%);
    padding: 32px 24px 24px;
    text-align: center;
}
.lab-header .etiqueta-oteca {
    font-size: 11px; text-transform: uppercase; letter-spacing: 2px;
    color: #fbbf24; margin-bottom: 6px;
}
.lab-header h1 { font-size: 1.8rem; color: #ffd700; margin-bottom: 8px; }
.lab-header p.subtitle { font-size: 0.9rem; opacity: 0.7; max-width: 560px; margin: 0 auto; }

.que-es-espacio {
    max-width: 560px; margin: 16px auto 0; padding: 14px 18px;
    border: 1px solid rgba(110,231,183,0.35);
    background: rgba(110,231,183,0.06);
    border-radius: 12px;
    font-size: 0.85rem; color: #cfcfe0;
    text-align: left;
}
.que-es-espacio .que-es-titulo {
    font-weight: 700; color: #6ee7b7; margin-bottom: 4px;
    font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1px;
}
.btn-escuchar {
    margin-top: 8px; padding: 6px 14px; border-radius: 50px;
    background: rgba(110,231,183,0.12); border: 1px solid rgba(110,231,183,0.4);
    color: #6ee7b7; font-size: 0.8rem; cursor: pointer; font-family: inherit;
}
.btn-escuchar:hover { background: rgba(110,231,183,0.22); }
.btn-escuchar:disabled { opacity: 0.6; cursor: default; }

.intro {
    max-width: 640px; margin: 20px auto 0; padding: 16px 20px;
    border-left: 3px solid #fbbf24;
    background: rgba(255,255,255,0.03);
    border-radius: 0 12px 12px 0;
    font-size: 0.9rem; color: #cfcfe0;
    font-style: italic;
}

main { max-width: 760px; margin: 0 auto; padding: 32px 16px 60px; }

h2.section-titulo {
    font-size: 1rem; text-transform: uppercase; letter-spacing: 2px;
    color: #fbbf24; margin: 40px 0 16px; text-align: center;
    font-family: monospace;
}
h2.section-titulo:first-of-type { margin-top: 8px; }

p.explicacion-seccion {
    font-size: 0.9rem; color: #cfcfe0; margin-bottom: 20px;
}

.dato-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    padding: 20px 22px;
    margin-bottom: 20px;
}
.dato-card .dato-etiqueta {
    font-size: 0.72rem; text-transform: uppercase; letter-spacing: 1px;
    color: #fbbf24; margin-bottom: 6px;
}
.dato-card h3 { font-size: 1.05rem; color: #ffd700; margin-bottom: 10px; }
.dato-card p { font-size: 0.9rem; color: #cfcfe0; margin-bottom: 10px; }
.dato-card ul, .dato-card ol { margin: 0 0 10px 20px; }
.dato-card li { font-size: 0.9rem; color: #cfcfe0; margin-bottom: 8px; }
.dato-card .dato-cita {
    font-style: italic; color: #6ee7b7; border-left: 2px solid #6ee7b7;
    padding-left: 12px; margin: 12px 0; font-size: 0.88rem;
}
.dato-card .dato-fuentes {
    font-size: 0.78rem; color: #8a8aa0; margin-top: 12px;
}
.dato-card .dato-fuentes a { color: #ff9f43; }

.aviso-mas-historias {
    font-size: 0.85rem; color: #a8a8c0; margin-bottom: 20px;
    padding: 12px 16px; border: 1px dashed rgba(255,255,255,0.15); border-radius: 10px;
}

.pregunta-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    padding: 18px 20px;
    margin-bottom: 14px;
}
.pregunta-titulo { font-size: 0.92rem; color: #ffd700; margin-bottom: 10px; }
.pregunta-card textarea {
    width: 100%; min-height: 90px; resize: vertical;
    background: rgba(0,0,0,0.25); color: #eee;
    border: 1px solid rgba(255,255,255,0.12); border-radius: 8px;
    padding: 10px; font-family: inherit; font-size: 0.88rem;
}
.btn-guardar-reflexion {
    margin-top: 4px; padding: 10px 22px; border-radius: 50px;
    background: rgba(110,231,183,0.14); border: 1px solid rgba(110,231,183,0.5);
    color: #6ee7b7; font-size: 0.88rem; font-weight: 600; cursor: pointer; font-family: inherit;
}
.btn-guardar-reflexion:hover { background: rgba(110,231,183,0.24); }
.btn-guardar-reflexion:disabled { opacity: 0.7; cursor: default; }

.msg-oteca {
    margin-top: 12px; font-size: 0.85rem; padding: 10px 14px; border-radius: 10px;
    display: none;
}
.msg-oteca.exito { display: block; background: rgba(110,231,183,0.1); color: #6ee7b7; border: 1px solid rgba(110,231,183,0.3); }
.msg-oteca.aviso { display: block; background: rgba(255,215,0,0.1); color: #ffd700; border: 1px solid rgba(255,215,0,0.3); }
.msg-oteca.error { display: block; background: rgba(248,113,113,0.1); color: #f87171; border: 1px solid rgba(248,113,113,0.3); }

footer { text-align: center; padding: 30px 16px 40px; font-size: 0.78rem; color: #6a6a80; }
