/* Novedades (app/ui/news.py, shell/_news_panel.html): a side panel on .sp. */
.nw-sp { width: min(460px, 100vw); }
.nw-sp .sp-head { align-items: center; }
.nw-hcol { flex: 1; min-width: 0; }
.nw-chip {
  flex: none; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center;
  background: color-mix(in srgb, var(--primary) 10%, var(--card)); color: var(--primary);
}
.nw-x { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 50%; color: var(--text-2); }
.nw-x:hover { background: var(--hover); }
.nw-body { padding-top: 18px; }
.nw-rel + .nw-rel { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--border); }
.nw-rel.is-old { opacity: .85; }
.nw-day { margin: 0; display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); }
.nw-new {
  padding: 1px 8px; border-radius: 999px; font-size: 11px; font-weight: 600;
  background: color-mix(in srgb, var(--primary) 12%, var(--card)); color: var(--primary);
}
.nw-rel-title { margin: 4px 0 14px; font-size: 17px; font-weight: 600; line-height: 1.35; color: var(--text); }
.nw-items { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.nw-item {
  display: flex; gap: 12px; padding: 14px; border: 1px solid var(--border); border-radius: 12px;
  background: var(--card);
}
.nw-ic {
  flex: none; width: 32px; height: 32px; border-radius: 8px; display: grid; place-items: center;
  background: var(--hover); color: var(--text-2);
}
.nw-text { min-width: 0; flex: 1; }
.nw-text h3 { margin: 0; font-size: 14px; font-weight: 600; line-height: 1.4; color: var(--text); }
.nw-text p { margin: 4px 0 0; font-size: 13px; line-height: 1.5; color: var(--text-2); }
.nw-show {
  margin-top: 8px; min-height: 36px; padding: 0 10px 0 0; display: inline-flex; align-items: center; gap: 4px;
  font-size: 13px; font-weight: 600; color: var(--primary); border-radius: 8px;
}
.nw-show:hover { text-decoration: underline; }
.nw-show.is-cta { padding: 0 14px; background: var(--primary); color: #fff; }
.nw-show.is-cta:hover { text-decoration: none; filter: brightness(1.08); }
.nw-empty { margin: 0; color: var(--muted); font-size: 13px; }
/* The account menu's entry: a dot while the newest release is unseen. */
.acct-news-dot { width: 7px; height: 7px; margin-left: auto; border-radius: 50%; background: var(--primary); flex: none; }
@media (max-width: 720px) {
  .nw-item { padding: 12px; }
  .nw-show { min-height: 44px; }
}
/* Novedades pinned at the top of the bell's dropdown (base.html): tinted,
   with its own kicker, so it never reads as one more notification. */
.ntf-pin {
  border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--primary) 6%, var(--card));
}
.ntf-pin:hover, .ntf-pin:focus-visible { background: color-mix(in srgb, var(--primary) 11%, var(--card)); }
.ntf-pin > .ic:last-child { color: var(--muted); flex: none; }
.ntf-pin-ic {
  width: 32px; height: 32px; border-radius: 8px; display: grid; place-items: center; flex: none;
  background: color-mix(in srgb, var(--primary) 14%, var(--card)); color: var(--primary);
}
.ntf-pin-kicker {
  display: inline-flex; align-items: center; gap: 4px; margin-bottom: 2px;
  font-size: 10.5px; font-weight: 600; letter-spacing: .3px; text-transform: uppercase; color: var(--primary);
}
.ntf-pin-kicker i { width: 6px; height: 6px; border-radius: 50%; background: var(--primary); }
.ntf-pin .ntf-msg { font-weight: 500; }
