:root {
  --ink: #000;
  --muted: #3a3a3a;
  --paper: #fffcfa;
  --rule: #000;
  --sello-sala: #c41e3a;
  --sello-cartel: #e10600;
  --sello-eucerin: #a70532;
  --sello-campbell: #e31837;
  --sello-oxido: #711d1d;
  --sello-cereza: #d2042d;
  --sello-visio: #ac0505;
  --sello: var(--sello-visio);
  --accent: var(--sello);
  --head-h: 3.6rem;
  --tape-h: 0.82rem;
  --foot-h: 2.6rem;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--paper); color: var(--ink); font: 400 18px/1.45 "Helvetica Neue", Helvetica, Arial, sans-serif; }
html { scroll-padding-top: calc(var(--tape-h) + var(--head-h)); height: 100%; }
html { scrollbar-width: thin; scrollbar-color: var(--sello) transparent; }
html::-webkit-scrollbar, body.pub main::-webkit-scrollbar { width: 2px; height: 2px; }
html::-webkit-scrollbar-track, body.pub main::-webkit-scrollbar-track { background: transparent; }
html::-webkit-scrollbar-thumb, body.pub main::-webkit-scrollbar-thumb { background: var(--sello); }
body {
  padding-top: calc(var(--tape-h) + var(--head-h));
  padding-bottom: calc(var(--tape-h) + var(--foot-h));
}
body.pub {
  height: 100%;
  overflow: hidden;
}
.tape {
  position: fixed; left: 0; right: 0; z-index: 50;
  height: var(--tape-h);
  overflow: hidden;
  font-weight: 800;
  font-size: 9px;
  letter-spacing: .18em;
  line-height: var(--tape-h);
  white-space: nowrap;
  text-transform: uppercase;
}
.tape-top { top: 0; background: #fff; color: var(--sello); }
.tape-foot { bottom: 0; top: auto; background: var(--sello); color: #fff; letter-spacing: .08em; word-spacing: normal; }
.tape-track {
  display: flex;
  width: max-content;
  animation: tape-run 80s linear infinite;
}
.tape-foot i { font-style: normal; padding: 0 1.15rem; }
.tape-top i { font-style: normal; padding: 0 1.05rem; }
.tape-track span { display: inline-block; padding-right: 0; }
@keyframes tape-run {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
a { color: var(--accent); }
header {
  position: fixed; top: var(--tape-h); left: 0; right: 0; z-index: 40;
  height: var(--head-h);
  background: var(--paper);
  border-bottom: 0;
  padding: 0 2.8rem 0 1.7rem;
  display: flex; gap: 1.5rem; align-items: center;
  justify-content: space-between;
}
header nav { flex: 1; min-width: 0; }
header .auth { margin-left: auto; flex-shrink: 0; }
header .auth a { text-decoration: none; color: var(--sello); font-size: 11px; white-space: nowrap; font-weight: 700; }
header .auth a:hover { color: var(--accent); }
footer {
  position: fixed;
  left: 0; right: 0;
  bottom: var(--tape-h);
  z-index: 40;
  height: var(--foot-h);
  margin: 0;
  border-top: 0;
  padding: 1.15rem 2.4rem 0.35rem 1.7rem;
  font-size: 14px;
  color: var(--muted);
  background: var(--paper);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}
.foot-mark { font-weight: 300; text-transform: none; letter-spacing: 0; margin-left: .35rem; }
.foot-nav { display: flex; flex-wrap: wrap; gap: .65rem 1.15rem; justify-content: flex-end; margin-right: .4rem; }
.foot-nav a {
  text-decoration: none;
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}
.foot-nav a:hover { color: var(--sello); }
.foot-nav a.on {
  text-decoration: underline;
  text-decoration-color: var(--sello);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}
.brand {
  display: inline-block;
  background: var(--sello);
  color: #fff;
  font-weight: 800;
  letter-spacing: .32em;
  text-decoration: none;
  font-size: 13px;
  padding: .45rem .7rem .4rem .85rem;
  line-height: 1;
}
nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .85rem 1.35rem;
}
nav a { text-decoration: none; color: var(--ink); font-size: 15px; white-space: nowrap; font-weight: 800; }
nav a:hover { color: var(--accent); }
nav a.on, header .auth a.on {
  text-decoration: underline;
  text-decoration-color: var(--sello);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
  color: var(--ink);
}
main { max-width: 42rem; margin: 0 auto; padding: 3rem 1.5rem; }
body.pub main {
  max-width: none;
  margin: 0;
  padding: 0;
  height: calc(100svh - var(--tape-h) - var(--head-h) - var(--tape-h) - var(--foot-h));
  min-height: 0;
  overflow-y: auto;
  display: flex;
  scrollbar-width: thin;
  scrollbar-color: var(--sello) transparent;
}
.street {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: 100%;
  max-width: 42rem;
  margin: 0 auto;
  padding: 4.5rem 1.5rem 2.2rem;
  box-sizing: border-box;
}
.tag:empty { display: none; }
.tag {
  position: absolute;
  top: 1.15rem;
  left: 1.5rem;
  margin: 0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .32em;
  text-transform: uppercase;
}
.street-end h1 {
  font-size: clamp(2.5rem, 9vw, 4.6rem);
  line-height: .9;
  margin: 0 0 .85rem;
}
.street-end.has-stamp {
  display: flex;
  align-items: flex-end;
  gap: 1.5rem 2rem;
  width: 100%;
}
.street-copy { flex: 1; min-width: 0; }
.stamp {
  display: inline-block;
  flex-shrink: 0;
  margin: 0 0 .4rem auto;
  padding: .5rem .75rem .4rem;
  font-family: "Courier New", Courier, monospace;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--sello);
  border: 3px solid var(--sello);
  box-shadow: 0 0 0 2px var(--paper), 0 0 0 3px var(--sello);
  transform: rotate(-8deg);
}
.end {
  margin: 1.6rem 0 0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}
h1 { font-size: 2.4rem; font-weight: 800; letter-spacing: -.04em; margin: 0 0 1rem; color: var(--ink); text-transform: uppercase; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; }
h2 { font-size: 1.2rem; font-weight: 800; margin: 2.4rem 0 .7rem; color: var(--ink); }
.lede { font-size: 1.15rem; color: var(--ink); font-weight: 300; }
.en { font-style: italic; font-size: 1rem; color: var(--muted); }
.num { border-top: 3px solid var(--ink); padding-top: 1rem; }
.card { border-bottom: 1px solid #ccc; padding: 1rem 0; }
form { display: grid; gap: .6rem; }
input, textarea, select, button { font: inherit; padding: .45rem .55rem; }
textarea { min-height: 14rem; width: 100%; }
button { background: var(--ink); color: var(--paper); border: 0; cursor: pointer; font-weight: 800; }
button.ghost { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.msg { color: var(--accent); }
.meta { font-size: 14px; color: var(--muted); }
.colab { background: #fff; border: 1px solid #ddd; padding: 1rem; margin: 1rem 0; }
.note { border-top: 1px dotted #aaa; padding: .5rem 0; font-size: 15px; }
.row { display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; }
table { width: 100%; border-collapse: collapse; font-size: 16px; }
td, th { border-bottom: 1px solid #ddd; text-align: left; padding: .4rem 0; }
.who { font-variant: small-caps; letter-spacing: .08em; font-size: 13px; margin-right: .75rem; }
.cta-row { text-align: right; margin: 1.1rem 0 0; }
.wait { margin-left: auto; }
.cta {
  display: inline-block;
  background: none;
  color: var(--ink) !important;
  text-decoration: underline;
  text-decoration-color: var(--sello);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
  padding: 0;
  margin: 1.1rem 0 0;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .04em;
}
.cta:hover { color: var(--sello) !important; }
.dock { display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; margin: 0 0 1.5rem; }
.dock a {
  text-decoration: underline;
  text-decoration-color: var(--sello);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  color: var(--ink);
  background: none;
  font-size: 12px;
  letter-spacing: .06em;
  padding: 0;
  font-weight: 800;
}
.hit { border-bottom: 1px solid #ddd; padding: .6rem 0; font-size: 16px; }
.ia-log { white-space: pre-wrap; background: #fff; border: 1px solid #ddd; padding: 1rem; min-height: 6rem; font-size: 16px; }
.apps { font-size: 14px; color: var(--muted); }
.wait { margin-top: 1.2rem; max-width: 18rem; }
.wait[hidden] { display: none !important; }
.wait label { display: grid; gap: .2rem; font-size: 14px; }
.wait input { border: 0; border-bottom: 1px solid var(--ink); background: transparent; padding: .35rem 0; width: 100%; }
.wait button.cta {
  background: none;
  color: var(--ink);
  margin-top: .6rem;
  justify-self: start;
  cursor: pointer;
}
button.cta { font: inherit; }
.sello-page {
  display: flex;
  flex-direction: column;
  gap: 2.2rem;
}
.sello-voto {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: .55rem 1rem;
  width: 100%;
  margin-top: 1.4rem;
}
.heart {
  background: none;
  border: 0;
  color: var(--sello);
  cursor: pointer;
  line-height: 1;
  padding: 0;
  font-size: 1.45rem;
  transform-origin: center;
}
.heart:hover { filter: brightness(1.1); }
.voto-n { font-size: 13px; font-weight: 800; }
.voto-btn {
  background: none;
  color: var(--ink);
  border: 0;
  padding: 0;
  font-size: 13px;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: var(--sello);
  text-underline-offset: 4px;
  cursor: pointer;
}
@media (max-width: 720px) {
  header {
    height: auto;
    min-height: var(--head-h);
    flex-wrap: wrap;
    padding: .45rem 5vw .55rem;
    gap: .5rem 1rem;
  }
  header nav { flex: 1 1 100%; order: 3; }
  main { padding: 1.6rem 1.1rem 3rem; }
  h1 { font-size: clamp(1.8rem, 9vw, 2.4rem); }
  .brand { font-size: 11px; letter-spacing: .24em; }
  .street-end.has-stamp { flex-direction: column; align-items: flex-end; }
  footer { padding-left: 5vw; padding-right: 5vw; }
}
body.is-skel main { opacity: 0; }
.skel {
  position: fixed;
  left: 0; right: 0;
  top: calc(var(--tape-h) + var(--head-h));
  bottom: calc(var(--tape-h) + var(--foot-h));
  z-index: 45;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 1.5rem 2.4rem;
  max-width: 42rem;
  margin: 0 auto;
  pointer-events: none;
}
.skel .b {
  display: block;
  height: .85rem;
  background: #e8e0d8;
  margin-bottom: .7rem;
  animation: skel 1s ease-in-out infinite;
}
.skel .w3 { width: 38%; }
.skel .w8 { width: 82%; }
.skel .w5 { width: 54%; }
@keyframes skel {
  0%, 100% { opacity: .45; }
  50% { opacity: 1; }
}
.modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(20, 16, 14, .45);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.2rem;
}
.modal[hidden] { display: none !important; }
.modal-box {
  position: relative;
  width: min(26rem, 100%);
  background: var(--paper);
  padding: 1.6rem 1.5rem 1.4rem;
  box-shadow: 0 12px 40px rgba(0,0,0,.18);
}
.modal-k {
  margin: 0 0 .8rem;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .28em;
  text-transform: uppercase;
}
.modal-box p { margin: 0 0 .8rem; font-size: 15px; font-weight: 300; }
.modal-box label { display: grid; gap: .2rem; font-size: 14px; margin-bottom: .7rem; }
.modal-box input {
  border: 0;
  border-bottom: 1px solid var(--ink);
  background: transparent;
  padding: .35rem 0;
  width: 100%;
  font: inherit;
}
.modal-x {
  position: absolute;
  top: .4rem;
  right: .55rem;
  background: none;
  border: 0;
  color: var(--ink);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  padding: .2rem .35rem;
}

/* Archivo web: separado del número mensual. */
.web-archive { max-width: 68rem; margin: 2rem auto 4rem; }
.web-archive h1 { font-size: clamp(3rem, 10vw, 7rem); line-height: .95; }
.web-eyebrow { color: var(--sello); font-size: .78rem; letter-spacing: .15em; font-weight: 800; text-transform: uppercase; margin-top: 2.5rem; }
.web-filters { display:flex; flex-wrap:wrap; gap:1rem; margin:2rem 0; }
.web-filters a { text-underline-offset:5px; font-size:.85rem; }
.web-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:2rem; }
.web-card { border-top:3px solid var(--sello); padding-top:1rem; }
.web-card h2 { margin:.6rem 0 1rem; font-size:1.6rem; line-height:1.12; letter-spacing:-.035em; }
.web-card h2 a { color:var(--ink); text-decoration:none; }
.web-card h2 a:hover { color:var(--sello); }
.web-reading { max-width:40rem; margin:1rem auto 3rem; }
.web-reading h1 { font-size:clamp(2.3rem,6vw,4.5rem); line-height:1.02; }
.web-prose { line-height:1.75; margin-top:2.5rem; }
.web-prose p { margin:0 0 1.5rem; }
.web-related { max-width:40rem; margin:0 auto 4rem; border-top:2px solid var(--ink); }
.web-related a { display:block; margin:1rem 0; }
a:focus-visible { outline:2px solid var(--sello); outline-offset:5px; }
@media(max-width:760px) {
 .web-grid { grid-template-columns:1fr; }
 .foot-mark { display:none; }
 .foot-nav { justify-content:flex-start; gap:.5rem .8rem; }
 .foot-nav a { font-size:12px; }
}


/* Comunidad y ajustes editoriales */
.tape-track { animation: tape-run 80s linear infinite !important; animation-play-state:running !important; }
.web-filters a.active { color:var(--sello); text-decoration:underline; text-underline-offset:5px; }
.writing-invite,.comment-ranking,.article-community { margin-top:3rem; padding-top:1.4rem; border-top:2px solid var(--ink); }
.reactions,.comment-votes,.profile-actions { display:flex;flex-wrap:wrap;gap:1rem;align-items:center; }
.reactions button,.comment-votes button { background:transparent;color:var(--ink);padding:.4rem; }
.reactions button { font-size:1.8rem; }
sup { font-size:.65em;line-height:0;vertical-align:super;margin-left:.15em; }
button[aria-pressed="true"] { color:var(--sello);text-decoration:underline;text-underline-offset:5px; }
.reader-comment { padding:1.3rem 0;border-bottom:1px solid #ccc;overflow-wrap:anywhere; }
.comment-body p { white-space:pre-wrap; }
.comment-skeleton { max-width:26rem;display:grid;gap:.45rem;margin:1rem 0; }
.comment-skeleton span { display:block;background:#d8d4d1;height:.65rem;border-radius:2px; }
.comment-skeleton span:nth-child(2) { width:85%; }.comment-skeleton span:last-child { width:62%; }
.comment-votes .report-comment { font-size:.75rem;margin-left:auto; }
.ranking-grid { display:grid;grid-template-columns:1fr 1fr;gap:2rem; }
#comment-form textarea { min-height:7rem; }
.check { display:flex;align-items:flex-start;gap:.6rem;font-size:.9rem; }
.check input { margin-top:.4rem; }
.text-button { background:none;color:var(--sello);padding:0;font:inherit;text-decoration:underline;font-weight:700; }
.us-page { padding-top:1rem; }.us-page h1 { margin-top:0; }
.policy h1 { font-size:7rem; }.policy-cat { width:180px;max-width:100%;margin-top:1rem; }
dialog { background:var(--paper);color:var(--ink);border:0;padding:1.5rem;max-width:min(90vw,50rem);max-height:85vh;overflow:auto; }
dialog::backdrop { background:rgba(0,0,0,.65); }
.cat-collage { display:grid;grid-template-columns:repeat(4,1fr);gap:1rem;padding:1.5rem; }
.cat-collage img { width:100%;height:150px;object-fit:contain;transform:rotate(var(--tilt)); }
.collage-close { position:sticky;top:0;z-index:2; }
.community-notice:empty { display:none; }.community-notice { position:fixed;bottom:5rem;right:1rem;max-width:24rem;background:var(--ink);color:white;padding:1rem;z-index:100; }
.notification-open { background:none;color:var(--sello);font-size:.8rem;padding:0;margin-right:1rem; }
#notification-list a { display:block;margin:1rem 0; }
.street-end .home-japanese { font-size:clamp(4rem,14vw,9rem);line-height:1.1;letter-spacing:-.08em; }
.street-end.has-stamp { flex-wrap:wrap; }.stamp { font-size:clamp(1rem,2vw,1.6rem);padding:.8rem 1rem; }
.foot-nav { gap:.5rem .9rem; }
@media(max-width:720px) {
 :root { --foot-h:4.5rem; }
 footer { align-items:center;padding:.7rem 1rem; }
 .foot-nav { justify-content:center;gap:.6rem .8rem; }.foot-nav a { font-size:.78rem; }
 .ranking-grid { grid-template-columns:1fr; }.cat-collage { grid-template-columns:repeat(2,1fr);padding:1rem 0; }
 .cat-collage img { height:110px; }
 .street { justify-content:flex-start;padding-top:3rem; }
 .notification-open { font-size:.7rem;margin-right:.5rem; }
}

/* Refinamiento de portada, lectura y perfiles */
.tape-foot .tape-track { animation-duration:28s !important; }
body[data-home="true"] .tape-foot .tape-track { visibility:hidden; }
body[data-home="true"] .street { max-width:76rem; justify-content:center; padding:2rem; }
body[data-home="true"] .street-end { display:block; }
body[data-home="true"] .street-copy { text-align:center; }
body[data-home="true"] .stamp { position:absolute;z-index:10;left:50%;top:50%;margin:0;transform:translate(-50%,-50%) rotate(-12deg);font-size:clamp(1.2rem,4vw,3rem);background:var(--paper);pointer-events:none; }
.home-title { min-height:22rem;display:flex;flex-direction:column;justify-content:center;gap:5rem; }
#home-negation { font-size:clamp(1.4rem,4vw,3rem);font-weight:800;margin:0; }
.street-end #home-name { font-size:clamp(4rem,13vw,9rem);margin:0;line-height:1.1;overflow-wrap:anywhere; }
.home-title.binary #home-negation { font-size:clamp(.8rem,2vw,1.3rem);max-width:45rem;margin:auto; }
.home-title.binary #home-name { font-size:clamp(1.3rem,4vw,3rem); }
[data-unread-count] { color:var(--sello);font-weight:800; }
[hidden] { display:none !important; }
.web-card { position:relative; }.unread-mark { position:absolute;top:.8rem;right:0;color:var(--sello);font-size:1.5rem;font-weight:900; }
.web-card .meta { padding-right:1rem; }
.writing-invite h2 { font-size:1.3rem; }.writing-invite a { color:var(--ink);text-decoration:none; }.writing-invite a:hover { color:var(--sello); }
.us-page { margin-top:-.5rem;padding-top:0; }
.us-votes { display:flex;gap:1.2rem;justify-content:flex-end;align-items:center;margin-top:2rem; }
.disclaimer-right { text-align:right; }.disclaimer-right .cta { text-decoration:none; }
.policy { display:flow-root; }.policy-cat { float:right;width:150px;margin:1.5rem 0 0 1rem; }
.warning-mark svg { width:150px;height:140px;color:var(--sello); }.warning-mark { line-height:1; }
#cat-invasion { position:fixed;inset:0;z-index:100;pointer-events:none;overflow:hidden; }
#cat-invasion .cat-collage { display:block;padding:0; }
#cat-invasion img { position:absolute;width:clamp(90px,17vw,210px);height:clamp(90px,17vw,180px);object-fit:contain;filter:drop-shadow(0 5px 6px #0003); }
#cat-invasion .collage-close { position:absolute;bottom:5rem;right:1rem;top:auto;pointer-events:auto;background:var(--sello);color:white; }
body:has(.author-dashboard) main { max-width:70rem; }
.author-dashboard { display:grid;grid-template-columns:minmax(220px,320px) 1fr;gap:3rem;margin:1rem auto 3rem; }
.author-dashboard .profile-summary { position:static;display:block;height:auto;padding:0;background:none; }
.author-avatar { display:block;width:100%;height:auto;aspect-ratio:1;object-fit:cover;background:white; }
.author-initial { display:grid;place-items:center;font-size:5rem; }
.profile-summary h1 { font-size:3rem;margin:.4rem 0; }.profile-summary .web-eyebrow { margin-top:1.4rem; }
.interest-tags { display:flex;flex-wrap:wrap;gap:.5rem;color:var(--sello);font-size:.8rem;margin:1rem 0; }
.profile-stats { display:grid;grid-template-columns:repeat(3,1fr);border-top:3px solid var(--sello);border-bottom:1px solid #aaa;padding:1.3rem 0;gap:1rem; }
.profile-stats strong { display:block;font-size:2.7rem;font-weight:800; }.profile-stats span { font-size:.8rem; }
.profile-content section { padding-bottom:1rem;border-bottom:1px solid #ddd; }
.profile-articles { list-style:none;padding:0; }.profile-articles li { padding:1rem 0;border-bottom:1px solid #ddd; }.profile-articles a { color:var(--ink);font-weight:700; }
.unfollow-label { display:block;font-size:.65rem;font-weight:400;margin-top:.5rem;text-decoration:none; }
.list-aside { font-size:.7rem !important; }
@media(max-width:760px) { .author-dashboard { grid-template-columns:1fr;gap:2rem; }.author-avatar { max-width:260px; }.profile-summary h1 { font-size:2.5rem; } .home-title { gap:6rem;min-height:25rem; } }

/* Área segura bajo el encabezado, formularios y propuestas */
body.pub main { display:block; }
.street { min-height:100%;height:auto;justify-content:flex-start;padding-top:2rem;padding-bottom:3rem; }
body[data-home="true"] .street { display:flex;justify-content:center; }
body[data-home="true"] .tape-top .tape-track { visibility:hidden; }
body[data-home="true"] .home-title { min-height:16rem;gap:1rem;justify-content:center; }
.home-title.binary #home-negation { margin:0 auto;font-size:clamp(.85rem,2vw,1.3rem);max-width:48rem;line-height:1.5; }
.home-title.binary #home-name { font-size:clamp(1.1rem,3vw,2rem);max-width:48rem;margin:0 auto;line-height:1.5;letter-spacing:0; }
body[data-home="true"] .cancel-stamp { width:min(60vw,520px);height:auto;padding:0;background:transparent;border:0;box-shadow:none;opacity:1; }
.us-fixed-cat { display:block;margin:1.3rem 0 0 auto;width:150px;height:auto; }
.policy-cat { margin-right:2.5rem; }
.disclaimer-right { margin-top:.3rem; }
.disclaimer-right .cta { font-size:.7rem;margin-top:.1rem; }
.application-box { max-height:85vh;overflow:auto;width:min(35rem,100%); }
.application-box textarea { min-height:9rem;font-size:.9rem; }
.application-box .check input { width:auto; }
.topics-grid { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.5rem; }
.topic-card { border-top:3px solid var(--sello);padding-top:1rem;display:flex;flex-direction:column; }
.topic-card h2 { margin:.5rem 0; }.topic-card form { margin-top:auto;padding-top:1rem; }
.topic-card button { font-size:.8rem; } button:disabled { opacity:.4;cursor:not-allowed; }
.current-work { border-top:3px solid var(--sello);margin-top:3rem; }
.current-work textarea[name=approach] { min-height:6rem; }.current-work textarea[name=body] { min-height:20rem; }
.submitted-work { white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6; }
.writer-topics details { padding:1rem 0;border-bottom:1px solid #aaa; }
@media(max-width:720px) { .topics-grid { grid-template-columns:1fr; }.policy-cat { margin-right:1rem; } }

.consent-loading body > header,.consent-loading body > main,.consent-loading body > footer,.consent-loading .tape { visibility:hidden; }
body.consent-locked { overflow:hidden; }
body.consent-locked > header,body.consent-locked > main,body.consent-locked > footer,body.consent-locked > .tape { visibility:hidden; }
.cookie-wall,.cookie-block { position:fixed;inset:0;z-index:1000;background:var(--paper);overflow:auto; }
.cookie-wall { display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:4vw;padding:5vw; }
.cookie-art img { display:block;width:min(100%,430px);max-height:65vh;object-fit:contain;margin:auto; }
.cookie-copy { max-width:36rem; }.cookie-copy h1 { font-size:clamp(2.2rem,5vw,4.5rem);line-height:1; }
.cookie-copy p { font-size:.9rem; }.cookie-copy .web-eyebrow { margin-top:0; }
.cookie-actions { display:flex;flex-wrap:wrap;gap:.7rem; }.cookie-actions button { font-size:.85rem; }.cookie-actions button:last-child { background:var(--sello); }
.cookie-block { display:grid;place-items:center;padding:2rem; }.cookie-block > div { max-width:40rem;text-align:center; }.cookie-block img { display:block;width:200px;max-height:220px;object-fit:contain;margin:1rem auto; }
@media(max-width:720px) { .cookie-wall { grid-template-columns:1fr;gap:1.5rem;padding:1.5rem;align-content:start; }.cookie-art img { max-height:180px; }.cookie-copy h1 { font-size:2.5rem; } }

.troll-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:1rem;align-items:baseline;}


/* Perfiles sobrios y límites del encabezado */
body > header { z-index:2000; isolation:isolate; }
.tape-top { z-index:2001; }
.modal { top:calc(var(--tape-h) + var(--head-h)); }
body:has(.author-dashboard) main { max-width:54rem; }
.author-dashboard { grid-template-columns:minmax(180px,230px) minmax(0,1fr);gap:3rem; }
.author-avatar { width:140px;max-width:100%; }
.profile-summary h1 { font-size:2rem; }
.profile-summary p { font-size:.88rem; }
.profile-summary .web-eyebrow { font-size:.65rem; }
.profile-stats { border-top:0;border-bottom:1px solid #ddd;padding:0 0 1rem;gap:1rem; }
.profile-stats strong { font-size:1.4rem;font-weight:500; }
.profile-stats span { font-size:.7rem; }
.profile-content h2 { font-size:1rem;margin-top:1.6rem; }
.profile-content section { border:0; }
.profile-articles li { padding:.7rem 0; }
.profile-articles a { font-weight:500;text-decoration:none; }
.profile-actions { gap:1.3rem; }.profile-actions .cta { margin-top:.4rem; }
@media(max-width:640px) { .author-dashboard { grid-template-columns:1fr;gap:2rem; }.author-avatar { width:120px; } }
/* Avisos contenidos en el área visible, sin desplazamiento */
.cookie-wall,.cookie-block { height:100dvh;overflow:hidden;padding:clamp(12px,3vw,42px); }
.cookie-wall { gap:3vw;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr); }
.cookie-copy { min-width:0;max-width:38rem; }
.cookie-copy h1 { font-size:clamp(1.6rem,4vw,3.2rem);margin:0 0 .65rem; }
.cookie-copy p { font-size:clamp(12px,1.3vw,16px);line-height:1.4;margin:.65em 0; }
.cookie-copy .web-eyebrow { font-size:11px; }
.cookie-art img { max-height:48dvh;max-width:100%; }
.cookie-actions { display:grid;grid-template-columns:1fr;gap:7px;margin-top:14px; }
.cookie-actions button { font-size:13px;min-height:38px;padding:8px; }
.cookie-block > div { max-width:38rem; }
.cookie-block h1 { font-size:clamp(1.8rem,5vw,3rem);margin:0 0 1rem; }
.cookie-block p { font-size:clamp(12px,1.5vw,17px);margin:.7em 0; }
.cookie-block img { width:150px;max-height:24dvh;margin:.6rem auto; }
.troll-actions { gap:.6rem 1rem; }.troll-actions button { font-size:14px; }.troll-actions .cta { margin-top:.3rem; }
@media(max-width:600px) and (min-height:550px) {
 .cookie-wall { grid-template-columns:1fr;grid-template-rows:auto auto;gap:12px;align-content:center; }
 .cookie-art img { height:clamp(70px,17dvh,145px);width:auto; }
 .cookie-copy { margin:auto; }.cookie-copy h1 { font-size:1.8rem; }
}
@media(max-height:550px) {
 .cookie-wall { padding:12px;gap:18px;grid-template-columns:minmax(100px,.65fr) minmax(0,1.5fr); }
 .cookie-copy h1 { font-size:24px;margin-bottom:6px; }.cookie-copy p { font-size:12px;line-height:1.25;margin:6px 0; }
 .cookie-actions { grid-template-columns:repeat(3,1fr);gap:5px;margin-top:8px; }.cookie-actions button { font-size:11px;padding:6px; }
 .cookie-block > div { max-width:44rem; }.cookie-block h1 { font-size:24px;margin-bottom:6px; }.cookie-block img { max-height:20dvh;margin:6px auto; }
}

/* Portada: título primero, impresión del sello después. */
body[data-home="true"] .tape .tape-track { visibility:visible; }
body[data-home="true"] .home-title { gap:.2rem; }
body[data-home="true"] #home-negation { font-size:clamp(1.2rem,3.6vw,3rem); }
body[data-home="true"] #home-name { font-size:clamp(5rem,17vw,12rem);line-height:.95; }
body[data-home="true"] .cancel-stamp { opacity:0; }
body[data-home="true"]:not(.consent-locked):not(.is-skel) .cancel-stamp { animation:stamp-impact .65s 1.2s both; }
@keyframes stamp-impact { 0% {opacity:0;transform:translate(-50%,-50%) rotate(-18deg) scale(2.6);} 48%{opacity:1;} 68%{opacity:1;transform:translate(-50%,-50%) rotate(-12deg) scale(.94);} 84%{transform:translate(-50%,-50%) rotate(-12deg) scale(1.04);} 100%{opacity:1;transform:translate(-50%,-50%) rotate(-12deg) scale(1);} }
@media(prefers-reduced-motion:reduce){body[data-home="true"]:not(.consent-locked) .cancel-stamp{animation:none;opacity:1;}}
.us-votes .us-fixed-cat { margin:0 auto 0 0;width:110px; }
.author-dashboard { grid-template-columns:minmax(0,1fr) 230px;align-items:start; }
.author-dashboard .profile-summary { grid-column:2;grid-row:1;position:static; }
.profile-content { grid-column:1;grid-row:1;min-width:0; }
.author-avatar { border:3px solid #000; }
.profile-socials { display:flex;gap:.7rem;margin:.7rem 0; }.profile-socials:empty{display:none;}
.profile-socials a { color:var(--ink); }.profile-socials svg { width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.5; }
.profile-articles li { display:flex;align-items:center;gap:1rem;justify-content:space-between; }
.article-vote-summary { display:flex;flex-shrink:0;gap:.7rem;font-size:.8rem; }.article-vote-summary small { font-size:.65rem; }
.cookie-wall { grid-template-columns:minmax(0,320px) minmax(0,590px);justify-content:center;gap:clamp(18px,3vw,45px); }
@media(max-width:640px) { .author-dashboard { grid-template-columns:1fr; }.author-dashboard .profile-summary {grid-column:1;grid-row:1;}.profile-content{grid-column:1;grid-row:2;} }
@media(max-width:600px) and (min-height:550px){.cookie-wall {grid-template-columns:minmax(0,1fr);}}

/* Ajustes de lectura y portada */
body[data-home="true"],body[data-home="true"] main { overflow-x:hidden; }
body[data-home="true"] .home-title { gap:0; }
body[data-home="true"] #home-negation { line-height:1;margin:0; }
body[data-home="true"] .cancel-stamp { left:55%; }
body.consent-locked > .tape,body[data-page="/cookies"] > .tape { display:none!important; }
.cookie-copy p,.cookie-block p { font-size:clamp(11px,1.1vw,14px); }
.us-votes { justify-content:flex-end;gap:1rem; }.us-votes .us-fixed-cat { margin:0;width:100px; }.us-votes .cta { margin:0; }
body[data-page="/revista"] .street { justify-content:center;padding-top:2rem; }
.author-avatar { border-color:var(--sello); }
.crossed-heart { position:relative;display:inline-block;color:var(--sello);line-height:1; }
.crossed-heart::after { content:"";position:absolute;width:120%;height:1.5px;background:currentColor;left:-10%;top:48%;transform:rotate(-45deg);box-shadow:0 0 0 1px var(--paper); }
.article-vote-summary { color:var(--sello); }
.article-community { padding-top:.5rem; }.article-community .reactions { justify-content:flex-end;gap:.6rem; }.article-community .reactions button { font-size:1.1rem;padding:.25rem; }.article-community .reactions sup { font-size:.55rem;color:var(--sello);font-weight:800; }.article-back { margin:.5rem 0 1rem;font-size:.75rem; }
/* Mesa editorial */
body:has(.desk-dashboard) main { max-width:80rem;padding:1.5rem 2rem 4rem; }
.desk-dashboard { display:grid;grid-template-columns:200px minmax(0,1fr);gap:3rem;align-items:start; }
.desk-sidebar { position:sticky;top:calc(var(--head-h) + var(--tape-h) + 1rem);border-right:1px solid #ddd;padding-right:1.2rem; }
.desk-sidebar .web-eyebrow { font-size:.65rem;margin:0; }.desk-user { font-weight:800;margin:.5rem 0 1.5rem; }
.desk-sidebar nav { display:grid;gap:.35rem; }.desk-sidebar nav a { font-size:.8rem;padding:.55rem .65rem;font-weight:500;white-space:normal; }.desk-sidebar nav a[aria-current="page"] { background:var(--sello);color:white;font-weight:700; }.desk-site { display:inline-block;margin-top:2rem;font-size:.75rem; }
.desk-workspace { min-width:0; }.desk-workspace h1 { font-size:clamp(1.8rem,4vw,2.8rem);line-height:1.1; }.desk-workspace .lede { font-size:1rem; }.desk-workspace form { max-width:52rem;gap:1rem; }.desk-workspace label { display:grid;gap:.3rem;font-size:.85rem; }.desk-workspace input,.desk-workspace textarea,.desk-workspace select { width:100%;border:1px solid #bbb;background:transparent;min-width:0; }.desk-workspace button { justify-self:start;padding:.65rem 1rem;font-size:.85rem; }.desk-workspace textarea { min-height:10rem; }.desk-workspace small { color:var(--muted);font-weight:400; }.desk-workspace table { display:block;overflow:auto;white-space:normal; }.desk-workspace td,.desk-workspace th { padding:.8rem .6rem;font-size:.8rem; }.desk-workspace th { color:var(--sello); }.desk-workspace .profile-edit textarea { min-height:7rem; }.save-success { padding:.7rem;border-left:3px solid var(--sello);background:#f2e9e5; }
@media(max-width:760px){body:has(.desk-dashboard) main{padding:1rem 1rem 4rem;}.desk-dashboard{grid-template-columns:1fr;gap:1.5rem;}.desk-sidebar{position:static;border-right:0;border-bottom:1px solid #ddd;padding:0 0 1rem;}.desk-sidebar nav{display:flex;gap:.3rem;}.desk-sidebar nav a{font-size:.72rem;padding:.4rem;}.desk-user{margin:.3rem 0 .7rem;}.desk-site{margin-top:.6rem;}}

.desk-sidebar{max-height:calc(100dvh - var(--head-h) - var(--tape-h) * 2 - var(--foot-h) - 3rem);overflow-y:auto;}
body[data-home="true"] #home-name{margin-top:-.03em;}
@media(max-width:760px){.desk-sidebar{max-height:none;overflow:visible;}}

/* Portada y mesa editorial */
body[data-home="true"] .home-pipe{display:block;width:clamp(230px,48vw,650px);height:auto;max-width:100%;margin:.4rem auto 0;}
body[data-home="true"] #home-name{font-size:inherit;line-height:1;}
body[data-page="/revista"] .street{justify-content:flex-start;}
body[data-page^="/mesa"] .tape-top{display:none;}
body[data-page^="/mesa"] > header{top:0;}
body[data-page^="/mesa"]{padding-top:var(--head-h);}
.desk-shortcuts{display:flex;flex-wrap:wrap;gap:1rem;margin:1.5rem 0 2rem;}.desk-shortcuts a{border:1px solid #ddd;padding:.8rem;text-decoration:none;color:var(--ink);font-size:.85rem;}.desk-shortcuts b{color:var(--sello);margin-left:.5rem;}
.desk-topics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;}.desk-topic{border-top:2px solid var(--sello);padding:.5rem 0;}.desk-topic h3{font-size:1rem;line-height:1.3;margin:.5rem 0;}.desk-topic p{font-size:.8rem;}.section-heading{display:flex;align-items:baseline;gap:1rem;justify-content:space-between;}.section-heading a{font-size:.75rem;}
.desk-message{padding:1rem 0;border-bottom:1px solid #ddd;overflow-wrap:anywhere;}.desk-message p,.review-body{white-space:pre-wrap;}.desk-message small{font-size:.7rem;}.desk-document-list{list-style:none;padding:0;}.desk-document-list li{padding:1rem 0;border-bottom:1px solid #ddd;display:flex;gap:.8rem;justify-content:space-between;}.desk-document-list span{font-size:.75rem;color:var(--muted);}.desk-workspace .article-editor{min-height:26rem;}.review-feedback{border-left:3px solid var(--sello);padding:1rem;background:#f5ece8;margin:1rem 0;}.review-controls{border-top:2px solid var(--sello);margin-top:2rem;}.review-body{line-height:1.7;overflow-wrap:anywhere;}
@media(max-width:980px){.desk-topics{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:600px){.desk-topics{grid-template-columns:1fr;}.section-heading,.desk-document-list li{display:block;}.desk-document-list span{display:block;margin-top:.5rem;}}

/* Mesa compacta: navegación y componentes compartidos */
.desk-sidebar .web-eyebrow{margin-bottom:1rem;}.desk-sidebar nav{gap:.15rem;}.desk-sidebar nav a{padding:.45rem .55rem;}
.desk-workspace h1{font-size:clamp(1.7rem,3.3vw,2.5rem);}.desk-workspace h2{margin-top:1.5rem;}.desk-shortcuts{margin:1rem 0 1.4rem;}.desk-shortcuts a{padding:.5rem .7rem;font-size:.75rem;}
.desk-topic form{margin-top:.4rem;}.desk-topic button{padding:.25rem .7rem;font-size:.7rem;}.choice-record{font-size:.65rem!important;line-height:1.5;margin:.6rem 0;padding:0;list-style:none;color:var(--muted);}.active-topic small{display:block;font-size:.7rem;margin-top:.3rem;}
.suggestions-compact form,.forum-reply form{display:flex;gap:.7rem;align-items:flex-end;max-width:none;}.desk-workspace .suggestions-compact textarea,.desk-workspace .forum-reply textarea{min-height:3rem;height:3rem;resize:vertical;padding:.5rem;font-size:.8rem;}.suggestions-compact button,.forum-reply button{font-size:.75rem;padding:.5rem .7rem;flex-shrink:0;}.suggestion-item{border-bottom:1px solid #e5e2df;padding:.6rem 0;}.suggestion-item p{font-size:.85rem;margin:0 0 .3rem;white-space:pre-wrap;}.suggestion-item small{font-size:.65rem;}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;}
.archive-day{border-bottom:1px solid #ddd;padding:.8rem 0;}.archive-day summary{cursor:pointer;font-weight:700;}.archive-day article{padding:.4rem 0;}.archive-day h3{font-size:.9rem;margin:.5rem 0;}
.red-button{display:inline-block;background:var(--sello);color:#fff!important;padding:.6rem .8rem;text-decoration:none;font-size:.75rem;white-space:nowrap;}.forum-heading h1{margin:0;}.forum-toolbar{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin:1.5rem 0;flex-wrap:wrap;}.forum-filters{gap:1rem;}.forum-filters a{font-size:.8rem;font-weight:500;}.forum-filters a[aria-current]{color:var(--sello);text-decoration:underline;}.desk-workspace .forum-category{display:flex;align-items:flex-end;gap:.5rem;}.forum-category label{font-size:.65rem;}.forum-category select,.forum-category button{font-size:.7rem;padding:.35rem;}.forum-list-row{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem 0;border-bottom:1px solid #ddd;}.forum-list-row a{color:var(--ink);font-size:1rem;font-weight:700;text-decoration:none;}.forum-list-row p{font-size:.7rem;margin:.4rem 0 0;}.forum-list-row small{font-size:.65rem;white-space:nowrap;}
.forum-message{background:#f4f2f0;border:1px solid #efedeb;padding:1rem;margin:1rem 0;scroll-margin-top:calc(var(--head-h) + 1rem);}.forum-message p{white-space:pre-wrap;font-size:.9rem;overflow-wrap:anywhere;}.forum-meta{display:flex;gap:.5rem 1.2rem;flex-wrap:wrap;font-size:.65rem;color:#555;}.forum-reactions form{display:flex;align-items:center;gap:.6rem;}.forum-reactions button{padding:.1rem .2rem;background:none;color:var(--sello);font-size:1rem;}.forum-reactions sup{font-size:.55rem;}.emoji-choices{position:relative;font-size:.85rem;}.emoji-choices summary{cursor:pointer;list-style:none;}.emoji-choices div{display:flex;gap:.6rem;padding:.4rem;border:1px solid #ddd;background:var(--paper);position:absolute;bottom:100%;left:0;z-index:5;}.forum-reply{margin-top:1rem;}.forum-back{font-size:.75rem;}.desk-workspace .forum-compose textarea{min-height:7rem;}
.profile-edit fieldset{border:0;border-top:1px solid #ddd;margin:1rem 0 0;padding:1rem 0;display:grid;gap:.7rem;}.profile-edit legend{font-size:.9rem;font-weight:700;padding-right:.7rem;}.avatar-upload{display:flex;gap:1.2rem;align-items:center;}.avatar-upload img{width:120px;height:120px;object-fit:cover;border:2px solid var(--sello);}.profile-edit .privacy-check{display:flex;align-items:center;gap:.5rem;}.profile-edit .privacy-check input{width:auto;}.desk-workspace .source-save{background:none;color:var(--sello);padding:.25rem 0;font-size:.7rem;}.hit form{display:inline-block;margin-left:1rem;}.saved-source{display:flex;align-items:center;justify-content:space-between;gap:1rem;border-bottom:1px solid #ddd;padding:1rem 0;}.saved-source a{font-size:.85rem;}.saved-source form{flex-shrink:0;}
@media(max-width:600px){.forum-heading{align-items:flex-start;}.red-button{white-space:normal;text-align:center;}.forum-list-row{display:block;}.forum-list-row small{display:block;margin-top:.5rem;}.avatar-upload{align-items:flex-start;}.avatar-upload img{width:85px;height:85px;}.suggestions-compact form,.forum-reply form{flex-wrap:wrap;}}

/* Ajustes públicos solicitados */
header .pipe-brand{background:transparent;padding:0;display:flex;align-items:center;}.pipe-brand img{display:block;width:90px;height:38px;object-fit:contain;}
body[data-home="true"] #home-name{font-size:clamp(3rem,10vw,8rem);line-height:1.05;margin-top:0;letter-spacing:-.05em;}
.us-votes .us-fixed-cat{margin-right:5rem;}
.writing-invite h2,.writing-invite h2 a{color:var(--sello);}
.cookie-block img{width:clamp(180px,23vw,260px);max-height:32dvh;margin:0 auto .8rem;}
.cookie-block h1{margin-bottom:.65rem;}
@media(max-height:550px){.cookie-block img{width:180px;max-height:27dvh;margin-bottom:.4rem;}.cookie-block p{font-size:12px;line-height:1.3;}.cookie-block h1{font-size:26px;}}
