/* --- 收藏界面（样式参考搜索聊天记录；颜色集中在变量里，夜间只改一处） --- */
#favorites-screen {
    --sh-bg: #f5f6f8;
    --sh-card: #ffffff;
    --sh-line: rgba(20, 24, 32, 0.07);
    --sh-text: #1c1f26;
    --sh-sub: #7b8190;
    --sh-faint: #a9aeba;
    --sh-chip: #eceef2;
    --sh-field: #eceef2;
    --sh-ink: #1c1f26;
    --sh-ink-text: #ffffff;
    --sh-mark: rgba(72, 92, 135, 0.22);
    --sh-shadow: 0 1px 2px rgba(20, 24, 32, 0.04), 0 6px 18px rgba(20, 24, 32, 0.04);
    --fav-star: #e0a526;
    background-color: var(--sh-bg);
    color: var(--sh-text);
    display: none;
    flex-direction: column;
    height: 100%;
}
html[data-ui="dark"] #favorites-screen {
    --sh-bg: #151617;
    --sh-card: #202123;
    --sh-line: rgba(255, 255, 255, 0.07);
    --sh-text: #e7e9ed;
    --sh-sub: #979ca6;
    --sh-faint: #686c75;
    --sh-chip: #2b2d30;
    --sh-field: #2a2c2f;
    --sh-ink: #e7e9ed;
    --sh-ink-text: #151617;
    --sh-mark: rgba(139, 165, 214, 0.30);
    --sh-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
    --fav-star: #c99d2e;
}
#favorites-screen.active { display: flex; }

/* 顶部栏 */
#favorites-screen .search-header {
    padding: 10px 16px 8px;
    padding-top: max(12px, env(safe-area-inset-top));
    background: var(--sh-bg);
    display: flex;
    align-items: center;
    gap: 12px;
    border: 0;
    box-shadow: none;
    z-index: 10;
}
#favorites-screen .search-input-wrapper {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    background: transparent;
    border: 0;
    padding: 0;
    box-shadow: none;
}
#favorites-screen .search-input-wrapper svg {
    position: absolute;
    left: 14px;
    width: 16px;
    height: 16px;
    color: var(--sh-faint);
    pointer-events: none;
}
#favorites-screen #fav-search-input {
    width: 100%;
    height: 40px;
    box-sizing: border-box;
    padding: 0 14px 0 40px;
    border-radius: 14px;
    border: 1px solid transparent;
    background: var(--sh-field);
    color: var(--sh-text);
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: background .2s ease, border-color .2s ease, box-shadow .2s ease;
}
#favorites-screen #fav-search-input::placeholder { color: var(--sh-faint); }
#favorites-screen #fav-search-input:focus {
    background: var(--sh-card);
    border-color: var(--sh-line);
    box-shadow: 0 0 0 3px var(--sh-chip);
}
#favorites-screen .search-cancel-btn {
    font-size: 14px;
    color: var(--sh-sub);
    background: none;
    border: none;
    padding: 6px 2px;
    cursor: pointer;
    font-family: inherit;
    -webkit-tap-highlight-color: transparent;
}
#favorites-screen .search-cancel-btn:active { color: var(--sh-text); }

/* 范围 + 类型 */
#favorites-screen .search-filter-bar {
    padding: 4px 16px 6px;
    background: var(--sh-bg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
#favorites-screen .search-scope-select {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    max-width: 70%;
    font-size: 12px;
    color: var(--sh-text);
    padding: 6px 12px;
    background: var(--sh-card);
    border: 1px solid var(--sh-line);
    border-radius: 999px;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
#favorites-screen .search-scope-select span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#favorites-screen .search-scope-select svg { flex: none; opacity: .55; }

#favorites-screen .fav-tabs {
    display: flex;
    gap: 8px;
    padding: 6px 16px 10px;
    background: var(--sh-bg);
    overflow-x: auto;
    scrollbar-width: none;
}
#favorites-screen .fav-tabs::-webkit-scrollbar { display: none; }
#favorites-screen .fav-tab {
    flex: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-family: inherit;
    color: var(--sh-sub);
    padding: 6px 13px;
    background: var(--sh-card);
    border: 1px solid var(--sh-line);
    border-radius: 999px;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: background .18s ease, color .18s ease;
}
#favorites-screen .fav-tab i { font-style: normal; font-size: 10px; opacity: .7; font-variant-numeric: tabular-nums; }
#favorites-screen .fav-tab i:empty { display: none; }
#favorites-screen .fav-tab.active { background: var(--sh-ink); color: var(--sh-ink-text); border-color: transparent; }

