/* The few pieces FlameGuard has no screen for, built only from its tokens and its existing shapes:
   "said on the walk" playback, the walk transcript, and previous / next in the photo lightbox.
   Everything else on these pages is FlameGuard's own CSS (base, components, pages, mobile). */

/* "Said on the walk ▶": the evidence behind a value, one tap to hear it (sized like .sr-note-act) */
.fr-said {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
  padding: 2px 8px;
  border: 1px solid var(--color-border);
  border-radius: 100px;
  background: var(--color-surface);
  color: var(--color-primary);
  font-family: inherit;
  font-size: var(--font-size-caption);
  font-weight: var(--font-weight-semibold);
  cursor: pointer;
  white-space: nowrap;
}
.fr-said:hover { background: var(--color-primary-faded); border-color: var(--color-primary-light); }
.fr-said svg { width: 11px; height: 11px; }
.fr-src-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.fr-src-row .ai-content-badge { padding: 2px 8px; }

/* The walk transcript: one row per line, what it became, and the photos taken at that moment */
.fr-transcript { display: flex; flex-direction: column; }
.fr-line {
  display: grid;
  grid-template-columns: 44px 30px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  padding: 8px 4px;
  border-bottom: 1px solid var(--color-border-light);
}
.fr-line.is-hl { background: var(--color-primary-faded); }
.fr-line-time { font-size: var(--font-size-caption); color: var(--color-text-muted); font-variant-numeric: tabular-nums; padding-top: 3px; }
.fr-line-play {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.fr-line-play:hover { background: var(--color-primary-faded); }
.fr-line-play svg { width: 13px; height: 13px; }
.fr-line-text { font-size: var(--font-size-small); color: var(--color-text-primary); line-height: var(--line-height-normal); }
.fr-line-owner { display: inline-block; margin-top: 3px; }
.fr-line-photos { grid-column: 3; display: flex; flex-wrap: wrap; gap: 6px; }
.fr-line-photos img { width: 56px; height: 56px; object-fit: cover; border-radius: var(--radius-md); border: 1px solid var(--color-border); cursor: pointer; }

/* Previous / next in the lightbox (the capture app's gallery), in the lightbox's own button style */
.fg-lightbox-nav { display: flex; align-items: center; gap: 12px; flex: 1 1 100%; justify-content: center; }
.fg-lightbox-nav button {
  min-width: 52px;
  min-height: 44px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  font-size: 22px;
  border-radius: 8px;
  cursor: pointer;
}
.fg-lightbox-nav span { color: #fff; font-size: 14px; min-width: 64px; text-align: center; }

/* The lightbox's "Belongs to" (which note a photo is on): the photo gives up some height so everything fits.
   No overflow on the box: FlameGuard's ✕ and ↻ Rotate sit just above it and would be clipped. */
.image-lightbox .lightbox-content:has(.fr-lb-place) img { max-height: 52vh; }
.fr-lb-place select { width: 100%; font-size: 14px; }
