/* cineymusica main.css — diseno fiel a La Femme en Carton */

@font-face {
  font-family: "1942"; font-style: normal; font-weight: normal;
  src: url("/static/fonts/1942-webfont.woff") format("woff"),
       url("/static/fonts/1942-webfont.ttf") format("truetype");
}
@font-face {
  font-family: "Cabin"; font-style: normal; font-weight: normal;
  src: url("/static/fonts/cabinsketch-regular-webfont.woff") format("woff"),
       url("/static/fonts/cabinsketch-regular-webfont.ttf") format("truetype");
}

html,body,div,span,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,address,
code,del,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,b,u,i,center,dl,
dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,
th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,
hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video {
  font: inherit; margin: 0; padding: 0; vertical-align: baseline;
}
*, *::before, *::after { box-sizing: border-box; }
html { height: 100%; margin: 0; padding: 0; width: 100%; }
body {
  background: rgba(41, 13, 13, 1);
  font-family: "Cabin", Helvetica, Verdana, Arial;
  color: white; min-height: 100vh; margin: 0; padding: 0;
}
a, a:link, a:visited, a:hover, a:active { color: white; text-decoration: none; }
img { max-width: 100%; display: block; }
h6 { display: none; }
input[type="submit"] { cursor: pointer; }

/* ── Header ── */
header { height: 16vh; position: relative; width: 100%; }
hgroup { height: 18%; display: block; }
h1 {
  color: white; font-family: "1942", serif;
  font-size: clamp(0.75rem, 2vw, 1.5rem);
  line-height: 1; text-align: center; padding-top: 0.2em; letter-spacing: 0.04em;
}
h2 {
  color: white; font-family: "Cabin", sans-serif;
  font-size: clamp(0.55rem, 1.2vw, 0.82rem);
  line-height: 1; text-align: center; opacity: 0.82;
}

/* ── Nav con sprite ── */
nav { height: 82%; width: 100%; }
#barra { height: 100%; width: 100%; }
nav ul {
  display: flex; flex-flow: row wrap; height: 100%;
  justify-content: center; list-style: none; margin: 0; padding: 0;
}
nav ul li {
  background: transparent url("/static/images/sis/barrabik.png") no-repeat scroll 0 0 / 1133% 100%;
  cursor: pointer; height: 100%; opacity: 0.5; transition: opacity 0.4s linear;
  width: 6%; min-width: 38px;
}
nav ul li:hover, nav ul li.active { opacity: 1; }
nav ul li a { display: block; height: 100%; width: 100%; }
nav ul li span { display: none; }
/* 8 items: inicio, autor, pensamiento, cine, musica, comentarios, registro/mano, menu */
nav ul li:nth-child(1) { background-position: 0 0; }
nav ul li:nth-child(2) { background-position: 10% center; }
nav ul li:nth-child(3) { background-position: 20% center; }
nav ul li:nth-child(4) { background-position: 30% center; }
nav ul li:nth-child(5) { background-position: 40% center; }
nav ul li:nth-child(6) { background-position: 50% center; }
nav ul li:nth-child(7) { background-position: 70% center; } /* registro (JS cambia a 80% si logueado) */
nav ul li:nth-child(8) { background-position: 100% center; display: none; } /* menu: solo móvil */

.nav-user-zone {
  display: flex; align-items: center; justify-content: flex-end; gap: 1rem;
  padding: 0.2rem 1rem; background: rgba(0,0,0,0.35); font-size: 0.74rem;
}
.nav-user-zone a { opacity: 0.68; transition: opacity 0.2s; }
.nav-user-zone a:hover { opacity: 1; }
.nav-user-zone .apodo { opacity: 0.9; color: #FFA500; }

/* ── Contenido ── */
#allsections {
  background: transparent url("/static/images/sis/bg.jpg") repeat scroll 0 0;
  min-height: 76vh; padding: 1.5rem 1rem 3rem; overflow-x: hidden; width: 100%;
}

