.update-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20000;
}
.update-modal-container {
    background: var(--bg-surface);
    border-radius: 16px;
    max-width: 400px;
    width: 90%;
    position: relative;
}
.update-modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-secondary);
}
.update-modal-header {
    text-align: center;
    padding: 24px 24px 8px;
}
.update-modal-content {
    padding: 16px 24px 24px;
    text-align: center;
}
.update-version {
    font-size: 16px;
}
.update-description {
    color: var(--text-secondary);
    margin: 8px 0 16px;
}
.update-btn {
    background: var(--primary);
    border: none;
    color: white;
    padding: 10px 20px;
    border-radius: 40px;
    cursor: pointer;
}
.update-progress-bar {
    background: rgba(255,255,255,0.2);
    border-radius: 20px;
    height: 6px;
    margin: 12px 0;
    overflow: hidden;
}
.update-progress-fill {
    background: var(--primary);
    width: 0%;
    height: 100%;
}
.update-progress-text {
    margin: 8px 0;
}
.update-tips {
    margin-top: 20px;
    font-size: 12px;
    color: var(--text-secondary);
}
.update-error {
    background: rgba(244,67,54,0.1);
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 16px;
}
.update-widget {
    position: absolute;
    bottom: 16px;
    left: 16px;
    right: 16px;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(8px);
    border-radius: 40px;
    padding: 8px 16px;
    cursor: pointer;
    text-align: center;
    font-size: 13px;
    font-weight: 500;
    color: white;
    z-index: 10;
}