/* Favoritas: botões de coração, selo nas fotos, atalho e página das favoritas */
.fv-heart, .fv-lb-heart {
  position: fixed; z-index: 800; width: 2.4rem; height: 2.4rem; padding: 0; display: grid; place-items: center;
  border-radius: 50%; border: 1px solid rgba(255,255,255,.65); background: rgba(0,0,0,.6); color: #fff;
  font-size: 1.15rem; line-height: 1; cursor: pointer;
}
.fv-heart[hidden] { display: none; }
.fv-heart:hover, .fv-lb-heart:hover { background: #fff; color: #c0283c; }
.fv-heart[aria-pressed="true"], .fv-lb-heart[aria-pressed="true"] { background: #fff; color: #c0283c; }
.fv-heart:focus-visible, .fv-lb-heart:focus-visible, .fv-pill:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.fv-lb-heart { z-index: 2000; top: 1rem; right: 4.5rem; }
.pf-shot { position: relative; }
.fv-card {
  position: absolute; top: .55rem; right: .55rem; z-index: 4; width: 2.5rem; height: 2.5rem; display: grid; place-items: center;
  border-radius: 50%; border: 1px solid rgba(255,255,255,.7); background: rgba(0,0,0,.55); color: #fff;
  font-size: 1.25rem; line-height: 1; cursor: pointer; transition: background .2s ease, color .2s ease, transform .2s ease;
}
.fv-card:hover { background: #fff; color: #c0283c; transform: scale(1.08); }
.pf-shot.is-fav .fv-card { background: #fff; color: #c0283c; border-color: #fff; }
.fv-pill {
  position: fixed; right: 1rem; bottom: calc(1rem + env(safe-area-inset-bottom, 0px)); z-index: 900;
  display: inline-flex; gap: .5rem; align-items: center; padding: .8em 1.2em; border-radius: 999px; text-decoration: none;
  background: #c0283c; color: #fff; font: 600 .75rem/1 system-ui, sans-serif; letter-spacing: .1em; text-transform: uppercase;
  box-shadow: 0 6px 24px rgba(0,0,0,.4);
}
.fv-pill[hidden] { display: none; }
.fv-toast {
  position: fixed; left: 50%; bottom: 5rem; transform: translateX(-50%); z-index: 2100; max-width: 90vw; padding: .8em 1.2em;
  background: #111; color: #fff; font: .85rem/1.3 system-ui, sans-serif; border-radius: 4px; box-shadow: 0 6px 24px rgba(0,0,0,.4);
}

/* Página das favoritas */
.fv-section { padding-top: clamp(1.5rem, 4vw, 3rem); }
.fv-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 0 0 2rem; }
.fv-grid { column-width: 260px; column-gap: 1rem; }
.fv-item { margin: 0 0 1.25rem; break-inside: avoid; -webkit-column-break-inside: avoid; page-break-inside: avoid; }
.fv-open { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; line-height: 0; }
.fv-open img { width: 100%; height: auto; display: block; }
.fv-open:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.fv-cap { margin: .55rem 0 .4rem; font-size: var(--fs-small, .9rem); line-height: 1.35; }
.fv-rm { font: inherit; font-size: .8rem; text-decoration: underline; background: none; border: 0; padding: 0; color: inherit; cursor: pointer; opacity: .8; }
.fv-opt { display: flex; gap: .6rem; align-items: flex-start; margin: 0 0 1.25rem; font-size: .95rem; }
.fv-opt input { margin-top: .3rem; }