/* 内容 */
#favorites-screen .search-content {
    flex: 1;
    overflow-y: auto;
    padding: 4px 16px calc(24px + env(safe-area-inset-bottom));
    background: var(--sh-bg);
    -webkit-overflow-scrolling: touch;
}
#favorites-screen .search-stat-header {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 6px;
    padding: 6px 2px 14px;
    color: var(--sh-sub);
    font-size: 12px;
}
#favorites-screen .search-stat-header .sh-num { font-size: 22px; line-height: 1; font-weight: 600; color: var(--sh-text); }
#favorites-screen .search-stat-header .sh-kw {
    max-width: 100%;
    padding: 2px 9px;
    border-radius: 999px;
    background: var(--sh-chip);
    color: var(--sh-text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
#favorites-screen .search-result-list { display: flex; flex-direction: column; gap: 10px; }
#favorites-screen .search-result-item {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    padding: 13px 15px 10px;
    background: var(--sh-card);
    border: 1px solid var(--sh-line);
    border-radius: 18px;
    box-shadow: var(--sh-shadow);
    cursor: pointer;
    transition: transform .18s ease;
    animation: favRise .32s ease both;
    animation-delay: calc(var(--i, 0) * 28ms);
    -webkit-tap-highlight-color: transparent;
}
#favorites-screen .search-result-item:active { transform: scale(0.99); }
#favorites-screen .search-result-avatar {
    width: 34px;
    height: 34px;
    flex: none;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--sh-line);
}
#favorites-screen .search-result-body { flex: 1; min-width: 0; }
#favorites-screen .search-result-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}
#favorites-screen .search-result-name {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    font-weight: 500;
    color: var(--sh-text);
}
#favorites-screen .search-result-name::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--sh-faint);
}
#favorites-screen .search-result-item.is-me .search-result-name::before { background: var(--sh-ink); }
#favorites-screen .search-result-time { font-size: 11px; color: var(--sh-faint); font-variant-numeric: tabular-nums; }
#favorites-screen .search-result-content {
    font-size: 14px;
    line-height: 1.75;
    color: var(--sh-text);
    opacity: .86;
    text-align: left;
    word-break: break-all;
    white-space: pre-wrap;
}
#favorites-screen .keyword-highlight {
    color: inherit;
    font-weight: 600;
    padding: 0 1px;
    border-radius: 3px;
    background: linear-gradient(transparent 52%, var(--sh-mark) 52%);
}

/* 语音 / 图片 */
#favorites-screen .fav-voice { margin-bottom: 6px; }
#favorites-screen .fav-voice-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 11px;
    border-radius: 999px;
    background: var(--sh-chip);
    color: var(--sh-sub);
    font-size: 12px;
}
#favorites-screen .fav-photo {
    display: flex;
    gap: 9px;
    align-items: flex-start;
    padding: 10px 12px;
    border-radius: 12px;
    background: var(--sh-field);
}
#favorites-screen .fav-photo-ico { flex: none; margin-top: 4px; color: var(--sh-sub); display: inline-flex; }
#favorites-screen .fav-photo .search-result-content { opacity: .9; }

/* 卡片底部：类型 / 来源 / 操作 */
#favorites-screen .fav-foot {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    min-height: 28px;
}
#favorites-screen .fav-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    flex: none;
    font-size: 11px;
    color: var(--sh-sub);
    background: var(--sh-chip);
    padding: 3px 8px;
    border-radius: 999px;
}
#favorites-screen .fav-from {
    min-width: 0;
    font-size: 11px;
    color: var(--sh-faint);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
#favorites-screen .fav-spacer { flex: 1; }
#favorites-screen .fav-act {
    flex: none;
    height: 28px;
    min-width: 28px;
    padding: 0 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--sh-faint);
    font-family: inherit;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
#favorites-screen .fav-act:active { background: var(--sh-chip); color: var(--sh-text); }
#favorites-screen .fav-act.is-confirm {
    border-radius: 999px;
    background: var(--sh-ink);
    color: var(--sh-ink-text);
    font-size: 11px;
    padding: 0 11px;
}

