/* Shared styles for the update cards (homepage + changelog). */
.updates-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.update-card { display: flex; flex-direction: column; gap: 10px; padding: 22px 22px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); transition: border-color .18s, transform .18s, box-shadow .18s; color: var(--text); text-decoration: none; }
.update-card:hover { transform: translateY(-3px); border-color: var(--brand); box-shadow: 0 12px 28px rgba(42,91,156,.13); }
.update-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.update-badge { display: inline-flex; align-items: center; gap: 6px; flex: 0 0 auto; font-size: .72rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; padding: 5px 11px; border-radius: 20px; white-space: nowrap; }
.update-badge svg { width: 13px; height: 13px; flex: 0 0 13px; }
.update-badge.tool { background: var(--brand-soft); color: var(--brand); }
.update-badge.stitch { background: #fbeee0; color: #b4622a; }
.update-rel { font-size: .78rem; font-weight: 700; color: var(--muted); white-space: nowrap; flex: 0 0 auto; }
.update-card h3 { margin: 0; font-size: 1.06rem; font-weight: 800; line-height: 1.3; }
.update-card:hover h3 { color: var(--brand); }
.update-desc { margin: 0; font-size: .92rem; color: var(--muted); line-height: 1.5; flex: 1; }
.update-time { margin: 0; font-size: .8rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 10px; }
.update-main { display: flex; align-items: flex-start; gap: 12px; flex: 1; }
.update-text { display: flex; flex-direction: column; gap: 8px; flex: 1; min-width: 0; }
.update-thumb { flex: 0 0 64px; width: 64px; height: 64px; border-radius: 8px; overflow: hidden; border: 1px solid var(--line); background: #fff; }
.update-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.updates-empty { text-align: center; color: var(--muted); padding: 40px 0; }
@media (max-width: 900px) { .updates-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .updates-grid { grid-template-columns: 1fr; } }
