﻿:root {
  color-scheme: light;
  --paper: var(--lrc-bg, #eef4fa);
  --surface: var(--lrc-surface, #fff);
  --soft: var(--lrc-surface-soft, #f7fbff);
  --ink: var(--lrc-ink, #10243f);
  --muted: #51677e;
  --line: var(--lrc-line, rgba(16,36,63,.14));
  --accent: #176d94;
  --sans: 'Atkinson Hyperlegible', Arial, sans-serif;
  --heading: 'Roboto Slab', Georgia, serif;
  --mono: 'DM Mono', monospace;
}
.dark-mode {
  color-scheme: dark;
  --paper: #071426;
  --surface: #0e213b;
  --soft: #122a46;
  --ink: #edf8ff;
  --muted: #adc4d9;
  --line: rgba(202,232,255,.18);
  --accent: #78deed;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: radial-gradient(circle at 5% 20%,rgba(43,217,220,.1),transparent 28rem),var(--paper); font: 16px/1.6 var(--sans); }
a { color: var(--accent); text-underline-offset: 4px; }
button,input,textarea { font: inherit; }
button,a,input,textarea { touch-action: manipulation; }
button { cursor: pointer; }
button:disabled { opacity: .55; cursor: wait; }
:where(button,a,input,textarea,summary):focus-visible { outline: 3px solid #1688b0; outline-offset: 4px; }
[hidden] { display: none !important; }
.masthead,main,footer,.forum-topline>div { width: min(1220px,calc(100% - 48px)); margin-inline: auto; }
.forum-topline { background: linear-gradient(90deg,#04132c,#0a2f5c 65%,#154b72); color: #d9efff; font: 11px/1.5 var(--sans); padding: 9px 0; }
.forum-topline>div { display:flex; justify-content:space-between; gap:20px; }
.forum-topline span { color:#95f3dc; font:10px/1.6 var(--mono); letter-spacing:1.2px; }
.masthead { display:flex; align-items:center; gap:44px; padding:20px 0; border-bottom:1px solid var(--line); }
.brand { display:flex; align-items:center; gap:12px; text-decoration:none; color:var(--ink); font:700 24px/1.05 var(--sans); letter-spacing:-.6px; }
.brand img { width:103.2px; height:103.2px; object-fit:contain; }
.brand small { display:table; color:#fff; background:#0c2e59; padding:5px 9px; border-radius:4px; font:500 9px/1.5 var(--mono); letter-spacing:1.5px; margin-top:8px; }
.masthead nav { display:flex; align-items:center; gap:8px; margin-left:auto; }
.masthead nav a { color:var(--ink); text-decoration:none; padding:9px 14px; border-radius:6px; font-size:14px; }
.masthead nav a:hover { background:var(--soft); }
.masthead nav a[aria-current] { background:#0c2e59; color:#fff; box-shadow:inset 0 -3px #2bd9dc; }
.header-tools { display:flex; align-items:center; gap:16px; }
.edition { color:var(--accent); background:var(--soft); padding:6px 10px; border:1px solid var(--line); border-radius:5px; font:10px var(--mono); letter-spacing:.6px; }
.theme-toggle { width:38px; height:38px; border-radius:50%; border:1px solid var(--line); background:var(--surface); color:var(--ink); font-size:20px; }
main { padding-top:24px; }
.preview { color:var(--muted); font:10px/1.6 var(--mono); letter-spacing:.5px; padding-bottom:16px; display:flex; gap:16px; flex-wrap:wrap; }
.preview span { letter-spacing:0; }
.hero { position:relative; isolation:isolate; display:flex; align-items:center; justify-content:space-between; gap:25px; padding:42px 44px; color:#edf8ff; background:radial-gradient(ellipse at 90% 10%,rgba(43,217,220,.16),transparent 60%),linear-gradient(115deg,#061936,#0c2e59); border:1px solid #21496f; border-radius:14px; overflow:hidden; margin-bottom:30px; box-shadow:0 16px 35px rgba(6,25,54,.1); }
.hero::after { content:''; position:absolute; z-index:-1; inset:0; opacity:.12; background-image:url('neural-network-texture.svg'); background-position:right center; background-size:cover; pointer-events:none; }
.eyebrow { color:var(--accent); font:500 10px/1.5 var(--mono); letter-spacing:1.4px; margin:0 0 12px; }
.hero .eyebrow { color:#95f3dc; }
h1 { font:600 clamp(28px,3.5vw,43px)/1.23 var(--heading); letter-spacing:-1px; margin:0 0 18px; }
h1 em { color:#80e7ed; font-style:normal; }
.hero p:not(.eyebrow) { color:#c2d9ee; max-width:600px; font-size:15px; margin:0; }
.hero-topics { display:flex; flex-wrap:wrap; gap:8px; margin-top:24px; }
.hero-topics span { padding:5px 10px; border:1px solid rgba(149,243,220,.25); border-radius:4px; color:#d6f7fa; font:10px/1.6 var(--mono); background:rgba(6,25,54,.3); }
.hero-mark { flex:0 0 245px; color:#67cfe6; text-align:center; }
.hero-mark svg { display:block; width:100%; height:auto; }
.hero-mark small { color:#a6dbe9; font:9px var(--mono); letter-spacing:1.7px; }
.hero>div:first-child { flex:1; min-width:0; }
.hero-sidebar { flex:0 0 44%; min-width:0; }
.hero-sidebar .hero-mark { width:150px; margin:0 auto 18px; }
.hero-sidebar .hero-mark small { font-size:7px; letter-spacing:1px; }
.hero-ranking { padding:16px 20px; border:1px solid rgba(120,217,235,.3); border-radius:10px; background:rgba(6,25,54,.55); }
.hero-ranking h2 { font-size:20px; margin:0 0 12px; color:#edf8ff; }
.hero-ranking .eyebrow { font-size:8px; letter-spacing:1px; margin-bottom:7px; }
.hero-ranking ol { margin:0; padding-left:23px; color:#80e7ed; }
.hero-ranking li { padding:5px 0 5px 4px; font-size:13px; line-height:1.4; }
.hero-ranking li+li { border-top:1px solid rgba(120,217,235,.15); }
.hero-ranking a { color:#edf8ff; text-decoration:none; overflow-wrap:anywhere; }
.hero-ranking a:hover { color:#80e7ed; text-decoration:underline; }
.hero .hero-ranking .ranking-note { font-size:11px; color:#a6dbe9; margin-top:14px; }
h2 { font:600 25px/1.3 var(--heading); margin:0 0 20px; letter-spacing:-.5px; }
h3 { font:600 19px/1.4 var(--heading); }
.gate { display:grid; grid-template-columns:1fr 1fr; gap:50px; padding:36px 40px; margin-bottom:30px; border:1px solid var(--line); border-top:3px solid #1688b0; border-radius:12px; background:var(--surface); box-shadow:0 8px 28px rgba(6,25,54,.05); }
.gate>div:first-child { padding:14px 12px 10px 0; }
.gate>div:first-child>p:not(.eyebrow) { max-width:430px; color:var(--muted); font-size:14px; }
.age-badge { display:inline-block; color:var(--accent); border:1px solid var(--line); background:var(--soft); border-radius:6px; padding:6px 12px; font:500 14px var(--mono); margin-bottom:20px; }
.gate form { display:flex; flex-direction:column; gap:10px; padding:24px; border:1px solid var(--line); border-radius:9px; background:var(--soft); }
.gate form label:not(.check),.reply-form label { font-size:13px; font-weight:700; }
:is(.gate,.reply-form) input:not([type=checkbox]),.reply-form textarea,.search input { display:block; width:100%; min-width:0; padding:11px 13px; color:var(--ink); border:1px solid var(--line); border-radius:6px; background:var(--surface); box-shadow:0 2px 3px rgba(6,25,54,.025); }
:is(input,textarea)::placeholder { color:var(--muted); opacity:1; }
.check { display:flex; align-items:flex-start; gap:10px; font-size:13px; line-height:1.5; }
.check input { accent-color:#1688b0; width:18px; height:18px; flex-shrink:0; margin:2px 0 0; }
#registration-fields { display:grid; gap:12px; }
button[type=submit] { padding:12px 18px; background:linear-gradient(120deg,#0d5793,#176d94); color:#fff; border:1px solid #176d94; border-radius:6px; font-weight:700; text-align:left; box-shadow:0 4px 10px rgba(16,88,148,.12); }
button[type=submit]:hover:not(:disabled) { background:#0c2e59; border-color:#0c2e59; }
button[type=submit] span { float:right; }
.quiet { padding:8px 4px; border:0; background:transparent; color:var(--accent); font-size:13px; text-decoration:underline; text-underline-offset:4px; }
.quiet:hover { color:var(--ink); }
.gate form>a { text-align:center; font-size:12px; color:var(--muted); }
.muted { color:var(--muted); font-size:12px !important; }
#account-status:empty,#password-status:empty,#reply-status:empty,#report-status:empty,#remove-status:empty { display:none; }
#account-status,#password-status,#reply-status,#report-status,#remove-status { font-size:13px; overflow-wrap:anywhere; }
.community-bar { display:flex; align-items:center; gap:20px; margin-bottom:24px; padding:12px 18px; background:var(--surface); border:1px solid var(--line); border-radius:8px; font-size:13px; }
.community-bar>span { margin-right:auto; }
.community-bar>span::before { content:''; display:inline-block; width:7px; height:7px; background:#1688b0; border-radius:50%; margin-right:10px; }
.workspace { display:grid; grid-template-columns:260px minmax(0,1fr); gap:24px; align-items:start; }
.workspace aside { padding:24px 18px; background:var(--surface); border:1px solid var(--line); border-radius:10px; }
.workspace aside h2 { font-size:21px; }
.rooms { display:flex; flex-direction:column; gap:6px; }
.rooms button { display:flex; align-items:center; justify-content:space-between; gap:10px; width:100%; padding:11px 12px; text-align:left; border:1px solid transparent; border-radius:6px; color:var(--ink); background:var(--soft); font-size:13px; }
.rooms button:hover { border-color:#1688b0; }
.rooms button.active { color:#fff; background:#0c2e59; box-shadow:inset 3px 0 #2bd9dc; }
.rooms small { font:10px var(--mono); opacity:.9; }
.rules { padding:22px 4px 0; border-top:1px solid var(--line); margin-top:24px; color:var(--muted); font-size:12px; }
.rules b { color:var(--ink); }
#prohibited-words { margin-top:16px; overflow-wrap:anywhere; }
#prohibited-words summary { color:var(--accent); cursor:pointer; }
.discussion { min-width:0; padding:26px; background:var(--surface); border:1px solid var(--line); border-radius:10px; }
.list-heading { display:flex; align-items:center; justify-content:space-between; gap:14px; }
.list-heading .eyebrow { font-size:9px; }
.list-heading h2 { margin-bottom:22px; }
.count,.tag { display:inline-block; color:var(--accent); background:var(--soft); border:1px solid var(--line); border-radius:4px; padding:4px 8px; font:10px/1.5 var(--mono); }
.count { white-space:nowrap; }
.search { display:block; color:var(--muted); font-size:12px; }
.search input { margin:6px 0 20px; padding:13px 16px; }
#threads { display:grid; gap:12px; }
.thread-card { display:grid; grid-template-columns:minmax(0,1fr) 26px; gap:16px; width:100%; padding:20px 22px; border:1px solid var(--line); border-left:3px solid #1688b0; border-radius:8px; background:var(--soft); color:var(--ink); text-align:left; transition:border-color .18s,box-shadow .18s; }
.thread-card:hover { border-color:#1688b0; box-shadow:0 5px 15px rgba(6,25,54,.08); }
.thread-card h3 { font:600 19px/1.4 var(--heading); margin:12px 0; overflow-wrap:anywhere; }
.thread-card p { font-size:12px; margin:0; color:var(--muted); }
.thread-card .arrow { align-self:center; color:var(--accent); font-size:23px; }
.thread-summary { display:flex; align-items:flex-start; gap:16px; min-width:0; }
.thread-summary>div { min-width:0; }
.thread-thumbnail { display:block; flex:0 0 96px; width:96px; height:72px; object-fit:cover; border-radius:6px; background:var(--surface); }
.article-source .thread-thumbnail { float:left; margin:0 18px 10px 0; }
.article-source::after { content:''; display:block; clear:both; }
.thread-card:nth-child(3n+2) { border-left-color:#7772cd; }
.thread-card:nth-child(3n+3) { border-left-color:#238a7c; }
.thread-title { font:600 clamp(24px,3vw,33px)/1.35 var(--heading); margin:22px 0; overflow-wrap:anywhere; }
.article-source { padding:22px; margin:24px 0; border:1px solid var(--line); border-left:3px solid #1688b0; border-radius:6px; background:var(--soft); }
.article-source p { color:var(--muted); font-size:14px; }
.reply { padding:20px 0; border-bottom:1px solid var(--line); }
.reply b { font-size:14px; }
.reply p { white-space:pre-wrap; overflow-wrap:anywhere; font-size:15px; line-height:1.75; }
.reply small { color:var(--muted); font-size:11px; }
.reply-form { padding:24px; margin:28px 0 0; border:1px solid var(--line); border-radius:8px; background:var(--soft); }
.reply-form h3 { margin-top:0; }
.reply-form p { font-size:13px; color:var(--muted); }
.reply-form label { display:block; margin-top:12px; }
.reply-form input,.reply-form textarea { margin:6px 0 14px; }
.reply-form textarea { min-height:145px; resize:vertical; }
.reply-form button[type=submit] { width:100%; }
.pagination,.reply-actions { display:flex; align-items:center; gap:20px; font-size:12px; flex-wrap:wrap; }
.reply-actions .reaction { display:inline-flex; align-items:center; gap:7px; padding:7px 10px; border:1px solid var(--line); border-radius:6px; background:var(--soft); color:var(--ink); font-size:12px; }
.reply-actions .reaction:hover { border-color:var(--accent); }
.reply-actions .reaction[aria-pressed=true] { border-color:var(--accent); background:var(--ink); color:var(--paper); }
.reaction span { font-family:var(--mono); }
#previous { margin-right:20px; }
#more,#previous { margin-top:18px; }
#forum-status { padding:14px 18px; border:1px solid var(--line); border-left:3px solid #1688b0; border-radius:6px; background:var(--surface); overflow-wrap:anywhere; }
#moderation { padding:24px; margin-bottom:24px; background:var(--surface); border:1px solid var(--line); border-radius:10px; }
#reports p { white-space:pre-wrap; overflow-wrap:anywhere; }
footer { display:flex; justify-content:space-between; gap:20px; border-top:1px solid var(--line); margin-top:46px; padding:24px 0 32px; color:var(--muted); font-size:12px; }
footer b { color:var(--ink); font:500 11px var(--mono); letter-spacing:.5px; }
@media (max-width:1000px) {
  .masthead { gap:20px; }
  .edition { display:none; }
  .workspace { grid-template-columns:220px minmax(0,1fr); gap:18px; }
  .hero-mark { flex-basis:190px; }
  .hero { padding:32px; }
  .gate { gap:26px; padding:28px; }
  .discussion { padding:22px; }
}
@media (max-width:760px) {
  .masthead,main,footer,.forum-topline>div { width:calc(100% - 32px); }
  .forum-topline span { display:none; }
  .forum-topline { font-size:10px; }
  .masthead { flex-wrap:wrap; gap:16px; padding:16px 0; }
  .brand { font-size:21px; gap:8px; }
  .brand img { width:81.6px; height:81.6px; }
  .brand small { font-size:8px; }
  .header-tools { margin-left:auto; }
  .masthead nav { order:3; margin:0; width:100%; padding-top:12px; border-top:1px solid var(--line); }
  .masthead nav a { padding:7px 14px; font-size:13px; }
  main { padding-top:18px; }
  .preview { font-size:9px; }
  .hero { padding:26px 22px; border-radius:10px; margin-bottom:20px; }
  .hero { flex-direction:column; align-items:stretch; }
  .hero-sidebar { flex:auto; width:100%; }
  .hero-sidebar .hero-mark { display:block; width:125px; }
  .hero-mark { display:none; }
  .hero p:not(.eyebrow) { font-size:14px; }
  .hero-topics { gap:6px; margin-top:18px; }
  .hero-topics span { font-size:9px; padding:4px 7px; }
  .gate { grid-template-columns:1fr; padding:22px; gap:16px; }
  .gate>div:first-child { padding:0; }
  .gate form { padding:18px; }
  h2 { font-size:23px; }
  .workspace { grid-template-columns:1fr; gap:20px; }
  .workspace aside { padding:20px; }
  .rooms { flex-direction:row; overflow-x:auto; padding:2px 2px 10px; scrollbar-width:thin; }
  .rooms button { width:auto; flex:0 0 auto; gap:12px; }
  .rules { padding-top:16px; margin-top:12px; }
  .rules>p { margin:8px 0; }
  .discussion { padding:20px 16px; }
  .list-heading { align-items:flex-start; }
  .list-heading .eyebrow { font-size:8px; letter-spacing:.8px; }
  .list-heading h2 { font-size:22px; }
  .thread-card { padding:16px; gap:8px; grid-template-columns:minmax(0,1fr) 20px; }
  .thread-card h3 { font-size:17px; }
  .thread-summary { gap:10px; }
  .thread-summary .thread-thumbnail { flex-basis:64px; width:64px; height:52px; }
  .community-bar { gap:12px; padding:12px; flex-wrap:wrap; }
  .community-bar>span { width:100%; }
  .reply-form { padding:18px; }
  footer { flex-wrap:wrap; gap:10px 24px; }
}
@media (prefers-reduced-motion:reduce) { * { transition:none !important; scroll-behavior:auto !important; } }

/* Avisos de acceso junto a la explicaci?n de la cuenta. */
#account-status.access-notice,
#password-status.access-notice {
  margin:24px 0 0;
  padding:22px 24px;
  border:2px solid var(--accent);
  border-left-width:6px;
  border-radius:10px;
  background:var(--soft);
  color:var(--ink);
  font:700 18px/1.65 var(--sans);
  overflow-wrap:anywhere;
}
#account-register.quiet,
#account-recover.quiet {
  display:block;
  width:100%;
  padding:13px 18px;
  border:2px solid var(--accent);
  border-radius:8px;
  background:var(--surface);
  color:var(--accent);
  font-size:17px;
  font-weight:700;
  text-decoration:none;
}
#account-register.quiet:hover,
#account-recover.quiet:hover {
  background:var(--ink);
  color:var(--surface);
  border-color:var(--ink);
}
#account-register:focus-visible,
#account-recover:focus-visible {
  outline:3px solid var(--accent);
  outline-offset:3px;
}
@media(max-width:600px) {
  #account-status.access-notice,#password-status.access-notice { padding:18px;font-size:17px; }
}

/* Reglas de convivencia debajo del panel de salas. */
.forum-sidebar { display:grid; gap:20px; min-width:0; }
.forum-conduct {
  padding:24px 18px;
  background:var(--surface);
  border:1px solid var(--line);
  border-top:3px solid var(--accent);
  border-radius:10px;
  color:var(--ink);
}
.forum-conduct h2 { margin:0 0 18px; font-size:21px; }
.forum-conduct .eyebrow { font-size:11px; }
.forum-conduct ol { margin:0; padding-left:23px; font-size:15px; line-height:1.65; }
.forum-conduct li { padding-left:3px; }
.forum-conduct li + li { margin-top:14px; }
.forum-conduct li::marker { color:var(--accent); font-weight:700; }
@media(max-width:600px) { .forum-conduct { padding:20px; } }

/* Formularios y acciones cómodos de usar desde un celular. */
.gate > *, .private-messages, .private-messages form { min-width:0; }
.private-messages [data-compose] { display:grid; gap:12px; margin-top:24px; }
.private-messages button { min-height:44px; padding:10px 14px; border:1px solid var(--line); border-radius:6px; background:var(--surface); color:var(--accent); font-weight:700; }
.private-messages button[type=submit] { background:#176d94; color:#fff; }
.private-messages button:hover:not(:disabled) { border-color:var(--accent); }
.private-messages .reply { overflow-wrap:anywhere; }
@media(max-width:760px){
  .forum-page input,.forum-page textarea { font-size:16px; }
  .forum-page .quiet,.reply-actions button,.pagination button { min-height:44px; }
  .reply-actions { gap:10px; }
  .reply-actions button { padding:10px 12px; white-space:normal; }
  .list-heading { flex-wrap:wrap; }
  .gate form { min-width:0; }
  .forum-conduct li { overflow-wrap:anywhere; }
}
@media(max-width:380px){
  .gate { padding:18px 14px; }
  .gate form { padding:14px; }
  .private-messages { padding:16px 12px; }
  .private-messages .pagination { flex-wrap:wrap; }
}
.forum-print-only { display:none; }
.thread-print { min-height:44px; margin-left:20px; }
@media(max-width:600px) {
  .thread-print { display:block; margin:4px 0 0; text-align:left; width:100%; }
  .article-source { padding:16px; overflow-wrap:anywhere; }
  .reply > b { overflow-wrap:anywhere; }
}
@media print {
  @page { size:A4; margin:18mm; }
  body.printing-conversation { background:white !important; color:black !important; }
  body.printing-conversation > :not(.forum-print-only) { display:none !important; }
  body.printing-conversation > .forum-print-only { display:block !important; font:11pt/1.5 Georgia,serif; color:black; }
  .forum-print-only header { border-bottom:2px solid #222; padding-bottom:8pt; }
  .forum-print-only h1 { font-size:20pt; line-height:1.2; margin:16pt 0 10pt; }
  .forum-print-only h2 { font-size:15pt; }
  .forum-print-only h3 { font-size:11pt; margin:0 0 5pt; break-after:avoid; }
  .forum-print-only h3 small { font-weight:normal; }
  .forum-print-only article { border-top:1px solid #ccc; padding:10pt 0; }
  .forum-print-only p { margin:5pt 0; orphans:3; widows:3; }
  .forum-print-only .print-body { white-space:pre-wrap; overflow-wrap:anywhere; }
  .forum-print-only .print-parent { font-style:italic; }
  .forum-print-only .print-url { font-size:9pt; overflow-wrap:anywhere; }
  .forum-print-only footer { border-top:1px solid #222; margin-top:16pt; padding-top:8pt; font-size:9pt; }
}

/* Acciones de salida visibles en el acceso y dentro de las salas. */
#gate-logout.quiet,#leave.quiet{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:11px 20px;border:2px solid #a52d24;border-radius:8px;background:#b7352a;color:#fff;font-size:16px;font-weight:700;line-height:1.35;text-align:center;text-decoration:none;box-shadow:0 3px 8px rgba(110,30,24,.16)}
#gate-logout.quiet{width:100%;margin-top:14px}
#gate-logout.quiet:hover,#leave.quiet:hover{background:#90271f;border-color:#90271f;color:#fff}
#gate-logout.quiet:focus-visible,#leave.quiet:focus-visible{outline:3px solid var(--accent);outline-offset:4px}
.dark-mode #gate-logout.quiet,.dark-mode #leave.quiet{background:#a93229;border-color:#ffada5;color:#fff}
.dark-mode #gate-logout.quiet:hover,.dark-mode #leave.quiet:hover{background:#83251e}
@media(max-width:600px){#leave.quiet{width:100%}}

/* Agenda de eventos debajo de los debates. */
.forum-main { display:grid; gap:24px; min-width:0; }
.forum-events-banner { display:block; overflow:hidden; border-radius:10px; }
.forum-events-banner img { display:block; width:100%; height:auto; }
.forum-events-banner:focus-visible { outline:3px solid var(--accent); outline-offset:4px; }

/* Avisos privados y mensajes nuevos. */
.private-message-notice{display:block;width:100%;margin:18px 0;padding:20px 24px;border:2px solid var(--accent);border-left-width:7px;border-radius:10px;background:var(--surface);color:var(--ink);font:700 18px/1.5 var(--sans);text-align:left;cursor:pointer}
.community-bar .has-unread{font-weight:700;text-decoration:underline;text-decoration-thickness:2px}
.private-messages .private-message-unread{margin:18px 0;padding:20px;border:2px solid var(--accent);border-left-width:6px;border-radius:8px;background:var(--soft)}
.private-message-badge{display:block;margin-bottom:12px;color:var(--accent)}
.private-message-unread>button{display:block;margin:10px 0}
.private-message-notice:focus-visible{outline:3px solid var(--accent);outline-offset:3px}

@keyframes forum-title-blink{0%,100%{opacity:1}50%{opacity:.45}}
.masthead .forum-title-blink{animation:forum-title-blink 1.8s ease-in-out infinite}
@media(prefers-reduced-motion:reduce){.masthead .forum-title-blink{animation:none}}

.moderation-status{display:flex;align-items:center;gap:18px;margin-top:26px;color:#eef7ff}
.moderation-status>div:last-child{display:grid;gap:6px;min-width:0}
.moderation-status strong{font-size:15px}
.moderation-status-label{font-size:14px}
.moderation-status small{font-size:12px;color:#c7e6ef}
.moderation-traffic-light{display:flex;flex-direction:column;gap:7px;flex-shrink:0;padding:10px;background:#061526;border:2px solid #7595aa;border-radius:18px;box-shadow:0 6px 16px #0004}
.moderation-traffic-light span{display:block;width:24px;height:24px;border-radius:50%;background:#263b4c;border:1px solid #5b7181}
[data-level="red"] .traffic-red{background:#ff5252;border-color:#ffc5c5;box-shadow:0 0 14px #ff525299}
[data-level="yellow"] .traffic-yellow{background:#ffd447;border-color:#fff2b0;box-shadow:0 0 14px #ffd44799}
[data-level="green"] .traffic-green{background:#43dc88;border-color:#b8ffda;box-shadow:0 0 14px #43dc8899}
[data-level="unknown"] .traffic-yellow{background:#ffd447;border-color:#fff2b0;box-shadow:0 0 14px #ffd44799;animation:moderation-warning 1s steps(1,end) infinite}
@keyframes moderation-warning{50%{background:#263b4c;border-color:#5b7181;box-shadow:none}}
@media(prefers-reduced-motion:reduce){[data-level="unknown"] .traffic-yellow{animation:none}}

/* Redes del encabezado, con los mismos enlaces e iconos de Inicio. */
.header-tools .social-menu{position:relative}
.header-tools .social-menu>summary{display:flex;align-items:center;gap:10px;list-style:none;cursor:pointer;padding:10px 14px;min-height:44px;background:#77dbe7;border:2px solid #42bdcf;color:#073246;font-size:14px;font-weight:700;box-shadow:0 6px 16px rgba(45,177,198,.2)}
.header-tools .social-menu>summary::-webkit-details-marker{display:none}
.header-tools .social-menu[open]>summary>span{transform:rotate(180deg)}
.header-tools .social-menu-links{position:absolute;right:0;top:calc(100% + 8px);z-index:30;width:245px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 150px);overflow-y:auto;display:grid;gap:3px;padding:8px;background:var(--surface);border:2px solid #25b4c9;box-shadow:0 18px 36px rgba(6,25,54,.2)}
.header-tools .social-menu-links a{display:flex;align-items:center;gap:10px;min-height:42px;padding:9px 10px;border:1px solid transparent;color:var(--ink);font-size:13px;text-decoration:none}
.header-tools .social-menu-links a:hover{background:#dff8fb;border-color:#72d9e5;color:#073246}
.header-tools .social-menu-links svg{color:#149eb5;flex:0 0 20px;width:20px;height:20px}
.dark-mode .header-tools .social-menu-links a:hover{background:#173c54;color:#edf8ff}
