/* ===== Cabecera en cápsula al hacer scroll ===== */
.noche .top { transition: background 0.35s var(--ease), border-color 0.35s var(--ease); }
.noche .top-in { transition: width 0.45s var(--ease), margin 0.45s var(--ease), height 0.45s var(--ease), padding 0.45s var(--ease), background 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease); border: 1px solid transparent; border-radius: 999px; box-sizing: border-box; }
.noche .top.is-pill { background: transparent; border-bottom-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.noche .top.is-pill .top-in { width: min(100% - 24px, 1060px); height: 56px; margin-top: 6px; margin-bottom: 6px; padding-inline: 12px 12px; background: rgba(18, 16, 14, 0.74); -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3); border-color: rgba(243, 240, 235, 0.16); box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45); }
@media (max-width: 1023px) { .noche .top.is-pill .top-in { height: 50px; } }
@media (prefers-reduced-motion: reduce) { .noche .top, .noche .top-in { transition: none; } }
.noche .top { display: flow-root; }
