
/* ===================================================== pages: collection, track, album (pages agent) */
/* Filtered-out albums, rows and copies, closed panels: the layered display rules would show them. */
[data-controller~="collection"] [hidden] { display: none; }
/* Missing tracks loading in their fold: a small turning record. */
.acl-missing-wait {
  display: block;
  width: 1.1rem;
  aspect-ratio: 1;
  margin: 0.2rem 0.9rem 0.8rem;
  border: 2px solid var(--ink);
  border-top-color: transparent;
  border-radius: 50%;
  animation: acl-spin 0.8s linear infinite;
}
@keyframes acl-spin { to { rotate: 1turn; } }

/* Track and item pages: "Découvert par" and "Capté par" side by side. */
.track-credits { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 0 1rem; }

/* The head of a facts card in big ink: a copy's number (then when its owner got it), a track's value on the market. */
.facts-headline { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.2rem 0.8rem; margin: 0.3rem 0 0.6rem; }
.facts-headline-big { font: 400 clamp(2.6rem, 5vw, 3.6rem)/0.9 var(--font-display); letter-spacing: 0.02em; color: var(--stamp); }
.facts-headline-note { font: 600 0.72rem/1.2 var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; }

/* Item page: the owner's other copies of the track, and the ways out (trade, the track's market). */
.item-others { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.item-more { gap: 0.6rem; margin-top: 1.2rem; }

/* Track page: who has it, a station and its copies per line. */
.track-owners { list-style: none; padding: 0; display: grid; gap: 0.5rem; }
.track-owners li { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 0.6rem; }

/* Album page. */
.album-tracks tbody tr[data-owned] > :first-child { box-shadow: inset 4px 0 0 var(--ink); }
.album-tracks tbody tr[data-owned] th > a:first-child { font-weight: 700; }
.album-tracks .album-tracks-copy { margin-left: 0.4rem; font-size: 0.58rem; background: var(--ink); color: var(--paper); border-color: var(--ink); vertical-align: middle; }
.item-facts .album-complete { --tilt: -6deg; margin-left: 0.4rem; font-size: 1.05rem; }
.album-tracks-scroll { margin-top: 1.2rem; }
.album-tracks .album-tracks-bonus th { font: 600 0.72rem/1.2 var(--font-mono); letter-spacing: 0.12em; text-transform: uppercase; }
/* ===================================================== end pages */
