.release-notes {
  width: min(700px, 88%);
  margin: 44px auto 0;
  text-align: left;
  color: #fff;
  text-shadow: 0 1px 5px rgba(5, 29, 74, .7);
  font-size: 16px;
  font-weight: 500;
}
.release-notes-latest { list-style: none; margin: 0; padding: 0; }
.release-note-link, .release-notes-more {
  border: 0; background: none; color: inherit; font: inherit;
  text-shadow: inherit; cursor: pointer; text-align: left;
}
.release-note-link { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; width: 100%; padding: 10px 0; min-height: 44px; }
.release-note-title { overflow-wrap: anywhere; }
.release-note-date { flex: 0 0 auto; font-variant-numeric: tabular-nums; white-space: nowrap; }
.release-notes-more { padding: 10px 0; margin-top: 6px; min-height: 44px; }
.release-note-link:hover .release-note-title, .release-notes-more:hover { text-decoration: underline; text-underline-offset: 5px; }
.release-notes :focus-visible { outline: 2px solid currentColor; outline-offset: 4px; border-radius: 2px; }
.release-notes-status { padding: 12px 0; }
/* Keep the existing divider below the new log, with space before downloads. */
.release-notes + .release-log { margin-top: 22px; min-height: 64px; }
body.release-notes-open { overflow: hidden; }
.release-notes-dialog {
  position: fixed; inset: 0; margin: auto; padding: 0;
  width: min(720px, calc(100% - 32px)); max-height: min(82svh, 840px);
  color: #172735; background: #fff; border: 1px solid #dce2e8; border-radius: 16px;
  box-shadow: 0 24px 80px rgba(5, 29, 74, .25); text-align: left;
  font: 16px/1.6 "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}
.release-notes-dialog::backdrop { background: rgba(6, 24, 48, .56); }
.release-notes-dialog-header { position: sticky; top: 0; z-index: 1; background: #fff; border-bottom: 1px solid #e7ecf2; padding: 16px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.release-notes-dialog h2 { margin: 0; font-size: 20px; font-weight: 600; }
.release-notes-dialog button { color: #005bac; background: transparent; font: inherit; border: 0; cursor: pointer; min-height: 44px; padding: 8px; }
.release-notes-dialog :focus-visible { outline: 2px solid #005bac; outline-offset: 2px; border-radius: 4px; }
.release-notes-dialog-body { padding: 8px 24px 24px; }
.release-note-article { border-bottom: 1px solid #e7ecf2; padding: 16px 0; }
.release-note-summary { cursor: pointer; font-weight: 600; min-height: 44px; overflow-wrap: anywhere; }
.release-note-summary .release-note-date { display: block; color: #5e6c7b; font-size: 13px; font-weight: 400; margin-top: 4px; }
.release-note-meta { color: #5e6c7b; font-size: 13px; margin: 12px 0; }
.release-note-body { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 15px; line-height: 1.85; }
.release-notes-back { margin: 8px 0; }
.release-notes-older { margin-top: 12px; }
@media (max-width: 760px) {
  .release-notes { width: min(560px, 92%); margin-top: 30px; font-size: 14px; }
  .release-note-link { gap: 16px; padding: 9px 0; }
  .release-notes + .release-log { margin-top: 16px; min-height: 38px; }
  .release-notes-dialog-header { padding: 12px 16px; }
  .release-notes-dialog-body { padding: 8px 16px 20px; }
}
