/* Favorite actions remain siblings of the shared cover button, never nested inside it. */
.bth-favorites .bth-library-empty h2 { margin: 0; font-size: 24px; line-height: 1.3; overflow-wrap: anywhere; }
.bth-favorites .bth-library-empty .bth-library-load-more { width: auto; }
.bth-library .bth-favorites-card { position: relative; display: flex; flex-direction: column; align-self: start; align-items: stretch; min-width: 0; margin: 0; }
.bth-library .bth-favorites-remove { position: absolute; z-index: 1; top: 8px; right: 8px; display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; padding: 0; border: 1px solid var(--bth-line-strong); border-radius: 50%; background: var(--bth-paper); color: var(--bth-clay); cursor: pointer; }
.bth-library .bth-favorites-remove svg { width: 21px; height: 21px; fill: currentColor; }
.bth-library .bth-favorites-remove:disabled { color: var(--bth-muted); cursor: wait; }
.bth-library .bth-favorites-remove:disabled svg { opacity: .65; }
.bth-library .bth-favorites-share { display: inline-flex; align-items: center; justify-content: flex-start; gap: 7px; align-self: flex-start; min-width: 48px; min-height: 48px; max-width: 100%; margin-top: 5px; padding: 10px 2px; border: 0; border-radius: 8px; background: transparent; color: var(--bth-muted); font: inherit; font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; text-align: left; cursor: pointer; }
.bth-library .bth-favorites-share svg { width: 17px; height: 17px; flex: none; }
.bth-library .bth-favorites-remove:focus-visible, .bth-library .bth-favorites-share:focus-visible { outline: 3px solid var(--bth-focus); outline-offset: 3px; }
@media (hover: hover) {
    .bth-library .bth-favorites-remove:not(:disabled):hover { background: var(--bth-surface-soft); }
    .bth-library .bth-favorites-share:hover { color: var(--bth-ink); text-decoration: underline; text-underline-offset: 4px; }
}
