@font-face { font-family: "Archivo"; src: url("/fonts/archivo-latin-wdth-normal.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "Outfit"; src: url("/fonts/outfit-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "JetBrains"; src: url("/fonts/jetbrains-mono-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }

/* Diario clásico: tinta sobre papel blanco, una sola familia (Archivo): angosta para la marca y los titulares,
   de ancho normal para el texto, sin contraste de finos y gruesos. Un solo rojo, el de la barra de alerta,
   para la marca y las alertas. Cada par texto/fondo pasa WCAG AA.
   El tema claro es el de entrada; el oscuro se elige con el botón. */
:root {
  color-scheme: light;
  --bg: #ffffff;
  --ink: #111111;
  --ink-2: #333333;
  --muted: #5c5c5c;
  --rule: #c4c4c4;
  --grain: #8a8a8a;
  --alert: #c8102e;
  --on-alert: #ffffff;
  --brand-r: #c8102e;
  --band: #c8102e;
  --on-band: #ffffff;
  --display: "Archivo", "Arial Narrow", ui-sans-serif, system-ui, sans-serif;
  --serif: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;  /* texto: Archivo de ancho normal */
  --gap: clamp(20px, 2.2vw, 32px);
  --mono: "JetBrains", ui-monospace, "Cascadia Mono", Menlo, Consolas, monospace;
  --ease: cubic-bezier(.23, 1, .32, 1);
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #101010;
  --ink: #ececec;
  --ink-2: #cfcfcf;
  --muted: #a6a6a6;
  --rule: #3d3d3d;
  --grain: #6f6f6f;
  --alert: #ee3348;      /* el rojo de la barra, apenas más claro para que se lea como texto sobre negro */
  --on-alert: #101010;
  --brand-r: #c8102e;
  --band: #c8102e;
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scrollbar-color: var(--muted) var(--bg); background: var(--bg); }
body {
  margin: 0 auto;
  max-width: 1520px;
  padding: 0 max(24px, env(safe-area-inset-right)) 0 max(24px, env(safe-area-inset-left));
  background: var(--bg);
  color: var(--ink);
  font: 400 1.125rem/1.62 var(--serif);
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
}
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
button, input, select { font: inherit; color: inherit; }
a, button, input, select, summary { touch-action: manipulation; }
::selection { background: var(--ink); color: var(--bg); }
input { caret-color: var(--alert); }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
time, .meta, .wire-meta, .bar-n, .status { font-variant-numeric: tabular-nums lining-nums; }
svg { flex: none; }
[hidden] { display: none !important; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: 8px; z-index: 10; padding: 10px 14px; background: var(--ink); color: var(--bg); font-weight: 600; transform: translateY(-160%); }
.skip:focus { transform: none; }

/* Cabecera */
.topbar {
  font-family: var(--display);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 52px; padding: 6px 0; border-bottom: 2px solid var(--ink);
  font-size: .875rem; color: var(--ink-2);
}
.topbar-right { display: flex; align-items: center; gap: 12px; }
.status { text-align: right; color: var(--muted); }
.status strong { color: var(--alert); font-weight: 600; }
.lang-switch {
  display: inline-flex; align-items: center; min-height: 34px; padding: 0 12px; border: 2px solid var(--ink);
  font: 700 .875rem/1 var(--display); font-stretch: 80%; letter-spacing: .03em; text-transform: uppercase; white-space: nowrap;
  transition: background-color .18s var(--ease), color .18s var(--ease);
}
.theme-toggle {
  display: inline-grid; place-items: center; width: 34px; height: 34px; flex: none; padding: 0;
  border: 0; background: none; color: var(--ink); cursor: pointer; transition: transform .16s var(--ease);
}
.theme-toggle:active { transform: scale(.92); }
.theme-toggle svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.theme-toggle .i-moon, :root[data-theme="dark"] .theme-toggle .i-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .i-moon { display: block; }
@media (hover: hover) { .lang-switch:hover { background: var(--ink); color: var(--bg); } }

/* El subtítulo queda con el mismo aire arriba (hasta el filete de la marca) y abajo (hasta la línea). */
.masthead { padding: 22px 0 12px; text-align: center; border-bottom: 2px solid var(--ink); }
.brand {
  margin: 0;
  font: 800 clamp(2rem, 8.6vw, 5.4rem)/.92 var(--display);
  font-stretch: 62%; letter-spacing: -.012em; text-transform: uppercase;
}
/* La marca: las dos R espalda con espalda, en rojo, con la misma letra que CIBE y ADAR, pegadas a los costados.
   Miden el espacio entre los filetes, de borde interno a borde interno: .86 + .07 + .01 = .94em;
   mayúscula de Archivo = .688 → cuerpo de la R = .94 / .688 = 1.3663em.
   Con interlineado igual a la mayúscula, la R baja .01em (= -(ascendente .878 - descendente .21 - .688) / 2). */
.brand a { display: inline-flex; align-items: center; gap: .03em; }
.side { display: block; padding: .07em .04em .01em; border-block: .085em solid currentColor; line-height: .86; }
.rr { display: inline-flex; height: .688em; font-size: 1.3663em; line-height: .688; color: var(--brand-r); }
.rr span { display: block; translate: 0 .01em; }
.rr .r-flip { transform: scaleX(-1); margin-right: -.015em; }
.motto { margin: 12px 0 0; font: 700 .9375rem/1.2 var(--display); font-stretch: 80%; letter-spacing: .03em; text-transform: uppercase; color: var(--ink); }

/* Secciones */
.sections {
  display: flex; justify-content: center; gap: 4px;
  border-bottom: 5px solid var(--ink);
  overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity;
  font: 700 1rem/1 var(--display); font-stretch: 78%; letter-spacing: .02em; text-transform: uppercase;
}
.sections::-webkit-scrollbar { display: none; }
.sections a {
  flex: none; scroll-snap-align: start;
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; color: var(--ink);
  text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 3px; text-underline-offset: 7px;
  transition: text-decoration-color .18s var(--ease);
}
@media (hover: hover) { .sections a:hover { text-decoration-color: var(--rule); } }
.sections a[aria-current="page"] { text-decoration-color: var(--ink); }

/* Última alerta: barra roja con la actividad de los últimos 14 días */
.wire {
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
  margin-top: 16px; padding: 14px 20px; border-radius: 6px; background: var(--band); color: var(--on-band);
}
.wire-news { flex: 1; min-width: 0; display: flex; align-items: baseline; gap: 14px; font: 700 1.125rem/1.3 var(--display); font-stretch: 84%; }
.wire-label { flex: none; display: inline-flex; align-items: center; gap: 8px; font: 800 .875rem/1 var(--display); font-stretch: 78%; letter-spacing: .02em; }
.pulse { width: 9px; height: 9px; border-radius: 50%; background: currentColor; }
.wire a { flex: 1; min-width: 0; }
.wire-meta { flex: none; font: 500 .8125rem/1 var(--display); opacity: .85; }
@media (hover: hover) { .wire a:hover { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 2px; } }
.wire .pulse-chart { flex: none; width: 196px; }
.wire .pulse-chart svg { height: 34px; }
.wire .pulse-chart figcaption { margin-top: 4px; font: 600 .75rem/1.2 var(--display); color: inherit; opacity: .85; text-align: right; }
.wire .pulse-chart .bar { fill: currentColor; opacity: .45; }
.wire .pulse-chart .bar.today, .wire .pulse-chart g:hover .bar { fill: currentColor; opacity: 1; }

/* Búsqueda */
.tools { display: flex; gap: 12px; margin: 18px 0 6px; }
.search { position: relative; flex: 1; min-width: 0; }
.search svg { position: absolute; left: 0; top: 50%; width: 18px; height: 18px; translate: 0 -50%; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; pointer-events: none; }
.tools input, .tools select {
  width: 100%; height: 46px; padding: 0 4px; border: 0; border-bottom: 2px solid var(--ink); border-radius: 0;
  background: transparent; color: var(--ink); font: 400 1rem/1 var(--serif);
  transition: box-shadow .18s var(--ease);
}
.tools input { padding-left: 28px; }
.tools input::placeholder { color: var(--muted); opacity: 1; }
.tools input::-webkit-search-cancel-button { cursor: pointer; }
.tools input:focus, .tools select:focus { outline: none; box-shadow: 0 3px 0 var(--ink); }
.tools select {
  appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 30px;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 11px) 21px, calc(100% - 6px) 21px;
  background-size: 5px 5px; background-repeat: no-repeat;
}
.tools select option { background: var(--bg); color: var(--ink); }
@supports (appearance: base-select) {
  .tools select, .tools select::picker(select) { appearance: base-select; }
  .tools select { display: flex; align-items: center; background-image: none; padding-right: 4px; }
  .tools select::picker-icon { content: ""; width: 8px; height: 8px; margin: 0 4px 0 auto; border: solid var(--ink); border-width: 0 2px 2px 0; rotate: 45deg; translate: 0 -2px; transition: rotate .2s var(--ease), translate .2s var(--ease); }
  .tools select:open::picker-icon { rotate: 225deg; translate: 0 2px; }
  .tools select::picker(select) {
    margin-top: 6px; padding: 6px; min-width: anchor-size(width); border: 2px solid var(--ink); border-radius: 6px;
    background: var(--bg); color: var(--ink); box-shadow: 0 16px 36px -18px rgb(0 0 0 / .45);
    opacity: 0; translate: 0 -4px; transition: opacity .16s var(--ease), translate .16s var(--ease), overlay .16s allow-discrete, display .16s allow-discrete;
  }
  .tools select:open::picker(select) { opacity: 1; translate: 0 0; }
  @starting-style { .tools select:open::picker(select) { opacity: 0; translate: 0 -4px; } }
  .tools select option { display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 0 12px; border-radius: 4px; background: transparent; font: 500 1rem/1.2 var(--serif); cursor: pointer; }
  .tools select option::checkmark { order: 1; margin-left: auto; content: "✓"; font-weight: 800; }
  .tools select option:hover, .tools select option:focus-visible { background: var(--ink); color: var(--bg); outline: none; }
  .tools select option:checked { font-weight: 700; }
}
.topic { flex: 0 0 220px; }

/* Portada: tres columnas separadas por filetes */
.front {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.5fr) minmax(0, 1fr);
  padding: 18px 0 30px;
}
.front > * { padding: 0 24px; }
.front > :first-child { padding-left: 0; }
.front > :last-child { padding-right: 0; }
.front > * + * { border-left: 2px solid var(--ink); }
.column-title {
  margin: 0 0 2px; padding-bottom: 8px; border-bottom: 3px solid var(--ink);
  font: 800 1.125rem/1.2 var(--display); font-stretch: 72%; letter-spacing: .01em; text-transform: uppercase;
}
.column-title.is-alert { color: var(--alert); border-bottom-color: var(--alert); }
.lead-story h2 {
  margin: 0 0 14px;
  font: 760 clamp(2.25rem, 4.6vw, 3.75rem)/1.02 var(--display);
  font-stretch: 70%; letter-spacing: -.005em;
}
.lead-story .summary { max-width: 62ch; font-size: 1.1875rem; line-height: 1.55; color: var(--ink); -webkit-line-clamp: unset; }
.subleads { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; margin-top: 22px; border-top: 2px solid var(--ink); }
.subleads .story { position: relative; padding: 18px 0; }
.subleads .story:nth-child(even)::before { content: ""; position: absolute; left: -24px; top: 18px; bottom: 18px; border-left: 2px solid var(--rule); }
.subleads h3 { font-size: 1.5rem; }

/* Notas */
.story { padding: 16px 0; border-bottom: 2px solid var(--rule); }
.column .story:last-child, .subleads .story:nth-last-child(-n+2) { border-bottom: 0; }
.story h3 { margin: 0 0 8px; font: 740 1.3125rem/1.12 var(--display); font-stretch: 72%; letter-spacing: 0; }
.column .story h3 { font-size: 1.1875rem; }
.story a, .lead-story a {
  text-decoration-line: underline; text-decoration-thickness: 1px; text-underline-offset: .14em;
  text-decoration-color: transparent; transition: text-decoration-color .2s var(--ease);
}
@media (hover: hover) { .story a:hover, .lead-story a:hover { text-decoration-color: currentColor; } }
.story a:visited, .lead-story a:visited { color: var(--ink-2); }
.summary {
  margin: 0 0 10px; font-size: 1.0625rem; line-height: 1.6; color: var(--ink-2);
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 5; overflow: hidden;
}
.meta { margin: 0; font: 500 .8125rem/1.45 var(--display); color: var(--muted); }
.subject { color: var(--ink); font-weight: 700; }
.flag { color: var(--alert); font-weight: 800; text-transform: uppercase; }
.new { color: var(--alert); font-weight: 700; }

/* Bloques con título grande y centrado */
.block, .data, .vuln-strip, .latest { border-top: 2px solid var(--ink); }
.block-head { position: relative; display: flex; justify-content: center; align-items: center; min-height: 86px; border-bottom: 5px solid var(--ink); }
.block-head h2 {
  margin: 0; padding: 8px 0 6px;
  font: 800 clamp(2.5rem, 7.4vw, 4.75rem)/1 var(--display);
  font-stretch: 62%; letter-spacing: -.01em; text-transform: uppercase; text-align: center;
}
.block-more {
  position: absolute; right: 0; top: 50%; translate: 0 -50%; display: inline-flex; align-items: center; min-height: 40px;
  font: 700 .875rem/1 var(--display); font-stretch: 80%; letter-spacing: .03em; text-transform: uppercase;
}
@media (hover: hover) { .block-more:hover { text-decoration: underline; text-underline-offset: 4px; } }
.block-sub { max-width: 70ch; margin: 14px auto 0; text-align: center; color: var(--ink-2); }
.block-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 20px 0 30px; }
.block-grid .story { padding: 0 20px; border-bottom: 0; border-left: 2px solid var(--ink); }
.block-grid .story:first-child { padding-left: 0; border-left: 0; }
.block-grid .story:last-child { padding-right: 0; }
.block-grid .story h3 { font-size: 1.5rem; }

