/* Icon-only bookmarks: the hit area stays large, the surface stays clear. */
body .book-save[data-action="favorite"] {
  display:inline-flex; align-items:center; justify-content:center; flex:0 0 48px;
  width:48px; min-width:48px; height:48px; min-height:48px;
  padding:4px; gap:0; border:0; border-radius:8px;
  background:transparent; color:var(--muted);
}
body .book-save[data-action="favorite"]:hover {
  background:transparent; color:var(--blue);
}
body .book-save[data-action="favorite"] .icon {
  width:40px; height:40px; flex:none; fill:none;
}
body .book-save[data-action="favorite"][aria-pressed="true"] {
  background:transparent; color:#6750a4;
}
body[data-theme="dark"] .book-save[data-action="favorite"][aria-pressed="true"] {
  color:#bda9ff;
}
body .book-save[data-action="favorite"][aria-pressed="true"] .icon {
  fill:currentColor; fill-opacity:1;
}
/* Keep the changing accessible name when the visible label is removed. */
body .book-save[data-action="favorite"] .favorite-label {
  display:block; position:absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip-path:inset(50%); white-space:nowrap; border:0;
}
