#updateBanner{position:fixed;right:16px;bottom:16px;z-index:9000;width:min(460px,calc(100vw - 32px));max-height:70vh;overflow:auto;box-sizing:border-box;padding:14px 16px;border-radius:10px;background:#1e293b;color:#f8fafc;border:1px solid var(--desktop-accent,#64748b);box-shadow:0 10px 30px rgba(0,0,0,.4);font:14px/1.4 system-ui,Segoe UI,sans-serif}
#updateBanner[hidden]{display:none}
#updateBanner .upd-head strong{display:block;font-size:15px}
#updateBanner .upd-head span{color:#cbd5e1;font-size:12.5px}
#updateBanner .upd-notes{margin:8px 0;padding:8px 10px;border-radius:6px;background:#0f172a;max-height:180px;overflow:auto}
#updateBanner .upd-notes p{margin:0 0 6px;white-space:pre-wrap}
#updateBanner .upd-msg{margin:8px 0;color:#cbd5e1;font-size:13px}
#updateBanner .upd-progress{height:6px;margin-top:8px;border-radius:3px;background:#334155;overflow:hidden}
#updateBanner .upd-progress div{height:100%;width:0;background:var(--desktop-accent,#7aa8ed);transition:width .15s}
#updateBanner .upd-actions{display:flex;flex-wrap:wrap;gap:8px}
#updateBanner button{padding:7px 12px;border-radius:7px;border:1px solid #64748b;background:#334155;color:#f8fafc;cursor:pointer;font:inherit}
#updateBanner button:hover:not(:disabled){background:#475569}
#updateBanner #updGo{background:#2563eb;border-color:#60a5fa;font-weight:600}
#updateBanner #updGo:hover:not(:disabled){background:#1d4ed8}
#updateBanner button:disabled{opacity:.6;cursor:default}
#updateBanner .upd-link{border-color:transparent;background:none;text-decoration:underline}
#updateSection .upd-auto{display:flex;gap:8px;align-items:center}#updateBanner .upd-warn{margin:8px 0;padding:8px 10px;border-radius:6px;background:#422006;border:1px solid #f59e0b}
#updateBanner .upd-warn p{margin:0 0 8px}

#updateBanner .upd-notes{max-height:260px}
#updateBanner .upd-ver+.upd-ver,#updHistory .upd-ver+.upd-ver{margin-top:8px;padding-top:8px;border-top:1px solid rgba(148,163,184,.35)}
#updateBanner .upd-ver h4,#updHistory .upd-ver h4{margin:0 0 4px;font-size:13.5px}
#updHistory{margin-top:8px}
#updHistory summary{cursor:pointer;font-weight:600}
#updHistory .upd-ver{margin-left:4px}
#updHistory .upd-ver p{margin:0 0 4px}
#updHistory[hidden]{display:none}