/* El radar en datos */
.data { padding-bottom: 30px; }
.data-top { display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr); margin-top: 20px; }
.data-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 24px; padding-top: 22px; border-top: 2px solid var(--ink); }
.panel { padding: 0 24px; }
.panel + .panel { border-left: 2px solid var(--ink); }
.panel:first-child { padding-left: 0; }
.panel:last-child { padding-right: 0; }
.panel h3 { margin: 0 0 12px; font: 800 1.125rem/1.2 var(--display); font-stretch: 72%; letter-spacing: .01em; text-transform: uppercase; }
.panel-note { margin: 14px 0 0; font-size: .875rem; line-height: 1.5; color: var(--muted); }
.map-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 16px; margin-bottom: 12px; }
.map-head h3 { margin: 0; }
.map-modes { display: inline-flex; border: 2px solid var(--ink); border-radius: 999px; overflow: hidden; }
.map-modes button { min-height: 34px; padding: 0 14px; border: 0; background: none; color: var(--ink); cursor: pointer; font: 700 .875rem/1 var(--display); font-stretch: 85%; transition: background-color .18s var(--ease), color .18s var(--ease); }
.map-modes button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.data-top[data-mode="all"] [data-layer="alert"], .data-top[data-mode="alert"] [data-layer="all"] { display: none; }
.map { position: relative; margin: 0; }
.map svg { display: block; width: 100%; height: auto; }
.map .grain { fill: var(--grain); }
.map .spot { fill: var(--alert); fill-opacity: .8; stroke: var(--bg); stroke-width: 1.5; cursor: pointer; transition: fill-opacity .2s var(--ease); }
.map .spot-hit { fill: transparent; cursor: pointer; }
.map.has-pick .spot { fill-opacity: .3; }
.map .spot.is-on, .map .spot.is-hover { fill-opacity: 1; stroke: var(--ink); stroke-width: 2.5; }
.map-tip { position: absolute; z-index: 2; padding: 6px 10px; border-radius: 6px; background: var(--ink); color: var(--bg); font: 650 .875rem/1.2 var(--display); white-space: nowrap; pointer-events: none; translate: -50% calc(-100% - 10px); }
.country-pick { padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 2px; text-underline-offset: 3px; }
@media (hover: hover) { .country-pick:hover { text-decoration-color: var(--rule); } }
.country-pick[aria-pressed="true"] { font-weight: 750; text-decoration-color: var(--alert); }
.country-news { margin-top: 16px; }
.rank-sub { margin: 22px 0 10px; padding-top: 14px; border-top: 2px solid var(--ink); font: 800 1rem/1.2 var(--display); font-stretch: 72%; letter-spacing: .01em; text-transform: uppercase; }
.coverage { margin: 14px 0 0; font-size: .875rem; line-height: 1.5; color: var(--muted); }
.country h4 { margin: 0; padding: 10px 0 8px; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--rule); font: 800 1.0625rem/1.2 var(--display); font-stretch: 80%; text-transform: uppercase; }
.country ul { margin: 0; padding: 0; list-style: none; columns: 2 300px; column-gap: var(--gap); }
.country li { break-inside: avoid; padding: 10px 0; border-bottom: 1px solid var(--rule); }
.country li a { display: block; font: 650 1rem/1.3 var(--display); }
@media (hover: hover) { .country li a:hover { text-decoration: underline; text-underline-offset: 3px; } }
.country .meta { display: block; margin-top: 3px; }
.map figcaption, .pulse-chart figcaption { margin-top: 10px; font-size: .875rem; line-height: 1.5; color: var(--muted); }
.bars { margin: 0; padding: 0; list-style: none; font: 500 .9375rem/1.3 var(--display); }
.bars li { display: grid; grid-template-columns: minmax(0, 1fr) 34% 2.6em; align-items: center; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--rule); }
.bars li:last-child { border-bottom: 0; }
.bar-n { text-align: right; font-weight: 700; }
.bars progress { appearance: none; -webkit-appearance: none; width: 100%; height: 12px; border: 0; border-radius: 0; background: transparent; color: var(--ink); }
.bars progress::-webkit-progress-bar { background: transparent; }
.bars progress::-webkit-progress-value { background: var(--ink); }
.bars progress::-moz-progress-bar { background: var(--ink); }
.pulse-chart { margin: 0; }
.pulse-chart svg { display: block; width: 100%; height: 132px; }
.pulse-chart .hit { fill: transparent; }
.pulse-chart .bar { fill: var(--ink); }
.pulse-chart .bar.today { fill: var(--alert); }

