.release-notes-modal { width: min(640px, calc(100vw - 30px)); max-width: 640px; overflow: hidden; border: 1px solid rgba(226, 231, 238, .96); border-radius: 18px; box-shadow: 0 28px 80px rgba(16, 24, 40, .28), 0 3px 12px rgba(16, 24, 40, .08); }
.release-notes-modal::backdrop { background: rgba(16, 24, 40, .46); backdrop-filter: blur(2px); }
.release-notes-card { max-height: min(820px, calc(100vh - 48px)); overflow: auto; background: #fff; }
.release-notes-hero { position: relative; padding: 27px 30px 23px; border-bottom: 1px solid #e2e7ee; background: radial-gradient(circle at 88% 12%, rgba(67, 204, 248, .15), transparent 34%), linear-gradient(135deg, #f4f6ff 0%, #fff 62%); }
.release-notes-close { position: absolute; top: 18px; right: 18px; background: rgba(255, 255, 255, .76); color: #667085; }
.release-notes-meta { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; color: #475467; font-size: 12px; line-height: 18px; font-weight: 600; }
.release-notes-mark { display: grid; width: 34px; height: 34px; place-items: center; margin-right: 1px; overflow: hidden; border-radius: 10px; background: #3e5abd; box-shadow: 0 6px 16px rgba(62, 90, 189, .22); }
.release-notes-mark svg { width: 21px; height: 21px; color: #fff; }
.release-notes-meta b { padding: 2px 8px; border: 1px solid #d9e0fb; border-radius: 999px; background: rgba(255, 255, 255, .8); color: #3e5abd; font-weight: 600; font-variant-numeric: tabular-nums; }
.release-notes-hero h2 { margin: 0; color: #101828; font-size: 22px !important; line-height: 30px !important; font-weight: 700; letter-spacing: 0 !important; }
.release-notes-hero p { margin: 7px 0 0; color: #475467; font-size: 14px; line-height: 22px; }
.release-notes-body { padding: 20px 30px 8px; }
.release-notes-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.release-notes-heading strong { color: #101828; font-size: 14px; line-height: 20px; }
.release-notes-heading span { color: #7a8699; font-size: 12px; line-height: 18px; }
.release-notes-list { display: grid; gap: 8px; }
.release-note-item { display: grid; min-height: 72px; grid-template-columns: 38px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 11px 14px; border: 1px solid #e2e7ee; border-radius: 12px; background: #fff; }
.release-note-item > div { min-width: 0; }
.release-note-item strong { display: block; color: #101828; font-size: 14px; line-height: 20px; font-weight: 700; }
.release-note-item p { margin: 3px 0 0; color: #475467; font-size: 13px; line-height: 19px; }
.release-note-icon { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 10px; }
.release-note-icon svg { width: 19px; height: 19px; }
.release-note-icon.is-new { background: #eef1ff; color: #3e5abd; }
.release-note-icon.is-improved { background: #f1efff; color: #6757d9; }
.release-note-icon.is-fixed { background: #e8f7f1; color: #168a63; }
.release-note-tag { align-self: start; padding: 3px 8px; border-radius: 999px; font-size: 11px; line-height: 16px; font-weight: 700; white-space: nowrap; }
.release-note-tag.is-new { background: #eef1ff; color: #3e5abd; }
.release-note-tag.is-improved { background: #f1efff; color: #6757d9; }
.release-note-tag.is-fixed { background: #e8f7f1; color: #168a63; }
.release-notes-details { margin-top: 12px; padding: 14px 16px; border-radius: 11px; background: #f8fafc; }
.release-notes-details h3 { margin: 0 0 8px; color: #101828; font-size: 14px; line-height: 20px; }
.release-notes-details ul { display: grid; gap: 6px; margin: 0; padding-left: 20px; color: #475467; }
.release-notes-details li { padding-left: 2px; font-size: 13px; line-height: 20px; }
.release-notes-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 30px 20px; }
.release-notes-hint { display: flex; min-width: 0; align-items: center; gap: 7px; color: #7a8699; font-size: 12px; line-height: 18px; }
.release-notes-hint svg { width: 15px; height: 15px; flex: 0 0 15px; }
.release-notes-foot > div { display: flex; gap: 10px; flex: 0 0 auto; }
.release-notes-foot button { min-height: 38px; padding-inline: 16px; border-radius: 9px; font-size: 14px; }
.release-notes-foot .primary-button { min-width: 106px; background: #3e5abd; box-shadow: 0 5px 12px rgba(62, 90, 189, .18); }

@media (max-width: 700px) {
  .release-notes-modal { width: calc(100vw - 20px); max-height: 86vh; margin-block: auto 10px; border-radius: 18px; }
  .release-notes-card { max-height: 86vh; }
  .release-notes-hero { padding: 23px 20px 19px; }
  .release-notes-body { padding: 16px 20px 7px; }
  .release-note-item { grid-template-columns: 38px minmax(0, 1fr); }
  .release-note-tag { display: none; }
  .release-notes-foot { align-items: stretch; flex-direction: column; padding: 13px 20px 18px; }
  .release-notes-foot > div { width: 100%; }
  .release-notes-foot button { flex: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .release-notes-modal { scroll-behavior: auto; }
}
