/* Identidad de la fuente y acciones compactas de la noticia. */
.nota-toolbar { margin: 0 0 2px; }
.src-card, .source-card-side .src-card {
  min-width: 0; padding: 10px 0; background: transparent;
  border: 0; border-radius: 0; box-shadow: none;
}
.src-card .src-head, .source-card-side .src-card .src-head {
  display: grid; grid-template-columns: 38px minmax(0, 1fr) auto;
  grid-template-rows: auto auto; gap: 0 10px; align-items: center;
  padding: 0; text-align: left;
}
.src-card .favicon, .source-card-side .src-card .favicon {
  grid-column: 1; grid-row: 1 / 3; align-self: center;
  width: 38px; height: 38px; border-radius: 9px; font-size: 14px;
}
.src-card .info, .source-card-side .src-card .info {
  grid-column: 2; grid-row: 1; display: flex; flex-direction: column;
  min-width: 0; align-items: flex-start;
}
.src-card .name { max-width: 100%; color: var(--text); font-size: 14px; line-height: 1.25; overflow-wrap: anywhere; }
.src-card .desc { flex-wrap: wrap; gap: 4px; margin-top: 2px; font-size: 12px; line-height: 1.3; }
.src-card .source-actions, .source-card-side .src-card .source-actions { display: contents; }
.src-card .source-actions .source-link,
.source-card-side .src-card .source-actions .source-link {
  display: block; grid-column: 2; grid-row: 2; width: auto; min-width: 0; max-width: 100%;
  min-height: 30px; overflow: hidden; padding: 4px 0; border: 0; border-radius: 0;
  background: transparent; color: var(--accent-text); font-size: 12px;
  font-weight: 700; line-height: 22px; text-align: left; text-overflow: ellipsis; white-space: nowrap;
}
.src-card .source-actions .source-link:hover { background: transparent; color: var(--link-hover); }
.src-card .source-actions .source-link::before { content: none; }
.src-card .source-actions .source-link svg { display: inline-block; width: 11px; height: 11px; vertical-align: -1px; }
.src-card .source-actions .seguir, .source-card-side .src-card .source-actions .seguir {
  grid-column: 3; grid-row: 1 / 3; width: auto; min-height: 40px; margin: 0;
  padding: 7px 12px; border: 1px solid var(--border); border-radius: 9px;
  background: var(--surface); color: var(--accent-text); font-size: 13px;
}
.src-card .source-actions .seguir.on { background: var(--surface-2); color: var(--text); }
.nota-actions {
  display: flex; flex-wrap: nowrap; align-items: center; gap: 4px;
  width: 100%; margin: 0 0 14px; padding: 0 0 10px; border-bottom: 1px solid var(--border);
}
.nota-actions .tts-wrap { display: flex; flex: 0 0 auto; }
.nota-actions .pill-btn {
  min-height: 40px; padding: 7px 11px; justify-content: center; gap: 6px;
  border: 0; border-radius: 8px; background: transparent; color: var(--text-mut); font-size: 13px;
}
.nota-actions .pill-btn svg { width: 16px; height: 16px; flex: none; }
.nota-actions .pill-btn:hover { background: var(--surface-2); color: var(--text); }
.nota-actions .pill-btn:focus-visible, .src-card a:focus-visible, .src-card button:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 2px;
}
.nota-actions .tts-panel { left: 0; right: auto; border-radius: 12px; }
@media (max-width: 950px) {
  .nota-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; }
  .nota-actions .tts-wrap, .nota-actions .pill-btn { width: 100%; min-width: 0; }
  .nota-actions .pill-btn { min-height: 44px; padding: 7px 3px; gap: 5px; font-size: 13px; }
  .nota-actions .pill-btn svg { width: 15px; height: 15px; }
}
@media (max-width: 360px) {
  .nota-actions .pill-btn { font-size: 12px; }
}
.src-card .desc:has(.published:empty) > [aria-hidden="true"],
.src-card .desc:has(.read-time:empty) > [aria-hidden="true"] { display: none; }
/* Composición de la publicación */
.nota-head.has-lede { padding-bottom: 0; }
.nota-toolbar { margin: 0; }
.nota-toolbar .src-card { padding: 4px 0 12px; }
.nota-toolbar .src-card .favicon { align-self: start; border-radius: 50%; }
.nota-toolbar .src-card .favicon img { border-radius: 50%; }
.nota-actions {
  display: flex; flex-wrap: nowrap; gap: 0; margin: 0; padding: 6px 0 4px; border: 0;
}
.nota-actions .tts-wrap { display: flex; flex: 0 0 auto; width: auto; order: 1; }
.nota-actions .pill-btn, .nota-actions .tts-wrap .pill-btn {
  display: inline-flex; flex: 0 0 auto; width: 44px; height: 44px; min-width: 44px;
  min-height: 44px; margin: 0; padding: 10px; border: 0; border-radius: 50%;
  background: transparent; color: var(--text); font-size: 0; line-height: 0;
}
.nota-actions .pill-btn svg { width: 24px; height: 24px; }
.nota-actions > .pill-btn[aria-label="Compartir"] { order: 2; }
.nota-actions > .pill-btn:not([aria-label="Compartir"]) { order: 3; margin-left: auto; }
.nota-actions .pill-btn.on svg { fill: currentColor; }
.nota > .lede { margin: 0 0 6px; color: var(--text); font-size: 16px; line-height: 1.5; }
.nota-date { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; margin: 0 0 20px; color: var(--text-mut); font-size: 12px; line-height: 1.4; }
.nota-date:has(.published:empty) > [aria-hidden="true"],
.nota-date:has(.read-time:empty) > [aria-hidden="true"] { display: none; }
@media (max-width: 950px) {
  .nota-actions .pill-btn, .nota-actions .tts-wrap .pill-btn { width: 44px; min-width: 44px; font-size: 0; }
  .nota-actions .pill-btn svg { width: 24px; height: 24px; }
}
/* Acercar las acciones a la imagen sin reducir sus áreas táctiles. */
.nota .hero { margin-bottom: 0 !important; }
.nota .hero + .nota-actions { padding-top: 4px; }