/* Río cronológico */
.river { padding-bottom: 8px; }
.day {
  margin: 30px 0 0; padding-bottom: 8px; border-bottom: 3px solid var(--ink);
  font: 700 1.75rem/1.1 var(--display); font-stretch: 68%; text-transform: uppercase; letter-spacing: .01em;
}
.day-block:first-child .day { margin-top: 20px; }
.day-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); column-gap: 40px; }

.notice { padding: 48px 0; text-align: center; font-size: 1.0625rem; color: var(--ink-2); }
.notice a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.more { margin: 36px 0 0; text-align: center; }
.more a {
  display: inline-flex; align-items: center; min-height: 48px; padding: 0 26px; border: 2px solid var(--ink);
  font: 700 .9375rem/1 var(--display); font-stretch: 80%; letter-spacing: .03em; text-transform: uppercase;
  transition: background-color .18s var(--ease), color .18s var(--ease);
}
.more a:active { transform: scale(.98); }
@media (hover: hover) { .more a:hover { background: var(--ink); color: var(--bg); } }

.page-head { padding: 26px 0 8px; text-align: center; border-bottom: 5px solid var(--ink); }
.page-head h1 { margin: 0; font: 800 clamp(2.75rem, 8vw, 5rem)/1 var(--display); font-stretch: 62%; letter-spacing: -.01em; text-transform: uppercase; }
.page-head p { max-width: 66ch; margin: 10px auto 12px; color: var(--ink-2); }
.archive { margin: 0; padding: 0; list-style: none; }
.archive li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.archive a { font: 700 1.75rem/1.1 var(--display); font-stretch: 68%; text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 1px; text-underline-offset: 5px; }
@media (hover: hover) { .archive a:hover { text-decoration-color: currentColor; } }
.archive span { font-size: .875rem; color: var(--muted); font-variant-numeric: tabular-nums; }

