.favorites-window{margin-top:7px}
.favorites-scroll{max-height:385px;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;scroll-behavior:smooth;outline:0}
.favorites-scroll:focus-visible{border-radius:12px;box-shadow:0 0 0 3px #e9e3ff}
.favorites-scroll::-webkit-scrollbar{width:9px}
.favorites-scroll::-webkit-scrollbar-track{background:#f1eef8;border-radius:999px}
.favorites-scroll::-webkit-scrollbar-thumb{background:#8d76e8;border:2px solid #f1eef8;border-radius:999px}
.favorites-scroll{scrollbar-color:#8d76e8 #f1eef8;scrollbar-width:thin}
.favorites-scroll .leader-row{min-height:77px;padding:12px 8px 12px 0}
.favorites-scroll .leader-row:first-child{border-top:1px solid var(--line)}
.favorites-scroll .leader-row.recently-rated{animation:favorite-arrival .8s ease both}
@keyframes favorite-arrival{0%{background:#eee9ff;box-shadow:inset 3px 0 #7655e8}100%{background:transparent;box-shadow:inset 3px 0 transparent}}
.favorites-window-footer{display:flex;align-items:center;justify-content:space-between;gap:14px;padding-top:11px}
.favorites-window-footer>span{color:var(--muted);font-size:10px;font-weight:700}
.favorites-scroll-controls{display:flex;gap:7px}
.favorites-scroll-controls button{width:32px;height:32px;border:1px solid #d9d2eb;border-radius:9px;background:#f8f6ff;color:var(--violet);font:800 16px var(--body);cursor:pointer}
.favorites-scroll-controls button:hover:not(:disabled){background:#eee9ff;border-color:#a997e8}
.favorites-scroll-controls button:focus-visible{outline:3px solid #e9e3ff;outline-offset:2px}
.favorites-scroll-controls button:disabled{opacity:.35;cursor:default}
.favorites-empty{display:grid;place-items:center;min-height:154px;padding:25px;text-align:center;background:#faf9fc;border:1px dashed #d9d2e8;border-radius:14px;color:var(--muted)}
.favorites-empty strong{display:block;color:var(--ink);margin-bottom:4px}
@media(max-width:760px){.favorites-scroll{max-height:365px}.favorites-scroll .leader-row{min-height:73px}}
