/* What one release card looks like, wherever it is drawn.

   Its own file, and linked from two origins, for the reason the palette is:
   the same card is drawn twice now — here on the site, and in the preview in
   the scriptorium that says what a note *will* look like before it is saved.
   A preview styled by a second copy of these rules is a preview that can be
   wrong in the one way a preview must never be wrong.

   The tokens come from /theme.css, which both pages already link. This file
   adds no colours of its own. */

/* One card per version. The version number and its date sit on the same line
   at every width the page has room for, and stack when it does not. */
.release {
  background: var(--royal-800); border: var(--outline-bold) solid var(--ink-900);
  border-radius: var(--corner-panel);
  padding: 1.5rem 1.6rem; margin: 0 0 1.5rem;
  box-shadow: 0 18px 46px rgba(0, 0, 0, .45);
}
.release-head {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: .5rem .9rem;
  margin-bottom: .35rem;
}
.release h2 {
  font-family: var(--display); font-size: 1.5rem; margin: 0;
  color: var(--gold-light); letter-spacing: -.01em; scroll-margin-top: 1.5rem;
}
.tag {
  font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--ink-900); background: var(--gold);
  border-radius: var(--corner-tag); padding: .16rem .5rem;
}
.date { color: var(--ink-faint); font-size: .87rem; margin-left: auto; }
.blurb { color: var(--ink-dim); margin: 0 0 .9rem; }

.release ul { padding-left: 1.25rem; color: var(--ink-dim); margin: 0; }
.release li { margin-bottom: .5rem; }
.release li:last-child { margin-bottom: 0; }
.release li::marker { color: var(--gold); }
.release strong { color: var(--ink); }

/* Shown only when the fetch fails or nothing is live, and by <noscript> when
   there is no fetch at all. Deliberately quiet: an empty page with an
   apology on it is still a page that has told you where the notes are. */
.fallback {
  background: var(--royal-800); border: var(--outline-standard) solid var(--ink-900);
  border-radius: var(--corner-panel);
  padding: 1.25rem 1.4rem; color: var(--ink-dim);
}