/* Pie */
.colophon { margin-top: 56px; padding: 26px 0 max(28px, env(safe-area-inset-bottom)); border-top: 5px solid var(--ink); color: var(--ink-2); font-size: .9375rem; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
.foot-brand p { margin: 10px 0 0; max-width: 46ch; }
/* Marca de Ciber Radar en el pie y en el ícono: las RR entre dos líneas (línea = .085em, R de cuerpo .94 / .688,
   o sea mayúscula de .94em), con .14em de aire entre las R y las líneas, arriba, abajo y a los costados. */
/* Logo a la izquierda, del alto del texto; explicación a la derecha; autor abajo, contra el margen izquierdo */
.foot-brand { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 24px; align-items: center; align-content: start; }
.foot-logo { display: inline-flex; font: 800 4.6rem/1 var(--display); font-stretch: 62%; color: var(--ink); }
.foot-brand .author { grid-column: 1 / -1; }
.foot-brand > p:first-of-type { margin-top: 0; }
.cr-mark { display: inline-flex; align-items: center; height: calc(.94em + .28em + .17em); padding: 0 .14em; border-block: .085em solid currentColor; }
.cr-mark span { display: block; font-size: 1.3663em; line-height: .688; translate: 0 .01em; color: var(--brand-r); }
.cr-mark .r-flip { transform: scaleX(-1); margin-right: -.015em; }
.foot-brand .author { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 20px; }
.author-label { font: 700 .8125rem/1 var(--display); font-stretch: 80%; letter-spacing: .03em; text-transform: uppercase; color: var(--muted); }
/* Marca de Leandro Martinez: colores y letra de su portfolio, sin cambios */
.lockup { display: inline-flex; align-items: center; gap: 10px; }
.lm { width: 40px; height: 40px; flex: none; }
.lm .lm-bg { fill: #ffffff; }
.lm .lm-line { stroke: #d9c9ed; }
.lm .lm-m { fill: #17131f; }
:root[data-theme="dark"] .lm .lm-bg { fill: #0d0915; }
:root[data-theme="dark"] .lm .lm-line { stroke: #34283f; }
:root[data-theme="dark"] .lm .lm-m { fill: #ffffff; }
.owner-name { font-family: "Outfit", var(--serif); font-size: 1.1875rem; letter-spacing: 0; white-space: nowrap; }
.owner-first { font-weight: 500; color: #17141b; }
.owner-last { font-weight: 750; color: #321653; }
:root[data-theme="dark"] .owner-first { color: #f8f5ff; }
:root[data-theme="dark"] .owner-last {
  color: transparent; background: linear-gradient(90deg, #ffffff 0 18%, #d8c6ff 58%, #f4a7d7 100%);
  -webkit-background-clip: text; background-clip: text;
}
.foot-col h2 { margin: 2px 0 10px; font: 800 1.0625rem/1.2 var(--display); font-stretch: 72%; letter-spacing: .01em; text-transform: uppercase; color: var(--ink); }
.foot-col ul { margin: 0; padding: 0; list-style: none; }
.foot-col li a { overflow-wrap: anywhere; display: inline-flex; align-items: center; gap: 6px; min-height: 36px; color: var(--ink); }
@media (hover: hover) { .foot-col li a:hover { text-decoration: underline; text-underline-offset: 3px; } }
.foot-col li a .arrow { color: var(--muted); }
.colophon details { margin-top: 22px; border-top: 1px solid var(--rule); }
.colophon summary { display: flex; align-items: center; justify-content: space-between; min-height: 48px; cursor: pointer; color: var(--ink); font-weight: 600; list-style: none; }
.colophon summary::-webkit-details-marker { display: none; }
.colophon summary::after { content: "+"; font-size: 1.25rem; font-weight: 400; color: var(--muted); transition: transform .2s var(--ease); }
.colophon details[open] summary::after { transform: rotate(45deg); }
.colophon details p { margin: 0 0 14px; }
.source-list { margin: 4px 0 16px; padding: 0; list-style: none; font-size: .875rem; columns: 3 220px; column-gap: 24px; }
.source-list li { padding: 3px 0; }
.source-list .ok { color: var(--muted); }
.source-list .down { color: var(--alert); font-weight: 600; }
.legal { display: flex; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--rule); font-size: .8125rem; color: var(--muted); }
.legal p { margin: 0; }
.legal a { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--rule); text-underline-offset: 3px; }

/* Vulnerabilidades */
.vuln-strip { padding-bottom: 14px; }
.strip-sub { margin: 14px 0 4px; color: var(--ink-2); }
.vuln-strip .strip-sub { text-align: center; }
.vuln-stats { margin: 18px 0 0; text-align: center; font-size: .9375rem; color: var(--ink-2); }
.vuln-block { margin-top: 8px; }
.vuln-stats + .tools { margin: 16px auto 0; max-width: 560px; }
.vuln-sources { margin: 28px 0 0; font-size: .875rem; color: var(--muted); }
.table-wrap { margin-top: 8px; }
.vuln-table { width: 100%; border-collapse: collapse; font-size: .9375rem; line-height: 1.45; font-variant-numeric: tabular-nums lining-nums; }
.vuln-table thead th { padding: 10px 14px 8px 0; border-bottom: 3px solid var(--ink); text-align: left; font: 800 .875rem/1.2 var(--display); font-stretch: 76%; letter-spacing: .02em; text-transform: uppercase; }
.vuln-table tbody th, .vuln-table td { padding: 13px 14px 13px 0; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: top; font-weight: 400; }
.vuln-table tbody th, .vuln-table time, .vuln-table .date { white-space: nowrap; }
.vuln-table .desc { max-width: 60ch; color: var(--ink-2); }
.cve { font: 500 .875rem/1.4 var(--mono); text-decoration: underline; text-decoration-color: var(--rule); text-underline-offset: 3px; }
@media (hover: hover) { .cve:hover { text-decoration-color: currentColor; } }
.score { color: var(--alert); font: 800 1.0625rem/1 var(--display); }
.epss { font-weight: 600; white-space: nowrap; }
.epss.is-high { color: var(--alert); }
.epss.is-none { color: var(--muted); }
.tag { margin-left: 8px; font: 800 .8125rem/1 var(--display); text-transform: uppercase; }
.tag.is-alert { color: var(--alert); }

@view-transition { navigation: auto; }

@media (max-width: 1024px) {
  .front { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); row-gap: 22px; }
  .front > .lead { grid-column: 1 / -1; order: -1; padding: 0 0 6px; border-left: 0; }
  .front > .column:first-of-type { padding-left: 0; border-left: 0; }
  .front > .column:last-child { padding-right: 0; border-left: 2px solid var(--ink); }
  .block-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 22px; }
  .block-grid .story:nth-child(odd) { padding-left: 0; border-left: 0; }
  .block-grid .story:nth-child(even) { padding-right: 0; }
  .data-top { grid-template-columns: minmax(0, 1fr); row-gap: 22px; }
  .data-top .panel { padding: 0; border-left: 0; }
  .data-row { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 22px; }
  .data-row .panel:nth-child(odd) { padding-left: 0; border-left: 0; }
  .data-row .panel:nth-child(even) { padding-right: 0; }
  .foot-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .vuln-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .vuln-table, .vuln-table tbody, .vuln-table tr, .vuln-table tbody th, .vuln-table td { display: block; }
  .vuln-table tr { padding: 14px 0; border-bottom: 1px solid var(--rule); }
  .vuln-table tbody th, .vuln-table td { padding: 2px 0; border: 0; }
  .vuln-table tbody th { margin-bottom: 4px; }
  .vuln-table td { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 12px; }
  .vuln-table td::before { content: attr(data-label); font: 700 .8125rem/1.5 var(--display); font-stretch: 80%; text-transform: uppercase; color: var(--muted); }
}
@media (max-width: 680px) {
  body { padding-left: max(16px, env(safe-area-inset-left)); padding-right: max(16px, env(safe-area-inset-right)); }
  .status { display: none; }
  .date { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .motto { font-size: .8125rem; }
  .sections { justify-content: flex-start; margin: 0 -16px; padding: 0 8px; }
  .sections a { padding: 0 9px; }
  .wire { flex-direction: column; align-items: stretch; gap: 12px; padding: 14px 16px; border-radius: 6px; }
  .wire-news { flex-direction: column; gap: 6px; }
  .wire .pulse-chart { width: 100%; }
  .wire .pulse-chart figcaption { text-align: left; }
  .tools { flex-direction: column; gap: 4px; }
  .topic { flex: none; }
  .front { grid-template-columns: minmax(0, 1fr); padding-top: 14px; }
  .front > *, .front > .column:last-child { padding: 0; border-left: 0; }
  .subleads { grid-template-columns: minmax(0, 1fr); }
  .subleads .story:nth-child(even)::before { content: none; }
  .subleads .story:nth-last-child(2) { border-bottom: 2px solid var(--rule); }
  .lead-story .summary { font-size: 1.0625rem; }
  .block-head { flex-direction: column; min-height: 0; padding-bottom: 2px; }
  .block-more { position: static; translate: none; }
  .block-grid { grid-template-columns: minmax(0, 1fr); row-gap: 0; padding-top: 4px; }
  .block-grid .story, .block-grid .story:nth-child(even) { padding: 16px 0; border-left: 0; border-bottom: 2px solid var(--rule); }
  .block-grid .story:last-child { border-bottom: 0; }
  .block-sub { text-align: left; }
  .data-row { grid-template-columns: minmax(0, 1fr); }
  .data-row .panel, .data-row .panel:nth-child(even) { padding: 0; border-left: 0; }
  .day { font-size: 1.5rem; }
  .foot-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  nav.foot-col ul { columns: 2; column-gap: 16px; }
  .legal { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
  @view-transition { navigation: none; }
}
@media print {
  .topbar, .sections, .wire, .tools, .more, .colophon details, .theme-toggle { display: none !important; }
  body { max-width: none; background: #fff; color: #000; }
}

/* En el corte angosto y en mayúsculas el espacio entre palabras queda corto: se abre un poco. */
.motto, .sections, .wire-label, .column-title, .panel h3, .block-head h2, .block-more, .page-head h1, .day, .foot-col h2,
.vuln-table thead th, .lang-switch, .more a { word-spacing: .16em; }
.lead-story h2, .story h3, .wire, .archive a { word-spacing: .06em; }

/* Tema oscuro: el texto claro sobre fondo negro se ve más grueso (irradiación). Cada peso baja un escalón
   para que los dos temas se perciban iguales. */
:root[data-theme="dark"] body { font-weight: 370; }
:root[data-theme="dark"] :is(.lead-story h2, .story h3, .subleads h3, .wire-news, .country li a) { font-weight: 640; }
:root[data-theme="dark"] :is(.column-title, .block-head h2, .page-head h1, .panel h3, .day, .country h4) { font-weight: 740; }
:root[data-theme="dark"] :is(.sections, .lang-switch, .motto) { font-weight: 640; }
:root[data-theme="dark"] :is(.meta, .wire-meta, .bars, .summary) { font-weight: 380; }
@media (max-width: 680px) { .foot-logo { font-size: 3.2rem; } .foot-brand { column-gap: 16px; } }

/* Nota dentro del sitio: texto a la izquierda, ficha de la fuente a la derecha, similares abajo. */
.note-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 64px; align-items: start; padding-top: 22px; }
.note { max-width: 46rem; }
.back {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px 0 0;
  font: 700 1rem/1 var(--display); font-stretch: 80%; text-transform: uppercase; letter-spacing: .02em;
}
.back span { font-size: 1.25rem; transition: translate .2s var(--ease); }
@media (hover: hover) { .back:hover span { translate: -4px 0; } }
.note-kicker { margin: 14px 0 10px; font: 700 .875rem/1.3 var(--display); font-stretch: 84%; text-transform: uppercase; letter-spacing: .03em; color: var(--ink-2); }
.note h1 {
  margin: 0 0 16px;
  font: 760 clamp(2.25rem, 4.4vw, 3.5rem)/1.04 var(--display);
  font-stretch: 70%; letter-spacing: -.005em;
}
.note-dek { margin: 0 0 16px; font-size: 1.25rem; line-height: 1.5; color: var(--ink); }
.note-meta { margin: 0 0 22px; padding-bottom: 14px; border-bottom: 2px solid var(--ink); font: 500 .9375rem/1.4 var(--display); color: var(--muted); }
.note-meta a { color: var(--ink); font-weight: 700; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: var(--rule); }
@media (hover: hover) { .note-meta a:hover { text-decoration-color: currentColor; } }
.note-figure { margin: 0 0 24px; }
.note-figure img { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 630; object-fit: cover; background: var(--rule); }
.note-figure figcaption { margin-top: 8px; font: 500 .8125rem/1.4 var(--display); color: var(--muted); }
.note-body { font-size: 1.1875rem; line-height: 1.68; }
.note-body p { margin: 0 0 1.1em; }
.note-body h2 { margin: 1.6em 0 .5em; font: 800 1.375rem/1.2 var(--display); font-stretch: 78%; }
.note-body .li { position: relative; margin: 0 0 .5em; padding-left: 1.2em; }
.note-body .li::before { content: ""; position: absolute; left: .2em; top: .7em; width: .4em; height: 2px; background: var(--ink); }
.note-kind { margin: 26px 0 0; padding-top: 12px; border-top: 2px solid var(--rule); font: 500 .875rem/1.5 var(--display); color: var(--muted); }
.note-source { position: sticky; top: 20px; padding: 18px 0 0; border-top: 5px solid var(--ink); }
.note-source h2 { margin: 0 0 12px; font: 800 1.125rem/1.2 var(--display); font-stretch: 72%; text-transform: uppercase; letter-spacing: .01em; word-spacing: .14em; }
.note-source dl { margin: 0; }
.note-source dl div { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr); gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--rule); font: 500 .9375rem/1.4 var(--display); }
.note-source dt { color: var(--muted); }
.note-source dd { margin: 0; color: var(--ink); font-weight: 600; }
.note-out {
  display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 18px; min-height: 52px; padding: 0 18px;
  background: var(--ink); color: var(--bg); font: 700 1.0625rem/1.2 var(--display); font-stretch: 84%;
  transition: background-color .2s var(--ease);
}
.note-out span { font-size: 1.375rem; transition: translate .2s var(--ease); }
@media (hover: hover) { .note-out:hover span { translate: 3px -3px; } }
.related { margin-top: 48px; }
@media (max-width: 1024px) {
  .note-wrap { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .note { max-width: none; }
  .note-source { position: static; max-width: 46rem; }
}
@media (max-width: 680px) {
  .note-wrap { padding-top: 10px; }
  .note-body { font-size: 1.125rem; }
  .note-source dl div { grid-template-columns: 8rem minmax(0, 1fr); }
}