/* ── Inicio ── */
.femmen { display: block; margin: auto; width: 60%; line-height: 1.6rem; }
.femmen p {
  background: rgba(0, 0, 0, 0.5); box-shadow: -15px 11px 19px 2px #0e0e0e;
  color: #CBCAB5; margin: 2%; padding: 2%;
}

/* ── Tarjetas ── */
.noticias {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem; margin-top: 1.5rem;
}
.engow {
  background-color: rgba(0, 0, 0, 0.55); box-shadow: -10px 8px 18px 2px #0e0e0e;
  color: white; padding: 1rem; position: relative; text-align: center;
  cursor: pointer; transition: box-shadow 0.2s;
}
.engow:hover { box-shadow: -4px 4px 24px 4px rgba(255,165,0,0.15); }
.encabezado { width: 100%; }
.titulon { color: #FFA500; font-size: 1.3rem; line-height: 1.7rem; margin-bottom: 0.25rem; }
.fecha { font-size: 0.58rem; margin: 0.2rem 0; opacity: 0.62; }
.subtitulo { font-size: 0.82rem; margin: 0.3rem 0 0.5rem; opacity: 0.78; }
.ilustracion { width: 100%; margin-top: 0.5rem; }
figure.pic { margin-top: 0.5rem; }
figure.pic img { width: 100%; max-height: 220px; object-fit: cover; display: block; margin: 0 auto; }
figcaption { font-size: 0.6rem; opacity: 0.52; margin-top: 0.2rem; }
.note {
  box-shadow: 0 0 8px 3px black; color: #ffa500; cursor: help;
  display: inline-block; font-family: "1942"; font-weight: bold;
  font-size: 0.9rem; margin-top: 0.4rem; padding: 0 4px;
}
.vota {
  color: red; cursor: pointer; font-family: "1942"; font-weight: bold;
  transform: rotate(-34deg); display: inline-block; font-size: 0.85rem; margin-left: 0.5rem;
}
.bandera { display: inline-block; height: 14px; width: auto; vertical-align: middle; margin-left: 0.25rem; }

/* Sprite estrellas (three.png) */
.three { background: url("/static/images/sis/three.png") no-repeat scroll left top; margin: 3px auto; }
.three.aest { background-position: 0 0;    height: 10px; width: 93px; }
.three.best { background-position: 0 -20px;  height: 10px; width: 93px; }
.three.cest { background-position: 0 -40px;  height: 10px; width: 93px; }
.three.dest { background-position: 0 -60px;  height: 10px; width: 93px; }
.three.eest { background-position: 0 -80px;  height: 10px; width: 93px; }
.three.fest { background-position: 0 -100px; height: 10px; width: 93px; }
.three.gest { background-position: 0 -120px; height: 10px; width: 93px; }
.three.hest { background-position: 0 -140px; height: 10px; width: 93px; }
.three.iest { background-position: 0 -160px; height: 10px; width: 93px; }
.three.jest { background-position: 0 -180px; height: 10px; width: 93px; }

/* Votación inline */
.pervotare { display: none; margin-top: 0.3rem; }
.pervotare meter { width: 80%; cursor: pointer; }
.votatio { font-size: 0.75rem; color: #FFA500; cursor: pointer; margin-left: 0.3rem; }
.vota { color: red; cursor: pointer; font-family: "1942"; font-weight: bold;
        transform: rotate(-34deg); display: inline-block; font-size: 0.85rem; padding: 0 4px; }

/* Texto + pie de tarjeta */
.texto { text-align: justify; line-height: 1.6rem; width: 90%; margin: 0.8rem auto; font-size: 0.82rem; }
.pie { margin: 0 auto; width: 100%; }
.veeds { background: rgba(0,0,0,0.5); color: #7fffd4; cursor: pointer;
         font-size: 0.7rem; margin-bottom: 3px; padding: 2px 4px; }
.veeds:hover { background: rgba(0,0,0,0.75); }
.somenta { display: flex; flex-flow: row wrap; justify-content: space-evenly; margin-top: 0.4rem; }
.comen { color: rgba(255,0,0,0.7); cursor: pointer; font-size: 0.78rem; }
.comen:hover { color: red; }
.nomen { font-size: 0.78rem; opacity: 0.62; }
.engow-link { text-decoration: none; color: inherit; display: block; }
.engow-link:hover .titulon { opacity: 0.85; }

/* Comentarios inline en tarjetas */
.inline-comments { border-top: 1px solid rgba(255,165,0,0.2); margin-top: 0.5rem; padding-top: 0.4rem; }
.inline-comment { margin-bottom: 0.5rem; font-size: 0.75rem; }
.inline-reply { margin-left: 1rem; border-left: 2px solid rgba(255,165,0,0.3); padding-left: 0.5rem; }
.ic-nick { color: #FFA500; font-weight: bold; }
.ic-titulo { opacity: 0.8; font-style: italic; }
.ic-fecha { opacity: 0.45; font-size: 0.65rem; margin-left: 0.3rem; }
.ic-texto { opacity: 0.82; margin-top: 0.2rem; line-height: 1.4; }
.no-coms { opacity: 0.5; font-size: 0.75rem; text-align: center; padding: 0.4rem 0; }

/* Paginacion */
.paginacion { display: flex; justify-content: center; align-items: center; gap: 1rem; margin: 2rem 0; }
.paginacion a {
  background: rgba(0,0,0,0.5); padding: 0.4rem 1.2rem;
  border: 1px solid rgba(255,165,0,0.35); color: #FFA500; transition: background 0.2s;
}
.paginacion a:hover { background: rgba(255,165,0,0.15); }
.paginacion .paginfo { font-size: 0.8rem; opacity: 0.62; }

/* Filtros */
.section-layout { display: flex; gap: 1.5rem; align-items: flex-start; }
.sidebar { width: 175px; flex-shrink: 0; background: rgba(0,0,0,0.4); padding: 0.8rem; }
.sidebar-block { margin-bottom: 1rem; }
.sidebar-title {
  font-family: "1942"; color: #FFA500; font-size: 0.76rem; margin-bottom: 0.4rem;
  border-bottom: 1px solid rgba(255,165,0,0.28); padding-bottom: 0.2rem;
}
.filter-list { display: flex; flex-direction: column; gap: 0.12rem; }
.filter-item { font-size: 0.72rem; padding: 0.2rem 0.3rem; opacity: 0.62; display: flex; align-items: center; gap: 0.3rem; }
.filter-item:hover, .filter-item.active { opacity: 1; color: #FFA500; }
.filter-item .badge {
  margin-left: auto; background: rgba(255,165,0,0.18); color: #FFA500;
  font-size: 0.6rem; padding: 0 3px; border-radius: 2px;
}
.flag-sm { height: 10px; width: auto; display: inline-block; }
.input {
  background: rgba(255,255,255,0.09); border: 1px solid rgba(255,165,0,0.28);
  color: white; padding: 0.3rem 0.5rem; width: 100%; font-size: 0.77rem; font-family: "Cabin", sans-serif;
}
.input::placeholder { opacity: 0.42; color: white; }
.section-content { flex: 1; min-width: 0; }

/* Home sections */
.home-preview {
  font-size: 0.78rem; line-height: 1.4; opacity: 0.72;
  margin: 0.4rem 0 0.3rem; font-style: italic;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.home-section { margin-bottom: 2rem; }
.home-section-header {
  display: flex; align-items: baseline; justify-content: space-between;
  border-bottom: 1px solid rgba(255,165,0,0.28); padding-bottom: 0.3rem; margin-bottom: 1rem;
}
.home-section-title { font-family: "1942"; color: #FFA500; font-size: 1.03rem; }
.home-section-more { font-size: 0.76rem; color: #FFA500; opacity: 0.62; }
.home-section-more:hover { opacity: 1; }

/* Entrada individual */
.entry { max-width: 860px; margin: 0 auto; padding: 1.5rem 1rem; }
.entry-header { margin-bottom: 1.5rem; }
.entry-meta { display: flex; align-items: center; gap: 0.7rem; font-size: 0.72rem; opacity: 0.62; margin-bottom: 0.5rem; }
.breadcrumb { color: #FFA500; opacity: 1; }
.entry-nation { display: flex; align-items: center; gap: 0.3rem; }
.flag { height: 15px; width: auto; display: inline-block; }
.entry-title {
  font-size: clamp(1.2rem, 2.8vw, 1.9rem); color: #FFA500; font-family: "1942";
  line-height: 1.2; margin-bottom: 0.5rem;
}
.entry-sub { font-size: 0.97rem; opacity: 0.78; }
.entry-figure { margin: 1.5rem 0; text-align: center; }
.entry-img { max-width: 100%; max-height: 400px; margin: 0 auto; object-fit: contain; }
.entry-text { line-height: 1.7; font-size: 0.92rem; }
.entry-text p {
  background: rgba(0,0,0,0.45); padding: 0.8rem 1rem; margin-bottom: 0.8rem;
  box-shadow: -10px 8px 16px 2px #0e0e0e;
}
.entry-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 1rem; }
.tag {
  background: rgba(255,165,0,0.14); border: 1px solid rgba(255,165,0,0.28);
  color: #FFA500; font-size: 0.7rem; padding: 0.15rem 0.5rem;
}
.section-label {
  font-family: "1942"; color: #FFA500; font-size: 0.92rem; margin: 1.5rem 0 0.8rem;
  border-bottom: 1px solid rgba(255,165,0,0.28); padding-bottom: 0.3rem; display: flex; align-items: center;
}
.badge {
  background: rgba(255,165,0,0.18); color: #FFA500; font-size: 0.66rem;
  padding: 0.1rem 0.4rem; border-radius: 2px; margin-left: 0.5rem;
}

/* Votacion */
.entry-vote { margin-top: 1.5rem; }
.vote-display { font-family: "1942"; font-size: 1.35rem; color: #FFA500; margin-bottom: 0.5rem; }
.vote-max { font-size: 0.86rem; opacity: 0.52; }
.vote-label { font-size: 0.7rem; opacity: 0.42; margin-left: 0.4rem; }
.vote-stars { display: flex; gap: 0.22rem; flex-wrap: wrap; margin-bottom: 0.4rem; }
.star {
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,165,0,0.28);
  color: white; cursor: pointer; font-size: 0.76rem; padding: 0.24rem 0.42rem; transition: background 0.15s;
}
.star:hover, .star-on { background: rgba(255,165,0,0.28); color: #FFA500; }
.vote-hint { font-size: 0.7rem; opacity: 0.52; }

/* Videos */
.video-grid { display: flex; flex-direction: column; gap: 1.5rem; }
.video-title { font-size: 0.82rem; opacity: 0.72; margin-bottom: 0.4rem; }
.video-embed { position: relative; padding-bottom: 56.25%; height: 0; }
.video-embed iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

/* Links */
.link-list { list-style: none; padding: 0; }
.link-list li { margin-bottom: 0.4rem; }
.link-list a { color: #FFA500; font-size: 0.82rem; opacity: 0.82; }
.link-list a:hover { opacity: 1; }

/* Comentarios */
.comments-list { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 1rem; }
.comment { background: rgba(0,0,0,0.4); padding: 0.75rem 1rem; border-left: 3px solid rgba(255,165,0,0.4); }
.comment-reply { margin-left: 2rem; border-left-color: rgba(255,255,255,0.13); }
.comment-header { display: flex; gap: 0.5rem; align-items: baseline; font-size: 0.76rem; margin-bottom: 0.32rem; }
.comment-nick { color: #FFA500; }
.comment-title { opacity: 0.72; }
.comment-date { opacity: 0.42; margin-left: auto; }
.comment-text { font-size: 0.85rem; line-height: 1.5; }
.empty-comments { opacity: 0.42; font-size: 0.82rem; }
.comment-form { display: flex; flex-direction: column; gap: 0.6rem; margin-top: 1rem; }
.textarea {
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,165,0,0.28);
  color: white; padding: 0.5rem; resize: vertical; font-family: "Cabin", sans-serif; font-size: 0.85rem;
}
.textarea::placeholder { opacity: 0.38; color: white; }
.reply-indicator { font-size: 0.76rem; background: rgba(255,165,0,0.07); padding: 0.3rem 0.6rem; border-left: 2px solid #FFA500; }
.login-prompt { font-size: 0.82rem; opacity: 0.62; margin-top: 1rem; }
.login-prompt a { color: #FFA500; }

/* Botones */
.btn { display: inline-flex; align-items: center; cursor: pointer; font-family: "Cabin", sans-serif; padding: 0.4rem 1rem; transition: opacity 0.2s; border: none; }
.btn:hover { opacity: 0.78; }
.btn-accent { background: rgba(190, 105, 0, 0.88); color: white; }
.btn-ghost { background: rgba(255,255,255,0.09); color: white; border: 1px solid rgba(255,255,255,0.18); }
.btn-xs { font-size: 0.7rem; padding: 0.18rem 0.42rem; }
.btn-sm { font-size: 0.78rem; padding: 0.26rem 0.62rem; }
.btn-link { background: none; border: none; color: #FFA500; cursor: pointer; font-size: 0.76rem; padding: 0; }

/* Auth */
.auth-page { display: flex; justify-content: center; align-items: flex-start; padding: 3rem 1rem; }
.auth-card { width: 100%; max-width: 400px; background: rgba(0,0,0,0.55); padding: 2rem; box-shadow: -10px 8px 18px 2px #0e0e0e; text-align: center; }
.auth-card h1 { color: #FFA500; font-family: "1942"; font-size: 1.2rem; margin-bottom: 1.5rem; }
.auth-form { display: flex; flex-direction: column; gap: 1rem; text-align: left; }
.auth-form label { display: flex; flex-direction: column; gap: 0.3rem; font-size: 0.85rem; }
.auth-footer { margin-top: 1.2rem; font-size: 0.82rem; text-align: center; opacity: 0.8; }
.auth-footer a { color: #FFA500; }
.auth-footer a:hover { opacity: 0.8; }
.alert { padding: 0.6rem 1rem; margin-bottom: 1rem; font-size: 0.82rem; border-radius: 2px; }
.alert-error { background: rgba(180,0,0,0.35); color: #ffaaaa; }
.alert-success { background: rgba(0,120,0,0.35); color: #aaffaa; }
.form-group { margin-bottom: 1rem; }
.form-label { display: block; font-size: 0.82rem; margin-bottom: 0.28rem; opacity: 0.78; }
.form-error { color: #ff6b6b; font-size: 0.78rem; margin-top: 0.22rem; }
.form-hint { font-size: 0.73rem; opacity: 0.52; margin-top: 0.22rem; }

/* Admin */
/* ── Admin ── */
.admin-page { max-width: 1200px; margin: 0 auto; padding: 1.5rem 1rem; }
.admin-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; flex-wrap: wrap; gap: 0.8rem; border-bottom: 1px solid rgba(255,165,0,0.25); padding-bottom: 0.8rem; }
.admin-header h1 { font-family: "1942"; color: #FFA500; font-size: 1.15rem; margin: 0; }
.admin-stats { display: flex; gap: 0.8rem; margin-bottom: 1.2rem; flex-wrap: wrap; }
.stat-card { background: rgba(0,0,0,0.45); border: 1px solid rgba(255,165,0,0.15); padding: 0.6rem 1.1rem; text-align: center; min-width: 90px; }
.stat-card .stat-n { font-family: "1942"; color: #FFA500; font-size: 1.4rem; display: block; }
.stat-card .stat-l { font-size: 0.65rem; opacity: 0.55; text-transform: uppercase; letter-spacing: 0.05em; }
.admin-filters { display: flex; gap: 0.5rem; margin-bottom: 1rem; flex-wrap: wrap; align-items: center; }
.admin-filters input { background: rgba(0,0,0,0.4); border: 1px solid rgba(255,255,255,0.15); color: white; padding: 0.3rem 0.7rem; font-size: 0.8rem; font-family: "Cabin"; }
.admin-filters input::placeholder { opacity: 0.4; }
.tab-btn { background: rgba(0,0,0,0.3); border: 1px solid rgba(255,255,255,0.12); color: white; padding: 0.28rem 0.75rem; font-size: 0.75rem; cursor: pointer; font-family: "Cabin"; transition: all 0.2s; }
.tab-btn:hover, .tab-btn.active { background: rgba(255,165,0,0.22); border-color: #FFA500; color: #FFA500; }
.admin-table-wrap { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 0.78rem; }
.admin-table th { color: #FFA500; font-family: "1942"; font-size: 0.68rem; padding: 0.5rem 0.6rem; text-align: left; border-bottom: 2px solid rgba(255,165,0,0.3); white-space: nowrap; }
.admin-table td { padding: 0.4rem 0.6rem; border-bottom: 1px solid rgba(255,255,255,0.06); vertical-align: middle; }
.admin-table tr:hover td { background: rgba(255,165,0,0.04); }
.row-inactive td { opacity: 0.45; }
.admin-table td a { color: white; }
.admin-table td a:hover { color: #FFA500; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; }
.dot-green { background: #22c55e; box-shadow: 0 0 5px #22c55e; }
.dot-red { background: #ef4444; }
.badge { display: inline-block; font-size: 0.62rem; padding: 0.12rem 0.42rem; border-radius: 2px; text-transform: uppercase; letter-spacing: 0.04em; font-weight: bold; }
.badge-cine { background: rgba(99,102,241,0.35); color: #a5b4fc; }
.badge-musica { background: rgba(236,72,153,0.3); color: #f9a8d4; }
.badge-pensamiento { background: rgba(20,184,166,0.3); color: #5eead4; }
.actions { white-space: nowrap; display: flex; gap: 0.3rem; align-items: center; }
.btn-danger { background: rgba(180,0,0,0.55); color: white; }
.btn-danger:hover { background: rgba(220,0,0,0.7); opacity: 1; }

/* Admin form */
.admin-form { display: grid; grid-template-columns: 1fr 300px; gap: 1.5rem; align-items: start; }
.admin-col-main { display: flex; flex-direction: column; gap: 1rem; }
.admin-col-side { display: flex; flex-direction: column; gap: 1rem; }
.admin-card { background: rgba(0,0,0,0.45); border: 1px solid rgba(255,255,255,0.08); padding: 1.1rem; }
.admin-card-title { font-family: "1942"; color: #FFA500; font-size: 0.78rem; margin-bottom: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; border-bottom: 1px solid rgba(255,165,0,0.2); padding-bottom: 0.4rem; }
.form-group { display: flex; flex-direction: column; gap: 0.3rem; }
.form-group label { font-size: 0.75rem; opacity: 0.65; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }
.form-actions { display: flex; gap: 0.8rem; align-items: center; padding-top: 0.5rem; grid-column: 1 / -1; }
.inline-group { display: flex; gap: 0.5rem; align-items: center; margin-bottom: 0.4rem; }
.input-code { width: 130px; flex-shrink: 0; }
.checkbox-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 0.3rem; }
.check-item { display: flex; align-items: center; gap: 0.35rem; font-size: 0.75rem; cursor: pointer; }
.check-item input { width: 13px; height: 13px; cursor: pointer; accent-color: #FFA500; }
.check-item small { opacity: 0.45; font-size: 0.62rem; }
.upload-area { display: flex; align-items: center; gap: 0.8rem; font-size: 0.78rem; }
.upload-area input[type=file] { font-size: 0.75rem; color: white; }
.foto-preview { max-height: 90px; border: 1px solid rgba(255,165,0,0.2); margin-top: 0.4rem; }
.star-selector { display: flex; gap: 0.3rem; align-items: center; }
.star-selector input { width: 60px; }
.ptos-display { color: #FFA500; font-family: "1942"; font-size: 1rem; min-width: 2ch; }
.select { background: rgba(0,0,0,0.6); border: 1px solid rgba(255,255,255,0.2); color: white; padding: 0.4rem 0.6rem; font-family: "Cabin"; font-size: 0.82rem; width: 100%; }
.textarea { background: rgba(0,0,0,0.5); border: 1px solid rgba(255,255,255,0.2); color: white; padding: 0.5rem 0.7rem; font-family: "Cabin"; font-size: 0.82rem; width: 100%; resize: vertical; line-height: 1.5; }
.activo-toggle { display: flex; align-items: center; gap: 0.6rem; font-size: 0.82rem; cursor: pointer; }
.activo-toggle input { width: 16px; height: 16px; accent-color: #FFA500; cursor: pointer; }
/* Tag genre selector */
.tag-input-wrap { display: flex; flex-wrap: wrap; gap: 0.35rem; align-items: center; padding: 0.4rem; background: rgba(0,0,0,0.4); border: 1px solid rgba(255,255,255,0.2); min-height: 2.4rem; cursor: text; position: relative; }
.tag-input-wrap input { background: none; border: none; color: white; font-family: "Cabin"; font-size: 0.82rem; outline: none; min-width: 140px; width: 140px; flex: 1 1 140px; padding: 0.1rem 0.2rem; }
.tag-input-wrap input::placeholder { opacity: 0.38; }
.gen-tag { display: inline-flex; align-items: center; gap: 0.25rem; background: rgba(255,165,0,0.2); border: 1px solid rgba(255,165,0,0.45); color: #FFA500; font-size: 0.72rem; padding: 0.15rem 0.4rem; white-space: nowrap; }
.gen-tag button { background: none; border: none; color: #FFA500; cursor: pointer; font-size: 0.85rem; line-height: 1; padding: 0; opacity: 0.7; }
.gen-tag button:hover { opacity: 1; }
.tag-dropdown { position: absolute; top: 100%; left: 0; right: 0; background: rgba(30,10,10,0.97); border: 1px solid rgba(255,165,0,0.35); max-height: 200px; overflow-y: auto; z-index: 200; display: none; }
.tag-option { padding: 0.4rem 0.7rem; font-size: 0.78rem; cursor: pointer; }
.tag-option:hover { background: rgba(255,165,0,0.18); color: #FFA500; }

/* Pagina enlaces */
.enlaces-section { margin-bottom: 2rem; }
.enlaces-section h3 { font-family: "1942"; color: #FFA500; margin-bottom: 0.8rem; font-size: 0.92rem; }
.enlaces-list { list-style: none; padding: 0; }
.enlaces-list li { margin-bottom: 0.5rem; }
.enlaces-list a { font-size: 0.82rem; display: block; opacity: 0.7; }
.enlaces-list a:hover { opacity: 1; color: #FFA500; }

/* Responsive */
@media (max-width: 900px) {
  nav ul li { width: 9%; }
  .section-layout { flex-direction: column; }
  .sidebar { width: 100%; }
  .femmen { width: 80%; }
}
@media (max-width: 600px) {
  h1 { font-size: 0.82rem; }
  h2 { font-size: 0.65rem; }
  nav ul li { width: 11%; min-width: 26px; }
  nav ul li:nth-child(8) { display: block; } /* hamburger visible en móvil */
  .noticias { grid-template-columns: 1fr; }
  .femmen { width: 96%; }
  .entry { padding: 1rem 0.5rem; }
}
