/* CaseGo V3 — halaman Kemas Kini: "Apa Baharu" + garis masa sejarah. Menggunakan token tema sedia ada. */
.cg-update-screen{display:grid;gap:22px}
.cg-whats-new,.cg-update-history-section{background:var(--card);border:1px solid var(--border);border-radius:16px;padding:24px}
.cg-whats-new-head,.cg-update-history-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:20px}
.cg-whats-new-eyebrow{display:inline-block;font-size:11px;font-weight:800;letter-spacing:.09em;color:var(--accent);margin-bottom:6px}
.cg-whats-new-head h2,.cg-update-history-heading h2{margin:0 0 6px;font-size:24px;line-height:1.25;color:var(--foreground)}
.cg-whats-new-head p,.cg-update-history-heading p{margin:0;max-width:760px;color:var(--muted-foreground);font-size:14px;line-height:1.55}
.cg-whats-new-badge{flex:none;padding:7px 12px;border-radius:999px;font-size:12px;font-weight:800;letter-spacing:.05em;color:#fff;background:linear-gradient(135deg,#2563eb,#7c3aed)}
.cg-whats-new-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:14px}
.cg-whats-new-feature{display:flex;gap:14px;padding:16px;border:1px solid var(--border);border-radius:13px;background:color-mix(in srgb,var(--card) 92%,var(--foreground) 8%)}
.cg-whats-new-feature h3{margin:0 0 5px;font-size:15px;line-height:1.35;color:var(--foreground)}
.cg-whats-new-feature p{margin:0;font-size:13px;line-height:1.6;color:var(--muted-foreground)}
.cg-whats-new-icon{flex:none;display:grid;place-items:center;width:42px;height:42px;border-radius:12px;font-size:20px;font-weight:700}
.cg-whats-blue{color:#3b82f6;background:rgba(59,130,246,.16)}
.cg-whats-gold{color:#f59e0b;background:rgba(245,158,11,.17)}
.cg-whats-green{color:#10b981;background:rgba(16,185,129,.16)}
.cg-whats-violet{color:#8b5cf6;background:rgba(139,92,246,.17)}
.cg-update-toolbar{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 18px}
.cg-update-toolbar select{max-width:220px}
.cg-update-timeline{position:relative;display:grid;gap:14px;padding-left:20px}
.cg-update-timeline:before{content:"";position:absolute;left:19px;top:8px;bottom:8px;width:2px;background:var(--border)}
.cg-update-card{position:relative;display:flex;gap:14px;align-items:flex-start}
.cg-update-node{position:relative;z-index:1;flex:none;display:grid;place-items:center;width:40px;height:40px;margin-left:-20px;border-radius:50%;background:var(--card);border:2px solid var(--accent);color:var(--accent);font-size:15px;font-weight:800}
.cg-update-card-body{flex:1;min-width:0;padding:14px 16px;border:1px solid var(--border);border-radius:13px;background:color-mix(in srgb,var(--card) 94%,var(--foreground) 6%)}
.cg-update-card-body>header{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}
.cg-update-card-top{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:6px}
.cg-update-card-body h3{margin:0;font-size:15px;line-height:1.5;color:var(--foreground);font-weight:700}
.cg-update-category{padding:3px 9px;border-radius:999px;font-size:11px;font-weight:800;letter-spacing:.04em;color:#3b82f6;background:rgba(59,130,246,.15)}
.cg-update-cat-AI{color:#8b5cf6;background:rgba(139,92,246,.16)}
.cg-update-cat-UI-UX{color:#ec4899;background:rgba(236,72,153,.15)}
.cg-update-cat-HOTFIX{color:#ef4444;background:rgba(239,68,68,.15)}
.cg-update-cat-WORKFLOW{color:#3b82f6;background:rgba(59,130,246,.15)}
.cg-update-cat-PERFORMANCE{color:#10b981;background:rgba(16,185,129,.15)}
.cg-update-cat-SECURITY{color:#f59e0b;background:rgba(245,158,11,.17)}
.cg-update-latest{padding:3px 8px;border-radius:999px;font-size:10px;font-weight:800;color:#052e16;background:#34d399}
.cg-update-card-meta{display:flex;flex-wrap:wrap;gap:6px 16px;margin-top:9px;font-size:12px;color:var(--muted-foreground)}
.cg-update-version{font-weight:700;color:var(--foreground)}
.cg-update-details{margin-top:10px;font-size:13px;color:var(--muted-foreground)}
.cg-update-details summary{cursor:pointer;color:var(--accent);font-weight:700}
.cg-update-remove{flex:none;border:1px solid var(--border);background:transparent;color:var(--muted-foreground);border-radius:8px;padding:5px 10px;font-size:12px;cursor:pointer}
.cg-update-pager{display:flex;align-items:center;justify-content:center;gap:12px;margin-top:20px;color:var(--muted-foreground)}
.cg-update-empty{padding:28px;text-align:center;color:var(--muted-foreground);border:1px dashed var(--border);border-radius:12px}
body.cg-theme-dark .cg-update-screen{--card:var(--cg-dark-surface);--foreground:var(--cg-dark-text);--muted-foreground:var(--cg-dark-muted);--border:var(--cg-dark-border);--accent:var(--cg-dark-blue)}
@media(max-width:720px){.cg-whats-new,.cg-update-history-section{padding:16px}.cg-whats-new-head{flex-direction:column}.cg-whats-new-grid{grid-template-columns:1fr}.cg-update-timeline{padding-left:12px}.cg-update-card-body>header{flex-direction:column}}

.cg-update-history-actions{display:flex;gap:10px;flex:none}
@media(max-width:720px){.cg-update-history-heading{flex-direction:column}}
