/* The Fathom Report: compact home band + bulletin archive.
   Same column grid as .front (1.9fr / 1fr, 48px gap): the player card sits exactly over the right-hand rail.
   Filled by assets/fathom-report.js. */

.fr-band {
  display: grid;
  grid-template-columns: 1.9fr 1fr;
  gap: 48px;
  margin: 0 0 32px;
  background: var(--paper-dim);
  border-top: 3px solid var(--brass);
  border-bottom: 1px solid var(--rule);
  color: var(--ink);
}
.fr-band[hidden] { display: none; }

.fr-info { padding: 16px 0 16px 22px; min-width: 0; align-self: center; }
.fr-kick {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass-dim);
}
.fr-title {
  font-family: var(--serif);
  font-size: 1.9rem;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--navy);
  margin: 5px 0 0;
}
.fr-title small { font-family: var(--sans); font-size: 0.85rem; font-weight: 400; letter-spacing: 0; color: var(--ink-soft); margin-left: 10px; white-space: nowrap; }
.fr-title small b { font-weight: 600; color: var(--ink); }
.fr-headline {
  font-family: var(--serif);
  font-size: 1rem;
  line-height: 1.4;
  color: var(--ink);
  margin: 7px 0 0;
  max-width: 44em;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden;
}
.fr-links { margin-top: 8px; font-family: var(--sans); font-size: 0.78rem; display: flex; flex-wrap: wrap; gap: 4px 18px; align-items: center; }
.fr-links a { color: var(--brass-dim); font-weight: 600; }
.fr-links a:hover { color: var(--navy); }
.fr-links .fr-ai { color: var(--ink-soft); letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.64rem; font-weight: 400; }

/* player: only the controls sit in a lighter rounded box; the box edges are the edges of the right-hand column */
.fr-player {
  padding: 16px 22px 16px 0;
  min-width: 0;
  display: flex; flex-direction: column; justify-content: center; gap: 8px;
}
.fr-pbox { background: #fff; border: 1px solid var(--rule); border-radius: 12px; padding: 12px 18px 8px; }
.fr-ctl { display: flex; align-items: center; gap: 12px; }
.fr-pp {
  flex: none; width: 46px; height: 46px; border-radius: 50%; border: 0; padding: 0;
  background: #b22824; color: #fff6e8; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
}
.fr-pp:hover { filter: brightness(1.12); }
.fr-pp:focus-visible, .fr-rng:focus-visible, .fr-live:focus-visible { outline: 2px solid var(--brass-dim); outline-offset: 2px; }
.fr-pp svg { width: 20px; height: 20px; fill: currentColor; display: block; }
.fr-pp .fr-ipause { display: none; }
.fr-pp[data-playing="1"] .fr-iplay { display: none; }
.fr-pp[data-playing="1"] .fr-ipause { display: block; }
.fr-trk { flex: 1; min-width: 0; }
.fr-rng {
  --p: 0%;
  display: block; width: 100%; height: 22px; margin: 0; background: transparent;
  -webkit-appearance: none; appearance: none; cursor: pointer;
}
.fr-rng::-webkit-slider-runnable-track { height: 5px; border-radius: 3px; background: linear-gradient(to right, var(--brass-dim) var(--p), var(--rule) var(--p)); }
.fr-rng::-moz-range-track { height: 5px; border-radius: 3px; background: var(--rule); }
.fr-rng::-moz-range-progress { height: 5px; border-radius: 3px; background: var(--brass-dim); }
.fr-rng::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 14px; height: 14px; border-radius: 50%; background: var(--brass-dim); border: 2px solid #fff; margin-top: -5px; }
.fr-rng::-moz-range-thumb { width: 10px; height: 10px; border-radius: 50%; background: var(--brass-dim); border: 2px solid #fff; }
.fr-tm { display: flex; justify-content: space-between; margin-top: 0; font-family: var(--sans); font-size: 0.74rem; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.fr-status { font-family: var(--sans); font-size: 0.78rem; color: var(--ink-soft); }
.fr-status:empty { display: none; }
.fr-status.bad { color: var(--speculation); }
.fr-live { font-family: var(--sans); font-size: 0.78rem; font-weight: 600; color: var(--brass-dim); align-self: flex-start; }
.fr-live:hover { color: var(--navy); }

@media (max-width: 900px) {
  .fr-band { grid-template-columns: 1fr; gap: 0; }
  .fr-info { padding: 14px 16px 12px; }
  .fr-title { font-size: 1.6rem; }
  .fr-title small { display: block; margin: 3px 0 0; }
  .fr-player { padding: 0 16px 14px; }
}
@media (prefers-reduced-motion: no-preference) { .fr-pp { transition: filter .15s; } }

/* ---------- archive page ---------- */
.fra-head { margin: 34px 0 10px; }
.fra-head h1 { font-size: 2.1rem; line-height: 1.15; color: var(--navy); }
.fra-head p { max-width: 46em; color: var(--ink-soft); margin-top: 8px; }
.fra-list { margin: 26px 0 50px; display: grid; gap: 22px; max-width: 880px; }
.fra-entry { border: 1px solid var(--rule); background: #fff; border-top: 3px solid var(--brass); padding: 20px 24px 18px; scroll-margin-top: 20px; }
.fra-entry:target { box-shadow: 0 0 0 2px var(--brass); }
.fra-meta { font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--brass-dim); }
.fra-badge { display: inline-block; margin-left: 10px; background: var(--navy); color: #c9a960; padding: 2px 8px; letter-spacing: 0.14em; }
.fra-entry h2 { font-size: 1.3rem; line-height: 1.3; color: var(--navy); margin: 8px 0 8px; }
.fra-items { margin: 0 0 12px 1.1em; font-family: var(--sans); font-size: 0.9rem; color: var(--ink-soft); line-height: 1.5; }
.fra-entry audio { display: block; width: 100%; margin-top: 10px; }
.fra-entry details { margin-top: 14px; }
.fra-entry summary { cursor: pointer; font-family: var(--sans); font-size: 0.86rem; font-weight: 700; color: var(--navy); }
.fra-entry details p { margin: 0.7em 0 0; line-height: 1.6; font-size: 0.96rem; }
.fra-back { font-family: var(--sans); font-size: 0.9rem; margin: 0 0 40px; }
.fra-back a { color: var(--brass-dim); }
@media (max-width: 720px) { .fra-entry { padding: 16px 16px 14px; } .fra-head h1 { font-size: 1.6rem; } }
