/* Portal de noticias: cabecera violeta profundo, cuerpo blanco, rejilla portada + columna lateral. */
:root {
  --ground: #ffffff;
  --ground-2: #f6f3fd;
  --ink: #1b1230;
  --ink-2: #4d4266;
  --line: #e7e1f3;
  --violet: #6a2bd8;
  --violet-hi: #8d5df5;
  --violet-glow: #b49cff;
  --violet-deep: #210e45;
  --violet-night: #160930;
  --violet-soft: #efe8ff;
  --on-violet: #ffffff;
  --on-violet-2: #cfc0f7;
  --tone-1: #210e45;
  --tone-2: #47198f;
  --tone-3: #6a2bd8;
  --tone-4: #7d48ec;
  --tone-5: #33126b;

  --f-display: "Anybody", "Arial Narrow", system-ui, sans-serif;
  --f-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;

  --step--1: 0.8125rem;
  --step-0: 1rem;
  --step-1: 1.1875rem;
  --step-2: 1.5rem;
  --step-3: clamp(1.75rem, 1.2rem + 2.2vw, 2.75rem);

  --wrap: 1240px;
  --radius: 6px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-padding-top: 140px; }
body {
  background: var(--ground);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: var(--step-0);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  scrollbar-color: var(--violet-hi) var(--ground-2);
}
body::before {
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px);
  z-index: 60; background: var(--violet-deep);
}
::selection { background: var(--violet); color: var(--on-violet); }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; text-decoration-color: var(--violet-hi); }
:focus-visible { outline: 2px solid var(--violet-hi); outline-offset: 2px; border-radius: 2px; }
h1, h2, h3 { text-wrap: balance; margin: 0; }
p { margin: 0; }
button { font: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap {
  max-width: var(--wrap); margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}

/* ---------- Barra superior ---------- */
.topbar { background: var(--violet-night); color: var(--on-violet-2); font-size: var(--step--1); }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 34px; }
.topbar nav { display: flex; gap: 18px; overflow-x: auto; scrollbar-width: none; }
.topbar nav a { white-space: nowrap; color: var(--on-violet-2); }
.topbar nav a:hover { color: var(--on-violet); }
.topbar time { white-space: nowrap; }

/* ---------- Cabecera ---------- */
.masthead {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: var(--violet-deep); color: var(--on-violet);
  box-shadow: 0 6px 18px -10px rgb(22 9 48 / 0.6);
}
.masthead .wrap { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; color: var(--on-violet); }
.logo:hover { text-decoration: none; }
.logo img { display: block; height: 64px; width: auto; max-width: none; }
.foot-about .logo img { height: 92px; }

.mainnav { display: flex; gap: 4px; flex: 1; min-width: 0; }
.mainnav a {
  font-weight: 650; font-size: 0.95rem; padding: 22px 10px; color: var(--on-violet-2);
  border-bottom: 3px solid transparent; white-space: nowrap;
}
.mainnav a:hover, .mainnav a[aria-current="page"] { color: var(--on-violet); text-decoration: none; border-bottom-color: var(--violet-hi); }

.head-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.icon-btn {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: transparent; color: var(--on-violet); border: 1px solid rgb(255 255 255 / 0.18); cursor: pointer;
  transition: background-color 160ms ease-out;
}
.icon-btn:hover { background: rgb(255 255 255 / 0.1); }
.icon-btn svg { width: 18px; height: 18px; }
.btn-yt {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px;
  background: var(--on-violet); color: var(--violet-deep); font-weight: 750; font-size: 0.9rem; white-space: nowrap;
  transition: transform 160ms ease-out, box-shadow 160ms ease-out;
}
.btn-yt:hover { text-decoration: none; transform: translateY(-1px); box-shadow: 0 6px 14px -6px rgb(0 0 0 / 0.5); }
.btn-yt svg { width: 18px; height: 18px; color: var(--violet); }
.menu-btn { display: none; }

.searchbar { background: var(--violet-deep); border-top: 1px solid rgb(255 255 255 / 0.1); }
.searchbar .wrap { padding-block: 12px; display: flex; gap: 10px; align-items: center; }
.searchbar input {
  flex: 1; min-width: 0; font: inherit; font-size: 1.05rem; padding: 12px 16px; border-radius: var(--radius);
  border: 1px solid rgb(255 255 255 / 0.2); background: rgb(255 255 255 / 0.08); color: var(--on-violet);
  caret-color: var(--violet-hi);
}
.searchbar input::placeholder { color: var(--on-violet-2); }
.searchbar input:focus { outline: 2px solid var(--violet-hi); outline-offset: 0; }

