.changelog-modal {
  position: fixed; inset: 0; margin: auto; box-sizing: border-box;
  width: min(1100px, calc(100vw - 32px)); height: min(800px, calc(100dvh - 48px));
  max-width: none; max-height: none; padding: 0; overflow: hidden;
  border: 1px solid #638e9e; background: #07131f; color: #dce9eb;
  box-shadow: 0 0 40px #89ecff1a; font-family: 'Terminal Pixel', 'Fusion Pixel SC', monospace;
}
.changelog-modal[open] { display: grid; grid-template-rows: auto minmax(0, 1fr); }
.changelog-modal::backdrop { background: rgb(1 5 14 / 85%); }
.changelog-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 24px; background: #0c1724; border-bottom: 1px solid #344b5a; }
.changelog-header h2 { margin: 0; font-size: 22px; font-weight: 400; color: #b3f4c8; }
.changelog-modal button { border: 0; background: transparent; color: #89ecff; font: inherit; cursor: var(--cursor-pointer, pointer); }
.changelog-modal button:hover, .changelog-modal button:focus-visible { color: #dffaff; outline: none; text-shadow: 0 0 8px #89ecff55; }
.changelog-modal button:disabled { color: #637586; cursor: default; text-shadow: none; }
.changelog-close { flex-shrink: 0; padding: 6px; }
.changelog-toolbar { display: none; flex-wrap: wrap; gap: 8px 20px; padding: 10px 24px; border-bottom: 1px solid #344b5a; font-size: 14px; }
.changelog-toolbar button { padding: 4px 0; }
.changelog-back { display: none; }
.changelog-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); min-height: 0; }
.changelog-dates, .changelog-content { min-width: 0; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #638e9e #0a1420; }
.changelog-dates { border-right: 1px solid #344b5a; }
.changelog-modal .changelog-date { display: flex; flex-direction: column; gap: 10px; width: 100%; padding: 20px; text-align: left; border-bottom: 1px solid #344b5a; overflow-wrap: anywhere; }
.changelog-date time { font-size: 16px; }
.changelog-date-title { font-size: 12px; line-height: 1.7; color: #829aaa; }
.changelog-modal .changelog-date[aria-current="true"], .changelog-modal .changelog-date:hover, .changelog-modal .changelog-date:focus-visible { background: #102b2c; color: #b3f4c8; }
.changelog-content { padding: clamp(16px, 3vw, 32px); }
.changelog-content:focus-visible { outline: none; }
.changelog-article { max-width: 860px; margin: 0 auto; user-select: text; -webkit-user-select: text; }
.changelog-article h3 { margin: 0 0 12px; color: #b3f4c8; font-size: clamp(20px, 2.4vw, 30px); font-weight: 400; line-height: 1.6; overflow-wrap: anywhere; }
.changelog-article > time { color: #829aaa; font-size: 12px; }
.changelog-copy { margin-top: 26px; white-space: pre-wrap; overflow-wrap: anywhere; line-height: 2.1; font-size: clamp(15px, 1.2vw, 18px); }
.changelog-article ::selection { background: #234b59; color: #fff; }
.changelog-state { line-height: 1.8; color: #829aaa; }
.changelog-dates::-webkit-scrollbar, .changelog-content::-webkit-scrollbar { width: 8px; }
.changelog-dates::-webkit-scrollbar-track, .changelog-content::-webkit-scrollbar-track { background: #0a1420; }
.changelog-dates::-webkit-scrollbar-thumb, .changelog-content::-webkit-scrollbar-thumb { background: #638e9e; border: 2px solid #0a1420; }
@media (max-aspect-ratio: 1/1) {
  .changelog-modal[open] { grid-template-rows: auto auto minmax(0, 1fr); }
  .changelog-modal { width: calc(100vw - 24px); height: calc(100dvh - 32px); }
  .changelog-header { padding: 12px 16px; }
  .changelog-header h2 { font-size: 20px; }
  .changelog-toolbar { display: flex; padding: 8px 16px; gap: 8px 16px; font-size: 13px; }
  .changelog-back:not([hidden]) { display: block; flex-basis: 100%; text-align: left; }
  .changelog-layout { grid-template-columns: minmax(0, 1fr); }
  .changelog-dates { display: none; border-right: 0; }
  .changelog-modal.is-list .changelog-dates { display: block; }
  .changelog-modal.is-list .changelog-content { display: none; }
}
