/* The vault's own additions to the shared base.css and pages.css. */

/* Piece titles run longer than names. */
h1.piece { font-size: clamp(30px, 7vw, 110px); line-height: 0.9; }

/* A row's title links to the piece's page. */
a.track-title { color: inherit; text-decoration: none; transition: color 0.2s; }
a.track-title:focus-visible { color: var(--sig); }
@media (hover: hover) { a.track-title:hover { color: var(--sig); } }

/* The one control is sound on / off, in the play button's circle. It shows
   only on the piece on air; no line can be seeked. */
.track-play svg { width: 18px; height: 18px; fill: currentColor; }
.track .track-bar { cursor: default; }
.track[data-slug]:not(.on-air) .track-play { visibility: hidden; }
.track.on-air .track-title { color: var(--sig); }

/* "On air": a red dot beside whichever piece the stream is playing. */
.onair { color: var(--sig); white-space: nowrap; }
.onair::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 0.7em;
                 border-radius: 50%; background: var(--sig); vertical-align: 0.1em;
                 animation: onair 2.4s ease-in-out infinite; }
@keyframes onair { 50% { opacity: 0.25; } }
@media (prefers-reduced-motion: reduce) { .onair::before { animation: none; } }
[hidden] { display: none !important; }

.status { color: var(--dim); }
.feedback { margin-top: clamp(30px, 6vh, 60px); }
.feedback a { color: var(--fg); text-decoration: none; border-bottom: 1px solid var(--rule);
              padding-bottom: 2px; transition: color 0.2s, border-color 0.2s; }
@media (hover: hover) { .feedback a:hover { color: var(--sig); border-color: var(--sig); } }