/* Menú móvil */
.drawer { background: var(--violet-deep); border-top: 1px solid rgb(255 255 255 / 0.1); }
.drawer .wrap { display: grid; padding-block: 8px 16px; }
.drawer a { padding: 12px 0; color: var(--on-violet); font-weight: 650; border-bottom: 1px solid rgb(255 255 255 / 0.08); }

/* ---------- Kill feed (última hora) ---------- */
.feed { background: var(--violet-soft); border-bottom: 1px solid var(--line); }
.feed .wrap { display: flex; align-items: center; gap: 14px; min-height: 44px; }
.feed-label {
  flex-shrink: 0; font-family: var(--f-display); font-weight: 850; font-stretch: 110%; font-size: 0.78rem;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-violet); background: var(--violet);
  padding: 5px 10px; border-radius: 3px; display: inline-flex; align-items: center; gap: 7px;
}
.feed-label i { width: 7px; height: 7px; border-radius: 50%; background: var(--on-violet); }
.feed-track { overflow: hidden; flex: 1; min-width: 0; mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 48px), transparent); }
.feed-run { display: flex; width: max-content; animation: run 70s linear infinite; }
.feed-track:hover .feed-run, .feed-track:focus-within .feed-run { animation-play-state: paused; }
@keyframes run { to { transform: translateX(-50%); } }
.feed-item { display: inline-flex; align-items: center; gap: 8px; padding-right: 34px; white-space: nowrap; font-size: 0.92rem; font-weight: 600; color: var(--ink); }
.feed-item svg { width: 15px; height: 15px; color: var(--violet); flex-shrink: 0; }
.feed-item b { font-family: var(--f-display); font-weight: 800; font-stretch: 90%; color: var(--violet); text-transform: uppercase; font-size: 0.8rem; letter-spacing: 0.04em; }

/* ---------- Portadas tipográficas ---------- */
.cover {
  position: relative; overflow: hidden; display: flex; align-items: flex-end; aspect-ratio: 16 / 9; max-width: 100%;
  background: var(--tone, var(--tone-3)); color: var(--on-violet); border-radius: var(--radius); padding: 14px 16px;
  isolation: isolate;
}
.cover::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: repeating-linear-gradient(135deg, rgb(255 255 255 / 0.05) 0 2px, transparent 2px 11px);
}
.cover::after {
  content: ""; position: absolute; z-index: -1; width: 78%; aspect-ratio: 1; right: -22%; top: -38%;
  border-radius: 50%; border: clamp(10px, 2.4vw, 22px) solid rgb(255 255 255 / 0.09);
  transition: transform 500ms cubic-bezier(.16,1,.3,1);
}
a:hover .cover::after, .cover-link:hover .cover::after { transform: rotate(-24deg) scale(1.06); }
.cover-title {
  font-family: var(--f-display); font-weight: 880; font-stretch: 72%; text-transform: uppercase;
  line-height: 0.88; letter-spacing: -0.01em; font-size: clamp(1.6rem, 1rem + 2.4vw, 2.6rem); max-width: 90%;
  text-wrap: balance;
}
.cover-tag {
  position: absolute; top: 12px; left: 12px; font-size: 0.7rem; font-weight: 750; letter-spacing: 0.08em;
  text-transform: uppercase; background: rgb(255 255 255 / 0.94); color: var(--violet-deep); padding: 3px 8px; border-radius: 3px;
}
.t1 { --tone: var(--tone-1); } .t2 { --tone: var(--tone-2); } .t3 { --tone: var(--tone-3); }
.t4 { --tone: var(--tone-4); } .t5 { --tone: var(--tone-5); }

