/* =========================================================
   CHANGELOG PARSER UI
   ========================================================= */

.changelog-drawer {
  right: 0;
  left: auto;
  transform: translateX(100%) translateZ(0);
  width: min(420px, 90vw);
  border-left: 1px solid var(--line-2);
  border-right: none;
}

.changelog-drawer.active {
  transform: translateX(0) translateZ(0);
}

.changelog-content {
  overflow-y: auto;
  padding-right: 14px;
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 36px;
}

/* Custom Scrollbar for Changelog */
.changelog-content::-webkit-scrollbar { width: 4px; }
.changelog-content::-webkit-scrollbar-track { background: transparent; }
.changelog-content::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 4px; }
.changelog-content::-webkit-scrollbar-thumb:hover { background: var(--blue-dim); }

/* Parsed Elements */
.cl-release {
  display: flex;
  flex-direction: column;
  gap: 14px;
  animation: fadeUp 0.6s var(--ease) both;
}

.cl-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.cl-version {
  font-family: var(--f-display);
  font-size: 1.15rem;
  color: var(--ink);
  font-weight: 500;
}

.cl-title {
  font-family: var(--f-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  color: var(--blue-hi);
  text-transform: uppercase;
  border-left: 1px solid var(--blue-dim);
  padding-left: 12px;
}

.cl-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cl-item {
  font-size: 0.88rem;
  color: var(--ink-mid);
  line-height: 1.6;
  position: relative;
  padding-left: 20px;
}

.cl-item::before {
  content: '>';
  position: absolute;
  left: 0;
  top: 1px;
  color: var(--blue);
  font-family: var(--f-mono);
  font-size: 0.8rem;
  font-weight: 500;
}

.cl-item .code-highlight {
  background: var(--bg-2);
  color: var(--ink);
  padding: 2px 6px;
  border-radius: 3px;
  font-family: var(--f-mono);
  font-size: 0.75rem;
  border: 1px solid var(--line);
}