/* The same surface and rows as Fijados; Recientes, Fijados and Close share one header row. */
#sidebar.mley-app-sidebar .sidebar-brand { display:grid; grid-template-columns:auto minmax(0,1fr) auto; align-items:start; gap:4px; }
#sidebar.mley-app-sidebar .sidebar-brand [data-sidebar-recents] { grid-column:1; grid-row:1; }
#sidebar.mley-app-sidebar .sidebar-brand [data-sidebar-pins] { grid-column:2; grid-row:1; }
#sidebar.mley-app-sidebar .sidebar-brand #mley-sidebar-close { grid-column:3; grid-row:1; }
.mley-recents-toggle, .mley-pins-toggle { position:relative; min-width:44px; min-height:44px; }
.mley-recents-count { position:absolute; top:0; right:0; display:grid; place-items:center; min-width:17px; height:17px; padding:0 3px; border-radius:9px; font-size:11px; line-height:1; font-weight:700; background:var(--surface-accent); color:var(--accent-color); }
.mley-recents-footer { margin-top:.5rem; padding-top:.5rem; border-top:1px solid var(--border-color); font-size:var(--text-caption); color:var(--text-muted); line-height:1.5; }
.mley-recents-footer p { margin:0; }
.mley-recents-footer a { color:var(--accent-color); font-weight:var(--weight-semibold); }
.mley-sidebar-recents-menu [data-pins-menu] { max-height:65dvh; overflow-y:auto; overscroll-behavior:contain; }
.mley-sidebar-recents-menu .mley-sidebar-pins__list { max-height:none; }
.mley-account-history { margin:0; border:0; }
.mley-account-history .mley-sidebar-pins__list { max-height:none; }
.mley-account-history .mley-sidebar-pins__link { padding:.75rem; }