/* ---------- Etiquetas de plataforma ---------- */
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  padding: 2px 7px; border-radius: 3px; background: var(--violet-soft); color: var(--violet);
}
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: var(--step--1); color: var(--ink-2); }
.meta time { font-variant-numeric: tabular-nums; }
.meta .src a { color: var(--ink-2); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
.meta .src a:hover { color: var(--violet); text-decoration-color: var(--violet-hi); }

/* ---------- Portada (hero) ---------- */
.hero { padding-block: 28px 8px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.85fr) minmax(0, 1fr); gap: 24px; }
.lead .cover { aspect-ratio: 16 / 8.6; padding: 24px 26px; }
.lead .cover-title { font-size: clamp(2.6rem, 1.4rem + 5vw, 5.4rem); }
.lead-body { display: grid; gap: 10px; padding-top: 16px; }
.lead h1, .lead .lead-title { font-family: var(--f-display); font-weight: 820; font-stretch: 92%; font-size: var(--step-3); line-height: 1.04; letter-spacing: -0.015em; }
.lead p { font-size: var(--step-1); color: var(--ink-2); max-width: 62ch; }
.side-leads { display: grid; gap: 20px; align-content: start; }
.side-lead { display: grid; gap: 10px; }
.side-lead h2 { font-family: var(--f-display); font-weight: 780; font-stretch: 92%; font-size: 1.35rem; line-height: 1.12; }

/* ---------- Secciones ---------- */
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-bottom: 12px; border-bottom: 3px solid var(--ink); margin-bottom: 18px; }
.section-head h2 { font-family: var(--f-display); font-weight: 900; font-stretch: 112%; font-style: italic; text-transform: uppercase; font-size: 1.6rem; line-height: 1; letter-spacing: -0.01em; }
.section-head h2 span { color: var(--violet); }

.layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 44px; padding-block: 36px; }

/* Filtros */
.filters { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.filters button {
  border: 1px solid var(--line); background: var(--ground); color: var(--ink-2); font-weight: 650; font-size: 0.86rem;
  padding: 6px 12px; border-radius: 999px; cursor: pointer; white-space: nowrap;
  transition: background-color 140ms ease-out, color 140ms ease-out, border-color 140ms ease-out;
}
.filters button:hover { border-color: var(--violet-hi); color: var(--violet); }
.filters button[aria-pressed="true"] { background: var(--violet); border-color: var(--violet); color: var(--on-violet); }

/* Lista de noticias */
.news { display: grid; }
.story {
  display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 20px; padding-block: 20px;
  border-bottom: 1px solid var(--line); animation: rise 380ms cubic-bezier(.16,1,.3,1) both;
}
.story:first-child { padding-top: 4px; }
.story .cover { padding: 10px 12px; }
.story .cover-title { font-size: clamp(1.25rem, 0.9rem + 1vw, 1.7rem); }
.story-body { display: grid; gap: 8px; align-content: start; }
.story h3 { font-family: var(--f-display); font-weight: 780; font-stretch: 94%; font-size: 1.3rem; line-height: 1.14; }
.story p { color: var(--ink-2); max-width: 68ch; }
@keyframes rise { from { opacity: 0.4; transform: translateY(6px); } }
.empty { padding: 40px 0; color: var(--ink-2); }
.empty b { color: var(--ink); }
.more {
  margin-top: 22px; width: 100%; padding: 14px; border-radius: var(--radius); cursor: pointer;
  border: 2px solid var(--ink); background: var(--ground); color: var(--ink); font-weight: 750;
  transition: background-color 140ms ease-out, color 140ms ease-out;
}
.more:hover { background: var(--ink); color: var(--ground); }

/* Columna lateral */
aside { display: grid; gap: 40px; align-content: start; }
.picks { list-style: none; margin: 0; padding: 0; display: grid; }
.picks li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; padding-block: 14px; border-bottom: 1px solid var(--line); }
.picks li:first-child { padding-top: 0; }
.picks .n { font-family: var(--f-display); font-weight: 900; font-stretch: 70%; font-size: 2.6rem; line-height: 0.82; color: var(--violet); font-variant-numeric: tabular-nums; }
.picks a { font-weight: 700; line-height: 1.3; }

