.changelog-content {
    max-width: 720px;
    margin: 0 auto;
    padding: 2rem;
}

.changelog-header {
    margin-bottom: 2.5rem;
}
.changelog-header h2 {
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.4rem;
    color: var(--text-primary);
}
.changelog-header p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.entry {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 0 1.75rem;
    margin-bottom: 0;
    position: relative;
}
.entry::before {
    content: '';
    position: absolute;
    left: 120px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: var(--border-color);
    margin-left: 0.875rem;
}
.entry:first-child::before { top: 1.2rem; }
.entry:last-child::before  { bottom: calc(100% - 1.2rem); }

.entry-date {
    text-align: right;
    padding-top: 0.9rem;
    padding-right: 1.75rem;
    font-size: 0.75rem;
    color: var(--text-muted);
    white-space: nowrap;
    line-height: 1.4;
}

.entry-right {
    padding: 0.6rem 0 2rem 1.75rem;
    position: relative;
}
.entry-right::before {
    content: '';
    position: absolute;
    left: -0.5rem;
    top: 1.15rem;
    width: 8px;
    height: 8px;
    border-radius: 0;
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    transform: translateY(-50%);
}

.entry-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 0.6rem;
}

.tag {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.15rem 0.5rem;
    border-radius: 0;
    border: 1px solid;
}
.tag-security  { color: #ff5f57; border-color: rgba(255,95,87,0.35); background: rgba(255,95,87,0.08); }
.tag-feature   { color: var(--accent-primary); border-color: rgba(255,147,183,0.35); background: rgba(255,147,183,0.07); }
.tag-fix       { color: #f5c542; border-color: rgba(245,197,66,0.35); background: rgba(245,197,66,0.08); }
.tag-design    { color: #7eb3ff; border-color: rgba(126,179,255,0.35); background: rgba(126,179,255,0.08); }
.tag-breaking  { color: #ff5f57; border-color: rgba(255,95,87,0.5); background: rgba(255,95,87,0.12); }

[data-theme="light"] .tag-security  { color: #cc2222; border-color: rgba(204,34,34,0.3); background: rgba(204,34,34,0.06); }
[data-theme="light"] .tag-feature   { color: #0a6600; border-color: rgba(10,102,0,0.3); background: rgba(10,102,0,0.06); }
[data-theme="light"] .tag-fix       { color: #996600; border-color: rgba(153,102,0,0.3); background: rgba(153,102,0,0.06); }
[data-theme="light"] .tag-design    { color: #1a56a0; border-color: rgba(26,86,160,0.3); background: rgba(26,86,160,0.06); }

.entry-title {
    font-size: 0.97rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.35rem;
    letter-spacing: 0.01em;
}
.entry-desc {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.65;
}
.entry-desc code {
    font-family: Consolas, Monaco, 'Courier New', monospace;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    padding: 0.05rem 0.35rem;
    border-radius: 0;
    font-size: 0.78rem;
    color: var(--accent-primary);
}

/* цвет индикатора зависит от основного тега */
.entry[data-primary="security"] .entry-right::before { border-color: #ff5f57; background: rgba(255,95,87,0.25); }
.entry[data-primary="feature"]  .entry-right::before { border-color: var(--accent-primary); background: rgba(255,147,183,0.2); }
.entry[data-primary="fix"]      .entry-right::before { border-color: #f5c542; background: rgba(245,197,66,0.2); }
.entry[data-primary="design"]   .entry-right::before { border-color: #7eb3ff; background: rgba(126,179,255,0.2); }

@media (max-width: 600px) {
    .changelog-content { padding: 1rem; }
    .entry { grid-template-columns: 1fr; gap: 0; }
    .entry::before { display: none; }
    .entry-date { text-align: left; padding: 0; margin-bottom: 0.4rem; padding-top: 1rem; }
    .entry-right { padding: 0 0 1.5rem 0; }
    .entry-right::before { display: none; }
}
