/* PostVault 網站版：更新紀錄頁（/changelog）。
   外框（頂列、頁尾、字級、深淺色）沿用 app.css；這裡只放版本清單的版面。
   字級一律 rem，會跟著使用者選的字體大小走。 */

.wrap.log {
    max-width: 44rem;
    padding-bottom: 24px;
}

.log__title {
    margin: clamp(8px, 4vh, 32px) 0 0;
    font-size: clamp(1.625rem, 6vw, 2.25rem);
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
}

.log__desc {
    margin: 12px auto 0;
    max-width: 32rem;
    color: var(--muted);
    line-height: 1.6;
    text-align: center;
    text-wrap: pretty;
}

.log__list {
    display: grid;
    gap: 16px;
    margin: 32px 0 0;
    padding: 0;
    list-style: none;
}

.log-entry {
    padding: 20px 24px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: var(--surface);
}

.log-entry--latest {
    border-color: var(--line-strong);
    background: var(--card);
    box-shadow: var(--lift);
}

.log-entry__version {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    scroll-margin-top: 16px;
}

.log-entry__version a {
    color: inherit;
    text-decoration: none;
}

.log-entry__version a:hover {
    text-decoration: underline;
}

.log-entry__badge {
    padding: 2px 10px;
    border-radius: 999px;
    background: var(--amber);
    color: var(--on-amber);
    font-size: 0.875rem;
    font-weight: 700;
}

.log-entry__items {
    display: grid;
    gap: 8px;
    margin: 12px 0 0;
    padding-left: 1.25em;
    line-height: 1.6;
}