.cal { list-style: none; margin: 0; padding: 0; display: grid; }
.cal li { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 14px; align-items: center; padding-block: 11px; border-bottom: 1px solid var(--line); }
.cal li:first-child { padding-top: 0; }
.day {
  display: grid; justify-items: center; line-height: 1; padding: 7px 0 6px; border-radius: var(--radius);
  background: var(--ground-2); border: 1px solid var(--line);
}
.day b { font-family: var(--f-display); font-weight: 880; font-stretch: 80%; font-size: 1.55rem; font-variant-numeric: tabular-nums; }
.day small { font-size: 0.68rem; font-weight: 750; letter-spacing: 0.1em; text-transform: uppercase; color: var(--violet); }
.cal li.big .day { background: var(--violet); border-color: var(--violet); color: var(--on-violet); }
.cal li.big .day small { color: var(--on-violet-2); }
.cal strong { display: block; font-weight: 750; line-height: 1.3; }
.cal span { font-size: var(--step--1); color: var(--ink-2); }

.channel-card { background: var(--violet-deep); color: var(--on-violet); border-radius: 10px; padding: 22px; display: grid; gap: 14px; position: relative; overflow: hidden; isolation: isolate; }
.channel-card::after { content: ""; position: absolute; z-index: -1; width: 220px; aspect-ratio: 1; right: -80px; bottom: -90px; border-radius: 50%; border: 22px solid rgb(255 255 255 / 0.07); }
.channel-card h3 { font-family: var(--f-display); font-weight: 880; font-stretch: 105%; font-size: 1.35rem; line-height: 1.1; }
.channel-card p { color: var(--on-violet-2); }
.channel-card .handle { font-weight: 700; color: var(--on-violet); }
.channel-card .btn-yt { justify-self: start; }

/* ---------- Crítica ---------- */
.critics { background: var(--ground-2); border-block: 1px solid var(--line); padding-block: 36px 40px; }
.critics-note { color: var(--ink-2); font-size: var(--step--1); }
.scores { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.score { background: var(--ground); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; display: grid; gap: 10px; align-content: start; transition: border-color 160ms ease-out, transform 160ms ease-out; }
.score:hover { border-color: var(--violet-hi); transform: translateY(-2px); text-decoration: none; }
.score-num {
  font-family: var(--f-display); font-weight: 900; font-stretch: 75%; font-size: 2.9rem; line-height: 0.9; white-space: nowrap;
  color: var(--violet); font-variant-numeric: tabular-nums;
}
.score-num small { font-size: 1rem; font-weight: 700; color: var(--ink-2); font-stretch: 100%; }
.score h3 { font-size: 1rem; font-weight: 750; line-height: 1.3; }
.score .meta { font-size: 0.78rem; }

/* ---------- Banda vídeo ---------- */
.video-band { background: var(--violet-deep); color: var(--on-violet); padding-block: 56px; overflow: hidden; }
.video-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px; align-items: center; }
.video-band h2 { font-family: var(--f-display); font-weight: 900; font-stretch: 118%; font-style: italic; text-transform: uppercase; font-size: clamp(2rem, 1.2rem + 3.4vw, 3.6rem); line-height: 0.95; letter-spacing: -0.015em; }
.video-band h2 span { color: var(--violet-glow); }
.video-copy { display: grid; gap: 18px; }
.video-copy p { color: var(--on-violet-2); font-size: var(--step-1); max-width: 46ch; }
.video-copy .row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.video-copy .handle { font-weight: 700; }
.screen {
  position: relative; aspect-ratio: 16 / 9; max-width: 100%; border-radius: 10px; overflow: hidden; display: grid; place-items: center;
  background: var(--violet-night); border: 1px solid rgb(255 255 255 / 0.12);
  box-shadow: 0 30px 60px -30px rgb(0 0 0 / 0.7);
}
.screen::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgb(255 255 255 / 0.035) 0 1px, transparent 1px 4px); }
.screen-ring { position: absolute; width: 62%; aspect-ratio: 1; border-radius: 50%; border: 28px solid rgb(141 93 245 / 0.18); animation: spin 18s linear infinite; }
.screen-ring::after { content: ""; position: absolute; width: 34px; height: 34px; background: rgb(141 93 245 / 0.3); top: 6%; left: 6%; clip-path: polygon(0 0, 100% 40%, 40% 100%); }
@keyframes spin { to { transform: rotate(360deg); } }
.play {
  position: relative; display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%;
  background: var(--on-violet); color: var(--violet); box-shadow: 0 12px 30px -10px rgb(0 0 0 / 0.6);
  transition: transform 200ms cubic-bezier(.16,1,.3,1);
}
.screen:hover .play { transform: scale(1.08); }
.play svg { width: 30px; height: 30px; margin-left: 4px; }
.screen-label { position: absolute; left: 16px; bottom: 14px; font-size: 0.8rem; font-weight: 700; color: var(--on-violet-2); letter-spacing: 0.04em; }