/* 范围弹层 */
#favorites-screen .scope-modal {
    position: fixed;
    inset: 0;
    background: rgba(12, 14, 18, 0.42);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    opacity: 0;
    pointer-events: none;
    transition: opacity .28s ease;
}
#favorites-screen .scope-modal.visible { opacity: 1; pointer-events: auto; }
#favorites-screen .scope-modal-content {
    background: var(--sh-card);
    color: var(--sh-text);
    width: 100%;
    max-height: 72vh;
    border-radius: 24px 24px 0 0;
    padding: 10px 16px calc(18px + env(safe-area-inset-bottom));
    display: flex;
    flex-direction: column;
    transform: translateY(100%);
    transition: transform .32s cubic-bezier(.22,.8,.3,1);
    box-sizing: border-box;
}
#favorites-screen .scope-modal.visible .scope-modal-content { transform: none; }
#favorites-screen .scope-modal-content::before {
    content: '';
    width: 36px;
    height: 4px;
    border-radius: 4px;
    background: var(--sh-chip);
    margin: 0 auto 12px;
}
#favorites-screen .scope-list { overflow-y: auto; margin-top: 12px; display: flex; flex-direction: column; gap: 4px; }
#favorites-screen .scope-item {
    padding: 10px 12px;
    border-radius: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--sh-text);
    -webkit-tap-highlight-color: transparent;
}
#favorites-screen .scope-item:active,
#favorites-screen .scope-item.selected { background: var(--sh-chip); }
#favorites-screen .scope-avatar {
    width: 34px;
    height: 34px;
    flex: none;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--sh-line);
}
#favorites-screen .scope-avatar.scope-all {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--sh-ink);
    color: var(--sh-ink-text);
    font-size: 10px;
    font-weight: 600;
    border: 0;
}
#favorites-screen .fav-scope-n { font-size: 11px; color: var(--sh-faint); }

/* 空状态 */
#favorites-screen .search-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: var(--sh-sub);
    margin-top: 14vh;
    font-size: 14px;
    animation: favRise .4s ease both;
}
#favorites-screen .search-placeholder p { margin: 4px 0; }
#favorites-screen .search-placeholder p + p { font-size: 12px; color: var(--sh-faint); padding: 0 24px; }
#favorites-screen .sh-orb {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--sh-chip);
    color: var(--sh-sub);
    margin-bottom: 12px;
}

@keyframes favRise {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
    #favorites-screen .search-result-item { animation: none; }
}

/* ================= 收藏列表：固定大小的细条，点开弹窗看完整内容 ================= */
#favorites-screen .fav-list { display: flex; flex-direction: column; gap: 10px; }
#favorites-screen .fav-row {
    display: flex;
    align-items: center;
    gap: 12px;
    height: 68px;
    box-sizing: border-box;
    padding: 0 14px;
    background: var(--sh-card);
    border: 1px solid var(--sh-line);
    border-radius: 18px;
    box-shadow: var(--sh-shadow);
    cursor: pointer;
    animation: favRise .32s ease both;
    animation-delay: calc(var(--i, 0) * 28ms);
    transition: transform .18s ease;
    -webkit-tap-highlight-color: transparent;
}
#favorites-screen .fav-row:active { transform: scale(0.985); }
#favorites-screen .fav-row .fav-card-avatar { width: 40px; height: 40px; }
#favorites-screen .fav-row-main { flex: 1; min-width: 0; }
#favorites-screen .fav-row-top { display: flex; align-items: center; gap: 8px; margin-bottom: 5px; }
#favorites-screen .fav-row-top .fav-card-title { flex: 0 1 auto; min-width: 0; font-size: 14.5px; }
#favorites-screen .fav-row-n {
    flex: none; font-size: 10.5px; line-height: 1; color: var(--sh-sub);
    background: var(--sh-chip); padding: 3px 7px; border-radius: 999px;
}
#favorites-screen .fav-row-kinds { display: inline-flex; gap: 4px; color: var(--sh-faint); flex: none; }
#favorites-screen .fav-row-kinds svg { width: 12px; height: 12px; }
#favorites-screen .fav-row-time { margin-left: auto; flex: none; font-size: 11px; color: var(--sh-faint); font-variant-numeric: tabular-nums; }
#favorites-screen .fav-row-pv {
    font-size: 12.5px; color: var(--sh-sub);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
#favorites-screen .fav-row-chev { flex: none; color: var(--sh-faint); display: inline-flex; }

