.release-notes-shell {
  width: min(100vw - 24px, 1040px);
}

.release-notes-topbar {
  align-items: flex-end;
}

.release-notes-link {
  display: inline-grid;
  place-items: center;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
}

.release-notes-layout {
  display: grid;
  gap: 14px;
}

.release-notes-intro,
.release-card {
  border: 1px solid var(--panel-border);
  border-radius: 14px;
  background: rgba(18, 20, 24, 0.9);
  box-shadow: var(--shadow);
}

.release-notes-intro {
  padding: clamp(18px, 4vw, 28px);
}

.release-notes-intro h2 {
  margin: 6px 0 8px;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino,
    serif;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1;
}

.release-notes-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0 0;
}

.release-notes-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.release-notes-primary-link {
  border-color: rgba(169, 208, 109, 0.46);
  background: rgba(127, 166, 80, 0.2);
  color: var(--accent-strong);
  font-weight: 700;
}

.release-notes-meta div {
  min-width: 0;
  border: 1px solid var(--panel-border);
  border-radius: 10px;
  background: rgba(31, 35, 40, 0.72);
  padding: 10px 12px;
}

.release-notes-meta dt,
.release-card-date,
.release-section-title {
  color: var(--muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

.release-notes-meta dd {
  min-width: 0;
  margin: 3px 0 0;
  overflow-wrap: anywhere;
}

.release-notes-list {
  display: grid;
  gap: 14px;
}

.release-card {
  display: grid;
  gap: 18px;
  padding: clamp(16px, 3vw, 24px);
}

.release-card-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: start;
}

.release-card h3 {
  margin: 0;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino,
    serif;
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.05;
}

.release-card-summary {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.45;
}

.release-version {
  border: 1px solid rgba(169, 208, 109, 0.32);
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  padding: 6px 10px;
  font-size: 0.86rem;
  line-height: 1;
  white-space: nowrap;
}

.release-sections {
  display: grid;
  gap: 14px;
}

.release-section-title {
  margin-bottom: 8px;
}

.release-section-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.release-section-list li {
  position: relative;
  padding-left: 18px;
  color: var(--text);
  line-height: 1.45;
}

.release-section-list li::before {
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-strong);
  content: "";
}

.release-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.release-tags li {
  border: 1px solid var(--panel-border);
  border-radius: 999px;
  background: rgba(31, 35, 40, 0.72);
  color: var(--muted);
  padding: 5px 9px;
  font-size: 0.82rem;
}

.release-notes-empty {
  border: 1px solid var(--panel-border);
  border-radius: 14px;
  background: rgba(18, 20, 24, 0.9);
  padding: 18px;
  color: var(--muted);
}

@media (max-width: 900px) {
  .release-notes-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .release-notes-meta,
  .release-card-header {
    grid-template-columns: 1fr;
  }

  .release-version {
    justify-self: start;
  }

  .release-notes-actions .release-notes-link {
    width: 100%;
  }
}