/* ---------- Pie ---------- */
footer { background: var(--violet-night); color: var(--on-violet-2); padding-block: 44px 28px; font-size: 0.92rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
footer h4 { margin: 0 0 12px; color: var(--on-violet); font-family: var(--f-display); font-weight: 800; font-stretch: 110%; text-transform: uppercase; font-size: 0.85rem; letter-spacing: 0.08em; }
footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
footer a:hover { color: var(--on-violet); }
.foot-about { display: grid; gap: 14px; align-content: start; }
.foot-about p { max-width: 38ch; }
.foot-legal { margin-top: 36px; padding-top: 18px; border-top: 1px solid rgb(255 255 255 / 0.1); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 0.8rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .mainnav a { padding-inline: 7px; font-size: 0.9rem; }
  .masthead .logo img { height: 56px; }
  .scores { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .mainnav { display: none; }
  .menu-btn { display: grid; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .side-leads { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .layout { grid-template-columns: minmax(0, 1fr); }
  aside { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
  .channel-card { grid-column: 1 / -1; }
  .video-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .masthead .wrap { gap: 12px; min-height: 60px; }
  .masthead .logo img { height: 42px; }
  .foot-about .logo img { height: 76px; }
  .btn-yt .yt-text { display: none; }
  .masthead .btn-yt { padding: 10px; }
  .topbar time { display: none; }
  .side-leads { grid-template-columns: minmax(0, 1fr); }
  .story { grid-template-columns: 112px minmax(0, 1fr); gap: 14px; padding-block: 16px; }
  .story .cover { aspect-ratio: 1; padding: 8px; }
  .story .cover-title { font-size: 0.95rem; }
  .story .cover-tag { display: none; }
  .story h3 { font-size: 1.08rem; }
  .story p { display: none; }
  aside { grid-template-columns: minmax(0, 1fr); }
  .scores { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .score { padding: 14px 12px; }
  .score-num { font-size: 2.3rem; }
  .foot-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .feed-track { overflow-x: auto; }
}

/* ---------- Página de noticia ---------- */
.art-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; padding-block: 28px 64px; }
.art { display: grid; gap: 20px; align-content: start; min-width: 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: var(--step--1); color: var(--ink-2); }
.crumbs a { color: var(--ink-2); }
.crumbs a:hover { color: var(--violet); }
.crumbs span[aria-hidden] { color: var(--violet-hi); }
.art-head { display: grid; gap: 14px; }
.art-title { font-family: var(--f-display); font-weight: 840; font-stretch: 92%; font-size: clamp(2rem, 1.3rem + 2.6vw, 3.3rem); line-height: 1.02; letter-spacing: -0.02em; }
.art-dek { font-size: 1.28rem; line-height: 1.45; color: var(--ink-2); max-width: 60ch; }
.byline { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; padding-block: 14px; border-block: 1px solid var(--line); }
.byline-who { display: flex; align-items: center; gap: 12px; }
.avatar { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--violet-deep); color: var(--on-violet); flex-shrink: 0; }
.avatar svg { width: 24px; height: 24px; }
.byline strong { display: block; font-weight: 750; line-height: 1.2; }
.byline .meta { font-size: var(--step--1); }
.byline .share { margin-left: auto; }
.art-cover.cover { aspect-ratio: 16 / 8; padding: 26px 28px; }
.art-cover .cover-title { font-size: clamp(2.6rem, 1.4rem + 5vw, 5.4rem); }

.art-body { display: grid; gap: 1.15em; font-size: 1.125rem; line-height: 1.7; max-width: 68ch; }
.art-body p:first-child::first-letter {
  float: left; font-family: var(--f-display); font-weight: 900; font-stretch: 80%; color: var(--violet);
  font-size: 3.9em; line-height: 0.8; padding: 0.06em 0.1em 0 0;
}
.art-body h2 { font-family: var(--f-display); font-weight: 820; font-stretch: 95%; font-size: 1.6rem; line-height: 1.15; padding-top: 0.4em; }
.keys { background: var(--ground-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; display: grid; gap: 12px; }
.keys h3 { font-family: var(--f-display); font-weight: 880; font-stretch: 110%; font-style: italic; text-transform: uppercase; font-size: 1rem; letter-spacing: 0.02em; color: var(--violet); }
.keys ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.keys li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; line-height: 1.45; font-size: 1.02rem; }
.keys li svg { width: 16px; height: 16px; margin-top: 0.22em; color: var(--violet); }

.art-source { max-width: 68ch; padding: 16px 0 0; border-top: 1px solid var(--line); color: var(--ink-2); font-size: 0.95rem; }
.art-source a { color: var(--violet); text-decoration: underline; text-underline-offset: 3px; }

.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.share-btn {
  display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line); background: var(--ground); color: var(--ink); font-weight: 650; font-size: 0.86rem;
  transition: border-color 140ms ease-out, color 140ms ease-out;
}
.share-btn:hover { border-color: var(--violet-hi); color: var(--violet); text-decoration: none; }
.share-btn svg { width: 15px; height: 15px; }

.art-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding-top: 12px; }
.art-nav a { display: grid; gap: 6px; align-content: start; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); transition: border-color 140ms ease-out, transform 160ms ease-out; }
.art-nav a:hover { border-color: var(--violet-hi); text-decoration: none; transform: translateY(-2px); }
.art-nav a.next { text-align: right; grid-column: 2; }
.art-nav small { font-size: 0.75rem; font-weight: 750; letter-spacing: 0.08em; text-transform: uppercase; color: var(--violet); }
.art-nav b { font-weight: 700; line-height: 1.3; }

.art-side { display: grid; gap: 40px; align-content: start; position: sticky; top: calc(env(safe-area-inset-top, 0px) + 92px); }
.related { list-style: none; margin: 0; padding: 0; display: grid; }
.related li { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 12px; align-items: start; padding-block: 12px; border-bottom: 1px solid var(--line); }
.related li:first-child { padding-top: 0; }
.related .cover { aspect-ratio: 1; padding: 7px; border-radius: 4px; }
.related .cover-title { font-size: 0.8rem; }
.related .cover-tag { display: none; }
.related a { font-weight: 700; line-height: 1.3; }
.related .meta { margin-top: 4px; }

.notfound { padding-block: 72px 96px; display: grid; gap: 16px; justify-items: start; }
.notfound h1 { font-family: var(--f-display); font-weight: 900; font-stretch: 110%; font-style: italic; text-transform: uppercase; font-size: clamp(2rem, 1.4rem + 3vw, 3.4rem); line-height: 1; }
.notfound p { color: var(--ink-2); font-size: var(--step-1); max-width: 50ch; }
.btn-main { display: inline-flex; padding: 12px 20px; border-radius: 999px; background: var(--violet); color: var(--on-violet); font-weight: 750; }
.btn-main:hover { text-decoration: none; background: var(--violet-deep); }

@media (max-width: 960px) {
  .art-layout { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .art-side { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .art-dek { font-size: 1.12rem; }
  .art-cover.cover { aspect-ratio: 16 / 10; padding: 16px; }
  .art-body { font-size: 1.06rem; }
  .byline .share { margin-left: 0; }
  .art-nav { grid-template-columns: minmax(0, 1fr); }
  .art-nav a.next { grid-column: 1; }
  .art-side { grid-template-columns: minmax(0, 1fr); }
}

/* Portada con imagen */
.cover.has-img { background: var(--violet-deep); }
.cover.has-img::before, .cover.has-img::after { display: none; }
.cover.has-img img { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; }
/* Portada sin texto corto: el titular entero, más pequeño */
.cover .cover-title.long { font-size: clamp(1.05rem, 0.8rem + 1vw, 1.5rem); line-height: 0.98; max-width: 100%; }
.lead .cover .cover-title.long, .cover.art-cover .cover-title.long { font-size: clamp(1.6rem, 1rem + 2.2vw, 2.8rem); }

/* Vista previa de borradores */
.preview-flag { background: var(--violet-soft); color: var(--violet-deep); border: 1px solid #d8c8ff; border-radius: var(--radius); padding: 10px 14px; font-weight: 650; }