/* ================= 弹窗（收藏页 / 聊天室分享卡片共用，挂在 body 上） ================= */
.fav-pop-mask, .fav-share-card {
    --fp-bg: #ffffff;
    --fp-text: #1c1f26;
    --fp-sub: #7b8190;
    --fp-faint: #a9aeba;
    --fp-line: rgba(20, 24, 32, 0.08);
    --fp-chip: #eceef2;
    --fp-field: #f5f6f8;
    --fp-ink: #1c1f26;
    --fp-ink-text: #ffffff;
    --fp-star: #e0a526;
    --fp-danger: #d9534f;
}
html[data-ui="dark"] .fav-pop-mask, html[data-ui="dark"] .fav-share-card {
    --fp-bg: #202123;
    --fp-text: #e7e9ed;
    --fp-sub: #979ca6;
    --fp-faint: #686c75;
    --fp-line: rgba(255, 255, 255, 0.08);
    --fp-chip: #2b2d30;
    --fp-field: #2a2c2f;
    --fp-ink: #e7e9ed;
    --fp-ink-text: #151617;
    --fp-star: #c99d2e;
    --fp-danger: #e0726e;
}
.fav-pop-mask {
    position: fixed; inset: 0; z-index: 10060;
    display: flex; align-items: center; justify-content: center;
    padding: 24px 20px;
    box-sizing: border-box;
    background: rgba(12, 14, 18, 0.42);
    -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
    opacity: 0; transition: opacity .22s ease;
}
.fav-pop-mask.show { opacity: 1; }
.fav-pop {
    width: 100%; max-width: 380px;
    max-height: min(78vh, 640px);
    display: flex; flex-direction: column;
    background: var(--fp-bg); color: var(--fp-text);
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    transform: translateY(14px) scale(.97);
    transition: transform .26s cubic-bezier(.22,.8,.3,1);
    font-family: inherit;
}
.fav-pop-mask.show .fav-pop { transform: none; }
.fav-pop-head { display: flex; align-items: center; gap: 11px; padding: 16px 16px 12px; flex: none; }
.fav-card-avatar { width: 36px; height: 36px; flex: none; border-radius: 50%; object-fit: cover; border: 1px solid var(--fp-line, var(--sh-line)); }
.fav-card-meta { min-width: 0; flex: 1; }
.fav-card-title { font-size: 15px; font-weight: 500; color: var(--fp-text, var(--sh-text)); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fav-card-sub { margin-top: 2px; font-size: 11px; color: var(--fp-faint, var(--sh-faint)); font-variant-numeric: tabular-nums; }
.fav-pop-x {
    flex: none; width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center;
    border: 0; border-radius: 50%; background: var(--fp-chip); color: var(--fp-sub); cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
.fav-pop-x:active { color: var(--fp-text); }
.fav-pop-body { flex: 1; min-height: 0; overflow-y: auto; padding: 0 16px 12px; -webkit-overflow-scrolling: touch; }

.fav-lines { display: flex; flex-direction: column; padding: 6px 12px; background: var(--fp-field); border-radius: 16px; }
.fav-line { display: flex; align-items: flex-start; gap: 9px; padding: 9px 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.fav-line + .fav-line { border-top: 1px dashed var(--fp-line); }
.fav-line:active { opacity: .7; }
.fav-line-av { width: 26px; height: 26px; flex: none; border-radius: 50%; object-fit: cover; margin-top: 1px; border: 1px solid var(--fp-line); }
.fav-line-main { min-width: 0; flex: 1; }
.fav-line-name { font-size: 11.5px; color: var(--fp-sub); margin-bottom: 3px; }
.fav-line.is-me .fav-line-name { color: var(--fp-text); }
.fav-line-text { font-size: 14px; line-height: 1.7; color: var(--fp-text); opacity: .92; word-break: break-all; white-space: pre-wrap; text-align: left; }
.fav-photo { display: flex; gap: 8px; align-items: flex-start; }
.fav-photo-ico { flex: none; margin-top: 5px; color: var(--fp-sub); display: inline-flex; }

.fav-voice-pill {
    display: inline-flex; align-items: center; gap: 6px;
    margin-bottom: 5px; padding: 4px 11px 4px 8px;
    border: 0; border-radius: 999px;
    background: var(--fp-bg); color: var(--fp-text);
    box-shadow: 0 0 0 1px var(--fp-line) inset;
    font-size: 12px; font-family: inherit; cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
.fav-voice-ico { display: inline-flex; width: 18px; height: 18px; align-items: center; justify-content: center; border-radius: 50%; background: var(--fp-chip); }
.fav-voice-pill em { font-style: normal; font-size: 10px; color: var(--fp-faint); }
.fav-voice-pill.is-loading { opacity: .6; }
.fav-voice-pill.is-playing .fav-voice-ico { background: var(--fp-ink); color: var(--fp-ink-text); }

.fav-pop-foot { flex: none; padding: 10px 16px 16px; border-top: 1px solid var(--fp-line); display: flex; flex-direction: column; gap: 10px; }
.fav-pop-tags { display: flex; align-items: center; gap: 6px; min-width: 0; }
.fav-tag { display: inline-flex; align-items: center; gap: 4px; flex: none; font-size: 11px; color: var(--fp-sub); background: var(--fp-chip); padding: 3px 8px; border-radius: 999px; }
.fav-from { min-width: 0; font-size: 11px; color: var(--fp-faint); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-left: 2px; }
.fav-pop-acts { display: flex; gap: 8px; }
.fav-pop-btn {
    flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    height: 36px; padding: 0 10px;
    border: 1px solid var(--fp-line); border-radius: 999px;
    background: transparent; color: var(--fp-text);
    font-size: 13px; font-family: inherit; cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
.fav-pop-btn:active { background: var(--fp-chip); }
.fav-pop-btn.is-danger { color: var(--fp-danger); }
.fav-pop-btn.is-confirm { background: var(--fp-danger); border-color: transparent; color: #fff; }

/* 分享：选聊天 */
.fav-pick { max-height: min(70vh, 560px); }
.fav-pick-list { padding-bottom: 16px; }
.fav-pick-item { display: flex; align-items: center; gap: 12px; padding: 10px 8px; border-radius: 14px; font-size: 14px; color: var(--fp-text); cursor: pointer; -webkit-tap-highlight-color: transparent; }
.fav-pick-item:active { background: var(--fp-chip); }
.fav-pick-item img { width: 34px; height: 34px; flex: none; border-radius: 50%; object-fit: cover; border: 1px solid var(--fp-line); }
.fav-pick-item span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fav-pick-item em { font-style: normal; font-size: 11px; color: var(--fp-faint); }
.fav-share-empty { padding: 24px 0; text-align: center; font-size: 13px; color: var(--fp-faint); }

/* ================= 聊天室里的分享卡片（固定大小，点击弹出完整内容） ================= */
.fav-share-card {
    width: 216px; max-width: 100%;
    box-sizing: border-box;
    padding: 11px 13px 10px;
    background: var(--fp-bg); color: var(--fp-text);
    border: 1px solid var(--fp-line);
    border-radius: 16px;
    box-shadow: 0 2px 10px rgba(20, 24, 32, 0.08);
    text-align: left;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    -webkit-user-select: none; user-select: none;
}
.fav-share-card:active { opacity: .85; }
.fav-sc-top { display: flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--fp-sub); }
.fav-sc-ico { display: inline-flex; width: 14px; height: 14px; color: var(--fp-star); }
.fav-sc-ico svg { width: 14px; height: 14px; }
.fav-sc-n { margin-left: auto; font-size: 10.5px; color: var(--fp-faint); }
.fav-sc-title { margin-top: 7px; font-size: 13.5px; font-weight: 500; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fav-sc-pv {
    margin-top: 5px; min-height: 2.9em;
    font-size: 12.5px; line-height: 1.45; color: var(--fp-sub);
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; word-break: break-all;
}
.fav-sc-foot { margin-top: 8px; padding-top: 7px; border-top: 1px solid var(--fp-line); font-size: 11px; color: var(--fp-faint); }

/* 聊天室里的多选收藏栏（样式跟随原多选栏） */
#fav-select-bar {
    position: absolute;
    bottom: 0; left: 0; width: 100%;
    box-sizing: border-box;
    display: none;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    border-top: 1px solid #eee;
    z-index: 20;
    border-bottom-left-radius: var(--phone-corner-radius);
    border-bottom-right-radius: var(--phone-corner-radius);
    animation: slideUp 0.3s ease-out;
}
#fav-select-bar.visible { display: flex; }
#fav-select-bar .btn:disabled { opacity: .5; }

#favorites-screen .fav-scope-n { font-size: 11px; color: var(--sh-faint); }
