/* Crocky Favorites — minimal styling. The Epsilon theme already styles the
   `.favorite` wrapper and the `.is_favorite` saved state (gold); we only add
   what the theme doesn't cover.

   The favorites page is rendered by the theme's custom.php wrapper, which puts
   `plugin-crocky-favorites file-favorites-page` on <body>. We scope page rules
   to `.file-favorites-page` (the body id is the generic `custom`). */

a.fi-btn { cursor: pointer; -webkit-tap-highlight-color: transparent; }
a.fi-btn span { display: none; }            /* label is for a11y only; theme hides it too */
a.fi-btn i { pointer-events: none; }        /* clicks always land on the <a> */
a.fi-btn.fi-busy { opacity: 0.6; pointer-events: none; }

/* On the favorites page, keep the heart visible (theme hides non-favorited
   hearts until hover inside list/home contexts — not wanted here). */
.file-favorites-page .simple-prod .favorite,
.file-favorites-page .simple-prod .right .favorite > a { display: block !important; }

/* Guests have no user-menu sidebar — let the grid use the full width. */
.file-favorites-page #user-main.fi-full { width: 100%; }

.file-favorites-page #user-main > h2 { margin-bottom: 18px; }
.file-favorites-page .empty { padding: 40px; text-align: center; color: #888; background: #fafafa; border: 1px dashed #ddd; border-radius: 6px; }

@media (prefers-color-scheme: dark) {
  .file-favorites-page .empty { color: #9a9a9a; background: #1d1f22; border-color: #3a3d42; }
}
