.sysupdate-backdrop{-webkit-backdrop-filter:blur(12px);z-index:100000;background:#0009;justify-content:center;align-items:center;padding:24px;animation:.5s sysupdate-fadeIn;display:flex;position:fixed;inset:0;overflow:hidden}.sysupdate-backdrop.closing{animation:.4s forwards sysupdate-fadeOut}@keyframes sysupdate-fadeIn{0%{opacity:0}to{opacity:1}}@keyframes sysupdate-fadeOut{0%{opacity:1}to{opacity:0}}.sysupdate-modal{background:var(--bg-card);border:1px solid var(--border-color);border-radius:24px;width:100%;max-width:400px;padding:40px 36px 32px;animation:.5s cubic-bezier(.16,1,.3,1) sysupdate-slideIn;position:relative;box-shadow:0 0 60px -20px #06f3,0 25px 50px -12px #0006}.sysupdate-modal.closing{animation:.4s forwards sysupdate-slideOut}@keyframes sysupdate-slideIn{0%{opacity:0;transform:translateY(30px)scale(.97)}to{opacity:1;transform:translateY(0)scale(1)}}@keyframes sysupdate-slideOut{0%{opacity:1;transform:translateY(0)scale(1)}to{opacity:0;transform:translateY(20px)scale(.98)}}.sysupdate-border-glow{z-index:-1;pointer-events:none;background:linear-gradient(160deg,#06f3 0%,#0066ff0d 30%,#0000 60%);border-radius:24px;position:absolute;inset:-1px}.sysupdate-close{background:var(--bg-card-lighter);border:1px solid var(--border-color);width:36px;height:36px;color:var(--text-muted);cursor:pointer;border-radius:10px;justify-content:center;align-items:center;transition:all .2s;display:flex;position:absolute;top:16px;right:16px}.sysupdate-close:hover{background:var(--border-color);color:var(--text-white)}.sysupdate-content{text-align:center}.sysupdate-checkmark{color:#10b981;background:0 0;border:3px solid #10b981;border-radius:50%;justify-content:center;align-items:center;width:72px;height:72px;margin:0 auto 24px;animation:.5s cubic-bezier(.16,1,.3,1) sysupdate-checkPop;display:flex}@keyframes sysupdate-checkPop{0%{opacity:0;transform:scale(0)}50%{transform:scale(1.1)}to{opacity:1;transform:scale(1)}}.sysupdate-version{color:var(--text-gray);letter-spacing:.02em;margin-bottom:12px;font-size:14px;font-weight:500}.sysupdate-title{color:var(--text-white);letter-spacing:-.02em;margin:0 0 12px;font-size:32px;font-weight:700;line-height:1.2}.sysupdate-subtitle{color:var(--text-gray);max-width:300px;margin:0 auto 32px;font-size:15px;line-height:1.6}.sysupdate-progress-container{background:var(--border-color);border-radius:100px;height:8px;margin-bottom:12px;overflow:hidden}.sysupdate-progress-bar{background:linear-gradient(90deg,#06f 0%,#00b4d8 100%);border-radius:100px;height:100%;transition:width .1s ease-out;position:relative}.sysupdate-progress-bar:after{content:"";background:linear-gradient(90deg,#0000 0%,#ffffff4d 50%,#0000 100%);animation:1.5s ease-in-out infinite sysupdate-shimmer;position:absolute;inset:0}@keyframes sysupdate-shimmer{0%{transform:translate(-100%)}to{transform:translate(100%)}}.sysupdate-progress-bar.complete{background:linear-gradient(90deg,#10b981 0%,#34d399 100%)}.sysupdate-progress-bar.complete:after{display:none}.sysupdate-progress-label{color:var(--text-muted);justify-content:space-between;margin-bottom:28px;font-size:13px;display:flex}.sysupdate-actions{gap:12px;display:flex}.sysupdate-btn-primary{color:#fff;cursor:pointer;background:linear-gradient(135deg,#06f 0%,#0052cc 100%);border:none;border-radius:14px;flex:1;padding:16px 32px;font-size:16px;font-weight:600;transition:all .25s cubic-bezier(.16,1,.3,1)}.sysupdate-btn-primary:hover{transform:translateY(-2px);box-shadow:0 10px 30px -10px #0066ff80}.sysupdate-btn-primary:active{transform:translateY(0)}.sysupdate-btn-primary.disabled{opacity:.7;cursor:not-allowed;box-shadow:none;transform:none}.sysupdate-btn-secondary{background:var(--bg-card-lighter);border:1px solid var(--border-color);color:var(--text-white);cursor:pointer;border-radius:14px;justify-content:center;align-items:center;gap:8px;padding:16px 24px;font-size:15px;font-weight:500;transition:all .2s;display:flex}.sysupdate-btn-secondary:hover{background:var(--border-color)}.sysupdate-patchnotes{background:var(--bg-card);border:1px solid var(--border-color);border-radius:24px;flex-direction:column;width:100%;max-width:640px;max-height:90vh;animation:.5s cubic-bezier(.16,1,.3,1) sysupdate-slideIn;display:flex;position:relative;overflow:hidden;box-shadow:0 0 60px -20px #06f3,0 25px 50px -12px #0006}.sysupdate-patchnotes.closing{animation:.4s forwards sysupdate-slideOut}.sysupdate-patchnotes-header{border-bottom:1px solid var(--border-color);background:var(--bg-card-lighter);justify-content:space-between;align-items:center;padding:20px 24px;display:flex}.sysupdate-patchnotes-back{background:var(--bg-card);border:1px solid var(--border-color);color:var(--text-gray);cursor:pointer;border-radius:10px;align-items:center;gap:8px;padding:10px 16px;font-size:14px;font-weight:500;transition:all .2s;display:flex}.sysupdate-patchnotes-back:hover{background:var(--border-color);color:var(--text-white)}.sysupdate-patchnotes-title{text-align:center}.sysupdate-patchnotes-version{color:#06f;background:#0066ff26;border-radius:100px;margin-bottom:4px;padding:4px 12px;font-size:12px;font-weight:600;display:inline-block}.sysupdate-patchnotes-title h1{color:var(--text-white);margin:0;font-size:18px;font-weight:600}.sysupdate-patchnotes-close{background:var(--bg-card);border:1px solid var(--border-color);width:40px;height:40px;color:var(--text-muted);cursor:pointer;border-radius:10px;justify-content:center;align-items:center;transition:all .2s;display:flex}.sysupdate-patchnotes-close:hover{background:var(--border-color);color:var(--text-white)}.sysupdate-patchnotes-content{flex:1;padding:28px;overflow-y:auto}.sysupdate-patchnotes-content::-webkit-scrollbar{width:6px}.sysupdate-patchnotes-content::-webkit-scrollbar-track{background:0 0}.sysupdate-patchnotes-content::-webkit-scrollbar-thumb{background:var(--border-color);border-radius:3px}.sysupdate-patchnotes-summary{border-bottom:1px solid var(--border-color);margin-bottom:28px;padding-bottom:24px}.sysupdate-patchnotes-summary h2{color:var(--text-white);margin:0 0 10px;font-size:24px;font-weight:700}.sysupdate-patchnotes-summary p{color:var(--text-gray);margin:0;font-size:15px;line-height:1.6}.sysupdate-patchnotes-quicklist{flex-direction:column;gap:12px;margin-bottom:28px;display:flex}.sysupdate-patchnotes-item{background:var(--bg-card-lighter);border:1px solid var(--border-color);border-radius:12px;grid-template-rows:auto auto;grid-template-columns:24px auto 1fr;gap:4px 12px;padding:16px;display:grid}.sysupdate-patchnotes-item-icon{grid-row:1/3;align-items:flex-start;padding-top:2px;display:flex}.sysupdate-patchnotes-item-label{color:var(--text-muted);text-transform:uppercase;letter-spacing:.05em;font-size:11px;font-weight:600}.sysupdate-patchnotes-item-title{color:var(--text-white);grid-column:2/4;font-size:15px;font-weight:500}.sysupdate-patchnotes-item-desc{color:var(--text-gray);grid-column:2/4;font-size:13px;line-height:1.5}.sysupdate-patchnotes-detailed{border-top:1px solid var(--border-color);color:var(--text-gray);padding-top:24px;font-size:15px;line-height:1.7}.sysupdate-patchnotes-detailed p,.patch-notes-p{color:var(--text-gray);margin:0 0 16px;line-height:1.7}.sysupdate-patchnotes-detailed p:last-child,.patch-notes-p:last-child{margin-bottom:0}.patch-notes-h1{color:var(--text-white);margin:28px 0 14px;font-size:22px;font-weight:700;line-height:1.3}.patch-notes-h1:first-child{margin-top:0}.patch-notes-h2{color:var(--text-white);margin:24px 0 12px;font-size:18px;font-weight:600;line-height:1.3}.patch-notes-h2:first-child{margin-top:0}.patch-notes-h3{color:var(--text-white);margin:20px 0 10px;font-size:16px;font-weight:600;line-height:1.3}.patch-notes-h3:first-child{margin-top:0}.patch-notes-ul{margin:0 0 20px;padding-left:0;list-style:none}.patch-notes-ul:last-child{margin-bottom:0}.patch-notes-li{color:var(--text-gray);margin-bottom:10px;padding-left:20px;line-height:1.6;position:relative}.patch-notes-li:last-child{margin-bottom:0}.patch-notes-li:before{content:"";background:#06f;border-radius:50%;width:6px;height:6px;position:absolute;top:9px;left:0}.patch-notes-code{color:#06f;background:#0066ff26;border-radius:4px;padding:2px 8px;font-family:SF Mono,Monaco,Consolas,monospace;font-size:13px}.sysupdate-patchnotes-detailed strong{color:var(--text-white);font-weight:600}.sysupdate-patchnotes-detailed em{font-style:italic}.sysupdate-patchnotes-footer{border-top:1px solid var(--border-color);background:var(--bg-card-lighter);padding:20px 28px}.sysupdate-btn-restart{color:#fff;cursor:pointer;background:linear-gradient(135deg,#06f 0%,#0052cc 100%);border:none;border-radius:14px;width:100%;padding:16px 32px;font-size:16px;font-weight:600;transition:all .25s cubic-bezier(.16,1,.3,1)}.sysupdate-btn-restart:hover{transform:translateY(-2px);box-shadow:0 10px 30px -10px #0066ff80}[data-theme=light] .sysupdate-backdrop{background:#0006}@media (max-width:480px){.sysupdate-backdrop{align-items:flex-end;padding:0}.sysupdate-modal{border-radius:24px 24px 0 0;max-width:none;padding:32px 24px 28px}.sysupdate-title{font-size:26px}.sysupdate-patchnotes{border-radius:0;max-width:none;max-height:100vh}.sysupdate-patchnotes-header{padding:16px 20px}.sysupdate-patchnotes-content{padding:20px}.sysupdate-patchnotes-footer{padding:16px 20px 24px}.sysupdate-actions{flex-direction:column}.sysupdate-btn-secondary{width:100%}}@media (prefers-reduced-motion:reduce){.sysupdate-backdrop,.sysupdate-modal,.sysupdate-patchnotes,.sysupdate-checkmark,.sysupdate-glow,.sysupdate-progress-bar:after{animation:none}}
