/* Changelog: the latest release on a sheet that straddles the edge of the
   sky, the earlier ones in their own section below. Version and date on the
   left, the changes on the right. */

.log { position: relative; z-index: 4; padding: 0 0 56px; }
.sheet { margin-top: -82px; padding: 40px 48px 44px; box-shadow: 0 18px 44px rgba(13, 18, 26, 0.08); }
.sheet .rel { padding: 0; border-top: 0; }
.state { display: grid; gap: 18px; justify-items: start; font-size: 15px; color: var(--muted); }
.state p { font-size: inherit; }
.log .foot { margin-top: 18px; display: flex; justify-content: flex-end; gap: 24px; font-size: 13.5px; color: var(--muted); }
.log .foot a:hover { color: var(--ink); }
.log .foot a[hidden], .state [hidden] { display: none; }

.history { padding: 72px 0 96px; border-top: 1px solid var(--line); }
.history h2 { margin-top: 0; }
.history[hidden] { display: none; }
.rel { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 40px; padding: 56px 0; border-top: 1px solid var(--line); scroll-margin-top: 24px; }
.history .rel:first-child { padding-top: 40px; border-top: 0; }
.when h2 { margin: 0; font: 700 22px/1.3 var(--mono); color: var(--ink); letter-spacing: 0; outline: none; }
.when time { display: block; margin-top: 6px; font-size: 14.5px; color: var(--muted); }
.when em { display: block; margin-top: 10px; font-style: normal; font-size: 13px; font-weight: 600; color: var(--teal-ink); }
.when em.is-pre { color: #a6700c; }
.rel h3 { font-size: 24px; line-height: 1.4; font-weight: 700; }
.rel .sum { margin-top: 10px; font-size: 16px; }
.grp { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 16px; margin-top: 24px; }
:lang(en) .grp { grid-template-columns: 180px minmax(0, 1fr); }
.grp + .grp { margin-top: 16px; }
.grp > b { display: flex; align-items: flex-start; gap: 6px; padding-top: 2px; font-size: 14px; line-height: 1.6; font-weight: 600; color: var(--muted); }
.grp > b svg { flex: none; margin-top: 4px; }
.grp.sec > b { color: var(--teal-ink); }
.grp.sec > b svg { color: var(--teal); }
.grp .txt { font-size: 15.5px; line-height: 1.75; color: #2c3550; }
.grp .txt code, .notes code { font-size: 0.88em; padding: 1px 6px; border-radius: 5px; background: var(--bg-2); }
.grp .txt a, .notes a { border-bottom: 1px solid var(--rule); }
.grp .txt ul, .grp .txt ol { margin: 8px 0 0; padding-left: 20px; }
.grp .txt > ul:first-child { margin-top: 0; }
.grp .txt li + li { margin-top: 6px; }
.grp .txt li::marker { color: var(--muted); }
.notes { margin-top: 18px; font-size: 15.5px; line-height: 1.75; color: #2c3550; }
.notes > * + * { margin-top: 12px; }
.notes ul, .notes ol { padding-left: 20px; }
.notes img, .notes video { max-width: 100%; height: auto; border-radius: 12px; }
.rel-link { display: inline-block; margin-top: 26px; font-size: 13.5px; color: var(--muted); }
.rel-link:hover { color: var(--ink); }
.older { padding-top: 40px; border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); display: grid; gap: 18px; justify-items: start; }
.older p { font-size: inherit; }
.older p a { margin-left: 6px; color: var(--ink); font-weight: 600; border-bottom: 2px solid var(--yellow); padding-bottom: 1px; }
.older button, .state button { height: 42px; padding: 0 18px; border-radius: 10px; border: 1.5px solid var(--ink); background: none; font-weight: 600; font-size: 14.5px; cursor: pointer; }
.older button:hover, .state button:hover { background: var(--ink); color: #fff; }
.older button[hidden] { display: none; }

/* Ways to hear about a new release. */
.follow { background: var(--bg-2); padding: 100px 0 110px; }
.ways { margin-top: 40px; grid-template-columns: repeat(3, 1fr); }
.ways code { display: block; margin: 8px 0 0 18px; font-size: 13px; line-height: 1.5; color: var(--ink); overflow-wrap: anywhere; }

@media (max-width: 1080px) {
  .sheet { padding-inline: 32px; }
}
@media (max-width: 900px) {
  .rel { grid-template-columns: 1fr; gap: 16px; padding: 44px 0; }
  .when { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; }
  .when time, .when em { margin-top: 0; }
}
@media (max-width: 820px) {
  .sheet { margin-top: -56px; }
}
@media (max-width: 640px) {
  .sheet { margin-top: -48px; padding: 28px 20px 32px; }
  .log { padding-bottom: 40px; }
  .history { padding: 56px 0 72px; }
  .rel h3 { font-size: 20px; }
  .grp, :lang(en) .grp { grid-template-columns: 1fr; gap: 4px; margin-top: 20px; }
  .follow { padding: 72px 0; }
}
